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