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