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