OSDN Git Service

Merge change 21096
[android-x86/external-webkit.git] / WebKitTools / ChangeLog
1 2009-03-26  Darin Adler  <darin@apple.com>
2
3         Reviewed by Geoff Garen.
4
5         * Scripts/do-webcore-rename:Update for rename of JSUnprotectedEventListener to
6         JSEventListener.
7
8 2009-03-26  Darin Adler  <darin@apple.com>
9
10         Reviewed by Geoff Garen.
11
12         * Scripts/do-webcore-rename: Update for rename of JSEventListener to
13         JSProtectedEventListener. This includes all the related renames, but
14         not that one because that one renames the file.
15
16 2009-03-26  Adam Roben  <aroben@apple.com>
17
18         Reduce run-webkit-tests's time out limit to 15 seconds (or 2.5 minutes
19         under GuardMalloc)
20
21         The previous limit was 60 seconds (or 10 minutes under GuardMalloc).
22         There's no evidence that we need the limit to be this long, and having
23         it be so long just makes timed-out tests take forever to complete.
24         DRT's watchdog timer is 10 seconds, so still has time to fire before
25         run-webkit-tests will cut it off.
26
27         Reviewed by Simon Fraser.
28
29         * Scripts/run-webkit-tests:
30         (sub readFromDumpToolWithTimer): Reduced the limit to 15 seconds (or
31         2.5 mintues under GuardMalloc).
32
33 2009-03-26  Adam Roben  <aroben@apple.com>
34
35         Make DRT's watchdog timer actually work on Windows
36
37         We were previously trying to use a CFRunLoopTimer for the watchdog
38         timer on Windows. This doesn't work because we don't use a CFRunLoop
39         on the main thread on Windows.
40
41         This patch changes the watchdog timer on Windows be a normal Windows
42         timer.
43
44         Reviewed by Simon Fraser.
45
46         * DumpRenderTree/DumpRenderTree.h: Moved declaration of
47         waitToDumpWatchdog from here...
48         * DumpRenderTree/mac/DumpRenderTreeMac.h: ...to here.
49
50         * DumpRenderTree/win/DumpRenderTree.cpp:
51         (invalidateAnyPreviousWaitToDumpWatchdog): Added. This function
52         cancels an existing watchdog timer.
53         (dump): Call invalidateAnyPreviousWaitToDumpWatchdog. This will
54         prevent watchdogs from previous tests firing during subsequent ones.
55         This matches Mac's behavior.
56
57         * DumpRenderTree/win/DumpRenderTreeWin.h: Added a declaration of
58         waitToDumpWatchdog.
59
60         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
61         (waitUntilDoneWatchdogFired): Converted this to be a Windows
62         TIMERPROC.
63         (LayoutTestController::setWaitToDump): Changed to use SetTimer instead
64         of CFRunLoopAddTimer.
65
66 2009-03-25  Mark Rowe  <mrowe@apple.com>
67
68         Rubber-stamped by Steve Falkenburg.
69
70         Update test result search path for Windows now that it has updated versions of ICU, libxml2, and friends.
71
72         * Scripts/run-webkit-tests:
73
74 2009-03-24  Mark Rowe  <mrowe@apple.com>
75
76         Fix the Tiger build some more.
77
78         * DumpRenderTree/mac/TextInputController.m:
79
80 2009-03-24  Mark Rowe  <mrowe@apple.com>
81
82         Fix the Tiger build.
83
84         * DumpRenderTree/mac/TextInputController.m:
85
86 2009-03-24  Mark Rowe  <mrowe@apple.com>
87
88         Reviewed by Jon "The Most Boring Man in the World" Honeycutt.
89
90         Explicitly map NSNotFound to -1 so that the result of-characterIndexForPointX:Y: does
91         not differ between 32- and 64-bit.
92
93         * DumpRenderTree/mac/TextInputController.m:
94         (-[TextInputController characterIndexForPointX:Y:]):
95
96 2009-03-24  Mark Rowe  <mrowe@apple.com>
97
98         Reviewed by Sam Weinig.
99
100         Use a different platform search path for tests and skip lists, so that Tiger doesn't end up
101         using the Leopard skip list.  Tests and skip lists are now looked for in the directory for
102         the current OS and the generic "mac" directory.  Tests and skip lists for newer OS versions are
103         ignored.
104
105         * Scripts/run-webkit-tests:
106
107 2009-03-23  Stephanie  <slewis@apple.com>
108
109         Fix root build.
110
111         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
112
113 2009-03-23  Stephanie Lewis  <slewis@apple.com>
114
115         Reviewed by Mark Rowe.
116
117         Add production configuration for creating roots of WebKitTools.
118
119         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
120
121 2009-03-23  Oliver Hunt  <oliver@apple.com>
122
123         Reviewed by Geoff Garen.
124
125         Make testapi run as part of the standard JavaScriptCore tests.
126
127         We only run testapi on the mac as currently windows webkit doesn't
128         place all the necessary files for testapi, and we also test the
129         JSC/CF APIs as well.
130
131         * Scripts/run-javascriptcore-tests:
132
133 2009-03-21  Oliver Hunt  <oliver@apple.com>
134
135         Reviewed by Mark Rowe.
136
137         Make build-jsc build testapi and minidom in addition to jsc itself.
138
139         * Scripts/build-jsc:
140
141 2009-03-20  Anders Carlsson  <andersca@apple.com>
142
143         Reviewed by Darin Adler.
144
145         Only release the result NPVariant if the call to NPN_Invoke was successful.
146         
147         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
148         (testNPRuntime):
149
150 2009-03-19  Gustavo Noronha Silva  <gns@gnome.org>
151
152         Reviewed by Mark Rowe.
153
154         Make determinePassedArchitecture always consume the --32-bit
155         option, also in non-AppleMacWebkit platforms. Solution pointed out
156         by Mark Rowe.
157
158         * Scripts/webkitdirs.pm:
159
160 2009-03-19  Mark Rowe  <mrowe@apple.com>
161
162         Reviewed by Oliver Hunt.
163
164         Work around <rdar://problem/6698023> by activating fonts from disk.
165
166         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Copy fonts into DumpRenderTree.resources
167         in the built products directory.
168         * DumpRenderTree/mac/DumpRenderTree.mm:
169         (activateFonts): Activate the fonts from disk.
170
171 2009-03-18  Mark Rowe  <mrowe@apple.com>
172
173         Reviewed by Dan Bernstein.
174
175         <rdar://problem/6693300> Don't rely on printf from TestNetscapePlugIn appearing in test results
176
177         Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear
178         in test results even when the plug-in's stdout differs from DumpRenderTree's stdout.
179
180         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
181         (log): Invoke console.log via the NPAPI.
182         (NPP_Destroy): Call log instead of printf.
183         (NPP_SetWindow): Ditto.
184         (handleEventCarbon): Ditto.
185         (handleEventCocoa): Ditto.
186         (NPP_HandleEvent): Pass the instance in to the event handler.
187
188 2009-03-17  Mark Rowe  <mrowe@apple.com>
189
190         Reviewed by Oliver Hunt.
191
192         Use the normal search rules for tests inside the platform directory.
193
194         This allows tests inside the platform directory to have different results
195         on different versions of Mac OS X.
196
197         * Scripts/run-webkit-tests:
198
199 2009-03-17  David Kilzer  <ddkilzer@apple.com>
200
201         resolve-ChangeLogs should not die on unmerged non-ChangeLog files
202
203         Reviewed by Adam Roben.
204
205         Fixes the following bug in resolve-ChangeLogs:
206
207             Use of uninitialized value in -e at ./WebKitTools/Scripts/resolve-ChangeLogs line 132.
208             Died at ./WebKitTools/Scripts/resolve-ChangeLogs line 164.
209
210         * Scripts/resolve-ChangeLogs:
211         (findUnmergedChangeLogs): Check the result of findChangeLog() to
212         make sure we don't add undef values to the list of files being
213         returned.
214
215 2009-03-17  Gustavo Noronha Silva  <gns@gnome.org>
216
217         Reviewed by Simon Fraser.
218
219         Fix the usage of the $architecture variable for non-Apple-Mac
220         ports.
221
222         * Scripts/webkitdirs.pm:
223
224 2009-03-17  David Kilzer  <ddkilzer@apple.com>
225
226         Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
227
228         <https://bugs.webkit.org/show_bug.cgi?id=24645>
229
230         Reviewed by Mark Rowe.
231
232         * Scripts/bisect-builds:
233         (makeNightlyList): Added checks for Safari 4 Public Beta on
234         Tiger and Leopard.
235
236 2009-03-17  Simon Fraser  <simon.fraser@apple.com>
237
238         Reviewed by Darin Adler
239
240         https://bugs.webkit.org/show_bug.cgi?id=24396
241
242         Change the terminology from '3D transforms' to '3D rendering'.
243
244         * Scripts/build-webkit:
245         * Scripts/run-webkit-tests:
246         * Scripts/webkitdirs.pm:
247
248 2009-03-17  Gustavo Noronha Silva  <gns@gnome.org>
249
250         Reviewed by Mark Rowe.
251
252         Enable HTML5 media elements support by default also for the GTK+
253         port.
254
255         * Scripts/build-webkit:
256
257 2009-03-17  Kevin Ollivier  <kevino@theolliviers.com>
258
259         Reviewed by Mark Rowe.
260         
261         Tweak the BUILDING_ON_* defines so that they work with the default values set by
262         AvailabilityMacros.h.
263         
264         https://bugs.webkit.org/show_bug.cgi?id=24630
265
266         * DumpRenderTree/mac/DumpRenderTreeMac.h:
267
268 2009-03-17  Oliver Hunt  <oliver@apple.com>
269
270         Reviewed by Alexey Proskuryakov.
271
272         Make coverage testing more reliable by ensuring --coverage does not
273         clobber configuration settings, and by removing the unnecessary 
274         dependency on matplotlib.
275
276         * CodeCoverage/regenerate-coverage-display:
277         * Scripts/webkitdirs.pm:
278
279 2009-03-16  Anders Carlsson  <andersca@apple.com>
280
281         Reviewed by Darin Adler and John Sullivan.
282
283         When a plug-in instance is torn down, all plug-in objects will first be invalidated and then deallocated.
284         Since objects can be deallocated in any order, it is not safe to call NPN_ReleaseObject on member variables.
285         
286         Instead, just zero out the member variable in invalidate.
287         
288         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
289         (pluginInvalidate):
290         (pluginDeallocate):
291
292 2009-03-16  Eric Seidel  <eric@webkit.org>
293
294         Reviewed by Sam Weinig.
295         
296         REGRESSION: undo-iframe-location-change.html is failing on the buildbots
297         https://bugs.webkit.org/show_bug.cgi?id=24626
298         
299         Added a call to [[webview undoManager] removeAllActions]
300         to make sure anything left on the undo stack after one test
301         will not affect any later test.
302
303         * DumpRenderTree/mac/DumpRenderTree.mm:
304         (resetWebViewToConsistentStateBeforeTesting):
305
306 2009-03-14  Mark Rowe  <mrowe@apple.com>
307
308         Reviewed by Dan Bernstein.
309
310         Change the layout test result search policy for Mac OS X to fit better with the idea of
311         newer OS versions improving on previous OS versions.
312
313         The results for the latest version of Mac OS X are placed in the "mac" directory.  The
314         results for older versions of Mac OS X are structured as a series of overlays.  When
315         running on Leopard, the results in "mac-leopard" are searched before those in "mac".
316         When running on Tiger, the results in "mac-tiger" are searched before those in
317         "mac-leopard" and "mac".
318
319         * Scripts/run-webkit-tests:
320
321 2009-03-13  Mark Rowe  <mrowe@apple.com>
322
323         Rubber-stamped by Dan Bernstein.
324
325         Take advantage of the ability of recent versions of Xcode to easily switch the active
326         architecture.
327
328         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
329
330 2009-03-13  Mark Rowe  <mrowe@apple.com>
331
332         Reviewed by Timothy Hatcher.
333
334         Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred.
335
336         The scripts will automatically target 64-bit if the system and hardware support it.  This can be
337         overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit
338         to make the override persistent.
339
340         * Scripts/build-webkit: Remove architecture-related code.
341         * Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb.
342         * Scripts/run-javascriptcore-tests: Remove architecture-related code.
343         * Scripts/run-safari: Ditto.
344         * Scripts/run-webkit-tests: Ditto.
345         * Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments.  The --32-bit argument will set the
346         architecture preference to the 32-bit architecture of the machine.  The --64-bit argument will remove any architecture
347         override that is in effect so that 64-bit support will be automatically detected.
348         * Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the
349         auto-detection.
350
351 2009-03-13  Anders Carlsson  <andersca@apple.com>
352
353         Reviewed by Dan Bernstein.
354
355         <rdar://problem/6610666> Revise the Cocoa event model text API
356
357         Add a case statement for NPCocoaEventTextInput.
358         
359         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
360         (handleEventCocoa):
361
362 2009-03-12  Kevin Ollivier  <kevino@theolliviers.com>
363
364         wx build fix. Let DerivedSources.make know we want database APIs.
365
366         * wx/build-wxwebkit:
367
368 2009-03-12  David Kilzer  <ddkilzer@apple.com>
369
370         Bug 24378: resolve-ChangeLogs should use git status or svn status to find and fix unmerged ChangeLogs
371
372         <https://bugs.webkit.org/show_bug.cgi?id=24378>
373
374         Reviewed by Adam Roben.
375
376         * Scripts/resolve-ChangeLogs: If -f|--fix-merged is not passed
377         and no file or directory names are specified on the command-line
378         then try to find unmerged ChangeLog files based on 'svn stat' or
379         'git diff'.  Added global $isGit and $isSVN variables so that
380         isGit() and isSVN() only have to be called once.
381         (findUnmergedChangeLogs): Added.
382
383 2009-03-11  David Kilzer  <ddkilzer@apple.com>
384
385         Clarify comments regarding order of FEATURE_DEFINES
386
387         Rubber-stamped by Mark Rowe.
388
389         * Scripts/build-webkit: Added warning about keeping
390         FEATURE_DEFINES in order and the consequences when they are not.
391
392 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
393
394         Reviewed by Holger Freyther.
395
396         Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
397         https://bugs.webkit.org/show_bug.cgi?id=24487
398
399         Also reset WebSettings to its default state for JavaScript
400         profiling, Developer Extras and Private Browsing before running
401         the test (can be after each test but we want to be consistent with
402         other ports in this regard)
403
404         * DumpRenderTree/gtk/DumpRenderTree.cpp:
405         (resetWebViewToConsistentStateBeforeTesting):
406         (runTest):
407         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
408         (LayoutTestController::setPrivateBrowsingEnabled):
409
410 2009-03-11  Jan Michael Alonzo  <jmalonzo@webkit.org>
411
412         Reviewed by Holger Freyther.
413
414         [GTK]DumpRenderTree doesn't compile for non-X11 GTK ports anymore
415         https://bugs.webkit.org/show_bug.cgi?id=2260
416
417         Add plugin support only for X11 builds
418
419         * DumpRenderTree/gtk/DumpRenderTree.cpp:
420         (setDefaultsToConsistentStateValuesForTesting):
421         * GNUmakefile.am:
422
423 2009-03-08  Holger Hans Peter Freyther  <zecke@selfish.org>
424
425         Reviewed by Mark Rowe.
426
427         Implement setJavaScriptProfilingEnabled by enabling the Developer
428         Extras and the JavaScript profiling on the WebKitWebInspector. After
429         this change we pass the three enabled tests in fast/profiler.
430
431         * DumpRenderTree/gtk/DumpRenderTree.cpp:
432         (runTest): Reset setJavaScriptProfilingEnabled after each test run
433         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
434         (LayoutTestController::setJavaScriptProfilingEnabled):
435
436 2009-03-07  Jan Michael Alonzo  <jmalonzo@webkit.org>
437
438         Reviewed by Holger Freyther.
439
440         [Gtk] Enable http history tests
441         https://bugs.webkit.org/show_bug.cgi?id=24394
442
443         Get the index of the current item from the list of (history) items
444         to print before adding the back history items to the list. This
445         will make the 'curr' pointer point to the correct item in the
446         actual results, therefore, passing some of the http/tests/history
447         tests.
448
449         * DumpRenderTree/gtk/DumpRenderTree.cpp:
450         (dumpBackForwardListForWebView):
451
452 2009-03-06  Adam Treat  <adam.treat@torchmobile.com>
453
454         Reviewed by George Staikos.
455
456         When building QtWebKit in release mode make sure that QT_SHARED is defined
457         otherwise none of the public API will be exported.  This leads to missing
458         symbols and link errors if hidden-visibility is used.
459
460         * Scripts/webkitdirs.pm:
461
462 2009-03-06  Adam Roben  <aroben@apple.com>
463
464         Change the isCygwin check in update-webkit to isAppleWinWebKit
465
466         This matches a similar check in build-webkit, and is more correct.
467
468         Reviewed by Alexey Proskuryakov.
469
470         * Scripts/update-webkit: Only call update-webkit-auxiliary-libs if
471         isAppleWinWebKit is true.
472
473 2009-03-06  Adam Roben  <aroben@apple.com>
474
475         Make update-webkit-support-libs fail if WebKitSupportLibrary.zip is
476         present but out of date
477
478         Reviewed by Alexey Proskuryakov.
479
480         * Scripts/update-webkit-support-libs: Changed to use
481         dieAndInstructToDownload when the zip file doesn't exist. Added an MD5
482         check to make sure the file is up-to-date. If it is out of date, print
483         an error message and quit.
484         (sub dieAndInstructToDownload): Added. Prints an error message and
485         quits with an error.
486
487 2009-03-03  Anders Carlsson  <andersca@apple.com>
488
489         Reviewed by John Sullivan.
490
491         https://bugs.webkit.org/show_bug.cgi?id=22884
492         <rdar://problem/6449783>
493         modified layout test crashes Safari
494
495         Add destroyNullStream test function to the test plug-in.
496         
497         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
498         (destroyNullStream):
499         (pluginInvoke):
500
501 2009-03-03  Brady Eidson  <beidson@apple.com>
502
503         Reviewed by Darin Adler
504
505         Support layout test covering <rdar://problem/6616664>
506
507         Change NSURLRequest/IWebURLRequest dumping to include the mainDocumentURL
508
509         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
510         (-[NSURLRequest _drt_descriptionSuitableForTestResult]): Return both the request URL and the 
511           mainDocumentURL.
512         
513         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
514         (descriptionSuitableForTestResult): Return both the request URL and the mainDocumentURL.
515
516 2009-03-02  Sam Weinig  <sam@webkit.org>
517
518         Reviewed by Mark Rowe.
519
520         Enable Geolocation (except on Tiger and Leopard).
521
522         * Scripts/build-webkit:
523
524 2009-03-02  Kevin Ollivier  <kevino@theolliviers.com>
525
526         Build fixes for wxWidgets Mac trunk build.
527
528         * wx/build-wxwebkit:
529
530 2009-03-02  Timothy Hatcher  <timothy@apple.com>
531
532         Allow for multiline quoted text in JavaScript files when looking for function names.
533
534         https://bugs.webkit.org/show_bug.cgi?id=24296
535
536         Reviewed by David Kilzer.
537
538         * Scripts/prepare-ChangeLog:
539
540 2009-03-02  Adam Treat  <adam.treat@torchmobile.com>
541
542         Reviewed by Eric Seidel.
543
544         Add three new drt helper functions that enable all of the tests in
545         LayoutTests/animation/* and LayoutTests/transitions/* to now pass.
546
547         * DumpRenderTree/qt/jsobjects.cpp:
548         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
549         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
550         (LayoutTestController::numberOfActiveAnimations):
551         * DumpRenderTree/qt/jsobjects.h:
552
553 2009-03-02  Adam Roben  <aroben@apple.com>
554
555         Windows build fix after r41349
556
557         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
558         (AccessibilityUIElement::getChildrenWithRange):
559
560 2009-03-01  Chris Fleizach  <cfleizach@apple.com>
561
562         Reviewed by Oliver Hunt.
563
564         Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array
565
566         Change getChildAtIndex() to get a range of children instead of all the children.
567         This exercises code in WebCore that returns elements when asked for from a range.
568
569         * DumpRenderTree/AccessibilityUIElement.h:
570         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
571         (AccessibilityUIElement::getChildrenWithRange):
572         (AccessibilityUIElement::getChildAtIndex):
573         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
574         (AccessibilityUIElement::getChildrenWithRange):
575
576 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
577
578         Reviewed by Holger Freyther.
579
580          [Gtk] get the HTTP layout tests going
581          https://bugs.webkit.org/show_bug.cgi?id=24259
582
583         Determine the frame's response and decide whether to dump as text
584         or the render tree
585
586         * DumpRenderTree/gtk/DumpRenderTree.cpp:
587         (dump):
588
589 2009-03-01  Jan Michael Alonzo  <jmalonzo@webkit.org>
590
591         Reviewed by Holger Freyther.
592
593         [Gtk] get the HTTP layout tests going
594         https://bugs.webkit.org/show_bug.cgi?id=24259
595
596          Implement dumping of WebKitWebBackForwardList and its history
597          items.
598
599         * DumpRenderTree/gtk/DumpRenderTree.cpp:
600         (compareHistoryItems):
601         (dumpHistoryItem):
602         (dumpBackForwardListForWebView):
603         (dump):
604         (runTest):
605         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
606         (LayoutTestController::clearBackForwardList):
607         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
608         (BackForwardItem::invoke):
609
610 2009-02-28  Zan Dobersek  <zandobersek@gmail.com>
611
612          Reviewed by Holger Freyther.
613
614          Set the resolution for the default screen to 72.0.
615          This way, setting font sizes results in expected values.
616
617          * DumpRenderTree/gtk/DumpRenderTree.cpp:
618          (setDefaultsToConsistentStateValuesForTesting):
619
620 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
621
622         Reviewed by Holger Freyther.
623
624         Adds a WebKitMakeArguments environment variable to enable passing
625         of arguments such as '-j2' to make for the autotools build.
626
627         * Scripts/webkitdirs.pm:
628
629 2009-02-28  Gustavo Noronha Silva  <gns@gnome.org>
630
631         Reviewed by Holger Freyther.
632
633         Add a GTK+-only option to enable GNOME Keyring when building.
634
635         * Scripts/build-webkit:
636
637 2009-02-28  Jan Michael Alonzo  <jmalonzo@webkit.org>
638
639         Reviewed by Holger Freyther.
640
641         [Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing
642         https://bugs.webkit.org/show_bug.cgi?id=24076
643
644         Refactor gtk lib detection and put it in builtDylibPathForName
645
646         * Scripts/webkitdirs.pm:
647
648 2009-02-28  Christian Dywan  <christian@twotoasts.de>
649
650         Rubber-stamped by Holger Freyther.
651
652         * GtkLauncher/main.c:
653         (activate_uri_entry_cb):
654         (main): Use the new webkit_web_view_load_uri to open URIs.
655
656 2009-02-27  Xan Lopez  <xan@gnome.org>
657
658         Rubber-stamped by Alexey Proskuryakov.
659
660         https://bugs.webkit.org/show_bug.cgi?id=24222
661         [GTK] Remove checks for old glib versions
662
663         libsoup, which is a hard dependency, needs at least glib 2.15.3,
664         so remove all glib checks for versions older than that.
665
666         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
667         (LayoutTestController::setWaitToDump):
668
669 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
670
671         Reviewed by Eric Seidel
672
673         Fix spew about a WebView being deallocated while key value observers are
674         still registered with it by making sure that we always stop observing
675         _isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close].
676         
677         * DumpRenderTree/mac/DumpRenderTree.mm:
678         (dumpRenderTree):
679         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
680         (-[DumpRenderTreeWindow close]):
681
682 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
683
684         Reviewed by Alexey Proskuryakov.
685
686         Do not queue the calls to 'DumpRenderTree::dump()' as this can result
687         in more than one call as a test that calls 'notifyDone()' can then be
688         subsequently fully loaded and initiate a second dump.  Also make sure
689         to stop any existing page load that is happening before running the next
690         test.  Combined this serves to produce 217 more passing tests for the
691         Qt port or roughly 5% at this point.
692
693         * DumpRenderTree/qt/DumpRenderTree.cpp:
694         (WebCore::DumpRenderTree::DumpRenderTree):
695         (WebCore::DumpRenderTree::open):
696
697 2009-02-25  Simon Fraser  <simon.fraser@apple.com>
698
699         Reviewed by Dan Bernstein
700
701         https://bugs.webkit.org/show_bug.cgi?id=23854
702
703         Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing
704         property of the WebView, and use that to turn -autodisplay on and off.
705         This is necessary so that accelerated animations start correctly.
706         We can thus remove the -display hack in createBitmapContextFromWebView().
707
708         * DumpRenderTree/mac/DumpRenderTree.mm:
709         (createWebViewAndOffscreenWindow):
710         (dumpRenderTree):
711         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
712         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
713         (-[DumpRenderTreeWindow close]):
714         (-[DumpRenderTreeWindow webView]):
715         (-[DumpRenderTreeWindow startObservingWebView]):
716         (-[DumpRenderTreeWindow stopObservingWebView]):
717         (-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]):
718         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
719         (createBitmapContextFromWebView):
720
721 2009-02-25  Adam Treat  <adam.treat@torchmobile.com>
722
723         Reviewed by Zack Rusin.
724
725         https://bugs.webkit.org/show_bug.cgi?id=24158
726         Implement the queue*() methods of the layoutTestController and begin
727         implementing the dump of the back/forward list.  This results in 2% more
728         tests passing as well as 23 currently skipped tests now passing.
729
730         * DumpRenderTree/qt/DumpRenderTree.cpp:
731         (WebCore::DumpRenderTree::dumpBackForwardList):
732         (WebCore::DumpRenderTree::dump):
733         * DumpRenderTree/qt/DumpRenderTree.h:
734         * DumpRenderTree/qt/DumpRenderTree.pro:
735         * DumpRenderTree/qt/jsobjects.cpp:
736         (findFrameNamed):
737         (LoadItem::invoke):
738         (ReloadItem::invoke):
739         (ScriptItem::invoke):
740         (BackForwardItem::invoke):
741         (LayoutTestController::reset):
742         (LayoutTestController::processWork):
743         (LayoutTestController::maybeDump):
744         (LayoutTestController::queueBackNavigation):
745         (LayoutTestController::queueForwardNavigation):
746         (LayoutTestController::queueLoad):
747         (LayoutTestController::queueReload):
748         (LayoutTestController::queueScript):
749         * DumpRenderTree/qt/jsobjects.h:
750         (LayoutTestController::shouldDumpBackForwardList):
751         (LayoutTestController::dumpBackForwardList):
752
753 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
754
755         Reviewed by Alexey Proskuryakov.
756
757         Don't print out that you are generating new results if you are not in fact
758         generating new results and disable generating new results by default for
759         the all ports other than the canonical Apple Mac port since this can litter
760         the source directory with hundreds of new results since other ports
761         are not as up to date.
762
763         * Scripts/run-webkit-tests:
764
765 2009-02-24  Adam Treat  <adam.treat@torchmobile.com>
766
767         Reviewed by Cameron Zwarich.
768
769         The Qt port does not support these yet nor does the nm check work with
770         QMake based build.
771
772         * Scripts/webkitdirs.pm:
773
774 2009-02-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
775
776         Reviewed by Alexey Proskuryakov.
777
778         [Gtk] add options for 3D transforms and HTML5 channel messaging to the build
779         https://bugs.webkit.org/show_bug.cgi?id=24072
780
781         Allow toggling of 3D transforms and HTML5 channel messaging
782         support for the Autotools (Gtk) build.
783
784         Also add '--gtk' in the build-webkit help doc and fix autotools
785         option for web-workers support.
786
787         * Scripts/build-webkit:
788
789 2009-02-23  Xan Lopez  <xan@gnome.org>
790
791         Reviewed by Alexey Proskuryakov.
792
793         https://bugs.webkit.org/show_bug.cgi?id=22624
794         [SOUP][GTK] Need API to get SoupSession from WebKit.
795
796         Add soup flags now that dependency is explicit.
797
798         * GNUmakefile.am:
799
800 2009-02-22  Mark Rowe  <mrowe@apple.com>
801
802         Reviewed by Oliver Hunt.
803
804         Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit.
805
806         * DumpRenderTree/mac/DumpRenderTree.mm:
807         (swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather
808         than of an arbitrary existing method on the class.
809
810 2009-02-13  Eric Seidel  <eric@webkit.org>
811
812         Rubber-stamped by Alexey Proskuryakov.
813
814         Add a few ignores to make-js-test-wrappers.
815
816         * Scripts/make-js-test-wrappers:
817
818 2009-02-17  Holger Hans Peter Freyther  <zecke@selfish.org>
819
820         Reviewed by Alexey Proskuryakov.
821
822         Prepend file:// to the test result filename to make
823         GtkLauncher display the result page.
824
825         * Scripts/run-webkit-tests:
826
827 2009-02-16  Gustavo Noronha Silva  <gns@gnome.org>
828
829         Reviewed by Adam Roben
830
831         Actually use the installation prefix defined in WebKitInstallationPrefix,
832         in autotools builds.
833
834         * Scripts/webkitdirs.pm:
835
836 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
837
838         No review.
839
840         Remove debugging code which was committed by mistake.
841
842         * Scripts/run-webkit-tests:
843
844 2009-02-12  Simon Fraser  <simon.fraser@apple.com>
845
846         Reviewed by Adam Roben
847
848         https://bugs.webkit.org/show_bug.cgi?id=23928
849
850         Add detection of accelerated compositing and 3d transforms,
851         and add various directories to $ignoredDirectories when these
852         features are off.
853
854         * Scripts/run-webkit-tests:
855         * Scripts/webkitdirs.pm:
856
857 2009-02-12  Adam Roben  <aroben@apple.com>
858
859         Fix Bug 23922: Warning message from run-webkit-tests when Skipped file
860         contains non-existent tests is confusing and is given for disabled
861         tests
862
863         <https://bugs.webkit.org/show_bug.cgi?id=23922>
864
865         We now no longer warn about disabled tests. The warning now reads:
866
867         Skipped list contained '$item', but no file of that name could be
868         found
869
870         Reviewed by John Sullivan.
871
872         * Scripts/run-webkit-tests:
873         (top level): Pass the list name to processIgnoreTests so it can print
874         out a reasonable warning message.
875         (processIgnoreTests): Take a list name as a second parameter and use
876         it to display a better warning message. Also check for a "-disabled"
877         version of the test before warning about it not existing.
878
879 2009-02-11  Adam Roben  <aroben@apple.com>
880
881         Windows fix for Bug 22239: Implement missing animation & transition
882         APIs on LayoutTestController for non-mac platforms
883
884         <https://bugs.webkit.org/show_bug.cgi?id=22239>
885
886         Reviewed by Simon Fraser.
887
888         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
889         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
890         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
891         (LayoutTestController::numberOfActiveAnimations):
892         Implemented these by calling through to IWebFramePrivate.
893
894 2009-02-10  Chris Marrin  <cmarrin@apple.com>
895
896         Reviewed by Simon Fraser.
897
898         * Scripts/build-webkit:
899
900         https://bugs.webkit.org/show_bug.cgi?id=23883
901
902         Added support --3d-transforms. Defaults to off
903
904 2009-02-11  Adam Roben  <aroben@apple.com>
905
906         Fix crashes in http/tests/history/redirect-301.pl and friends on
907         Windows
908
909         Reviewed by Alexey Proskuryakov.
910
911         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
912         (LayoutTestController::webHistoryItemCount): Null-check the shared
913         WebHistory instance before dereferencing it.
914
915 2009-02-10  Adam Roben  <aroben@apple.com>
916
917         Fix Bug 23869: Pixel tests can't be run on Windows
918
919         <https://bugs.webkit.org/show_bug.cgi?id=23869>
920
921         This patch gets the pixel tests limping along on Windows again.
922
923         Reviewed by Dan Bernstein.
924
925         * DumpRenderTree/DumpRenderTree.sln: Changed to use the new
926         Debug_Internal configuration of ImageDiff in the Debug_Internal
927         configuration of this solution.
928
929         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
930         (printPNG): Changed to call fwrite in a loop, since this call was
931         failing due to the buffer being too large on Windows.
932         (dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary
933         #if PLATFORM(MAC)/#endif.
934
935         * DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal
936         configuration that matches the Debug configuration but also references
937         debug_internal.vsprops.
938
939         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
940         (createBitmapContextFromWebView): Renamed from
941         getBitmapContextFromWebView to match the name used in the
942         cross-platform code.
943
944 2009-02-10  Adam Roben  <aroben@apple.com>
945
946         Robustify DumpRenderTree/win a little
947
948         DumpRenderTree was previously not holding a ref to the WebViews it
949         created via window.open. It was getting away with this because
950         WebViews get reffed by being preference notification observers and by
951         registering for drag-n-drop messages. Now DRT does hold a ref, in case
952         this situation changes in the future.
953
954         Reviewed by Alexey Proskuryakov.
955
956         * DumpRenderTree/win/DumpRenderTree.cpp:
957         (dumpBackForwardListForAllWindows): Added a .get().
958         (windowToWebViewMap): Changed to use the WindowToWebViewMap typedef.
959         * DumpRenderTree/win/DumpRenderTreeWin.h: Changed the
960         windowToWebViewMap() to hold a ref to the WebViews it contains.
961
962 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
963
964         Fix the #include file order, per review comments.
965
966         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
967
968 2009-02-05  Simon Fraser  <simon.fraser@apple.com>
969
970         Reviewed by Dan Bernstein
971
972         https://bugs.webkit.org/show_bug.cgi?id=23362
973
974         If the WebHTMLView uses accelerated compositing, we need for force
975         the on-screen capture path and also force animations to start with -display
976         since the DRT window has autodisplay disabled.
977
978         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
979         (createBitmapContextFromWebView):
980
981 2009-02-03  miggilin  <mr.diggilin@gmail.com>
982
983         Reviewed by Darin Adler.
984
985         Change the way wxWidgets build gets arguments.
986         Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the
987         argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be
988         removed when --wx is checked for).
989
990         https://bugs.webkit.org/show_bug.cgi?id=23701
991
992         * Scripts/build-webkit:
993         * Scripts/webkitdirs.pm:
994
995 2009-01-30  Chris Fleizach  <cfleizach@apple.com>
996
997         Reviewed by Oliver Hunt.
998
999         Catch exceptions thrown by AppKit when accessing an attribute than an element
1000         doesn't return.
1001
1002         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1003         (attributesOfElement):
1004
1005 2009-01-29  David Kilzer  <ddkilzer@apple.com>
1006
1007         Remove semi-colons from the end of ObjC method implementations
1008
1009         Rubber-stamped by Adam Roben.
1010
1011         $ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \;
1012
1013         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1014         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
1015         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
1016         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
1017         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
1018         * DumpRenderTree/mac/UIDelegate.mm:
1019         (-[UIDelegate webViewFrame:]):
1020
1021 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
1022
1023         Build fix for GTK.
1024
1025         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1026         (LayoutTestController::webHistoryItemCount):
1027
1028 2009-01-28  Geoffrey Garen  <ggaren@apple.com>
1029
1030         Reviewed by Sam Weinig.
1031
1032         Added support for querying how many history items were created during a
1033         layout test.
1034
1035         * DumpRenderTree/LayoutTestController.cpp:
1036         (getWebHistoryItemCountCallback):
1037         (LayoutTestController::staticValues):
1038         * DumpRenderTree/LayoutTestController.h:
1039         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1040         (LayoutTestController::webHistoryItemCount):
1041         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1042         (LayoutTestController::webHistoryItemCount):
1043
1044 2009-01-26  Pierre-Olivier Latour  <pol@apple.com>
1045
1046         Tweaked again earlier fix, this time just to print a warning and not abort if
1047         attempting to generate pixel results and Perian is installed.
1048
1049         https://bugs.webkit.org/show_bug.cgi?id=22615
1050
1051         * Scripts/run-webkit-tests:
1052
1053 2009-01-26  Christian Dywan  <christian@twotoasts.de>
1054
1055         Rubber stamped by Holger Freyther.
1056
1057         * GtkLauncher/main.c:
1058         (main): Initialize threads, which is required for libSoup.
1059
1060 2009-01-23  David Kilzer  <ddkilzer@apple.com>
1061
1062         * Scripts/do-webcore-rename: Removed 10 header guard renames that
1063         had already been fixed, and updated 4 renames whose original values
1064         had changed.
1065
1066 2009-01-22  Anders Carlsson  <andersca@apple.com>
1067
1068         Fix Windows build.
1069
1070         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1071
1072 2009-01-22  Anders Carlsson  <andersca@apple.com>
1073
1074         Reviewed by Sam Weinig.
1075
1076         Clean up the test plug-in code. We now always use the CG drawing model and the
1077         Cocoa event model. It is however possible to revert to the old Carbon event model by
1078         specifying forcecarbon=true in the embed/object tag.
1079
1080         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1081         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1082         (NPP_New):
1083         (handleEventCarbon):
1084         (handleEventCocoa):
1085         (NPP_HandleEvent):
1086
1087 2009-01-21  Pierre-Olivier Latour  <pol@apple.com>
1088
1089         Tweaked earlier fix to only print a warning when Perian is installed,
1090         and fail completely only if attempting to generate new pixel test results.
1091
1092         https://bugs.webkit.org/show_bug.cgi?id=23392
1093
1094         * Scripts/run-webkit-tests:
1095
1096 2009-01-20  Darin Adler  <darin@apple.com>
1097
1098         Reviewed by Alexey Proskuryakov.
1099
1100         Bug 23450: string leaks seen in DumpRenderTree accessibility test code
1101         https://bugs.webkit.org/show_bug.cgi?id=23450
1102
1103         * DumpRenderTree/AccessibilityUIElement.cpp:
1104         (isAttributeSettableCallback): Add the missing JSStringRelease call.
1105         (attributeValueCallback): Ditto.
1106
1107 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
1108
1109         Reviewed by Darin Adler.
1110
1111         Print warning regarding display color profile change in run-webkit-tests instead of DRT.
1112
1113         https://bugs.webkit.org/show_bug.cgi?id=23392
1114
1115         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1116         (setupMainDisplayColorProfile):
1117         * Scripts/run-webkit-tests:
1118
1119 2009-01-20  Pierre-Olivier Latour  <pol@apple.com>
1120
1121         Reviewed by Darin Adler.
1122
1123         Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed,
1124         in order to avoid result differences in some media tests.
1125
1126         https://bugs.webkit.org/show_bug.cgi?id=22615
1127
1128         * Scripts/run-webkit-tests:
1129         * Scripts/webkitdirs.pm:
1130
1131 2009-01-19  Sam Weinig  <sam@webkit.org>
1132
1133         * Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr.
1134
1135 2009-01-16  Gabor Loki  <loki@inf.u-szeged.hu>
1136
1137         Reviewed by Darin Adler.
1138
1139         * Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional
1140         parameters to make command in QMake projects.
1141
1142 2009-01-16  Chris Fleizach  <cfleizach@apple.com>
1143
1144         Reviewed by Beth Dakin.
1145
1146         Add AX methods to retrieve the parent of an element.
1147
1148         * DumpRenderTree/AccessibilityUIElement.cpp:
1149         (parentElementCallback):
1150         (AccessibilityUIElement::getJSClass):
1151         * DumpRenderTree/AccessibilityUIElement.h:
1152         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
1153         (AccessibilityUIElement::parentElement):
1154         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
1155         (AccessibilityUIElement::parentElement):
1156
1157 2009-01-16  Anders Carlsson  <andersca@apple.com>
1158
1159         Reviewed by Adam Roben.
1160
1161         Set the count to the right number of elements.
1162
1163         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1164         (testEnumerate):
1165
1166 2009-01-14  David Kilzer  <ddkilzer@apple.com>
1167
1168         BUILD FIX: Use COM API on Windows in LayoutTestController::setIconDatabaseEnabled()
1169
1170         Rubber-stamped by Alice Liu.
1171
1172         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1173         (LayoutTestController::setIconDatabaseEnabled): Use COM API
1174         to get the shared WebIconDatabase.
1175
1176 2009-01-14  Jeremy Moskovich  <jeremy@chromium.org>
1177
1178         Reviewed by Eric Seidel.
1179
1180         <https://bugs.webkit.org/show_bug.cgi?id=16829>
1181         Implement NPN_SetException()
1182
1183         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1184         (pluginInvoke):
1185         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
1186         (initializeIdentifiers):
1187         (testHasMethod):
1188         (testInvoke):
1189
1190 2009-01-13  Dmitry Titov  <dimich@chromium.org>
1191
1192         Reviewed by David Kilzer.
1193
1194         https://bugs.webkit.org/show_bug.cgi?id=23304
1195         Fix svn-apply to match svn-unapply to recognize added files in 'git diff' patches.
1196
1197         * Scripts/svn-apply: Added a check (similar to svn-unapply) to recognize added files.
1198
1199 2009-01-14  David Kilzer  <ddkilzer@apple.com>
1200
1201         BUILD FIX: Implement LayoutTestController::setIconDatabaseEnabled(bool) for GTK
1202
1203         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1204         (runTest): Added call to reset the icon database to match Mac
1205         and Windows ports.
1206         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1207         (LayoutTestController::setIconDatabaseEnabled): Implemented
1208         stub method.
1209
1210 2009-01-14  David Kilzer  <ddkilzer@apple.com>
1211
1212         Bug 22795: favicons should be saved to webarchives
1213
1214         <https://bugs.webkit.org/show_bug.cgi?id=22795>
1215
1216         Reviewed by Darin Adler.
1217
1218         * DumpRenderTree/LayoutTestController.cpp:
1219         (setIconDatabaseEnabledCallback): Added.
1220         (setJavaScriptProfilingEnabledCallback): Realphabetized.
1221         (LayoutTestController::staticFunctions): Added entry for calling
1222         LayoutTestController.setIconDatabaseEnabled(bool) from JavaScript.
1223         * DumpRenderTree/LayoutTestController.h:
1224         (setIconDatabaseEnabledCallback): Added declaration.
1225         (setJavaScriptProfilingEnabledCallback): Realphabetized.
1226
1227         * DumpRenderTree/mac/DumpRenderTree.mm:
1228         (runTest): Disable the icon database before each test.
1229         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1230         (LayoutTestController::setIconDatabaseEnabled): Added.
1231         (LayoutTestController::setJavaScriptProfilingEnabled): Realphabetized.
1232
1233         * DumpRenderTree/win/DumpRenderTree.cpp:
1234         (runTest): Disable the icon database before each test.
1235         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1236         (LayoutTestController::setIconDatabaseEnabled): Added.
1237
1238 2009-01-14  Steve Falkenburg  <sfalken@apple.com>
1239
1240         Update copyright year in version resources.
1241
1242         Reviewed by Adam Roben.
1243
1244         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
1245
1246 2009-01-14  Dan Bernstein  <mitz@apple.com>
1247
1248         Reviewed by John Sullivan.
1249
1250         - update copyright
1251
1252         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist:
1253         * WebKitLauncher/Info.plist:
1254
1255 2009-01-13  Anders Carlsson  <andersca@apple.com>
1256
1257         Reviewed by Sam Weinig.
1258
1259         Add NPRuntime test.
1260
1261         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1262         (testNPRuntime):
1263         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
1264         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
1265         (NPP_New):
1266         (NPP_GetValue):
1267
1268 2009-01-12  Mark Rowe  <mrowe@apple.com>
1269
1270         Use the modern spelling of WebKit.
1271
1272         * Scripts/find-extra-includes:
1273         * Scripts/report-include-statistics:
1274         * Scripts/run-webkit-app:
1275         * Scripts/svn-unapply:
1276         * Scripts/update-webkit:
1277
1278 2009-01-11  Darin Adler  <darin@apple.com>
1279
1280         * Scripts/make-js-test-wrappers: Updated so it won't overwrite tests in the svg/dom
1281         directory that aren't using standard wrappers.
1282
1283 2009-01-11  Robert Blaut  <webkit@blaut.biz>
1284
1285         Reviewed by Eric Seidel.
1286
1287         <https://bugs.webkit.org/show_bug.cgi?id=23134>
1288         Update bisect-builds for Safari 3.2 to prevent crashes
1289
1290         * Scripts/bisect-builds: Added Safari 3.2 and the corresponding minimal revision, r37348.
1291
1292 2009-01-08  Adam Treat  <adam.treat@torchmobile.com>
1293
1294         Reviewed by Simon Hausmann.
1295
1296         Explicitly set these so that the layout tests do not break.
1297
1298         * DumpRenderTree/qt/DumpRenderTree.cpp:
1299         (WebCore::WebPage::WebPage):
1300
1301 2009-01-07  Glenn Wilson  <gwilson@chromium.org>
1302
1303         Reviewed by Eric Seidel.
1304
1305         Changed DumpRenderTree to re-enable Javascript in web preferences on every test.
1306         This fixes the case when a user mistakenly disables Javascript, and all layout tests crash.
1307
1308         * DumpRenderTree/mac/DumpRenderTree.mm:
1309         (testStringByEvaluatingJavaScriptFromString):
1310         (setDefaultsToConsistentValuesForTesting):
1311
1312 2009-01-07  Holger Hans Peter Freyther  <zecke@selfish.org>
1313
1314         Reviewed by Maciej Stachowiak.
1315
1316         Implement numberOfActiveAnimations to fix the build
1317
1318         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1319         (LayoutTestController::numberOfActiveAnimations):
1320
1321 2009-01-07  Adam Treat  <adam.treat@torchmobile.com>
1322
1323         Reviewed by George Staikos.
1324
1325         Fix unused variable warnings
1326
1327         * DumpRenderTree/qt/DumpRenderTree.cpp:
1328         (WebCore::WebPage::javaScriptAlert):
1329         (WebCore::WebPage::javaScriptConfirm):
1330         (WebCore::WebPage::javaScriptPrompt):
1331         * DumpRenderTree/qt/jsobjects.cpp:
1332         (LayoutTestController::maybeDump):
1333         * DumpRenderTree/qt/main.cpp:
1334         (get_backtrace):
1335         * DumpRenderTree/qt/testplugin.cpp:
1336         (TestPlugin::create):
1337
1338 2009-01-06  Pierre-Olivier Latour  <pol@apple.com>
1339
1340         Reviewed by Darin Adler.
1341
1342         Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations.
1343         This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore.
1344
1345         https://bugs.webkit.org/show_bug.cgi?id=23126
1346
1347         * DumpRenderTree/LayoutTestController.cpp:
1348         (numberOfActiveAnimationsCallback):
1349         (LayoutTestController::staticFunctions):
1350         * DumpRenderTree/LayoutTestController.h:
1351         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1352         (LayoutTestController::numberOfActiveAnimations):
1353         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1354         (LayoutTestController::numberOfActiveAnimations):
1355
1356 2009-01-04  David Kilzer  <ddkilzer@apple.com>
1357
1358         Don't install internal headers in WebKit framework
1359
1360         Reviewed by Darin Adler.
1361
1362         Since WebHTMLRepresentationInternal.h and WebTypesInternal.h are
1363         no longer installed in WebKit.framework/PrivateHeaders, use the
1364         special relationship of DumpRenderTree within the WebKit source
1365         tree to include the internal headers through relative paths.
1366         Created the concept of mac/InternalHeaders to hide the ugly
1367         paths.
1368
1369         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added
1370         mac/InternalHeaders to HEADER_SEARCH_PATHS.
1371         * DumpRenderTree/mac/InternalHeaders/WebKit/WebHTMLRepresentationInternal.h: Added.
1372         * DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h: Added.
1373
1374 2009-01-02  Adam Treat  <treat@kde.org>
1375
1376         Reviewed by George Staikos.
1377
1378         Add support for fixedLayoutSize to the qt DRT
1379
1380         * DumpRenderTree/qt/jsobjects.cpp:
1381         (LayoutTestController::setFixedLayoutSize):
1382         (LayoutTestController::setUseFixedLayout):
1383         * DumpRenderTree/qt/jsobjects.h:
1384
1385 2009-01-03  David D. Kilzer  <ddkilzer@webkit.org>
1386
1387         Bug 23091: Some webarchive http tests intermittently fail due to Connection/Keep-Alive header differences
1388
1389         <https://bugs.webkit.org/show_bug.cgi?id=23091>
1390
1391         Reviewed by Darin Adler.
1392
1393         * DumpRenderTree/mac/DumpRenderTree.mm:
1394         (normalizeHTTPResponseHeaderFields): Remove Keep-Alive and
1395         Connection headers from webarchive results.
1396
1397 2008-12-31  Zan Dobersek  <zandobersek@gmail.com>
1398
1399         Reviewed by Holger Freyther.
1400
1401         https://bugs.webkit.org/show_bug.cgi?id=22812
1402
1403         Prevent TestNetscapePlugin from installing system-wide.
1404
1405         * GNUmakefile.am:
1406
1407 2008-12-31  Zan Dobersek  <zandobersek@gmail.com>
1408
1409         Reviewed by Holger Freyther.
1410
1411         https://bugs.webkit.org/show_bug.cgi?id=22842
1412
1413         Move WebKitWebView's size allocation into a proper place.
1414
1415         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1416         (dump):
1417         (runTest):
1418
1419 2008-12-24  Mark Rowe  <mrowe@apple.com>
1420
1421         Reviewed by Timothy Hatcher.
1422
1423         Move the guts of determineCurrentSVNRevision to VCSUtils as svnRevisionForDirectory,
1424         and make it work for git too.
1425
1426         * Scripts/VCSUtils.pm:
1427         * Scripts/webkitdirs.pm:
1428
1429 2008-12-22  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1430
1431         Reviewed by George Staikos.
1432
1433         Ignore http/tests/wml, if no WML support is present.
1434         Add http/tests/wml to list of HTTP tests, allowed to access local resources.
1435
1436         * Scripts/run-webkit-tests:
1437
1438 2008-12-19  David Levin  <levin@chromium.org>
1439
1440         Reviewed by Mark Rowe.
1441
1442         https://bugs.webkit.org/show_bug.cgi?id=22930
1443
1444         Make the git diff command used for preparing the change log avoid using any external diff tools.
1445
1446         * Scripts/prepare-ChangeLog:
1447
1448 2008-12-19  Gustavo Noronha Silva  <gns@gnome.org>
1449
1450         Reviewed by Holger Freyther.
1451
1452         https://bugs.webkit.org/show_bug.cgi?id=22686
1453
1454         Added files which were missing from the TestNetscapePlugin
1455         directory to the SOURCES variable, so that they will be
1456         distributed in a make dist.
1457
1458         * GNUMakefile.am:
1459
1460 2008-12-18  Cameron Zwarich  <zwarich@apple.com>
1461
1462         Reviewed by Geoff Garen.
1463
1464         Add tests for bug 21855: REGRESSION (r37323): Gmail complains about popup blocking when opening a link
1465         <https://bugs.webkit.org/show_bug.cgi?id=21855>
1466         <rdar://problem/6278244>
1467
1468         Add support for scheduling asynchronous clicks to DumpRenderTree, but
1469         only on the Mac.
1470
1471         * DumpRenderTree/mac/EventSendingController.h:
1472         * DumpRenderTree/mac/EventSendingController.mm:
1473         (+[EventSendingController isSelectorExcludedFromWebScript:]): Expose
1474         scheduleAsynchronousClick to JavaScript.
1475         (-[EventSendingController scheduleAsynchronousClick]): Add.
1476
1477 2008-12-15  Darin Adler  <darin@apple.com>
1478
1479         * Scripts/make-js-test-wrappers: Added another exception to avoid overwriting
1480         a custom-written test.
1481
1482 2008-12-15  Simon Hausmann  <hausmann@webkit.org>
1483
1484         Reviewed by Holger Freyther.
1485
1486         Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler.
1487
1488         * DumpRenderTree/qt/jsobjects.cpp:
1489         (LayoutTestController::setJavaScriptProfilingEnabled):
1490         * DumpRenderTree/qt/jsobjects.h:
1491
1492 2008-12-13  Zan Dobersek  <zandobersek@gmail.com>
1493
1494         Reviewed by Darin Adler.
1495
1496         https://bugs.webkit.org/show_bug.cgi?id=22039
1497
1498         Implement animation and transition pausing.
1499
1500         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1501         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
1502         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1503
1504 2008-12-12  Brent Fulgham  <bfulgham@gmail.com>
1505
1506         Reviewed by Adam Roben.
1507
1508         https://bugs.webkit.org/show_bug.cgi?id=22809
1509
1510         Increase timeout in call to initWithURL so that people actually see
1511         new web pages when they type URLs rather than a blank screen.
1512
1513         * WinLauncher/WinLauncher.cpp:
1514         (loadURL):  Increase timeout in initWithURL from 0 to 60 seconds.
1515
1516 2008-12-12  Darin Adler  <darin@apple.com>
1517
1518         * Scripts/do-webcore-rename: Add a renaming idea.
1519
1520 2008-12-12  Holger Hans Peter Freyther  <zecke@selfish.org>
1521
1522         Reviewed by Simon Hausmann.
1523
1524         Update the WebKit.qrc and add a script to automatically generate the file.
1525
1526         With the way rcc and qmake work this can not be done at build time
1527         as the WebKit.qrc must sit inside the directory that contains the files
1528         and at build time we may not change the content of the source directory.
1529
1530         * Scripts/generate-qt-inspector-resource: Added.
1531
1532 2008-12-11  Cameron Zwarich  <zwarich@apple.com>
1533
1534         Rubber-stamped by Mark Rowe.
1535
1536         Roll out r39212 due to assertion failures during layout tests, multiple
1537         layout test failures, memory leaks, and obvious incorrectness.
1538
1539         * DumpRenderTree/LayoutTestController.cpp:
1540         (LayoutTestController::staticFunctions):
1541         * DumpRenderTree/LayoutTestController.h:
1542         * DumpRenderTree/mac/DumpRenderTree.mm:
1543         (resetWebViewToConsistentStateBeforeTesting):
1544         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1545         * DumpRenderTree/win/DumpRenderTree.cpp:
1546         (resetWebViewToConsistentStateBeforeTesting):
1547         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1548         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
1549
1550 2008-12-10  Glenn Wilson  <gwilson@google.com>
1551
1552         Reviewed by Adam Roben.
1553
1554         Changed LayoutTestController and DumpRenderTree to allow for manual
1555         overriding of default preferences at test time.  Also added support for
1556         resetting the preferences after each test.
1557         https://bugs.webkit.org/show_bug.cgi?id=20534
1558
1559         * DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences
1560         * DumpRenderTree/LayoutTestController.h: Added signature for callback
1561         * DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary
1562         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function
1563         * DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary
1564         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function
1565
1566 2008-12-10  Brady Eidson  <beidson@apple.com>
1567
1568         Reviewed by Darin Adler.
1569
1570         Implement the new policy delegate (including navigation type and permissive mode) for DRT/win
1571
1572         * DumpRenderTree/win/DumpRenderTree.cpp:
1573         * DumpRenderTree/win/DumpRenderTreeWin.h:
1574
1575         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1576         (LayoutTestController::setCustomPolicyDelegate):
1577
1578         * DumpRenderTree/win/PolicyDelegate.cpp:
1579         (PolicyDelegate::PolicyDelegate):
1580         (PolicyDelegate::decidePolicyForNavigationAction):
1581         * DumpRenderTree/win/PolicyDelegate.h:
1582         (PolicyDelegate::setPermissive):
1583
1584 2008-12-10  Brady Eidson  <beidson@apple.com>
1585
1586         Reviewed by Darin
1587
1588         Change the custom policy delegate to actually allow navigation for tests that need it.
1589         The new behavior is opt-in and doesn't require any changes in old tests.
1590
1591         * DumpRenderTree/LayoutTestController.cpp:
1592         (setCustomPolicyDelegateCallback):  Allow for a second boolean argument to set the permissive flag on the custom
1593           policy delegate, which will be false by default to maintain original behavior.
1594         * DumpRenderTree/LayoutTestController.h:
1595         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1596         (LayoutTestController::setCustomPolicyDelegate):
1597
1598         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1599         (LayoutTestController::setCustomPolicyDelegate):  Partially stubbed out for now.
1600         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1601         (LayoutTestController::setCustomPolicyDelegate):  Still stubbed out, but with new param.
1602
1603         * DumpRenderTree/mac/PolicyDelegate.h:
1604         * DumpRenderTree/mac/PolicyDelegate.mm:
1605         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):  If the permissive flag
1606           is set, allow the navigation.
1607         (-[PolicyDelegate setPermissive:]):  Change the behavior between "use" and "ignore" - allowing navigation or not.
1608
1609 2008-12-09  Mark Rowe  <mrowe@apple.com>
1610
1611         Rubber-stamped by Ada Chan.
1612
1613         Fix gdb-safari on Tiger.
1614
1615         gdb on Tiger does not take the -arch flag, so do not pass it.
1616
1617         * Scripts/gdb-safari:
1618
1619 2008-12-09  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1620
1621         Reviewed by Alexey Proskuryakov.
1622
1623         Ignore WML tests, if no WML support available.
1624
1625         * Scripts/run-webkit-tests:
1626
1627 2008-12-08  Geoffrey Garen  <ggaren@apple.com>
1628
1629         Reviewed by Oliver Hunt.
1630
1631         Added a shortcut for --jsDriver-args, which I use a lot.
1632
1633         * Scripts/run-javascriptcore-tests:
1634
1635 2008-12-08  Stephanie Lewis  <slewis@apple.com>
1636
1637         Fix Tiger build.
1638
1639         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1640
1641 2008-12-08  Darin Adler  <darin@apple.com>
1642
1643         Reviewed by John Sullivan.
1644
1645         - test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409
1646           REGRESSION: cmd-shift-left/right don't switch tabs, instead select text
1647
1648         * DumpRenderTree/LayoutTestController.cpp:
1649         (isCommandEnabledCallback): Added.
1650         (LayoutTestController::staticFunctions): Added "isCommandEnabled".
1651         * DumpRenderTree/LayoutTestController.h: Ditto.
1652         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1653         (LayoutTestController::isCommandEnabled): Ditto.
1654         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1655         (-[CommandValidationTarget initWithAction:]): Added. Used to get the
1656         command validation system to tell us if a comment is enabled.
1657         (-[CommandValidationTarget action]): Ditto.
1658         (-[CommandValidationTarget tag]): Ditto.
1659         (LayoutTestController::isCommandEnabled): Ditto.
1660         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1661         (LayoutTestController::isCommandEnabled): Ditto.
1662
1663 2008-12-08  David Kilzer  <ddkilzer@apple.com>
1664
1665         Bug 22555: Sort "children" sections in Xcode project files
1666
1667         <https://bugs.webkit.org/show_bug.cgi?id=22555>
1668
1669         Reviewed by Eric Seidel.
1670
1671         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted.
1672         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted.
1673         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted.
1674
1675 2008-12-08  David Kilzer  <ddkilzer@apple.com>
1676
1677         Bug 22555: Sort "children" sections in Xcode project files
1678
1679         <https://bugs.webkit.org/show_bug.cgi?id=22555>
1680
1681         Reviewed by Timothy Hatcher.
1682
1683         * Scripts/sort-Xcode-project-file: By popular request, don't sort
1684         the mainGroup in the project (the list of items below the top-level
1685         project file).
1686
1687 2008-12-05  David Kilzer  <ddkilzer@apple.com>
1688
1689         Bug 22555: Sort "children" sections in Xcode project files
1690
1691         <https://bugs.webkit.org/show_bug.cgi?id=22555>
1692
1693         Reviewed by Darin Adler.
1694
1695         Sort "children" sections alphabetically, moving groups (folders) to
1696         the top of each of the lists.  Files are assumed to have extensions,
1697         so %isFile is used to override this behavior.
1698
1699         * Scripts/sort-Xcode-project-file:
1700         (sortChildrenByFileName): Added.
1701         (sortFilesByFileName): Renamed from sortByFileName().
1702
1703 2008-12-05  Eric Seidel  <eric@webkit.org>
1704
1705         Reviewed by Geoff Garen.
1706
1707         https://bugs.webkit.org/show_bug.cgi?id=22683
1708         Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV
1709         Add a new argumentsForConfiguration() function and clean up some old code to use it.
1710         Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting.
1711
1712         * Scripts/run-javascriptcore-tests:
1713         * Scripts/run-launcher:
1714         * Scripts/run-webkit-tests:
1715         * Scripts/webkitdirs.pm:
1716
1717 2008-12-03  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
1718
1719         Reviewed by Cameron Zwarich.
1720
1721         Further preparations for WML layout tests.
1722         Ignore WMLTestCase.js, that's going to be in trunk soon.
1723
1724         * Scripts/make-js-test-wrappers:
1725
1726 2008-12-03  Eric Seidel  <eric@webkit.org>
1727
1728         Build fix for --gtk and --chromium, no review.
1729
1730         Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc.
1731         through to build-jsc.
1732
1733         * Scripts/build-jsc:
1734         * Scripts/webkitdirs.pm:
1735
1736 2008-12-03  Eric Seidel  <eric@webkit.org>
1737
1738         Build fix only, no review.
1739
1740         Remove support for build-webkit --svg-experimental.
1741         All of the "experimental" svg features have their own toggles anyway.
1742         I broke --svg-experimental in my last commit (which then broke clean builds)
1743         I can't find any use of --svg-experimental in our source tree, so removing it.
1744
1745         * Scripts/build-webkit:
1746
1747 2008-12-02  Eric Seidel  <eric@webkit.org>
1748
1749         Reviewed by David Hyatt (and Mark Rowe).
1750
1751         Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc
1752         Move --coverage support out of run-javascriptcore-tests and into build-jsc
1753
1754         Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support
1755         there from build-webkit (to allow future sharing with other build-* scripts)
1756
1757         Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of
1758         picking through ARGV with a blacklist of what arguments weren't jsDriver args
1759         this makes run-javascriptcore-tests transparently support all arguments which
1760         webkitdirs.pm gives it support for.
1761
1762         Make run-javascriptcore-tests actually print what commands it's running before running them.
1763
1764         Add --help support to build-jsc and run-javascriptcore-tests!
1765
1766         Make code to support --svg-experimental defaults take up half as many lines.
1767
1768         * Scripts/build-jsc:
1769         * Scripts/build-webkit:
1770         * Scripts/run-javascriptcore-tests:
1771         * Scripts/webkitdirs.pm:
1772
1773 2008-12-03  Adam Roben  <aroben@apple.com>
1774
1775         Fix a leak in WinLauncher shutdown
1776
1777         Reviewed by Sam Weinig.
1778
1779         * WinLauncher/WinLauncher.cpp:
1780         (_tWinMain): Replaced a delete with a Release. We can't delete the
1781         WebView properly since we only have a pointer to one of its
1782         interfaces. We also shouldn't be deleting COM objects directly anyway,
1783         for a number of reasons.
1784
1785 2008-12-03  Adam Roben  <aroben@apple.com>
1786
1787         Fix a crash on exit in WinLauncher
1788
1789         Reviewed by Sam Weinig.
1790
1791         * WinLauncher/WinLauncher.cpp:
1792         (_tWinMain): Call shutDownWebKit before exiting.
1793
1794 2008-12-03  Adam Roben  <aroben@apple.com>
1795
1796         Add a Debug_Internal configuration to WinLauncher
1797
1798         This matches our other projects.
1799
1800         Reviewed by Sam Weinig.
1801
1802         * WinLauncher/WinLauncher.vcproj: Added a Debug_Internal
1803         configuration, which is identical to Debug except that it also
1804         references debug_internal.vsprops. Also removed some settings that we
1805         should be picking up from the .vsprops files.
1806
1807 2008-12-02  Eric Seidel  <eric@webkit.org>
1808
1809         Reviewed by David Kilzer.
1810
1811         Hack build-webkit --chromium to use Win32 python instead
1812         of using the default cygwin python.  Scons + CYGWIN tries
1813         to build with GCC by default, we force MSVC in our file
1814         but that just results in errors from Scons.  Until we can fix
1815         this latest round of errors, at least make build-webkit --chromium
1816         actually "work" under CYGWIN instead of forcing users to use
1817         a cmd shell directly.
1818
1819         This is working around a Scons bug:
1820         http://scons.tigris.org/issues/show_bug.cgi?id=2266
1821
1822         * Scripts/webkitdirs.pm:
1823
1824 2008-12-01  David Kilzer  <ddkilzer@apple.com>
1825
1826         Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
1827
1828         <https://bugs.webkit.org/show_bug.cgi?id=22466>
1829         <rdar://problem/6403593>
1830
1831         Reviewed by Brady Eidson.
1832
1833         * DumpRenderTree/mac/DumpRenderTree.mm:
1834         (normalizeHTTPResponseHeaderFields): Added.  Normalizes Date, Etag,
1835         Keep-Alive, Last-Modified and Server header fields to prevent false
1836         positive test failures.
1837         (convertWebResourceResponseToDictionary): Call
1838         normalizeHTTPResponseHeaderFields() to noramlize HTTP response
1839         header fields.
1840
1841 2008-12-01  David D. Kilzer  <ddkilzer@webkit.org>
1842
1843         Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
1844
1845         <https://bugs.webkit.org/show_bug.cgi?id=22559>
1846
1847         Reviewed by Adam Roben.
1848
1849         * Scripts/bisect-builds: Updated status message to report the
1850         maximum number of builds left to test after the current one.
1851         (max): Added.
1852
1853 2008-11-27  Alp Toker  <alp@nuanti.com>
1854
1855         Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
1856         API header breakage at build time.
1857
1858         * GNUmakefile.am:
1859
1860 2008-11-26  Eric Seidel  <eric@webkit.org>
1861
1862         Reviewed by Nikolas Zimmermann and Mark Rowe.
1863
1864         Add support for build-webkit --chromium
1865         https://bugs.webkit.org/show_bug.cgi?id=22515
1866         More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
1867
1868         * Scripts/build-dumprendertree:
1869         * Scripts/build-jsc:
1870         * Scripts/build-webkit:
1871         * Scripts/gdb-safari:
1872         * Scripts/run-webkit-tests:
1873         * Scripts/webkitdirs.pm:
1874
1875 2008-11-26  Eric Seidel  <eric@webkit.org>
1876
1877         Reviewed by Nikolas Zimmermann.
1878
1879         Add support for build-webkit --chromium (tested on mac)
1880         https://bugs.webkit.org/show_bug.cgi?id=22515
1881         Also simplified some code using checkArgv
1882
1883         * Scripts/build-webkit:
1884         * Scripts/webkitdirs.pm:
1885
1886 2008-11-26  Eric Seidel  <eric@webkit.org>
1887
1888         Reviewed by Nikolas Zimmermann.
1889
1890         More pre-work for adding a build-webkit --chromium which works on Mac and Windows
1891         https://bugs.webkit.org/show_bug.cgi?id=22515
1892         Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
1893         in preparation for having a chromium cygwin and chromium mac build
1894
1895         * Scripts/build-webkit:
1896         * Scripts/webkitdirs.pm:
1897
1898 2008-11-26  Eric Seidel  <eric@webkit.org>
1899
1900         Reviewed by Nikolas Zimmermann.
1901
1902         Pre-work for getting build-webkit --chromium to work
1903         https://bugs.webkit.org/show_bug.cgi?id=22515
1904         Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
1905
1906         * Scripts/build-dumprendertree:
1907         * Scripts/build-jsc:
1908         * Scripts/build-webkit:
1909         * Scripts/gdb-safari:
1910         * Scripts/run-javascriptcore-tests:
1911         * Scripts/run-webkit-tests:
1912         * Scripts/webkitdirs.pm:
1913
1914 2008-11-26  David Kilzer  <ddkilzer@apple.com>
1915
1916         Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
1917
1918         <https://bugs.webkit.org/show_bug.cgi?id=22488>
1919
1920         Reviewed by Brady Eidson.
1921
1922         * DumpRenderTree/mac/DumpRenderTree.mm:
1923         (convertWebResourceDataToString): If an IANA charset encoding string
1924         is provided, convert it to a CFStringEncoding value and then to an
1925         NSStringEncoding value, else fall back to NSUTF8StringEncoding.  We
1926         also nil-check dataAsString, so the worst-case scenario is that the
1927         data won't be decoded to a string (versus crashing DumpRenderTree).
1928
1929 2008-11-26  Jan Michael Alonzo  <jmalonzo@webkit.org>
1930
1931         Reviewed by Holger Freyther.
1932
1933         [Gtk] add/remove tests from Skipped and fix netscape plugin test
1934         https://bugs.webkit.org/show_bug.cgi?id=22484
1935
1936         Remove print'ing to stderr
1937
1938         * DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
1939         (NP_Initialize):
1940         (NP_Shutdown):
1941
1942 2008-11-25  Steve Falkenburg  <sfalken@apple.com>
1943
1944         Windows build fix.
1945
1946         * DumpRenderTree/cg/PixelDumpSupportCG.h:
1947
1948 2008-11-25  Steve Falkenburg  <sfalken@apple.com>
1949
1950         Windows build fix.
1951
1952         * DumpRenderTree/cg/ImageDiffCG.cpp:
1953
1954 2008-11-24  Darin Fisher  <darin@chromium.org>
1955
1956         Fix bustage.
1957
1958         https://bugs.webkit.org/show_bug.cgi?id=15643
1959
1960         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1961         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1962
1963 2008-11-24  Glenn Wilson  <gwilson@chromium.org>
1964
1965         Reviewed by Alexey Proskuryakov.
1966
1967         http://bugs.webkit.org/show_bug.cgi?id=15643
1968
1969         Added support for changing the "trailing whitespace" work-around
1970         in LayoutTestController (so layout tests can verify this functionality)
1971
1972         * DumpRenderTree/LayoutTestController.cpp:
1973         (setSelectTrailingWhitespaceEnabledCallback):
1974         (LayoutTestController::staticFunctions):
1975         * DumpRenderTree/LayoutTestController.h:
1976         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1977         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1978         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1979         (LayoutTestController::setSelectTrailingWhitespaceEnabled):
1980
1981 2008-11-24  Simon Fraser  <simon.fraser@apple.com>
1982
1983         Reviewed by Darin Adler
1984
1985         https://bugs.webkit.org/show_bug.cgi?id=22433
1986
1987         Add script that attempts to detect virtual methods
1988         whose signatures differ only by constness (which can
1989         indicate a programming error).
1990
1991         * Scripts/detect-mismatched-virtual-const: Added.
1992
1993 2008-11-24  Zan Dobersek  <zandobersek@gmail.com>
1994
1995         Reviewed by Holger Freyther.
1996
1997         https://bugs.webkit.org/show_bug.cgi?id=22039
1998
1999         [Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
2000         build.
2001
2002         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2003         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2004         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2005         (setDefaultsToConsistentStateValuesForTesting):
2006         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
2007         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
2008         * DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
2009         * GNUmakefile.am:
2010
2011 2008-11-24  Holger Hans Peter Freyther  <zecke@selfish.org>
2012
2013         Reviewed by Mark Rowe.
2014
2015         [Gtk+] Add configure option to enable Web Workers and enable it by default
2016
2017         Add --enable-workers to the buildsystem (used by build-webkit) add
2018         the to be build files to the GNUmakefile.am and change build-webkit
2019         to enable Web Workers by default.
2020
2021         * Scripts/build-webkit:
2022
2023 2008-11-24  Mark Rowe  <mrowe@apple.com>
2024
2025         Reviewed by Alexey Proskuryakov.
2026
2027         Let gdb-safari accept the --debug and --release options once more.
2028
2029         * Scripts/gdb-safari:
2030
2031 2008-11-23  Zan Dobersek  <zandobersek@gmail.com>
2032
2033         Reviewed by Holger Freyther. Landed by Jan Alonzo.
2034
2035         Get SVG tests tested on GTK port.
2036
2037         * Scripts/webkitdirs.pm:
2038
2039 2008-11-19  Greg Bolsinga  <bolsinga@apple.com>
2040
2041         Reviewed by Darin Adler.
2042
2043         https://bugs.webkit.org/show_bug.cgi?id=21810
2044         Remove use of static C++ objects that are destroyed at exit time (destructors)
2045
2046         All static C++ objects that create atexit calls are gone. Update script
2047         to indicate how to fix the problem should a new one appear.
2048
2049         * Scripts/check-for-exit-time-destructors:
2050
2051 2008-11-18  Alexey Proskuryakov  <ap@webkit.org>
2052
2053         Reviewed by Darin Adler.
2054
2055         https://bugs.webkit.org/show_bug.cgi?id=22337
2056         Enable workers by default
2057
2058         * Scripts/build-webkit: Changed the default to enabled.
2059
2060 2008-11-18  Alexey Proskuryakov  <ap@webkit.org>
2061
2062         Rubber-stamped by Darin Adler.
2063
2064         https://bugs.webkit.org/show_bug.cgi?id=22306
2065         Disable channel messaging support
2066
2067         * Scripts/build-webkit: Add an option to enable channel messaging.
2068
2069 2008-11-17  Nikolas Zimmermann  <nikolas.zimmermann@torchmobile.com>
2070
2071         Reviewed by George Staikos.
2072
2073         Add --(no-)wml build flags.
2074
2075         * Scripts/build-webkit:
2076         * Scripts/run-webkit-tests:
2077         * Scripts/webkitdirs.pm:
2078
2079 2008-11-17  Geoffrey Garen  <ggaren@apple.com>
2080
2081         Not reviewed.
2082
2083         Try to fix gtk build.
2084
2085         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2086         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2087         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2088
2089 2008-11-17  Pierre-Olivier Latour  <pol@apple.com>
2090
2091         Reviewed by Maciej.
2092
2093         Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
2094         on Tiger.
2095
2096         https://bugs.webkit.org/show_bug.cgi?id=22271
2097
2098         * Scripts/run-webkit-tests:
2099
2100 2008-11-17  Pierre-Olivier Latour  <pol@apple.com>
2101
2102         Reviewed by Sam Weinig.
2103
2104         Added new JavaScript API on LayoutController to pause a running
2105         CSS transition or animation at a given time.
2106
2107         https://bugs.webkit.org/show_bug.cgi?id=21261
2108
2109         * DumpRenderTree/LayoutTestController.cpp:
2110         (pauseAnimationAtTimeOnElementWithIdCallback):
2111         (pauseTransitionAtTimeOnElementWithIdCallback):
2112         (LayoutTestController::staticFunctions):
2113         * DumpRenderTree/LayoutTestController.h:
2114         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2115         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2116         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2117         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2118         (LayoutTestController::pauseAnimationAtTimeOnElementWithId):
2119         (LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2120
2121 2008-11-17  Gabor Loki  <loki@inf.u-szeged.hu>
2122
2123         Reviewed by Darin Adler.
2124
2125         <https://bugs.webkit.org/show_bug.cgi?id=22309>
2126         Pass the remaining options to build system on Qt-port
2127
2128         * Scripts/build-webkit:
2129         * Scripts/webkitdirs.pm:
2130
2131 2008-11-16  Greg Bolsinga  <bolsinga@apple.com>
2132
2133         Reviewed by Darin Adler.
2134
2135         https://bugs.webkit.org/show_bug.cgi?id=21810
2136         Remove use of static C++ objects that are destroyed at exit time (destructors)
2137
2138         Remove .o files from the exclude list that have had their exit-time destructors removed.
2139         Handle case when there is no current symbol.
2140
2141         * Scripts/check-for-exit-time-destructors:
2142
2143 2008-11-16  Sam Weinig  <sam@webkit.org>
2144
2145         * Scripts/do-webcore-rename: Remove now fixed renames.
2146
2147 2008-11-16  Darin Adler  <darin@apple.com>
2148
2149         * Scripts/do-webcore-rename: Plan some future renames.
2150
2151 2008-11-15  Darin Adler  <darin@apple.com>
2152
2153         Rubber stamped by Geoff Garen.
2154
2155         - do the long-planned StructureID -> Structure rename
2156
2157         * Scripts/check-for-global-initializers: Update name of StructureID.o.
2158         * Scripts/do-webcore-rename: Renaming script that I used.
2159
2160 2008-11-15  Greg Bolsinga  <bolsinga@apple.com>
2161
2162         Reviewed by Darin Adler.
2163
2164         https://bugs.webkit.org/show_bug.cgi?id=21810
2165         Remove use of static C++ objects that are destroyed at exit time (destructors)
2166
2167         Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
2168         exit-time destructor. Update code that was changed to fix this issue that ran
2169         into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
2170         in gcc build 5465). Also typdefs for template types needed to be added in some
2171         cases so the type could make it through the macro successfully.
2172
2173         Basically code of the form:
2174         static T m;
2175         becomes:
2176         DEFINE_STATIC_LOCAL(T, m, ());
2177
2178         Also any code of the form:
2179         static T& m = *new T;
2180         also becomes:
2181         DEFINE_STATIC_LOCAL(T, m, ());
2182
2183         Remove .o files from the exclude list that have had their exit-time destructors removed.
2184
2185         * Scripts/check-for-exit-time-destructors:
2186
2187 2008-11-14  Kevin Ollivier  <kevino@theolliviers.com>
2188
2189         wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
2190
2191         * wx/install-unix-extras:
2192
2193 2008-11-14  Alp Toker  <alp@nuanti.com>
2194
2195         GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
2196
2197         Fixes Debian bug #505723
2198         http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
2199
2200         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2201
2202 2008-11-14  Krishna <krishnamurty.podipireddy@nokia.com>
2203
2204         Reviewed by Simon Hausmann.
2205
2206         Fix hanging DRT with Qt.
2207
2208         https://bugs.webkit.org/show_bug.cgi?id=22209
2209
2210         * DumpRenderTree/qt/DumpRenderTree.cpp:
2211         (WebCore::DumpRenderTree::dump):
2212         Send empty pixel test data 'block', which is now
2213         expected by run-layout-tests.
2214
2215 2008-11-12  Dmitry Titov  <dimich@chromium.org>
2216
2217         Reviewed by Alexey Proskuryakov.
2218
2219         https://bugs.webkit.org/show_bug.cgi?id=22216
2220
2221         * Scripts/build-webkit:
2222         Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
2223
2224 2008-11-06  David Kilzer  <ddkilzer@apple.com>
2225
2226         BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
2227
2228         Apparently older versions of gcc have issues with this patch.
2229         Backing out a second time until the issues are resolved.
2230
2231 2008-11-06  David Kilzer  <ddkilzer@apple.com>
2232
2233         BUILD WAS NOT BROKEN: Rolling r38189 back in.
2234
2235         Please perform a clean build if you see crashes.
2236
2237 2008-11-06  David Kilzer  <ddkilzer@apple.com>
2238
2239         BUILD FIX: Backed out r38189 since it apparently broke the world.
2240
2241 2008-11-06  Chris Fleizach  <cfleizach@apple.com>
2242
2243         Reviewed by Beth Dakin.
2244
2245         Add ability to query an attribute's settable status and the
2246         ability to retrieve a single attribute from an AXObject
2247
2248         * DumpRenderTree/AccessibilityUIElement.cpp:
2249         (isAttributeSettableCallback):
2250         (attributeValueCallback):
2251         (AccessibilityUIElement::getJSClass):
2252         * DumpRenderTree/AccessibilityUIElement.h:
2253         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2254         (+[NSString stringWithJSStringRef:]):
2255         (AccessibilityUIElement::attributeValue):
2256         (AccessibilityUIElement::isAttributeSettable):
2257         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2258         (AccessibilityUIElement::attributeValue):
2259         (AccessibilityUIElement::isAttributeSettable):
2260
2261 2008-11-06  Greg Bolsinga  <bolsinga@apple.com>
2262
2263         Reviewed by Darin Adler.
2264
2265         Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
2266         https://bugs.webkit.org/show_bug.cgi?id=21810
2267
2268         Remove .o files from the exclude list that have had their exit-time destructors removed.
2269
2270         * Scripts/check-for-exit-time-destructors:
2271
2272 2008-11-05  Alp Toker  <alp@nuanti.com>
2273
2274         GTK build script tweak.
2275
2276         Make the path relative since it will appear in all -I compiler flags.
2277         Long argument lists cause bizarre slowdowns in libtool and result
2278         in huge build logs.
2279
2280         * Scripts/webkitdirs.pm:
2281
2282 2008-11-05  Anders Carlsson  <andersca@apple.com>
2283
2284         Fix 64-bit build.
2285
2286         * DumpRenderTree/mac/DumpRenderTree.mm:
2287         (setDefaultsToConsistentValuesForTesting):
2288
2289 2008-11-04  Simon Fraser  <simon.fraser@apple.com>
2290
2291         Add AccessibilityObject.o to the exclude list for the
2292         check for global destructors.
2293
2294         * Scripts/check-for-exit-time-destructors:
2295
2296 2008-11-04  Darin Adler  <darin@apple.com>
2297
2298         * Scripts/check-for-exit-time-destructors: Fix failures seen on the
2299         bot, but for some reason not on my computer.
2300
2301 2008-11-03  Darin Adler  <darin@apple.com>
2302
2303         Reviewed by Tim Hatcher.
2304
2305         - https://bugs.webkit.org/show_bug.cgi?id=22061
2306           create script to check for exit-time destructors
2307
2308         * Scripts/check-for-exit-time-destructors: Added.
2309         Started as a copy of check-for-global-initializers.
2310
2311         * Scripts/check-for-global-initializers: Added code to make
2312         this script rerun any time it's modified, and also to properly
2313         run again after the first time it reports an error.
2314
2315 2008-11-03  Pierre-Olivier Latour  <pol@apple.com>
2316
2317         Reviewed by Dan Bernstein.
2318
2319         Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
2320
2321         https://bugs.webkit.org/show_bug.cgi?id=22054
2322
2323         * DumpRenderTree/mac/DumpRenderTree.mm:
2324         (setDefaultsToConsistentValuesForTesting):
2325
2326 2008-10-31  Cameron Zwarich  <zwarich@apple.com>
2327
2328         Not reviewed.
2329
2330         * Scripts/do-webcore-rename:
2331
2332         Add some renames to contemplate for the future.
2333
2334 2008-10-31  Darin Adler  <darin@apple.com>
2335
2336         Requested by Mark Rowe.
2337
2338         * Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
2339
2340 2008-10-31  David Kilzer  <ddkilzer@apple.com>
2341
2342         Bug 21997: prepare-ChangeLog should filter out ChangeLog files
2343
2344         <https://bugs.webkit.org/show_bug.cgi?id=21997>
2345
2346         Reviewed by Darin Adler.
2347
2348         * Scripts/prepare-ChangeLog:
2349         (generateFileList): Don't add ChangeLog files to %{$functionLists}.
2350         This prevents them from showing up in the new ChangeLog entry.  They
2351         were already excluded from @{$changedFiles}.
2352
2353 2008-10-30  Mark Rowe  <mrowe@apple.com>
2354
2355         Reviewed by Jon Homeycutt.
2356
2357         Explicitly default to building for only the native architecture in debug and release builds.
2358
2359         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2360
2361 2008-10-30  Pierre-Olivier Latour  <pol@apple.com>
2362
2363         Reviewed by Dan Bernstein.
2364
2365         Fixed 64 bit build failure.
2366
2367         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2368         (setupMainDisplayColorProfile):
2369         (createBitmapContextFromWebView):
2370
2371 2008-10-28  Alp Toker  <alp@nuanti.com>
2372
2373         Fix GTK DRT following build breakage in r37928.
2374
2375         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2376         (dump):
2377         (runTest):
2378         (main):
2379
2380 2008-10-28  Alp Toker  <alp@nuanti.com>
2381
2382         Reviewed by Mark Rowe.
2383
2384         Fix recently introduced double-free crashes in GTK DRT.
2385
2386         LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
2387         were updated to call ->deref() but GTK DRT was still deleting
2388         gLayoutTestController manually. This patch updates GTK to match the
2389         other ports and resolves the memory allocation issues.
2390
2391         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2392         (runTest):
2393
2394 2008-10-28  Alp Toker  <alp@nuanti.com>
2395
2396         Reviewed by Mark Rowe.
2397
2398         Fix GTK DRT hang when running the tests.
2399
2400         Update output from the DRT tool to print an additional '#EOF' to match
2401         breaking changes that were made in r37434.
2402
2403         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2404         (dump):
2405
2406 2008-10-28  Adele Peterson  <adele@apple.com>
2407
2408         Reviewed by Sam Weinig.
2409
2410         Specify which Localizable.strings to update since we don't always want to update the file in the same
2411         directory where we're searching for the strings to localize.
2412
2413         * Scripts/extract-localizable-strings:
2414         * Scripts/update-webkit-localizable-strings:
2415
2416 2008-10-28  Timothy Hatcher  <timothy@apple.com>
2417
2418         Add support for enabling the profiler, so the profiling tests can continue
2419         work now that the profiler is not always enabled.
2420
2421         https://bugs.webkit.org/show_bug.cgi?id=21927
2422
2423         <rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
2424         not slow down JavaScript all the time
2425
2426         Reviewed by Darin Adler and Kevin McCullough.
2427
2428         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
2429         * DumpRenderTree/LayoutTestController.cpp:
2430         (setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
2431         (LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
2432         * DumpRenderTree/LayoutTestController.h:
2433         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2434         (LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
2435         * DumpRenderTree/mac/DumpRenderTree.mm:
2436         (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
2437         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2438         (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
2439         * DumpRenderTree/win/DumpRenderTree.cpp:
2440         (resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
2441         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2442         (LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
2443
2444 2008-10-28  Pierre-Olivier Latour  <pol@apple.com>
2445
2446         Reviewed by Dan Bernstein
2447
2448         Primary changes in DumpRenderTree:
2449         - Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
2450         is different from regular font CG anti-aliasing) as font-smoothing settings
2451         depends on the display and can also be changed by the user
2452         - Use a new cleared buffer for each test instead of the reusing same one to
2453         avoid potential result corruption across tests
2454         - Can now receive the expected pixel hash as a suffix to the test path or
2455         url as "path'hash"
2456         - Make sure hash is computed in a endian-independent way
2457         - Improve the code that sets/restores the screen color profile
2458         - Make the code more cross-platformy with std::string goodness
2459         - Added an "on-screen" mode where the snapshot will take into account surfaces
2460         on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
2461         reading from the display framebuffer on 10.4. This mode is not active by
2462         default for performance reason, but must be explicitly activated from the test
2463         file using the new "testOnscreen()" JS API.
2464
2465         Primary changes in ImageDiff:
2466         - Provide a new comparison algorithm that is more tolerant to "acceptable"
2467         failures (i.e. very small differences in font rendering, which --threshold is
2468         not really good at handling)
2469         - Generate normalized intensity-only diff images
2470
2471         Primary changes in run-webkit-tests:
2472         - Take advantage of hashes for pixel tests which makes them much faster by
2473         minimizing image comparisons
2474         - Removed repaint options as these should be set from within test files using
2475         JS API
2476         - Replaced "threshold" option in  by "tolerance" expressed in percents
2477         - Added more logging when in "verbose" mode
2478
2479         https://bugs.webkit.org/show_bug.cgi?id=21322
2480         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2481         * DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
2482         * DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
2483         * DumpRenderTree/LayoutTestController.cpp:
2484         (LayoutTestController::LayoutTestController):
2485         (testOnscreenCallback):
2486         (LayoutTestController::staticFunctions):
2487         * DumpRenderTree/LayoutTestController.h:
2488         (LayoutTestController::testOnscreen):
2489         (LayoutTestController::setTestOnscreen):
2490         (LayoutTestController::testPathOrURL):
2491         (LayoutTestController::expectedPixelHash):
2492         * DumpRenderTree/PixelDumpSupport.h:
2493         * DumpRenderTree/cg/ImageDiffCG.cpp:
2494         (strtof):
2495         (releaseMallocBuffer):
2496         (createDifferenceImage):
2497         (imageHasAlpha):
2498         (main):
2499         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2500         (computeMD5HashStringForBitmapContext):
2501         (dumpWebViewAsPixelsAndCompareWithExpected):
2502         * DumpRenderTree/cg/PixelDumpSupportCG.h:
2503         (BitmapContext::createByAdoptingBitmapAndContext):
2504         (BitmapContext::~BitmapContext):
2505         (BitmapContext::cgContext):
2506         (BitmapContext::BitmapContext):
2507         * DumpRenderTree/mac/DumpRenderTree.mm:
2508         (shouldIgnoreWebCoreNodeLeaks):
2509         (setDefaultsToConsistentValuesForTesting):
2510         (crashHandler):
2511         (initializeGlobalsFromCommandLineOptions):
2512         (prepareConsistentTestingEnvironment):
2513         (dumpRenderTree):
2514         (sizeWebViewForCurrentTest):
2515         (dump):
2516         (runTest):
2517         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
2518         (restoreMainDisplayColorProfile):
2519         (setupMainDisplayColorProfile):
2520         (createBitmapContextFromWebView):
2521         * DumpRenderTree/win/DumpRenderTree.cpp:
2522         (dump):
2523         (runTest):
2524         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2525         (getBitmapContextFromWebView):
2526         * Scripts/run-webkit-tests:
2527
2528 2008-10-27  Kevin Ollivier  <kevino@theolliviers.com>
2529
2530         wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
2531
2532         * wx/build-wxwebkit:
2533
2534 2008-10-24  Anders Carlsson  <andersca@apple.com>
2535
2536         Try fixing the 64-bit build.
2537
2538         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2539         (testGetProperty):
2540
2541 2008-10-24  Anders Carlsson  <andersca@apple.com>
2542
2543         Reviewed by Sam Weinig.
2544
2545         <rdar://problem/5440917> Support NPN_Construct
2546
2547         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2548         (testCallback):
2549         Fix a memory leak.
2550
2551         (testConstruct):
2552         New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
2553
2554         (pluginInvoke):
2555         Handle testConstruct.
2556
2557         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
2558         (testGetProperty):
2559         Add objectPointer property.
2560
2561         (testEnumerate):
2562         Only enumerate the two first properties.
2563
2564         (testConstruct):
2565         Add a simple construct implementation that just returns the test object.
2566
2567 2008-10-24  David Kilzer  <ddkilzer@apple.com>
2568
2569         Bug 21850: svn-apply and svn-unapply should preserve patch line endings
2570
2571         <https://bugs.webkit.org/show_bug.cgi?id=21850>
2572
2573         Reviewed by Adam Roben.
2574
2575         * Scripts/svn-apply: Save end-of-line characters when stripping them
2576         off each line of a patch so that they may be restored after
2577         processing the line.
2578         * Scripts/svn-unapply: Ditto.
2579
2580 2008-10-23  David Kilzer  <ddkilzer@apple.com>
2581
2582         Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
2583
2584         <https://bugs.webkit.org/show_bug.cgi?id=21832>
2585
2586         Reviewed by Sam Weinig.
2587
2588         * Scripts/bisect-builds: Use imported tempfile() from File::Temp
2589         instead of 'new File::Temp' to make the script work with Perl 5.10.
2590         * Scripts/sort-Xcode-project-file: Ditto.
2591
2592 2008-10-22  Brady Eidson  <beidson@apple.com>
2593
2594         Reviewed by Adam Roben
2595
2596         <rdar://6261773> - autocomplete="off" doesn't work on Windows
2597
2598         Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
2599
2600         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2601
2602 2008-10-22  Darin Adler  <darin@apple.com>
2603
2604         * Scripts/do-webcore-rename: More renaming plans.
2605
2606 2008-10-21  Steve Falkenburg  <sfalken@apple.com>
2607
2608         Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
2609
2610         * Scripts/extract-localizable-strings:
2611
2612 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
2613
2614         Reviewed by Mark Rowe.
2615
2616         - default to 1000 tests per dump tool instance again, now that CTI no longer causes
2617         excess different stack logs.
2618
2619         (Also fix a small bug in my last change.)
2620
2621         * Scripts/run-webkit-tests:
2622
2623 2008-10-17  Stephanie Lewis  <slewis@apple.com>
2624
2625         Reviewed by Mark Rowe.
2626
2627         Fix layout tests that use prologues and epilogues.
2628
2629         * Scripts/run-webkit-tests:
2630
2631 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
2632
2633         Reviewed by Mark Rowe.
2634
2635         - make sure MallocStackLogging is only on for tools we want to
2636         leak check, not other random stuff as well.
2637
2638         * Scripts/run-webkit-tests:
2639
2640 2008-10-17  Maciej Stachowiak  <mjs@apple.com>
2641
2642         Reviewed by Stephanie Lewis.
2643
2644         - make run-webkit-tests --leaks default to 100 tests per run instead of 1000
2645
2646         This should reduce or eliminate crashes on the buildbot due to
2647         running out of memory while stack logging.
2648
2649         * Scripts/run-webkit-tests:
2650
2651 2008-10-16  Jan Michael Alonzo  <jmalonzo@webkit.org>
2652
2653         Gtk build fix. Not reviewed.
2654
2655         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2656         (LayoutTestController::setSmartInsertDeleteEnabled):
2657
2658 2008-10-15  Glenn Wilson  <gwilson@google.com>
2659
2660         Added new method to allow tests to disable smart editing in the course of a test.
2661         This is a possible solution to bug .20655
2662
2663         Reviewed by Tim Hatcher.
2664
2665         * DumpRenderTree/LayoutTestController.cpp:
2666         (setSmartInsertDeleteEnabledCallback): new method
2667         (LayoutTestController::staticFunctions): added new method to static list of callbacks
2668         * DumpRenderTree/LayoutTestController.h: added signature of new method
2669         * DumpRenderTree/mac/DumpRenderTree.mm:
2670         (resetWebViewToConsistentStateBeforeTesting): added state resetting
2671         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2672         (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2673         * DumpRenderTree/win/DumpRenderTree.cpp:
2674         (resetWebViewToConsistentStateBeforeTesting): added state resetting
2675         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2676         (LayoutTestController::setSmartInsertDeleteEnabled): added new method
2677
2678 2008-10-14  Ada Chan  <adachan@apple.com>
2679
2680         Fix windows build.
2681
2682         Reviewed by Sam Weinig.
2683
2684         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2685         * DumpRenderTree/config.h:
2686         * DumpRenderTree/win/DumpRenderTreeWin.h:
2687         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2688         * DumpRenderTree/win/UIDelegate.cpp:
2689
2690 2008-10-13  Timothy Hatcher  <timothy@apple.com>
2691
2692         Make prepare-ChangeLog populate the changed functions for JavaScript files.
2693
2694         https://bugs.webkit.org/show_bug.cgi?id=21567
2695
2696         Reviewed by David Kilzer.
2697
2698         * Scripts/prepare-ChangeLog:
2699         (get_function_line_ranges): Call get_function_line_ranges_for_javascript for
2700         files that end with ".js".
2701         (get_function_line_ranges_for_javascript): Find functions, anonymous functions
2702         and getters/setters.
2703
2704 2008-10-14  Alp Toker  <alp@nuanti.com>
2705
2706         Reviewed by Sam Weinig.
2707
2708         https://bugs.webkit.org/show_bug.cgi?id=16299
2709         Add a config.h file to DRT
2710
2711         Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
2712         an ad-hoc config header.
2713
2714         * DumpRenderTree/AccessibilityController.cpp:
2715         * DumpRenderTree/AccessibilityUIElement.cpp:
2716         * DumpRenderTree/AccessibilityUIElement.h:
2717         * DumpRenderTree/DumpRenderTree.h:
2718         * DumpRenderTree/GCController.cpp:
2719         * DumpRenderTree/LayoutTestController.cpp:
2720         * DumpRenderTree/WorkQueue.cpp:
2721         * DumpRenderTree/config.h: Added.
2722         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2723         * DumpRenderTree/gtk/GCControllerGtk.cpp:
2724         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2725         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2726         * DumpRenderTree/win/AccessibilityControllerWin.cpp:
2727         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2728         * DumpRenderTree/win/DumpRenderTree.cpp:
2729         * DumpRenderTree/win/DumpRenderTreeWin.h:
2730         * DumpRenderTree/win/EditingDelegate.cpp:
2731         * DumpRenderTree/win/EventSender.cpp:
2732         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2733         * DumpRenderTree/win/GCControllerWin.cpp:
2734         * DumpRenderTree/win/MD5.cpp:
2735         * DumpRenderTree/win/PixelDumpSupportWin.cpp:
2736         * DumpRenderTree/win/PolicyDelegate.cpp:
2737         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2738         * DumpRenderTree/win/WorkQueueItemWin.cpp:
2739         * GNUmakefile.am:
2740
2741 2008-10-13  Chris Fleizach  <cfleizach@apple.com>
2742
2743         Reviewed by Beth Dakin.
2744
2745         Added a method to get the links in a webpage
2746
2747         * DumpRenderTree/AccessibilityUIElement.cpp:
2748         (attributesOfDocumentLinksCallback):
2749         (AccessibilityUIElement::getJSClass):
2750         * DumpRenderTree/AccessibilityUIElement.h:
2751         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
2752         (AccessibilityUIElement::getDocumentLinks):
2753         (AccessibilityUIElement::attributesOfDocumentLinks):
2754         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
2755         (AccessibilityUIElement::getDocumentLinks):
2756         (AccessibilityUIElement::attributesOfDocumentLinks):
2757
2758 2008-10-13  David Kilzer  <ddkilzer@apple.com>
2759
2760         Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
2761
2762         <https://bugs.webkit.org/show_bug.cgi?id=21457>
2763
2764         Reviewed by Adam.
2765
2766         * Scripts/resolve-ChangeLogs: Added optional parameter to
2767         -f|--fix-merged switch to run the script on a revision range.
2768         Updated command-line validation checks.
2769         (findChangeLog): Fixed long-standing bug that should have used
2770         $_[0] instead of $_.
2771         (fixMergedChangeLog): Renamed to fixOneMergedChangeLog($).  Updated
2772         to work when called from git filter-branch.  It always restores a
2773         copy of the previous revision before reapplying the patch.
2774         (fixMergedChangeLogs): Added.  Calls itself through git filter-branch
2775         to re-merge ChangeLog files across a revision range.  Removes
2776         .git/refs/original directory on success.
2777         (parseFixMerged): Added.  Custom method to parse the -f|--fix-merged
2778         switch.
2779         (removeChangeLogArguments): Added.  Removes items from @ARGV when
2780         they are ChangeLog paths, and return a list of paths.  This makes it
2781         easier to validate the command-line.
2782         (resolveChangeLog): Added.  Extracted from main code block.  Runs
2783         the traditional single-file merge algorithm.
2784         (usageAndExit): Added.  Extracted from main code block.  Prints
2785         usage statement and exits with error status.
2786
2787 2008-10-12  Darin Adler  <darin@apple.com>
2788
2789         * Scripts/make-js-test-wrappers: Update exceptions list so the script
2790         won't overwrite files and mangle tests.
2791
2792 2008-10-11  Dan Bernstein  <mitz@apple.com>
2793
2794         Reviewed by Sam Weinig and Anders Carlsson.
2795
2796         - update Mac DumpRenderTree to use the new WebView SPI for forcing the
2797           complex text code path
2798         - add --complex-text support to Windows DumpRenderTree
2799
2800         * DumpRenderTree/mac/DumpRenderTree.mm:
2801         (dumpRenderTree):
2802         * DumpRenderTree/win/DumpRenderTree.cpp:
2803         (createWebViewAndOffscreenWindow):
2804         (main):
2805         * Scripts/run-webkit-tests:
2806
2807 2008-10-09  Eric Seidel  <eric@webkit.org>
2808
2809         Reviewed by Oliver Hunt.
2810
2811         https://bugs.webkit.org/show_bug.cgi?id=21498
2812
2813         * Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
2814
2815 2008-10-09  Cameron Zwarich  <zwarich@apple.com>
2816
2817         Not reviewed.
2818
2819         Add StructureID.o to the exclusion list in the global initializers
2820         script to fix the Debug build.
2821
2822         * Scripts/check-for-global-initializers:
2823
2824 2008-10-08  Mark Rowe  <mrowe@apple.com>
2825
2826         Fix the Windows build after r37434.
2827
2828         * DumpRenderTree/win/DumpRenderTree.cpp:
2829         (dump): Update code to approximate valid C++ syntax.
2830
2831 2008-10-08  Timothy Hatcher  <timothy@apple.com>
2832
2833         Add SVGElementInstance to the list of exceptions that have
2834         global initializers in debug builds.
2835
2836         Rubber-stamped by Mark Rowe.
2837
2838         * Scripts/check-for-global-initializers: Add SVGElementInstance.o.
2839
2840 2008-10-08  Simon Fraser  <simon.fraser@apple.com>
2841
2842         Reviewed by Dan Bernstein
2843
2844         Avoid disconnect between DRT and run-webkit-tests
2845         about whether to expect PNG dumps by having DRT always
2846         print two blocks terminated by #EOF, the second of which
2847         may be empty.
2848
2849         https://bugs.webkit.org/show_bug.cgi?id=21483
2850
2851         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
2852         (printPNG):
2853         (dumpWebViewAsPixelsAndCompareWithExpected):
2854         * DumpRenderTree/mac/DumpRenderTree.mm:
2855         (dump):
2856         * DumpRenderTree/win/DumpRenderTree.cpp:
2857         (dump):
2858         * Scripts/run-webkit-tests:
2859
2860 2008-10-07  Adam Roben  <aroben@apple.com>
2861
2862         Make sure short functions get included in ChangeLog output for git
2863         repositories
2864
2865         Reviewed by Dave Kilzer.
2866
2867         * Scripts/prepare-ChangeLog:
2868         (sub diffCommand): Pass -U0 to git diff so that each contiguous change
2869         will get its own chunk without any surrounding context.
2870         (sub extractLineRange): Use the line numbers from the chunk header
2871         without modifying them now that they're accurate.
2872
2873 2008-10-04  Mark Rowe  <mrowe@apple.com>
2874
2875         Reviewed by Tim Hatcher.
2876
2877         Update check-for-weak-vtables to check only the final linked image for weak vtables.
2878         This gives more useful results than checking each object file independently.
2879
2880         * Scripts/check-for-weak-vtables:
2881
2882 2008-10-03  Pierre-Olivier Latour <pol@apple.com>
2883
2884         Reviewed by Darin Adler
2885
2886         Render images to RGBA8 bitmaps independently of platform endianness.
2887
2888         Create image difference bitmap in reference image colorspace instead of device colorspace
2889         (which depends on the main display profile), so that no color matching happens.
2890
2891         https://bugs.webkit.org/show_bug.cgi?id=21336
2892
2893         * DumpRenderTree/cg/ImageDiffCG.cpp:
2894         (createDifferenceBitmap):
2895         (computePercentageDifferent):
2896         (compareImages):
2897
2898 2008-10-02  Simon Fraser  <simon.fraser@apple.com>
2899
2900         Reviewed by Darin Adler
2901
2902         Fix hang when running with --pixel --reset, which occurs
2903         because DRT spews PNG data when the script does not expect it.
2904
2905         https://bugs.webkit.org/show_bug.cgi?id=21323
2906
2907         * Scripts/run-webkit-tests:
2908
2909 2008-09-30  Mark Rowe  <mrowe@apple.com>
2910
2911         Reviewed by Dan Bernstein.
2912
2913         Add a leak counter for CachedResources since we've had two recent leaks involving them.
2914
2915         * Scripts/check-for-global-initializers:
2916
2917 2008-09-30  Mark Rowe  <mrowe@apple.com>
2918
2919         Rubber-stamped by Dan Bernstein.
2920
2921         Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
2922
2923         JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
2924         being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
2925         We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
2926         any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
2927         torn down before we exit.
2928
2929         * DumpRenderTree/mac/DumpRenderTree.mm:
2930         (dumpRenderTree):
2931         (main):
2932
2933 2008-09-30  Simon Fraser  <simon.fraser@apple.com>
2934
2935         Reviewed by Dan Bernstein
2936
2937         Don't run pixel comparison for text-only tests.
2938         https://bugs.webkit.org/show_bug.cgi?id=21124
2939
2940         * DumpRenderTree/mac/DumpRenderTree.mm:
2941         (dump):
2942         * Scripts/run-webkit-tests:
2943
2944 2008-09-29  Thiago Macieira  <thiago.macieira@nokia.com>
2945
2946         Reviewed by Simon.
2947
2948         Changed copyright from Trolltech ASA to Nokia.
2949
2950         Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
2951
2952
2953         * DumpRenderTree/qt/DumpRenderTree.cpp:
2954         * DumpRenderTree/qt/jsobjects.cpp:
2955         * DumpRenderTree/qt/jsobjects.h:
2956         * DumpRenderTree/qt/main.cpp:
2957         * DumpRenderTree/qt/testplugin.cpp:
2958         * DumpRenderTree/qt/testplugin.h:
2959
2960 2008-09-28  David Kilzer  <ddkilzer@apple.com>
2961
2962         Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
2963
2964         <https://bugs.webkit.org/show_bug.cgi?id=21185>
2965
2966         Reviewed by Adam.
2967
2968         * Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
2969         will attempt to reapply the last commit to a ChangeLog file such
2970         that the ChangeLog entry appears at the top of the file.
2971         (findChangeLog): Added prototype and moved method below the exit
2972         statement.
2973         (fixMergedChangeLog): Added.  Method to fix incorrectly merged
2974         ChangeLog entries.
2975
2976 2008-09-27  Anders Carlsson  <andersca@apple.com>
2977
2978         Reviewed by Sam Weinig.
2979
2980         https://bugs.webkit.org/show_bug.cgi?id=21178
2981         <rdar://problem/6248651>
2982
2983         Return the result value from getURL.
2984
2985         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2986         (getURL):
2987
2988 2008-09-26  Matt Lilek  <webkit@mattlilek.com>
2989
2990         Reviewed by Tim Hatcher.
2991
2992         Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
2993
2994         * Scripts/build-webkit:
2995
2996 2008-09-26  Alice Liu  <alice.liu@apple.com>
2997
2998         Remove usage of atlstr.h and CString for VCExpress compatibility
2999
3000         Reviewed by Stephanie Lewis.
3001
3002         * record-memory-win/main.cpp:
3003         (ProcessArgs):
3004         (UseImage):
3005         (QueryContinuously):
3006         (OneQuery):
3007         (OneQueryMP):
3008
3009 2008-09-26  Kevin Ollivier  <kevino@theolliviers.com>
3010
3011         wx build fix. Update the version of libpng.
3012
3013         * wx/install-unix-extras:
3014
3015 2008-09-24  Sam Weinig  <sam@webkit.org>
3016
3017         Reviewed by Darin Adler.
3018
3019         Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
3020         <rdar://problem/6243534>
3021         Crash below Function.apply when using a runtime array as the argument list
3022
3023         Add method to ObjCController to return a runtime array.
3024
3025         * DumpRenderTree/mac/ObjCController.m:
3026         (+[ObjCController isSelectorExcludedFromWebScript:]):
3027         (+[ObjCController webScriptNameForSelector:]):
3028         (-[ObjCController testArray]):
3029
3030 2008-09-24  Beth Dakin  <bdakin@apple.com>
3031
3032         Reviewed by Sam Weinig.
3033
3034         Speculative build fix.
3035
3036         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3037         (AccessibilityUIElement::supportsPressAction):
3038
3039 2008-09-23  Beth Dakin  <bdakin@apple.com>
3040
3041         Reviewed by Sam Weinig.
3042
3043         This patch extends DumpRenderTree's AccessibilityController to ask
3044         if the focused element supports the press action.
3045
3046         * DumpRenderTree/AccessibilityUIElement.cpp:
3047         (getSupportsPressActionCallback):
3048         (AccessibilityUIElement::getJSClass):
3049         * DumpRenderTree/AccessibilityUIElement.h:
3050         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3051         (AccessibilityUIElement::supportsPressAction):
3052
3053 2008-09-22  Alice Liu  <alice.liu@apple.com>
3054
3055         Adding a stand-alone Windows console application to record a process's memory usage
3056
3057         Reviewed by Steve Falkenburg.
3058
3059         * record-memory-win: Added.
3060         * record-memory-win/main.cpp: Added.
3061         * record-memory-win/record-memory-win.vcproj: Added.
3062
3063 2008-09-22  Chris Fleizach  <cfleizach@apple.com>
3064
3065         Reviewed by Darin Adler.
3066
3067         Support ability to get/set selected text ranges for text controls through AX.
3068
3069         * DumpRenderTree/AccessibilityUIElement.cpp:
3070         (setSelectedTextRangeCallback):
3071         (getSelectedTextRangeCallback):
3072         (AccessibilityUIElement::getJSClass):
3073         * DumpRenderTree/AccessibilityUIElement.h:
3074         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3075         (AccessibilityUIElement::attributesOfRowHeaders):
3076         (AccessibilityUIElement::attributesOfVisibleCells):
3077         (AccessibilityUIElement::rowIndexRange):
3078         (AccessibilityUIElement::columnIndexRange):
3079         (AccessibilityUIElement::cellForColumnAndRow):
3080         (AccessibilityUIElement::selectedTextRange):
3081         (AccessibilityUIElement::setSelectedTextRange):
3082         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3083         (AccessibilityUIElement::selectedTextRange):
3084         (AccessibilityUIElement::setSelectedTextRange):
3085
3086 2008-09-20  Darin Adler  <darin@apple.com>
3087
3088         * DumpRenderTree/mac/DumpRenderTree.mm:
3089         (convertMIMEType): Turn on Stephanie's workaround for Tiger too.
3090
3091 2008-09-19  Alp Toker  <alp@nuanti.com>
3092
3093         Build fix for the 'gold' linker and recent binutils. New behaviour
3094         requires that we link to used libraries explicitly.
3095
3096         * GNUmakefile.am:
3097
3098 2008-09-19  Stephanie Lewis  <slewis@apple.com>
3099
3100         Reviewed by Oliver Hunt.
3101
3102         Implement a workaround for an incorrect mime-type on machines with
3103         Dashcode 2.0.1.  Dashcode is overriding the UTI type for .js files.
3104         See radar <rdar://problem/6234318>.
3105
3106         * DumpRenderTree/mac/DumpRenderTree.mm:
3107         (convertMIMEType):
3108
3109 2008-09-19  Chris Fleizach  <cfleizach@apple.com>
3110
3111         Fixed Windows bustage
3112
3113         * DumpRenderTree/win/AccessibilityUIElementWin.cpp:
3114         (AccessibilityUIElement::titleUIElement):
3115
3116 2008-09-18  Chris Fleizach  <cfleizach@apple.com>
3117
3118         Reviewed by Darin Adler.
3119
3120         Expose titleUIElement call for DumpRenderTree
3121
3122         * ChangeLog:
3123         * DumpRenderTree/AccessibilityUIElement.cpp:
3124         (titleUIElementCallback):
3125         (AccessibilityUIElement::getJSClass):
3126         * DumpRenderTree/AccessibilityUIElement.h:
3127         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3128         (AccessibilityUIElement::titleUIElement):
3129
3130 2008-09-18  Darin Adler  <darin@apple.com>
3131
3132         * Scripts/do-webcore-rename: More renaming plans.
3133
3134 2008-09-18  Mark Rowe  <mrowe@apple.com>
3135
3136         Reviewed by Dan Bernstein.
3137
3138         Clear the main frame's name between tests to get more consistent test results
3139         when running the WebKit tests with --nthly.
3140
3141         * DumpRenderTree/mac/DumpRenderTree.mm:
3142         (resetWebViewToConsistentStateBeforeTesting):
3143         * DumpRenderTree/win/DumpRenderTree.cpp:
3144         (resetWebViewToConsistentStateBeforeTesting):
3145
3146 2008-09-18  Stephanie Lewis  <slewis@apple.com>
3147
3148         Really fix tiger jsc tests.
3149
3150         * Scripts/run-javascriptcore-tests:
3151
3152 2008-09-18  Stephanie Lewis  <slewis@apple.com>
3153
3154         Reviewed by Maciej Stachowiak.
3155
3156         Fix jsc tests on Tiger.  Make jsc tests smarter about when to use the arch flag.
3157
3158         * Scripts/run-javascriptcore-tests:
3159         * Scripts/webkitdirs.pm:
3160
3161 2008-09-18  Mark Rowe  <mrowe@apple.com>
3162
3163         Rubber-stamped by Sam Weinig.
3164
3165         Print warning to stdout rather than stderr when a test attempts to access a remote resource.
3166         This should make it more obvious when a test does this, as stderr output tends to be obscured
3167         by noise in the test results.
3168
3169         Also fixes some coding style issues in ResourceLoadDelegate.mm.
3170
3171         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3172         (-[NSError _drt_descriptionSuitableForTestResult]):
3173         (-[NSURL _drt_descriptionSuitableForTestResult]):
3174         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3175         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
3176         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
3177         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
3178         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
3179         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
3180
3181 2008-09-18  Stephanie Lewis  <slewis@apple.com>
3182
3183         Reviewed by Mark Rowe and Maciej Stachowiak..
3184
3185         add a --64-bit option and specify which architecture to run on Mac.
3186
3187         * Scripts/run-javascriptcore-tests:
3188
3189 2008-09-17  Mark Rowe  <mrowe@apple.com>
3190
3191         Reviewed by Sam Weinig.
3192
3193         Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
3194
3195         The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
3196         attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
3197         LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
3198
3199         * DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
3200         * DumpRenderTree/LayoutTestController.cpp:
3201         (LayoutTestController::LayoutTestController):
3202         (notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
3203         (layoutTestControllerObjectFinalize): Deref the wrapped object.
3204         (LayoutTestController::makeWindowObject): Ref the wrapped object.
3205         * DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
3206         * DumpRenderTree/mac/DumpRenderTree.mm:
3207         (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
3208         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
3209         * DumpRenderTree/win/DumpRenderTree.cpp:
3210         (runTest): Deref the LayoutTestController object rather than explicitly deleting it.
3211
3212 2008-09-16  Sam Weinig  <sam@webkit.org>
3213
3214         Reviewed by Mark Rowe.
3215
3216         Add flag to disable running sample on tests that timeout.
3217
3218         * Scripts/run-webkit-tests:
3219
3220 2008-09-16  Adam Roben  <aroben@apple.com>
3221
3222         Windows build fix after r36511
3223
3224         Update for rename of layoutTestController to gLayoutTestController.
3225
3226         * DumpRenderTree/LayoutTestController.cpp:
3227         * DumpRenderTree/win/EditingDelegate.cpp:
3228         * DumpRenderTree/win/FrameLoadDelegate.cpp:
3229         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3230         * DumpRenderTree/win/UIDelegate.cpp:
3231
3232 2008-09-16  Adam Roben  <aroben@apple.com>
3233
3234         Add a script to print out the dependency tree of a Visual Studio
3235         solution file
3236
3237         * Scripts/print-msvc-project-dependencies: Added.
3238
3239 2008-09-16  Mark Rowe  <mrowe@apple.com>
3240
3241         Fix the build.
3242
3243         * DumpRenderTree/LayoutTestController.cpp:
3244         (notifyDoneCallback): Call fprintf in a safer manner.
3245
3246 2008-09-16  Simon Fraser  <simon.fraser@apple.com>
3247
3248         Reviewed by Eric Seidel
3249
3250         Protect against tests that call layoutTestController.notifyDone()
3251         more than once, which would lead to memory corruption, by nulling
3252         out the LayoutTestController on the JSObjectRef on destruction. Also
3253         add a finalize callback on the class so that if the LTC outlives
3254         the JSObjectRef, the JSObjectRef backpointer on the LTC can be
3255         nulled out.
3256
3257         https://bugs.webkit.org/show_bug.cgi?id=20875
3258
3259         * DumpRenderTree/LayoutTestController.cpp:
3260         (LayoutTestController::LayoutTestController):
3261         (notifyDoneCallback):
3262         (layoutTestControllerObjectFinalize):
3263         (LayoutTestController::makeWindowObject):
3264         (LayoutTestController::getJSClass):
3265         * DumpRenderTree/LayoutTestController.h:
3266         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3267         (LayoutTestController::~LayoutTestController):
3268
3269 2008-09-16  Simon Fraser  <simon.fraser@apple.com>
3270
3271         Reviewed by Eric Seidel
3272
3273         Step 1 patch: rename global variable for clarity.
3274         https://bugs.webkit.org/show_bug.cgi?id=20875
3275
3276         * DumpRenderTree/DumpRenderTree.h:
3277         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3278         (dumpWebViewAsPixelsAndCompareWithExpected):
3279         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3280         (dumpFramesAsText):
3281         (dump):
3282         (runTest):
3283         (processWork):
3284         (webViewLoadFinished):
3285         (webViewWindowObjectCleared):
3286         * DumpRenderTree/mac/DumpRenderTree.mm:
3287         (allocateGlobalControllers):
3288         (dumpFrameScrollPosition):
3289         (dumpFramesAsText):
3290         (methodNameStringForFailedTest):
3291         (dump):
3292         (runTest):
3293         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3294         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
3295         * DumpRenderTree/mac/EditingDelegate.mm:
3296         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
3297         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
3298         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
3299         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
3300         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
3301         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
3302         (-[EditingDelegate webViewDidBeginEditing:]):
3303         (-[EditingDelegate webViewDidChange:]):
3304         (-[EditingDelegate webViewDidEndEditing:]):
3305         (-[EditingDelegate webViewDidChangeTypingStyle:]):
3306         * DumpRenderTree/mac/FrameLoadDelegate.mm:
3307         (-[FrameLoadDelegate processWork:]):
3308         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
3309         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
3310         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
3311         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
3312         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
3313         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
3314         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3315         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3316         * DumpRenderTree/mac/UIDelegate.mm:
3317         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
3318         (-[UIDelegate webViewFocus:]):
3319         (-[UIDelegate webViewUnfocus:]):
3320         (-[UIDelegate webView:createWebViewWithRequest:]):
3321         (-[UIDelegate webViewClose:]):
3322         * DumpRenderTree/win/DumpRenderTree.cpp:
3323         (dumpFrameScrollPosition):
3324         (dumpFramesAsText):
3325         (dump):
3326         (runTest):
3327
3328 2008-09-15  Alice Liu  <alice.liu@apple.com>
3329
3330         A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
3331
3332         Reviewed by Stephanie Lewis.
3333
3334         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3335         Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
3336         but not Intel.  Add a check for nil before calling.
3337         (AccessibilityUIElement::rowIndexRange):
3338         (AccessibilityUIElement::columnIndexRange):
3339
3340 2008-09-14  Mark Rowe  <mrowe@apple.com>
3341
3342         Build fix.
3343
3344         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3345         (waitUntilDoneWatchdogFired):
3346         * DumpRenderTree/mac/ObjCPlugin.m:
3347
3348 2008-09-08  Dan Bernstein  <mitz@apple.com>
3349
3350         Reviewed by Mark Rowe.
3351
3352         - add an option to run-webkit-tests to always use the complex text code path
3353
3354         * DumpRenderTree/mac/DumpRenderTree.mm:
3355         (initializeGlobalsFromCommandLineOptions):
3356         (dumpRenderTree):
3357         * Scripts/run-webkit-tests:
3358
3359 2008-09-08  Steve Falkenburg  <sfalken@apple.com>
3360
3361         Another Windows nightly build fix.
3362
3363         Reviewed by Sam Weinig.
3364
3365         * FindSafari/FindSafari.cpp:
3366         (_tmain): Delete existing WebKitNightly directory in temp.
3367         * FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
3368
3369 2008-09-07  Stephanie Lewis  <slewis@apple.com>
3370
3371         Reviewed by Mark Rowe.
3372
3373         Fix DRT build
3374
3375         * DumpRenderTree/DumpRenderTreePrefix.h:
3376         * DumpRenderTree/win/DumpRenderTree.vcproj:
3377
3378 2008-09-06  Steve Falkenburg  <sfalken@apple.com>
3379
3380         Fix Windows nightlies.
3381
3382         Copy WebKit.dll alongside application so registry-free COM can find it.
3383         Update embedded manifest to force use registry-free COM.
3384
3385         Reviewed by Dave Hyatt.
3386
3387         * FindSafari/FindSafari.cpp:
3388         (copyManifest):
3389         (replaceManifest):
3390         (_tmain):
3391         * FindSafari/FindSafari.rc: Added.
3392         * FindSafari/FindSafari.vcproj:
3393         * FindSafari/Safari.exe.manifest: Added.
3394         * FindSafari/resource.h: Added.
3395
3396 === End merge of squirrelfish-extreme ===
3397
3398 2008-08-31  Mark Rowe  <mrowe@apple.com>
3399
3400         Reviewed by Maciej Stachowiak.
3401
3402         Add a --profile flag to run-sunspider.
3403
3404         * Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
3405         to build scripts as indicating that we should use the "Profiling" configuration.  At present
3406         this is only supported by JavaScriptCore, so using this argument to build any other project
3407         will likely result in unexpected behaviour.
3408
3409 2008-08-27  Mark Rowe  <mrowe@apple.com>
3410
3411         Reviewed by Oliver Hunt.
3412
3413         Fix run-webkit-tests to handle DRT exiting early.
3414
3415         * Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
3416
3417 === Start merge of squirrelfish-extreme ===
3418
3419 2008-09-04  Mark Rowe  <mrowe@apple.com>
3420
3421         Reviewed by Eric Seidel.
3422
3423         Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
3424         Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
3425
3426         * Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
3427
3428 2008-09-04  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
3429
3430         Reviewed by Oliver Hunt.
3431
3432         Bug 20616: Incorporate V8 benchmarks in testing
3433         <https://bugs.webkit.org/show_bug.cgi?id=20616>
3434
3435         Add support for the --v8 option to run-sunspider.
3436
3437         * Scripts/run-sunspider:
3438
3439 2008-09-04  Kevin Ollivier  <kevino@theolliviers.com>
3440
3441         wx buildbot fix. More robust handling of clean when makefiles are not built or
3442         are not completely made.
3443
3444         * wx/build-wxwebkit:
3445
3446 2008-09-03  Mark Rowe  <mrowe@apple.com>
3447
3448         More Mac build fixes.
3449
3450         Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
3451         Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
3452         default configuration specified in the .xcconfig files.
3453
3454         * Scripts/build-webkit:
3455
3456 2008-09-03  Mark Rowe  <mrowe@apple.com>
3457
3458         Mac build fix.  Ensure that dashboard support is enabled.
3459
3460         * DumpRenderTree/mac/Configurations/Base.xcconfig:
3461
3462 2008-08-25  Steve Falkenburg  <sfalken@apple.com>
3463
3464         Build fix. Copy correct version of ICU.
3465
3466         * DumpRenderTree/win/DumpRenderTree.vcproj:
3467
3468 2008-08-25  Holger Hans Peter Freyther  <zecke@selfish.org>
3469
3470         Reviewed by Simon.
3471
3472         [run-webkit-tests] Use QtLauncher to show the results of the tests
3473         konqueror might not be installed, xdg-open might not be installed but the
3474         QtLauncher should be present.
3475
3476         * Scripts/run-webkit-tests:
3477
3478 2008-08-24  Jon Honeycutt  <jhoneycutt@apple.com>
3479
3480         Initial support for accessibility layout tests on Windows.
3481         https://bugs.webkit.org/show_bug.cgi?id=20497
3482
3483         Reviewed by Sam Weinig.
3484
3485         * DumpRenderTree/AccessibilityController.h: Fix typos.
3486         * DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
3487         * DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
3488         prevent oleacc.h, which includes windows.h, from including winsock.h.
3489         Fixed typos.
3490         * DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
3491         (AccessibilityController::AccessibilityController):
3492         (AccessibilityController::~AccessibilityController):
3493         (AccessibilityController::focusedElement): Get the root element, and
3494         request its focused object.
3495         (AccessibilityController::rootElement): Query Windows for the
3496         accessible client object for the WebView's window.
3497         * DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
3498         (AccessibilityUIElement::AccessibilityUIElement):
3499         (AccessibilityUIElement::~AccessibilityUIElement):
3500         (AccessibilityUIElement::getLinkedUIElements): Not implemented.
3501         (AccessibilityUIElement::getChildren): Get the child count, and append
3502         each child.
3503         (AccessibilityUIElement::getChildAtIndex): Get the child at the given
3504         index offset by 1. In MSAA, child 0 is the object itself.
3505         (AccessibilityUIElement::allAttributes): Not implemented.
3506         (AccessibilityUIElement::attributesOfLinkedUIElements): Same.
3507         (AccessibilityUIElement::attributesOfChildren): Same.
3508         (AccessibilityUIElement::parameterizedAttributeNames): Same.
3509         (self): Return a VARIANT representing the "self" object. This is used
3510         when calling methods that require a child variant.
3511         (AccessibilityUIElement::role): Get the MSAA role, a long value, and
3512         convert it into a string with GetRoleText().
3513         (AccessibilityUIElement::title): Get the element's title, and convert
3514         it to a JS String.
3515         (AccessibilityUIElement::description): Same, for description.
3516         (AccessibilityUIElement::width):
3517         (AccessibilityUIElement::height):
3518         (AccessibilityUIElement::intValue): Get the object's value as a string,
3519         and convert the string to a double.
3520         (AccessibilityUIElement::minValue): Not implemented.
3521         (AccessibilityUIElement::maxValue): Same.
3522         (AccessibilityUIElement::insertionPointLineNumber): Same.
3523         (AccessibilityUIElement::attributesOfColumnHeaders): Same.
3524         (AccessibilityUIElement::attributesOfRowHeaders): Same.
3525         (AccessibilityUIElement::attributesOfColumns): Same.
3526         (AccessibilityUIElement::attributesOfRows): Same.
3527         (AccessibilityUIElement::attributesOfVisibleCells): Same.
3528         (AccessibilityUIElement::attributesOfHeader): Same.
3529         (AccessibilityUIElement::indexInTable): Same.
3530         (AccessibilityUIElement::rowIndexRange): Same.
3531         (AccessibilityUIElement::columnIndexRange): Same.
3532         (AccessibilityUIElement::lineForIndex): Same.
3533         (AccessibilityUIElement::boundsForRange): Same.
3534         (AccessibilityUIElement::cellForColumnAndRow): Same.
3535         * DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
3536         project.  Link to oleacc.lib, the MSAA library.
3537         * DumpRenderTree/win/FrameLoadDelegate.cpp:
3538         (FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
3539         controller.
3540         (FrameLoadDelegate::didClearWindowObject): Create a new window object
3541         for the accessibility controller.
3542         * DumpRenderTree/win/FrameLoadDelegate.h:
3543
3544 2008-08-21  Simon Fraser  <simon.fraser@apple.com>
3545
3546         Reviewed by Mark Rowe
3547
3548         Make build-launcher-app work when run from a git repository.
3549         https://bugs.webkit.org/show_bug.cgi?id=20478
3550
3551         * BuildSlaveSupport/build-launcher-app:
3552
3553 2008-08-20  Maxime Britto  <britto@apple.com>
3554
3555         Reviewed by Ada Chan.
3556
3557          rdar://5259746
3558         Mouse events are sent to page while resizing window (affects Gmail)
3559
3560         * DumpRenderTree/win/UIDelegate.h:
3561         (UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
3562
3563 2008-08-19  Chris Fleizach  <cfleizach@apple.com>
3564
3565         Reviewed by Beth Dakin.
3566
3567         Add snowleopard platform in layout tests
3568
3569         Added support for accessing the attributes of
3570         accessibility tables through the accessibility controller
3571         in DumpRenderTree
3572
3573         * DumpRenderTree/AccessibilityUIElement.cpp:
3574         (attributesOfColumnHeadersCallback):
3575         (attributesOfRowHeadersCallback):
3576         (attributesOfColumnsCallback):
3577         (attributesOfRowsCallback):
3578         (attributesOfVisibleCellsCallback):
3579         (attributesOfHeaderCallback):
3580         (indexInTableCallback):
3581         (rowIndexRangeCallback):
3582         (columnIndexRangeCallback):
3583         (childAtIndexCallback):
3584         (cellForColumnAndRowCallback):
3585         (AccessibilityUIElement::getJSClass):
3586         * DumpRenderTree/AccessibilityUIElement.h:
3587         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3588         (convertNSArrayToVector):
3589         (descriptionOfElements):
3590         (AccessibilityUIElement::getLinkedUIElements):
3591         (AccessibilityUIElement::getChildren):
3592         (AccessibilityUIElement::attributesOfLinkedUIElements):
3593         (AccessibilityUIElement::attributesOfChildren):
3594         (AccessibilityUIElement::attributesOfColumnHeaders):
3595         (AccessibilityUIElement::attributesOfRowHeaders):
3596         (AccessibilityUIElement::attributesOfColumns):
3597         (AccessibilityUIElement::attributesOfRows):
3598         (AccessibilityUIElement::attributesOfVisibleCells):
3599         (AccessibilityUIElement::attributesOfHeader):
3600         (AccessibilityUIElement::indexInTable):
3601         (AccessibilityUIElement::rowIndexRange):
3602         (AccessibilityUIElement::columnIndexRange):
3603         (AccessibilityUIElement::cellForColumnAndRow):
3604         * Scripts/run-webkit-tests:
3605
3606 2008-08-19  Alexey Proskuryakov  <ap@webkit.org>
3607
3608         Reviewed by Darin Adler.
3609
3610         Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
3611         is waiting for crash reporter to let it exit.
3612
3613         The fix does not work on Tiger, because the state of the process is indistinguishable from
3614         other waiting processes, at least not with this technique.
3615
3616         * Scripts/run-webkit-tests:
3617
3618 2008-08-18  Alp Toker  <alp@nuanti.com>
3619
3620         Reviewed by Holger Freyther.
3621
3622         https://bugs.webkit.org/show_bug.cgi?id=20350
3623         [GTK] Get DumpRenderTree working
3624
3625         Fixes and enhancements to DumpRenderTree. With these changes, the test
3626         suite can now complete a run producing text and render tree dumps.
3627
3628         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3629         (dumpFramesAsText):
3630         (dump):
3631         (runTest):
3632         (webViewLoadFinished):
3633         (webViewWindowObjectCleared):
3634         (webViewConsoleMessage):
3635         (webViewScriptAlert):
3636         (webViewScriptPrompt):
3637         (webViewScriptConfirm):
3638         (webViewTitleChanged):
3639         (main):
3640         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3641         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3642         (LayoutTestController::clearBackForwardList):
3643         (LayoutTestController::pathToLocalResource):
3644         (LayoutTestController::setAcceptsEditing):
3645         (LayoutTestController::setUserStyleSheetEnabled):
3646         (LayoutTestController::setUserStyleSheetLocation):
3647         (waitToDumpWatchdogFired):
3648         (LayoutTestController::windowCount):
3649         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
3650         (JSStringCopyUTF8CString):
3651         (ScriptItem::invoke):
3652
3653 2008-08-17  Geoffrey Garen  <ggaren@apple.com>
3654
3655         Reviewed by Cameron Zwarich.
3656
3657         Updated project files to XCode 3.1.
3658
3659         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
3660         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
3661
3662 2008-08-15  Mark Rowe  <mrowe@apple.com>
3663
3664         Rubber-stamped by Geoff Garen.
3665
3666         <rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
3667
3668         * Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
3669
3670 2008-08-13  Simon Hausmann  <hausmann@webkit.org>
3671
3672         Rubber-stamped by Holger.
3673
3674         Revert r31585 and disable http tests for the Qt build again unless
3675         explicitly enabled.
3676
3677         Running the http tests unfortunately currently still triggers
3678         failures in non-http tests due to side-effects. Disable them by default for
3679         now, for more reliable results.
3680
3681         * Scripts/run-webkit-tests:
3682
3683 2008-08-10  Jan Michael Alonzo  <jmalonzo@webkit.org>
3684
3685         Reviewed (and updated) by Alp Toker.
3686
3687         https://bugs.webkit.org/show_bug.cgi?id=16620
3688         [GTK] Autotools make dist and make check support
3689
3690         Get make dist working.
3691
3692         Note that not all possible configurations have been tested yet.
3693
3694         * GNUmakefile.am:
3695
3696 2008-08-10  Alp Toker  <alp@nuanti.com>
3697
3698         Remove leftover qmake/GTK+ build files.
3699
3700         * DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
3701         * GtkLauncher/GtkLauncher.pro: Removed.
3702
3703 2008-08-06  Chris Fleizach  <cfleizach@apple.com>
3704
3705         Reviewed by Beth Dakin
3706
3707         AX functions shouldn't return position information because it changes
3708         based on the platform
3709
3710         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3711         (AccessibilityUIElement::boundsForRange):
3712
3713 2008-08-06  Eric Seidel  <eric@webkit.org>
3714
3715         Reviewed by darin.
3716
3717         Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
3718         <https://bugs.webkit.org/show_bug.cgi?id=20297>
3719         <rdar://problem/6093153>
3720
3721         I've made AccessibilityUIElement a stack object for now.  It could be
3722         made RefCounted, but I figured that might be overkill for the moment.
3723         Essentially it's just a RefPtr itself. :)
3724
3725         I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
3726         which was causing additional leaks. :)
3727
3728         I added toAXElement to remove a bunch of copy/paste code.
3729
3730         * DumpRenderTree/AccessibilityController.h:
3731         * DumpRenderTree/AccessibilityUIElement.cpp:
3732         (toAXElement):
3733         (allAttributesCallback):
3734         (attributesOfLinkedUIElementsCallback):
3735         (attributesOfChildrenCallback):
3736         (lineForIndexCallback):
3737         (boundsForRangeCallback):
3738         (childAtIndexCallback):
3739         (getRoleCallback):
3740         (getTitleCallback):
3741         (getDescriptionCallback):
3742         (getWidthCallback):
3743         (getHeightCallback):
3744         (getIntValueCallback):
3745         (getMinValueCallback):
3746         (getMaxValueCallback):
3747         (getInsertionPointLineNumberCallback):
3748         (finalize):
3749         * DumpRenderTree/AccessibilityUIElement.h:
3750         (AccessibilityUIElement::platformUIElement):
3751         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3752         (AccessibilityController::focusedElement):
3753         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3754         (AccessibilityUIElement::AccessibilityUIElement):
3755         (AccessibilityUIElement::getLinkedUIElements):
3756         (AccessibilityUIElement::getChildren):
3757         (AccessibilityUIElement::getChildAtIndex):
3758         (AccessibilityUIElement::attributesOfLinkedUIElements):
3759         (AccessibilityUIElement::attributesOfChildren):
3760
3761 2008-08-06  Eric Seidel  <eric@webkit.org>
3762
3763         Reviewed by Cameron Zwarich.
3764
3765         Speculative fix for an error I keep seeing in my Cygwin build
3766
3767         * Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
3768
3769 2008-08-02  Kevin Ollivier  <kevino@theolliviers.com>
3770
3771         Forgot to commit licensing correction in last commit.
3772
3773         * wx/packaging/wxWebKitInstaller.iss.in:
3774
3775 2008-08-02  Kevin Ollivier  <kevino@theolliviers.com>
3776
3777         Reviewed by Eric Seidel.
3778
3779         Scripts for building a wxWebKit installer for wxPython on Win, eventually will
3780         be used for nightlies.
3781
3782         https://bugs.webkit.org/show_bug.cgi?id=20036
3783
3784         * wx/packaging: Added.
3785         * wx/packaging/build-win-installer.py: Added.
3786         * wx/packaging/wxWebKitInstaller.iss.in: Added.
3787
3788 2008-07-31  Adam Roben  <aroben@apple.com>
3789
3790         Follow-up to r35500
3791
3792         * WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
3793         Release configuration, too.
3794
3795 2008-07-31  Stefan Landvogt <stefan.landvogt@gmail.com>
3796
3797         Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
3798         the box
3799
3800         <https://bugs.webkit.org/show_bug.cgi?id=20245>
3801
3802         Reviewed by Adam Roben.
3803
3804         * WinLauncher/WinLauncher.vcproj: adding the following properties to
3805         WinLauncher > Properties > Manifest Tool > Isolated COM
3806         Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
3807         Component File Name: WebKit$(WebKitDLLConfigSuffix)
3808         Doing the change on "All Configurations"
3809
3810 2008-07-31  Adam Roben  <aroben@apple.com>
3811
3812         Windows build bot fix
3813
3814         * DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
3815         exist for people at Apple can't be found. Also updated the ICU version
3816         to 3.8.
3817
3818 2008-07-31  David Kilzer  <ddkilzer@apple.com>
3819
3820         Fix layout test results for webarchive/test-xml-stylesheet.xml
3821
3822         Reviewed by Darin Adler.
3823
3824         * DumpRenderTree/mac/DumpRenderTree.mm:
3825         (convertMIMEType): Work around the "text/xml" local file type
3826         regression in Leopard using the BUILDING_ON_LEOPARD macro.  Also
3827         stop mangling "application/x-javascript" into "text/javascript".
3828         (convertWebResourceDataToString): When checking whether to dump a
3829         resource as text, also check to see if the MIME type is in the
3830         -[WebHTMLRepresentation supportedNonImageMIMETypes] array.
3831         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
3832         macro.
3833
3834 2008-07-31  Chris Fleizach  <cfleizach@apple.com>
3835
3836         Reviewed by Alice Liu
3837
3838         Add AX support to get the bounds for a range of text
3839         Add AX support to get the child of an element
3840         Add AX support to get all the parameterized attribute names of an element
3841
3842         * DumpRenderTree/AccessibilityUIElement.cpp:
3843         (parameterizedAttributeNamesCallback):
3844         (boundsForRangeCallback):
3845         (childAtIndexCallback):
3846         (AccessibilityUIElement::getJSClass):
3847         * DumpRenderTree/AccessibilityUIElement.h:
3848         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3849         (AccessibilityUIElement::getChildAtIndex):
3850         (AccessibilityUIElement::parameterizedAttributeNames):
3851         (AccessibilityUIElement::boundsForRange):
3852
3853 2008-07-31  Erik Bunce  <elbunce@thehive.com>
3854
3855         Reviewed by Simon.
3856
3857         Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
3858
3859         * Scripts/run-launcher:
3860
3861 2008-07-30  Jessica Kahn  <jess@apple.com>
3862
3863         Reviewed by Adam Roben.
3864
3865         Slightly stricter checking for previous change, suggested by Adam.
3866
3867         * Scripts/extract-localizable-strings:
3868
3869 2008-07-30  Jessica Kahn  <jess@apple.com>
3870
3871         Reviewed by Darin Adler.
3872
3873         Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
3874
3875         * Scripts/extract-localizable-strings:
3876
3877 2008-07-30  Anders Carlsson  <andersca@apple.com>
3878
3879         Reviewed by Adam.
3880
3881         Copy icu38* files instead of icu36* files.
3882
3883         * DumpRenderTree/win/DumpRenderTree.vcproj:
3884
3885 2008-07-25  Jan Michael Alonzo  <jmalonzo@webkit.org>
3886
3887         DRT/Gtk build fix for r35362
3888
3889         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3890         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
3891
3892 2008-07-25  Brady Eidson  <beidson@apple.com>
3893
3894         Reviewed by Sam
3895
3896         Add the ability to dump whether-or-not an element should have autocomplete enabled,
3897         from the perspective of the WebKit API
3898
3899         * DumpRenderTree/LayoutTestController.cpp:
3900         (elementDoesAutoCompleteForElementWithIdCallback):
3901         (LayoutTestController::staticFunctions):
3902
3903         * DumpRenderTree/LayoutTestController.h:
3904         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3905         (LayoutTestController::elementDoesAutoCompleteForElementWithId):
3906         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3907         (LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
3908
3909 2008-07-25  Chris Fleizach  <cfleizach@apple.com>
3910
3911         Reviewed by Beth Dakin
3912
3913         Add support for AXLineForIndex and AXInsertionPointIndex through the
3914         accessibility controller
3915
3916         * DumpRenderTree/AccessibilityUIElement.cpp:
3917         (lineForIndexCallback):
3918         (getInsertionPointLineNumberCallback):
3919         (AccessibilityUIElement::getJSClass):
3920         * DumpRenderTree/AccessibilityUIElement.h:
3921         * DumpRenderTree/mac/AccessibilityUIElementMac.mm:
3922         (AccessibilityUIElement::insertionPointLineNumber):
3923         (AccessibilityUIElement::lineForIndex):
3924
3925 2008-07-25  Adam Roben  <aroben@apple.com>
3926
3927         Try to fix the Windows build bot
3928
3929         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
3930         that don't exist for people outside of Apple.
3931
3932 2008-07-18  Landry Breuil  <landry@openbsd.org>
3933
3934         Bug 19975: [OpenBSD] Patches to enable build of WebKit
3935
3936         <https://bugs.webkit.org/show_bug.cgi?id=19975>
3937
3938         Reviewed by David Kilzer.
3939
3940         * DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
3941
3942 2008-07-16  Jon Honeycutt  <jhoneycutt@apple.com>
3943
3944         CygwinDownloader fails to install necessary packages
3945         https://bugs.webkit.org/show_bug.cgi?id=20075
3946
3947         Reviewed by Mark Rowe.
3948
3949         * CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
3950         mirrors removed in r34116. Set MIME type to application/octet-stream.
3951
3952 2008-07-16  Jon Honeycutt  <jhoneycutt@apple.com>
3953
3954         CygwinDownloader's make-zip.sh script fails
3955         https://bugs.webkit.org/show_bug.cgi?id=20074
3956
3957         Reviewed by Mark Rowe.
3958
3959         * CygwinDownloader/cygwin-downloader.py:
3960
3961 2008-07-15  Sam Weinig  <sam@webkit.org>
3962
3963         Reviewed by Anders Carlsson.
3964
3965         Refactor accessibility testing code.
3966
3967         We now have:
3968         - AccessibilityController
3969           Controller which has access to the WebView and can provide the focused element, root element
3970           and in the future, elementAtPoint.
3971
3972         - AccessibilityUIElement
3973           Object which provides access to the data provided by the Accessibility APIs.
3974
3975         * DumpRenderTree/AccessibilityController.cpp:
3976         (getFocusedElementCallback):
3977         (getRootElementCallback):
3978         (AccessibilityController::getJSClass):
3979         * DumpRenderTree/AccessibilityController.h:
3980         * DumpRenderTree/AccessibilityUIElement.cpp: Added.
3981         (allAttributesCallback):
3982         (attributesOfLinkedUIElementsCallback):
3983         (attributesOfChildrenCallback):
3984         (getRoleCallback):
3985         (getTitleCallback):
3986         (getDescriptionCallback):
3987         (getWidthCallback):
3988         (getHeightCallback):
3989         (getIntValueCallback):
3990         (getMinValueCallback):
3991         (getMaxValueCallback):
3992         (finalize):
3993         (AccessibilityUIElement::makeJSAccessibilityUIElement):
3994         (AccessibilityUIElement::getJSClass):
3995         * DumpRenderTree/AccessibilityUIElement.h: Added.
3996         (AccessibilityUIElement::platformUIElement):
3997         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3998         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
3999         (AccessibilityController::AccessibilityController):
4000         (AccessibilityController::~AccessibilityController):
4001         (AccessibilityController::focusedElement):
4002         (AccessibilityController::rootElement):
4003         * DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
4004         (AccessibilityUIElement::AccessibilityUIElement):
4005         (descriptionOfValue):
4006         (attributesOfElement):
4007         (nsStringToJSStringRef):
4008         (concatenateAttributeAndValue):
4009         (AccessibilityUIElement::getLinkedUIElements):
4010         (AccessibilityUIElement::getChildren):
4011         (AccessibilityUIElement::attributesOfLinkedUIElements):
4012         (AccessibilityUIElement::attributesOfChildren):
4013         (AccessibilityUIElement::allAttributes):
4014         (AccessibilityUIElement::role):
4015         (AccessibilityUIElement::title):
4016         (AccessibilityUIElement::description):
4017         (AccessibilityUIElement::width):
4018         (AccessibilityUIElement::height):
4019         (AccessibilityUIElement::intValue):
4020         (AccessibilityUIElement::minValue):
4021         (AccessibilityUIElement::maxValue):
4022
4023 2008-07-14  Chris Fleizach  <cfleizach@apple.com>
4024
4025         Reviewed by Beth Dakin
4026
4027         Add support to get attributes of the AXChildren of an objecty
4028
4029         * DumpRenderTree/AccessibilityController.cpp:
4030         (attributesOfChildrenForFocusedElementCallback):
4031         (AccessibilityController::staticFunctions):
4032         * DumpRenderTree/AccessibilityController.h:
4033         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4034         (descriptionOfValue):
4035         (AccessibilityController::attributesOfChildrenForFocusedElement):
4036
4037 2008-07-14  Steve Falkenburg  <sfalken@apple.com>
4038
4039         Build fix.
4040
4041         * DumpRenderTree/win/DumpRenderTree.vcproj:
4042
4043 2008-07-14  Adam Roben  <aroben@apple.com>
4044
4045         Attempted Windows build fix
4046
4047         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
4048         CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
4049         include path.
4050
4051 2008-07-14  Alexey Proskuryakov  <ap@webkit.org>
4052
4053         Reviewed by Geoff Garen.
4054
4055         Eliminate per-thread JavaScript global data instance support and make arbitrary
4056         global data/global object combinations possible.
4057
4058         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
4059         (runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
4060         In this scenario, it was causing crashes after each 10-20 tests, because there was a large
4061         chance for a different thread to cause GC after the context was released.
4062
4063 2008-07-11  Stephanie Lewis  <slewis@apple.com>
4064
4065         Reviewed by Darin Adler.
4066
4067         Make sure we read WebCore Leak messages.  Force full document teardown for DumpRenderTree.
4068
4069         Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
4070
4071         * DumpRenderTree/mac/DumpRenderTree.mm:
4072         (setDefaultsToConsistentValuesForTesting):
4073         (resetWebViewToConsistentStateBeforeTesting):
4074         * Scripts/run-webkit-tests:
4075
4076 2008-07-10  Steve Falkenburg  <sfalken@apple.com>
4077
4078         Build fix.
4079
4080         * DumpRenderTree/win/DumpRenderTree.vcproj:
4081
4082 2008-07-09  Eric Seidel  <eric@webkit.org>
4083
4084         Reviewed by Mark Rowe.
4085
4086         Print <div> backgrounds when printing from DRT.
4087
4088         * DumpRenderTree/mac/DumpRenderTree.mm:
4089         (setDefaultsToConsistentValuesForTesting):
4090
4091 2008-07-09  Eric Seidel  <eric@webkit.org>
4092
4093         Reviewed by Mark Rowe.
4094
4095         Fix copying of expected results to correct location
4096
4097         * Scripts/run-webkit-tests:
4098
4099 2008-07-09  Eric Seidel  <eric@webkit.org>
4100
4101         Reviewed by aroben.
4102
4103         * DumpRenderTree/LayoutTestController.cpp:
4104         (LayoutTestController::LayoutTestController):
4105         (dumpAsPDFCallback):
4106         (LayoutTestController::staticFunctions):
4107         * DumpRenderTree/LayoutTestController.h:
4108         (LayoutTestController::dumpAsPDF):
4109         (LayoutTestController::setDumpAsPDF):
4110         * DumpRenderTree/mac/DumpRenderTree.mm:
4111         (dumpFrameAsPDF):
4112         (dump):
4113
4114 2008-07-09  Eric Seidel  <eric@webkit.org>
4115
4116         Reviewed by weinig.
4117
4118         Add Content-Type support to DumpRenderTree and run-webkit-tests
4119         and move expected.txt files to expected.webarchive
4120
4121         https://bugs.webkit.org/show_bug.cgi?id=15565
4122
4123         * DumpRenderTree/cg/ImageDiffCG.cpp:
4124         (compareImages):
4125         (main):
4126         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
4127         (printPNG):
4128         * DumpRenderTree/mac/DumpRenderTree.mm:
4129         (dump):
4130         * Scripts/run-webkit-tests:
4131
4132 2008-07-08  Jon Honeycutt  <jhoneycutt@apple.com>
4133
4134         Reviewed by Anders.
4135
4136         Port r34988 to Mac: allow tests to define JavaScript to execute when
4137         NPP_DestroyStream or NPP_URLNotify is called.
4138
4139         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
4140         (NPP_New): Remove initialization that happens in pluginAllocate. Look
4141         for new arguments onStreamDestroy and onURLNotify.
4142         (NPP_Destroy): Free onStreamDestroy and onURLNotify.
4143         (executeScript): Code moved from onStreamLoad.
4144         (NPP_NewStream): Call executeScript.
4145         (NPP_DestroyStream): Same.
4146         (NPP_URLNotify): Same.
4147
4148 2008-07-07  Beth Dakin  <bdakin@apple.com>
4149
4150         Reviewed by Anders.
4151
4152         This patch extends DRT accessibility tests to add the ability to
4153         query the intValue, minValue, and maxValue of the focused element.
4154
4155         * DumpRenderTree/AccessibilityController.cpp:
4156         (intValueOfFocusedElementCallback):
4157         (minValueOfFocusedElementCallback):
4158         (maxValueOfFocusedElementCallback):
4159         (AccessibilityController::staticFunctions):
4160         * DumpRenderTree/AccessibilityController.h:
4161         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4162         (AccessibilityController::intValueOfFocusedElement):
4163         (AccessibilityController::minValueOfFocusedElement):
4164         (AccessibilityController::maxValueOfFocusedElement):
4165
4166 2008-07-07  Steve Falkenburg  <sfalken@apple.com>
4167
4168         Fix build.
4169
4170         * DumpRenderTree/win/ImageDiff.vcproj:
4171
4172 2008-07-02  Jon Honeycutt  <jhoneycutt@apple.com>
4173
4174         Allow tests to define JavaScript to execute when NPP_DestroyStream or
4175         NPP_URLNotify is called.
4176
4177         Reviewed by Anders.
4178
4179         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
4180         property, "returnErrorFromNewStream." This is to support the test for
4181         <rdar://5983747> Safari crashes trying to load the SilverLight plugin,
4182         caused by WebKit calling NPP_DestroyStream after a plug-in returns an
4183         error from NPP_NewStream.
4184         (pluginGetProperty):
4185         (pluginSetProperty):
4186         (pluginAllocate):
4187         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
4188         members, onStreamDestroy and onURLNotify.
4189         * DumpRenderTree/win/TestNetscapePlugin/main.cpp:
4190         (NPP_New): Remove initialization of onStreamLoad; this was moved to
4191         pluginAllocate. Look for new arguments onStreamDestroy and
4192         onURLNotify, and store their values.
4193         (NPP_Destroy): Free new members.
4194         (executeScript): Code moved from onStreamLoad
4195         (NPP_NewStream): If returnErrorFromNewStream has been set to true,
4196         return a generic error code. If onStreamLoad is set, execute it as
4197         JavaScript.
4198         (NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
4199         (NPP_URLNotify): Same, for onURLNotify.
4200
4201 2008-07-02  Brady Eidson  <beidson@apple.com>
4202
4203         Reviewed by Mitz Pettel and John Sullivan
4204
4205         Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
4206         load delegate.
4207
4208         Required to add a layout test for the fix for <rdar://problem/5549871>
4209
4210         * DumpRenderTree/mac/FrameLoadDelegate.mm:
4211         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
4212           [WebFrame stopLoading] to test for the crash reflected in 5549871
4213
4214         All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
4215         * DumpRenderTree/LayoutTestController.cpp:
4216         (LayoutTestController::LayoutTestController):
4217         (setStopProvisionalFrameLoadsCallback):
4218         (LayoutTestController::staticFunctions):
4219         * DumpRenderTree/LayoutTestController.h:
4220         (LayoutTestController::stopProvisionalFrameLoads):
4221         (LayoutTestController::setStopProvisionalFrameLoads):
4222
4223 2008-07-01  Chris Fleizach  <cfleizach@apple.com>
4224
4225         Reviewed by Beth Dakin
4226
4227         Support ability to get width and height of an element through accessibility
4228
4229         * DumpRenderTree/AccessibilityController.cpp:
4230         (widthOfFocusedElementCallback):
4231         (heightOfFocusedElementCallback):
4232         (AccessibilityController::staticFunctions):
4233         * DumpRenderTree/AccessibilityController.h:
4234         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4235         (AccessibilityController::widthOfFocusedElement):
4236         (AccessibilityController::heightOfFocusedElement):
4237
4238 2008-06-30  Chris Fleizach  <cfleizach@apple.com>
4239
4240         Reviewed by Beth Dakin
4241
4242         Support the ability to get the linked ui elements of an object
4243
4244         * DumpRenderTree/AccessibilityController.cpp:
4245         (attributesOfLinkedUIElementsForFocusedElementCallback):
4246         (AccessibilityController::staticFunctions):
4247         * DumpRenderTree/AccessibilityController.h:
4248         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4249         (AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
4250         (AccessibilityController::allAttributesOfFocusedElement):
4251         (attributesOfElement):
4252         (nsStringToJSStringRef):
4253
4254 2008-06-29  Sam Weinig  <sam@webkit.org>
4255
4256         Fix Tiger build.
4257
4258         * DumpRenderTree/mac/EventSendingController.mm:
4259         (eventTypeForMouseButtonAndAction):
4260
4261 2008-06-27  Eric Seidel  <eric@webkit.org>
4262
4263         Reviewed by darin.
4264
4265         Add multi-button mouseevent support to DRT
4266         https://bugs.webkit.org/show_bug.cgi?id=15173
4267
4268         It's now possible to specify the mouse button with:
4269         eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
4270
4271         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4272         * DumpRenderTree/mac/EventSendingController.h:
4273         * DumpRenderTree/mac/EventSendingController.mm:
4274         (+[EventSendingController isSelectorExcludedFromWebScript:]):
4275         (+[EventSendingController webScriptNameForSelector:]):
4276         (eventTypeForMouseButtonAndAction):
4277         (-[EventSendingController updateClickCountForButton:]):
4278         (-[EventSendingController mouseDown:]):
4279         (-[EventSendingController mouseUp:]):
4280         (-[EventSendingController mouseMoveToX:Y:]):
4281         (-[EventSendingController contextClick]):
4282
4283 2008-06-28  Nikolas Zimmermann  <zimmermann@kde.org>
4284
4285         Reviewed by Oliver.
4286
4287         Copy <test>-expected.png from the right location to /tmp/layout-test-results.
4288         Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
4289
4290         * Scripts/run-webkit-tests:
4291
4292 2008-06-27  Jan Michael Alonzo  <jmalonzo@webkit.org>
4293
4294         Reviewed by Christian Dywan.
4295
4296         [Gtk] Initialize webview settings before running DRT tests
4297         http://bugs.webkit.org/show_bug.cgi?id=19778
4298
4299         * DumpRenderTree/gtk/DumpRenderTree.cpp:
4300         (setDefaultsToConsistentStateValuesForTesting):
4301         (main):
4302
4303 2008-06-26  Darin Adler  <darin@apple.com>
4304
4305         * Scripts/check-for-weak-vtables: Fixed comment.
4306
4307 2008-06-26  Darin Adler  <darin@apple.com>
4308
4309         * Scripts/check-for-weak-vtables: Added.
4310
4311 2008-06-26  Beth Dakin  <bdakin@apple.com>
4312
4313         Reviewed by Sam.
4314
4315         Do not include AXPosition in the dump of all of the accessibility
4316         attributes since it is screen-specific.
4317
4318         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4319         (AccessibilityController::allAttributesOfFocusedElement):
4320
4321 2008-06-26  Beth Dakin  <bdakin@apple.com>
4322
4323         Reviewed by Anders.
4324
4325         This is a speculative fix for the failing layout test on the build
4326         bot. It seems that the problem that the Build Bot is having is
4327         Tiger-specific. On Tiger, [NSValue description] was not very smart.
4328         So I replaced our call to description with a hand-rolled equivalent
4329         that will match on both platforms.
4330
4331         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4332         (descriptionOfValue):
4333
4334 2008-06-25  Beth Dakin  <bdakin@apple.com>
4335
4336         Reviewed by Sam Weinig.
4337
4338         This patch adds support to the AccessibilityController to query the
4339         following attributes specifically, without a full attribute dump:
4340         AXRole, AXTitle, and AXDescription.
4341
4342         * DumpRenderTree/AccessibilityController.cpp:
4343         (allAttributesForFocusedElementCallback):
4344         (roleOfFocusedElementCallback):
4345         (titleOfFocusedElementCallback):
4346         (descriptionOfFocusedElementCallback):
4347         (AccessibilityController::staticFunctions):
4348         * DumpRenderTree/AccessibilityController.h:
4349         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4350         (AccessibilityController::allAttributesForFocusedElement):
4351         (concatenateAttributeAndValue):
4352         (AccessibilityController::roleOfFocusedElement):
4353         (AccessibilityController::titleOfFocusedElement):
4354         (AccessibilityController::descriptionOfFocusedElement):
4355
4356 2008-06-24  Dan Bernstein  <mitz@apple.com>
4357
4358         Reviewed by Stephanie Lewis.
4359
4360         - move the linker flags from the debug configuration in the project
4361           to the shared configuration
4362
4363         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4364         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
4365
4366 2008-06-24  Dan Bernstein  <mitz@apple.com>
4367
4368         - try to fix the Tiger build
4369
4370         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
4371
4372 2008-06-24  Sam Weinig and Beth Dakin  <bdakin@apple.com and sam@webkit.org>
4373
4374         Reviewed by Darin Adler.
4375
4376         Fix for <rdar://problem/5884881> Make DumpRenderTree support
4377         accessibility tests
4378
4379         This patch adds some basic support for accessibility layout tests
4380         on the Mac.
4381
4382         * DumpRenderTree/AccessibilityController.cpp: Added.
4383         (AccessibilityController::AccessibilityController):
4384         (AccessibilityController::~AccessibilityController):
4385         (dumpCurrentAttributesCallback):
4386         (AccessibilityController::makeWindowObject):
4387         (AccessibilityController::getJSClass):
4388         (AccessibilityController::staticFunctions):
4389         * DumpRenderTree/AccessibilityController.h: Added.
4390         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
4391         * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
4392         (descriptionOfValue):
4393         (AccessibilityController::dumpCurrentAttributes):
4394         * DumpRenderTree/mac/DumpRenderTree.mm:
4395         * DumpRenderTree/mac/FrameLoadDelegate.h:
4396         * DumpRenderTree/mac/FrameLoadDelegate.mm:
4397         (-[FrameLoadDelegate init]):
4398         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
4399
4400 2008-06-24  John Sullivan  <sullivan@apple.com>
4401
4402         Reviewed by Dan Bernstein
4403
4404         * Scripts/extract-localizable-strings:
4405         add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
4406         list of debugging macros, to avoid noise when keeping the list of localized string
4407         exceptions up to date
4408
4409 2008-06-24  Dan Bernstein  <mitz@apple.com>
4410
4411         Rubber-stamped by Darin Adler.
4412
4413         - add a font family for testing font-weight
4414
4415         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
4416         flags to create data sections for the WeightWatcher fonts.
4417         * DumpRenderTree/fonts: Added.
4418         * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
4419         * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
4420         * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
4421         * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
4422         * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
4423         * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
4424         * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
4425         * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
4426         * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
4427         * DumpRenderTree/mac/DumpRenderTree.mm:
4428         (activateFonts): Renamed activateAhemFont to this and made it activate
4429         the WeightWatcher fonts in addition to Ahem.
4430         (prepareConsistentTestingEnvironment): Adjusted for the name change.
4431         * DumpRenderTree/win/DumpRenderTree.cpp:
4432         (initialize): Added the WeightWatcher fonts.
4433
4434 2008-06-20  Brent Fulgham  <bfulgham@gmail.com>
4435
4436         Reviewed by Darin Adler.
4437
4438         Extend the build-webkit (and set-webkit-configuration) script to
4439         support Cairo-based webkit builds.  (see http://bugs.webkit.org/show_bug.cgi?17952)
4440
4441         * Scripts/build-webkit:  Add --cairo-win32 to the help message
4442         * Scripts/webkitdirs.pm:  Extend the 'determinePassedConfiguration
4443           subroutine to recognize the --cairo-win32 flag.  When present,
4444           the build configuration is changed from Debug/Release to
4445           Debug_Cairo/Release_Cairo.  This flag is only active when the
4446           isCygwin() test is true.
4447
4448 2008-06-17  Dan Bernstein  <mitz@apple.com>
4449
4450         Reviewed by Justin Garcia.
4451
4452         - prefer Leopard results when running on Snow Leopard.
4453
4454         * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
4455           mac-leopard.
4456         * Scripts/webkitdirs.pm: Added isSnowLeopard().
4457
4458 2008-06-15  Darin Adler  <darin@apple.com>
4459
4460         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4461
4462 2008-06-15  Darin Adler  <darin@apple.com>
4463
4464         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4465
4466 2008-06-15  Darin Adler  <darin@apple.com>
4467
4468         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4469
4470 2008-06-15  Darin Adler  <darin@apple.com>
4471
4472         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4473
4474 2008-06-15  Darin Adler  <darin@apple.com>
4475
4476         * Scripts/do-file-rename: Updated.
4477         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4478
4479 2008-06-15  Darin Adler  <darin@apple.com>
4480
4481         * Scripts/do-file-rename: Updated for the latest round of renaming.
4482         * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
4483
4484 2008-06-15  Darin Adler  <darin@apple.com>
4485
4486         * Scripts/create-exports: Added.
4487         * Scripts/do-file-rename: Added some planned renames.
4488         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4489
4490 2008-06-15  Darin Adler  <darin@apple.com>
4491
4492         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
4493
4494 2008-06-15  Maciej Stachowiak  <mjs@apple.com>
4495
4496         Reviewed by Oliver.
4497
4498         - rename testkjs to jsc
4499
4500         * Scripts/build-jsc: Copied from Scripts/build-testkjs.
4501         * Scripts/build-testkjs: Removed.
4502         * Scripts/run-javascriptcore-tests:
4503         * Scripts/run-jsc: Copied from Scripts/run-testkjs.
4504         * Scripts/run-sunspider:
4505         * Scripts/run-testkjs: Removed.
4506         * Scripts/sunspider-compare-results:
4507
4508 2008-06-14  Darin Adler  <darin@apple.com>
4509
4510         * Scripts/do-webcore-rename: Moved planned renames into a separate hash
4511         from the actual renames. Removed many renames that are either done or
4512         no longer planned.
4513
4514 2008-06-14  Darin Adler  <darin@apple.com>
4515
4516         * Scripts/do-webcore-rename: Fixed obvious typo.
4517
4518 2008-06-13  Darin Adler  <darin@apple.com>
4519
4520         * Scripts/make-js-test-wrappers: Added three more exceptions.
4521
4522 2008-06-10  Joerg Bornemann  <joerg.bornemann@trolltech.com>
4523
4524         Reviewed by Simon.
4525
4526         For the qmake based build make it possible to build against makespecs where
4527         QMAKE_CC is defined in a configuration file included from qmake.conf.
4528
4529         * Scripts/webkitdirs.pm: Added support for include() statements in
4530         qmake.conf.
4531
4532 2008-06-09  Alp Toker  <alp@nuanti.com>
4533
4534         gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
4535         each of the tools since these are no longer set globally.
4536
4537         * GNUmakefile.am:
4538
4539 2008-06-08  Darin Adler  <darin@apple.com>
4540
4541         * Scripts/make-js-test-wrappers: Added another exception.
4542
4543 2008-06-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
4544
4545         Reviewed by Timothy.
4546
4547         Remove the --squirrelfish option from SunSpider, as it is no longer needed.
4548
4549         * Scripts/run-sunspider:
4550
4551 2008-06-05  Alp Toker  <alp@nuanti.com>
4552
4553         Build fix for r34387.
4554
4555         * GNUmakefile.am:
4556
4557 2008-06-04  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
4558
4559         Reviewed by Oliver.
4560
4561         Add an exception for Opcode.o to the global initializers check so that
4562         we can dump instruction statistics in the JavaScript virtual machine.
4563
4564         * Scripts/check-for-global-initializers:
4565
4566 2008-05-30  Steve Falkenburg  <sfalken@apple.com>
4567
4568         Generate an isolated COM manifest for registry free COM.
4569
4570         * DumpRenderTree/win/DumpRenderTree.vcproj:
4571
4572 2008-06-02  Anders Carlsson  <andersca@apple.com>
4573
4574         Reviewed by David Hyatt and Mitz.
4575
4576         <rdar://problem/5704119>
4577         repro crash in WebCore::RenderPart::setWidget (plugin-related?)
4578
4579         Call -[WebView display] in the "plug-in" failed delegate method, simulating
4580         the sheet that Safari puts up.
4581
4582         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
4583         (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
4584
4585 2008-05-30  Timothy Hatcher  <timothy@apple.com>
4586
4587         Made the starting line number of scripts be 1-based throughout the engine.
4588         This cleans up script line numbers so they are all consistent now.
4589
4590         Reviewed by Oliver Hunt.
4591
4592         * DumpRenderTree/mac/ObjCController.m:
4593         (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
4594         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
4595         (runJavaScriptThread): Ditto.
4596         * DumpRenderTree/win/DumpRenderTree.cpp:
4597         (runJavaScriptThread): Ditto.
4598
4599 2008-05-29  Geoffrey Garen  <ggaren@apple.com>
4600
4601         Reviewed by Adam Roben.
4602
4603         Fixed VCSUtils.pm to work with git repositories inside symlinks.
4604
4605         * Scripts/VCSUtils.pm: Compute a relative path from the git repository
4606         root, instead of the root of the filesystem, to work around a bug in
4607         abs2rel when traversing symlinked home directories.
4608
4609 2008-05-29  Kevin Ollivier  <kevino@theolliviers.com>
4610
4611         Reviewed by Darin Adler.
4612
4613         Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
4614
4615         https://bugs.webkit.org/show_bug.cgi?id=19311
4616
4617         * Scripts/webkitdirs.pm:
4618
4619 2008-05-29  Alexey Proskuryakov  <ap@webkit.org>
4620
4621         Reviewed by Adam Roben.
4622
4623         Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
4624         configuration files.
4625
4626         * Scripts/run-iexploder-tests:
4627         * Scripts/run-mangleme-tests:
4628         Renamed runSafari to not conflict with the one in webkitdirs.
4629         Added SSLCertificateFile option for httpd, as now needed.
4630
4631 2008-05-27  Kevin Ollivier  <kevino@theolliviers.com>
4632
4633         wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
4634
4635         * wx/browser/browser.cpp:
4636         (MyApp::OnInit):
4637
4638 2008-05-24  Andreia Gaita  <shana@isninja.com>
4639
4640         Reviewed by Alp Toker.
4641
4642         cygwin-downloader.py fixes.
4643
4644         Remove two non-working mirrors. Add a check for missing dependency
4645         packages to avoid bailing out on an inconsistent Cygwin package list.
4646
4647         * CygwinDownloader/cygwin-downloader.py:
4648
4649 2008-05-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
4650
4651         Reviewed by Darin Adler.
4652
4653         Remove useQmake usage. QMake build doesn't support Gtk port
4654         anymore.
4655
4656         Also fix 2 occurences of "Web Kit". Should be WebKit.
4657
4658         * Scripts/build-webkit:
4659         * Scripts/run-javascriptcore-tests:
4660         * Scripts/run-launcher:
4661         * Scripts/run-webkit-tests:
4662         * Scripts/webkitdirs.pm:
4663
4664 2008-05-22  Stephanie Lewis  <slewis@apple.com>
4665
4666         Reviewed by Dan.
4667
4668         implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
4669
4670         * DumpRenderTree/mac/UIDelegate.mm:
4671         (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
4672         * DumpRenderTree/win/UIDelegate.cpp:
4673         (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
4674
4675 2008-05-21  Adele Peterson  <adele@apple.com>
4676
4677         Reviewed by Adam.
4678
4679         DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
4680
4681         * DumpRenderTree/win/UIDelegate.cpp:
4682         (UIDelegate::webViewFocus): Added.
4683         (UIDelegate::webViewUnfocus): Added.
4684         * DumpRenderTree/win/UIDelegate.h:
4685
4686 2008-05-21  Mark Rowe  <mrowe@apple.com>
4687
4688         Rubber-stamped by Stephanie Lewis.
4689
4690         Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
4691         rather than trigger an unknown argument message.  This allows run-webkit-tests to display results
4692         once more.
4693
4694         * Scripts/run-safari:
4695
4696 2008-05-21  Stephanie Lewis  <slewis@apple.com>
4697
4698         Reviewed by Maciej, Mark.
4699
4700         arch doesn't take arguments on tiger.  expand DRT timeout for guardMalloc.
4701
4702         * Scripts/run-webkit-tests:
4703         * Scripts/webkitdirs.pm:
4704
4705 2008-05-20  Mark Rowe  <mrowe@apple.com>
4706
4707         Reviewed by Stephanie Lewis.
4708
4709         Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
4710
4711         If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
4712         This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
4713         can be manually overridden by passing --64-bit or --no-64-bit.  This removes the need to always
4714         pass an argument to run-webkit-tests after having built with "make x86_64".
4715
4716         * Scripts/gdb-safari:
4717         * Scripts/run-safari:
4718         * Scripts/run-webkit-tests:
4719         * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
4720         preferred architecture, and exporting of the environment variables for 'arch' out into
4721         separate subroutines.
4722
4723 2008-05-20  Mark Rowe  <mrowe@apple.com>
4724
4725         Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
4726
4727         * Makefile:
4728
4729 === End merge of squirrelfish ===
4730
4731 2008-04-14  Maciej Stachowiak  <mjs@apple.com>
4732
4733         Reviewed by Oliver.
4734
4735         - added support for --ubench mode
4736
4737         * Scripts/run-sunspider:
4738
4739 2008-03-26  Geoffrey Garen  <ggaren@apple.com>
4740
4741         Reviewed by Oliver Hunt.
4742
4743         --squirrelfish mode: pared down tests for squirrelfish to chew on.
4744
4745         * Scripts/run-sunspider:
4746
4747 === Start merge of squirrelfish ===
4748
4749 2008-05-21  Darin Adler  <darin@apple.com>
4750
4751         * Scripts/make-js-test-wrappers: Added another exception.
4752
4753 2008-05-19  Stephanie Lewis  <slewis@apple.com>
4754
4755         Reviewed by Adam.
4756
4757         Explicitly set run mode to 32bit unless overridden to avoid
4758         confusion when running tests
4759
4760         * Scripts/build-dumprendertree:
4761         * Scripts/gdb-safari:
4762         * Scripts/run-webkit-tests:
4763         * Scripts/webkitdirs.pm:
4764
4765 2008-05-16  Stephanie Lewis  <slewis@apple.com>
4766
4767         Reviewed by Steve.
4768
4769         Print out pending unload event count. Also print out main frame name to match Mac.
4770
4771         * DumpRenderTree/win/FrameLoadDelegate.cpp:
4772         (descriptionSuitableForTestResult):
4773         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
4774
4775 2008-05-16  Timothy Hatcher  <timothy@apple.com>
4776
4777         Remove the Drosera project, code and resources since it has been
4778         replaced with the Web Inspector's debugger. Removes references to
4779         Drosera in various scripts and makefiles.
4780
4781         Rubber-stamped by Mark Rowe.
4782
4783         * BuildSlaveSupport/build-launcher-app:
4784         * Drosera/DebuggerDocument.cpp: Removed.
4785         * Drosera/DebuggerDocument.h: Removed.
4786         * Drosera/Drosera.icns: Removed.
4787         * Drosera/DroseraWin.make: Removed.
4788         * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
4789         * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
4790         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
4791         * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
4792         * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
4793         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
4794         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
4795         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
4796         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
4797         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
4798         * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
4799         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
4800         * Drosera/Images/Drosera.ico: Removed.
4801         * Drosera/Images/SourceArrow.png: Removed.
4802         * Drosera/Images/SourceArrowBlank.png: Removed.
4803         * Drosera/Images/SourceArrowOpen.png: Removed.
4804         * Drosera/Images/background_stripe.png: Removed.
4805         * Drosera/Images/breakPoint.tif: Removed.
4806         * Drosera/Images/breakPointDisabled.tif: Removed.
4807         * Drosera/Images/breakpointeditor.png: Removed.
4808         * Drosera/Images/close.tif: Removed.
4809         * Drosera/Images/close_active.tif: Removed.
4810         * Drosera/Images/close_hover.tif: Removed.
4811         * Drosera/Images/console.png: Removed.
4812         * Drosera/Images/continue.tif: Removed.
4813         * Drosera/Images/fileIcon.jpg: Removed.
4814         * Drosera/Images/finishFunction.tif: Removed.
4815         * Drosera/Images/glossyFooterFill.tif: Removed.
4816         * Drosera/Images/glossyHeader.png: Removed.
4817         * Drosera/Images/glossyHeaderPressed.png: Removed.
4818         * Drosera/Images/gradientBackground.png: Removed.
4819         * Drosera/Images/gutter.png: Removed.
4820         * Drosera/Images/navLeftDisabled.png: Removed.
4821         * Drosera/Images/navLeftNormal.png: Removed.
4822         * Drosera/Images/navLeftPressed.png: Removed.
4823         * Drosera/Images/navRightDisabled.png: Removed.
4824         * Drosera/Images/navRightNormal.png: Removed.
4825         * Drosera/Images/navRightPressed.png: Removed.
4826         * Drosera/Images/pause.tif: Removed.
4827         * Drosera/Images/popUpArrows.png: Removed.
4828         * Drosera/Images/programCounter.tif: Removed.
4829         * Drosera/Images/programCounterBreakPoint.tif: Removed.
4830         * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
4831         * Drosera/Images/run.tif: Removed.
4832         * Drosera/Images/siteCollapsed.tif: Removed.
4833         * Drosera/Images/siteExpanded.tif: Removed.
4834         * Drosera/Images/siteIcon.tif: Removed.
4835         * Drosera/Images/small.ico: Removed.
4836         * Drosera/Images/splitterBar.tif: Removed.
4837         * Drosera/Images/splitterDimple.tif: Removed.
4838         * Drosera/Images/step.tif: Removed.
4839         * Drosera/Images/stepOut.tif: Removed.
4840         * Drosera/Images/stepOver.tif: Removed.
4841         * Drosera/Images/stop.tif: Removed.
4842         * Drosera/Images/toolbarBackground.png: Removed.
4843         * Drosera/Images/verticalSplitterBar.tiff: Removed.
4844         * Drosera/Images/verticalSplitterDimple.tiff: Removed.
4845         * Drosera/Makefile: Removed.
4846         * Drosera/breakpointEditor.html: Removed.
4847         * Drosera/config.h: Removed.
4848         * Drosera/console.css: Removed.
4849         * Drosera/console.html: Removed.
4850         * Drosera/console.js: Removed.
4851         * Drosera/debugger.css: Removed.
4852         * Drosera/debugger.html: Removed.
4853         * Drosera/debugger.js: Removed.
4854         * Drosera/mac/DebuggerApplication.h: Removed.
4855         * Drosera/mac/DebuggerApplication.mm: Removed.
4856         * Drosera/mac/DebuggerClient.h: Removed.
4857         * Drosera/mac/DebuggerClient.mm: Removed.
4858         * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
4859         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
4860         * Drosera/mac/Info.plist: Removed.
4861         * Drosera/mac/LauncherInfo.plist: Removed.
4862         * Drosera/mac/Makefile: Removed.
4863         * Drosera/mac/ServerConnection.h: Removed.
4864         * Drosera/mac/ServerConnection.mm: Removed.
4865         * Drosera/mac/launcher.m: Removed.
4866         * Drosera/mac/main.m: Removed.
4867         * Drosera/viewer.css: Removed.
4868         * Drosera/viewer.html: Removed.
4869         * Drosera/win/BaseDelegate.h: Removed.
4870         * Drosera/win/DebuggerClient.cpp: Removed.
4871         * Drosera/win/DebuggerClient.h: Removed.
4872         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
4873         * Drosera/win/Drosera.cpp: Removed.
4874         * Drosera/win/Drosera.h: Removed.
4875         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
4876         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
4877         * Drosera/win/DroseraPrefix.cpp: Removed.
4878         * Drosera/win/DroseraPrefix.h: Removed.
4879         * Drosera/win/Info.plist: Removed.
4880         * Drosera/win/ServerConnection.cpp: Removed.
4881         * Drosera/win/ServerConnection.h: Removed.
4882         * Drosera/win/resource.h: Removed.
4883         * Makefile:
4884         * Scripts/build-drosera: Removed.
4885         * Scripts/gdb-drosera: Removed.
4886         * Scripts/run-drosera: Removed.
4887         * Scripts/run-drosera-nightly.cmd: Removed.
4888         * Scripts/run-drosera.cmd: Removed.
4889         * Scripts/webkitdirs.pm:
4890
4891 2008-05-15  Stephanie Lewis  <slewis@apple.com>
4892
4893         Reviewed by Anders.
4894
4895         Dump the unload count for a frame after parsing is finished.
4896
4897         * DumpRenderTree/mac/FrameLoadDelegate.mm:
4898         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
4899
4900 2008-05-15  Alexey Proskuryakov  <ap@webkit.org>
4901
4902         Reviewed by Dan Bernstein.
4903
4904         https://bugs.webkit.org/show_bug.cgi?id=10707
4905         DumpRenderTree should not be able to access non-local resources
4906
4907         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
4908         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
4909         Block them, and complain.
4910
4911 2008-05-15  Kevin Ollivier  <kevino@theolliviers.com>
4912
4913         wx build fix. Update the version of libpng to download and instsall.
4914
4915         * wx/install-unix-extras:
4916
4917 2008-05-14  Julien Chaffraix  <jchaffraix@webkit.org>
4918
4919         Reviewed by Eric.
4920
4921         - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
4922           We now force the return value to be numeric.
4923
4924         - Removed platform checks as it was a work around the previous issue.
4925
4926         - Replaced isDarwin() by isOSX() as they have now the same behaviour.
4927
4928         * Scripts/build-webkit:
4929         * Scripts/webkitdirs.pm:
4930
4931 2008-05-12  Adam Roben  <aroben@apple.com>
4932
4933         Support for testing NPN_PostURL
4934
4935         Reviewed by Anders Carlsson.
4936
4937         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4938         (toCString): Added this helper function.
4939         (testPostURLFile): Added. Writes the passed-in content to the
4940         passed-in file and calls NPN_PostURL with the passed-in URL and
4941         target.
4942         (pluginInvoke): Added a case for testPostURLFile.
4943         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
4944         (followShortcuts): Changed to allow paths that don't yet exist.
4945
4946 2008-05-12  Mark Rowe  <mrowe@apple.com>
4947
4948         Reviewed by Sam Weinig.
4949
4950         Minor cleanup of the DRT Xcode project.
4951
4952         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Use GCC_OPTIMIZATION_LEVEL rather than
4953         OPTIMIZATION_CFLAGS.  Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
4954         not need to be there.
4955
4956 2008-05-12  Anders Carlsson  <andersca@apple.com>
4957
4958         Reviewed by Adam.
4959
4960         Add support for testing application caches.
4961
4962         * DumpRenderTree/mac/DumpRenderTree.mm:
4963         (dumpRenderTree):
4964         Empty the cache.
4965
4966         (resetWebViewToConsistentStateBeforeTesting):
4967         Turn on support for the application cache.
4968
4969 2008-05-09  Mark Rowe  <mrowe@apple.com>
4970
4971         Reviewed by Anders Carlsson.
4972
4973         Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
4974
4975         It currently does not attempt to print events which means that plugins/mouse-events.html
4976         will fail when run 64-bit.  All other tests that use this plugin pass.
4977
4978         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
4979         (testGetIntIdentifier):
4980         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
4981         (NPP_New):
4982         (NPP_HandleEvent):
4983
4984 2008-05-09  Brady Eidson  <beidson@apple.com>
4985
4986         Reviewed by Adam Roben
4987
4988         Explicitly call shutDownWebKit() before quitting.
4989
4990         * Drosera/win/Drosera.cpp:
4991         (_tWinMain):
4992
4993         * DumpRenderTree/win/DumpRenderTree.cpp:
4994         (main):
4995
4996 2008-05-09  Mark Rowe  <mrowe@apple.com>
4997
4998         Fix the Tiger build of Drosera.
4999
5000         * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
5001
5002 2008-05-09  Sam Weinig  <sam@webkit.org>
5003
5004         Rubber-stamped by Mark Rowe.
5005
5006         Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
5007
5008         * Scripts/build-webkit:
5009
5010 2008-05-08  Mark Rowe  <mrowe@apple.com>
5011
5012         Another attempt at a Tiger build fix.
5013
5014         Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
5015
5016         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
5017
5018 2008-05-08  Mark Rowe  <mrowe@apple.com>
5019
5020         Tiger build fix.  Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
5021
5022         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
5023
5024 2008-05-08  Mark Rowe  <mrowe@apple.com>
5025
5026         Reviewed by Oliver Hunt and Dan Bernstein.
5027
5028         Update DumpRenderTree to build 64-bit.
5029
5030         The three major changes here are:
5031         1) Use NSInteger in the appropriate places.
5032         2) Use ColorSync API that is available in 64-bit to switch display profiles.
5033         3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
5034
5035         The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
5036         needs updated to successfully build.
5037
5038         * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
5039         * DumpRenderTree/mac/DumpRenderTree.mm:
5040         (swizzleAllMethods):
5041         (poseAsClass):
5042         (prepareConsistentTestingEnvironment):
5043         * DumpRenderTree/mac/DumpRenderTreeMac.h:
5044         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
5045         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
5046         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
5047         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
5048         (restoreColorSpace):
5049         (failedGettingCurrentProfile):
5050         (setDefaultColorProfileToRGB):
5051
5052 2008-05-08  Mark Rowe  <mrowe@apple.com>
5053
5054         Reviewed by Darin Adler.
5055
5056         Clean up Drosera so that it will build 64-bit.
5057
5058         * Drosera/mac/DebuggerApplication.mm:
5059         (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
5060         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
5061         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
5062
5063 2008-05-07  David Kilzer  <ddkilzer@apple.com>
5064
5065         Use File::Find and Getopt::Long in make-js-test-wrappers
5066
5067         Reviewed by Darin Adler.
5068
5069         * Scripts/make-js-test-wrappers:
5070         - Updated Apple copyright statement.
5071         - Added command-line switch parsing and -h|--help switch.
5072         - Allowed user to pass list of files/directories on which to do
5073           a restricted search for TEMPLATE.html files.  The default
5074           behavior is still to search the entire LayoutTests directory.
5075         - Removed duplicate 'use strict' statement.
5076         - Replaced use of `find` statements with File::Find::find().
5077         - Remove unneeded chomp() calls now that we use File::Find.
5078         (directoryFilter): Added.  Filters .svn directories when used
5079         with File::Find::find().
5080         (findTemplateFiles): Added.  Returns a list of TEMPLATE.html
5081         files found.
5082
5083 2008-05-05  Steve Falkenburg  <sfalken@apple.com>
5084
5085         Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
5086
5087         * DumpRenderTree/win/DumpRenderTree.vcproj:
5088         * DumpRenderTree/win/ImageDiff.vcproj:
5089
5090 2008-05-05  Adele Peterson  <adele@apple.com>
5091
5092         Reviewed by Adam.
5093
5094         Look for the right ImageDiff executable for debug builds.
5095
5096         * Scripts/run-webkit-tests:
5097
5098 2008-05-05  Darin Adler  <darin@apple.com>
5099
5100         * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
5101         leak tests.
5102
5103 2008-05-05  Ariya Hidayat  <ariya.hidayat@trolltech.com>
5104
5105         Reviewed by Simon.
5106
5107         In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
5108         tests expect to be 480x360)
5109
5110         * DumpRenderTree/qt/DumpRenderTree.cpp:
5111         (WebCore::DumpRenderTree::open):
5112
5113 2008-05-02  Dan Bernstein  <mitz@apple.com>
5114
5115         Reviewed by Adam Roben.
5116
5117         - add an option to svn-apply to set the reviewer name in change logs
5118
5119         * Scripts/svn-apply: Added a [-r|--reviewer name] option.
5120
5121 2008-05-01  David Kilzer  <ddkilzer@apple.com>
5122
5123         Clean up configuration usage in run-webkit-tests
5124
5125         Reviewed by Adam.
5126
5127         * Scripts/run-webkit-tests: Parse configuration switches using
5128         passedConfiguration() from webkitdirs.pm like every other script.
5129         Note that we must still call setConfiguration() afterwards in
5130         case the --configuration switch was used.  Use $configurationOption
5131         when running build-dumprendertree instead of recreating the switch.
5132
5133 2008-04-29  Adam Roben  <aroben@apple.com>
5134
5135         Restore the beloved COMPtr::operator&
5136
5137 2008-04-29  Adam Roben  <aroben@apple.com>
5138
5139         Windows build fixes
5140
5141         Replace COMPtr::operator& with COMPtr::adoptionPointer.
5142
5143 2008-04-25  Alexey Proskuryakov  <ap@webkit.org>
5144
5145         Reviewed by Darin Adler.
5146
5147         Fix run-webkit-tests --threading
5148         and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
5149         Proxy server issue in Sunday's Nightly
5150
5151         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
5152         (runJavaScriptThread):
5153         (startJavaScriptThreads):
5154         (stopJavaScriptThreads):
5155         Spawned threads were immediately detached, unlike the original ones, so joining them
5156         made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
5157         waits for them all to exit.
5158
5159 2008-04-28  Holger Hans Peter Freyther  <zecke@selfish.org>
5160
5161         Reviewed by Simon.
5162
5163         Reset dumping resource load callbacks to false for the next test
5164
5165
5166         * DumpRenderTree/qt/jsobjects.cpp:
5167         (LayoutTestController::reset):
5168
5169 2008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
5170
5171         Reviewed by Simon.
5172
5173         Adapt to the latest API changes in WebKit/qt/Api.
5174
5175         * DumpRenderTree/qt/DumpRenderTree.cpp:
5176         (WebCore::DumpRenderTree::DumpRenderTree):
5177         * DumpRenderTree/qt/jsobjects.cpp:
5178
5179 2008-04-26  Robin Dunn  <robin@alldunn.com>
5180
5181         Reviewed by Kevin Ollivier.
5182
5183         Delete the DerivedSources after make clean has been done so that the DerivedSources
5184         don't get re-created. Also, use the proper extension for the Win wxPython extension.
5185
5186         https://bugs.webkit.org/show_bug.cgi?id=18756
5187
5188         * wx/build-wxwebkit:
5189
5190 2008-04-26  Adam Barth <hk9565@gmail.com>
5191
5192         Reviewed by Adam Roben and Sam Weinig.
5193
5194         Updates LayoutTestController to use host instead of domain.
5195
5196         Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
5197
5198         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
5199         (LayoutTestController::setDatabaseQuota):
5200         * DumpRenderTree/mac/UIDelegate.mm:
5201         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
5202
5203 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
5204
5205         wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
5206
5207         * wx/install-unix-extras:
5208
5209 2008-04-26  Robin Dunn  <robin@alldunn.com>
5210
5211         Reviewed by Kevin Ollivier.
5212
5213         Allow the user to set the path to SWIG using an environment variable.
5214
5215         https://bugs.webkit.org/show_bug.cgi?id=18660
5216
5217         * wx/build-wxwebkit:
5218
5219 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
5220
5221         wx build fix. Download the latest libpng version for building the
5222         dependencies.
5223
5224         * wx/install-unix-extras:
5225
5226 2008-04-25  Holger Hans Peter Freyther  <zecke@selfish.org>
5227
5228         Reviewed by Simon.
5229
5230         Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
5231
5232         Similar to Editing and Frameloading we do the dumping within WebCore
5233
5234
5235         * DumpRenderTree/qt/jsobjects.cpp:
5236         (LayoutTestController::dumpResourceLoadCallbacks):
5237         * DumpRenderTree/qt/jsobjects.h:
5238
5239 2008-04-24  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
5240
5241         Reviewed by Maciej Stachowiak.
5242
5243         http://bugs.webkit.org/show_bug.cgi?id=18485
5244         Typo and documentation fix for build-webkit
5245
5246         * Scripts/build-webkit:
5247
5248 2008-04-24  Anders Carlsson  <andersca@apple.com>
5249
5250         Reviewed by Sam.
5251
5252         Don't call fprintf from the signal handler.
5253
5254         * DumpRenderTree/mac/DumpRenderTree.mm:
5255         (crashHandler):
5256
5257 2008-04-23  Adam Roben  <aroben@apple.com>
5258
5259         Make crashes be reported as crashes, not hangs
5260
5261         Reviewed by David Kilzer.
5262
5263         * Scripts/run-webkit-tests:
5264         (top level): Use the new status field of the output from
5265         readFromDumpToolWithTimer to determine if the test crashed or hung.
5266         (sub readFromDumpToolWithTimer):
5267           - If we fail to read a line and $! is not EAGAIN, then we've crashed
5268             and should not try to read any more.
5269           - Changed the timedout field to a more general status field.
5270
5271 2008-04-22  David Kilzer  <ddkilzer@apple.com>
5272
5273         Bug 18683: update-webkit returns 0 even if it fails
5274
5275         <https://bugs.webkit.org/show_bug.cgi?id=18683>
5276
5277         Reviewed by Mitz Pettel.
5278
5279         * Scripts/update-webkit:
5280         (runSvnUpdate): Die if close() fails.
5281
5282 2008-04-21  Adam Roben  <aroben@apple.com>
5283
5284         Flush stdout/stderr after printing every #EOF separator
5285
5286         This fixes a hang when running the pixel tests on Windows
5287
5288         Reviewed by Mitz Pettel.
5289
5290         * DumpRenderTree/win/DumpRenderTree.cpp:
5291         (dump):
5292         (main): We don't have to flush stdout/stderr in the arguments loop
5293         anymore, as runTest flushes for us.
5294
5295 2008-04-21  Adam Roben  <aroben@apple.com>
5296
5297         Fix pixel tests
5298
5299         * Scripts/run-webkit-tests:
5300         (sub readFromDumpToolWithTimer): Use readline instead of read to
5301         ensure that we don't read past the #EOF marker.
5302
5303 2008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5304
5305         Reviewed by Simon.
5306
5307         Build fix for Qt 4.3
5308
5309         * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
5310         always defined. Do this by adding defines to the compiler line
5311
5312         * DumpRenderTree/qt/DumpRenderTree.pro:
5313
5314 2008-04-19  Mike Hommey  <glandium@debian.org>
5315
5316         Reviewed by Alp Toker.
5317
5318         Don't build GtkLauncher and DumpRenderTree with rpath.
5319
5320         * GNUmakefile.am:
5321
5322 2008-04-18  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
5323
5324         Reviewed by Alp Toker.
5325
5326         http://bugs.webkit.org/show_bug.cgi?id=16620
5327         [GTK] Autotools make dist and make check support
5328
5329         Cleanups.
5330
5331         * GNUmakefile.am:
5332
5333 2008-04-18  Adam Roben  <aroben@apple.com>
5334
5335         Drop the hang timer to 30 seconds
5336
5337         This matches what DRT/mac was using.
5338
5339         Reviewed by Mitz Pettel.
5340
5341         * Scripts/run-webkit-tests:
5342
5343 2008-04-18  Adam Roben  <aroben@apple.com>
5344
5345         Get rid of DRT's Watchdog
5346
5347         run-webkit-tests now detects hangs and samples DRT as needed.
5348
5349         Reviewed by Mitz Pettel.
5350
5351         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
5352         Watchdog* files from the project.
5353         * DumpRenderTree/Watchdog.cpp: Removed.
5354         * DumpRenderTree/Watchdog.h: Removed.
5355         * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
5356         (dumpRenderTree):
5357         (runTest):
5358         * DumpRenderTree/mac/WatchdogMac.h: Removed.
5359         * DumpRenderTree/mac/WatchdogMac.mm: Removed.
5360         * Scripts/run-webkit-tests:
5361         (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
5362         (sub sampleDumpTool): Added. Writes a sample report to
5363         ~/Library/Logs/DumpRenderTree/HangReport.txt.
5364
5365 2008-04-18  Simon Hausmann  <hausmann@webkit.org>
5366
5367         Reviewed by Holger.
5368
5369         Adapt to the API changes in WebKit/qt
5370
5371         * DumpRenderTree/qt/DumpRenderTree.cpp:
5372         (WebCore::WebPage::WebPage):
5373         (WebCore::DumpRenderTree::DumpRenderTree):
5374         (WebCore::DumpRenderTree::initJSObjects):
5375         (WebCore::DumpRenderTree::dumpFramesAsText):
5376         (WebCore::DumpRenderTree::dump):
5377
5378 2008-04-17  Adam Roben  <aroben@apple.com>
5379
5380         Fix many tests on Windows
5381
5382         * Scripts/run-webkit-tests:
5383         (readFromDumpToolWithTimer):
5384          - Use read instead of sysread to ensure that we don't interfere with
5385            other uses of buffered IO in this script.
5386         (setFileHandleNonBlocking): Actually set the filehandle to blocking
5387         when specified.
5388
5389 2008-04-17  Adam Roben  <aroben@apple.com>
5390
5391         Fix ~10 tests
5392
5393         * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
5394         whatever newline happens to be at the end of what we've read.
5395
5396 2008-04-17  Adam Roben  <aroben@apple.com>
5397
5398         Remove DRT/win's hang timer
5399
5400         run-webkit-tests takes care of this for us now
5401
5402         Reviewed by Anders Carlsson.
5403
5404         * DumpRenderTree/win/DumpRenderTree.cpp:
5405
5406 2008-04-17  Adam Roben  <aroben@apple.com>
5407
5408         Don't wait for the hang timer twice in the case of a hang
5409
5410         Previously we'd wait for a hang while reading both stdout and stderr
5411         from DRT. Now we'll only wait for one or the other.
5412
5413         Reviewed by Anders Carlsson.
5414
5415         * Scripts/run-webkit-tests:
5416         (top level): Don't wait for stderr to time out if stdout already timed
5417         out.
5418         (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
5419         after the first read that returns no data.
5420
5421 2008-04-17  Adam Roben  <aroben@apple.com>
5422
5423         Don't throw away the output from timed out tests
5424
5425         Reviewed by Anders Carlsson.
5426
5427         * Scripts/run-webkit-tests:
5428         (top level): Updated for changes to readFromDumpToolWithTimer.
5429         (readFromDumpToolWithTimer): Return a hash that contains both the
5430         output and whether or not the test timed out.
5431
5432 2008-04-17  Adam Roben  <aroben@apple.com>
5433
5434         Make the hang timer 60 seconds
5435
5436         * Scripts/run-webkit-tests:
5437
5438 2008-04-17  Adam Roben  <aroben@apple.com>
5439
5440         Get rid of carriage returns in DRT/win's stderr
5441
5442         Reviewed by Eric Seidel.
5443
5444         * DumpRenderTree/win/DumpRenderTree.cpp:
5445         (main): Mark stderr as binary like we already do for stdout.
5446
5447 2008-04-17  Adam Roben  <aroben@apple.com>
5448
5449         Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
5450         timeout long tests)
5451
5452         <https://bugs.webkit.org/show_bug.cgi?id=17678>
5453
5454         We now abort tests that take longer than 60 seconds to produce output.
5455         This matches the watchdog timer in DRT/mac and DRT/win (which we can
5456         now remove).
5457
5458         Reviewed by Eric Seidel.
5459
5460         * Scripts/run-webkit-tests:
5461         (top level): Read DRT's output using the new readFromDumpToolWithTimer
5462         subroutine. If readFromDumpToolWithTimer returns undefined it means
5463         the test timed out, so we register the test as a hang and move on.
5464         (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
5465         both crashed and timed out tests. If the test timed out, we kill DRT
5466         before returning.
5467         (sub linksForTimedOutTest): Added. We don't have any output to link to for
5468         tests that timed out.
5469         (sub recordActualResultsAndDiff): Don't call length on undefined.
5470         (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
5471         from a filehandle until an #EOF is reached or
5472         $maximumSecondsWithoutOutput have elapsed.
5473         (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
5474         non-blocking.
5475
5476 2008-04-17  Adam Roben  <aroben@apple.com>
5477
5478         Refactor test results page generation
5479
5480         Reviewed by Eric Seidel.
5481
5482         * Scripts/run-webkit-tests:
5483         (sub htmlForResultsSection): Added. Takes a set of tests, a
5484         description, and a subroutine to generate the links for each test, and
5485         creates a HTML string containing a table of the tests and their
5486         links.
5487         (sub linksForExpectedAndActualResults): Added. Replaces the
5488         htmlForExpectedAndActualResults subroutine.
5489         (sub linksForMismatchTest): Added.
5490         (sub linksForCrashOrErrorTest): Added.
5491         (sub linksForNewTest): Added.
5492
5493 2008-04-17  Adam Roben  <aroben@apple.com>
5494
5495         Print the extension for all tests in the test results page
5496
5497         Reviewed by Eric Seidel.
5498
5499         * Scripts/run-webkit-tests:
5500
5501 2008-04-17  Adam Roben  <aroben@apple.com>
5502
5503         Move code that counts finished tests into a subroutine
5504
5505         Reviewed by Eric Seidel.
5506
5507         * Scripts/run-webkit-tests:
5508         (sub countFinishedTest): Added.
5509
5510 2008-04-17  Adam Roben  <aroben@apple.com>
5511
5512         Move code that handles a crash into a subroutine
5513
5514         Reviewed by Eric Seidel.
5515
5516         * Scripts/run-webkit-tests:
5517         (sub testCrashed): Added.
5518
5519 2008-04-17  Eric Seidel  <eric@webkit.org>
5520
5521         Reviewed by hyatt.
5522
5523         Rename RenderView to RenderViewport in the next rename patch.
5524
5525         * Scripts/do-webcore-rename:
5526
5527 2008-04-17  Mario Bensi  <mbensi@pleyo.com>
5528
5529         Reviewed by Alp Toker.
5530
5531         http://bugs.webkit.org/show_bug.cgi?id=18543
5532         DumpRenderTree gtk freeze
5533
5534         fix DumpRenderTree gtk freeze
5535
5536         * DumpRenderTree/gtk/DumpRenderTree.cpp:
5537         (dump):
5538
5539 2008-04-15  Anders Carlsson  <andersca@apple.com>
5540
5541         Add missing ;
5542
5543         * Scripts/build-webkit:
5544
5545 2008-04-15  Anders Carlsson  <andersca@apple.com>
5546
5547         Reviewed by Adam.
5548
5549         Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
5550
5551         * Scripts/build-webkit:
5552
5553 2008-04-15  Andre Poenitz  <andre.poenitz@trolltech.com>
5554
5555         Reviewed by Simon.
5556
5557         Fix compilation with Qt namespaces
5558
5559         Qt can be configured to have all of its classes inside a specified namespaces.
5560         This is for example used in plugin/component environments like Eclipse.
5561
5562         This change makes it possible to let the Qt port compile against a namespaced
5563         Qt by the use of macros Qt provides to properly forward declare Qt classes in
5564         the namespace.
5565
5566         * DumpRenderTree/qt/DumpRenderTree.h:
5567
5568 2008-04-08  Kevin Ollivier  <kevino@theolliviers.com>
5569
5570         Reviewed by Darin Adler.
5571
5572         Add a script that propagates any file changes made to the Bakefiles
5573         over to GTK and Qt build systems. Still needs to be wired into
5574         those ports though.
5575
5576         * Scripts/update-sources-list.py: Added.
5577
5578 2008-04-08  Mark Rowe  <mrowe@apple.com>
5579
5580         Clean up after Brady.
5581
5582         * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
5583
5584 2008-04-08  Brady Eidson  <beidson@apple.com>
5585
5586         Reviewed by Mitzpettel
5587
5588         Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
5589         -WebArchive subresources dump in random order, intermittent failures
5590
5591         * DumpRenderTree/mac/DumpRenderTree.mm:
5592         (compareResourceURLs): Sorting function based on the resource URLs
5593         (serializeWebArchiveToXML): Sort the subresource array
5594
5595 2008-04-07  Brady Eidson  <beidson@apple.com>
5596
5597         OMG, BUILD - please!
5598
5599         * Scripts/build-webkit:
5600
5601 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5602
5603         Reviewed by Simon.
5604
5605         * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
5606         * Running these tests on windows and other platforms might need some work.
5607
5608         * Scripts/run-webkit-tests:
5609
5610 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5611
5612         Reviewed by Simon.
5613
5614         * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
5615         is not exporting enough to create the output in DRT itself. Settle with the approach
5616         Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
5617         * run-webkit-tests http/tests(/loading) can now be executed.
5618         * For tests in loading/ directories we are going to throw away the dirty
5619         QWebPage to start with something clean.
5620
5621
5622         * DumpRenderTree/qt/DumpRenderTree.cpp:
5623
5624 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5625
5626         Reviewed by Simon.
5627
5628         * Treat http and https as special URLs as well. Change the main.cpp and
5629         DumpRenderTree.cpp to handle http and https URIs as input.
5630         * I'm not doing the clean up and merging of these two checks now.
5631
5632
5633         * DumpRenderTree/qt/DumpRenderTree.cpp:
5634         (WebCore::DumpRenderTree::readStdin):
5635         * DumpRenderTree/qt/main.cpp:
5636         (main):
5637
5638 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
5639
5640         Reviewed by Simon.
5641
5642         * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
5643         located in a directory with the name "loading". And this will autoamtically
5644         enable dumping.
5645         * Remove this method from the LayoutTestController as it is unused now and this
5646         avoids adding it to the DRT of the Qt port.
5647
5648
5649         * DumpRenderTree/LayoutTestController.cpp:
5650         (setPrivateBrowsingEnabledCallback):
5651
5652 2008-04-01  Christian Dywan  <christian@imendio.com>
5653
5654         Build fix for GCC 4.3.
5655
5656         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
5657
5658 2008-04-01  Simon Hausmann  <hausmann@webkit.org>
5659
5660         Reviewed by Holger.
5661
5662         Fix Qt DRT run by also printing EOF on stderr, as expected by
5663         run-webkit-tests.
5664
5665         * DumpRenderTree/qt/DumpRenderTree.cpp:
5666         (WebCore::DumpRenderTree::dump):
5667
5668 2008-03-31  Julien Chaffraix  <julien.chaffraix@gmail.com>
5669
5670         Reviewed by Darin Adler.
5671
5672         Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
5673
5674         Remove trailing '/' in $sourceDir in determineSourceDir().
5675
5676         Fix suggested by Dmitriy Kazachkov.
5677
5678         * Scripts/webkitdirs.pm:
5679
5680 2008-03-29  Adam Roben  <aroben@apple.com>
5681
5682         Update for rename of an IWebViewPrivate method
5683
5684         Reviewed by Mitz Pettel.
5685
5686         * DumpRenderTree/win/DumpRenderTree.cpp:
5687         (createWebViewAndOffscreenWindow):
5688
5689 2008-03-26  Antti Koivisto  <antti@apple.com>
5690
5691         Reviewed by Anders.
5692
5693         Enable SVG animation support by default.
5694
5695         * Scripts/build-webkit:
5696
5697 2008-03-25  Adam Roben  <aroben@apple.com>
5698
5699         Windows build fix
5700
5701         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
5702         Add $(WebKitLibrariesDir)\include to the include path so we can find
5703         stdint.h there.
5704
5705 2008-03-24  Eric Seidel  <eric@webkit.org>
5706
5707         Reviewed by Mark.
5708
5709         Clean up SVG features message to be less confusing.
5710
5711         * Scripts/build-webkit:
5712
5713 2008-03-24  Sam Weinig  <sam@webkit.org>
5714
5715         Reviewed by Dave Hyatt.
5716
5717         Add EventSender.zoomPageIn/zoomPageOut support to DRT.
5718
5719         * DumpRenderTree/mac/DumpRenderTree.mm:
5720         (resetWebViewToConsistentStateBeforeTesting):
5721         * DumpRenderTree/mac/EventSendingController.mm:
5722         (+[EventSendingController isSelectorExcludedFromWebScript:]):
5723         (-[EventSendingController zoomPageIn]):
5724         (-[EventSendingController zoomPageOut]):
5725         * DumpRenderTree/win/DumpRenderTree.cpp:
5726         (resetWebViewToConsistentStateBeforeTesting):
5727         * DumpRenderTree/win/EventSender.cpp:
5728         (textZoomInCallback):
5729         (textZoomOutCallback):
5730         (zoomPageInCallback):
5731         (zoomPageOutCallback):
5732
5733 2008-03-24  Dan Bernstein  <mitz@apple.com>
5734
5735         Reviewed by Mark Rowe.
5736
5737         - update bisect-builds for Safari 3.1
5738
5739         * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
5740         revision, r29711.
5741
5742 2008-03-21  Rodney Dawes  <dobey@wayofthemonkey.com>
5743
5744         Reviewed by Holger.
5745
5746         http://bugs.webkit.org/show_bug.cgi?id=17981
5747
5748         Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
5749
5750         * GNUmakefile.am:
5751
5752 2008-03-21  Adam Roben  <aroben@apple.com>
5753
5754         Remove a non-working mirror from cygwin-downloader and add the ruby package
5755
5756         * CygwinDownloader/cygwin-downloader.py:
5757         * CygwinDownloader/cygwin-downloader.zip: Updated.
5758
5759 2008-03-20  Mark Rowe  <mrowe@apple.com>
5760
5761         Reviewed by Sam Weinig.
5762
5763         Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
5764         This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
5765         command-line.
5766
5767         * Scripts/build-webkit:
5768
5769 2008-03-17  Eric Seidel  <eric@webkit.org>
5770
5771         Reviewed by Dan Bernstein.
5772
5773         Fix bogus argCount check breaking plugin test.
5774
5775         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5776
5777 2008-03-17  Eric Seidel  <eric@webkit.org>
5778
5779         Reviewed by darin.
5780
5781         Cleanup PluginObject.cpp and add support for testing
5782         converting from int -> identifier -> string
5783         and from string -> identifier -> int
5784         as well as round-tripping ints and stings through identifiers
5785
5786         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
5787         (pluginGetProperty):
5788         (pluginSetProperty):
5789         (testDOMAccess):
5790         (stringVariantToIdentifier):
5791         (int32VariantToIdentifier):
5792         (doubleVariantToIdentifier):
5793         (variantToIdentifier):
5794         (testIdentifierToString):
5795         (testIdentifierToInt):
5796         (testCallback):
5797         (getURL):
5798         (removeDefaultMethod):
5799         (getURLNotify):
5800         (testInvokeDefault):
5801         (destroyStream):
5802         (testEnumerate):
5803         (testGetIntIdentifier):
5804         (testGetProperty):
5805         (testEvaluate):
5806         (testGetPropertyReturnValue):
5807         (pluginInvoke):
5808         (pluginInvokeDefault):
5809         (pluginInvalidate):
5810         (pluginAllocate):
5811         (pluginDeallocate):
5812         (handleCallback):
5813
5814 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
5815
5816         Rubber stamped by Darin Adler.
5817
5818         Add set-webkit-configuration support for wx port, and centralize
5819         build dir location setting.
5820
5821         http://bugs.webkit.org/show_bug.cgi?id=17790
5822
5823         * wx/browser/browser.bkl:
5824         * wx/build-wxwebkit:
5825
5826 2008-03-15  Darin Adler  <darin@apple.com>
5827
5828         * Scripts/commit-log-editor: Include the name line of the change log entry.
5829         A long time ago I designed this script to not include the name because I
5830         thought it was redundant (same as the name of the person checking in), but
5831         nowadays it's more common for someone to check something in done by someone
5832         else.
5833
5834         * Scripts/do-webcore-rename: Added some more planned renames and removed
5835         some that were already done "by hand".
5836
5837 2008-03-13  Brent Fulgham  <bfulgham@gmail.com>
5838
5839         Reviewed by Darin Adler.
5840
5841         Correct paths to vsprops files so they use the environment
5842         variable, rather than hard-coded path.
5843         http://bugs.webkit.org/show_bug.cgi?id=17797.
5844
5845         * WinLauncher/WinLauncher.vcproj:  Correct paths to vsprops.
5846
5847 2008-03-12  Steve Falkenburg  <sfalken@apple.com>
5848
5849         VSExpress build fix
5850
5851         * WinLauncher/WinLauncher.vcproj:
5852
5853 2008-03-12  Holger Hans Peter Freyther  <zecke@selfish.org>
5854
5855         Reviewed by Alp Toker.
5856
5857         Run testkjs in the correct productsDir in the GTK+ port.
5858
5859         * Scripts/run-javascriptcore-tests:
5860
5861 2008-03-11  Brent Fulgham  <bfulgham@gmail.com>
5862
5863         Reviewed by Adam Roben.
5864
5865         Enabled WinLauncher as part of normal Windows build.
5866         http://bugs.webkit.org/show_bug.cgi?id=17715.
5867
5868         * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
5869           it can find the proper libraries to link against.
5870
5871 2008-03-10  Julien Chaffraix  <julien.chaffraix@gmail.com>
5872
5873         Reviewed and landed by Darin Adler.
5874
5875         http://bugs.webkit.org/show_bug.cgi?id=17581
5876         Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
5877
5878         Remove the previous warning which occurs when the --random option is used.
5879
5880         * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
5881         its inequality
5882
5883 2008-03-07  Simon Hausmann  <hausmann@webkit.org>
5884
5885         Reviewed by Darin Adler.
5886
5887         Done with Lars.
5888
5889         Ported the netscape test plugin to QWebPluginFactory.
5890
5891         * DumpRenderTree/qt/DumpRenderTree.cpp:
5892         (WebCore::WebPage::WebPage):
5893         * DumpRenderTree/qt/main.cpp:
5894         * DumpRenderTree/qt/testplugin.cpp:
5895         (TestPlugin::plugins):
5896         (TestPlugin::create):
5897         * DumpRenderTree/qt/testplugin.h:
5898
5899 2008-03-09  Steve Falkenburg  <sfalken@apple.com>
5900
5901         Stop Windows build if an error occurs in a prior project.
5902
5903         Rubber stamped by Darin Adler.
5904
5905         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
5906         * DumpRenderTree/win/DumpRenderTree.vcproj:
5907         * DumpRenderTree/win/ImageDiff.vcproj:
5908         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
5909
5910 2008-03-08  Julien Chaffraix  <julien.chaffraix@gmail.com>
5911
5912         Reviewed by Mark Rowe.
5913
5914         DRT build fix for Tiger.
5915
5916         * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
5917
5918 2008-03-07  Mark Rowe  <mrowe@apple.com>
5919
5920         Reviewed by Oliver Hunt.
5921
5922         Fix WebKit build with GCC 4.2.
5923
5924         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
5925
5926 2008-03-07  Stephanie Lewis <slewis@apple.com>
5927
5928         Reviewed by Oliver.
5929
5930         Add Windows part of <rdar://problem/5693690>
5931
5932         * DumpRenderTree/win/DumpRenderTree.cpp:
5933         (dump):
5934         (main):
5935
5936 2008-03-07  Alp Toker  <alp@atoker.com>
5937
5938         Back out the r30818, r30819 build fix attempts now the GTK+ build
5939         server has been upgraded.
5940
5941         * Scripts/webkitdirs.pm:
5942
5943 2008-03-07  Stephanie Lewis <slewis@apple.com>
5944
5945         Reviewed by Geoff.
5946
5947         <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
5948
5949         * DumpRenderTree/mac/DumpRenderTree.mm:
5950         (dump): push EOF to stderr after every test
5951         * Scripts/run-webkit-tests: collect stderr output and print it
5952
5953 2008-03-07  Steve Falkenburg  <sfalken@apple.com>
5954
5955         Get pdevenv working with Visual Studio Express.
5956
5957         Reviewed by Adam.
5958
5959         * Scripts/pdevenv:
5960
5961 2008-03-06  Adele Peterson  <adele@apple.com>
5962
5963         Reviewed by Darin Adler.
5964
5965         Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
5966
5967         * DumpRenderTree/mac/UIDelegate.mm:
5968         (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
5969         (-[UIDelegate webViewUnfocus:]): Added.  In Safari, the default is to focus another window if there is one.
5970          To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
5971
5972 2008-03-06  Matt Lilek  <webkit@mattlilek.com>
5973
5974         Reviewed by Adam Roben.
5975
5976         Bug 17691: REGRESSION: FindSafari doesn't work
5977         http://bugs.webkit.org/show_bug.cgi?id=17691
5978
5979         Swap my change from r30394 to use the Release libraries instead of Debug
5980         since some machines don't have the Debug version.
5981
5982         * FindSafari/FindSafari.vcproj:
5983
5984 2008-03-06  Kevin McCullough  <kmccullough@apple.com>
5985
5986         Reviewed by Sam and Tim.
5987
5988         <rdar://5631450> Drosera: breakpoint indicators disappear after the
5989         script is finished running.
5990         - If there is a pre-existing breakpoint on a line when the file is
5991         updated we need to redraw it.
5992
5993         * Drosera/debugger.js:
5994
5995 2008-03-06  Brady Eidson  <beidson@apple.com>
5996
5997         Tiger build fix...?
5998
5999         * DumpRenderTree/mac/WatchdogMac.mm:
6000
6001 2008-03-06  Brady Eidson  <beidson@apple.com>
6002
6003         Reviewed by Darin
6004
6005         Added a cross-platform Watchdog thread to DRT.
6006
6007         The current watchdog in both DRTWin and DRTMac is Timer based.  Therefore, deadlocks and long running
6008         main thread hangs still affect DRT.
6009
6010         By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
6011         and true deadlocks can be caught.
6012
6013         There is one hook for platform specific code.  As I did my development and testing on Mac, and Mac has
6014         `sample` available, the Mac implementation of this hook samples the process before it is killed.
6015
6016         I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
6017
6018         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
6019         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
6020
6021         * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
6022         * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
6023
6024         * DumpRenderTree/Watchdog.cpp: Added.
6025         (Watchdog::Watchdog):
6026         (Watchdog::~Watchdog):
6027         (Watchdog::start):
6028         (Watchdog::stop):
6029         (Watchdog::checkIn):
6030         (Watchdog::setWatchdogInterval):
6031         (Watchdog::handleHang):
6032         (Watchdog::watchdogThreadStart):
6033         (Watchdog::watchdogThread):
6034         * DumpRenderTree/Watchdog.h: Added.
6035
6036         * DumpRenderTree/mac/WatchdogMac.h: Added.
6037         * DumpRenderTree/mac/WatchdogMac.mm: Added.
6038         (WatchdogMac::handleHang): Sample the process and write it out to a file
6039
6040         * DumpRenderTree/mac/DumpRenderTree.mm:
6041         (dumpRenderTree): Setup and start the watchdog before running any tests
6042         (runTest): Checkin with the watchdog after each test
6043
6044 2008-03-05  Alp Toker  <alp@atoker.com>
6045
6046         Attempt to get the autotools build working again on the bot with
6047         build-webkit.
6048
6049         Force the use of /bin/bash since we seem to have bash-isms in the
6050         configure script right now.
6051
6052         * Scripts/webkitdirs.pm:
6053
6054 2008-03-05  Alp Toker  <alp@atoker.com>
6055
6056         Re-attempt to switch to the autotools build system for GTK+.
6057
6058         Change scripts to continue when distclean fails.
6059
6060         * Scripts/webkitdirs.pm:
6061
6062 2008-03-05  Alp Toker  <alp@atoker.com>
6063
6064         Force qmake for the GTK+ build until we get the build bot to succeed
6065         with autotools (currently dies at make distclean)
6066
6067         * Scripts/webkitdirs.pm:
6068
6069 2008-03-04  Alp Toker  <alp@atoker.com>
6070
6071         Reviewed by Mark Rowe.
6072
6073         Switch the default GTK+ build system from qmake to autotools.
6074
6075         qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
6076
6077         * Scripts/build-webkit:
6078         * Scripts/run-launcher:
6079         * Scripts/run-webkit-tests:
6080         * Scripts/webkitdirs.pm:
6081
6082 2008-03-04  Sam Weinig  <sam@webkit.org>
6083
6084         Reviewed by Darin Adler.
6085
6086         * Scripts/do-webcore-rename: Update renaming plan.
6087
6088 2008-03-02  Brent Fulgham  <bfulgham@gmail.com>
6089
6090         Reviewed by Alp Toker.
6091
6092         Remove some needless LIBS.
6093
6094         * GNUmakefile.am:
6095
6096 2008-03-02  Alp Toker  <alp@atoker.com>
6097
6098         Reviewed by Mark Rowe.
6099
6100         Split the WebKit GTK+ build out of the WebCore build and change the
6101         shared object name to match the package name.
6102
6103         * GNUmakefile.am:
6104
6105 2008-03-01  Mark Rowe  <mrowe@apple.com>
6106
6107         Reviewed by Tim Hatcher.
6108
6109         Update Xcode configuration to support building debug and release from the mysterious future.
6110
6111         * DumpRenderTree/mac/Configurations/Base.xcconfig:
6112
6113 2008-02-29  David Kilzer  <ddkilzer@apple.com>
6114
6115         Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
6116
6117         Reviewed by Dan.
6118
6119         Originally broken in r26838.
6120
6121         * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
6122         not local, unused @args variable.
6123
6124 2008-02-29  David Kilzer  <ddkilzer@apple.com>
6125
6126         Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
6127
6128         <http://bugs.webkit.org/show_bug.cgi?id=15754>
6129
6130         Reviewed by Geoff and Darin.
6131
6132         We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
6133         then removing that path from all file:/// URLs in the WebArchive output so these tests
6134         would pass no matter where they were run.
6135
6136         The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
6137         current working directory, but the WebArchive does not.  This left the current working
6138         directory in all file:/// URLs in the test output, and thus all tests failed, for any
6139         developer that used symlinks to get to their WebKit source directory.
6140
6141         The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
6142         remove the current working directory path (no matter what it is) after "file://" but
6143         before "/LayoutTests/".
6144
6145         * DumpRenderTree/mac/DumpRenderTree.mm:
6146         (normalizeWebResourceURL): Removed unused oldURLBase argument.  We now replace the
6147         current working directory as described above.
6148         (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument.  Update
6149         calls to normalizeWebResourceURL().
6150         (serializeWebArchiveToXML): Removed now unused cwdURL variable.  Update calls to
6151         normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
6152
6153 2008-02-26  Robin Dunn <robin@alldunn.com>
6154
6155         Reviewed by Kevin Ollivier.
6156
6157         Improvements to the wx build script.
6158
6159         http://bugs.webkit.org/show_bug.cgi?id=17492
6160
6161         * wx/build-wxwebkit:
6162         - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
6163         - Allow the build script to properly find wxPython includes under different setups
6164         - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
6165
6166 2008-02-26  Timothy Hatcher  <timothy@apple.com>
6167
6168         Reviewed by Darin Adler.
6169
6170         * Scripts/build-webkit: Add --universal and --64-bit flags to make building
6171         64-bit architectures easy. Combine the two flags to build 4-way universal.
6172         * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
6173         non-zero when the build failes.
6174
6175 2008-02-26  Jessica Kahn  <jess@apple.com>
6176
6177         Reviewed by Darin Adler.
6178
6179         * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
6180         so that Safari inherits it when launched. Preexisting code in WebKit checks this
6181         environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
6182         launched by Safari continue to use the standard system WebKit.
6183
6184 2008-02-25  Adam Roben  <aroben@apple.com>
6185
6186         Fix run-webkit-tests after r30394
6187
6188         * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
6189         executable name.
6190
6191 2008-02-24  Darin Adler  <darin@apple.com>
6192
6193         * Scripts/do-webcore-rename: Make some updates based on a trial run of
6194         the renaming script.
6195
6196 2008-02-24  Darin Adler  <darin@apple.com>
6197
6198         * Scripts/do-webcore-rename: More renaming plans.
6199
6200 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
6201
6202         Rubber stamped by Darin Adler.
6203
6204         Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
6205         whitespaces introduced in the previous commit.
6206
6207         * GNUmakefile.am:
6208
6209 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
6210
6211         Rubber-stamped by Darin Adler.
6212
6213         * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
6214
6215 2008-02-23  David Kilzer  <ddkilzer@apple.com>
6216
6217         Please clarify licensing for some files
6218         <http://bugs.webkit.org/show_bug.cgi?id=14970>
6219
6220         Reviewed by Darin Adler.
6221
6222         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
6223         copyright statement.  Replaced license with newer Apple BSD-style license.
6224         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
6225         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
6226         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
6227         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
6228         * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
6229         * mangleme/LICENSE: Added (LGPL).
6230
6231 2008-02-22  Anders Carlsson  <andersca@apple.com>
6232
6233         Reviewed by Adam.
6234
6235         <rdar://problem/5748781>
6236         https://bugs.webkit.org/show_bug.cgi?id=17413
6237         REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
6238
6239         Copy the Java plug-in over to the new location.
6240
6241         * FindSafari/FindSafari.cpp:
6242         (_tmain):
6243
6244 2008-02-22  Anders Carlsson  <andersca@apple.com>
6245
6246         Reviewed by Adam.
6247
6248         <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
6249
6250         * DumpRenderTree/win/DumpRenderTree.cpp:
6251         (runTest):
6252         Init the URL request with the correct timeout.
6253
6254 2008-02-21  Mike Auty  <mike.auty@gmail.com>
6255
6256         Reviewed by Alp Toker.
6257
6258         http://bugs.webkit.org/show_bug.cgi?id=17445
6259         [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
6260
6261         GTK+/autotools build system improvements
6262
6263         The GNUmakefile.am files make use of the LDFLAGS variable to include library
6264         additions such as -ljpeg etc.  Unfortunately, if these inclusions aren't made
6265         in LIBADD/LDADD variables, then they are mis-ordered during the linking.
6266
6267         The as-needed flag discards libraries whose functions have not been needed by
6268         earlier libraries, which therefore makes the ordering important.
6269
6270         This moves all -l library inclusion statements from LDFLAGS variables to
6271         LIBADD/LDADD variables.
6272
6273         * GNUmakefile.am:
6274
6275 2008-02-20  Brent Fulgham  <bfulgham@gmail.com>
6276
6277         Reviewed by Alp.
6278
6279         - http://bugs.webkit.org/show_bug.cgi?id=17428
6280           Reenable a Windows-based launcher
6281
6282         This patch reenables the venerable Spinneret application,
6283         changing its name to match the other lanch applications.
6284
6285         * WinLauncher: Added.
6286         * WinLauncher/WinLauncher.cpp: Added.
6287         (WinLauncherWebHost::updateAddressBar):
6288         (WinLauncherWebHost::QueryInterface):
6289         (WinLauncherWebHost::AddRef):
6290         (WinLauncherWebHost::Release):
6291         (resizeSubViews):
6292         (_tWinMain):
6293         (MyRegisterClass):
6294         (InitInstance):
6295         (WndProc):
6296         (MyEditProc):
6297         (About):
6298         (loadURL):
6299         * WinLauncher/WinLauncher.h: Added.
6300         (WinLauncherWebHost::WinLauncherWebHost):
6301         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
6302         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
6303         (WinLauncherWebHost::didFailProvisionalLoadWithError):
6304         (WinLauncherWebHost::didCommitLoadForFrame):
6305         (WinLauncherWebHost::didReceiveTitle):
6306         (WinLauncherWebHost::didReceiveIcon):
6307         (WinLauncherWebHost::didFinishLoadForFrame):
6308         (WinLauncherWebHost::didFailLoadWithError):
6309         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
6310         (WinLauncherWebHost::willPerformClientRedirectToURL):
6311         (WinLauncherWebHost::didCancelClientRedirectForFrame):
6312         (WinLauncherWebHost::willCloseFrame):
6313         (WinLauncherWebHost::windowScriptObjectAvailable):
6314         * WinLauncher/WinLauncher.ico: Added.
6315         * WinLauncher/WinLauncher.rc: Added.
6316         * WinLauncher/WinLauncher.vcproj: Added.
6317         * WinLauncher/resource.h: Added.
6318         * WinLauncher/small.ico: Added.
6319         * WinLauncher/stdafx.cpp: Added.
6320         * WinLauncher/stdafx.h: Added.
6321
6322 2008-02-19  Brady Eidson  <beidson@apple.com>
6323
6324         Reviewed by Geoff
6325
6326         Fixed a bug in DRT --threaded mode
6327
6328         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
6329         (startJavaScriptThreads): Don't detach the newly created thread.  The later call to stopJavaScriptThreads() tries
6330           to pthread_join() each thread that had been created, but you can't join a detached thread!
6331
6332 2008-02-18  Brady Eidson  <beidson@apple.com>
6333
6334         Changes by Geoff Garen, Reviewed by Darin
6335
6336         Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
6337
6338         DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
6339
6340         [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
6341         This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread.  If the lock has leaked,
6342         this series of method calls will deadlock.  If things are good, it will complete successfully.
6343
6344         * DumpRenderTree/mac/ObjCController.m:
6345         (runJavaScriptThread):
6346         (+[ObjCController isSelectorExcludedFromWebScript:]):
6347         (+[ObjCController webScriptNameForSelector:]):
6348         (-[ObjCController testValueForKey]):
6349
6350 2008-02-18  Matt Lilek  <webkit@mattlilek.com>
6351
6352         Reviewed by Adam.
6353
6354         Remove FindSafari's Release configuration.
6355
6356         * FindSafari/FindSafari.vcproj:
6357
6358 2008-02-15  Adam Roben  <aroben@apple.com>
6359
6360         Fix a typo that broke the Mac build
6361
6362         Reviewed by Mark.
6363
6364         * Scripts/build-webkit:
6365
6366 2008-02-14  Adam Roben  <aroben@apple.com>
6367
6368         Turn on cross-document messaging support by default
6369
6370         Reviewed by Darin Adler.
6371
6372         * Scripts/build-webkit:
6373
6374 2008-02-14  Adam Roben  <aroben@apple.com>
6375
6376         Conditionalize cross-document messaging support
6377
6378         The cross-document messaging parts of HTML 5 are in flux and we want
6379         ports to be able to turn off the support as needed.
6380
6381         Note that the support is turned off by default right now. A subsequent
6382         commit will turn it on by default.
6383
6384         Reviewed by Darin Adler.
6385
6386         * Scripts/build-webkit:
6387
6388 2008-02-14  Darin Adler  <darin@apple.com>
6389
6390        - fix Windows build
6391
6392         * DumpRenderTree/win/UIDelegate.cpp:
6393         (UIDelegate::setStatusText): Update parameter types to match declaration.
6394
6395 2008-02-14  Oliver Hunt  <oliver@apple.com>
6396
6397         Reviewed by Geoff G and Weinig.
6398
6399         Add ability for DRT to report tests setting the status text.
6400
6401         * DumpRenderTree/LayoutTestController.cpp:
6402         (LayoutTestController::LayoutTestController):
6403         (dumpStatusCallbacksCallback):
6404         (LayoutTestController::staticFunctions):
6405         * DumpRenderTree/LayoutTestController.h:
6406         * DumpRenderTree/mac/UIDelegate.mm:
6407         (-[UIDelegate webView:setStatusText:]):
6408         * DumpRenderTree/win/UIDelegate.cpp:
6409         * DumpRenderTree/win/UIDelegate.h:
6410
6411 2008-02-13  Adam Roben  <aroben@apple.com>
6412
6413         Windows build fix
6414
6415         * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
6416
6417 2008-02-13  Adam Roben  <aroben@apple.com>
6418
6419         Windows/GTK+ build fix
6420
6421         * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
6422         get isnan.
6423
6424 2008-02-13  Brady Eidson  <beidson@apple.com>
6425
6426         Reviewed by Darin Adler
6427
6428         Add some much needed Database support to DRT
6429
6430         * DumpRenderTree/LayoutTestController.cpp:
6431         (LayoutTestController::LayoutTestController):
6432         (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
6433           databases are called
6434         (clearAllDatabasesCallback): Allow a test to delete all databases
6435         (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
6436         (LayoutTestController::staticFunctions):
6437
6438         * DumpRenderTree/LayoutTestController.h:
6439         (LayoutTestController::dumpDatabaseCallbacks):
6440         (LayoutTestController::setDumpDatabaseCallbacks):
6441
6442         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6443         (LayoutTestController::clearAllDatabases):
6444         (LayoutTestController::setDatabaseQuota):
6445
6446         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
6447         (LayoutTestController::clearAllDatabases): Stubbed out
6448         (LayoutTestController::setDatabaseQuota): Ditto
6449         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6450         (LayoutTestController::clearAllDatabases): Stubbed out with error message
6451         (LayoutTestController::setDatabaseQuota): Ditto
6452
6453         * DumpRenderTree/mac/UIDelegate.mm:
6454         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
6455           message with details about the event then return a 5mb quota like before
6456
6457
6458 2008-02-12  Steve Falkenburg  <sfalken@apple.com>
6459
6460         Changes to support merged MIDL output.
6461
6462         All COM interfaces are now generated to WebKit.h.
6463
6464         Reviewed by Sam, Ada.
6465
6466         * Drosera/win/BaseDelegate.h:
6467         * Drosera/win/DebuggerClient.cpp:
6468         * Drosera/win/DebuggerDocumentPlatform.cpp:
6469         * Drosera/win/Drosera.cpp:
6470         * Drosera/win/ServerConnection.cpp:
6471         * Drosera/win/ServerConnection.h:
6472         * DumpRenderTree/win/DumpRenderTree.cpp:
6473         * DumpRenderTree/win/EditingDelegate.h:
6474         * DumpRenderTree/win/EventSender.cpp:
6475         * DumpRenderTree/win/FrameLoadDelegate.cpp:
6476         * DumpRenderTree/win/FrameLoadDelegate.h:
6477         * DumpRenderTree/win/GCControllerWin.cpp:
6478         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6479         * DumpRenderTree/win/PolicyDelegate.h:
6480         * DumpRenderTree/win/ResourceLoadDelegate.h:
6481         * DumpRenderTree/win/UIDelegate.cpp:
6482         * DumpRenderTree/win/UIDelegate.h:
6483         * DumpRenderTree/win/WorkQueueItemWin.cpp:
6484
6485 2008-02-10  Dan Bernstein  <mitz@apple.com>
6486
6487         Reviewed by Oliver Hunt.
6488
6489         - fix a memory leak
6490
6491         * DumpRenderTree/cg/ImageDiffCG.cpp:
6492         (getDifferenceBitmap): Use a static CFMutableData instead of allocating
6493         and leaking the buffer each time.
6494
6495 2008-02-07  Adam Roben  <aroben@apple.com>
6496
6497         Fix error in bisect-builds when responding "broken" for the first
6498         build
6499
6500         Reviewed by Dave Kilzer.
6501
6502         * Scripts/bisect-builds: Only try to test the build if the nightly
6503         info for the current index has not been deleted.
6504
6505 2008-02-07  Geoffrey Garen  <ggaren@apple.com>
6506
6507         Reviewed by Alexey Proskuryakov.
6508
6509         Fixed two minor typos in the --root option, to get it working.
6510
6511         * Scripts/run-sunspider:
6512             1. Actually assign the function argument to our local variable.
6513             2. Actually set the $root variable, so we don't try to build later.
6514
6515 2008-02-05  Oliver Hunt  <oliver@apple.com>
6516
6517         RS=Eric.
6518
6519         Re-enable foreignObject by default as it is needed for a number of non-fO
6520         related SVG tests and none of the old known crashes occur anymore.
6521
6522         * Scripts/build-webkit:
6523
6524 2008-02-05  Steve Falkenburg  <sfalken@apple.com>
6525
6526         Build fix.  Don't override intermediate directory.
6527
6528         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
6529
6530 2008-02-05  Holger Hans Peter Freyther  <zecke@selfish.org>
6531
6532         Build fix for Windows. willCloseFrame is a pure virtual and we are
6533         forced to have an implementation.
6534
6535         This partially reverts r30014.
6536
6537         * DumpRenderTree/win/FrameLoadDelegate.cpp:
6538         (FrameLoadDelegate::willCloseFrame):
6539         * DumpRenderTree/win/FrameLoadDelegate.h:
6540
6541 2008-02-05  Nikolas Zimmermann  <zimmermann@kde.org>
6542
6543         Reviewed by Holger.
6544
6545         Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
6546
6547         * Scripts/make-js-test-wrappers:
6548
6549 2008-02-05  Holger Freyther  <zecke@selfish.org>
6550
6551         Reviewed by Darin Adler.
6552
6553         In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
6554         the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
6555         depends on the order the tests are executed.
6556
6557         Propose to remove willCloseFrame and didlCearWindowObject output from the
6558         FrameLoadDelegate and update the test results. The output of didClearWindowObject
6559         is not interesting for any of the current tests and we have other ways to find
6560         out if a frame was closed or not.
6561
6562         * DumpRenderTree/mac/FrameLoadDelegate.mm:
6563         * DumpRenderTree/win/FrameLoadDelegate.cpp:
6564         (FrameLoadDelegate::didClearWindowObject):
6565         * DumpRenderTree/win/FrameLoadDelegate.h:
6566
6567 2008-02-04  Mark Rowe  <mrowe@apple.com>
6568
6569         Reviewed by Oliver Hunt.
6570
6571         Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
6572         Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
6573
6574         Don't install the signal handler unless we are running the pixel tests.
6575         It is currently only used to restore the color profile, but by catching
6576         signals we can trigger a deadlock in DRT while running leak tests.
6577         The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
6578         and a more complete fix will need to be developed to address this for
6579         pixel tests as well.
6580
6581         * DumpRenderTree/mac/DumpRenderTree.mm:
6582         (dumpRenderTree):
6583
6584 2008-02-04  Mark Rowe  <mrowe@apple.com>
6585
6586        Gtk qmake build fix.
6587
6588         * Scripts/webkitdirs.pm:  Fix perl's complaint about an odd number of elements in anonymous hash.
6589
6590 2008-02-04  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
6591
6592         Reviewed by Alp Toker and Mark Rowe.
6593
6594         http://bugs.webkit.org/show_bug.cgi?id=16618
6595         [GTK] build-webkit and run-webkit-tests autootools support
6596
6597         * Scripts/build-webkit: added --database and --icon-database options
6598         * Scripts/run-launcher:
6599         * Scripts/run-webkit-tests:
6600         * Scripts/webkitdirs.pm:
6601
6602 2008-02-04  Oliver Hunt  <oliver@apple.com>
6603
6604         Reviewed by Steve F.
6605
6606         Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
6607
6608         Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
6609         Issues include:
6610           * Uses Sleep() to implement leapForward reliably.
6611           * 3 DND tests still fail for reasons that i have not yet determined
6612           * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
6613
6614         * DumpRenderTree/win/EventSender.cpp:
6615         (leapForwardCallback):
6616         (mouseDownCallback):
6617         (doMouseUp):
6618         (mouseUpCallback):
6619         (doMouseMove):
6620         (mouseMoveToCallback):
6621           Minor updates to these functions to handle the different message queue structure.
6622
6623         (replaySavedEvents):
6624           More complicated now.  Where possible we just use the old while-loop model of execution,
6625           but when leapForward has been used we have to jump through some hoops and set up an
6626           inner event loop so that we can ensure messages get the correct time stamp.
6627
6628         * DumpRenderTree/win/UIDelegate.cpp:
6629         (UIDelegate::doDragDrop):
6630           Call replaySavedEvents directly to force synchronous handling of drag and drop.
6631
6632 2008-02-04  Rodney Dawes  <dobey@wayofthemonkey.com>
6633
6634         Reviewed by Alp Toker and Mark Rowe.
6635
6636         Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
6637         Bug 17175: Use of C++ compiler flags in CFLAGS
6638
6639         * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
6640
6641 2008-02-04  Darin Adler  <darin@apple.com>
6642
6643         Reviewed by Geoff.
6644
6645         * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
6646         and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
6647         subdirectory.
6648
6649 2008-02-04  Adam Roben  <aroben@apple.com>
6650
6651         Windows Apple-only build fix
6652
6653         * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
6654         directory.
6655
6656 2008-02-04  Alp Toker  <alp@atoker.com>
6657
6658         Rubber-stamped by Mark Rowe.
6659
6660         Remove all trailing whitespace in the GTK+ port and related
6661         components.
6662
6663         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
6664         * DumpRenderTree/gtk/GCControllerGtk.cpp:
6665         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
6666         * GNUmakefile.am:
6667
6668 2008-02-01  Eric Seidel  <eric@webkit.org>
6669
6670         Reviewed by Oliver.
6671
6672         Also search LayoutTests/svg for js-based tests.
6673
6674         * Scripts/make-js-test-wrappers:
6675
6676 2008-01-31  Alp Toker  <alp@atoker.com>
6677
6678         Rubber-stamped by Adam Roben.
6679
6680         http://bugs.webkit.org/show_bug.cgi?id=17006
6681         [GTK] Header path should be webkit/webkit.h
6682
6683         Move the GTK+ API sources as needed and update the build systems.
6684
6685         * DumpRenderTree/gtk/DumpRenderTree.cpp:
6686         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
6687         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
6688         * GNUmakefile.am:
6689         * GtkLauncher/main.c:
6690
6691 2008-01-30  Stephanie  <slewis@apple.com>
6692
6693         Reviewed by Geoff.
6694
6695         Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth.  This should make it easier for the buildbots to track new leaks.
6696
6697         * Scripts/run-webkit-tests:
6698
6699 2008-01-30  Alexey Proskuryakov  <ap@webkit.org>
6700
6701         Reviewed by Adam Roben.
6702
6703         One more debug (external) fix.
6704
6705         * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
6706         and Debug configurations.
6707
6708 2008-01-29  Geoffrey Garen  <ggaren@apple.com>
6709
6710         Reviewed by Sam Weinig. Sam Weinig.
6711
6712         Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
6713         fails when run after fast/dom/Window/window-property-shadowing.html (16902)
6714
6715         Modified our policy delegates not to output window.name. Since a
6716         previous test may have explicitly set window.name, we can't rely on its
6717         implicit value in test results.
6718
6719         * DumpRenderTree/mac/PolicyDelegate.mm:
6720         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
6721
6722         * DumpRenderTree/win/PolicyDelegate.cpp:
6723         (PolicyDelegate::decidePolicyForNavigationAction):
6724
6725 2008-01-29  Mark Rowe  <mrowe@apple.com>
6726
6727         Reviewed by Tim Hatcher.
6728
6729         <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct).
6730
6731         * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
6732
6733 2008-01-29  David Kilzer  <ddkilzer@apple.com>
6734
6735         Refactor ChangeLog path code
6736
6737         Reviewed by Adam.
6738
6739         * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
6740         duplicate code in another foreach() loop.
6741
6742 2008-01-29  Alexey Proskuryakov  <ap@webkit.org>
6743
6744         Reviewed by Darin Adler.
6745
6746         <rdar://problem/5710692> All storage tests fail/crash
6747
6748         * DumpRenderTree/mac/UIDelegate.mm:
6749         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
6750         arbitrary quota of 5 megabytes.
6751
6752         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
6753         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
6754         Removed unused (I think) code.
6755
6756         * DumpRenderTree/win/UIDelegate.cpp:
6757         (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
6758         (UIDelegate::webViewPainted): A stub implementation.
6759         (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
6760         * DumpRenderTree/win/UIDelegate.h:
6761
6762 2008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
6763
6764         GTK+ DRT build fix for breakage introduced in r29822.
6765
6766         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
6767         (LayoutTestController::setPersistentUserStyleSheetLocation):
6768         (LayoutTestController::clearPersistentUserStyleSheet):
6769
6770 2008-01-27  Dan Bernstein  <mitz@apple.com>
6771
6772         Reviewed by Darin Adler.
6773
6774         - add support for directory prologues and epilogues to run-webkit-tests
6775         - allow setting a persistent user style sheet in DumpRenderTree
6776         - activate the WebKit Layout Tests font in Windows DumpRenderTree
6777
6778         * DumpRenderTree/LayoutTestController.cpp:
6779         (clearPersistentUserStyleSheetCallback): Added.
6780         (setPersistentUserStyleSheetLocationCallback): Added.
6781         (LayoutTestController::staticFunctions): Added.
6782         clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
6783         * DumpRenderTree/LayoutTestController.h:
6784         * DumpRenderTree/mac/DumpRenderTree.mm:
6785         (setPersistentUserStyleSheetLocation): Added.
6786         (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
6787         to the set of things this function resets. Now it either disables the
6788         user style sheet or sets it to the persistent user style sheet and
6789         enables it.
6790         * DumpRenderTree/mac/DumpRenderTreeMac.h:
6791         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
6792         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
6793         (LayoutTestController::clearPersistentUserStyleSheet): Added.
6794         * DumpRenderTree/win/DumpRenderTree.cpp:
6795         (setPersistentUserStyleSheetLocation): Added.
6796         (initialize): Added the WebKit Layout Tests font to the set of fonts to
6797         install.
6798         (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
6799         * DumpRenderTree/win/DumpRenderTreeWin.h:
6800         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
6801         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
6802         (LayoutTestController::clearPersistentUserStyleSheet): Added.
6803         * Scripts/run-webkit-tests: Changed to look for, and if found process in
6804         DumpRenderTree, files named run-webkit-tests-prologue.html and
6805         run-webkit-tests-epilogue.html in the resources subdirectory of any
6806         test directory and platform test results directory. The prologues are
6807         processed before the first test from the directory (and its
6808         subdirectories) is run, and the epilogues are processed after the last
6809         test from the directory is run. Platform-specific prologues and
6810         epilogues are processed in order of specificity.
6811
6812 2008-01-25  Alexey Proskuryakov  <ap@webkit.org>
6813
6814         Reviewed by Mark Rowe.
6815
6816         <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
6817
6818         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
6819         (matching Mac DRT).
6820         * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
6821
6822 2008-01-24  Sam Weinig  <sam@webkit.org>
6823
6824         Reviewed by Ada Chan.
6825
6826         Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
6827
6828         - Adds simplified UndoManager to windows DRT to allow testing the
6829           undo/redo code paths in WebCore and WebKit.  This is a temporary
6830           solution to an issue that should eventually be solved by having a
6831           shared UndoManager in WebKit.
6832
6833         * DumpRenderTree/win/DumpRenderTree.cpp:
6834         (runTest):
6835         * DumpRenderTree/win/UIDelegate.cpp:
6836         (DRTUndoObject::DRTUndoObject):
6837         (DRTUndoObject::invoke):
6838         (DRTUndoStack::~DRTUndoStack):
6839         (DRTUndoStack::isEmpty):
6840         (DRTUndoStack::clear):
6841         (DRTUndoStack::push):
6842         (DRTUndoStack::pop):
6843         (DRTUndoManager::canRedo):
6844         (DRTUndoManager::canUndo):
6845         (DRTUndoManager::DRTUndoManager):
6846         (DRTUndoManager::removeAllActions):
6847         (DRTUndoManager::registerUndoWithTarget):
6848         (DRTUndoManager::redo):
6849         (DRTUndoManager::undo):
6850         (UIDelegate::UIDelegate):
6851         (UIDelegate::resetUndoManager):
6852         (UIDelegate::registerUndoWithTarget):
6853         (UIDelegate::removeAllActionsWithTarget):
6854         (UIDelegate::setActionTitle):
6855         (UIDelegate::undo):
6856         (UIDelegate::redo):
6857         (UIDelegate::canUndo):
6858         (UIDelegate::canRedo):
6859         * DumpRenderTree/win/UIDelegate.h:
6860
6861 2008-01-23  Adam Roben  <aroben@apple.com>
6862
6863         Allow directories containing ChangeLogs to be passed to
6864         resolve-ChangeLogs
6865
6866         Reviewed by David Kilzer.
6867
6868         * Scripts/resolve-ChangeLogs:
6869         (sub findChangeLog): Return a ChangeLog contained within the specified
6870         directory if one exists.
6871
6872 2008-01-23  Steve Falkenburg  <sfalken@apple.com>
6873
6874         <rdar://problem/5698732> Copyright strings should include 2008
6875
6876         Reviewed by Sam.
6877
6878         * Drosera/win/Drosera.vcproj/Drosera.rc:
6879         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
6880
6881 2008-01-23  Alp Toker  <alp@atoker.com>
6882
6883         Rubber-stamped by Mark Rowe.
6884
6885         Remove whitespace after -I in automake include lists.
6886
6887         * GNUmakefile.am:
6888
6889 2008-01-23  Michael Goddard <michael.goddard@trolltech.com>
6890
6891         Reviewed by Lars Knoll <lars@trolltech.com>.
6892
6893         Reworked the JavaScriptCore Qt bindings:
6894
6895         * Update JS DRT controller for Qt JS binding changes.
6896         There were two functions that needed some changes
6897         so that the layout tests would work, so this makes
6898         a few tests pass again.
6899
6900         * Bump the timeout for layout tests up to 11s.
6901         At least some tests have an internal timeout of
6902         10 seconds, so make the waitUntilDone approach
6903         wait at least 11s.  fast/dom/open-and-close-by-DOM.html
6904         is one of these - now the failure message is more
6905         accurate.
6906
6907
6908         * DumpRenderTree/qt/jsobjects.cpp:
6909         (LayoutTestController::waitUntilDone):
6910         * DumpRenderTree/qt/jsobjects.h:
6911
6912 2008-01-22  Anders Carlsson  <andersca@apple.com>
6913
6914         Reviewed by Darin and Adam.
6915
6916         <rdar://problem/5688975>
6917         div element on microsoft site has wrong left offset.
6918
6919         Add new method for testing the return vale of NPN_GetProperty.
6920
6921         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
6922         (pluginInvoke):
6923
6924 2008-01-22  Alexey Proskuryakov  <ap@webkit.org>
6925
6926         Reviewed by Adam Roben.
6927
6928         <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
6929
6930         * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
6931
6932 2008-01-21  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
6933
6934         Reviewed by Alp Toker.
6935
6936         http://bugs.webkit.org/show_bug.cgi?id=16955
6937         Get errors when cross-compile webkit-gtk
6938
6939         * GNUmakefile.am: Removed ICU_CFLAGS
6940
6941 2008-01-21  Darin Adler  <darin@apple.com>
6942
6943         Reviewed by Mitz and Adam.
6944
6945         * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
6946         sorting speed by doing all sort criteria in a single pass instead of three sorts.
6947
6948 2008-01-21  Simon Hausmann  <hausmann@webkit.org>
6949
6950         Reviewed by Holger.
6951
6952         Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
6953
6954         * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
6955         * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
6956         and make the return value depend on whether we successfully determined a focusable
6957         node or not.
6958         * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
6959         if we could not handle the focus chain ourselves.
6960         * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
6961         * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
6962         used to control the situation of stepping out of the focus chain inside the page.
6963         * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
6964         The layout tests expect this to be disabled but for the user it seems sensible to have it
6965         on by default, hence the default in qwebsettings.cpp
6966
6967
6968         * DumpRenderTree/qt/DumpRenderTree.cpp:
6969         (WebCore::WebPage::WebPage):
6970
6971 2008-01-19  Mark Rowe  <mrowe@apple.com>
6972
6973         Reviewed by Alp Toker.
6974
6975         Allow the --http flag to run-webkit-tests to override
6976         the default behaviour of disabling HTTP tests for Qt,
6977         Gtk and Wx.
6978
6979         * Scripts/run-webkit-tests:
6980
6981 2008-01-19  David Kilzer  <ddkilzer@apple.com>
6982
6983         <rdar://problem/5695344> check-for-global-initializers script never checks any object files
6984
6985         Reviewed by Darin Adler.
6986
6987         We now touch a check-for-global-initializers.timestamp file in
6988         the TARGET_TEMP_DIR directory to determine when new object files
6989         have been compiled and thus need to be checked.  If the timestamp
6990         file doesn't exist, all object files will be checked.
6991
6992         Previously the modification time of the "executable" (the
6993         framework binary, e.g., WebKit.framework/WebKit) was used, but
6994         since this was the last file modified at the end of the compile
6995         phase, no object files would ever get checked!
6996
6997         Also added JSCustomSQLTransactionCallback.o to the list of files
6998         since it has static initializers in Debug builds of WebCore.
6999
7000         * Scripts/check-for-global-initializers:
7001
7002 2008-01-18  Adam Roben  <aroben@apple.com>
7003
7004         Build fix
7005
7006         * Scripts/build-webkit:
7007
7008 2008-01-18  Beth Dakin  <bdakin@apple.com>
7009
7010         Reviewed by Oliver.
7011
7012         Update build-webkit to account for foreign-object being disabled by
7013         default.
7014
7015         * Scripts/build-webkit:
7016
7017 2008-01-18  Adam Roben  <aroben@apple.com>
7018
7019         Updated for method renames
7020
7021         Reviewed by Adele.
7022
7023         * DumpRenderTree/mac/FrameLoadDelegate.mm:
7024         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
7025         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7026         (LayoutTestController::setMainFrameIsFirstResponder):
7027         (LayoutTestController::setWindowIsKey):
7028         * DumpRenderTree/mac/UIDelegate.mm:
7029         (-[UIDelegate webViewFocus:]):
7030         * DumpRenderTree/win/FrameLoadDelegate.cpp:
7031         (FrameLoadDelegate::didCommitLoadForFrame):
7032
7033 2008-01-18  Alexey Proskuryakov  <ap@webkit.org>
7034
7035         Reviewed by Adam Roben.
7036
7037         Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
7038         between DRT and TestNetscapePlugin.
7039
7040         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
7041         * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
7042
7043 2008-01-18  Simon Hausmann  <hausmann@webkit.org>
7044
7045         Reviewed by Holger.
7046
7047         Fix fast/dom/Window/window-resize.html
7048
7049         In DRT connect the page's geometryChangeRequest signal to a slot that
7050         sets the geometry of the view widget.
7051
7052
7053         * DumpRenderTree/qt/DumpRenderTree.cpp:
7054         (WebCore::WebPage::setViewGeometry):
7055         (WebCore::WebPage::WebPage):
7056
7057 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
7058
7059         Build fix.
7060
7061         * Drosera/DroseraWin.make:
7062
7063 2008-01-17  Darin Adler  <darin@apple.com>
7064
7065         * Scripts/run-webkit-tests: Fixed a bug number.
7066
7067 2008-01-17  Alexey Proskuryakov  <ap@webkit.org>
7068
7069         Reviewed by Adam Roben.
7070
7071         http://bugs.webkit.org/show_bug.cgi?id=16908
7072         run-webkit-tests complains about missing FindSafari.exe
7073
7074         * Scripts/webkitdirs.pm: Append _debug as appropriate.
7075
7076 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
7077
7078         Re-add DEBUG_WEBKIT_HAS_SUFFIX.
7079
7080         Rubber-stamped by Jon Honeycutt.
7081
7082         * DumpRenderTree/win/DumpRenderTree.vcproj:
7083
7084 2008-01-16  Alp Toker  <alp@atoker.com>
7085
7086         Reviewed by Mark Rowe.
7087
7088         http://bugs.webkit.org/show_bug.cgi?id=16218
7089         [GTK] API: Should this entry point be called go_back rather than go_backward?
7090
7091         Track back/forward API changes in the tools.
7092
7093         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
7094         (BackForwardItem::invoke):
7095         * GtkLauncher/main.c:
7096         (go_back_cb):
7097
7098 2008-01-16  Adam Roben  <aroben@apple.com>
7099
7100         Windows build fix after r29488
7101
7102         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7103         Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
7104         expects to find the plugin.
7105
7106 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
7107
7108         Reviewed by Sam Weinig.
7109
7110         Fixed the waitUntilDone watchdog timer -- the old code never added the
7111         timer to the run loop, so it didn't do anything.
7112
7113         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7114         (LayoutTestController::setWaitToDump):
7115         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7116         (LayoutTestController::setWaitToDump):
7117
7118 2008-01-14  Steve Falkenburg  <sfalken@apple.com>
7119
7120         Use shared vsprops for most vcproj properties.
7121
7122         Reviewed by Darin Adler.
7123
7124         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
7125         * DumpRenderTree/win/DumpRenderTree.vcproj:
7126         * DumpRenderTree/win/ImageDiff.vcproj:
7127         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7128         * FindSafari/FindSafari.vcproj:
7129
7130 2008-01-14  Stephanie  <slewis@apple.com>
7131
7132        Reviewed by NOBODY.
7133
7134        revert accidental character.
7135
7136        * Scripts/run-webkit-tests:
7137
7138 2008-01-14  Stephanie  <slewis@apple.com>
7139
7140         RS=Oliver
7141
7142         add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
7143
7144         * Scripts/run-webkit-tests:
7145
7146 2008-01-14  Darin Adler  <darin@apple.com>
7147
7148         * Scripts/do-webcore-rename: Queue up another rename.
7149
7150 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
7151
7152         Reviewed by Darin Adler.
7153
7154         * Allow to run the tests in reverse order to spot test cases where the result depends on the order
7155         the tests were ran.
7156         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
7157
7158         * Scripts/run-webkit-tests:
7159
7160 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
7161
7162         Reviewed by Darin Adler.
7163
7164         * Randomize tests array to spot test cases where the results depends on the order
7165         the tests are ran.
7166         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
7167
7168         * Scripts/run-webkit-tests:
7169
7170 2008-01-14  Darin Adler  <darin@apple.com>
7171
7172         * Scripts/run-webkit-tests: More ignore list tweaking.
7173
7174 2008-01-14  Darin Adler  <darin@apple.com>
7175
7176         * Scripts/run-webkit-tests: Add another leak to the ignore list.
7177
7178 2008-01-14  Dan Bernstein  <mitz@apple.com>
7179
7180         Reviewed by Adam Roben.
7181
7182         - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
7183           build bots
7184
7185         * DumpRenderTree/win/DumpRenderTree.cpp:
7186         (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
7187
7188 2008-01-13  Steve Falkenburg  <sfalken@apple.com>
7189
7190         Share common files across projects.
7191
7192         Unify vsprops files
7193         Debug:          common.vsprops, debug.vsprops
7194         Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
7195         Release:        common.vsprops, release.vsprops
7196
7197         Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
7198         debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
7199
7200         Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
7201
7202         Reviewed by Adam Roben.
7203
7204         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
7205         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
7206         * Drosera/win/Drosera.vcproj/VERSION: Removed.
7207         * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
7208         * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
7209         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
7210         * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
7211         * DumpRenderTree/win/DumpRenderTree.vcproj:
7212         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
7213         * DumpRenderTree/win/debug.vsprops: Removed.
7214         * DumpRenderTree/win/debug_internal.vsprops: Removed.
7215         * DumpRenderTree/win/release.vsprops: Removed.
7216
7217 2008-01-13  Brent Fulgham  <bfulgham@gmail.com>
7218
7219         Reviewed by Maciej.
7220
7221         - http://bugs.webkit.org/show_bug.cgi?id=16314
7222           Script to launch Drosera
7223
7224         * Scripts/gdb-drosera: Added.
7225         * Scripts/run-drosera: Added.
7226         * Scripts/run-drosera-nightly.cmd: Added.
7227         * Scripts/webkitdirs.pm: Added runDrosera function.
7228
7229 2008-01-13  Dan Bernstein  <mitz@apple.com>
7230
7231         - fix breakage due to last-minute change
7232
7233         * DumpRenderTree/win/DumpRenderTree.cpp:
7234         (runTest): Declare the loop variable.
7235
7236 2008-01-13  Dan Bernstein  <mitz@apple.com>
7237
7238         Reviewed by Adam Roben.
7239
7240         - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
7241
7242         * DumpRenderTree/win/DumpRenderTree.cpp:
7243         (DumpRenderTreeWndProc):
7244         (initialize):
7245         (dumpBackForwardList):
7246         (dumpBackForwardListForAllWindows):
7247         (dump):
7248         (resetWebViewToConsistentStateBeforeTesting): Factored out of
7249         runTest().
7250         (runTest):
7251         (allWindows): Added. Returns a vector of all open windows.
7252         (windowToWebViewMap): Added. Returns a map from open windows to their
7253         WebViews.
7254         (createWebViewAndOffscreenWindow): Factored out of main() to be
7255         reusable for creating extra windows.
7256         (main):
7257         * DumpRenderTree/win/DumpRenderTreeWin.h:
7258         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7259         (LayoutTestController::windowCount): Implemented.
7260         * DumpRenderTree/win/UIDelegate.cpp:
7261         (UIDelegate::createWebViewWithRequest): Implemented.
7262         (UIDelegate::webViewClose): Implemented.
7263         * DumpRenderTree/win/UIDelegate.h:
7264
7265 2008-01-12  Alp Toker  <alp@atoker.com>
7266
7267         Reviewed by Mark Rowe.
7268
7269         Hide non-public symbols in GTK+/autotools release builds.
7270
7271         * GNUmakefile.am:
7272
7273 2008-01-12  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
7274
7275         Reviewed by Ap.
7276
7277         * Make launching of the WebKit httpd work on GNU/Debian/Linux
7278
7279         The configuration of Apache2 and installation does not depend on
7280         the kernel but on the distribution policy. Make launching of httpd
7281         work for Debian derived distributions.
7282
7283         * Scripts/run-webkit-httpd:
7284         * Scripts/run-webkit-tests:
7285         * Scripts/webkitdirs.pm:
7286
7287 2008-01-12  Mark Rowe  <mrowe@apple.com>
7288
7289         Reviewed by Maciej Stachowiak.
7290
7291         Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
7292
7293         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
7294         match the callers expectations that it can take ownership of the string.
7295
7296 2008-01-11  Alexey Proskuryakov  <ap@webkit.org>
7297
7298         Reviewed by Adam Roben.
7299
7300         <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
7301
7302         * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
7303         as these are only posted because the test window is not a normal visible one, and
7304         they confuse drag&drop machinery.
7305
7306 2008-01-11  Adam Roben  <aroben@apple.com>
7307
7308         Fix a crash when pathToLocalResource fails and a leak
7309
7310         Reviewed by Darin Adler.
7311
7312         * DumpRenderTree/LayoutTestController.cpp:
7313         (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
7314         sure not to pass null to JSValueMakeString.
7315         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7316         (LayoutTestController::pathToLocalResource): Print an error message if
7317         the conversion fails so it's clear what happened.
7318
7319 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
7320
7321         Reviewed by John Sullivan.
7322
7323         * DumpRenderTree/mac/GCControllerMac.mm:
7324         (GCController::collectOnAlternateThread): Updated for name change.
7325
7326 2008-01-10  Kevin Ollivier  <kevino@theolliviers.com>
7327
7328         wx build fix. Don't build dftables any longer since it's now a Perl
7329         script.
7330
7331         * wx/build-wxwebkit:
7332
7333 2008-01-10  Sam Weinig  <sam@webkit.org>
7334
7335         Reviewed by Anders Carlsson.
7336
7337         Make DRT track open windows instead of allocated windows so that
7338         we can avoid ASSERTION due to late deallocs out of our control.
7339
7340         * DumpRenderTree/mac/DumpRenderTree.mm:
7341         (dumpBackForwardListForAllWindows):
7342         (runTest):
7343         * DumpRenderTree/mac/DumpRenderTreeMac.h:
7344         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
7345         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
7346         (+[DumpRenderTreeWindow openWindows]):
7347         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
7348         (-[DumpRenderTreeWindow close]):
7349         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7350         (LayoutTestController::windowCount):
7351
7352 2008-01-10  Ada Chan  <adachan@apple.com>
7353
7354         Meta key is not the same as Alt key on windows.
7355
7356         Reviewed by Darin Adler.
7357
7358         * DumpRenderTree/win/EventSender.cpp:
7359         (keyDownCallback):
7360
7361 2008-01-09  Kevin McCullough  <kmccullough@apple.com>
7362
7363         Reviewed by Darin, Sam and Adam.
7364
7365         -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
7366         link in gmail message displays JavaScript alert falsely complaining
7367         about pop-up blocking.
7368         - Added the ability to enable the pop-up blocker via the
7369         LayoutTestController.
7370
7371         * DumpRenderTree/LayoutTestController.cpp:
7372         (setPopupBlockingEnabledCallback):
7373         (LayoutTestController::staticFunctions):
7374         * DumpRenderTree/LayoutTestController.h:
7375         * DumpRenderTree/mac/DumpRenderTree.mm:
7376         (setDefaultsToConsistentValuesForTesting):
7377         (resetWebViewToConsistentStateBeforeTesting):
7378         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7379         (LayoutTestController::setPopupBlockingEnabled):
7380
7381 2008-01-10  Lars Knoll  <lars@trolltech.com>
7382
7383         Reviewed by Simon.
7384
7385         rename QWebPageHistory to QWebHistory.
7386
7387
7388         * DumpRenderTree/qt/jsobjects.cpp:
7389
7390 2008-01-09  Maciej Stachowiak  <mjs@apple.com>
7391
7392         Reviewed by Darin Adler.
7393
7394         - add some more renames, adjust some
7395
7396         * Scripts/do-webcore-rename:
7397
7398 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
7399
7400         Reviewed by Oliver.
7401
7402         Enable SVG Fonts support by default.
7403
7404         * Scripts/build-webkit:
7405
7406 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
7407
7408         Reviewed by Adam.
7409
7410         Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
7411         DRT doesn't handle platform specific pixel test results correctly.
7412
7413         <test>-expected.txt files and <test>-expected.png files may now live
7414         in different directories (ie. a cross-platform <test>-expected.txt file
7415         and a platform-specific <test>-expected.png file).
7416
7417         * Scripts/run-webkit-tests:
7418
7419 2008-01-04  Kevin McCullough  <kmccullough@apple.com>
7420
7421         Reviewed by Darin Adler.
7422
7423         - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
7424         DRT did not correctly handle printing the '\0' char.  Now it does.
7425
7426         * DumpRenderTree/win/DumpRenderTree.cpp:
7427         (dumpFramesAsText):
7428         (dump):
7429
7430 2008-01-07  Simon Hausmann  <hausmann@webkit.org>
7431
7432         Reviewed by Lars.
7433
7434         Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
7435
7436
7437         * DumpRenderTree/qt/main.cpp:
7438         * DumpRenderTree/qt/testplugin.cpp:
7439         * DumpRenderTree/qt/testplugin.h:
7440
7441 2008-01-05  Mark Rowe  <mrowe@apple.com>
7442
7443         Reviewed by Alp Toker.
7444
7445         Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
7446
7447         * DumpRenderTree/gtk/DumpRenderTree.cpp:
7448         (processWork): Process pending work.
7449         (webViewLoadFinished): Schedule processing of pending work.
7450         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
7451
7452 2008-01-05  Darin Adler  <darin@apple.com>
7453
7454         * Scripts/do-webcore-rename: Some more renaming plans.
7455
7456 2008-01-04  Alice Liu  <alice.liu@apple.com>
7457
7458         Reviewed by Alexey and Darin.
7459
7460         Adding "home" and "end" to DRT's keydown since
7461         DOM key events can't handle keyIdentifiers at this point.
7462
7463         * DumpRenderTree/mac/EventSendingController.mm:
7464         (-[EventSendingController keyDown:withModifiers:]):
7465         * DumpRenderTree/win/EventSender.cpp:
7466         (keyDownCallback):
7467
7468 2008-01-04  Lars Knoll  <lars@trolltech.com>
7469
7470         Reviewed by Simon.
7471
7472         fix DRT after the changes to QWebPage.
7473
7474         The great thing is that we actually don't have
7475         any regressions from the QWebPage change :)
7476
7477
7478         * DumpRenderTree/qt/DumpRenderTree.cpp:
7479         (WebCore::DumpRenderTree::DumpRenderTree):
7480
7481 2008-01-04  Lars Knoll  <lars@trolltech.com>
7482
7483         Reviewed by Simon.
7484
7485         make QWebPage a QObject and get things to compile.
7486
7487         Nothing works currently though.
7488
7489
7490         * DumpRenderTree/qt/DumpRenderTree.cpp:
7491         (WebCore::DumpRenderTree::DumpRenderTree):
7492
7493 2008-01-04  Lars Knoll  <lars@trolltech.com>
7494
7495         Reviewed by Simon.
7496
7497         take a QString as identifier in QWebFrame::addToJSWindowObject.
7498
7499         * DumpRenderTree/qt/DumpRenderTree.cpp:
7500         (WebCore::DumpRenderTree::initJSObjects):
7501
7502 2008-01-04  Alp Toker  <alp@atoker.com>
7503
7504         GTK+ DRT build fix for breakage introduced in r29149.
7505
7506         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7507         (LayoutTestController::execCommand):
7508
7509 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
7510
7511         Reviewed by Darin Adler.
7512
7513         <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
7514
7515         Added layoutTestController.execCommand to access editor commands that are not available
7516         via document.execCommand.
7517
7518         * DumpRenderTree/LayoutTestController.cpp:
7519         (execCommandCallback):
7520         (LayoutTestController::staticFunctions):
7521         * DumpRenderTree/LayoutTestController.h:
7522         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
7523         (LayoutTestController::execCommand):
7524         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
7525         (LayoutTestController::queueLoad):
7526         (LayoutTestController::execCommand):
7527
7528 2008-01-03  Alice Liu  <alice.liu@apple.com>
7529
7530         Reviewed by Darin, Mitz.
7531
7532         fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
7533
7534         the clickcount should not increase if the last click was at a different location.  it's a new click.
7535
7536         * DumpRenderTree/mac/DumpRenderTree.mm:
7537         (runTest):
7538         * DumpRenderTree/mac/EventSendingController.h:
7539         * DumpRenderTree/mac/EventSendingController.mm:
7540         (-[EventSendingController mouseDown]):
7541         (-[EventSendingController mouseUp]):
7542
7543 2008-01-03  Darin Adler  <darin@apple.com>
7544
7545         Reviewed by Adam.
7546
7547         * Scripts/update-webkit: Make this work a little better for the people at Apple
7548         who have a directory named Internal.
7549
7550 2008-01-03  Adam Roben  <aroben@apple.com>
7551
7552         Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
7553
7554         Rubberstamped by Mark.
7555
7556         * Scripts/update-webkit-auxiliary-libs:
7557
7558 2008-01-03  Adam Roben  <aroben@apple.com>
7559
7560         Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
7561
7562         http://bugs.webkit.org/show_bug.cgi?id=15663
7563
7564         Added a fuzz factor into the Last-Modified comparison for downloading
7565         WebKitAuxiliaryLibrary.zip.
7566
7567         The zip file is served from a set of mirrors who give Last-Modified
7568         times that are off by 1-3 seconds from each other. This was causing
7569         the build bots to redownload WebKitAuxiliaryLibrary for every build,
7570         which would then cause all of WebCore to rebuild each time.
7571
7572         Reviewed by Mark.
7573
7574         * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
7575         at least 30 seconds newer than the old one -- otherwise we assume that
7576         the difference in time is due to the mirrors being slightly offset
7577         from each other.
7578         (sub lastModifiedToUnixTime): Added.
7579
7580 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
7581
7582         Windows build fix.
7583
7584         * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
7585
7586 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
7587
7588         Reviewed by Lars.
7589
7590         Moved QWebPage::open to QWebFrame::load and added setHtml.
7591
7592
7593         * DumpRenderTree/qt/DumpRenderTree.cpp:
7594         (WebCore::DumpRenderTree::open):
7595
7596 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
7597
7598         Reviewed by Lars.
7599
7600         Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
7601
7602
7603         * DumpRenderTree/qt/DumpRenderTree.cpp:
7604         (WebCore::DumpRenderTree::DumpRenderTree):
7605
7606 2008-01-02  Sam Weinig  <sam@webkit.org>
7607
7608         * Scripts/do-webcore-rename: Yet more renaming ideas.
7609
7610 2008-01-02  Darin Adler  <darin@apple.com>
7611
7612         * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
7613
7614 2008-01-02  Alice Liu  <alice.liu@apple.com>
7615
7616         Reviewed by Sam Weinig.
7617
7618         fixing assertion hit with editing/selection/move-begin-end.html
7619
7620         * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
7621         * DumpRenderTree/win/DumpRenderTree.vcproj:
7622         * DumpRenderTree/win/EventSender.cpp:
7623         (keyDownCallback):
7624         using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
7625
7626 2008-01-02  Darin Adler  <darin@apple.com>
7627
7628         * Scripts/do-webcore-rename: Some more name change plans.
7629
7630 2008-01-02  Alice Liu  <alice.liu@apple.com>
7631
7632         Reviewed by Maciej.
7633
7634         Added handling for page up and page down in EventSender
7635
7636         * DumpRenderTree/mac/EventSendingController.mm:
7637         (-[EventSendingController keyDown:withModifiers:]):
7638         * DumpRenderTree/win/EventSender.cpp:
7639         (keyDownCallback):
7640
7641 2008-01-02  Alexey Proskuryakov  <ap@webkit.org>
7642
7643         Reviewed by Darin Adler.
7644
7645         Fix fast/events/arrow-keys-on-body.html for real.
7646
7647         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
7648
7649 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
7650
7651         Reviewed by Darin Adler.
7652
7653         http://bugs.webkit.org/show_bug.cgi?id=16674
7654         [GTK] run-launcher sets wrong LD_LIBRARY_PATH
7655
7656         * Scripts/run-launcher:
7657
7658 2007-12-31  Darin Adler  <darin@apple.com>
7659
7660         Suggested by Antti.
7661
7662         * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
7663         we get it installed on the build bots.
7664
7665 2007-12-30  Eric Seidel  <eric@webkit.org>
7666
7667         Reviewed by Sam.
7668
7669         * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
7670
7671 2007-12-29  Darin Adler  <darin@apple.com>
7672
7673         Reviewed by Oliver.
7674
7675         - fix http://bugs.webkit.org/show_bug.cgi?id=16663
7676           leak bot shows createCStringFromNPVariant result leaking
7677
7678         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
7679         (pluginInvoke): Added a missing free.
7680
7681 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
7682
7683         Reviewed by Alp Toker.
7684
7685         http://bugs.webkit.org/show_bug.cgi?id=16390
7686         Use autotools or GNU make as the build system for the GTK port
7687
7688         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
7689         * GNUmakefile.am: Added.
7690
7691 2007-12-24  Alexey Proskuryakov  <ap@webkit.org>
7692
7693         Reviewed by Oliver.
7694
7695         Fix fast/events/arrow-keys-on-body.html, failing on Windows.
7696
7697         * DumpRenderTree/win/EventSender.cpp:
7698         (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
7699         of 1, even though WebKit currently ignores it.
7700
7701 2007-12-23  Kevin Ollivier  <kevino@theolliviers.com>
7702
7703         wx buildbot fix. Update libpng dl script to the latest version.
7704
7705         * wx/install-unix-extras:
7706
7707 2007-12-22  Antti Koivisto  <antti@apple.com>
7708
7709         Fix a typo.
7710
7711         * Scripts/webkitdirs.pm:
7712
7713 2007-12-21  Sam Weinig  <sam@webkit.org>
7714
7715         Reviewed by Mark Rowe.
7716
7717         - Disable the back/forward cache using the new WebPreferences API
7718           instead of through the BackForwardList.  This makes us match what
7719           we do on Windows.
7720
7721         * DumpRenderTree/mac/DumpRenderTree.mm:
7722         (createWebViewAndOffscreenWindow):
7723         (setDefaultsToConsistentValuesForTesting):
7724
7725 2007-12-21  Dan Bernstein  <mitz@apple.com>
7726
7727         Reviewed by Mark Rowe.
7728
7729         - disable the back/forward cache in Windows DumpRenderTree. It is
7730           already disabled in Mac DumpRenderTree.
7731
7732         * DumpRenderTree/win/DumpRenderTree.cpp:
7733         (initializePreferences):
7734
7735 2007-12-13  Antti Koivisto  <antti@apple.com>
7736
7737         Reviewed by Darin and Steve.
7738
7739         - check for QuickTime SDK on Windows.
7740         - build media support on Windows by default
7741
7742         * Scripts/build-webkit:
7743         * Scripts/webkitdirs.pm:
7744
7745 2007-12-21  Kevin Ollivier  <kevino@theolliviers.com>
7746
7747         Build script fix for buildbot.
7748
7749         * wx/build-wxwebkit:
7750
7751 2007-12-20  Eric Seidel  <eric@webkit.org>
7752
7753         Reviewed by mjs.
7754
7755         * Scripts/run-sunspider: change --runs default to 10 for better accuracy
7756
7757 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
7758
7759         Reviewed by Steve.
7760
7761         - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
7762         WebKit.
7763
7764         - Drosera and Safari need to use the same ProgIDs in order for
7765         CoCreateInstance to work properly.  The most robust way to do this is
7766         for WebKit to dynamically publish those ProgIDs.
7767
7768         * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
7769         (DebuggerClient::createWebViewWithRequest):
7770         * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
7771         statics.
7772         (Drosera::initUI):
7773         (Drosera::attach):
7774         (Drosera::attemptToCreateServerConnection):
7775         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
7776         * Drosera/win/ServerConnection.cpp: Reformat the connection function and
7777         make use of the published ProgIDs.
7778         (ServerConnection::attemptToCreateServerConnection):
7779
7780 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
7781
7782         - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
7783         - Build bot and leak fix.
7784
7785         * DumpRenderTree/LayoutTestController.cpp:
7786         (pathToLocalResourceCallback):
7787
7788 2007-12-19  David Kilzer  <ddkilzer@apple.com>
7789
7790         Make svn-apply/svn-unapply work with patches from git-format-patch.
7791
7792         Reviewed by Darin Adler.
7793
7794         * Scripts/svn-apply:
7795         (patch): If 'Index:' can't be found in the text passed in, print it
7796         out with a warning and return early.
7797         * Scripts/svn-unapply:
7798         (patch): Ditto.
7799
7800 2007-12-18  Kevin Ollivier  <kevino@theolliviers.com>
7801
7802         Reviewed by Alp Toker.
7803
7804         Build related fixes.
7805
7806         * wx/build-wxwebkit:
7807         - Check to make sure the user is running a supported wx port
7808         - More robust checks for Cygwin
7809         - Only run install-unix-extras on Mac, it's not the right solution
7810           for Linux distros.
7811         - Remove outdated Linux instructions after successful build
7812         - Clean Bakefile-generated files during a clean operation
7813
7814 2007-12-18  Darin Adler  <darin@apple.com>
7815
7816         * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
7817
7818 2007-12-18  Steve Falkenburg  <sfalken@apple.com>
7819
7820         Add script to run Drosera as part of the nightly.
7821
7822         Reviewed by Kevin M.
7823
7824         * Scripts/run-drosera.cmd: Added.
7825
7826 2007-12-18  Darin Adler  <darin@apple.com>
7827
7828         * Scripts/do-webcore-rename: Remove a stray K.
7829
7830 2007-12-18  Darin Adler  <darin@apple.com>
7831
7832         * Scripts/do-webcore-rename: Plan more renaming.
7833
7834 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
7835
7836         Reviewed by Alp Toker.
7837
7838         http://bugs.webkit.org/show_bug.cgi?id=16042
7839         [GTK] Eliminate webkit_init()
7840
7841         Moving webkit initialization to WebView class init.
7842
7843         * DumpRenderTree/gtk/DumpRenderTree.cpp:
7844         (main):
7845         * GtkLauncher/main.c:
7846         (main):
7847
7848 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
7849
7850         Reviewed by Alp Toker.
7851
7852         http://bugs.webkit.org/show_bug.cgi?id=13542
7853         gdklauncher doesnt change URL in adress GTKEntry.
7854
7855         * GtkLauncher/main.c:
7856         (load_commit_cb): added
7857         (title_change_cb):
7858         (create_browser):
7859
7860 2007-12-16  Dimitri Glazkov  <dimitri@glazkov.com>
7861
7862         Reviewed by Adam Roben.
7863
7864         Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
7865
7866         * FindSafari/FindSafari.cpp:
7867         (_tmain):
7868
7869 2007-12-16  Brent Fulgham  <bfulgham@gmail.com>
7870
7871         Reviewed by Adam Roben.
7872
7873         http://bugs.webkit.org/show_bug.cgi?id=16315
7874         FindSafari needs a path-only option.
7875
7876         * FindSafari/FindSafari.cpp:
7877         (_tmain):
7878
7879 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
7880
7881         Reviewed by Darin Adler.
7882
7883         http://bugs.webkit.org/show_bug.cgi?id=16462
7884         REGRESSION: access keys broken on Windows
7885
7886         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
7887         if Alt is pressed.
7888
7889 2007-12-15  Sam Weinig  <sam@webkit.org>
7890
7891         Reviewed by Mark Rowe.
7892
7893         Fix urlSuitableForTestResult to correctly identify wstring::npos as
7894         the case when wstring.find doesn't find anything.
7895
7896         * DumpRenderTree/win/DumpRenderTree.cpp:
7897         (urlSuitableForTestResult):
7898
7899 2007-12-15  Alp Toker  <alp@atoker.com>
7900
7901         GTK+ DRT build fix for GLib < 2.14.
7902
7903         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7904         (LayoutTestController::setWaitToDump):
7905
7906 2007-12-05  Mark Rowe  <mrowe@apple.com>
7907
7908         Reviewed by Alp Toker.
7909
7910         Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.  This prevents
7911         many layout tests from hanging while waiting on user responses to dialogs.
7912
7913         * DumpRenderTree/gtk/DumpRenderTree.cpp:
7914         (invalidateAnyPreviousWaitToDumpWatchdog):
7915         (webViewScriptAlert):
7916         (webViewScriptPrompt):
7917         (webViewScriptConfirm):
7918         (main):
7919         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
7920         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
7921         (waitToDumpWatchdogFired):
7922         (LayoutTestController::setWaitToDump):
7923
7924 2007-12-05  Mark Rowe  <mrowe@apple.com>
7925
7926         Reviewed by Alp Toker.
7927
7928         Flesh out DumpRenderTree for Gtk.  After these changes, the majority of the tests in fast/js pass.
7929
7930         * DumpRenderTree/gtk/DumpRenderTree.cpp:
7931         (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
7932         (dump):
7933         (runTest):
7934         (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
7935         (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
7936         work queue is empty.
7937         (webViewWindowObjectCleared): Set up window.layoutTestController.
7938         (webViewConsoleMessage): Match the console message format expected by the layout test results.
7939         (main): Hook up the new signals.
7940         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
7941         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
7942         dumping multiple times.
7943         * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
7944         * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways.  Use run-launcher to open test results.
7945
7946 2007-12-14  Anders Carlsson  <andersca@apple.com>
7947
7948         Reviewed by Brady.
7949
7950         Assert that a web frame that's loading a resource always has either a data source or
7951         a provisional data source.
7952
7953         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
7954         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
7955
7956 2007-12-14  Darin Adler  <darin@apple.com>
7957
7958         - fix mistake causing nearly all tests to fail on Windows
7959
7960         * DumpRenderTree/win/UIDelegate.cpp:
7961         (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
7962         npos, not 0. Also pass URL in to URL function rather than passing the entire message.
7963
7964         * DumpRenderTree/mac/UIDelegate.mm:
7965         (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
7966         than passing the entire message.
7967
7968 2007-12-14  Darin Adler  <darin@apple.com>
7969
7970         - fix Tiger build
7971
7972         * DumpRenderTree/mac/UIDelegate.mm:
7973         (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
7974         new-to-Leopard methods.
7975
7976 2007-12-14  Darin Adler  <darin@apple.com>
7977
7978         * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
7979         since it now triggers unwanted icon loading. We only had it because we implemented "all"
7980         delegate methods here.
7981
7982 2007-12-14  Anders Carlsson  <andersca@apple.com>
7983
7984         Reviewed by Darin and Geoff.
7985
7986         <rdar://problem/5619295>
7987         REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
7988
7989         Add property getting methods to the plug-in.
7990
7991         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
7992         (pluginInvoke):
7993
7994 2007-12-14  Kevin McCullough  <kmccullough@apple.com>
7995
7996         Reviewed by Darin Adler.
7997
7998         - Layout test fix for mac. When dumped to the console local file paths
7999         now only show the name of the resource not the whole path.  This is to
8000         make the results machine and OS independent.
8001
8002         * DumpRenderTree/mac/UIDelegate.mm:
8003         (-[UIDelegate webView:addMessageToConsole:]):
8004
8005 2007-12-13  Kevin McCullough  <kmccullough@apple.com>
8006
8007         Reviewed by Adam.
8008
8009         - Layout tests fix.  We need a way to remove machine-dependent
8010         information from paths in layout test results. The UIDelegate now does
8011         this.
8012
8013         * DumpRenderTree/DumpRenderTree.h:
8014         * DumpRenderTree/win/DumpRenderTree.cpp:
8015         (urlSuitableForTestResult):
8016         * DumpRenderTree/win/DumpRenderTreeWin.h:
8017         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
8018         * DumpRenderTree/win/UIDelegate.cpp:
8019         (UIDelegate::webViewAddMessageToConsole):
8020
8021 2007-12-13  Alp Toker  <alp@atoker.com>
8022
8023         Build fix for DRT breakage introduced in r28690.
8024
8025         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
8026         (LayoutTestController::pathToLocalResource):
8027
8028 2007-12-12  Kevin McCullough  <kmccullough@apple.com>
8029
8030         Reviewed by Alice and Sam.
8031
8032         - <rdar://5621435> Need a way to specify local resources (being loaded
8033         from HTTP tests) on Windows.
8034         - Implemented pathToLocalResource which exposes the functionality of
8035         converting a given unix path to the correct location on Windows.
8036
8037         * DumpRenderTree/LayoutTestController.cpp:
8038         (pathToLocalResourceCallback):
8039         (LayoutTestController::staticFunctions):
8040         * DumpRenderTree/LayoutTestController.h:
8041         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8042         (LayoutTestController::pathToLocalResource):
8043         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8044         (LayoutTestController::pathToLocalResource):
8045
8046 2007-12-12  Anders Carlsson  <andersca@apple.com>
8047
8048         Reviewed by Sam.
8049
8050         <rdar://problem/5132003>
8051         dumpResourceLoadCallbacks is not implemented in DRT on Windows.
8052
8053         * DumpRenderTree/win/DumpRenderTree.cpp:
8054         (main):
8055         Set the resource load delegate.
8056
8057         * DumpRenderTree/win/DumpRenderTree.vcproj:
8058
8059         * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
8060         * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
8061
8062 2007-12-12  Alexey Proskuryakov  <ap@webkit.org>
8063
8064         Reviewed by Adam Roben.
8065
8066         Fix conversion from double to LPARAM in dispatchMessage().
8067
8068         * DumpRenderTree/win/EventSender.cpp:
8069         (dispatchMessageCallback):
8070
8071 2007-12-11  Dan Bernstein  <mitz@apple.com>
8072
8073         Reviewed by Mark Rowe and Sam Weinig too!
8074
8075         - added Helvetica Oblique and Helvetica Bold Oblique to the list of
8076           fonts DumpRenderTree registers.
8077
8078         * DumpRenderTree/win/DumpRenderTree.cpp:
8079         (initialize):
8080
8081 2007-12-11  Brady Eidson  <beidson@apple.com>
8082
8083         Reviewed by Anders
8084
8085         Make DumpRenderTree on mac use its own path for Databases testing
8086
8087         * DumpRenderTree/mac/DumpRenderTree.mm:
8088         (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
8089           for future DRT-only use, then use it to construct the Databases path and set that default
8090
8091 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
8092
8093         Reviewed by Darin Adler.
8094
8095         <rdar://problem/5535636>
8096         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
8097
8098         http://bugs.webkit.org/show_bug.cgi?id=13916
8099         JavaScript detects Tab as a character input on a textfield validation
8100
8101         * DumpRenderTree/mac/EventSendingController.mm:
8102         (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
8103         Dispatch a keyup to better match what happens when a key is physically pressed.
8104
8105         * DumpRenderTree/win/EventSender.cpp:
8106         (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
8107         returning from keyDown().
8108         (getConstantCallback): Fixed a couple copy/paste mistakes.
8109
8110 2007-12-07  Kevin McCullough  <kmccullough@apple.com>
8111
8112         Reviewed by Oliver.
8113
8114         - <rdar://5599845> Drosera: Does not show loal files in the file list
8115         on the left side.
8116
8117         * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
8118         * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
8119         so the open source community can build.
8120
8121 2007-12-10  Brady Eidson  <beidson@apple.com>
8122
8123         Rubberstamped by Sam Weinig
8124
8125         Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
8126
8127         * DumpRenderTree/mac/UIDelegate.mm:
8128         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
8129         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
8130
8131 2007-12-08  Oliver Hunt  <oliver@apple.com>
8132
8133         Reviewed by Sam W.
8134
8135         Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
8136
8137         Fixes <rdar://problem/5620249> Must disable SVG animation
8138         <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
8139
8140         In order to allow finer grained control over the set of SVG features
8141         this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
8142         distinct flags:
8143         ENABLE_SVG_ANIMATION
8144         ENABLE_SVG_FILTERS
8145         ENABLE_SVG_FONTS
8146         ENABLE_SVG_AS_IMAGE
8147         ENABLE_SVG_USE
8148
8149         by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
8150
8151         Script handles all the new build flags, and allows --svg-experimental
8152         to automatically enable all features.
8153
8154         * Scripts/build-webkit:
8155
8156 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
8157
8158         Fix version parsing.
8159
8160         Rubber-stamped by Oliver.
8161
8162         * Drosera/win/Drosera.vcproj/auto-version.sh:
8163
8164 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
8165
8166         Build modifications for Drosera.
8167
8168         Reviewed by Adam.
8169
8170         * Drosera/DroseraWin.make: Added.
8171         * Drosera/win/Drosera.vcproj/Drosera.rc:
8172         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
8173         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
8174         * Drosera/win/Drosera.vcproj/VERSION: Added.
8175         * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
8176
8177 2007-12-06  Adam Roben  <aroben@apple.com>
8178
8179         Explicitly turn on the Mac font ascent hack on Windows
8180
8181         This keeps our font metrics matching those from Mac.
8182
8183         Reviewed by Hyatt.
8184
8185         * DumpRenderTree/win/DumpRenderTree.cpp:
8186         (main):
8187
8188 2007-12-06  Anders Carlsson  <andersca@apple.com>
8189
8190         Rename main.c to main.cpp here too.
8191
8192         * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
8193
8194 2007-12-06  Sam Weinig  <sam@webkit.org>
8195
8196         Rubber stamped by Geoff.
8197
8198         * Scripts/do-webcore-rename: Don't rename kjs_css twice.
8199
8200 2007-12-06  Darin Adler  <darin@apple.com>
8201
8202         * Scripts/do-webcore-rename: Some more renaming plans.
8203
8204 2007-12-06  Anders Carlsson  <andersca@apple.com>
8205
8206         Restore implementation of testGetIntIdentifier that was accidentally
8207         removed somehow (possibly when I made PluginObject be a cpp file).
8208
8209         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
8210         (pluginInvoke):
8211
8212 2007-12-05  Anders Carlsson  <andersca@apple.com>
8213
8214         Make the entry points extern "C".
8215         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
8216
8217 2007-12-05  Anders Carlsson  <andersca@apple.com>
8218
8219         C++ warning fixes.
8220
8221         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
8222         (NPP_New):
8223         (NPP_Destroy):
8224         (NPP_SetWindow):
8225         (NPP_NewStream):
8226         (NPP_HandleEvent):
8227         (NPP_URLNotify):
8228         (NPP_GetValue):
8229
8230 2007-12-05  Anders Carlsson  <andersca@apple.com>
8231
8232         Add the .cpp files to the TestNetscapePlugIn target.
8233
8234         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8235
8236 2007-12-05  Anders Carlsson  <andersca@apple.com>
8237
8238         Reviewed by Geoff.
8239
8240         Rename the TestNetscapePlugIn .c files to be .cpp.
8241
8242         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8243         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
8244         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
8245         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
8246         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
8247         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
8248         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
8249         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
8250
8251 2007-12-05  Adam Roben  <aroben@apple.com>
8252
8253         Fix case of keypresses from the Windows implementation of eventSender.keyDown
8254
8255         This fixes several regression tests.
8256
8257         Reviewed by Alice.
8258
8259         * DumpRenderTree/win/EventSender.cpp:
8260         (keyDownCallback): Virtual keycodes for ASCII characters are always
8261         uppercase, so we need to check the case of the original character
8262         passed in to eventSender.keyDown.
8263
8264 2007-12-05  Adam Roben  <aroben@apple.com>
8265
8266         Learn from Tim's mistakes
8267
8268         * DumpRenderTree/win/DumpRenderTree.cpp:
8269         (runTest): Reset the authorAndUserStylesEnabled preference for each
8270         test.
8271
8272 2007-12-05  Alp Toker  <alp@atoker.com>
8273
8274         Reviewed by Mark Rowe.
8275
8276         Initialize GTK+ and WebKit so the tests can run.
8277
8278         Reorganize the headers a little.
8279
8280         * DumpRenderTree/gtk/DumpRenderTree.cpp:
8281         (main):
8282
8283 2007-12-04  Anders Carlsson  <andersca@apple.com>
8284
8285         Remove IWebScriptScope include.
8286
8287         * Drosera/win/DebuggerDocumentPlatform.cpp:
8288
8289 2007-12-04  Sam Weinig  <sam@webkit.org>
8290
8291         Rubber stamped by Mark Rowe.
8292
8293         Define CF as platform for mac and revert r28409
8294
8295         * DumpRenderTree/DumpRenderTree.h:
8296         * DumpRenderTree/mac/DumpRenderTreeMac.h:
8297
8298 2007-12-04  Sam Weinig  <sam@webkit.org>
8299
8300         Define CF as platform for windows.
8301
8302         Reviewed by Adam Roben.
8303
8304         * DumpRenderTree/win/DumpRenderTreeWin.h:
8305
8306 2007-12-04  Kevin McCullough  <kmccullough@apple.com>
8307
8308         Reviewed by Adam and Darin.
8309
8310         - Removed a needless BSTR cleanup.
8311
8312         * Drosera/win/DebuggerDocumentPlatform.cpp:
8313         (DebuggerDocument::getPlatformCurrentFunctionStack):
8314
8315 2007-11-27  Adam Roben  <aroben@apple.com>
8316
8317         Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
8318
8319         Reviewed by Maciej.
8320
8321         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8322         (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
8323
8324 2007-12-04  Alp Toker  <alp@atoker.com>
8325
8326         Prospective Win DRT build fix.
8327
8328         * DumpRenderTree/DumpRenderTree.h:
8329
8330 2007-12-04  Alp Toker  <alp@atoker.com>
8331
8332         Fix a clobbered copyright header.
8333
8334         * DumpRenderTree/gtk/DumpRenderTree.cpp:
8335
8336 2007-12-04  Xan Lopez  <xan@gnome.org>
8337
8338         Reviewed by Alp Toker.
8339
8340         http://bugs.webkit.org/show_bug.cgi?id=15561
8341         GTK port needs DumpRenderTree implementation
8342
8343         Start work on the GTK+ DRT.
8344
8345         This does not work yet, and there are a few lingering style issues
8346         (nothing major) but this patch has been stuck in the bug tracker for
8347         too long already.
8348
8349         * DumpRenderTree/DumpRenderTree.h:
8350         * DumpRenderTree/gtk: Added.
8351         * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
8352         (autocorrectURL):
8353         (shouldLogFrameLoadDelegates):
8354         (dumpFrameScrollPosition):
8355         (displayWebView):
8356         (appendString):
8357         (dumpFramesAsText):
8358         (dumpRenderTreeAsText):
8359         (dump):
8360         (runTest):
8361         (main):
8362         * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
8363         * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
8364         * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
8365         (GCController::collect):
8366         (GCController::collectOnAlternateThread):
8367         (GCController::getJSObjectCount):
8368         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
8369         (LayoutTestController::~LayoutTestController):
8370         (LayoutTestController::addDisallowedURL):
8371         (LayoutTestController::clearBackForwardList):
8372         (LayoutTestController::copyDecodedHostName):
8373         (LayoutTestController::copyEncodedHostName):
8374         (LayoutTestController::display):
8375         (LayoutTestController::keepWebHistory):
8376         (LayoutTestController::notifyDone):
8377         (LayoutTestController::queueBackNavigation):
8378         (LayoutTestController::queueForwardNavigation):
8379         (LayoutTestController::queueLoad):
8380         (LayoutTestController::queueReload):
8381         (LayoutTestController::queueScript):
8382         (LayoutTestController::setAcceptsEditing):
8383         (LayoutTestController::setCustomPolicyDelegate):
8384         (LayoutTestController::setMainFrameIsFirstResponder):
8385         (LayoutTestController::setTabKeyCyclesThroughElements):
8386         (LayoutTestController::setUseDashboardCompatibilityMode):
8387         (LayoutTestController::setUserStyleSheetEnabled):
8388         (LayoutTestController::setUserStyleSheetLocation):
8389         (LayoutTestController::setWindowIsKey):
8390         (LayoutTestController::setWaitToDump):
8391         (LayoutTestController::windowCount):
8392         (LayoutTestController::setPrivateBrowsingEnabled):
8393         (LayoutTestController::setAuthorAndUserStylesEnabled):
8394         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
8395         (JSStringCopyUTF8CString):
8396         (LoadItem::invoke):
8397         (ReloadItem::invoke):
8398         (ScriptItem::invoke):
8399         (BackForwardItem::invoke):
8400
8401 2007-12-03  Sam Weinig  <sam@webkit.org>
8402
8403         Move JavaScriptCore thread testing code to pthread specific directory
8404         and remove the dependance on CoreFoundation by using WTF::HashSet.
8405
8406         Reviewed by Geoff and Oliver.
8407
8408         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8409         * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
8410         * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
8411         * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
8412         * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
8413         * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
8414         * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
8415         * DumpRenderTree/pthreads: Added.
8416         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
8417         (javaScriptThreads):
8418         (runJavaScriptThread):
8419         (startJavaScriptThreads):
8420         (stopJavaScriptThreads):
8421
8422 2007-12-03  Andrew Bonventre  <andybons@google.com>
8423
8424         Reviewed by Darin Adler.
8425
8426         - fix http://bugs.webkit.org/show_bug.cgi?id=16267
8427         Symbol lookup menu broken in debugger view
8428
8429         * Drosera/debugger.js: Fixed javascript error where document property
8430         should have been used instead of contentDocument in switchFunction that
8431         was breaking the select symbol dropdown menu.  This is because
8432         window.frames will return a Window object and not a frame object like
8433         the author was originally expecting.
8434
8435 2007-12-03  Kevin McCullough  <kmccullough@apple.com>
8436
8437         Reviewed by Adam.
8438
8439         - <rdar://5618942> Drosera: Console window does not process everything
8440         correctly.
8441         - <rdar://5619005> Drosera: could be sped up by moving the
8442         WebScriptScope stuff into the WebScriptCallFrame.
8443         - Now the console can correctly process objects and does not receive
8444         notifications from JavaScriptCore about the JavaScript in Drosera's
8445         own process.
8446
8447         * Drosera/win/DebuggerDocumentPlatform.cpp:
8448         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8449         (DebuggerDocument::platformValueForScopeVariableNamed):
8450
8451 2007-12-03  Stephanie  <slewis@apple.com>
8452
8453         Reviewed by Darin Adler.
8454
8455         Check to see if we are building a debug root
8456
8457         * Scripts/check-for-global-initializers:
8458
8459 2007-12-03  Dan Bernstein  <mitz@apple.com>
8460
8461         Reviewed by Darin Adler.
8462
8463         - added a testGetIntIdentifier() method to TestNetscapePlugIn
8464
8465         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
8466         (pluginInvoke):
8467
8468 2007-12-03  Alexey Proskuryakov  <ap@webkit.org>
8469
8470         Reviewed by Oliver.
8471
8472         Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
8473         in a more fine-grained manner than eventSender.keyDown().
8474
8475         * DumpRenderTree/win/EventSender.cpp:
8476         (getConstantCallback):
8477         (dispatchMessageCallback):
8478
8479 2007-12-02  Darin Adler  <darin@apple.com>
8480
8481         * Scripts/do-webcore-rename: More planned renaming.
8482
8483 2007-12-02  Sam Weinig  <sam@webkit.org>
8484
8485         Rubber stamped by Anders.
8486
8487         Use [NSURL absoluteString] instead of [NSURL description] in order to get
8488         more uniform results cross platform.
8489
8490         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
8491         (-[NSURL _drt_descriptionSuitableForTestResult]):
8492
8493 2007-12-02  Sam Weinig  <sam@webkit.org>
8494
8495         Rubber stamped by Niko.
8496
8497         Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
8498
8499         * DumpRenderTree/win/DumpRenderTree.cpp:
8500         * DumpRenderTree/win/DumpRenderTree.vcproj:
8501         * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
8502         * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
8503         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
8504         * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
8505
8506 2007-12-01  Alp Toker  <alp@atoker.com>
8507
8508         Reviewed by Adam Roben.
8509
8510         Make use of the newly introduced webkit.h convenience header.
8511
8512         * GtkLauncher/main.c:
8513
8514 2007-12-01  Adam Treat  <treat@kde.org>
8515
8516         Reviewed by Simon.
8517
8518         * Check to see if the directory exists and exit if not.
8519
8520         * DumpRenderTree/qt/main.cpp:
8521         (main):
8522
8523 2007-12-01  Adam Treat  <treat@kde.org>
8524
8525         Reviewed by Simon.
8526
8527         * Don't hide symbols when in Debug mode
8528         * On Linux (glibc) provide a backtrace in the test output for debugging purposes
8529
8530
8531         * DumpRenderTree/qt/main.cpp:
8532         (messageHandler):
8533
8534 2007-11-30  Alp Toker  <alp@atoker.com>
8535
8536         Reviewed by Adam Roben.
8537
8538         http://bugs.webkit.org/show_bug.cgi?id=15691
8539         [GTK] Public API does not follow GTK+ conventions
8540
8541         Refactor the WebKit/GTK+ public API. Changes:
8542           WebKitPage -> WebKitWebView
8543           WebKitFrame -> WebKitWebFrame
8544
8545         Public API source and header names have been updated to mirror the API
8546         changes.
8547
8548         The API is now kept in WebKit/gtk/WebView to match other ports in the
8549         same class such as Mac and Win.
8550
8551         * GtkLauncher/main.c:
8552         (activate_uri_entry_cb):
8553         (link_hover_cb):
8554         (title_change_cb):
8555         (progress_change_cb):
8556         (go_back_cb):
8557         (go_forward_cb):
8558         (create_browser):
8559         (main):
8560
8561 2007-11-30  Adam Roben  <aroben@apple.com>
8562
8563         Hopefully the final build fix
8564
8565         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
8566         pull in WTF's assertion/logging functions.
8567
8568 2007-11-30  Adam Roben  <aroben@apple.com>
8569
8570         Another build fix
8571
8572         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
8573         WebKit.lib.
8574
8575 2007-11-30  Adam Roben  <aroben@apple.com>
8576
8577         Debug build fix
8578
8579         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
8580         configuration.
8581         * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
8582         projects.
8583         * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
8584         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
8585         WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
8586
8587 2007-11-30  Sam Weinig  <sam@webkit.org>
8588
8589         Reviewed by Adam Roben.
8590
8591         Fix drawSelectionRect to actually draw the selection rect.
8592
8593         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
8594         (drawSelectionRect):
8595
8596 2007-11-30  Darin Adler  <darin@apple.com>
8597
8598         * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
8599
8600 2007-11-30  Darin Adler  <darin@apple.com>
8601
8602         * Scripts/do-webcore-rename: Get ready for some future renaming.
8603
8604 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
8605
8606         Reviewed by Adam.
8607
8608         - Removed some unnecessary functions and changed an unused return type.
8609
8610         * Drosera/win/DebuggerClient.cpp:
8611         (registerConsoleClass):
8612         * Drosera/win/DebuggerClient.h:
8613         * Drosera/win/Drosera.cpp:
8614         (registerDroseraClass):
8615
8616 2007-11-28  Alp Toker  <alp@atoker.com>
8617
8618         Reviewed by Timothy Hatcher.
8619
8620         http://bugs.webkit.org/show_bug.cgi?id=16174
8621         [GTK] Use "URI" not "URL" in public API
8622
8623         Replace use of the term "URL" with "URI" in public headers,
8624         documentation and some internal code to match GLib/GTK+ convention.
8625
8626         This is now mentioned in the API guidelines:
8627           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
8628
8629         * GtkLauncher/main.c:
8630         (activate_uri_entry_cb):
8631         (title_change_cb):
8632         (create_toolbar):
8633         (main):
8634
8635 2007-11-29  Anders Carlsson  <andersca@apple.com>
8636
8637         Reviewed by Sam.
8638
8639         <rdar://problem/5230478>
8640         FrameLoadDelegate callbacks are not dumped in DRT.
8641
8642         * DumpRenderTree/win/DumpRenderTree.cpp:
8643         (shouldLogFrameLoadDelegates):
8644         (runTest):
8645         (main):
8646         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
8647         (BSTRtoString):
8648         (descriptionSuitableForTestResult):
8649         (FrameLoadDelegate::QueryInterface):
8650         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
8651         (FrameLoadDelegate::didFailProvisionalLoadWithError):
8652         (FrameLoadDelegate::didCommitLoadForFrame):
8653         (FrameLoadDelegate::didFinishLoadForFrame):
8654         (FrameLoadDelegate::willCloseFrame):
8655         (FrameLoadDelegate::didClearWindowObject):
8656         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
8657         (FrameLoadDelegate::didHandleOnloadEventsForFrame):
8658         * DumpRenderTree/win/FrameLoaderDelegate.h:
8659         (FrameLoadDelegate::windowScriptObjectAvailable):
8660         (FrameLoadDelegate::didFirstLayoutInFrame):
8661
8662 2007-11-29  Sam Weinig  <sam@webkit.org>
8663
8664         Reviewed by Anders.
8665
8666         Add database quota UIDelegates methods to DRT UIDelegate.
8667
8668         * DumpRenderTree/mac/UIDelegate.mm:
8669         (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
8670         (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
8671
8672 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
8673
8674         Reviewed by Sam.
8675
8676         - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
8677         dying and vice versa.
8678         - This fix will allow Drosera and Safari to reconnect if either of them
8679         closes correctly, but does not fix the case where one of them dies
8680         silently.
8681
8682         * Drosera/win/ServerConnection.cpp:
8683         (ServerConnection::attemptToCreateServerConnection): Added a safety
8684         check, because it's possilbe to try to connect to a server that's dying.
8685         (ServerConnection::serverDidDie): Implemented. This resets Drosera when
8686         the server has died.
8687         * Drosera/win/ServerConnection.h: Added the new function and removed
8688         an unnecessary member.
8689
8690 2007-11-29  Anders Carlsson  <andersca@apple.com>
8691
8692         * DumpRenderTree/win/DumpRenderTree.vcproj:
8693         Add shlwapi.lib to all configurations.
8694
8695 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
8696
8697         - Build fix.  Added additional includes for VS Express to the Release
8698         project.
8699
8700         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
8701
8702 2007-11-29  Anders Carlsson  <andersca@apple.com>
8703
8704         Reviewed by Adam.
8705
8706         <rdar://problem/5132005>
8707         setUserStyleSheetEnabled is not fully implemented in Windows DRT.
8708
8709         * DumpRenderTree/win/DumpRenderTree.vcproj:
8710         Add shlwapi.lib
8711
8712         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8713         (LayoutTestController::setUserStyleSheetEnabled):
8714         Implement this.
8715
8716         (appendComponentToPath):
8717         New method which wraps the Win32 API PathAppend.
8718
8719         (followShortcuts):
8720         New method which checks if a file points to a shortcut and
8721         follows the shortcut.
8722
8723         (resolveCygwinPath):
8724         New method that takes a cygwin unix-style path and returns the Win32 path.
8725
8726         (cfStringRefToWString):
8727
8728         (LayoutTestController::setUserStyleSheetLocation):
8729         Implement this.
8730
8731 2007-11-29  Alice Liu  <alice.liu@apple.com>
8732
8733         Reviewed by Adam.
8734
8735         Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
8736
8737         * DumpRenderTree/win/EventSender.cpp:
8738         (keyDownCallback):
8739         uppercase letters were being sent as lowercase letters without the shift key down.
8740
8741 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
8742
8743         - Windows build fix. VS express needs some love.
8744
8745         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
8746
8747 2007-11-28  Darin Adler  <darin@apple.com>
8748
8749         Reviewed by Adam Roben.
8750
8751         * DumpRenderTree/mac/EventSendingController.mm:
8752         (-[EventSendingController keyDown:withModifiers:]):
8753         Send capital letters through as lowercase letters with the shift key down
8754         rather than sending them as if they were highly unusual "capital letter keys".
8755
8756         * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
8757         where you need to update results and more tests are failing than before.
8758
8759 2007-11-28  Anders Carlsson  <andersca@apple.com>
8760
8761         Reviewed by Darin Adler.
8762
8763         <rdar://problem/5132001>
8764         contextClick is not implemented in DRT on Windows.
8765
8766         * DumpRenderTree/win/EventSender.cpp:
8767         (contextClickCallback):
8768         Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
8769         by a WM_RBUTTONUP message.
8770
8771         * DumpRenderTree/win/UIDelegate.cpp:
8772         (UIDelegate::hasCustomMenuImplementation):
8773         (UIDelegate::trackCustomPopupMenu):
8774         * DumpRenderTree/win/UIDelegate.h:
8775         Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
8776         menu from being shown (and causing the DRT to hang).
8777
8778 2007-11-27  Maciej Stachowiak  <mjs@apple.com>
8779
8780         Reviewed by Darin Adler.
8781
8782         Fix DumpRenderTree ObjC bug comparing strings.
8783
8784         * DumpRenderTree/mac/ObjCController.m:
8785         (-[ObjCController identityIsEqual::]): Compare strings with string
8786         equality instead of identiy equality.
8787
8788 2007-11-27  Timothy Hatcher  <timothy@apple.com>
8789
8790         Reviewed by Sam.
8791
8792         Reset the authorAndUserStylesEnabled preference
8793         back to YES for each test. Fixes the broken tests.
8794
8795         * DumpRenderTree/mac/DumpRenderTree.mm:
8796         (resetWebViewToConsistentStateBeforeTesting):
8797
8798 2007-11-27  Kevin McCullough  <kmccullough@apple.com>
8799
8800         Reviewed by Adam.
8801
8802         - Drosera now displays the console window, although it cannot currently
8803         process JavaScript.
8804
8805         * Drosera/win/DebuggerClient.cpp: Shows the console window.
8806         (registerConsoleClass): Implemented.
8807         (consoleWndProc): Implemented.
8808         (DebuggerClient::onSize): Implemented.
8809         (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
8810         new window.
8811         * Drosera/win/DebuggerClient.h: Added needed method and members for
8812         creating and maintaining a new window.
8813         * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
8814         lines of code to more appropriate places.
8815         (Drosera::handleCommand):
8816         (Drosera::initUI):
8817         (Drosera::onSize):
8818         (Drosera::attach):
8819
8820 2007-11-27  Timothy Hatcher  <timothy@apple.com>
8821
8822         Reviewed by Dave Hyatt.
8823
8824         <rdar://problem/5569233> Add the ability to disable author and user CSS styles
8825
8826         Add support for disabling author and user styles for testing.
8827
8828         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8829         * DumpRenderTree/LayoutTestController.cpp:
8830         (setAuthorAndUserStylesEnabledCallback):
8831         (LayoutTestController::staticFunctions):
8832         * DumpRenderTree/LayoutTestController.h:
8833         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8834         (LayoutTestController::setAuthorAndUserStylesEnabled):
8835         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
8836         (LayoutTestController::setAuthorAndUserStylesEnabled):
8837
8838 2007-11-26  Dan Bernstein  <mitz@apple.com>
8839
8840         - Tiger build fix.
8841
8842         * DumpRenderTree/mac/Configurations/Base.xcconfig:
8843
8844 2007-11-26  Kevin McCullough  <kmccullough@apple.com>
8845
8846         Reviewed by Maciej.
8847
8848         - Implemented displaying variables for Drosera on Win.
8849
8850         * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
8851         that retrieve variables to not hold onto the return value since it's
8852         not returned.  Also changed to use the new signatures of the retrieval
8853         functions.
8854         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
8855         (DebuggerDocument::platformValueForScopeVariableNamed):
8856         * Drosera/win/Drosera.cpp: Removed a needless TODO.
8857         (droseraWndProc):
8858
8859 2007-11-26  Sam Weinig  <sam@webkit.org>
8860
8861         Cleanup names of painting and repainting functions.
8862
8863         Reviewed by Adam Roben.
8864
8865         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
8866         (drawSelectionRect): was drawSelectionRectIntoContext.
8867         (dumpWebViewAsPixelsAndCompareWithExpected):
8868         * DumpRenderTree/cg/PixelDumpSupportCG.h:
8869         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
8870         (paintWebView): was drawWebViewIntoContext.
8871         (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
8872
8873 2007-11-26  Sam Weinig  <sam@webkit.org>
8874
8875         Reviewed by Dan Bernstein.
8876
8877         - Leopard build fix
8878
8879         * DumpRenderTree/mac/Configurations/Base.xcconfig:
8880
8881 2007-11-26  Sam Weinig  <sam@webkit.org>
8882
8883         Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
8884         Use shared PixelDumpSupport for Mac DRT
8885
8886         Reviewed by Adam Roben.
8887
8888         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8889         * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
8890         * DumpRenderTree/cg/ImageDiffCG.cpp:
8891         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
8892         (drawSelectionRectIntoContext):
8893         (dumpWebViewAsPixelsAndCompareWithExpected):
8894         * DumpRenderTree/cg/PixelDumpSupportCG.h:
8895         * DumpRenderTree/mac/Configurations/Base.xcconfig:
8896         * DumpRenderTree/mac/DumpRenderTree.mm:
8897         (dump):
8898         * DumpRenderTree/mac/ImageDiff.m: Removed.
8899         * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
8900         * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
8901         * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
8902         (setDefaultColorProfileToRGB):
8903         (getBitmapContextFromWebView):
8904         (drawWebViewIntoContext):
8905         (repaintWithVerticalSweep):
8906         (repaintWithHorizontalSweep):
8907         (getSelectionRect):
8908         * DumpRenderTree/win/PixelDumpSupport.h: Removed.
8909
8910 2007-11-25  David D. Kilzer  <ddkilzer@webkit.org>
8911
8912         Bug 16052: prepare-ChangeLog doesn't report deleted files
8913         <http://bugs.webkit.org/show_bug.cgi?id=16052>
8914
8915         Reviewed by Sam.
8916
8917         * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
8918
8919 2007-11-25  David Kilzer  <ddkilzer@webkit.org>
8920
8921         Bug 15864: Replace merge-changelog with resolve-ChangeLogs
8922         <http://bugs.webkit.org/show_bug.cgi?id=15864>
8923
8924         Reviewed by Adam.
8925
8926         Roll functionality of merge-changelog into resolve-ChangeLogs
8927         script.  The script now checks for ChangeLog.rej and
8928         ChangeLog.orig files first.  If it finds them, it uses the
8929         ChangeLog.rej file as a patch (in old contextual diff format) to
8930         apply with --fuzz=3.
8931
8932         * Scripts/merge-changelog: Removed.
8933         * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
8934
8935 2007-11-25  Sam Weinig  <sam@webkit.org>
8936
8937         Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
8938
8939         Reviewed by Mark Rowe.
8940
8941         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8942         * DumpRenderTree/mac/Configurations/Base.xcconfig:
8943         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
8944         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
8945         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
8946
8947 2007-11-25  Sam Weinig  <sam@webkit.org>
8948
8949         Convert DumpRenderTree to ues .xcconfig files.
8950
8951         Reviewed by Mark Rowe.
8952
8953         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8954         * DumpRenderTree/mac/Configurations: Added.
8955         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
8956         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
8957         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
8958
8959 2007-11-25  Sam Weinig  <sam@webkit.org>
8960
8961         Add ForwardingHeaders to wtf for DumpRenderTree.
8962
8963         Reviewed by Mark Rowe.
8964
8965         * DumpRenderTree/DumpRenderTree.h:
8966         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
8967         * DumpRenderTree/ForwardingHeaders: Added.
8968         * DumpRenderTree/ForwardingHeaders/wtf: Added.
8969         * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
8970         * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
8971         * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
8972         * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
8973         * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
8974         * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
8975         * DumpRenderTree/LayoutTestController.cpp:
8976         * DumpRenderTree/WorkQueue.cpp:
8977         * DumpRenderTree/mac/DumpRenderTree.mm:
8978         * DumpRenderTree/mac/FrameLoadDelegate.mm:
8979         * DumpRenderTree/mac/JavaScriptThreading.cpp:
8980         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
8981         * DumpRenderTree/mac/ObjCController.m:
8982         * DumpRenderTree/mac/UIDelegate.mm:
8983         * DumpRenderTree/mac/WorkQueueItemMac.mm:
8984
8985 2007-11-25  Adam Roben  <aroben@apple.com>
8986
8987         Fix some test failures caused by r28019
8988
8989         Now that stdout is in binary mode, we need to always use printf
8990         instead of wprintf. Otherwise we'll end up with UTF-16 characters in
8991         the output.
8992
8993         Reviewed by Sam.
8994
8995         * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
8996         printf.
8997         (UIDelegate::runJavaScriptAlertPanelWithMessage):
8998         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
8999         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
9000         (UIDelegate::webViewAddMessageToConsole):
9001
9002 2007-11-25  Adam Roben  <aroben@apple.com>
9003
9004         Set the font smoothing preference in DRT
9005
9006         This makes the pixel results on Windows closer to the Mac results.
9007
9008         Reviewed by Mitz.
9009
9010         * DumpRenderTree/win/DumpRenderTree.cpp:
9011         (initializePreferences):
9012
9013 2007-11-25  Adam Roben  <aroben@apple.com>
9014
9015         Port ImageDiff to CG and C++
9016
9017         Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
9018         <rdar://5071708>
9019
9020         Reviewed by Sam.
9021
9022         * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
9023         * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
9024         (main):
9025         (createImageFromStdin):
9026         (compareImages):
9027         (getDifferenceBitmap):
9028         (computePercentageDifferent):
9029         * DumpRenderTree/win/ImageDiff.vcproj: Added.
9030
9031 2007-11-25  Adam Roben  <aroben@apple.com>
9032
9033         Fix image diff link generation on Windows
9034
9035         Reviewed by Sam.
9036
9037         * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
9038         to toURL.
9039
9040 2007-11-25  Adam Roben  <aroben@apple.com>
9041
9042         Implement pixel dumping in Windows DRT
9043
9044         Part of http://bugs.webkit.org/show_bug.cgi?id=16133
9045         <rdar://5071708>
9046
9047         Reviewed by Sam.
9048
9049         * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
9050         (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
9051         Content-Length header.
9052         (getMD5HashStringForBitmap):
9053         (dumpWebViewAsPixelsAndCompareWithExpected):
9054         * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
9055         * DumpRenderTree/win/DumpRenderTree.cpp:
9056         (dump): Do a pixel dump if requested.
9057         (main): Parse pixel test options.
9058         * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
9059         the cg/ subdirectory to the include path.
9060         * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
9061         available in a header or import library, so we have to go through this
9062         LoadLibrary/GetProcAddress dance to use them.
9063         (cryptDLL):
9064         (init):
9065         (update):
9066         (final):
9067         (MD5_Init):
9068         (MD5_Update):
9069         (MD5_Final):
9070         * DumpRenderTree/win/MD5.h: Added.
9071         * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
9072         moved up to the top level to share it with Mac eventually.
9073         * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
9074         (getBitmapContextFromWebView): Forces the WebView to paint using a
9075         WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
9076
9077 2007-11-25  Adam Roben  <aroben@apple.com>
9078
9079         Clean up Windows DRT's option parsing a little bit
9080
9081         Reviewed by Sam.
9082
9083         * DumpRenderTree/win/DumpRenderTree.cpp:
9084         (main): Put non-option arguments into a Vector.
9085
9086 2007-11-25  Adam Roben  <aroben@apple.com>
9087
9088         Make Windows DRT stop changing LF into CRLF
9089
9090         Reviewed by Sam.
9091
9092         * DumpRenderTree/win/DumpRenderTree.cpp:
9093         (main): Put stdout in binary mode.
9094         * Scripts/run-webkit-tests: Remove the CRLF hack.
9095
9096 2007-11-24  David Kilzer  <ddkilzer@webkit.org>
9097
9098         Removed empty directory.
9099
9100         * Scripts/resources: Removed.
9101
9102 2007-11-23  David D. Kilzer  <ddkilzer@webkit.org>
9103
9104         Fix bisect-builds to work with recent WebKit nightly builds.
9105
9106         Reviewed by Dan.
9107
9108         * Scripts/bisect-builds: Check for the
9109         WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
9110         it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
9111         to WebKit.app/Contents/Resources.
9112
9113 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
9114
9115         Reviewed by Maciej.
9116
9117         <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
9118         not closed (affects digg.com)
9119
9120         * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
9121         one after finishing with a test to avoid having its delayed onload handler firing when
9122         replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
9123         but it helps somewhat.
9124
9125 2007-11-22  Mark Rowe  <mrowe@apple.com>
9126
9127         Reviewed by Alp Toker.
9128
9129         Fix build-webkit to propagate make's exit status if it fails.
9130
9131         * Scripts/webkitdirs.pm:
9132
9133 2007-11-22  Dan Bernstein  <mitz@apple.com>
9134
9135         Reviewed by Mark Rowe.
9136
9137         - fix crash when running pixel tests
9138
9139         * DumpRenderTree/mac/DumpRenderTree.mm:
9140         (dumpRenderTree): Parse the command line options before setting up the
9141         environment so that we know if we need to set up the pixel dump
9142         machinery.
9143
9144 2007-11-21  Eric Seidel  <eric@webkit.org>
9145
9146         Speculative build fix for Tiger.
9147
9148         * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
9149
9150 2007-11-21  Eric Seidel  <eric@webkit.org>
9151
9152         Reviewed by Tim Hatcher.
9153
9154         Break out more of DumpRenderTree.mm into individual files
9155
9156         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9157         * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
9158         (checkedMalloc):
9159         (checkedRealloc):
9160         (makeLargeMallocFailSilently):
9161         * DumpRenderTree/mac/CheckedMalloc.h: Added.
9162         * DumpRenderTree/mac/DumpRenderTree.mm:
9163         (crashHandler):
9164         (dump):
9165         * DumpRenderTree/mac/DumpRenderTreeMac.h:
9166         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
9167         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
9168         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
9169         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
9170         * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
9171         (javaScriptThreads):
9172         (runJavaScriptThread):
9173         (startJavaScriptThreads):
9174         (stopJavaScriptThreads):
9175         * DumpRenderTree/mac/JavaScriptThreading.h: Added.
9176         * DumpRenderTree/mac/PixelDumpSupport.h: Added.
9177         * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
9178         (restoreColorSpace):
9179         (setDefaultColorProfileToRGB):
9180         (initializeColorSpaceAndScreeBufferForPixelTests):
9181         (md5HashStringForBitmap):
9182         (dumpWebViewAsPixelsAndCompareWithExpected):
9183
9184 2007-11-21  Kevin Ollivier  <kevino@theolliviers.com>
9185
9186         Move install-unix-extras to wx directory as it seems only to be used by that
9187         port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
9188         Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
9189         have install-unix-extras install into WebKitLibraries as per
9190         convention.
9191
9192         Reviewed by Mark Rowe.
9193
9194         * Scripts/install-unix-extras: Removed.
9195         * wx/build-wxwebkit:
9196         * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
9197
9198 2007-11-21  Eric Seidel  <eric@webkit.org>
9199
9200         Reviewed by Adam.
9201
9202         More refactoring for greater code readability
9203
9204         * DumpRenderTree/mac/DumpRenderTree.mm:
9205         (initializeGlobalsFromCommandLineOptions):
9206         (initializeColorSpaceAndScreeBufferForPixelTests):
9207         (addTestPluginsToPluginSearchPath):
9208         (useLongRunningServerMode):
9209         (runTestingServerLoop):
9210         (prepareConsistentTestingEnvironment):
9211         (dumpRenderTree):
9212         (main):
9213         (dumpFramesAsText):
9214         (dumpBackForwardListForWebView):
9215         (sizeWebViewForCurrentTest):
9216         (methodNameStringForFailedTest):
9217         (dumpBackForwardListForAllWindows):
9218         (dumpWebViewAsPixelsAndCompareWithExpected):
9219         (invalidateAnyPreviousWaitToDumpWatchdog):
9220         (dump):
9221         * DumpRenderTree/mac/DumpRenderTreeMac.h:
9222         * DumpRenderTree/mac/UIDelegate.mm:
9223         (-[UIDelegate webView:createWebViewWithRequest:]):
9224
9225 2007-11-21  Eric Seidel  <eric@webkit.org>
9226
9227         Reviewed by Tim Hatcher.
9228
9229         Abstract more of DRT into static methods
9230
9231         * DumpRenderTree/mac/DumpRenderTree.mm:
9232         (setDefaultsToConsistentValuesForTesting):
9233         (setupSignalHandlers):
9234         (allocateGlobalControllers):
9235         (releaseAndZero):
9236         (releaseGlobalControllers):
9237         (dumpRenderTree):
9238         (shouldLogFrameLoadDelegates):
9239         (createCFURLFromPathOrURL):
9240         (resetWebViewToConsistentStateBeforeTesting):
9241         (runTest):
9242
9243 2007-11-21  Eric Seidel  <eric@webkit.org>
9244
9245         Reviewed by Tim Hatcher.
9246
9247         Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
9248
9249         * DumpRenderTree/DumpRenderTree.h:
9250         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9251         * DumpRenderTree/mac/DumpRenderTree.mm:
9252         (dumpRenderTree):
9253         (dump):
9254         (runTest):
9255         * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
9256         * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
9257         (+[DumpRenderTreePasteboard _pasteboardWithName:]):
9258         (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
9259         (-[DumpRenderTreePasteboard declareType:owner:]):
9260         (+[LocalPasteboard alloc]):
9261         (-[LocalPasteboard init]):
9262         (-[LocalPasteboard dealloc]):
9263         (-[LocalPasteboard name]):
9264         (-[LocalPasteboard releaseGlobally]):
9265         (-[LocalPasteboard declareTypes:owner:]):
9266         (-[LocalPasteboard addTypes:owner:]):
9267         (-[LocalPasteboard changeCount]):
9268         (-[LocalPasteboard types]):
9269         (-[LocalPasteboard availableTypeFromArray:]):
9270         (-[LocalPasteboard setData:forType:]):
9271         (-[LocalPasteboard dataForType:]):
9272         (-[LocalPasteboard setPropertyList:forType:]):
9273         (-[LocalPasteboard setString:forType:]):
9274         * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
9275         * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
9276         (+[DumpRenderTreeWindow allWindows]):
9277         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
9278         (-[DumpRenderTreeWindow dealloc]):
9279         (-[DumpRenderTreeWindow isKeyWindow]):
9280         (-[DumpRenderTreeWindow keyDown:]):
9281
9282 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
9283
9284         wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
9285         it indiscriminately copies any headers inside JavaScriptCore,
9286         which includes Tiger ICU headers.
9287
9288         * wx/build-wxwebkit:
9289         Don't run WebCore/move-js-headers.sh any longer.
9290
9291 2007-11-20  Adam Treat  <treat@kde.org>
9292
9293         Reviewed by David Kilzer.
9294
9295         * Prepend git branch name to $baseProductDir
9296
9297         * Scripts/VCSUtils.pm:
9298         * Scripts/webkitdirs.pm:
9299
9300 2007-11-20  Mark Rowe  <mrowe@apple.com>
9301
9302         Reviewed by Simon Hausmann.
9303
9304         * Scripts/build-webkit:  Pass "clean" flag down into buildQMakeProject.
9305         * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
9306         Have it trigger a "make distclean" rather than "make clean" to ensure that the
9307         built product and generated Makefile's are removed.
9308
9309 2007-11-19  Alp Toker  <alp@atoker.com>
9310
9311         Reviewed by Mark Rowe.
9312
9313         http://bugs.webkit.org/show_bug.cgi?id=16040
9314         [GTK] GtkLauncher should be written in C
9315
9316         Port GtkLauncher to plain C.
9317
9318         Use a more conventional GTK+ coding style.
9319
9320         Use a toolbar instead of menus.
9321
9322         Various signature fixes and cleanups.
9323
9324         Add a license header. Assume all previous modifications were copyright
9325         assigned to Apple Inc. by default.
9326
9327         * GtkLauncher/GtkLauncher.pro:
9328         * GtkLauncher/main.c: Added.
9329         (activate_url_entry_cb):
9330         (update_title):
9331         (link_hover_cb):
9332         (title_change_cb):
9333         (progress_change_cb):
9334         (destroy_cb):
9335         (go_back_cb):
9336         (go_forward_cb):
9337         (create_browser):
9338         (create_statusbar):
9339         (create_toolbar):
9340         (create_window):
9341         (main):
9342         * GtkLauncher/main.cpp: Removed.
9343
9344 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
9345
9346         Build script fixes to ensure they do the right thing for the
9347         wx port, and update build-wxwebkit to reflect the way the
9348         build scripts now work.
9349
9350         Reviewed by Adam.
9351
9352         * Scripts/build-testkjs:
9353         * Scripts/build-webkit:
9354         * Scripts/run-javascriptcore-tests:
9355         * Scripts/webkitdirs.pm:
9356         * wx/build-wxwebkit:
9357
9358 2007-11-18  Eric Seidel  <eric@webkit.org>
9359
9360         Reviewed by Anders.
9361
9362         Make run-javascriptcore-tests report failures on exit (to support git bisect)
9363
9364         * Scripts/run-javascriptcore-tests:
9365
9366 2007-11-18  Alexey Proskuryakov  <ap@webkit.org>
9367
9368         Reviewed by Adam Roben.
9369
9370         Make run-webkit-tests work with Windows debug build.
9371
9372         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
9373         * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
9374         as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
9375         symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
9376         and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
9377
9378 2007-11-18  Kevin Ollivier  <kevino@theolliviers.com>
9379
9380         Add wxWebKit sample and build script, and integrate it with
9381         build-webkit. Also make build-webkit --clean work for all
9382         ports.
9383
9384         Reviewed by Darin Adler.
9385
9386         * Scripts/build-webkit:
9387         * Scripts/webkitdirs.pm:
9388         * wx: Added.
9389         * wx/browser: Added.
9390         * wx/browser/browser.bkl: Added.
9391         * wx/browser/browser.cpp: Added.
9392         * wx/build-wxwebkit: Added.
9393
9394 2007-11-17  Adam Roben  <aroben@apple.com>
9395
9396         Make it easy to run Safari in the debugger on Windows
9397
9398         I've added a new script, debug-safari, which launches Safari in the
9399         debugger. On OS X it just calls gdb-safari.
9400
9401         Reviewed by Mark Rowe.
9402
9403         * FindSafari/FindSafari.cpp:
9404         (_tmain): Added a /debugger flag, which in combination with
9405         /printSafariLauncher will print a script that launches Safari in the
9406         debugger.
9407         * Scripts/debug-safari: Added.
9408         * Scripts/run-safari: Changed to call runSafari().
9409         * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
9410         vsvars32.bat, which will let us find VS/VC++ Express, and passes the
9411         first argument along to FindSafari.
9412         * Scripts/webkitdirs.pm:
9413         (sub runSafari): Added.
9414
9415 2007-11-16  Alexey Proskuryakov  <ap@webkit.org>
9416
9417         Reviewed by Adam Roben.
9418
9419         * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
9420
9421 2007-11-16  Ryan Leavengood  <leavengood@gmail.com>
9422
9423         Reviewed by David Kilzer.
9424
9425         The git config command was renamed to repo-config at some point. This
9426         change tries git config and then git repo-config if the first fails.
9427
9428         * Scripts/prepare-ChangeLog:
9429         (gitConfig):
9430
9431 2007-11-16  Dan Bernstein  <mitz@apple.com>
9432
9433         Reviewed by Darin Adler and Sam Weinig.
9434
9435         - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
9436
9437         * DumpRenderTree/win/EventSender.cpp:
9438         (keyDownCallback): For characters that cannot be entered on the active
9439         keyboard layout, send a WM_CHAR message with the character along with
9440         a WM_KEYDOWN message with a virtual key code of 255.
9441
9442 2007-11-16  Mark Rowe  <mrowe@apple.com>
9443
9444         Reviewed by Tim Hatcher.
9445
9446         Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
9447
9448         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
9449         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9450
9451 2007-11-15  Adam Roben  <aroben@apple.com>
9452
9453         Make run-safari actually work on Windows
9454
9455         * Scripts/run-safari: Fixed the order of arguments to cp, and added a
9456         chdir call.
9457
9458 2007-11-14  Adam Roben  <aroben@apple.com>
9459
9460         Updates to Safari launching now that 3.0.4 is released
9461
9462         Reviewed by Sam.
9463
9464         * FindSafari/FindSafari.cpp:
9465         (getWebViewCLSID): Use version-independent ProgID.
9466         * Scripts/run-safari: Use run-webkit-nightly.cmd.
9467
9468 2007-11-14  Anders Carlsson  <andersca@apple.com>
9469
9470         Reviewed by Adam.
9471
9472         <rdar://problem/5309081>
9473         In DRT, "plugin.logDestroy = true" not working on Windows.
9474
9475         * DumpRenderTree/win/TestNetscapePlugin/main.c:
9476         (NPP_Destroy):
9477
9478 2007-11-14  Eric Seidel  <eric@webkit.org>
9479
9480         Reviewed by Sam.
9481
9482         * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
9483
9484 2007-11-14  Anders Carlsson  <andersca@apple.com>
9485
9486         Reviewed by Adam.
9487
9488         <rdar://problem/5141186>
9489         window.layoutTestController.setWindowIsKey is not implemented in DRT.
9490
9491         Implement setWindowIsKey.
9492
9493         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9494         (LayoutTestController::setWindowIsKey):
9495
9496 2007-11-13  Sam Weinig  <sam@webkit.org>
9497
9498         Reviewed by Adam Roben.
9499
9500         Fix for <rdar://problem/5382579>
9501         http/tests/security/cross-frame-access-put.html reports large
9502         negative numbers for screenLeft and screenTop (Mac reports "0")
9503
9504         * DumpRenderTree/win/UIDelegate.cpp:
9505         (UIDelegate::UIDelegate): Initialize the RECT.
9506         (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
9507         (UIDelegate::webViewFrame): ditto.
9508         * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
9509
9510 2007-11-13  Kevin McCullough  <kmccullough@apple.com>
9511
9512         Reviewed by Adam.
9513
9514         - Make Drosera show source, source URLs, and function stack on Windows,
9515         and some minor fixes.
9516
9517         * Drosera/DebuggerDocument.cpp: Force source to always update display.
9518         (DebuggerDocument::updateFileSource):
9519         * Drosera/debugger.js: Force source to always update display.
9520         * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
9521         menu controls.
9522         (DebuggerClient::resume):
9523         (DebuggerClient::pause):
9524         (DebuggerClient::stepInto):
9525         (DebuggerClient::stepOver):
9526         (DebuggerClient::stepOut):
9527         (DebuggerClient::showConsole):
9528         (DebuggerClient::closeCurrentFile):
9529         * Drosera/win/DebuggerClient.h: Ditto.
9530         * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
9531         getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
9532         removed two bugs.  1) caller could be in a bad state when asked to
9533         assign into it. 2) BSTRs were not created correctly.
9534         (DebuggerDocument::getPlatformCurrentFunctionStack):
9535         * Drosera/win/Drosera.cpp: Hook up the menu controls.
9536         (droseraWndProc):
9537         (handleCommand):
9538         (Drosera::resume):
9539         (Drosera::pause):
9540         (Drosera::stepInto):
9541         (Drosera::stepOver):
9542         (Drosera::stepOut):
9543         (Drosera::showConsole):
9544         (Drosera::closeCurrentFile):
9545         * Drosera/win/Drosera.h: Hook up the menu controls.
9546         * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
9547         functions, added a null check, and fixed another bug where caller could
9548         be in a bad state when asked to assign into it.
9549         (ServerConnection::didLoadMainResourceForDataSource):
9550         (ServerConnection::getCallerFrame):
9551         * Drosera/win/ServerConnection.h: Safety first.
9552
9553 2007-11-13  Dan Bernstein  <mitz@apple.com>
9554
9555         Reviewed by Darin Adler.
9556
9557         - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
9558           DumpRenderTree --pixel-tests renders each test twice
9559
9560         * DumpRenderTree/mac/DumpRenderTree.mm:
9561         (dumpRenderTree): Removed the --paint option because the painting code
9562         is always exercised as a result of
9563         -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
9564         calling -displayIfNeeded.
9565         (dump): Changed to always grab the image from the window since the view
9566         is always displayed.
9567         (runTest):
9568         (displayWebView):
9569         * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
9570         because it always paints.
9571
9572 2007-11-12  Antti Koivisto  <antti@apple.com>
9573
9574         Reviewed by Adele.
9575
9576         Add support for http media tests
9577
9578         * Scripts/run-webkit-tests:
9579
9580 2007-11-12  Sam Weinig  <sam@webkit.org>
9581
9582         Reviewed by Adam Roben.
9583
9584         Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
9585
9586         * DumpRenderTree/win/DumpRenderTree.cpp:
9587         (runTest):
9588         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9589         (LayoutTestController::setPrivateBrowsingEnabled):
9590
9591 2007-11-12  Adam Roben  <aroben@apple.com>
9592
9593         * Scripts/update-webkit-localizable-strings: Changed to only scan the
9594         mac and win subdirectories.
9595
9596 2007-11-11  Adam Roben  <aroben@apple.com>
9597
9598         Fix <rdar://5133816> keepWebHistory is not implemented
9599
9600         Fixes fast/history/clicked-link-is-visited.html.
9601
9602         Reviewed by Darin Adler.
9603
9604         * DumpRenderTree/win/DumpRenderTree.cpp:
9605         (runTest): Clear the optionalSharedHistory.
9606         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9607         (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
9608
9609 2007-11-10  Sam Weinig  <sam@webkit.org>
9610
9611         Reviewed by Tim Hatcher.
9612
9613         Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
9614         attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
9615         is turned on)
9616
9617         - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
9618
9619         Added test: http/tests/security/cross-frame-access-private-browsing.html
9620
9621         * DumpRenderTree/LayoutTestController.cpp:
9622         (setPrivateBrowsingEnabledCallback):
9623         (LayoutTestController::staticFunctions):
9624         * DumpRenderTree/LayoutTestController.h:
9625         * DumpRenderTree/mac/DumpRenderTree.mm:
9626         (runTest): Default to private browsing disabled.
9627         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
9628         (LayoutTestController::setPrivateBrowsingEnabled):
9629         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
9630         (LayoutTestController::setPrivateBrowsingEnabled):
9631
9632 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
9633
9634         Reviewed by Adam.
9635
9636         - Changed the vcproj file to use Drosera's ForwardingHeaders and not
9637         WebCore's!
9638
9639         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
9640         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
9641         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
9642         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
9643         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
9644         * Drosera/win/Drosera.cpp:
9645         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
9646
9647 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
9648
9649         Reviewed by Sam.
9650
9651         - Use the new IWebFrame [local] function signature and get the shared
9652         server correctly.
9653
9654         * Drosera/win/DebuggerClient.cpp:
9655         (DebuggerClient::didFinishLoadForFrame):
9656         * Drosera/win/ServerConnection.cpp:
9657         (ServerConnection::attemptToCreateServerConnection):
9658
9659 2007-11-07  Dan Bernstein  <mitz@apple.com>
9660
9661         Reviewed by Darin Adler.
9662
9663         - add an option to run-webkit-tests to ignore pixel test failures where
9664           all pixels differ by no more than a specified threshold
9665
9666         * DumpRenderTree/mac/ImageDiff.m:
9667         (main):
9668         (compareImages):
9669         (computePercentageDifferent):
9670         * Scripts/run-webkit-tests:
9671
9672 2007-11-07  Simon Hausmann  <hausmann@kde.org>
9673
9674         Reviewed by Lars.
9675
9676         Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
9677
9678         * DumpRenderTree/qt/DumpRenderTree.cpp:
9679
9680 2007-11-07  Simon Hausmann  <hausmann@kde.org>
9681
9682         Reviewed by Lars.
9683
9684         Reworked the QWebSettings API.
9685         QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
9686
9687         * DumpRenderTree/qt/DumpRenderTree.cpp:
9688
9689 2007-11-07  Simon Hausmann  <hausmann@kde.org>
9690
9691         Reviewed by Lars.
9692
9693         Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
9694
9695         * DumpRenderTree/qt/jsobjects.cpp:
9696
9697 2007-11-07  Simon Hausmann  <hausmann@kde.org>
9698
9699         Reviewed by Lars Knoll <lars@trolltech.com>.
9700
9701         Add a QWebPage::frameCreated() signal and fix DRT
9702
9703         The removal of createFrame in QWebPage broke the re-implementation
9704         in DumpRenderTree. Instead emit a frameCreated() signal and
9705         connect to it in DumpRenderTree.
9706
9707
9708         * DumpRenderTree/qt/DumpRenderTree.cpp:
9709         (WebCore::WebPage::WebPage):
9710         (WebCore::DumpRenderTree::dump):
9711         (WebCore::DumpRenderTree::connectFrame):
9712         * DumpRenderTree/qt/DumpRenderTree.h:
9713
9714 2007-11-07  Simon Hausmann  <hausmann@kde.org>
9715
9716         Reviewed by Lars Knoll <lars@trolltech.com>.
9717
9718         Moved all the event handlers from QWebFrame into QWebPage.
9719
9720         This cleans up the public API and allows us to remove the
9721         HackWebFrame hack in DumpRenderTree.
9722
9723
9724         * DumpRenderTree/qt/jsobjects.cpp:
9725         (EventSender::mouseDown):
9726         (EventSender::mouseUp):
9727         (EventSender::mouseMoveTo):
9728
9729 2007-11-07  Simon Hausmann  <hausmann@kde.org>
9730
9731         Reviewed by Mark.
9732
9733         Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
9734         to prevent the default implementation from popping up messageboxes.
9735
9736         * DumpRenderTree/qt/DumpRenderTree.cpp:
9737         (WebCore::WebPage::javaScriptConfirm):
9738         (WebCore::WebPage::javaScriptPrompt):
9739
9740 2007-11-06  Eric Seidel  <eric@webkit.org>
9741
9742         * Scripts/build-testkjs: build fix... too many $$
9743
9744 2007-11-06  Eric Seidel  <eric@webkit.org>
9745
9746         Reviewed by Mark Rowe.
9747
9748         * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
9749
9750 2007-11-05  Adam Roben  <aroben@apple.com>
9751
9752         Add support on Windows for WEBKIT_TESTFONTS
9753
9754         This environment variable lets you specify where the fonts to be used
9755         by DumpRenderTree reside. The Qt port is already using this, so I'm
9756         just following their lead.
9757
9758         Reviewed by Darin Adler.
9759
9760         * DumpRenderTree/win/DumpRenderTree.cpp:
9761         (exePath): Refactored code out of initialize().
9762         (fontsPath): Returns either $WEBKIT_TESTFONTS or
9763         DumpRenderTree.resources.
9764         (initialize): Use the new fontsPath function.
9765         (main): Use the new exePath function.
9766         * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
9767         variable to DRT, like Qt does.
9768
9769 2007-11-05  Mark Rowe  <mrowe@apple.com>
9770
9771         Rubber-stamped by Alp Toker.
9772
9773         Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
9774
9775         * GtkLauncher/main.cpp:
9776         (goToURLBarText):
9777         (main):
9778
9779 2007-11-04  David D. Kilzer  <ddkilzer@webkit.org>
9780
9781         bisect-builds doesn't work with nightly build r19992 or newer on Leopard
9782         <http://bugs.webkit.org/show_bug.cgi?id=15830>
9783
9784         Reviewed by Timothy.
9785
9786         Restrict the range of nightly builds used by the bisect-builds script
9787         based on the version of Safari and the version of Mac OS X being used.
9788
9789         Mac OS X 10.4: Safari 2.0: r11976 or newer
9790         Mac OS X 10.4: Safari 3.0: r19992 or newer
9791
9792         Mac OS X 10.5: Safari 2.0: r19594 or newer
9793         Mac OS X 10.5: Safari 3.0: r25124 or newer
9794
9795         * Scripts/bisect-builds:
9796         (findMacOSXVersion): Added.
9797         (makeNightlyList): Added argument to provide version of Mac OS X.
9798         Restrict range of nightly builds based on Safari and Mac OS X versions.
9799
9800 2007-11-04  Kevin McCullough  <kmccullough@apple.com>
9801
9802         Reviewed by Maciej.
9803
9804         - This patch involves several changes, all of them were noticed that
9805         they were needed by the work being done in WebKit to get Drosera and
9806         WebKit working together on Windows.
9807         - The changes are:
9808         1) Added a debugger console for output messages.
9809         2) Drosera now listens for the WebKit server (before, the server would
9810         have to be running before Drosera was started.)
9811         3) Fixed a bug where the WebView started out as 0x0 pixels.
9812         4) Fixed a bug when there is no scope.
9813         5) Added the HTML, JS, and CSS to the project file to make them easy to
9814         find.
9815         6) Made the ServerConnection functions virtual.
9816
9817         * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
9818         for the WebKit server.
9819         (DebuggerClient::DebuggerClient):
9820         (DebuggerClient::~DebuggerClient):
9821         (DebuggerClient::didFinishLoadForFrame):
9822         (DebuggerClient::serverConnected):
9823         (DebuggerClient::attemptToCreateServerConnection):
9824         * Drosera/win/DebuggerClient.h: Ditto.
9825         * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
9826         scope.
9827         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
9828         (DebuggerDocument::platformValueForScopeVariableNamed):
9829         * Drosera/win/Drosera.cpp:
9830         (_tWinMain): Added a console in debug for output messages.
9831         (Drosera::Drosera): Listen for server.
9832         (Drosera::initUI): The server now Initializes COM.
9833         (Drosera::serverConnected): Part of the listening for the server.
9834         (Drosera::attemptToCreateServerConnection): Ditto.
9835         * Drosera/win/Drosera.h: New interface for listening for the server.
9836         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
9837         files to the VS project.
9838         * Drosera/win/ServerConnection.cpp: Part of listening for the server
9839         connection.
9840         (ServerConnection::ServerConnection):
9841         (ServerConnection::attemptToCreateServerConnection):
9842         * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
9843         methods.
9844         (ServerConnection::serverConnected):
9845
9846 2007-11-04  Alexey Proskuryakov  <ap@webkit.org>
9847
9848         Reviewed by Maciej.
9849
9850         http://bugs.webkit.org/show_bug.cgi?id=15832
9851         fast/dom/gc-10.html crashes when run alone
9852
9853         Check for !done before using objects that can be already deallocated.
9854
9855         * DumpRenderTree/mac/EditingDelegate.mm:
9856         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
9857         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
9858         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
9859         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
9860         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
9861         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
9862         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
9863         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
9864         (-[EditingDelegate webViewDidBeginEditing:]):
9865         (-[EditingDelegate webViewDidChange:]):
9866         (-[EditingDelegate webViewDidEndEditing:]):
9867         (-[EditingDelegate webViewDidChangeTypingStyle:]):
9868         (-[EditingDelegate webViewDidChangeSelection:]):
9869         * DumpRenderTree/mac/FrameLoadDelegate.mm:
9870         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
9871         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
9872         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
9873         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
9874         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
9875         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
9876         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
9877         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
9878         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
9879         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
9880         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
9881         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
9882         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
9883         (-[FrameLoadDelegate webView:willCloseFrame:]):
9884         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
9885         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
9886         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
9887         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
9888         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
9889         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
9890         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
9891         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
9892         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
9893
9894 2007-11-04  Mark Rowe  <mrowe@apple.com>
9895
9896         Build fix.  Don't use Carbon.h as the prefix header as it triggers
9897         warnings that would otherwise be suppressed due to it being a system header.
9898
9899         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9900
9901 2007-11-03  Maciej Stachowiak  <mjs@apple.com>
9902
9903         Rubber stamped by Adam.
9904
9905         - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
9906
9907         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9908
9909 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
9910
9911         Sort files(...); sections of Xcode project files.
9912
9913         Rubber-stamped by Darin Adler.
9914
9915         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
9916         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
9917         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9918         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
9919
9920 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
9921
9922         Script to sort "files(...);" sections in Xcode project.pbxproj files.
9923
9924         Reviewed by Darin Adler.
9925
9926         * Scripts/sort-Xcode-project-file: Added.
9927
9928 2007-11-02  Darin Adler  <darin@apple.com>
9929
9930         * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
9931
9932 2007-11-02  Darin Adler  <darin@apple.com>
9933
9934         Reviewed by Maciej.
9935
9936         * Scripts/run-sunspider: Pass the "--base" option through.
9937
9938         * Scripts/sunspider-compare-results: Don't check the number of parameters; let
9939         the real script do that. Default configuration to Release to match run-sunspider
9940         so we don't end up building Debug just to compare results.
9941
9942 2007-11-01  Adam Roben  <aroben@apple.com>
9943
9944         Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
9945
9946         Reviewed by Sam.
9947
9948         * Scripts/commit-log-editor: Show all the directories beneath the
9949         source root, instead of just the last one.
9950
9951 2007-11-01  Kevin Ollivier  <kevino@theolliviers.com>
9952
9953         Reviewed by Adam Roben.
9954
9955         Print out an error message when the Windows build fails
9956         and provide guidance on how to find out what went wrong.
9957
9958         * Scripts/build-webkit:
9959         * Scripts/webkitdirs.pm:
9960
9961 2007-11-01  Alexey Proskuryakov  <ap@webkit.org>
9962
9963         Rubber-stamped by Adam Roben.
9964
9965         Rolled out r27326 - debug CRT seems to cause no problems after all.
9966
9967         * DumpRenderTree/win/DumpRenderTree.vcproj:
9968
9969 2007-10-31  Adam Roben  <aroben@apple.com>
9970
9971         Switch the Debug configuration to using the non-debug CRT
9972
9973         This matches WebKit.
9974
9975         Reviewed by Steve.
9976
9977         * DumpRenderTree/win/DumpRenderTree.vcproj:
9978
9979 2007-10-31  Antti Koivisto  <antti@apple.com>
9980
9981         Reviewed by bdash.
9982
9983         Disable media tests when doing leak checking on Tiger.
9984         They crash in QuickTime (rdar://problem/5537157).
9985
9986         * Scripts/run-webkit-tests:
9987
9988 2007-10-29  Antti Koivisto  <antti@apple.com>
9989
9990         Reviewed by Maciej.
9991
9992         Build media support by default on OSX only.
9993
9994         * Scripts/build-webkit:
9995
9996 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
9997
9998         - Made Adam the reviewer for a previous checkin. Not sure how it didn't
9999         get caught by the pre-commit hooks.
10000
10001 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
10002
10003         Reviewed by Adam.
10004
10005         - This is a collection of relatively unrelated changes and cleanups
10006         to Drosera to prepare it for interacting with WebKit.  A lot of these
10007         changes are just correcting mistakes, for example removing included
10008         headers that are no longer needed.
10009
10010         * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
10011         this will be needed by the DebuggerClient.
10012         (DebuggerDocument::server):
10013         * Drosera/win/BaseDelegate.h: Removed unnecessary include.
10014         * Drosera/win/DebuggerClient.cpp:
10015         (DebuggerClient::didFinishLoadForFrame): Finished implementing.
10016         (DebuggerClient::didReceiveTitle): Added comment about its purpose.
10017         (DebuggerClient::createWebViewWithRequest): Added comment about its
10018         purpose.
10019         * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
10020         declarations.
10021         (DebuggerClient::webViewLoaded): Moved.
10022         * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
10023         file, since this was the only place it was used.
10024         (cfStringToBSTR):
10025         * Drosera/win/Drosera.h: Cleaned up the includes.
10026         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
10027         * Drosera/win/HelperFunctions.h: Removed.
10028
10029 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
10030
10031         Reviewed by Adam.
10032
10033         - Small cleanup in the ServerConnection class.
10034
10035         * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
10036         and added an include.
10037         (ServerConnection::currentFrame):
10038         (ServerConnection::getCallerFrame):
10039         * Drosera/win/ServerConnection.h: Added comments, moved some functions,
10040         made a pointer into a COMPtr, and cleaned up the includes.
10041
10042 2007-10-29  Timothy Hatcher  <timothy@apple.com>
10043
10044         Reviewed by John Sullivan.
10045
10046         - Place the Localizable.strings file in mac or win directories
10047           if that location exists.
10048         - Also look for UI_STRING in .c files.
10049
10050         * Scripts/extract-localizable-strings:
10051
10052 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
10053
10054         Reviewed by Adam.
10055
10056         - Set the eol-style to native and made all the line endings the same
10057         so that I avoid messy diffs that show eol changes.
10058
10059         * Drosera/win/ServerConnection.cpp:
10060         (ServerConnection::didParseSource):
10061         (ServerConnection::didEnterCallFrame):
10062         (ServerConnection::willExecuteStatement):
10063         (ServerConnection::willLeaveCallFrame):
10064         (ServerConnection::exceptionWasRaised):
10065
10066 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
10067
10068         Reviewed by Adam.
10069
10070         * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
10071         functionality that could not have existed previously without the new
10072         interfaces.
10073         (JSValueRefCreateWithBSTR): Added a helper function to easily convert
10074         from a BSTR to a JSValueRef.
10075         (DebuggerDocument::platformEvaluateScript): Implemented.
10076         (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
10077         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10078         Implemented.
10079         (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
10080         * Drosera/win/HelperFunctions.h: Cleaned up some comments.
10081         * Drosera/win/ServerConnection.cpp: Added a helper function.
10082         (ServerConnection::getCallerFrame):
10083         * Drosera/win/ServerConnection.h: Added a helper function.
10084
10085 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
10086
10087         updated reviewers for my previous changelog.
10088
10089 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
10090         Reviewed by Maciej and Adam and Geoff.
10091
10092         - Minor mac-side improvements including moving a function to a more
10093         appropriate location, fixing a warning, and correctly checking
10094         exceptions.
10095
10096         * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
10097         (DebuggerDocument::willExecuteStatement):
10098         (DebuggerDocument::didEnterCallFrame):
10099         (DebuggerDocument::willLeaveCallFrame):
10100         (DebuggerDocument::windowScriptObjectAvailable):
10101         (DebuggerDocument::callFunctionOnObject):
10102         * Drosera/mac/DebuggerClient.mm: Fixes a warning.
10103         * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
10104         webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
10105         because it doesn't require the ServerConnection at all.
10106         (NSStringCreateWithJSStringRef): Made an argument const.
10107         (JSValueRefCreateWithNSString): Made an argument const.
10108         (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
10109         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10110         * Drosera/mac/ServerConnection.h: Moved aforementioned function.
10111         * Drosera/mac/ServerConnection.mm: Ditto.
10112         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
10113
10114 2007-10-29  Sam Weinig  <sam@webkit.org>
10115
10116         Reviewed by Adam Roben.
10117
10118         Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
10119
10120         * DumpRenderTree/LayoutTestController.cpp:
10121         (LayoutTestController::LayoutTestController):
10122         (getGlobalFlagCallback):
10123         (setGlobalFlagCallback):
10124         (LayoutTestController::getJSClass):
10125         (LayoutTestController::staticValues):
10126         * DumpRenderTree/LayoutTestController.h:
10127         (LayoutTestController::globalFlag):
10128         (LayoutTestController::setGlobalFlag):
10129
10130 2007-10-29  Darin Adler  <darin@apple.com>
10131
10132         Reviewed by Maciej.
10133
10134         * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
10135         resolution instead of its default.
10136
10137 2007-10-29  David Kilzer  <ddkilzer@webkit.org>
10138
10139         Fixed showStatus() to print status for successfully resolved conflicts when using git.
10140
10141         Reviewed by Mark Rowe.
10142
10143         Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
10144         was successfully resolved, but this would not show any status because the change had
10145         already been cached in the index using "git add".  The solution is to add an optional
10146         second argument to showStatus() which adds the "--cached" switch to the command.
10147
10148         * Scripts/resolve-ChangeLogs:
10149         (showStatus):
10150
10151 2007-10-28  Eric Seidel  <eric@webkit.org>
10152
10153         Reviewed by Maciej and Geoff, in unison.
10154
10155         * Scripts/run-webkit-tests: remove broken --svg option
10156
10157 2007-10-28  Darin Adler  <darin@apple.com>
10158
10159         Reviewed by Adam.
10160
10161         * Scripts/run-sunspider: Default to "Release" configuration rather than
10162         defaulting to the last configuration used as other scripts do. This can
10163         still be overriden on the command line with "--debug" if there's some
10164         reason to do so. Also fix a typo.
10165
10166         * Scripts/sunspider-compare-results: Fix a typo.
10167
10168 2007-10-26  Kevin McCullough  <kmccullough@apple.com>
10169
10170         Reviewed by Adam.
10171
10172         - Implemented the WebScriptDebugListener functions now that the
10173         WebScriptDebugServer exists
10174
10175         * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
10176         functions.
10177         (ServerConnection::currentFrame):
10178         (ServerConnection::didLoadMainResourceForDataSource):
10179         (ServerConnection::didParseSource):
10180         (ServerConnection::failedToParseSource):
10181         (ServerConnection::didEnterCallFrame):
10182         (ServerConnection::willExecuteStatement):
10183         (ServerConnection::willLeaveCallFrame):
10184         (ServerConnection::exceptionWasRaised):
10185         * Drosera/win/ServerConnection.h: Removed unused arguments from the
10186         members arguments list.
10187
10188 2007-10-26  David Kilzer  <ddkilzer@webkit.org>
10189
10190         prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
10191         <http://bugs.webkit.org/show_bug.cgi?id=15600>
10192
10193         Reviewed by Darin Adler.
10194
10195         The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
10196         a patch of the local changes and applying it with a fuzz level of 3 to the new file.
10197         If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
10198         file.  Note that it may also be used as a stand-alone script.
10199
10200         * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
10201         * Scripts/resolve-ChangeLogs: Added.
10202         * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
10203
10204 2007-10-26  Mark Rowe  <mrowe@apple.com>
10205
10206         Qt build fix.  r27084 added a destructor implementation for LayoutTestController
10207         to the Qt port on the assumption that it was an implementation of the cross-platform
10208         LayoutTestController class.  It is not, so it did not need to be changed.
10209
10210         * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
10211
10212 2007-10-25  Mark Rowe  <mrowe@apple.com>
10213
10214         Reviewed by Maciej.
10215
10216         Fix builds with code coverage enabled.
10217
10218         * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
10219
10220 2007-10-25  Darin Adler  <darin@apple.com>
10221
10222         Reviewed by Mark Rowe.
10223
10224         * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
10225         * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
10226
10227 2007-10-25  Stephanie  <slewis@apple.com>
10228
10229         build Fix
10230
10231         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10232
10233 2007-10-25  Stephanie  <slewis@apple.com>
10234
10235         Reviewed by Mark Rowe, Adam Roben.
10236
10237         Weak link against WebCore so DumpRenderTree can be bundled with production roots.
10238
10239         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
10240
10241 2007-10-25  Alice Liu  <alice.liu@apple.com>
10242
10243         Reviewed by Adam.
10244
10245         Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
10246
10247         Moving destructor into platform-specific files
10248         * DumpRenderTree/LayoutTestController.cpp:
10249         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
10250         (LayoutTestController::~LayoutTestController):
10251         * DumpRenderTree/qt/jsobjects.cpp:
10252         (LayoutTestController::~LayoutTestController):
10253
10254         LayoutTestController wasn't being destroyed
10255         * DumpRenderTree/win/DumpRenderTree.cpp:
10256         (runTest):
10257
10258         Added declspec
10259         * DumpRenderTree/win/EditingDelegate.h:
10260
10261         Reset certain values on the webview (or related delegate) that might
10262         have changed while running a test
10263         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
10264         (LayoutTestController::~LayoutTestController):
10265
10266 2007-10-25  Adam Roben  <aroben@apple.com>
10267
10268         Make sunspider-compare-results work with relative paths
10269
10270         Reviewed by Sam.
10271
10272         * Scripts/sunspider-compare-results: Convert arguments to absolute
10273         paths before we chdir.
10274
10275 2007-10-25  Kevin McCullough  <kmccullough@apple.com>
10276
10277         Reviewed by Sam.
10278
10279         - Implemented server calls now the WebScriptDebugServer exists.
10280         - Also removed no longer needed call to initialize CG.
10281
10282         * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
10283         automatically now.
10284         (_tWinMain):
10285         * Drosera/win/ServerConnection.cpp: Now uses the COM class.
10286         (ServerConnection::ServerConnection):
10287         (ServerConnection::~ServerConnection):
10288         (ServerConnection::pause):
10289         (ServerConnection::resume):
10290         (ServerConnection::stepInto):
10291         (ServerConnection::applicationTerminating):
10292         (ServerConnection::serverConnectionDidDie):
10293         * Drosera/win/ServerConnection.h: Now uses the COM class.
10294
10295 2007-10-24  George Staikos  <staikos@kde.org>
10296
10297         Unbreak Qt build.
10298
10299         * Scripts/build-webkit:
10300
10301 2007-10-24  Adam Roben  <aroben@apple.com>
10302
10303         Remove now-unnecessary call to InitializeCoreGraphics
10304
10305         WebKit takes care of this now.
10306
10307         Reviewed by Ada.
10308
10309         * DumpRenderTree/win/DumpRenderTree.cpp:
10310         (initialize):
10311
10312 2007-10-24  Adam Roben  <aroben@apple.com>
10313
10314         Use WebTextRenderer in DRT
10315
10316         Reviewed by Ada.
10317
10318         * DumpRenderTree/win/DumpRenderTree.cpp:
10319         (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
10320
10321 2007-10-24  Sven Herzberg  <sven@imendio.com>
10322
10323         Reviewed by Mark Rowe.
10324
10325         Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
10326         Bug 15614: [GTK] qmake based backends don't build on OS X
10327
10328         * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
10329         GTK backend on a Mac
10330         * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
10331         isDarwin() to make it reusable in other places (like the workaround-
10332         for-prebuilt-qmake in build-webkit)
10333
10334 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
10335
10336         Refurbish update-webkit script.
10337
10338         Reviewed by Adam.
10339
10340         * Scripts/update-webkit: Add -h|--help switch and usage statement.  Check result of
10341         GetOptions() call.  Fix -q|--quiet switch to be passed to svn command properly.  Use
10342         multi-argument version of system() for flexibility and security.  Check for existence
10343         of Internal directory using -d test instead of -x.
10344
10345 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
10346
10347         Minor clean-up of prepare-ChangeLog script.
10348
10349         Reviewed by Adam.
10350
10351         * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
10352         of a string.  Use multi-argument versions of open() and system() for flexibility and
10353         security.
10354
10355 2007-10-24  Alice Liu  <alice.liu@apple.com>
10356
10357         Reviewed by Oliver.
10358
10359         Fix <rdar://5410959>  editing/selection/drag-to-contenteditable-iframe.html fails on Windows
10360
10361         Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
10362         replay the saved events when we're still processing the mousedown that starts the drag
10363         * DumpRenderTree/win/EventSender.cpp:
10364         (doMouseMove):
10365         * DumpRenderTree/win/UIDelegate.cpp:
10366         (UIDelegate::doDragDrop):
10367
10368 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
10369
10370         Reviewed by Sam, Steve and Darin.
10371
10372         - Stubbed out the WebScriptDebugListener functionality in the Server
10373         Connection class to prepare it for receiving those callbacks.
10374         - Also I changed the instantiation of DebuggerClient, DebuggerDocument
10375         and the ServerConnection to not need to be initialized with a server
10376         name, since that is not the way we connect to the WebKit server.
10377
10378         * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
10379         no exception.  Now it only loggs when there is an exception
10380         (DebuggerDocument::willExecuteStatement):
10381         (DebuggerDocument::didEnterCallFrame):
10382         (DebuggerDocument::willLeaveCallFrame):
10383         (DebuggerDocument::windowScriptObjectAvailable):
10384         (DebuggerDocument::callFunctionOnObject):
10385         * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
10386         to be instantiated with a server's name.
10387         (DebuggerClient::DebuggerClient):
10388         (DebuggerClient::didFinishLoadForFrame):
10389         * Drosera/win/DebuggerClient.h: Removed unsued variable.
10390         * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
10391         a server name.
10392         (Drosera::init):
10393         (Drosera::initServer):
10394         * Drosera/win/Drosera.h: No longer need the ServerConnection to be
10395         instantiated with a server's name.
10396         * Drosera/win/ServerConnection.cpp:
10397         (ServerConnection::ServerConnection): No longer needs a server name
10398         (ServerConnection::~ServerConnection): Only release the global context
10399         if there is one.
10400         (ServerConnection::serverConnectionDidDie): Stub for
10401         IWebScriptDebugListener
10402         (ServerConnection::QueryInterface): ditto
10403         (ServerConnection::AddRef): ditto
10404         (ServerConnection::Release): ditto
10405         (ServerConnection::didLoadMainResourceForDataSource): ditto
10406         (ServerConnection::didParseSource): ditto
10407         (ServerConnection::failedToParseSource): ditto
10408         (ServerConnection::didEnterCallFrame): ditto
10409         (ServerConnection::willExecuteStatement): ditto
10410         (ServerConnection::willLeaveCallFrame): ditto
10411         (ServerConnection::exceptionWasRaised): ditto
10412         * Drosera/win/ServerConnection.h: Stubbed out the
10413         IWebScriptDebugListener functions, and this class no longer needs to be
10414         instantiated with a server name.
10415
10416 2007-10-24  Lars Knoll  <lars@trolltech.com>
10417
10418         Reviewed by Simon.
10419
10420         add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
10421
10422         * DumpRenderTree/qt/jsobjects.h:
10423
10424 2007-10-24  Lars Knoll  <lars@trolltech.com>
10425
10426         Reviewed by Simon.
10427
10428         add another command.
10429
10430         * DumpRenderTree/qt/jsobjects.cpp:
10431         (TextInputController::doCommand):
10432
10433 2007-10-24  Lars Knoll  <lars@trolltech.com>
10434
10435         Reviewed by Simon.
10436
10437         add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
10438
10439         * DumpRenderTree/qt/jsobjects.cpp:
10440         (EventSender::keyDown):
10441         * DumpRenderTree/qt/jsobjects.h:
10442
10443 2007-10-24  Lars Knoll  <lars@trolltech.com>
10444
10445         Reviewed by Simon.
10446
10447         implement eventSender.keyDown().
10448
10449         * DumpRenderTree/qt/jsobjects.cpp:
10450         (EventSender::keyDown):
10451
10452 2007-10-24  Lars Knoll  <lars@trolltech.com>
10453
10454         Reviewed by Simon.
10455
10456         some smaller fixes to the editing support in DRT. Makes another few tests pass.
10457
10458         * DumpRenderTree/qt/DumpRenderTree.cpp:
10459         (WebCore::DumpRenderTree::DumpRenderTree):
10460         (WebCore::DumpRenderTree::initJSObjects):
10461         * DumpRenderTree/qt/jsobjects.cpp:
10462         (TextInputController::doCommand):
10463
10464 2007-10-24  Lars Knoll  <lars@trolltech.com>
10465
10466         Reviewed by Simon.
10467
10468         first bit of implementation for the textinputcontroller.
10469
10470         * DumpRenderTree/qt/DumpRenderTree.cpp:
10471         (WebCore::DumpRenderTree::DumpRenderTree):
10472         * DumpRenderTree/qt/DumpRenderTree.h:
10473         * DumpRenderTree/qt/jsobjects.cpp:
10474         (TextInputController::TextInputController):
10475         (TextInputController::doCommand):
10476         * DumpRenderTree/qt/jsobjects.h:
10477
10478 2007-10-24  Lars Knoll  <lars@trolltech.com>
10479
10480         Reviewed by Simon.
10481
10482         make the man webpage believe it has focus, so the editing tests work correctly.
10483
10484         * DumpRenderTree/qt/DumpRenderTree.cpp:
10485         (WebCore::DumpRenderTree::DumpRenderTree):
10486
10487 2007-10-24  Lars Knoll  <lars@trolltech.com>
10488
10489         Reviewed by Simon.
10490
10491         implement layoutTestController.dumpEditingCallbacks() correctly.
10492
10493         * DumpRenderTree/qt/DumpRenderTree.cpp:
10494         (WebCore::DumpRenderTree::DumpRenderTree):
10495         * DumpRenderTree/qt/jsobjects.cpp:
10496         (LayoutTestController::reset):
10497         (LayoutTestController::dumpEditingCallbacks):
10498
10499 2007-10-24  Lars Knoll  <lars@trolltech.com>
10500
10501         Reviewed by Simon.
10502
10503         Implement support for testing editing.
10504
10505         * DumpRenderTree/qt/DumpRenderTree.cpp:
10506         (WebCore::DumpRenderTree::DumpRenderTree):
10507
10508 2007-10-23  Sam Weinig  <sam@webkit.org>
10509
10510         Check for null BSTR that can be passed to the UIDelegate methods
10511         from javascript null and undefined.  Fixes a failing test case on
10512         Windows (fast/dom/Window/alert-undefined.html)
10513
10514         Reviewed by Eric Seidel.
10515
10516         * DumpRenderTree/win/UIDelegate.cpp:
10517         (UIDelegate::runJavaScriptAlertPanelWithMessage):
10518         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
10519         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
10520         (UIDelegate::webViewAddMessageToConsole):
10521
10522 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
10523
10524         Reviewed by Darin Adler.
10525
10526         Don't print a massive pile of setenvs from tools that automatically build testkjs.
10527
10528         * Scripts/build-testkjs:
10529
10530 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
10531
10532         Reviewed by Darin Adler.
10533
10534         - add wrapper that finds the right copy of testkjs
10535
10536         * Scripts/sunspider-compare-results: Added.
10537
10538 2007-10-23  Kevin McCullough  <kmccullough@apple.com>
10539
10540         Reviewed by Sam.
10541
10542         - After talking with Steve I now see that the WebKit server must be
10543         running for DCOM to create the distributed objects, which makes sense
10544         and currently WebKit only allows one instance to be running at a time
10545         which avoids accidentally connecting to the wrong server
10546         - In light of this I have removed the code for the attach box and
10547         NotificationServer and known server names, since they are all extranious
10548         now.
10549
10550         * Drosera/win/Drosera.cpp: Removed notification classes and known server
10551         names.
10552         (_tWinMain): Uses init instead of initUI.
10553         (droseraWndProc): No longer creats an attach dialog box.
10554         (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
10555         it's not manditory to call init before doing COM stuff.
10556         (Drosera::init): calls initUI and will call attach when the
10557         functionality exists.
10558         (Drosera::initUI): Has changed very little.
10559         (Drosera::attach): Changed the signature to reflect that we no longer
10560         need the dictionary of known server names.
10561         * Drosera/win/Drosera.h: Removed notification classes and known server
10562         names.  Also renamed and moved some functions.
10563         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
10564         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
10565         headers to the resources folder.
10566         * Drosera/win/resource.h: Removed the Attach box.
10567
10568 2007-10-22  Adam Roben  <aroben@apple.com>
10569
10570         Windows build fix
10571
10572         * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
10573
10574 2007-10-22  Kevin McCullough  <kmccullough@apple.com>
10575
10576         - Removed a leak that was fixed.
10577
10578         * Scripts/run-webkit-tests:
10579
10580 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
10581
10582         Reviewed by Darin Adler.
10583
10584         - Changed the Client so that the DebuggerDocument now own the
10585         ServerConnection.  This simplifies ownership and cleanup.
10586
10587         * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
10588         ServerConnection.
10589         (DebuggerClient::initWithServerName):
10590         (DebuggerClient::didFinishLoadForFrame):
10591         * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
10592         ServerConnection.
10593         * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
10594         until after we have a server which we are attached to.
10595         (Drosera::initUI):
10596         (Drosera::attach):
10597         * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
10598         out previously.
10599
10600 2007-10-22  Simon Hausmann  <hausmann@kde.org>
10601
10602         Reviewed by Nikolas.
10603
10604         When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
10605
10606         * Scripts/run-javascriptcore-tests:
10607
10608 2007-10-22  Simon Hausmann  <hausmann@kde.org>
10609
10610         Reviewed by Nikolas.
10611
10612         Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
10613
10614         * Scripts/build-drosera:
10615         * Scripts/build-dumprendertree:
10616         * Scripts/build-testkjs:
10617         * Scripts/build-webkit:
10618         * Scripts/run-javascriptcore-tests:
10619         * Scripts/run-sunspider:
10620         * Scripts/run-webkit-tests:
10621         * Scripts/webkitdirs.pm:
10622
10623 2007-10-22  Andrew Wellington  <proton@wiretapped.net>
10624
10625         Reviewed by Mark Rowe.
10626
10627         Fix for local database support after r26879
10628         Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
10629
10630         * Scripts/build-webkit:
10631
10632 2007-10-22  Holger Freyther  <zecke@selfish.org>
10633
10634         Reviewed by Simon Hausmann <hausmann@kde.org>.
10635
10636         - Do not build testkjs as an application bundle. This is
10637         needed for run-javascriptcore-tests on OSX.
10638         - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
10639         - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
10640         as we do not have -rpath on OSX.
10641
10642         * DumpRenderTree/qt/DumpRenderTree.pro:
10643         * Scripts/run-webkit-tests:
10644
10645 2007-10-22  Simon Hausmann  <hausmann@kde.org>
10646
10647         Reviewed by aroben.
10648
10649         Fix support for Signed-off-by detection in prepare-ChangeLog
10650         --git-commit. The Signed-off-by tag does not appear in the header
10651         but usually at the end.
10652
10653         * Scripts/prepare-ChangeLog:
10654
10655 2007-10-21  Mark Rowe  <mrowe@apple.com>
10656
10657         Reviewed by Eric.
10658
10659         Fix run-javascriptcore-tests for Gtk.
10660
10661         * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
10662
10663 2007-10-20  Eric Seidel  <eric@webkit.org>
10664
10665         Reviewed by aroben.
10666
10667         * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
10668
10669 2007-10-20  Eric Seidel  <eric@webkit.org>
10670
10671         Reviewed by darin.
10672
10673         Add improved argument handling to run-sunspider, including
10674         --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
10675         Also re-factor code into subroutines
10676
10677         * Scripts/build-dumprendertree: removed bogus comments
10678         * Scripts/build-testkjs: Added.
10679         * Scripts/run-javascriptcore-tests: use build-testkjs
10680         * Scripts/run-sunspider: improved argument handling, abstraction
10681         * Scripts/run-webkit-tests: improved abstraction
10682
10683 2007-10-20  Matt Lilek  <webkit@mattlilek.com>
10684
10685         Not reviewed, Windows build fix.
10686
10687         * DumpRenderTree/win/EventSender.cpp:
10688         (keyDownCallback):
10689
10690 2007-10-20  Darin Adler  <darin@apple.com>
10691
10692         Reviewed by Tim Hatcher.
10693
10694         - http://bugs.webkit.org/show_bug.cgi?id=15544
10695           <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
10696           not rely on Apple-specific key codes
10697
10698         * DumpRenderTree/mac/EventSendingController.mm:
10699         (-[EventSendingController keyDown:withModifiers:]):
10700         Added named key "rightArrow". Later we could have a whole table of these.
10701         Also tweaked modifiers code a little.
10702
10703         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
10704
10705 2007-10-19  Darin Adler  <darin@apple.com>
10706
10707         Reviewed by Eric.
10708
10709         - http://bugs.webkit.org/show_bug.cgi?id=15566
10710           possible fix for leak seen in DumpRenderTree
10711
10712         * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
10713         Delete the item if it's not put on the queue, since the caller has
10714         no way of knowing that. Would be better to have the parameter type
10715         be auto_ptr to express the fact that we take ownership.
10716
10717         - unrelated change
10718
10719         * Drosera/mac/main.m: Add missing include.
10720
10721 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
10722
10723         Reviewed by Adam.
10724
10725         - This change should be identical but for some reason was not working
10726         on my machine.
10727
10728         * Scripts/prepare-ChangeLog:
10729
10730 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
10731
10732         Reviewed by Oliver and Tim.
10733
10734         - Made use of RetainPtr to avoid retain and release issues and moved the
10735         log function to DebuggerDocumentPlatform, which seems to be a more
10736         logical place for it to live.
10737         - Also moved knownServers from the ServerConnection to
10738         DebuggerApplication to match the Windows code and because it makes sense
10739         that a connection knows its own server but not all of them.
10740
10741         * Drosera/mac/DebuggerClient.h: Moved the log function to
10742           DebuggerDocumentPlatform.
10743         * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
10744           Because it's owned by an own Ptr in DebuggerDocument.  Also moved the
10745           call for the server name up from the ServerConnection class.
10746         (-[DebuggerClient dealloc]):
10747         (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
10748           for the server name up from the ServerConnection.
10749         * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
10750         (DebuggerDocument::platformPause):
10751         (DebuggerDocument::platformResume):
10752         (DebuggerDocument::platformStepInto):
10753         (DebuggerDocument::platformEvaluateScript):
10754         (DebuggerDocument::getPlatformCurrentFunctionStack):
10755         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10756         (DebuggerDocument::platformValueForScopeVariableNamed):
10757         (DebuggerDocument::platformLog): Log directly from here. No need to call
10758           DebuggerClient.
10759         * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
10760           way I see it, a ServerConnection should only know about its connection
10761           and the group of all possible servers should be kept by the
10762           application.
10763         * Drosera/mac/ServerConnection.mm: Removed knownServer but added
10764           currentServerName, it makes sense that the connection should know that
10765           name.
10766         (-[ServerConnection currentServerName]):
10767
10768 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
10769
10770         Reviewed by Adam.
10771
10772         - Integrated changes from mac drosera.  Recently I've encapsulated
10773         out the server connection object from the rest of Drosera because
10774         it is very platform dependent right now and RPC is not implemented on
10775         windows.  This functionality, of communicating with the WebKit server
10776         is the next area I will be focusing on in Windows.
10777
10778         - Other changes and cleanup were made to organize the code and add notes
10779         on which parts still need work.  Also some mac code is added and
10780         commented out, to act as pseudocode for the logic of those parts.
10781
10782         * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
10783           pointer.
10784         * Drosera/config.h: Added whitespace.
10785         * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
10786           these files got moved into Drosera.h/cpp
10787         * Drosera/win/DebuggerApplication.h: Removed.
10788         * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
10789           happened here to better match the logic flow of the same code on the
10790           mac side and to use the new ServerConnection class.
10791         (DebuggerClient::DebuggerClient): Constructor that takes a server name.
10792         (DebuggerClient::initWithServerName): Initializer that will set up the
10793           class to use a ServerConnection object.  This was necessary so I could
10794           create a DebuggerClient without having to initilaize it at
10795           construction.
10796         (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
10797           will be the UIDelegate and FrameLoadDelegate.
10798         (DebuggerClient::AddRef): For IUnknown.
10799         (DebuggerClient::Release): For IUnknown.
10800         (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
10801           this still needs to set the global context of the server, but
10802           IWebFrame does not have an accessor for the global context yet.
10803         (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
10804           this is a pass through for the same function in the document.
10805         (DebuggerClient::didReceiveTitle): Unimplemented part of
10806           FrameLoadDelegate this would change the title of the window.
10807         (DebuggerClient::createWebViewWithRequest): Part of the
10808           FrameLoadDelegate.  This is about new windows via Window.open() and
10809           how their delegates are set.
10810         (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
10811           UIDelegate.  Just a debug function for printing messages.
10812         * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
10813           because the Client should be the UIDelegate and FrameLoadDelegate
10814           to match the delegates on mac.
10815         (DebuggerClient::webViewLoaded): Added accessor method.
10816         * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
10817           forgotten to add this file before.  This is where the platform
10818           dependent versions of the Documents functions live. Most of these are
10819           unimplemented because some piece of functionality does not exist on
10820           Windows yet.
10821         (DebuggerDocument::platformPause):
10822         (DebuggerDocument::platformResume):
10823         (DebuggerDocument::platformStepInto):
10824         (DebuggerDocument::platformEvaluateScript):
10825         (DebuggerDocument::getPlatformCurrentFunctionStack):
10826         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
10827         (DebuggerDocument::platformValueForScopeVariableNamed):
10828         (DebuggerDocument::platformLog):
10829         * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
10830           responsibilities becaue they belong in the Client. Also I laid the
10831           groundwork for attaching Drosera to a WebKit process
10832         (attachWndProc): Now if a server is selected the Client becomes it's
10833           delegate.
10834         (Drosera::Drosera): Added the construction of the Client and dictionary
10835           of server names.
10836         (Drosera::initUI): This is no longer the delegates, the Client is.
10837         (Drosera::webViewLoaded): Now asks the Client instead of holding local
10838           state.
10839         (Drosera::applicationDidFinishLaunching): Placeholder for needed
10840           notification registration when it's possible to implement.
10841         (Drosera::serverLoaded): Ditto
10842         (Drosera::serverUnloaded): Ditto
10843         (Drosera::attach): Attach Drosera to the WebKit server.
10844         * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
10845         (Drosera::getInst):
10846         (Drosera::setInst):
10847         (Drosera::knownServers):
10848         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
10849           and added the ServerConnection.
10850         * Drosera/win/DroseraPrefix.h: Added an ifndef check.
10851         * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
10852           Most of the functions are completely unimlemented because they cannot
10853           connect with the WebKit server, because one does not exist on Windows
10854           yet.
10855         (ServerConnection::initWithServerName):
10856         (ServerConnection::~ServerConnection):
10857         (ServerConnection::setGlobalContext):
10858         (ServerConnection::pause):
10859         (ServerConnection::resume):
10860         (ServerConnection::stepInto):
10861         (ServerConnection::switchToServerNamed):
10862         (ServerConnection::applicationTerminating):
10863         (ServerConnection::serverConnectionDidDie):
10864         (ServerConnection::currentFrame):
10865         * Drosera/win/ServerConnection.h: Added. Ditto.
10866         (ServerConnection::ServerConnection):
10867
10868 2007-10-19  Alice Liu  <alice.liu@apple.com>
10869
10870         Reviewed by Darin Adler.
10871
10872         Fix for these broken layout tests on Windows:
10873
10874         fast/forms/focus-selection-input.html
10875         fast/forms/focus-selection-textarea.html
10876         fast/forms/select-accesskey.html
10877
10878         * DumpRenderTree/win/EventSender.cpp:
10879         (keyDownCallback):
10880         correct the VK code for alt key.
10881
10882 2007-10-19  Eric Seidel  <eric@webkit.org>
10883
10884         Reviewed by Mark Rowe.
10885
10886         Make the GtkLauncher code slightly more readable.
10887
10888         * GtkLauncher/main.cpp:
10889         (setupMainMenu): Added.
10890         (setupMainWindowUI): Added.
10891         (main):
10892
10893 2007-10-19  Maciej Stachowiak  <mjs@apple.com>
10894
10895         Rubber stamped by Adam.
10896
10897         - don't delay-load WebKit in DumpRenderTree.
10898
10899         * DumpRenderTree/win/DumpRenderTree.vcproj:
10900
10901 2007-10-18  Dan Bernstein  <mitz@apple.com>
10902
10903         Reviewed by Adam Roben.
10904
10905         - fix <rdar://problem/5313523>
10906         REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
10907
10908         * DumpRenderTree/mac/DumpRenderTree.mm:
10909         (dump): Changed to use _responseMIMEType.
10910
10911 2007-10-17  Adam Roben  <aroben@apple.com>
10912
10913         Make it possible to have Windows-specific tests and results
10914
10915         When searching for tests to run and the Skipped file, we will only
10916         look in platform/win and the cross-platform directory. When looking
10917         for expected results, we will look in platform/win, then
10918         platform/mac-leopard, then platform/mac, then finally the
10919         cross-platform directory.
10920
10921         Reviewed by Sam.
10922
10923         * Scripts/run-webkit-tests:
10924         (sub expectedDirectoryForTest): Search in mac-leopard and mac before
10925         searching in the cross-platform directory.
10926         (sub buildPlatformHierarchy): Removed some unneeded calls to
10927         dirname/basename.
10928
10929 2007-10-17  Adam Roben  <aroben@apple.com>
10930
10931         Add back the call to register WebKit that we had before WebKitInitializer existed
10932
10933         This is needed to ensure that the right WebKit is used when
10934         instantiating COM objects.
10935
10936         Reviewed by Oliver.
10937
10938         * DumpRenderTree/win/debug_internal.vsprops: Define
10939         DEBUG_WEBKIT_HAS_SUFFIX.
10940         * DumpRenderTree/win/DumpRenderTree.cpp:
10941         (initialize):
10942
10943 2007-10-17  Adam Roben  <aroben@apple.com>
10944
10945         Import File::Basename in webkitdirs since we use it
10946
10947         * Scripts/webkitdirs.pm:
10948
10949 2007-10-17  Kevin McCullough  <kmccullough@apple.com>
10950
10951         - Updated the tiger leaks list to make the internal bots green.
10952
10953         * Scripts/run-webkit-tests:
10954
10955 2007-10-17  Adam Roben  <aroben@apple.com>
10956
10957         Build fix for VC++ Express
10958
10959         * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
10960         and ole32.lib.
10961
10962 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
10963
10964         Reviewed by Sam.
10965
10966         - Minor mac improvements based on observations I made while implementing the
10967         Windows code.
10968
10969         * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
10970         then hand it to the Client who will retain it, it should just be the client who
10971         creates and owns the server.
10972         (-[DebuggerApplication attach:]):
10973         * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
10974         * Drosera/mac/DebuggerClient.mm: Creates the server.
10975         (-[DebuggerClient initWithServerName:]):
10976         * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
10977         can instead forward declare what it needs.
10978
10979 2007-10-16  Darin Adler  <darin@apple.com>
10980
10981         Reviewed by Geoff Garen.
10982
10983         * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
10984         want to turn failing tests into platform-specific test results. Also did a
10985         number of tweaks, including fixing a potential bug where expectedDirectoryForTest
10986         would take the type of results into account only some of the time.
10987
10988 2007-10-16  Adam Roben  <aroben@apple.com>
10989
10990         Add a new nightly launcher script for Windows
10991
10992         This new script is for versions of Safari that don't delay-load
10993         WebKit. I had to make FindSafari be able to print out the nightly
10994         launcher script on stdout because Windows shell scripts can't capture
10995         the output from a command into an environment variable.
10996
10997         Reviewed by Steve.
10998
10999         * FindSafari/FindSafari.cpp:
11000         (_tmain): Added /printSafariLauncher option.
11001         * Scripts/run-webkit-nightly.cmd: Added.
11002
11003 2007-10-16  Adam Roben  <aroben@apple.com>
11004
11005         Replace WebKitInitializer with FindSafari
11006
11007         We now rely on setting the PATH environment variable to tell Windows
11008         where to find WebKit and its dependencies (similar to
11009         DYLD_FRAMEWORK_PATH on Mac).
11010
11011         This change also make DumpRenderTree no longer delay-load WebKit.
11012
11013         Reviewed by Sam.
11014
11015         * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
11016         FindSafari.
11017         * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
11018         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
11019         WebKitInitializer, don't delay-load WebKit.
11020         * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
11021         * Scripts/run-webkit-tests: Ditto.
11022         * Scripts/webkitdirs.pm:
11023         (sub setPathForRunningWebKitApp): Added.
11024         * WebKitInitializer/WebKitInitializer.cpp: Removed.
11025         * WebKitInitializer/WebKitInitializer.h: Removed.
11026         * WebKitInitializer/WebKitInitializer.vcproj: Removed.
11027         * WebKitInitializer/debug.vsprops: Removed.
11028         * WebKitInitializer/debug_internal.vsprops: Removed.
11029         * WebKitInitializer/release.vsprops: Removed.
11030
11031 2007-10-16  Adam Roben  <aroben@apple.com>
11032
11033         Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
11034
11035         http://bugs.webkit.org/show_bug.cgi?id=15532
11036
11037         FindSafari simply prints the location of an installed Safari.exe on
11038         stdout.
11039
11040         Reviewed by Darin Adler.
11041
11042         * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
11043         (getStringValue):
11044         (getWebViewCLSID):
11045         (getInstalledWebKitDirectory):
11046         (_tmain):
11047         * FindSafari/FindSafari.vcproj: Added.
11048         * Scripts/webkitdirs.pm:
11049         (sub installedSafariPath): Added. Calls FindSafari on Windows.
11050
11051 2007-10-16  Adam Roben  <aroben@apple.com>
11052
11053         Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
11054
11055         Reviewed by Kevin McCullough.
11056
11057         * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
11058         when referring to WebKit.dll.
11059         * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
11060         * DumpRenderTree/win/debug_internal.vsprops: Ditto.
11061         * DumpRenderTree/win/release.vsprops: Ditto.
11062         * Scripts/run-safari: Don't pass /debug to Safari anymore because we
11063         never have a _debug suffix on WebKit.dll.
11064         * WebKitInitializer/WebKitInitializer.cpp:
11065         (initializeWebKit): Only use the _debug suffix for WebKit.dll when
11066         specified.
11067         * WebKitInitializer/debug_internal.vsprops: Added
11068         DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
11069
11070 2007-10-16  Darin Adler  <darin@apple.com>
11071
11072         Reviewed by Adele.
11073
11074         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
11075         Remove now-unneeded control/alt key hack; the tests have been updated.
11076
11077 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
11078
11079         - Updated leaks list because our internal bot upgraded it's version of leopard and
11080         one of the leaks was fixed between that revision and the bot's previous version of
11081         leopard.
11082
11083         * Scripts/run-webkit-tests:
11084
11085 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
11086
11087         Reviewed by Tim.
11088
11089         - I encapsulated out the server connecton functionality because it is a specific part
11090         of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
11091         into WebCore and C++.  But if it is encapsulated out it can be easily replaced on
11092         Windows.  So the majority of this patch is moving preexisting functionality.
11093
11094         - Also I removed the prefix header and changed to use config.h because it is more
11095         standard on how we use config.h in windows and it didn't make much sense to keep
11096         the prefix header and the config.h
11097
11098         * Drosera/DebuggerDocument.cpp:
11099         (DebuggerDocument::DebuggerDocument):
11100         * Drosera/DebuggerDocument.h:
11101         * Drosera/config.h:
11102         * Drosera/mac/DebuggerApplication.mm:
11103         (-[DebuggerApplication attach:]):
11104         * Drosera/mac/DebuggerClient.h:
11105         * Drosera/mac/DebuggerClient.mm:
11106         (-[DebuggerClient initWithServerConnection:]):
11107         (-[DebuggerClient dealloc]):
11108         (-[DebuggerClient windowDidLoad]):
11109         (-[DebuggerClient windowWillClose:]):
11110         (-[DebuggerClient webView:didFinishLoadForFrame:]):
11111         (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
11112         * Drosera/mac/DebuggerDocumentPlatform.mm:
11113         (DebuggerDocument::platformPause):
11114         (DebuggerDocument::platformResume):
11115         (DebuggerDocument::platformStepInto):
11116         (DebuggerDocument::platformEvaluateScript):
11117         (DebuggerDocument::getPlatformCurrentFunctionStack):
11118         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
11119         (DebuggerDocument::platformValueForScopeVariableNamed):
11120         (DebuggerDocument::platformLog):
11121         * Drosera/mac/Drosera.pch: Removed.
11122         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
11123         * Drosera/mac/ServerConnection.h: Added.
11124         * Drosera/mac/ServerConnection.mm: Added.
11125         (-[ServerConnection initWithServerName:]):
11126         (-[ServerConnection dealloc]):
11127         (-[ServerConnection setGlobalContext:]):
11128         (-[ServerConnection pause]):
11129         (-[ServerConnection resume]):
11130         (-[ServerConnection stepInto]):
11131         (-[ServerConnection switchToServerNamed:]):
11132         (-[ServerConnection applicationTerminating:]):
11133         (-[ServerConnection serverConnectionDidDie:]):
11134         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
11135         (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
11136         (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
11137         (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
11138         (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
11139         (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
11140         (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
11141         (-[ServerConnection currentFrame]):
11142         (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
11143         (-[ServerConnection knownServers]):
11144
11145 2007-10-15  David Kilzer  <ddkilzer@webkit.org>
11146
11147         Reviewed by Eric.
11148
11149         - fix http://bugs.webkit.org/show_bug.cgi?id=15002
11150           Script to automatically search nightly builds for regressions (bisect-builds)
11151
11152         * Scripts/bisect-builds: Added.
11153
11154 2007-10-14  Maciej Stachowiak  <mjs@apple.com>
11155
11156         Reviewed by Darin Adler.
11157
11158         - New JavaScript benchmark
11159         http://bugs.webkit.org/show_bug.cgi?id=15515
11160
11161         * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
11162         current development or release build of JavaScriptCore.
11163
11164 2007-10-15  Mark Rowe  <mrowe@apple.com>
11165
11166         Reviewed by Sam.
11167
11168         Fix 'run-webkit-tests --qt' complaining about the --qt argument.
11169
11170         * Scripts/webkitdirs.pm:
11171         - Change checkArgv to remove the options from @ARGV to prevent
11172         them from interfering with further option processing.
11173         - Fix logic error in determineIsQt that would prevent it from bailing out early.
11174         - Change isOSX to mean OS X and not Qt or Gtk.  Most of our uses of isOSX assume that this is the meaning
11175         already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
11176         incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
11177
11178 2007-10-15  Darin Adler  <darin@apple.com>
11179
11180         Reviewed by Sam.
11181
11182         - added logging of window.prompt and window.confirm
11183
11184         * DumpRenderTree/mac/UIDelegate.mm:
11185         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
11186         Implement the recommended delegate rather than the deprecated one.
11187         (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
11188         Added.
11189         (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
11190         Added.
11191
11192         * DumpRenderTree/win/UIDelegate.h:
11193         * DumpRenderTree/win/UIDelegate.cpp:
11194         (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
11195         (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
11196         (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
11197         (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
11198
11199 2007-10-15  Alice Liu  <alice.liu@apple.com>
11200
11201         Reviewed by Sam Weinig.
11202
11203         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
11204
11205         * DumpRenderTree/win/DumpRenderTree.cpp:
11206         (runTest): Like on mac, before running each test, set the webview's policy delegate to null
11207         (main): allocate the global policy delegate for DRT's custom use
11208         * DumpRenderTree/win/DumpRenderTree.vcproj:
11209         Adding files to project
11210         * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
11211         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
11212         (LayoutTestController::setCustomPolicyDelegate):
11213         set the webview's policy delegate to DRT's custom one if the test requests it.
11214         * DumpRenderTree/win/PolicyDelegate.cpp: Added.
11215         Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
11216         (PolicyDelegate::PolicyDelegate):
11217         (PolicyDelegate::QueryInterface):
11218         (PolicyDelegate::AddRef):
11219         (PolicyDelegate::Release):
11220         (PolicyDelegate::decidePolicyForNavigationAction):
11221         * DumpRenderTree/win/PolicyDelegate.h: Added.
11222         (PolicyDelegate::decidePolicyForNewWindowAction):
11223         (PolicyDelegate::decidePolicyForMIMEType):
11224         (PolicyDelegate::unableToImplementPolicyWithError):
11225
11226 2007-10-14  Holger Hans Peter Freyther  <zecke@selfish.org>
11227
11228         Reviewed by Mark.
11229
11230         * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
11231         when querying for QMAKE_MKSPECS.
11232
11233 2007-10-14  Andrew Wellington  <proton@wiretapped.net>
11234
11235         Reviewed by Adam Roben.
11236
11237         Fix run-webkit-tests is too greedy calculating platform hierarchy
11238         http://bugs.webkit.org/show_bug.cgi?id=15465
11239
11240         Fix run-webkit-tests being too greedy in trying to split the platform name up
11241         causing it to try and find tests in every directory above the first "-" in the
11242         path to the LayoutTests
11243
11244         * Scripts/run-webkit-tests:
11245
11246 2007-10-14  Oleg Sukhodolsky <son.two@gmail.com>
11247
11248         Reviewed by Darin Adler.
11249
11250         http://bugs.webkit.org/show_bug.cgi?id=15006
11251         Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
11252         to reduce code duplication.
11253
11254         * Scripts/build-webkit:
11255         * Scripts/webkitdirs.pm:
11256         buildQMakeProject() renamed to buildQMakeQtProject().
11257         buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
11258         unused $colorize has been removed.
11259
11260 === Start merge of feature-branch 2007-10-12 ===
11261
11262 2007-10-08  Eric Seidel  <eric@webkit.org>
11263
11264         Reviewed by Mark Rowe.
11265
11266         * Scripts/build-webkit: add --help, remove unused --color
11267
11268 2007-10-07  Eric Seidel  <eric@webkit.org>
11269
11270         Reviewed by darin.
11271
11272         * Drosera/mac/DebuggerDocumentPlatform.mm:
11273         (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
11274
11275 2007-10-03  Rob Buis  <buis@kde.org>
11276
11277         Reviewed by Olliej.
11278
11279         Adapt to changed location of Ahem font.
11280
11281         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11282
11283 2007-10-02  Eric Seidel  <eric@webkit.org>
11284
11285         Reviewed by Adam Roben.
11286
11287         Make pixel tests more useful!
11288         Finally fix the image diff 0.00% mystery problem
11289         Highlight any image differences in the image diff.
11290         Add a link from image diffs back to original test file.
11291
11292         * DumpRenderTree/mac/ImageDiff.m:
11293         (compareImages): highlight any differences
11294         (computePercentageDifferent): round to two decimal places
11295         * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
11296
11297 2007-10-02  Eric Seidel  <eric@webkit.org>
11298
11299         Reviewed by Alexey Proskuryakov.
11300
11301         * Scripts/run-webkit-tests: print the % image difference on main results page
11302
11303 2007-10-02  Mark Rowe  <mrowe@apple.com>
11304
11305         Reviewed by Oliver.
11306
11307         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
11308
11309         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
11310         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
11311
11312 2007-10-01  Mark Rowe  <mrowe@apple.com>
11313
11314         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
11315
11316 2007-09-25  Eric Seidel  <eric@webkit.org>
11317
11318         Reviewed by Mark Rowe.
11319
11320         DerivedSources.make was finding "ENABLE_SVG" in the string
11321         "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
11322         quite correctly.
11323
11324         * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
11325
11326 2007-09-25  Mark Rowe  <mrowe@apple.com>
11327
11328         Rubber-stamped by Eric.
11329
11330         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
11331         This makes it possible to automate nightly builds for the feature-branch.
11332
11333 2007-07-11  Nikolas Zimmermann  <zimmermann@kde.org>
11334
11335         Rubber stamped by Mark.
11336
11337         Enable svg experimental features as default here in feature-branch.
11338
11339         * Scripts/build-webkit:
11340
11341 2007-06-29  Antti Koivisto  <antti@apple.com>
11342
11343         Reviewed by Weinig.
11344
11345         Add VIDEO flag for timed media features
11346
11347         * Scripts/build-webkit
11348
11349 === End merge of feature-branch 2007-10-12 ===
11350
11351 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
11352
11353         Reviewed by Darin Adler.
11354
11355         - Updated rational for the leaks list to be more clear.
11356
11357         * Scripts/run-webkit-tests:
11358
11359 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
11360
11361         Rubber Stamp by Sam.
11362
11363         Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
11364         I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
11365
11366         * Scripts/run-webkit-tests:
11367
11368 2007-10-10  Simon Hausmann  <hausmann@kde.org>
11369
11370         Reviewed by Lars.
11371
11372         Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
11373         includes are needed for INT_MAX, std::auto_ptr and the like.
11374
11375         * DumpRenderTree/qt/main.cpp:
11376
11377 2007-10-09  Lars Knoll  <lars@trolltech.com>
11378
11379         Reviewed by Simon.
11380
11381         implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
11382
11383         * DumpRenderTree/qt/jsobjects.cpp:
11384         (LayoutTestController::encodeHostName):
11385         (LayoutTestController::decodeHostName):
11386         * DumpRenderTree/qt/jsobjects.h:
11387
11388 2007-10-09  Lars Knoll  <lars@trolltech.com>
11389
11390         Reviewed by Simon.
11391
11392         Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
11393
11394         * DumpRenderTree/qt/DumpRenderTree.cpp:
11395         (WebCore::WebPage::createFrame):
11396         (WebCore::DumpRenderTree::DumpRenderTree):
11397         (WebCore::DumpRenderTree::titleChanged):
11398         * DumpRenderTree/qt/DumpRenderTree.h:
11399         * DumpRenderTree/qt/jsobjects.cpp:
11400         (LayoutTestController::reset):
11401         * DumpRenderTree/qt/jsobjects.h:
11402
11403 2007-10-09  Lars Knoll  <lars@trolltech.com>
11404
11405         Reviewed by Simon.
11406
11407         add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
11408
11409         * DumpRenderTree/qt/DumpRenderTree.h:
11410         * DumpRenderTree/qt/jsobjects.cpp:
11411         (LayoutTestController::clearBackForwardList):
11412         * DumpRenderTree/qt/jsobjects.h:
11413
11414 2007-10-09  Lars Knoll  <lars@trolltech.com>
11415
11416         Reviewed by Simon.
11417
11418         make --git-reviewer work again.
11419
11420         * Scripts/prepare-ChangeLog:
11421
11422 2007-10-07  Holger Hans Peter Freyther  <zecke@selfish.org>
11423
11424         Rubber stamped by Eric.
11425
11426         Connect to the "hovering-over-link" signal emitted by WebKitPage and
11427         show the current link inside the statusbar.
11428         This shows how to make use of this signal and allows to easily test
11429         http://bugs.webkit.org/show_bug.cgi?id=15299.
11430
11431         * GtkLauncher/main.cpp:
11432         (hoveringOverLink):
11433         (main):
11434
11435 2007-10-05  Lars Knoll  <lars@trolltech.com>
11436
11437         add proper error messages to the FrameLoaderClient.
11438         Implement ChromeClientQt::closeWindowSoon and
11439         FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
11440         Some fixes in DRT to make it work correctly with multiple windows.
11441
11442         Reviewed by Maciej.
11443
11444         * DumpRenderTree/qt/DumpRenderTree.cpp:
11445         (WebCore::DumpRenderTree::DumpRenderTree):
11446         (WebCore::DumpRenderTree::createWindow):
11447         (WebCore::DumpRenderTree::windowCount):
11448         * DumpRenderTree/qt/DumpRenderTree.h:
11449         * DumpRenderTree/qt/jsobjects.cpp:
11450         (LayoutTestController::maybeDump):
11451         (LayoutTestController::windowCount):
11452         * DumpRenderTree/qt/jsobjects.h:
11453
11454 2007-10-05  Lars Knoll  <lars@trolltech.com>
11455
11456         Add a dummy plugin to DRT  to fix fast/dom/Window/Plug-Ins.html.
11457         Add support for layoutTextController.setCanOpenWindows() to DRT
11458         fixing another 2 test cases in fast/dom/Window.
11459
11460         Reviewed by Maciej.
11461
11462         * DumpRenderTree/qt/DumpRenderTree.cpp:
11463         (WebCore::WebPage::WebPage):
11464         (WebCore::WebPage::createWindow):
11465         (WebCore::DumpRenderTree::resetJSObjects):
11466         (WebCore::DumpRenderTree::createWindow):
11467         * DumpRenderTree/qt/DumpRenderTree.h:
11468         * DumpRenderTree/qt/DumpRenderTree.pro:
11469         * DumpRenderTree/qt/jsobjects.cpp:
11470         (LayoutTestController::LayoutTestController):
11471         (LayoutTestController::reset):
11472         * DumpRenderTree/qt/jsobjects.h:
11473         * DumpRenderTree/qt/main.cpp:
11474         * DumpRenderTree/qt/testplugin.cpp: Added.
11475         * DumpRenderTree/qt/testplugin.h: Added.
11476
11477 2007-10-04  Sam Weinig  <sam@webkit.org>
11478
11479         Rubber stamped by Adam.
11480
11481         Remove empty directories.
11482
11483         * DumpRenderTree/DumpRenderTree.qtproj: Removed.
11484         * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
11485
11486 2007-10-03  Darin Adler  <darin@apple.com>
11487
11488         Reviewed by Adam.
11489
11490         * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
11491         we find the internal libraries in the libraries directory. This
11492         is helpful for Safari team engineers at Apple.
11493
11494 2007-10-03  Adam Roben  <aroben@apple.com>
11495
11496         Update the location of AHEM___.TTF after r25968
11497
11498         Reviewed by Sam.
11499
11500         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
11501
11502 2007-10-03  Alp Toker  <alp@atoker.com>
11503
11504         Reviewed by Adam.
11505
11506         http://bugs.webkit.org/show_bug.cgi?id=14726
11507         [gtk] API design. Mapping the WebView delegates to signals.
11508
11509         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
11510
11511         * GtkLauncher/main.cpp:
11512         (goToURLBarText):
11513         (titleChanged):
11514         (progressChanged):
11515         (menuMainBackCallback):
11516         (menuMainForwardCallback):
11517         (main):
11518
11519 2007-10-03  Lars Knoll  <lars@trolltech.com>
11520
11521         Reviewed by Rob.
11522
11523         This fixes --strict mode in run-webkit-tests again after
11524         the platform dependent test results have been moved.
11525
11526         * Scripts/run-webkit-tests:
11527
11528 2007-10-03  Lars Knoll  <lars@trolltech.com>
11529
11530         Reviewed by bdash.
11531
11532         remove the hack in run-webkit-tests that forced text only test
11533         to be taken from the platform independent dir. It was only left
11534         there from early days.
11535
11536         Remove platform dependent results for tests that are text only nowadays,
11537         and add one platform dependent result for a text only test that requires it.
11538
11539         * Scripts/run-webkit-tests:
11540
11541 2007-10-03  Lars Knoll  <lars@trolltech.com>
11542
11543         Reviewed by olliej.
11544
11545         Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
11546
11547         * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
11548         (WebCore::WebFrame::WebFrame):
11549         (WebCore::WebPage::WebPage):
11550         (WebCore::WebPage::createFrame):
11551         (WebCore::WebPage::javaScriptAlert):
11552         (WebCore::WebPage::javaScriptConsoleMessage):
11553         (WebCore::DumpRenderTree::DumpRenderTree):
11554         (WebCore::DumpRenderTree::~DumpRenderTree):
11555         (WebCore::DumpRenderTree::open):
11556         (WebCore::DumpRenderTree::readStdin):
11557         (WebCore::DumpRenderTree::resetJSObjects):
11558         (WebCore::DumpRenderTree::initJSObjects):
11559         (WebCore::DumpRenderTree::dumpFramesAsText):
11560         (WebCore::DumpRenderTree::dump):
11561         * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
11562         (WebCore::DumpRenderTree::layoutTestController):
11563         (WebCore::DumpRenderTree::eventSender):
11564         * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
11565         * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
11566         * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
11567         * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
11568         (HackWebFrame::mousePressEvent):
11569         (HackWebFrame::mouseReleaseEvent):
11570         (HackWebFrame::mouseMoveEvent):
11571         (HackWebFrame::HackWebFrame):
11572         (HackWebFrame::~HackWebFrame):
11573         (LayoutTestController::LayoutTestController):
11574         (LayoutTestController::reset):
11575         (LayoutTestController::maybeDump):
11576         (LayoutTestController::waitUntilDone):
11577         (LayoutTestController::notifyDone):
11578         (LayoutTestController::dumpEditingCallbacks):
11579         (LayoutTestController::queueReload):
11580         (LayoutTestController::provisionalLoad):
11581         (LayoutTestController::timerEvent):
11582         (EventSender::EventSender):
11583         (EventSender::mouseDown):
11584         (EventSender::mouseUp):
11585         (EventSender::mouseMoveTo):
11586         (EventSender::leapForward):
11587         (EventSender::keyDown):
11588         (EventSender::frameUnderMouse):
11589         * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
11590         (LayoutTestController::isLoading):
11591         (LayoutTestController::setLoading):
11592         (LayoutTestController::shouldDumpAsText):
11593         (LayoutTestController::shouldDumpChildrenAsText):
11594         (LayoutTestController::shouldWaitUntilDone):
11595         (LayoutTestController::dumpAsText):
11596         (LayoutTestController::dumpChildFramesAsText):
11597         * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
11598         (messageHandler):
11599         (crashHandler):
11600         (main):
11601         * Scripts/run-webkit-tests:
11602
11603 2007-10-03  Mark Rowe  <mrowe@apple.com>
11604
11605         Reviewed by Alp Toker.
11606
11607         Fix build-webkit when both QTDIR and --gtk are set.  The presence of --gtk
11608         should take precedence over QTDIR when determining which port we are working with.
11609
11610         * Scripts/webkitdirs.pm:
11611
11612 2007-10-02  Adam Roben  <aroben@apple.com>
11613
11614         Add keychain to the list of default packages to install
11615
11616         Rubberstamped by Sam.
11617
11618         * CygwinDownloader/cygwin-downloader.py:
11619         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
11620
11621 2007-10-02  David Kilzer  <ddkilzer@webkit.org>
11622
11623         Reviewed by Adam.
11624
11625         Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
11626         Also makes WebCore regression test case logic work when using git.
11627
11628         * Scripts/prepare-ChangeLog:
11629         (reviewerAndDescriptionForGitCommit): Added.
11630
11631 2007-10-02  Lars Knoll  <lars@trolltech.com>
11632
11633         Reviewed by bdash.
11634
11635         Add API to retrieve the frame name from QWebFrame.
11636         Implement support for DRT::dumpChildrenAsText.
11637
11638         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11639         (WebCore::DumpRenderTree::dumpFramesAsText):
11640         (WebCore::DumpRenderTree::dump):
11641         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
11642         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
11643         (LayoutTestController::LayoutTestController):
11644         (LayoutTestController::reset):
11645         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
11646
11647 2007-10-02  Lars Knoll  <lars@trolltech.com>
11648
11649         Reviewed by bdash.
11650
11651         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
11652
11653         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11654         (WebCore::DumpRenderTree::readStdin):
11655
11656 2007-10-02  Mark Rowe  <mrowe@apple.com>
11657
11658         Reviewed by Oliver.
11659
11660         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
11661
11662         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
11663         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
11664
11665 2007-10-02  Mark Rowe  <mrowe@apple.com>
11666
11667         Rubber-stamped by Maciej.
11668
11669         Configuration changes from build.webkit.org.  The major change is refactoring to work
11670         with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
11671         last few weeks.
11672
11673         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
11674         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
11675         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
11676         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
11677         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
11678         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
11679         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
11680         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
11681
11682 2007-10-02  Lars Knoll  <lars@trolltech.com>
11683
11684         Reviewed by Maciej.
11685
11686         Add support for eventSender.mouseMove to DRT.
11687         Fixes fast/css/hover-affects-child.html
11688
11689         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
11690         (EventSender::mouseMoveTo):
11691
11692 2007-10-01  Mark Rowe  <mrowe@apple.com>
11693
11694         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
11695
11696 2007-10-01  David Kilzer  <ddkilzer@webkit.org>
11697
11698         Reviewed by Hyatt.
11699
11700         Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
11701
11702         * Scripts/svn-apply:
11703         (gitdiff2svndiff): Ignore lines beginning with "new file".
11704         * Scripts/svn-unapply:
11705         (gitdiff2svndiff): Ditto.
11706
11707 2007-09-30  George Staikos  <staikos@kde.org>
11708
11709         Qt build fix (Mac OS X specific)
11710
11711         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
11712
11713 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
11714
11715         Reviewed by Mark.
11716
11717         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
11718         Remove Bakefiles from svn.
11719
11720         * GtkLauncher/Bakefiles.bkgen: Removed.
11721         * GtkLauncher/ENV: Removed.
11722         * GtkLauncher/gdklauncher.bkl: Removed.
11723         * GtkLauncher/mk: Removed.
11724         * Scripts/regenerate-makefiles: Removed.
11725
11726 2007-09-25  Kevin McCullough  <kmccullough@apple.com>
11727
11728         Reviewed by John.
11729
11730         - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
11731
11732         * Scripts/run-webkit-tests:
11733
11734 2007-09-26  Adam Roben  <aroben@apple.com>
11735
11736         Make not finding an installed WebKit non-fatal
11737
11738         What really matters is that we are able to load WebKit and its
11739         dependencies, not whether we think we've found an installed WebKit.
11740
11741         Reviewed by Sam.
11742
11743         * WebKitInitializer/WebKitInitializer.cpp:
11744         (getWebViewCLSID): Use new LOG_WARNING macro.
11745         (getInstalledWebKitDirectory): Ditto.
11746         (initializeWebKit): Don't die if we didn't find an installed WebKit,
11747         and use new macros.
11748         * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
11749
11750 2007-09-26  Adam Roben  <aroben@apple.com>
11751
11752         Committed this file before saving it
11753
11754         * WebKitInitializer/debug_internal.vsprops:
11755
11756 2007-09-26  Adam Roben  <aroben@apple.com>
11757
11758         Load WebKit and its dependencies manually so they come from DllDirectory
11759
11760         I had to change WebKitInitializer to use malloc/free instead of
11761         new/delete to avoid pulling in WebKit (and its dependencies) early
11762         through use of fastMalloc.
11763
11764         Reviewed by Oliver.
11765
11766         * WebKitInitializer/WebKitInitializer.cpp:
11767         (getStringValue): Changed to use malloc/free.
11768         (getInstalledWebKitDirectory): Ditto.
11769         (initializeWebKit): Call SetDllDirectory first, then load all of
11770         WebKit's dependencies manually, finally followed by WebKit itself.
11771         * WebKitInitializer/WebKitInitializer.vcproj: Added a new
11772         configuration to match our other projects.
11773         * WebKitInitializer/debug_internal.vsprops: Added.
11774
11775 2007-09-25  Adam Roben  <aroben@apple.com>
11776
11777         Actually define DEBUG/NDEBUG so that we load WebKit correctly
11778
11779         Rubberstamped by Sam.
11780
11781         * WebKitInitializer/WebKitInitializer.vcproj:
11782
11783 2007-09-25  Adam Roben  <aroben@apple.com>
11784
11785         Make DumpRenderTree delay-load its dependencies
11786
11787         This lets WebKitInitializer re-route the dependencies to be loaded out
11788         of the Safari installation directory.
11789
11790         Also replaced all uses of kCFAllocatorDefault with 0 (which means the
11791         same thing), since we can't import the kCFAllocatorDefault symbol when
11792         delay-loading CoreFoundation.dll.
11793
11794         Rubberstamped by Sam.
11795
11796         * DumpRenderTree/win/DumpRenderTree.cpp:
11797         (runTest):
11798         (javaScriptThreads):
11799         * DumpRenderTree/win/DumpRenderTree.vcproj:
11800         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
11801         (LayoutTestController::setWaitToDump):
11802
11803 2007-09-25  Adam Roben  <aroben@apple.com>
11804
11805         Pull ole32.lib into WebKitInitializer
11806
11807         Rubberstamped by Sam.
11808
11809         * WebKitInitializer/WebKitInitializer.vcproj:
11810
11811 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
11812
11813         Reviewed by Adam.
11814
11815         - Fix http://bugs.webkit.org/show_bug.cgi?id=14885
11816           LGPL'ed files contain incorrect FSF address
11817
11818         * Drosera/config.h:
11819
11820 2007-09-25  David Kilzer  <ddkilzer@webkit.org>
11821
11822         Reviewed by Adam.
11823
11824         Make svn-apply and svn-unapply work with git-diff formatted patches.
11825
11826         * Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
11827         (gitdiff2svndiff): Added.
11828         * Scripts/svn-unapply: Ditto.
11829         (gitdiff2svndiff): Added.
11830
11831 2007-09-25  Adam Roben  <aroben@apple.com>
11832
11833         Pull advapi32.lib into WebKitInitializer
11834
11835         This is needed to get the registry functions we use.
11836
11837         Rubberstamped by Sam.
11838
11839         * WebKitInitializer/WebKitInitializer.vcproj:
11840
11841 2007-09-25  Adam Roben  <aroben@apple.com>
11842
11843         Add python and rsync to cygwin-downloader
11844
11845         Our build slaves need this, and it can't hurt for everyone else to
11846         have it, too.
11847
11848         Reviewed by Sam.
11849
11850         * CygwinDownloader/cygwin-downloader.py: Added python and rsync.
11851         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
11852
11853 2007-09-25  Adam Roben  <aroben@apple.com>
11854
11855         Add WebKitInitializer and use it in DumpRenderTree
11856
11857         WebKitInitializer is a static library that has one function,
11858         initializeWebKit(). This registers WebKit and sets up the DLL search
11859         path so that WebKit's dependencies that are installed with Safari can
11860         be found.
11861
11862         Reviewed by Sam.
11863
11864         * DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
11865         DumpRenderTree depend on it.
11866         * DumpRenderTree/win/DumpRenderTree.cpp:
11867         (initialize): Call initializeWebKit.
11868         * DumpRenderTree/win/DumpRenderTree.vcproj: Link against
11869         WebKitInitializer.lib.
11870         * WebKitInitializer/WebKitInitializer.cpp: Added.
11871         (getStringValue):
11872         (getWebViewCLSID):
11873         (getInstalledWebKitDirectory):
11874         (initializeWebKit):
11875         * WebKitInitializer/WebKitInitializer.h: Added.
11876         * WebKitInitializer/WebKitInitializer.vcproj: Added.
11877         * WebKitInitializer/debug.vsprops: Added.
11878         * WebKitInitializer/release.vsprops: Added.
11879
11880 2007-09-25  Adam Roben  <aroben@apple.com>
11881
11882         Make run-webkit-tests respect set-webkit-configuration
11883
11884         Reviewed by Sam.
11885
11886         * Scripts/run-webkit-tests: Initialize $configuration to whatever
11887         set-webkit-configuration was last set to.
11888
11889 2007-09-25  Mark Rowe  <mrowe@apple.com>
11890
11891         Rubber-stamped by Eric.
11892
11893         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
11894         This makes it possible to automate nightly builds for the feature-branch.
11895
11896 2007-09-25  Adam Roben  <aroben@apple.com>
11897
11898         A couple of fixes/enhancements to update-webkit-*-libs
11899
11900         You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
11901         to tell update-webkit-support-libraries where it should find the
11902         WebKitSupportLibrary.zip file you downloaded.
11903
11904         These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
11905         Windows-style path.
11906
11907         Reviewed by Sam.
11908
11909         * Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
11910         to $auxiliaryLibsURL and removed an irrelevant comment.
11911         * Scripts/update-webkit-support-libs:
11912
11913 2007-09-25  Adam Treat  <treat@kde.org>
11914
11915         Reviewed by Simon and Lars.
11916
11917         Refactors and cleans up Qt DRT member variable names, member variable
11918         initialization, style fixes and general code cleanup.
11919
11920         Adds queueReload slot to LayoutTestController that some tests require.
11921
11922         Subclasses QWebFrame to make sure that all frames have an associated
11923         LayoutTestController JS window object.
11924
11925         Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
11926         aren't dumped twice.
11927
11928         EOF fixes.
11929
11930         Together, this patch fixes some 20+ layout tests in QtWebKit.
11931
11932         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
11933         (WebCore::WebFrame::WebFrame):
11934         (WebCore::WebPage::WebPage):
11935         (WebCore::WebPage::createFrame):
11936         (WebCore::DumpRenderTree::DumpRenderTree):
11937         (WebCore::DumpRenderTree::open):
11938         (WebCore::DumpRenderTree::readStdin):
11939         (WebCore::DumpRenderTree::initJSObjects):
11940         (WebCore::DumpRenderTree::dump):
11941         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
11942         (WebCore::DumpRenderTree::layoutTestController):
11943         (WebCore::DumpRenderTree::eventSender):
11944         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
11945         (LayoutTestController::LayoutTestController):
11946         (LayoutTestController::reset):
11947         (LayoutTestController::maybeDump):
11948         (LayoutTestController::waitUntilDone):
11949         (LayoutTestController::notifyDone):
11950         (LayoutTestController::queueReload):
11951         (LayoutTestController::provisionalLoad):
11952         (EventSender::EventSender):
11953         (EventSender::mouseDown):
11954         (EventSender::mouseUp):
11955         (EventSender::mouseMoveTo):
11956         (EventSender::frameUnderMouse):
11957         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
11958         (LayoutTestController::isLoading):
11959         (LayoutTestController::setLoading):
11960         (LayoutTestController::dumpAsText):
11961         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
11962         (main):
11963
11964 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
11965
11966
11967         - Reverted an accidentally checked in file.
11968
11969         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
11970
11971 2007-09-24  Kevin McCullough  <kmccullough@apple.com>
11972         Reviewed by Sam.
11973
11974         - Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
11975
11976         * DumpRenderTree/win/DumpRenderTree.vcproj:
11977         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
11978
11979 2007-09-20  Holger Hans Peter Freyther  <zecke@selfish.org>
11980
11981         Rubber stamped by Adam.
11982
11983         * GdkLauncher: Removed.
11984         * GdkLauncher/Bakefiles.bkgen: Removed.
11985         * GdkLauncher/ENV: Removed.
11986         * GdkLauncher/GdkLauncher.pro: Removed.
11987         * GdkLauncher/gdklauncher.bkl: Removed.
11988         * GdkLauncher/main.cpp: Removed.
11989         * GdkLauncher/mk: Removed.
11990         * GdkLauncher/simple.svg: Removed.
11991         * GdkLauncher/text.html: Removed.
11992         * GtkLauncher: Added.
11993         * GtkLauncher/GdkLauncher.pro: Removed.
11994         * GtkLauncher/GtkLauncher.pro: Added.
11995         * GtkLauncher/main.cpp:
11996         (updateWindowTitle):
11997         (main):
11998         * Scripts/build-webkit:
11999         * Scripts/regenerate-makefiles:
12000         * Scripts/run-javascriptcore-tests:
12001         * Scripts/run-launcher:
12002         * Scripts/run-webkit-tests:
12003         * Scripts/webkitdirs.pm:
12004
12005 2007-09-21  Timothy Hatcher  <timothy@apple.com>
12006
12007         Reviewed by Darin Adler.
12008
12009         <rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
12010
12011         Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
12012         This is tested by plugins/root-object-premature-delete-crash.html.
12013
12014         * DumpRenderTree/mac/ObjCController.m:
12015         (-[ObjCController accessStoredWebScriptObject]):
12016
12017 2007-09-21  Kevin McCullough  <kmccullough@apple.com>
12018
12019         Reviewed by Oliver.
12020
12021         - We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
12022
12023         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
12024         (FrameLoadDelegate::FrameLoadDelegate):
12025
12026 2007-09-20  Julien Chaffraix  <julien.chaffraix@gmail.com>
12027
12028         Reviewed by Adam.
12029
12030         Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
12031         webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
12032
12033         Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
12034         Now isQt() and isGdk() use global variables that are only set once.
12035
12036         An array of all the parameters is now given to build-dumprender which includes
12037         the platform on linux.
12038
12039         * Scripts/build-dumprendertree:
12040         * Scripts/run-webkit-tests:
12041         * Scripts/webkitdirs.pm:
12042
12043 2007-09-19  Adam Roben  <aroben@apple.com>
12044
12045         Rubberstamped by Hyatt.
12046
12047         * Spinneret: Removed.
12048
12049 2007-09-19  Tuukka Hastrup  <Tuukka.Hastrup@iki.fi>
12050
12051         Reviewed by David Kilzer.
12052
12053         * Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
12054
12055 2007-09-18  Sam Weinig  <sam@webkit.org>
12056
12057         Add JSRetainPtr.h #include to fix some builds.
12058
12059         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
12060
12061 2007-09-18  Mike Hommey  <glandium@debian.org>
12062
12063         Reviewed by Adam.
12064
12065         * Scripts/prepare-ChangeLog:
12066         - Properly parse GECOS field.
12067         - Use git configuration for user name and email when appropriate.
12068
12069 2007-09-17  Sam Weinig  <sam@webkit.org>
12070
12071         Build fix.
12072
12073         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12074
12075 2007-09-17  Sam Weinig  <sam@webkit.org>
12076
12077         Reviewed by Adam Roben.
12078
12079         Share more code between mac and windows DRT.
12080             - GCController is now shared.
12081             - Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
12082
12083         * DumpRenderTree/GCController.cpp:
12084         * DumpRenderTree/win/DumpRenderTree.cpp:
12085         * DumpRenderTree/win/DumpRenderTree.vcproj:
12086         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
12087         (FrameLoadDelegate::FrameLoadDelegate):
12088         (FrameLoadDelegate::~FrameLoadDelegate):
12089         (FrameLoadDelegate::windowScriptObjectAvailable):
12090         * DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
12091         * DumpRenderTree/win/GCController.cpp: Removed.
12092         * DumpRenderTree/win/GCController.h: Removed.
12093         * DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
12094         (GCController::collect):
12095         (GCController::collectOnAlternateThread):
12096         (GCController::getJSObjectCount):
12097         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
12098         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
12099
12100 2007-09-17  Sam Weinig  <sam@webkit.org>
12101
12102         Reviewed by Adam Roben.
12103
12104         Begin sharing code between mac and windows DRT.
12105             - both now share LayoutTestController.h/cpp and implement platform dependant
12106               operations in LayoutTestControllerMac/Win.
12107             - DumpRenderTree.h is now shared.
12108             - WorkQueue and WorkQueueItem are also shared.
12109
12110         * DumpRenderTree/DumpRenderTree.h:
12111         * DumpRenderTree/LayoutTestController.cpp:
12112         * DumpRenderTree/win/DumpRenderTree.cpp:
12113         (displayWebView):
12114         (dumpFrameScrollPosition):
12115         (dumpFramesAsText):
12116         (dump):
12117         (runTest):
12118         * DumpRenderTree/win/DumpRenderTree.h: Removed.
12119         * DumpRenderTree/win/DumpRenderTree.vcproj:
12120         * DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
12121         * DumpRenderTree/win/EditingDelegate.cpp:
12122         (EditingDelegate::shouldBeginEditingInDOMRange):
12123         (EditingDelegate::shouldEndEditingInDOMRange):
12124         (EditingDelegate::shouldInsertNode):
12125         (EditingDelegate::shouldInsertText):
12126         (EditingDelegate::shouldDeleteDOMRange):
12127         (EditingDelegate::shouldChangeSelectedDOMRange):
12128         (EditingDelegate::shouldApplyStyle):
12129         (EditingDelegate::shouldChangeTypingStyle):
12130         (EditingDelegate::doPlatformCommand):
12131         (EditingDelegate::webViewDidBeginEditing):
12132         (EditingDelegate::webViewDidChange):
12133         (EditingDelegate::webViewDidEndEditing):
12134         (EditingDelegate::webViewDidChangeTypingStyle):
12135         (EditingDelegate::webViewDidChangeSelection):
12136         * DumpRenderTree/win/LayoutTestController.cpp: Removed.
12137         * DumpRenderTree/win/LayoutTestController.h: Removed.
12138         * DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
12139         (LayoutTestController::addDisallowedURL):
12140         (LayoutTestController::clearBackForwardList):
12141         (LayoutTestController::copyDecodedHostName):
12142         (LayoutTestController::copyEncodedHostName):
12143         (LayoutTestController::display):
12144         (LayoutTestController::keepWebHistory):
12145         (LayoutTestController::notifyDone):
12146         (LayoutTestController::queueBackNavigation):
12147         (LayoutTestController::queueForwardNavigation):
12148         (jsStringRefToWString):
12149         (LayoutTestController::queueLoad):
12150         (LayoutTestController::queueReload):
12151         (LayoutTestController::queueScript):
12152         (LayoutTestController::setAcceptsEditing):
12153         (LayoutTestController::setCustomPolicyDelegate):
12154         (LayoutTestController::setMainFrameIsFirstResponder):
12155         (LayoutTestController::setTabKeyCyclesThroughElements):
12156         (LayoutTestController::setUseDashboardCompatibilityMode):
12157         (LayoutTestController::setUserStyleSheetEnabled):
12158         (LayoutTestController::setUserStyleSheetLocation):
12159         (LayoutTestController::setWindowIsKey):
12160         (waitUntilDoneWatchdogFired):
12161         (LayoutTestController::setWaitToDump):
12162         (LayoutTestController::windowCount):
12163         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
12164         (FrameLoadDelegate::didReceiveTitle):
12165         (FrameLoadDelegate::processWork):
12166         (FrameLoadDelegate::locationChangeDone):
12167         (FrameLoadDelegate::windowScriptObjectAvailable):
12168         * DumpRenderTree/win/WorkQueue.cpp: Removed.
12169         * DumpRenderTree/win/WorkQueue.h: Removed.
12170         * DumpRenderTree/win/WorkQueueItem.cpp: Removed.
12171         * DumpRenderTree/win/WorkQueueItem.h: Removed.
12172         * DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
12173         (jsStringRefToWString):
12174         (LoadItem::invoke):
12175         (ScriptItem::invoke):
12176
12177 2007-09-17  Sam Weinig  <sam@webkit.org>
12178
12179         Reviewed by Adam Roben.
12180
12181         - Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
12182
12183         * DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
12184         * DumpRenderTree/DumpRenderTree.vcproj: Removed.
12185         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
12186         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
12187         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
12188         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
12189         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
12190         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
12191         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
12192         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
12193         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
12194         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
12195         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
12196         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
12197         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
12198         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
12199         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
12200         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
12201         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
12202         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
12203         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
12204         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
12205         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
12206         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
12207         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
12208         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
12209         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
12210         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
12211         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
12212         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
12213         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
12214         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
12215         * DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
12216         * DumpRenderTree/win: Added.
12217         * DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
12218         * DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
12219         * DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
12220         * DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
12221         * DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
12222         * DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
12223         * DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
12224         * DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
12225         * DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
12226         * DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
12227         * DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
12228         * DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
12229         * DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
12230         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
12231         * DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
12232         * DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
12233         * DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
12234         * DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
12235         * DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
12236         * DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
12237         * DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
12238         * DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
12239         * DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
12240         * DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
12241         * DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
12242         * Scripts/run-webkit-tests: Update to point to the new location of the sln.
12243
12244 2007-09-15  Mark Rowe  <mrowe@apple.com>
12245
12246         Build fix for DumpRenderTree.
12247
12248         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
12249
12250 2007-09-14  Sam Weinig  <sam@webkit.org>
12251
12252         Rubber stamped by Adam Roben.
12253
12254         Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
12255           - The UIDelegate was put into a new file while the FrameLoadDelegate was
12256             kept in the WaitUntilDoneDelegate file for the time being.
12257
12258         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
12259         (main):
12260         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
12261         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
12262         (UIDelegate::QueryInterface):
12263         (UIDelegate::AddRef):
12264         (UIDelegate::Release):
12265         (UIDelegate::hasCustomMenuImplementation):
12266         (UIDelegate::setFrame):
12267         (UIDelegate::webViewFrame):
12268         (UIDelegate::runJavaScriptAlertPanelWithMessage):
12269         (UIDelegate::webViewAddMessageToConsole):
12270         (UIDelegate::doDragDrop):
12271         (UIDelegate::webViewGetDlgCode):
12272         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
12273         (UIDelegate::UIDelegate):
12274         (UIDelegate::createWebViewWithRequest):
12275         (UIDelegate::webViewShow):
12276         (UIDelegate::webViewClose):
12277         (UIDelegate::webViewFocus):
12278         (UIDelegate::webViewUnfocus):
12279         (UIDelegate::webViewFirstResponder):
12280         (UIDelegate::makeFirstResponder):
12281         (UIDelegate::setStatusText):
12282         (UIDelegate::webViewStatusText):
12283         (UIDelegate::webViewAreToolbarsVisible):
12284         (UIDelegate::setToolbarsVisible):
12285         (UIDelegate::webViewIsStatusBarVisible):
12286         (UIDelegate::setStatusBarVisible):
12287         (UIDelegate::webViewIsResizable):
12288         (UIDelegate::setResizable):
12289         (UIDelegate::setContentRect):
12290         (UIDelegate::webViewContentRect):
12291         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
12292         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
12293         (UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
12294         (UIDelegate::runOpenPanelForFileButtonWithResultListener):
12295         (UIDelegate::mouseDidMoveOverElement):
12296         (UIDelegate::contextMenuItemsForElement):
12297         (UIDelegate::validateUserInterfaceItem):
12298         (UIDelegate::shouldPerformAction):
12299         (UIDelegate::dragDestinationActionMaskForDraggingInfo):
12300         (UIDelegate::willPerformDragDestinationAction):
12301         (UIDelegate::dragSourceActionMaskForPoint):
12302         (UIDelegate::willPerformDragSourceAction):
12303         (UIDelegate::contextMenuItemSelected):
12304         (UIDelegate::trackCustomPopupMenu):
12305         (UIDelegate::measureCustomMenuItem):
12306         (UIDelegate::drawCustomMenuItem):
12307         (UIDelegate::addCustomMenuDrawingData):
12308         (UIDelegate::cleanUpCustomMenuDrawingData):
12309         (UIDelegate::canTakeFocus):
12310         (UIDelegate::takeFocus):
12311         (UIDelegate::registerUndoWithTarget):
12312         (UIDelegate::removeAllActionsWithTarget):
12313         (UIDelegate::setActionTitle):
12314         (UIDelegate::undo):
12315         (UIDelegate::redo):
12316         (UIDelegate::canUndo):
12317         (UIDelegate::canRedo):
12318         (UIDelegate::webViewResizerRect):
12319         (UIDelegate::webViewDrawResizer):
12320         (UIDelegate::webViewScrolled):
12321         (UIDelegate::webViewShouldInterruptJavaScript):
12322         (UIDelegate::webViewReceivedFocus):
12323         (UIDelegate::webViewLostFocus):
12324         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
12325         (FrameLoadDelegate::QueryInterface):
12326         (FrameLoadDelegate::AddRef):
12327         (FrameLoadDelegate::Release):
12328         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
12329         (FrameLoadDelegate::didCommitLoadForFrame):
12330         (FrameLoadDelegate::didReceiveTitle):
12331         (FrameLoadDelegate::processWork):
12332         (processWorkTimer):
12333         (FrameLoadDelegate::locationChangeDone):
12334         (FrameLoadDelegate::didFinishLoadForFrame):
12335         (FrameLoadDelegate::didFailLoadWithError):
12336         (FrameLoadDelegate::windowScriptObjectAvailable):
12337         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
12338         (FrameLoadDelegate::FrameLoadDelegate):
12339
12340 2007-09-14  Sam Weinig  <sam@webkit.org>
12341
12342         Reviewed by Kevin McCullough.
12343
12344         Move mac specific globals in to mac/DumpRenderTreeMac.h
12345
12346         * DumpRenderTree/DumpRenderTree.h:
12347         * DumpRenderTree/DumpRenderTree.mm: Removed.
12348         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12349         * DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
12350         * DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
12351
12352 2007-09-14  Brady Eidson  <beidson@apple.com>
12353
12354         Rubberstamped by Weinig
12355
12356         You know, Sam, some of us use case-sensitve filesystems...
12357
12358         * DumpRenderTree/DumpRenderTree.h:
12359         * DumpRenderTree/mac/UIDelegate.mm:
12360
12361 2007-09-14  Sam Weinig  <sam@webkit.org>
12362
12363         Rubber stamped by Adam Roben.
12364
12365         - Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
12366         - Move mac specific DumpRenderTree files to DumpRenderTree/mac
12367
12368         * DumpRenderTree/AppleScriptController.h: Removed.
12369         * DumpRenderTree/AppleScriptController.m: Removed.
12370         * DumpRenderTree/DumpRenderTree.h:
12371         * DumpRenderTree/DumpRenderTree.mm:
12372         (startJavaScriptThreads):
12373         (stopJavaScriptThreads):
12374         (activateAhemFont):
12375         (setDefaultColorProfileToRGB):
12376         (makeLargeMallocFailSilently):
12377         (dumpFrameScrollPosition):
12378         (dumpFramesAsText):
12379         (dump):
12380         (runTest):
12381         (-[DumpRenderTreeWindow isKeyWindow]):
12382         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12383         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
12384         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
12385         * DumpRenderTree/EditingDelegate.h: Removed.
12386         * DumpRenderTree/EditingDelegate.m: Removed.
12387         * DumpRenderTree/EventSendingController.h: Removed.
12388         * DumpRenderTree/EventSendingController.m: Removed.
12389         * DumpRenderTree/FrameLoadDelegate.h: Removed.
12390         * DumpRenderTree/FrameLoadDelegate.mm: Removed.
12391         * DumpRenderTree/GCController.mm: Removed.
12392         * DumpRenderTree/ImageDiff.m: Removed.
12393         * DumpRenderTree/LayoutTestController.cpp:
12394         (LayoutTestController::LayoutTestController):
12395         (dumpAsTextCallback):
12396         (dumpBackForwardListCallback):
12397         (dumpChildFramesAsTextCallback):
12398         (dumpChildFrameScrollPositionsCallback):
12399         (dumpDOMAsWebArchiveCallback):
12400         (dumpEditingCallbacksCallback):
12401         (dumpFrameLoadCallbacksCallback):
12402         (dumpResourceLoadCallbacksCallback):
12403         (dumpSelectionRectCallback):
12404         (dumpSourceAsWebArchiveCallback):
12405         (dumpTitleChangesCallback):
12406         (repaintSweepHorizontallyCallback):
12407         (setCallCloseOnWebViewsCallback):
12408         (setCanOpenWindowsCallback):
12409         (setCloseRemainingWindowsWhenCompleteCallback):
12410         (testRepaintCallback):
12411         (addFileToPasteboardOnDragCallback):
12412         (waitUntilDoneCallback):
12413         * DumpRenderTree/LayoutTestController.h:
12414         (LayoutTestController::dumpAsText):
12415         (LayoutTestController::setDumpAsText):
12416         (LayoutTestController::dumpBackForwardList):
12417         (LayoutTestController::setDumpBackForwardList):
12418         (LayoutTestController::dumpChildFrameScrollPositions):
12419         (LayoutTestController::setDumpChildFrameScrollPositions):
12420         (LayoutTestController::dumpChildFramesAsText):
12421         (LayoutTestController::setDumpChildFramesAsText):
12422         (LayoutTestController::dumpDOMAsWebArchive):
12423         (LayoutTestController::setDumpDOMAsWebArchive):
12424         (LayoutTestController::dumpSelectionRect):
12425         (LayoutTestController::setDumpSelectionRect):
12426         (LayoutTestController::dumpSourceAsWebArchive):
12427         (LayoutTestController::setDumpSourceAsWebArchive):
12428         (LayoutTestController::dumpTitleChanges):
12429         (LayoutTestController::setDumpTitleChanges):
12430         (LayoutTestController::dumpEditingCallbacks):
12431         (LayoutTestController::setDumpEditingCallbacks):
12432         (LayoutTestController::dumpResourceLoadCallbacks):
12433         (LayoutTestController::setDumpResourceLoadCallbacks):
12434         (LayoutTestController::dumpFrameLoadCallbacks):
12435         (LayoutTestController::setDumpFrameLoadCallbacks):
12436         (LayoutTestController::addFileToPasteboardOnDrag):
12437         (LayoutTestController::setAddFileToPasteboardOnDrag):
12438         (LayoutTestController::callCloseOnWebViews):
12439         (LayoutTestController::setCallCloseOnWebViews):
12440         (LayoutTestController::canOpenWindows):
12441         (LayoutTestController::setCanOpenWindows):
12442         (LayoutTestController::closeRemainingWindowsWhenComplete):
12443         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
12444         (LayoutTestController::testRepaint):
12445         (LayoutTestController::setTestRepaint):
12446         (LayoutTestController::testRepaintSweepHorizontally):
12447         (LayoutTestController::setTestRepaintSweepHorizontally):
12448         (LayoutTestController::waitToDump):
12449         (LayoutTestController::windowIsKey):
12450         * DumpRenderTree/LayoutTestControllerMac.mm: Removed.
12451         * DumpRenderTree/NavigationController.h: Removed.
12452         * DumpRenderTree/NavigationController.m: Removed.
12453         * DumpRenderTree/ObjCController.h: Removed.
12454         * DumpRenderTree/ObjCController.m: Removed.
12455         * DumpRenderTree/ObjCPlugin.h: Removed.
12456         * DumpRenderTree/ObjCPlugin.m: Removed.
12457         * DumpRenderTree/ObjCPluginFunction.h: Removed.
12458         * DumpRenderTree/ObjCPluginFunction.m: Removed.
12459         * DumpRenderTree/PolicyDelegate.h: Removed.
12460         * DumpRenderTree/PolicyDelegate.m: Removed.
12461         * DumpRenderTree/ResourceLoadDelegate.h: Removed.
12462         * DumpRenderTree/ResourceLoadDelegate.m: Removed.
12463         * DumpRenderTree/TextInputController.h: Removed.
12464         * DumpRenderTree/TextInputController.m: Removed.
12465         * DumpRenderTree/UIDelegate.h: Removed.
12466         * DumpRenderTree/UIDelegate.mm: Removed.
12467         * DumpRenderTree/WorkQueueItemMac.mm: Removed.
12468         * DumpRenderTree/mac: Added.
12469         * DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
12470         * DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
12471         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
12472         * DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
12473         * DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
12474         * DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
12475         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
12476         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
12477         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
12478         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
12479         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
12480         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
12481         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
12482         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
12483         (-[EditingDelegate webViewDidBeginEditing:]):
12484         (-[EditingDelegate webViewDidChange:]):
12485         (-[EditingDelegate webViewDidEndEditing:]):
12486         (-[EditingDelegate webViewDidChangeTypingStyle:]):
12487         (-[EditingDelegate webViewDidChangeSelection:]):
12488         * DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
12489         * DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
12490         * DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
12491         * DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
12492         (-[FrameLoadDelegate init]):
12493         (-[FrameLoadDelegate dealloc]):
12494         (-[FrameLoadDelegate processWork:]):
12495         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
12496         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
12497         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
12498         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
12499         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
12500         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
12501         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
12502         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12503         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
12504         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
12505         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
12506         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
12507         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
12508         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
12509         (-[FrameLoadDelegate webView:willCloseFrame:]):
12510         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
12511         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
12512         * DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
12513         * DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
12514         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
12515         (LayoutTestController::notifyDone):
12516         (LayoutTestController::setWindowIsKey):
12517         (LayoutTestController::setWaitToDump):
12518         * DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
12519         * DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
12520         * DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
12521         * DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
12522         * DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
12523         * DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
12524         * DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
12525         * DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
12526         * DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
12527         * DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
12528         * DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
12529         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
12530         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
12531         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
12532         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
12533         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
12534         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
12535         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
12536         * DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
12537         * DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
12538         * DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
12539         * DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
12540         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
12541         (-[UIDelegate webViewFocus:]):
12542         (-[UIDelegate webView:createWebViewWithRequest:]):
12543         (-[UIDelegate webViewClose:]):
12544         * DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
12545
12546 2007-09-14  Kevin McCullough  <kmccullough@apple.com>
12547
12548         Reviewed by Adam.
12549
12550         - Changing Win version of Drosera work with recent changes.
12551
12552         * Drosera/DebuggerDocument.cpp:
12553         * Drosera/DebuggerDocument.h:
12554         * Drosera/mac/DebuggerDocumentPlatform.mm:
12555         (NSStringCreateWithJSStringRef):
12556         (JSValueRefCreateWithNSString):
12557         * Drosera/win/DebuggerClient.cpp:
12558         (DebuggerClient::stepInto):
12559         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
12560
12561 2007-09-13  Kevin McCullough  <kmccullough@apple.com>
12562
12563         Reviewed by Tim.
12564
12565         - Moved isPaused into the JS for efficiency and simplicity.
12566
12567         * Drosera/DebuggerDocument.cpp:
12568         (DebuggerDocument::DebuggerDocument):
12569         (DebuggerDocument::pauseCallback):
12570         (DebuggerDocument::resumeCallback):
12571         (DebuggerDocument::isPaused):
12572         (DebuggerDocument::staticFunctions):
12573         * Drosera/DebuggerDocument.h:
12574         * Drosera/console.js:
12575         * Drosera/debugger.js:
12576         * Drosera/mac/DebuggerClient.mm:
12577         (-[DebuggerClient validateUserInterfaceItem:]):
12578
12579 2007-09-13  Sam Weinig  <sam@webkit.org>
12580
12581         Rubber stamped by Darin Adler.
12582
12583         Make DumpRenderTree more cross platform ready.
12584         - Convert GCController to use the JSCore API instead of the WebScriptObject.
12585         - Use CF types instead of NS objects.
12586         - General cleanup.
12587
12588         * DumpRenderTree/DumpRenderTree.h:
12589         * DumpRenderTree/DumpRenderTree.mm:
12590         (dumpRenderTree):
12591         (dump):
12592         (runTest):
12593         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12594         * DumpRenderTree/EditingDelegate.m:
12595         * DumpRenderTree/FrameLoadDelegate.h:
12596         * DumpRenderTree/FrameLoadDelegate.mm:
12597         (-[FrameLoadDelegate init]):
12598         (-[FrameLoadDelegate dealloc]):
12599         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12600         * DumpRenderTree/GCController.cpp: Added.
12601         (GCController::GCController):
12602         (GCController::~GCController):
12603         (collectCallback):
12604         (collectOnAlternateThreadCallback):
12605         (getJSObjectCountCallback):
12606         (GCController::makeWindowObject):
12607         (GCController::getJSClass):
12608         (GCController::staticFunctions):
12609         * DumpRenderTree/GCController.h:
12610         * DumpRenderTree/GCController.mm:
12611         (GCController::collect):
12612         (GCController::collectOnAlternateThread):
12613         (GCController::getJSObjectCount):
12614         * DumpRenderTree/LayoutTestController.cpp:
12615         (LayoutTestController::makeWindowObject):
12616         (LayoutTestController::getJSClass):
12617         * DumpRenderTree/LayoutTestController.h:
12618         * DumpRenderTree/LayoutTestControllerMac.mm:
12619         (LayoutTestController::addDisallowedURL):
12620         (waitUntilDoneWatchdogFired):
12621         (LayoutTestController::waitUntilDone):
12622         * DumpRenderTree/ResourceLoadDelegate.m:
12623         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
12624
12625 2007-09-12  Sam Weinig  <sam@webkit.org>
12626
12627         Reviewed by Stephanie.
12628
12629         Fix leaks in mac DumpRenderTree.
12630
12631         * DumpRenderTree/FrameLoadDelegate.mm:
12632         (-[FrameLoadDelegate init]): Initalize in the correct order.
12633         (-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
12634         * DumpRenderTree/LayoutTestController.cpp:
12635         (decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
12636         (encodeHostNameCallback): ditto.
12637         * DumpRenderTree/LayoutTestController.h:
12638         * DumpRenderTree/LayoutTestControllerMac.mm:
12639         (LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
12640         (LayoutTestController::copyEncodedHostName): ditto
12641         (LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
12642
12643 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
12644
12645         Reviewed by Geof.
12646
12647         - Updated Leopard leak list to include a leak which appears to be fixed in 9A549 but not the version the bot is on.  This will allow us to get the bot green, but later we should remove it.
12648
12649         * Scripts/run-webkit-tests:
12650
12651 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
12652
12653         Reviewed by Darin Adler.
12654
12655         - Simplified code paths and extracted out functions to increase encapsulation.
12656
12657         * Drosera/DebuggerDocument.cpp:
12658         (DebuggerDocument::breakpointEditorHTMLCallback):
12659         (DebuggerDocument::isPausedCallback):
12660         (DebuggerDocument::pauseCallback):
12661         (DebuggerDocument::resumeCallback):
12662         (DebuggerDocument::stepIntoCallback):
12663         (DebuggerDocument::evaluateScriptCallback):
12664         (DebuggerDocument::currentFunctionStackCallback):
12665         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
12666         (DebuggerDocument::valueForScopeVariableNamedCallback):
12667         (DebuggerDocument::logCallback):
12668         * Drosera/DebuggerDocument.h:
12669         (DebuggerDocument::getPaused):
12670         * Drosera/mac/DebuggerClient.mm:
12671         (-[DebuggerClient pause:]):
12672         (-[DebuggerClient resume:]):
12673         (-[DebuggerClient stepInto:]):
12674         (-[DebuggerClient stepOver:]):
12675         (-[DebuggerClient stepOut:]):
12676         (-[DebuggerClient showConsole:]):
12677         (-[DebuggerClient closeCurrentFile:]):
12678         (-[DebuggerClient validateUserInterfaceItem:]):
12679         * Drosera/mac/DebuggerDocumentPlatform.mm: Added.
12680         (+[NSString stringOrNilFromWebScriptResult:]):
12681         (DebuggerDocument::platformPause):
12682         (DebuggerDocument::platformResume):
12683         (DebuggerDocument::platformStepInto):
12684         (DebuggerDocument::platformEvaluateScript):
12685         (DebuggerDocument::getPlatformCurrentFunctionStack):
12686         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12687         (DebuggerDocument::platformValueForScopeVariableNamed):
12688         (DebuggerDocument::platformLog):
12689         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
12690
12691 2007-09-12  Sam Weinig  <sam@webkit.org>
12692
12693         Build fix for Buildbot.
12694
12695         * DumpRenderTree/DumpRenderTree.mm:
12696         (dump):
12697
12698 2007-09-12  Kevin McCullough  <kmccullough@apple.com>
12699
12700         Reviewed by Geoff.
12701
12702         - Updated the leaks list for leopard to help identify regressions.
12703
12704         * Scripts/run-webkit-tests:
12705
12706 2007-09-12  Sam Weinig  <sam@webkit.org>
12707
12708         Rubber stamped by Darin Adler.
12709
12710         Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
12711
12712         * DumpRenderTree/DumpRenderTree.h: Re-order variables.
12713         * DumpRenderTree/DumpRenderTree.m: Removed.
12714         * DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
12715         (stopJavaScriptThreads): Fix initialization.
12716         (setDefaultColorProfileToRGB): Add explicit cast from void*.
12717         (dumpRenderTree): Ditto.
12718         (runTest):
12719         Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
12720
12721         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12722         * DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
12723         * DumpRenderTree/FrameLoadDelegate.m: Removed.
12724         * DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
12725         (-[FrameLoadDelegate init]):
12726         (-[FrameLoadDelegate dealloc]):
12727         (-[FrameLoadDelegate processWork:]):
12728         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
12729         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12730         Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
12731
12732         * DumpRenderTree/LayoutTestController.cpp: Added.
12733         (LayoutTestController::LayoutTestController):
12734         (LayoutTestController::~LayoutTestController):
12735         (dumpAsTextCallback):
12736         (dumpBackForwardListCallback):
12737         (dumpChildFramesAsTextCallback):
12738         (dumpChildFrameScrollPositionsCallback):
12739         (dumpDOMAsWebArchiveCallback):
12740         (dumpEditingCallbacksCallback):
12741         (dumpFrameLoadCallbacksCallback):
12742         (dumpResourceLoadCallbacksCallback):
12743         (dumpSelectionRectCallback):
12744         (dumpSourceAsWebArchiveCallback):
12745         (dumpTitleChangesCallback):
12746         (repaintSweepHorizontallyCallback):
12747         (setCallCloseOnWebViewsCallback):
12748         (setCanOpenWindowsCallback):
12749         (setCloseRemainingWindowsWhenCompleteCallback):
12750         (testRepaintCallback):
12751         (addFileToPasteboardOnDragCallback):
12752         (addDisallowedURLCallback):
12753         (clearBackForwardListCallback):
12754         (decodeHostNameCallback):
12755         (displayCallback):
12756         (encodeHostNameCallback):
12757         (keepWebHistoryCallback):
12758         (notifyDoneCallback):
12759         (queueBackNavigationCallback):
12760         (queueForwardNavigationCallback):
12761         (queueLoadCallback):
12762         (queueReloadCallback):
12763         (queueScriptCallback):
12764         (setAcceptsEditingCallback):
12765         (setCustomPolicyDelegateCallback):
12766         (setMainFrameIsFirstResponderCallback):
12767         (setTabKeyCyclesThroughElementsCallback):
12768         (setUseDashboardCompatibilityModeCallback):
12769         (setUserStyleSheetEnabledCallback):
12770         (setUserStyleSheetLocationCallback):
12771         (setWindowIsKeyCallback):
12772         (waitUntilDoneCallback):
12773         (windowCountCallback):
12774         (LayoutTestController::makeWindowObject):
12775         (LayoutTestController::getLayoutTestControllerJSClass):
12776         (LayoutTestController::staticFunctions):
12777         * DumpRenderTree/LayoutTestController.h: Replaced.
12778         * DumpRenderTree/LayoutTestController.m: Removed.
12779         * DumpRenderTree/LayoutTestControllerMac.mm: Added.
12780         (LayoutTestController::dumpAsText):
12781         (LayoutTestController::dumpBackForwardList):
12782         (LayoutTestController::dumpChildFramesAsText):
12783         (LayoutTestController::dumpChildFrameScrollPositions):
12784         (LayoutTestController::dumpDOMAsWebArchive):
12785         (LayoutTestController::dumpEditingCallbacks):
12786         (LayoutTestController::dumpFrameLoadCallbacks):
12787         (LayoutTestController::dumpResourceLoadCallbacks):
12788         (LayoutTestController::dumpSelectionRect):
12789         (LayoutTestController::dumpSourceAsWebArchive):
12790         (LayoutTestController::dumpTitleChanges):
12791         (LayoutTestController::repaintSweepHorizontally):
12792         (LayoutTestController::setCallCloseOnWebViews):
12793         (LayoutTestController::setCanOpenWindows):
12794         (LayoutTestController::setCloseRemainingWindowsWhenComplete):
12795         (LayoutTestController::testRepaint):
12796         (LayoutTestController::addFileToPasteboardOnDrag):
12797         (LayoutTestController::addDisallowedURL):
12798         (LayoutTestController::clearBackForwardList):
12799         (LayoutTestController::decodeHostName):
12800         (LayoutTestController::encodeHostName):
12801         (LayoutTestController::display):
12802         (LayoutTestController::keepWebHistory):
12803         (LayoutTestController::notifyDone):
12804         (LayoutTestController::queueBackNavigation):
12805         (LayoutTestController::queueForwardNavigation):
12806         (LayoutTestController::queueLoad):
12807         (LayoutTestController::queueReload):
12808         (LayoutTestController::queueScript):
12809         (LayoutTestController::setAcceptsEditing):
12810         (LayoutTestController::setCustomPolicyDelegate):
12811         (LayoutTestController::setMainFrameIsFirstResponder):
12812         (LayoutTestController::setTabKeyCyclesThroughElements):
12813         (LayoutTestController::setUseDashboardCompatibilityMode):
12814         (LayoutTestController::setUserStyleSheetEnabled):
12815         (LayoutTestController::setUserStyleSheetLocation):
12816         (LayoutTestController::setWindowIsKey):
12817         (+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
12818         (LayoutTestController::waitUntilDone):
12819         (LayoutTestController::windowCount):
12820         Use the JSCore API to implement the LayoutTestController.
12821
12822         * DumpRenderTree/ObjCController.h:
12823         * DumpRenderTree/ObjCController.m:
12824         (+[ObjCController isSelectorExcludedFromWebScript:]):
12825         (+[ObjCController webScriptNameForSelector:]):
12826         (-[ObjCController accessStoredWebScriptObject]):
12827         (-[ObjCController storeWebScriptObject:]):
12828         (-[ObjCController dealloc]):
12829         (-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
12830         Move WebScriptObject tests to ObjCController.
12831
12832         * DumpRenderTree/UIDelegate.m: Removed.
12833         * DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
12834
12835         * DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
12836         * DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
12837         * DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
12838         (WorkQueueItem::~WorkQueueItem):
12839         (LoadItem::LoadItem):
12840         (LoadItem::url):
12841         (LoadItem::target):
12842         (ScriptItem::ScriptItem):
12843         (ScriptItem::script):
12844         * DumpRenderTree/WorkQueueItemMac.mm: Added.
12845         (LoadItem::invoke):
12846         (ReloadItem::invoke):
12847         (ScriptItem::invoke):
12848         (BackForwardItem::invoke):
12849         Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
12850         to avoid conversion until the last possible moment.  These changes will be merged with the windows DRT when we start
12851         sharing code.
12852
12853 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
12854
12855         Reviewed by Maciej.
12856
12857         - Updated Win side to take advantage of the platform separating changes.
12858
12859         * Drosera/DebuggerDocument.cpp:
12860         (DebuggerDocument::localScopeVariableNamesForCallFrame):
12861         * Drosera/DebuggerDocument.h:
12862         * Drosera/win/DebuggerClient.cpp:
12863         (DebuggerClient::pause):
12864         (DebuggerClient::resume):
12865         (DebuggerClient::stepInto):
12866         (DebuggerDocument::platformPause):
12867         (DebuggerDocument::platformResume):
12868         (DebuggerDocument::platformStepInto):
12869         (DebuggerDocument::platformEvaluateScript):
12870         (DebuggerDocument::getPlatformCurrentFunctionStack):
12871         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12872         (DebuggerDocument::platformValueForScopeVariableNamed):
12873         (DebuggerDocument::platformLog):
12874         * Drosera/win/DebuggerClient.h:
12875         * Drosera/win/Drosera.cpp:
12876         (Drosera::Drosera):
12877         (Drosera::windowScriptObjectAvailable):
12878         (Drosera::initWithServerName):
12879         (Drosera::switchToServerNamed):
12880         * Drosera/win/Drosera.h:
12881         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
12882
12883 2007-09-11  Kevin McCullough  <kmccullough@apple.com>
12884
12885         Reviewed by Adam.
12886
12887         - Just doing the moves in a separate patch so the changes are easier to see.
12888
12889         * Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
12890         * Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
12891         * Drosera/win/DebuggerDocumentWin.cpp: Removed.
12892         * Drosera/win/DebuggerDocumentWin.h: Removed.
12893         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
12894
12895 2007-09-11  Sven Herzberg  <sven@imendio.com>
12896
12897         Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
12898         http://bugs.webkit.org/show_bug.cgi?id=15176
12899
12900         * Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
12901         $projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
12902         other paths eg. from jhbuild)
12903
12904 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
12905
12906         Reviewed by Adam.
12907
12908         - Made an order-of-deletion mistake.
12909
12910         * Drosera/DebuggerDocument.h:
12911         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
12912         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
12913         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
12914         * Drosera/mac/DebuggerClient.mm:
12915         (DebuggerDocument::platformPause):
12916         (DebuggerDocument::platformResume):
12917         (DebuggerDocument::platformStepInto):
12918         (DebuggerDocument::platformEvaluateScript):
12919         (DebuggerDocument::getPlatformCurrentFunctionStack):
12920         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12921         (DebuggerDocument::platformValueForScopeVariableNamed):
12922         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
12923
12924 2007-09-10  Kevin McCullough  <kmccullough@apple.com>
12925
12926         Reviewed by Darin Adler.
12927
12928         - Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
12929
12930         * Drosera/DebuggerDocument.cpp:
12931         (DebuggerDocument::DebuggerDocument):
12932         * Drosera/DebuggerDocument.h:
12933         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
12934         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
12935         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
12936         * Drosera/mac/DebuggerApplication.mm:
12937         (-[DebuggerApplication attach:]):
12938         * Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
12939         * Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
12940         (DebuggerDocument::platformPause):
12941         (DebuggerDocument::platformResume):
12942         (DebuggerDocument::platformStepInto):
12943         (DebuggerDocument::platformEvaluateScript):
12944         (DebuggerDocument::getPlatformCurrentFunctionStack):
12945         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
12946         (DebuggerDocument::platformValueForScopeVariableNamed):
12947         (DebuggerDocument::platformLog):
12948         * Drosera/mac/DebuggerDocumentMac.h: Removed.
12949         * Drosera/mac/DebuggerDocumentMac.mm: Removed.
12950         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
12951
12952 2007-09-09  Sam Weinig  <sam@webkit.org>
12953
12954         Reviewed by Mark Rowe.
12955
12956         Remove 'objC' prefix from methods now in the ObjCController.
12957
12958         * DumpRenderTree/ObjCController.m:
12959         (+[ObjCController isSelectorExcludedFromWebScript:]):
12960         (+[ObjCController webScriptNameForSelector:]):
12961         (-[ObjCController classNameOf:]):
12962         (-[ObjCController objectOfClass:]):
12963         (-[ObjCController identityIsEqual::]):
12964         (-[ObjCController longLongRoundTrip:]):
12965         (-[ObjCController unsignedLongLongRoundTrip:]):
12966
12967 2007-09-09  Sam Weinig  <sam@webkit.org>
12968
12969         Reviewed by Oliver.
12970
12971         Initial refactor of DumpRenderTree in preparation of making it more platform independent.
12972         - Move LayoutTestController into its own file.
12973         - Move Objective-C only functions on LayoutTestController into a new controller called the
12974           ObjCController.
12975
12976         * DumpRenderTree/DumpRenderTree.h:
12977         * DumpRenderTree/DumpRenderTree.m:
12978         (displayWebView):
12979         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
12980         * DumpRenderTree/FrameLoadDelegate.m:
12981         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
12982         * DumpRenderTree/LayoutTestController.h: Added.
12983         * DumpRenderTree/LayoutTestController.m: Added.
12984         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
12985         (+[LayoutTestController webScriptNameForSelector:]):
12986         (-[LayoutTestController clearBackForwardList]):
12987         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
12988         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
12989         (-[LayoutTestController setCustomPolicyDelegate:]):
12990         (-[LayoutTestController keepWebHistory]):
12991         (-[LayoutTestController setCallCloseOnWebViews:]):
12992         (-[LayoutTestController setCanOpenWindows]):
12993         (-[LayoutTestController waitUntilDone]):
12994         (-[LayoutTestController waitUntilDoneWatchdogFired]):
12995         (-[LayoutTestController notifyDone]):
12996         (-[LayoutTestController dumpAsText]):
12997         (-[LayoutTestController addFileToPasteboardOnDrag]):
12998         (-[LayoutTestController addDisallowedURL:]):
12999         (-[LayoutTestController setUserStyleSheetLocation:]):
13000         (-[LayoutTestController setUserStyleSheetEnabled:]):
13001         (-[LayoutTestController dumpDOMAsWebArchive]):
13002         (-[LayoutTestController dumpSourceAsWebArchive]):
13003         (-[LayoutTestController dumpSelectionRect]):
13004         (-[LayoutTestController dumpTitleChanges]):
13005         (-[LayoutTestController dumpBackForwardList]):
13006         (-[LayoutTestController windowCount]):
13007         (-[LayoutTestController dumpChildFrameScrollPositions]):
13008         (-[LayoutTestController dumpChildFramesAsText]):
13009         (-[LayoutTestController dumpEditingCallbacks]):
13010         (-[LayoutTestController dumpResourceLoadCallbacks]):
13011         (-[LayoutTestController dumpFrameLoadCallbacks]):
13012         (-[LayoutTestController setWindowIsKey:]):
13013         (-[LayoutTestController setMainFrameIsFirstResponder:]):
13014         (-[LayoutTestController display]):
13015         (-[LayoutTestController testRepaint]):
13016         (-[LayoutTestController repaintSweepHorizontally]):
13017         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
13018         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
13019         (-[LayoutTestController _doLoad:target:]):
13020         (-[LayoutTestController _doBackOrForwardNavigation:]):
13021         (-[LayoutTestController queueBackNavigation:]):
13022         (-[LayoutTestController queueForwardNavigation:]):
13023         (-[LayoutTestController queueReload]):
13024         (-[LayoutTestController queueScript:]):
13025         (-[LayoutTestController queueLoad:target:]):
13026         (-[LayoutTestController setAcceptsEditing:]):
13027         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
13028         (-[LayoutTestController storeWebScriptObject:]):
13029         (-[LayoutTestController accessStoredWebScriptObject]):
13030         (-[LayoutTestController dealloc]):
13031         (-[LayoutTestController decodeHostName:]):
13032         (-[LayoutTestController encodeHostName:]):
13033         * DumpRenderTree/ObjCController.h: Added.
13034         * DumpRenderTree/ObjCController.m: Added.
13035         (+[ObjCController isSelectorExcludedFromWebScript:]):
13036         (+[ObjCController webScriptNameForSelector:]):
13037         (-[ObjCController objCClassNameOf:]):
13038         (-[ObjCController objCObjectOfClass:]):
13039         (-[ObjCController objCIdentityIsEqual::]):
13040         (-[ObjCController objCLongLongRoundTrip:]):
13041         (-[ObjCController objCUnsignedLongLongRoundTrip:]):
13042         (-[ObjCController testWrapperRoundTripping:]):
13043
13044 2007-09-07  Sam Weinig  <sam@webkit.org>
13045
13046         Reviewed by Alice.
13047
13048         Strip trailing and leading space/newline characters from skiplist file names.
13049
13050         * Scripts/run-webkit-tests:
13051
13052 2007-09-06  Kevin McCullough  <kmccullough@apple.com>
13053
13054         Reviewed by Maciej.
13055
13056         - Changed Drosera to take advantage of the JSRetainPtr changes.
13057
13058         * Drosera/DebuggerDocument.cpp:
13059         (DebuggerDocument::breakpointEditorHTML):
13060         (DebuggerDocument::evaluateScript):
13061         (DebuggerDocument::valueForScopeVariableNamed):
13062         (DebuggerDocument::log):
13063         (DebuggerDocument::windowScriptObjectAvailable):
13064         (DebuggerDocument::toJSArray):
13065         (DebuggerDocument::callFunctionOnObject):
13066         (DebuggerDocument::logException):
13067         * Drosera/mac/DebuggerDocumentMac.mm:
13068         (-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
13069         (-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
13070         (DebuggerDocument::platformEvaluateScript):
13071         (DebuggerDocument::getPlatformCurrentFunctionStack):
13072         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
13073         (DebuggerDocument::platformValueForScopeVariableNamed):
13074
13075 2007-09-05  Kevin McCullough  <kmccullough@apple.com>
13076
13077         Reviewed by Adam, Sam, Darin.
13078
13079         - Separated what is platform dependant from what is not.  Creating the structure needed for Drosera for Win.
13080
13081         * Drosera/Debugger.h: Added.
13082         * Drosera/DebuggerDocument.cpp:
13083         (DebuggerDocument::breakpointEditorHTMLCallback):
13084         (DebuggerDocument::isPausedCallback):
13085         (DebuggerDocument::pauseCallback):
13086         (DebuggerDocument::resumeCallback):
13087         (DebuggerDocument::stepIntoCallback):
13088         (DebuggerDocument::evaluateScriptCallback):
13089         (DebuggerDocument::currentFunctionStackCallback):
13090         (DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
13091         (DebuggerDocument::valueForScopeVariableNamedCallback):
13092         (DebuggerDocument::logCallback):
13093         (DebuggerDocument::breakpointEditorHTML):
13094         (DebuggerDocument::isPaused):
13095         (DebuggerDocument::pause):
13096         (DebuggerDocument::resume):
13097         (DebuggerDocument::stepInto):
13098         (DebuggerDocument::evaluateScript):
13099         (DebuggerDocument::currentFunctionStack):
13100         (DebuggerDocument::localScopeVariableNamesForCallFrame):
13101         (DebuggerDocument::valueForScopeVariableNamed):
13102         (DebuggerDocument::log):
13103         (DebuggerDocument::toolbarPause):
13104         (DebuggerDocument::toolbarResume):
13105         (DebuggerDocument::toolbarStepInto):
13106         (DebuggerDocument::toolbarStepOver):
13107         (DebuggerDocument::toolbarStepOut):
13108         (DebuggerDocument::toolbarShowConsole):
13109         (DebuggerDocument::toolbarCloseCurrentFile):
13110         (DebuggerDocument::updateFileSource):
13111         (DebuggerDocument::didParseScript):
13112         (DebuggerDocument::willExecuteStatement):
13113         (DebuggerDocument::didEnterCallFrame):
13114         (DebuggerDocument::willLeaveCallFrame):
13115         (DebuggerDocument::exceptionWasRaised):
13116         (DebuggerDocument::windowScriptObjectAvailable):
13117         (DebuggerDocument::toJSArray):
13118         (DebuggerDocument::callGlobalFunction):
13119         (DebuggerDocument::callFunctionOnObject):
13120         (DebuggerDocument::getDroseraJSClass):
13121         (DebuggerDocument::staticFunctions):
13122         (DebuggerDocument::logException):
13123         * Drosera/DebuggerDocument.h:
13124         (DebuggerDocument::DebuggerDocument):
13125         * Drosera/ForwardingHeaders: Added.
13126         * Drosera/ForwardingHeaders/wtf: Added.
13127         * Drosera/ForwardingHeaders/wtf/Platform.h: Added.
13128         * Drosera/config.h:
13129         * Drosera/console.html:
13130         * Drosera/console.js:
13131         * Drosera/debugger.js:
13132         * Drosera/mac/DebuggerApplication.mm:
13133         (-[DebuggerApplication attach:]):
13134         * Drosera/mac/DebuggerDocumentMac.h:
13135         * Drosera/mac/DebuggerDocumentMac.mm:
13136         (+[NSString stringOrNilFromWebScriptResult:]):
13137         (+[DebuggerClientMac log:]):
13138         (-[DebuggerClientMac initWithServerName:]):
13139         (-[DebuggerClientMac dealloc]):
13140         (-[DebuggerClientMac pause]):
13141         (-[DebuggerClientMac resume]):
13142         (-[DebuggerClientMac pause:]):
13143         (-[DebuggerClientMac resume:]):
13144         (-[DebuggerClientMac stepInto:]):
13145         (-[DebuggerClientMac stepOver:]):
13146         (-[DebuggerClientMac stepOut:]):
13147         (-[DebuggerClientMac showConsole:]):
13148         (-[DebuggerClientMac closeCurrentFile:]):
13149         (-[DebuggerClientMac validateUserInterfaceItem:]):
13150         (-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
13151         (-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
13152         (-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
13153         (-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
13154         (-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
13155         (DebuggerDocument::platformPause):
13156         (DebuggerDocument::platformResume):
13157         (DebuggerDocument::platformStepInto):
13158         (DebuggerDocument::platformEvaluateScript):
13159         (DebuggerDocument::platformCurrentFunctionStack):
13160         (DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
13161         (DebuggerDocument::platformValueForScopeVariableNamed):
13162         (DebuggerDocument::platformLog):
13163         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
13164
13165 2007-09-06  Sam Weinig  <sam@webkit.org>
13166
13167         Reviewed by Adam Roben.
13168
13169         Register the WebKit DLL on initialization of the DumpRenderTree.
13170
13171         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13172         (initialize):
13173
13174 2007-09-05  Sam Weinig  <sam@webkit.org>
13175
13176         Reviewed by Oliver.
13177
13178         Fix many layout test failures caused by r25364.
13179         Set text size to standand size at the begining of each test matching the mac.
13180
13181         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13182         (runTest):
13183
13184 2007-09-04  Sam Weinig  <sam@webkit.org>
13185
13186         Reviewed by Adam.
13187
13188         Fix for <rdar://problem/5382277>
13189         Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
13190
13191         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
13192         (textZoomInCallback):
13193         (textZoomOutCallback):
13194
13195 2007-08-29  David Kilzer  <ddkilzer@apple.com>
13196
13197         Reviewed by Adam.
13198
13199         Added case-insensitivity to checks for adding regression tests.
13200
13201         * Scripts/prepare-ChangeLog:
13202         (generateFileList):
13203
13204 2007-08-28  David Kilzer  <ddkilzer@apple.com>
13205
13206         Reviewed by Maciej.
13207
13208         Ignore files in /resources/ subdirectories when creating a list of added tests.
13209
13210         * Scripts/prepare-ChangeLog:
13211         (generateFileList):
13212
13213 2007-08-27  Kevin McCullough  <kmccullough@apple.com>
13214
13215         Reviewed by John.
13216
13217         - Removed Leopard leaks list since all of those radars were fixed.
13218
13219         * Scripts/run-webkit-tests:
13220
13221 2007-08-27  Adam Roben  <aroben@apple.com>
13222
13223         Rubberstamped by Mark.
13224
13225         * Scripts/pdevenv: Pass arguments along to devenv.com.
13226
13227 2007-08-26  David Kilzer  <ddkilzer@webkit.org>
13228
13229         Reviewed by Mark Rowe.
13230
13231         Update prepare-ChangeLog to generate the datestamp in the correct timezone.
13232
13233         * Scripts/prepare-ChangeLog:
13234         (changeLogDate): Added.
13235
13236 2007-08-24  Sam Weinig  <sam@webkit.org>
13237
13238         Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
13239
13240 2007-08-24  Sam Weinig  <sam@webkit.org>
13241
13242         Rubber-stamped by Adam Roben.
13243
13244         <rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
13245
13246         Rename COM DOM bindings to use Deprecated prefix.
13247
13248         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13249         (dumpFramesAsText):
13250         (dump):
13251         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
13252         (dumpPath):
13253         (dump):
13254         (EditingDelegate::shouldBeginEditingInDOMRange):
13255         (EditingDelegate::shouldEndEditingInDOMRange):
13256         (EditingDelegate::shouldInsertNode):
13257         (EditingDelegate::shouldInsertText):
13258         (EditingDelegate::shouldDeleteDOMRange):
13259         (EditingDelegate::shouldChangeSelectedDOMRange):
13260         (EditingDelegate::shouldApplyStyle):
13261         (EditingDelegate::shouldChangeTypingStyle):
13262         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
13263
13264 2007-08-24  Oliver Hunt  <oliver@apple.com>
13265
13266         Reviewed by John H.
13267
13268         WebDataSource::response can legitimately have a null response, so we
13269         must check that case.
13270
13271         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
13272         (queueLoadCallback):
13273
13274 2007-08-23  Mitz Pettel  <mitz@webkit.org>
13275
13276         Reviewed by Darin and Adam.
13277
13278         - DumpRenderTree changes to allow testing for
13279           http://bugs.webkit.org/show_bug.cgi?id=11756
13280           REGRESSION: link targeting a frame in another window does not work
13281           <rdar://problem/5286420>
13282
13283         Use a frame group name for all WebViews created by DumpRenderTree to
13284         allow testing of cross-page frame lookup.
13285
13286         * DumpRenderTree/DumpRenderTree.m:
13287         (createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
13288         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13289         (main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
13290
13291 2007-08-23  David Kilzer  <ddkilzer@webkit.org>
13292
13293         Reviewed by Adam.
13294
13295         Quote the $sslCertificate path in case it contains a space.
13296
13297         * Scripts/run-webkit-httpd:
13298         * Scripts/run-webkit-tests:
13299
13300 2007-08-22  Oliver Hunt  <oliver@apple.com>
13301
13302         Reviewed by John and Adam.
13303
13304         WebDataSource::response can legitimately have a null response, so we
13305         must check that case.
13306
13307         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13308         (dump):
13309
13310 2007-08-21  Kevin McCullough  <kmccullough@apple.com>
13311
13312         Reviewed by Geof.
13313
13314         - Changing the usage to be more clear.
13315
13316         * Scripts/run-testkjs:
13317
13318 2007-08-20  John Sullivan  <sullivan@apple.com>
13319
13320         Reviewed by Adam Roben
13321
13322         * DumpRenderTree/DumpRenderTree.m:
13323         (runTest):
13324         call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
13325         in layout tests on Tiger and Leopard
13326
13327 2007-08-20  Adam Roben  <aroben@apple.com>
13328
13329         Put LayoutTests after all other ChangeLogs in commit logs
13330
13331         We use "~" to sort LayoutTests after all the other ChangeLogs because
13332         "~" is the last ASCII character (other than "DEL").
13333
13334         Reviewed by Sam.
13335
13336         * Scripts/commit-log-editor:
13337
13338 2007-08-20  Adam Roben  <aroben@apple.com>
13339
13340         Detect that DRT crashed even if a crash dialog is running
13341
13342         On Windows, when DRT crashes a crash dialog commonly appears. The DRT
13343         process is still running at this point, so run-webkit-tests wouldn't
13344         detect that DRT had crashed. We now record the crash in our SIGPIPE
13345         handler so that we know if DRT crashed even if the crash dialog is up.
13346
13347         Reviewed by Sam.
13348
13349         * Scripts/run-webkit-tests:
13350         (sub catch_pipe): Set the crashed bit.
13351         (sub openDumpTool): Reset the crashed bit.
13352         (sub dumpToolDidCrash): Check the crashed bit.
13353
13354 2007-08-20  Adam Roben  <aroben@apple.com>
13355
13356         Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
13357
13358         http://bugs.webkit.org/show_bug.cgi?id=15026
13359
13360         Reviewed by David Kilzer and Darin Adler.
13361
13362         * Scripts/prepare-ChangeLog:
13363         (sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
13364         (sub isAddedStatus): Ditto.
13365         (sub testListForChangeLog): Added.
13366
13367 2007-08-19  Oleg Sukhodolsky  <son.two@gmail.com>
13368
13369         Reviewed by Mark.
13370
13371         -fixes http://bugs.webkit.org/show_bug.cgi?id=14632
13372
13373         * Scripts/webkitdirs.pm:
13374         qt and gtk ports now explicitly pass debug (or release) mode to qmake.
13375
13376 2007-08-17  Darin Adler  <darin@apple.com>
13377
13378         Reviewed by Oliver Hunt.
13379
13380         - don't look for Apple-style localizable strings in the GTK version of WebKit
13381
13382         * Scripts/extract-localizable-strings: Add a feature where you can pass in the
13383         name of subdirectories to skip.
13384         * Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
13385         to skip.
13386
13387 2007-08-17  Anders Carlsson  <andersca@apple.com>
13388
13389         Build fix.
13390
13391         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13392         (NPP_SetWindow):
13393
13394 2007-08-17  Anders Carlsson  <andersca@apple.com>
13395
13396         Reviewed by Dave Hyatt.
13397
13398         <rdar://problem/5379040>
13399         REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
13400
13401         Add a way for the plug-in to dump the width and height when it gets its  NPP_SetWindow call.
13402
13403         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
13404         (pluginAllocate):
13405         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
13406         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
13407         (NPP_New):
13408         (NPP_SetWindow):
13409
13410 2007-08-16  Alice Liu  <alice.liu@apple.com>
13411
13412         Reviewed by Maciej.
13413
13414         Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
13415
13416         * DumpRenderTree/DumpRenderTree.m:
13417         (createWebView):
13418         Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
13419         (dumpRenderTree):
13420         Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
13421
13422 2007-08-16  Kevin McCullough  <kmccullough@apple.com>
13423
13424         Reviewed by Adam.
13425
13426         - Added tests for regressions in other components.  In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
13427
13428         * Scripts/run-webkit-tests:
13429
13430 2007-08-15  Timothy Hatcher  <timothy@apple.com>
13431
13432         Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
13433         The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
13434
13435         Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
13436         this prevents making "build" directories in each project folder.
13437
13438         * Scripts/webkitdirs.pm:
13439
13440 2007-08-14  Geoffrey Garen  <ggaren@apple.com>
13441
13442         Reviewed by Kevin Mccullough.
13443
13444         Removed special case that didn't belong. (It would allow a global
13445         initializer to sneak into production builds, which would cause a
13446         system-wide performance regression on Mac OS X.)
13447
13448         * Scripts/check-for-global-initializers:
13449
13450 2007-08-14  Justin Garcia  <justin.garcia@apple.com>
13451
13452         Reviewed by Tim.
13453
13454         <rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
13455
13456         * DumpRenderTree/EditingDelegate.m:
13457         (-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
13458         only for elements with the class needsDeletionUI.
13459
13460 2007-08-14  David Kilzer  <ddkilzer@webkit.org>
13461
13462         Reviewed by Darin Adler.
13463
13464         - fix http://bugs.webkit.org/show_bug.cgi?id=14965
13465           svn-create-patch uses deprecated tail switch
13466
13467         * Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
13468
13469 2007-08-13  Sam Weinig  <sam@webkit.org>
13470
13471         Reviewed by Adam Roben.
13472
13473         Use the cygwin specific Apache config file under cygwin.
13474
13475         * Scripts/run-webkit-httpd:
13476
13477 2007-08-12  Adam Roben  <aroben@apple.com>
13478
13479         Generate results for new tests in a more logical location
13480
13481         New platform-specific tests always have their results generated right
13482         next to the test. New cross-platform tests will have their results
13483         generated a) in the cross-platform directory, if they are text-only,
13484         or b) in the least-specific platform directory, if they are render
13485         tree dumps.
13486
13487         Reviewed by Lars.
13488
13489         * Scripts/run-webkit-tests:
13490
13491 2007-08-12  Adam Roben  <aroben@apple.com>
13492
13493         Print the actual directory where new results are generated.
13494
13495         Before, we were printing an unpredictable, context-specific substring
13496         of the directory.
13497
13498         Reviewed by Lars.
13499
13500         * Scripts/run-webkit-tests:
13501
13502 2007-08-12  Adam Roben  <aroben@apple.com>
13503
13504         Factor some common code into a stripExtension() subroutine.
13505
13506         Reviewed by Lars.
13507
13508         * Scripts/run-webkit-tests: Also removed some debugging output.
13509
13510 2007-08-11  Matt Lilek  <pewtermoose@gmail.com>
13511
13512         Reviewed over and over and over by Adam Roben.
13513
13514         Bug 14740: Hierarchical layout tests and platform organization
13515         http://bugs.webkit.org/show_bug.cgi?id=14740
13516
13517         Add support for platform-specific layout tests and results.
13518
13519         * Scripts/run-webkit-tests:
13520
13521 2007-08-11  David Kilzer  <ddkilzer@webkit.org>
13522
13523         Reviewed by Adam.
13524
13525         Refactored svn-create-path to use a hash-of-hashes data structure to keep
13526         track of changed files.  In the top level hash, keys are paths to files and
13527         values are 'fileData' hashes with the following keys and values:
13528
13529         - isBinary: boolean value (set to true for non-text files like images, etc.)
13530         - isTestFile: boolean value (set to true if file exists within a known test
13531           directory)
13532         - modificationType: string equal to one of 'addition', 'additionWithHistory',
13533           'modification' or 'deletion'
13534         - path: string equal to the path to the file (this may seem redundant, but it
13535           is required to use the second-level 'fileData' hash independent of the
13536           top-level hash)
13537         - sourceFile: [optional] string equal to the path of the original file that was
13538           copied or moved
13539         - sourceRevision: [optional] string equal to the revision of the original file
13540           that was copied or moved
13541
13542         * Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
13543         that saves the return value in $result, then checks it before printing help.
13544         Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
13545         and eliminated two for() loops.
13546         (binarycmp): Added.  Used with sort() to order non-binary files before binary
13547         files.
13548         (findBaseUrl): Added.  Extracted from findSourceFileAndRevision().
13549         (findMimeType): Added optional second argument that takes a revision number.
13550         (generateDiff): Updated to take one fileData argument instead of three ($file,
13551         $modificationType, $isBinary).
13552         (generateFileList): Updated to take one hash ref argument (%diffFiles)
13553         instead of three (%sourceFiles, %testFiles, %binaryFiles).  Populates
13554         %diffFiles using paths for keys and fileData hashes for values.
13555         (manufacturePatchForAdditionWithHistory): Updated to take one fileData
13556         argument.
13557         (pathcmp): Updated to take two fileData arguments instead of two strings.
13558         (testfilecmp): Added.  Used with sort() to order non-test files before test
13559         files.
13560
13561 2007-08-11  Darin Adler  <darin@apple.com>
13562
13563         * Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
13564
13565 2007-08-06  Nigel Tao  <nigeltao@gnome.org>
13566
13567         Reviewed by David Kilzer.
13568
13569         Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
13570         http://bugs.webkit.org/show_bug.cgi?id=14745
13571
13572         * Scripts/run-launcher:
13573         Scrub the "--gdk" out of the command line args, if given, so that
13574         GdkLauncher doesn't try to interpret it as a URL.
13575
13576 2007-08-03  Adam Roben  <aroben@apple.com>
13577
13578         Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
13579
13580         Reviewed by Sam.
13581
13582         * Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
13583
13584 2007-08-03  Sam Weinig  <sam@webkit.org>
13585
13586         Reviewed by Darin Adler.
13587
13588         Recursively dump all frames as text using new
13589         layoutTestController.dumpChildFramesAsText() function.
13590
13591         * DumpRenderTree/DumpRenderTree.m:
13592         (dumpFramesAsText):
13593         (dump):
13594         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13595         (-[LayoutTestController dumpChildFramesAsText]):
13596         (runTest):
13597         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
13598         (dumpFramesAsText):
13599         (dump):
13600         (runTest):
13601         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
13602         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
13603         (dumpChildFramesAsTextCallback):
13604         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13605
13606 2007-08-02  Adam Roben  <aroben@apple.com>
13607
13608         Fix fast/dom/Window/alert-undefined.html
13609
13610         Reviewed by Sam.
13611
13612         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
13613         (WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
13614         Windows translate a null BSTR into "(null)"
13615
13616 2007-08-02  Kevin McCullough  <kmccullough@apple.com>
13617
13618         Reviewed by Tim.
13619
13620         - It would help if I actually called the right function.
13621
13622         * Drosera/DebuggerDocument.cpp:
13623         (DebuggerDocument::showConsole):
13624
13625 2007-08-02  Adam Roben  <aroben@apple.com>
13626
13627         Don't delete the stderr file right after creating it
13628
13629         * Scripts/run-webkit-tests:
13630
13631 2007-08-01  Adam Roben  <aroben@apple.com>
13632
13633         When DRT crashes, record stderr and restart DRT
13634
13635         This prevents a DRT crash from causing the next few hundred tests to
13636         "fail" because DRT is no longer running.
13637
13638         I also changed the terminology that run-webkit-tests uses in its
13639         output a bit, so that crashing tests are referred to as "crashes"
13640         instead of "failures".
13641
13642         Reviewed by Mark.
13643
13644         * Scripts/run-webkit-tests: Detect a crash and record it as a tool
13645         failure.
13646         (sub openDumpTool): Use open3 so that we can access stderr.
13647         (sub dumpToolCrashed): Added.
13648         (sub printFailureMessageForTest): Added.
13649         (sub htmlForExpectedAndActualResults): Added.
13650         (sub deleteExpectedAndActualResults): Added.
13651         (sub recordActualResultsAndDiff): Added.
13652
13653 2007-07-30  Darin Adler  <darin@apple.com>
13654
13655         Reviewed by Tim Hatcher.
13656
13657         * DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
13658         characters. This turned out not to be needed for the test case that motivated me to
13659         do it, but it's nice to have this for the future.
13660
13661 2007-07-30  Simon Hausmann  <hausmann@kde.org>
13662
13663         Reviewed by Lars.
13664
13665         Link QtLauncher into $$OUTPUT_DIR/bin
13666
13667         * Scripts/run-launcher:
13668
13669 2007-07-27  David Kilzer  <ddkilzer@apple.com>
13670
13671         Reviewed by Geoff and Darin.
13672
13673         Use a subroutine for validating the --skipped switch.
13674
13675         * Scripts/run-webkit-tests:
13676
13677 2007-07-27  Darin Adler  <darin@apple.com>
13678
13679         Reviewed by Sam.
13680
13681         * Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
13682
13683 2007-07-27  Holger Hans Peter Freyther  <zecke@selfish.org>
13684
13685         Reviewed by Mark.
13686
13687         Correct the path of GdkLauncher and make checkFrameworks work on OSX
13688         when building the Qt or Gtk+ port.
13689
13690         * GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
13691         * Scripts/run-launcher:
13692         * Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
13693
13694 2007-07-27  Simon Hausmann  <hausmann@kde.org>
13695
13696         Done with and reviewed by Lars and Zack.
13697
13698         Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
13699
13700         * Scripts/webkitdirs.pm:
13701
13702 2007-07-27  Simon Hausmann  <hausmann@kde.org>
13703
13704         Done with and reviewed by Lars and Zack.
13705
13706         For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
13707
13708         * Scripts/webkitdirs.pm:
13709
13710 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
13711
13712         Reviewed by Darin, Geoff, Sam.
13713
13714         - <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
13715
13716         - Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
13717
13718         * DumpRenderTree/UIDelegate.h:
13719         * DumpRenderTree/UIDelegate.m:
13720         (-[UIDelegate webView:setFrame:]):
13721         (-[UIDelegate webViewFrame:]):
13722
13723 2007-07-26  Kevin McCullough  <kmccullough@apple.com>
13724
13725         Reviewed by Adam.
13726
13727         - Lars wanted this check for Qt but it breaks platform specific layout tests.
13728
13729         * Scripts/run-webkit-tests:
13730
13731 2007-07-25  Kevin McCullough  <kmccullough@apple.com>
13732
13733         Reviewed by Tim, Darin, Oliver.
13734
13735         - <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
13736         - Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
13737
13738         * ChangeLog:
13739         * DumpRenderTree/DumpRenderTree.m:
13740         (createWebView):
13741         (dumpRenderTree):
13742         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
13743         (+[LayoutTestController webScriptNameForSelector:]):
13744         (-[LayoutTestController setCustomPolicyDelegate:]):
13745         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13746         * DumpRenderTree/FrameLoadDelegate.h:
13747         * DumpRenderTree/PolicyDelegate.h: Added.
13748         * DumpRenderTree/PolicyDelegate.m: Added.
13749         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
13750         * DumpRenderTree/ResourceLoadDelegate.h:
13751
13752 2007-07-25  Adam Treat  <treat@kde.org>
13753
13754         Reviewed by Niko.
13755
13756         Fix build for some reported systems.
13757
13758         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
13759
13760 2007-07-23  Adam Treat  <treat@kde.org>
13761
13762         Reviewed by Nikolas.
13763
13764         Fix qt DRT to suppress js popup alerts and log instead.
13765
13766         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13767         (WebCore::WebPage::javaScriptAlert):
13768
13769 2007-07-22  Holger Hans Peter Freyther  <zecke@selfish.org>
13770
13771         Reviewed by Adam.
13772
13773         Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
13774         honor --qmakearg for the Gdk/Gtk build as well.
13775
13776         * GdkLauncher/main.cpp: Switch to the new API
13777         * Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
13778
13779 2007-07-22  Darin Adler  <darin@apple.com>
13780
13781         * DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
13782         Fix a leak by releasing the array used here.
13783
13784 2007-07-22  David Kilzer  <ddkilzer@webkit.org>
13785
13786         Reviewed by Darin Adler.
13787
13788         - fix http://bugs.webkit.org/show_bug.cgi?id=14713
13789           Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
13790
13791         Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
13792         of WebCore/css/CSSPropertyNames.in.  Also updated cssproperties.in.
13793
13794         * Scripts/update-iexploder-cssproperties: Added.
13795         * iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
13796         Added new CSS3 property section and Moved box-sizing property to it.
13797
13798 2007-07-22  Oliver Hunt  <oliver@apple.com>
13799
13800         Reviewed by Darin Adler.
13801
13802         http://bugs.webkit.org/show_bug.cgi?id=14710
13803
13804         Add preliminary support for testing Input Method/WebKit behaviour and interaction
13805         in DRT.  This provides the NSTextInput API which is most of what should be necessary
13806         to mimic the event sequences Input Methods trigger.
13807
13808         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13809         * DumpRenderTree/TextInputController.h:
13810         * DumpRenderTree/TextInputController.m:
13811         (-[WebHTMLView interpretKeyEvents:]):
13812         (+[TextInputController isSelectorExcludedFromWebScript:]):
13813         (+[TextInputController webScriptNameForSelector:]):
13814         (-[TextInputController initWithWebView:]):
13815         (-[TextInputController dealloc]):
13816         (-[TextInputController textInput]):
13817         (-[TextInputController setInputMethodHandler:]):
13818         (-[TextInputController interpretKeyEvents:withSender:]):
13819
13820 2007-07-20  Adam Roben  <aroben@apple.com>
13821
13822         * Scripts/commit-log-editor: Small fix to make an all-whitespace log
13823         message not count as an existing log.
13824
13825 2007-07-19  Geoffrey Garen  <ggaren@apple.com>
13826
13827         Reviewed by Darin Adler.
13828
13829         Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
13830         value behavior of stringByEvaluatingJavaScriptFromString
13831
13832         * DumpRenderTree/DumpRenderTree.m:
13833         (testStringByEvaluatingJavaScriptFromString):
13834         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
13835
13836 2007-07-19  Adam Roben  <aroben@apple.com>
13837
13838         Make commit-log-editor work with git
13839
13840         Reviewed by Sam.
13841
13842         * Scripts/commit-log-editor: Use VCSUtils and accept a git-style
13843         commit message template. Also removed the unused $breakPoint variable.
13844
13845 2007-07-19  Adam Roben  <aroben@apple.com>
13846
13847         Move generally-useful VCS code into a new VCSUtils.pm module
13848
13849         This is in preparation for making commit-log-editor git-friendly.
13850
13851         Reviewed by Sam.
13852
13853         * Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
13854         * Scripts/prepare-ChangeLog: Use VCSUtils.
13855
13856 2007-07-19  Lars Knoll <lars@trolltech.com>
13857
13858         Fix a crash on exit when running DRT against a current
13859         Qt 4.4 snapshot.
13860
13861         Reviewed by Zack
13862
13863         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
13864         (main):
13865
13866 2007-07-18  Adam Roben  <aroben@apple.com>
13867
13868         Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
13869
13870         Reviewed by Mark.
13871
13872         * Scripts/run-webkit-httpd:
13873         * Scripts/run-webkit-tests:
13874
13875 2007-07-18  Adam Roben  <aroben@apple.com>
13876
13877         More git friendliness for prepare-ChangeLog
13878
13879         The overall change is to remove the use of git-status and replace it
13880         with git-diff --name-status (which we were already using in the
13881         --git-commit case).
13882
13883         This lets us respect directories specified on the command line when
13884         using git, just as we do for Subversion. It also speeds things up a
13885         bit, especially in the subdirectory case, as git-status is pretty slow.
13886
13887         I also fixed some issues where we wouldn't detect copied files and
13888         would reverse the new filename and the original filename for renamed files.
13889
13890         Reviewed by Mark.
13891
13892         * Scripts/prepare-ChangeLog:
13893         (sub diffFromToString): Added.
13894         (sub diffCommand): Don't append the paths in the --git-commit case, as
13895         we should be operating on the entire commit.
13896         (sub statusCommand): Always use git-diff --name-status, and added an
13897         extra -C option to git-diff to make it find a few more copied files.
13898         (sub createPatchCommand): Collapsed the two git cases a bit, and added
13899         the extra -C option as above.
13900         (sub generateFileList): Remove the git-status codepath, and recognize
13901         file copies in the --name-status output.
13902         (sub isModifiedOrAddedStatus): Collapsed the status codes into one
13903         dictionary.
13904         (sub isConflictStatus): Updated the git dictionary.
13905         (sub statusDescription): Updated the git dictionary.
13906
13907 2007-07-18  Timothy Hatcher  <timothy@apple.com>
13908
13909         * Scripts/build-drosera: Update where we look for the Xcode project.
13910
13911 2007-07-18  Adam Treat <treat@kde.org>
13912
13913         Reviewed by bdash.
13914
13915         Use the old wording for Safari.
13916
13917         * Scripts/build-webkit:
13918         * Scripts/webkitdirs.pm:
13919
13920 2007-07-18  Adam Treat <treat@kde.org>
13921
13922         Reviewed by bdash.
13923
13924         Add convenience script for launching test apps for Qt and Gdk ports.
13925         Change the build-webkit script accordingly.
13926
13927         * Scripts/build-webkit:
13928         * Scripts/run-launcher: Added.
13929         * Scripts/webkitdirs.pm:
13930
13931 2007-07-18  Timothy Hatcher  <timothy@apple.com>
13932
13933         Reviewed by Adam.
13934
13935         Make the Page with the now required InspectorClient.
13936
13937         * GdkLauncher/main.cpp:
13938         (main):
13939
13940 2007-07-18  Timothy Hatcher  <timothy@apple.com>
13941
13942         Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
13943         Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
13944
13945         * Drosera/Makefile: Added.
13946         * Drosera/mac/Makefile:
13947         * DumpRenderTree/Makefile:
13948         * Makefile:
13949         * Makefile.Drosera: Removed.
13950         * Makefile.shared: Removed.
13951
13952 2007-07-18  Timothy Hatcher  <timothy@apple.com>
13953
13954         The console log was 20px down from the top for no reason, move it up.
13955
13956         * Drosera/console.css:
13957
13958 2007-07-18  Timothy Hatcher  <timothy@apple.com>
13959
13960         Use contentDocument to get the source view's iframe document.
13961         Also adds a null/undefined check for localVariableNames.
13962
13963         * Drosera/debugger.js:
13964
13965 2007-07-18  Lars Knoll <lars@trolltech.com>
13966
13967         We really don't want to compare non text only tests to the
13968         Mac results if we don't have a result for Qt, as this would
13969         give a failure and not a notification that the test is new.
13970
13971         Reviewed by Zack
13972
13973         * Scripts/run-webkit-tests:
13974
13975 2007-07-18  Lars Knoll <lars@trolltech.com>
13976
13977         Reviewed by Zack & Simon
13978
13979         Adjust to changed API in QWebFrame
13980
13981         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
13982         (WebCore::DumpRenderTree::DumpRenderTree):
13983
13984 2007-07-18  Mark Rowe  <mrowe@apple.com>
13985
13986         Update path to the Drosera Xcode project now that it has moved into a subdirectory.
13987
13988         * BuildSlaveSupport/build-launcher-app:
13989
13990 2007-07-17  Geoffrey Garen  <ggaren@apple.com>
13991
13992         Reviewed by Antti Koivisto.
13993
13994         Added watchdog timer to waitUntilDone to prevent a run-away test from
13995         hanging the test harness.
13996
13997         * DumpRenderTree/DumpRenderTree.m:
13998         (dump):
13999         (-[LayoutTestController waitUntilDone]):
14000         (-[LayoutTestController waitUntilDoneWatchdogFired]):
14001         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
14002
14003 2007-07-17  Kevin McCullough  <kmccullough@apple.com>
14004
14005         Reviewed by Adam.
14006
14007         - Implemented cross-platform code for functions calling into the JavaScript.
14008
14009         * Drosera/DebuggerDocument.cpp:
14010         (DebuggerDocument::callAsFunction):
14011         (DebuggerDocument::pauseJS):
14012         (DebuggerDocument::resumeJS):
14013         (DebuggerDocument::stepIntoJS):
14014         (DebuggerDocument::stepOverJS):
14015         (DebuggerDocument::stepOutJS):
14016         (DebuggerDocument::showConsoleJS):
14017         (DebuggerDocument::closeCurrentFileJS):
14018         (DebuggerDocument::updateFileSource):
14019         (DebuggerDocument::didParseScript):
14020         (DebuggerDocument::willExecuteStatement):
14021         (DebuggerDocument::didEnterCallFrame):
14022         (DebuggerDocument::willLeaveCallFrame):
14023         (DebuggerDocument::exceptionWasRaised):
14024         * Drosera/DebuggerDocument.h:
14025         * Drosera/mac/DebuggerDocumentMac.mm:
14026         (-[DebuggerDocumentMac pause:]):
14027         (-[DebuggerDocumentMac resume:]):
14028         (-[DebuggerDocumentMac stepInto:]):
14029         (-[DebuggerDocumentMac stepOver:]):
14030         (-[DebuggerDocumentMac stepOut:]):
14031         (-[DebuggerDocumentMac showConsole:]):
14032         (-[DebuggerDocumentMac closeCurrentFile:]):
14033         (-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
14034         (-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
14035         (-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
14036         (-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
14037         (-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
14038         (-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
14039
14040 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
14041
14042         Reviewed by Darin Adler.
14043
14044         - Continued x-platform modifications.
14045
14046         * Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
14047         * Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
14048         * Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
14049         * Drosera/win/DebuggerObjectCallbacks.h: Removed.
14050         * Drosera/win/Drosera.cpp:
14051         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
14052         * Drosera/win/stdafx.cpp: Removed.
14053         * Drosera/win/stdafx.h: Removed.
14054
14055 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
14056
14057         Reviewed by Sam.
14058
14059         - Modified files to use cross-platform code.
14060
14061         * Drosera/DebuggerDocument.cpp: Added.
14062         (DebuggerDocument::breakpointEditorHTML):
14063         (DebuggerDocument::isPaused):
14064         (DebuggerDocument::pause):
14065         (DebuggerDocument::resume):
14066         (DebuggerDocument::stepInto):
14067         (DebuggerDocument::evaluateScript):
14068         (DebuggerDocument::currentFunctionStack):
14069         (DebuggerDocument::localScopeVariableNamesForCallFrame):
14070         (DebuggerDocument::valueForScopeVariableNamed):
14071         * Drosera/DebuggerDocument.h: Added.
14072         (DebuggerDocument::DebuggerDocument):
14073         * Drosera/config.h: Added.
14074         * Drosera/mac/DebuggerApplication.mm:
14075         (-[DebuggerApplication attach:]):
14076         * Drosera/mac/DebuggerDocument.h: Removed.
14077         * Drosera/mac/DebuggerDocument.mm: Removed.
14078         * Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
14079         * Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
14080         (-[DebuggerDocumentMac initWithServerName:]):
14081         (-[DebuggerDocumentMac dealloc]):
14082         (-[DebuggerDocumentMac breakpointEditorHTML]):
14083         (-[DebuggerDocumentMac isPaused]):
14084         (-[DebuggerDocumentMac pause]):
14085         (-[DebuggerDocumentMac resume]):
14086         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
14087         * Drosera/win/DebuggerApplication.cpp:
14088         * Drosera/win/DebuggerObjectCallbacks.cpp:
14089         (breakpointEditorHTMLCallback):
14090         (currentFunctionStackCallback):
14091         (evaluateScript_inCallFrame_Callback):
14092         (isPausedCallback):
14093         (localScopeVariableNamesForCallFrame_Callback):
14094         (pauseCallback):
14095         (resumeCallback):
14096         (stepIntoCallback):
14097         (valueForScopeVariableNamed_inCallFrame_Callback):
14098         (staticFunctions):
14099         * Drosera/win/Drosera.cpp:
14100         * Drosera/win/DroseraPrefix.cpp: Added.
14101         * Drosera/win/DroseraPrefix.h: Added.
14102
14103 2007-07-16  Kevin McCullough  <kmccullough@apple.com>
14104
14105         Reviewed by Adam, Sam and Tim.
14106
14107         - Moving files to prepare for cross-platform architecture.
14108
14109         * Drosera/DebuggerApplication.h: Removed.
14110         * Drosera/DebuggerApplication.m: Removed.
14111         * Drosera/DebuggerDocument.h: Removed.
14112         * Drosera/DebuggerDocument.m: Removed.
14113         * Drosera/Drosera.pch: Removed.
14114         * Drosera/Drosera.xcodeproj: Removed.
14115         * Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
14116         * Drosera/Info.plist: Removed.
14117         * Drosera/LauncherInfo.plist: Removed.
14118         * Drosera/Makefile: Removed.
14119         * Drosera/launcher.m: Removed.
14120         * Drosera/mac: Added.
14121         * Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
14122         * Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
14123         * Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
14124         * Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
14125         * Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
14126         * Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
14127         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
14128         * Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
14129         * Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
14130         * Drosera/mac/Makefile: Copied from Drosera/Makefile.
14131         * Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
14132         * Drosera/mac/main.m: Copied from Drosera/main.m.
14133         * Drosera/main.m: Removed.
14134         * Makefile:
14135         * Makefile.Drosera: Added.
14136
14137 2007-07-15  Mark Rowe  <mrowe@apple.com>
14138
14139         * Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
14140
14141 2007-07-13  Sam Weinig  <sam@webkit.org>
14142
14143         Reviewed by Geoff Garen.
14144
14145         Add support for running SSL tests over HTTPS.
14146
14147         * DumpRenderTree/DumpRenderTree.m:
14148         (runTest):
14149         * DumpRenderTree/FrameLoadDelegate.m:
14150         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
14151         * Scripts/run-webkit-httpd:
14152         * Scripts/run-webkit-tests:
14153
14154 2007-07-13  David Kilzer  <ddkilzer@apple.com>
14155
14156         Reviewed by Darin Adler.
14157
14158         Added support for -h|--help argument and verify that all command line arguments parse
14159         correctly.
14160
14161         * Scripts/run-webkit-httpd:
14162
14163 2007-07-12  Mark Rowe  <mrowe@apple.com>
14164
14165         Reviewed by Ada.
14166
14167         Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
14168
14169         * Scripts/run-webkit-tests:
14170
14171 2007-07-12  Geoffrey Garen  <ggaren@apple.com>
14172
14173         Reviewed by Oliver Hunt.
14174
14175         Made the leaks tests pass on Leopard.
14176
14177         * Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
14178         * Scripts/run-leaks: Updated parser for slight change in text output.
14179
14180 2007-07-11  David Kilzer  <ddkilzer@apple.com>
14181
14182         Reviewed by Maciej.
14183
14184         Update the iExploder list of CSS properties after box-sizing was renamed to
14185         -webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
14186
14187         * iExploder/htdocs/cssproperties.in:  Added -webkit-box-sizing.  Both box-sizing and
14188         -moz-box-sizing remain.
14189
14190 2007-07-10  Darin Adler  <darin@apple.com>
14191
14192         * Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
14193         Foundation's multipart/mixed-replace support -- I already verified that
14194         the bug has been fixed.
14195
14196 2007-07-10  Alice Liu  <alice.liu@apple.com>
14197
14198         rubber stamped by Maciej.
14199
14200         fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
14201
14202         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
14203         (initializePreferences):
14204         set editable link behavior to match Mac DRT.
14205
14206 2007-07-10  Geoffrey Garen  <ggaren@apple.com>
14207
14208         Reviewed by Tim Hatcher.
14209
14210         Ignore Page.o in debug builds because it now has a static PageCounter
14211         object.
14212
14213         * Scripts/check-for-global-initializers:
14214
14215 2007-07-09  Darin Adler  <darin@apple.com>
14216
14217         * Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
14218
14219 2007-07-09  Alice Liu  <alice.liu@apple.com>
14220
14221         Reviewed by Adam Roben.
14222
14223         setting DOM Paste Allowed Pref
14224
14225         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
14226         (initializePreferences):
14227
14228 2007-07-05  Kevin McCullough  <kmccullough@apple.com>
14229
14230         Reviewed by Adam, Sam, and Ada.
14231
14232         - Inital checkin of Drosera for Win.  This isn't pretty and doesn't connect to Safari but debug builds and runs.
14233
14234         * Drosera/Images/Drosera.ico: Added.
14235         * Drosera/Images/small.ico: Added.
14236         * Drosera/win: Added.
14237         * Drosera/win/BaseDelegate.h: Added.
14238         (BaseDelegate::QueryInterface):
14239         (BaseDelegate::didFinishLoadForFrame):
14240         (BaseDelegate::windowScriptObjectAvailable):
14241         (BaseDelegate::didStartProvisionalLoadForFrame):
14242         (BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
14243         (BaseDelegate::didFailProvisionalLoadWithError):
14244         (BaseDelegate::didCommitLoadForFrame):
14245         (BaseDelegate::didReceiveTitle):
14246         (BaseDelegate::didReceiveIcon):
14247         (BaseDelegate::didFailLoadWithError):
14248         (BaseDelegate::didChangeLocationWithinPageForFrame):
14249         (BaseDelegate::willPerformClientRedirectToURL):
14250         (BaseDelegate::didCancelClientRedirectForFrame):
14251         (BaseDelegate::willCloseFrame):
14252         (BaseDelegate::createWebViewWithRequest):
14253         (BaseDelegate::webViewShow):
14254         (BaseDelegate::webViewClose):
14255         (BaseDelegate::webViewFocus):
14256         (BaseDelegate::webViewUnfocus):
14257         (BaseDelegate::webViewFirstResponder):
14258         (BaseDelegate::makeFirstResponder):
14259         (BaseDelegate::setStatusText):
14260         (BaseDelegate::webViewStatusText):
14261         (BaseDelegate::webViewAreToolbarsVisible):
14262         (BaseDelegate::setToolbarsVisible):
14263         (BaseDelegate::webViewIsStatusBarVisible):
14264         (BaseDelegate::setStatusBarVisible):
14265         (BaseDelegate::webViewIsResizable):
14266         (BaseDelegate::setResizable):
14267         (BaseDelegate::setFrame):
14268         (BaseDelegate::webViewFrame):
14269         (BaseDelegate::setContentRect):
14270         (BaseDelegate::webViewContentRect):
14271         (BaseDelegate::runJavaScriptAlertPanelWithMessage):
14272         (BaseDelegate::runJavaScriptConfirmPanelWithMessage):
14273         (BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
14274         (BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
14275         (BaseDelegate::runOpenPanelForFileButtonWithResultListener):
14276         (BaseDelegate::mouseDidMoveOverElement):
14277         (BaseDelegate::contextMenuItemsForElement):
14278         (BaseDelegate::validateUserInterfaceItem):
14279         (BaseDelegate::shouldPerformAction):
14280         (BaseDelegate::dragDestinationActionMaskForDraggingInfo):
14281         (BaseDelegate::willPerformDragDestinationAction):
14282         (BaseDelegate::dragSourceActionMaskForPoint):
14283         (BaseDelegate::willPerformDragSourceAction):
14284         (BaseDelegate::contextMenuItemSelected):
14285         (BaseDelegate::hasCustomMenuImplementation):
14286         (BaseDelegate::trackCustomPopupMenu):
14287         (BaseDelegate::measureCustomMenuItem):
14288         (BaseDelegate::drawCustomMenuItem):
14289         (BaseDelegate::addCustomMenuDrawingData):
14290         (BaseDelegate::cleanUpCustomMenuDrawingData):
14291         (BaseDelegate::canTakeFocus):
14292         (BaseDelegate::takeFocus):
14293         (BaseDelegate::registerUndoWithTarget):
14294         (BaseDelegate::removeAllActionsWithTarget):
14295         (BaseDelegate::setActionTitle):
14296         (BaseDelegate::undo):
14297         (BaseDelegate::redo):
14298         (BaseDelegate::canUndo):
14299         (BaseDelegate::canRedo):
14300         * Drosera/win/DebuggerApplication.cpp: Added.
14301         (DebuggerApplication::serverLoaded):
14302         (DebuggerApplication::serverUnloaded):
14303         (DebuggerApplication::attach):
14304         (DebuggerApplication::numberOfRowsInTableView):
14305         (DebuggerApplication::tableView):
14306         * Drosera/win/DebuggerApplication.h: Added.
14307         (DebuggerApplication::DebuggerApplication):
14308         (DebuggerApplication::knownServers):
14309         * Drosera/win/DebuggerObjectCallbacks.cpp: Added.
14310         (breakpointEditorHTMLCallback):
14311         (currentFunctionStackCallback):
14312         (doubleClickMillisecondsCallback):
14313         (evaluateScript_inCallFrame_Callback):
14314         (isPausedCallback):
14315         (localScopeVariableNamesForCallFrame_Callback):
14316         (pauseCallback):
14317         (resumeCallback):
14318         (stepIntoCallback):
14319         (valueForScopeVariableNamed_inCallFrame_Callback):
14320         (staticFunctions):
14321         * Drosera/win/DebuggerObjectCallbacks.h: Added.
14322         * Drosera/win/Drosera.cpp: Added.
14323         (_tWinMain):
14324         (RegisterDroseraClass):
14325         (DroseraWndProc):
14326         (About):
14327         (Attach):
14328         (Drosera::Drosera):
14329         (Drosera::initUI):
14330         (Drosera::QueryInterface):
14331         (Drosera::AddRef):
14332         (Drosera::Release):
14333         (Drosera::didFinishLoadForFrame):
14334         (getDroseraJSClass):
14335         (Drosera::windowScriptObjectAvailable):
14336         (Drosera::webViewClose):
14337         (Drosera::validateUserInterfaceItem):
14338         (Drosera::runJavaScriptAlertPanelWithMessage):
14339         (Drosera::onSize):
14340         * Drosera/win/Drosera.h: Added.
14341         (Drosera::webViewLoaded):
14342         * Drosera/win/Drosera.vcproj: Added.
14343         * Drosera/win/Drosera.vcproj/Drosera.rc: Added.
14344         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
14345         * Drosera/win/Drosera.vcproj/debug.vsprops: Added.
14346         * Drosera/win/Drosera.vcproj/release.vsprops: Added.
14347         * Drosera/win/HelperFunctions.h: Added.
14348         (CFStringToBSTR):
14349         * Drosera/win/Info.plist: Added.
14350         * Drosera/win/resource.h: Added.
14351         * Drosera/win/stdafx.cpp: Added.
14352         * Drosera/win/stdafx.h: Added.
14353
14354 2007-07-09  Adam Treat  <adam@staikos.net>
14355
14356         Reviewed by George Staikos.
14357
14358         Convert QWebFrame from a QFrame to a pure QObject to eliminate all
14359         traces of widgets.
14360
14361         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14362         (WebCore::DumpRenderTree::DumpRenderTree):
14363
14364 2007-07-09  Anders Carlsson  <andersca@apple.com>
14365
14366         Reviewed by Oliver.
14367
14368         <rdar://problem/4954319>
14369         Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
14370         com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
14371
14372         If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
14373         return an error from NPP_NewStream.
14374
14375         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
14376         (pluginAllocate):
14377         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
14378         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
14379         (NPP_New):
14380         (NPP_NewStream):
14381
14382 2007-07-08  Mark Rowe  <mrowe@apple.com>
14383
14384         Change name from WebKit/Qt to WebKit.
14385
14386         * CodeCoverage/regenerate-coverage-display:
14387
14388 2007-07-08  Rob Buis  <buis@kde.org>
14389
14390         Reviewed by Mitz.
14391
14392         http://bugs.webkit.org/show_bug.cgi?id=14209
14393         DRT should be able to deal with text zoom
14394
14395         Allow increasing/decreasing text zoom using eventSender.
14396
14397         * DumpRenderTree/DumpRenderTree.m:
14398         (runTest):
14399         * DumpRenderTree/EventSendingController.m:
14400         (+[EventSendingController initialize]):
14401         (+[EventSendingController isSelectorExcludedFromWebScript:]):
14402         (-[EventSendingController textZoomIn]):
14403         (-[EventSendingController textZoomOut]):
14404
14405 2007-07-07  Mark Rowe  <mrowe@apple.com>
14406
14407         Reviewed by Oliver.
14408
14409         * DumpRenderTree/DumpRenderTree.m:
14410         (convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
14411
14412 2007-07-06  Anders Carlsson  <andersca@apple.com>
14413
14414         Reviewed by David Kilzer.
14415
14416         <rdar://problem/5313502>
14417         Many webarchive tests fail due to different NSURLResponse serialization on Leopard
14418
14419         Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
14420         response's attributes. Also change the JavaScript MIME type to be "text/javascript".
14421
14422         * DumpRenderTree/DumpRenderTree.m:
14423         (convertMIMEType):
14424         (convertWebResourceDataToString):
14425         (convertWebResourceResponseToDictionary):
14426         (serializeWebArchiveToXML):
14427
14428 2007-07-06  Timothy Hatcher  <timothy@apple.com>
14429
14430         Reviewed by Oliver.
14431
14432         Initialize the NSMutableAttributedString directly instead of creating
14433         a NSAttributedString first.
14434
14435         * DumpRenderTree/TextInputController.m:
14436         (-[TextInputController attributedStringWithString:]):
14437
14438 2007-07-06  Anders Carlsson  <andersca@apple.com>
14439
14440         Reviewed by David Kilzer.
14441
14442         Replace "Apple Computer" with "Apple" in the DTD declaration.
14443
14444         * DumpRenderTree/DumpRenderTree.m:
14445         (serializeWebArchiveToXML):
14446
14447 2007-07-06  Adam Treat  <adam@staikos.net>
14448
14449         Reviewed by George Staikos.
14450
14451         Adjust for conversion of QWebFrame to a QFrame from a scroll area.
14452
14453         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
14454         (WebCore::DumpRenderTree::DumpRenderTree):
14455
14456 2007-07-06  George Staikos  <staikos@kde.org>
14457
14458         Reviewed by Anders.
14459
14460         Allow passing of additional arguments to qmake with --qmakearg=
14461
14462         * Scripts/webkitdirs.pm:
14463
14464 2007-07-05  George Staikos  <staikos@kde.org>
14465
14466         Reviewed by Maciej.
14467
14468         Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
14469         give a path to a specific qmake binary.  Both are optional.
14470
14471         * Scripts/webkitdirs.pm:
14472
14473 2007-07-05  Adam Roben  <aroben@apple.com>
14474
14475         Warn about tests in the Skipped file that succeeded
14476
14477         * Scripts/run-webkit-tests:
14478
14479 2007-07-05  Adam Roben  <aroben@apple.com>
14480
14481         Removed unused install-win-extras script
14482
14483         Rubberstamped by Mark.
14484
14485         * Scripts/install-win-extras: Removed.
14486
14487 2007-07-05  Adam Roben  <aroben@apple.com>
14488
14489         Show the test's extension in the results page
14490
14491         * Scripts/run-webkit-tests:
14492
14493 2007-07-05  Adam Roben  <aroben@apple.com>
14494
14495         Add more options for controlling the interpretation of the Skipped file
14496
14497         Reviewed by Mark.
14498
14499         * Scripts/run-webkit-tests:
14500
14501 2007-07-04  Adam Roben  <aroben@apple.com>
14502
14503         Add --skipped-only option to run-webkit-tests
14504
14505         When this option is specified, only those tests listed in the Skipped
14506         file are run.
14507
14508         Reviewed by Mark.
14509
14510         * Scripts/run-webkit-tests:
14511
14512 2007-07-04  Adam Roben  <aroben@apple.com>
14513
14514         Clean up/alphabetize the run-webkit-tests help message
14515
14516         * Scripts/run-webkit-tests:
14517
14518 2007-07-04  Adam Roben  <aroben@apple.com>
14519
14520         Enable a Leopard-specific Skipped list.
14521
14522         Reviewed by Mark.
14523
14524         * Scripts/run-webkit-tests: Check for Leopard.
14525         * Scripts/webkitdirs.pm: Added isTiger/isLeopard.
14526
14527 2007-07-03  Adam Roben  <aroben@apple.com>
14528
14529         Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
14530
14531         Got rid of extract-webkit-localizable-strings because it was trying to
14532         do update-webkit-localizable-strings' job.
14533
14534         Rubberstamped by Darin Adler.
14535
14536         * Scripts/extract-webkit-localizable-strings: Removed.
14537         * Scripts/update-webkit-localizable-strings: Renamed from
14538         extract-localizable-strings.
14539
14540 2007-07-03  Adam Roben  <aroben@apple.com>
14541
14542         Modify scripts to keep Mac/Windows localized strings in sync
14543
14544         extract-webkit-localizable-strings now handles extracting strings from
14545         both the Mac and Windows WebKit ports and updating their respective
14546         Localizable.strings files. extract-localizable-strings is now really a
14547         piece of plumbing rather than a top-level tool.
14548
14549         Reviewed by Darin and Anders.
14550
14551         * Scripts/extract-localizable-strings: Changed to handle multiple
14552         directories.
14553         * Scripts/extract-webkit-localizable-strings: Added.
14554
14555 2007-07-03  Adele Peterson  <adele@apple.com>
14556
14557         Reviewed by Darin Adler.
14558
14559         Extended DumpRenderTree to test encoding and decoding host names.
14560
14561         * DumpRenderTree/DumpRenderTree.m:
14562         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
14563         (+[LayoutTestController webScriptNameForSelector:]): ditto.
14564         (-[LayoutTestController decodeHostName:]): Added.
14565         (-[LayoutTestController encodeHostName:]): Added.
14566
14567 2007-07-03  Sam Weinig  <sam@webkit.org>
14568
14569         Reviewed by Darin Adler.
14570
14571         Eleventh round of fixes for implicit 64-32 bit conversion errors.
14572         <rdar://problem/5292262>
14573
14574         Add functions to test long long and unsigned long long.
14575
14576         * DumpRenderTree/DumpRenderTree.m:
14577         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
14578         (+[LayoutTestController webScriptNameForSelector:]):
14579         (-[LayoutTestController objCLongLongRoundTrip:]):
14580         (-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
14581
14582 2007-07-01  Adam Roben  <aroben@apple.com>
14583
14584         Fix some paths to make http tests work again on Windows
14585
14586         Rubberstamped by Sam.
14587
14588         * Scripts/run-webkit-tests:
14589
14590 2007-06-28  Stephanie  <slewis@apple.com>
14591
14592         Reviewed by Adam,
14593
14594         Allow tests to use pre-built roots instead of building the tests.
14595
14596         * Scripts/run-javascriptcore-tests: added --root option
14597         * Scripts/run-webkit-tests: added --root option
14598         * Scripts/webkitdirs.pm: added support for using a root
14599
14600 2007-06-25  Adam Roben  <aroben@apple.com>
14601
14602         Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
14603         http://bugs.webkit.org/show_bug.cgi?id=14405
14604
14605         Reviewed by Anders.
14606
14607         * Scripts/run-webkit-tests:
14608
14609 2007-06-25  Adam Roben  <aroben@apple.com>
14610
14611         Enable running the regression tests on Windows.
14612
14613         These changes were developed alongside the Windows WebKit port and
14614         have been well tested.
14615
14616         Rubberstamped by Sam.
14617
14618         * Scripts/run-webkit-tests:
14619
14620 2007-06-25  Adam Roben  <aroben@apple.com>
14621
14622         Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
14623         http://bugs.webkit.org/show_bug.cgi?id=14403
14624
14625         Reviewed by Mark Rowe.
14626
14627         * Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
14628         (sub createPatchCommand): Generate a correct diff in the $gitCommit
14629         case.
14630
14631 2007-06-25  Adam Roben  <aroben@apple.com>
14632
14633         Land pdevenv and supporting scripts/programs
14634
14635         pdevenv is a script that will open an instance of Visual Studio that
14636         can compile multiple files in parallel, similar to make -jN. It uses
14637         the following scripts/programs to accomplish this:
14638
14639         CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
14640
14641         parallelcl: Actually performs the parallel compilation by forking
14642         multiple instances of the Microsoft-supplied cl.exe.
14643
14644         MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
14645         Microsoft-supplied midl.exe. This avoids having to invoke perl for
14646         every invocation of midl.exe, which would be quite slow.
14647
14648         Rubberstamped by Sam.
14649
14650         * CLWrapper/CLWrapper.cpp: Added.
14651         (wmain):
14652         * CLWrapper/CLWrapper.sln: Added.
14653         * CLWrapper/CLWrapper.vcproj: Added.
14654         * MIDLWrapper/MIDLWrapper.cpp: Added.
14655         (wmain):
14656         * MIDLWrapper/MIDLWrapper.sln: Added.
14657         * MIDLWrapper/MIDLWrapper.vcproj: Added.
14658         * Scripts/parallelcl: Added.
14659         * Scripts/pdevenv: Added.
14660         * vcbin/cl.exe: Added.
14661         * vcbin/midl.exe: Added.
14662
14663 2007-06-23  Adam Roben  <aroben@apple.com>
14664
14665         Land num-cpus for the Windows build.
14666
14667         Reviewed by Mark Rowe.
14668
14669         * Scripts/num-cpus: Added.
14670
14671 2007-06-22  Simon Hausmann  <hausmann@kde.org>
14672
14673         Reviewed by Adam Roben.
14674
14675         Added support for populating ChangeLog entries from given git commits
14676         using --git-commit=<commitish> and --git-reviewer=<name>.
14677
14678         * Scripts/prepare-ChangeLog:
14679
14680 2007-06-22  Timothy Hatcher  <timothy@apple.com>
14681
14682         Reviewed by Anders.
14683
14684         <rdar://problem/5228168> Leopard regression test failures: fast/applescript
14685
14686         There were some changes in Leopard that made our test output inconsistent with Tiger.
14687
14688         NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
14689         on Leopard, so output our own readable string for typeType descriptors.
14690
14691         NSArray's description also changed on Leopard to output more whitespace, so
14692         make our own string representation for typeAEList descriptors. This requires
14693         a special case typeUnicodeText too, so the output is a quoted string.
14694
14695         * DumpRenderTree/AppleScriptController.m:
14696         (convertAEDescToObject):
14697
14698 2007-06-21  Anders Carlsson  <andersca@apple.com>
14699
14700         Reviewed by Geoff.
14701
14702         Don't dump didFirstLayout callbacks, they happen intermittently.
14703
14704         * DumpRenderTree/FrameLoadDelegate.m:
14705
14706 2007-06-21  Lars Knoll  <lars@trolltech.com>
14707
14708         Reviewed by Simon.
14709
14710         look for the Qt library in the installed location
14711
14712         * Scripts/webkitdirs.pm:
14713
14714 2007-06-20  Geoffrey Garen  <ggaren@apple.com>
14715
14716         Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
14717
14718         Added tests for stringByEvaluatingJavaScriptFromString.
14719
14720         * DumpRenderTree/DumpRenderTree.m:
14721         (testStringByEvaluatingJavaScriptFromString):
14722         (dumpRenderTree):
14723
14724 2007-06-19  Andrew Wellington  <proton@wiretapped.net>
14725
14726         Reviewed by Mark Rowe.
14727
14728         Support applications with spaces or special characters in their names
14729
14730         * Scripts/run-webkit-app:
14731
14732 2007-06-18  Anders Carlsson  <andersca@apple.com>
14733
14734         Reviewed by John Sullivan.
14735
14736         Assert that the frame has a dataSource.
14737
14738         * DumpRenderTree/FrameLoadDelegate.m:
14739         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
14740
14741 2007-06-18  Adam Treat <adam@staikos.net>
14742
14743         Reviewed by George.
14744
14745         Reflect the library name change.
14746
14747         * Scripts/webkitdirs.pm:
14748
14749 2007-06-18  Jake Helfert  <jake@jakeonthenet.com>
14750
14751         Reviewed by Adam.
14752
14753         - fix http://bugs.webkit.org/show_bug.cgi?id=14154
14754           Spinneret doesn't build against the new Win32 port.
14755
14756         * Spinneret/Spinneret/Spinneret.cpp:
14757         (_tWinMain):
14758             -Changed IWebViewExt to IWebViewPrivate
14759             -Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
14760              the WIN32 function RegisterDragDrop which requires the Ole* calls.
14761         * Spinneret/Spinneret/Spinneret.h:
14762         (SpinneretWebHost::didReceiveIcon): Updated method signature.
14763         (SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
14764         (SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
14765
14766 2007-06-14  Sam Weinig  <sam@webkit.org>
14767
14768         Reviewed by Brady.
14769
14770         Update set of files to download for cygwin to include
14771         diffutils and regenerate the zip file.  This should fix
14772         an issue on vista where svn-create-patch doesn't work.
14773
14774         * CygwinDownloader/cygwin-downloader.py:
14775         * CygwinDownloader/cygwin-downloader.zip:
14776
14777 2007-06-14  Mark Rowe  <mrowe@apple.com>
14778
14779         Update script to match new nightly.webkit.org infrastructure.
14780
14781         * BuildSlaveSupport/build-launcher-dmg:  Upload to the live web server, not the caching proxy.  Let the server know it's a Mac build.
14782
14783 2007-06-12  Adam Roben  <aroben@apple.com>
14784
14785         Land CygwinDownloader.
14786
14787         Rubberstamped by Hyatt.
14788
14789         * CygwinDownloader/cygwin-downloader.py: Added.
14790         * CygwinDownloader/cygwin-downloader.zip: Added.
14791         * CygwinDownloader/make-zip.sh: Added.
14792         * CygwinDownloader/setup.py: Added.
14793
14794 2007-06-06  Vladimir Olexa  <vladimir.olexa@gmail.com>
14795
14796         Reviewed by Mark Rowe.
14797
14798         Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
14799         [Drosera] Items in the file list don't get un-highlighted when
14800         files are selected from the file drop-down
14801
14802         * Drosera/debugger.js: currentFile was getting modified before file in the file
14803         browser got un-highlighted. Changed the order in which the functions execute.
14804
14805 2007-06-06  Mark Rowe  <mrowe@apple.com>
14806
14807         Reviewed by Maciej.
14808
14809         http://bugs.webkit.org/show_bug.cgi?id=13988
14810         Bug 13988: Colon in file path crashes WebKit Nightly
14811
14812         The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
14813         the bundled WebKit framework.  Both of these variables are interpreted as containing a
14814         colon-delimited list of paths.  There is no escaping mechanism defined, so if we detect
14815         a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
14816         when we execute Safari.
14817
14818         * WebKitLauncher/main.m:
14819         (main):
14820
14821 2007-06-05  Mark Rowe  <mrowe@apple.com>
14822
14823         Reviewed by Anders.
14824
14825         * WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
14826
14827 2007-05-30  Alp Toker  <alp.toker@collabora.co.uk>
14828
14829         Reviewed by Brady.
14830
14831         Enable logging in the Gdk port.
14832         http://bugs.webkit.org/show_bug.cgi?id=13936
14833
14834         * GdkLauncher/main.cpp:
14835         (main):
14836
14837 2007-05-29  Holger Freyther  <zecke@selfish.org>
14838
14839         Reviewed by Anders.
14840
14841         Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
14842         to provide ScrollBars for the FrameView.
14843
14844         * GdkLauncher/main.cpp:
14845         (registerRenderingAreaEvents):
14846         (layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
14847         (frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
14848         (main):
14849
14850 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
14851
14852         Reviewed by Darin Adler.
14853
14854         - fix http://bugs.webkit.org/show_bug.cgi?id=13901
14855           run-pageloadtest does not obey testName on command-line
14856
14857         * Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
14858         otherwise default to "svg".  Added dummy check to make sure $testName.pltsuite
14859         exists.
14860
14861 2007-05-29  David Kilzer  <ddkilzer@webkit.org>
14862
14863         Reviewed by Darin Adler.
14864
14865         - fix http://bugs.webkit.org/show_bug.cgi?id=13900
14866           svnStatus($) subroutine in svn-[un]apply does not work properly with directories
14867
14868         This patch also fixes an instance of the "broken pipe" warning that happened when
14869         a directory contained modified files that were not part of an applied or unapplied
14870         patch.
14871
14872         * Scripts/svn-apply:
14873         (svnStatus($)): If we're trying to get status on a directory (instead of a file),
14874         make sure we actually get the directory's status (if it has one), not the first
14875         file's status reported within the directory.  Fix "broken pipe" warnings by
14876         reading all of the output from the SVN filehandle before closing it.
14877         * Scripts/svn-unapply:
14878         (svnStatus($)): Ditto.
14879
14880 2007-05-28  David Kilzer  <ddkilzer@webkit.org>
14881
14882         Reviewed by Darin Adler.
14883
14884         - fix http://bugs.webkit.org/show_bug.cgi?id=10342
14885           prepare-ChangeLog only shows removed files but not added files when files are moved
14886         - fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
14887           prepare-ChangeLog and svn-create-patch don't show replaced files
14888
14889         Switched method used to find list of changed files from "diff" to "status".  This
14890         makes added and replaced files with history appear in the changed file list for svn.
14891         Added check for "+" in output from the svn status command to detect file history, and
14892         handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
14893
14894         * Scripts/prepare-ChangeLog:
14895         (diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
14896         (statusCommand(@)): Switched argument from array ref to array.  Necessary to use
14897         the output of "keys $paths" without creating a temporary array variable.
14898         (findOriginalFileFromSvn($)): Added.  Based on findSourceFileAndRevision($)
14899         subroutine in svn-create-patch.
14900         (generateFileList(\@\@\%)): Added.  Extracted from main body of script.  Runs status
14901         command using command-line arguments instead of list of changed files from the diff
14902         command.  Changed svn regex to only accept file statuses that we know how to handle.
14903         Identify original file when an added/replaced status with history is present.
14904         (statusDescription($$)): Handled added/replaced statuses with history.  Added
14905         fall-through return statement.
14906
14907 2007-05-28  Holger Freyther  <zecke@selfish.org>
14908
14909         Reviewed by Mark Rowe.
14910
14911         Add scripts and data to generate a coverage data for WebKit.
14912
14913         * CodeCoverage/README: Added.
14914         * CodeCoverage/amber.png: Added.
14915         * CodeCoverage/cov.py: Added.
14916         * CodeCoverage/emerald.png: Added.
14917         * CodeCoverage/gcov.css: Added.
14918         * CodeCoverage/glass.png: Added.
14919         * CodeCoverage/regenerate-coverage-display: Added.
14920         * CodeCoverage/ruby.png: Added.
14921         * CodeCoverage/run-generate-coverage-data: Added.
14922         * CodeCoverage/snow.png: Added.
14923         * Scripts/build-webkit: Add --coverage by Niko
14924         * Scripts/check-for-global-initializers: Skip the check on coverage builds
14925         * Scripts/generate-coverage-data: Added.
14926         * Scripts/run-javascriptcore-tests: Add --coverage by Niko
14927
14928 2007-05-29  Mark Rowe  <mrowe@apple.com>
14929
14930         Build fix after r21745.
14931
14932         * Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
14933
14934 2007-05-25  Anders Carlsson  <andersca@apple.com>
14935
14936         Fix build.
14937
14938         * DumpRenderTree/DumpRenderTree.m:
14939         * DumpRenderTree/FrameLoadDelegate.m:
14940
14941 2007-05-25  Simon Hausmann  <hausmann@kde.org>
14942
14943         Reviewed by Zack.
14944
14945         For the keyDown binding use QStringList instead of QList<QString>. The former is a default
14946         registered metatype. Also print out critical messages in dumprendertree's qt message handler.
14947
14948         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
14949         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
14950         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
14951
14952 2007-05-20  David Kilzer  <ddkilzer@webkit.org>
14953
14954         Reviewed by Adam Roben.
14955
14956         - fix http://bugs.webkit.org/show_bug.cgi?id=13565
14957           Change svn-create-patch to put LayoutTests in the end
14958
14959         In addition to reordering test files under the LayoutTests directory so that they
14960         appear after source code files, this patch fixes an issue with prepare-ChangeLog
14961         if the first argument passed to it is a file name instead of a directory name.
14962
14963         * Scripts/prepare-ChangeLog:
14964         (isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
14965         (isSVN()): Ditto.
14966         * Scripts/svn-create-patch:
14967         (generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
14968         source code files.
14969
14970 2007-05-18  Mark Rowe  <mrowe@apple.com>
14971
14972         Reviewed by Oliver.
14973
14974         Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
14975
14976         * Scripts/svn-create-patch:
14977         * Scripts/webkitdirs.pm:
14978
14979 2007-05-18  Holger Freyther  <zecke@selfish.org>
14980
14981         Reviewed by Maciej.
14982
14983         * GdkLauncher/main.cpp: Call setGtkWidget
14984         (main):
14985
14986 2007-05-18  Holger Hans Peter Freyther  <zecke@selfish.org>
14987
14988         Reviewed by Mark Rowe.
14989
14990         * GdkLauncher/main.cpp:
14991         (main): Call Frame::init to catch up with Maciej's changes.
14992         * Scripts/run-javascriptcore-tests: Remove --gdk from the command line
14993         passed to the helper scripts.
14994
14995 2007-05-16  Brady Eidson  <beidson@apple.com>
14996
14997         Build fix for some dev configurations
14998
14999         * DumpRenderTree/DumpRenderTree.m:
15000
15001 2007-05-16  Maciej Stachowiak  <mjs@apple.com>
15002
15003         Reviewed by Justin.
15004
15005         - created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
15006
15007         The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
15008         that happen before the load commits.
15009
15010         Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
15011         optional logging for every FrameLoadDelegate callback, including SPI callbacks.
15012
15013         * DumpRenderTree/DumpRenderTree.h:
15014         * DumpRenderTree/DumpRenderTree.m:
15015         (createWebView):
15016         (dumpRenderTree):
15017         (dump):
15018         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15019         (-[LayoutTestController clearBackForwardList]):
15020         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
15021         (-[LayoutTestController dumpFrameLoadCallbacks]):
15022         (-[LayoutTestController setWindowIsKey:]):
15023         (-[LayoutTestController setMainFrameIsFirstResponder:]):
15024         (-[LayoutTestController _doLoad:target:]):
15025         (-[LayoutTestController _doBackOrForwardNavigation:]):
15026         (-[LayoutTestController queueReload]):
15027         (-[LayoutTestController queueScript:]):
15028         (-[LayoutTestController queueLoad:target:]):
15029         (-[LayoutTestController setAcceptsEditing:]):
15030         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
15031         (shouldLogFrameLoadDelegates):
15032         (runTest):
15033         (displayWebView):
15034         (+[DumpRenderTreeEvent mouseLocation]):
15035         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15036         * DumpRenderTree/DumpRenderTreeDraggingInfo.m:
15037         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
15038         * DumpRenderTree/EventSendingController.m:
15039         (-[EventSendingController mouseDown]):
15040         (-[EventSendingController mouseUp]):
15041         (-[EventSendingController mouseMoveToX:Y:]):
15042         (-[EventSendingController contextClick]):
15043         * DumpRenderTree/FrameLoadDelegate.h: Added.
15044         * DumpRenderTree/FrameLoadDelegate.m: Added.
15045         (-[WebFrame _drt_descriptionSuitableForTestResult]):
15046         (-[FrameLoadDelegate processWork:]):
15047         (-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
15048         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
15049         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
15050         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
15051         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
15052         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
15053         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
15054         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
15055         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
15056         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
15057         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
15058         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
15059         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
15060         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
15061         (-[FrameLoadDelegate webView:willCloseFrame:]):
15062         (-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
15063         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
15064         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
15065         * DumpRenderTree/ResourceLoadDelegate.m:
15066         (-[NSURL _drt_descriptionSuitableForTestResult]):
15067         * DumpRenderTree/UIDelegate.m:
15068         (-[UIDelegate webViewFocus:]):
15069
15070 2007-05-16  Kevin McCullough  <kmccullough@apple.com>
15071
15072         Reviewed by Darin and Geoff.
15073
15074         - rdar://problem/4981886
15075         - Now windows opened by the DOM can be closed by JS.
15076
15077         * DumpRenderTree/DumpRenderTree.m:
15078         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15079         (-[LayoutTestController windowCount]):
15080
15081 2007-05-15  Adam Roben  <aroben@apple.com>
15082
15083         Reviewed by David Kilzer.
15084
15085         http://bugs.webkit.org/show_bug.cgi?id=13732
15086         prepare-ChangeLog should work with git
15087
15088         * Scripts/prepare-ChangeLog: Added support for Git.
15089
15090 2007-05-15  Lars Knoll <lars@trolltech.com>
15091
15092         Reviewed by Zack
15093
15094         Add the EventSender object to DRT. Currently it implements
15095         mouseDown, mouseUp and mouseMoveTo.
15096
15097         Make run-webkit-tests --strict work somewhat better for form elements.
15098
15099         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15100         (WebCore::DumpRenderTree::DumpRenderTree):
15101         (WebCore::DumpRenderTree::initJSObjects):
15102         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
15103         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
15104         (HackWebFrame::mousePressEvent):
15105         (HackWebFrame::mouseReleaseEvent):
15106         (EventSender::EventSender):
15107         (EventSender::mouseDown):
15108         (EventSender::mouseUp):
15109         (EventSender::mouseMoveTo):
15110         (EventSender::leapForward):
15111         (EventSender::keyDown):
15112         (EventSender::frameUnderMouse):
15113         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
15114         * Scripts/run-webkit-tests:
15115
15116 2007-05-12  Oliver Hunt  <oliver@apple.com>
15117
15118         Reviewed by Hyatt.
15119
15120         Add new api to DRT to allow us to test a file being dragged
15121         onto <input type="file">
15122
15123         * DumpRenderTree/DumpRenderTree.h:
15124         * DumpRenderTree/DumpRenderTree.m:
15125         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15126         (-[LayoutTestController addFileToPasteboardOnDrag]):
15127         (runTest):
15128         * DumpRenderTree/UIDelegate.m:
15129         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
15130
15131 2007-05-11  Holger Hans Peter Freyther  <zecke@selfish.org>
15132
15133         Reviewed by Maciej.
15134
15135         Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
15136         http://bugs.webkit.org/show_bug.cgi?id=13656
15137
15138         * GdkLauncher/main.cpp: Handle resizing the drawing area
15139         (frameResizeCallback):
15140         (main):
15141
15142 2007-05-11  Geoffrey Garen  <ggaren@apple.com>
15143
15144         Reviewed by Darin Adler.
15145
15146         Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
15147         is gone.
15148
15149         * DumpRenderTree/DumpRenderTree.m:
15150         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
15151         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15152         (+[LayoutTestController webScriptNameForSelector:]):
15153         (-[LayoutTestController testWrapperRoundTripping:]):
15154
15155 2007-05-08  Maciej Stachowiak  <mjs@apple.com>
15156
15157         Reviewed by Oliver.
15158
15159         - don't clear events whenever an EventSendingController goes away, only do it at predictable times,
15160         since destroying a subframe can make one go away
15161
15162         (Discovered while fixing:
15163
15164         <rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
15165         <rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
15166
15167         * DumpRenderTree/DumpRenderTree.m:
15168         (runTest): explicitly clear saved events after every page load
15169         * DumpRenderTree/EventSendingController.h:
15170         * DumpRenderTree/EventSendingController.m:
15171         (-[EventSendingController dealloc]): don't clear saved events here...
15172         (+[EventSendingController clearSavedEvents]): do it here
15173         * Scripts/check-for-global-initializers:
15174
15175 2007-05-10  Mark Rowe  <mrowe@apple.com>
15176
15177         Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
15178
15179         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15180
15181 2007-05-09  Geoffrey Garen  <ggaren@apple.com>
15182
15183         Reviewed by Maciej Stachowiak.
15184
15185         Added support for testing ObjC/JS type bridging.
15186
15187         Added ASSERT that -JSObject returns nil when the underlying JSObject
15188         is no longer GC protected.
15189
15190         * DumpRenderTree/DumpRenderTree.m:
15191         (returnThisCallback):
15192         (returnThisClass):
15193         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
15194         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15195         (+[LayoutTestController webScriptNameForSelector:]):
15196         (-[LayoutTestController accessStoredWebScriptObject]):
15197         (-[LayoutTestController testWrapperRoundTripping]):
15198         (-[LayoutTestController objCClassNameOf:]):
15199         (-[LayoutTestController objCObjectOfClass:]):
15200         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15201
15202 2007-05-10  Lars Knoll <lars@trolltech.com>
15203
15204         Reviewed by Simon
15205
15206         Move setting of the DPI value a few lines up. Should fix
15207         the last two remaining failures in the layout tests.
15208
15209         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15210         (main):
15211
15212 2007-05-09  Holger Freyther <zecke@selfish.org>
15213
15214         Reviewed by Mark Rowe.
15215
15216         * GdkLauncher/main.cpp: Always include config.h.
15217
15218 2007-05-08  Geoffrey Garen  <ggaren@apple.com>
15219
15220         Reviewed by Darin Adler.
15221
15222         Added support for testing ObjC object identity.
15223
15224         Added ASSERT to verify that you can round-trip the object passed to you
15225         in -didClearWindowObject:forFrame:.
15226
15227         * DumpRenderTree/DumpRenderTree.m:
15228         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
15229         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15230         (+[LayoutTestController webScriptNameForSelector:]):
15231         (-[LayoutTestController accessStoredWebScriptObject]):
15232         (-[LayoutTestController objCIdentityIsEqual::]):
15233
15234 2007-05-07  Geoffrey Garen  <ggaren@apple.com>
15235
15236         Reviewed by Maciej Stachowiak.
15237
15238         Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext],
15239         and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject
15240         forFrame:(WebFrame *)frame, in the form of ASSERTs.
15241
15242         * DumpRenderTree/DumpRenderTree.m:
15243         (runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
15244         to complain about.
15245
15246         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
15247         (-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
15248         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15249
15250 2007-05-08  Lars Knoll <lars@trolltech.com>
15251
15252         Reviewed by Zack.
15253
15254         Dump JavaScript console messages as well. Also requires a slight
15255         change in run-webkit-tests, so we still correctly differentiate
15256         between text only and rendertree tests.
15257
15258         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
15259         (WebCore::WebPage::WebPage):
15260         (WebCore::WebPage::javaScriptConsoleMessage):
15261         (WebCore::DumpRenderTree::DumpRenderTree):
15262         (WebCore::DumpRenderTree::dump):
15263         * Scripts/run-webkit-tests:
15264
15265 2007-05-08  Lars Knoll <lars@trolltech.com>
15266
15267         Reviewed by Zack
15268
15269         Specify what the serif, sans-serif and monospace aliases
15270         should map to and explicitly select the Gui style of
15271         DRT to be plastique.
15272
15273         Fixes most of the test failures still seen on the build bot.
15274
15275         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
15276         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15277         (main):
15278
15279 2007-05-07  Lars Knoll <lars@trolltech.com>
15280
15281         Reviewed by Zack
15282
15283         Fix the default font to 9pt Sans Serif.
15284
15285         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15286         (main):
15287
15288 2007-05-04  Lars Knoll <lars@trolltech.com>
15289
15290         Reviewed by Zack
15291
15292         Revert on line of the last commit. We still want to keep the RPATH
15293         support in the pro file.
15294
15295         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
15296
15297 2007-05-04  Lars Knoll <lars@trolltech.com>
15298
15299         Reviewed by Zack
15300
15301         Remove the old bitmap fonts I tried using to get reliable results from
15302         DumpRenderTree on X11. Instead we now use the URW Type1 fonts from
15303         ghostscript. I've added a mirror to simply check them out at
15304         svn://labs.trolltech.com/svn/webkit/testfonts.
15305
15306         Fixed DumpRenderTree to make sure these fonts are the only ones we use
15307         on X11 and added a fonts.conf file to get a well defined fontconfig
15308         configuration.
15309
15310         Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
15311         I use to find the fonts to DumpRenderTree.
15312
15313         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
15314         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
15315         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
15316         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
15317         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
15318         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
15319         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
15320         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
15321         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
15322         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
15323         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
15324         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
15325         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
15326         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
15327         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
15328         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
15329         * DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
15330         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
15331         (main):
15332         * Scripts/run-webkit-tests:
15333
15334 2007-05-03  Holger Freyther <freyther@kde.org>
15335
15336         Reviewed by Zack, landed by Simon.
15337         This is bugzilla bug 13499.
15338
15339         * GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
15340         * GdkLauncher/main.cpp: We don't have a config.h with the qmake build
15341         * Scripts/build-webkit: Add --gdk for the Gdk port
15342         * Scripts/webkitdirs.pm: Add helper methods for the Gdk port
15343
15344 2007-05-03  Geoffrey Garen  <ggaren@apple.com>
15345
15346         Build fix: Add AllInOneFile.o to the ignore list, since it includes files
15347         in the ignore list.
15348
15349         * Scripts/check-for-global-initializers:
15350
15351 2007-05-02  Holger Freyther <freyther@kde.org>
15352
15353         Reviewed by Mark Rowe.
15354
15355         * Scripts/build-webkit: Remove the CMake call.
15356         * Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
15357         buildsystem for the Qt port.
15358
15359 2007-04-27  Kevin McCullough  <kmccullough@apple.com>
15360
15361         - Removed debugging statements and took out the removal of the deletion
15362           of the symlink.  This is because multiple instances of run-webkit-tests
15363           can be running at the same time.
15364         * Scripts/run-webkit-tests:
15365
15366 2007-04-27  Adam Roben <aroben@apple.com>
15367
15368         Reviewed by Maciej.
15369
15370         Cleaned up prepare-ChangeLog
15371
15372         * Scripts/prepare-ChangeLog: No code changes, but style now matches
15373         the prevalent style of our perl scripts.
15374
15375 2007-04-27  Nazar Kulyk  <schamane@myeburg.net>
15376
15377         Reviewed by Mark Rowe.
15378
15379         Basic auto-correction of user-entered URLs.
15380
15381         * GdkLauncher/main.cpp:
15382         (autocorrectURL):
15383         (goToURLBarText):
15384         (main):
15385
15386 2007-04-28  Mark Rowe  <mrowe@apple.com>
15387
15388         Rubber-stamped by Anders.
15389
15390         Rename some methods and variables to match the style guidelines.
15391
15392         * GdkLauncher/main.cpp:
15393         (stringIsEmpty):
15394         (stringIsEqual):
15395         (goToURLBarText):
15396         (goButtonClickedCallback):
15397         (urlBarEnterCallback):
15398         (frameResizeCallback):
15399         (frameDestroyCallback):
15400         (menuMainBackCallback):
15401         (menuMainForwardCallback):
15402         (menuMainQuitCallback):
15403         (main):
15404
15405 2007-04-27  Holger Freyther <freyther@kde.org>
15406
15407         Reviewed by Maciej.
15408
15409         Remove unmaintained CMake build system.
15410
15411         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
15412         * Scripts/build-webkit: Remove references to CMake.
15413         * Scripts/webkitdirs.pm: Remove references to CMake.
15414
15415 2007-04-26  Alp Toker  <alp@atoker.com>
15416
15417         Reviewed by Mark Rowe.
15418
15419         * GdkLauncher/main.cpp:
15420         (main): Avoid use of deprecated API.
15421
15422 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
15423
15424         - Changed debugging statements for more information.
15425
15426         * Scripts/run-webkit-tests:
15427
15428 2007-04-26  Kevin McCullough  <kmccullough@apple.com>
15429
15430         - Adding debugging statements to see why these tests fail.  These will be removed.
15431
15432         * Scripts/run-webkit-tests:
15433
15434 2007-04-25  Anders Carlsson  <andersca@apple.com>
15435
15436         Reviewed by Mitz.
15437
15438         Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
15439         the dashboard compatibility mode.
15440
15441         * DumpRenderTree/DumpRenderTree.m:
15442         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15443         (+[LayoutTestController webScriptNameForSelector:]):
15444         (-[LayoutTestController setUseDashboardCompatibilityMode:]):
15445         (runTest):
15446         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15447
15448 2007-04-24  Timothy Hatcher  <timothy@apple.com>
15449
15450         Setting the valid architectures to 32-bit only, so these projects
15451         will ignore requests to build them 64-bit. Once they can be built 64-bit,
15452         the valid architectures can be updated.
15453
15454         * Drosera/Drosera.xcodeproj/project.pbxproj:
15455         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15456
15457 2007-04-23  Adam Roben  <aroben@apple.com>
15458
15459         Reviewed by Mark Rowe and David Kilzer.
15460
15461         * Scripts/build-webkit: Print the path to the run-safari script when
15462         finished building so that users can copy-and-paste the command to
15463         execute it.
15464
15465 2007-04-23  Darin Adler  <darin@apple.com>
15466
15467         Reviewed by Hyatt.
15468
15469         - rename box-sizing to -webkit-box-sizing
15470
15471         * Drosera/console.css: Here.
15472         * Drosera/debugger.css: And here.
15473         * Drosera/viewer.css: And here.
15474
15475 2007-04-21  Mitz Pettel  <mitz@webkit.org>
15476
15477         Reviewed by Darin Adler.
15478
15479         - http://bugs.webkit.org/show_bug.cgi?id=13350
15480           Build Ahem into DumpRenderTree
15481
15482         * DumpRenderTree/DumpRenderTree.m:
15483         (activateAhemFont): Added. Activates the copy of Ahem included in the
15484         DumpRenderTree binary.
15485         (dumpRenderTree): Replaced the check that Ahem is available with a call
15486         to activateAhemFont().
15487         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15488           Added linker options to include Ahem in the data section of the
15489           DumpRenderTree binary.
15490
15491 2007-04-20  Adam Roben  <aroben@apple.com>
15492
15493         Reviewed by Darin Adler.
15494
15495         http://bugs.webkit.org/show_bug.cgi?id=13421
15496         Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
15497
15498         * Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
15499
15500 2007-04-18  Brady Eidson  <beidson@apple.com>
15501
15502         Reviewed by Tim
15503
15504         <rdar://problem/5008925>
15505         Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
15506
15507         * DumpRenderTree/ResourceLoadDelegate.m:
15508         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
15509           Add the willCacheResponse delegate call
15510
15511 2007-04-18  Adam Roben  <aroben@apple.com>
15512
15513         Reviewed by David Kilzer.
15514
15515         * Scripts/webkitdirs.pm:
15516         (sub setConfiguration): Added an optional argument to set the
15517         configuration instead of parsing it from ARGV.
15518
15519 2007-04-17  Adam Roben  <aroben@apple.com>
15520
15521         * Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
15522         files as well.
15523
15524 2007-04-17  Adam Roben  <aroben@apple.com>
15525
15526         Added a simple shell script to find all the headers from a specified
15527         framework or frameworks that are included by files beneath the working
15528         directory.
15529
15530         * Scripts/find-included-framework-headers: Added.
15531
15532 2007-04-16  Timothy Hatcher  <timothy@apple.com>
15533
15534         * Drosera/debugger.css: hide the borders for iframes
15535
15536 2007-04-13  Adam Roben  <aroben@apple.com>
15537
15538         Rubberstamped by Anders.
15539
15540         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
15541         stdio.h so that snprintf is defined.
15542
15543 2007-04-13  Brady Eidson  <beidson@apple.com>
15544
15545         Reviewed by Anders
15546
15547         Add the ability to dump the back/forward history of all windows open at the end of a test
15548
15549         * DumpRenderTree/DumpRenderTree.m:
15550         (dumpBackForwardListForWebView): Dump B/F list for the given WebView
15551         (dump): Call dumpBackForwardListForWebView for each WebView open after the test
15552
15553 2007-04-13  Anders Carlsson  <andersca@apple.com>
15554
15555         Reviewed by Brady.
15556
15557         By default, close any windows that have been opened during a test. This can be overridden by
15558         calling setCloseRemainingWindowsWhenComplete(false).
15559
15560         Change the windows set to an array so we can gurantee the enumeration order.
15561
15562         * DumpRenderTree/DumpRenderTree.m:
15563         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15564         (+[LayoutTestController webScriptNameForSelector:]):
15565         (-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
15566         (runTest):
15567         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
15568         (-[DumpRenderTreeWindow dealloc]):
15569
15570 2007-04-13  Geoffrey Garen  <ggaren@apple.com>
15571
15572         Build fix.
15573
15574         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15575         (handleCallback): Explicitly cast the void* returned by malloc.
15576
15577 2007-04-12  Deneb Meketa  <dmeketa@adobe.com>
15578
15579         Reviewed by Darin Adler.
15580
15581         http://bugs.webkit.org/show_bug.cgi?id=13029
15582         rdar://problem/4994849
15583         Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
15584         Changes in WebKitTools are only for the NPAPI test plugin.
15585
15586         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
15587         (pluginInvoke): support null window argument for NPStream creation.
15588         (pluginAllocate): initialization.
15589         (pluginDeallocate): cleanup.
15590         (handleCallback): add second JS callback arg: header dump.
15591         (notifyStream): added; hook from NPP_NewStream to record headers.
15592         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
15593         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
15594         (NPP_NewStream): call new header hook.
15595
15596 2007-04-09  Geoffrey Garen  <ggaren@apple.com>
15597
15598         Reviewed by Maciej Stachowiak.
15599
15600         Fixed fast/forms/textarea-paste-newline.html.
15601
15602         This failure was pretty funny. run-webkit-tests kills and respawns
15603         DumpRenderTree once every 1000 runs. Adding a few tests caused
15604         textarea-paste-newline.html to run right at the beginning of DumpRenderTree's
15605         lifetime, before any render tree dumps had occurred. However, WebCore
15606         used a render tree dump as the hook that set a global flag to allow
15607         pasting through the DOM API, so running before any render tree dumps had
15608         occurred caused this test to fail.
15609
15610         * DumpRenderTree/DumpRenderTree.m:
15611         (dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
15612         API, instead of hoping it will read the tea leaves.
15613
15614 2007-04-07  Mark Rowe  <mrowe@apple.com>
15615
15616         Not reviewed.  Update to match some configuration changes that have been active on build.webkit.org.
15617
15618         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
15619
15620 2007-04-05  Anders Carlsson  <andersca@apple.com>
15621
15622         Reviewed by Adam.
15623
15624         Add support for opening new windows in DumpRenderTree.
15625
15626         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15627         (+[LayoutTestController webScriptNameForSelector:]):
15628         (-[LayoutTestController setCallCloseOnWebViews:]):
15629         (-[LayoutTestController setCanOpenWindows]):
15630         Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
15631         can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on
15632         web views that are about to be closed.
15633
15634         (runTest):
15635         Make sure that only the main window is around when a test has finished running.
15636
15637         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
15638         (-[DumpRenderTreeWindow dealloc]):
15639         Manage the set of windows.
15640
15641         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15642         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15643         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15644         (NPP_Destroy):
15645         Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
15646
15647         * DumpRenderTree/UIDelegate.m:
15648         (-[UIDelegate webView:createWebViewWithRequest:]):
15649         Create new windows.
15650
15651         (-[UIDelegate webViewClose:]):
15652         Close windows.
15653
15654 2007-04-05  Anders Carlsson  <andersca@apple.com>
15655
15656         Reviewed by Maciej.
15657
15658         Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
15659         windows in DRT.
15660
15661         * DumpRenderTree/DumpRenderTree.m:
15662         (createWebView):
15663         (dumpRenderTree):
15664
15665 2007-04-03  Anders Carlsson  <andersca@apple.com>
15666
15667         Reviewed by Darin Adler.
15668
15669         Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
15670
15671         * DumpRenderTree/DumpRenderTree.h:
15672         * DumpRenderTree/DumpRenderTree.m:
15673         (dumpRenderTree):
15674         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15675         (+[LayoutTestController webScriptNameForSelector:]):
15676         (-[LayoutTestController addDisallowedURL:]):
15677         (runTest):
15678         * DumpRenderTree/ResourceLoadDelegate.m:
15679         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
15680
15681 2007-04-03  Mark Rowe  <mrowe@apple.com>
15682
15683         Reviewed by Antti.
15684
15685         * BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
15686
15687 2007-04-02  Anders Carlsson  <andersca@apple.com>
15688
15689         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15690         Don't use #import in a header included by C files.
15691
15692 2007-03-31  Mark Rowe  <mrowe@apple.com>
15693
15694         Reviewed by Mitz.
15695
15696         Fix http://bugs.webkit.org/show_bug.cgi?id=13239
15697         Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
15698
15699         Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
15700         rather than -[WebScriptObject count].
15701
15702         * Drosera/DebuggerDocument.m:
15703         (-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
15704
15705 2007-03-30  Anders Carlsson  <andersca@apple.com>
15706
15707         Reviewed by Geoff.
15708
15709         Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
15710
15711         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15712         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15713         (NPP_New):
15714         Look for the onstreamload attribute.
15715
15716         (NPP_Destroy):
15717         Free the onstreamload attribute.
15718
15719         (NPP_NewStream):
15720         Call the onstreamload handler.
15721
15722 2007-03-30  Geoffrey Garen  <ggaren@apple.com>
15723
15724         Removing an assertion I just added because it's crashing the Leopard
15725         buildbot. The related layout test will still report a failure, so we
15726         don't really need this assertion.
15727
15728         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15729         (pluginInvoke):
15730
15731 2007-03-30  Anders Carlsson  <andersca@apple.com>
15732
15733         Reviewed by Geoff.
15734
15735         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
15736         (testAllocate):
15737         (testEnumerate):
15738         Add casts.
15739
15740         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
15741         Don't use #import, use #include.
15742
15743 2007-03-30  Anders Carlsson  <andersca@apple.com>
15744
15745         Reviewed by Alexey.
15746
15747         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15748         (pluginInvoke):
15749         Free the identifier string.
15750
15751 2007-03-30  Anders Carlsson  <andersca@apple.com>
15752
15753         Reviewed by Geoff.
15754
15755         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
15756         Add TestObject.c and TestObject.h
15757
15758         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15759         (pluginGetProperty):
15760         Implement the testObject property.
15761
15762         (pluginInvoke):
15763         Implement testEnumerate which takes an object and an array and enumerates
15764         the properties of the object and adds them to the array.
15765
15766         (pluginAllocate):
15767         Allocate the test object.
15768
15769         (pluginDeallocate):
15770         Free the test object.
15771
15772         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
15773         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
15774         Add a test object with two enumerable properties.
15775
15776 2007-03-29  Geoffrey Garen  <ggaren@apple.com>
15777
15778         Reviewed by Beth Dakin.
15779
15780         Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in
15781         -[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:]
15782         navigating away from page with DivX movie plug-in (13203)
15783
15784         Added hasStream property and destroyStream function, used by layout test.
15785
15786         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15787         (pluginGetProperty):
15788         (pluginInvoke):
15789         (pluginAllocate):
15790         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
15791         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
15792         (NPP_NewStream):
15793
15794 2007-03-27  Anders Carlsson  <acarlsson@apple.com>
15795
15796         Reviewed by Geoff.
15797
15798         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
15799         (pluginInvoke):
15800         Add new function which takes a function and calls it using NPN_InvokeDefault.
15801
15802 2007-03-27  Adele Peterson  <adele@apple.com>
15803
15804         Adding comment.
15805
15806         * DumpRenderTree/DumpRenderTree.m:
15807         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
15808
15809 2007-03-27  Adele Peterson  <adele@apple.com>
15810
15811         Fix svg tests by calling displayIfNeeded.
15812
15813         * DumpRenderTree/DumpRenderTree.m:
15814         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
15815
15816 2007-03-26  Mark Rowe  <mrowe@apple.com>
15817
15818         Reviewed by Sam Weinig.
15819
15820         Upload crash logs from DumpRenderTree as part of the test results to ease debugging
15821         of hard-to-reproduce crashes.
15822
15823         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
15824
15825 2007-03-23  Adam Treat  <adam@staikos.net>
15826
15827         Reviewed and committed by George.
15828
15829         Patch by Adam Treat.  Removes hardcoded path to .pro file.
15830
15831 2007-03-22  Adam Roben  <aroben@apple.com>
15832
15833         Reviewed by Geoff.
15834
15835         Removed eventSender.mouseClick because it was only useful for AppKit
15836         controls, which we don't use anymore.
15837
15838         * DumpRenderTree/EventSendingController.m:
15839         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
15840         mouseClick.
15841
15842 2007-03-22  Adam Roben  <aroben@apple.com>
15843
15844         Reviewed by Ada.
15845
15846         Make eventSender.mouseClick actually send a mouse up event.
15847
15848         * DumpRenderTree/EventSendingController.m:
15849         (-[EventSendingController mouseClick]):
15850
15851 2007-03-19  David Hyatt  <hyatt@apple.com>
15852
15853         Update the minimum font size pref to match the actual default setting in Safari.  It should have been 1
15854         all this time and not 9.
15855
15856         Reviewed by aroben
15857
15858         * DumpRenderTree/DumpRenderTree.m:
15859         (dumpRenderTree):
15860
15861 2007-03-18  Dan Waylonis  <waylonis@mac.com>
15862
15863         Reviewed by Tim Hatcher.
15864
15865         DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
15866         Bug 13005: WebScriptObject +throwException needs NULL check.
15867
15868         Add tests to ensure that a plugin can safely throw an exception in dealloc.
15869
15870         * DumpRenderTree/ObjCPlugin.h:
15871         * DumpRenderTree/ObjCPlugin.m:
15872         (+[ObjCPlugin webScriptNameForKey:]):
15873         (+[ObjCPlugin isKeyExcludedFromWebScript:]):
15874         (-[ObjCPlugin dealloc]):
15875
15876 2007-03-13  Mark Rowe  <mrowe@apple.com>
15877
15878         Reviewed by Maciej.
15879
15880         Have the nightly launcher prefer Safari found in /Applications or ~/Applications
15881         if present, otherwise fall back on using LaunchServices to locate it elsewhere
15882         on the system.  The motivation for this is to make the behaviour of the nightly
15883         builds more predictable on machines with multiple copies of Safari present.
15884
15885         * WebKitLauncher/main.m:
15886         (locateSafariBundle):
15887         (main):
15888
15889 2007-03-12  Darin Adler  <darin@apple.com>
15890
15891         Reviewed by Tim Hatcher.
15892
15893         - add a DumpRenderTree feature where you can get the Objective-C
15894           class name of a JavaScript object
15895
15896         * DumpRenderTree/DumpRenderTree.m:
15897         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
15898         objCClassNameOf: selector.
15899         (+[LayoutTestController webScriptNameForSelector:]): Add the
15900         objCClassNameOf: selector, with the name "objCClassName".
15901         (-[LayoutTestController objCClassNameOf:]): Added.
15902
15903 2007-03-11  Geoffrey Garen  <ggaren@apple.com>
15904
15905         Reviewed by Oliver Hunt.
15906
15907         Beefed up --threaded mode in light of <rdar://problem/4681051> Installer
15908         crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*)
15909         trying to install iLife 06 using Rosetta on an Intel Machine
15910
15911         --threaded mode now runs a bunch of different JavaScript threads, randomly
15912         killing and respawning them. This was sufficient for reproducing the
15913         bug on my MacBook Pro.
15914
15915         * DumpRenderTree/DumpRenderTree.m:
15916         (javaScriptThreads):
15917         (runJavaScriptThread):
15918         (startJavaScriptThreads):
15919         (stopJavaScriptThreads):
15920         (dumpRenderTree):
15921
15922 2007-03-11  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
15923
15924         Reviewed by Brady Eidson.
15925
15926         Add forward/backward/quit menus for easier testing.
15927
15928         * GdkLauncher/main.cpp:
15929         (menuMainBackCb):
15930         (menuMainForwardCb):
15931         (menuMainQuitCb):
15932         (main):
15933
15934 2007-03-09  Andrew Wellington  <proton@wiretapped.net>
15935
15936         Reviewed by Darin Adler.
15937
15938         - fix http://bugs.webkit.org/show_bug.cgi?id=13007
15939           svn-create-patch doesn't handle UTF files with BOMs as text
15940
15941         Force diff to treat files that svn-create-patch thinks are text as text.
15942
15943         * Scripts/svn-create-patch: Added -a switch to diff command.
15944
15945 2007-03-09  Mark Rowe  <mrowe@apple.com>
15946
15947         Unreviewed.  Use the new SVN URL on the buildbot.
15948
15949         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
15950
15951 2007-03-08  Mark Rowe  <mrowe@apple.com>
15952
15953         Reviewed by Antti.
15954
15955         Fix compiler warnings when building Drosera as 64-bit.
15956
15957         * Drosera/DebuggerDocument.m:
15958         (-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
15959         (-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
15960         (-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
15961
15962 2007-03-07  Mark Rowe  <mrowe@apple.com>
15963
15964         Reviewed by Maciej.
15965
15966         Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
15967
15968         * Scripts/check-for-global-initializers:
15969
15970 2007-03-07  Anders Carlsson  <acarlsson@apple.com>
15971
15972         Reviewed by Adam.
15973
15974         Add some assertions.
15975
15976         * DumpRenderTree/DumpRenderTree.m:
15977         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
15978         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
15979         (-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
15980         (-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
15981
15982 2007-03-07  David Kilzer  <ddkilzer@webkit.org>
15983
15984         Reviewed by Darin Adler.
15985
15986         - WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
15987           WebArchiver - attempt to insert nil exception when archive empty iframe
15988
15989         The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
15990         a webarchive while the dumpSourceAsWebArchive() test method uses the original
15991         dataSource (page source) to create a webarchive.  Most tests currently use
15992         dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
15993         webarchive.
15994
15995         * DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
15996         Added dumpSourceAsWebArchive.
15997         (dump):
15998         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
15999         (-[LayoutTestController dumpDOMAsWebArchive]):
16000         (-[LayoutTestController dumpSourceAsWebArchive]):
16001         (runTest):
16002
16003 2007-03-05  Kevin McCullough  <kmccullough@apple.com>
16004
16005         Reviewed by Mark and Dave H.
16006
16007         - rdar://problem/4922454
16008         - This fixes a security issue by making remote referrers not able to access local
16009         resources, unless they register their schemes to be treated as local. The result is
16010         that those schemes can access local resources and cannot be accessed by remote
16011         referrers.
16012         Because this behavior is new a link-on-or-after check is made to determine if the
16013         app should use the older, less safe, behavior.
16014
16015         * DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
16016         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16017         (+[LayoutTestController webScriptNameForSelector:]):
16018         (-[LayoutTestController setUserStyleSheetLocation:]):
16019         (-[LayoutTestController setUserStyleSheetEnabled:]):
16020
16021 2007-03-05  Anders Carlsson  <acarlsson@apple.com>
16022
16023         Reviewed by Adam, Darin.
16024
16025         <rdar://problem/5025212>
16026         In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
16027
16028         Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
16029         to be run when the URL has finished (or failed) loading.
16030
16031         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
16032         (pluginInvoke):
16033         (handleCallback):
16034         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
16035         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
16036         (NPP_URLNotify):
16037
16038 2007-03-04  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
16039
16040         Reviewed by Nikolas Zimmermann.
16041
16042         Load a url given on a command line in a way that also
16043         works for local (file://) urls.
16044
16045         * GdkLauncher/main.cpp:
16046         (main):
16047
16048 2007-03-02  Geoffrey Garen  <ggaren@apple.com>
16049
16050         Tweaked parse-malloc-history to work with new malloc_history output format.
16051
16052         * Scripts/parse-malloc-history:
16053
16054 2007-02-28  Vladimir Olexa  <vladimir.olexa@gmail.com>
16055
16056         Reviewed by Tim H.
16057
16058         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
16059         Bug#12887: [Drosera] Add ability to close loaded files
16060
16061         * Drosera/DebuggerDocument.h:
16062         * Drosera/DebuggerDocument.m:
16063         (-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
16064         * Drosera/Drosera.xcodeproj/project.pbxproj:
16065         * Drosera/English.lproj/MainMenu.nib/classes.nib:
16066         * Drosera/English.lproj/MainMenu.nib/info.nib:
16067         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
16068         * Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
16069         * Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
16070
16071 2007-02-28  Nikolas Zimmermann  <zimmermann@kde.org>
16072
16073         Reviewed by Maciej.
16074
16075         Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
16076
16077         * Scripts/build-webkit:
16078
16079 2007-02-27  Geoffrey Garen  <ggaren@apple.com>
16080
16081         Small tweak to run-webkit-tests.
16082
16083         * Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
16084         1000 MallocStackLogging tests at a time.
16085
16086 2007-02-26  Maciej Stachowiak  <mjs@apple.com>
16087
16088         Reviewed by Lars.
16089
16090         - set ENABLE_XSLT even when compiling without SVG support, since that is no
16091         longer hardcoded into config.h.
16092
16093         * Scripts/build-webkit:
16094
16095 2007-02-26  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
16096
16097         Reviewed by Adam Roben.
16098
16099         Rename *_SUPPORT defines to ENABLE_*.
16100
16101         * GdkLauncher/gdklauncher.bkl:
16102
16103 2007-02-24  Geoffrey Garen  <ggaren@apple.com>
16104
16105         Reviewed by Darin Adler.
16106
16107         * Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
16108         fixed.
16109
16110 2007-02-24  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
16111
16112         Reviewed by Adam Roben.
16113
16114         Improve gdklauncher: add text field for entering url.
16115
16116         * GdkLauncher/gdklauncher.bkl:
16117         * GdkLauncher/main.cpp:
16118         (strEmpty):
16119         (strEq):
16120         (handleGdkEvent):
16121         (goToUrlBarText):
16122         (goButtonClickedCb):
16123         (urlBarEnterCb):
16124         (registerRenderingAreaEvents):
16125         (frameResizeCb):
16126         (frameDestroyCb):
16127         (main):
16128
16129 2007-02-22  Vladimir Olexa  <vladimir.olexa@gmail.com>
16130
16131         Reviewed by Tim H.
16132
16133         Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
16134         Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
16135         * Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
16136
16137 2007-02-22  Adele Peterson  <adele@apple.com>
16138
16139         Reviewed by Darin Adler.
16140
16141         Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
16142         can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
16143
16144         * DumpRenderTree/DumpRenderTree.m:
16145         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16146         (+[LayoutTestController webScriptNameForSelector:]):
16147         (-[LayoutTestController setTabKeyCyclesThroughElements:]):
16148
16149 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
16150
16151         Used svn merge -r19786:19785 to roll out previous hack to work around
16152         SVG painting issue in DRT.
16153
16154         Implemented new work-around, which makes --paint paint *after* dumping
16155         the render tree instead of before, so that painting doesn't influence
16156         the SVG render tree.
16157
16158         This should fix the ~400 new pixel failures introduced in r19786.
16159
16160         * DumpRenderTree/DumpRenderTree.m:
16161         (dump):
16162         * Scripts/run-webkit-tests:
16163
16164 2007-02-22  Geoffrey Garen  <ggaren@apple.com>
16165
16166         Resetting --leaks mode default to run 1000 tests at a time because setting it
16167         to 750 didn't stop the stack logging related crashes, and running more tests
16168         at a time is faster. The crashes seem to be a real bug in stack logging,
16169         not an out of memory condition.
16170
16171         * Scripts/run-webkit-tests:
16172
16173 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
16174
16175         Reviewed by Adam Roben.
16176
16177         Added hack to force painting when running an SVG test. This is a work-around
16178         for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at
16179         paint time instead of style resolution time.
16180
16181         We need this so that --leaks mode, which always paints, doesn't appear to
16182         fail SVG tests. We also need this if we ever want to test style application
16183         in SVG, since many SVGs don't apply style to their renderers until they paint.
16184
16185         * Scripts/run-webkit-tests:
16186
16187 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
16188
16189         Reduced --leaks mode to running only 750 tests at a time, in the hopes
16190         of fixing intermittent crasher that may be caused by out of memory
16191         conditions.
16192
16193         * Scripts/run-webkit-tests:
16194
16195 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
16196
16197         Reviewed by Darin Adler.
16198
16199         Made DRT paint when running run-webkit-tests in --leaks mode, to check
16200         for painting leaks.
16201
16202         * DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
16203         that's the default for statics.
16204         (dumpRenderTree): Added --paint command line option, which specifies that
16205         DRT should paint at the end of every test.
16206         (displayWebView): New function, called by dump() and -[LayoutTestController display].
16207         * Scripts/run-webkit-tests: Use the --paint command line option when checking
16208         for leaks.
16209
16210         * Scripts/run-webkit-tests: Added a new, painting leak to the ignore list.
16211         Removed stale comment about THRD leaks -- we now ignore them reliably.
16212
16213 2007-02-21  Geoffrey Garen  <ggaren@apple.com>
16214
16215         Tools tweak. No review necessary.
16216
16217         * Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
16218         arguments. Changed command line argument variables from special implicit
16219         no-op values to specific empty values that we test explicitly.
16220
16221 2007-02-21  Vladimir Olexa  <vladimir.olexa@gmail.com>
16222
16223         Reviewed by Tim H.
16224
16225         Bug 12834: Drosera should remember scroll position of open files like Xcode
16226         http://bugs.webkit.org/show_bug.cgi?id=12834
16227
16228         * Drosera/debugger.js: Implemented scrolling memory
16229
16230 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
16231
16232         Tools tweak. No review necessary.
16233
16234         Made parse-malloc-history executable. (Oops!)
16235
16236         Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history"
16237         output.
16238
16239         Added the ability to merge callstacks by regexp, not just depth, so you
16240         can ask questions like, "How many of these allocations were due to that one
16241         call to ...?"
16242
16243         * Scripts/parse-malloc-history:
16244
16245 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
16246
16247         * Scripts/parse-malloc-history: Added copyright info.
16248
16249 2007-02-20  Geoffrey Garen  <ggaren@apple.com>
16250
16251         Reviewed by Darin Adler.
16252
16253         New script to parse the output from malloc_history, so we can determine
16254         what's using memory in WebKit.
16255
16256         * Scripts/parse-malloc-history: Added.
16257
16258 2007-02-20  Graham Dennis  <graham.dennis@gmail.com>
16259
16260         Reviewed by Darin Adler.
16261
16262         Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
16263         WebKit.framework is built with SVG_SUPPORT for No-SVG build
16264
16265         * Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
16266
16267 2007-02-19  Geoffrey Garen  <ggaren@apple.com>
16268
16269         Build fix.
16270
16271         * Scripts/check-for-global-initializers: Ignore the global counter I added
16272         for SubresourceLoaders.
16273
16274 2007-02-19  Darin Adler  <darin@apple.com>
16275
16276         Reviewed by Tim Hatcher.
16277
16278         * Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
16279         Without this, you only see the global initializer error once, which makes it very easy
16280         to miss them.
16281
16282 2007-02-16  Mark Rowe  <mrowe@apple.com>
16283
16284         Not reviewed.
16285
16286         <rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
16287
16288         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
16289
16290 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
16291
16292         Reviewed by Beth Dakin.
16293
16294         * DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
16295         leaks anymore, either, since r19486 fixed them, too.
16296         (shouldIgnoreWebCoreNodeLeaks):
16297
16298 2007-02-15  Darin Adler  <darin@apple.com>
16299
16300         * Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
16301         fixed by change 19486.
16302
16303 2007-02-15  Geoffrey Garen  <ggaren@apple.com>
16304
16305         Reviewed by Beth Dakin.
16306
16307         Ignore another leak, seen recently on the buildbot.
16308
16309         * Scripts/run-webkit-tests:
16310
16311 2007-02-14  Geoffrey Garen  <ggaren@apple.com>
16312
16313         Reviewed by Beth Dakin.
16314
16315         Ignore another leak, seen recently on the buildbot.
16316
16317         * Scripts/run-webkit-tests:
16318
16319 2007-02-13  Darin Adler  <darin@apple.com>
16320
16321         * Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
16322         giant line.
16323
16324 2007-02-11  Maciej Stachowiak  <mjs@apple.com>
16325
16326         Reviewed by Mitz.
16327
16328         - add contextClick() operation to eventSender to be able to test this
16329
16330         * DumpRenderTree/EventSendingController.m:
16331         (+[EventSendingController isSelectorExcludedFromWebScript:]):
16332         (-[EventSendingController contextClick]):
16333
16334 2007-02-11  Darin Adler  <darin@apple.com>
16335
16336         * Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
16337         so it doesn't give a perl exception (happens in clean builds, for example).
16338
16339 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
16340
16341         Reviewed by Adam.
16342
16343         * Scripts/svn-create-patch:
16344         (findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
16345         a relative path to the copied file.
16346
16347 2007-02-10  Timothy Hatcher  <timothy@apple.com>
16348
16349         Reviewed by Sam Weinig.
16350
16351         * Drosera/Drosera.icns: updated the icon with 512px and 256px variants
16352
16353 2007-02-10  David Kilzer  <ddkilzer@webkit.org>
16354
16355         Reviewed by Timothy.
16356
16357         * Scripts/svn-apply:
16358         (handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
16359         encoded text.
16360
16361 2007-02-10  Brady Eidson <beidson@apple.com>
16362
16363         Reviewed by Maciej
16364
16365         <rdar://problem/4965133> WebKit sends file:// url referrers
16366
16367         * Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
16368           on local files, but have an httpd for remote resources
16369
16370 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
16371
16372         Reviewed by Beth Dakin.
16373
16374         Ignore another false leak report.
16375
16376         * Scripts/run-webkit-tests:
16377
16378 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
16379
16380         Reviewed by Kevin McCullough.
16381
16382         * Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
16383         already exists, to avoid confusing error message.
16384
16385         Also, remove /tmp/LayoutTests after running so unsupecting fools don't
16386         try to rm -rf it, only later to discover that they have completely hosed
16387         their machines.
16388
16389 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
16390
16391         Reviewed by Adam Roben.
16392
16393         Linux/gdk build fixes.
16394
16395         * GdkLauncher/main.cpp: Add -exit-after-loading and
16396         -dump-render-tree as debugging aid.
16397         (strEq):
16398         (main):
16399
16400 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
16401
16402         Minor fixup based on Maciej's review last night.
16403
16404         * Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
16405         and do a little math to make it work.
16406
16407 2007-02-08  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
16408
16409         Reviewed by Adam Roben.
16410
16411         Linux/gdk build fixes.
16412
16413         * GdkLauncher/gdklauncher.bkl:
16414
16415 2007-02-08  Kevin McCullough  <KMcCullough@apple.com>
16416
16417         - Fix layout test failures.
16418
16419         * Scripts/run-webkit-tests:
16420
16421 2007-02-08  Darin Adler  <darin@apple.com>
16422
16423         Reviewed by Anders.
16424
16425         * Scripts/check-for-global-initializers: For speed, only check files that
16426         have been modified since the last time we linked. For tidiness, capture
16427         stderr from nm, and prevent "nm: no name list" messages from going out.
16428
16429 2007-02-08  Geoffrey Garen  <ggaren@apple.com>
16430
16431         Reviewed by Maciej Stachowiak, Adam Roben.
16432
16433         Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
16434         arbitrary number n.
16435
16436         Plus some renames:
16437             - DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
16438             - checkLeaks => "shouldCheckLeaks" (to match style guidelines)
16439             - tool => dumpTool (to match abstraction elsewhere)
16440             - httpdOpen => isHttpdOpen (to match style guidelines)
16441
16442         Plus a few logic fixups:
16443             - Don't check isDumpToolOpen when we know we've called openDumpTool().
16444             - Use a single code path to decide when to shut down dumpTool and
16445               when to check for leaks, since the operations are coincidental.
16446             - Use a single code path for running the leaks tool, since the only
16447               thing that varies between configurations is the output file name.
16448             - Increment $count after each test finishes, instead of at the end
16449               of the loop, to help with comparing to the length of the array
16450               and %-ing by n.
16451             - Use a more robust test inside the loop to determine if we need to
16452               close dumpTool, instead of copying the closing code outside the loop.
16453
16454         Layout tests pass.
16455
16456         * Scripts/run-webkit-tests:
16457
16458 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
16459
16460         Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
16461
16462         Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
16463         catch all reports of them, not just those inside pthread_create.
16464
16465         Also, use "\\" instead of "\" because we need the actual \ to get into the
16466         regexp string if it's going to do any escaping. (Oops!)
16467
16468         * Scripts/run-webkit-tests:
16469
16470 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
16471
16472         Reviewed by Bethany P. Dakin.
16473
16474         The 's' is optional when the leaks tool reports 'leaks'.
16475
16476         * Scripts/run-leaks:
16477
16478 2007-02-06  Geoffrey Garen  <ggaren@apple.com>
16479
16480         Reviewed by Bethany P. Dakin.
16481
16482         Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
16483
16484         * Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
16485
16486 2007-02-06  David Smith  <catfish.man@gmail.com>
16487
16488         Reviewed by Darin Adler.
16489
16490         Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
16491         [Drosera] Console history fixups
16492
16493         * Drosera/console.js: assorted cleanups and fixes
16494
16495 2007-02-05  Geoffrey Garen  <ggaren@apple.com>
16496
16497         Reviewed by Darin Adler.
16498
16499         New script that allows you to ignore leaks by regular expression.
16500
16501         * Scripts/run-leaks: Added.
16502
16503 2007-02-03  Sam Weinig  <sam@webkit.org>
16504
16505         Reviewed by Mark.
16506
16507         Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
16508         Drosera doesn't handle CR ( carriage returns ) well
16509
16510         - Normalize all the line endings.
16511
16512         * Drosera/debugger.js:
16513
16514 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
16515
16516         Reviewed by Darin Adler.
16517
16518         Added some more known leaks to the leaks ignore list.
16519
16520         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
16521         hate itself so much?
16522         * Scripts/run-webkit-tests:
16523
16524 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
16525
16526         Even better build fix than the last.
16527
16528         * ChangeLog:
16529         * DumpRenderTree/DumpRenderTree.m:
16530         (shouldIgnoreWebCoreNodeLeaks):
16531
16532 2007-02-02  Geoffrey Garen  <ggaren@apple.com>
16533
16534         Fixed build. Added work-around for GCC bug.
16535
16536         * DumpRenderTree/DumpRenderTree.m:
16537         (shouldIgnoreWebCoreNodeLeaks):
16538
16539 2007-02-01  Geoffrey Garen  <ggaren@apple.com>
16540
16541         Reviewed by Maciej Stachowiak.
16542
16543         Added support for selectively ignoring WebCore::Node leaks during layout
16544         tests, so that we can ignore known leaks in other components.
16545
16546         * DumpRenderTree/DumpRenderTree.m:
16547         (shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
16548         WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
16549         confuse anyone else?
16550         (runTest):
16551
16552 2007-02-01  Anders Carlsson  <acarlsson@apple.com>
16553
16554         Reviewed by Darin Adler.
16555
16556         * DumpRenderTree/UIDelegate.m:
16557         (-[UIDelegate webView:addMessageToConsole:]):
16558         Dump console messages.
16559
16560 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
16561
16562         * DumpRenderTree/ResourceLoadDelegate.m:
16563         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
16564         Use an NSString here so we can guarantee that -description always returns the same value.
16565
16566 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
16567
16568         Reviewed by Darin Adler.
16569
16570         Added Selection::toRange to the leaks -exclude list, since it comes up
16571         as a false positive (Radar 4967949).
16572
16573         Also added RangeCounter to the global initializer exclude list. I added
16574         a RangeCounter since leaks won't detect all Range leaks anymore.
16575
16576         * Scripts/check-for-global-initializers:
16577         * Scripts/run-webkit-tests:
16578
16579 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
16580
16581         * DumpRenderTree/ResourceLoadDelegate.m:
16582         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
16583         Don't try to create an identifier if resource loads shouldn't be dumped.
16584
16585 2007-01-31  Anders Carlsson  <acarlsson@apple.com>
16586
16587         Reviewed by Geoff.
16588
16589         Add dumping of resource loads. This isn't completely tweaked yet since the test results would
16590         rely on resources being delivered in the same order which might not always be true. However, it works good
16591         enough for the simple webarchive tests I want to do right now.
16592
16593         * DumpRenderTree/DumpRenderTree.h:
16594         * DumpRenderTree/DumpRenderTree.m:
16595         (dumpRenderTree):
16596         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16597         (-[LayoutTestController dumpResourceLoadCallbacks]):
16598         (runTest):
16599
16600         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
16601         * DumpRenderTree/ResourceLoadDelegate.h: Added.
16602         * DumpRenderTree/ResourceLoadDelegate.m: Added.
16603         Add new resource load delegate.
16604
16605 2007-01-31  Geoffrey Garen  <ggaren@apple.com>
16606
16607         Backing out the CFRunLoopRunSpecific exclude command because it was overly
16608         broad. We'll either need to work around this leak in DRT, or do some
16609         custom grep-based leak ignoring.
16610
16611         * Scripts/run-webkit-tests:
16612
16613 2007-01-30  Geoffrey Garen  <ggaren@apple.com>
16614
16615         Reviewed by Beth Dakin.
16616
16617         Filed some more Radars in other components, added some more leaks to the
16618         exclusion list.
16619
16620         * Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
16621         CFRunLoopRunSpecific, and NSSpellChecker.
16622
16623 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
16624
16625         Reviewed by Darin Adler.
16626
16627         http://bugs.webkit.org/show_bug.cgi?id=11882
16628         Need a way to regression test .webarchive output files
16629
16630         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
16631         Alters WebResourceResponse and WebResourceURL properties within WebArchive format
16632         to normalize URLs to remove path where WebKit was checked out.  Also converts
16633         WebDataResource properties from data to string if the corresponding
16634         WebResourceMIMEType property starts with "text/" or equals
16635         "application/x-javascript".
16636
16637         * DumpRenderTree/DumpRenderTree.m:
16638         (convertWebResourceDataToString): Added.
16639         (normalizeWebResourceURL): Added.
16640         (normalizeWebResourceResponse): Added.
16641         (serializeWebArchiveToXML): Added.
16642         (dump):
16643         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16644         (-[LayoutTestController dumpAsWebArchive]): Added.
16645         (runTest):
16646
16647 2007-01-30  David Kilzer  <ddkilzer@webkit.org>
16648
16649         Reviewed by Mark Rowe.
16650
16651         http://bugs.webkit.org/show_bug.cgi?id=12470
16652         svn-create-patch creates duplicate patches for files within an added/modified directory
16653
16654         * Scripts/svn-create-patch:
16655         (sub generateFileList($\%\%)): Ignore directories when generating the file list.
16656
16657 2007-01-29  Geoffrey Garen  <ggaren@apple.com>
16658
16659         Reviewed by Maciej Stachowiak.
16660
16661         Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
16662
16663         No more mollycoddling for you, FastMalloc.o!
16664
16665         * Scripts/check-for-global-initializers:
16666
16667 2007-01-29  Graham Dennis  <graham.dennis@gmail.com>
16668
16669         Reviewed by Maciej.
16670
16671         Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
16672         Image data in from RTFD clipboard data thrown away
16673
16674         - This method is needed because NSArrays are bridged to JS Arrays,
16675           which in turn are bridged back to WebScriptObjects when passed from
16676           JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
16677
16678         * DumpRenderTree/DumpRenderTree.m:
16679         (-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
16680
16681 2007-01-25  Geoffrey Garen  <ggaren@apple.com>
16682
16683         Reviewed by Maciej Stachowiak.
16684
16685         Added support for test for <rdar://problem/4608404> WebScriptObject's
16686         _rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
16687
16688         * DumpRenderTree/DumpRenderTree.m:
16689         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
16690         (+[LayoutTestController webScriptNameForSelector:]):
16691         (-[LayoutTestController storeWebScriptObject:]):
16692         (-[LayoutTestController accessStoredWebScriptObject]):
16693         (-[LayoutTestController dealloc]):
16694
16695 2007-01-26  Lars Knoll <lars@trolltech.com>
16696
16697         Reviewed by Zack
16698
16699         Small hack to ensure that our top level frame actually has the
16700         correct size. Unfortunately this means I'll have to regenerate
16701         all test cases :/
16702
16703         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16704         (WebCore::DumpRenderTree::DumpRenderTree):
16705
16706 2007-01-25  Lars Knoll <lars@trolltech.com>
16707
16708         Reviewed by Darin and Zack
16709
16710         Move the test results for Qt into a directory of it's own
16711         (WebKit/LayoutTestResults/qt). Leave the Mac results where
16712         they are for now and share the text only results between
16713         Mac and Qt.
16714
16715         Add support for a LayoutTestResults/platform/Skipped file
16716         to run-webkit-tests to be able to ignore certain tests
16717
16718         Remove the old tests-skipped.txt from Qts DumpRenderTree
16719         implementation.
16720
16721         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16722         (WebCore::DumpRenderTree::DumpRenderTree):
16723         (WebCore::DumpRenderTree::open):
16724         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16725         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
16726         * Scripts/run-webkit-tests:
16727
16728 2007-01-24  Darin Adler  <darin@apple.com>
16729
16730         Reviewed by Oliver.
16731
16732         - fix crash seen in layout tests
16733
16734         * DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
16735         Add back the line of code that sets savedMouseEvents to nil. I thought it was
16736         a field of the EventSendingController, but it's actually a global.
16737
16738 2007-01-24  Darin Adler  <darin@apple.com>
16739
16740         Reviewed by Maciej.
16741
16742         - changed dragMode to be a property instead of a function
16743
16744         * DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
16745         * DumpRenderTree/EventSendingController.m:
16746         (+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
16747         (+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
16748         (-[EventSendingController init]): Updated for name change.
16749         (-[EventSendingController leapForward:]): Ditto.
16750         (-[EventSendingController mouseUp]): Ditto.
16751         (-[EventSendingController mouseMoveToX:Y:]): Ditto.
16752
16753 2007-01-24  Darin Adler  <darin@apple.com>
16754
16755         Reviewed by Maciej.
16756
16757         - made the deferral of mouse events until drag completes conditional
16758           it's needed for drag testing, and harmful for selection testing
16759
16760         * DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
16761         * DumpRenderTree/EventSendingController.m:
16762         (+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
16763         (+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
16764         and remove unneeded clearKillRing name.
16765         (-[EventSendingController init]): Initialize inDragMode to true.
16766         (-[EventSendingController dealloc]): Removed overzealous assertions -- we should
16767         not be asserting things that are dependent on the test content!
16768         (-[EventSendingController leapForward:]): Only queue events in drag mode.
16769         (-[EventSendingController setDragMode:]): Added.
16770         (-[EventSendingController mouseDown]): Removed overzealous assertion.
16771         (-[EventSendingController mouseUp]): Removed overzealous assertions.
16772         Only queue events in drag mode.
16773         (-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
16774
16775 2007-01-24  Lars Knoll <lars@trolltech.com>
16776
16777         Reviewed by Zack
16778
16779         Add a signal handler, always dump immediately if we get an
16780         error during a page load and raise the timeout to 5 seconds
16781         (as we get a lot less such failures now)
16782
16783         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16784         (WebCore::DumpRenderTree::DumpRenderTree):
16785         (WebCore::DumpRenderTree::maybeDump):
16786         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16787         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
16788         (LayoutTestController::waitUntilDone):
16789         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
16790         (crashHandler):
16791         (main):
16792         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
16793
16794 2007-01-22  Darin Adler  <darin@apple.com>
16795
16796         Reviewed by Mitz.
16797
16798         - a couple tiny tweaks to make --reset-results work better
16799
16800         * Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
16801         Don't make a separate "new" entry while generating results when --reset-results
16802         is specified since new results are the norm in that case.
16803
16804 2007-01-21  Sanjay Madhav  <sanjay12@gmail.com>
16805
16806         Reviewed by Darin Adler.
16807
16808         Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
16809
16810         This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
16811
16812         * DumpRenderTree/GCController.h:
16813         * DumpRenderTree/GCController.mm:
16814         (+[GCController isSelectorExcludedFromWebScript:]):
16815         (-[GCController getJSObjectCount]):
16816
16817 2007-01-20  Mark Rowe  <mrowe@apple.com>
16818
16819         Reviewed by Maciej.
16820
16821         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
16822         catch single regressions, and don't generate tests results for new tests.
16823
16824 2007-01-20  Adam Roben  <aroben@apple.com>
16825
16826         Rubberstamped by Maciej.
16827
16828         * Scripts/run-webkit-tests: Change the default behavior back to
16829         generating results for new tests (this can be disabled with
16830         --no-new-test-results)
16831
16832 2007-01-19  Lars Knoll <lars@trolltech.com>
16833
16834         Reviewed by Adam Roben.
16835
16836         run-webkit-tests does now not generate new results by default anymore.
16837         You'll have to pass the --new-tests flag to it to force it to do so.
16838
16839         This is required to make it possible to have tests running on multiple
16840         platforms peacefully together.
16841
16842         * Scripts/run-webkit-tests:
16843
16844 2007-01-18  Darin Adler  <darin@apple.com>
16845
16846         Reviewed by John Sullivan.
16847
16848         * Scripts/run-webkit-tests: Fix handling of configuration so it
16849         does the right thing when no explicit configuration is passed in.
16850         The old code assumed that the result of setConfiguration() was the
16851         configuration, but it's undefined when no configuration is
16852         explicitly passed in. The correct function to use is
16853         configuration(), and I also streamlined the code.
16854
16855 2007-01-17  Lars Knoll <lars@trolltech.com>
16856
16857         Fix my last commit to actually work in all cases.
16858
16859         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16860         (WebCore::DumpRenderTree::readStdin):
16861
16862 2007-01-17  Lars Knoll <lars@trolltech.com>
16863
16864         Reviewed by Maciej
16865
16866         Make sure DumpRenderTree exits when run-webkit-tests
16867         is done.
16868
16869         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16870         (WebCore::DumpRenderTree::readStdin):
16871
16872 2007-01-17  Lars Knoll <lars@trolltech.com>
16873
16874         Reviewed by Zack
16875
16876         Small fixes in DumpRenderTree, so we don't by
16877         accident dump twice for the same test.
16878
16879         Exclude one more test as it currently causes DumpRenderTree to
16880         hang forever.
16881
16882         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16883         (WebCore::DumpRenderTree::readStdin):
16884         (WebCore::DumpRenderTree::dump):
16885         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
16886         (LayoutTestController::notifyDone):
16887         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
16888
16889 2007-01-17  Lars Knoll <lars@trolltech.com>
16890
16891         Reviewed by Zack
16892
16893         Add a message handler to DumpRenderTree that will
16894         suppress all debug output coming from qDebug() statements.
16895         Like this we can get rid of all the noise coming
16896         from the notImplemented() macro when running the
16897         layout tests. You can get it back by adding -v to
16898         DumpRenderTree's command line.
16899
16900         Changed run-webkit-tests slightly, so we by default
16901         don't fail anymore when our output differs from what
16902         is generated on the Mac. Added a --strict option, so
16903         that we can still see this cases and fix them one by one.
16904
16905         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
16906         (messageHandler):
16907         (main):
16908         * Scripts/run-webkit-tests:
16909
16910 2007-01-16  Lars Knoll <lars@trolltech.com>
16911
16912         Reviewed by Zack
16913
16914         Use the new public API for the Qt build, and don't rely on
16915         WebKit internals anymore.
16916
16917         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16918         (WebCore::DumpRenderTree::DumpRenderTree):
16919         (WebCore::DumpRenderTree::~DumpRenderTree):
16920         (WebCore::DumpRenderTree::open):
16921         (WebCore::DumpRenderTree::readStdin):
16922         (WebCore::DumpRenderTree::initJSObjects):
16923         (WebCore::DumpRenderTree::dump):
16924         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16925         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
16926         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
16927         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
16928         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
16929         (LayoutTestController::notifyDone):
16930         (LayoutTestController::timerEvent):
16931         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
16932         (main):
16933         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
16934
16935 2007-01-15  Justin Garcia  <justin.garcia@apple.com>
16936
16937         Reviewed by mjs
16938
16939         <rdar://problem/4810960>
16940         Gmail Editor: window.focus() called on keyDown (9640)
16941
16942         * DumpRenderTree/EventSendingController.m: Send the keyDown event
16943         to the firstResponder, not the event's locationInWindow.  A
16944         key press's locationInWindow is meaningless and just a dummy
16945         coordinate.
16946
16947 2007-01-15  Eric Seidel  <eric@webkit.org>
16948
16949         Reviewed by bdash.
16950
16951         Add a script to keep our header guards squeaky clean.
16952
16953         * Scripts/clean-header-guards: Added.
16954
16955 2007-01-15  Lars Knoll <lars@trolltech.com>
16956
16957         Reviewed by Zack
16958
16959         Fix a few smaller issues in here, and update
16960         our list of skipped tests.
16961
16962         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
16963         (WebCore::DumpRenderTree::DumpRenderTree):
16964         (WebCore::DumpRenderTree::readStdin):
16965         (WebCore::DumpRenderTree::dump):
16966         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
16967         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
16968         (LayoutTestController::LayoutTestController):
16969         (LayoutTestController::reset):
16970         (LayoutTestController::waitUntilDone):
16971         (LayoutTestController::notifyDone):
16972         (LayoutTestController::dumpEditingCallbacks):
16973         (LayoutTestController::timerEvent):
16974         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
16975         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
16976
16977 2007-01-14  Mark Rowe  <mrowe@apple.com>
16978
16979         Reviewed by Adam.
16980
16981         <rdar://problem/4908909> Need to create Leopard nightly build
16982
16983         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK.  The disk images don't mount pre-10.4 so we aren't losing anything here.
16984         * WebKitLauncher/WebKitNightlyEnabler.m:
16985         (poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables.  The smaller timeframe where the
16986         CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
16987         (enableWebKitNightlyBehaviour):
16988         * WebKitLauncher/main.m:
16989         (main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
16990         * Drosera/launcher.m:
16991         (main): Ditto
16992
16993 2007-01-12  Lars Knoll <lars@trolltech.com>
16994
16995         Reviewed by Zack
16996
16997         Get DumpRenderTree to work again for the Qt build.
16998
16999         Make run-webkit-tests a little less verbose when testing
17000         Qt, and add an option to run DumpRenderTree inside valgrind
17001         (useful for debugging)
17002
17003         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17004         (WebCore::DumpRenderTree::DumpRenderTree):
17005         (WebCore::DumpRenderTree::~DumpRenderTree):
17006         (WebCore::DumpRenderTree::open):
17007         (WebCore::DumpRenderTree::dump):
17008         (WebCore::DumpRenderTree::maybeDump):
17009         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
17010         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
17011         (WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
17012         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
17013         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
17014         * Scripts/run-webkit-tests:
17015
17016 2007-01-12  Zack Rusin  <zack@kde.org>
17017
17018         Add WEBKIT_FULLBUILD env variable to get the
17019         build do a make clean before make to cleanout the
17020         stale depenendencies (for buildbot mainly).
17021
17022         * Scripts/webkitdirs.pm:
17023
17024 2007-01-11  Mitz Pettel  <mitz@webkit.org>
17025
17026         Reviewed by Hyatt.
17027
17028         - http://bugs.webkit.org/show_bug.cgi?id=10249
17029           Temporarily disable tests that are causing kernel panics
17030
17031         Changed the ImageDiff tool not to use CoreImage filters.
17032
17033         * DumpRenderTree/ImageDiff.m:
17034         (main):
17035         (createImageFromStdin):
17036         (compareImages):
17037         (getDifferenceBitmap):
17038
17039 2007-01-11  Lars Knoll <lars@trolltech.com>
17040
17041         Fix compilation
17042
17043         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17044
17045 2007-01-11  Lars Knoll <lars@trolltech.com>
17046
17047         Reviewed by Darin Adler.
17048
17049         Adjust to loader changes.
17050
17051         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17052         (WebCore::DumpRenderTree::DumpRenderTree):
17053
17054 2007-01-06  George Staikos  <staikos@kde.org>
17055
17056         This doesn't build on all unix platforms!
17057
17058         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17059
17060 2007-01-05  Zack Rusin  <zack@kde.org>
17061
17062         Reviewed by Simon.
17063
17064         Fix the undefined warnings and try to detect
17065         the DISPLAY properly.
17066
17067         * Scripts/run-webkit-tests:
17068
17069 2007-01-05  David Kilzer  <ddkilzer@webkit.org>
17070
17071         Reviewed by Mark Rowe.
17072
17073         Speed up svn-create-patch for copied and moved files.
17074
17075         * Scripts/svn-create-patch:
17076         (manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
17077         so svn pulls original from local disk.
17078
17079 2007-01-04  Lars Knoll <lars@trolltech.com>
17080
17081         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17082               Link with RPATH to (hopefully) get the automatic tests working.
17083
17084 2007-01-03  Mark Rowe  <bdash@webkit.org>
17085
17086         Reviewed by Anders.
17087
17088         * Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
17089
17090 2007-01-02  Zack Rusin  <zack@kde.org>
17091
17092         Make it work after javascriptcore/bindings changes.
17093
17094         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17095         (WebCore::DumpRenderTree::initJSObjects):
17096         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17097
17098 2007-01-01  David Kilzer  <ddkilzer@webkit.org>
17099
17100         Reviewed by Darin Adler.
17101
17102         http://bugs.webkit.org/show_bug.cgi?id=12023
17103         svn-create-patch and friends should handle moved/copied files
17104
17105         * Scripts/svn-apply: Identify copied files and handle those before all other patches.
17106         * Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
17107         (findMimeType($)): Added.
17108         (findModificationTime($)): Added.
17109         (findSourceFileAndRevision($)): Added.
17110         (generateDiff($$$)): Changed to use svn stat instead of svn diff.
17111         (isBinaryMimeType($)): Added.
17112         (manufacturePatchForAdditionWithHistory($$)): Added.
17113         * Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
17114
17115 2006-12-29  Eric Seidel  <eric@webkit.org>
17116
17117         Reviewed by olliej.
17118
17119         Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
17120
17121         * DumpRenderTree/DumpRenderTree.m:
17122         (dumpRenderTree): clear WebCore cache before exiting
17123
17124 2006-12-29  David Kilzer  <ddkilzer@webkit.org>
17125
17126         Reverted last commit until WebResourceData issue is fixed.
17127
17128         http://bugs.webkit.org/show_bug.cgi?id=11882
17129         Need a way to regression test .webarchive output files
17130
17131         * DumpRenderTree/DumpRenderTree.m:
17132         (serializeWebArchiveToXML): Removed.
17133         (dump):
17134         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17135         (-[LayoutTestController dumpAsWebArchive]): Removed.
17136         (runTest):
17137
17138 2006-12-28  David Kilzer  <ddkilzer@webkit.org>
17139
17140         Reviewed by Darin Adler.
17141
17142         http://bugs.webkit.org/show_bug.cgi?id=11882
17143         Need a way to regression test .webarchive output files
17144
17145         Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
17146         Saves WebArchive plist in xml format, then alters file:// URLs to remove path
17147         where WebKit was checked out.
17148
17149         * DumpRenderTree/DumpRenderTree.m:
17150         (serializeWebArchiveToXML): Added.
17151         (dump):
17152         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17153         (-[LayoutTestController dumpAsWebArchive]): Added.
17154         (runTest):
17155
17156 2006-12-28  George Staikos  <staikos@kde.org>
17157
17158         Reviewed by Olliej.
17159
17160         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
17161
17162 2006-12-27  Geoffrey Garen  <ggaren@apple.com>
17163
17164         Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
17165
17166         Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
17167
17168         No behavior change. Layout tests pass.
17169
17170         * DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
17171         doneLoading() accessor function. This matches the rest of DRT's exports and
17172         makes it easier to search for clients who check (!done).
17173
17174         * DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
17175         it would cover both code paths for calling runTest().
17176
17177         (dumpRenderTree): "doneLoading()" => "done"
17178         (dump): ditto
17179         * DumpRenderTree/EditingDelegate.m: ditto
17180         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
17181         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
17182         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
17183         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
17184         (-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
17185         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
17186         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
17187         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
17188         (-[EditingDelegate webViewDidBeginEditing:]): ditto
17189         (-[EditingDelegate webViewDidChange:]): ditto
17190         (-[EditingDelegate webViewDidEndEditing:]): ditto
17191         (-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
17192         (-[EditingDelegate webViewDidChangeSelection:]): ditto
17193         * DumpRenderTree/UIDelegate.m: ditto
17194         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
17195
17196 2006-12-26  Eric Seidel  <eric@webkit.org>
17197
17198         Reviewed by bradee-oh.
17199
17200         Add very simple run-pageloadtest script for running SVG page load test.
17201
17202         * Scripts/run-pageloadtest: Added.
17203
17204 2006-12-26  Geoffrey Garen  <ggaren@apple.com>
17205
17206         Reviewed by Eric Seidel.
17207
17208         Some cleanup in preparation for fixing <rdar://problem/4740328> Safari
17209         crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
17210
17211         (dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
17212
17213 2006-12-23  Geoffrey Garen  <ggaren@apple.com>
17214
17215         Reviewed by Maciej Stachowiak.
17216
17217         Added --threaded support to run-webkit-tests and DumpRenderTree.
17218
17219         In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
17220         stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore
17221         interface. This is useful for tracking down bugs you might see on a system
17222         configured to use a PAC file.
17223
17224         Ironically, I can proudly state that very few layout tests pass.
17225
17226         * DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
17227         for starting and stopping it.
17228         (runJavaScriptThread): helper function
17229         (startJavaScriptThread): helper function
17230         (stopJavaScriptThread): helper function
17231
17232         (dumpRenderTree): Added --threaded command line argument.
17233         * Scripts/run-webkit-tests: ditto
17234
17235 2006-12-22  Mark Rowe  <bdash@webkit.org>
17236
17237         Reviewed by Brady.
17238
17239         Fix for <rdar://problem/4265976>
17240         prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
17241
17242         * Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
17243
17244 2006-12-21  Mark Rowe  <bdash@webkit.org>
17245
17246         Reviewed by Tim Hatcher.
17247
17248         http://bugs.webkit.org/show_bug.cgi?id=11922
17249         Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
17250
17251         * Drosera/DebuggerDocument.m:
17252         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
17253         ensure that the properties are being retrieved from the correct scope object.
17254
17255 2006-12-21  Lars Knoll <lars@trolltech.com>
17256
17257         Reviewed by Zack
17258
17259         Add support for the layoutTestController JavaScript object
17260         to be able to get textOnly dumps.
17261         Added a Qt specific hack to always get the same fonts (the ones
17262         added in this submit) and the same dpi when running the layout tests.
17263         Modified the run-webkit-tests script to also do a comparison to the
17264         Mac generated outputs (by stripping out positioning information).
17265
17266         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17267         (WebCore::DumpRenderTree::DumpRenderTree):
17268         (WebCore::DumpRenderTree::open):
17269         (WebCore::DumpRenderTree::resetJSObjects):
17270         (WebCore::DumpRenderTree::initJSObjects):
17271         (WebCore::DumpRenderTree::dump):
17272         (WebCore::DumpRenderTree::checkLoaded):
17273         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
17274         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
17275         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
17276         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
17277         (WebCore::DumpRenderTreeClient::partClearedInBegin):
17278         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
17279         * DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
17280         (QX11Info::appDpiY):
17281         (QX11Info::appDpiX):
17282         (qt_x11ft_convert_pattern):
17283         (LayoutTestController::LayoutTestController):
17284         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
17285         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
17286         (LayoutTestController::shouldDumpAsText):
17287         (LayoutTestController::shouldWaitUntilDone):
17288         (LayoutTestController::reset):
17289         (LayoutTestController::dumpAsText):
17290         (LayoutTestController::waitUntilDone):
17291         (LayoutTestController::notifyDone):
17292         * DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
17293         * DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
17294         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
17295         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
17296         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
17297         * DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
17298         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
17299         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
17300         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
17301         * DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
17302         * DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
17303         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
17304         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
17305         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
17306         * DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
17307         * Scripts/run-webkit-tests:
17308
17309 2006-12-21  Mark Rowe  <bdash@webkit.org>
17310
17311         Reviewed by Geoff.
17312
17313         http://bugs.webkit.org/show_bug.cgi?id=11888
17314         Bug 11888: REGRESSION (r18320): Web Inspector panes broken
17315
17316         * Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
17317
17318 2006-12-18  Geoffrey Garen  <ggaren@apple.com>
17319
17320         Reviewed by Beth Dakin.
17321
17322         Updated EventSender to be able to send mouse up events outside the WebView.
17323         This is a minor tweak to a hackish implementation. The real solution
17324         should be to use NSApplication's event sending model instead of rolling
17325         our own, but I don't have time for that right now.
17326
17327         * DumpRenderTree/EventSendingController.m:
17328         (-[EventSendingController mouseUp]):
17329
17330 2006-12-15  Marvin Decker  <marv.decker@gmail.com>
17331
17332         Reviewed by Darin and Alexey.
17333
17334         Fix the Windows build, move various Client implementations out of
17335         WebCore and into WebKit.
17336
17337         * Spinneret/Spinneret.sln:
17338
17339 2006-12-14  Timothy Hatcher  <timothy@apple.com>
17340
17341         Reviewed by Brady.
17342
17343         * Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
17344
17345 2006-12-13  Zack Rusin  <zack@kde.org>
17346
17347         Reviewed by rwlbuis
17348
17349         Use the qmake build by default with Qt - it's the one that works
17350         currently.
17351
17352         * Scripts/build-webkit:
17353         * Scripts/webkitdirs.pm:
17354
17355 2006-12-10  Lars Knoll <lars@trolltech.com>
17356
17357         Reviewed by Zack
17358
17359         Some more fixes to the dumprendertree application.
17360         Fix the run-webkit-tests script for Qt.
17361
17362         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17363         (WebCore::DumpRenderTree::open):
17364         (WebCore::DumpRenderTree::readStdin):
17365         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
17366         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
17367         * Scripts/run-webkit-tests:
17368         * Scripts/webkitdirs.pm:
17369
17370 2006-12-10  Rob Buis  <buis@kde.org>
17371
17372         Reviewed by Darin Adler.
17373
17374         * DumpRenderTree/DumpRenderTree.m:
17375         (dump):
17376
17377 2006-12-10  Lars Knoll <lars@trolltech.com>
17378
17379         Reviewed by Zack
17380
17381         Get the DumpRenderTree app to compile again
17382
17383         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17384         (WebCore::DumpRenderTree::DumpRenderTree):
17385         (WebCore::DumpRenderTree::open):
17386         (WebCore::DumpRenderTree::readStdin):
17387         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
17388         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
17389         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
17390         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
17391         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17392         (main):
17393
17394 2006-12-09  George Staikos  <staikos@kde.org>
17395
17396         Reviewed by Zack.
17397
17398         Repair QMake build on OS X.
17399
17400         * Scripts/build-webkit:
17401
17402 2006-12-09  Zack Rusin  <zack@kde.org>
17403
17404         Fixing small mistakes in the build scripts for
17405         the qmake builds.
17406
17407         * Scripts/build-webkit:
17408         * Scripts/webkitdirs.pm:
17409
17410 2006-12-09  Simon Hausmann  <hausmann@kde.org>
17411
17412         Reviewed by hyatt.
17413
17414         Add support for a QMake build using build-webkit --qmake
17415
17416         * Scripts/build-webkit:
17417         * Scripts/webkitdirs.pm:
17418
17419 2006-12-09  George Staikos  <staikos@kde.org>
17420
17421         Reviewed by Zack.
17422
17423         Remove reference to Unity.
17424
17425         * Scripts/webkitdirs.pm:
17426
17427 2006-12-08  Zack Rusin  <zack@kde.org>
17428
17429         Reviewed by Maciej.
17430
17431         Fix the compile after recent API changes.
17432
17433         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17434         (WebCore::DumpRenderTree::DumpRenderTree):
17435         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17436         (main):
17437
17438 2006-12-08  George Staikos  <staikos@kde.org>
17439
17440         Reviewed by Maciej.
17441
17442         Build Qt webkit on non-linux, and prefer it if $QTDIR is set
17443
17444         * Scripts/build-webkit:
17445         * Scripts/webkitdirs.pm:
17446
17447 2006-12-06  Steve Falkenburg  <sfalken@apple.com>
17448
17449         Support C strings for localization
17450
17451         * Scripts/extract-localizable-strings:
17452
17453 2006-12-04  Steve Falkenburg  <sfalken@apple.com>
17454
17455         Reviewed by Darin Adler.
17456
17457         Make extract-localizable-strings compatible with cpp file extensions.
17458
17459         * Scripts/extract-localizable-strings:
17460
17461 2006-11-21  Darin Adler  <darin@apple.com>
17462
17463         Reviewed by Maciej.
17464
17465         - a couple changes to reduce the chance of false positives on the leakbot
17466
17467         * DumpRenderTree/DumpRenderTree.m:
17468         (dumpRenderTree): Move the main function into a separate function so we can run
17469         a final garbage collect afterward without any stray values on the stack. Replaced
17470         the old way of closing down a WebView (setting the delegates to nil) with the new
17471         way (calling the close method), which does a more complete job of shutting
17472         everything down without waiting for the WebView object to be deallocated.
17473         (main): Put auto-release pool here and added an explicit call to garbage collect.
17474         With a separate function, we greatly reduce the chance that a stray address on the
17475         stack will keep an object alive.
17476
17477         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
17478         because I don't have what it takes to fight the power.
17479
17480 2006-11-17  Zack Rusin  <zack@kde.org>
17481
17482         Reviewed by Mitz. Landed by Niko.
17483
17484         Fixing compilation.
17485
17486         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17487         (WebCore::DumpRenderTree::DumpRenderTree): Adding
17488         ContextMenuClient to the constructor
17489
17490 2006-11-12  Mark Rowe  <bdash@webkit.org>
17491
17492         Reviewed by Mitz.
17493
17494         Clean up of GdkLauncher bakefile.
17495
17496         * GdkLauncher/gdklauncher.bkl:
17497
17498 2006-11-11  Nikolas Zimmermann  <zimmermann@kde.org>
17499
17500         Reviewed and landed by Anders.
17501
17502         Make DRT work again on Qt/Linux.
17503
17504         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17505         (WebCore::DumpRenderTree::DumpRenderTree):
17506
17507 2006-11-10  Zack Rusin  <zack@kde.org>
17508
17509         Reviewed and landed by Anders.
17510
17511         Adjusting to the recent loader changes, making it compile
17512         and work.
17513
17514         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17515         (WebCore::DumpRenderTree::DumpRenderTree):
17516         (WebCore::DumpRenderTree::checkLoaded):
17517         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17518
17519 2006-11-10  Zack Rusin  <zack@kde.org>
17520
17521         Reviewed by Anders.
17522
17523         Making the Qt code work after refactorings in WebCore.
17524
17525         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17526         (WebCore::DumpRenderTree::DumpRenderTree):
17527         (WebCore::DumpRenderTree::checkLoaded):
17528         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
17529
17530 2006-11-08  Darin Adler  <darin@apple.com>
17531
17532         Reviewed by Anders.
17533
17534         - same change as below, only tested this time
17535
17536         * DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
17537         mode off. I think we need to do this because WebPreferences saves things
17538         for us automatically. It would be good to turn that off for DumpRenderTree,
17539         but for now lets handle this like the other preferences (set it explicitly
17540         each time).
17541
17542 2006-11-08  Darin Adler  <darin@apple.com>
17543
17544         Reviewed by Anders.
17545
17546         * DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
17547         "tab to links" mode. No current tests depend on this, and there's a new
17548         test I want to land that depends on the default setting.
17549
17550 2006-11-06  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
17551
17552         Reviewed by Maciej.
17553
17554         Linux\gdk build fixes.
17555
17556         * GdkLauncher/main.cpp:
17557         (LauncherFrameGdk::LauncherFrameGdk):
17558         (main):
17559
17560 2006-11-06  Alexey Proskuryakov  <ap@nypop.com>
17561
17562         Build fix, approved in principle by Tim H.
17563
17564         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17565         Disable deprecated warnings for main.c (TestNetscapePlugin),
17566         as it now uses QuickDraw to convert mouse event coordinates.
17567
17568 2006-11-05  Timothy Hatcher  <timothy@apple.com>
17569
17570         Reviewed by Maciej.
17571
17572         Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
17573         http://bugs.webkit.org/show_bug.cgi?id=11525
17574
17575         * Drosera/debugger.js: imporved the function name code
17576
17577 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
17578
17579         Reviewed by Maciej.
17580
17581         Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
17582         being attributed to the next test.
17583
17584         * DumpRenderTree/EditingDelegate.m:
17585         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
17586         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
17587         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
17588         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
17589         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
17590         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
17591         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
17592         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
17593         (-[EditingDelegate webViewDidBeginEditing:]):
17594         (-[EditingDelegate webViewDidChange:]):
17595         (-[EditingDelegate webViewDidEndEditing:]):
17596         (-[EditingDelegate webViewDidChangeTypingStyle:]):
17597         (-[EditingDelegate webViewDidChangeSelection:]):
17598         * DumpRenderTree/UIDelegate.m:
17599         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
17600
17601 2006-11-06  Mark Rowe  <bdash@webkit.org>
17602
17603         Reviewed by Alexey.
17604
17605         Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
17606
17607         * Scripts/run-webkit-tests: import the POSIX module.
17608
17609 2006-11-06  Alexey Proskuryakov  <ap@webkit.org>
17610
17611         Reviewed by Maciej.
17612
17613         Test for http://bugs.webkit.org/show_bug.cgi?id=11517
17614         REGRESSION: Flash clicks/interactivity not working properly
17615
17616         Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
17617
17618         <embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
17619         <script>
17620             plg.eventLoggingEnabled = true;
17621             // use eventSender to simulate events...
17622         </script>
17623
17624         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
17625         (pluginGetProperty):
17626         (pluginSetProperty):
17627         (pluginAllocate):
17628         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
17629         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
17630         (NPP_HandleEvent):
17631
17632 2006-11-04  David Smith  <catfish.man@gmail.com>
17633
17634         Reviewed by Tim H.
17635
17636         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
17637         Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
17638
17639         * Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
17640
17641 2006-11-04  David Smith  <catfish.man@gmail.com>
17642
17643         Reviewed by Tim H.
17644
17645         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
17646         Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
17647
17648         * Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
17649
17650 2006-11-04  David Smith  <catfish.man@gmail.com>
17651
17652         Reviewed by Tim H.
17653
17654         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
17655         Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
17656
17657         * Drosera/debugger.js: blur() the function popup when we're done with it.
17658
17659 2006-11-04  Mark Rowe  <bdash@webkit.org>
17660
17661         Reviewed by Darin Adler.
17662
17663         Fix use of uninitialized value in pattern match.
17664
17665         * Scripts/webkitdirs.pm:
17666
17667 2006-11-04  Darin Adler  <darin@apple.com>
17668
17669         Reviewed by Tim Hatcher.
17670
17671         * Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
17672
17673 2006-11-03  David Smith  <catfish.man@gmail.com>
17674
17675         Reviewed by Tim H.
17676
17677         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
17678         Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
17679
17680         * Drosera/DebuggerApplication.m:
17681         (-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
17682
17683 2006-11-03  Vladimir Olexa  <vladimir.olexa@gmail.com>
17684
17685         Reviewed by Tim H.
17686
17687         Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
17688         Bug 9596: [Drosera] add a function popup to the source pane
17689
17690         * Drosera/debugger.css: Added styles for function popup
17691         * Drosera/debugger.html: Added function popup button and select
17692         * Drosera/debugger.js: Added function popup functionality
17693
17694 2006-11-03  Michael Emmel  <mike.emmel@gmail.com>
17695
17696         Reviewed by Maciej.
17697
17698         http://bugs.webkit.org/show_bug.cgi?id=9671
17699
17700         * Scripts/wkstyle:
17701         Adds astyle sed script formats according to most of the style guidelines.
17702
17703 2006-11-03  Alexey Proskuryakov  <ap@nypop.com>
17704
17705         Reviewed by Adele.
17706
17707         http://bugs.webkit.org/show_bug.cgi?id=7323
17708         REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
17709
17710         When dragging, do not send EventSendingController's events immediately. Dragging
17711         is supposed to be modal, so we need to perform it from within the delegate, without
17712         returning to JS to make the next mouse movement.
17713
17714         When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
17715
17716         * DumpRenderTree/EventSendingController.h:
17717         * DumpRenderTree/EventSendingController.m:
17718         (-[EventSendingController dealloc]):
17719         (-[EventSendingController leapForward:]):
17720         (-[EventSendingController mouseDown]):
17721         (-[EventSendingController mouseUp]):
17722         (-[EventSendingController mouseMoveToX:Y:]):
17723         (+[EventSendingController saveEvent:]):
17724         (+[EventSendingController replaySavedEvents]):
17725         * DumpRenderTree/UIDelegate.m:
17726         (-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
17727
17728 2006-11-02  Geoffrey Garen  <ggaren@apple.com>
17729
17730         Reviewed by Justin Garcia.
17731
17732         Made dumping of editing callbacks opt-in, so that editing spew doesn't
17733         cloud non-editing tests.
17734
17735         * DumpRenderTree/DumpRenderTree.m:
17736         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
17737         (-[LayoutTestController shouldDumpEditingCallbacks]):
17738         (runTest):
17739         * DumpRenderTree/EditingDelegate.m:
17740         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
17741         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
17742         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
17743         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
17744         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
17745         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
17746         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
17747         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
17748         (-[EditingDelegate webViewDidBeginEditing:]):
17749         (-[EditingDelegate webViewDidChange:]):
17750         (-[EditingDelegate webViewDidEndEditing:]):
17751         (-[EditingDelegate webViewDidChangeTypingStyle:]):
17752         (-[EditingDelegate webViewDidChangeSelection:]):
17753
17754 2006-11-02  Alexey Proskuryakov  <ap@nypop.com>
17755
17756         Reviewed by Maciej, landed by Anders.
17757
17758         - http://bugs.webkit.org/show_bug.cgi?id=7802
17759           devenv.com not available in VC++ Express installations
17760
17761         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
17762         * Scripts/install-win-extras: Make setx.exe actually run.
17763
17764 2006-11-01  Stephanie Lewis  <slewis@apple.com>
17765
17766         Reviewed by Kevin.
17767
17768         Fixed bug where additional arguments got fed to xcode and jsdriver.pl
17769         Since testkjs is being built before the tests are run, we don't need
17770         to build it with webkit.
17771
17772         Fixes bugs
17773         http://bugs.webkit.org/show_bug.cgi?id=11462
17774         http://bugs.webkit.org/show_bug.cgi?id=6168
17775
17776         * Scripts/build-webkit:
17777         * Scripts/run-javascriptcore-tests:
17778
17779 2006-11-01  Brady Eidson  <beidson@apple.com>
17780
17781         Reviewed by Tim Hatcher
17782
17783         Added accessor to get the source directory for use in client scripts
17784
17785         * Scripts/webkitdirs.pm:
17786
17787 2006-11-01  Mark Rowe  <bdash@webkit.org>
17788
17789         Reviewed by Mitz.
17790
17791         Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
17792
17793         * Spinneret/Spinneret/Spinneret.cpp:
17794         (_tWinMain):
17795         * WebKitLauncher/WebKitNightlyEnabler.m:
17796         (cleanUpAfterOurselves):
17797
17798 2006-10-31  Mark Rowe  <bdash@webkit.org>
17799
17800         Reviewed by Stephanie.
17801
17802         Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
17803
17804         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
17805         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
17806
17807 2006-10-31  Darin Adler  <darin@apple.com>
17808
17809         * DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
17810         pasteboard, allocate any number of local pasteboards.
17811         (main): Allocate the dictionary of pasteboards.
17812         (+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
17813         given a name.
17814         (+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
17815         explicitly elsewhere.
17816         (-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
17817         to the selector rather than calling unconditionally.
17818
17819 2006-10-30  Darin Adler  <darin@apple.com>
17820
17821         - fixed build
17822
17823         * DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
17824         Don't use CFPasteboard.
17825
17826 2006-10-30  Vladimir Olexa  <vladimir.olexa@gmail.com>
17827
17828         Reviewed by Tim H.
17829
17830         Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
17831
17832         * Drosera/debugger.js: ParsedURL() object now recognizes local files
17833
17834 2006-10-30  Darin Adler  <darin@apple.com>
17835
17836         Reviewed by Tim Hatcher.
17837
17838         * DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
17839         This should make our buildbot tests no longer need a pasteboard server.
17840
17841 2006-10-30  Geoffrey Garen  <ggaren@apple.com>
17842
17843         Reviewed by Beth.
17844
17845         Reorganized project file into Delegates and Controllers groups, and split
17846         UIDelegate stuff into a UIDelegate class.
17847
17848         A little birdy told me that I might end up adding some UIDelegate methods
17849         to DRT soon.
17850
17851         * DumpRenderTree/DumpRenderTree.m:
17852         (main):
17853         (runTest):
17854         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
17855
17856 2006-10-31  Nikolas Zimmermann  <zimmermann@kde.org>
17857
17858         Reviewed by Oliver.
17859
17860         Add new platform/graphics include directory.
17861
17862         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
17863
17864 2006-10-30  Timothy Hatcher  <timothy@apple.com>
17865
17866         Reviewed by Stephanie.
17867
17868         Add a special case for the Internal makefiles, so it can find the OepnSource.
17869
17870         * Scripts/webkitdirs.pm:
17871
17872 2006-10-30  Stephanie Lewis  <slewis@apple.com>
17873
17874         Reviewed by Darin Adler.
17875
17876         Change Makefiles to return non-zero when module make fails.
17877         Fix bug where if xcode options are not set, modules can build in the
17878         wrong directory.
17879
17880         * Makefile:
17881         * Scripts/webkitdirs.pm:
17882
17883 2006-10-30  Matt Lilek  <pewtermoose@gmail.com>
17884
17885         Reviewed by Tim H.
17886
17887         Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
17888         [Drosera] The Console toolbar button should bring the console window to the front.
17889
17890         The console now gets focus when its activated but already open.  Command + L also
17891         now activates/focuses the console.
17892
17893         * Drosera/English.lproj/MainMenu.nib/classes.nib:
17894         * Drosera/English.lproj/MainMenu.nib/info.nib:
17895         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
17896         * Drosera/debugger.js:
17897
17898 2006-10-29  Darin Adler  <darin@apple.com>
17899
17900         * Scripts/do-file-rename: Renames done, ready for the next round.
17901         * Scripts/do-webcore-rename: Ditto.
17902
17903 2006-10-29  Darin Adler  <darin@apple.com>
17904
17905         * Scripts/do-file-rename: And again.
17906
17907 2006-10-29  Darin Adler  <darin@apple.com>
17908
17909         * Scripts/do-webcore-rename: Tweaked plans for renaming again.
17910
17911 2006-10-29  Darin Adler  <darin@apple.com>
17912
17913         Reviewed by Mitz.
17914
17915         * DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
17916         Added. Does nothing, which prevents a beep.
17917
17918         * Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
17919
17920 2006-10-27  Brady Eidson  <beidson@apple.com>
17921
17922         Rubber stamped by Tim Hatcher
17923
17924         Added "make universal" to build universal binaries
17925
17926         * Makefile:
17927         * Makefile.shared:
17928
17929 2006-10-26  Sam Weinig  <sam.weinig@gmail.com>
17930
17931         Reviewed by Geoff.
17932
17933         Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
17934         REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
17935         ([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
17936
17937         * DumpRenderTree/EventSendingController.m:
17938         (-[EventSendingController mouseMoveToX:Y:]):
17939
17940 2006-10-26  Nikolas Zimmermann  <zimmermann@kde.org>
17941
17942         Reviewed by Darin Adler.
17943
17944         Fix Qt/Linux build.
17945
17946         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
17947         (WebCore::DumpRenderTree::open):
17948
17949 2006-10-24  Stephanie Lewis  <slewis@apple.com>
17950
17951         Reviewed by Maciej.
17952
17953         - Changed run-javascriptcore tests to build testkjs before running.
17954
17955         * Scripts/run-javascriptcore-tests:
17956
17957 2006-10-24  Nikolas Zimmermann  <zimmermann@kde.org>
17958
17959         Reviewed by Maciej.
17960
17961         Fix Qt/Linux build.
17962
17963         - Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
17964         - Fix CMakeLists.txt to include platform/network.
17965
17966         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
17967
17968 2006-10-24  David Smith  <catfish.man@gmail.com>
17969
17970         Reviewed by Tim H.
17971
17972         Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
17973         http://bugs.webkit.org/show_bug.cgi?id=11382
17974
17975         * Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
17976
17977 2006-10-21  Darin Adler  <darin@apple.com>
17978
17979         * Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
17980         This was still using "symroots" so it almost never worked!
17981
17982 2006-10-21  Darin Adler  <darin@apple.com>
17983
17984         * Makefile: Build DumpRenderTree too.
17985         * Scripts/do-webcore-rename: Removed bogus comment.
17986
17987 2006-10-20  David Smith  <catfish.man@gmail.com>
17988
17989         Reviewed by Tim H.
17990
17991         Bug 11367: Inline Breakpoint Editor Improvements: Act III
17992         http://bugs.webkit.org/show_bug.cgi?id=11367
17993
17994         Major breakpoint editor changes:
17995         * Breakpoints can now either pause or log to console
17996         * Code cleanup through use of XPath and converting breakpoints to objects
17997         * Breakpoints now track how many times they've been reached
17998         * UI tweaks
17999         * The breakpoint editor now saves changes as they're entered
18000         * Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
18001         * If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
18002
18003         * Drosera/DebuggerDocument.m:
18004         (-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
18005         * Drosera/Drosera.xcodeproj/project.pbxproj:
18006         * Drosera/Images/close.tif: Added.
18007         * Drosera/Images/close_active.tif: Added.
18008         * Drosera/Images/close_hover.tif: Added.
18009         * Drosera/breakpointEditor.html: Added.
18010         * Drosera/console.js: Added a way to append messages from outside the console window.
18011         * Drosera/debugger.js:
18012         * Drosera/viewer.css:
18013         * Drosera/viewer.html:
18014
18015 2006-10-18  David Smith  <catfish.man@gmail.com>
18016
18017         Reviewed by Tim H.
18018
18019         Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state.
18020
18021         * Drosera/DebuggerDocument.m:
18022         (-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
18023         * Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
18024         * Drosera/debugger.js:
18025
18026 2006-10-18  Timothy Hatcher  <timothy@apple.com>
18027
18028         Reviewed by Anders.
18029
18030         Bug 10851: Crash with Drosera
18031         http://bugs.webkit.org/show_bug.cgi?id=10851
18032
18033         This crash results in an assert in debug builds.
18034
18035         assert(implementsCall());
18036
18037         The __drosera_introspection propery was not callable. Now we just assign
18038         this.__drosera_introspection in the evaluateWebScript call.
18039         This change also removes one DO message.
18040
18041         * Drosera/DebuggerDocument.m:
18042         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
18043
18044 2006-10-18  Mark Rowe  <bdash@webkit.org>
18045
18046         Reviewed by Tim H.
18047
18048         http://bugs.webkit.org/show_bug.cgi?id=11304
18049         Bug 11304: Drosera fails to link as universal binary on PowerPC machine
18050
18051         * Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
18052         when they are not part of the WebKit umbrella framework.
18053
18054 2006-10-18  Adam Roben  <aroben@apple.com>
18055
18056         fixo el buildo II: Release's Pride.
18057
18058         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18059
18060 2006-10-18  Geoffrey Garen  <ggaren@apple.com>
18061
18062         fixo el buildo.
18063
18064         Work around #import of <PDFKit/PDFView.h>.
18065
18066         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18067
18068 2006-10-18  David Smith  <catfish.man@gmail.com>
18069
18070         Reviewed by Tim H.
18071
18072         Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
18073
18074         * Drosera/Drosera.xcodeproj/project.pbxproj:
18075         * Drosera/Images/breakpointeditor.png: Added.
18076         * Drosera/breakpointEditor.css: Removed.
18077         * Drosera/breakpointEditor.html: Removed.
18078         * Drosera/breakpointEditor.js: Removed.
18079         * Drosera/debugger.js:
18080         * Drosera/viewer.css:
18081
18082 2006-10-18  David Harrison  <harrison@apple.com>
18083
18084         Reviewed by Tim H.
18085
18086         Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
18087         http://bugs.webkit.org/show_bug.cgi?id=11341
18088
18089         Link editing behavior became a preference. DumpRenderTree needs to specify the
18090         non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
18091
18092         * DumpRenderTree/DumpRenderTree.m:
18093         (main):
18094
18095 2006-10-15  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
18096
18097         Reviewed by Anders.
18098
18099         Make compiler not complain about unused gk. SpinneretWebHost was not setting
18100         initial refcount upon creation, so it is completely bogus.
18101
18102         * GdkLauncher/main.cpp:
18103         (main):
18104         * Spinneret/Spinneret/Spinneret.h:
18105         (SpinneretWebHost::SpinneretWebHost):
18106
18107 2006-10-15  Nikolas Zimmermann  <zimmermann@kde.org>
18108
18109         Reviewed by Oliver.
18110
18111         Add another hanging test, to the "to be skipped" list.
18112
18113         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
18114
18115 2006-10-14  Nikolas Zimmermann  <zimmermann@kde.org>
18116
18117         Reviewed by Anders.
18118
18119         Some fixes to get the Qt BuildSlave to run the LayoutTests.
18120
18121         * Scripts/build-dumprendertree: No need to call cmake again.
18122         * Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
18123
18124 2006-10-13  Nikolas Zimmermann  <zimmermann@kde.org>
18125
18126         Reviewed by Eric.
18127
18128         Force --no-http on Qt/Linux.
18129
18130         * Scripts/run-webkit-tests:
18131
18132 2006-10-13  Kevin McCullough  <KMcCullough@apple.com>
18133
18134         Reviewed by Adam.
18135
18136         Gets JavaScripCore tests running on windows.
18137
18138         * Scripts/run-javascriptcore-tests:
18139         * Scripts/webkitdirs.pm:
18140
18141 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
18142
18143         Reviewed by Maciej.
18144
18145         Exclude some tests which crash or hang from Qt/Linux DRT.
18146         These are known to fail, and will be fixed at some point :-)
18147
18148         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18149         (WebCore::DumpRenderTree::DumpRenderTree):
18150         (WebCore::DumpRenderTree::open):
18151         (WebCore::DumpRenderTree::readStdin):
18152         (WebCore::DumpRenderTree::readSkipFile):
18153         (WebCore::DumpRenderTree::checkLoaded):
18154         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
18155         * DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
18156
18157 2006-10-12  Nikolas Zimmermann  <zimmermann@kde.org>
18158
18159         Reviewed by Maciej.
18160
18161         Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
18162
18163         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
18164         (WebCore::DumpRenderTreeClient::runJavaScriptAlert):
18165         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
18166
18167 2006-10-12  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
18168
18169         Reviewed by Maciej.
18170
18171         Also regenerate GdkLauncher makefiles, since not doing that might
18172         lead to mismatch between WebCore and GdkLauncher compiler settings.
18173
18174         * Scripts/regenerate-makefiles:
18175
18176 2006-10-10  David Smith  <catfish.man@gmail.com>
18177
18178         Reviewed by Tim H.
18179
18180         Bug 11246: Minor Drosera code cleanup
18181         http://bugs.webkit.org/show_bug.cgi?id=11246
18182
18183         * Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
18184
18185 2006-10-10  Vladimir Olexa  <vladimir.olexa@gmail.com>
18186
18187         Reviewed by Tim H.
18188
18189         Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
18190
18191         * Drosera/Drosera.xcodeproj/project.pbxproj: Added files
18192         * Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
18193         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
18194         * Drosera/Images/SourceArrowOpen.png: Added.
18195         * Drosera/Images/fileIcon.jpg: Added.
18196         * Drosera/Images/siteCollapsed.tif: Added.
18197         * Drosera/Images/siteExpanded.tif: Added.
18198         * Drosera/Images/siteIcon.tif: Added.
18199         * Drosera/debugger.css: Added File Browser styles
18200         * Drosera/debugger.html: Added File Browser UI
18201         * Drosera/debugger.js: Added File Browser functionality
18202
18203 2006-10-10  Darin Adler  <darin@apple.com>
18204
18205         * Scripts/do-file-rename: Added.
18206
18207 2006-10-09  Krzysztof Kowalczyk  <kkowalczyk@gmail.com>
18208
18209         Reviewed by Geoff.
18210
18211         Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
18212         a page. This allows automatic testing via e.g. valgrind.
18213
18214         * GdkLauncher/gdklauncher.bkl:
18215         * GdkLauncher/main.cpp:
18216         (LauncherFrameGdk::LauncherFrameGdk):
18217         (LauncherFrameGdk::setExitAfterLoading):
18218         (LauncherFrameGdk::handledOnloadEvents):
18219         (handle_event):
18220         (main):
18221
18222 2006-10-06  David Smith  <catfish.man@gmail.com>
18223
18224         Reviewed by Timothy.
18225
18226         Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
18227
18228         * Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
18229         * Drosera/breakpointEditor.css: Added.
18230         * Drosera/breakpointEditor.html: Added.
18231         * Drosera/breakpointEditor.js: Added.
18232         * Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
18233
18234 2006-10-06  Nikolas Zimmermann  <zimmermann@kde.org>
18235
18236         Reviewed by Tim H.
18237
18238         Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
18239
18240         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18241         (WebCore::DumpRenderTree::DumpRenderTree):
18242
18243 2006-10-05  Oliver Hunt  <ohunt@apple.com>
18244
18245         Reviewed by Anders.
18246
18247         * Scripts/run-webkit-tests:
18248         Fix pixel tests.
18249
18250 2006-10-04  Anders Carlsson  <acarlsson@apple.com>
18251
18252         Reviewed by Darin Adler.
18253
18254         * Scripts/run-webkit-tests:
18255         Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
18256         results should be.
18257
18258 2006-10-05  Nikolas Zimmermann  <zimmermann@kde.org>
18259
18260         Reviewed and landed by ap.
18261
18262         Cmake: make it possible to install the libraries after having built using 'build-webkit'.
18263         Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
18264
18265         * Scripts/webkitdirs.pm:
18266
18267 2006-10-04  Mark Rowe  <bdash@webkit.org>
18268
18269         Reviewed by Stephanie.
18270
18271         Switch the Qt buildbot to the standard set of build steps.
18272         Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
18273         see if any regressions were spotted, and fail the test if so.
18274
18275         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
18276         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
18277         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
18278
18279 2006-10-04  Timothy Hatcher  <timothy@apple.com>
18280
18281         Reviewed by Mitz Pettel!
18282
18283         Bug 10708: [Drosera] Make the console input plaintext-only
18284         http://bugs.webkit.org/show_bug.cgi?id=10708
18285
18286         Change the console input -webkit-user-modify property to
18287         read-write-plaintext-only.
18288
18289         * Drosera/console.css:
18290
18291 2006-10-04  David Smith  <catfish.man@gmail.com>
18292
18293         Reviewed by Tim H.
18294
18295         Bug 10473: [Drosera] Overlapping text in JavaScript Console
18296         http://bugs.webkit.org/show_bug.cgi?id=10473
18297
18298         Using min-height instead of height to avoid overlapping text.
18299
18300         * Drosera/console.css:
18301
18302 2006-10-04  David Smith  <catfish.man@gmail.com>
18303
18304         Reviewed by Tim H.
18305
18306         Added a bash-style command history.
18307
18308         * Drosera/console.js:
18309
18310 2006-10-03  Anders Carlsson  <acarlsson@apple.com>
18311
18312         Reviewed by Adam and Brady.
18313
18314         * DumpRenderTree/DumpRenderTree.m:
18315         (main):
18316         Update URL to Ahem.ttf
18317
18318 2006-10-03  Darin Adler  <darin@apple.com>
18319
18320         * Scripts/commit-log-editor: Added missing "close" call. Oops!
18321
18322 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
18323
18324         Reviewed by eseidel.  Landed by eseidel.
18325
18326         Offer a way for BuildBot to not colorize the cmake output, when building
18327         with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
18328
18329         Default is colorize output, though only Qt platform handles this for now.
18330
18331         * Scripts/build-dumprendertree:
18332         * Scripts/build-webkit:
18333         * Scripts/webkitdirs.pm:
18334
18335 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
18336
18337         Reviewed by eseidel.  Landed by eseidel.
18338
18339         Make all important scripts work with Qt/Linux.
18340
18341         You can safely use this now:
18342         set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
18343
18344         * Scripts/build-dumprendertree:
18345         * Scripts/run-javascriptcore-tests:
18346         * Scripts/run-webkit-tests:
18347         * Scripts/webkitdirs.pm:
18348
18349 2006-10-03  Nikolas Zimmermann  <zimmermann@kde.org>
18350
18351         Reviewed by Eric.
18352
18353         build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
18354
18355         * Scripts/webkitdirs.pm:
18356
18357 2006-10-02  Nikolas Zimmermann  <zimmermann@kde.org>
18358
18359         Reviewed/landed by Adam.
18360
18361         Proper build-webkit support for Qt/Linux.
18362
18363         Compilation process is similar to OSX now, aka.
18364         the build directory is RootCheckoutDir/WebKitBuild now.
18365
18366         * Scripts/build-webkit: Recognize Qt.
18367         * Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
18368
18369 2006-10-01  Mark Rowe  <opendarwin.org@bdash.net.nz>
18370
18371         Reviewed by Maciej.
18372
18373         Add QT build slave to Buildbot.
18374
18375         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
18376         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
18377         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming.  Use the IRC bot in #webkit-build instead.
18378         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
18379
18380 2006-09-28  David Harrison  <harrison@apple.com>
18381
18382         Suggested by Darin Adler.
18383
18384         Moved an extern declaration from inside a method to the top of the file.
18385
18386         * DumpRenderTree/EventSendingController.m:
18387         (-[EventSendingController clearKillRing]):
18388
18389 2006-09-28  David Harrison  <harrison@apple.com>
18390
18391         Reviewed by Justin.
18392
18393         Add clearKillRing so we can test emacs support with empty kill ring.
18394
18395         * DumpRenderTree/EventSendingController.m:
18396         (+[EventSendingController isSelectorExcludedFromWebScript:]):
18397         (+[EventSendingController webScriptNameForSelector:]):
18398         (-[EventSendingController clearKillRing]):
18399
18400 2006-09-27  MorganL  <morganl.webkit@yahoo.com>
18401
18402         Reviewed by Maciej, landed by Brady
18403
18404         Fix URL bar updating.
18405
18406         * Spinneret/Spinneret/Spinneret.h:
18407         (SpinneretWebHost::didStartProvisionalLoadForFrame):
18408         (SpinneretWebHost::didCommitLoadForFrame):
18409         (SpinneretWebHost::didFinishLoadForFrame):
18410
18411 2006-09-23  Sam Weinig  <sam.weinig@gmail.com>
18412
18413         Reviewed by Eric.
18414
18415         Build Fix.
18416
18417         * DumpRenderTree/EventSendingController.m:
18418         (-[EventSendingController enableDOMUIEventLogging:]):
18419
18420 2006-09-22  Justin Garcia  <justin.garcia@apple.com>
18421
18422         Reviewed by darin
18423
18424         * Scripts/do-webcore-rename:
18425
18426 2006-09-21  Timothy Hatcher  <timothy@apple.com>
18427
18428         Reviewed by Adam.
18429
18430         Bug 10923: Frame scroll layout test failures on the buildbot
18431         http://bugs.webkit.org/show_bug.cgi?id=10923
18432
18433         Added a new method that will toggle on the recursive dump of
18434         child frame scroll positions.
18435
18436         * DumpRenderTree/DumpRenderTree.m:
18437         (dumpFrameScrollPosition):
18438         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
18439         (-[LayoutTestController dumpChildFrameScrollPositions]):
18440
18441 2006-09-19  Krzysztof Kowalczyk <kkowalczyk@gmail.com>
18442
18443         Reviewed by eseidel.  Landed by eseidel.
18444
18445         Detect that close button was pressed and exit cleanly.
18446
18447         * GdkLauncher/main.cpp:
18448         (handle_event):
18449         (main):
18450
18451 2006-09-17  Adam Roben  <aroben@apple.com>
18452
18453         Reviewed by hyatt, sfalken.
18454
18455         Get DumpRenderTree compiling and limping along on Windows.
18456
18457         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
18458         (loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
18459         (main): Add NULL argument to Page constructor.
18460         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
18461         * Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
18462
18463 2006-09-15  Mark Rowe  <opendarwin.org@bdash.net.nz>
18464
18465         Reviewed by Brady.
18466
18467         http://bugs.webkit.org/show_bug.cgi?id=10635
18468         Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
18469
18470         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
18471         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
18472         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot.  Always do clean SVG builds.
18473
18474 2006-09-09  Sam Weinig  <sam.weinig@gmail.com>
18475
18476         Reviewed by Eric.
18477
18478         Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
18479         Even More Objective-C DOM auto-generation cleanup
18480
18481         - Change to use new, more Objectice-C'ish version of
18482           DOMKeyboardEvent's initKeyboardEvent.  Fixes an error with
18483           regression test for fast/events/dblclick-addEventListener.html.
18484
18485         * DumpRenderTree/EventSendingController.m:
18486         (-[EventSendingController fireKeyboardEventsToElement:]):
18487
18488 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
18489
18490         Reviewed by Tim H.
18491
18492         Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
18493         Move QtLauncher down to WebKitQt.
18494
18495         * QtLauncher/CMakeLists.txt: Removed.
18496         * QtLauncher/main.cpp: Removed.
18497
18498 2006-09-04  Nikolas Zimmermann  <zimmermann@kde.org>
18499
18500         Reviewed by Darin Adler.
18501
18502         Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
18503         Adjust DumpRenderTree to the FrameQtClient changes.
18504
18505         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
18506         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18507         (WebCore::DumpRenderTree::DumpRenderTree):
18508         (WebCore::DumpRenderTree::~DumpRenderTree):
18509         (WebCore::DumpRenderTree::frame):
18510         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
18511         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
18512         (WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
18513         (WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
18514         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
18515
18516 2006-09-03  Darin Adler  <darin@apple.com>
18517
18518         * Scripts/do-webcore-rename: More renaming plans.
18519
18520 2006-09-03  Alexey Proskuryakov  <ap@nypop.com>
18521
18522         Reviewed by Tim H.
18523
18524         http://bugs.webkit.org/show_bug.cgi?id=10693
18525         Convert JavaScript arrays to AppleScript lists
18526
18527         * DumpRenderTree/AppleScriptController.m:
18528         (convertAEDescToObject):
18529         (-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
18530
18531 2006-08-31  Darin Adler  <darin@apple.com>
18532
18533         * Scripts/do-webcore-rename: Prepare for another round of renaming.
18534
18535 2006-08-29  Dan Waylonis  <waylonis@google.com>
18536
18537         Reviewed by ggaren.
18538
18539         - Verification of exceptions thrown in a plugin.  Test for bug 10114.
18540         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
18541         * DumpRenderTree/ObjCPlugin.m:
18542         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
18543         (+[ObjCPlugin webScriptNameForSelector:]):
18544         (-[ObjCPlugin throwIfArgumentIsNotHello:]):
18545
18546 2006-08-30  Nikolas Zimmermann  <zimmermann@kde.org>
18547
18548         Reviewed by Tim H.
18549
18550         Commit KDE related tweaks, to be able to
18551         differentiate between a Qt-only or a KDE build.
18552
18553         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
18554         * QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
18555
18556 2006-08-29  Darin Adler  <darin@apple.com>
18557
18558         Reviewed by Tim Hatcher.
18559
18560         * Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
18561         to work around what seems to be a bug in some versions of gdb.
18562
18563 2006-08-16  Tim Omernick  <timo@apple.com>
18564
18565         Reviewed by John Sullivan.
18566
18567         Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
18568         <http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
18569         in Firefox
18570
18571         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
18572         (NPP_GetValue):
18573         WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox.  NPObject return values
18574         are expected to be retained by the plug-in, and released by the caller.
18575
18576 2006-08-28  Nikolas Zimmermann  <zimmermann@kde.org>
18577
18578         Reviewed by Tim Hatcher.
18579
18580         Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
18581
18582         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
18583         (WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
18584         Qt's DumpRenderTree.
18585
18586       * Scripts/run-webkit-tests:
18587         Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
18588
18589 2006-08-28  Darin Adler  <darin@apple.com>
18590
18591         Reviewed by Tim Hatcher.
18592
18593         * Scripts/build-drosera: Fix behavior when there are multiple options.
18594
18595 2006-08-27  Timothy Hatcher  <timothy@apple.com>
18596
18597         Reviewed by Anders.
18598
18599         Drosera will be built when you type make.
18600
18601         * Drosera/Makefile: Added.
18602         * Makefile: Added.
18603         * Makefile.shared: Added.
18604
18605 2006-08-27  Anders Carlsson  <acarlsson@apple.com>
18606
18607         Forgot to add these.
18608
18609         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
18610         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
18611         (WebCore::DumpRenderTree::DumpRenderTree):
18612         (WebCore::DumpRenderTree::~DumpRenderTree):
18613         (WebCore::DumpRenderTree::open):
18614         (WebCore::DumpRenderTree::readStdin):
18615         (WebCore::DumpRenderTree::checkLoaded):
18616         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
18617         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
18618         (main):
18619
18620 2006-08-27  Nikolas Zimmermann  <zimmermann@kde.org>
18621
18622         Reviewed by Eric, landed by Anders.
18623
18624         Add DumpRenderTree support for Qt/Linux.
18625
18626         * DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
18627         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
18628         (WebCore::DumpRenderTree::DumpRenderTree):
18629         (WebCore::DumpRenderTree::~DumpRenderTree):
18630         (WebCore::DumpRenderTree::open):
18631         (WebCore::DumpRenderTree::readStdin):
18632         (WebCore::DumpRenderTree::checkLoaded):
18633         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
18634         * DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
18635         (main):
18636         * Scripts/build-dumprendertree:
18637         * Scripts/run-webkit-tests:
18638         * Scripts/webkitdirs.pm:
18639
18640 2006-08-24  Nikolas Zimmermann  <zimmermann@kde.org>
18641
18642         Reviewed by Eric. Landed by rwlbuis.
18643
18644         Add QtLauncher (was testunity before), which provides a
18645         standalone "browser" to test the Qt platform stuff.
18646
18647         * QtLauncher/CMakeLists.txt: Added.
18648         * QtLauncher/main.cpp: Added.
18649         (main):
18650
18651 2006-08-22  Trey Matteson  <trey@usa.net>
18652
18653         Reviewed by ggaren.
18654
18655         Added support for a new set of browser navigation tests.  The main feature
18656         is the ability for a test to queue up a set of future actions that will
18657         happen after that first page is loaded.  This is used to simulate a sequence
18658         of user actions such as filling out forms, loading additional pages or
18659         going back.  In addition we can now dump out the state of the back/forward
18660         list, and the scroll position is dumped if not at 0,0.
18661
18662         * DumpRenderTree/DumpRenderTree.m:
18663         (main):  Init new state
18664         (compareHistoryItems):  New utility to support sorting.
18665         (dumpHistoryItem):  Write out a WebHistoryItem and kids.
18666         (dumpFrameScrollPosition):  Write out the scroll position.
18667         (dump):  Optionally write b/f list or scroll position.
18668         (-[WaitUntilDoneDelegate processWork:]):  Perform queued work.
18669         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
18670         Kick off any queued actions.  Fixed for the case of loads started in
18671         a subframe instead of the root frame.
18672         (-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
18673         Grab the topmost frame that is being loaded.  Do this as early as possible,
18674         instead of in didCommitLoadForFrame.
18675         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
18676         Noting a load has started now happens in previous method.
18677         (+[LayoutTestController isSelectorExcludedFromWebScript:]):  Boilerplate
18678         (+[LayoutTestController webScriptNameForSelector:]):  Boilerplate
18679         (-[LayoutTestController notifyDone]):  readyToDump var is subsumed by
18680         topFrameLoading
18681         (-[LayoutTestController dumpBackForwardList]):  New impl, just set a bit.
18682         (-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
18683         Add new work to the queue.
18684         (-[LayoutTestController _doLoad:target:]):  Do a queued load.
18685         (-[LayoutTestController _doBackOrForwardNav:]):  Do a queued back/forward.
18686         (-[LayoutTestController scheduleBackNav:]):  Ways for scripts to queue actions
18687         (-[LayoutTestController scheduleForwardNav:]):
18688         (-[LayoutTestController scheduleReload]):
18689         (-[LayoutTestController scheduleScript:]):
18690         (-[LayoutTestController scheduleLoad:target:]):
18691         (runTest):  Clear new state for each test.  Renamed from "dumpRenderTree"
18692         since it's not one of the functions that does any dumping.
18693
18694 2006-08-15  Jonas Witt <jonas.witt@gmail.com>
18695
18696         Reviewed by Darin Adler.
18697
18698         - added a function to create a few DOMKeyboardEvents and dispatch
18699           them to a specified HTML element
18700           http://bugs.webkit.org/show_bug.cgi?id=9736
18701
18702         * DumpRenderTree/EventSendingController.m:
18703         (+[EventSendingController isSelectorExcludedFromWebScript:]):
18704         (+[EventSendingController webScriptNameForSelector:]):
18705         (-[EventSendingController fireKeyboardEventsToElement:]):
18706
18707 2006-08-15  Duncan Wilcox  <duncan@mclink.it>
18708
18709         Reviewed and tweaked by Darin Adler.
18710
18711         - added DumpRenderTree support so editing delegate can be made to refuse edits
18712           to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
18713
18714         * DumpRenderTree/DumpRenderTree.m:
18715         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
18716         to the list of methods.
18717         (+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
18718         without the colon, for the JavaScript name.
18719         (-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
18720         delegate.
18721         (dumpRenderTree): Set the acceptsEditing flag to YES before each test.
18722
18723         * DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
18724         setter methods to the class.
18725         * DumpRenderTree/EditingDelegate.m:
18726         (-[EditingDelegate init]): Initialize acceptsEditing to YES.
18727         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
18728         return the value of acceptsEditing.
18729         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
18730         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
18731         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
18732         (-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
18733         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
18734         Ditto.
18735         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
18736         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
18737         (-[EditingDelegate setAcceptsEditing:]): Added.
18738
18739 2006-08-03  Mark Rowe  <opendarwin.org@bdash.net.nz>
18740
18741         Reviewed by Darin Adler.
18742
18743         Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
18744         http://bugs.webkit.org/show_bug.cgi?id=10224
18745
18746         * Drosera/Drosera.xcodeproj/project.pbxproj:
18747         * Drosera/LauncherInfo.plist:
18748
18749 2006-08-03  Mitz Pettel  <opendarwin.org@mitzpettel.com>
18750
18751         - fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
18752           when a test performs an unsuccessful drag and drop operation.
18753
18754         * DumpRenderTree/EventSendingController.m:
18755         (-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
18756         drag operation for the mouse release is NSDragOperationNone.
18757
18758 2006-08-02  Timothy Hatcher  <timothy@apple.com>
18759
18760         Reviewed by Darin Adler.
18761
18762         Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
18763         http://bugs.webkit.org/show_bug.cgi?id=9632
18764
18765         Do not change the file source when normalizing the line endings.
18766         We use this file source to compare against new versions of the source
18767         as it comes in, so we can skip re-syntax highlighting if they are the same.
18768         The problem is apparent on yahoo.com since they have mixed line endings and
18769         once we normalize them the source will always be different. This was
18770         compounded by the fact that yahoo has around 40 inline scripts. Each
18771         inline script causes us to check if the main document has more loaded,
18772         that is when we compare the source strings. Since they are always different
18773         we would syntax highlight yahoo.com 40 times! We do check source length before
18774         doing a more expensive string comparison, but the lengths were the same.
18775
18776         * Drosera/debugger.js:
18777
18778 2006-08-02  Niels Leenheer  <niels.leenheer@gmail.com>
18779
18780         Reviewed by Timothy.
18781
18782         Bug 9931: [Drosera] Needs a cool icon
18783         http://bugs.webkit.org/show_bug.cgi?id=9931
18784
18785         * Drosera/Drosera.icns: Added.
18786         * Drosera/Drosera.xcodeproj/project.pbxproj:
18787         * Drosera/Info.plist:
18788
18789 2006-08-01  Darin Adler  <darin@apple.com>
18790
18791         - fix a bug in my recent change where the mouse position at the end of
18792           the last test would affect the results of the next test
18793
18794         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
18795
18796 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
18797
18798         Reviewed by Maciej.
18799
18800         http://bugs.webkit.org/show_bug.cgi?id=10182
18801         Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
18802
18803         * Drosera/console.js: String.indexOf returns -1 when the string is not found.
18804         Correct the logic to not reload local variable list unless an '=' character is in the expression.
18805
18806 2006-07-31  Darin Adler  <darin@apple.com>
18807
18808         Reviewed by Maciej.
18809
18810         - fix http://bugs.webkit.org/show_bug.cgi?id=10171
18811           REGRESSION: failing layout test: fast/events/objc-event-api.html
18812
18813         * DumpRenderTree/DumpRenderTree.m:
18814         (main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
18815         location in flipped coordinates, since those are the coordinates that we use.
18816         (+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
18817         inside WebHTMLView.
18818
18819         * DumpRenderTree/EventSendingController.m:
18820         (+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
18821         (-[EventSendingController init]): Removed, since the whole thing was a no-op.
18822         (-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
18823         probably worked OK, but this is needed to be correct.
18824         (-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
18825         code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
18826         position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
18827         dump the screenY as-is.
18828
18829 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
18830
18831         Reviewed by Darin Adler.
18832
18833         http://bugs.webkit.org/show_bug.cgi?id=10178
18834         Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
18835
18836         * Drosera/debugger.js:  Keep a stack that contains the source file and line number references for outer
18837         frames.  Use this stack to determine which file and line to highlight when a stack frame is selected.
18838
18839 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
18840
18841         Reviewed by Darin Adler.
18842
18843         http://bugs.webkit.org/show_bug.cgi?id=10175
18844         Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
18845
18846         * Drosera/DebuggerDocument.m:
18847         (-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
18848
18849 2006-07-31  Mark Rowe  <opendarwin.org@bdash.net.nz>
18850
18851         Reviewed by Darin Adler.
18852
18853         http://bugs.webkit.org/show_bug.cgi?id=10167
18854         Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
18855
18856         * DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
18857         in keyDown handler.
18858
18859 2006-07-30  Mark Rowe  <opendarwin.org@bdash.net.nz>
18860
18861         Reviewed by Maciej.
18862
18863         Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
18864         http://bugs.webkit.org/show_bug.cgi?id=9686
18865
18866         * Drosera/DebuggerDocument.m:
18867         (-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
18868         ensure that the server does not try and notify us of events related to the resumption.
18869         (-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
18870         call through to JavaScript.
18871         * Drosera/debugger.js: Pause debugger when exception is raised.
18872
18873 2006-07-29  Mike Emmel  <mike.emmel@gmail.com>
18874
18875         Reviewed by Darin Adler.
18876
18877         - fixes for Linux build
18878
18879         * GdkLauncher/mk: Added call to bakefile_gen before calling make.
18880         * GdkLauncher/gdklauncher.bkl: Tweak comment.
18881
18882 2006-07-24  Dan Waylonis  <waylonis@google.com>
18883
18884         Reviewed and tweaked a bit by Darin Adler.
18885
18886         * DumpRenderTree/ObjCPlugin.m:
18887         (+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
18888         (+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
18889         "echo:" so it's nice to call from JavaScript.
18890         (-[ObjCPlugin echo:]): Just returns the same object -- can be used
18891         to test a round trip through Objective-C types.
18892
18893 2006-07-24  Alexey Proskuryakov  <ap@nypop.com>
18894
18895         Reviewed by Darin Adler.
18896
18897         Fix http://bugs.webkit.org/show_bug.cgi?id=10060
18898         Improve iExploder results parsing
18899
18900         * Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
18901         in random mode, too.
18902
18903 2006-07-18  David Kilzer  <ddkilzer@kilzer.net>
18904
18905         Reviewed by Timothy.
18906
18907         - fix http://bugs.webkit.org/show_bug.cgi?id=9964
18908           Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
18909
18910         * Scripts/prepare-ChangeLog: Added --[no-]update switch.
18911
18912 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
18913
18914         Reviewed by Darin Adler.
18915
18916         * BuildSlaveSupport/build.webkit.org-config/buildbot.css:
18917         Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
18918         * GdkLauncher/mk:
18919         Removed "Property changes" that snuck in as part of the "apply patch" process.
18920
18921 2006-07-16  David Kilzer  <ddkilzer@kilzer.net>
18922
18923         Reviewed by Darin Adler.
18924
18925         - fix http://bugs.webkit.org/show_bug.cgi?id=9875
18926           Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
18927
18928         * Scripts/svn-apply:
18929         (addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
18930         (checksum): Added.
18931         (patch): Use patch(1) for non-binary additions and deletions.
18932         * Scripts/svn-unapply:
18933         (checksum): Added.
18934         (patch): Use patch(1) for reverting non-binary additions and deletions.
18935         (revertDirectories): Don't try to revert a directory that hasn't changed in svn.
18936
18937 2006-07-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
18938
18939         Reviewed by Timothy.
18940
18941         Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
18942         http://bugs.webkit.org/show_bug.cgi?id=9889
18943
18944         * Drosera/debugger.js:  Track whether we paused during the execution of willLeaveFrame.  If
18945         so, have stepOut pause on the next call to willExecuteStatement rather than second.
18946
18947 2006-07-12  David Kilzer  <ddkilzer@kilzer.net>
18948
18949         Reviewed by Darin Adler.
18950
18951         - fix http://bugs.webkit.org/show_bug.cgi?id=9848
18952           Teach svn-create-patch and friends to fix ChangeLog patches
18953
18954         * Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
18955         * Scripts/svn-create-patch: Ditto.
18956         * Scripts/svn-unapply: Ditto.
18957
18958 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
18959
18960         Reviewed by ggaren.
18961
18962         Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
18963         http://bugs.webkit.org/show_bug.cgi?id=9869
18964
18965         * Drosera/DebuggerDocument.m:
18966         (-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
18967
18968 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
18969
18970         Reviewed by ggaren.
18971
18972         Bug 9863: Drosera needs to show something at launch
18973         http://bugs.webkit.org/show_bug.cgi?id=9863
18974
18975         * Drosera/DebuggerApplication.m:
18976         (-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
18977
18978 2006-07-12  Mark Rowe  <opendarwin.org@bdash.net.nz>
18979
18980         Reviewed by Timothy.
18981
18982         Lets Drosera build universal for the nightlies. Right now it is not
18983         possible to build a universal binary on a PPC machine because of a
18984         conflict with the universal SDK.
18985
18986         * BuildSlaveSupport/build-launcher-app:
18987         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
18988
18989 2006-07-11  Alexey Proskuryakov  <ap@nypop.com>
18990
18991         Reviewed by Tim O.
18992
18993         - test for http://bugs.webkit.org/show_bug.cgi?id=7808
18994         Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
18995
18996         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
18997         (pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
18998         should open a new stream and deliver the data to the current instance.
18999
19000 2006-07-11  Timothy Hatcher  <timothy@apple.com>
19001
19002         Reviewed by Darin Adler.
19003
19004         Bug 9598: [Drosera] add a JavaScript evaluator console
19005         http://bugs.webkit.org/show_bug.cgi?id=9598
19006
19007         * Drosera/DebuggerApplication.h:
19008         * Drosera/DebuggerApplication.m:
19009         (-[DebuggerApplication knownServers]):
19010         * Drosera/DebuggerDocument.h:
19011         * Drosera/DebuggerDocument.m:
19012         (-[WebScriptObject evaluateScript:inCallFrame:]):
19013         (-[WebScriptObject showConsole:]):
19014         (-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
19015         (-[WebScriptObject toolbarDefaultItemIdentifiers:]):
19016         (-[WebScriptObject toolbarAllowedItemIdentifiers:]):
19017         (-[WebScriptObject webView:createWebViewWithRequest:]):
19018         (-[WebScriptObject webViewShow:]):
19019         (-[WebScriptObject webViewAreToolbarsVisible:]):
19020         (-[WebScriptObject webView:setToolbarsVisible:]):
19021         (-[WebScriptObject webView:setResizable:]):
19022         (-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
19023         (-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
19024         (-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
19025         (-[WebScriptObject webView:windowScriptObjectAvailable:]):
19026         (-[WebScriptObject webView:didFinishLoadForFrame:]):
19027         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
19028         * Drosera/Drosera.xcodeproj/project.pbxproj:
19029         * Drosera/Images/console.png: Added.
19030         * Drosera/console.css: Added.
19031         * Drosera/console.html: Added.
19032         * Drosera/console.js: Added.
19033
19034 2006-07-11  Timothy Hatcher  <timothy@apple.com>
19035
19036         Reviewed by a tired Geoff.
19037
19038         Bug 9597: [Drosera] hook up the variables table to show stack variables
19039         http://bugs.webkit.org/show_bug.cgi?id=9597
19040
19041         * Drosera/DebuggerDocument.m:
19042         (-[WebScriptObject isSelectorExcludedFromWebScript:]):
19043         (-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
19044         (-[WebScriptObject localScopeVariableNamesForCallFrame:]):
19045         (-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
19046         (-[WebScriptObject webView:didReceiveTitle:forFrame:]):
19047         (-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
19048         (-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
19049         (-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
19050         (-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
19051         (-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
19052         * Drosera/debugger.css:
19053         * Drosera/debugger.html:
19054         * Drosera/debugger.js:
19055
19056 2006-07-10  Tim Omernick  <timo@apple.com>
19057
19058         Reviewed by Beth Dakin.
19059
19060         <http://bugs.webkit.org/show_bug.cgi?id=9844>:
19061         Add DOM access test to DumpRenderTree's Netscape plug-in
19062
19063         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
19064         (testDOMAccess):
19065         (pluginInvoke):
19066
19067 2006-07-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
19068
19069         Reviewed by Darin Adler.
19070
19071         - http://bugs.webkit.org/show_bug.cgi?id=9839
19072           Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
19073
19074         Now track three states: initializing, running, and closed.  If we are launched and the previous
19075         state was initializing then we likely just experienced a crash on launch.
19076
19077         * WebKitLauncher/WebKitNightlyEnabler.m:
19078         (myApplicationWillFinishLaunching): Improve wording of dialog.  Update to set new running state.
19079         (myApplicationWillTerminate): Update to use new states.
19080         (cleanUpAfterOurselves): Display alert if previous state was initializing.  Set state as
19081         initializing as early as practical.
19082         (symbol_lookup): Bring code up to speed with formatting guidelines.
19083         (GDSymbolLookup): Ditto.
19084
19085 2006-07-10  Darin Adler  <darin@apple.com>
19086
19087         - try to fix Windows build
19088
19089         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
19090         Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
19091
19092 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
19093
19094         Build fix.
19095
19096         - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
19097           devenv.com not available in VC++ Express installations
19098
19099         * Scripts/webkitdirs.pm: Backed out previous change.
19100
19101 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
19102
19103         Reviewed by Darin Adler.
19104
19105         - http://bugs.webkit.org/show_bug.cgi?id=9693
19106           svn-apply should set ChangeLog date correctly when applying patches
19107
19108         * Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
19109         before applying the patch.
19110         * Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
19111
19112 2006-07-09  Darin Adler  <darin@apple.com>
19113
19114         * Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
19115
19116 2006-07-09  Darin Adler  <darin@apple.com>
19117
19118         * Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
19119
19120 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
19121
19122         - http://bugs.webkit.org/show_bug.cgi?id=7802
19123           devenv.com not available in VC++ Express installations
19124
19125         * Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
19126         work again.  Add VC++ Express check as the fallback.
19127
19128 2006-07-09  Bjoern Graf  <bjoern.graf@gmail.com>
19129
19130         Reviewed by Timothy Hatcher.
19131
19132         - http://bugs.webkit.org/show_bug.cgi?id=7802
19133           devenv.com not available in VC++ Express installations
19134
19135         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
19136
19137 2006-07-09  Joost de Valk  <jdevalk@opendarwin.org>
19138
19139         Reviewed by Eric.
19140
19141         Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
19142         Patch by coldwinter@katamail.com.
19143
19144         In the congratulations message, "capatibilies" should be "capabilities".
19145
19146         * Scripts/build-webkit:
19147
19148 2006-07-09  David Kilzer  <ddkilzer@kilzer.net>
19149
19150         Reviewed by Timothy Hatcher.
19151
19152         - http://bugs.webkit.org/show_bug.cgi?id=9794
19153           Teach run-webkit-tests how to ignore tests with performance improvements
19154
19155         * Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
19156         feature, and minor clean up.
19157
19158 2006-07-08  Darin Adler  <darin@apple.com>
19159
19160         Reviewed by Geoff (well, half of it at least).
19161
19162         - http://bugs.webkit.org/show_bug.cgi?id=9788
19163           storage leaks in Objective-C tests
19164
19165         * DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
19166         * DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
19167         Add a release to fix a storage leak.
19168
19169 2006-07-08  Darin Adler  <darin@apple.com>
19170
19171         * Scripts/do-webcore-rename: A few more.
19172
19173 2006-07-08  Darin Adler  <darin@apple.com>
19174
19175         * Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
19176
19177 2006-07-04  Maciej Stachowiak  <mjs@apple.com>
19178
19179         Reviewed by Darin Adler.
19180
19181         http://bugs.webkit.org/show_bug.cgi?id=9734
19182         - add support for dumping non-HTML as text - in this case use textContent
19183         instead of innerText
19184
19185         * DumpRenderTree/DumpRenderTree.m:
19186         (dump):
19187
19188 2006-07-02  Timothy Hatcher  <timothy@apple.com>
19189
19190         Reviewed by Eric.
19191
19192         Bug 9631: [Drosera] Add "Step Over" and "Step Out"
19193         http://bugs.webkit.org/show_bug.cgi?id=9631
19194
19195         Adds step over and step out. Along with a little code cleanup
19196         that was minor enough to piggyback on this fix.
19197
19198         * Drosera/DebuggerDocument.h:
19199         * Drosera/DebuggerDocument.m:
19200         (-[DebuggerDocument stepOver:]):
19201         (-[DebuggerDocument stepOut:]):
19202         (-[DebuggerDocument windowDidLoad]):
19203         (-[DebuggerDocument windowWillClose:]):
19204         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
19205         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
19206         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
19207         (-[DebuggerDocument validateUserInterfaceItem:]):
19208         * Drosera/Drosera.xcodeproj/project.pbxproj:
19209         * Drosera/debugger.html:
19210         * Drosera/debugger.js:
19211         * Drosera/viewer.css:
19212
19213 2006-07-02  Timothy Hatcher  <timothy@apple.com>
19214
19215         Reviewed by Eric.
19216
19217         Bug 9628: [Drosera] Split Views acting oddly
19218         http://bugs.webkit.org/show_bug.cgi?id=9628
19219
19220         Only update the last X or Y coordinate if the new
19221         size was not constrained. Also adds the resize cursor to
19222         the body during the drag incase there is a constrained
19223         over drag off of the resizer element.
19224
19225         * Drosera/debugger.js:
19226
19227 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
19228
19229         Reviewed by Alexey Proskuryakov.
19230
19231         Bug 9692: Warning about Safari extensions on every launch is obnoxious
19232         http://bugs.webkit.org/show_bug.cgi?id=9692
19233
19234         * WebKitLauncher/WebKitNightlyEnabler.m:
19235         (myApplicationWillTerminate): Note that we are exiting cleanly.
19236         (cleanUpAfterOurselves): Install bundle load tracking only if we failed
19237          to exit cleanly on our last invocation.  This doesn't play nicely with
19238          multiple concurrent instances of WebKit.app so it can be disabled via
19239          defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
19240
19241 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
19242
19243         Reviewed by Alexey Proskuryakov.
19244
19245         Bug 9654: Refresh Loop when accessing feed URLs
19246         http://bugs.webkit.org/show_bug.cgi?id=9654
19247
19248         * WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
19249
19250 2006-07-02  Mark Rowe  <opendarwin.org@bdash.net.nz>
19251
19252         Reviewed by Timothy Hatcher.
19253
19254         Bug 9689: Nightly builds should warn a user about potential problems when using
19255         "Safari extensions"
19256         http://bugs.webkit.org/show_bug.cgi?id=9689
19257
19258         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
19259         * WebKitLauncher/WebKitNightlyEnabler.m:
19260         (myBundleDidLoad): Keep track of if any bundles that are loaded.
19261         (myApplicationWillFinishLaunching):  Notify user if any bundles are loaded.
19262         (cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
19263         NSApplicationWillFinishLaunchingNotification notifications so that we can
19264         track bundle loads and notify the user at launch completion.
19265
19266 2006-06-30  Mike Emmel  <mike.emmel@gmail.com>
19267
19268         Reviewed by Darin Adler.
19269
19270         - first check-in of a Gdk shell for testing WebKit
19271
19272         * GdkLauncher: Added.
19273
19274 2006-06-29  Timothy Hatcher  <timothy@apple.com>
19275
19276         Reviewed by Darin Adler.
19277
19278         Need to call window close so WebView tears-down completly.
19279
19280         * DumpRenderTree/DumpRenderTree.m:
19281         (main): call [window close]
19282
19283 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
19284
19285         Reviewed by Darin Adler.
19286
19287         Bug 9615: Buildbot configuration should be in SVN repository
19288         http://bugs.webkit.org/show_bug.cgi?id=9615
19289
19290         Import BuildBot configuration files as used by build.webkit.org.
19291         auth.py has been stubbed out so that slave passwords are not disclosed.
19292
19293         * BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
19294         * BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
19295         * BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
19296         * BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
19297         * BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
19298         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
19299         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
19300         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
19301         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
19302         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
19303         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
19304         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
19305
19306 2006-06-29  Mark Rowe  <opendarwin.org@bdash.net.nz>
19307
19308         Reviewed by Darin Adler.
19309
19310         Bug 9614: Nightly builds should notify user if a newer build is available
19311         http://bugs.webkit.org/show_bug.cgi?id=9614
19312
19313         * BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
19314         * BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
19315         script so it can keep track of the latest revision.
19316         * Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
19317         * WebKitLauncher/VERSION: Added.  Placeholder for SVN revision number
19318         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
19319         * WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
19320         the nightly start page.
19321
19322 2006-06-26  Jonas Witt  <jonas.witt@gmail.com>
19323
19324         Reviewed by Darin Adler.
19325
19326         Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
19327         http://bugs.webkit.org/show_bug.cgi?id=9579
19328
19329         Report screenY values as (height of zero screen - screenY)
19330
19331         * DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
19332
19333 2006-06-25  Timothy Hatcher  <timothy@apple.com>
19334
19335         Reviewed by Geoff.
19336
19337         Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
19338         http://bugs.webkit.org/show_bug.cgi?id=9591
19339
19340         Makes breakpoints dragable. If dragged off the gutter they are deleted.
19341
19342         * Drosera/debugger.js:
19343         * Drosera/viewer.css:
19344
19345 2006-06-25  Timothy Hatcher  <timothy@apple.com>
19346
19347         Reviewed by Darin Adler.
19348
19349         Bug 9568: assertion failure in Safari after quitting Drosera
19350         http://bugs.webkit.org/show_bug.cgi?id=9568
19351
19352         Call switchToServerNamed:nil and not removeLister to make sure
19353         the server object is set to nil to prevent further removeListener calls.
19354
19355         * Drosera/DebuggerDocument.m:
19356         (-[DebuggerDocument applicationTerminating:]):
19357
19358 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
19359
19360         Reviewed by Darin Adler.
19361
19362         * Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
19363         that the directory is not empty instead of reading in every single file and directory first,
19364         then checking the count.  Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
19365         defined.
19366
19367 2006-06-25  Darin Adler  <darin@apple.com>
19368
19369         * Scripts/svn-apply: Tweak comments.
19370         * Scripts/svn-create-patch: Ditto.
19371         * Scripts/svn-unapply: Ditto.
19372
19373 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
19374
19375         Formatting fix per Bug 9571 Comment #2.
19376
19377         http://bugs.webkit.org/show_bug.cgi?id=9571#c2
19378
19379         * Scripts/svn-apply: Formatting fix.
19380
19381 2006-06-25  David Kilzer  <ddkilzer@kilzer.net>
19382
19383         Reviewed by Darin Adler.
19384
19385         http://bugs.webkit.org/show_bug.cgi?id=9571
19386         Teach svn-apply and svn-unapply to handle directory adds and removes better
19387
19388         * Scripts/svn-apply: Handle directory adds more intelligently.  Handle directory removes.
19389         * Scripts/svn-unapply: Handle undoing both directory adds and removes.
19390
19391 2006-06-25  Timothy Hatcher  <timothy@apple.com>
19392
19393         Reviewed by Darin Adler.
19394
19395         Bug 9574: Drosera should show inline scripts within the original HTML
19396         http://bugs.webkit.org/show_bug.cgi?id=9574
19397
19398         Refactor the JavaScript code to have a distinction between files
19399         and scripts. Show the script in the context of the HTML file if
19400         it's URL is the same as the frame's main resource. At the time of
19401         the disParseScript callback the main resource might not be completely
19402         loaded, but Drosera needs to show whatever we have at the time. Once
19403         the main resource is finished, update the file source and reload the file.
19404
19405         * Drosera/DebuggerDocument.m:
19406         (-[DebuggerDocument pause]):
19407         (-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
19408         (-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
19409         (-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
19410         * Drosera/debugger.css:
19411         * Drosera/debugger.js:
19412
19413 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
19414
19415         Reviewed by Darin Adler.
19416
19417         http://bugs.webkit.org/show_bug.cgi?id=9570
19418         Teach prepare-ChangeLog to operate on a list of files or directories
19419
19420         * Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
19421         * Scripts/svn-create-patch: Code refactoring.
19422
19423 2006-06-24  James G. Speth  <speth@end.com>
19424
19425         Reviewed by Darin Adler.
19426
19427         - http://bugs.webkit.org/show_bug.cgi?id=8843
19428           add a way to build Objective-C test cases in HTML
19429
19430         Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
19431         allowing more extensive testing of the Obj-C API.  (and by more extensive, I mean this lets scripts do
19432         pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
19433         objects, etc... )
19434
19435         * DumpRenderTree/ObjCPlugin.h:
19436         * DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
19437         (+[ObjCPlugin isSelectorExcludedFromWebScript:]):
19438         (+[ObjCPlugin webScriptNameForSelector:]):
19439         (-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
19440         (+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
19441         (+[NSObject allowsScriptsFullAccess]):
19442         (+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
19443         (+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
19444         (-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
19445         (+[JSObjC webScriptNameForSelector:]):
19446         (-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
19447         (-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
19448         (-[JSObjC log:]): access to NSLog function
19449         (-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
19450         (-[JSObjC classOfObject:]):
19451         (-[JSObjC classNameOfObject:]):
19452
19453 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
19454
19455         Reviewed by Timothy.
19456
19457         * DrawTest/Info.plist: Added copyright statement.
19458         * Drosera/Info.plist: Ditto.
19459         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
19460         * WebKitLauncher/Info.plist: Ditto.
19461
19462 2006-06-24  David Kilzer  <ddkilzer@kilzer.net>
19463
19464         Build fix.
19465
19466         - Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
19467           devenv.com not available in VC++ Express installations
19468
19469         * Scripts/webkitdirs.pm: Backed out previous change.
19470
19471 2006-06-24  Bjoern Graf  <bjoern.graf@gmail.com>
19472
19473         Reviewed by Maciej.
19474
19475         - http://bugs.webkit.org/show_bug.cgi?id=7802
19476           devenv.com not available in VC++ Express installations
19477
19478         * Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
19479
19480 2006-06-24  Alexey Proskuryakov  <ap@nypop.com>
19481
19482         Reviewed by Darin Adler.
19483
19484         - http://bugs.webkit.org/show_bug.cgi?id=9564
19485           A bunch of fixes to run-webkit-httpd
19486
19487         - Add an -all-interfaces (-a) flag to bind to all interfaces, not just
19488           127.0.0.1. Useful for testing with WinIE running on another machine;
19489         - don't call checkFrameworks() - we do not need a built WebKit here;
19490         - changed tabs to spaces;
19491         - disable HTTP keepalive (since Apache doesn't spawn sub-processes in
19492           interactive mode, they were a hassle when testing with several browsers, as one
19493           had to wait for connection to expire);
19494         - remove httpd.pid when done, so that Apache doesn't complain next time.
19495
19496         * Scripts/run-webkit-httpd:
19497
19498 2006-06-24  Jonas Witt <jonas.witt@gmail.com>
19499
19500         Reviewed by ggaren, landed by ap.
19501
19502         - http://bugs.webkit.org/show_bug.cgi?id=9181
19503           Complete DOMUIEvent Obj-C API to reflect UIEvent
19504
19505         Add function to enable logging of all events of one DOM node to stdout.
19506
19507         * DumpRenderTree/EventSendingController.h:
19508         * DumpRenderTree/EventSendingController.m:
19509         (+[EventSendingController initialize]):
19510         (+[EventSendingController isSelectorExcludedFromWebScript:]):
19511         (+[EventSendingController webScriptNameForSelector:]):
19512         (-[EventSendingController enableDOMUIEventLogging:]):
19513         (-[EventSendingController handleEvent:]):
19514
19515 2006-06-23  Kevin Decker         <kdecker@apple.com>
19516
19517         Reviewed by Tim Hatcher.
19518
19519         - Made column headers in Drosera resizable.
19520
19521 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
19522
19523         Reviewed by ggaren.
19524
19525         - see http://bugs.webkit.org/show_bug.cgi?id=9539
19526         Another case error preventing build
19527
19528         * Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
19529
19530 2006-06-22  Timothy Hatcher  <timothy@apple.com>
19531
19532         Reviewed by Eric.
19533
19534         Adds a native toolbar to Drosera to be a good citizen.
19535         Adds a Debug menu with key-commands for Continue, Pause and Step Into.
19536         Fixes a dragging bug from an earlier fix to the divider code.
19537         Fixes some poor indenting in debugger.js.
19538
19539         * Drosera/DebuggerDocument.h:
19540         * Drosera/DebuggerDocument.m:
19541         (-[DebuggerDocument stepInto]):
19542         (-[DebuggerDocument pause:]):
19543         (-[DebuggerDocument resume:]):
19544         (-[DebuggerDocument stepInto:]):
19545         (-[DebuggerDocument windowDidLoad]):
19546         (-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
19547         (-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
19548         (-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
19549         (-[DebuggerDocument validateUserInterfaceItem:]):
19550         * Drosera/English.lproj/MainMenu.nib/classes.nib:
19551         * Drosera/English.lproj/MainMenu.nib/info.nib:
19552         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
19553         * Drosera/debugger.css:
19554         * Drosera/debugger.html:
19555         * Drosera/debugger.js:
19556         * Drosera/viewer.html:
19557
19558 2006-06-22  Kevin Decker         <kdecker@apple.com>
19559
19560         Reviewed by Anders.
19561
19562         - Added pressed column header image.
19563         - Made column headers behave more like Xcode.
19564
19565 2006-06-22  Timothy Hatcher  <timothy@apple.com>
19566
19567         Reviewed by Kevin Decker.
19568
19569         Code clean up. Adds the stackframe and makes only the body
19570         of the tables scrollable keeping the header visible.
19571         Shows the current function stack when paused or stepping.
19572
19573         * Drosera/DebuggerApplication.m:
19574         (-[DebuggerApplication awakeFromNib]):
19575         (-[DebuggerApplication numberOfRowsInTableView:]):
19576         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
19577         * Drosera/DebuggerDocument.h:
19578         * Drosera/DebuggerDocument.m:
19579         (-[DebuggerDocument dealloc]):
19580         (-[DebuggerDocument currentFrame]):
19581         (-[DebuggerDocument currentFrameFunctionName]):
19582         (-[DebuggerDocument currentFunctionStack]):
19583         (-[DebuggerDocument log:]):
19584         (-[DebuggerDocument windowWillClose:]):
19585         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
19586         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
19587         * Drosera/Drosera.xcodeproj/project.pbxproj:
19588         * Drosera/debugger.css:
19589         * Drosera/debugger.html:
19590         * Drosera/debugger.js:
19591
19592 2006-06-22  Alexey Proskuryakov  <ap@nypop.com>
19593
19594         Reviewed by Anders.
19595
19596         Teach run-webkit-httpd to properly look for webkitdirs.pm.
19597
19598         * Scripts/run-webkit-httpd:
19599
19600 2006-06-22  Kevin Decker         <kdecker@apple.com>
19601
19602         Reviewed by Tim Hatcher.
19603
19604         - More progress toward Javascript Debugger.
19605         - Added some new images to the project.
19606
19607 2006-06-21  Alexey Proskuryakov  <ap@nypop.com>
19608
19609         Reviewed by Anders.
19610
19611         - http://bugs.webkit.org/show_bug.cgi?id=9516
19612           Would like a script to run a httpd server with the same configuration as run-webkit-tests http
19613
19614         * Scripts/run-webkit-httpd: Added.
19615
19616 2006-06-20  Timothy Hatcher  <timothy@apple.com>
19617
19618         Reviewed by Eric.
19619
19620         Builds Drosera and a launcher to include with the nightly.
19621
19622         * BuildSlaveSupport/build-launcher-app:
19623         * BuildSlaveSupport/build-launcher-dmg:
19624         * Drosera/Drosera.xcodeproj/project.pbxproj:
19625         * Drosera/Info.plist:
19626         * Drosera/LauncherInfo.plist: Added.
19627         * Drosera/launcher.m: Added.
19628         (displayErrorAndQuit):
19629         (checkMacOSXVersion):
19630         (myExecve):
19631         (main):
19632         * Scripts/build-drosera
19633         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
19634         * WebKitLauncher/main.m:
19635         (main):
19636
19637 2006-06-20  Timothy Hatcher  <timothy@apple.com>
19638
19639         Reviewed by Darin Adler.
19640
19641         Adds a JavaScript debugger, called Drosera. Named after
19642         a genus of bug eating plants.
19643
19644         * Drosera/DebuggerApplication.h: Added.
19645         * Drosera/DebuggerApplication.m: Added.
19646         (-[DebuggerApplication applicationDidFinishLaunching:]):
19647         (-[DebuggerApplication serverLoaded:]):
19648         (-[DebuggerApplication serverUnloaded:]):
19649         (-[DebuggerApplication awakeFromNib]):
19650         (-[DebuggerApplication showAttachPanel:]):
19651         (-[DebuggerApplication attach:]):
19652         (-[DebuggerApplication numberOfRowsInTableView:]):
19653         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
19654         (-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
19655         (-[DebuggerApplication tableViewSelectionDidChange:]):
19656         * Drosera/DebuggerDocument.h: Added.
19657         * Drosera/DebuggerDocument.m: Added.
19658         (+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
19659         (+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
19660         (+[DebuggerDocument isSelectorExcludedFromWebScript:]):
19661         (+[DebuggerDocument isKeyExcludedFromWebScript:]):
19662         (-[DebuggerDocument initWithServerName:]):
19663         (-[DebuggerDocument windowWillClose:]):
19664         (-[DebuggerDocument dealloc]):
19665         (-[DebuggerDocument isPaused]):
19666         (-[DebuggerDocument pause]):
19667         (-[DebuggerDocument resume]):
19668         (-[DebuggerDocument step]):
19669         (-[DebuggerDocument windowNibName]):
19670         (-[DebuggerDocument windowDidLoad]):
19671         (-[DebuggerDocument switchToServerNamed:]):
19672         (-[DebuggerDocument applicationTerminating:]):
19673         (-[DebuggerDocument serverConnectionDidDie:]):
19674         (-[DebuggerDocument webView:windowScriptObjectAvailable:]):
19675         (-[DebuggerDocument webView:didFinishLoadForFrame:]):
19676         (-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
19677         (-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
19678         (-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
19679         (-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
19680         * Drosera/Drosera.pch: Added.
19681         * Drosera/Drosera.xcodeproj/project.pbxproj: Added.
19682         * Drosera/English.lproj/Debugger.nib/classes.nib: Added.
19683         * Drosera/English.lproj/Debugger.nib/info.nib: Added.
19684         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
19685         * Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
19686         * Drosera/English.lproj/MainMenu.nib/info.nib: Added.
19687         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
19688         * Drosera/Images/breakPoint.tif: Added.
19689         * Drosera/Images/breakPointDisabled.tif: Added.
19690         * Drosera/Images/continue.tif: Added.
19691         * Drosera/Images/finishFunction.tif: Added.
19692         * Drosera/Images/glossyFooterFill.tif: Added.
19693         * Drosera/Images/glossyHeader.png: Added.
19694         * Drosera/Images/gradientBackground.png: Added.
19695         * Drosera/Images/gutter.png: Added.
19696         * Drosera/Images/navLeftDisabled.png: Added.
19697         * Drosera/Images/navLeftNormal.png: Added.
19698         * Drosera/Images/navLeftPressed.png: Added.
19699         * Drosera/Images/navRightDisabled.png: Added.
19700         * Drosera/Images/navRightNormal.png: Added.
19701         * Drosera/Images/navRightPressed.png: Added.
19702         * Drosera/Images/pause.tif: Added.
19703         * Drosera/Images/popUpArrows.png: Added.
19704         * Drosera/Images/programCounter.tif: Added.
19705         * Drosera/Images/programCounterBreakPoint.tif: Added.
19706         * Drosera/Images/programCounterBreakPointDisabled.tif: Added.
19707         * Drosera/Images/run.tif: Added.
19708         * Drosera/Images/splitterBar.tif: Added.
19709         * Drosera/Images/splitterDimple.tif: Added.
19710         * Drosera/Images/step.tif: Added.
19711         * Drosera/Images/stepOver.tif: Added.
19712         * Drosera/Images/stop.tif: Added.
19713         * Drosera/Images/toolbarBackground.png: Added.
19714         * Drosera/Info.plist: Added.
19715         * Drosera/debugger.css: Added.
19716         * Drosera/debugger.html: Added.
19717         * Drosera/debugger.js: Added.
19718         * Drosera/main.m: Added.
19719         (main):
19720         * Drosera/viewer.css: Added.
19721         * Drosera/viewer.html: Added.
19722
19723 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
19724
19725         Reviewed by darin.
19726
19727         http://bugs.webkit.org/show_bug.cgi?id=9485
19728         Teach svn-apply and svn-unapply to use full path names
19729
19730         * Scripts/svn-apply: Changed to use full path names.  Cleaned up code.
19731         * Scripts/svn-unapply: Ditto.
19732
19733 2006-06-18  David Kilzer  <ddkilzer@kilzer.net>
19734
19735         Reviewed by ggaren.
19736
19737         - http://bugs.webkit.org/show_bug.cgi?id=9150
19738           DumpRenderTree should be able to keep URL history during runs
19739
19740         Test: LayoutTests/fast/history/clicked-link-is-visited.html
19741
19742         * DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
19743         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
19744         (-[LayoutTestController keepWebHistory]): Added.  We only set optional shared history if
19745         it is currently nil since keepWebHistory() might be called more than once incidentally
19746         for the same test.
19747         (dumpRenderTree): Set optional shared history in WebHistory to nil by default.
19748         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
19749
19750 2006-06-11  David Kilzer  <ddkilzer@kilzer.net>
19751
19752         Reviewed by darin.
19753
19754         http://bugs.webkit.org/show_bug.cgi?id=9395
19755         Make prepare-ChangeLog faster
19756
19757         * Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
19758         then save the diff output for reuse.  Keep a status variable if changes are made to
19759         LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
19760         WebCore is updated.  Added -h|--help command-line switch and help message.  Move test
19761         for no changed files closer to the beginning of the program.
19762
19763 2006-06-10  Mitz Pettel  <opendarwin.org@mitzpettel.com>
19764
19765         Reviewed and landed by ap.
19766
19767         - make DumpRenderTree build
19768
19769         * DumpRenderTree/DumpRenderTree.m:
19770         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
19771         (-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
19772         (-[LayoutTestController setWindowIsKey:]): Ditto.
19773         (-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
19774
19775 2006-06-09  David Kilzer  <ddkilzer@kilzer.net>
19776
19777         Reviewed by Darin, landed by Geoff.
19778
19779         http://bugs.webkit.org/show_bug.cgi?id=9350
19780         Use pathcmp() when sorting paths in svn-create-patch
19781
19782         * Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
19783         * Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
19784         Changed sort() functions to use pathcmp().  Added subroutine prototypes.  Added -h command-line
19785         switch and printUsage() subroutine.
19786
19787 2006-06-06  David Kilzer  <ddkilzer@kilzer.net>
19788
19789         Reviewed by darin.
19790
19791         http://bugs.webkit.org/show_bug.cgi?id=9322
19792         Teach svn-create-patch to sort its output
19793
19794         * Scripts/svn-create-patch: Clean up perl code.  Sort patch output alphabetically
19795         by text files first, then by binary files.
19796
19797 2006-06-04  David Kilzer  <ddkilzer@kilzer.net>
19798
19799         Reviewed by darin.
19800
19801         http://bugs.webkit.org/show_bug.cgi?id=9299
19802         Teach svn-create-patch and friends to work with binary files
19803
19804         * Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
19805         * Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
19806         * Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
19807
19808 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
19809
19810         Reviewed by Maciej.
19811
19812         http://bugs.webkit.org/show_bug.cgi?id=9296
19813         Performance improvement for svn-create-patch
19814
19815         * Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
19816
19817 2006-06-03  David Kilzer  <ddkilzer@kilzer.net>
19818
19819         Reviewed by darin.
19820
19821         http://bugs.webkit.org/show_bug.cgi?id=9290
19822         Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
19823
19824         * Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
19825         * Scripts/svn-unapply: Ditto.  Also simplified reversing a deletion.
19826
19827 2006-06-03  Steve Falkenburg  <sfalken@apple.com>
19828
19829         Reviewed by hyatt.
19830
19831         Switch Spinneret to new hosting mechanism
19832
19833         * Spinneret/Spinneret.sln:
19834         * Spinneret/Spinneret/Spinneret.cpp:
19835         (SpinneretWebHost::updateAddressBar):
19836         (SpinneretWebHost::QueryInterface):
19837         (SpinneretWebHost::AddRef):
19838         (SpinneretWebHost::Release):
19839         (resizeSubViews):
19840         (_tWinMain):
19841         (WndProc):
19842         (MyEditProc):
19843         (About):
19844         (loadURL):
19845         * Spinneret/Spinneret/Spinneret.h:
19846         (SpinneretWebHost::didStartProvisionalLoadForFrame):
19847         (SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
19848         (SpinneretWebHost::didFailProvisionalLoadWithError):
19849         (SpinneretWebHost::didCommitLoadForFrame):
19850         (SpinneretWebHost::didReceiveTitle):
19851         (SpinneretWebHost::didReceiveIcon):
19852         (SpinneretWebHost::didFinishLoadForFrame):
19853         (SpinneretWebHost::didFailLoadWithError):
19854         (SpinneretWebHost::didChangeLocationWithinPageForFrame):
19855         (SpinneretWebHost::willPerformClientRedirectToURL):
19856         (SpinneretWebHost::didCancelClientRedirectForFrame):
19857         (SpinneretWebHost::willCloseFrame):
19858         (SpinneretWebHost::windowScriptObjectAvailable):
19859         * Spinneret/Spinneret/Spinneret.vcproj:
19860
19861 2006-06-02  Steve Falkenburg  <sfalken@apple.com>
19862
19863         Reviewed by darin.
19864
19865         Updated build script
19866
19867         * Scripts/build-webkit:
19868
19869 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
19870
19871         Reviewed by Darin Adler.
19872
19873         * DumpRenderTree/DumpRenderTree.m:
19874         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
19875         (-[LayoutTestController clearBackForwardList]):
19876         Add clearBackForwardList function to layoutTestController
19877
19878 2006-06-01  Anders Carlsson  <acarlsson@apple.com>
19879
19880         Reviewed by Darin Adler.
19881
19882         http://bugs.webkit.org/show_bug.cgi?id=8996
19883         slow-utf8-text layout test case failing (no longer deterministic?)
19884
19885         * DumpRenderTree/DumpRenderTree.m:
19886         (dump):
19887         Dump as text when the response MIME type is text/plain
19888
19889 2006-05-26  Steve Falkenburg  <sfalken@apple.com>
19890
19891         Build fixes/tweaks
19892
19893         * Spinneret/Spinneret.sln:
19894         * Spinneret/Spinneret/Spinneret.vcproj:
19895
19896 2006-05-24  Geoffrey Garen  <ggaren@apple.com>
19897
19898         Reviewed by mjs.
19899
19900         Added 'GCController' to DRT to support garbage collection layout tests.
19901
19902         GCController.collect() and GCController.collectOnAlternateThread() do
19903         what you would expect. The latter takes a boolean argument sepcifying
19904         whether to wait for garbage collection to finish before continuing to
19905         execute script.
19906
19907         * DumpRenderTree/DumpRenderTree.m:
19908         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
19909         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19910         * DumpRenderTree/GCController.h: Added.
19911         * DumpRenderTree/GCController.mm: Added.
19912         (+[GCController isSelectorExcludedFromWebScript:]):
19913         (+[GCController webScriptNameForSelector:]):
19914         (-[GCController collect]):
19915         (-[GCController collectOnAlternateThread:]):
19916
19917 2006-05-23  John Sullivan  <sullivan@apple.com>
19918
19919         Reviewed by Maciej.
19920
19921         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
19922         Newer Xcode removed some obsolete cruft
19923
19924         * DumpRenderTree/TextInputController.m:
19925         (-[TextInputController textInput]):
19926         added (id) cast to make newer compiler happy
19927
19928 2006-05-22  Steve Falkenburg  <sfalken@apple.com>
19929
19930         Reviewed by adele.
19931
19932         Fix build.
19933
19934         * Spinneret/Spinneret.sln:
19935
19936 2006-05-18  Darin Adler  <darin@apple.com>
19937
19938         - try to fix no-SVG, no-XPATH build, again
19939
19940         * Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
19941
19942 2006-05-18  Darin Adler  <darin@apple.com>
19943
19944         - try to fix no-SVG, no-XPATH build
19945
19946         * Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
19947         since the former is what's used in the WebCore project now.
19948
19949 2006-05-17  Darin Adler  <darin@apple.com>
19950
19951         * Scripts/do-webcore-rename: Some more future renames.
19952
19953 2006-05-16  Adele Peterson  <adele@apple.com>
19954
19955         Reviewed by Hyatt.
19956
19957         * Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
19958         HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
19959
19960 2006-05-15  Alexey Proskuryakov  <ap@nypop.com>
19961
19962         * Scripts/install-unix-extras: Changed to be executable and removed
19963         text in the file generated by "svn diff".
19964         * Scripts/regenerate-makefiles: Ditto.
19965
19966 2006-05-13  Kevin M. Ollivier  <kevino@theolliviers.com>
19967
19968         Reviewed by Darin, landed by ap.
19969
19970         - http://bugs.webkit.org/show_bug.cgi?id=8528
19971           Bakefiles (and generated Makefiles) for wx and gdk ports
19972
19973         * Scripts/install-unix-extras: Added.
19974         * Scripts/regenerate-makefiles: Added.
19975
19976 2006-05-10  Steve Falkenburg  <sfalken@apple.com>
19977
19978         Reviewed by Maciej.
19979
19980         Fix registry usage from perl script.  Turns out libwin32's
19981         SetRegValueEx, even for REG_DWORD, always takes its value as a string!
19982
19983         * Scripts/install-win-extras:
19984
19985 2006-05-09  Steve Falkenburg  <sfalken@apple.com>
19986
19987         Fix Windows build.
19988         Add load ended callback.
19989
19990         Reviewed by kevin.
19991
19992         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
19993         * Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
19994         * Spinneret/Spinneret/Spinneret.cpp:
19995         (SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
19996         (_tWinMain): Load built-in test content here instead of in lower-level code.
19997         * Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
19998
19999 2006-05-08  Maciej Stachowiak  <mjs@apple.com>
20000
20001         Reviewed by Anders.
20002
20003         * Scripts/extract-localizable-strings: Update for correct names of log macros.
20004
20005 2006-05-09  Anders Carlsson  <acarlsson@apple.com>
20006
20007         Reviewed by Maciej.
20008
20009         * Scripts/check-dom-results:
20010         Add XPath to the list of results.
20011
20012 2006-05-08  Darin Adler  <darin@apple.com>
20013
20014         * Scripts/do-webcore-rename: Add another rename.
20015
20016 2006-05-01  Steve Falkenburg  <sfalken@apple.com>
20017
20018         Reviewed by eric.
20019
20020         Spinneret now links against the new separate lib.
20021
20022         * Spinneret/Spinneret.sln:
20023         * Spinneret/Spinneret/Spinneret.cpp:
20024         (SpinneretWebHost::updateLocationBar):
20025         (_tWinMain):
20026         * Spinneret/Spinneret/Spinneret.h:
20027         * Spinneret/Spinneret/Spinneret.vcproj:
20028         * Spinneret/Spinneret/WebFrame.cpp: Removed.
20029         * Spinneret/Spinneret/WebFrame.h: Removed.
20030         * Spinneret/Spinneret/WebView.cpp: Removed.
20031         * Spinneret/Spinneret/WebView.h: Removed.
20032
20033 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
20034
20035         Reviewed by kdecker
20036
20037         Modify error reporting registry keys to disable Dr. Watson.
20038         This allows Javascript test cases to complete without blocking UI.
20039
20040         * Scripts/install-win-extras:
20041          - Use Perl Win32 registry functions to disable blocking UI
20042
20043
20044 2006-04-28  Steve Falkenburg  <sfalken@apple.com>
20045
20046         Reviewed by eric.
20047
20048         Turned off C++ exceptions, fixed memory leaks
20049
20050         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
20051         * Spinneret/Spinneret.sln:
20052         * Spinneret/Spinneret/Spinneret.cpp:
20053         (_tWinMain):
20054         * Spinneret/Spinneret/Spinneret.vcproj:
20055         * Spinneret/Spinneret/WebFrame.cpp:
20056         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
20057         (WebKit::WebFrame::WebFrame):
20058         (WebKit::WebFrame::~WebFrame):
20059         (WebKit::WebFrame::impl):
20060         * Spinneret/Spinneret/WebFrame.h:
20061         * Spinneret/Spinneret/WebView.cpp:
20062         * Spinneret/Spinneret/stdafx.h:
20063
20064 2006-04-28  Alexey Proskuryakov  <ap@nypop.com>
20065
20066         Reviewed by Darin Adler.
20067
20068         - http://bugs.webkit.org/show_bug.cgi?id=8633
20069           DumpRenderTree should reset the URL cache
20070
20071         * DumpRenderTree/DumpRenderTree.m:
20072         (main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
20073
20074 2006-04-28  Eric Seidel  <eseidel@apple.com>
20075
20076         Reviewed by andersca.
20077
20078         * Scripts/do-webcore-rename: rename KCanvasContainer too
20079         * Scripts/run-webkit-tests: output total time
20080
20081 2006-04-26  Mitz Pettel  <opendarwin.org@mitzpettel.com>
20082
20083         Reviewed by hyatt.  Landed by eseidel.
20084
20085         - http://bugs.webkit.org/show_bug.cgi?id=8549
20086           Enable detection of excessive repainting with DumpRenderTree
20087
20088         * DumpRenderTree/DumpRenderTree.m:
20089         (-[LayoutTestController display]):
20090
20091 2006-04-23  Mitz Pettel  <opendarwin.org@mitzpettel.com>
20092
20093         Reviewed by Darin Adler.
20094
20095         - http://bugs.webkit.org/show_bug.cgi?id=6905
20096           DumpRenderTree needs a way to force painting (to allow invalidation tests)
20097
20098         * DumpRenderTree/DumpRenderTree.m:
20099         (dump): If display() has been called during the test, grab the pixels from
20100         the view, after letting it repaint invalidated rects.
20101         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
20102         (-[LayoutTestController display]): Added. Calls -display on the view
20103         and changes the subsequent behavior of dump().
20104         (dumpRenderTree):
20105
20106 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
20107
20108         Reviewed by Maciej.
20109
20110         - http://bugs.webkit.org/show_bug.cgi?id=8532
20111           Update iExploder to 1.3.2
20112
20113         Test case numbers are not compatible with iExploder 1.2.
20114
20115         * Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
20116
20117         * iExploder/CHANGELOG.txt: Added.
20118         * iExploder/LICENSE.txt: Changed to a standard zlib/png license.
20119         * iExploder/README.txt: Added some performance hints.
20120
20121         * iExploder/htdocs/config.rb: Added.
20122         * iExploder/htdocs/cssproperties.in:
20123         * iExploder/htdocs/cssvalues.in:
20124         * iExploder/htdocs/htmlattrs.in:
20125         * iExploder/htdocs/htmltags.in:
20126         * iExploder/htdocs/iexploder.cgi:
20127          - Updated to support the latest HTML & CSS tags, properties, and values from both
20128            the WebKit and Mozilla CVS tree
20129          - cssproperties.in cleanup
20130          - Modularized the code a little bit.
20131          - Fix subtest bug that was causing last 5 tags to be missed
20132          - new subtest algorithm to deal better with larger tag counts
20133          - default HTML_MAX_TAGS increased from 32 to 96
20134
20135         * iExploder/htdocs/index.html: Updated version to 1.3.2.
20136         * iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
20137         alternative to our run-iexploder-tests.
20138         * iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
20139         * iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
20140         * iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
20141
20142 2006-04-22  Alexey Proskuryakov  <ap@nypop.com>
20143
20144         - commit Scripts/run-mangleme-tests (missed it the previous time).
20145
20146 2006-04-18  Darin Adler  <darin@apple.com>
20147
20148         - attempt to fix Windows buildbot
20149
20150         * Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
20151         We need a better long-term solution for this.
20152
20153 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
20154
20155         Reviewed by Darin Adler.
20156
20157         - http://bugs.webkit.org/show_bug.cgi?id=8444
20158           Integrate mangleme test script.
20159
20160         Works in a similar way to run-iexploder-tests.
20161
20162         * Scripts/run-mangleme-tests: Added.
20163         * mangleme: Added.
20164         * mangleme/Makefile: Added.
20165         * mangleme/README: Added.
20166         * mangleme/mangle.cgi.c: Added.
20167         * mangleme/remangle.cgi.c: Added.
20168         * mangleme/tags.h: Added.
20169
20170 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
20171
20172         Reviewed by Darin Adler.
20173
20174         - http://bugs.webkit.org/show_bug.cgi?id=8443
20175           An easier way to save iExploder tests.
20176
20177         * Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
20178
20179 2006-04-17  Alexey Proskuryakov  <ap@nypop.com>
20180
20181         Reviewed by Darin Adler.
20182
20183         - http://bugs.webkit.org/show_bug.cgi?id=8421
20184           Integrate iExploder test script.
20185
20186         This script generates artificially mangled HTML documents, to test that the browser
20187         doesn't crash when handling ill-formed code.
20188
20189         How to use:
20190          run-iexploder-tests             Open an interactive test page in Safari+ToT.
20191          run-iexploder-tests nnnnn       Open test #nnnnn.
20192
20193         Command line options:
20194          --guard-malloc (-g)              Use Guard Malloc.
20195          --port=nnnn                      Run Apache on port nnnn (default is 8000).
20196
20197         To save a crashing test, you can use curl while the crash reporter dialog is on the screen
20198         (thus, Apache is still running), e.g.:
20199          curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
20200
20201         Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
20202
20203         * Scripts/run-iexploder-tests: Added.
20204         * iExploder: Added.
20205         * iExploder/LICENSE.txt: Added.
20206         * iExploder/README.txt: Added.
20207         * iExploder/htdocs: Added.
20208         * iExploder/htdocs/cssproperties.in: Added.
20209         * iExploder/htdocs/cssvalues.in: Added.
20210         * iExploder/htdocs/htmlattrs.in: Added.
20211         * iExploder/htdocs/htmltags.in: Added.
20212         * iExploder/htdocs/htmlvalues.in: Added.
20213         * iExploder/htdocs/iexploder.cgi: Added.
20214         * iExploder/htdocs/index.html: Added.
20215         * iExploder/tools: Added.
20216         * iExploder/tools/lasthit.rb: Added.
20217         * iExploder/tools/osx_last_crash.rb: Added.
20218
20219 2006-04-16  Alexey Proskuryakov  <ap@nypop.com>
20220
20221         Reviewed by Darin Adler.
20222
20223         - fix http://bugs.webkit.org/show_bug.cgi?id=8412
20224           Restore color profile after a crash
20225
20226         * DumpRenderTree/DumpRenderTree.m:
20227         (crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
20228         from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
20229         I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
20230         and this code may change significantly.
20231
20232         (main): Install crashHandler.
20233
20234         (setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
20235         (CFStringGetCStringPtr should NEVER EVER be used!).
20236
20237 2006-04-15  Darin Adler  <darin@apple.com>
20238
20239         Reviewed by Eric.
20240
20241         * Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
20242         Seems xmlsoft.org's HTTP no longer has what we need.
20243
20244 2006-04-13  Mark Rowe  <opendarwin.org@bdash.net.nz>
20245
20246         Rubber-stamped by Darin Adler.
20247
20248         - fix http://bugs.webkit.org/show_bug.cgi?id=8348
20249           upload-disk-image stage on buildslaves fail with "No space left on device"
20250
20251         * BuildSlaveSupport/build-launcher-dmg:  Use the -srcfolder option to
20252           'hdiutil create'.   This creates the initial disk image based on the size of
20253           the source folder, and copies the contents to the new disk image.  The file
20254           extension on the temporary uncompressed disk image has also been altered from
20255           ".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
20256           the extension is not ".dmg".
20257
20258 2006-04-12  Eric Seidel  <eseidel@apple.com>
20259
20260         Reviewed by Tim H.
20261
20262         * Scripts/update-webkit: Make this return non-zero when svn fails.
20263
20264 2006-04-10  Alexey Proskuryakov  <ap@nypop.com>
20265
20266         Reviewed by Darin Adler.
20267
20268         - fix http://bugs.webkit.org/show_bug.cgi?id=8157
20269           Make HTTP tests using Perl use .pl extension
20270
20271         * Scripts/run-webkit-tests: Added support for running .pl and .php tests,
20272           removed support for .text. Reduced the number of places that explicitly list supported
20273           extensions. Some of the changes come from bug 8121, the patch for which got landed only
20274           partially.
20275
20276 2006-04-06  Darin Adler  <darin@apple.com>
20277
20278         Changes requested by Mark Rowe.
20279
20280         * BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
20281         trash at the end of the file.
20282         * BuildSlaveSupport/build-launcher-dmg: Ditto.
20283
20284         * WebKitLauncher/main.m: Removed trash at end of file.
20285
20286         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
20287         to make name match.
20288
20289 2006-04-06  Mark Rowe  <opendarwin.org@bdash.net.nz>
20290
20291         Reviewed by Darin, landed by Maciej.
20292
20293         * BuildSlaveSupport/build-launcher-app: Added.  Builds WebKit.app from WebKitLauncher
20294           and bundles the WebKit frameworks inside it.
20295         * BuildSlaveSupport/build-launcher-dmg: Added.  Builds, and optionally uploads, a disk image
20296           containing WebKit.app.
20297         * BuildSlaveSupport/run-performance-tests:  Use currentSVNRevision.
20298         * Scripts/webkitdirs.pm:  Add currentSVNRevision to retrieve the revision
20299           number of the SVN working copy.
20300         * WebKitLauncher: Added.
20301         * WebKitLauncher/Info.plist: Added.
20302         * WebKitLauncher/WebKitLauncher.xcodeproj: Added.
20303         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
20304         * WebKitLauncher/WebKitNightlyEnabler.m: Added.  This makes
20305           up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
20306           to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
20307           the nightly launcher.
20308         * WebKitLauncher/main.m: Added.  The WebKit.app launcher.
20309           It sets up the environment to have Safari use the bundled frameworks
20310           and load the WebKitNightlyEnabler dylib before exec'ing Safari
20311         * WebKitLauncher/start.html: Added.
20312         * WebKitLauncher/webkit.icns: Added.
20313
20314 2006-04-05  Darin Adler  <darin@apple.com>
20315
20316         Reviewed by Maciej.
20317
20318         * Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
20319         are allowed to have global initializers.
20320
20321 2006-04-05  Geoffrey Garen  <ggaren@apple.com>
20322
20323         Reviewed by OMG BETH
20324
20325         * Scripts/run-testkjs:
20326         - pipe STDERR to /dev/null by default; new --verbose option overrides
20327         this behavior
20328         - set DYLD_FRAMEWORK_PATH to the webkit-configured path
20329         - output run command in a format that can be copied and pasted into the
20330         terminal to run manually
20331
20332 2006-04-03  Justin Garcia  <justin.garcia@apple.com>
20333
20334         Reviewed by harrison
20335
20336         <http://bugs.webkit.org/show_bug.cgi?id=7567>
20337         A drag and drop in DumpRenderTree copies the source, instead of cutting it
20338
20339         Tell the source that the drag is over after the drag is performed, not before.
20340
20341         * DumpRenderTree/EventSendingController.m:
20342         (-[EventSendingController mouseUp]):
20343
20344 2006-04-01  Darin Adler  <darin@apple.com>
20345
20346         Reviewed by Justin.
20347
20348         * DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
20349         Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
20350         elements in that array are not strings.
20351
20352 2006-03-31  Darin Adler  <darin@apple.com>
20353
20354         Reviewed by John Sullivan.
20355
20356         - added a "--reset-results" option to run-webkit-tests so you can reset
20357           the results without first deleting expected results
20358         - <rdar://problem/4185878> add scroll position to dumpRenderTree
20359
20360         * Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
20361         more logical. Moved all the subroutines to the end of the file. Added a
20362         "--force" option.
20363
20364         * DumpRenderTree/DumpRenderTree.m:
20365         (main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
20366         to generate new output for all tests it runs.
20367         (dump): Dump the scroll position if it's non-zero. Always dump the image when
20368         the --dump-all-pixels option is passed. Also tightened up the image dumping
20369         code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
20370         with code to save and restore the context.
20371
20372         * DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
20373         * DumpRenderTree/EventSendingController.m: Added now-needed include.
20374
20375 2006-03-30  Tim Omernick  <timo@apple.com>
20376
20377         * DumpRenderTree/ObjCPlugin.h:
20378         Fixed copyright.
20379         * DumpRenderTree/ObjCPlugin.m: ditto
20380         * DumpRenderTree/ObjCPluginFunction.h: ditto
20381         * DumpRenderTree/ObjCPluginFunction.m: ditto
20382
20383 2006-03-30  Tim Omernick  <timo@apple.com>
20384
20385         Reviewed by Geoff.
20386
20387         * DumpRenderTree/DumpRenderTree.m:
20388         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
20389         Add "objCPlugin", "objCPluginFunction" properties to the window.  objCPlugin simulates
20390         an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
20391         exposed to JS as a callable object.
20392
20393         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20394         Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
20395
20396         * DumpRenderTree/ObjCPlugin.h: Added.
20397         * DumpRenderTree/ObjCPlugin.m: Added.
20398         * DumpRenderTree/ObjCPluginFunction.h: Added.
20399         * DumpRenderTree/ObjCPluginFunction.m: Added.
20400
20401         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
20402         Added a new method, "removeDefaultMethod", which removes the default method from the
20403         plugin object's class.  The effect is that the plugin object is mutated from a callable
20404         function to a simple object.
20405         (pluginInvoke):
20406         Handle "removeDefaultMethod".
20407         (pluginInvokeDefault):
20408         Made the default method actually do something (return 1).
20409
20410 2006-03-30  Eric Seidel  <eseidel@apple.com>
20411
20412         Reviewed by ggaren.
20413
20414         Remove WebFrame::viewImpl(), setMainFrame on page.
20415
20416         * Spinneret/Spinneret/WebFrame.cpp:
20417         (WebKit::WebFrame::WebFrame):
20418         * Spinneret/Spinneret/WebFrame.h:
20419         * Spinneret/Spinneret/WebView.cpp:
20420         (WebKit::WebView::mouseMoved):
20421         (WebKit::WebView::mouseDown):
20422         (WebKit::WebView::mouseUp):
20423         (WebKit::WebView::mouseDoubleClick):
20424         (WebKit::WebViewWndProc):
20425
20426 2006-03-30  Eric Seidel  <eseidel@apple.com>
20427
20428         Reviewed by hyatt.
20429
20430         Fix html editing input & basic form submission.
20431
20432         * Spinneret/Spinneret/WebFrame.cpp:
20433         (WebKit::WebFrame::submitForm):
20434         (WebKit::WebFrame::loadURL):
20435         * Spinneret/Spinneret/WebFrame.h:
20436         * Spinneret/Spinneret/WebView.cpp:
20437         (WebKit::WebView::keyPress):
20438         (WebKit::WebViewWndProc):
20439
20440 2006-03-28  Justin Garcia  <justin.garcia@apple.com>
20441
20442         Reviewed by darin
20443
20444         <rdar://problem/4402375>
20445         REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
20446
20447         Added an option to draw the selectionRect.
20448
20449         * DumpRenderTree/DumpRenderTree.m:
20450         (dump):
20451         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
20452         (-[LayoutTestController dumpSelectionRect]):
20453         (dumpRenderTree):
20454
20455 2006-03-29  Darin Adler  <darin@apple.com>
20456
20457         Reviewed by Tim Hatcher.
20458
20459         - make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
20460
20461         * Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
20462
20463 2006-03-28  Eric Seidel  <eseidel@apple.com>
20464
20465         Reviewed by darin.
20466
20467         * Scripts/check-for-global-initializers: remove svg exceptions.
20468
20469 2006-03-28  Timothy Hatcher  <timothy@apple.com>
20470
20471         Reviewed by Darin Adler.
20472
20473         Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
20474
20475         * Scripts/check-for-global-initializers:
20476
20477 2006-03-28  Timothy Hatcher  <timothy@apple.com>
20478
20479         Build fix. Turn off uninitialized warnings for the first block of code.
20480
20481         * Scripts/check-for-global-initializers:
20482
20483 2006-03-28  Darin Adler  <darin@apple.com>
20484
20485         Reviewed by Geoff.
20486
20487         * Scripts/check-for-global-initializers: Added.
20488
20489 2006-03-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
20490
20491         Reviewed by darin.  Landed by eseidel.
20492
20493         - http://bugs.webkit.org/show_bug.cgi?id=7947
20494           Add repaint testing support to run-webkit-tests
20495
20496         * DumpRenderTree/DumpRenderTree.m:
20497         (main): Added --repaint and --horizontal-sweep options.
20498         (dump): Repaint line-by-line or column-by-column when the appropriate option
20499         is selected.
20500         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
20501         and repaintSweepHorizontally() methods to layoutTestController.
20502         (-[LayoutTestController testRepaint]):
20503         (-[LayoutTestController repaintSweepHorizontally]):
20504         (dumpRenderTree):
20505         * Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
20506         to force these settings on tests that do not ask for them.
20507
20508 2006-03-24  Eric Seidel  <eseidel@apple.com>
20509
20510         Reviewed by mjs.
20511
20512         Build fix.
20513
20514         * Spinneret/Spinneret/WebFrame.cpp:
20515         (WebKit::WebFrame::openURL): replace QString with DeprecatedString
20516
20517 2006-03-21  Beth Dakin  <bdakin@apple.com>
20518
20519         Reviewed by Maciej
20520
20521         Add support for keyDown() to DumpRenderTree.
20522
20523         * DumpRenderTree/DumpRenderTree.m:
20524         (main): Set the preference for tabbing to links.
20525         * DumpRenderTree/EventSendingController.m:
20526         (+[EventSendingController isSelectorExcludedFromWebScript:]):
20527         (+[EventSendingController webScriptNameForSelector:]):
20528         (-[EventSendingController keyDown:withModifiers:]):
20529
20530 2006-03-20  Eric Seidel  <eseidel@apple.com>
20531
20532         Reviewed by hyatt.
20533
20534         Fix win32 build.
20535
20536         * Spinneret/Spinneret/Spinneret.vcproj:
20537         * Spinneret/Spinneret/WebFrame.h:
20538         * Spinneret/Spinneret/WebView.cpp:
20539         (WebKit::WebView::mouseMoved):
20540         (WebKit::WebView::mouseDown):
20541         (WebKit::WebView::mouseUp):
20542         (WebKit::WebView::mouseDoubleClick):
20543         (WebKit::WebView::keyPress):
20544         (WebKit::WebViewWndProc):
20545
20546 2006-03-19  Darin Adler  <darin@apple.com>
20547
20548         Reviewed by Anders.
20549
20550         * DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
20551         we can test it in layout tests. We don't really need tests that run with
20552         pop-up blocking off at the moment. If we do some day, we can add some
20553         API for turning it off in the layout test controller.
20554
20555         * Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
20556         don't ignore the leak; it should no longer show up.
20557
20558 2006-03-17  Anders Carlsson  <andersca@mac.com>
20559
20560         Reviewed by Eric.
20561
20562         * Scripts/install-win-extras:
20563         Fetch "Program Files" location from the environment.
20564
20565 2006-03-17  Eric Seidel  <eseidel@apple.com>
20566
20567         Reviewed by ggaren.
20568
20569         Fix Spinneret to pass Events as const & not as pointers.
20570
20571         * Spinneret/Spinneret/WebView.cpp:
20572         (WebKit::WebView::mouseMoved):
20573         (WebKit::WebView::mouseDown):
20574         (WebKit::WebView::mouseUp):
20575         (WebKit::WebView::mouseDoubleClick):
20576         (WebKit::WebView::keyPress):
20577
20578 2006-03-17  Eric Seidel  <eseidel@apple.com>
20579
20580         Reviewed by justing.
20581
20582         Add support for basic HTML editing.
20583
20584         * Spinneret/Spinneret/WebView.cpp:
20585         (WebKit::WebView::WebView):
20586         (WebKit::WebView::keyPress):
20587
20588 2006-03-17  Eric Seidel  <eseidel@apple.com>
20589
20590         Rubber-stamped by ggaren.
20591
20592         Break DumpRenderTree.m up into several files to make the code more readable.
20593
20594         * DumpRenderTree/DumpRenderTree.h: Added.
20595         * DumpRenderTree/DumpRenderTree.m:
20596         (doneLoading): new accessor function for "done" global.
20597         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
20598         * DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
20599         * DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
20600         * DumpRenderTree/EditingDelegate.h: Added.
20601         * DumpRenderTree/EditingDelegate.m: Added.
20602         (-[EditingDelegate webViewDidChangeSelection:]):
20603         * DumpRenderTree/EventSendingController.h: Added.
20604         * DumpRenderTree/EventSendingController.m: Added.
20605
20606 2006-03-16  Eric Seidel  <eseidel@apple.com>
20607
20608         Reviewed by darin.
20609
20610         Add resize, scroll event support.
20611
20612         * Spinneret/Spinneret/WebView.cpp:
20613         (WebKit::WebView::mouseMoved):
20614         (WebKit::WebView::mouseDown):
20615         (WebKit::WebView::mouseUp):
20616         (WebKit::WebView::mouseDoubleClick):
20617         (WebKit::WebView::keyPress):
20618         (WebKit::WebViewWndProc):
20619         * Spinneret/Spinneret/WebView.h:
20620
20621 2006-03-16  Eric Seidel  <eseidel@apple.com>
20622
20623         Reviewed by darin.
20624
20625         Make build-webkit print correctly to stdout on windows.
20626
20627         * Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
20628
20629 2006-03-15  Eric Seidel  <eseidel@apple.com>
20630
20631         Reviewed by mjs.
20632
20633         Fix eventSender.mouseClick() to update lastClick timestamp.
20634
20635         * DumpRenderTree/DumpRenderTree.m:
20636         (-[EventSendingController mouseClick]):
20637
20638 2006-03-15  Darin Adler  <darin@apple.com>
20639
20640         Reviewed by Maciej.
20641
20642         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
20643         that had a lowercase "i" in it so this builds on case-sensitive
20644         file systems.
20645
20646 2006-03-15  Geoffrey Garen  <ggaren@apple.com>
20647
20648         Reviewed by Eric.
20649
20650         Added run-testkjs and compare-timing-files scripts, to support super
20651         accurate JS iBench.
20652
20653         * Scripts/compare-timing-files: Added.
20654         * Scripts/run-testkjs: Added.
20655
20656 2006-03-14  Eric Seidel  <eseidel@apple.com>
20657
20658         Reviewed by mjs.
20659
20660         Make the URL bar relinquish focus on page load.
20661
20662         * Spinneret/Spinneret/Spinneret.cpp:
20663         (MyEditProc):
20664
20665 2006-03-14  Eric Seidel  <eseidel@apple.com>
20666
20667         Reviewed by mjs.
20668
20669         Fix WebView to allow KeyFocus.
20670         Add handling of space and shift-space for scrolling.
20671
20672         * Spinneret/Spinneret/WebView.cpp:
20673         (WebKit::scrollMessageForKey):
20674         (WebKit::WebViewWndProc):
20675
20676 2006-03-10  Eric Seidel  <eseidel@apple.com>
20677
20678         Reviewed by hyatt.
20679
20680         Add scrolling support into Spinneret.
20681
20682         * Spinneret/Spinneret/WebFrame.cpp:
20683         (WebKit::WebFrame::paint):
20684         * Spinneret/Spinneret/WebView.cpp:
20685         (WebKit::WebView::createWebView):
20686         (WebKit::calculateScrollDelta):
20687         (WebKit::scrollMessageForKey):
20688         (WebKit::WebViewWndProc):
20689
20690 2006-03-13  Eric Seidel  <eseidel@apple.com>
20691
20692         Reviewed by mjs.
20693
20694         Fix checksum generation on Intel machines.
20695         Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
20696         give a small speed boost now that it uses a shared buffer.
20697
20698         * DumpRenderTree/DumpRenderTree.m:
20699         (main):
20700         (dump):
20701         (md5HashStringForBitmap):
20702         * DumpRenderTree/ImageDiff.m:
20703         (computePercentageDifferent):
20704
20705 2006-03-13  Darin Adler  <darin@apple.com>
20706
20707         Reviewed by Tim Hatcher.
20708
20709         * Scripts/run-webkit-tests: Fix httpd handling to work on systems that
20710         have it named httpd-1.3 instead.
20711
20712 2006-03-13  Alexey Proskuryakov  <ap@nypop.com>
20713
20714         Fix proposed by Mitz Pettel, reviewed by Darin Adler.
20715
20716         - fix http://bugs.webkit.org/show_bug.cgi?id=7718
20717           run-webkit-tests fast/dom/HTMLObjectElement/ hangs
20718
20719         * Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
20720         (sequences of slashes are equivalent to a single slash in POSIX paths, but not
20721         in URLs).
20722
20723 2006-03-09  Darin Adler  <darin@apple.com>
20724
20725         Reviewed by John Sullivan.
20726
20727         - fix http://bugs.webkit.org/show_bug.cgi?id=7681
20728           memory leak in the plug-in tests
20729
20730         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
20731         (NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
20732         (NPP_SetWindow): Remove unneeded code to store the window pointer.
20733
20734         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
20735         Moved the browser global in here since it's declared in this file's header.
20736         Changed the code to set up the pluginClass structure to not use function
20737         pointer casts. Those are dangerous because they can hide many types of mismatch.
20738         And indeed when I did this I discovered that many functions were missing their
20739         boolean return values or had parameter declarations with the wrong types.
20740         (pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
20741         clarity. Added boolean return value: return true when successful and false when not.
20742         (pluginSetProperty): Added boolean return value, return false since we have no
20743         properties we can set.
20744         (pluginInvoke): Added boolean return value. Return true when successful and false
20745         when not. Use NPVARIANT macros where appropriate. Added a missing release for the
20746         return value from calling the browser. Changed code to put the strings in malloc
20747         buffers instead of relying on GCC's extension that allows variable-sized arrays
20748         on the stack.
20749         (pluginInvokeDefault): Added boolean return value, return false since we have no
20750         default function to call.
20751         (pluginInvalidate): Added missing parameter. Removed comment.
20752         (pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
20753         to cast the result of malloc.
20754         (pluginDeallocate): Removed uneeded cast.
20755
20756         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
20757         includes. Changed our PluginObject to use NPObject instead of re-declaring fields
20758         that match NPObject's fields. Removed unused NPWindow pointer.
20759
20760 2006-03-09  Mitz Pettel  <opendarwin.org@mitzpettel.com>
20761
20762         Test: fast/events/event-sender-mouse-click.html
20763
20764         Reviewed by Darin Adler.
20765
20766         - fix http://bugs.webkit.org/show_bug.cgi?id=7583
20767           DRT hangs when doing eventSender.mouseDown on native widgets
20768
20769         * DumpRenderTree/DumpRenderTree.m:
20770         (+[EventSendingController isSelectorExcludedFromWebScript:]):
20771         (-[EventSendingController mouseClick]): Simulates a click in a native
20772         widget by queueing a mouseUp before sending the mouseDown, so that
20773         the widget's mouse tracking event loop doesn't hang indefinitely.
20774
20775 2006-03-09  Maciej Stachowiak  <mjs@apple.com>
20776
20777         Reviewed by Eric.
20778
20779         - make link clicks work by handling link click requests
20780         from WebCore
20781
20782         * Spinneret/Spinneret/Spinneret.cpp:
20783         (updateLocationBar):
20784         * Spinneret/Spinneret/Spinneret.h:
20785         * Spinneret/Spinneret/WebFrame.cpp:
20786         (WebKit::WebFrame::WebFrame):
20787         (WebKit::WebFrame::openURL):
20788         (WebKit::WebFrame::loadURL):
20789         * Spinneret/Spinneret/WebFrame.h:
20790
20791 2006-03-08  Eric Seidel  <eseidel@apple.com>
20792
20793         Reviewed by mjs.
20794
20795         Focus URL bar on Spinneret launch, remove border from WebView.
20796         Stop WebFrame from deleting the job (prevent crash).
20797
20798         * Spinneret/Spinneret/Spinneret.cpp:
20799         (_tWinMain):
20800         * Spinneret/Spinneret/WebFrame.cpp:
20801         (WebKit::WebFrame::receivedAllData):
20802         (WebKit::WebFrame::paint):
20803         * Spinneret/Spinneret/WebView.cpp:
20804         (WebKit::WebView::createWebView):
20805
20806 2006-03-09  Alexey Proskuryakov  <ap@nypop.com>
20807
20808         Reviewed by Darin Adler.
20809
20810         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
20811         (pluginInvoke): Added a method to test getURL.
20812
20813 2006-03-08  Maciej Stachowiak  <mjs@apple.com>
20814
20815         Reviewed by Eric.
20816
20817         - load URLs, not file paths, in Spinneret
20818
20819         * Spinneret/Spinneret/Spinneret.cpp:
20820         (MyEditProc):
20821         * Spinneret/Spinneret/Spinneret.vcproj:
20822         * Spinneret/Spinneret/WebFrame.cpp:
20823         (WebKit::WebFrame::loadURL):
20824         (WebKit::WebFrame::receivedData):
20825         (WebKit::WebFrame::receivedAllData):
20826         * Spinneret/Spinneret/WebFrame.h:
20827         * Spinneret/Spinneret/WebView.cpp:
20828         (WebKit::WebView::WebView):
20829
20830 2006-03-08  Darin Adler  <darin@apple.com>
20831
20832         Reviewed by Eric.
20833
20834         - fixed AppleScript layout test results to not be endian-dependent
20835           (Hyatt complained to me about this one)
20836
20837         * DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
20838         Added specific code for dumping LongDateTime, instead of dumping the raw bytes
20839         (which are endian-dependent).
20840
20841 2006-03-07  Darin Adler  <darin@apple.com>
20842
20843         Reviewed by Anders.
20844
20845         - fix http://bugs.webkit.org/show_bug.cgi?id=7655
20846           unwanted output while running layout tests
20847
20848         * DumpRenderTree/DumpRenderTree.m:
20849         (checkedMalloc): Added.
20850         (checkedRealloc): Added.
20851         (makeLargeMallocFailSilently): Added.
20852         (main): Call makeLargeMallocFailSilently.
20853
20854 2006-03-06  Darin Adler  <darin@apple.com>
20855
20856         * Scripts/do-webcore-rename: Add some more planned renaming.
20857
20858 2006-03-06  Eric Seidel  <eseidel@apple.com>
20859
20860         Reviewed by hyatt.
20861
20862         * Spinneret/Spinneret/WebFrame.cpp:
20863         (WebKit::WebFrame::paint): force layout before painting
20864
20865 2006-03-06  Justin Garcia  <justin.garcia@apple.com>
20866
20867         Reviewed by darin
20868
20869         Sent the windowNumber when sending events.
20870         Added leapForward so that we don't have to spend time waiting
20871         in layout tests that do mouse operations that require delays.
20872
20873         * DumpRenderTree/DumpRenderTree.m:
20874         (+[EventSendingController isSelectorExcludedFromWebScript:]):
20875         (+[EventSendingController webScriptNameForSelector:]):
20876         (-[EventSendingController currentEventTime]):
20877         (-[EventSendingController leapForward:]):
20878         (-[EventSendingController mouseDown]):
20879         (-[EventSendingController mouseUp]):
20880         (-[EventSendingController mouseMoveToX:Y:]):
20881
20882 2006-03-05  Darin Adler  <darin@apple.com>
20883
20884         * Scripts/do-webcore-rename: Fix a couple of things found while testing.
20885         Script now works (after landing my two pending patches).
20886
20887 2006-03-05  Darin Adler  <darin@apple.com>
20888
20889         - check in a script to do a "big" rename in WebCore
20890           (can be run whenever we're ready to do it)
20891
20892         * Scripts/do-webcore-rename: Added.
20893
20894 2006-03-05  Maciej Stachowiak  <mjs@apple.com>
20895
20896         Reviewed by Eric.
20897
20898         * Spinneret/Spinneret/WebFrame.cpp:
20899         (WebKit::WebFrame::loadFilePath): Close file when done.
20900
20901 2006-03-05  Mitz Pettel  <opendarwin.org@mitzpettel.com>
20902
20903         Reviewed by Darin, landed by ap.
20904
20905         - fix http://bugs.webkit.org/show_bug.cgi?id=7589
20906           Mouse moved events do not work in DumpRenderTree
20907
20908         Test: fast/events/event-sender-mouse-moved.html
20909
20910         * DumpRenderTree/DumpRenderTree.m:
20911         (-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
20912
20913 2006-03-04  Eric Seidel  <eseidel@apple.com>
20914
20915         Reviewed by hyatt.
20916
20917         Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
20918         Disable background erase to avoid tearing.
20919         Fix potential memory smasher from extra long urls.
20920
20921         * Spinneret/Spinneret/Spinneret.cpp:
20922         (MyRegisterClass):
20923         * Spinneret/Spinneret/Spinneret.vcproj:
20924         * Spinneret/Spinneret/WebFrame.cpp:
20925         (WebKit::WebFrame::loadFilePath):
20926         (WebKit::WebFrame::paint):
20927         * Spinneret/Spinneret/WebView.cpp:
20928         (WebKit::registerWebViewWithInstance):
20929
20930 2006-03-04  Eric Seidel  <eseidel@apple.com>
20931
20932         Reviewed by ggaren.
20933
20934         Hang WebView pointer off of HWND (gets rid of global hack).
20935         Remove MessageBox displayed on url change.
20936
20937         * Spinneret/Spinneret/Spinneret.cpp:
20938         (WndProc):
20939         (MyEditProc):
20940         * Spinneret/Spinneret/WebView.cpp:
20941         (WebKit::registerWebViewWithInstance):
20942         (WebKit::WebView::createWebView):
20943         (WebKit::WebViewWndProc):
20944
20945 2006-03-04  Alexey Proskuryakov  <ap@nypop.com>
20946
20947         Reviewed by Eric.
20948
20949         Automatically kill httpd if it appears to be already running.
20950
20951         * Scripts/run-webkit-tests:
20952
20953 2006-03-04  Maciej Stachowiak  <mjs@apple.com>
20954
20955         Reviewed by Eric.
20956
20957         * Spinneret/Spinneret/WebFrame.cpp:
20958         (WebKit::WebFrame::loadFilePath): Improved local file loading.
20959
20960 2006-03-03  Eric Seidel  <eseidel@apple.com>
20961
20962         Reviewed by hyatt.
20963
20964         A few more fixes to make run-webkit-tests really work on win32.
20965
20966         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
20967         (localFileTest):
20968         * Scripts/run-webkit-tests:
20969
20970 2006-03-03  Eric Seidel  <eseidel@apple.com>
20971
20972         Reviewed by darin.
20973
20974         Make run-webkit-tests work on win32.
20975
20976         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
20977         (localFileTest):
20978         (dumpRenderTreeMain):
20979         (dumpRenderTreeToStdOut):
20980         (serializeToStdOut):
20981         (main):
20982         * Scripts/run-webkit-tests:
20983         * Scripts/webkitdirs.pm:
20984         * Spinneret/Spinneret/WebView.cpp:
20985         (WebKit::WebView::WebView):
20986
20987 2006-03-03  Eric Seidel  <eseidel@apple.com>
20988
20989         Reviewed by mjs.
20990
20991         Add WebFrame class (to hold Frame and FrameView).
20992         Add Location bar support to Spinneret.
20993
20994         * Spinneret/Spinneret/Spinneret.cpp:
20995         (resizeSubViews):
20996         (_tWinMain):
20997         (WndProc):
20998         (MyEditProc):
20999         * Spinneret/Spinneret/Spinneret.vcproj:
21000         * Spinneret/Spinneret/WebFrame.cpp: Added.
21001         (WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
21002         (WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
21003         (WebKit::WebFrame::WebFrame):
21004         (WebKit::WebFrame::loadFilePath):
21005         (WebKit::WebFrame::loadHTMLString):
21006         (WebKit::WebFrame::paint):
21007         (WebKit::WebFrame::impl):
21008         (WebKit::WebFrame::viewImpl):
21009         * Spinneret/Spinneret/WebFrame.h: Added.
21010         * Spinneret/Spinneret/WebView.cpp:
21011         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
21012         (WebKit::WebView::WebView):
21013         (WebKit::WebView::windowHandle):
21014         (WebKit::WebView::mainFrame):
21015         (WebKit::WebView::mouseMoved):
21016         (WebKit::WebView::mouseDown):
21017         (WebKit::WebView::mouseUp):
21018         (WebKit::WebView::mouseDoubleClick):
21019         (WebKit::WebViewWndProc):
21020         * Spinneret/Spinneret/WebView.h:
21021
21022 2006-03-02  Eric Seidel  <eseidel@apple.com>
21023
21024         Reviewed by ggaren.
21025
21026         * Spinneret/Spinneret/WebView.cpp:
21027         (WebKit::registerWebViewWithInstance):
21028         (WebKit::WebView::WebView):
21029         (WebKit::WebView::mouseMoved):
21030         (WebKit::WebView::mouseDown):
21031         (WebKit::WebView::mouseUp):
21032         (WebKit::WebView::mouseDoubleClick):
21033         (WebKit::WebViewWndProc):
21034         * Spinneret/Spinneret/WebView.h:
21035
21036 2006-03-01  Eric Seidel  <eseidel@apple.com>
21037
21038         Reviewed by andersca.
21039
21040         Make spinneret take advantage of the new GraphicsContextCairo.
21041
21042         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
21043         (main): updated to match style guidelines.
21044         * Spinneret/Spinneret/Spinneret.cpp:
21045         (_tWinMain):
21046         * Spinneret/Spinneret/WebView.cpp:
21047         (WebKit::registerWebViewWithInstance):
21048         (WebKit::WebView::WebView):
21049         (WebKit::WebView::~WebView):
21050         (WebKit::WebView::drawRect):
21051         (WebKit::WndProc):
21052         * Spinneret/Spinneret/WebView.h:
21053
21054 2006-03-01  Justin Garcia  <justin.garcia@apple.com>
21055
21056         Reviewed by darin
21057
21058         Give the events that eventSender sends a unique eventNumber
21059
21060         * DumpRenderTree/DumpRenderTree.m:
21061         (-[EventSendingController mouseDown]):
21062         (-[EventSendingController mouseUp]):
21063         (-[EventSendingController mouseMoveToX:Y:]):
21064
21065 2006-03-01  Eric Seidel  <eseidel@apple.com>
21066
21067         Reviewed by hyatt.
21068
21069         Add a stub win32 application to test WebCore drawing on windows.
21070
21071         * Spinneret: Added.
21072         * Spinneret/Spinneret: Added.
21073         * Spinneret/Spinneret.sln: Added.
21074         * Spinneret/Spinneret/Resource.h: Added.
21075         * Spinneret/Spinneret/Spinneret.cpp: Added.
21076         (_tWinMain):
21077         (MyRegisterClass):
21078         (InitInstance):
21079         (WndProc):
21080         (About):
21081         * Spinneret/Spinneret/Spinneret.h: Added.
21082         * Spinneret/Spinneret/Spinneret.ico: Added.
21083         * Spinneret/Spinneret/Spinneret.rc: Added.
21084         * Spinneret/Spinneret/Spinneret.vcproj: Added.
21085         * Spinneret/Spinneret/WebView.cpp: Added.
21086         (WebKit::WebView::WebViewPrivate::WebViewPrivate):
21087         (WebKit::WebView::WebViewPrivate::~WebViewPrivate):
21088         (WebKit::registerWebViewWithInstance):
21089         (WebKit::WebView::createWebView):
21090         (WebKit::WebView::WebView):
21091         (WebKit::WebView::~WebView):
21092         (WebKit::WebView::drawRect):
21093         (WebKit::WebView::windowHandle):
21094         (WebKit::WndProc):
21095         * Spinneret/Spinneret/WebView.h: Added.
21096         * Spinneret/Spinneret/small.ico: Added.
21097         * Spinneret/Spinneret/stdafx.cpp: Added.
21098         * Spinneret/Spinneret/stdafx.h: Added.
21099
21100 2006-02-28  Eric Seidel  <eseidel@apple.com>
21101
21102         Reviewed by mjs.
21103
21104         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
21105         (main): add ability to dump render tree and read from a local file.
21106
21107 2006-02-27  Eric Seidel  <eseidel@apple.com>
21108
21109         Reviewed by darin.
21110
21111         * Scripts/install-win-extras: fix dll permissions & download zlib too.
21112
21113 2006-02-27  Eric Seidel  <eseidel@apple.com>
21114
21115         Reviewed by ggaren.
21116
21117         Test new KConfig -> PlugInInfoStore change.
21118         http://bugs.webkit.org/show_bug.cgi?id=7498
21119
21120         * DumpRenderTree/DumpRenderTree.m:
21121         (main): load test netscape plugin
21122         * Scripts/run-webkit-tests: style update
21123
21124 2006-02-24  Eric Seidel  <eseidel@apple.com>
21125
21126         Reviewed by mjs.
21127
21128         Make DumpRenderTree link against icu.
21129
21130         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
21131
21132 2006-02-24  Eric Seidel  <eseidel@apple.com>
21133
21134         Reviewed by mjs.
21135
21136         Make DumpRenderTree link against libxml, etc.
21137
21138         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
21139
21140 2006-02-24  Mitz Pettel  <opendarwin.org@mitzpettel.com>
21141
21142         Reviewed and landed by Anders.
21143
21144         Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
21145         getting called from the run loop, making the view render each test and thus slowing
21146         down the tests.
21147
21148         * DumpRenderTree/DumpRenderTree.m:
21149         (main): Set the offscreen window to not autodisplay.
21150
21151 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
21152
21153         Reviewed by Darin Adler.
21154
21155         - Turn http tests back on by default.
21156         - Wait for Apache to actually start serving requests.
21157         - Get user id from a built-in variable rather than an external command;
21158         don't pass the group.
21159
21160         * Scripts/run-webkit-tests:
21161
21162 2006-02-23  Alexey Proskuryakov  <ap@nypop.com>
21163
21164         Suggested by Mitz Pettel, reviewed by Darin Adler.
21165
21166         * Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
21167         can run CGIs even if the permissions are 700 or 600.
21168
21169 2006-02-23  Darin Adler  <darin@apple.com>
21170
21171         Collaborating with Alexey.
21172
21173         - turn off http tests by default until we figure out how to get them
21174           to run even when permissions on CGI files are 700 instead of 755
21175
21176         * Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
21177
21178 2006-02-23  Eric Seidel  <eseidel@apple.com>
21179
21180         Add *.user to ignore list.
21181
21182 2006-02-23  Eric Seidel  <eseidel@apple.com>
21183
21184         Remove binary file which shouldn't have been commited (and add to ignore list).
21185
21186         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
21187         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
21188
21189 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
21190
21191         Reviewed by Eric.
21192
21193         * Scripts/run-webkit-tests: Put Apache log files in the right directory.
21194
21195 2006-02-22  Eric Seidel  <eseidel@apple.com>
21196
21197         Reviewed by Tim Hatcher.
21198
21199         Fix install-win-extras to not try to re-install setx if installed.
21200
21201         * Scripts/install-win-extras:
21202
21203 2006-02-22  Eric Seidel  <eseidel@apple.com>
21204
21205         One more file possibly missing from previous commit?
21206
21207         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
21208         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
21209
21210 2006-02-22  Eric Seidel  <eseidel@apple.com>
21211
21212         Reviewed by justing.
21213
21214         Files missing from previous commit.
21215
21216         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
21217         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
21218
21219 2006-02-22  Eric Seidel  <eseidel@apple.com>
21220
21221         Rubber-stamped by justing.
21222
21223         Corrected path for DumpRenderTree.intermediate files
21224
21225         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
21226
21227 2006-02-22  Eric Seidel  <eseidel@apple.com>
21228
21229         Reviewed by justing.
21230
21231         Fixed build-dumprendertree to exit with correct error codes.
21232
21233         * Scripts/build-dumprendertree:
21234
21235 2006-02-22  Eric Seidel  <eseidel@apple.com>
21236
21237         Reviewed by justing.
21238
21239         Update build scripts to generalize building on Win32, and allow
21240         building of DumpRenderTree on Win32 from build-dumprendertree.
21241
21242         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
21243         (main):
21244         * Scripts/build-dumprendertree:
21245         * Scripts/build-webkit:
21246         * Scripts/webkitdirs.pm:
21247
21248 2006-02-22  Eric Seidel  <eseidel@apple.com>
21249
21250         Reviewed by hyatt.
21251
21252         * DumpRenderTree/DumpRenderTree.vcproj: Added.
21253         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
21254         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
21255         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
21256         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
21257         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
21258         (_tmain):
21259         * DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
21260         * Scripts/build-webkit: make build-webkit cleanup after itself
21261
21262 2006-02-22  Alexey Proskuryakov  <ap@nypop.com>
21263
21264         Reviewed by Darin Adler.
21265
21266         - http://bugs.webkit.org/show_bug.cgi?id=7409
21267           Some minor fixes to http tests.
21268
21269         * Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
21270
21271 2006-02-21  Alexey Proskuryakov  <ap@nypop.com>
21272
21273         Reviewed by Darin Adler.
21274
21275         - http://bugs.webkit.org/show_bug.cgi?id=6197
21276           Would like to use locally installed Apache for testing.
21277
21278         Added two run-webkit-tests options:
21279           --http (--nohttp)  - whether to launch Apache (defaults to yes);
21280           --port - which port to listen on (defaults to 8000).
21281
21282         Tests in LayoutTests/http are not run directly, and Apache is used instead.
21283         For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
21284         http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
21285
21286         Also added support for .shtml and .text files. Text files give an empty
21287         *-expected.txt, but a correct image.
21288
21289         Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
21290
21291         * Scripts/run-webkit-tests:
21292
21293 2006-02-21  Darin Adler  <darin@apple.com>
21294
21295         Suggested by Mark Rowe.
21296
21297         * Scripts/run-webkit-tests: Don't include the number of excluded leaks when
21298         reporting leak counts.
21299
21300 2006-02-18  Maciej Stachowiak <mjs@apple.com>
21301
21302         Reviewed by Darin Adler.
21303
21304         - Added install-win-extras script which installs some extra
21305         programs and libraries, and does Windows first-time setup.
21306
21307         * Scripts/build-webkit: Add a newline between build results.
21308         * Scripts/install-win-extras: Added.
21309
21310 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
21311
21312         Reviewed by Darin Adler.
21313
21314         - http://bugs.webkit.org/show_bug.cgi?id=7308
21315           DumpRenderTree should be able to load files via HTTP
21316
21317         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
21318         Handle tests starting with "http://" as real URLs, not file system paths.
21319
21320 2006-02-19  Alexey Proskuryakov  <ap@nypop.com>
21321
21322         Reviewed by Maciej.
21323
21324         - fix http://bugs.webkit.org/show_bug.cgi?id=7357
21325           REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
21326
21327         * Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
21328
21329 2006-02-18  Darin Adler  <darin@apple.com>
21330
21331         * Scripts/commit-log-editor: Added.
21332
21333 2006-02-17  Eric Seidel  <eseidel@apple.com>
21334
21335         Reviewed by hyatt.
21336
21337         Make Win32 have the same default "WebKitBuild" directory behavior.
21338
21339         * Scripts/build-webkit:
21340         * Scripts/webkitdirs.pm:
21341
21342 2006-02-17  Eric Seidel  <eseidel@apple.com>
21343
21344         Reviewed by Beth.
21345
21346         * Scripts/build-webkit: make win32 actually report errors
21347
21348 2006-02-17  Eric Seidel  <eseidel@apple.com>
21349
21350         Reviewed by adele.
21351
21352         * Scripts/run-webkit-tests: Ignore quicktime plugin leaks
21353
21354 2006-02-17  Eric Seidel  <eseidel@apple.com>
21355
21356         Reviewed by adele.
21357
21358         * Scripts/run-webkit-tests: Ignore flash leaks
21359
21360 2006-02-15  Justin Garcia  <justin.garcia@apple.com>
21361
21362         Reviewed by darin
21363
21364         <http://bugs.webkit.org/show_bug.cgi?id=7148>
21365         Add drag and drop support to DumpRenderTree
21366
21367         Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
21368         and send dragging updates.  Put DumpRenderTree's WebView into an offscreen window.
21369
21370         * DumpRenderTree/DumpRenderTree.m:
21371         (main):
21372         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
21373         (-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
21374         (-[WaitUntilDoneDelegate webViewFocus:]):
21375         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
21376         (+[LayoutTestController webScriptNameForSelector:]):
21377         (-[LayoutTestController setWindowIsKey:]):
21378         (-[LayoutTestController setMainFrameIsFirstResponder:]):
21379         (-[EventSendingController init]):
21380         (-[EventSendingController mouseDown]):
21381         (-[EventSendingController mouseUp]):
21382         (-[EventSendingController mouseMoveToX:Y:]):
21383         (dumpRenderTree):
21384         (-[DumpRenderTreeWindow isKeyWindow]):
21385         (-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
21386         (-[DumpRenderTreeDraggingInfo dealloc]):
21387         (-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
21388         (-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
21389         (-[DumpRenderTreeDraggingInfo draggingLocation]):
21390         (-[DumpRenderTreeDraggingInfo draggedImageLocation]):
21391         (-[DumpRenderTreeDraggingInfo draggedImage]):
21392         (-[DumpRenderTreeDraggingInfo draggingPasteboard]):
21393         (-[DumpRenderTreeDraggingInfo draggingSource]):
21394         (-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
21395         (-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
21396         (-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
21397         * DumpRenderTree/TextInputController.m:
21398         (-[TextInputController firstRectForCharactersFrom:length:]):
21399         (-[TextInputController characterIndexForPointX:Y:]):
21400
21401 2006-02-15  Geoffrey Garen  <ggaren@apple.com>
21402
21403         Reviewed by Eric.
21404
21405         * DumpRenderTree/DumpRenderTree.m:
21406         (-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
21407         Added a dummy method for the sake of LayoutTests/plugins/
21408         undefined-property-crash.html. (It tests a crash due to fallback
21409         object use. WebCore won't create a fallback object if the method is
21410         not defined.)
21411
21412 2006-02-14  Eric Seidel  <eseidel@apple.com>
21413
21414         Reviewed by adele.
21415
21416         * Scripts/run-webkit-tests: added --results-directory (-o) option
21417
21418 2006-02-09  Eric Seidel  <eseidel@apple.com>
21419
21420         Rubber-stamped by mjs.
21421
21422         Renamed split-class to split-file-by-class.
21423
21424         * Scripts/build-webkit: Updated copyright.
21425         * Scripts/split-class: Removed.
21426         * Scripts/split-file-by-class: Added.
21427
21428 2006-02-08  Eric Seidel  <eseidel@apple.com>
21429
21430         Rubber-stamped by mjs.
21431
21432         Adding new script for splitting multi-class files.
21433         Also adding supporting perl module with space removing heuristics.
21434
21435         * Scripts/SpacingHeuristics.pm: Added.
21436         * Scripts/build-drawtest: updated copyright header
21437         * Scripts/split-class: Added.
21438
21439 2006-02-08  Justin Garcia  <justin.garcia@apple.com>
21440
21441         Reviewed by thatcher
21442
21443         Changes to test fix for:
21444         <http://bugs.webkit.org/show_bug.cgi?id=3982>
21445         webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
21446
21447         * DumpRenderTree/DumpRenderTree.m:
21448         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
21449         (+[LayoutTestController isSelectorExcludedFromWebScript:]):
21450         (+[LayoutTestController webScriptNameForSelector:]):
21451         (-[LayoutTestController setWindowHasFocus:]):
21452         (-[LayoutTestController setDisplaysWithFocusAttributes:]):
21453
21454 2006-02-07  Alexey Proskuryakov  <ap@nypop.com>
21455
21456         Reviewed by Timothy.
21457
21458         Support automated testing of AppleScript "do JavaScript" command
21459         http://bugs.webkit.org/show_bug.cgi?id=7012
21460
21461         * DumpRenderTree/AppleScriptController.h: Added.
21462         * DumpRenderTree/AppleScriptController.m: Added.
21463         * DumpRenderTree/DumpRenderTree.m:
21464         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
21465         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
21466
21467 2006-02-06  Eric Seidel  <eseidel@apple.com>
21468
21469         Reviewed by hyatt.
21470
21471         Fix build-webkit for use on win32 (unblocks buildbot usage).
21472         http://bugs.webkit.org/show_bug.cgi?id=7122
21473
21474         * Scripts/build-webkit: use ifCygwin() to conditionalize builds
21475         * Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
21476
21477 2006-02-06  Eric Seidel  <eseidel@apple.com>
21478
21479         Rubber-stamped by darin & mjs.
21480
21481         Added new support directory for build slave scripts.
21482         Committing the first script, for use by the PLT's build slave.
21483         This script is used to kick of the PLT (Page Load Test) slave.
21484
21485         * BuildSlaveSupport: Added.
21486         * BuildSlaveSupport/run-performance-tests: Added.
21487
21488 2006-02-06  Eric Seidel  <eseidel@apple.com>
21489
21490         Rubber-stamped by darin.
21491
21492         Adding setSourceDir for scripts stored in non-standard locations.
21493
21494         * Scripts/webkitdirs.pm:
21495
21496 2006-02-04  Darin Adler  <darin@apple.com>
21497
21498         * Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
21499         Configuration files that say Development or Deployment in them.
21500
21501 2006-02-04  Darin Adler  <darin@apple.com>
21502
21503         * Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
21504         wrapper already in the directory.
21505         * Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
21506         these haven't been working at all.
21507         * Scripts/svn-unapply: Ditto.
21508
21509 2006-02-03  Timothy Hatcher  <timothy@apple.com>
21510
21511         Reviewed by Justin.
21512
21513         Renamed configuration names to Debug, Release and Production.
21514
21515         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
21516         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
21517         * Scripts/set-webkit-configuration:
21518         * Scripts/webkitdirs.pm:
21519
21520 2006-02-02  Justin Garcia  <justin.garcia@apple.com>
21521
21522         Reviewed by thatcher
21523
21524         Enabled spell checking for layout tests.
21525
21526         * DumpRenderTree/DumpRenderTree.m:
21527         (main):
21528
21529 2006-01-29  Darin Adler  <darin@apple.com>
21530
21531         * Scripts/svn-apply: Added comments about things we should do to improve.
21532         * Scripts/svn-create-patch: Ditto.
21533         * Scripts/svn-unapply: Ditto.
21534
21535 2006-01-28  Darin Adler  <darin@apple.com>
21536
21537         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
21538         already there, even if the checksum is correct.
21539
21540 2006-01-27  Eric Seidel  <eseidel@apple.com>
21541
21542         Reviewed by adele.
21543
21544         * Scripts/run-webkit-tests: make new tests use absolute urls
21545
21546 2006-01-27  Eric Seidel  <eseidel@apple.com>
21547
21548         Reviewed by mjs.
21549
21550         make run-webkit-tests output total leaks count
21551
21552         * Scripts/run-webkit-tests:
21553
21554 2006-01-27  Eric Seidel  <eseidel@apple.com>
21555
21556         Reviewed by mjs.
21557
21558         run-webkit-test --leaks crashes (malloc logging runs out of memory)
21559         http://bugs.webkit.org/show_bug.cgi?id=6869
21560
21561         * Scripts/run-webkit-tests: fix --leaks to not crash
21562
21563 2006-01-26  Eric Seidel  <eseidel@apple.com>
21564
21565         Reviewed by darin.
21566
21567         run-webkit-tests should produce a self-contained results directory
21568         http://bugs.webkit.org/show_bug.cgi?id=6864
21569
21570         * Scripts/run-webkit-tests: copy failing items to results dir.
21571
21572 2006-01-23  Darin Adler  <darin@apple.com>
21573
21574          - fix http://bugs.webkit.org/show_bug.cgi?id=3608
21575            need script to update localizable strings file in WebKit
21576
21577         * Scripts/update-webkit-localizable-strings: Added.
21578
21579 2006-01-23  Darin Adler  <darin@apple.com>
21580
21581         - added a couple of scripts -- more about these two soon
21582
21583         * Scripts/extract-localizable-strings: Added.
21584         * Scripts/merge-changelog: Added.
21585
21586 2006-01-22  Mark Rowe  <opendarwin.org@bdash.net.nz>
21587
21588         Reviewed by Anders.
21589
21590         Build fix.  build-webkit dies with "invalid build action: (empty string)"
21591
21592         * Scripts/build-webkit:
21593         Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
21594
21595 2006-01-22  Eric Seidel  <eseidel@apple.com>
21596
21597         Reviewed by anders.
21598
21599         Fix --no-svg option to use XCode flags instead of gcc flags.
21600
21601         * Scripts/build-webkit:
21602
21603 2006-01-22  Eric Seidel  <eseidel@apple.com>
21604
21605         Reviewed by anders.
21606
21607         Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
21608
21609         * Scripts/build-webkit:
21610
21611 2006-01-20  David Kilzer  <ddkilzer@kilzer.net>
21612
21613         Reviewed by eseidel.
21614
21615         - fix for http://bugs.webkit.org/show_bug.cgi?id=6682
21616         Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
21617
21618         * Scripts/build-drawtest: Changed bareword 'true' to 1.
21619         * Scripts/run-drawtest: Changed bareword 'true' to 1.
21620
21621 2006-01-19  Darin Adler  <darin@apple.com>
21622
21623         * Scripts/report-include-statistics: Added a new script.
21624
21625 2006-01-19  Timothy Hatcher  <timothy@apple.com>
21626
21627         * Scripts/build-webkit: include JavaScriptGlue in the build
21628
21629 2006-01-19  Darin Adler  <darin@apple.com>
21630
21631         * Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
21632         spaces in it by using the form of open that treats each argument as a string
21633         rather than backtick syntax for reading the output of the nm tool.
21634
21635 2006-01-12  Maciej Stachowiak  <mjs@apple.com>
21636
21637         Reviewed by Darin Adler.
21638
21639         - make prepare-ChangeLog way faster by using svn diff instead of svn status to
21640         detect if there are any new tests
21641
21642         * Scripts/prepare-ChangeLog:
21643
21644 2006-01-12  Darin Adler  <darin@apple.com>
21645
21646         - removed some of the cvs-specific scripts -- not needed for this project any more
21647
21648         * Scripts/cvs-abandon: Removed.
21649         * Scripts/cvs-apply: Removed.
21650         * Scripts/cvs-create-patch: Removed.
21651         * Scripts/cvs-unapply: Removed.
21652
21653 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
21654
21655         Reviewed by eseidel.  Committed by eseidel.
21656
21657         - run-webkit-tests always launches Safari when tests fail
21658         http://bugs.webkit.org/show_bug.cgi?id=6456
21659
21660         * Scripts/run-webkit-tests:
21661         Add a command-line flag to prevent Safari being launched to display failed
21662         tests.  Always exit with non-zero status when tests have failed.
21663
21664 2006-01-10  Mark Rowe  <opendarwin.org@bdash.net.nz>
21665
21666         Reviewed by eseidel.  Committed by eseidel.
21667
21668         - build-webkit should exit with non-zero status when build fails
21669         http://bugs.webkit.org/show_bug.cgi?id=6459
21670
21671         * Scripts/build-webkit:
21672         Use correct bits of subprocess exit code when passing back through
21673         as build-webkit's exit code.
21674
21675 2006-01-10  Eric Seidel  <eseidel@apple.com>
21676
21677         Restored corrupted nibs from TOT CVS.
21678
21679         * DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
21680         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
21681         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
21682         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
21683         * DrawTest/English.lproj/Inspector.nib: Replaced.
21684         * DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
21685         * DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
21686         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
21687         * DrawTest/English.lproj/MainMenu.nib: Replaced.
21688         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
21689         * DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
21690         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
21691         * DrawTest/English.lproj/TestViewer.nib: Replaced.
21692         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
21693         * DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
21694         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
21695
21696 2006-01-10  Nefaur Khandker  <nefaurk@gmail.com>
21697
21698         Reviewed by eseidel.  Committed by eseidel.
21699
21700         DrawTestView now subclasses WebView instead of DrawView.
21701
21702         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
21703         * DrawTest/DrawTestDocument.h:
21704         * DrawTest/DrawTestDocument.m:
21705         (-[DrawTestDocument dealloc]):
21706         (-[DrawTestDocument readFromFile:ofType:]):
21707         (-[DrawTestDocument windowControllerDidLoadNib:]):
21708         (-[DrawTestDocument dumpSVGToConsole:]):
21709         (-[DrawTestDocument openSourceForSelection:]):
21710         (-[DrawTestDocument dataRepresentationOfType:]):
21711         * DrawTest/DrawTestToolbarController.h:
21712         * DrawTest/DrawTestToolbarController.m:
21713         (-[DrawTestToolbarController initWithDrawView:]):
21714         (-[DrawTestToolbarController clickedToolbarItem:]):
21715         (-[DrawTestToolbarController validateToolbarItem:]):
21716         * DrawTest/DrawTestView.h:
21717         * DrawTest/DrawTestView.m:
21718         (-[DrawTestView initWithFrame:]):
21719         (-[DrawTestView setDocument:]):
21720         * DrawTest/SVGTest.h:
21721         * DrawTest/SVGTest.m:
21722         (+[SVGTest sharedDrawView]):
21723         (-[SVGTest generateCompositeIfNecessary]):
21724         * DrawTest/TestController.h:
21725         * DrawTest/TestController.m:
21726         (-[TestController awakeFromNib]):
21727         (-[TestController setSelectedTest:]):
21728         (-[TestController openTestViewerForSelection:]):
21729         (-[TestController toggleViewersScaleRule:]):
21730         * DrawTest/TestViewerSplitView.m:
21731         (-[TestViewerSplitView drawRect:]):
21732
21733 2006-01-10  Anders Carlsson  <andersca@mac.com>
21734
21735         Reviewed by Timothy.
21736
21737         * DumpRenderTree/DumpRenderTree.m:
21738         (main): Set the default language to "en", so language tests will work.
21739
21740 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
21741
21742         Reviewed by Eric.
21743
21744         - script to generate HTML wrappers for JS tests
21745         http://bugs.webkit.org/show_bug.cgi?id=6441
21746
21747         * Scripts/make-js-test-wrappers: Added.
21748
21749 2006-01-08  Maciej Stachowiak  <mjs@apple.com>
21750
21751         Reviewed by Eric.
21752
21753         * Scripts/svn-create-patch: Fix to work when passed directory names.
21754
21755 2006-01-08  Geoffrey Garen  <ggaren@apple.com>
21756
21757         Reviewed by Eric.
21758
21759         - Added back/forward navigation support to DumpRenderTree. Hopefully we
21760         can start writing automated loader tests now. I have one in the works.
21761
21762         * DumpRenderTree/DumpRenderTree.m:
21763         (main): Construct global navigationController on entry, destroy on exit.
21764         Set frame to nil on exit too, to match all the other global objects.
21765         (Probably academic, since the process is exiting, anyway.)
21766         (-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
21767         navigationController, in case it wants to kick off a load.
21768         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
21769         the navigationController to scripting.
21770
21771         New class, should be straightforward:
21772
21773         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
21774         * DumpRenderTree/NavigationController.h: Added.
21775         * DumpRenderTree/NavigationController.m: Added.
21776
21777         (+[NavigationController isSelectorExcludedFromWebScript:]):
21778         (+[NavigationController webScriptNameForSelector:]):
21779         (-[NavigationController setPendingScript:]):
21780         (-[NavigationController setPendingRequest:]):
21781         (-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
21782         (-[NavigationController webView:didFinishLoadForFrame:]):
21783         (-[NavigationController dealloc]):
21784
21785 2006-01-08  Timothy Hatcher  <timothy@apple.com>
21786
21787         Removed this script, no longer needs with the Subversion switch.
21788
21789         * checkout: Removed.
21790
21791 2006-01-08  Timothy Hatcher  <timothy@apple.com>
21792
21793         Removes some stray tabs.
21794
21795         * Scripts/update-webkit:
21796
21797 2005-01-07  Eric Seidel  <eseidel@apple.com>
21798
21799         Reviewed by darin.
21800
21801         build-webkit should pass on build arguments from command line
21802         http://bugs.webkit.org/show_bug.cgi?id=5854
21803
21804         * Scripts/build-webkit:
21805
21806 2006-01-07  Eric Seidel  <eseidel@apple.com>
21807
21808         Reviewed by mjs & xenon.
21809
21810         * Scripts/update-webkit: support Internal updates as well
21811
21812 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
21813
21814         Temporarily rolling out plugin support from DumpRenderTree because it
21815         caused lots of layout test regressions.
21816
21817         * DumpRenderTree/DumpRenderTree.m:
21818         (main): Remove invisible window added to support plugins.
21819
21820 2006-01-06  Geoffrey Garen  <ggaren@apple.com>
21821
21822         Reviewed by darin.
21823
21824         - Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
21825         Add plugin support to DumpRenderTree
21826
21827         Also wrote first test plugin.
21828
21829         * DumpRenderTree/DumpRenderTree.m:
21830         (main):
21831         (1) Put the WebView in an invisible window, because PlugIns are
21832         optimized not to load if there's no parent window.
21833         (2) Tell WebKit to load any PlugIns in the directory from which we
21834         loaded. This means we can build nasty PlugIns alongside DumpRenderTree
21835         and they'll load automagically during layout testing, but they won't be
21836         added to the user's system, hosing apps like Safari.
21837
21838         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
21839         test PlugIn to project.
21840
21841         PlugIn added to project:
21842
21843         * DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
21844         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
21845         (getPluginClass):
21846         (initializeIdentifiers):
21847         (pluginHasProperty):
21848         (pluginHasMethod):
21849         (pluginGetProperty):
21850         (pluginSetProperty):
21851         (pluginInvoke):
21852         (pluginInvokeDefault):
21853         (pluginInvalidate):
21854         (pluginAllocate):
21855         (pluginDeallocate):
21856         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
21857         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
21858         (NP_Initialize):
21859         (NP_GetEntryPoints):
21860         (NP_Shutdown):
21861         (NPP_New):
21862         (NPP_Destroy):
21863         (NPP_SetWindow):
21864         (NPP_NewStream):
21865         (NPP_DestroyStream):
21866         (NPP_WriteReady):
21867         (NPP_Write):
21868         (NPP_StreamAsFile):
21869         (NPP_Print):
21870         (NPP_HandleEvent):
21871         (NPP_URLNotify):
21872         (NPP_GetValue):
21873         (NPP_SetValue):
21874
21875 2006-01-04  Timothy Hatcher  <timothy@apple.com>
21876
21877         Reviewed by Darin Adler.
21878         Created by Eric.
21879         Tweaked and tested by me.
21880
21881         New scripts to work with Subversion when the switch happens.
21882         These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
21883
21884         * Scripts/svn-apply: Added.
21885         * Scripts/svn-create-patch: Added.
21886         * Scripts/svn-unapply: Added.
21887
21888 2005-12-30  Eric Seidel  <eseidel@apple.com>
21889
21890         Reviewed by mjs.
21891
21892         Move WebView width/height logic into DumpRenderTree to support
21893         running the W3C SVG 1.1 tests along side other tests.  The W3C
21894         SVG 1.1 tests require a 480x360 view.
21895
21896         * DumpRenderTree/DumpRenderTree.m:
21897         (main): don't accept width/height
21898         (dump): override width/height for SVG/W3C
21899         * Scripts/run-webkit-tests: don't pass width/height
21900
21901 2005-12-30  Eric Seidel  <eseidel@apple.com>
21902
21903         No review, only removing dead code.
21904
21905         * DumpKCanvasTree/DumpKCanvasTree.m: Removed.
21906         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
21907
21908 2005-12-30  Eric Seidel  <eseidel@apple.com>
21909
21910         Reviewed by darin.
21911
21912         DumpRenderTree should set a consistent color profile while running
21913         http://bugs.webkit.org/show_bug.cgi?id=6155
21914
21915         Creates consistent colormatched renderings on every test machine
21916         using the only way possible with Tiger APIs: by setting the
21917         system color profile on the test machine for the duration of the
21918         tests.  This will (unfortunately) cause colors to change while
21919         running DumpRenderTree.  This can also cause "permanent" color
21920         changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
21921         This is far from ideal, but it's be best way we've found to deal
21922         with the issue for now.
21923
21924         * DumpRenderTree/DumpRenderTree.m:
21925         (restoreColorSpace):
21926         (setDefaultColorProfileToRGB):
21927         (main):
21928
21929 2005-12-20  Alexey Proskuryakov  <ap@nypop.com>
21930
21931         Reviewed by Darin Adler.
21932
21933         - fix http://bugs.webkit.org/show_bug.cgi?id=5846
21934           cvs-create-patch --include produces incorrect paths
21935
21936         * Scripts/cvs-create-patch: Handle newly-added directories using chdir.
21937
21938 2005-12-19  Eric Seidel  <eseidel@apple.com>
21939
21940         Reviewed by darin.
21941
21942         * Scripts/run-webkit-tests: stop /etc/catalog warnings
21943
21944 2005-12-19  Darin Adler  <darin@apple.com>
21945
21946         Reviewed by Eric Seidel.
21947
21948         - fix http://bugs.webkit.org/show_bug.cgi?id=4990
21949           WebKit needs to use a local pasteboard during testing
21950
21951         * DumpRenderTree/DumpRenderTree.m:
21952         (main): Call poseAs to substitute our NSPasteboard class for the default one.
21953         Create a local pasteboard (really a global one with a unique name) and release
21954         it when exiting from the function so we don't leave it in the pasteboard server.
21955         (dumpRenderTree): Added an autorelease pool around one small bit of code that
21956         ddn't have one. Fixed a leak in an unlikely error case.
21957         (+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
21958         of this method to return our local pasteboard.
21959
21960 2005-12-15  Eric Seidel  <eseidel@apple.com>
21961
21962         Reviewed by Tim Hatcher.
21963
21964         * Scripts/build-webkit: --svg is now default!
21965
21966 2005-12-15  Eric Seidel  <eseidel@apple.com>
21967
21968         Reviewed by mjs.
21969
21970         Don't run svg test automatically if +SVG is built (yet).
21971
21972         * Scripts/run-webkit-tests:
21973
21974 2005-12-15  Darin Adler  <darin@apple.com>
21975
21976         * Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
21977         support is not compiled in. Report the 10 slowest tests if "--slowest" is
21978         passed on the command line.
21979
21980 2005-12-06  John Sullivan  <sullivan@apple.com>
21981
21982         Reviewed by Darin Adler.
21983
21984         * Scripts/prepare-ChangeLog:
21985         Remove special-case handling for nib files. This avoided trouble with cvs diff
21986         when we were using wrappers for nib files. Now that we aren't using wrappers,
21987         there's no reason to avoid adding the modified nib files to the file list that
21988         gets diffed.
21989
21990 2005-12-05  Eric Seidel  <eseidel@apple.com>
21991
21992         Reviewed by mjs.
21993
21994         Script updates for SVG files move (remove references to SVGSupport)
21995
21996         * Scripts/build-webkit: remove SVGSupport
21997         * Scripts/run-webkit-tests: Resources -> resources for --svg
21998         * Scripts/update-webkit: remove SVGSupport
21999
22000 2005-12-05  Eric Seidel  <eseidel@apple.com>
22001
22002         Reviewed mjs.
22003
22004         * checkout: remove --svg support, SVG is now checked out by default
22005
22006 2005-11-29  Eric Seidel  <eseidel@apple.com>
22007
22008         Reviewed by darin.
22009
22010         Update scripts to run SVG tests automatically (w/o --svg) if
22011         WebCore is built with SVG support.
22012
22013         * Scripts/build-drawtest: SVG support required
22014         * Scripts/build-dumpkcanvastree: Removed.
22015         * Scripts/run-drawtest: SVG support required to run
22016         * Scripts/run-webkit-tests: pass *.svg files if WebCore has support
22017         * Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
22018
22019 2005-11-28  Alexey Proskuryakov  <ap@nypop.com>
22020
22021         Reviewed by Darin Adler. Committed by Maciej.
22022
22023         - fixed "DumpRenderTree should test for Ahem before doing anything else"
22024         (http://bugs.webkit.org/show_bug.cgi?id=5838)
22025
22026         * DumpRenderTree/DumpRenderTree.m:
22027         (main):
22028
22029 2005-11-28  Eric Seidel  <eseidel@apple.com>
22030
22031         Reviewed by sullivan and GGAREN.
22032
22033         Minor additions to make error messages more clear from cvs-apply.
22034
22035         * Scripts/cvs-apply: make errors more clear
22036
22037 2005-11-27  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
22038
22039         Reviewed and committed by Maciej.
22040
22041         - fixed cvs-create-patch --include produces incorrect paths
22042         (http://bugs.webkit.org/show_bug.cgi?id=5846)
22043
22044         * Scripts/cvs-create-patch: produce proper paths for new files.
22045
22046 2005-11-21  Eric Seidel  <eseidel@apple.com>
22047
22048         Reviewed by hyatt.
22049
22050         Some simple fixes to the build/test scripts now that SVG uses the
22051         WebCore DOM.  JSC+SVG is no longer needed, nor is RTTI support
22052         or symlinks for KDOM.
22053
22054         * Scripts/build-webkit: No longer builds JavaScriptCore+SVG
22055         * Scripts/prepare-ChangeLog: handles missing LayoutTests directory
22056         * Scripts/run-webkit-tests: now runs SVG tests using DRT
22057         * Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
22058         * checkout: no longer symlink kdom
22059
22060 2005-11-10  Eric Seidel  <eseidel@apple.com>
22061
22062         Reviewed by ggaren.
22063
22064         * Scripts/build-webkit: Pass through options to xcodebuild
22065
22066 2005-11-07  Darin Adler  <darin@apple.com>
22067
22068         * Scripts/cvs-apply: Fix case where the patch has files at the top level.
22069
22070 2005-11-03  John Sullivan  <sullivan@apple.com>
22071
22072         Reviewed by Darin Adler.
22073
22074         * Scripts/run-safari:
22075         changed message to say "Starting Safari" instead of odd "Start Safari"
22076         * Scripts/run-webkit-tests:
22077         changed the way we pass the file parameter to use -NSOpen rather than relying on
22078         unlabeled arguments being treated as files. This was failing on some machines that
22079         (mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
22080
22081 2005-10-27  Geoffrey Garen  <ggaren@apple.com>
22082
22083         Patch by Alexey Proskuryakov.
22084
22085         Reviewed by Maciej.
22086
22087         Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
22088         TextInputController should support attributed strings
22089
22090         * DumpRenderTree/TextInputController.m:
22091         (+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
22092         (+[NSMutableAttributedString webScriptNameForSelector:]):
22093         (-[NSMutableAttributedString getLength]):
22094         (-[NSMutableAttributedString attributeNamesAtIndex:]):
22095         (-[NSMutableAttributedString valueOfAttribute:atIndex:]):
22096         (-[NSMutableAttributedString addAttribute:value:]):
22097         (-[NSMutableAttributedString addAttribute:value:from:length:]):
22098         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
22099         (-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
22100         (-[NSMutableAttributedString addFontAttribute:fontName:size:]):
22101         (-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
22102         (+[TextInputController isSelectorExcludedFromWebScript:]):
22103         (+[TextInputController webScriptNameForSelector:]):
22104         (-[TextInputController insertText:]):
22105         (-[TextInputController attributedSubstringFrom:length:]):
22106         (-[TextInputController attributedStringWithString:]):
22107
22108 2005-10-11  Eric Seidel  <eseidel@apple.com>
22109
22110         Reviewed by hyatt.
22111
22112         Checks for leaks in ImageDiff too.
22113
22114         * Scripts/run-webkit-tests:
22115
22116 2005-10-09  Darin Adler  <darin@apple.com>
22117
22118         * Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
22119         * Scripts/cvs-apply: Handle added/deleted files in the current directory.
22120         * Scripts/cvs-unapply: Ditto.
22121         * Scripts/run-webkit-tests: Add a few more false-positive leaks.
22122
22123 2005-10-08  Alexey Proskuryakov  <ap@nypop.com>
22124
22125         Reviewed, rearranged and landed by Darin Adler.
22126
22127         - fixed http://bugs.webkit.org/show_bug.cgi?id=4707
22128           Need a way to automatically test for regressions in NSTextInput implementation
22129
22130         * DumpRenderTree/DumpRenderTree.m:
22131         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
22132         Create a text input controller and put it in a property of the window object.
22133
22134         * DumpRenderTree/TextInputController.h: Added.
22135         * DumpRenderTree/TextInputController.m: Added.
22136         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
22137
22138 2005-10-06  Darin Adler  <darin@apple.com>
22139
22140         * Scripts/cvs-apply: Fixed merge option to work better when not all directories
22141         are controlled by cvs, or when changes cross multiple repositories.
22142         * Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
22143
22144 2005-10-03  Eric Seidel  <eseidel@apple.com>
22145
22146         Reviewed by mjs.
22147
22148         Make mouseDown and mouseUp force layout before acting.
22149         This is used by a new test case for 4233558.
22150
22151         * DumpRenderTree/DumpRenderTree.m:
22152         (-[EventSendingController mouseDown]): force layout
22153         (-[EventSendingController mouseUp]): force layout
22154
22155 2005-09-30  Eric Seidel  <eseidel@apple.com>
22156
22157         Reviewed by xenon.
22158
22159         Updated all the scripts for the move:
22160         WebCore/layout-tests -> LayoutTests
22161
22162         * Scripts/check-dom-results:
22163         * Scripts/prepare-ChangeLog:
22164         * Scripts/run-webkit-tests:
22165         * Scripts/update-webkit: added --no-tests
22166         * checkout: added --no-tests
22167
22168 2005-09-28  Darin Adler  <darin@apple.com>
22169
22170         - fixed http://bugs.webkit.org/show_bug.cgi?id=5144
22171           pixel test should run even if render trees differ
22172
22173         * Scripts/run-webkit-tests: Don't check if the text dump matches.
22174
22175 2005-09-27  Eric Seidel  <eseidel@apple.com>
22176
22177         No review needed, SVG build fix only.
22178
22179         * DumpKCanvasTree/DumpKCanvasTree.m:
22180         Missed one in my previous checkin.
22181         http://bugs.webkit.org/show_bug.cgi?id=5141
22182
22183 2005-09-26  Eric Seidel  <eseidel@apple.com>
22184
22185         No review needed, SVG build fix only.
22186
22187         * DrawTest/DrawTestDocument.m:
22188         * DrawTest/DrawTestToolbarController.m:
22189         * DrawTest/DrawTestView.h:
22190         * DrawTest/DrawTestView.m:
22191         * DrawTest/SVGTest.m:
22192         * DrawTest/TestController.m:
22193         Updated for WebCore+SVG -> WebCore rename.
22194         http://bugs.webkit.org/show_bug.cgi?id=5141
22195
22196 2005-09-26  Eric Seidel  <eseidel@apple.com>
22197
22198         Reviewed by hyatt.
22199
22200         * DumpRenderTree/DumpRenderTree.m:
22201         (dump): updated error message
22202         * Scripts/check-dom-results: now includes xhtml
22203         Tool updates for xhtml.
22204         http://bugs.webkit.org/show_bug.cgi?id=4907
22205
22206 2005-09-22  Duncan Wilcox  <duncan@mclink.it>
22207
22208         Reviewed by Maciej.
22209         Landed by Darin Adler.
22210
22211         - patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
22212         "Would like to simulate human interaction with webview"
22213
22214         * DumpRenderTree/DumpRenderTree.m:
22215         (-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
22216         (+[EventSendingController isSelectorExcludedFromWebScript:]):
22217         (+[EventSendingController webScriptNameForSelector:]):
22218         (-[EventSendingController init]):
22219         (-[EventSendingController mouseDown]):
22220         (-[EventSendingController mouseUp]):
22221         (-[EventSendingController mouseMoveToX:Y:]):
22222         Add eventSender javascript object, that sends fake mouse events to the webview.
22223
22224         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
22225         link with Carbon.framework
22226
22227 2005-09-22  Eric Seidel  <eseidel@apple.com>
22228
22229         Reviewed by mjs.
22230
22231         Update tools for WebCore+SVG -> WebCore rename.
22232         Also fold several SVG specific tools into their original
22233         WebCore counterparts.
22234         http://bugs.webkit.org/show_bug.cgi?id=5003
22235
22236         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
22237         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
22238         * Scripts/build-drawtest:
22239         * Scripts/build-dumpkcanvastree:
22240         * Scripts/build-webcore-svg: Removed.
22241         * Scripts/build-webkit: added --svg option
22242         * Scripts/run-drawtest:
22243         * Scripts/run-webkit-tests:
22244         * Scripts/webkitdirs.pm: various additions.
22245         * checkout: added --svg option
22246         * checkout-svg: Removed.
22247
22248 2005-09-19  Eric Seidel  <eseidel@apple.com>
22249
22250         Reviewed by darin.
22251
22252         * Scripts/run-webkit-tests: added --guard-malloc option
22253         http://bugs.webkit.org/show_bug.cgi?id=4613
22254
22255 2005-09-16  Justin Garcia  <justin.garcia@apple.com>
22256
22257         Reviewed by geoff
22258
22259         Removed a script that is only used by apple internal developers
22260
22261         * Scripts/update-webkitsysteminterface: Removed.
22262
22263 2005-09-16  Adele Peterson  <adele@apple.com>
22264
22265         Reviewed by Maciej.
22266
22267         * Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
22268
22269 2005-09-14  Darin Adler  <darin@apple.com>
22270
22271         - fixed http://bugs.webkit.org/show_bug.cgi?id=4291
22272           dumpAsText doesn't work with XHTML documents
22273
22274         * DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
22275         rather than of the body element. This works with typical XHTML documents. We can probably
22276         do something even better in the long run, but this fixes the immediate issue.
22277
22278         - separate tweak
22279
22280         * Scripts/run-webkit-tests: Show the results in the current built Safari by using
22281         run-safari instead of just using "open", which often runs another copy of Safari instead.
22282
22283 2005-09-11  Mark Rowe  <opendarwin.org@bdash.net.nz>
22284
22285         Reviewed, tweaked, and landed by Darin Adler.
22286
22287         - fixed http://bugs.webkit.org/show_bug.cgi?id=4286
22288           .Mac prefpane crashes when Safari using CVS WebKit is running
22289
22290         * Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
22291         * Scripts/run-webkit-app: Ditto.
22292
22293 2005-09-11  Darin Adler  <darin@apple.com>
22294
22295         * Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
22296
22297 2005-09-11  Darin Adler  <darin@apple.com>
22298
22299         Reviewed by Eric.
22300
22301         * Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
22302         two ways: 1) puts all files in a directory before any files in a subdirectory, and
22303         2) sort file names with numeric digits in them in a logical way, so test-33 will come
22304         before test-3.
22305
22306 2005-09-08  Justin Garcia  <justin.garcia@apple.com>
22307
22308         Reviewed by darin
22309
22310         * Scripts/update-webkitsysteminterface: Added.
22311         Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
22312
22313 2005-09-01  John Sullivan  <sullivan@apple.com>
22314
22315         * Scripts/run-webkit-tests:
22316         Excluded a known system leak to reduce noise; added comments about which leaks
22317         are being excluded.
22318
22319 2005-09-01  Tim Omernick  <tomernick@apple.com>
22320
22321         Change made by Darin, reviewed by John and myself.
22322
22323         - Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
22324
22325         * Scripts/prepare-ChangeLog:
22326
22327 2005-08-31  Maciej Stachowiak  <mjs@apple.com>
22328
22329         Reviewed by Darin Adler.
22330
22331         - set color variant and font settings to a consistent value.
22332         (http://bugs.webkit.org/show_bug.cgi?id=4769)
22333
22334         * DumpRenderTree/DumpRenderTree.m:
22335         (main):
22336
22337 2005-08-30  Eric Seidel  <eseidel@apple.com>
22338
22339         Reviewed by mjs.
22340
22341         * Scripts/build-svg2png: Removed.
22342         * svg2png/ImageDiff.h: Removed.
22343         * svg2png/ImageDiff.m: Removed.
22344         * svg2png/svg2png.m: Removed.
22345         * svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
22346         * svg2png/svg2png_Prefix.pch: Removed.
22347         svg2png is no longer needed.
22348
22349 2005-08-30  Darin Adler  <darin@apple.com>
22350
22351         * Scripts/check-dom-results: Special case 100% to say something nice.
22352         * Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
22353         applying the patch (need a better name).
22354         * Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
22355
22356 2005-08-30  Darin Adler  <darin@apple.com>
22357
22358         * Scripts/run-webkit-tests: Small formatting fix for leaks mode.
22359
22360 2005-08-29  Maciej Stachowiak  <mjs@apple.com>
22361
22362         Reviewed by Darin Adler.
22363
22364         - fixed http://bugs.webkit.org/show_bug.cgi?id=4723
22365         (some pixel tests fail when AA settings are changed)
22366
22367         * DumpRenderTree/DumpRenderTree.m:
22368         (main): set AA settings to the default values
22369
22370 2005-08-29  Darin Adler  <darin@apple.com>
22371
22372         Reviewed by John Sullivan.
22373
22374         * Scripts/run-webkit-tests: Added a mode where each test is run with a separate
22375         executable -- much slower but can help pinpoint leaks. Changed formatting of some
22376         messages too.
22377
22378 2005-08-28  Maciej Stachowiak  <mjs@apple.com>
22379
22380         Reviewed by Eric.
22381
22382         - fixed http://bugs.webkit.org/show_bug.cgi?id=4720
22383         (webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
22384
22385         * DumpRenderTree/DumpRenderTree.m:
22386         (main): set scrollbar arrow setting to a consistent value
22387
22388 2005-08-27  Jussi Hagman  <juhagman@abo.fi>
22389
22390         Reviewed and landed by Darin Adler.
22391
22392         - fixed http://bugs.webkit.org/show_bug.cgi?id=4676
22393           output of update-webkit is too verbose
22394
22395         * Scripts/update-webkit:
22396         Added option --quiet (-q) to decrease the amount of output.
22397
22398 2005-08-27  Darin Adler  <darin@apple.com>
22399
22400         - fixed http://bugs.webkit.org/show_bug.cgi?id=4596
22401           cvs-create-patch --include-unknowns should ignore hidden files
22402
22403         * Scripts/cvs-create-patch: Add code to check for files starting with ".".
22404
22405 2005-08-25  Ben La Monica  <ben.lamonica@gmail.com>
22406
22407         Reviewed, tweaked, and landed by Darin Adler.
22408
22409         - fixed http://bugs.webkit.org/show_bug.cgi?id=4585
22410           update-webkit doesn't notice when you have SVGSupport and update properly
22411
22412         * Scripts/update-webkit: Build SVGSupport directory if it's present.
22413
22414 2005-08-25  Anders Carlsson  <andersca@mac.com>
22415
22416         Reviewed and landed by Darin Adler.
22417
22418         - fixed http://bugs.webkit.org/show_bug.cgi?id=4572
22419           layout test machinery can't handle tests with applets that have code attributes
22420
22421         * DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
22422
22423 2005-08-24  Darin Adler  <darin@apple.com>
22424
22425         Reviewed by Maciej.
22426
22427         - fixed http://bugs.webkit.org/show_bug.cgi?id=4625
22428           DumpRenderTree --pixel-tests crash
22429         - landed some other small changes I had sitting in my tree
22430
22431         * DumpRenderTree/DumpRenderTree.m:
22432         (main): Don't bother saving and restoring the preferences. Not sure
22433         why this was ever done since the preferences are specific to DumpRenderTree.
22434         Clear delegates before releasing the WebView, because you can't count on the
22435         order of object deallocation.
22436         (dumpRenderTree): Fix code that releases a string before storing it in a
22437         global variable.
22438
22439         * Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
22440         of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
22441
22442 2005-08-23  Eric Seidel  <eseidel@apple.com>
22443
22444         Reviewed by mjs.
22445
22446         * Scripts/run-webkit-tests:
22447         Made --leaks option more readable by printing to a file.
22448         http://bugs.webkit.org/show_bug.cgi?id=4590
22449
22450 2005-08-22  Eric Seidel  <eseidel@apple.com>
22451         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
22452
22453         Reviewed by darin.
22454
22455         * Scripts/run-webkit-tests: hides "expected actual diffs" links
22456         when they are not needed (for pixel-only failures)
22457         http://bugs.webkit.org/show_bug.cgi?id=4584
22458
22459 2005-08-22  Eric Seidel  <eseidel@apple.com>
22460
22461         Reviewed by darin.
22462
22463         * Scripts/run-webkit-tests: Added the ability to display more than
22464         just two images as part of the image-diff "slideshow".
22465         Added display of "-w3c.png" baseline images for SVG.
22466         http://bugs.webkit.org/show_bug.cgi?id=4581
22467
22468 2005-08-20  Eric Seidel  <eseidel@apple.com>
22469
22470         * Scripts/run-webkit-tests:
22471         "build" fix after committing incorrect version.
22472
22473 2005-08-20  Eric Seidel  <eseidel@apple.com>
22474
22475         Reviewed by darin.
22476
22477         * DumpRenderTree/DumpRenderTree.m:
22478         (main): cleans up delegates
22479         (dumpRenderTree): closes CFString/CFURL leak
22480         * Scripts/run-webkit-tests:
22481         Adds --leaks option to run-webkit-tests
22482         http://bugs.webkit.org/show_bug.cgi?id=4542
22483
22484 2005-08-19  Ben La Monica  <ben.lamonica@gmail.com>
22485
22486         Reviewed by Darin Adler.
22487
22488         * Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
22489         new files to be included in the patch even without "cvs add".
22490
22491 2005-08-19  Darin Adler  <darin@apple.com>
22492
22493         * Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
22494         non-cvs-generated patches. Anders has been creating these, so it's bad that
22495         the script can't handle them.
22496         * Scripts/cvs-unapply: Ditto.
22497
22498 2005-08-18  Darin Adler  <darin@apple.com>
22499
22500         * Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
22501         "." in them -- based on complaint by someone here at Apple.
22502
22503 2005-08-18  Eric Seidel  <eseidel@apple.com>
22504
22505         Reviewed by mjs.
22506
22507         * Scripts/run-webkit-tests:
22508         Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
22509
22510 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
22511
22512         - add file that I forgot in the last checkin
22513
22514         * DumpRenderTree/ImageDiff.m: Added.
22515         (main):
22516         (getImageFromStdin):
22517         (compareImages):
22518         (getDifferenceBitmap):
22519         (computePercentageDifferent):
22520
22521 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
22522
22523         Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
22524         somewhat by me, and also tweaked by me a little bit.
22525
22526         - better support for pixel-dumping
22527         - use checksums of the images so the tests are fast
22528         - change output format to make the tests run faster
22529         - don't dump pixel results for tests that dump as text
22530
22531         * DumpKCanvasTree/DumpKCanvasTree.m:
22532         (main):
22533         (dumpRenderTree):
22534         (md5HashStringForBitmap):
22535         (dumpPixelTests):
22536         (constrainSizeToMaximum):
22537         (getBitmapImageRepForSVGDocument):
22538         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
22539         * DumpRenderTree/DumpRenderTree.m:
22540         (main):
22541         (dump):
22542         (dumpRenderTree):
22543         (md5HashStringForBitmap):
22544         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
22545         * Scripts/run-webkit-tests:
22546
22547 2005-08-17  Maciej Stachowiak  <mjs@apple.com>
22548
22549         Reviewed by Darin Adler.
22550
22551         - hacked DumpRenderTree to make the scrollbars appear and disappear properly.
22552
22553         * DumpRenderTree/DumpRenderTree.m:
22554         (main):
22555
22556 2005-08-14  Oliver Hunt  <ojh16@student.canterbury.ac.nz>
22557
22558         Reviewed and landed by Darin Adler.
22559
22560         - fixed http://bugs.webkit.org/show_bug.cgi?id=4251
22561           Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
22562
22563         * Scripts/run-safari: Pass arguments through to Safari on command line.
22564         * Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
22565
22566 2005-08-11  Eric Seidel  <eseidel@apple.com>
22567         Fix by Tobias Lidskog <tobiaslidskog@mac.com>
22568
22569         Reviewed by eseidel.
22570
22571         * DrawTest/TestController.m:
22572         (-[TestController imagePathForSVGPath:]):
22573         Fixed support for using TextViewer with the layout-tests.
22574         http://bugs.webkit.org/show_bug.cgi?id=4385
22575
22576 2005-08-11  Maciej Stachowiak  <mjs@apple.com>
22577
22578         At Least Roughly Glanced At by Anders.
22579
22580         - fix change with totally breaks the layout tests.
22581
22582         * DumpRenderTree/DumpRenderTree.m:
22583         (-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
22584         load, to avoid dumping twice accidentally.
22585
22586 2005-08-10  Eric Seidel  <eseidel@apple.com>
22587         Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
22588
22589         Reviewed by darin.
22590
22591         * DumpRenderTree/DumpRenderTree.m:
22592         Added support for rendering to a PNG file.
22593         http://bugs.webkit.org/show_bug.cgi?id=3840
22594
22595 2005-08-07  Eric Seidel  <eseidel@apple.com>
22596
22597         Reviewed by darin.
22598
22599         * Scripts/run-webkit-tests: added --svg option
22600         * Scripts/run-webkit-tests-svg: Removed.
22601         http://bugs.webkit.org/show_bug.cgi?id=4300
22602
22603 2005-08-07  Eric Seidel  <eseidel@apple.com>
22604         Changes by Ben La Monica <ben.lamonica@gmail.com>
22605
22606         Reviewed by darin.
22607
22608         * svg2png/ImageDiff.h: Added.
22609         * svg2png/ImageDiff.m: Added.
22610         (getDifferenceBitmap):
22611         (computePercentageDifferent):
22612         (saveAnimatedGIFToFile):
22613         * svg2png/svg2png.m:
22614         (usage): added several new options
22615         (getBitmapForSVG): added NSBitmapImageRep generation
22616         (main): various argument changes.
22617         * svg2png/svg2png.xcodeproj/project.pbxproj:
22618         Several additions to provide image differencing functionality.
22619         http://bugs.webkit.org/show_bug.cgi?id=4193
22620
22621 2005-08-07  Eric Seidel  <eseidel@apple.com>
22622
22623         Reviewed by darin.
22624
22625         * Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
22626         * checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
22627         Adding the first SVG layout tests:
22628         http://bugs.webkit.org/show_bug.cgi?id=4303
22629
22630 2005-08-07  Darin Adler  <darin@apple.com>
22631
22632         * Scripts/cvs-create-patch: Do all the directories at once, for speed.
22633
22634 2005-08-06  Eric Seidel  <eseidel@apple.com>
22635
22636         Reviewed by darin.
22637
22638         * DumpKCanvasTree/DumpKCanvasTree.m: Added.
22639         * DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
22640         * Scripts/build-dumpkcanvastree: Added.
22641         * Scripts/run-webkit-tests-svg: Added.
22642         Adds a DumpRenderTree-like tool for SVG which allows us to do
22643         text-based layout regression testing.  This (like most of the
22644         SVG specific stuff) is temporary and will be replaced by
22645         DumpRenderTree once the DOMs and RenderTrees merge.
22646         http://bugs.webkit.org/show_bug.cgi?id=3917
22647
22648 2005-08-06  Eric Seidel  <eseidel@apple.com>
22649
22650         Reviewed by darin.
22651
22652         * DrawTest/DrawTestView.m:
22653         (-[DrawTestView toggleFilterSupport:]): missing negation.
22654         One half of fix for toggling filter support.
22655         http://bugs.webkit.org/show_bug.cgi?id=4252
22656
22657 2005-08-04  Eric Seidel  <eseidel@apple.com>
22658
22659         Reviewed by darin.
22660
22661         * Scripts/build-drawtest:
22662         * Scripts/build-dumprendertree:
22663         * Scripts/build-svg2png:
22664         * Scripts/build-webcore-svg:
22665         * Scripts/build-webkit:
22666         * Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
22667         Added checkRequiredSystemConfig and made all the build-* scripts
22668         use it to print a pretty warning when trying to compile on an
22669         unsupported system (less than 10.4, Xcode 2.1).
22670         http://bugs.webkit.org/show_bug.cgi?id=4280
22671
22672 2005-08-04  Darin Adler  <darin@apple.com>
22673
22674         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
22675         the dead. It was removed by accident when someone was trying to work on the branch.
22676
22677 2005-07-31  Darin Adler  <darin@apple.com>
22678
22679         - a little tools cleanup
22680
22681         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
22682         project as a whole. Removed unused Default configuration.
22683
22684         * Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
22685
22686 2005-07-31  Duncan Wilcox  <duncan@mclink.it>
22687
22688         Reviewed and landed by Darin Adler.
22689
22690         Add logging of editing delegate calls for regression checking.
22691
22692         * DumpRenderTree/DumpRenderTree.m:
22693         (main):
22694           setup editing delegate
22695
22696         (-[DOMNode dumpPath]):
22697         (-[DOMRange dump]):
22698           utility for editing delegate logging
22699
22700         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
22701         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
22702         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
22703         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
22704         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
22705         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
22706         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
22707         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
22708         (-[EditingDelegate webViewDidBeginEditing:]):
22709         (-[EditingDelegate webViewDidChange:]):
22710         (-[EditingDelegate webViewDidEndEditing:]):
22711         (-[EditingDelegate webViewDidChangeTypingStyle:]):
22712           log corresponding editing delegate methods
22713
22714         (-[EditingDelegate webViewDidChangeSelection:]):
22715           log selection except when clearing selection after end of test (uses existing "done" flag)
22716
22717         (dumpRenderTree):
22718           added clearing of selection after test
22719
22720 2005-07-31  Eric Seidel  <eseidel@apple.com>
22721
22722         Reviewed by hyatt.
22723
22724         * Scripts/build-drawtest: Added.
22725         * Scripts/build-svg2png: Added.
22726         * Scripts/build-webcore-svg: Added.
22727         * Scripts/run-drawtest: Added.
22728         * Scripts/webkitdirs.pm: added checkSVGFrameworks
22729         Made it much easier to build WebCore+SVG.
22730         http://bugs.webkit.org/show_bug.cgi?id=4208
22731
22732 2005-07-29  Eric Seidel  <eseidel@apple.com>
22733
22734         Reviewed by vicki.
22735
22736         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
22737         Build fix.  Removed bad path.
22738
22739 2005-07-29  Eric Seidel  <eseidel@apple.com>
22740
22741         Reviewed by sullivan.
22742
22743         * DrawTest/AppDelegate.h: Added.
22744         * DrawTest/AppDelegate.m: Added.
22745         * DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
22746         * DrawTest/DrawTestDocument.h: Added.
22747         * DrawTest/DrawTestDocument.m: Added.
22748         * DrawTest/DrawTestInspectorController.h: Added.
22749         * DrawTest/DrawTestInspectorController.m: Added.
22750         * DrawTest/DrawTestToolbarController.h: Added.
22751         * DrawTest/DrawTestToolbarController.m: Added.
22752         * DrawTest/DrawTestView.h: Added.
22753         * DrawTest/DrawTestView.m: Added.
22754         * DrawTest/DrawTest_Prefix.pch: Added.
22755         * DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
22756         * DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
22757         * DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
22758         * DrawTest/English.lproj/InfoPlist.strings: Added.
22759         * DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
22760         * DrawTest/English.lproj/Inspector.nib/info.nib: Added.
22761         * DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
22762         * DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
22763         * DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
22764         * DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
22765         * DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
22766         * DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
22767         * DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
22768         * DrawTest/Info.plist: Added.
22769         * DrawTest/SVGTest.h: Added.
22770         * DrawTest/SVGTest.m: Added.
22771         * DrawTest/ScalingImageView.h: Added.
22772         * DrawTest/ScalingImageView.m: Added.
22773         * DrawTest/TestController.h: Added.
22774         * DrawTest/TestController.m: Added.
22775         * DrawTest/TestViewerSplitView.h: Added.
22776         * DrawTest/TestViewerSplitView.m: Added.
22777         * DrawTest/main.m: Added.
22778         Adding simple cocoa app for testing SVG rendering, interaction.
22779         http://bugs.webkit.org/show_bug.cgi?id=4157
22780
22781 2005-07-28  Eric Seidel  <eseidel@apple.com>
22782
22783         Reviewed by ggaren.
22784
22785         * svg2png/svg2png.m: Added.
22786         * svg2png/svg2png.xcodeproj/project.pbxproj: Added.
22787         * svg2png/svg2png_Prefix.pch: Added.
22788         Added a simple test tool which dumps a PNG from an SVG using
22789         WebCore+SVG's SVG rendering support.
22790         http://bugs.webkit.org/show_bug.cgi?id=4156
22791
22792 2005-07-26  Maciej Stachowiak  <mjs@apple.com>
22793
22794         Reviewed by Darin Adler.
22795
22796         - new script to review the DOM layout test results and see where we stand
22797         on actual success and failure
22798
22799         * Scripts/check-dom-results: Added.
22800
22801 2005-07-25  Darin Adler  <darin@apple.com>
22802
22803         * Scripts/webkitdirs.pm: Check in missing line of code.
22804
22805 2005-07-25  Darin Adler  <darin@apple.com>
22806
22807         - fixed problem that was causing JavaScriptCore test to fail
22808           (except for people who had set DYLD_FRAMEWORK_PATH)
22809
22810         * Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
22811         Add code to parse configuration parameter so you can pass --deployment if you like.
22812         * Scripts/run-webkit-tests: Add code to parse configuration parameter.
22813
22814         * Scripts/update-javascriptcore-test-results: Add license header.
22815
22816         * Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
22817         from @ARGV. This lets us use this option in commands that take other options and
22818         pass them along to a subsequent tool.
22819
22820 2005-07-25  Darin Adler  <darin@apple.com>
22821
22822         Reviewed by Geoff Garen.
22823
22824         - Fixed run-safari and gdb-safari to use the Safari application in the build results
22825           directory, if any, falling back to the one in the Applications directory otherwise.
22826           Does no harm for open source contributors who don't build Safari, and helps out the
22827           Safari team, since we do build Safari.
22828
22829         * Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
22830         variable, and if that's not present, looks in either the build results directory or
22831         /Applications; factors code that was in both scripts before into a shared function.
22832         Also removed some Xcode 2.0 support which is no longer relevant since our projects are
22833         now in Xcode 2.1 format and incompatible with older versions of Xcode.
22834
22835         * Scripts/gdb-safari: Use safariPath.
22836         * Scripts/run-safari: Use safariPath.
22837
22838 2005-07-22  Geoffrey Garen  <ggaren@apple.com>
22839
22840         Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
22841         run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
22842
22843         Moved Tools/Scripts/update-mozilla-js-test-results to
22844         WebKitTools/Scripts/update-javascriptcore-test-results.
22845
22846         Reviewed by darin.
22847
22848         * Scripts/run-javascriptcore-tests: Added.
22849
22850 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
22851
22852         Reviewed by Darin Adler.
22853
22854         * Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
22855
22856 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
22857
22858         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
22859
22860 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
22861
22862         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
22863
22864 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
22865
22866         * DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
22867
22868 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
22869
22870         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
22871
22872 2005-07-21  Geoffrey Garen  <ggaren@apple.com>
22873
22874         * Scripts/build-webkit:
22875
22876 2005-07-12  Eric Seidel  <eseidel@apple.com>
22877
22878         Reviewed by mjs.
22879
22880         * checkout-svg: Fixed error with symlink creation.
22881
22882 2005-07-12  Eric Seidel  <eseidel@apple.com>
22883
22884         Reviewed by mjs.
22885
22886         * checkout-svg: Added.
22887         Script to check out WebCore+SVG
22888
22889 2005-06-30  Darin Adler  <darin@apple.com>
22890
22891         Changes based on input from Michael Kahl.
22892
22893         * Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
22894         specify different style of "diff".
22895         * Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
22896         determineConfigurationProductDir works in all cases.
22897
22898 2005-06-29  Darin Adler  <darin@apple.com>
22899
22900         - fixed bug which would result in multiple unwanted dumps in a single layout test
22901
22902         * DumpRenderTree/DumpRenderTree.m:
22903         (-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
22904         "readyToDump" flag.
22905         (-[LayoutTestController waitUntilDone]): Update for name change.
22906         (-[LayoutTestController notifyDone]): Dump only if ready.
22907         (dumpRenderTree): Set up new boolean and update for name change.
22908
22909 2005-06-29  Darin Adler  <darin@apple.com>
22910
22911         Changes by Timothy Hatcher.
22912         Reviewed by me.
22913
22914         * Scripts/run-webkit-app: Added script to open an arbritrary application with
22915         a CVS built WebKit. Example: ./run-webkit-app Colloquy
22916
22917         * Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
22918         a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
22919         * Scripts/run-safari: Ditto.
22920
22921 2005-06-26  Darin Adler  <darin@apple.com>
22922
22923         * Scripts/build-dumprendertree: Pass -project option so that having a second
22924         copy of the project (like the one Xcode 2.1 offers to make for you) that's
22925         out of date won't screw you up.
22926         * Scripts/build-webkit: Ditto.
22927
22928 2005-06-23  Darin Adler  <darin@apple.com>
22929
22930         * Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
22931
22932 2005-06-23  Darin Adler  <darin@apple.com>
22933
22934         Changes based on input from Michael Kahl.
22935
22936         * Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
22937         directory passed in.
22938
22939         * Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
22940         getcwd() in the code to find the base product dir. Added code to handle unusual
22941         base product directory values that use SRCROOT.
22942
22943 2005-06-22  Darin Adler  <darin@apple.com>
22944
22945         Change by Anders Carlsson.
22946
22947         - added support for dumping title changes
22948
22949         * DumpRenderTree/DumpRenderTree.m:
22950         (-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
22951         if requested by JavaScript.
22952         (+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
22953         (-[LayoutTestController dumpTitleChanges]): Added, sets flag.
22954         (dumpRenderTree): Start flag as NO.
22955
22956 2005-06-20  Darin Adler  <darin@apple.com>
22957
22958         Reviewed by Justin Garcia.
22959
22960         * Scripts/run-webkit-tests: Report number of tests when they succeed.
22961
22962 2005-06-18  Darin Adler  <darin@apple.com>
22963
22964         * DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
22965         in the hope of making the tool use less memory and run faster.
22966
22967 2005-06-18  Darin Adler  <darin@apple.com>
22968
22969         * Scripts/cvs-apply: Improve handling of patches with CR characters in them.
22970         * Scripts/cvs-unapply: Ditto.
22971
22972 2005-06-17  Maciej Stachowiak  <mjs@apple.com>
22973
22974         - added prepare-ChangeLog script which we use internally to make ChangeLogs, for
22975         benefit of all WebKit hackerdom
22976
22977         * Scripts/prepare-ChangeLog: Added.
22978
22979 2005-06-16  Darin Adler  <darin@apple.com>
22980
22981         - recent changes to XcodeOptions made it depend on the current directory
22982           The intent was to have the WebKitBuild directory be next to WebKitTools,
22983           not inside the various build directories. Workaround for now is to call
22984           XcodeOptions when the directory is set to the WebKit directory.
22985
22986         * Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
22987         at the start of the script.
22988         * Scripts/build-webkit: Ditto.
22989
22990 2005-06-15  Darin Adler  <darin@apple.com>
22991
22992         * Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
22993
22994 2005-06-14  Darin Adler  <darin@apple.com>
22995
22996         Changes by Anders Carlsson.
22997         Reviewed by me.
22998
22999         - fixed <http://bugs.webkit.org/show_bug.cgi?id=3496>
23000           Add gdb-safari script to launch Safari under gdb
23001
23002         * Scripts/gdb-safari: Added.
23003
23004 2005-06-12  Darin Adler  <darin@apple.com>
23005
23006         Changes by Stuart Morgan.
23007         Reviewed by me.
23008
23009         * Scripts/cvs-abandon: Use cwd instead of `pwd`.
23010         * Scripts/cvs-apply: Ditto.
23011         * Scripts/cvs-create-patch: Ditto.
23012         * Scripts/cvs-unapply: Ditto.
23013         * Scripts/run-webkit-tests: Ditto.
23014         * Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
23015
23016 2005-06-12  Darin Adler  <darin@apple.com>
23017
23018         * Scripts/cvs-apply: Handle case of an empty patch better.
23019         * Scripts/cvs-unapply: Ditto.
23020
23021 2005-06-12  Darin Adler  <darin@apple.com>
23022
23023         Changes by Michael Gaiman.
23024         Reviewed by me.
23025
23026         - fixed <http://bugs.webkit.org/show_bug.cgi?id=3487>
23027           WebKit no longer builds after configuration supporting build changes
23028
23029         * Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
23030
23031 2005-06-12  Darin Adler  <darin@apple.com>
23032
23033         * Scripts/update-webkit: Make this script work when called from any directory.
23034
23035 2005-06-12  Darin Adler  <darin@apple.com>
23036
23037         Reviewed by Maciej.
23038         Includes changes by Stuart Morgan as well as my own.
23039
23040         * Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
23041         symrootXcodeOptions to set the -buildstyle option.
23042         * Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
23043         The new --development option does the same thing.
23044         * Scripts/run-safari: Ditto.
23045         * Scripts/run-webkit-tests: Ditto.
23046         * Scripts/update-webkit: Ditto.
23047         * Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
23048
23049         * Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
23050         directory is when invoking a script. Add code to determine the Xcode version so we can do the right
23051         thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
23052         product directory. Read the default configuration from a file, overridable by a passed-in command-line
23053         option.
23054
23055 2005-06-11  Darin Adler  <darin@apple.com>
23056
23057         * Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
23058         to execute the cvs diff commands.
23059
23060 2005-06-11  Darin Adler  <darin@apple.com>
23061
23062         - added first cuts at some cvs scripts
23063
23064             cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
23065             cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
23066             cvs-apply is for applying patches; runs patch and cvs add and cvs rm
23067             cvs-unapply is for unapplying patches; does the opposite of cvs-apply
23068
23069           An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
23070
23071         * Scripts/cvs-abandon: Added.
23072         * Scripts/cvs-apply: Added.
23073         * Scripts/cvs-create-patch: Added.
23074         * Scripts/cvs-unapply: Added.
23075
23076 2005-06-09  Darin Adler  <darin@apple.com>
23077
23078         Reviewed by Maciej.
23079
23080         - fixed http://bugs.webkit.org/show_bug.cgi?id=3397
23081           Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
23082
23083         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
23084         for Foundation.framework. How was it ever wrong?
23085
23086         - finally, I tested making the default build directory work; it works now
23087
23088         * Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
23089         that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
23090         * Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
23091         * Scripts/build-dumprendertree: Ditto.
23092
23093 2005-06-09  Darin Adler  <darin@apple.com>
23094
23095         * Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
23096         work. Someone should try building without setting the Xcode build product directory now,
23097         and let me know if it works.
23098
23099 2005-06-08  Darin Adler  <darin@apple.com>
23100
23101         - quick fix to try to get build scripts working again
23102
23103         * Scripts/build-dumprendertree: Add FindBin.
23104         * Scripts/build-webkit: Ditto.
23105         * Scripts/run-safari: Ditto.
23106         * Scripts/run-webkit-tests: Ditto.
23107         * Scripts/update-webkit: Ditto.
23108
23109 2005-06-08  Darin Adler  <darin@apple.com>
23110
23111         Reviewed by Maciej.
23112
23113         - some build script enhancements
23114
23115         * Scripts/build-dumprendertree: Changed to use webkitdirs.
23116         * Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
23117         they are newer.
23118         * Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
23119         before Deplyment in that case.
23120         * Scripts/run-webkit-tests: Changed to use webkitdirs.
23121         * Scripts/update-webkit: Changed to use webkitdirs.
23122
23123         * Scripts/webkitdirs.pm: Added.
23124
23125 2005-06-08  Maciej Stachowiak  <mjs@apple.com>
23126
23127         Code change by Toby Peterson <toby@opendarwin.org>
23128         Reviewed by me.
23129
23130         * Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
23131         get confused because build-webkit now makes even 2.0 build directories look
23132         like 2.1.
23133
23134 2005-06-07  Darin Adler  <darin@apple.com>
23135
23136         Reviewed by Adele Peterson.
23137
23138         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
23139         * Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
23140         so we can run tests with Xcode 2.1.
23141
23142 2005-06-07  Darin Adler  <darin@apple.com>
23143
23144         Reviewed by Adele Peterson.
23145
23146         * Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
23147         layout-tests directory to include additional sets of tests.
23148
23149 2005-06-07  Darin Adler  <darin@apple.com>
23150
23151         * checkout: Added license.
23152         * Scripts/build-dumprendertree: Ditto.
23153         * Scripts/run-webkit-tests: Ditto.
23154         * Scripts/update-webkit: Ditto.
23155
23156 2005-06-07  Darin Adler  <darin@apple.com>
23157
23158         Change by Toby Peterson <toby@opendarwin.org>.
23159         Reviewed by me.
23160
23161         * Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
23162         * Scripts/run-safari: Ditto.
23163
23164 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
23165
23166         * Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
23167
23168 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
23169
23170         * Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
23171
23172 2005-06-06  Maciej Stachowiak  <mjs@apple.com>
23173
23174         * Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
23175
23176 2005-06-05  Darin Adler  <darin@apple.com>
23177
23178         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
23179         * Scripts/build-dumprendertree: Added.
23180         * Scripts/build-webkit: Build All in the JavaScriptCore directory.
23181         * Scripts/run-webkit-tests: Build DumpRenderTree before running.
23182
23183 2005-06-05  Darin Adler  <darin@apple.com>
23184
23185         * Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
23186
23187 2005-06-05  Darin Adler  <darin@apple.com>
23188
23189         - add run-webkit-tests script; not working yet but the pieces are there
23190
23191         * Scripts/run-webkit-tests: Added.
23192
23193         * DumpRenderTree/DumpRenderTree.m: Added.
23194         * DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
23195         * DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
23196         * DumpRenderTree/DumpRenderTreePrefix.h: Added.
23197
23198 2005-06-05  Darin Adler  <darin@apple.com>
23199
23200         - created module, first cut at Web Kit Open Source Project scripts
23201
23202         * ChangeLog: Added.
23203         * Scripts/build-webkit: Added.
23204         * Scripts/run-safari: Added.
23205         * Scripts/update-webkit: Added.
23206         * checkout: Added.
23207
23208 === creation of WebKitTools module ===