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