3682a27a25321b0cef9fc94af25a990ae49be7ea
[WebKit-https.git] / WebKitTools / ChangeLog
1 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
2
3         Reviewed by Darin.
4
5         <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
6
7         Added layoutTestController.execCommand to access editor commands that are not available
8         via document.execCommand.
9
10         * DumpRenderTree/LayoutTestController.cpp:
11         (execCommandCallback):
12         (LayoutTestController::staticFunctions):
13         * DumpRenderTree/LayoutTestController.h:
14         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
15         (LayoutTestController::execCommand):
16         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
17         (LayoutTestController::queueLoad):
18         (LayoutTestController::execCommand):
19
20 2008-01-03  Alice Liu  <alice.liu@apple.com>
21
22         Reviewed by Darin, Mitz.
23
24         fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
25
26         the clickcount should not increase if the last click was at a different location.  it's a new click.
27
28         * DumpRenderTree/mac/DumpRenderTree.mm:
29         (runTest):
30         * DumpRenderTree/mac/EventSendingController.h:
31         * DumpRenderTree/mac/EventSendingController.mm:
32         (-[EventSendingController mouseDown]):
33         (-[EventSendingController mouseUp]):
34
35 2008-01-03  Darin Adler  <darin@apple.com>
36
37         Reviewed by Adam.
38
39         * Scripts/update-webkit: Make this work a little better for the people at Apple
40         who have a directory named Internal.
41
42 2008-01-03  Adam Roben  <aroben@apple.com>
43
44         Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
45
46         Rubberstamped by Mark.
47
48         * Scripts/update-webkit-auxiliary-libs:
49
50 2008-01-03  Adam Roben  <aroben@apple.com>
51
52         Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
53
54         http://bugs.webkit.org/show_bug.cgi?id=15663
55
56         Added a fuzz factor into the Last-Modified comparison for downloading
57         WebKitAuxiliaryLibrary.zip.
58
59         The zip file is served from a set of mirrors who give Last-Modified
60         times that are off by 1-3 seconds from each other. This was causing
61         the build bots to redownload WebKitAuxiliaryLibrary for every build,
62         which would then cause all of WebCore to rebuild each time.
63
64         Reviewed by Mark.
65
66         * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
67         at least 30 seconds newer than the old one -- otherwise we assume that
68         the difference in time is due to the mirrors being slightly offset
69         from each other.
70         (sub lastModifiedToUnixTime): Added.
71
72 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
73
74         Windows build fix.
75
76         * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
77
78 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
79
80         Reviewed by Lars.
81
82         Moved QWebPage::open to QWebFrame::load and added setHtml.
83         
84
85         * DumpRenderTree/qt/DumpRenderTree.cpp:
86         (WebCore::DumpRenderTree::open):
87
88 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
89
90         Reviewed by Lars.
91
92         Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
93         
94
95         * DumpRenderTree/qt/DumpRenderTree.cpp:
96         (WebCore::DumpRenderTree::DumpRenderTree):
97
98 2008-01-02  Sam Weinig  <sam@webkit.org>
99
100         * Scripts/do-webcore-rename: Yet more renaming ideas.
101
102 2008-01-02  Darin Adler  <darin@apple.com>
103
104         * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
105
106 2008-01-02  Alice Liu  <alice.liu@apple.com>
107
108         Reviewed by Sam Weinig.
109
110         fixing assertion hit with editing/selection/move-begin-end.html
111
112         * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
113         * DumpRenderTree/win/DumpRenderTree.vcproj:
114         * DumpRenderTree/win/EventSender.cpp:
115         (keyDownCallback):
116         using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
117
118 2008-01-02  Darin Adler  <darin@apple.com>
119
120         * Scripts/do-webcore-rename: Some more name change plans.
121
122 2008-01-02  Alice Liu  <alice.liu@apple.com>
123
124         Reviewed by Maciej.
125
126         Added handling for page up and page down in EventSender
127
128         * DumpRenderTree/mac/EventSendingController.mm:
129         (-[EventSendingController keyDown:withModifiers:]):
130         * DumpRenderTree/win/EventSender.cpp:
131         (keyDownCallback):
132
133 2008-01-02  Alexey Proskuryakov  <ap@webkit.org>
134
135         Reviewed by Darin.
136
137         Fix fast/events/arrow-keys-on-body.html for real.
138
139         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
140
141 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
142
143         Reviewed by Darin.
144
145         http://bugs.webkit.org/show_bug.cgi?id=16674
146         [GTK] run-launcher sets wrong LD_LIBRARY_PATH
147
148         * Scripts/run-launcher:
149
150 2007-12-31  Darin Adler  <darin@apple.com>
151
152         Suggested by Antti.
153
154         * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
155         we get it installed on the build bots.
156
157 2007-12-30  Eric Seidel  <eric@webkit.org>
158
159         Reviewed by Sam.
160
161         * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
162
163 2007-12-29  Darin Adler  <darin@apple.com>
164
165         Reviewed by Oliver.
166
167         - fix http://bugs.webkit.org/show_bug.cgi?id=16663
168           leak bot shows createCStringFromNPVariant result leaking
169
170         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
171         (pluginInvoke): Added a missing free.
172
173 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
174
175         Reviewed by Alp Toker.
176
177         http://bugs.webkit.org/show_bug.cgi?id=16390
178         Use autotools or GNU make as the build system for the GTK port
179
180         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
181         * GNUmakefile.am: Added.
182
183 2007-12-24  Alexey Proskuryakov  <ap@webkit.org>
184
185         Reviewed by Oliver.
186
187         Fix fast/events/arrow-keys-on-body.html, failing on Windows.
188
189         * DumpRenderTree/win/EventSender.cpp:
190         (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
191         of 1, even though WebKit currently ignores it.
192
193 2007-12-23  Kevin Ollivier  <kevino@theolliviers.com>
194
195         wx buildbot fix. Update libpng dl script to the latest version.
196
197         * wx/install-unix-extras:
198
199 2007-12-22  Antti Koivisto  <antti@apple.com>
200
201         Fix a typo.
202
203         * Scripts/webkitdirs.pm:
204
205 2007-12-21  Sam Weinig  <sam@webkit.org>
206
207         Reviewed by Mark Rowe.
208
209         - Disable the back/forward cache using the new WebPreferences API
210           instead of through the BackForwardList.  This makes us match what
211           we do on Windows.
212
213         * DumpRenderTree/mac/DumpRenderTree.mm:
214         (createWebViewAndOffscreenWindow):
215         (setDefaultsToConsistentValuesForTesting):
216
217 2007-12-21  Dan Bernstein  <mitz@apple.com>
218
219         Reviewed by Mark Rowe.
220
221         - disable the back/forward cache in Windows DumpRenderTree. It is
222           already disabled in Mac DumpRenderTree.
223
224         * DumpRenderTree/win/DumpRenderTree.cpp:
225         (initializePreferences):
226
227 2007-12-13  Antti Koivisto  <antti@apple.com>
228
229         Reviewed by Darin and Steve.
230         
231         - check for QuickTime SDK on Windows.
232         - build media support on Windows by default
233
234         * Scripts/build-webkit:
235         * Scripts/webkitdirs.pm:
236
237 2007-12-21  Kevin Ollivier  <kevino@theolliviers.com>
238
239         Build script fix for buildbot.
240
241         * wx/build-wxwebkit:
242
243 2007-12-20  Eric Seidel  <eric@webkit.org>
244
245         Reviewed by mjs.
246
247         * Scripts/run-sunspider: change --runs default to 10 for better accuracy
248
249 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
250
251         Reviewed by Steve.
252
253         - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
254         WebKit.
255
256         - Drosera and Safari need to use the same ProgIDs in order for
257         CoCreateInstance to work properly.  The most robust way to do this is
258         for WebKit to dynamically publish those ProgIDs.
259
260         * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
261         (DebuggerClient::createWebViewWithRequest):
262         * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
263         statics.
264         (Drosera::initUI):
265         (Drosera::attach):
266         (Drosera::attemptToCreateServerConnection):
267         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
268         * Drosera/win/ServerConnection.cpp: Reformat the connection function and
269         make use of the published ProgIDs.
270         (ServerConnection::attemptToCreateServerConnection):
271
272 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
273
274         - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
275         - Build bot and leak fix.
276
277         * DumpRenderTree/LayoutTestController.cpp:
278         (pathToLocalResourceCallback):
279
280 2007-12-19  David Kilzer  <ddkilzer@apple.com>
281
282         Make svn-apply/svn-unapply work with patches from git-format-patch.
283
284         Reviewed by Darin.
285
286         * Scripts/svn-apply:
287         (patch): If 'Index:' can't be found in the text passed in, print it
288         out with a warning and return early.
289         * Scripts/svn-unapply:
290         (patch): Ditto.
291
292 2007-12-18  Kevin Ollivier  <kevino@theolliviers.com>
293
294         Reviewed by Alp Toker.
295
296         Build related fixes.
297
298         * wx/build-wxwebkit:
299         - Check to make sure the user is running a supported wx port
300         - More robust checks for Cygwin
301         - Only run install-unix-extras on Mac, it's not the right solution
302           for Linux distros.
303         - Remove outdated Linux instructions after successful build
304         - Clean Bakefile-generated files during a clean operation
305
306 2007-12-18  Darin Adler  <darin@apple.com>
307
308         * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
309
310 2007-12-18  Steve Falkenburg  <sfalken@apple.com>
311
312         Add script to run Drosera as part of the nightly.
313         
314         Reviewed by Kevin M.
315
316         * Scripts/run-drosera.cmd: Added.
317
318 2007-12-18  Darin Adler  <darin@apple.com>
319
320         * Scripts/do-webcore-rename: Remove a stray K.
321
322 2007-12-18  Darin Adler  <darin@apple.com>
323
324         * Scripts/do-webcore-rename: Plan more renaming.
325
326 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
327
328         Reviewed by Alp Toker.
329
330         http://bugs.webkit.org/show_bug.cgi?id=16042
331         [GTK] Eliminate webkit_init()
332
333         Moving webkit initialization to WebView class init.
334
335         * DumpRenderTree/gtk/DumpRenderTree.cpp:
336         (main):
337         * GtkLauncher/main.c:
338         (main):
339
340 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
341
342         Reviewed by Alp Toker.
343
344         http://bugs.webkit.org/show_bug.cgi?id=13542
345         gdklauncher doesnt change URL in adress GTKEntry.
346
347         * GtkLauncher/main.c:
348         (load_commit_cb): added
349         (title_change_cb):
350         (create_browser):
351
352 2007-12-16  Dimitri Glazkov  <dimitri@glazkov.com>
353
354         Reviewed by Adam Roben.
355
356         Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
357
358         * FindSafari/FindSafari.cpp:
359         (_tmain):
360
361 2007-12-16  Brent Fulgham  <bfulgham@gmail.com>
362
363         Reviewed by Adam Roben.
364
365         http://bugs.webkit.org/show_bug.cgi?id=16315
366         FindSafari needs a path-only option.
367
368         * FindSafari/FindSafari.cpp:
369         (_tmain):
370
371 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
372
373         Reviewed by Darin.
374
375         http://bugs.webkit.org/show_bug.cgi?id=16462
376         REGRESSION: access keys broken on Windows
377
378         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
379         if Alt is pressed.
380
381 2007-12-15  Sam Weinig  <sam@webkit.org>
382
383         Reviewed by Mark Rowe.
384
385         Fix urlSuitableForTestResult to correctly identify wstring::npos as
386         the case when wstring.find doesn't find anything.
387
388         * DumpRenderTree/win/DumpRenderTree.cpp:
389         (urlSuitableForTestResult):
390
391 2007-12-15  Alp Toker  <alp@atoker.com>
392
393         GTK+ DRT build fix for GLib < 2.14.
394
395         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
396         (LayoutTestController::setWaitToDump):
397
398 2007-12-05  Mark Rowe  <mrowe@apple.com>
399
400         Reviewed by Alp Toker.
401
402         Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.  This prevents
403         many layout tests from hanging while waiting on user responses to dialogs.
404
405         * DumpRenderTree/gtk/DumpRenderTree.cpp:
406         (invalidateAnyPreviousWaitToDumpWatchdog):
407         (webViewScriptAlert):
408         (webViewScriptPrompt):
409         (webViewScriptConfirm):
410         (main):
411         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
412         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
413         (waitToDumpWatchdogFired):
414         (LayoutTestController::setWaitToDump):
415
416 2007-12-05  Mark Rowe  <mrowe@apple.com>
417
418         Reviewed by Alp Toker.
419
420         Flesh out DumpRenderTree for Gtk.  After these changes, the majority of the tests in fast/js pass.
421
422         * DumpRenderTree/gtk/DumpRenderTree.cpp:
423         (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
424         (dump):
425         (runTest):
426         (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
427         (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
428         work queue is empty.
429         (webViewWindowObjectCleared): Set up window.layoutTestController.
430         (webViewConsoleMessage): Match the console message format expected by the layout test results.
431         (main): Hook up the new signals.
432         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
433         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
434         dumping multiple times.
435         * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
436         * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways.  Use run-launcher to open test results.
437
438 2007-12-14  Anders Carlsson  <andersca@apple.com>
439
440         Reviewed by Brady.
441
442         Assert that a web frame that's loading a resource always has either a data source or 
443         a provisional data source.
444         
445         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
446         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
447
448 2007-12-14  Darin Adler  <darin@apple.com>
449
450         - fix mistake causing nearly all tests to fail on Windows
451
452         * DumpRenderTree/win/UIDelegate.cpp:
453         (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
454         npos, not 0. Also pass URL in to URL function rather than passing the entire message.
455
456         * DumpRenderTree/mac/UIDelegate.mm:
457         (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
458         than passing the entire message.
459
460 2007-12-14  Darin Adler  <darin@apple.com>
461
462         - fix Tiger build
463
464         * DumpRenderTree/mac/UIDelegate.mm:
465         (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
466         new-to-Leopard methods.
467
468 2007-12-14  Darin Adler  <darin@apple.com>
469
470         * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
471         since it now triggers unwanted icon loading. We only had it because we implemented "all"
472         delegate methods here.
473
474 2007-12-14  Anders Carlsson  <andersca@apple.com>
475
476         Reviewed by Darin and Geoff.
477
478         <rdar://problem/5619295> 
479         REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
480         
481         Add property getting methods to the plug-in.
482         
483         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
484         (pluginInvoke):
485
486 2007-12-14  Kevin McCullough  <kmccullough@apple.com>
487
488         Reviewed by Darin.
489
490         - Layout test fix for mac. When dumped to the console local file paths
491         now only show the name of the resource not the whole path.  This is to
492         make the results machine and OS independent.
493
494         * DumpRenderTree/mac/UIDelegate.mm:
495         (-[UIDelegate webView:addMessageToConsole:]):
496
497 2007-12-13  Kevin McCullough  <kmccullough@apple.com>
498
499         Reviewed by Adam.
500
501         - Layout tests fix.  We need a way to remove machine-dependent
502         information from paths in layout test results. The UIDelegate now does
503         this.
504
505         * DumpRenderTree/DumpRenderTree.h:
506         * DumpRenderTree/win/DumpRenderTree.cpp:
507         (urlSuitableForTestResult):
508         * DumpRenderTree/win/DumpRenderTreeWin.h:
509         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
510         * DumpRenderTree/win/UIDelegate.cpp:
511         (UIDelegate::webViewAddMessageToConsole):
512
513 2007-12-13  Alp Toker  <alp@atoker.com>
514
515         Build fix for DRT breakage introduced in r28690.
516
517         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
518         (LayoutTestController::pathToLocalResource):
519
520 2007-12-12  Kevin McCullough  <kmccullough@apple.com>
521
522         Reviewed by Alice and Sam.
523
524         - <rdar://5621435> Need a way to specify local resources (being loaded
525         from HTTP tests) on Windows.
526         - Implemented pathToLocalResource which exposes the functionality of
527         converting a given unix path to the correct location on Windows.
528
529         * DumpRenderTree/LayoutTestController.cpp:
530         (pathToLocalResourceCallback):
531         (LayoutTestController::staticFunctions):
532         * DumpRenderTree/LayoutTestController.h:
533         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
534         (LayoutTestController::pathToLocalResource):
535         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
536         (LayoutTestController::pathToLocalResource):
537
538 2007-12-12  Anders Carlsson  <andersca@apple.com>
539
540         Reviewed by Sam.
541
542         <rdar://problem/5132003>
543         dumpResourceLoadCallbacks is not implemented in DRT on Windows.
544
545         * DumpRenderTree/win/DumpRenderTree.cpp:
546         (main):
547         Set the resource load delegate.
548         
549         * DumpRenderTree/win/DumpRenderTree.vcproj:
550         
551         * DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
552         * DumpRenderTree/win/ResourceLoadDelegate.h: Added.
553
554 2007-12-12  Alexey Proskuryakov  <ap@webkit.org>
555
556         Reviewed by Adam Roben.
557
558         Fix conversion from double to LPARAM in dispatchMessage().
559
560         * DumpRenderTree/win/EventSender.cpp:
561         (dispatchMessageCallback):
562
563 2007-12-11  Dan Bernstein  <mitz@apple.com>
564
565         Reviewed by Mark Rowe and Sam Weinig too!
566
567         - added Helvetica Oblique and Helvetica Bold Oblique to the list of
568           fonts DumpRenderTree registers.
569
570         * DumpRenderTree/win/DumpRenderTree.cpp:
571         (initialize):
572
573 2007-12-11  Brady Eidson  <beidson@apple.com>
574
575         Reviewed by Anders
576
577         Make DumpRenderTree on mac use its own path for Databases testing
578
579         * DumpRenderTree/mac/DumpRenderTree.mm:
580         (setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree 
581           for future DRT-only use, then use it to construct the Databases path and set that default
582
583 2007-12-07  Alexey Proskuryakov  <ap@webkit.org>
584
585         Reviewed by Darin.
586
587         <rdar://problem/5535636>
588         Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
589
590         http://bugs.webkit.org/show_bug.cgi?id=13916
591         JavaScript detects Tab as a character input on a textfield validation
592
593         * DumpRenderTree/mac/EventSendingController.mm:
594         (-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
595         Dispatch a keyup to better match what happens when a key is physically pressed.
596
597         * DumpRenderTree/win/EventSender.cpp:
598         (keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
599         returning from keyDown().
600         (getConstantCallback): Fixed a couple copy/paste mistakes.
601
602 2007-12-07  Kevin McCullough  <kmccullough@apple.com>
603
604         Reviewed by Oliver.
605
606         - <rdar://5599845> Drosera: Does not show loal files in the file list
607         on the left side.
608
609         * Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
610         * Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
611         so the open source community can build.
612
613 2007-12-10  Brady Eidson  <beidson@apple.com>
614
615         Rubberstamped by Sam Weinig
616
617         Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
618
619         * DumpRenderTree/mac/UIDelegate.mm:
620         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
621         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
622
623 2007-12-08  Oliver Hunt  <oliver@apple.com>
624
625         Reviewed by Sam W.
626
627         Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
628         
629         Fixes <rdar://problem/5620249> Must disable SVG animation
630         <rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
631         
632         In order to allow finer grained control over the set of SVG features
633         this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
634         distinct flags:
635         ENABLE_SVG_ANIMATION
636         ENABLE_SVG_FILTERS
637         ENABLE_SVG_FONTS
638         ENABLE_SVG_AS_IMAGE
639         ENABLE_SVG_USE
640         
641         by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
642         
643         Script handles all the new build flags, and allows --svg-experimental
644         to automatically enable all features.
645
646         * Scripts/build-webkit:
647
648 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
649
650         Fix version parsing.
651
652         Rubber-stamped by Oliver.
653
654         * Drosera/win/Drosera.vcproj/auto-version.sh:
655
656 2007-12-07  Steve Falkenburg  <sfalken@apple.com>
657
658         Build modifications for Drosera.
659
660         Reviewed by Adam.
661
662         * Drosera/DroseraWin.make: Added.
663         * Drosera/win/Drosera.vcproj/Drosera.rc:
664         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
665         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
666         * Drosera/win/Drosera.vcproj/VERSION: Added.
667         * Drosera/win/Drosera.vcproj/auto-version.sh: Added.
668
669 2007-12-06  Adam Roben  <aroben@apple.com>
670
671         Explicitly turn on the Mac font ascent hack on Windows
672
673         This keeps our font metrics matching those from Mac.
674
675         Reviewed by Hyatt.
676
677         * DumpRenderTree/win/DumpRenderTree.cpp:
678         (main):
679
680 2007-12-06  Anders Carlsson  <andersca@apple.com>
681
682         Rename main.c to main.cpp here too.
683         
684         * DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
685
686 2007-12-06  Sam Weinig  <sam@webkit.org>
687
688         Rubber stamped by Geoff.
689
690         * Scripts/do-webcore-rename: Don't rename kjs_css twice.
691
692 2007-12-06  Darin Adler  <darin@apple.com>
693
694         * Scripts/do-webcore-rename: Some more renaming plans.
695
696 2007-12-06  Anders Carlsson  <andersca@apple.com>
697
698         Restore implementation of testGetIntIdentifier that was accidentally
699         removed somehow (possibly when I made PluginObject be a cpp file).
700         
701         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
702         (pluginInvoke):
703
704 2007-12-05  Anders Carlsson  <andersca@apple.com>
705
706         Make the entry points extern "C".
707         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
708         
709 2007-12-05  Anders Carlsson  <andersca@apple.com>
710
711         C++ warning fixes.
712         
713         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
714         (NPP_New):
715         (NPP_Destroy):
716         (NPP_SetWindow):
717         (NPP_NewStream):
718         (NPP_HandleEvent):
719         (NPP_URLNotify):
720         (NPP_GetValue):
721
722 2007-12-05  Anders Carlsson  <andersca@apple.com>
723
724         Add the .cpp files to the TestNetscapePlugIn target.
725
726         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
727
728 2007-12-05  Anders Carlsson  <andersca@apple.com>
729
730         Reviewed by Geoff.
731         
732         Rename the TestNetscapePlugIn .c files to be .cpp.
733
734         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
735         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
736         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
737         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
738         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
739         * DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
740         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
741         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
742
743 2007-12-05  Adam Roben  <aroben@apple.com>
744
745         Fix case of keypresses from the Windows implementation of eventSender.keyDown
746
747         This fixes several regression tests.
748
749         Reviewed by Alice.
750
751         * DumpRenderTree/win/EventSender.cpp:
752         (keyDownCallback): Virtual keycodes for ASCII characters are always
753         uppercase, so we need to check the case of the original character
754         passed in to eventSender.keyDown.
755
756 2007-12-05  Adam Roben  <aroben@apple.com>
757
758         Learn from Tim's mistakes
759
760         * DumpRenderTree/win/DumpRenderTree.cpp:
761         (runTest): Reset the authorAndUserStylesEnabled preference for each
762         test.
763
764 2007-12-05  Alp Toker  <alp@atoker.com>
765
766         Reviewed by Mark Rowe.
767
768         Initialize GTK+ and WebKit so the tests can run.
769
770         Reorganize the headers a little.
771
772         * DumpRenderTree/gtk/DumpRenderTree.cpp:
773         (main):
774
775 2007-12-04  Anders Carlsson  <andersca@apple.com>
776
777         Remove IWebScriptScope include.
778         
779         * Drosera/win/DebuggerDocumentPlatform.cpp:
780
781 2007-12-04  Sam Weinig  <sam@webkit.org>
782
783         Rubber stamped by Mark Rowe.
784
785         Define CF as platform for mac and revert r28409
786
787         * DumpRenderTree/DumpRenderTree.h:
788         * DumpRenderTree/mac/DumpRenderTreeMac.h:
789
790 2007-12-04  Sam Weinig  <sam@webkit.org>
791
792         Define CF as platform for windows.
793
794         Reviewed by Adam Roben.
795
796         * DumpRenderTree/win/DumpRenderTreeWin.h:
797
798 2007-12-04  Kevin McCullough  <kmccullough@apple.com>
799
800         Reviewed by Adam and Darin.
801
802         - Removed a needless BSTR cleanup.
803
804         * Drosera/win/DebuggerDocumentPlatform.cpp:
805         (DebuggerDocument::getPlatformCurrentFunctionStack):
806
807 2007-11-27  Adam Roben  <aroben@apple.com>
808
809         Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
810
811         Reviewed by Maciej.
812
813         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
814         (LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
815
816 2007-12-04  Alp Toker  <alp@atoker.com>
817
818         Prospective Win DRT build fix.
819
820         * DumpRenderTree/DumpRenderTree.h:
821
822 2007-12-04  Alp Toker  <alp@atoker.com>
823
824         Fix a clobbered copyright header.
825
826         * DumpRenderTree/gtk/DumpRenderTree.cpp:
827
828 2007-12-04  Xan Lopez  <xan@gnome.org>
829
830         Reviewed by Alp Toker.
831
832         http://bugs.webkit.org/show_bug.cgi?id=15561
833         GTK port needs DumpRenderTree implementation
834
835         Start work on the GTK+ DRT.
836
837         This does not work yet, and there are a few lingering style issues
838         (nothing major) but this patch has been stuck in the bug tracker for
839         too long already.
840
841         * DumpRenderTree/DumpRenderTree.h:
842         * DumpRenderTree/gtk: Added.
843         * DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
844         (autocorrectURL):
845         (shouldLogFrameLoadDelegates):
846         (dumpFrameScrollPosition):
847         (displayWebView):
848         (appendString):
849         (dumpFramesAsText):
850         (dumpRenderTreeAsText):
851         (dump):
852         (runTest):
853         (main):
854         * DumpRenderTree/gtk/DumpRenderTree.pro: Added.
855         * DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
856         * DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
857         (GCController::collect):
858         (GCController::collectOnAlternateThread):
859         (GCController::getJSObjectCount):
860         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
861         (LayoutTestController::~LayoutTestController):
862         (LayoutTestController::addDisallowedURL):
863         (LayoutTestController::clearBackForwardList):
864         (LayoutTestController::copyDecodedHostName):
865         (LayoutTestController::copyEncodedHostName):
866         (LayoutTestController::display):
867         (LayoutTestController::keepWebHistory):
868         (LayoutTestController::notifyDone):
869         (LayoutTestController::queueBackNavigation):
870         (LayoutTestController::queueForwardNavigation):
871         (LayoutTestController::queueLoad):
872         (LayoutTestController::queueReload):
873         (LayoutTestController::queueScript):
874         (LayoutTestController::setAcceptsEditing):
875         (LayoutTestController::setCustomPolicyDelegate):
876         (LayoutTestController::setMainFrameIsFirstResponder):
877         (LayoutTestController::setTabKeyCyclesThroughElements):
878         (LayoutTestController::setUseDashboardCompatibilityMode):
879         (LayoutTestController::setUserStyleSheetEnabled):
880         (LayoutTestController::setUserStyleSheetLocation):
881         (LayoutTestController::setWindowIsKey):
882         (LayoutTestController::setWaitToDump):
883         (LayoutTestController::windowCount):
884         (LayoutTestController::setPrivateBrowsingEnabled):
885         (LayoutTestController::setAuthorAndUserStylesEnabled):
886         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
887         (JSStringCopyUTF8CString):
888         (LoadItem::invoke):
889         (ReloadItem::invoke):
890         (ScriptItem::invoke):
891         (BackForwardItem::invoke):
892
893 2007-12-03  Sam Weinig  <sam@webkit.org>
894
895         Move JavaScriptCore thread testing code to pthread specific directory
896         and remove the dependance on CoreFoundation by using WTF::HashSet.
897
898         Reviewed by Geoff and Oliver.
899
900         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
901         * DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
902         * DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
903         * DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
904         * DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
905         * DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
906         * DumpRenderTree/mac/JavaScriptThreading.h: Removed.
907         * DumpRenderTree/pthreads: Added.
908         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
909         (javaScriptThreads):
910         (runJavaScriptThread):
911         (startJavaScriptThreads):
912         (stopJavaScriptThreads):
913
914 2007-12-03  Andrew Bonventre  <andybons@google.com>
915
916         Reviewed by Darin Adler.
917
918         - fix http://bugs.webkit.org/show_bug.cgi?id=16267
919         Symbol lookup menu broken in debugger view
920
921         * Drosera/debugger.js: Fixed javascript error where document property
922         should have been used instead of contentDocument in switchFunction that
923         was breaking the select symbol dropdown menu.  This is because
924         window.frames will return a Window object and not a frame object like
925         the author was originally expecting.
926
927 2007-12-03  Kevin McCullough  <kmccullough@apple.com>
928
929         Reviewed by Adam.
930
931         - <rdar://5618942> Drosera: Console window does not process everything
932         correctly.
933         - <rdar://5619005> Drosera: could be sped up by moving the 
934         WebScriptScope stuff into the WebScriptCallFrame.
935         - Now the console can correctly process objects and does not receive
936         notifications from JavaScriptCore about the JavaScript in Drosera's
937         own process.
938
939         * Drosera/win/DebuggerDocumentPlatform.cpp:
940         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
941         (DebuggerDocument::platformValueForScopeVariableNamed):
942
943 2007-12-03  Stephanie  <slewis@apple.com>
944
945         Reviewed by Darin.
946
947         Check to see if we are building a debug root
948
949         * Scripts/check-for-global-initializers: 
950
951 2007-12-03  Dan Bernstein  <mitz@apple.com>
952
953         Reviewed by Darin Adler.
954
955         - added a testGetIntIdentifier() method to TestNetscapePlugIn
956
957         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
958         (pluginInvoke):
959
960 2007-12-03  Alexey Proskuryakov  <ap@webkit.org>
961
962         Reviewed by Oliver.
963
964         Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
965         in a more fine-grained manner than eventSender.keyDown().
966
967         * DumpRenderTree/win/EventSender.cpp:
968         (getConstantCallback):
969         (dispatchMessageCallback):
970
971 2007-12-02  Darin Adler  <darin@apple.com>
972
973         * Scripts/do-webcore-rename: More planned renaming.
974
975 2007-12-02  Sam Weinig  <sam@webkit.org>
976
977         Rubber stamped by Anders.
978
979         Use [NSURL absoluteString] instead of [NSURL description] in order to get
980         more uniform results cross platform.
981
982         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
983         (-[NSURL _drt_descriptionSuitableForTestResult]):
984
985 2007-12-02  Sam Weinig  <sam@webkit.org>
986
987         Rubber stamped by Niko.
988
989         Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
990
991         * DumpRenderTree/win/DumpRenderTree.cpp:
992         * DumpRenderTree/win/DumpRenderTree.vcproj:
993         * DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
994         * DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
995         * DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
996         * DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
997
998 2007-12-01  Alp Toker  <alp@atoker.com>
999
1000         Reviewed by Adam Roben.
1001
1002         Make use of the newly introduced webkit.h convenience header.
1003
1004         * GtkLauncher/main.c:
1005
1006 2007-12-01  Adam Treat  <treat@kde.org>
1007
1008         Reviewed by Simon.
1009
1010         * Check to see if the directory exists and exit if not.
1011
1012         * DumpRenderTree/qt/main.cpp:
1013         (main):
1014
1015 2007-12-01  Adam Treat  <treat@kde.org>
1016
1017         Reviewed by Simon.
1018
1019         * Don't hide symbols when in Debug mode
1020         * On Linux (glibc) provide a backtrace in the test output for debugging purposes
1021
1022
1023         * DumpRenderTree/qt/main.cpp:
1024         (messageHandler):
1025
1026 2007-11-30  Alp Toker  <alp@atoker.com>
1027
1028         Reviewed by Adam Roben.
1029
1030         http://bugs.webkit.org/show_bug.cgi?id=15691
1031         [GTK] Public API does not follow GTK+ conventions
1032
1033         Refactor the WebKit/GTK+ public API. Changes:
1034           WebKitPage -> WebKitWebView
1035           WebKitFrame -> WebKitWebFrame
1036
1037         Public API source and header names have been updated to mirror the API
1038         changes.
1039
1040         The API is now kept in WebKit/gtk/WebView to match other ports in the
1041         same class such as Mac and Win.
1042
1043         * GtkLauncher/main.c:
1044         (activate_uri_entry_cb):
1045         (link_hover_cb):
1046         (title_change_cb):
1047         (progress_change_cb):
1048         (go_back_cb):
1049         (go_forward_cb):
1050         (create_browser):
1051         (main):
1052
1053 2007-11-30  Adam Roben  <aroben@apple.com>
1054
1055         Hopefully the final build fix
1056
1057         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
1058         pull in WTF's assertion/logging functions.
1059
1060 2007-11-30  Adam Roben  <aroben@apple.com>
1061
1062         Another build fix
1063
1064         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
1065         WebKit.lib.
1066
1067 2007-11-30  Adam Roben  <aroben@apple.com>
1068
1069         Debug build fix
1070
1071         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
1072         configuration.
1073         * Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
1074         projects.
1075         * Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
1076         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
1077         WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
1078
1079 2007-11-30  Sam Weinig  <sam@webkit.org>
1080
1081         Reviewed by Adam Roben.
1082
1083         Fix drawSelectionRect to actually draw the selection rect.
1084
1085         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1086         (drawSelectionRect):
1087
1088 2007-11-30  Darin Adler  <darin@apple.com>
1089
1090         * Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
1091
1092 2007-11-30  Darin Adler  <darin@apple.com>
1093
1094         * Scripts/do-webcore-rename: Get ready for some future renaming.
1095
1096 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
1097
1098         Reviewed by Adam.
1099
1100         - Removed some unnecessary functions and changed an unused return type. 
1101
1102         * Drosera/win/DebuggerClient.cpp:
1103         (registerConsoleClass):
1104         * Drosera/win/DebuggerClient.h:
1105         * Drosera/win/Drosera.cpp:
1106         (registerDroseraClass):
1107
1108 2007-11-28  Alp Toker  <alp@atoker.com>
1109
1110         Reviewed by Timothy Hatcher.
1111
1112         http://bugs.webkit.org/show_bug.cgi?id=16174
1113         [GTK] Use "URI" not "URL" in public API
1114
1115         Replace use of the term "URL" with "URI" in public headers,
1116         documentation and some internal code to match GLib/GTK+ convention.
1117
1118         This is now mentioned in the API guidelines:
1119           http://trac.webkit.org/projects/webkit/wiki/HackingGtk
1120
1121         * GtkLauncher/main.c:
1122         (activate_uri_entry_cb):
1123         (title_change_cb):
1124         (create_toolbar):
1125         (main):
1126
1127 2007-11-29  Anders Carlsson  <andersca@apple.com>
1128
1129         Reviewed by Sam.
1130
1131         <rdar://problem/5230478>
1132         FrameLoadDelegate callbacks are not dumped in DRT.
1133         
1134         * DumpRenderTree/win/DumpRenderTree.cpp:
1135         (shouldLogFrameLoadDelegates):
1136         (runTest):
1137         (main):
1138         * DumpRenderTree/win/FrameLoaderDelegate.cpp:
1139         (BSTRtoString):
1140         (descriptionSuitableForTestResult):
1141         (FrameLoadDelegate::QueryInterface):
1142         (FrameLoadDelegate::didStartProvisionalLoadForFrame):
1143         (FrameLoadDelegate::didFailProvisionalLoadWithError):
1144         (FrameLoadDelegate::didCommitLoadForFrame):
1145         (FrameLoadDelegate::didFinishLoadForFrame):
1146         (FrameLoadDelegate::willCloseFrame):
1147         (FrameLoadDelegate::didClearWindowObject):
1148         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
1149         (FrameLoadDelegate::didHandleOnloadEventsForFrame):
1150         * DumpRenderTree/win/FrameLoaderDelegate.h:
1151         (FrameLoadDelegate::windowScriptObjectAvailable):
1152         (FrameLoadDelegate::didFirstLayoutInFrame):
1153
1154 2007-11-29  Sam Weinig  <sam@webkit.org>
1155
1156         Reviewed by Anders.
1157
1158         Add database quota UIDelegates methods to DRT UIDelegate.
1159
1160         * DumpRenderTree/mac/UIDelegate.mm:
1161         (-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
1162         (-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
1163
1164 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
1165
1166         Reviewed by Sam.
1167
1168         - <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
1169         dying and vice versa.
1170         - This fix will allow Drosera and Safari to reconnect if either of them
1171         closes correctly, but does not fix the case where one of them dies
1172         silently.
1173
1174         * Drosera/win/ServerConnection.cpp:
1175         (ServerConnection::attemptToCreateServerConnection): Added a safety
1176         check, because it's possilbe to try to connect to a server that's dying.
1177         (ServerConnection::serverDidDie): Implemented. This resets Drosera when
1178         the server has died.
1179         * Drosera/win/ServerConnection.h: Added the new function and removed
1180         an unnecessary member.
1181
1182 2007-11-29  Anders Carlsson  <andersca@apple.com>
1183
1184         * DumpRenderTree/win/DumpRenderTree.vcproj:
1185         Add shlwapi.lib to all configurations.
1186
1187 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
1188
1189         - Build fix.  Added additional includes for VS Express to the Release
1190         project.
1191
1192         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1193
1194 2007-11-29  Anders Carlsson  <andersca@apple.com>
1195
1196         Reviewed by Adam.
1197
1198         <rdar://problem/5132005>
1199         setUserStyleSheetEnabled is not fully implemented in Windows DRT.
1200         
1201         * DumpRenderTree/win/DumpRenderTree.vcproj:
1202         Add shlwapi.lib
1203         
1204         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1205         (LayoutTestController::setUserStyleSheetEnabled):
1206         Implement this.
1207         
1208         (appendComponentToPath):
1209         New method which wraps the Win32 API PathAppend.
1210         
1211         (followShortcuts):
1212         New method which checks if a file points to a shortcut and
1213         follows the shortcut.
1214         
1215         (resolveCygwinPath):
1216         New method that takes a cygwin unix-style path and returns the Win32 path.
1217         
1218         (cfStringRefToWString):
1219         
1220         (LayoutTestController::setUserStyleSheetLocation):
1221         Implement this.
1222
1223 2007-11-29  Alice Liu  <alice.liu@apple.com>
1224
1225         Reviewed by Adam.
1226
1227         Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
1228
1229         * DumpRenderTree/win/EventSender.cpp:
1230         (keyDownCallback):
1231         uppercase letters were being sent as lowercase letters without the shift key down.
1232
1233 2007-11-29  Kevin McCullough  <kmccullough@apple.com>
1234
1235         - Windows build fix. VS express needs some love.
1236
1237         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1238
1239 2007-11-28  Darin Adler  <darin@apple.com>
1240
1241         Reviewed by Adam Roben.
1242
1243         * DumpRenderTree/mac/EventSendingController.mm:
1244         (-[EventSendingController keyDown:withModifiers:]):
1245         Send capital letters through as lowercase letters with the shift key down
1246         rather than sending them as if they were highly unusual "capital letter keys".
1247
1248         * Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
1249         where you need to update results and more tests are failing than before.
1250
1251 2007-11-28  Anders Carlsson  <andersca@apple.com>
1252
1253         Reviewed by Darin.
1254
1255         <rdar://problem/5132001>
1256         contextClick is not implemented in DRT on Windows.
1257         
1258         * DumpRenderTree/win/EventSender.cpp:
1259         (contextClickCallback):
1260         Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
1261         by a WM_RBUTTONUP message.
1262         
1263         * DumpRenderTree/win/UIDelegate.cpp:
1264         (UIDelegate::hasCustomMenuImplementation):
1265         (UIDelegate::trackCustomPopupMenu):
1266         * DumpRenderTree/win/UIDelegate.h:
1267         Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
1268         menu from being shown (and causing the DRT to hang).
1269
1270 2007-11-27  Maciej Stachowiak  <mjs@apple.com>
1271
1272         Reviewed by Darin.
1273
1274         Fix DumpRenderTree ObjC bug comparing strings.
1275
1276         * DumpRenderTree/mac/ObjCController.m:
1277         (-[ObjCController identityIsEqual::]): Compare strings with string
1278         equality instead of identiy equality.
1279
1280 2007-11-27  Timothy Hatcher  <timothy@apple.com>
1281
1282         Reviewed by Sam.
1283
1284         Reset the authorAndUserStylesEnabled preference
1285         back to YES for each test. Fixes the broken tests.
1286
1287         * DumpRenderTree/mac/DumpRenderTree.mm:
1288         (resetWebViewToConsistentStateBeforeTesting):
1289
1290 2007-11-27  Kevin McCullough  <kmccullough@apple.com>
1291
1292         Reviewed by Adam.
1293
1294         - Drosera now displays the console window, although it cannot currently
1295         process JavaScript.
1296
1297         * Drosera/win/DebuggerClient.cpp: Shows the console window.
1298         (registerConsoleClass): Implemented.
1299         (consoleWndProc): Implemented.
1300         (DebuggerClient::onSize): Implemented.
1301         (DebuggerClient::createWebViewWithRequest): Implemented, now creates a
1302         new window.
1303         * Drosera/win/DebuggerClient.h: Added needed method and members for 
1304         creating and maintaining a new window.
1305         * Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
1306         lines of code to more appropriate places.
1307         (Drosera::handleCommand):
1308         (Drosera::initUI):
1309         (Drosera::onSize):
1310         (Drosera::attach):
1311
1312 2007-11-27  Timothy Hatcher  <timothy@apple.com>
1313
1314         Reviewed by Dave Hyatt.
1315
1316         <rdar://problem/5569233> Add the ability to disable author and user CSS styles
1317         
1318         Add support for disabling author and user styles for testing.
1319
1320         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1321         * DumpRenderTree/LayoutTestController.cpp:
1322         (setAuthorAndUserStylesEnabledCallback):
1323         (LayoutTestController::staticFunctions):
1324         * DumpRenderTree/LayoutTestController.h:
1325         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1326         (LayoutTestController::setAuthorAndUserStylesEnabled):
1327         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1328         (LayoutTestController::setAuthorAndUserStylesEnabled):
1329
1330 2007-11-26  Dan Bernstein  <mitz@apple.com>
1331
1332         - Tiger build fix.
1333
1334         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1335
1336 2007-11-26  Kevin McCullough  <kmccullough@apple.com>
1337
1338         Reviewed by Maciej.
1339
1340         - Implemented displaying variables for Drosera on Win.
1341
1342         * Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
1343         that retrieve variables to not hold onto the return value since it's
1344         not returned.  Also changed to use the new signatures of the retrieval
1345         functions.
1346         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
1347         (DebuggerDocument::platformValueForScopeVariableNamed):
1348         * Drosera/win/Drosera.cpp: Removed a needless TODO.
1349         (droseraWndProc):
1350
1351 2007-11-26  Sam Weinig  <sam@webkit.org>
1352
1353         Cleanup names of painting and repainting functions.
1354
1355         Reviewed by Adam Roben.
1356
1357         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1358         (drawSelectionRect): was drawSelectionRectIntoContext.
1359         (dumpWebViewAsPixelsAndCompareWithExpected):
1360         * DumpRenderTree/cg/PixelDumpSupportCG.h:
1361         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
1362         (paintWebView): was drawWebViewIntoContext.
1363         (repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
1364
1365 2007-11-26  Sam Weinig  <sam@webkit.org>
1366
1367         Reviewed by Dan Bernstein.
1368
1369         - Leopard build fix
1370
1371         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1372
1373 2007-11-26  Sam Weinig  <sam@webkit.org>
1374
1375         Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
1376         Use shared PixelDumpSupport for Mac DRT
1377
1378         Reviewed by Adam Roben.
1379
1380         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1381         * DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
1382         * DumpRenderTree/cg/ImageDiffCG.cpp:
1383         * DumpRenderTree/cg/PixelDumpSupportCG.cpp:
1384         (drawSelectionRectIntoContext):
1385         (dumpWebViewAsPixelsAndCompareWithExpected):
1386         * DumpRenderTree/cg/PixelDumpSupportCG.h:
1387         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1388         * DumpRenderTree/mac/DumpRenderTree.mm:
1389         (dump):
1390         * DumpRenderTree/mac/ImageDiff.m: Removed.
1391         * DumpRenderTree/mac/PixelDumpSupport.h: Removed.
1392         * DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
1393         * DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
1394         (setDefaultColorProfileToRGB):
1395         (getBitmapContextFromWebView):
1396         (drawWebViewIntoContext):
1397         (repaintWithVerticalSweep):
1398         (repaintWithHorizontalSweep):
1399         (getSelectionRect):
1400         * DumpRenderTree/win/PixelDumpSupport.h: Removed.
1401
1402 2007-11-25  David D. Kilzer  <ddkilzer@webkit.org>
1403
1404         Bug 16052: prepare-ChangeLog doesn't report deleted files
1405         <http://bugs.webkit.org/show_bug.cgi?id=16052>
1406
1407         Reviewed by Sam.
1408
1409         * Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
1410
1411 2007-11-25  David Kilzer  <ddkilzer@webkit.org>
1412
1413         Bug 15864: Replace merge-changelog with resolve-ChangeLogs
1414         <http://bugs.webkit.org/show_bug.cgi?id=15864>
1415
1416         Reviewed by Adam.
1417
1418         Roll functionality of merge-changelog into resolve-ChangeLogs
1419         script.  The script now checks for ChangeLog.rej and
1420         ChangeLog.orig files first.  If it finds them, it uses the
1421         ChangeLog.rej file as a patch (in old contextual diff format) to
1422         apply with --fuzz=3.
1423
1424         * Scripts/merge-changelog: Removed.
1425         * Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
1426
1427 2007-11-25  Sam Weinig  <sam@webkit.org>
1428
1429         Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
1430
1431         Reviewed by Mark Rowe.
1432
1433         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1434         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1435         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
1436         * DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
1437         * DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
1438
1439 2007-11-25  Sam Weinig  <sam@webkit.org>
1440
1441         Convert DumpRenderTree to ues .xcconfig files.
1442
1443         Reviewed by Mark Rowe.
1444
1445         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1446         * DumpRenderTree/mac/Configurations: Added.
1447         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
1448         * DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
1449         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
1450
1451 2007-11-25  Sam Weinig  <sam@webkit.org>
1452
1453         Add ForwardingHeaders to wtf for DumpRenderTree.
1454
1455         Reviewed by Mark Rowe.
1456
1457         * DumpRenderTree/DumpRenderTree.h:
1458         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1459         * DumpRenderTree/ForwardingHeaders: Added.
1460         * DumpRenderTree/ForwardingHeaders/wtf: Added.
1461         * DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
1462         * DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
1463         * DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
1464         * DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
1465         * DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
1466         * DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
1467         * DumpRenderTree/LayoutTestController.cpp:
1468         * DumpRenderTree/WorkQueue.cpp:
1469         * DumpRenderTree/mac/DumpRenderTree.mm:
1470         * DumpRenderTree/mac/FrameLoadDelegate.mm:
1471         * DumpRenderTree/mac/JavaScriptThreading.cpp:
1472         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
1473         * DumpRenderTree/mac/ObjCController.m:
1474         * DumpRenderTree/mac/UIDelegate.mm:
1475         * DumpRenderTree/mac/WorkQueueItemMac.mm:
1476
1477 2007-11-25  Adam Roben  <aroben@apple.com>
1478
1479         Fix some test failures caused by r28019
1480
1481         Now that stdout is in binary mode, we need to always use printf
1482         instead of wprintf. Otherwise we'll end up with UTF-16 characters in
1483         the output.
1484
1485         Reviewed by Sam.
1486
1487         * DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
1488         printf.
1489         (UIDelegate::runJavaScriptAlertPanelWithMessage):
1490         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
1491         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
1492         (UIDelegate::webViewAddMessageToConsole):
1493
1494 2007-11-25  Adam Roben  <aroben@apple.com>
1495
1496         Set the font smoothing preference in DRT
1497
1498         This makes the pixel results on Windows closer to the Mac results.
1499
1500         Reviewed by Mitz.
1501
1502         * DumpRenderTree/win/DumpRenderTree.cpp:
1503         (initializePreferences):
1504
1505 2007-11-25  Adam Roben  <aroben@apple.com>
1506
1507         Port ImageDiff to CG and C++
1508
1509         Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
1510         <rdar://5071708>
1511
1512         Reviewed by Sam.
1513
1514         * DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
1515         * DumpRenderTree/cg/ImageDiffCG.cpp: Added.
1516         (main):
1517         (createImageFromStdin):
1518         (compareImages):
1519         (getDifferenceBitmap):
1520         (computePercentageDifferent):
1521         * DumpRenderTree/win/ImageDiff.vcproj: Added.
1522
1523 2007-11-25  Adam Roben  <aroben@apple.com>
1524
1525         Fix image diff link generation on Windows
1526
1527         Reviewed by Sam.
1528
1529         * Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
1530         to toURL.
1531
1532 2007-11-25  Adam Roben  <aroben@apple.com>
1533
1534         Implement pixel dumping in Windows DRT
1535
1536         Part of http://bugs.webkit.org/show_bug.cgi?id=16133
1537         <rdar://5071708>
1538
1539         Reviewed by Sam.
1540
1541         * DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
1542         (printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
1543         Content-Length header.
1544         (getMD5HashStringForBitmap):
1545         (dumpWebViewAsPixelsAndCompareWithExpected):
1546         * DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
1547         * DumpRenderTree/win/DumpRenderTree.cpp:
1548         (dump): Do a pixel dump if requested.
1549         (main): Parse pixel test options.
1550         * DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
1551         the cg/ subdirectory to the include path.
1552         * DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
1553         available in a header or import library, so we have to go through this
1554         LoadLibrary/GetProcAddress dance to use them.
1555         (cryptDLL):
1556         (init):
1557         (update):
1558         (final):
1559         (MD5_Init):
1560         (MD5_Update):
1561         (MD5_Final):
1562         * DumpRenderTree/win/MD5.h: Added.
1563         * DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
1564         moved up to the top level to share it with Mac eventually.
1565         * DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
1566         (getBitmapContextFromWebView): Forces the WebView to paint using a
1567         WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
1568
1569 2007-11-25  Adam Roben  <aroben@apple.com>
1570
1571         Clean up Windows DRT's option parsing a little bit
1572
1573         Reviewed by Sam.
1574
1575         * DumpRenderTree/win/DumpRenderTree.cpp:
1576         (main): Put non-option arguments into a Vector.
1577
1578 2007-11-25  Adam Roben  <aroben@apple.com>
1579
1580         Make Windows DRT stop changing LF into CRLF
1581
1582         Reviewed by Sam.
1583
1584         * DumpRenderTree/win/DumpRenderTree.cpp:
1585         (main): Put stdout in binary mode.
1586         * Scripts/run-webkit-tests: Remove the CRLF hack.
1587
1588 2007-11-24  David Kilzer  <ddkilzer@webkit.org>
1589
1590         Removed empty directory.
1591
1592         * Scripts/resources: Removed.
1593
1594 2007-11-23  David D. Kilzer  <ddkilzer@webkit.org>
1595
1596         Fix bisect-builds to work with recent WebKit nightly builds.
1597
1598         Reviewed by Dan.
1599
1600         * Scripts/bisect-builds: Check for the 
1601         WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
1602         it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
1603         to WebKit.app/Contents/Resources.
1604
1605 2007-11-23  Alexey Proskuryakov  <ap@webkit.org>
1606
1607         Reviewed by Maciej.
1608
1609         <rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
1610         not closed (affects digg.com)
1611
1612         * DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
1613         one after finishing with a test to avoid having its delayed onload handler firing when
1614         replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
1615         but it helps somewhat.
1616
1617 2007-11-22  Mark Rowe  <mrowe@apple.com>
1618
1619         Reviewed by Alp Toker.
1620
1621         Fix build-webkit to propagate make's exit status if it fails.
1622
1623         * Scripts/webkitdirs.pm:
1624
1625 2007-11-22  Dan Bernstein  <mitz@apple.com>
1626
1627         Reviewed by Mark Rowe.
1628
1629         - fix crash when running pixel tests
1630
1631         * DumpRenderTree/mac/DumpRenderTree.mm:
1632         (dumpRenderTree): Parse the command line options before setting up the
1633         environment so that we know if we need to set up the pixel dump
1634         machinery.
1635
1636 2007-11-21  Eric Seidel  <eric@webkit.org>
1637
1638         Speculative build fix for Tiger.
1639
1640         * DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
1641
1642 2007-11-21  Eric Seidel  <eric@webkit.org>
1643
1644         Reviewed by Tim Hatcher.
1645
1646         Break out more of DumpRenderTree.mm into individual files
1647
1648         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1649         * DumpRenderTree/mac/CheckedMalloc.cpp: Added.
1650         (checkedMalloc):
1651         (checkedRealloc):
1652         (makeLargeMallocFailSilently):
1653         * DumpRenderTree/mac/CheckedMalloc.h: Added.
1654         * DumpRenderTree/mac/DumpRenderTree.mm:
1655         (crashHandler):
1656         (dump):
1657         * DumpRenderTree/mac/DumpRenderTreeMac.h:
1658         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
1659         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
1660         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
1661         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
1662         * DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
1663         (javaScriptThreads):
1664         (runJavaScriptThread):
1665         (startJavaScriptThreads):
1666         (stopJavaScriptThreads):
1667         * DumpRenderTree/mac/JavaScriptThreading.h: Added.
1668         * DumpRenderTree/mac/PixelDumpSupport.h: Added.
1669         * DumpRenderTree/mac/PixelDumpSupport.mm: Added.
1670         (restoreColorSpace):
1671         (setDefaultColorProfileToRGB):
1672         (initializeColorSpaceAndScreeBufferForPixelTests):
1673         (md5HashStringForBitmap):
1674         (dumpWebViewAsPixelsAndCompareWithExpected):
1675
1676 2007-11-21  Kevin Ollivier  <kevino@theolliviers.com>
1677
1678         Move install-unix-extras to wx directory as it seems only to be used by that 
1679         port now. It now supports universal binaries on Mac and adds libpng and libjpeg. 
1680         Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
1681         have install-unix-extras install into WebKitLibraries as per
1682         convention.
1683         
1684         Reviewed by Mark Rowe.
1685
1686         * Scripts/install-unix-extras: Removed.
1687         * wx/build-wxwebkit:
1688         * wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
1689
1690 2007-11-21  Eric Seidel  <eric@webkit.org>
1691
1692         Reviewed by Adam.
1693
1694         More refactoring for greater code readability
1695
1696         * DumpRenderTree/mac/DumpRenderTree.mm:
1697         (initializeGlobalsFromCommandLineOptions):
1698         (initializeColorSpaceAndScreeBufferForPixelTests):
1699         (addTestPluginsToPluginSearchPath):
1700         (useLongRunningServerMode):
1701         (runTestingServerLoop):
1702         (prepareConsistentTestingEnvironment):
1703         (dumpRenderTree):
1704         (main):
1705         (dumpFramesAsText):
1706         (dumpBackForwardListForWebView):
1707         (sizeWebViewForCurrentTest):
1708         (methodNameStringForFailedTest):
1709         (dumpBackForwardListForAllWindows):
1710         (dumpWebViewAsPixelsAndCompareWithExpected):
1711         (invalidateAnyPreviousWaitToDumpWatchdog):
1712         (dump):
1713         * DumpRenderTree/mac/DumpRenderTreeMac.h:
1714         * DumpRenderTree/mac/UIDelegate.mm:
1715         (-[UIDelegate webView:createWebViewWithRequest:]):
1716
1717 2007-11-21  Eric Seidel  <eric@webkit.org>
1718
1719         Reviewed by Tim Hatcher.
1720
1721         Abstract more of DRT into static methods
1722
1723         * DumpRenderTree/mac/DumpRenderTree.mm:
1724         (setDefaultsToConsistentValuesForTesting):
1725         (setupSignalHandlers):
1726         (allocateGlobalControllers):
1727         (releaseAndZero):
1728         (releaseGlobalControllers):
1729         (dumpRenderTree):
1730         (shouldLogFrameLoadDelegates):
1731         (createCFURLFromPathOrURL):
1732         (resetWebViewToConsistentStateBeforeTesting):
1733         (runTest):
1734
1735 2007-11-21  Eric Seidel  <eric@webkit.org>
1736
1737         Reviewed by Tim Hatcher.
1738
1739         Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
1740
1741         * DumpRenderTree/DumpRenderTree.h:
1742         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1743         * DumpRenderTree/mac/DumpRenderTree.mm:
1744         (dumpRenderTree):
1745         (dump):
1746         (runTest):
1747         * DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
1748         * DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
1749         (+[DumpRenderTreePasteboard _pasteboardWithName:]):
1750         (+[DumpRenderTreePasteboard releaseLocalPasteboards]):
1751         (-[DumpRenderTreePasteboard declareType:owner:]):
1752         (+[LocalPasteboard alloc]):
1753         (-[LocalPasteboard init]):
1754         (-[LocalPasteboard dealloc]):
1755         (-[LocalPasteboard name]):
1756         (-[LocalPasteboard releaseGlobally]):
1757         (-[LocalPasteboard declareTypes:owner:]):
1758         (-[LocalPasteboard addTypes:owner:]):
1759         (-[LocalPasteboard changeCount]):
1760         (-[LocalPasteboard types]):
1761         (-[LocalPasteboard availableTypeFromArray:]):
1762         (-[LocalPasteboard setData:forType:]):
1763         (-[LocalPasteboard dataForType:]):
1764         (-[LocalPasteboard setPropertyList:forType:]):
1765         (-[LocalPasteboard setString:forType:]):
1766         * DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
1767         * DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
1768         (+[DumpRenderTreeWindow allWindows]):
1769         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
1770         (-[DumpRenderTreeWindow dealloc]):
1771         (-[DumpRenderTreeWindow isKeyWindow]):
1772         (-[DumpRenderTreeWindow keyDown:]):
1773
1774 2007-11-20  Kevin Ollivier  <kevino@theolliviers.com>
1775
1776         wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
1777         it indiscriminately copies any headers inside JavaScriptCore,
1778         which includes Tiger ICU headers. 
1779
1780         * wx/build-wxwebkit:
1781         Don't run WebCore/move-js-headers.sh any longer.
1782
1783 2007-11-20  Adam Treat  <treat@kde.org>
1784
1785         Reviewed by David Kilzer.
1786
1787         * Prepend git branch name to $baseProductDir
1788
1789         * Scripts/VCSUtils.pm:
1790         * Scripts/webkitdirs.pm:
1791
1792 2007-11-20  Mark Rowe  <mrowe@apple.com>
1793
1794         Reviewed by Simon Hausmann.
1795
1796         * Scripts/build-webkit:  Pass "clean" flag down into buildQMakeProject.
1797         * Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
1798         Have it trigger a "make distclean" rather than "make clean" to ensure that the
1799         built product and generated Makefile's are removed.
1800
1801 2007-11-19  Alp Toker  <alp@atoker.com>
1802
1803         Reviewed by Mark Rowe.
1804
1805         http://bugs.webkit.org/show_bug.cgi?id=16040
1806         [GTK] GtkLauncher should be written in C
1807
1808         Port GtkLauncher to plain C.
1809
1810         Use a more conventional GTK+ coding style.
1811
1812         Use a toolbar instead of menus.
1813
1814         Various signature fixes and cleanups.
1815
1816         Add a license header. Assume all previous modifications were copyright
1817         assigned to Apple Inc. by default.
1818
1819         * GtkLauncher/GtkLauncher.pro:
1820         * GtkLauncher/main.c: Added.
1821         (activate_url_entry_cb):
1822         (update_title):
1823         (link_hover_cb):
1824         (title_change_cb):
1825         (progress_change_cb):
1826         (destroy_cb):
1827         (go_back_cb):
1828         (go_forward_cb):
1829         (create_browser):
1830         (create_statusbar):
1831         (create_toolbar):
1832         (create_window):
1833         (main):
1834         * GtkLauncher/main.cpp: Removed.
1835
1836 2007-11-19  Kevin Ollivier  <kevino@theolliviers.com>
1837
1838         Build script fixes to ensure they do the right thing for the 
1839         wx port, and update build-wxwebkit to reflect the way the
1840         build scripts now work.
1841
1842         Reviewed by Adam.
1843
1844         * Scripts/build-testkjs:
1845         * Scripts/build-webkit:
1846         * Scripts/run-javascriptcore-tests:
1847         * Scripts/webkitdirs.pm:
1848         * wx/build-wxwebkit:
1849
1850 2007-11-18  Eric Seidel  <eric@webkit.org>
1851
1852         Reviewed by Anders.
1853
1854         Make run-javascriptcore-tests report failures on exit (to support git bisect)
1855
1856         * Scripts/run-javascriptcore-tests:
1857
1858 2007-11-18  Alexey Proskuryakov  <ap@webkit.org>
1859
1860         Reviewed by Adam Roben.
1861
1862         Make run-webkit-tests work with Windows debug build.
1863
1864         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
1865         * DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
1866         as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
1867         symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
1868         and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
1869
1870 2007-11-18  Kevin Ollivier  <kevino@theolliviers.com>
1871
1872         Add wxWebKit sample and build script, and integrate it with 
1873         build-webkit. Also make build-webkit --clean work for all
1874         ports.
1875
1876         Reviewed by Darin Adler.
1877
1878         * Scripts/build-webkit:
1879         * Scripts/webkitdirs.pm:
1880         * wx: Added.
1881         * wx/browser: Added.
1882         * wx/browser/browser.bkl: Added.
1883         * wx/browser/browser.cpp: Added.
1884         * wx/build-wxwebkit: Added.
1885
1886 2007-11-17  Adam Roben  <aroben@apple.com>
1887
1888         Make it easy to run Safari in the debugger on Windows
1889
1890         I've added a new script, debug-safari, which launches Safari in the
1891         debugger. On OS X it just calls gdb-safari.
1892
1893         Reviewed by Mark Rowe.
1894
1895         * FindSafari/FindSafari.cpp:
1896         (_tmain): Added a /debugger flag, which in combination with
1897         /printSafariLauncher will print a script that launches Safari in the
1898         debugger.
1899         * Scripts/debug-safari: Added.
1900         * Scripts/run-safari: Changed to call runSafari().
1901         * Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
1902         vsvars32.bat, which will let us find VS/VC++ Express, and passes the
1903         first argument along to FindSafari.
1904         * Scripts/webkitdirs.pm:
1905         (sub runSafari): Added.
1906
1907 2007-11-16  Alexey Proskuryakov  <ap@webkit.org>
1908
1909         Reviewed by Adam Roben.
1910
1911         * Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined. 
1912
1913 2007-11-16  Ryan Leavengood  <leavengood@gmail.com>
1914
1915         Reviewed by David Kilzer.
1916
1917         The git config command was renamed to repo-config at some point. This
1918         change tries git config and then git repo-config if the first fails.
1919
1920         * Scripts/prepare-ChangeLog:
1921         (gitConfig):
1922
1923 2007-11-16  Dan Bernstein  <mitz@apple.com>
1924
1925         Reviewed by Darin Adler and Sam Weinig.
1926
1927         - fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
1928
1929         * DumpRenderTree/win/EventSender.cpp:
1930         (keyDownCallback): For characters that cannot be entered on the active
1931         keyboard layout, send a WM_CHAR message with the character along with
1932         a WM_KEYDOWN message with a virtual key code of 255.
1933
1934 2007-11-16  Mark Rowe  <mrowe@apple.com>
1935
1936         Reviewed by Tim Hatcher.
1937
1938         Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
1939
1940         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
1941         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1942
1943 2007-11-15  Adam Roben  <aroben@apple.com>
1944
1945         Make run-safari actually work on Windows
1946
1947         * Scripts/run-safari: Fixed the order of arguments to cp, and added a
1948         chdir call.
1949
1950 2007-11-14  Adam Roben  <aroben@apple.com>
1951
1952         Updates to Safari launching now that 3.0.4 is released
1953
1954         Reviewed by Sam.
1955
1956         * FindSafari/FindSafari.cpp:
1957         (getWebViewCLSID): Use version-independent ProgID.
1958         * Scripts/run-safari: Use run-webkit-nightly.cmd.
1959
1960 2007-11-14  Anders Carlsson  <andersca@apple.com>
1961
1962         Reviewed by Adam.
1963
1964         <rdar://problem/5309081>
1965         In DRT, "plugin.logDestroy = true" not working on Windows.
1966         
1967         * DumpRenderTree/win/TestNetscapePlugin/main.c:
1968         (NPP_Destroy):
1969
1970 2007-11-14  Eric Seidel  <eric@webkit.org>
1971
1972         Reviewed by Sam.
1973
1974         * Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
1975
1976 2007-11-14  Anders Carlsson  <andersca@apple.com>
1977
1978         Reviewed by Adam.
1979
1980         <rdar://problem/5141186>
1981         window.layoutTestController.setWindowIsKey is not implemented in DRT.
1982         
1983         Implement setWindowIsKey.
1984         
1985         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
1986         (LayoutTestController::setWindowIsKey):
1987
1988 2007-11-13  Sam Weinig  <sam@webkit.org>
1989
1990         Reviewed by Adam Roben.
1991
1992         Fix for <rdar://problem/5382579>
1993         http/tests/security/cross-frame-access-put.html reports large 
1994         negative numbers for screenLeft and screenTop (Mac reports "0")
1995
1996         * DumpRenderTree/win/UIDelegate.cpp:
1997         (UIDelegate::UIDelegate): Initialize the RECT.
1998         (UIDelegate::setFrame): copy the contents of the rect, not the pointer.
1999         (UIDelegate::webViewFrame): ditto.
2000         * DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
2001
2002 2007-11-13  Kevin McCullough  <kmccullough@apple.com>
2003
2004         Reviewed by Adam.
2005
2006         - Make Drosera show source, source URLs, and function stack on Windows,
2007         and some minor fixes.
2008
2009         * Drosera/DebuggerDocument.cpp: Force source to always update display.
2010         (DebuggerDocument::updateFileSource):
2011         * Drosera/debugger.js: Force source to always update display.
2012         * Drosera/win/DebuggerClient.cpp: Create the needed functions for the
2013         menu controls.
2014         (DebuggerClient::resume):
2015         (DebuggerClient::pause):
2016         (DebuggerClient::stepInto):
2017         (DebuggerClient::stepOver):
2018         (DebuggerClient::stepOut):
2019         (DebuggerClient::showConsole):
2020         (DebuggerClient::closeCurrentFile):
2021         * Drosera/win/DebuggerClient.h: Ditto.
2022         * Drosera/win/DebuggerDocumentPlatform.cpp: Changed
2023         getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
2024         removed two bugs.  1) caller could be in a bad state when asked to
2025         assign into it. 2) BSTRs were not created correctly.
2026         (DebuggerDocument::getPlatformCurrentFunctionStack):
2027         * Drosera/win/Drosera.cpp: Hook up the menu controls.
2028         (droseraWndProc):
2029         (handleCommand):
2030         (Drosera::resume):
2031         (Drosera::pause):
2032         (Drosera::stepInto):
2033         (Drosera::stepOver):
2034         (Drosera::stepOut):
2035         (Drosera::showConsole):
2036         (Drosera::closeCurrentFile):
2037         * Drosera/win/Drosera.h: Hook up the menu controls.
2038         * Drosera/win/ServerConnection.cpp: Removed unncessary server connection
2039         functions, added a null check, and fixed another bug where caller could
2040         be in a bad state when asked to assign into it.
2041         (ServerConnection::didLoadMainResourceForDataSource):
2042         (ServerConnection::getCallerFrame):
2043         * Drosera/win/ServerConnection.h: Safety first.
2044
2045 2007-11-13  Dan Bernstein  <mitz@apple.com>
2046
2047         Reviewed by Darin Adler.
2048
2049         - fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
2050           DumpRenderTree --pixel-tests renders each test twice
2051
2052         * DumpRenderTree/mac/DumpRenderTree.mm:
2053         (dumpRenderTree): Removed the --paint option because the painting code
2054         is always exercised as a result of
2055         -[FrameLoadDelegate webView:didFinishLoadFromFrame:]
2056         calling -displayIfNeeded.
2057         (dump): Changed to always grab the image from the window since the view
2058         is always displayed.
2059         (runTest):
2060         (displayWebView):
2061         * Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
2062         because it always paints.
2063
2064 2007-11-12  Antti Koivisto  <antti@apple.com>
2065
2066         Reviewed by Adele.
2067         
2068         Add support for http media tests
2069
2070         * Scripts/run-webkit-tests:
2071
2072 2007-11-12  Sam Weinig  <sam@webkit.org>
2073
2074         Reviewed by Adam Roben.
2075
2076         Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
2077
2078         * DumpRenderTree/win/DumpRenderTree.cpp:
2079         (runTest):
2080         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2081         (LayoutTestController::setPrivateBrowsingEnabled):
2082
2083 2007-11-12  Adam Roben  <aroben@apple.com>
2084
2085         * Scripts/update-webkit-localizable-strings: Changed to only scan the
2086         mac and win subdirectories.
2087
2088 2007-11-11  Adam Roben  <aroben@apple.com>
2089
2090         Fix <rdar://5133816> keepWebHistory is not implemented
2091
2092         Fixes fast/history/clicked-link-is-visited.html.
2093
2094         Reviewed by Darin.
2095
2096         * DumpRenderTree/win/DumpRenderTree.cpp:
2097         (runTest): Clear the optionalSharedHistory.
2098         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2099         (LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
2100
2101 2007-11-10  Sam Weinig  <sam@webkit.org>
2102
2103         Reviewed by Tim Hatcher.
2104
2105         Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript 
2106         attempts when in private browsing mode (only an issue if Log JavaScript Exceptions 
2107         is turned on)
2108
2109         - Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
2110
2111         Added test: http/tests/security/cross-frame-access-private-browsing.html
2112
2113         * DumpRenderTree/LayoutTestController.cpp:
2114         (setPrivateBrowsingEnabledCallback):
2115         (LayoutTestController::staticFunctions):
2116         * DumpRenderTree/LayoutTestController.h:
2117         * DumpRenderTree/mac/DumpRenderTree.mm:
2118         (runTest): Default to private browsing disabled.
2119         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2120         (LayoutTestController::setPrivateBrowsingEnabled):
2121         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2122         (LayoutTestController::setPrivateBrowsingEnabled):
2123
2124 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
2125
2126         Reviewed by Adam.
2127
2128         - Changed the vcproj file to use Drosera's ForwardingHeaders and not
2129         WebCore's!
2130
2131         * Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
2132         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
2133         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
2134         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
2135         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
2136         * Drosera/win/Drosera.cpp:
2137         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2138
2139 2007-11-08  Kevin McCullough  <kmccullough@apple.com>
2140
2141         Reviewed by Sam.
2142
2143         - Use the new IWebFrame [local] function signature and get the shared
2144         server correctly.
2145
2146         * Drosera/win/DebuggerClient.cpp:
2147         (DebuggerClient::didFinishLoadForFrame):
2148         * Drosera/win/ServerConnection.cpp:
2149         (ServerConnection::attemptToCreateServerConnection):
2150
2151 2007-11-07  Dan Bernstein  <mitz@apple.com>
2152
2153         Reviewed by Darin Adler.
2154
2155         - add an option to run-webkit-tests to ignore pixel test failures where
2156           all pixels differ by no more than a specified threshold
2157
2158         * DumpRenderTree/mac/ImageDiff.m:
2159         (main):
2160         (compareImages):
2161         (computePercentageDifferent):
2162         * Scripts/run-webkit-tests:
2163
2164 2007-11-07  Simon Hausmann  <hausmann@kde.org>
2165
2166         Reviewed by Lars.
2167
2168         Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
2169
2170         * DumpRenderTree/qt/DumpRenderTree.cpp:
2171
2172 2007-11-07  Simon Hausmann  <hausmann@kde.org>
2173
2174         Reviewed by Lars.
2175
2176         Reworked the QWebSettings API.
2177         QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
2178
2179         * DumpRenderTree/qt/DumpRenderTree.cpp:
2180
2181 2007-11-07  Simon Hausmann  <hausmann@kde.org>
2182
2183         Reviewed by Lars.
2184
2185         Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
2186
2187         * DumpRenderTree/qt/jsobjects.cpp:
2188
2189 2007-11-07  Simon Hausmann  <hausmann@kde.org>
2190
2191         Reviewed by Lars Knoll <lars@trolltech.com>.
2192
2193         Add a QWebPage::frameCreated() signal and fix DRT
2194         
2195         The removal of createFrame in QWebPage broke the re-implementation
2196         in DumpRenderTree. Instead emit a frameCreated() signal and
2197         connect to it in DumpRenderTree.
2198         
2199
2200         * DumpRenderTree/qt/DumpRenderTree.cpp:
2201         (WebCore::WebPage::WebPage):
2202         (WebCore::DumpRenderTree::dump):
2203         (WebCore::DumpRenderTree::connectFrame):
2204         * DumpRenderTree/qt/DumpRenderTree.h:
2205
2206 2007-11-07  Simon Hausmann  <hausmann@kde.org>
2207
2208         Reviewed by Lars Knoll <lars@trolltech.com>.
2209
2210         Moved all the event handlers from QWebFrame into QWebPage.
2211         
2212         This cleans up the public API and allows us to remove the
2213         HackWebFrame hack in DumpRenderTree.
2214         
2215
2216         * DumpRenderTree/qt/jsobjects.cpp:
2217         (EventSender::mouseDown):
2218         (EventSender::mouseUp):
2219         (EventSender::mouseMoveTo):
2220
2221 2007-11-07  Simon Hausmann  <hausmann@kde.org>
2222
2223         Reviewed by Mark.
2224
2225         Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
2226         to prevent the default implementation from popping up messageboxes.
2227
2228         * DumpRenderTree/qt/DumpRenderTree.cpp:
2229         (WebCore::WebPage::javaScriptConfirm):
2230         (WebCore::WebPage::javaScriptPrompt):
2231
2232 2007-11-06  Eric Seidel  <eric@webkit.org>
2233
2234         * Scripts/build-testkjs: build fix... too many $$
2235
2236 2007-11-06  Eric Seidel  <eric@webkit.org>
2237
2238         Reviewed by Mark Rowe.
2239
2240         * Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
2241
2242 2007-11-05  Adam Roben  <aroben@apple.com>
2243
2244         Add support on Windows for WEBKIT_TESTFONTS
2245
2246         This environment variable lets you specify where the fonts to be used
2247         by DumpRenderTree reside. The Qt port is already using this, so I'm
2248         just following their lead.
2249
2250         Reviewed by Darin.
2251
2252         * DumpRenderTree/win/DumpRenderTree.cpp:
2253         (exePath): Refactored code out of initialize().
2254         (fontsPath): Returns either $WEBKIT_TESTFONTS or
2255         DumpRenderTree.resources.
2256         (initialize): Use the new fontsPath function.
2257         (main): Use the new exePath function.
2258         * Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
2259         variable to DRT, like Qt does.
2260
2261 2007-11-05  Mark Rowe  <mrowe@apple.com>
2262
2263         Rubber-stamped by Alp Toker.
2264
2265         Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
2266
2267         * GtkLauncher/main.cpp:
2268         (goToURLBarText):
2269         (main):
2270
2271 2007-11-04  David D. Kilzer  <ddkilzer@webkit.org>
2272
2273         bisect-builds doesn't work with nightly build r19992 or newer on Leopard
2274         <http://bugs.webkit.org/show_bug.cgi?id=15830>
2275
2276         Reviewed by Timothy.
2277
2278         Restrict the range of nightly builds used by the bisect-builds script
2279         based on the version of Safari and the version of Mac OS X being used.
2280
2281         Mac OS X 10.4: Safari 2.0: r11976 or newer
2282         Mac OS X 10.4: Safari 3.0: r19992 or newer
2283
2284         Mac OS X 10.5: Safari 2.0: r19594 or newer
2285         Mac OS X 10.5: Safari 3.0: r25124 or newer
2286
2287         * Scripts/bisect-builds:
2288         (findMacOSXVersion): Added.
2289         (makeNightlyList): Added argument to provide version of Mac OS X.
2290         Restrict range of nightly builds based on Safari and Mac OS X versions.
2291
2292 2007-11-04  Kevin McCullough  <kmccullough@apple.com>
2293
2294         Reviewed by Maciej.
2295
2296         - This patch involves several changes, all of them were noticed that
2297         they were needed by the work being done in WebKit to get Drosera and
2298         WebKit working together on Windows.
2299         - The changes are:
2300         1) Added a debugger console for output messages.
2301         2) Drosera now listens for the WebKit server (before, the server would
2302         have to be running before Drosera was started.)
2303         3) Fixed a bug where the WebView started out as 0x0 pixels.
2304         4) Fixed a bug when there is no scope.
2305         5) Added the HTML, JS, and CSS to the project file to make them easy to
2306         find.
2307         6) Made the ServerConnection functions virtual.
2308
2309         * Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
2310         for the WebKit server.
2311         (DebuggerClient::DebuggerClient):
2312         (DebuggerClient::~DebuggerClient):
2313         (DebuggerClient::didFinishLoadForFrame):
2314         (DebuggerClient::serverConnected):
2315         (DebuggerClient::attemptToCreateServerConnection):
2316         * Drosera/win/DebuggerClient.h: Ditto.
2317         * Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
2318         scope.
2319         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2320         (DebuggerDocument::platformValueForScopeVariableNamed):
2321         * Drosera/win/Drosera.cpp:
2322         (_tWinMain): Added a console in debug for output messages.
2323         (Drosera::Drosera): Listen for server.
2324         (Drosera::initUI): The server now Initializes COM.
2325         (Drosera::serverConnected): Part of the listening for the server.
2326         (Drosera::attemptToCreateServerConnection): Ditto.
2327         * Drosera/win/Drosera.h: New interface for listening for the server.
2328         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
2329         files to the VS project.
2330         * Drosera/win/ServerConnection.cpp: Part of listening for the server
2331         connection.
2332         (ServerConnection::ServerConnection):
2333         (ServerConnection::attemptToCreateServerConnection):
2334         * Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
2335         methods.
2336         (ServerConnection::serverConnected):
2337
2338 2007-11-04  Alexey Proskuryakov  <ap@webkit.org>
2339
2340         Reviewed by Maciej.
2341
2342         http://bugs.webkit.org/show_bug.cgi?id=15832
2343         fast/dom/gc-10.html crashes when run alone
2344
2345         Check for !done before using objects that can be already deallocated.
2346
2347         * DumpRenderTree/mac/EditingDelegate.mm:
2348         (-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
2349         (-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
2350         (-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
2351         (-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
2352         (-[EditingDelegate webView:shouldDeleteDOMRange:]):
2353         (-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
2354         (-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
2355         (-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
2356         (-[EditingDelegate webViewDidBeginEditing:]):
2357         (-[EditingDelegate webViewDidChange:]):
2358         (-[EditingDelegate webViewDidEndEditing:]):
2359         (-[EditingDelegate webViewDidChangeTypingStyle:]):
2360         (-[EditingDelegate webViewDidChangeSelection:]):
2361         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2362         (-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
2363         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2364         (-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2365         (-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2366         (-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
2367         (-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
2368         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2369         (-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
2370         (-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
2371         (-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
2372         (-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
2373         (-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
2374         (-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
2375         (-[FrameLoadDelegate webView:willCloseFrame:]):
2376         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2377         (-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
2378         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
2379         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2380         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2381         (-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
2382         (-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
2383         (-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
2384         (-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2385
2386 2007-11-04  Mark Rowe  <mrowe@apple.com>
2387
2388         Build fix.  Don't use Carbon.h as the prefix header as it triggers
2389         warnings that would otherwise be suppressed due to it being a system header.
2390
2391         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2392
2393 2007-11-03  Maciej Stachowiak  <mjs@apple.com>
2394
2395         Rubber stamped by Adam.
2396         
2397         - Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
2398
2399         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2400
2401 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
2402
2403         Sort files(...); sections of Xcode project files.
2404
2405         Rubber-stamped by Darin.
2406
2407         * DrawTest/DrawTest.xcodeproj/project.pbxproj:
2408         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2409         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2410         * WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2411
2412 2007-11-03  David D. Kilzer  <ddkilzer@webkit.org>
2413
2414         Script to sort "files(...);" sections in Xcode project.pbxproj files.
2415
2416         Reviewed by Darin.
2417
2418         * Scripts/sort-Xcode-project-file: Added.
2419
2420 2007-11-02  Darin Adler  <darin@apple.com>
2421
2422         * Scripts/run-sunspider: Changed "--base" to "--set-baseline".
2423
2424 2007-11-02  Darin Adler  <darin@apple.com>
2425
2426         Reviewed by Maciej.
2427
2428         * Scripts/run-sunspider: Pass the "--base" option through.
2429
2430         * Scripts/sunspider-compare-results: Don't check the number of parameters; let
2431         the real script do that. Default configuration to Release to match run-sunspider
2432         so we don't end up building Debug just to compare results.
2433
2434 2007-11-01  Adam Roben  <aroben@apple.com>
2435
2436         Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
2437
2438         Reviewed by Sam.
2439
2440         * Scripts/commit-log-editor: Show all the directories beneath the
2441         source root, instead of just the last one.
2442
2443 2007-11-01  Kevin Ollivier  <kevino@theolliviers.com>
2444
2445         Reviewed by Adam Roben.
2446
2447         Print out an error message when the Windows build fails
2448         and provide guidance on how to find out what went wrong.
2449
2450         * Scripts/build-webkit:
2451         * Scripts/webkitdirs.pm:
2452
2453 2007-11-01  Alexey Proskuryakov  <ap@webkit.org>
2454
2455         Rubber-stamped by Adam Roben.
2456
2457         Rolled out r27326 - debug CRT seems to cause no problems after all.
2458
2459         * DumpRenderTree/win/DumpRenderTree.vcproj:
2460
2461 2007-10-31  Adam Roben  <aroben@apple.com>
2462
2463         Switch the Debug configuration to using the non-debug CRT
2464
2465         This matches WebKit.
2466
2467         Reviewed by Steve.
2468
2469         * DumpRenderTree/win/DumpRenderTree.vcproj:
2470
2471 2007-10-31  Antti Koivisto  <antti@apple.com>
2472
2473         Reviewed by bdash.
2474         
2475         Disable media tests when doing leak checking on Tiger.
2476         They crash in QuickTime (rdar://problem/5537157).
2477
2478         * Scripts/run-webkit-tests:
2479
2480 2007-10-29  Antti Koivisto  <antti@apple.com>
2481
2482         Reviewed by Maciej.
2483         
2484         Build media support by default on OSX only.
2485
2486         * Scripts/build-webkit:
2487
2488 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
2489
2490         - Made Adam the reviewer for a previous checkin. Not sure how it didn't
2491         get caught by the pre-commit hooks.
2492
2493 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
2494
2495         Reviewed by Adam.
2496
2497         - This is a collection of relatively unrelated changes and cleanups
2498         to Drosera to prepare it for interacting with WebKit.  A lot of these
2499         changes are just correcting mistakes, for example removing included
2500         headers that are no longer needed.
2501
2502         * Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
2503         this will be needed by the DebuggerClient.
2504         (DebuggerDocument::server):
2505         * Drosera/win/BaseDelegate.h: Removed unnecessary include.
2506         * Drosera/win/DebuggerClient.cpp: 
2507         (DebuggerClient::didFinishLoadForFrame): Finished implementing.
2508         (DebuggerClient::didReceiveTitle): Added comment about its purpose.
2509         (DebuggerClient::createWebViewWithRequest): Added comment about its
2510         purpose. 
2511         * Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
2512         declarations.
2513         (DebuggerClient::webViewLoaded): Moved.
2514         * Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
2515         file, since this was the only place it was used.
2516         (cfStringToBSTR):
2517         * Drosera/win/Drosera.h: Cleaned up the includes.
2518         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
2519         * Drosera/win/HelperFunctions.h: Removed.
2520
2521 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
2522
2523         Reviewed by Adam.
2524
2525         - Small cleanup in the ServerConnection class.
2526
2527         * Drosera/win/ServerConnection.cpp: Added comments, moved some functions
2528         and added an include.
2529         (ServerConnection::currentFrame):
2530         (ServerConnection::getCallerFrame):
2531         * Drosera/win/ServerConnection.h: Added comments, moved some functions,
2532         made a pointer into a COMPtr, and cleaned up the includes.
2533
2534 2007-10-29  Timothy Hatcher  <timothy@apple.com>
2535
2536         Reviewed by John Sullivan.
2537         
2538         - Place the Localizable.strings file in mac or win directories
2539           if that location exists.
2540         - Also look for UI_STRING in .c files.
2541
2542         * Scripts/extract-localizable-strings:
2543
2544 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
2545
2546         Reviewed by Adam.
2547
2548         - Set the eol-style to native and made all the line endings the same
2549         so that I avoid messy diffs that show eol changes.
2550
2551         * Drosera/win/ServerConnection.cpp:
2552         (ServerConnection::didParseSource):
2553         (ServerConnection::didEnterCallFrame):
2554         (ServerConnection::willExecuteStatement):
2555         (ServerConnection::willLeaveCallFrame):
2556         (ServerConnection::exceptionWasRaised):
2557
2558 2007-10-30  Kevin McCullough  <kmccullough@apple.com>
2559
2560         Reviewed by Adam.
2561
2562         * Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
2563         functionality that could not have existed previously without the new
2564         interfaces.
2565         (JSValueRefCreateWithBSTR): Added a helper function to easily convert
2566         from a BSTR to a JSValueRef.
2567         (DebuggerDocument::platformEvaluateScript): Implemented.
2568         (DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
2569         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2570         Implemented.
2571         (DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
2572         * Drosera/win/HelperFunctions.h: Cleaned up some comments.
2573         * Drosera/win/ServerConnection.cpp: Added a helper function.
2574         (ServerConnection::getCallerFrame):
2575         * Drosera/win/ServerConnection.h: Added a helper function.
2576
2577 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
2578
2579         updated reviewers for my previous changelog.
2580
2581 2007-10-29  Kevin McCullough  <kmccullough@apple.com>
2582         Reviewed by Maciej and Adam and Geoff.
2583
2584         - Minor mac-side improvements including moving a function to a more
2585         appropriate location, fixing a warning, and correctly checking
2586         exceptions.
2587
2588         * Drosera/DebuggerDocument.cpp: Corrected the exception checking.
2589         (DebuggerDocument::willExecuteStatement):
2590         (DebuggerDocument::didEnterCallFrame):
2591         (DebuggerDocument::willLeaveCallFrame):
2592         (DebuggerDocument::windowScriptObjectAvailable):
2593         (DebuggerDocument::callFunctionOnObject):
2594         * Drosera/mac/DebuggerClient.mm: Fixes a warning.
2595         * Drosera/mac/DebuggerDocumentPlatform.mm: Moved
2596         webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
2597         because it doesn't require the ServerConnection at all.
2598         (NSStringCreateWithJSStringRef): Made an argument const.
2599         (JSValueRefCreateWithNSString): Made an argument const.
2600         (+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
2601         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
2602         * Drosera/mac/ServerConnection.h: Moved aforementioned function.
2603         * Drosera/mac/ServerConnection.mm: Ditto.
2604         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
2605
2606 2007-10-29  Sam Weinig  <sam@webkit.org>
2607
2608         Reviewed by Adam Roben.
2609
2610         Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
2611
2612         * DumpRenderTree/LayoutTestController.cpp:
2613         (LayoutTestController::LayoutTestController):
2614         (getGlobalFlagCallback):
2615         (setGlobalFlagCallback):
2616         (LayoutTestController::getJSClass):
2617         (LayoutTestController::staticValues):
2618         * DumpRenderTree/LayoutTestController.h:
2619         (LayoutTestController::globalFlag):
2620         (LayoutTestController::setGlobalFlag):
2621
2622 2007-10-29  Darin Adler  <darin@apple.com>
2623
2624         Reviewed by Maciej.
2625
2626         * Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
2627         resolution instead of its default.
2628
2629 2007-10-29  David Kilzer  <ddkilzer@webkit.org>
2630
2631         Fixed showStatus() to print status for successfully resolved conflicts when using git.
2632
2633         Reviewed by Mark Rowe.
2634
2635         Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
2636         was successfully resolved, but this would not show any status because the change had
2637         already been cached in the index using "git add".  The solution is to add an optional
2638         second argument to showStatus() which adds the "--cached" switch to the command.
2639
2640         * Scripts/resolve-ChangeLogs:
2641         (showStatus):
2642
2643 2007-10-28  Eric Seidel  <eric@webkit.org>
2644
2645         Reviewed by Maciej and Geoff, in unison.
2646
2647         * Scripts/run-webkit-tests: remove broken --svg option
2648
2649 2007-10-28  Darin Adler  <darin@apple.com>
2650
2651         Reviewed by Adam.
2652
2653         * Scripts/run-sunspider: Default to "Release" configuration rather than
2654         defaulting to the last configuration used as other scripts do. This can
2655         still be overriden on the command line with "--debug" if there's some
2656         reason to do so. Also fix a typo.
2657
2658         * Scripts/sunspider-compare-results: Fix a typo.
2659
2660 2007-10-26  Kevin McCullough  <kmccullough@apple.com>
2661
2662         Reviewed by Adam.
2663
2664         - Implemented the WebScriptDebugListener functions now that the
2665         WebScriptDebugServer exists
2666
2667         * Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
2668         functions.
2669         (ServerConnection::currentFrame):
2670         (ServerConnection::didLoadMainResourceForDataSource):
2671         (ServerConnection::didParseSource):
2672         (ServerConnection::failedToParseSource):
2673         (ServerConnection::didEnterCallFrame):
2674         (ServerConnection::willExecuteStatement):
2675         (ServerConnection::willLeaveCallFrame):
2676         (ServerConnection::exceptionWasRaised):
2677         * Drosera/win/ServerConnection.h: Removed unused arguments from the
2678         members arguments list.
2679
2680 2007-10-26  David Kilzer  <ddkilzer@webkit.org>
2681
2682         prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
2683         <http://bugs.webkit.org/show_bug.cgi?id=15600>
2684
2685         Reviewed by Darin.
2686
2687         The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
2688         a patch of the local changes and applying it with a fuzz level of 3 to the new file.
2689         If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
2690         file.  Note that it may also be used as a stand-alone script.
2691
2692         * Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
2693         * Scripts/resolve-ChangeLogs: Added.
2694         * Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
2695
2696 2007-10-26  Mark Rowe  <mrowe@apple.com>
2697
2698         Qt build fix.  r27084 added a destructor implementation for LayoutTestController
2699         to the Qt port on the assumption that it was an implementation of the cross-platform
2700         LayoutTestController class.  It is not, so it did not need to be changed.
2701
2702         * DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
2703
2704 2007-10-25  Mark Rowe  <mrowe@apple.com>
2705
2706         Reviewed by Maciej.
2707
2708         Fix builds with code coverage enabled.
2709
2710         * Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
2711
2712 2007-10-25  Darin Adler  <darin@apple.com>
2713
2714         Reviewed by Mark Rowe.
2715
2716         * Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
2717         * Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
2718
2719 2007-10-25  Stephanie  <slewis@apple.com>
2720
2721         build Fix
2722
2723         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2724
2725 2007-10-25  Stephanie  <slewis@apple.com>
2726
2727         Reviewed by Mark Rowe, Adam Roben.
2728
2729         Weak link against WebCore so DumpRenderTree can be bundled with production roots.
2730
2731         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: 
2732
2733 2007-10-25  Alice Liu  <alice.liu@apple.com>
2734
2735         Reviewed by Adam.
2736
2737         Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
2738
2739         Moving destructor into platform-specific files
2740         * DumpRenderTree/LayoutTestController.cpp:
2741         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2742         (LayoutTestController::~LayoutTestController):
2743         * DumpRenderTree/qt/jsobjects.cpp:
2744         (LayoutTestController::~LayoutTestController):
2745
2746         LayoutTestController wasn't being destroyed
2747         * DumpRenderTree/win/DumpRenderTree.cpp:
2748         (runTest):
2749
2750         Added declspec
2751         * DumpRenderTree/win/EditingDelegate.h:
2752
2753         Reset certain values on the webview (or related delegate) that might 
2754         have changed while running a test
2755         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2756         (LayoutTestController::~LayoutTestController):
2757
2758 2007-10-25  Adam Roben  <aroben@apple.com>
2759
2760         Make sunspider-compare-results work with relative paths
2761
2762         Reviewed by Sam.
2763
2764         * Scripts/sunspider-compare-results: Convert arguments to absolute
2765         paths before we chdir.
2766
2767 2007-10-25  Kevin McCullough  <kmccullough@apple.com>
2768
2769         Reviewed by Sam.
2770
2771         - Implemented server calls now the WebScriptDebugServer exists.
2772         - Also removed no longer needed call to initialize CG.
2773
2774         * Drosera/win/Drosera.cpp: No longer initializes CG because this happens
2775         automatically now.
2776         (_tWinMain):
2777         * Drosera/win/ServerConnection.cpp: Now uses the COM class.
2778         (ServerConnection::ServerConnection):
2779         (ServerConnection::~ServerConnection):
2780         (ServerConnection::pause):
2781         (ServerConnection::resume):
2782         (ServerConnection::stepInto):
2783         (ServerConnection::applicationTerminating):
2784         (ServerConnection::serverConnectionDidDie):
2785         * Drosera/win/ServerConnection.h: Now uses the COM class.
2786
2787 2007-10-24  George Staikos  <staikos@kde.org>
2788
2789         Unbreak Qt build.
2790
2791         * Scripts/build-webkit:
2792
2793 2007-10-24  Adam Roben  <aroben@apple.com>
2794
2795         Remove now-unnecessary call to InitializeCoreGraphics
2796
2797         WebKit takes care of this now.
2798
2799         Reviewed by Ada.
2800
2801         * DumpRenderTree/win/DumpRenderTree.cpp:
2802         (initialize):
2803
2804 2007-10-24  Adam Roben  <aroben@apple.com>
2805
2806         Use WebTextRenderer in DRT
2807
2808         Reviewed by Ada.
2809
2810         * DumpRenderTree/win/DumpRenderTree.cpp:
2811         (initialize): Use WebTextRenderer instead of using AddFontResourceEx.
2812
2813 2007-10-24  Sven Herzberg  <sven@imendio.com>
2814
2815         Reviewed by Mark Rowe.
2816
2817         Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
2818         Bug 15614: [GTK] qmake based backends don't build on OS X
2819
2820         * Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
2821         GTK backend on a Mac
2822         * Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
2823         isDarwin() to make it reusable in other places (like the workaround-
2824         for-prebuilt-qmake in build-webkit)
2825
2826 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
2827
2828         Refurbish update-webkit script.
2829
2830         Reviewed by Adam.
2831
2832         * Scripts/update-webkit: Add -h|--help switch and usage statement.  Check result of
2833         GetOptions() call.  Fix -q|--quiet switch to be passed to svn command properly.  Use
2834         multi-argument version of system() for flexibility and security.  Check for existence
2835         of Internal directory using -d test instead of -x.
2836
2837 2007-10-24  David Kilzer  <ddkilzer@webkit.org>
2838
2839         Minor clean-up of prepare-ChangeLog script.
2840
2841         Reviewed by Adam.
2842
2843         * Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
2844         of a string.  Use multi-argument versions of open() and system() for flexibility and
2845         security.
2846
2847 2007-10-24  Alice Liu  <alice.liu@apple.com>
2848
2849         Reviewed by Oliver.
2850
2851         Fix <rdar://5410959>  editing/selection/drag-to-contenteditable-iframe.html fails on Windows
2852
2853         Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to 
2854         replay the saved events when we're still processing the mousedown that starts the drag
2855         * DumpRenderTree/win/EventSender.cpp:
2856         (doMouseMove):
2857         * DumpRenderTree/win/UIDelegate.cpp:
2858         (UIDelegate::doDragDrop):
2859
2860 2007-10-24  Kevin McCullough  <kmccullough@apple.com>
2861
2862         Reviewed by Sam, Steve and Darin.
2863
2864         - Stubbed out the WebScriptDebugListener functionality in the Server
2865         Connection class to prepare it for receiving those callbacks.
2866         - Also I changed the instantiation of DebuggerClient, DebuggerDocument
2867         and the ServerConnection to not need to be initialized with a server
2868         name, since that is not the way we connect to the WebKit server. 
2869
2870         * Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
2871         no exception.  Now it only loggs when there is an exception
2872         (DebuggerDocument::willExecuteStatement):
2873         (DebuggerDocument::didEnterCallFrame):
2874         (DebuggerDocument::willLeaveCallFrame):
2875         (DebuggerDocument::windowScriptObjectAvailable):
2876         (DebuggerDocument::callFunctionOnObject):
2877         * Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
2878         to be instantiated with a server's name.
2879         (DebuggerClient::DebuggerClient):
2880         (DebuggerClient::didFinishLoadForFrame):
2881         * Drosera/win/DebuggerClient.h: Removed unsued variable.
2882         * Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
2883         a server name.
2884         (Drosera::init):
2885         (Drosera::initServer):
2886         * Drosera/win/Drosera.h: No longer need the ServerConnection to be
2887         instantiated with a server's name.
2888         * Drosera/win/ServerConnection.cpp: 
2889         (ServerConnection::ServerConnection): No longer needs a server name
2890         (ServerConnection::~ServerConnection): Only release the global context
2891         if there is one.
2892         (ServerConnection::serverConnectionDidDie): Stub for
2893         IWebScriptDebugListener
2894         (ServerConnection::QueryInterface): ditto
2895         (ServerConnection::AddRef): ditto
2896         (ServerConnection::Release): ditto
2897         (ServerConnection::didLoadMainResourceForDataSource): ditto
2898         (ServerConnection::didParseSource): ditto
2899         (ServerConnection::failedToParseSource): ditto
2900         (ServerConnection::didEnterCallFrame): ditto
2901         (ServerConnection::willExecuteStatement): ditto
2902         (ServerConnection::willLeaveCallFrame): ditto
2903         (ServerConnection::exceptionWasRaised): ditto
2904         * Drosera/win/ServerConnection.h: Stubbed out the
2905         IWebScriptDebugListener functions, and this class no longer needs to be
2906         instantiated with a server name.
2907
2908 2007-10-24  Lars Knoll  <lars@trolltech.com>
2909
2910         Reviewed by Simon.
2911
2912         add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
2913
2914         * DumpRenderTree/qt/jsobjects.h:
2915
2916 2007-10-24  Lars Knoll  <lars@trolltech.com>
2917
2918         Reviewed by Simon.
2919
2920         add another command.
2921
2922         * DumpRenderTree/qt/jsobjects.cpp:
2923         (TextInputController::doCommand):
2924
2925 2007-10-24  Lars Knoll  <lars@trolltech.com>
2926
2927         Reviewed by Simon.
2928
2929         add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
2930
2931         * DumpRenderTree/qt/jsobjects.cpp:
2932         (EventSender::keyDown):
2933         * DumpRenderTree/qt/jsobjects.h:
2934
2935 2007-10-24  Lars Knoll  <lars@trolltech.com>
2936
2937         Reviewed by Simon.
2938
2939         implement eventSender.keyDown().
2940
2941         * DumpRenderTree/qt/jsobjects.cpp:
2942         (EventSender::keyDown):
2943
2944 2007-10-24  Lars Knoll  <lars@trolltech.com>
2945
2946         Reviewed by Simon.
2947
2948         some smaller fixes to the editing support in DRT. Makes another few tests pass.
2949
2950         * DumpRenderTree/qt/DumpRenderTree.cpp:
2951         (WebCore::DumpRenderTree::DumpRenderTree):
2952         (WebCore::DumpRenderTree::initJSObjects):
2953         * DumpRenderTree/qt/jsobjects.cpp:
2954         (TextInputController::doCommand):
2955
2956 2007-10-24  Lars Knoll  <lars@trolltech.com>
2957
2958         Reviewed by Simon.
2959
2960         first bit of implementation for the textinputcontroller.
2961
2962         * DumpRenderTree/qt/DumpRenderTree.cpp:
2963         (WebCore::DumpRenderTree::DumpRenderTree):
2964         * DumpRenderTree/qt/DumpRenderTree.h:
2965         * DumpRenderTree/qt/jsobjects.cpp:
2966         (TextInputController::TextInputController):
2967         (TextInputController::doCommand):
2968         * DumpRenderTree/qt/jsobjects.h:
2969
2970 2007-10-24  Lars Knoll  <lars@trolltech.com>
2971
2972         Reviewed by Simon.
2973
2974         make the man webpage believe it has focus, so the editing tests work correctly.
2975
2976         * DumpRenderTree/qt/DumpRenderTree.cpp:
2977         (WebCore::DumpRenderTree::DumpRenderTree):
2978
2979 2007-10-24  Lars Knoll  <lars@trolltech.com>
2980
2981         Reviewed by Simon.
2982
2983         implement layoutTestController.dumpEditingCallbacks() correctly.
2984
2985         * DumpRenderTree/qt/DumpRenderTree.cpp:
2986         (WebCore::DumpRenderTree::DumpRenderTree):
2987         * DumpRenderTree/qt/jsobjects.cpp:
2988         (LayoutTestController::reset):
2989         (LayoutTestController::dumpEditingCallbacks):
2990
2991 2007-10-24  Lars Knoll  <lars@trolltech.com>
2992
2993         Reviewed by Simon.
2994
2995         Implement support for testing editing.
2996
2997         * DumpRenderTree/qt/DumpRenderTree.cpp:
2998         (WebCore::DumpRenderTree::DumpRenderTree):
2999
3000 2007-10-23  Sam Weinig  <sam@webkit.org>
3001
3002         Check for null BSTR that can be passed to the UIDelegate methods
3003         from javascript null and undefined.  Fixes a failing test case on
3004         Windows (fast/dom/Window/alert-undefined.html)
3005
3006         Reviewed by Eric Seidel.
3007
3008         * DumpRenderTree/win/UIDelegate.cpp:
3009         (UIDelegate::runJavaScriptAlertPanelWithMessage):
3010         (UIDelegate::runJavaScriptConfirmPanelWithMessage):
3011         (UIDelegate::runJavaScriptTextInputPanelWithPrompt):
3012         (UIDelegate::webViewAddMessageToConsole):
3013
3014 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
3015
3016         Reviewed by Darin.
3017         
3018         Don't print a massive pile of setenvs from tools that automatically build testkjs.
3019
3020         * Scripts/build-testkjs:
3021
3022 2007-10-23  Maciej Stachowiak  <mjs@apple.com>
3023
3024         Reviewed by Darin.
3025
3026         - add wrapper that finds the right copy of testkjs
3027         
3028         * Scripts/sunspider-compare-results: Added.
3029
3030 2007-10-23  Kevin McCullough  <kmccullough@apple.com>
3031
3032         Reviewed by Sam.
3033
3034         - After talking with Steve I now see that the WebKit server must be
3035         running for DCOM to create the distributed objects, which makes sense
3036         and currently WebKit only allows one instance to be running at a time
3037         which avoids accidentally connecting to the wrong server
3038         - In light of this I have removed the code for the attach box and
3039         NotificationServer and known server names, since they are all extranious
3040         now.
3041
3042         * Drosera/win/Drosera.cpp: Removed notification classes and known server
3043         names.
3044         (_tWinMain): Uses init instead of initUI.
3045         (droseraWndProc): No longer creats an attach dialog box.
3046         (Drosera::Drosera): Does the OleInitialize so COM is ready to go and
3047         it's not manditory to call init before doing COM stuff.
3048         (Drosera::init): calls initUI and will call attach when the
3049         functionality exists. 
3050         (Drosera::initUI): Has changed very little.
3051         (Drosera::attach): Changed the signature to reflect that we no longer
3052         need the dictionary of known server names.
3053         * Drosera/win/Drosera.h: Removed notification classes and known server
3054         names.  Also renamed and moved some functions.
3055         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
3056         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
3057         headers to the resources folder. 
3058         * Drosera/win/resource.h: Removed the Attach box.
3059
3060 2007-10-22  Adam Roben  <aroben@apple.com>
3061
3062         Windows build fix
3063
3064         * Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
3065
3066 2007-10-22  Kevin McCullough  <kmccullough@apple.com>
3067
3068         - Removed a leak that was fixed.
3069
3070         * Scripts/run-webkit-tests:
3071
3072 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
3073
3074         Reviewed by Darin.
3075
3076         - Changed the Client so that the DebuggerDocument now own the
3077         ServerConnection.  This simplifies ownership and cleanup. 
3078
3079         * Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
3080         ServerConnection.
3081         (DebuggerClient::initWithServerName):
3082         (DebuggerClient::didFinishLoadForFrame):
3083         * Drosera/win/DebuggerClient.h: DebuggerDocument now owns the 
3084         ServerConnection.
3085         * Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
3086         until after we have a server which we are attached to.
3087         (Drosera::initUI):
3088         (Drosera::attach):
3089         * Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
3090         out previously.
3091
3092 2007-10-22  Simon Hausmann  <hausmann@kde.org>
3093
3094         Reviewed by Nikolas.
3095
3096         When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
3097
3098         * Scripts/run-javascriptcore-tests:
3099
3100 2007-10-22  Simon Hausmann  <hausmann@kde.org>
3101
3102         Reviewed by Nikolas.
3103
3104         Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
3105
3106         * Scripts/build-drosera:
3107         * Scripts/build-dumprendertree:
3108         * Scripts/build-testkjs:
3109         * Scripts/build-webkit:
3110         * Scripts/run-javascriptcore-tests:
3111         * Scripts/run-sunspider:
3112         * Scripts/run-webkit-tests:
3113         * Scripts/webkitdirs.pm:
3114
3115 2007-10-22  Andrew Wellington  <proton@wiretapped.net>
3116
3117         Reviewed by Mark Rowe.
3118         
3119         Fix for local database support after r26879
3120         Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
3121
3122         * Scripts/build-webkit:
3123
3124 2007-10-22  Holger Freyther  <zecke@selfish.org>
3125
3126         Reviewed by Simon Hausmann <hausmann@kde.org>.
3127
3128         - Do not build testkjs as an application bundle. This is
3129         needed for run-javascriptcore-tests on OSX.
3130         - Also, based on r26633, allow to test the WebKit/Qt port on OSX.
3131         - Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
3132         as we do not have -rpath on OSX.
3133
3134         * DumpRenderTree/qt/DumpRenderTree.pro:
3135         * Scripts/run-webkit-tests:
3136
3137 2007-10-22  Simon Hausmann  <hausmann@kde.org>
3138
3139         Reviewed by aroben.
3140
3141         Fix support for Signed-off-by detection in prepare-ChangeLog
3142         --git-commit. The Signed-off-by tag does not appear in the header
3143         but usually at the end.
3144
3145         * Scripts/prepare-ChangeLog:
3146
3147 2007-10-21  Mark Rowe  <mrowe@apple.com>
3148
3149         Reviewed by Eric.
3150
3151         Fix run-javascriptcore-tests for Gtk.
3152
3153         * Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
3154
3155 2007-10-20  Eric Seidel  <eric@webkit.org>
3156
3157         Reviewed by aroben.
3158
3159         * Scripts/find-extra-includes: fix path matching regex to not match ".patch"
3160
3161 2007-10-20  Eric Seidel  <eric@webkit.org>
3162
3163         Reviewed by darin.
3164         
3165         Add improved argument handling to run-sunspider, including
3166         --runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
3167         Also re-factor code into subroutines
3168
3169         * Scripts/build-dumprendertree: removed bogus comments
3170         * Scripts/build-testkjs: Added.
3171         * Scripts/run-javascriptcore-tests: use build-testkjs
3172         * Scripts/run-sunspider: improved argument handling, abstraction
3173         * Scripts/run-webkit-tests: improved abstraction
3174
3175 2007-10-20  Matt Lilek  <webkit@mattlilek.com>
3176
3177         Not reviewed, Windows build fix.
3178
3179         * DumpRenderTree/win/EventSender.cpp:
3180         (keyDownCallback):
3181
3182 2007-10-20  Darin Adler  <darin@apple.com>
3183
3184         Reviewed by Tim Hatcher.
3185
3186         - http://bugs.webkit.org/show_bug.cgi?id=15544
3187           <rdar://problem/5076426> fast/events/arrow-navigation.html needs to
3188           not rely on Apple-specific key codes
3189
3190         * DumpRenderTree/mac/EventSendingController.mm:
3191         (-[EventSendingController keyDown:withModifiers:]):
3192         Added named key "rightArrow". Later we could have a whole table of these.
3193         Also tweaked modifiers code a little.
3194
3195         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
3196
3197 2007-10-19  Darin Adler  <darin@apple.com>
3198
3199         Reviewed by Eric.
3200
3201         - http://bugs.webkit.org/show_bug.cgi?id=15566
3202           possible fix for leak seen in DumpRenderTree
3203
3204         * DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
3205         Delete the item if it's not put on the queue, since the caller has
3206         no way of knowing that. Would be better to have the parameter type
3207         be auto_ptr to express the fact that we take ownership.
3208
3209         - unrelated change
3210
3211         * Drosera/mac/main.m: Add missing include.
3212
3213 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
3214
3215         Reviewed by Adam.
3216
3217         - This change should be identical but for some reason was not working
3218         on my machine.
3219
3220         * Scripts/prepare-ChangeLog:
3221
3222 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
3223
3224         Reviewed by Oliver and Tim.
3225
3226         - Made use of RetainPtr to avoid retain and release issues and moved the
3227         log function to DebuggerDocumentPlatform, which seems to be a more
3228         logical place for it to live.
3229         - Also moved knownServers from the ServerConnection to
3230         DebuggerApplication to match the Windows code and because it makes sense
3231         that a connection knows its own server but not all of them.
3232
3233         * Drosera/mac/DebuggerClient.h: Moved the log function to
3234           DebuggerDocumentPlatform.
3235         * Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
3236           Because it's owned by an own Ptr in DebuggerDocument.  Also moved the
3237           call for the server name up from the ServerConnection class.
3238         (-[DebuggerClient dealloc]):
3239         (-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
3240           for the server name up from the ServerConnection.
3241         * Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
3242         (DebuggerDocument::platformPause):
3243         (DebuggerDocument::platformResume):
3244         (DebuggerDocument::platformStepInto):
3245         (DebuggerDocument::platformEvaluateScript):
3246         (DebuggerDocument::getPlatformCurrentFunctionStack):
3247         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3248         (DebuggerDocument::platformValueForScopeVariableNamed):
3249         (DebuggerDocument::platformLog): Log directly from here. No need to call
3250           DebuggerClient.
3251         * Drosera/mac/ServerConnection.h: Removed the knownServers function. The
3252           way I see it, a ServerConnection should only know about its connection
3253           and the group of all possible servers should be kept by the
3254           application.
3255         * Drosera/mac/ServerConnection.mm: Removed knownServer but added
3256           currentServerName, it makes sense that the connection should know that
3257           name.
3258         (-[ServerConnection currentServerName]):
3259
3260 2007-10-19  Kevin McCullough  <kmccullough@apple.com>
3261
3262         Reviewed by Adam.
3263
3264         - Integrated changes from mac drosera.  Recently I've encapsulated
3265         out the server connection object from the rest of Drosera because
3266         it is very platform dependent right now and RPC is not implemented on
3267         windows.  This functionality, of communicating with the WebKit server
3268         is the next area I will be focusing on in Windows.
3269
3270         - Other changes and cleanup were made to organize the code and add notes
3271         on which parts still need work.  Also some mac code is added and
3272         commented out, to act as pseudocode for the logic of those parts.
3273
3274         * Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
3275           pointer.
3276         * Drosera/config.h: Added whitespace.
3277         * Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
3278           these files got moved into Drosera.h/cpp
3279         * Drosera/win/DebuggerApplication.h: Removed.
3280         * Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring 
3281           happened here to better match the logic flow of the same code on the 
3282           mac side and to use the new ServerConnection class.
3283         (DebuggerClient::DebuggerClient): Constructor that takes a server name.
3284         (DebuggerClient::initWithServerName): Initializer that will set up the
3285           class to use a ServerConnection object.  This was necessary so I could
3286           create a DebuggerClient without having to initilaize it at
3287           construction.
3288         (DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
3289           will be the UIDelegate and FrameLoadDelegate.
3290         (DebuggerClient::AddRef): For IUnknown.
3291         (DebuggerClient::Release): For IUnknown.
3292         (DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
3293           this still needs to set the global context of the server, but
3294           IWebFrame does not have an accessor for the global context yet. 
3295         (DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
3296           this is a pass through for the same function in the document.
3297         (DebuggerClient::didReceiveTitle): Unimplemented part of
3298           FrameLoadDelegate this would change the title of the window.
3299         (DebuggerClient::createWebViewWithRequest): Part of the
3300           FrameLoadDelegate.  This is about new windows via Window.open() and
3301           how their delegates are set.
3302         (DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
3303           UIDelegate.  Just a debug function for printing messages.
3304         * Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
3305           because the Client should be the UIDelegate and FrameLoadDelegate
3306           to match the delegates on mac.
3307         (DebuggerClient::webViewLoaded): Added accessor method.
3308         * Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
3309           forgotten to add this file before.  This is where the platform
3310           dependent versions of the Documents functions live. Most of these are
3311           unimplemented because some piece of functionality does not exist on
3312           Windows yet.
3313         (DebuggerDocument::platformPause):
3314         (DebuggerDocument::platformResume):
3315         (DebuggerDocument::platformStepInto):
3316         (DebuggerDocument::platformEvaluateScript):
3317         (DebuggerDocument::getPlatformCurrentFunctionStack):
3318         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3319         (DebuggerDocument::platformValueForScopeVariableNamed):
3320         (DebuggerDocument::platformLog):
3321         * Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
3322           responsibilities becaue they belong in the Client. Also I laid the
3323           groundwork for attaching Drosera to a WebKit process
3324         (attachWndProc): Now if a server is selected the Client becomes it's
3325           delegate.
3326         (Drosera::Drosera): Added the construction of the Client and dictionary
3327           of server names. 
3328         (Drosera::initUI): This is no longer the delegates, the Client is.
3329         (Drosera::webViewLoaded): Now asks the Client instead of holding local
3330           state. 
3331         (Drosera::applicationDidFinishLaunching): Placeholder for needed
3332           notification registration when it's possible to implement.
3333         (Drosera::serverLoaded): Ditto
3334         (Drosera::serverUnloaded): Ditto
3335         (Drosera::attach): Attach Drosera to the WebKit server.
3336         * Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
3337         (Drosera::getInst): 
3338         (Drosera::setInst):
3339         (Drosera::knownServers):
3340         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
3341           and added the ServerConnection.
3342         * Drosera/win/DroseraPrefix.h: Added an ifndef check.
3343         * Drosera/win/ServerConnection.cpp: Added. This is the interesting part
3344           Most of the functions are completely unimlemented because they cannot
3345           connect with the WebKit server, because one does not exist on Windows
3346           yet.
3347         (ServerConnection::initWithServerName): 
3348         (ServerConnection::~ServerConnection):
3349         (ServerConnection::setGlobalContext):
3350         (ServerConnection::pause):
3351         (ServerConnection::resume):
3352         (ServerConnection::stepInto):
3353         (ServerConnection::switchToServerNamed):
3354         (ServerConnection::applicationTerminating):
3355         (ServerConnection::serverConnectionDidDie):
3356         (ServerConnection::currentFrame):
3357         * Drosera/win/ServerConnection.h: Added. Ditto.
3358         (ServerConnection::ServerConnection):
3359
3360 2007-10-19  Alice Liu  <alice.liu@apple.com>
3361
3362         Reviewed by Darin.
3363
3364         Fix for these broken layout tests on Windows:
3365         
3366         fast/forms/focus-selection-input.html
3367         fast/forms/focus-selection-textarea.html
3368         fast/forms/select-accesskey.html
3369         
3370         * DumpRenderTree/win/EventSender.cpp:
3371         (keyDownCallback):
3372         correct the VK code for alt key.
3373         
3374 2007-10-19  Eric Seidel  <eric@webkit.org>
3375
3376         Reviewed by Mark Rowe.
3377         
3378         Make the GtkLauncher code slightly more readable.
3379
3380         * GtkLauncher/main.cpp:
3381         (setupMainMenu): Added.
3382         (setupMainWindowUI): Added.
3383         (main):
3384
3385 2007-10-19  Maciej Stachowiak  <mjs@apple.com>
3386
3387         Rubber stamped by Adam.
3388         
3389         - don't delay-load WebKit in DumpRenderTree.
3390
3391         * DumpRenderTree/win/DumpRenderTree.vcproj:
3392
3393 2007-10-18  Dan Bernstein  <mitz@apple.com>
3394
3395         Reviewed by Adam Roben.
3396
3397         - fix <rdar://problem/5313523>
3398         REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
3399
3400         * DumpRenderTree/mac/DumpRenderTree.mm:
3401         (dump): Changed to use _responseMIMEType.
3402
3403 2007-10-17  Adam Roben  <aroben@apple.com>
3404
3405         Make it possible to have Windows-specific tests and results
3406
3407         When searching for tests to run and the Skipped file, we will only
3408         look in platform/win and the cross-platform directory. When looking
3409         for expected results, we will look in platform/win, then
3410         platform/mac-leopard, then platform/mac, then finally the
3411         cross-platform directory.
3412
3413         Reviewed by Sam.
3414
3415         * Scripts/run-webkit-tests:
3416         (sub expectedDirectoryForTest): Search in mac-leopard and mac before
3417         searching in the cross-platform directory.
3418         (sub buildPlatformHierarchy): Removed some unneeded calls to
3419         dirname/basename.
3420
3421 2007-10-17  Adam Roben  <aroben@apple.com>
3422
3423         Add back the call to register WebKit that we had before WebKitInitializer existed
3424
3425         This is needed to ensure that the right WebKit is used when
3426         instantiating COM objects.
3427
3428         Reviewed by Oliver.
3429
3430         * DumpRenderTree/win/debug_internal.vsprops: Define
3431         DEBUG_WEBKIT_HAS_SUFFIX.
3432         * DumpRenderTree/win/DumpRenderTree.cpp:
3433         (initialize):
3434
3435 2007-10-17  Adam Roben  <aroben@apple.com>
3436
3437         Import File::Basename in webkitdirs since we use it
3438
3439         * Scripts/webkitdirs.pm:
3440
3441 2007-10-17  Kevin McCullough  <kmccullough@apple.com>
3442
3443         - Updated the tiger leaks list to make the internal bots green.
3444
3445         * Scripts/run-webkit-tests:
3446
3447 2007-10-17  Adam Roben  <aroben@apple.com>
3448
3449         Build fix for VC++ Express
3450
3451         * FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
3452         and ole32.lib.
3453
3454 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
3455
3456         Reviewed by Sam.
3457
3458         - Minor mac improvements based on observations I made while implementing the
3459         Windows code.
3460
3461         * Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
3462         then hand it to the Client who will retain it, it should just be the client who
3463         creates and owns the server.
3464         (-[DebuggerApplication attach:]):
3465         * Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
3466         * Drosera/mac/DebuggerClient.mm: Creates the server.
3467         (-[DebuggerClient initWithServerName:]):
3468         * Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
3469         can instead forward declare what it needs.
3470
3471 2007-10-16  Darin Adler  <darin@apple.com>
3472
3473         Reviewed by Geoff Garen.
3474
3475         * Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
3476         want to turn failing tests into platform-specific test results. Also did a
3477         number of tweaks, including fixing a potential bug where expectedDirectoryForTest
3478         would take the type of results into account only some of the time.
3479
3480 2007-10-16  Adam Roben  <aroben@apple.com>
3481
3482         Add a new nightly launcher script for Windows
3483
3484         This new script is for versions of Safari that don't delay-load
3485         WebKit. I had to make FindSafari be able to print out the nightly
3486         launcher script on stdout because Windows shell scripts can't capture
3487         the output from a command into an environment variable.
3488
3489         Reviewed by Steve.
3490
3491         * FindSafari/FindSafari.cpp:
3492         (_tmain): Added /printSafariLauncher option.
3493         * Scripts/run-webkit-nightly.cmd: Added.
3494
3495 2007-10-16  Adam Roben  <aroben@apple.com>
3496
3497         Replace WebKitInitializer with FindSafari
3498
3499         We now rely on setting the PATH environment variable to tell Windows
3500         where to find WebKit and its dependencies (similar to
3501         DYLD_FRAMEWORK_PATH on Mac).
3502
3503         This change also make DumpRenderTree no longer delay-load WebKit.
3504
3505         Reviewed by Sam.
3506
3507         * DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
3508         FindSafari.
3509         * DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
3510         * DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
3511         WebKitInitializer, don't delay-load WebKit.
3512         * Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
3513         * Scripts/run-webkit-tests: Ditto.
3514         * Scripts/webkitdirs.pm:
3515         (sub setPathForRunningWebKitApp): Added.
3516         * WebKitInitializer/WebKitInitializer.cpp: Removed.
3517         * WebKitInitializer/WebKitInitializer.h: Removed.
3518         * WebKitInitializer/WebKitInitializer.vcproj: Removed.
3519         * WebKitInitializer/debug.vsprops: Removed.
3520         * WebKitInitializer/debug_internal.vsprops: Removed.
3521         * WebKitInitializer/release.vsprops: Removed.
3522
3523 2007-10-16  Adam Roben  <aroben@apple.com>
3524
3525         Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
3526
3527         http://bugs.webkit.org/show_bug.cgi?id=15532
3528
3529         FindSafari simply prints the location of an installed Safari.exe on
3530         stdout.
3531
3532         Reviewed by Darin.
3533
3534         * FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
3535         (getStringValue):
3536         (getWebViewCLSID):
3537         (getInstalledWebKitDirectory):
3538         (_tmain):
3539         * FindSafari/FindSafari.vcproj: Added.
3540         * Scripts/webkitdirs.pm:
3541         (sub installedSafariPath): Added. Calls FindSafari on Windows.
3542
3543 2007-10-16  Adam Roben  <aroben@apple.com>
3544
3545         Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
3546
3547         Reviewed by Kevin McCullough.
3548
3549         * DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
3550         when referring to WebKit.dll.
3551         * DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
3552         * DumpRenderTree/win/debug_internal.vsprops: Ditto.
3553         * DumpRenderTree/win/release.vsprops: Ditto.
3554         * Scripts/run-safari: Don't pass /debug to Safari anymore because we
3555         never have a _debug suffix on WebKit.dll.
3556         * WebKitInitializer/WebKitInitializer.cpp:
3557         (initializeWebKit): Only use the _debug suffix for WebKit.dll when
3558         specified.
3559         * WebKitInitializer/debug_internal.vsprops: Added
3560         DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
3561
3562 2007-10-16  Darin Adler  <darin@apple.com>
3563
3564         Reviewed by Adele.
3565
3566         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
3567         Remove now-unneeded control/alt key hack; the tests have been updated.
3568
3569 2007-10-16  Kevin McCullough  <kmccullough@apple.com>
3570
3571         - Updated leaks list because our internal bot upgraded it's version of leopard and 
3572         one of the leaks was fixed between that revision and the bot's previous version of
3573         leopard.
3574
3575         * Scripts/run-webkit-tests:
3576
3577 2007-10-15  Kevin McCullough  <kmccullough@apple.com>
3578
3579         Reviewed by Tim.
3580
3581         - I encapsulated out the server connecton functionality because it is a specific part
3582         of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
3583         into WebCore and C++.  But if it is encapsulated out it can be easily replaced on
3584         Windows.  So the majority of this patch is moving preexisting functionality.
3585
3586         - Also I removed the prefix header and changed to use config.h because it is more
3587         standard on how we use config.h in windows and it didn't make much sense to keep
3588         the prefix header and the config.h
3589
3590         * Drosera/DebuggerDocument.cpp:
3591         (DebuggerDocument::DebuggerDocument):
3592         * Drosera/DebuggerDocument.h:
3593         * Drosera/config.h:
3594         * Drosera/mac/DebuggerApplication.mm:
3595         (-[DebuggerApplication attach:]):
3596         * Drosera/mac/DebuggerClient.h:
3597         * Drosera/mac/DebuggerClient.mm:
3598         (-[DebuggerClient initWithServerConnection:]):
3599         (-[DebuggerClient dealloc]):
3600         (-[DebuggerClient windowDidLoad]):
3601         (-[DebuggerClient windowWillClose:]):
3602         (-[DebuggerClient webView:didFinishLoadForFrame:]):
3603         (-[DebuggerClient webView:didReceiveTitle:forFrame:]):
3604         * Drosera/mac/DebuggerDocumentPlatform.mm:
3605         (DebuggerDocument::platformPause):
3606         (DebuggerDocument::platformResume):
3607         (DebuggerDocument::platformStepInto):
3608         (DebuggerDocument::platformEvaluateScript):
3609         (DebuggerDocument::getPlatformCurrentFunctionStack):
3610         (DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
3611         (DebuggerDocument::platformValueForScopeVariableNamed):
3612         (DebuggerDocument::platformLog):
3613         * Drosera/mac/Drosera.pch: Removed.
3614         * Drosera/mac/Drosera.xcodeproj/project.pbxproj:
3615         * Drosera/mac/ServerConnection.h: Added.
3616         * Drosera/mac/ServerConnection.mm: Added.
3617         (-[ServerConnection initWithServerName:]):
3618         (-[ServerConnection dealloc]):
3619         (-[ServerConnection setGlobalContext:]):
3620         (-[ServerConnection pause]):
3621         (-[ServerConnection resume]):
3622         (-[ServerConnection stepInto]):
3623         (-[ServerConnection switchToServerNamed:]):
3624         (-[ServerConnection applicationTerminating:]):
3625         (-[ServerConnection serverConnectionDidDie:]):
3626         (-[ServerConnection webView:didLoadMainResourceForDataSource:]):
3627         (-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
3628         (-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
3629         (-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
3630         (-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
3631         (-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
3632         (-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
3633         (-[ServerConnection currentFrame]):
3634         (-[ServerConnection webScriptAttributeKeysForScriptObject:]):
3635         (-[ServerConnection knownServers]):
3636
3637 2007-10-15  David Kilzer  <ddkilzer@webkit.org>
3638
3639         Reviewed by Eric.
3640
3641         - fix http://bugs.webkit.org/show_bug.cgi?id=15002
3642           Script to automatically search nightly builds for regressions (bisect-builds)
3643
3644         * Scripts/bisect-builds: Added.
3645
3646 2007-10-14  Maciej Stachowiak  <mjs@apple.com>
3647
3648         Reviewed by Darin.
3649
3650         - New JavaScript benchmark
3651         http://bugs.webkit.org/show_bug.cgi?id=15515
3652
3653         * Scripts/run-sunspider: Added. Wrapper to run sunspider on the
3654         current development or release build of JavaScriptCore.
3655
3656 2007-10-15  Mark Rowe  <mrowe@apple.com>
3657
3658         Reviewed by Sam.
3659
3660         Fix 'run-webkit-tests --qt' complaining about the --qt argument.
3661
3662         * Scripts/webkitdirs.pm:
3663         - Change checkArgv to remove the options from @ARGV to prevent
3664         them from interfering with further option processing.
3665         - Fix logic error in determineIsQt that would prevent it from bailing out early.
3666         - Change isOSX to mean OS X and not Qt or Gtk.  Most of our uses of isOSX assume that this is the meaning
3667         already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
3668         incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
3669
3670 2007-10-15  Darin Adler  <darin@apple.com>
3671
3672         Reviewed by Sam.
3673
3674         - added logging of window.prompt and window.confirm
3675
3676         * DumpRenderTree/mac/UIDelegate.mm:
3677         (-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
3678         Implement the recommended delegate rather than the deprecated one.
3679         (-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
3680         Added.
3681         (-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
3682         Added.
3683
3684         * DumpRenderTree/win/UIDelegate.h:
3685         * DumpRenderTree/win/UIDelegate.cpp:
3686         (UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
3687         (UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
3688         (UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
3689         (UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
3690
3691 2007-10-15  Alice Liu  <alice.liu@apple.com>
3692
3693         Reviewed by Sam Weinig.
3694
3695         Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
3696
3697         * DumpRenderTree/win/DumpRenderTree.cpp:
3698         (runTest): Like on mac, before running each test, set the webview's policy delegate to null
3699         (main): allocate the global policy delegate for DRT's custom use
3700         * DumpRenderTree/win/DumpRenderTree.vcproj:
3701         Adding files to project
3702         * DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
3703         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3704         (LayoutTestController::setCustomPolicyDelegate):
3705         set the webview's policy delegate to DRT's custom one if the test requests it.
3706         * DumpRenderTree/win/PolicyDelegate.cpp: Added.
3707         Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
3708         (PolicyDelegate::PolicyDelegate):
3709         (PolicyDelegate::QueryInterface):
3710         (PolicyDelegate::AddRef):
3711         (PolicyDelegate::Release):
3712         (PolicyDelegate::decidePolicyForNavigationAction):
3713         * DumpRenderTree/win/PolicyDelegate.h: Added.
3714         (PolicyDelegate::decidePolicyForNewWindowAction):
3715         (PolicyDelegate::decidePolicyForMIMEType):
3716         (PolicyDelegate::unableToImplementPolicyWithError):
3717
3718 2007-10-14  Holger Hans Peter Freyther  <zecke@selfish.org>
3719
3720         Reviewed by Mark.
3721
3722         * Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
3723         when querying for QMAKE_MKSPECS.
3724
3725 2007-10-14  Andrew Wellington  <proton@wiretapped.net>
3726
3727         Reviewed by Adam Roben.
3728         
3729         Fix run-webkit-tests is too greedy calculating platform hierarchy
3730         http://bugs.webkit.org/show_bug.cgi?id=15465
3731         
3732         Fix run-webkit-tests being too greedy in trying to split the platform name up
3733         causing it to try and find tests in every directory above the first "-" in the
3734         path to the LayoutTests
3735
3736         * Scripts/run-webkit-tests:
3737
3738 2007-10-14  Oleg Sukhodolsky <son.two@gmail.com>
3739
3740         Reviewed by Darin.
3741
3742         http://bugs.webkit.org/show_bug.cgi?id=15006
3743         Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
3744         to reduce code duplication.
3745
3746         * Scripts/build-webkit:
3747         * Scripts/webkitdirs.pm:
3748         buildQMakeProject() renamed to buildQMakeQtProject().
3749         buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
3750         unused $colorize has been removed.
3751
3752 === Start merge of feature-branch 2007-10-12 ===
3753
3754 2007-10-08  Eric Seidel  <eric@webkit.org>
3755
3756         Reviewed by Mark Rowe.
3757
3758         * Scripts/build-webkit: add --help, remove unused --color
3759
3760 2007-10-07  Eric Seidel  <eric@webkit.org>
3761
3762         Reviewed by darin.
3763
3764         * Drosera/mac/DebuggerDocumentPlatform.mm:
3765         (DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
3766
3767 2007-10-03  Rob Buis  <buis@kde.org>
3768
3769         Reviewed by Olliej.
3770
3771         Adapt to changed location of Ahem font.
3772
3773         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3774
3775 2007-10-02  Eric Seidel  <eric@webkit.org>
3776
3777         Reviewed by Adam Roben.
3778         
3779         Make pixel tests more useful!
3780         Finally fix the image diff 0.00% mystery problem
3781         Highlight any image differences in the image diff.
3782         Add a link from image diffs back to original test file.
3783
3784         * DumpRenderTree/mac/ImageDiff.m:
3785         (compareImages): highlight any differences
3786         (computePercentageDifferent): round to two decimal places
3787         * Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
3788
3789 2007-10-02  Eric Seidel  <eric@webkit.org>
3790
3791         Reviewed by Alexey Proskuryakov.
3792
3793         * Scripts/run-webkit-tests: print the % image difference on main results page
3794
3795 2007-10-02  Mark Rowe  <mrowe@apple.com>
3796
3797         Reviewed by Oliver.
3798
3799         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
3800
3801         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
3802         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
3803
3804 2007-10-01  Mark Rowe  <mrowe@apple.com>
3805
3806         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
3807
3808 2007-09-25  Eric Seidel  <eric@webkit.org>
3809
3810         Reviewed by Mark Rowe.
3811         
3812         DerivedSources.make was finding "ENABLE_SVG" in the string
3813         "ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
3814         quite correctly.
3815
3816         * Scripts/build-webkit: make --no-svg imply --no-svg-experimental
3817
3818 2007-09-25  Mark Rowe  <mrowe@apple.com>
3819
3820         Rubber-stamped by Eric.
3821
3822         * BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
3823         This makes it possible to automate nightly builds for the feature-branch.
3824
3825 2007-07-11  Nikolas Zimmermann  <zimmermann@kde.org>
3826
3827         Rubber stamped by Mark.
3828
3829         Enable svg experimental features as default here in feature-branch.
3830
3831         * Scripts/build-webkit:
3832
3833 2007-06-29  Antti Koivisto  <antti@apple.com>
3834
3835         Reviewed by Weinig.
3836         
3837         Add VIDEO flag for timed media features
3838
3839         * Scripts/build-webkit
3840         
3841 === End merge of feature-branch 2007-10-12 ===
3842
3843 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
3844
3845         Reviewed by Darin.
3846
3847         - Updated rational for the leaks list to be more clear.
3848
3849         * Scripts/run-webkit-tests:
3850
3851 2007-10-11  Kevin McCullough  <kmccullough@apple.com>
3852
3853         Rubber Stamp by Sam.
3854
3855         Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
3856         I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
3857
3858         * Scripts/run-webkit-tests:
3859
3860 2007-10-10  Simon Hausmann  <hausmann@kde.org>
3861
3862         Reviewed by Lars.
3863
3864         Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
3865         includes are needed for INT_MAX, std::auto_ptr and the like.
3866
3867         * DumpRenderTree/qt/main.cpp:
3868
3869 2007-10-09  Lars Knoll  <lars@trolltech.com>
3870
3871         Reviewed by Simon.
3872
3873         implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
3874
3875         * DumpRenderTree/qt/jsobjects.cpp:
3876         (LayoutTestController::encodeHostName):
3877         (LayoutTestController::decodeHostName):
3878         * DumpRenderTree/qt/jsobjects.h:
3879
3880 2007-10-09  Lars Knoll  <lars@trolltech.com>
3881
3882         Reviewed by Simon.
3883
3884         Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
3885
3886         * DumpRenderTree/qt/DumpRenderTree.cpp:
3887         (WebCore::WebPage::createFrame):
3888         (WebCore::DumpRenderTree::DumpRenderTree):
3889         (WebCore::DumpRenderTree::titleChanged):
3890         * DumpRenderTree/qt/DumpRenderTree.h:
3891         * DumpRenderTree/qt/jsobjects.cpp:
3892         (LayoutTestController::reset):
3893         * DumpRenderTree/qt/jsobjects.h:
3894
3895 2007-10-09  Lars Knoll  <lars@trolltech.com>
3896
3897         Reviewed by Simon.
3898
3899         add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
3900
3901         * DumpRenderTree/qt/DumpRenderTree.h:
3902         * DumpRenderTree/qt/jsobjects.cpp:
3903         (LayoutTestController::clearBackForwardList):
3904         * DumpRenderTree/qt/jsobjects.h:
3905
3906 2007-10-09  Lars Knoll  <lars@trolltech.com>
3907
3908         Reviewed by Simon.
3909
3910         make --git-reviewer work again.
3911
3912         * Scripts/prepare-ChangeLog:
3913
3914 2007-10-07  Holger Hans Peter Freyther  <zecke@selfish.org>
3915
3916         Rubber stamped by Eric.
3917
3918         Connect to the "hovering-over-link" signal emitted by WebKitPage and
3919         show the current link inside the statusbar.
3920         This shows how to make use of this signal and allows to easily test
3921         http://bugs.webkit.org/show_bug.cgi?id=15299.
3922
3923         * GtkLauncher/main.cpp:
3924         (hoveringOverLink):
3925         (main):
3926
3927 2007-10-05  Lars Knoll  <lars@trolltech.com>
3928
3929         add proper error messages to the FrameLoaderClient.
3930         Implement ChromeClientQt::closeWindowSoon and
3931         FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
3932         Some fixes in DRT to make it work correctly with multiple windows.
3933
3934         Reviewed by Maciej.
3935
3936         * DumpRenderTree/qt/DumpRenderTree.cpp:
3937         (WebCore::DumpRenderTree::DumpRenderTree):
3938         (WebCore::DumpRenderTree::createWindow):
3939         (WebCore::DumpRenderTree::windowCount):
3940         * DumpRenderTree/qt/DumpRenderTree.h:
3941         * DumpRenderTree/qt/jsobjects.cpp:
3942         (LayoutTestController::maybeDump):
3943         (LayoutTestController::windowCount):
3944         * DumpRenderTree/qt/jsobjects.h:
3945
3946 2007-10-05  Lars Knoll  <lars@trolltech.com>
3947
3948         Add a dummy plugin to DRT  to fix fast/dom/Window/Plug-Ins.html.
3949         Add support for layoutTextController.setCanOpenWindows() to DRT
3950         fixing another 2 test cases in fast/dom/Window.
3951
3952         Reviewed by Maciej.
3953
3954         * DumpRenderTree/qt/DumpRenderTree.cpp:
3955         (WebCore::WebPage::WebPage):
3956         (WebCore::WebPage::createWindow):
3957         (WebCore::DumpRenderTree::resetJSObjects):
3958         (WebCore::DumpRenderTree::createWindow):
3959         * DumpRenderTree/qt/DumpRenderTree.h:
3960         * DumpRenderTree/qt/DumpRenderTree.pro:
3961         * DumpRenderTree/qt/jsobjects.cpp:
3962         (LayoutTestController::LayoutTestController):
3963         (LayoutTestController::reset):
3964         * DumpRenderTree/qt/jsobjects.h:
3965         * DumpRenderTree/qt/main.cpp:
3966         * DumpRenderTree/qt/testplugin.cpp: Added.
3967         * DumpRenderTree/qt/testplugin.h: Added.
3968
3969 2007-10-04  Sam Weinig  <sam@webkit.org>
3970
3971         Rubber stamped by Adam.
3972
3973         Remove empty directories.
3974
3975         * DumpRenderTree/DumpRenderTree.qtproj: Removed.
3976         * DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
3977
3978 2007-10-03  Darin Adler  <darin@apple.com>
3979
3980         Reviewed by Adam.
3981
3982         * Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
3983         we find the internal libraries in the libraries directory. This
3984         is helpful for Safari team engineers at Apple.
3985
3986 2007-10-03  Adam Roben  <aroben@apple.com>
3987
3988         Update the location of AHEM___.TTF after r25968
3989
3990         Reviewed by Sam.
3991
3992         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
3993
3994 2007-10-03  Alp Toker  <alp@atoker.com>
3995
3996         Reviewed by Adam.
3997
3998         http://bugs.webkit.org/show_bug.cgi?id=14726
3999         [gtk] API design. Mapping the WebView delegates to signals.
4000
4001         Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
4002
4003         * GtkLauncher/main.cpp:
4004         (goToURLBarText):
4005         (titleChanged):
4006         (progressChanged):
4007         (menuMainBackCallback):
4008         (menuMainForwardCallback):
4009         (main):
4010
4011 2007-10-03  Lars Knoll  <lars@trolltech.com>
4012
4013         Reviewed by Rob.
4014
4015         This fixes --strict mode in run-webkit-tests again after
4016         the platform dependent test results have been moved.
4017
4018         * Scripts/run-webkit-tests:
4019
4020 2007-10-03  Lars Knoll  <lars@trolltech.com>
4021
4022         Reviewed by bdash.
4023
4024         remove the hack in run-webkit-tests that forced text only test
4025         to be taken from the platform independent dir. It was only left
4026         there from early days.
4027         
4028         Remove platform dependent results for tests that are text only nowadays,
4029         and add one platform dependent result for a text only test that requires it.
4030
4031         * Scripts/run-webkit-tests:
4032
4033 2007-10-03  Lars Knoll  <lars@trolltech.com>
4034
4035         Reviewed by olliej.
4036
4037         Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
4038
4039         * DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
4040         (WebCore::WebFrame::WebFrame):
4041         (WebCore::WebPage::WebPage):
4042         (WebCore::WebPage::createFrame):
4043         (WebCore::WebPage::javaScriptAlert):
4044         (WebCore::WebPage::javaScriptConsoleMessage):
4045         (WebCore::DumpRenderTree::DumpRenderTree):
4046         (WebCore::DumpRenderTree::~DumpRenderTree):
4047         (WebCore::DumpRenderTree::open):
4048         (WebCore::DumpRenderTree::readStdin):
4049         (WebCore::DumpRenderTree::resetJSObjects):
4050         (WebCore::DumpRenderTree::initJSObjects):
4051         (WebCore::DumpRenderTree::dumpFramesAsText):
4052         (WebCore::DumpRenderTree::dump):
4053         * DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
4054         (WebCore::DumpRenderTree::layoutTestController):
4055         (WebCore::DumpRenderTree::eventSender):
4056         * DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
4057         * DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
4058         * DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
4059         * DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
4060         (HackWebFrame::mousePressEvent):
4061         (HackWebFrame::mouseReleaseEvent):
4062         (HackWebFrame::mouseMoveEvent):
4063         (HackWebFrame::HackWebFrame):
4064         (HackWebFrame::~HackWebFrame):
4065         (LayoutTestController::LayoutTestController):
4066         (LayoutTestController::reset):
4067         (LayoutTestController::maybeDump):
4068         (LayoutTestController::waitUntilDone):
4069         (LayoutTestController::notifyDone):
4070         (LayoutTestController::dumpEditingCallbacks):
4071         (LayoutTestController::queueReload):
4072         (LayoutTestController::provisionalLoad):
4073         (LayoutTestController::timerEvent):
4074         (EventSender::EventSender):
4075         (EventSender::mouseDown):
4076         (EventSender::mouseUp):
4077         (EventSender::mouseMoveTo):
4078         (EventSender::leapForward):
4079         (EventSender::keyDown):
4080         (EventSender::frameUnderMouse):
4081         * DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
4082         (LayoutTestController::isLoading):
4083         (LayoutTestController::setLoading):
4084         (LayoutTestController::shouldDumpAsText):
4085         (LayoutTestController::shouldDumpChildrenAsText):
4086         (LayoutTestController::shouldWaitUntilDone):
4087         (LayoutTestController::dumpAsText):
4088         (LayoutTestController::dumpChildFramesAsText):
4089         * DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
4090         (messageHandler):
4091         (crashHandler):
4092         (main):
4093         * Scripts/run-webkit-tests:
4094
4095 2007-10-03  Mark Rowe  <mrowe@apple.com>
4096
4097         Reviewed by Alp Toker.
4098
4099         Fix build-webkit when both QTDIR and --gtk are set.  The presence of --gtk
4100         should take precedence over QTDIR when determining which port we are working with.
4101
4102         * Scripts/webkitdirs.pm: 
4103
4104 2007-10-02  Adam Roben  <aroben@apple.com>
4105
4106         Add keychain to the list of default packages to install
4107
4108         Rubberstamped by Sam.
4109
4110         * CygwinDownloader/cygwin-downloader.py:
4111         * CygwinDownloader/cygwin-downloader.zip: Regenerated.
4112
4113 2007-10-02  David Kilzer  <ddkilzer@webkit.org>
4114
4115         Reviewed by Adam.
4116
4117         Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
4118         Also makes WebCore regression test case logic work when using git.
4119
4120         * Scripts/prepare-ChangeLog:
4121         (reviewerAndDescriptionForGitCommit): Added.
4122
4123 2007-10-02  Lars Knoll  <lars@trolltech.com>
4124
4125         Reviewed by bdash.
4126
4127         Add API to retrieve the frame name from QWebFrame.
4128         Implement support for DRT::dumpChildrenAsText.
4129
4130         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4131         (WebCore::DumpRenderTree::dumpFramesAsText):
4132         (WebCore::DumpRenderTree::dump):
4133         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
4134         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
4135         (LayoutTestController::LayoutTestController):
4136         (LayoutTestController::reset):
4137         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
4138
4139 2007-10-02  Lars Knoll  <lars@trolltech.com>
4140
4141         Reviewed by bdash.
4142
4143         Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
4144
4145         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
4146         (WebCore::DumpRenderTree::readStdin):
4147
4148 2007-10-02  Mark Rowe  <mrowe@apple.com>
4149
4150         Reviewed by Oliver.
4151
4152         Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
4153
4154         * BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
4155         * WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
4156
4157 2007-10-02  Mark Rowe  <mrowe@apple.com>
4158
4159         Rubber-stamped by Maciej.
4160
4161         Configuration changes from build.webkit.org.  The major change is refactoring to work
4162         with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
4163         last few weeks.
4164
4165         * BuildSlaveSupport/build.webkit.org-config/master.cfg:
4166         * BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
4167         * BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
4168         * BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
4169         * BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
4170         * BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
4171         * BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
4172         * BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
4173
4174 2007-10-02  Lars Knoll  <lars@trolltech.com>
4175
4176         Reviewed by Maciej.
4177
4178         Add support for eventSender.mouseMove to DRT.
4179         Fixes fast/css/hover-affects-child.html
4180
4181         * DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
4182         (EventSender::mouseMoveTo):
4183
4184 2007-10-01  Mark Rowe  <mrowe@apple.com>
4185
4186         * BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
4187
4188 2007-10-01  David Kilzer  <ddkilzer@webkit.org>
4189
4190         Reviewed by Hyatt.
4191
4192         Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
4193
4194         * Scripts/svn-apply:
4195         (gitdiff2svndiff): Ignore lines beginning with "new file".
4196         * Scripts/svn-unapply:
4197         (gitdiff2svndiff): Ditto.
4198
4199 2007-09-30  George Staikos  <staikos@kde.org>
4200
4201         Qt build fix (Mac OS X specific)
4202
4203         * DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
4204
4205 2007-09-29  Holger Hans Peter Freyther  <zecke@selfish.org>
4206
4207         Reviewed by Mark.
4208
4209         -Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
4210         Remove Bakefiles from svn.
4211
4212         * GtkLauncher/Bakefiles.bkgen: Removed.
4213         * GtkLauncher/ENV: Removed.
4214         * GtkLauncher/gdklauncher.bkl: Removed.
4215         * GtkLauncher/mk: Removed.
4216         * Scripts/regenerate-makefiles: Removed.
4217
4218 2007-09-25  Kevin McCullough  <kmccullough@apple.com>
4219
4220         Reviewed by John.
4221
4222         - Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
4223
4224         * Scripts/run-webkit-tests:
4225
4226 2007-09-26  Adam Roben  <aroben@apple.com>
4227
4228         Make not finding an installed WebKit non-fatal
4229
4230         What really matters is that we are able to load WebKit and its
4231         dependencies, not whether we think we've found an installed WebKit.
4232
4233         Reviewed by Sam.
4234
4235         * WebKitInitializer/WebKitInitializer.cpp:
4236         (getWebViewCLSID): Use new LOG_WARNING macro.
4237         (getInstalledWebKitDirectory): Ditto.
4238         (initializeWebKit): Don't die if we didn't find an installed WebKit,
4239         and use new macros.
4240         * WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
4241
4242 2007-09-26  Adam Roben  <aroben@apple.com>
4243
4244         Committed this file before saving it
4245
4246         * WebKitInitializer/debug_internal.vsprops:
4247
4248 2007-09-26  Adam Roben  <aroben@apple.com>
4249
4250         Load WebKit and its dependencies manually so they come from DllDirectory
4251
4252         I had to change WebKitInitializer to use malloc/free instead of
4253         new/delete to avoid pulling in WebKit (and its dependencies) early
4254         through use of fastMalloc.
4255
4256         Reviewed by Oliver.
4257
4258         * WebKitInitializer/WebKitInitializer.cpp:
4259         (getStringValue): Changed to use malloc/free.
4260         (getInstalledWebKitDirectory): Ditto.
4261         (initializeWebKit): Call SetDllDirectory first, then load all of
4262         WebKit's dependencies manually, finally followed by WebKit itself.
4263         * WebKitInitializer/WebKitInitializer.vcproj: Added a new
4264         configuration to match our other projects.
4265         * WebKitInitializer/debug_internal.vsprops: Added.
4266
4267 2007-09-25  Adam Roben  <aroben@apple.com>
4268
4269         Actually define DEBUG/NDEBUG so that we load WebKit correctly
4270
4271         Rubberstamped by Sam.
4272
4273         * WebKitInitializer/WebKitInitializer.vcproj:
4274
4275 2007-09-25  Adam Roben  <aroben@apple.com>
4276
4277         Make DumpRenderTree delay-load its dependencies
4278
4279         This lets WebKitInitializer re-route the dependencies to be loaded out
4280         of the Safari installation directory.
4281