Windows build fixes
[WebKit-https.git] / WebKitTools / ChangeLog
1 2008-04-29  Adam Roben  <aroben@apple.com>
2
3         Windows build fixes
4
5         Replace COMPtr::operator& with COMPtr::adoptionPointer.
6
7 2008-04-25  Alexey Proskuryakov  <ap@webkit.org>
8
9         Reviewed by Darin.
10
11         Fix run-webkit-tests --threading
12         and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
13         Proxy server issue in Sunday's Nightly
14
15         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
16         (runJavaScriptThread):
17         (startJavaScriptThreads):
18         (stopJavaScriptThreads):
19         Spawned threads were immediately detached, unlike the original ones, so joining them
20         made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
21         waits for them all to exit.
22
23 2008-04-28  Holger Hans Peter Freyther  <zecke@selfish.org>
24
25         Reviewed by Simon.
26
27         Reset dumping resource load callbacks to false for the next test
28         
29
30         * DumpRenderTree/qt/jsobjects.cpp:
31         (LayoutTestController::reset):
32
33 2008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
34
35         Reviewed by Simon.
36
37         Adapt to the latest API changes in WebKit/qt/Api.
38
39         * DumpRenderTree/qt/DumpRenderTree.cpp:
40         (WebCore::DumpRenderTree::DumpRenderTree):
41         * DumpRenderTree/qt/jsobjects.cpp:
42
43 2008-04-26  Robin Dunn  <robin@alldunn.com>
44
45         Reviewed by Kevin Ollivier.
46         
47         Delete the DerivedSources after make clean has been done so that the DerivedSources
48         don't get re-created. Also, use the proper extension for the Win wxPython extension.
49         
50         https://bugs.webkit.org/show_bug.cgi?id=18756
51
52         * wx/build-wxwebkit:
53
54 2008-04-26  Adam Barth <hk9565@gmail.com>
55
56         Reviewed by Adam Roben and Sam Weinig.
57
58         Updates LayoutTestController to use host instead of domain.
59
60         Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
61
62         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
63         (LayoutTestController::setDatabaseQuota):
64         * DumpRenderTree/mac/UIDelegate.mm:
65         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
66
67 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
68
69         wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
70
71         * wx/install-unix-extras:
72
73 2008-04-26  Robin Dunn  <robin@alldunn.com>
74
75         Reviewed by Kevin Ollivier.
76         
77         Allow the user to set the path to SWIG using an environment variable.
78         
79         https://bugs.webkit.org/show_bug.cgi?id=18660
80
81         * wx/build-wxwebkit:
82
83 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
84
85         wx build fix. Download the latest libpng version for building the
86         dependencies.
87
88         * wx/install-unix-extras:
89
90 2008-04-25  Holger Hans Peter Freyther  <zecke@selfish.org>
91
92         Reviewed by Simon.
93
94         Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
95         
96         Similar to Editing and Frameloading we do the dumping within WebCore
97         
98
99         * DumpRenderTree/qt/jsobjects.cpp:
100         (LayoutTestController::dumpResourceLoadCallbacks):
101         * DumpRenderTree/qt/jsobjects.h:
102
103 2008-04-24  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
104
105         Reviewed by Maciej Stachowiak.
106
107         http://bugs.webkit.org/show_bug.cgi?id=18485
108         Typo and documentation fix for build-webkit
109
110         * Scripts/build-webkit:
111
112 2008-04-24  Anders Carlsson  <andersca@apple.com>
113
114         Reviewed by Sam.
115
116         Don't call fprintf from the signal handler.
117         
118         * DumpRenderTree/mac/DumpRenderTree.mm:
119         (crashHandler):
120
121 2008-04-23  Adam Roben  <aroben@apple.com>
122
123         Make crashes be reported as crashes, not hangs
124
125         Reviewed by David Kilzer.
126
127         * Scripts/run-webkit-tests:
128         (top level): Use the new status field of the output from
129         readFromDumpToolWithTimer to determine if the test crashed or hung.
130         (sub readFromDumpToolWithTimer):
131           - If we fail to read a line and $! is not EAGAIN, then we've crashed
132             and should not try to read any more.
133           - Changed the timedout field to a more general status field.
134
135 2008-04-22  David Kilzer  <ddkilzer@apple.com>
136
137         Bug 18683: update-webkit returns 0 even if it fails
138
139         <https://bugs.webkit.org/show_bug.cgi?id=18683>
140
141         Reviewed by Mitz Pettel.
142
143         * Scripts/update-webkit:
144         (runSvnUpdate): Die if close() fails.
145
146 2008-04-21  Adam Roben  <aroben@apple.com>
147
148         Flush stdout/stderr after printing every #EOF separator
149
150         This fixes a hang when running the pixel tests on Windows
151
152         Reviewed by Mitz Pettel.
153
154         * DumpRenderTree/win/DumpRenderTree.cpp:
155         (dump):
156         (main): We don't have to flush stdout/stderr in the arguments loop
157         anymore, as runTest flushes for us.
158
159 2008-04-21  Adam Roben  <aroben@apple.com>
160
161         Fix pixel tests
162
163         * Scripts/run-webkit-tests:
164         (sub readFromDumpToolWithTimer): Use readline instead of read to
165         ensure that we don't read past the #EOF marker.
166
167 2008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
168
169         Reviewed by Simon.
170
171         Build fix for Qt 4.3
172
173         * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
174         always defined. Do this by adding defines to the compiler line
175
176         * DumpRenderTree/qt/DumpRenderTree.pro:
177
178 2008-04-19  Mike Hommey  <glandium@debian.org>
179
180         Reviewed by Alp Toker.
181
182         Don't build GtkLauncher and DumpRenderTree with rpath.
183
184         * GNUmakefile.am:
185
186 2008-04-18  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
187
188         Reviewed by Alp Toker.
189
190         http://bugs.webkit.org/show_bug.cgi?id=16620
191         [GTK] Autotools make dist and make check support
192
193         Cleanups.
194
195         * GNUmakefile.am:
196
197 2008-04-18  Adam Roben  <aroben@apple.com>
198
199         Drop the hang timer to 30 seconds
200
201         This matches what DRT/mac was using.
202
203         Reviewed by Mitz Pettel.
204
205         * Scripts/run-webkit-tests:
206
207 2008-04-18  Adam Roben  <aroben@apple.com>
208
209         Get rid of DRT's Watchdog
210
211         run-webkit-tests now detects hangs and samples DRT as needed.
212
213         Reviewed by Mitz Pettel.
214
215         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
216         Watchdog* files from the project.
217         * DumpRenderTree/Watchdog.cpp: Removed.
218         * DumpRenderTree/Watchdog.h: Removed.
219         * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
220         (dumpRenderTree):
221         (runTest):
222         * DumpRenderTree/mac/WatchdogMac.h: Removed.
223         * DumpRenderTree/mac/WatchdogMac.mm: Removed.
224         * Scripts/run-webkit-tests:
225         (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
226         (sub sampleDumpTool): Added. Writes a sample report to
227         ~/Library/Logs/DumpRenderTree/HangReport.txt.
228
229 2008-04-18  Simon Hausmann  <hausmann@webkit.org>
230
231         Reviewed by Holger.
232
233         Adapt to the API changes in WebKit/qt
234
235         * DumpRenderTree/qt/DumpRenderTree.cpp:
236         (WebCore::WebPage::WebPage):
237         (WebCore::DumpRenderTree::DumpRenderTree):
238         (WebCore::DumpRenderTree::initJSObjects):
239         (WebCore::DumpRenderTree::dumpFramesAsText):
240         (WebCore::DumpRenderTree::dump):
241
242 2008-04-17  Adam Roben  <aroben@apple.com>
243
244         Fix many tests on Windows
245
246         * Scripts/run-webkit-tests:
247         (readFromDumpToolWithTimer):
248          - Use read instead of sysread to ensure that we don't interfere with
249            other uses of buffered IO in this script.
250         (setFileHandleNonBlocking): Actually set the filehandle to blocking
251         when specified.
252
253 2008-04-17  Adam Roben  <aroben@apple.com>
254
255         Fix ~10 tests
256
257         * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
258         whatever newline happens to be at the end of what we've read.
259
260 2008-04-17  Adam Roben  <aroben@apple.com>
261
262         Remove DRT/win's hang timer
263
264         run-webkit-tests takes care of this for us now
265
266         Reviewed by Anders Carlsson.
267
268         * DumpRenderTree/win/DumpRenderTree.cpp:
269
270 2008-04-17  Adam Roben  <aroben@apple.com>
271
272         Don't wait for the hang timer twice in the case of a hang
273
274         Previously we'd wait for a hang while reading both stdout and stderr
275         from DRT. Now we'll only wait for one or the other.
276
277         Reviewed by Anders Carlsson.
278
279         * Scripts/run-webkit-tests:
280         (top level): Don't wait for stderr to time out if stdout already timed
281         out.
282         (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
283         after the first read that returns no data.
284
285 2008-04-17  Adam Roben  <aroben@apple.com>
286
287         Don't throw away the output from timed out tests
288
289         Reviewed by Anders Carlsson.
290
291         * Scripts/run-webkit-tests:
292         (top level): Updated for changes to readFromDumpToolWithTimer.
293         (readFromDumpToolWithTimer): Return a hash that contains both the
294         output and whether or not the test timed out.
295
296 2008-04-17  Adam Roben  <aroben@apple.com>
297
298         Make the hang timer 60 seconds
299
300         * Scripts/run-webkit-tests:
301
302 2008-04-17  Adam Roben  <aroben@apple.com>
303
304         Get rid of carriage returns in DRT/win's stderr
305
306         Reviewed by Eric Seidel.
307
308         * DumpRenderTree/win/DumpRenderTree.cpp:
309         (main): Mark stderr as binary like we already do for stdout.
310
311 2008-04-17  Adam Roben  <aroben@apple.com>
312
313         Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
314         timeout long tests)
315
316         <https://bugs.webkit.org/show_bug.cgi?id=17678>
317
318         We now abort tests that take longer than 60 seconds to produce output.
319         This matches the watchdog timer in DRT/mac and DRT/win (which we can
320         now remove).
321
322         Reviewed by Eric Seidel.
323
324         * Scripts/run-webkit-tests:
325         (top level): Read DRT's output using the new readFromDumpToolWithTimer
326         subroutine. If readFromDumpToolWithTimer returns undefined it means
327         the test timed out, so we register the test as a hang and move on.
328         (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
329         both crashed and timed out tests. If the test timed out, we kill DRT
330         before returning.
331         (sub linksForTimedOutTest): Added. We don't have any output to link to for
332         tests that timed out.
333         (sub recordActualResultsAndDiff): Don't call length on undefined.
334         (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
335         from a filehandle until an #EOF is reached or
336         $maximumSecondsWithoutOutput have elapsed.
337         (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
338         non-blocking.
339
340 2008-04-17  Adam Roben  <aroben@apple.com>
341
342         Refactor test results page generation
343
344         Reviewed by Eric Seidel.
345
346         * Scripts/run-webkit-tests:
347         (sub htmlForResultsSection): Added. Takes a set of tests, a
348         description, and a subroutine to generate the links for each test, and
349         creates a HTML string containing a table of the tests and their
350         links.
351         (sub linksForExpectedAndActualResults): Added. Replaces the
352         htmlForExpectedAndActualResults subroutine.
353         (sub linksForMismatchTest): Added.
354         (sub linksForCrashOrErrorTest): Added.
355         (sub linksForNewTest): Added.
356
357 2008-04-17  Adam Roben  <aroben@apple.com>
358
359         Print the extension for all tests in the test results page
360
361         Reviewed by Eric Seidel.
362
363         * Scripts/run-webkit-tests:
364
365 2008-04-17  Adam Roben  <aroben@apple.com>
366
367         Move code that counts finished tests into a subroutine
368
369         Reviewed by Eric Seidel.
370
371         * Scripts/run-webkit-tests:
372         (sub countFinishedTest): Added.
373
374 2008-04-17  Adam Roben  <aroben@apple.com>
375
376         Move code that handles a crash into a subroutine
377
378         Reviewed by Eric Seidel.
379
380         * Scripts/run-webkit-tests:
381         (sub testCrashed): Added.
382
383 2008-04-17  Eric Seidel  <eric@webkit.org>
384
385         Reviewed by hyatt.
386         
387         Rename RenderView to RenderViewport in the next rename patch.
388
389         * Scripts/do-webcore-rename:
390
391 2008-04-17  Mario Bensi  <mbensi@pleyo.com>
392
393         Reviewed by Alp Toker.
394
395         http://bugs.webkit.org/show_bug.cgi?id=18543
396         DumpRenderTree gtk freeze
397
398         fix DumpRenderTree gtk freeze 
399
400         * DumpRenderTree/gtk/DumpRenderTree.cpp:
401         (dump):
402
403 2008-04-15  Anders Carlsson  <andersca@apple.com>
404
405         Add missing ;
406         
407         * Scripts/build-webkit:
408         
409 2008-04-15  Anders Carlsson  <andersca@apple.com>
410
411         Reviewed by Adam.
412
413         Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
414
415         * Scripts/build-webkit:
416
417 2008-04-15  Andre Poenitz  <andre.poenitz@trolltech.com>
418
419         Reviewed by Simon.
420
421         Fix compilation with Qt namespaces
422
423         Qt can be configured to have all of its classes inside a specified namespaces.
424         This is for example used in plugin/component environments like Eclipse.
425
426         This change makes it possible to let the Qt port compile against a namespaced
427         Qt by the use of macros Qt provides to properly forward declare Qt classes in
428         the namespace.
429
430         * DumpRenderTree/qt/DumpRenderTree.h:
431
432 2008-04-08  Kevin Ollivier  <kevino@theolliviers.com>
433
434         Reviewed by Darin Adler.
435
436         Add a script that propagates any file changes made to the Bakefiles
437         over to GTK and Qt build systems. Still needs to be wired into
438         those ports though.
439
440         * Scripts/update-sources-list.py: Added.
441
442 2008-04-08  Mark Rowe  <mrowe@apple.com>
443
444         Clean up after Brady.
445
446         * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
447
448 2008-04-08  Brady Eidson  <beidson@apple.com>
449
450         Reviewed by Mitzpettel
451
452         Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
453         -WebArchive subresources dump in random order, intermittent failures
454
455         * DumpRenderTree/mac/DumpRenderTree.mm:
456         (compareResourceURLs): Sorting function based on the resource URLs
457         (serializeWebArchiveToXML): Sort the subresource array
458
459 2008-04-07  Brady Eidson  <beidson@apple.com>
460
461         OMG, BUILD - please!
462
463         * Scripts/build-webkit:
464
465 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
466
467         Reviewed by Simon.
468
469         * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
470         * Running these tests on windows and other platforms might need some work.
471
472         * Scripts/run-webkit-tests:
473
474 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
475
476         Reviewed by Simon.
477
478         * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
479         is not exporting enough to create the output in DRT itself. Settle with the approach
480         Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
481         * run-webkit-tests http/tests(/loading) can now be executed.
482         * For tests in loading/ directories we are going to throw away the dirty
483         QWebPage to start with something clean.
484         
485
486         * DumpRenderTree/qt/DumpRenderTree.cpp:
487
488 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
489
490         Reviewed by Simon.
491
492         * Treat http and https as special URLs as well. Change the main.cpp and
493         DumpRenderTree.cpp to handle http and https URIs as input.
494         * I'm not doing the clean up and merging of these two checks now.
495         
496
497         * DumpRenderTree/qt/DumpRenderTree.cpp:
498         (WebCore::DumpRenderTree::readStdin):
499         * DumpRenderTree/qt/main.cpp:
500         (main):
501
502 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
503
504         Reviewed by Simon.
505
506         * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
507         located in a directory with the name "loading". And this will autoamtically
508         enable dumping.
509         * Remove this method from the LayoutTestController as it is unused now and this
510         avoids adding it to the DRT of the Qt port.
511         
512
513         * DumpRenderTree/LayoutTestController.cpp:
514         (setPrivateBrowsingEnabledCallback):
515
516 2008-04-01  Christian Dywan  <christian@imendio.com>
517
518         Build fix for GCC 4.3.
519
520         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
521
522 2008-04-01  Simon Hausmann  <hausmann@webkit.org>
523
524         Reviewed by Holger.
525
526         Fix Qt DRT run by also printing EOF on stderr, as expected by
527         run-webkit-tests.
528
529         * DumpRenderTree/qt/DumpRenderTree.cpp:
530         (WebCore::DumpRenderTree::dump):
531
532 2008-03-31  Julien Chaffraix  <julien.chaffraix@gmail.com>
533
534         Reviewed by Darin.
535
536         Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
537
538         Remove trailing '/' in $sourceDir in determineSourceDir().
539
540         Fix suggested by Dmitriy Kazachkov.
541
542         * Scripts/webkitdirs.pm:
543
544 2008-03-29  Adam Roben  <aroben@apple.com>
545
546         Update for rename of an IWebViewPrivate method
547
548         Reviewed by Mitz Pettel.
549
550         * DumpRenderTree/win/DumpRenderTree.cpp:
551         (createWebViewAndOffscreenWindow):
552
553 2008-03-26  Antti Koivisto  <antti@apple.com>
554
555         Reviewed by Anders.
556         
557         Enable SVG animation support by default.
558
559         * Scripts/build-webkit:
560
561 2008-03-25  Adam Roben  <aroben@apple.com>
562
563         Windows build fix
564
565         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
566         Add $(WebKitLibrariesDir)\include to the include path so we can find
567         stdint.h there.
568
569 2008-03-24  Eric Seidel  <eric@webkit.org>
570
571         Reviewed by Mark.
572
573         Clean up SVG features message to be less confusing.
574
575         * Scripts/build-webkit:
576
577 2008-03-24  Sam Weinig  <sam@webkit.org>
578
579         Reviewed by Dave Hyatt.
580
581         Add EventSender.zoomPageIn/zoomPageOut support to DRT.
582
583         * DumpRenderTree/mac/DumpRenderTree.mm:
584         (resetWebViewToConsistentStateBeforeTesting):
585         * DumpRenderTree/mac/EventSendingController.mm:
586         (+[EventSendingController isSelectorExcludedFromWebScript:]):
587         (-[EventSendingController zoomPageIn]):
588         (-[EventSendingController zoomPageOut]):
589         * DumpRenderTree/win/DumpRenderTree.cpp:
590         (resetWebViewToConsistentStateBeforeTesting):
591         * DumpRenderTree/win/EventSender.cpp:
592         (textZoomInCallback):
593         (textZoomOutCallback):
594         (zoomPageInCallback):
595         (zoomPageOutCallback):
596
597 2008-03-24  Dan Bernstein  <mitz@apple.com>
598
599         Reviewed by Mark Rowe.
600
601         - update bisect-builds for Safari 3.1
602
603         * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
604         revision, r29711.
605
606 2008-03-21  Rodney Dawes  <dobey@wayofthemonkey.com>
607
608         Reviewed by Holger.
609
610         http://bugs.webkit.org/show_bug.cgi?id=17981
611
612         Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
613
614         * GNUmakefile.am:
615
616 2008-03-21  Adam Roben  <aroben@apple.com>
617
618         Remove a non-working mirror from cygwin-downloader and add the ruby package
619
620         * CygwinDownloader/cygwin-downloader.py:
621         * CygwinDownloader/cygwin-downloader.zip: Updated.
622
623 2008-03-20  Mark Rowe  <mrowe@apple.com>
624
625         Reviewed by Sam Weinig.
626
627         Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
628         This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
629         command-line.
630
631         * Scripts/build-webkit:
632
633 2008-03-17  Eric Seidel  <eric@webkit.org>
634
635         Reviewed by Dan Bernstein.
636
637         Fix bogus argCount check breaking plugin test.
638
639         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
640
641 2008-03-17  Eric Seidel  <eric@webkit.org>
642
643         Reviewed by darin.
644
645         Cleanup PluginObject.cpp and add support for testing
646         converting from int -> identifier -> string
647         and from string -> identifier -> int
648         as well as round-tripping ints and stings through identifiers
649
650         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
651         (pluginGetProperty):
652         (pluginSetProperty):
653         (testDOMAccess):
654         (stringVariantToIdentifier):
655         (int32VariantToIdentifier):
656         (doubleVariantToIdentifier):
657         (variantToIdentifier):
658         (testIdentifierToString):
659         (testIdentifierToInt):
660         (testCallback):
661         (getURL):
662         (removeDefaultMethod):
663         (getURLNotify):
664         (testInvokeDefault):
665         (destroyStream):
666         (testEnumerate):
667         (testGetIntIdentifier):
668         (testGetProperty):
669         (testEvaluate):
670         (testGetPropertyReturnValue):
671         (pluginInvoke):
672         (pluginInvokeDefault):
673         (pluginInvalidate):
674         (pluginAllocate):
675         (pluginDeallocate):
676         (handleCallback):
677
678 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
679
680         Rubber stamped by Darin.
681
682         Add set-webkit-configuration support for wx port, and centralize
683         build dir location setting.
684
685         http://bugs.webkit.org/show_bug.cgi?id=17790
686
687         * wx/browser/browser.bkl:
688         * wx/build-wxwebkit:
689
690 2008-03-15  Darin Adler  <darin@apple.com>
691
692         * Scripts/commit-log-editor: Include the name line of the change log entry.
693         A long time ago I designed this script to not include the name because I
694         thought it was redundant (same as the name of the person checking in), but
695         nowadays it's more common for someone to check something in done by someone
696         else.
697
698         * Scripts/do-webcore-rename: Added some more planned renames and removed
699         some that were already done "by hand".
700
701 2008-03-13  Brent Fulgham  <bfulgham@gmail.com>
702
703         Reviewed by Darin.
704
705         Correct paths to vsprops files so they use the environment
706         variable, rather than hard-coded path.
707         http://bugs.webkit.org/show_bug.cgi?id=17797.
708
709         * WinLauncher/WinLauncher.vcproj:  Correct paths to vsprops.
710
711 2008-03-12  Steve Falkenburg  <sfalken@apple.com>
712
713         VSExpress build fix
714
715         * WinLauncher/WinLauncher.vcproj:
716
717 2008-03-12  Holger Hans Peter Freyther  <zecke@selfish.org>
718
719         Reviewed by Alp Toker.
720
721         Run testkjs in the correct productsDir in the GTK+ port.
722
723         * Scripts/run-javascriptcore-tests:
724
725 2008-03-11  Brent Fulgham  <bfulgham@gmail.com>
726
727         Reviewed by Adam Roben.
728
729         Enabled WinLauncher as part of normal Windows build.
730         http://bugs.webkit.org/show_bug.cgi?id=17715.
731
732         * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
733           it can find the proper libraries to link against.
734
735 2008-03-10  Julien Chaffraix  <julien.chaffraix@gmail.com>
736
737         Reviewed and landed by Darin.
738
739         http://bugs.webkit.org/show_bug.cgi?id=17581
740         Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
741
742         Remove the previous warning which occurs when the --random option is used.
743
744         * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
745         its inequality
746
747 2008-03-07  Simon Hausmann  <hausmann@webkit.org>
748
749         Reviewed by Darin.
750
751         Done with Lars.
752
753         Ported the netscape test plugin to QWebPluginFactory.
754
755         * DumpRenderTree/qt/DumpRenderTree.cpp:
756         (WebCore::WebPage::WebPage):
757         * DumpRenderTree/qt/main.cpp:
758         * DumpRenderTree/qt/testplugin.cpp:
759         (TestPlugin::plugins):
760         (TestPlugin::create):
761         * DumpRenderTree/qt/testplugin.h:
762
763 2008-03-09  Steve Falkenburg  <sfalken@apple.com>
764
765         Stop Windows build if an error occurs in a prior project.
766
767         Rubber stamped by Darin.
768
769         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
770         * DumpRenderTree/win/DumpRenderTree.vcproj:
771         * DumpRenderTree/win/ImageDiff.vcproj:
772         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
773
774 2008-03-08  Julien Chaffraix  <julien.chaffraix@gmail.com>
775
776         Reviewed by Mark Rowe.
777
778         DRT build fix for Tiger.
779
780         * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
781
782 2008-03-07  Mark Rowe  <mrowe@apple.com>
783
784         Reviewed by Oliver Hunt.
785
786         Fix WebKit build with GCC 4.2.
787
788         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
789
790 2008-03-07  Stephanie Lewis <slewis@apple.com>
791
792         Reviewed by Oliver.
793
794         Add Windows part of <rdar://problem/5693690> 
795
796         * DumpRenderTree/win/DumpRenderTree.cpp:
797         (dump):
798         (main):
799
800 2008-03-07  Alp Toker  <alp@atoker.com>
801
802         Back out the r30818, r30819 build fix attempts now the GTK+ build
803         server has been upgraded.
804
805         * Scripts/webkitdirs.pm:
806
807 2008-03-07  Stephanie Lewis <slewis@apple.com>
808
809         Reviewed by Geoff.
810
811         <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
812
813         * DumpRenderTree/mac/DumpRenderTree.mm:
814         (dump): push EOF to stderr after every test
815         * Scripts/run-webkit-tests: collect stderr output and print it
816
817 2008-03-07  Steve Falkenburg  <sfalken@apple.com>
818
819         Get pdevenv working with Visual Studio Express.
820         
821         Reviewed by Adam.
822
823         * Scripts/pdevenv:
824
825 2008-03-06  Adele Peterson  <adele@apple.com>
826
827         Reviewed by Darin.
828
829         Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
830
831         * DumpRenderTree/mac/UIDelegate.mm:
832         (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
833         (-[UIDelegate webViewUnfocus:]): Added.  In Safari, the default is to focus another window if there is one.
834          To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
835
836 2008-03-06  Matt Lilek  <webkit@mattlilek.com>
837
838         Reviewed by Adam Roben.
839
840         Bug 17691: REGRESSION: FindSafari doesn't work
841         http://bugs.webkit.org/show_bug.cgi?id=17691
842
843         Swap my change from r30394 to use the Release libraries instead of Debug
844         since some machines don't have the Debug version.
845
846         * FindSafari/FindSafari.vcproj:
847
848 2008-03-06  Kevin McCullough  <kmccullough@apple.com>
849
850         Reviewed by Sam and Tim.
851
852         <rdar://5631450> Drosera: breakpoint indicators disappear after the
853         script is finished running.
854         - If there is a pre-existing breakpoint on a line when the file is
855         updated we need to redraw it.
856
857         * Drosera/debugger.js:
858
859 2008-03-06  Brady Eidson  <beidson@apple.com>
860
861         Tiger build fix...?
862
863         * DumpRenderTree/mac/WatchdogMac.mm:
864
865 2008-03-06  Brady Eidson  <beidson@apple.com>
866
867         Reviewed by Darin
868
869         Added a cross-platform Watchdog thread to DRT.
870
871         The current watchdog in both DRTWin and DRTMac is Timer based.  Therefore, deadlocks and long running
872         main thread hangs still affect DRT.
873
874         By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
875         and true deadlocks can be caught.
876
877         There is one hook for platform specific code.  As I did my development and testing on Mac, and Mac has
878         `sample` available, the Mac implementation of this hook samples the process before it is killed.
879
880         I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
881
882         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
883         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
884
885         * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
886         * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
887
888         * DumpRenderTree/Watchdog.cpp: Added.
889         (Watchdog::Watchdog):
890         (Watchdog::~Watchdog):
891         (Watchdog::start):
892         (Watchdog::stop):
893         (Watchdog::checkIn):
894         (Watchdog::setWatchdogInterval):
895         (Watchdog::handleHang):
896         (Watchdog::watchdogThreadStart):
897         (Watchdog::watchdogThread):
898         * DumpRenderTree/Watchdog.h: Added.
899
900         * DumpRenderTree/mac/WatchdogMac.h: Added.
901         * DumpRenderTree/mac/WatchdogMac.mm: Added.
902         (WatchdogMac::handleHang): Sample the process and write it out to a file
903
904         * DumpRenderTree/mac/DumpRenderTree.mm:
905         (dumpRenderTree): Setup and start the watchdog before running any tests
906         (runTest): Checkin with the watchdog after each test
907
908 2008-03-05  Alp Toker  <alp@atoker.com>
909
910         Attempt to get the autotools build working again on the bot with
911         build-webkit.
912
913         Force the use of /bin/bash since we seem to have bash-isms in the
914         configure script right now.
915
916         * Scripts/webkitdirs.pm:
917
918 2008-03-05  Alp Toker  <alp@atoker.com>
919
920         Re-attempt to switch to the autotools build system for GTK+.
921
922         Change scripts to continue when distclean fails.
923
924         * Scripts/webkitdirs.pm:
925
926 2008-03-05  Alp Toker  <alp@atoker.com>
927
928         Force qmake for the GTK+ build until we get the build bot to succeed
929         with autotools (currently dies at make distclean)
930
931         * Scripts/webkitdirs.pm:
932
933 2008-03-04  Alp Toker  <alp@atoker.com>
934
935         Reviewed by Mark Rowe.
936
937         Switch the default GTK+ build system from qmake to autotools.
938
939         qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
940
941         * Scripts/build-webkit:
942         * Scripts/run-launcher:
943         * Scripts/run-webkit-tests:
944         * Scripts/webkitdirs.pm:
945
946 2008-03-04  Sam Weinig  <sam@webkit.org>
947
948         Reviewed by Darin Adler.
949
950         * Scripts/do-webcore-rename: Update renaming plan.
951
952 2008-03-02  Brent Fulgham  <bfulgham@gmail.com>
953
954         Reviewed by Alp Toker.
955
956         Remove some needless LIBS.
957
958         * GNUmakefile.am:
959
960 2008-03-02  Alp Toker  <alp@atoker.com>
961
962         Reviewed by Mark Rowe.
963
964         Split the WebKit GTK+ build out of the WebCore build and change the
965         shared object name to match the package name.
966
967         * GNUmakefile.am:
968
969 2008-03-01  Mark Rowe  <mrowe@apple.com>
970
971         Reviewed by Tim Hatcher.
972
973         Update Xcode configuration to support building debug and release from the mysterious future.
974
975         * DumpRenderTree/mac/Configurations/Base.xcconfig:
976
977 2008-02-29  David Kilzer  <ddkilzer@apple.com>
978
979         Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
980
981         Reviewed by Dan.
982
983         Originally broken in r26838.
984
985         * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
986         not local, unused @args variable.
987
988 2008-02-29  David Kilzer  <ddkilzer@apple.com>
989
990         Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
991
992         <http://bugs.webkit.org/show_bug.cgi?id=15754>
993
994         Reviewed by Geoff and Darin.
995
996         We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
997         then removing that path from all file:/// URLs in the WebArchive output so these tests
998         would pass no matter where they were run.
999
1000         The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
1001         current working directory, but the WebArchive does not.  This left the current working
1002         directory in all file:/// URLs in the test output, and thus all tests failed, for any
1003         developer that used symlinks to get to their WebKit source directory.
1004
1005         The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
1006         remove the current working directory path (no matter what it is) after "file://" but
1007         before "/LayoutTests/".  
1008
1009         * DumpRenderTree/mac/DumpRenderTree.mm:
1010         (normalizeWebResourceURL): Removed unused oldURLBase argument.  We now replace the
1011         current working directory as described above.
1012         (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument.  Update
1013         calls to normalizeWebResourceURL().
1014         (serializeWebArchiveToXML): Removed now unused cwdURL variable.  Update calls to
1015         normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
1016
1017 2008-02-26  Robin Dunn <robin@alldunn.com>
1018
1019         Reviewed by Kevin Ollivier.
1020
1021         Improvements to the wx build script.
1022
1023         http://bugs.webkit.org/show_bug.cgi?id=17492
1024
1025         * wx/build-wxwebkit:
1026         - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
1027         - Allow the build script to properly find wxPython includes under different setups
1028         - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
1029
1030 2008-02-26  Timothy Hatcher  <timothy@apple.com>
1031
1032         Reviewed by Darin Adler.
1033
1034         * Scripts/build-webkit: Add --universal and --64-bit flags to make building
1035         64-bit architectures easy. Combine the two flags to build 4-way universal.
1036         * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
1037         non-zero when the build failes.
1038
1039 2008-02-26  Jessica Kahn  <jess@apple.com>
1040
1041         Reviewed by Darin.
1042
1043         * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
1044         so that Safari inherits it when launched. Preexisting code in WebKit checks this
1045         environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
1046         launched by Safari continue to use the standard system WebKit.
1047
1048 2008-02-25  Adam Roben  <aroben@apple.com>
1049
1050         Fix run-webkit-tests after r30394
1051
1052         * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
1053         executable name.
1054
1055 2008-02-24  Darin Adler  <darin@apple.com>
1056
1057         * Scripts/do-webcore-rename: Make some updates based on a trial run of
1058         the renaming script.
1059
1060 2008-02-24  Darin Adler  <darin@apple.com>
1061
1062         * Scripts/do-webcore-rename: More renaming plans.
1063
1064 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1065
1066         Rubber stamped by Darin.
1067
1068         Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
1069         whitespaces introduced in the previous commit.
1070
1071         * GNUmakefile.am:
1072
1073 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1074
1075         Rubber-stamped by Darin.
1076
1077         * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
1078
1079 2008-02-23  David Kilzer  <ddkilzer@apple.com>
1080
1081         Please clarify licensing for some files
1082         <http://bugs.webkit.org/show_bug.cgi?id=14970>
1083
1084         Reviewed by Darin.
1085
1086         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
1087         copyright statement.  Replaced license with newer Apple BSD-style license.
1088         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
1089         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
1090         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
1091         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
1092         * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
1093         * mangleme/LICENSE: Added (LGPL).
1094
1095 2008-02-22  Anders Carlsson  <andersca@apple.com>
1096
1097         Reviewed by Adam.
1098
1099         <rdar://problem/5748781> 
1100         https://bugs.webkit.org/show_bug.cgi?id=17413
1101         REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
1102         
1103         Copy the Java plug-in over to the new location.
1104         
1105         * FindSafari/FindSafari.cpp:
1106         (_tmain):
1107
1108 2008-02-22  Anders Carlsson  <andersca@apple.com>
1109
1110         Reviewed by Adam.
1111
1112         <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
1113         
1114         * DumpRenderTree/win/DumpRenderTree.cpp:
1115         (runTest):
1116         Init the URL request with the correct timeout.
1117
1118 2008-02-21  Mike Auty  <mike.auty@gmail.com>
1119
1120         Reviewed by Alp Toker.
1121
1122         http://bugs.webkit.org/show_bug.cgi?id=17445
1123         [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
1124
1125         GTK+/autotools build system improvements
1126
1127         The GNUmakefile.am files make use of the LDFLAGS variable to include library
1128         additions such as -ljpeg etc.  Unfortunately, if these inclusions aren't made
1129         in LIBADD/LDADD variables, then they are mis-ordered during the linking.
1130
1131         The as-needed flag discards libraries whose functions have not been needed by
1132         earlier libraries, which therefore makes the ordering important.
1133
1134         This moves all -l library inclusion statements from LDFLAGS variables to
1135         LIBADD/LDADD variables.
1136
1137         * GNUmakefile.am:
1138
1139 2008-02-20  Brent Fulgham  <bfulgham@gmail.com>
1140
1141         Reviewed by Alp.
1142
1143         - http://bugs.webkit.org/show_bug.cgi?id=17428
1144           Reenable a Windows-based launcher
1145
1146         This patch reenables the venerable Spinneret application,
1147         changing its name to match the other lanch applications.
1148
1149         * WinLauncher: Added.
1150         * WinLauncher/WinLauncher.cpp: Added.
1151         (WinLauncherWebHost::updateAddressBar):
1152         (WinLauncherWebHost::QueryInterface):
1153         (WinLauncherWebHost::AddRef):
1154         (WinLauncherWebHost::Release):
1155         (resizeSubViews):
1156         (_tWinMain):
1157         (MyRegisterClass):
1158         (InitInstance):
1159         (WndProc):
1160         (MyEditProc):
1161         (About):
1162         (loadURL):
1163         * WinLauncher/WinLauncher.h: Added.
1164         (WinLauncherWebHost::WinLauncherWebHost):
1165         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
1166         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1167         (WinLauncherWebHost::didFailProvisionalLoadWithError):
1168         (WinLauncherWebHost::didCommitLoadForFrame):
1169         (WinLauncherWebHost::didReceiveTitle):
1170         (WinLauncherWebHost::didReceiveIcon):
1171         (WinLauncherWebHost::didFinishLoadForFrame):
1172         (WinLauncherWebHost::didFailLoadWithError):
1173         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
1174         (WinLauncherWebHost::willPerformClientRedirectToURL):
1175         (WinLauncherWebHost::didCancelClientRedirectForFrame):
1176         (WinLauncherWebHost::willCloseFrame):
1177         (WinLauncherWebHost::windowScriptObjectAvailable):
1178         * WinLauncher/WinLauncher.ico: Added.
1179         * WinLauncher/WinLauncher.rc: Added.
1180         * WinLauncher/WinLauncher.vcproj: Added.
1181         * WinLauncher/resource.h: Added.
1182         * WinLauncher/small.ico: Added.
1183         * WinLauncher/stdafx.cpp: Added.
1184         * WinLauncher/stdafx.h: Added.
1185
1186 2008-02-19  Brady Eidson  <beidson@apple.com>
1187
1188         Reviewed by Geoff
1189
1190         Fixed a bug in DRT --threaded mode
1191
1192         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1193         (startJavaScriptThreads): Don't detach the newly created thread.  The later call to stopJavaScriptThreads() tries
1194           to pthread_join() each thread that had been created, but you can't join a detached thread!
1195
1196 2008-02-18  Brady Eidson  <beidson@apple.com>
1197
1198         Changes by Geoff Garen, Reviewed by Darin
1199
1200         Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
1201
1202         DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
1203
1204         [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
1205         This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread.  If the lock has leaked,
1206         this series of method calls will deadlock.  If things are good, it will complete successfully.
1207
1208         * DumpRenderTree/mac/ObjCController.m:
1209         (runJavaScriptThread):
1210         (+[ObjCController isSelectorExcludedFromWebScript:]):
1211         (+[ObjCController webScriptNameForSelector:]):
1212         (-[ObjCController testValueForKey]):
1213
1214 2008-02-18  Matt Lilek  <webkit@mattlilek.com>
1215
1216         Reviewed by Adam.
1217
1218         Remove FindSafari's Release configuration.
1219
1220         * FindSafari/FindSafari.vcproj:
1221
1222 2008-02-15  Adam Roben  <aroben@apple.com>
1223
1224         Fix a typo that broke the Mac build
1225
1226         Reviewed by Mark.
1227
1228         * Scripts/build-webkit:
1229
1230 2008-02-14  Adam Roben  <aroben@apple.com>
1231
1232         Turn on cross-document messaging support by default
1233
1234         Reviewed by Darin.
1235
1236         * Scripts/build-webkit:
1237
1238 2008-02-14  Adam Roben  <aroben@apple.com>
1239
1240         Conditionalize cross-document messaging support
1241
1242         The cross-document messaging parts of HTML 5 are in flux and we want
1243         ports to be able to turn off the support as needed.
1244
1245         Note that the support is turned off by default right now. A subsequent
1246         commit will turn it on by default.
1247
1248         Reviewed by Darin.
1249
1250         * Scripts/build-webkit:
1251
1252 2008-02-14  Darin Adler  <darin@apple.com>
1253
1254        - fix Windows build
1255
1256         * DumpRenderTree/win/UIDelegate.cpp:
1257         (UIDelegate::setStatusText): Update parameter types to match declaration.
1258
1259 2008-02-14  Oliver Hunt  <oliver@apple.com>
1260
1261         Reviewed by Geoff G and Weinig.
1262
1263         Add ability for DRT to report tests setting the status text.
1264
1265         * DumpRenderTree/LayoutTestController.cpp:
1266         (LayoutTestController::LayoutTestController):
1267         (dumpStatusCallbacksCallback):
1268         (LayoutTestController::staticFunctions):
1269         * DumpRenderTree/LayoutTestController.h:
1270         * DumpRenderTree/mac/UIDelegate.mm:
1271         (-[UIDelegate webView:setStatusText:]):
1272         * DumpRenderTree/win/UIDelegate.cpp:
1273         * DumpRenderTree/win/UIDelegate.h:
1274
1275 2008-02-13  Adam Roben  <aroben@apple.com>
1276
1277         Windows build fix
1278
1279         * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
1280
1281 2008-02-13  Adam Roben  <aroben@apple.com>
1282
1283         Windows/GTK+ build fix
1284
1285         * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
1286         get isnan.
1287
1288 2008-02-13  Brady Eidson  <beidson@apple.com>
1289
1290         Reviewed by Darin Adler
1291
1292         Add some much needed Database support to DRT
1293
1294         * DumpRenderTree/LayoutTestController.cpp:
1295         (LayoutTestController::LayoutTestController):
1296         (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
1297           databases are called
1298         (clearAllDatabasesCallback): Allow a test to delete all databases
1299         (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
1300         (LayoutTestController::staticFunctions):
1301
1302         * DumpRenderTree/LayoutTestController.h:
1303         (LayoutTestController::dumpDatabaseCallbacks):
1304         (LayoutTestController::setDumpDatabaseCallbacks):
1305
1306         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1307         (LayoutTestController::clearAllDatabases):
1308         (LayoutTestController::setDatabaseQuota):
1309
1310         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1311         (LayoutTestController::clearAllDatabases): Stubbed out
1312         (LayoutTestController::setDatabaseQuota): Ditto
1313         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1314         (LayoutTestController::clearAllDatabases): Stubbed out with error message
1315         (LayoutTestController::setDatabaseQuota): Ditto
1316
1317         * DumpRenderTree/mac/UIDelegate.mm:
1318         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
1319           message with details about the event then return a 5mb quota like before
1320
1321
1322 2008-02-12  Steve Falkenburg  <sfalken@apple.com>
1323
1324         Changes to support merged MIDL output.
1325
1326         All COM interfaces are now generated to WebKit.h.
1327
1328         Reviewed by Sam, Ada.
1329
1330         * Drosera/win/BaseDelegate.h:
1331         * Drosera/win/DebuggerClient.cpp:
1332         * Drosera/win/DebuggerDocumentPlatform.cpp:
1333         * Drosera/win/Drosera.cpp:
1334         * Drosera/win/ServerConnection.cpp:
1335         * Drosera/win/ServerConnection.h:
1336         * DumpRenderTree/win/DumpRenderTree.cpp:
1337         * DumpRenderTree/win/EditingDelegate.h:
1338         * DumpRenderTree/win/EventSender.cpp:
1339         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1340         * DumpRenderTree/win/FrameLoadDelegate.h:
1341         * DumpRenderTree/win/GCControllerWin.cpp:
1342         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1343         * DumpRenderTree/win/PolicyDelegate.h:
1344         * DumpRenderTree/win/ResourceLoadDelegate.h:
1345         * DumpRenderTree/win/UIDelegate.cpp:
1346         * DumpRenderTree/win/UIDelegate.h:
1347         * DumpRenderTree/win/WorkQueueItemWin.cpp:
1348
1349 2008-02-10  Dan Bernstein  <mitz@apple.com>
1350
1351         Reviewed by Oliver Hunt.
1352
1353         - fix a memory leak
1354
1355         * DumpRenderTree/cg/ImageDiffCG.cpp:
1356         (getDifferenceBitmap): Use a static CFMutableData instead of allocating
1357         and leaking the buffer each time.
1358
1359 2008-02-07  Adam Roben  <aroben@apple.com>
1360
1361         Fix error in bisect-builds when responding "broken" for the first
1362         build
1363
1364         Reviewed by Dave Kilzer.
1365
1366         * Scripts/bisect-builds: Only try to test the build if the nightly
1367         info for the current index has not been deleted.
1368
1369 2008-02-07  Geoffrey Garen  <ggaren@apple.com>
1370
1371         Reviewed by Alexey Proskuryakov.
1372
1373         Fixed two minor typos in the --root option, to get it working.
1374
1375         * Scripts/run-sunspider:
1376             1. Actually assign the function argument to our local variable.
1377             2. Actually set the $root variable, so we don't try to build later.
1378
1379 2008-02-05  Oliver Hunt  <oliver@apple.com>
1380
1381         RS=Eric.
1382
1383         Re-enable foreignObject by default as it is needed for a number of non-fO
1384         related SVG tests and none of the old known crashes occur anymore.
1385
1386         * Scripts/build-webkit:
1387
1388 2008-02-05  Steve Falkenburg  <sfalken@apple.com>
1389
1390         Build fix.  Don't override intermediate directory.
1391
1392         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1393
1394 2008-02-05  Holger Hans Peter Freyther  <zecke@selfish.org>
1395
1396         Build fix for Windows. willCloseFrame is a pure virtual and we are
1397         forced to have an implementation.
1398         
1399         This partially reverts r30014.
1400
1401         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1402         (FrameLoadDelegate::willCloseFrame):
1403         * DumpRenderTree/win/FrameLoadDelegate.h:
1404
1405 2008-02-05  Nikolas Zimmermann  <zimmermann@kde.org>
1406
1407         Reviewed by Holger.
1408
1409         Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
1410
1411         * Scripts/make-js-test-wrappers:
1412
1413 2008-02-05  Holger Freyther  <zecke@selfish.org>
1414
1415         Reviewed by Darin.
1416
1417         In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
1418         the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
1419         depends on the order the tests are executed.
1420         
1421         Propose to remove willCloseFrame and didlCearWindowObject output from the
1422         FrameLoadDelegate and update the test results. The output of didClearWindowObject
1423         is not interesting for any of the current tests and we have other ways to find
1424         out if a frame was closed or not.
1425
1426         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1427         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1428         (FrameLoadDelegate::didClearWindowObject):
1429         * DumpRenderTree/win/FrameLoadDelegate.h:
1430
1431 2008-02-04  Mark Rowe  <mrowe@apple.com>
1432
1433         Reviewed by Oliver Hunt.
1434
1435         Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
1436         Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
1437
1438         Don't install the signal handler unless we are running the pixel tests.
1439         It is currently only used to restore the color profile, but by catching
1440         signals we can trigger a deadlock in DRT while running leak tests.
1441         The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
1442         and a more complete fix will need to be developed to address this for
1443         pixel tests as well.
1444
1445         * DumpRenderTree/mac/DumpRenderTree.mm:
1446         (dumpRenderTree):
1447
1448 2008-02-04  Mark Rowe  <mrowe@apple.com>
1449
1450        Gtk qmake build fix.
1451
1452         * Scripts/webkitdirs.pm:  Fix perl's complaint about an odd number of elements in anonymous hash.
1453
1454 2008-02-04  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1455
1456         Reviewed by Alp Toker and Mark Rowe.
1457
1458         http://bugs.webkit.org/show_bug.cgi?id=16618
1459         [GTK] build-webkit and run-webkit-tests autootools support
1460
1461         * Scripts/build-webkit: added --database and --icon-database options
1462         * Scripts/run-launcher:
1463         * Scripts/run-webkit-tests:
1464         * Scripts/webkitdirs.pm:
1465
1466 2008-02-04  Oliver Hunt  <oliver@apple.com>
1467
1468         Reviewed by Steve F.
1469
1470         Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
1471
1472         Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
1473         Issues include:
1474           * Uses Sleep() to implement leapForward reliably.
1475           * 3 DND tests still fail for reasons that i have not yet determined
1476           * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain 
1477
1478         * DumpRenderTree/win/EventSender.cpp:
1479         (leapForwardCallback):
1480         (mouseDownCallback):
1481         (doMouseUp):
1482         (mouseUpCallback):
1483         (doMouseMove):
1484         (mouseMoveToCallback):
1485           Minor updates to these functions to handle the different message queue structure.
1486
1487         (replaySavedEvents):
1488           More complicated now.  Where possible we just use the old while-loop model of execution,
1489           but when leapForward has been used we have to jump through some hoops and set up an 
1490           inner event loop so that we can ensure messages get the correct time stamp.
1491
1492         * DumpRenderTree/win/UIDelegate.cpp:
1493         (UIDelegate::doDragDrop):
1494           Call replaySavedEvents directly to force synchronous handling of drag and drop.
1495
1496 2008-02-04  Rodney Dawes  <dobey@wayofthemonkey.com>
1497
1498         Reviewed by Alp Toker and Mark Rowe.
1499
1500         Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
1501         Bug 17175: Use of C++ compiler flags in CFLAGS
1502
1503         * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
1504
1505 2008-02-04  Darin Adler  <darin@apple.com>
1506
1507         Reviewed by Geoff.
1508
1509         * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
1510         and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
1511         subdirectory.
1512
1513 2008-02-04  Adam Roben  <aroben@apple.com>
1514
1515         Windows Apple-only build fix
1516
1517         * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
1518         directory.
1519
1520 2008-02-04  Alp Toker  <alp@atoker.com>
1521
1522         Rubber-stamped by Mark Rowe.
1523
1524         Remove all trailing whitespace in the GTK+ port and related
1525         components.
1526
1527         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1528         * DumpRenderTree/gtk/GCControllerGtk.cpp:
1529         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1530         * GNUmakefile.am:
1531
1532 2008-02-01  Eric Seidel  <eric@webkit.org>
1533
1534         Reviewed by Oliver.
1535
1536         Also search LayoutTests/svg for js-based tests.
1537
1538         * Scripts/make-js-test-wrappers:
1539
1540 2008-01-31  Alp Toker  <alp@atoker.com>
1541
1542         Rubber-stamped by Adam Roben.
1543
1544         http://bugs.webkit.org/show_bug.cgi?id=17006
1545         [GTK] Header path should be webkit/webkit.h
1546
1547         Move the GTK+ API sources as needed and update the build systems.
1548
1549         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1550         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
1551         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1552         * GNUmakefile.am:
1553         * GtkLauncher/main.c:
1554
1555 2008-01-30  Stephanie  <slewis@apple.com>
1556
1557         Reviewed by Geoff.
1558
1559         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.
1560
1561         * Scripts/run-webkit-tests:
1562
1563 2008-01-30  Alexey Proskuryakov  <ap@webkit.org>
1564
1565         Reviewed by Adam Roben.
1566
1567         One more debug (external) fix.
1568
1569         * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
1570         and Debug configurations. 
1571
1572 2008-01-29  Geoffrey Garen  <ggaren@apple.com>
1573
1574         Reviewed by Sam Weinig. Sam Weinig.
1575         
1576         Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
1577         fails when run after fast/dom/Window/window-property-shadowing.html (16902)
1578
1579         Modified our policy delegates not to output window.name. Since a
1580         previous test may have explicitly set window.name, we can't rely on its
1581         implicit value in test results.
1582
1583         * DumpRenderTree/mac/PolicyDelegate.mm:
1584         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
1585
1586         * DumpRenderTree/win/PolicyDelegate.cpp:
1587         (PolicyDelegate::decidePolicyForNavigationAction):
1588
1589 2008-01-29  Mark Rowe  <mrowe@apple.com>
1590
1591         Reviewed by Tim Hatcher.
1592
1593         <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).
1594
1595         * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
1596
1597 2008-01-29  David Kilzer  <ddkilzer@apple.com>
1598
1599         Refactor ChangeLog path code
1600
1601         Reviewed by Adam.
1602
1603         * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
1604         duplicate code in another foreach() loop.
1605
1606 2008-01-29  Alexey Proskuryakov  <ap@webkit.org>
1607
1608         Reviewed by Darin.
1609
1610         <rdar://problem/5710692> All storage tests fail/crash
1611
1612         * DumpRenderTree/mac/UIDelegate.mm:
1613         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
1614         arbitrary quota of 5 megabytes.
1615
1616         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1617         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
1618         Removed unused (I think) code.
1619         
1620         * DumpRenderTree/win/UIDelegate.cpp:
1621         (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
1622         (UIDelegate::webViewPainted): A stub implementation.
1623         (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
1624         * DumpRenderTree/win/UIDelegate.h:
1625
1626 2008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1627
1628         GTK+ DRT build fix for breakage introduced in r29822.
1629
1630         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
1631         (LayoutTestController::setPersistentUserStyleSheetLocation):
1632         (LayoutTestController::clearPersistentUserStyleSheet):
1633
1634 2008-01-27  Dan Bernstein  <mitz@apple.com>
1635
1636         Reviewed by Darin Adler.
1637
1638         - add support for directory prologues and epilogues to run-webkit-tests
1639         - allow setting a persistent user style sheet in DumpRenderTree
1640         - activate the WebKit Layout Tests font in Windows DumpRenderTree
1641
1642         * DumpRenderTree/LayoutTestController.cpp:
1643         (clearPersistentUserStyleSheetCallback): Added.
1644         (setPersistentUserStyleSheetLocationCallback): Added.
1645         (LayoutTestController::staticFunctions): Added.
1646         clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
1647         * DumpRenderTree/LayoutTestController.h:
1648         * DumpRenderTree/mac/DumpRenderTree.mm:
1649         (setPersistentUserStyleSheetLocation): Added.
1650         (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
1651         to the set of things this function resets. Now it either disables the
1652         user style sheet or sets it to the persistent user style sheet and
1653         enables it.
1654         * DumpRenderTree/mac/DumpRenderTreeMac.h:
1655         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1656         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
1657         (LayoutTestController::clearPersistentUserStyleSheet): Added.
1658         * DumpRenderTree/win/DumpRenderTree.cpp:
1659         (setPersistentUserStyleSheetLocation): Added.
1660         (initialize): Added the WebKit Layout Tests font to the set of fonts to
1661         install.
1662         (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
1663         * DumpRenderTree/win/DumpRenderTreeWin.h:
1664         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1665         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
1666         (LayoutTestController::clearPersistentUserStyleSheet): Added.
1667         * Scripts/run-webkit-tests: Changed to look for, and if found process in
1668         DumpRenderTree, files named run-webkit-tests-prologue.html and
1669         run-webkit-tests-epilogue.html in the resources subdirectory of any
1670         test directory and platform test results directory. The prologues are
1671         processed before the first test from the directory (and its
1672         subdirectories) is run, and the epilogues are processed after the last
1673         test from the directory is run. Platform-specific prologues and
1674         epilogues are processed in order of specificity.
1675
1676 2008-01-25  Alexey Proskuryakov  <ap@webkit.org>
1677
1678         Reviewed by Mark Rowe.
1679
1680         <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
1681
1682         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
1683         (matching Mac DRT).
1684         * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
1685
1686 2008-01-24  Sam Weinig  <sam@webkit.org>
1687
1688         Reviewed by Ada Chan.
1689
1690         Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
1691
1692         - Adds simplified UndoManager to windows DRT to allow testing the
1693           undo/redo code paths in WebCore and WebKit.  This is a temporary
1694           solution to an issue that should eventually be solved by having a
1695           shared UndoManager in WebKit.
1696
1697         * DumpRenderTree/win/DumpRenderTree.cpp:
1698         (runTest):
1699         * DumpRenderTree/win/UIDelegate.cpp:
1700         (DRTUndoObject::DRTUndoObject):
1701         (DRTUndoObject::invoke):
1702         (DRTUndoStack::~DRTUndoStack):
1703         (DRTUndoStack::isEmpty):
1704         (DRTUndoStack::clear):
1705         (DRTUndoStack::push):
1706         (DRTUndoStack::pop):
1707         (DRTUndoManager::canRedo):
1708         (DRTUndoManager::canUndo):
1709         (DRTUndoManager::DRTUndoManager):
1710         (DRTUndoManager::removeAllActions):
1711         (DRTUndoManager::registerUndoWithTarget):
1712         (DRTUndoManager::redo):
1713         (DRTUndoManager::undo):
1714         (UIDelegate::UIDelegate):
1715         (UIDelegate::resetUndoManager):
1716         (UIDelegate::registerUndoWithTarget):
1717         (UIDelegate::removeAllActionsWithTarget):
1718         (UIDelegate::setActionTitle):
1719         (UIDelegate::undo):
1720         (UIDelegate::redo):
1721         (UIDelegate::canUndo):
1722         (UIDelegate::canRedo):
1723         * DumpRenderTree/win/UIDelegate.h:
1724
1725 2008-01-23  Adam Roben  <aroben@apple.com>
1726
1727         Allow directories containing ChangeLogs to be passed to
1728         resolve-ChangeLogs
1729
1730         Reviewed by David Kilzer.
1731
1732         * Scripts/resolve-ChangeLogs:
1733         (sub findChangeLog): Return a ChangeLog contained within the specified
1734         directory if one exists.
1735
1736 2008-01-23  Steve Falkenburg  <sfalken@apple.com>
1737
1738         <rdar://problem/5698732> Copyright strings should include 2008
1739
1740         Reviewed by Sam.
1741
1742         * Drosera/win/Drosera.vcproj/Drosera.rc:
1743         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
1744
1745 2008-01-23  Alp Toker  <alp@atoker.com>
1746
1747         Rubber-stamped by Mark Rowe.
1748
1749         Remove whitespace after -I in automake include lists.
1750
1751         * GNUmakefile.am:
1752
1753 2008-01-23  Michael Goddard <michael.goddard@trolltech.com>
1754
1755         Reviewed by Lars Knoll <lars@trolltech.com>.
1756
1757         Reworked the JavaScriptCore Qt bindings:
1758         
1759         * Update JS DRT controller for Qt JS binding changes.
1760         There were two functions that needed some changes
1761         so that the layout tests would work, so this makes
1762         a few tests pass again.
1763         
1764         * Bump the timeout for layout tests up to 11s.
1765         At least some tests have an internal timeout of
1766         10 seconds, so make the waitUntilDone approach
1767         wait at least 11s.  fast/dom/open-and-close-by-DOM.html
1768         is one of these - now the failure message is more
1769         accurate.
1770         
1771
1772         * DumpRenderTree/qt/jsobjects.cpp:
1773         (LayoutTestController::waitUntilDone):
1774         * DumpRenderTree/qt/jsobjects.h:
1775
1776 2008-01-22  Anders Carlsson  <andersca@apple.com>
1777
1778         Reviewed by Darin and Adam.
1779
1780         <rdar://problem/5688975>
1781         div element on microsoft site has wrong left offset.
1782         
1783         Add new method for testing the return vale of NPN_GetProperty.
1784         
1785         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1786         (pluginInvoke):
1787
1788 2008-01-22  Alexey Proskuryakov  <ap@webkit.org>
1789
1790         Reviewed by Adam Roben.
1791
1792         <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
1793
1794         * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
1795
1796 2008-01-21  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1797
1798         Reviewed by Alp Toker.
1799
1800         http://bugs.webkit.org/show_bug.cgi?id=16955
1801         Get errors when cross-compile webkit-gtk
1802
1803         * GNUmakefile.am: Removed ICU_CFLAGS 
1804
1805 2008-01-21  Darin Adler  <darin@apple.com>
1806
1807         Reviewed by Mitz and Adam.
1808
1809         * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
1810         sorting speed by doing all sort criteria in a single pass instead of three sorts.
1811
1812 2008-01-21  Simon Hausmann  <hausmann@webkit.org>
1813
1814         Reviewed by Holger.
1815
1816         Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
1817         
1818         * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
1819         * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
1820         and make the return value depend on whether we successfully determined a focusable
1821         node or not.
1822         * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
1823         if we could not handle the focus chain ourselves.
1824         * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
1825         * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
1826         used to control the situation of stepping out of the focus chain inside the page.
1827         * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
1828         The layout tests expect this to be disabled but for the user it seems sensible to have it
1829         on by default, hence the default in qwebsettings.cpp
1830         
1831
1832         * DumpRenderTree/qt/DumpRenderTree.cpp:
1833         (WebCore::WebPage::WebPage):
1834
1835 2008-01-19  Mark Rowe  <mrowe@apple.com>
1836
1837         Reviewed by Alp Toker.
1838
1839         Allow the --http flag to run-webkit-tests to override
1840         the default behaviour of disabling HTTP tests for Qt,
1841         Gtk and Wx.
1842
1843         * Scripts/run-webkit-tests:
1844
1845 2008-01-19  David Kilzer  <ddkilzer@apple.com>
1846
1847         <rdar://problem/5695344> check-for-global-initializers script never checks any object files
1848
1849         Reviewed by Darin.
1850
1851         We now touch a check-for-global-initializers.timestamp file in
1852         the TARGET_TEMP_DIR directory to determine when new object files
1853         have been compiled and thus need to be checked.  If the timestamp
1854         file doesn't exist, all object files will be checked.
1855
1856         Previously the modification time of the "executable" (the
1857         framework binary, e.g., WebKit.framework/WebKit) was used, but
1858         since this was the last file modified at the end of the compile
1859         phase, no object files would ever get checked!
1860
1861         Also added JSCustomSQLTransactionCallback.o to the list of files
1862         since it has static initializers in Debug builds of WebCore.
1863
1864         * Scripts/check-for-global-initializers:
1865
1866 2008-01-18  Adam Roben  <aroben@apple.com>
1867
1868         Build fix
1869
1870         * Scripts/build-webkit:
1871
1872 2008-01-18  Beth Dakin  <bdakin@apple.com>
1873
1874         Reviewed by Oliver.
1875
1876         Update build-webkit to account for foreign-object being disabled by 
1877         default.
1878
1879         * Scripts/build-webkit:
1880
1881 2008-01-18  Adam Roben  <aroben@apple.com>
1882
1883         Updated for method renames
1884
1885         Reviewed by Adele.
1886
1887         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1888         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
1889         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1890         (LayoutTestController::setMainFrameIsFirstResponder):
1891         (LayoutTestController::setWindowIsKey):
1892         * DumpRenderTree/mac/UIDelegate.mm:
1893         (-[UIDelegate webViewFocus:]):
1894         * DumpRenderTree/win/FrameLoadDelegate.cpp:
1895         (FrameLoadDelegate::didCommitLoadForFrame):
1896
1897 2008-01-18  Alexey Proskuryakov  <ap@webkit.org>
1898
1899         Reviewed by Adam Roben.
1900
1901         Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
1902         between DRT and TestNetscapePlugin.
1903
1904         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
1905         * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
1906
1907 2008-01-18  Simon Hausmann  <hausmann@webkit.org>
1908
1909         Reviewed by Holger.
1910
1911         Fix fast/dom/Window/window-resize.html
1912         
1913         In DRT connect the page's geometryChangeRequest signal to a slot that
1914         sets the geometry of the view widget.
1915         
1916
1917         * DumpRenderTree/qt/DumpRenderTree.cpp:
1918         (WebCore::WebPage::setViewGeometry):
1919         (WebCore::WebPage::WebPage):
1920
1921 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
1922
1923         Build fix.
1924
1925         * Drosera/DroseraWin.make:
1926
1927 2008-01-17  Darin Adler  <darin@apple.com>
1928
1929         * Scripts/run-webkit-tests: Fixed a bug number.
1930
1931 2008-01-17  Alexey Proskuryakov  <ap@webkit.org>
1932
1933         Reviewed by Adam Roben.
1934
1935         http://bugs.webkit.org/show_bug.cgi?id=16908
1936         run-webkit-tests complains about missing FindSafari.exe
1937
1938         * Scripts/webkitdirs.pm: Append _debug as appropriate.
1939
1940 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
1941
1942         Re-add DEBUG_WEBKIT_HAS_SUFFIX.
1943         
1944         Rubber-stamped by Jon Honeycutt.
1945
1946         * DumpRenderTree/win/DumpRenderTree.vcproj:
1947
1948 2008-01-16  Alp Toker  <alp@atoker.com>
1949
1950         Reviewed by Mark Rowe.
1951
1952         http://bugs.webkit.org/show_bug.cgi?id=16218
1953         [GTK] API: Should this entry point be called go_back rather than go_backward?
1954
1955         Track back/forward API changes in the tools.
1956
1957         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
1958         (BackForwardItem::invoke):
1959         * GtkLauncher/main.c:
1960         (go_back_cb):
1961
1962 2008-01-16  Adam Roben  <aroben@apple.com>
1963
1964         Windows build fix after r29488
1965
1966         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1967         Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
1968         expects to find the plugin.
1969
1970 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
1971
1972         Reviewed by Sam Weinig.
1973         
1974         Fixed the waitUntilDone watchdog timer -- the old code never added the
1975         timer to the run loop, so it didn't do anything.
1976
1977         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1978         (LayoutTestController::setWaitToDump):
1979         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1980         (LayoutTestController::setWaitToDump):
1981
1982 2008-01-14  Steve Falkenburg  <sfalken@apple.com>
1983
1984         Use shared vsprops for most vcproj properties.
1985         
1986         Reviewed by Darin.
1987
1988         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1989         * DumpRenderTree/win/DumpRenderTree.vcproj:
1990         * DumpRenderTree/win/ImageDiff.vcproj:
1991         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1992         * FindSafari/FindSafari.vcproj:
1993
1994 2008-01-14  Stephanie  <slewis@apple.com>
1995
1996        Reviewed by NOBODY.
1997   
1998        revert accidental character.
1999
2000        * Scripts/run-webkit-tests:
2001
2002 2008-01-14  Stephanie  <slewis@apple.com>
2003
2004         RS=Oliver
2005
2006         add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
2007
2008         * Scripts/run-webkit-tests:
2009
2010 2008-01-14  Darin Adler  <darin@apple.com>
2011
2012         * Scripts/do-webcore-rename: Queue up another rename.
2013
2014 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2015
2016         Reviewed by Darin.
2017
2018         * Allow to run the tests in reverse order to spot test cases where the result depends on the order
2019         the tests were ran.
2020         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2021
2022         * Scripts/run-webkit-tests:
2023
2024 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2025
2026         Reviewed by Darin.
2027
2028         * Randomize tests array to spot test cases where the results depends on the order
2029         the tests are ran.
2030         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2031
2032         * Scripts/run-webkit-tests:
2033
2034 2008-01-14  Darin Adler  <darin@apple.com>
2035
2036         * Scripts/run-webkit-tests: More ignore list tweaking.
2037
2038 2008-01-14  Darin Adler  <darin@apple.com>
2039
2040         * Scripts/run-webkit-tests: Add another leak to the ignore list.
2041
2042 2008-01-14  Dan Bernstein  <mitz@apple.com>
2043
2044         Reviewed by Adam Roben.
2045
2046         - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
2047           build bots
2048
2049         * DumpRenderTree/win/DumpRenderTree.cpp:
2050         (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
2051
2052 2008-01-13  Steve Falkenburg  <sfalken@apple.com>
2053
2054         Share common files across projects.
2055         
2056         Unify vsprops files
2057         Debug:          common.vsprops, debug.vsprops
2058         Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
2059         Release:        common.vsprops, release.vsprops
2060         
2061         Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
2062         debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
2063
2064         Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
2065
2066         Reviewed by Adam Roben.
2067
2068         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2069         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
2070         * Drosera/win/Drosera.vcproj/VERSION: Removed.
2071         * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
2072         * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
2073         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
2074         * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
2075         * DumpRenderTree/win/DumpRenderTree.vcproj:
2076         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2077         * DumpRenderTree/win/debug.vsprops: Removed.
2078         * DumpRenderTree/win/debug_internal.vsprops: Removed.
2079         * DumpRenderTree/win/release.vsprops: Removed.
2080
2081 2008-01-13  Brent Fulgham  <bfulgham@gmail.com>
2082
2083         Reviewed by Maciej.
2084
2085         - http://bugs.webkit.org/show_bug.cgi?id=16314
2086           Script to launch Drosera
2087
2088         * Scripts/gdb-drosera: Added.
2089         * Scripts/run-drosera: Added.
2090         * Scripts/run-drosera-nightly.cmd: Added.
2091         * Scripts/webkitdirs.pm: Added runDrosera function.
2092
2093 2008-01-13  Dan Bernstein  <mitz@apple.com>
2094
2095         - fix breakage due to last-minute change
2096
2097         * DumpRenderTree/win/DumpRenderTree.cpp:
2098         (runTest): Declare the loop variable.
2099
2100 2008-01-13  Dan Bernstein  <mitz@apple.com>
2101
2102         Reviewed by Adam Roben.
2103
2104         - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
2105
2106         * DumpRenderTree/win/DumpRenderTree.cpp:
2107         (DumpRenderTreeWndProc):
2108         (initialize):
2109         (dumpBackForwardList):
2110         (dumpBackForwardListForAllWindows):
2111         (dump):
2112         (resetWebViewToConsistentStateBeforeTesting): Factored out of
2113         runTest().
2114         (runTest):
2115         (allWindows): Added. Returns a vector of all open windows.
2116         (windowToWebViewMap): Added. Returns a map from open windows to their
2117         WebViews.
2118         (createWebViewAndOffscreenWindow): Factored out of main() to be
2119         reusable for creating extra windows.
2120         (main):
2121         * DumpRenderTree/win/DumpRenderTreeWin.h:
2122         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2123         (LayoutTestController::windowCount): Implemented.
2124         * DumpRenderTree/win/UIDelegate.cpp:
2125         (UIDelegate::createWebViewWithRequest): Implemented.
2126         (UIDelegate::webViewClose): Implemented.
2127         * DumpRenderTree/win/UIDelegate.h:
2128
2129 2008-01-12  Alp Toker  <alp@atoker.com>
2130
2131         Reviewed by Mark Rowe.
2132
2133         Hide non-public symbols in GTK+/autotools release builds.
2134
2135         * GNUmakefile.am:
2136
2137 2008-01-12  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2138
2139         Reviewed by Ap.
2140
2141         * Make launching of the WebKit httpd work on GNU/Debian/Linux
2142         
2143         The configuration of Apache2 and installation does not depend on
2144         the kernel but on the distribution policy. Make launching of httpd
2145         work for Debian derived distributions.
2146
2147         * Scripts/run-webkit-httpd:
2148         * Scripts/run-webkit-tests:
2149         * Scripts/webkitdirs.pm:
2150
2151 2008-01-12  Mark Rowe  <mrowe@apple.com>
2152
2153         Reviewed by Maciej Stachowiak.
2154
2155         Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
2156
2157         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
2158         match the callers expectations that it can take ownership of the string.
2159
2160 2008-01-11  Alexey Proskuryakov  <ap@webkit.org>
2161
2162         Reviewed by Adam Roben.
2163
2164         <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
2165
2166         * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
2167         as these are only posted because the test window is not a normal visible one, and
2168         they confuse drag&drop machinery.
2169
2170 2008-01-11  Adam Roben  <aroben@apple.com>
2171
2172         Fix a crash when pathToLocalResource fails and a leak
2173
2174         Reviewed by Darin.
2175
2176         * DumpRenderTree/LayoutTestController.cpp:
2177         (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
2178         sure not to pass null to JSValueMakeString.
2179         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2180         (LayoutTestController::pathToLocalResource): Print an error message if
2181         the conversion fails so it's clear what happened.
2182
2183 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
2184
2185         Reviewed by John Sullivan.
2186
2187         * DumpRenderTree/mac/GCControllerMac.mm:
2188         (GCController::collectOnAlternateThread): Updated for name change.
2189
2190 2008-01-10  Kevin Ollivier  <kevino@theolliviers.com>
2191
2192         wx build fix. Don't build dftables any longer since it's now a Perl
2193         script.
2194
2195         * wx/build-wxwebkit:
2196
2197 2008-01-10  Sam Weinig  <sam@webkit.org>
2198
2199         Reviewed by Anders Carlsson.
2200
2201         Make DRT track open windows instead of allocated windows so that
2202         we can avoid ASSERTION due to late deallocs out of our control.
2203
2204         * DumpRenderTree/mac/DumpRenderTree.mm:
2205         (dumpBackForwardListForAllWindows):
2206         (runTest):
2207         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2208         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2209         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2210         (+[DumpRenderTreeWindow openWindows]):
2211         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2212         (-[DumpRenderTreeWindow close]):
2213         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2214         (LayoutTestController::windowCount):
2215
2216 2008-01-10  Ada Chan  <adachan@apple.com>
2217
2218         Meta key is not the same as Alt key on windows.
2219
2220         Reviewed by Darin.
2221
2222         * DumpRenderTree/win/EventSender.cpp:
2223         (keyDownCallback):
2224
2225 2008-01-09  Kevin McCullough  <kmccullough@apple.com>
2226
2227         Reviewed by Darin, Sam and Adam.
2228
2229         -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
2230         link in gmail message displays JavaScript alert falsely complaining
2231         about pop-up blocking.
2232         - Added the ability to enable the pop-up blocker via the
2233         LayoutTestController.
2234
2235         * DumpRenderTree/LayoutTestController.cpp:
2236         (setPopupBlockingEnabledCallback):
2237         (LayoutTestController::staticFunctions):
2238         * DumpRenderTree/LayoutTestController.h:
2239         * DumpRenderTree/mac/DumpRenderTree.mm:
2240         (setDefaultsToConsistentValuesForTesting):
2241         (resetWebViewToConsistentStateBeforeTesting):
2242         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2243         (LayoutTestController::setPopupBlockingEnabled):
2244
2245 2008-01-10  Lars Knoll  <lars@trolltech.com>
2246
2247         Reviewed by Simon.
2248
2249         rename QWebPageHistory to QWebHistory.
2250         
2251
2252         * DumpRenderTree/qt/jsobjects.cpp:
2253
2254 2008-01-09  Maciej Stachowiak  <mjs@apple.com>
2255
2256         Reviewed by Darin.
2257         
2258         - add some more renames, adjust some
2259
2260         * Scripts/do-webcore-rename:
2261
2262 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
2263
2264         Reviewed by Oliver.
2265
2266         Enable SVG Fonts support by default.
2267
2268         * Scripts/build-webkit:
2269
2270 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
2271
2272         Reviewed by Adam.
2273
2274         Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
2275         DRT doesn't handle platform specific pixel test results correctly.
2276
2277         <test>-expected.txt files and <test>-expected.png files may now live
2278         in different directories (ie. a cross-platform <test>-expected.txt file
2279         and a platform-specific <test>-expected.png file).
2280
2281         * Scripts/run-webkit-tests:
2282
2283 2008-01-04  Kevin McCullough  <kmccullough@apple.com>
2284
2285         Reviewed by Darin.
2286
2287         - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
2288         DRT did not correctly handle printing the '\0' char.  Now it does.
2289
2290         * DumpRenderTree/win/DumpRenderTree.cpp:
2291         (dumpFramesAsText):
2292         (dump):
2293
2294 2008-01-07  Simon Hausmann  <hausmann@webkit.org>
2295
2296         Reviewed by Lars.
2297
2298         Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
2299         
2300
2301         * DumpRenderTree/qt/main.cpp:
2302         * DumpRenderTree/qt/testplugin.cpp:
2303         * DumpRenderTree/qt/testplugin.h:
2304
2305 2008-01-05  Mark Rowe  <mrowe@apple.com>
2306
2307         Reviewed by Alp Toker.
2308
2309         Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
2310
2311         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2312         (processWork): Process pending work.
2313         (webViewLoadFinished): Schedule processing of pending work.
2314         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
2315
2316 2008-01-05  Darin Adler  <darin@apple.com>
2317
2318         * Scripts/do-webcore-rename: Some more renaming plans.
2319
2320 2008-01-04  Alice Liu  <alice.liu@apple.com>
2321
2322         Reviewed by Alexey and Darin.
2323
2324         Adding "home" and "end" to DRT's keydown since
2325         DOM key events can't handle keyIdentifiers at this point. 
2326
2327         * DumpRenderTree/mac/EventSendingController.mm:
2328         (-[EventSendingController keyDown:withModifiers:]):
2329         * DumpRenderTree/win/EventSender.cpp:
2330         (keyDownCallback):
2331
2332 2008-01-04  Lars Knoll  <lars@trolltech.com>
2333
2334         Reviewed by Simon.
2335
2336         fix DRT after the changes to QWebPage.
2337         
2338         The great thing is that we actually don't have
2339         any regressions from the QWebPage change :)
2340         
2341
2342         * DumpRenderTree/qt/DumpRenderTree.cpp:
2343         (WebCore::DumpRenderTree::DumpRenderTree):
2344
2345 2008-01-04  Lars Knoll  <lars@trolltech.com>
2346
2347         Reviewed by Simon.
2348
2349         make QWebPage a QObject and get things to compile.
2350         
2351         Nothing works currently though.
2352         
2353
2354         * DumpRenderTree/qt/DumpRenderTree.cpp:
2355         (WebCore::DumpRenderTree::DumpRenderTree):
2356
2357 2008-01-04  Lars Knoll  <lars@trolltech.com>
2358
2359         Reviewed by Simon.
2360
2361         take a QString as identifier in QWebFrame::addToJSWindowObject.
2362
2363         * DumpRenderTree/qt/DumpRenderTree.cpp:
2364         (WebCore::DumpRenderTree::initJSObjects):
2365
2366 2008-01-04  Alp Toker  <alp@atoker.com>
2367
2368         GTK+ DRT build fix for breakage introduced in r29149.
2369
2370         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2371         (LayoutTestController::execCommand):
2372
2373 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
2374
2375         Reviewed by Darin.
2376
2377         <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
2378
2379         Added layoutTestController.execCommand to access editor commands that are not available
2380         via document.execCommand.
2381
2382         * DumpRenderTree/LayoutTestController.cpp:
2383         (execCommandCallback):
2384         (LayoutTestController::staticFunctions):
2385         * DumpRenderTree/LayoutTestController.h:
2386         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2387         (LayoutTestController::execCommand):
2388         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2389         (LayoutTestController::queueLoad):
2390         (LayoutTestController::execCommand):
2391
2392 2008-01-03  Alice Liu  <alice.liu@apple.com>
2393
2394         Reviewed by Darin, Mitz.
2395
2396         fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
2397
2398         the clickcount should not increase if the last click was at a different location.  it's a new click.
2399
2400         * DumpRenderTree/mac/DumpRenderTree.mm:
2401         (runTest):
2402         * DumpRenderTree/mac/EventSendingController.h:
2403         * DumpRenderTree/mac/EventSendingController.mm:
2404         (-[EventSendingController mouseDown]):
2405         (-[EventSendingController mouseUp]):
2406
2407 2008-01-03  Darin Adler  <darin@apple.com>
2408
2409         Reviewed by Adam.
2410
2411         * Scripts/update-webkit: Make this work a little better for the people at Apple
2412         who have a directory named Internal.
2413
2414 2008-01-03  Adam Roben  <aroben@apple.com>
2415
2416         Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
2417
2418         Rubberstamped by Mark.
2419
2420         * Scripts/update-webkit-auxiliary-libs:
2421
2422 2008-01-03  Adam Roben  <aroben@apple.com>
2423
2424         Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
2425
2426         http://bugs.webkit.org/show_bug.cgi?id=15663
2427
2428         Added a fuzz factor into the Last-Modified comparison for downloading
2429         WebKitAuxiliaryLibrary.zip.
2430
2431         The zip file is served from a set of mirrors who give Last-Modified
2432         times that are off by 1-3 seconds from each other. This was causing
2433         the build bots to redownload WebKitAuxiliaryLibrary for every build,
2434         which would then cause all of WebCore to rebuild each time.
2435
2436         Reviewed by Mark.
2437
2438         * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
2439         at least 30 seconds newer than the old one -- otherwise we assume that
2440         the difference in time is due to the mirrors being slightly offset
2441         from each other.
2442         (sub lastModifiedToUnixTime): Added.
2443
2444 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
2445
2446         Windows build fix.
2447
2448         * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
2449
2450 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
2451
2452         Reviewed by Lars.
2453
2454         Moved QWebPage::open to QWebFrame::load and added setHtml.
2455         
2456
2457         * DumpRenderTree/qt/DumpRenderTree.cpp:
2458         (WebCore::DumpRenderTree::open):
2459
2460 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
2461
2462         Reviewed by Lars.
2463
2464         Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
2465         
2466
2467         * DumpRenderTree/qt/DumpRenderTree.cpp:
2468         (WebCore::DumpRenderTree::DumpRenderTree):
2469
2470 2008-01-02  Sam Weinig  <sam@webkit.org>
2471
2472         * Scripts/do-webcore-rename: Yet more renaming ideas.
2473
2474 2008-01-02  Darin Adler  <darin@apple.com>
2475
2476         * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
2477
2478 2008-01-02  Alice Liu  <alice.liu@apple.com>
2479
2480         Reviewed by Sam Weinig.
2481
2482         fixing assertion hit with editing/selection/move-begin-end.html
2483
2484         * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
2485         * DumpRenderTree/win/DumpRenderTree.vcproj:
2486         * DumpRenderTree/win/EventSender.cpp:
2487         (keyDownCallback):
2488         using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
2489
2490 2008-01-02  Darin Adler  <darin@apple.com>
2491
2492         * Scripts/do-webcore-rename: Some more name change plans.
2493
2494 2008-01-02  Alice Liu  <alice.liu@apple.com>
2495
2496         Reviewed by Maciej.
2497
2498         Added handling for page up and page down in EventSender
2499
2500         * DumpRenderTree/mac/EventSendingController.mm:
2501         (-[EventSendingController keyDown:withModifiers:]):
2502         * DumpRenderTree/win/EventSender.cpp:
2503         (keyDownCallback):
2504
2505 2008-01-02  Alexey Proskuryakov  <ap@webkit.org>
2506
2507         Reviewed by Darin.
2508
2509         Fix fast/events/arrow-keys-on-body.html for real.
2510
2511         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
2512
2513 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
2514
2515         Reviewed by Darin.
2516
2517         http://bugs.webkit.org/show_bug.cgi?id=16674
2518         [GTK] run-launcher sets wrong LD_LIBRARY_PATH
2519
2520         * Scripts/run-launcher:
2521
2522 2007-12-31  Darin Adler  <darin@apple.com>
2523
2524         Suggested by Antti.
2525
2526         * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
2527         we get it installed on the build bots.
2528
2529 2007-12-30  Eric Seidel  <eric@webkit.org>
2530
2531         Reviewed by Sam.
2532
2533         * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
2534
2535 2007-12-29  Darin Adler  <darin@apple.com>
2536
2537         Reviewed by Oliver.
2538
2539         - fix http://bugs.webkit.org/show_bug.cgi?id=16663
2540           leak bot shows createCStringFromNPVariant result leaking
2541
2542         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2543         (pluginInvoke): Added a missing free.
2544
2545 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2546
2547         Reviewed by Alp Toker.
2548
2549         http://bugs.webkit.org/show_bug.cgi?id=16390
2550         Use autotools or GNU make as the build system for the GTK port
2551
2552         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
2553         * GNUmakefile.am: Added.
2554
2555 2007-12-24  Alexey Proskuryakov  <ap@webkit.org>
2556
2557         Reviewed by Oliver.
2558
2559         Fix fast/events/arrow-keys-on-body.html, failing on Windows.
2560
2561         * DumpRenderTree/win/EventSender.cpp:
2562         (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
2563         of 1, even though WebKit currently ignores it.
2564
2565 2007-12-23  Kevin Ollivier  <kevino@theolliviers.com>
2566
2567         wx buildbot fix. Update libpng dl script to the latest version.
2568
2569         * wx/install-unix-extras:
2570
2571 2007-12-22  Antti Koivisto  <antti@apple.com>
2572
2573         Fix a typo.
2574
2575         * Scripts/webkitdirs.pm:
2576
2577 2007-12-21  Sam Weinig  <sam@webkit.org>
2578
2579         Reviewed by Mark Rowe.
2580
2581         - Disable the back/forward cache using the new WebPreferences API
2582           instead of through the BackForwardList.  This makes us match what
2583           we do on Windows.
2584
2585         * DumpRenderTree/mac/DumpRenderTree.mm:
2586         (createWebViewAndOffscreenWindow):
2587         (setDefaultsToConsistentValuesForTesting):
2588
2589 2007-12-21  Dan Bernstein  <mitz@apple.com>
2590
2591         Reviewed by Mark Rowe.
2592
2593         - disable the back/forward cache in Windows DumpRenderTree. It is
2594           already disabled in Mac DumpRenderTree.
2595
2596         * DumpRenderTree/win/DumpRenderTree.cpp:
2597         (initializePreferences):
2598
2599 2007-12-13  Antti Koivisto  <antti@apple.com>
2600
2601         Reviewed by Darin and Steve.
2602         
2603         - check for QuickTime SDK on Windows.
2604         - build media support on Windows by default
2605
2606         * Scripts/build-webkit:
2607         * Scripts/webkitdirs.pm:
2608
2609 2007-12-21  Kevin Ollivier  <kevino@theolliviers.com>
2610
2611         Build script fix for buildbot.
2612
2613         * wx/build-wxwebkit:
2614
2615 2007-12-20  Eric Seidel  <eric@webkit.org>
2616
2617         Reviewed by mjs.
2618
2619         * Scripts/run-sunspider: change --runs default to 10 for better accuracy
2620
2621 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
2622
2623         Reviewed by Steve.
2624
2625         - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
2626         WebKit.
2627
2628         - Drosera and Safari need to use the same ProgIDs in order for
2629         CoCreateInstance to work properly.  The most robust way to do this is
2630         for WebKit to dynamically publish those ProgIDs.
2631
2632         * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
2633         (DebuggerClient::createWebViewWithRequest):
2634         * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
2635         statics.
2636         (Drosera::initUI):
2637         (Drosera::attach):
2638         (Drosera::attemptToCreateServerConnection):
2639         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
2640         * Drosera/win/ServerConnection.cpp: Reformat the connection function and
2641         make use of the published ProgIDs.
2642         (ServerConnection::attemptToCreateServerConnection):
2643
2644 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
2645
2646         - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
2647         - Build bot and leak fix.
2648
2649         * DumpRenderTree/LayoutTestController.cpp:
2650         (pathToLocalResourceCallback):
2651
2652 2007-12-19  David Kilzer  <ddkilzer@apple.com>
2653
2654         Make svn-apply/svn-unapply work with patches from git-format-patch.
2655
2656         Reviewed by Darin.
2657
2658         * Scripts/svn-apply:
2659         (patch): If 'Index:' can't be found in the text passed in, print it
2660         out with a warning and return early.
2661         * Scripts/svn-unapply:
2662         (patch): Ditto.
2663
2664 2007-12-18  Kevin Ollivier  <kevino@theolliviers.com>
2665
2666         Reviewed by Alp Toker.
2667
2668         Build related fixes.
2669
2670         * wx/build-wxwebkit:
2671         - Check to make sure the user is running a supported wx port
2672         - More robust checks for Cygwin
2673         - Only run install-unix-extras on Mac, it's not the right solution
2674           for Linux distros.
2675         - Remove outdated Linux instructions after successful build
2676         - Clean Bakefile-generated files during a clean operation
2677
2678 2007-12-18  Darin Adler  <darin@apple.com>
2679
2680         * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
2681
2682 2007-12-18  Steve Falkenburg  <sfalken@apple.com>
2683
2684         Add script to run Drosera as part of the nightly.
2685         
2686         Reviewed by Kevin M.
2687
2688         * Scripts/run-drosera.cmd: Added.
2689
2690 2007-12-18  Darin Adler  <darin@apple.com>
2691
2692         * Scripts/do-webcore-rename: Remove a stray K.
2693
2694 2007-12-18  Darin Adler  <darin@apple.com>
2695
2696         * Scripts/do-webcore-rename: Plan more renaming.
2697
2698 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
2699
2700         Reviewed by Alp Toker.
2701
2702         http://bugs.webkit.org/show_bug.cgi?id=16042
2703         [GTK] Eliminate webkit_init()
2704
2705         Moving webkit initialization to WebView class init.
2706
2707         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2708         (main):
2709         * GtkLauncher/main.c:
2710         (main):
2711
2712 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
2713
2714         Reviewed by Alp Toker.
2715
2716         http://bugs.webkit.org/show_bug.cgi?id=13542
2717         gdklauncher doesnt change URL in adress GTKEntry.
2718
2719         * GtkLauncher/main.c:
2720         (load_commit_cb): added
2721         (title_change_cb):
2722         (create_browser):
2723
2724 2007-12-16  Dimitri Glazkov  <dimitri@glazkov.com>
2725
2726         Reviewed by Adam Roben.
2727
2728         Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
2729
2730         * FindSafari/FindSafari.cpp:
2731         (_tmain):
2732
2733 2007-12-16  Brent Fulgham  <bfulgham@gmail.com>
2734
2735         Reviewed by Adam Roben.
2736
2737         http://bugs.webkit.org/show_bug.cgi?id=16315
2738         FindSafari needs a path-only option.
2739
2740         * FindSafari/FindSafari.cpp:
2741         (_tmain):
2742
2743 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
2744
2745         Reviewed by Darin.
2746
2747         http://bugs.webkit.org/show_bug.cgi?id=16462
2748         REGRESSION: access keys broken on Windows
2749
2750         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
2751         if Alt is pressed.
2752
2753 2007-12-15  Sam Weinig  <sam@webkit.org>
2754
2755         Reviewed by Mark Rowe.
2756
2757         Fix urlSuitableForTestResult to correctly identify wstring::npos as
2758         the case when wstring.find doesn't find anything.
2759
2760         * DumpRenderTree/win/DumpRenderTree.cpp:
2761         (urlSuitableForTestResult):
2762
2763 2007-12-15  Alp Toker  <alp@atoker.com>
2764
2765         GTK+ DRT build fix for GLib < 2.14.
2766
2767         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2768         (LayoutTestController::setWaitToDump):
2769
2770 2007-12-05  Mark Rowe  <mrowe@apple.com>
2771
2772         Reviewed by Alp Toker.
2773
2774         Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.  This prevents
2775         many layout tests from hanging while waiting on user responses to dialogs.
2776
2777         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2778         (invalidateAnyPreviousWaitToDumpWatchdog):
2779         (webViewScriptAlert):
2780         (webViewScriptPrompt):
2781         (webViewScriptConfirm):
2782         (main):
2783         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2784         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2785         (waitToDumpWatchdogFired):
2786         (LayoutTestController::setWaitToDump):
2787
2788 2007-12-05  Mark Rowe  <mrowe@apple.com>
2789
2790         Reviewed by Alp Toker.
2791
2792         Flesh out DumpRenderTree for Gtk.  After these changes, the majority of the tests in fast/js pass.
2793
2794         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2795         (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
2796         (dump):
2797         (runTest):
2798         (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
2799         (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
2800         work queue is empty.
2801         (webViewWindowObjectCleared): Set up window.layoutTestController.
2802         (webViewConsoleMessage): Match the console message format expected by the layout test results.
2803         (main): Hook up the new signals.
2804         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2805         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
2806         dumping multiple times.
2807         * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
2808         * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways.  Use run-launcher to open test results.
2809
2810 2007-12-14  Anders Carlsson  <andersca@apple.com>
2811
2812         Reviewed by Brady.
2813
2814         Assert that a web frame that's loading a resource always has either a data source or 
2815         a provisional data source.
2816         
2817         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2818         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2819
2820 2007-12-14  Darin Adler  <darin@apple.com>
2821
2822         - fix mistake causing nearly all tests to fail on Windows
2823
2824         * DumpRenderTree/win/UIDelegate.cpp:
2825         (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
2826         npos, not 0. Also pass URL in to URL function rather than passing the entire message.
2827
2828         * DumpRenderTree/mac/UIDelegate.mm:
2829         (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
2830         than passing the entire message.
2831
2832 2007-12-14  Darin Adler  <darin@apple.com>
2833
2834         - fix Tiger build
2835
2836         * DumpRenderTree/mac/UIDelegate.mm:
2837         (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
2838         new-to-Leopard methods.
2839
2840 2007-12-14  Darin Adler  <darin@apple.com>
2841
2842         * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
2843         since it now triggers unwanted icon loading. We only had it because we implemented "all"
2844         delegate methods here.
2845
2846 2007-12-14  Anders Carlsson  <andersca@apple.com>
2847
2848         Reviewed by Darin and Geoff.
2849
2850         <rdar://problem/5619295> 
2851         REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
2852         
2853         Add property getting methods to the plug-in.
2854         
2855         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2856         (pluginInvoke):
2857
2858 2007-12-14  Kevin McCullough  <kmccullough@apple.com>
2859
2860         Reviewed by Darin.
2861
2862         - Layout test fix for mac. When dumped to the console local file paths
2863         now only show the name of the resource not the whole path.  This is to
2864         make the results machine and OS independent.
2865
2866         * DumpRenderTree/mac/UIDelegate.mm:
2867         (-[UIDelegate webView:addMessageToConsole:]):
2868
2869 2007-12-13  Kevin McCullough  <kmccullough@apple.com>
2870
2871         Reviewed by Adam.
2872
2873         - Layout tests fix.  We need a way to remove machine-dependent
2874         information from paths in layout test results. The UIDelegate now does
2875         this.
2876
2877         * DumpRenderTree/DumpRenderTree.h:
2878         * DumpRenderTree/win/DumpRenderTree.cpp:
2879         (urlSuitableForTestResult):
2880         * DumpRenderTree/win/DumpRenderTreeWin.h:
2881         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
2882         * DumpRenderTree/win/UIDelegate.cpp:
2883         (UIDelegate::webViewAddMessageToConsole):
2884
2885 2007-12-13  Alp Toker  <alp@atoker.com>
2886
2887         Build fix for DRT breakage introduced in r28690.
2888
2889         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2890         (LayoutTestController::pathToLocalResource):
2891
2892 2007-12-12  Kevin McCullough  <kmccullough@apple.com>
2893
2894         Reviewed by Alice and Sam.
2895
2896         - <rdar://5621435> Need a way to specify local resources (being loaded
2897         from HTTP tests) on Windows.
2898         - Implemented pathToLocalResource which exposes the functionality of
2899         converting a given unix path to the correct location on Windows.
2900
2901         * DumpRenderTree/LayoutTestController.cpp:
2902         (pathToLocalResourceCallback):
2903         (LayoutTestController::staticFunctions):
2904         * DumpRenderTree/LayoutTestController.h:
2905         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2906         (LayoutTestController::pathToLocalResource):
2907         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2908         (LayoutTestController::pathToLocalResource):
2909
2910 2007-12-12  Anders Carlsson  <andersca@apple.com>
2911
2912         Reviewed by Sam.
2913
2914         <rdar://problem/5132003>
2915         dumpResourceLoadCallbacks is not implemented in DRT on Windows.
2916
2917         * DumpRenderTree/win/DumpRenderTree.cpp:
2918         (main):
2919         Set the resource load delegate.
2920         
2921         * DumpRenderTree/win/DumpRenderTree.vcproj:
2922         
2923         * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
2924         * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
2925
2926 2007-12-12  Alexey Proskuryakov  <ap@webkit.org>
2927
2928         Reviewed by Adam Roben.
2929
2930         Fix conversion from double to LPARAM in dispatchMessage().
2931
2932         * DumpRenderTree/win/EventSender.cpp:
2933         (dispatchMessageCallback):
2934
2935 2007-12-11  Dan Bernstein  <mitz@apple.com>
2936
2937         Reviewed by Mark Rowe and Sam Weinig too!
2938
2939         - added Helvetica Oblique and Helvetica Bold Oblique to the list of
2940           fonts DumpRenderTree registers.
2941
2942         * DumpRenderTree/win/DumpRenderTree.cpp:
2943         (initialize):
2944
2945 2007-12-11  Brady Eidson  <beidson@apple.com>
2946
2947         Reviewed by Anders
2948
2949         Make DumpRenderTree on mac use its own path for Databases testing
2950
2951         * DumpRenderTree/mac/DumpRenderTree.mm:
2952         (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree 
2953           for future DRT-only use, then use it to construct the Databases path and set that default
2954
2955 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
2956
2957         Reviewed by Darin.
2958
2959         <rdar://problem/5535636>
2960         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
2961
2962         http://bugs.webkit.org/show_bug.cgi?id=13916
2963         JavaScript detects Tab as a character input on a textfield validation
2964
2965         * DumpRenderTree/mac/EventSendingController.mm:
2966         (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
2967         Dispatch a keyup to better match what happens when a key is physically pressed.
2968
2969         * DumpRenderTree/win/EventSender.cpp:
2970         (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
2971         returning from keyDown().
2972         (getConstantCallback): Fixed a couple copy/paste mistakes.
2973
2974 2007-12-07  Kevin McCullough  <kmccullough@apple.com>
2975
2976         Reviewed by Oliver.
2977
2978         - <rdar://5599845> Drosera: Does not show loal files in the file list
2979         on the left side.
2980
2981         * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
2982         * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
2983         so the open source community can build.
2984
2985 2007-12-10  Brady Eidson  <beidson@apple.com>
2986
2987         Rubberstamped by Sam Weinig
2988
2989         Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
2990
2991         * DumpRenderTree/mac/UIDelegate.mm:
2992         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
2993         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
2994
2995 2007-12-08  Oliver Hunt  <oliver@apple.com>
2996
2997         Reviewed by Sam W.
2998
2999         Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
3000         
3001         Fixes <rdar://problem/5620249> Must disable SVG animation
3002         <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
3003         
3004         In order to allow finer grained control over the set of SVG features
3005         this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
3006         distinct flags:
3007         ENABLE_SVG_ANIMATION
3008         ENABLE_SVG_FILTERS
3009         ENABLE_SVG_FONTS
3010         ENABLE_SVG_AS_IMAGE
3011         ENABLE_SVG_USE
3012         
3013         by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
3014         
3015         Script handles all the new build flags, and allows --svg-experimental
3016         to automatically enable all features.
3017
3018         * Scripts/build-webkit:
3019
3020 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
3021
3022         Fix version parsing.
3023
3024         Rubber-stamped by Oliver.
3025
3026         * Drosera/win/Drosera.vcproj/auto-version.sh:
3027
3028 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
3029
3030         Build modifications for Drosera.
3031
3032         Reviewed by Adam.
3033
3034         * Drosera/DroseraWin.make: Added.
3035         * Drosera/win/Drosera.vcproj/Drosera.rc:
3036         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3037         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
3038         * Drosera/win/Drosera.vcproj/VERSION: Added.
3039         * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
3040
3041 2007-12-06  Adam Roben  <aroben@apple.com>
3042
3043         Explicitly turn on the Mac font ascent hack on Windows
3044
3045         This keeps our font metrics matching those from Mac.
3046
3047         Reviewed by Hyatt.
3048
3049         * DumpRenderTree/win/DumpRenderTree.cpp:
3050         (main):
3051
3052 2007-12-06  Anders Carlsson  <andersca@apple.com>
3053
3054         Rename main.c to main.cpp here too.
3055         
3056         * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
3057
3058 2007-12-06  Sam Weinig  <sam@webkit.org>
3059
3060         Rubber stamped by Geoff.
3061
3062         * Scripts/do-webcore-rename: Don't rename kjs_css twice.
3063
3064 2007-12-06  Darin Adler  <darin@apple.com>
3065
3066         * Scripts/do-webcore-rename: Some more renaming plans.
3067
3068 2007-12-06  Anders Carlsson  <andersca@apple.com>
3069
3070         Restore implementation of testGetIntIdentifier that was accidentally
3071         removed somehow (possibly when I made PluginObject be a cpp file).
3072         
3073         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3074         (pluginInvoke):
3075
3076 2007-12-05  Anders Carlsson  <andersca@apple.com>
3077
3078         Make the entry points extern "C".
3079         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3080         
3081 2007-12-05  Anders Carlsson  <andersca@apple.com>
3082
3083         C++ warning fixes.
3084         
3085         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
3086         (NPP_New):
3087         (NPP_Destroy):
3088         (NPP_SetWindow):
3089         (NPP_NewStream):
3090         (NPP_HandleEvent):
3091         (NPP_URLNotify):
3092         (NPP_GetValue):
3093
3094 2007-12-05  Anders Carlsson  <andersca@apple.com>
3095
3096         Add the .cpp files to the TestNetscapePlugIn target.
3097
3098         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3099
3100 2007-12-05  Anders Carlsson  <andersca@apple.com>
3101
3102         Reviewed by Geoff.
3103         
3104         Rename the TestNetscapePlugIn .c files to be .cpp.
3105
3106         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3107         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
3108         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
3109         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
3110         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
3111         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
3112         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
3113         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
3114
3115 2007-12-05  Adam Roben  <aroben@apple.com>
3116
3117         Fix case of keypresses from the Windows implementation of eventSender.keyDown
3118
3119         This fixes several regression tests.
3120
3121         Reviewed by Alice.
3122
3123         * DumpRenderTree/win/EventSender.cpp:
3124         (keyDownCallback): Virtual keycodes for ASCII characters are always
3125         uppercase, so we need to check the case of the original character
3126         passed in to eventSender.keyDown.
3127
3128 2007-12-05  Adam Roben  <aroben@apple.com>
3129
3130         Learn from Tim's mistakes
3131
3132         * DumpRenderTree/win/DumpRenderTree.cpp:
3133         (runTest): Reset the authorAndUserStylesEnabled preference for each
3134         test.
3135
3136 2007-12-05  Alp Toker  <alp@atoker.com>
3137
3138         Reviewed by Mark Rowe.
3139
3140         Initialize GTK+ and WebKit so the tests can run.
3141
3142         Reorganize the headers a little.
3143
3144         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3145         (main):
3146
3147 2007-12-04  Anders Carlsson  <andersca@apple.com>
3148
3149         Remove IWebScriptScope include.
3150         
3151         * Drosera/win/DebuggerDocumentPlatform.cpp:
3152
3153 2007-12-04  Sam Weinig  <sam@webkit.org>
3154
3155         Rubber stamped by Mark Rowe.
3156
3157         Define CF as platform for mac and revert r28409
3158
3159         * DumpRenderTree/DumpRenderTree.h:
3160         * DumpRenderTree/mac/DumpRenderTreeMac.h:
3161
3162 2007-12-04  Sam Weinig  <sam@webkit.org>
3163
3164         Define CF as platform for windows.
3165
3166         Reviewed by Adam Roben.
3167
3168         * DumpRenderTree/win/DumpRenderTreeWin.h:
3169
3170 2007-12-04  Kevin McCullough  <kmccullough@apple.com>
3171
3172         Reviewed by Adam and Darin.
3173
3174         - Removed a needless BSTR cleanup.
3175
3176         * Drosera/win/DebuggerDocumentPlatform.cpp:
3177         (DebuggerDocument::getPlatformCurrentFunctionStack):
3178
3179 2007-11-27  Adam Roben  <aroben@apple.com>
3180
3181         Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
3182
3183         Reviewed by Maciej.
3184
3185         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3186         (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
3187
3188 2007-12-04  Alp Toker  <alp@atoker.com>
3189
3190         Prospective Win DRT build fix.
3191
3192         * DumpRenderTree/DumpRenderTree.h:
3193
3194 2007-12-04  Alp Toker  <alp@atoker.com>
3195
3196         Fix a clobbered copyright header.
3197
3198         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3199
3200 2007-12-04  Xan Lopez  <xan@gnome.org>
3201
3202         Reviewed by Alp Toker.
3203
3204         http://bugs.webkit.org/show_bug.cgi?id=15561
3205         GTK port needs DumpRenderTree implementation
3206
3207         Start work on the GTK+ DRT.
3208
3209         This does not work yet, and there are a few lingering style issues
3210         (nothing major) but this patch has been stuck in the bug tracker for
3211         too long already.
3212
3213         * DumpRenderTree/DumpRenderTree.h:
3214         * DumpRenderTree/gtk: Added.
3215         * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
3216         (autocorrectURL):
3217         (shouldLogFrameLoadDelegates):
3218         (dumpFrameScrollPosition):
3219         (displayWebView):
3220         (appendString):
3221         (dumpFramesAsText):
3222         (dumpRenderTreeAsText):
3223         (dump):
3224         (runTest):
3225         (main):
3226         * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
3227         * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
3228         * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
3229         (GCController::collect):
3230         (GCController::collectOnAlternateThread):
3231         (GCController::getJSObjectCount):
3232         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
3233         (LayoutTestController::~LayoutTestController):
3234         (LayoutTestController::addDisallowedURL):
3235         (LayoutTestController::clearBackForwardList):
3236         (LayoutTestController::copyDecodedHostName):
3237         (LayoutTestController::copyEncodedHostName):
3238         (LayoutTestController::display):
3239         (LayoutTestController::keepWebHistory):
3240         (LayoutTestController::notifyDone):
3241         (LayoutTestController::queueBackNavigation):
3242         (LayoutTestController::queueForwardNavigation):
3243         (LayoutTestController::queueLoad):
3244         (LayoutTestController::queueReload):
3245         (LayoutTestController::queueScript):
3246         (LayoutTestController::setAcceptsEditing):
3247         (LayoutTestController::setCustomPolicyDelegate):
3248         (LayoutTestController::setMainFrameIsFirstResponder):
3249         (LayoutTestController::setTabKeyCyclesThroughElements):
3250         (LayoutTestController::setUseDashboardCompatibilityMode):
3251         (LayoutTestController::setUserStyleSheetEnabled):
3252         (LayoutTestController::setUserStyleSheetLocation):
3253         (LayoutTestController::setWindowIsKey):
3254         (LayoutTestController::setWaitToDump):
3255         (LayoutTestController::windowCount):
3256         (LayoutTestController::setPrivateBrowsingEnabled):
3257         (LayoutTestController::setAuthorAndUserStylesEnabled):
3258         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
3259         (JSStringCopyUTF8CString):
3260         (LoadItem::invoke):
3261         (ReloadItem::invoke):
3262         (ScriptItem::invoke):
3263         (BackForwardItem::invoke):
3264
3265 2007-12-03  Sam Weinig  <sam@webkit.org>
3266
3267         Move JavaScriptCore thread testing code to pthread specific directory
3268         and remove the dependance on CoreFoundation by using WTF::HashSet.
3269
3270         Reviewed by Geoff and Oliver.
3271
3272         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3273         * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
3274         * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
3275         * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
3276         * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
3277         * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
3278         * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
3279         * DumpRenderTree/pthreads: Added.
3280         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
3281         (javaScriptThreads):
3282         (runJavaScriptThread):
3283         (startJavaScriptThreads):
3284         (stopJavaScriptThreads):
3285
3286 2007-12-03  Andrew Bonventre  <andybons@google.com>
3287
3288         Reviewed by Darin Adler.
3289
3290         - fix http://bugs.webkit.org/show_bug.cgi?id=16267
3291         Symbol lookup menu broken in debugger view
3292
3293         * Drosera/debugger.js: Fixed javascript error where document property
3294         should have been used instead of contentDocument in switchFunction that
3295         was breaking the select symbol dropdown menu.  This is because
3296         window.frames will return a Window object and not a frame object like
3297         the author was originally expecting.
3298
3299 2007-12-03  Kevin McCullough  <kmccullough@apple.com>
3300
3301         Reviewed by Adam.
3302
3303         - <rdar://5618942> Drosera: Console window does not process everything
3304         correctly.
3305         - <rdar://5619005> Drosera: could be sped up by moving the 
3306         WebScriptScope stuff into the WebScriptCallFrame.
3307         - Now the console can correctly process objects and does not receive
3308         notifications from JavaScriptCore about the JavaScript in Drosera's
3309         own process.
3310
3311         * Drosera/win/DebuggerDocumentPlatform.cpp:
3312         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3313         (DebuggerDocument::platformValueForScopeVariableNamed):
3314
3315 2007-12-03  Stephanie  <slewis@apple.com>
3316
3317         Reviewed by Darin.
3318
3319         Check to see if we are building a debug root
3320
3321         * Scripts/check-for-global-initializers: 
3322
3323 2007-12-03  Dan Bernstein  <mitz@apple.com>
3324
3325         Reviewed by Darin Adler.
3326
3327         - added a testGetIntIdentifier() method to TestNetscapePlugIn
3328
3329         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
3330         (pluginInvoke):
3331
3332 2007-12-03  Alexey Proskuryakov  <ap@webkit.org>
3333
3334         Reviewed by Oliver.
3335
3336         Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
3337         in a more fine-grained manner than eventSender.keyDown().
3338
3339         * DumpRenderTree/win/EventSender.cpp:
3340         (getConstantCallback):
3341         (dispatchMessageCallback):
3342
3343 2007-12-02  Darin Adler  <darin@apple.com>
3344
3345         * Scripts/do-webcore-rename: More planned renaming.
3346
3347 2007-12-02  Sam Weinig  <sam@webkit.org>
3348
3349         Rubber stamped by Anders.
3350
3351         Use [NSURL absoluteString] instead of [NSURL description] in order to get
3352         more uniform results cross platform.
3353
3354         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3355         (-[NSURL _drt_descriptionSuitableForTestResult]):
3356
3357 2007-12-02  Sam Weinig  <sam@webkit.org>
3358
3359         Rubber stamped by Niko.
3360
3361         Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
3362
3363         * DumpRenderTree/win/DumpRenderTree.cpp:
3364         * DumpRenderTree/win/DumpRenderTree.vcproj:
3365         * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
3366         * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
3367         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
3368         * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
3369
3370 2007-12-01  Alp Toker  <alp@atoker.com>
3371
3372         Reviewed by Adam Roben.
3373
3374         Make use of the newly introduced webkit.h convenience header.
3375
3376         * GtkLauncher/main.c:
3377
3378 2007-12-01  Adam Treat  <treat@kde.org>
3379
3380         Reviewed by Simon.
3381
3382         * Check to see if the directory exists and exit if not.
3383
3384         * DumpRenderTree/qt/main.cpp:
3385         (main):
3386
3387 2007-12-01  Adam Treat  <treat@kde.org>
3388
3389         Reviewed by Simon.
3390
3391         * Don't hide symbols when in Debug mode
3392         * On Linux (glibc) provide a backtrace in the test output for debugging purposes
3393
3394
3395         * DumpRenderTree/qt/main.cpp:
3396         (messageHandler):
3397
3398 2007-11-30  Alp Toker  <alp@atoker.com>
3399
3400         Reviewed by Adam Roben.
3401
3402         http://bugs.webkit.org/show_bug.cgi?id=15691
3403         [GTK] Public API does not follow GTK+ conventions
3404
3405         Refactor the WebKit/GTK+ public API. Changes:
3406           WebKitPage -> WebKitWebView
3407           WebKitFrame -> WebKitWebFrame
3408
3409         Public API source and header names have been updated to mirror the API
3410         changes.
3411
3412         The API is now kept in WebKit/gtk/WebView to match other ports in the
3413         same class such as Mac and Win.
3414
3415         * GtkLauncher/main.c:
3416         (activate_uri_entry_cb):
3417         (link_hover_cb):
3418         (title_change_cb):
3419         (progress_change_cb):
3420         (go_back_cb):
3421         (go_forward_cb):
3422         (create_browser):
3423         (main):
3424
3425 2007-11-30  Adam Roben  <aroben@apple.com>
3426
3427         Hopefully the final build fix
3428
3429         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
3430         pull in WTF's assertion/logging functions.
3431
3432 2007-11-30  Adam Roben  <aroben@apple.com>
3433
3434         Another build fix
3435
3436         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
3437         WebKit.lib.
3438
3439 2007-11-30  Adam Roben  <aroben@apple.com>
3440
3441         Debug build fix
3442
3443         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
3444         configuration.
3445         * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
3446         projects.
3447         * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
3448         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
3449         WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
3450
3451 2007-11-30  Sam Weinig  <sam@webkit.org>
3452
3453         Reviewed by Adam Roben.
3454
3455         Fix drawSelectionRect to actually draw the selection rect.
3456
3457         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
3458         (drawSelectionRect):
3459
3460 2007-11-30  Darin Adler  <darin@apple.com>
3461
3462         * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
3463
3464 2007-11-30  Darin Adler  <darin@apple.com>
3465
3466         * Scripts/do-webcore-rename: Get ready for some future renaming.
3467
3468 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
3469
3470         Reviewed by Adam.
3471
3472         - Removed some unnecessary functions and changed an unused return type. 
3473
3474         * Drosera/win/DebuggerClient.cpp:
3475         (registerConsoleClass):
3476         * Drosera/win/DebuggerClient.h:
3477         * Drosera/win/Drosera.cpp:
3478         (registerDroseraClass):
3479
3480 2007-11-28  Alp Toker  <alp@atoker.com>
3481
3482         Reviewed by Timothy Hatcher.
3483
3484         http://bugs.webkit.org/show_bug.cgi?id=16174
3485         [GTK] Use "URI" not "URL" in public API
3486
3487         Replace use of the term "URL" with "URI" in public headers,
3488         documentation and some internal code to match GLib/GTK+ convention.
3489
3490         This is now mentioned in the API guidelines:
3491           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
3492
3493         * GtkLauncher/main.c:
3494         (activate_uri_entry_cb):
3495         (title_change_cb):
3496         (create_toolbar):
3497         (main):
3498
3499 2007-11-29  Anders Carlsson  <andersca@apple.com>
3500
3501         Reviewed by Sam.
3502
3503         <rdar://problem/5230478>
3504         FrameLoadDelegate callbacks are not dumped in DRT.
3505         
3506         * DumpRenderTree/win/DumpRenderTree.cpp:
3507         (shouldLogFrameLoadDelegates):
3508         (runTest):
3509         (main):
3510         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
3511         (BSTRtoString):
3512         (descriptionSuitableForTestResult):
3513         (FrameLoadDelegate::QueryInterface):
3514         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
3515         (FrameLoadDelegate::didFailProvisionalLoadWithError):
3516         (FrameLoadDelegate::didCommitLoadForFrame):
3517         (FrameLoadDelegate::didFinishLoadForFrame):
3518         (FrameLoadDelegate::willCloseFrame):
3519         (FrameLoadDelegate::didClearWindowObject):
3520         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
3521         (FrameLoadDelegate::didHandleOnloadEventsForFrame):
3522         * DumpRenderTree/win/FrameLoaderDelegate.h:
3523         (FrameLoadDelegate::windowScriptObjectAvailable):
3524         (FrameLoadDelegate::didFirstLayoutInFrame):
3525
3526 2007-11-29  Sam Weinig  <sam@webkit.org>
3527
3528         Reviewed by Anders.
3529
3530         Add database quota UIDelegates methods to DRT UIDelegate.
3531
3532         * DumpRenderTree/mac/UIDelegate.mm:
3533         (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
3534         (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
3535
3536 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
3537
3538         Reviewed by Sam.
3539
3540         - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
3541         dying and vice versa.
3542         - This fix will allow Drosera and Safari to reconnect if either of them
3543         closes correctly, but does not fix the case where one of them dies
3544         silently.
3545
3546         * Drosera/win/ServerConnection.cpp:
3547         (ServerConnection::attemptToCreateServerConnection): Added a safety
3548         check, because it's possilbe to try to connect to a server that's dying.
3549         (ServerConnection::serverDidDie): Implemented. This resets Drosera when
3550         the server has died.
3551         * Drosera/win/ServerConnection.h: Added the new function and removed
3552         an unnecessary member.
3553
3554 2007-11-29  Anders Carlsson  <andersca@apple.com>
3555
3556         * DumpRenderTree/win/DumpRenderTree.vcproj:
3557         Add shlwapi.lib to all configurations.
3558
3559 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
3560
3561         - Build fix.  Added additional includes for VS Express to the Release
3562         project.
3563
3564         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3565
3566 2007-11-29  Anders Carlsson  <andersca@apple.com>
3567
3568         Reviewed by Adam.
3569
3570         <rdar://problem/5132005>
3571         setUserStyleSheetEnabled is not fully implemented in Windows DRT.
3572         
3573         * DumpRenderTree/win/DumpRenderTree.vcproj:
3574         Add shlwapi.lib
3575         
3576         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3577         (LayoutTestController::setUserStyleSheetEnabled):
3578         Implement this.
3579         
3580         (appendComponentToPath):
3581         New method which wraps the Win32 API PathAppend.
3582         
3583         (followShortcuts):
3584         New method which checks if a file points to a shortcut and
3585         follows the shortcut.
3586         
3587         (resolveCygwinPath):
3588         New method that takes a cygwin unix-style path and returns the Win32 path.
3589         
3590         (cfStringRefToWString):
3591         
3592         (LayoutTestController::setUserStyleSheetLocation):
3593         Implement this.
3594
3595 2007-11-29  Alice Liu  <alice.liu@apple.com>
3596
3597         Reviewed by Adam.
3598
3599         Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
3600
3601         * DumpRenderTree/win/EventSender.cpp:
3602         (keyDownCallback):
3603         uppercase letters were being sent as lowercase letters without the shift key down.
3604
3605 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
3606
3607         - Windows build fix. VS express needs some love.
3608
3609         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
3610
3611 2007-11-28  Darin Adler  <darin@apple.com>
3612
3613         Reviewed by Adam Roben.
3614
3615         * DumpRenderTree/mac/EventSendingController.mm:
3616         (-[EventSendingController keyDown:withModifiers:]):
3617         Send capital letters through as lowercase letters with the shift key down
3618         rather than sending them as if they were highly unusual "capital letter keys".
3619
3620         * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
3621         where you need to update results and more tests are failing than before.
3622
3623 2007-11-28  Anders Carlsson  <andersca@apple.com>
3624
3625         Reviewed by Darin.
3626
3627         <rdar://problem/5132001>
3628         contextClick is not implemented in DRT on Windows.
3629         
3630         * DumpRenderTree/win/EventSender.cpp:
3631         (contextClickCallback):
3632         Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
3633         by a WM_RBUTTONUP message.
3634         
3635         * DumpRenderTree/win/UIDelegate.cpp:
3636         (UIDelegate::hasCustomMenuImplementation):
3637         (UIDelegate::trackCustomPopupMenu):
3638         * DumpRenderTree/win/UIDelegate.h:
3639         Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
3640         menu from being shown (and causing the DRT to hang).
3641
3642 2007-11-27  Maciej Stachowiak  <mjs@apple.com>
3643
3644         Reviewed by Darin.
3645
3646         Fix DumpRenderTree ObjC bug comparing strings.
3647
3648         * DumpRenderTree/mac/ObjCController.m:
3649         (-[ObjCController identityIsEqual::]): Compare strings with string
3650         equality instead of identiy equality.
3651
3652 2007-11-27  Timothy Hatcher  <timothy@apple.com>
3653
3654         Reviewed by Sam.
3655
3656         Reset the authorAndUserStylesEnabled preference
3657         back to YES for each test. Fixes the broken tests.
3658
3659         * DumpRenderTree/mac/DumpRenderTree.mm:
3660         (resetWebViewToConsistentStateBeforeTesting):
3661
3662 2007-11-27  Kevin McCullough  <kmccullough@apple.com>
3663
3664         Reviewed by Adam.
3665
3666         - Drosera now displays the console window, although it cannot currently
3667         process JavaScript.
3668
3669         * Drosera/win/DebuggerClient.cpp: Shows the console window.
3670         (registerConsoleClass): Implemented.
3671         (consoleWndProc): Implemented.
3672         (DebuggerClient::onSize): Implemented.
3673         (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
3674         new window.
3675         * Drosera/win/DebuggerClient.h: Added needed method and members for 
3676         creating and maintaining a new window.
3677         * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
3678         lines of code to more appropriate places.
3679         (Drosera::handleCommand):
3680         (Drosera::initUI):
3681         (Drosera::onSize):
3682         (Drosera::attach):
3683
3684 2007-11-27  Timothy Hatcher  <timothy@apple.com>
3685
3686         Reviewed by Dave Hyatt.
3687
3688         <rdar://problem/5569233> Add the ability to disable author and user CSS styles
3689         
3690         Add support for disabling author and user styles for testing.