Reviewed by Stephanie Lewis.
[WebKit-https.git] / WebKitTools / ChangeLog
1 2008-06-24  Dan Bernstein  <mitz@apple.com>
2
3         Reviewed by Stephanie Lewis.
4
5         - move the linker flags from the debug configuration in the project
6           to the shared configuration
7
8         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
9         * DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
10
11 2008-06-24  Dan Bernstein  <mitz@apple.com>
12
13         - try to fix the Tiger build
14
15         * DumpRenderTree/mac/AccessibilityControllerMac.mm:
16
17 2008-06-24  Sam Weinig and Beth Dakin  <bdakin@apple.com and sam@webkit.org>
18
19         Reviewed by Darin.
20
21         Fix for <rdar://problem/5884881> Make DumpRenderTree support 
22         accessibility tests
23
24         This patch adds some basic support for accessibility layout tests 
25         on the Mac.
26
27         * DumpRenderTree/AccessibilityController.cpp: Added.
28         (AccessibilityController::AccessibilityController):
29         (AccessibilityController::~AccessibilityController):
30         (dumpCurrentAttributesCallback):
31         (AccessibilityController::makeWindowObject):
32         (AccessibilityController::getJSClass):
33         (AccessibilityController::staticFunctions):
34         * DumpRenderTree/AccessibilityController.h: Added.
35         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
36         * DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
37         (descriptionOfValue):
38         (AccessibilityController::dumpCurrentAttributes):
39         * DumpRenderTree/mac/DumpRenderTree.mm:
40         * DumpRenderTree/mac/FrameLoadDelegate.h:
41         * DumpRenderTree/mac/FrameLoadDelegate.mm:
42         (-[FrameLoadDelegate init]):
43         (-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
44
45 2008-06-24  John Sullivan  <sullivan@apple.com>
46
47         Reviewed by Dan Bernstein
48
49         * Scripts/extract-localizable-strings:
50         add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the 
51         list of debugging macros, to avoid noise when keeping the list of localized string 
52         exceptions up to date
53
54 2008-06-24  Dan Bernstein  <mitz@apple.com>
55
56         Rubber-stamped by Darin Adler.
57
58         - add a font family for testing font-weight
59
60         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
61         flags to create data sections for the WeightWatcher fonts.
62         * DumpRenderTree/fonts: Added.
63         * DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
64         * DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
65         * DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
66         * DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
67         * DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
68         * DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
69         * DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
70         * DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
71         * DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
72         * DumpRenderTree/mac/DumpRenderTree.mm:
73         (activateFonts): Renamed activateAhemFont to this and made it activate
74         the WeightWatcher fonts in addition to Ahem.
75         (prepareConsistentTestingEnvironment): Adjusted for the name change.
76         * DumpRenderTree/win/DumpRenderTree.cpp:
77         (initialize): Added the WeightWatcher fonts.
78
79 2008-06-20  Brent Fulgham  <bfulgham@gmail.com>
80
81         Reviewed by Darin.
82
83         Extend the build-webkit (and set-webkit-configuration) script to
84         support Cairo-based webkit builds.  (see http://bugs.webkit.org/show_bug.cgi?17952)
85
86         * Scripts/build-webkit:  Add --cairo-win32 to the help message
87         * Scripts/webkitdirs.pm:  Extend the 'determinePassedConfiguration
88           subroutine to recognize the --cairo-win32 flag.  When present,
89           the build configuration is changed from Debug/Release to
90           Debug_Cairo/Release_Cairo.  This flag is only active when the
91           isCygwin() test is true.
92
93 2008-06-17  Dan Bernstein  <mitz@apple.com>
94
95         Reviewed by Justin Garcia.
96
97         - prefer Leopard results when running on Snow Leopard.
98
99         * Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
100           mac-leopard.
101         * Scripts/webkitdirs.pm: Added isSnowLeopard().
102
103 2008-06-15  Darin Adler  <darin@apple.com>
104
105         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
106
107 2008-06-15  Darin Adler  <darin@apple.com>
108
109         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
110
111 2008-06-15  Darin Adler  <darin@apple.com>
112
113         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
114
115 2008-06-15  Darin Adler  <darin@apple.com>
116
117         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
118
119 2008-06-15  Darin Adler  <darin@apple.com>
120
121         * Scripts/do-file-rename: Updated.
122         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
123
124 2008-06-15  Darin Adler  <darin@apple.com>
125
126         * Scripts/do-file-rename: Updated for the latest round of renaming.
127         * Scripts/do-webcore-rename: Tweaked and reorganized a bit.
128
129 2008-06-15  Darin Adler  <darin@apple.com>
130
131         * Scripts/create-exports: Added.
132         * Scripts/do-file-rename: Added some planned renames.
133         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
134
135 2008-06-15  Darin Adler  <darin@apple.com>
136
137         * Scripts/do-webcore-rename: Updated for the latest round of renaming.
138
139 2008-06-15  Maciej Stachowiak  <mjs@apple.com>
140
141         Reviewed by Oliver.
142         
143         - rename testkjs to jsc
144
145         * Scripts/build-jsc: Copied from Scripts/build-testkjs.
146         * Scripts/build-testkjs: Removed.
147         * Scripts/run-javascriptcore-tests:
148         * Scripts/run-jsc: Copied from Scripts/run-testkjs.
149         * Scripts/run-sunspider:
150         * Scripts/run-testkjs: Removed.
151         * Scripts/sunspider-compare-results:
152
153 2008-06-14  Darin Adler  <darin@apple.com>
154
155         * Scripts/do-webcore-rename: Moved planned renames into a separate hash
156         from the actual renames. Removed many renames that are either done or
157         no longer planned.
158
159 2008-06-14  Darin Adler  <darin@apple.com>
160
161         * Scripts/do-webcore-rename: Fixed obvious typo.
162
163 2008-06-13  Darin Adler  <darin@apple.com>
164
165         * Scripts/make-js-test-wrappers: Added three more exceptions.
166
167 2008-06-10  Joerg Bornemann  <joerg.bornemann@trolltech.com>
168
169         Reviewed by Simon.
170
171         For the qmake based build make it possible to build against makespecs where
172         QMAKE_CC is defined in a configuration file included from qmake.conf.
173
174         * Scripts/webkitdirs.pm: Added support for include() statements in
175         qmake.conf.
176
177 2008-06-09  Alp Toker  <alp@nuanti.com>
178
179         gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
180         each of the tools since these are no longer set globally.
181
182         * GNUmakefile.am:
183
184 2008-06-08  Darin Adler  <darin@apple.com>
185
186         * Scripts/make-js-test-wrappers: Added another exception.
187
188 2008-06-07  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
189
190         Reviewed by Timothy.
191
192         Remove the --squirrelfish option from SunSpider, as it is no longer needed.
193
194         * Scripts/run-sunspider:
195
196 2008-06-05  Alp Toker  <alp@nuanti.com>
197
198         Build fix for r34387.
199
200         * GNUmakefile.am:
201
202 2008-06-04  Cameron Zwarich  <cwzwarich@uwaterloo.ca>
203
204         Reviewed by Oliver.
205
206         Add an exception for Opcode.o to the global initializers check so that
207         we can dump instruction statistics in the JavaScript virtual machine.
208
209         * Scripts/check-for-global-initializers:
210
211 2008-05-30  Steve Falkenburg  <sfalken@apple.com>
212
213         Generate an isolated COM manifest for registry free COM.
214         
215         * DumpRenderTree/win/DumpRenderTree.vcproj:
216
217 2008-06-02  Anders Carlsson  <andersca@apple.com>
218
219         Reviewed by David Hyatt and Mitz.
220
221         <rdar://problem/5704119> 
222         repro crash in WebCore::RenderPart::setWidget (plugin-related?)
223         
224         Call -[WebView display] in the "plug-in" failed delegate method, simulating
225         the sheet that Safari puts up.
226         
227         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
228         (-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
229
230 2008-05-30  Timothy Hatcher  <timothy@apple.com>
231
232         Made the starting line number of scripts be 1-based throughout the engine.
233         This cleans up script line numbers so they are all consistent now.
234
235         Reviewed by Oliver Hunt.
236
237         * DumpRenderTree/mac/ObjCController.m:
238         (runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
239         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
240         (runJavaScriptThread): Ditto.
241         * DumpRenderTree/win/DumpRenderTree.cpp:
242         (runJavaScriptThread): Ditto.
243
244 2008-05-29  Geoffrey Garen  <ggaren@apple.com>
245
246         Reviewed by Adam Roben.
247
248         Fixed VCSUtils.pm to work with git repositories inside symlinks.
249
250         * Scripts/VCSUtils.pm: Compute a relative path from the git repository
251         root, instead of the root of the filesystem, to work around a bug in
252         abs2rel when traversing symlinked home directories.
253
254 2008-05-29  Kevin Ollivier  <kevino@theolliviers.com>
255
256         Reviewed by Darin Adler.
257         
258         Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
259         
260         https://bugs.webkit.org/show_bug.cgi?id=19311
261
262         * Scripts/webkitdirs.pm:
263
264 2008-05-29  Alexey Proskuryakov  <ap@webkit.org>
265
266         Reviewed by Adam Roben.
267
268         Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
269         configuration files.
270
271         * Scripts/run-iexploder-tests:
272         * Scripts/run-mangleme-tests:
273         Renamed runSafari to not conflict with the one in webkitdirs.
274         Added SSLCertificateFile option for httpd, as now needed.
275
276 2008-05-27  Kevin Ollivier  <kevino@theolliviers.com>
277
278         wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
279
280         * wx/browser/browser.cpp:
281         (MyApp::OnInit):
282
283 2008-05-24  Andreia Gaita  <shana@isninja.com>
284
285         Reviewed by Alp Toker.
286
287         cygwin-downloader.py fixes.
288
289         Remove two non-working mirrors. Add a check for missing dependency
290         packages to avoid bailing out on an inconsistent Cygwin package list.
291
292         * CygwinDownloader/cygwin-downloader.py:
293
294 2008-05-24  Jan Michael Alonzo  <jmalonzo@webkit.org>
295
296         Reviewed by Darin Adler.
297
298         Remove useQmake usage. QMake build doesn't support Gtk port
299         anymore.
300
301         Also fix 2 occurences of "Web Kit". Should be WebKit.
302
303         * Scripts/build-webkit:
304         * Scripts/run-javascriptcore-tests:
305         * Scripts/run-launcher:
306         * Scripts/run-webkit-tests:
307         * Scripts/webkitdirs.pm:
308
309 2008-05-22  Stephanie Lewis  <slewis@apple.com>
310
311         Reviewed by Dan.
312
313         implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
314
315         * DumpRenderTree/mac/UIDelegate.mm:
316         (-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
317         * DumpRenderTree/win/UIDelegate.cpp:
318         (SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
319
320 2008-05-21  Adele Peterson  <adele@apple.com>
321
322         Reviewed by Adam.
323
324         DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
325
326         * DumpRenderTree/win/UIDelegate.cpp:
327         (UIDelegate::webViewFocus): Added.
328         (UIDelegate::webViewUnfocus): Added.
329         * DumpRenderTree/win/UIDelegate.h:
330
331 2008-05-21  Mark Rowe  <mrowe@apple.com>
332
333         Rubber-stamped by Stephanie Lewis.
334
335         Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
336         rather than trigger an unknown argument message.  This allows run-webkit-tests to display results
337         once more.
338
339         * Scripts/run-safari:
340
341 2008-05-21  Stephanie Lewis  <slewis@apple.com>
342
343         Reviewed by Maciej, Mark.
344   
345         arch doesn't take arguments on tiger.  expand DRT timeout for guardMalloc.
346
347         * Scripts/run-webkit-tests:
348         * Scripts/webkitdirs.pm:
349
350 2008-05-20  Mark Rowe  <mrowe@apple.com>
351
352         Reviewed by Stephanie Lewis.
353
354         Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
355
356         If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
357         This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
358         can be manually overridden by passing --64-bit or --no-64-bit.  This removes the need to always
359         pass an argument to run-webkit-tests after having built with "make x86_64".
360
361         * Scripts/gdb-safari:
362         * Scripts/run-safari:
363         * Scripts/run-webkit-tests:
364         * Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
365         preferred architecture, and exporting of the environment variables for 'arch' out into
366         separate subroutines.
367
368 2008-05-20  Mark Rowe  <mrowe@apple.com>
369
370         Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
371
372         * Makefile:
373
374 === End merge of squirrelfish ===
375
376 2008-04-14  Maciej Stachowiak  <mjs@apple.com>
377
378         Reviewed by Oliver.
379         
380         - added support for --ubench mode
381
382         * Scripts/run-sunspider:
383
384 2008-03-26  Geoffrey Garen  <ggaren@apple.com>
385
386         Reviewed by Oliver Hunt.
387
388         --squirrelfish mode: pared down tests for squirrelfish to chew on.
389
390         * Scripts/run-sunspider:
391
392 === Start merge of squirrelfish ===
393
394 2008-05-21  Darin Adler  <darin@apple.com>
395
396         * Scripts/make-js-test-wrappers: Added another exception.
397
398 2008-05-19  Stephanie Lewis  <slewis@apple.com>
399
400         Reviewed by Adam.
401
402         Explicitly set run mode to 32bit unless overridden to avoid
403         confusion when running tests
404
405         * Scripts/build-dumprendertree:
406         * Scripts/gdb-safari:
407         * Scripts/run-webkit-tests:
408         * Scripts/webkitdirs.pm:
409
410 2008-05-16  Stephanie Lewis  <slewis@apple.com>
411
412         Reviewed by Steve.
413
414         Print out pending unload event count. Also print out main frame name to match Mac.         
415
416         * DumpRenderTree/win/FrameLoadDelegate.cpp:
417         (descriptionSuitableForTestResult):
418         (FrameLoadDelegate::didFinishDocumentLoadForFrame):
419
420 2008-05-16  Timothy Hatcher  <timothy@apple.com>
421
422         Remove the Drosera project, code and resources since it has been
423         replaced with the Web Inspector's debugger. Removes references to
424         Drosera in various scripts and makefiles.
425
426         Rubber-stamped by Mark Rowe.
427
428         * BuildSlaveSupport/build-launcher-app:
429         * Drosera/DebuggerDocument.cpp: Removed.
430         * Drosera/DebuggerDocument.h: Removed.
431         * Drosera/Drosera.icns: Removed.
432         * Drosera/DroseraWin.make: Removed.
433         * Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
434         * Drosera/English.lproj/Debugger.nib/info.nib: Removed.
435         * Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
436         * Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
437         * Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
438         * Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
439         * Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
440         * Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
441         * Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
442         * Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
443         * Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
444         * Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
445         * Drosera/Images/Drosera.ico: Removed.
446         * Drosera/Images/SourceArrow.png: Removed.
447         * Drosera/Images/SourceArrowBlank.png: Removed.
448         * Drosera/Images/SourceArrowOpen.png: Removed.
449         * Drosera/Images/background_stripe.png: Removed.
450         * Drosera/Images/breakPoint.tif: Removed.
451         * Drosera/Images/breakPointDisabled.tif: Removed.
452         * Drosera/Images/breakpointeditor.png: Removed.
453         * Drosera/Images/close.tif: Removed.
454         * Drosera/Images/close_active.tif: Removed.
455         * Drosera/Images/close_hover.tif: Removed.
456         * Drosera/Images/console.png: Removed.
457         * Drosera/Images/continue.tif: Removed.
458         * Drosera/Images/fileIcon.jpg: Removed.
459         * Drosera/Images/finishFunction.tif: Removed.
460         * Drosera/Images/glossyFooterFill.tif: Removed.
461         * Drosera/Images/glossyHeader.png: Removed.
462         * Drosera/Images/glossyHeaderPressed.png: Removed.
463         * Drosera/Images/gradientBackground.png: Removed.
464         * Drosera/Images/gutter.png: Removed.
465         * Drosera/Images/navLeftDisabled.png: Removed.
466         * Drosera/Images/navLeftNormal.png: Removed.
467         * Drosera/Images/navLeftPressed.png: Removed.
468         * Drosera/Images/navRightDisabled.png: Removed.
469         * Drosera/Images/navRightNormal.png: Removed.
470         * Drosera/Images/navRightPressed.png: Removed.
471         * Drosera/Images/pause.tif: Removed.
472         * Drosera/Images/popUpArrows.png: Removed.
473         * Drosera/Images/programCounter.tif: Removed.
474         * Drosera/Images/programCounterBreakPoint.tif: Removed.
475         * Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
476         * Drosera/Images/run.tif: Removed.
477         * Drosera/Images/siteCollapsed.tif: Removed.
478         * Drosera/Images/siteExpanded.tif: Removed.
479         * Drosera/Images/siteIcon.tif: Removed.
480         * Drosera/Images/small.ico: Removed.
481         * Drosera/Images/splitterBar.tif: Removed.
482         * Drosera/Images/splitterDimple.tif: Removed.
483         * Drosera/Images/step.tif: Removed.
484         * Drosera/Images/stepOut.tif: Removed.
485         * Drosera/Images/stepOver.tif: Removed.
486         * Drosera/Images/stop.tif: Removed.
487         * Drosera/Images/toolbarBackground.png: Removed.
488         * Drosera/Images/verticalSplitterBar.tiff: Removed.
489         * Drosera/Images/verticalSplitterDimple.tiff: Removed.
490         * Drosera/Makefile: Removed.
491         * Drosera/breakpointEditor.html: Removed.
492         * Drosera/config.h: Removed.
493         * Drosera/console.css: Removed.
494         * Drosera/console.html: Removed.
495         * Drosera/console.js: Removed.
496         * Drosera/debugger.css: Removed.
497         * Drosera/debugger.html: Removed.
498         * Drosera/debugger.js: Removed.
499         * Drosera/mac/DebuggerApplication.h: Removed.
500         * Drosera/mac/DebuggerApplication.mm: Removed.
501         * Drosera/mac/DebuggerClient.h: Removed.
502         * Drosera/mac/DebuggerClient.mm: Removed.
503         * Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
504         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
505         * Drosera/mac/Info.plist: Removed.
506         * Drosera/mac/LauncherInfo.plist: Removed.
507         * Drosera/mac/Makefile: Removed.
508         * Drosera/mac/ServerConnection.h: Removed.
509         * Drosera/mac/ServerConnection.mm: Removed.
510         * Drosera/mac/launcher.m: Removed.
511         * Drosera/mac/main.m: Removed.
512         * Drosera/viewer.css: Removed.
513         * Drosera/viewer.html: Removed.
514         * Drosera/win/BaseDelegate.h: Removed.
515         * Drosera/win/DebuggerClient.cpp: Removed.
516         * Drosera/win/DebuggerClient.h: Removed.
517         * Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
518         * Drosera/win/Drosera.cpp: Removed.
519         * Drosera/win/Drosera.h: Removed.
520         * Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
521         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
522         * Drosera/win/DroseraPrefix.cpp: Removed.
523         * Drosera/win/DroseraPrefix.h: Removed.
524         * Drosera/win/Info.plist: Removed.
525         * Drosera/win/ServerConnection.cpp: Removed.
526         * Drosera/win/ServerConnection.h: Removed.
527         * Drosera/win/resource.h: Removed.
528         * Makefile:
529         * Scripts/build-drosera: Removed.
530         * Scripts/gdb-drosera: Removed.
531         * Scripts/run-drosera: Removed.
532         * Scripts/run-drosera-nightly.cmd: Removed.
533         * Scripts/run-drosera.cmd: Removed.
534         * Scripts/webkitdirs.pm:
535
536 2008-05-15  Stephanie Lewis  <slewis@apple.com>
537
538         Reviewed by Anders.
539
540         Dump the unload count for a frame after parsing is finished.
541
542         * DumpRenderTree/mac/FrameLoadDelegate.mm:
543         (-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
544
545 2008-05-15  Alexey Proskuryakov  <ap@webkit.org>
546
547         Reviewed by Dan Bernstein.
548
549         https://bugs.webkit.org/show_bug.cgi?id=10707
550         DumpRenderTree should not be able to access non-local resources
551
552         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
553         (-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
554         Block them, and complain.
555
556 2008-05-15  Kevin Ollivier  <kevino@theolliviers.com>
557
558         wx build fix. Update the version of libpng to download and instsall.
559
560         * wx/install-unix-extras:
561
562 2008-05-14  Julien Chaffraix  <jchaffraix@webkit.org>
563
564         Reviewed by Eric.
565
566         - isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
567           We now force the return value to be numeric.
568
569         - Removed platform checks as it was a work around the previous issue.
570
571         - Replaced isDarwin() by isOSX() as they have now the same behaviour.
572
573         * Scripts/build-webkit:
574         * Scripts/webkitdirs.pm:
575
576 2008-05-12  Adam Roben  <aroben@apple.com>
577
578         Support for testing NPN_PostURL
579
580         Reviewed by Anders Carlsson.
581
582         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
583         (toCString): Added this helper function.
584         (testPostURLFile): Added. Writes the passed-in content to the
585         passed-in file and calls NPN_PostURL with the passed-in URL and
586         target.
587         (pluginInvoke): Added a case for testPostURLFile.
588         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
589         (followShortcuts): Changed to allow paths that don't yet exist.
590
591 2008-05-12  Mark Rowe  <mrowe@apple.com>
592
593         Reviewed by Sam Weinig.
594
595         Minor cleanup of the DRT Xcode project.
596
597         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:  Use GCC_OPTIMIZATION_LEVEL rather than
598         OPTIMIZATION_CFLAGS.  Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
599         not need to be there.
600
601 2008-05-12  Anders Carlsson  <andersca@apple.com>
602
603         Reviewed by Adam.
604
605         Add support for testing application caches.
606         
607         * DumpRenderTree/mac/DumpRenderTree.mm:
608         (dumpRenderTree):
609         Empty the cache.
610         
611         (resetWebViewToConsistentStateBeforeTesting):
612         Turn on support for the application cache.
613
614 2008-05-09  Mark Rowe  <mrowe@apple.com>
615
616         Reviewed by Anders Carlsson.
617
618         Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
619
620         It currently does not attempt to print events which means that plugins/mouse-events.html
621         will fail when run 64-bit.  All other tests that use this plugin pass.
622
623         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
624         (testGetIntIdentifier):
625         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
626         (NPP_New):
627         (NPP_HandleEvent):
628
629 2008-05-09  Brady Eidson  <beidson@apple.com>
630
631         Reviewed by Adam Roben
632
633         Explicitly call shutDownWebKit() before quitting.
634
635         * Drosera/win/Drosera.cpp:
636         (_tWinMain):
637
638         * DumpRenderTree/win/DumpRenderTree.cpp:
639         (main):
640
641 2008-05-09  Mark Rowe  <mrowe@apple.com>
642
643         Fix the Tiger build of Drosera.
644
645         * Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
646
647 2008-05-09  Sam Weinig  <sam@webkit.org>
648
649         Rubber-stamped by Mark Rowe.
650
651         Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
652
653         * Scripts/build-webkit:
654
655 2008-05-08  Mark Rowe  <mrowe@apple.com>
656
657         Another attempt at a Tiger build fix.
658
659         Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
660
661         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
662
663 2008-05-08  Mark Rowe  <mrowe@apple.com>
664
665         Tiger build fix.  Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
666
667         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
668
669 2008-05-08  Mark Rowe  <mrowe@apple.com>
670
671         Reviewed by Oliver Hunt and Dan Bernstein.
672
673         Update DumpRenderTree to build 64-bit.
674
675         The three major changes here are:
676         1) Use NSInteger in the appropriate places.
677         2) Use ColorSync API that is available in 64-bit to switch display profiles.
678         3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
679
680         The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
681         needs updated to successfully build.
682
683         * DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
684         * DumpRenderTree/mac/DumpRenderTree.mm:
685         (swizzleAllMethods):
686         (poseAsClass):
687         (prepareConsistentTestingEnvironment):
688         * DumpRenderTree/mac/DumpRenderTreeMac.h:
689         * DumpRenderTree/mac/DumpRenderTreePasteboard.h:
690         * DumpRenderTree/mac/DumpRenderTreePasteboard.m:
691         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
692         * DumpRenderTree/mac/PixelDumpSupportMac.mm:
693         (restoreColorSpace):
694         (failedGettingCurrentProfile):
695         (setDefaultColorProfileToRGB):
696
697 2008-05-08  Mark Rowe  <mrowe@apple.com>
698
699         Reviewed by Darin Adler.
700
701         Clean up Drosera so that it will build 64-bit.
702
703         * Drosera/mac/DebuggerApplication.mm:
704         (-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
705         (-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
706         * Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
707
708 2008-05-07  David Kilzer  <ddkilzer@apple.com>
709
710         Use File::Find and Getopt::Long in make-js-test-wrappers
711
712         Reviewed by Darin.
713
714         * Scripts/make-js-test-wrappers:
715         - Updated Apple copyright statement.
716         - Added command-line switch parsing and -h|--help switch.
717         - Allowed user to pass list of files/directories on which to do
718           a restricted search for TEMPLATE.html files.  The default
719           behavior is still to search the entire LayoutTests directory.
720         - Removed duplicate 'use strict' statement.
721         - Replaced use of `find` statements with File::Find::find().
722         - Remove unneeded chomp() calls now that we use File::Find.
723         (directoryFilter): Added.  Filters .svn directories when used
724         with File::Find::find().
725         (findTemplateFiles): Added.  Returns a list of TEMPLATE.html
726         files found.
727
728 2008-05-05  Steve Falkenburg  <sfalken@apple.com>
729
730         Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
731
732         * DumpRenderTree/win/DumpRenderTree.vcproj:
733         * DumpRenderTree/win/ImageDiff.vcproj:
734
735 2008-05-05  Adele Peterson  <adele@apple.com>
736
737         Reviewed by Adam.
738
739         Look for the right ImageDiff executable for debug builds.
740
741         * Scripts/run-webkit-tests:
742
743 2008-05-05  Darin Adler  <darin@apple.com>
744
745         * Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
746         leak tests.
747
748 2008-05-05  Ariya Hidayat  <ariya.hidayat@trolltech.com>
749
750         Reviewed by Simon.
751
752         In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG 
753         tests expect to be 480x360)
754
755         * DumpRenderTree/qt/DumpRenderTree.cpp:
756         (WebCore::DumpRenderTree::open):
757
758 2008-05-02  Dan Bernstein  <mitz@apple.com>
759
760         Reviewed by Adam Roben.
761
762         - add an option to svn-apply to set the reviewer name in change logs
763
764         * Scripts/svn-apply: Added a [-r|--reviewer name] option.
765
766 2008-05-01  David Kilzer  <ddkilzer@apple.com>
767
768         Clean up configuration usage in run-webkit-tests
769
770         Reviewed by Adam.
771
772         * Scripts/run-webkit-tests: Parse configuration switches using
773         passedConfiguration() from webkitdirs.pm like every other script.
774         Note that we must still call setConfiguration() afterwards in
775         case the --configuration switch was used.  Use $configurationOption
776         when running build-dumprendertree instead of recreating the switch.
777
778 2008-04-29  Adam Roben  <aroben@apple.com>
779
780         Restore the beloved COMPtr::operator&
781
782 2008-04-29  Adam Roben  <aroben@apple.com>
783
784         Windows build fixes
785
786         Replace COMPtr::operator& with COMPtr::adoptionPointer.
787
788 2008-04-25  Alexey Proskuryakov  <ap@webkit.org>
789
790         Reviewed by Darin.
791
792         Fix run-webkit-tests --threading
793         and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
794         Proxy server issue in Sunday's Nightly
795
796         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
797         (runJavaScriptThread):
798         (startJavaScriptThreads):
799         (stopJavaScriptThreads):
800         Spawned threads were immediately detached, unlike the original ones, so joining them
801         made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
802         waits for them all to exit.
803
804 2008-04-28  Holger Hans Peter Freyther  <zecke@selfish.org>
805
806         Reviewed by Simon.
807
808         Reset dumping resource load callbacks to false for the next test
809         
810
811         * DumpRenderTree/qt/jsobjects.cpp:
812         (LayoutTestController::reset):
813
814 2008-04-28  Tor Arne Vestbø  <tavestbo@trolltech.com>
815
816         Reviewed by Simon.
817
818         Adapt to the latest API changes in WebKit/qt/Api.
819
820         * DumpRenderTree/qt/DumpRenderTree.cpp:
821         (WebCore::DumpRenderTree::DumpRenderTree):
822         * DumpRenderTree/qt/jsobjects.cpp:
823
824 2008-04-26  Robin Dunn  <robin@alldunn.com>
825
826         Reviewed by Kevin Ollivier.
827         
828         Delete the DerivedSources after make clean has been done so that the DerivedSources
829         don't get re-created. Also, use the proper extension for the Win wxPython extension.
830         
831         https://bugs.webkit.org/show_bug.cgi?id=18756
832
833         * wx/build-wxwebkit:
834
835 2008-04-26  Adam Barth <hk9565@gmail.com>
836
837         Reviewed by Adam Roben and Sam Weinig.
838
839         Updates LayoutTestController to use host instead of domain.
840
841         Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
842
843         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
844         (LayoutTestController::setDatabaseQuota):
845         * DumpRenderTree/mac/UIDelegate.mm:
846         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
847
848 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
849
850         wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
851
852         * wx/install-unix-extras:
853
854 2008-04-26  Robin Dunn  <robin@alldunn.com>
855
856         Reviewed by Kevin Ollivier.
857         
858         Allow the user to set the path to SWIG using an environment variable.
859         
860         https://bugs.webkit.org/show_bug.cgi?id=18660
861
862         * wx/build-wxwebkit:
863
864 2008-04-26  Kevin Ollivier  <kevino@theolliviers.com>
865
866         wx build fix. Download the latest libpng version for building the
867         dependencies.
868
869         * wx/install-unix-extras:
870
871 2008-04-25  Holger Hans Peter Freyther  <zecke@selfish.org>
872
873         Reviewed by Simon.
874
875         Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
876         
877         Similar to Editing and Frameloading we do the dumping within WebCore
878         
879
880         * DumpRenderTree/qt/jsobjects.cpp:
881         (LayoutTestController::dumpResourceLoadCallbacks):
882         * DumpRenderTree/qt/jsobjects.h:
883
884 2008-04-24  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
885
886         Reviewed by Maciej Stachowiak.
887
888         http://bugs.webkit.org/show_bug.cgi?id=18485
889         Typo and documentation fix for build-webkit
890
891         * Scripts/build-webkit:
892
893 2008-04-24  Anders Carlsson  <andersca@apple.com>
894
895         Reviewed by Sam.
896
897         Don't call fprintf from the signal handler.
898         
899         * DumpRenderTree/mac/DumpRenderTree.mm:
900         (crashHandler):
901
902 2008-04-23  Adam Roben  <aroben@apple.com>
903
904         Make crashes be reported as crashes, not hangs
905
906         Reviewed by David Kilzer.
907
908         * Scripts/run-webkit-tests:
909         (top level): Use the new status field of the output from
910         readFromDumpToolWithTimer to determine if the test crashed or hung.
911         (sub readFromDumpToolWithTimer):
912           - If we fail to read a line and $! is not EAGAIN, then we've crashed
913             and should not try to read any more.
914           - Changed the timedout field to a more general status field.
915
916 2008-04-22  David Kilzer  <ddkilzer@apple.com>
917
918         Bug 18683: update-webkit returns 0 even if it fails
919
920         <https://bugs.webkit.org/show_bug.cgi?id=18683>
921
922         Reviewed by Mitz Pettel.
923
924         * Scripts/update-webkit:
925         (runSvnUpdate): Die if close() fails.
926
927 2008-04-21  Adam Roben  <aroben@apple.com>
928
929         Flush stdout/stderr after printing every #EOF separator
930
931         This fixes a hang when running the pixel tests on Windows
932
933         Reviewed by Mitz Pettel.
934
935         * DumpRenderTree/win/DumpRenderTree.cpp:
936         (dump):
937         (main): We don't have to flush stdout/stderr in the arguments loop
938         anymore, as runTest flushes for us.
939
940 2008-04-21  Adam Roben  <aroben@apple.com>
941
942         Fix pixel tests
943
944         * Scripts/run-webkit-tests:
945         (sub readFromDumpToolWithTimer): Use readline instead of read to
946         ensure that we don't read past the #EOF marker.
947
948 2008-04-21  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
949
950         Reviewed by Simon.
951
952         Build fix for Qt 4.3
953
954         * When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
955         always defined. Do this by adding defines to the compiler line
956
957         * DumpRenderTree/qt/DumpRenderTree.pro:
958
959 2008-04-19  Mike Hommey  <glandium@debian.org>
960
961         Reviewed by Alp Toker.
962
963         Don't build GtkLauncher and DumpRenderTree with rpath.
964
965         * GNUmakefile.am:
966
967 2008-04-18  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
968
969         Reviewed by Alp Toker.
970
971         http://bugs.webkit.org/show_bug.cgi?id=16620
972         [GTK] Autotools make dist and make check support
973
974         Cleanups.
975
976         * GNUmakefile.am:
977
978 2008-04-18  Adam Roben  <aroben@apple.com>
979
980         Drop the hang timer to 30 seconds
981
982         This matches what DRT/mac was using.
983
984         Reviewed by Mitz Pettel.
985
986         * Scripts/run-webkit-tests:
987
988 2008-04-18  Adam Roben  <aroben@apple.com>
989
990         Get rid of DRT's Watchdog
991
992         run-webkit-tests now detects hangs and samples DRT as needed.
993
994         Reviewed by Mitz Pettel.
995
996         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
997         Watchdog* files from the project.
998         * DumpRenderTree/Watchdog.cpp: Removed.
999         * DumpRenderTree/Watchdog.h: Removed.
1000         * DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
1001         (dumpRenderTree):
1002         (runTest):
1003         * DumpRenderTree/mac/WatchdogMac.h: Removed.
1004         * DumpRenderTree/mac/WatchdogMac.mm: Removed.
1005         * Scripts/run-webkit-tests:
1006         (sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
1007         (sub sampleDumpTool): Added. Writes a sample report to
1008         ~/Library/Logs/DumpRenderTree/HangReport.txt.
1009
1010 2008-04-18  Simon Hausmann  <hausmann@webkit.org>
1011
1012         Reviewed by Holger.
1013
1014         Adapt to the API changes in WebKit/qt
1015
1016         * DumpRenderTree/qt/DumpRenderTree.cpp:
1017         (WebCore::WebPage::WebPage):
1018         (WebCore::DumpRenderTree::DumpRenderTree):
1019         (WebCore::DumpRenderTree::initJSObjects):
1020         (WebCore::DumpRenderTree::dumpFramesAsText):
1021         (WebCore::DumpRenderTree::dump):
1022
1023 2008-04-17  Adam Roben  <aroben@apple.com>
1024
1025         Fix many tests on Windows
1026
1027         * Scripts/run-webkit-tests:
1028         (readFromDumpToolWithTimer):
1029          - Use read instead of sysread to ensure that we don't interfere with
1030            other uses of buffered IO in this script.
1031         (setFileHandleNonBlocking): Actually set the filehandle to blocking
1032         when specified.
1033
1034 2008-04-17  Adam Roben  <aroben@apple.com>
1035
1036         Fix ~10 tests
1037
1038         * Scripts/run-webkit-tests: Only remove the newline after #EOF, not
1039         whatever newline happens to be at the end of what we've read.
1040
1041 2008-04-17  Adam Roben  <aroben@apple.com>
1042
1043         Remove DRT/win's hang timer
1044
1045         run-webkit-tests takes care of this for us now
1046
1047         Reviewed by Anders Carlsson.
1048
1049         * DumpRenderTree/win/DumpRenderTree.cpp:
1050
1051 2008-04-17  Adam Roben  <aroben@apple.com>
1052
1053         Don't wait for the hang timer twice in the case of a hang
1054
1055         Previously we'd wait for a hang while reading both stdout and stderr
1056         from DRT. Now we'll only wait for one or the other.
1057
1058         Reviewed by Anders Carlsson.
1059
1060         * Scripts/run-webkit-tests:
1061         (top level): Don't wait for stderr to time out if stdout already timed
1062         out.
1063         (readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
1064         after the first read that returns no data.
1065
1066 2008-04-17  Adam Roben  <aroben@apple.com>
1067
1068         Don't throw away the output from timed out tests
1069
1070         Reviewed by Anders Carlsson.
1071
1072         * Scripts/run-webkit-tests:
1073         (top level): Updated for changes to readFromDumpToolWithTimer.
1074         (readFromDumpToolWithTimer): Return a hash that contains both the
1075         output and whether or not the test timed out.
1076
1077 2008-04-17  Adam Roben  <aroben@apple.com>
1078
1079         Make the hang timer 60 seconds
1080
1081         * Scripts/run-webkit-tests:
1082
1083 2008-04-17  Adam Roben  <aroben@apple.com>
1084
1085         Get rid of carriage returns in DRT/win's stderr
1086
1087         Reviewed by Eric Seidel.
1088
1089         * DumpRenderTree/win/DumpRenderTree.cpp:
1090         (main): Mark stderr as binary like we already do for stdout.
1091
1092 2008-04-17  Adam Roben  <aroben@apple.com>
1093
1094         Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
1095         timeout long tests)
1096
1097         <https://bugs.webkit.org/show_bug.cgi?id=17678>
1098
1099         We now abort tests that take longer than 60 seconds to produce output.
1100         This matches the watchdog timer in DRT/mac and DRT/win (which we can
1101         now remove).
1102
1103         Reviewed by Eric Seidel.
1104
1105         * Scripts/run-webkit-tests:
1106         (top level): Read DRT's output using the new readFromDumpToolWithTimer
1107         subroutine. If readFromDumpToolWithTimer returns undefined it means
1108         the test timed out, so we register the test as a hang and move on.
1109         (sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
1110         both crashed and timed out tests. If the test timed out, we kill DRT
1111         before returning.
1112         (sub linksForTimedOutTest): Added. We don't have any output to link to for
1113         tests that timed out.
1114         (sub recordActualResultsAndDiff): Don't call length on undefined.
1115         (sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
1116         from a filehandle until an #EOF is reached or
1117         $maximumSecondsWithoutOutput have elapsed.
1118         (sub setFileHandleNonBlocking): Marks a filehandle as blocking or
1119         non-blocking.
1120
1121 2008-04-17  Adam Roben  <aroben@apple.com>
1122
1123         Refactor test results page generation
1124
1125         Reviewed by Eric Seidel.
1126
1127         * Scripts/run-webkit-tests:
1128         (sub htmlForResultsSection): Added. Takes a set of tests, a
1129         description, and a subroutine to generate the links for each test, and
1130         creates a HTML string containing a table of the tests and their
1131         links.
1132         (sub linksForExpectedAndActualResults): Added. Replaces the
1133         htmlForExpectedAndActualResults subroutine.
1134         (sub linksForMismatchTest): Added.
1135         (sub linksForCrashOrErrorTest): Added.
1136         (sub linksForNewTest): Added.
1137
1138 2008-04-17  Adam Roben  <aroben@apple.com>
1139
1140         Print the extension for all tests in the test results page
1141
1142         Reviewed by Eric Seidel.
1143
1144         * Scripts/run-webkit-tests:
1145
1146 2008-04-17  Adam Roben  <aroben@apple.com>
1147
1148         Move code that counts finished tests into a subroutine
1149
1150         Reviewed by Eric Seidel.
1151
1152         * Scripts/run-webkit-tests:
1153         (sub countFinishedTest): Added.
1154
1155 2008-04-17  Adam Roben  <aroben@apple.com>
1156
1157         Move code that handles a crash into a subroutine
1158
1159         Reviewed by Eric Seidel.
1160
1161         * Scripts/run-webkit-tests:
1162         (sub testCrashed): Added.
1163
1164 2008-04-17  Eric Seidel  <eric@webkit.org>
1165
1166         Reviewed by hyatt.
1167         
1168         Rename RenderView to RenderViewport in the next rename patch.
1169
1170         * Scripts/do-webcore-rename:
1171
1172 2008-04-17  Mario Bensi  <mbensi@pleyo.com>
1173
1174         Reviewed by Alp Toker.
1175
1176         http://bugs.webkit.org/show_bug.cgi?id=18543
1177         DumpRenderTree gtk freeze
1178
1179         fix DumpRenderTree gtk freeze 
1180
1181         * DumpRenderTree/gtk/DumpRenderTree.cpp:
1182         (dump):
1183
1184 2008-04-15  Anders Carlsson  <andersca@apple.com>
1185
1186         Add missing ;
1187         
1188         * Scripts/build-webkit:
1189         
1190 2008-04-15  Anders Carlsson  <andersca@apple.com>
1191
1192         Reviewed by Adam.
1193
1194         Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
1195
1196         * Scripts/build-webkit:
1197
1198 2008-04-15  Andre Poenitz  <andre.poenitz@trolltech.com>
1199
1200         Reviewed by Simon.
1201
1202         Fix compilation with Qt namespaces
1203
1204         Qt can be configured to have all of its classes inside a specified namespaces.
1205         This is for example used in plugin/component environments like Eclipse.
1206
1207         This change makes it possible to let the Qt port compile against a namespaced
1208         Qt by the use of macros Qt provides to properly forward declare Qt classes in
1209         the namespace.
1210
1211         * DumpRenderTree/qt/DumpRenderTree.h:
1212
1213 2008-04-08  Kevin Ollivier  <kevino@theolliviers.com>
1214
1215         Reviewed by Darin Adler.
1216
1217         Add a script that propagates any file changes made to the Bakefiles
1218         over to GTK and Qt build systems. Still needs to be wired into
1219         those ports though.
1220
1221         * Scripts/update-sources-list.py: Added.
1222
1223 2008-04-08  Mark Rowe  <mrowe@apple.com>
1224
1225         Clean up after Brady.
1226
1227         * DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
1228
1229 2008-04-08  Brady Eidson  <beidson@apple.com>
1230
1231         Reviewed by Mitzpettel
1232
1233         Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
1234         -WebArchive subresources dump in random order, intermittent failures
1235
1236         * DumpRenderTree/mac/DumpRenderTree.mm:
1237         (compareResourceURLs): Sorting function based on the resource URLs
1238         (serializeWebArchiveToXML): Sort the subresource array
1239
1240 2008-04-07  Brady Eidson  <beidson@apple.com>
1241
1242         OMG, BUILD - please!
1243
1244         * Scripts/build-webkit:
1245
1246 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1247
1248         Reviewed by Simon.
1249
1250         * Enable running http tests for Qt again. Failing tests can be put into the skipped list.
1251         * Running these tests on windows and other platforms might need some work.
1252
1253         * Scripts/run-webkit-tests:
1254
1255 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1256
1257         Reviewed by Simon.
1258
1259         * For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
1260         is not exporting enough to create the output in DRT itself. Settle with the approach
1261         Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
1262         * run-webkit-tests http/tests(/loading) can now be executed.
1263         * For tests in loading/ directories we are going to throw away the dirty
1264         QWebPage to start with something clean.
1265         
1266
1267         * DumpRenderTree/qt/DumpRenderTree.cpp:
1268
1269 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1270
1271         Reviewed by Simon.
1272
1273         * Treat http and https as special URLs as well. Change the main.cpp and
1274         DumpRenderTree.cpp to handle http and https URIs as input.
1275         * I'm not doing the clean up and merging of these two checks now.
1276         
1277
1278         * DumpRenderTree/qt/DumpRenderTree.cpp:
1279         (WebCore::DumpRenderTree::readStdin):
1280         * DumpRenderTree/qt/main.cpp:
1281         (main):
1282
1283 2008-04-03  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
1284
1285         Reviewed by Simon.
1286
1287         * Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
1288         located in a directory with the name "loading". And this will autoamtically
1289         enable dumping.
1290         * Remove this method from the LayoutTestController as it is unused now and this
1291         avoids adding it to the DRT of the Qt port.
1292         
1293
1294         * DumpRenderTree/LayoutTestController.cpp:
1295         (setPrivateBrowsingEnabledCallback):
1296
1297 2008-04-01  Christian Dywan  <christian@imendio.com>
1298
1299         Build fix for GCC 4.3.
1300
1301         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
1302
1303 2008-04-01  Simon Hausmann  <hausmann@webkit.org>
1304
1305         Reviewed by Holger.
1306
1307         Fix Qt DRT run by also printing EOF on stderr, as expected by
1308         run-webkit-tests.
1309
1310         * DumpRenderTree/qt/DumpRenderTree.cpp:
1311         (WebCore::DumpRenderTree::dump):
1312
1313 2008-03-31  Julien Chaffraix  <julien.chaffraix@gmail.com>
1314
1315         Reviewed by Darin.
1316
1317         Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
1318
1319         Remove trailing '/' in $sourceDir in determineSourceDir().
1320
1321         Fix suggested by Dmitriy Kazachkov.
1322
1323         * Scripts/webkitdirs.pm:
1324
1325 2008-03-29  Adam Roben  <aroben@apple.com>
1326
1327         Update for rename of an IWebViewPrivate method
1328
1329         Reviewed by Mitz Pettel.
1330
1331         * DumpRenderTree/win/DumpRenderTree.cpp:
1332         (createWebViewAndOffscreenWindow):
1333
1334 2008-03-26  Antti Koivisto  <antti@apple.com>
1335
1336         Reviewed by Anders.
1337         
1338         Enable SVG animation support by default.
1339
1340         * Scripts/build-webkit:
1341
1342 2008-03-25  Adam Roben  <aroben@apple.com>
1343
1344         Windows build fix
1345
1346         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1347         Add $(WebKitLibrariesDir)\include to the include path so we can find
1348         stdint.h there.
1349
1350 2008-03-24  Eric Seidel  <eric@webkit.org>
1351
1352         Reviewed by Mark.
1353
1354         Clean up SVG features message to be less confusing.
1355
1356         * Scripts/build-webkit:
1357
1358 2008-03-24  Sam Weinig  <sam@webkit.org>
1359
1360         Reviewed by Dave Hyatt.
1361
1362         Add EventSender.zoomPageIn/zoomPageOut support to DRT.
1363
1364         * DumpRenderTree/mac/DumpRenderTree.mm:
1365         (resetWebViewToConsistentStateBeforeTesting):
1366         * DumpRenderTree/mac/EventSendingController.mm:
1367         (+[EventSendingController isSelectorExcludedFromWebScript:]):
1368         (-[EventSendingController zoomPageIn]):
1369         (-[EventSendingController zoomPageOut]):
1370         * DumpRenderTree/win/DumpRenderTree.cpp:
1371         (resetWebViewToConsistentStateBeforeTesting):
1372         * DumpRenderTree/win/EventSender.cpp:
1373         (textZoomInCallback):
1374         (textZoomOutCallback):
1375         (zoomPageInCallback):
1376         (zoomPageOutCallback):
1377
1378 2008-03-24  Dan Bernstein  <mitz@apple.com>
1379
1380         Reviewed by Mark Rowe.
1381
1382         - update bisect-builds for Safari 3.1
1383
1384         * Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
1385         revision, r29711.
1386
1387 2008-03-21  Rodney Dawes  <dobey@wayofthemonkey.com>
1388
1389         Reviewed by Holger.
1390
1391         http://bugs.webkit.org/show_bug.cgi?id=17981
1392
1393         Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
1394
1395         * GNUmakefile.am:
1396
1397 2008-03-21  Adam Roben  <aroben@apple.com>
1398
1399         Remove a non-working mirror from cygwin-downloader and add the ruby package
1400
1401         * CygwinDownloader/cygwin-downloader.py:
1402         * CygwinDownloader/cygwin-downloader.zip: Updated.
1403
1404 2008-03-20  Mark Rowe  <mrowe@apple.com>
1405
1406         Reviewed by Sam Weinig.
1407
1408         Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
1409         This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
1410         command-line.
1411
1412         * Scripts/build-webkit:
1413
1414 2008-03-17  Eric Seidel  <eric@webkit.org>
1415
1416         Reviewed by Dan Bernstein.
1417
1418         Fix bogus argCount check breaking plugin test.
1419
1420         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1421
1422 2008-03-17  Eric Seidel  <eric@webkit.org>
1423
1424         Reviewed by darin.
1425
1426         Cleanup PluginObject.cpp and add support for testing
1427         converting from int -> identifier -> string
1428         and from string -> identifier -> int
1429         as well as round-tripping ints and stings through identifiers
1430
1431         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
1432         (pluginGetProperty):
1433         (pluginSetProperty):
1434         (testDOMAccess):
1435         (stringVariantToIdentifier):
1436         (int32VariantToIdentifier):
1437         (doubleVariantToIdentifier):
1438         (variantToIdentifier):
1439         (testIdentifierToString):
1440         (testIdentifierToInt):
1441         (testCallback):
1442         (getURL):
1443         (removeDefaultMethod):
1444         (getURLNotify):
1445         (testInvokeDefault):
1446         (destroyStream):
1447         (testEnumerate):
1448         (testGetIntIdentifier):
1449         (testGetProperty):
1450         (testEvaluate):
1451         (testGetPropertyReturnValue):
1452         (pluginInvoke):
1453         (pluginInvokeDefault):
1454         (pluginInvalidate):
1455         (pluginAllocate):
1456         (pluginDeallocate):
1457         (handleCallback):
1458
1459 2008-03-16  Kevin Ollivier  <kevino@theolliviers.com>
1460
1461         Rubber stamped by Darin.
1462
1463         Add set-webkit-configuration support for wx port, and centralize
1464         build dir location setting.
1465
1466         http://bugs.webkit.org/show_bug.cgi?id=17790
1467
1468         * wx/browser/browser.bkl:
1469         * wx/build-wxwebkit:
1470
1471 2008-03-15  Darin Adler  <darin@apple.com>
1472
1473         * Scripts/commit-log-editor: Include the name line of the change log entry.
1474         A long time ago I designed this script to not include the name because I
1475         thought it was redundant (same as the name of the person checking in), but
1476         nowadays it's more common for someone to check something in done by someone
1477         else.
1478
1479         * Scripts/do-webcore-rename: Added some more planned renames and removed
1480         some that were already done "by hand".
1481
1482 2008-03-13  Brent Fulgham  <bfulgham@gmail.com>
1483
1484         Reviewed by Darin.
1485
1486         Correct paths to vsprops files so they use the environment
1487         variable, rather than hard-coded path.
1488         http://bugs.webkit.org/show_bug.cgi?id=17797.
1489
1490         * WinLauncher/WinLauncher.vcproj:  Correct paths to vsprops.
1491
1492 2008-03-12  Steve Falkenburg  <sfalken@apple.com>
1493
1494         VSExpress build fix
1495
1496         * WinLauncher/WinLauncher.vcproj:
1497
1498 2008-03-12  Holger Hans Peter Freyther  <zecke@selfish.org>
1499
1500         Reviewed by Alp Toker.
1501
1502         Run testkjs in the correct productsDir in the GTK+ port.
1503
1504         * Scripts/run-javascriptcore-tests:
1505
1506 2008-03-11  Brent Fulgham  <bfulgham@gmail.com>
1507
1508         Reviewed by Adam Roben.
1509
1510         Enabled WinLauncher as part of normal Windows build.
1511         http://bugs.webkit.org/show_bug.cgi?id=17715.
1512
1513         * WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
1514           it can find the proper libraries to link against.
1515
1516 2008-03-10  Julien Chaffraix  <julien.chaffraix@gmail.com>
1517
1518         Reviewed and landed by Darin.
1519
1520         http://bugs.webkit.org/show_bug.cgi?id=17581
1521         Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
1522
1523         Remove the previous warning which occurs when the --random option is used.
1524
1525         * Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
1526         its inequality
1527
1528 2008-03-07  Simon Hausmann  <hausmann@webkit.org>
1529
1530         Reviewed by Darin.
1531
1532         Done with Lars.
1533
1534         Ported the netscape test plugin to QWebPluginFactory.
1535
1536         * DumpRenderTree/qt/DumpRenderTree.cpp:
1537         (WebCore::WebPage::WebPage):
1538         * DumpRenderTree/qt/main.cpp:
1539         * DumpRenderTree/qt/testplugin.cpp:
1540         (TestPlugin::plugins):
1541         (TestPlugin::create):
1542         * DumpRenderTree/qt/testplugin.h:
1543
1544 2008-03-09  Steve Falkenburg  <sfalken@apple.com>
1545
1546         Stop Windows build if an error occurs in a prior project.
1547
1548         Rubber stamped by Darin.
1549
1550         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
1551         * DumpRenderTree/win/DumpRenderTree.vcproj:
1552         * DumpRenderTree/win/ImageDiff.vcproj:
1553         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
1554
1555 2008-03-08  Julien Chaffraix  <julien.chaffraix@gmail.com>
1556
1557         Reviewed by Mark Rowe.
1558
1559         DRT build fix for Tiger.
1560
1561         * DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
1562
1563 2008-03-07  Mark Rowe  <mrowe@apple.com>
1564
1565         Reviewed by Oliver Hunt.
1566
1567         Fix WebKit build with GCC 4.2.
1568
1569         * DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
1570
1571 2008-03-07  Stephanie Lewis <slewis@apple.com>
1572
1573         Reviewed by Oliver.
1574
1575         Add Windows part of <rdar://problem/5693690> 
1576
1577         * DumpRenderTree/win/DumpRenderTree.cpp:
1578         (dump):
1579         (main):
1580
1581 2008-03-07  Alp Toker  <alp@atoker.com>
1582
1583         Back out the r30818, r30819 build fix attempts now the GTK+ build
1584         server has been upgraded.
1585
1586         * Scripts/webkitdirs.pm:
1587
1588 2008-03-07  Stephanie Lewis <slewis@apple.com>
1589
1590         Reviewed by Geoff.
1591
1592         <rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
1593
1594         * DumpRenderTree/mac/DumpRenderTree.mm:
1595         (dump): push EOF to stderr after every test
1596         * Scripts/run-webkit-tests: collect stderr output and print it
1597
1598 2008-03-07  Steve Falkenburg  <sfalken@apple.com>
1599
1600         Get pdevenv working with Visual Studio Express.
1601         
1602         Reviewed by Adam.
1603
1604         * Scripts/pdevenv:
1605
1606 2008-03-06  Adele Peterson  <adele@apple.com>
1607
1608         Reviewed by Darin.
1609
1610         Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
1611
1612         * DumpRenderTree/mac/UIDelegate.mm:
1613         (-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
1614         (-[UIDelegate webViewUnfocus:]): Added.  In Safari, the default is to focus another window if there is one.
1615          To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
1616
1617 2008-03-06  Matt Lilek  <webkit@mattlilek.com>
1618
1619         Reviewed by Adam Roben.
1620
1621         Bug 17691: REGRESSION: FindSafari doesn't work
1622         http://bugs.webkit.org/show_bug.cgi?id=17691
1623
1624         Swap my change from r30394 to use the Release libraries instead of Debug
1625         since some machines don't have the Debug version.
1626
1627         * FindSafari/FindSafari.vcproj:
1628
1629 2008-03-06  Kevin McCullough  <kmccullough@apple.com>
1630
1631         Reviewed by Sam and Tim.
1632
1633         <rdar://5631450> Drosera: breakpoint indicators disappear after the
1634         script is finished running.
1635         - If there is a pre-existing breakpoint on a line when the file is
1636         updated we need to redraw it.
1637
1638         * Drosera/debugger.js:
1639
1640 2008-03-06  Brady Eidson  <beidson@apple.com>
1641
1642         Tiger build fix...?
1643
1644         * DumpRenderTree/mac/WatchdogMac.mm:
1645
1646 2008-03-06  Brady Eidson  <beidson@apple.com>
1647
1648         Reviewed by Darin
1649
1650         Added a cross-platform Watchdog thread to DRT.
1651
1652         The current watchdog in both DRTWin and DRTMac is Timer based.  Therefore, deadlocks and long running
1653         main thread hangs still affect DRT.
1654
1655         By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
1656         and true deadlocks can be caught.
1657
1658         There is one hook for platform specific code.  As I did my development and testing on Mac, and Mac has
1659         `sample` available, the Mac implementation of this hook samples the process before it is killed.
1660
1661         I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
1662
1663         * DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
1664         * DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
1665
1666         * DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
1667         * DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
1668
1669         * DumpRenderTree/Watchdog.cpp: Added.
1670         (Watchdog::Watchdog):
1671         (Watchdog::~Watchdog):
1672         (Watchdog::start):
1673         (Watchdog::stop):
1674         (Watchdog::checkIn):
1675         (Watchdog::setWatchdogInterval):
1676         (Watchdog::handleHang):
1677         (Watchdog::watchdogThreadStart):
1678         (Watchdog::watchdogThread):
1679         * DumpRenderTree/Watchdog.h: Added.
1680
1681         * DumpRenderTree/mac/WatchdogMac.h: Added.
1682         * DumpRenderTree/mac/WatchdogMac.mm: Added.
1683         (WatchdogMac::handleHang): Sample the process and write it out to a file
1684
1685         * DumpRenderTree/mac/DumpRenderTree.mm:
1686         (dumpRenderTree): Setup and start the watchdog before running any tests
1687         (runTest): Checkin with the watchdog after each test
1688
1689 2008-03-05  Alp Toker  <alp@atoker.com>
1690
1691         Attempt to get the autotools build working again on the bot with
1692         build-webkit.
1693
1694         Force the use of /bin/bash since we seem to have bash-isms in the
1695         configure script right now.
1696
1697         * Scripts/webkitdirs.pm:
1698
1699 2008-03-05  Alp Toker  <alp@atoker.com>
1700
1701         Re-attempt to switch to the autotools build system for GTK+.
1702
1703         Change scripts to continue when distclean fails.
1704
1705         * Scripts/webkitdirs.pm:
1706
1707 2008-03-05  Alp Toker  <alp@atoker.com>
1708
1709         Force qmake for the GTK+ build until we get the build bot to succeed
1710         with autotools (currently dies at make distclean)
1711
1712         * Scripts/webkitdirs.pm:
1713
1714 2008-03-04  Alp Toker  <alp@atoker.com>
1715
1716         Reviewed by Mark Rowe.
1717
1718         Switch the default GTK+ build system from qmake to autotools.
1719
1720         qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
1721
1722         * Scripts/build-webkit:
1723         * Scripts/run-launcher:
1724         * Scripts/run-webkit-tests:
1725         * Scripts/webkitdirs.pm:
1726
1727 2008-03-04  Sam Weinig  <sam@webkit.org>
1728
1729         Reviewed by Darin Adler.
1730
1731         * Scripts/do-webcore-rename: Update renaming plan.
1732
1733 2008-03-02  Brent Fulgham  <bfulgham@gmail.com>
1734
1735         Reviewed by Alp Toker.
1736
1737         Remove some needless LIBS.
1738
1739         * GNUmakefile.am:
1740
1741 2008-03-02  Alp Toker  <alp@atoker.com>
1742
1743         Reviewed by Mark Rowe.
1744
1745         Split the WebKit GTK+ build out of the WebCore build and change the
1746         shared object name to match the package name.
1747
1748         * GNUmakefile.am:
1749
1750 2008-03-01  Mark Rowe  <mrowe@apple.com>
1751
1752         Reviewed by Tim Hatcher.
1753
1754         Update Xcode configuration to support building debug and release from the mysterious future.
1755
1756         * DumpRenderTree/mac/Configurations/Base.xcconfig:
1757
1758 2008-02-29  David Kilzer  <ddkilzer@apple.com>
1759
1760         Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
1761
1762         Reviewed by Dan.
1763
1764         Originally broken in r26838.
1765
1766         * Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
1767         not local, unused @args variable.
1768
1769 2008-02-29  David Kilzer  <ddkilzer@apple.com>
1770
1771         Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
1772
1773         <http://bugs.webkit.org/show_bug.cgi?id=15754>
1774
1775         Reviewed by Geoff and Darin.
1776
1777         We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
1778         then removing that path from all file:/// URLs in the WebArchive output so these tests
1779         would pass no matter where they were run.
1780
1781         The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
1782         current working directory, but the WebArchive does not.  This left the current working
1783         directory in all file:/// URLs in the test output, and thus all tests failed, for any
1784         developer that used symlinks to get to their WebKit source directory.
1785
1786         The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
1787         remove the current working directory path (no matter what it is) after "file://" but
1788         before "/LayoutTests/".  
1789
1790         * DumpRenderTree/mac/DumpRenderTree.mm:
1791         (normalizeWebResourceURL): Removed unused oldURLBase argument.  We now replace the
1792         current working directory as described above.
1793         (convertWebResourceResponseToDictionary): Remove unused oldURLBase argument.  Update
1794         calls to normalizeWebResourceURL().
1795         (serializeWebArchiveToXML): Removed now unused cwdURL variable.  Update calls to
1796         normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
1797
1798 2008-02-26  Robin Dunn <robin@alldunn.com>
1799
1800         Reviewed by Kevin Ollivier.
1801
1802         Improvements to the wx build script.
1803
1804         http://bugs.webkit.org/show_bug.cgi?id=17492
1805
1806         * wx/build-wxwebkit:
1807         - Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
1808         - Allow the build script to properly find wxPython includes under different setups
1809         - Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
1810
1811 2008-02-26  Timothy Hatcher  <timothy@apple.com>
1812
1813         Reviewed by Darin Adler.
1814
1815         * Scripts/build-webkit: Add --universal and --64-bit flags to make building
1816         64-bit architectures easy. Combine the two flags to build 4-way universal.
1817         * Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
1818         non-zero when the build failes.
1819
1820 2008-02-26  Jessica Kahn  <jess@apple.com>
1821
1822         Reviewed by Darin.
1823
1824         * Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
1825         so that Safari inherits it when launched. Preexisting code in WebKit checks this
1826         environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
1827         launched by Safari continue to use the standard system WebKit.
1828
1829 2008-02-25  Adam Roben  <aroben@apple.com>
1830
1831         Fix run-webkit-tests after r30394
1832
1833         * Scripts/webkitdirs.pm: Never append _debug to FindSafari's
1834         executable name.
1835
1836 2008-02-24  Darin Adler  <darin@apple.com>
1837
1838         * Scripts/do-webcore-rename: Make some updates based on a trial run of
1839         the renaming script.
1840
1841 2008-02-24  Darin Adler  <darin@apple.com>
1842
1843         * Scripts/do-webcore-rename: More renaming plans.
1844
1845 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1846
1847         Rubber stamped by Darin.
1848
1849         Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
1850         whitespaces introduced in the previous commit.
1851
1852         * GNUmakefile.am:
1853
1854 2008-02-23  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
1855
1856         Rubber-stamped by Darin.
1857
1858         * GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
1859
1860 2008-02-23  David Kilzer  <ddkilzer@apple.com>
1861
1862         Please clarify licensing for some files
1863         <http://bugs.webkit.org/show_bug.cgi?id=14970>
1864
1865         Reviewed by Darin.
1866
1867         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
1868         copyright statement.  Replaced license with newer Apple BSD-style license.
1869         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
1870         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
1871         * DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
1872         * DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
1873         * DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
1874         * mangleme/LICENSE: Added (LGPL).
1875
1876 2008-02-22  Anders Carlsson  <andersca@apple.com>
1877
1878         Reviewed by Adam.
1879
1880         <rdar://problem/5748781> 
1881         https://bugs.webkit.org/show_bug.cgi?id=17413
1882         REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
1883         
1884         Copy the Java plug-in over to the new location.
1885         
1886         * FindSafari/FindSafari.cpp:
1887         (_tmain):
1888
1889 2008-02-22  Anders Carlsson  <andersca@apple.com>
1890
1891         Reviewed by Adam.
1892
1893         <rdar://problem/5747325> REGRESSION: HTTP layout tests hang
1894         
1895         * DumpRenderTree/win/DumpRenderTree.cpp:
1896         (runTest):
1897         Init the URL request with the correct timeout.
1898
1899 2008-02-21  Mike Auty  <mike.auty@gmail.com>
1900
1901         Reviewed by Alp Toker.
1902
1903         http://bugs.webkit.org/show_bug.cgi?id=17445
1904         [GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
1905
1906         GTK+/autotools build system improvements
1907
1908         The GNUmakefile.am files make use of the LDFLAGS variable to include library
1909         additions such as -ljpeg etc.  Unfortunately, if these inclusions aren't made
1910         in LIBADD/LDADD variables, then they are mis-ordered during the linking.
1911
1912         The as-needed flag discards libraries whose functions have not been needed by
1913         earlier libraries, which therefore makes the ordering important.
1914
1915         This moves all -l library inclusion statements from LDFLAGS variables to
1916         LIBADD/LDADD variables.
1917
1918         * GNUmakefile.am:
1919
1920 2008-02-20  Brent Fulgham  <bfulgham@gmail.com>
1921
1922         Reviewed by Alp.
1923
1924         - http://bugs.webkit.org/show_bug.cgi?id=17428
1925           Reenable a Windows-based launcher
1926
1927         This patch reenables the venerable Spinneret application,
1928         changing its name to match the other lanch applications.
1929
1930         * WinLauncher: Added.
1931         * WinLauncher/WinLauncher.cpp: Added.
1932         (WinLauncherWebHost::updateAddressBar):
1933         (WinLauncherWebHost::QueryInterface):
1934         (WinLauncherWebHost::AddRef):
1935         (WinLauncherWebHost::Release):
1936         (resizeSubViews):
1937         (_tWinMain):
1938         (MyRegisterClass):
1939         (InitInstance):
1940         (WndProc):
1941         (MyEditProc):
1942         (About):
1943         (loadURL):
1944         * WinLauncher/WinLauncher.h: Added.
1945         (WinLauncherWebHost::WinLauncherWebHost):
1946         (WinLauncherWebHost::didStartProvisionalLoadForFrame):
1947         (WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
1948         (WinLauncherWebHost::didFailProvisionalLoadWithError):
1949         (WinLauncherWebHost::didCommitLoadForFrame):
1950         (WinLauncherWebHost::didReceiveTitle):
1951         (WinLauncherWebHost::didReceiveIcon):
1952         (WinLauncherWebHost::didFinishLoadForFrame):
1953         (WinLauncherWebHost::didFailLoadWithError):
1954         (WinLauncherWebHost::didChangeLocationWithinPageForFrame):
1955         (WinLauncherWebHost::willPerformClientRedirectToURL):
1956         (WinLauncherWebHost::didCancelClientRedirectForFrame):
1957         (WinLauncherWebHost::willCloseFrame):
1958         (WinLauncherWebHost::windowScriptObjectAvailable):
1959         * WinLauncher/WinLauncher.ico: Added.
1960         * WinLauncher/WinLauncher.rc: Added.
1961         * WinLauncher/WinLauncher.vcproj: Added.
1962         * WinLauncher/resource.h: Added.
1963         * WinLauncher/small.ico: Added.
1964         * WinLauncher/stdafx.cpp: Added.
1965         * WinLauncher/stdafx.h: Added.
1966
1967 2008-02-19  Brady Eidson  <beidson@apple.com>
1968
1969         Reviewed by Geoff
1970
1971         Fixed a bug in DRT --threaded mode
1972
1973         * DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
1974         (startJavaScriptThreads): Don't detach the newly created thread.  The later call to stopJavaScriptThreads() tries
1975           to pthread_join() each thread that had been created, but you can't join a detached thread!
1976
1977 2008-02-18  Brady Eidson  <beidson@apple.com>
1978
1979         Changes by Geoff Garen, Reviewed by Darin
1980
1981         Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
1982
1983         DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
1984
1985         [WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
1986         This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread.  If the lock has leaked,
1987         this series of method calls will deadlock.  If things are good, it will complete successfully.
1988
1989         * DumpRenderTree/mac/ObjCController.m:
1990         (runJavaScriptThread):
1991         (+[ObjCController isSelectorExcludedFromWebScript:]):
1992         (+[ObjCController webScriptNameForSelector:]):
1993         (-[ObjCController testValueForKey]):
1994
1995 2008-02-18  Matt Lilek  <webkit@mattlilek.com>
1996
1997         Reviewed by Adam.
1998
1999         Remove FindSafari's Release configuration.
2000
2001         * FindSafari/FindSafari.vcproj:
2002
2003 2008-02-15  Adam Roben  <aroben@apple.com>
2004
2005         Fix a typo that broke the Mac build
2006
2007         Reviewed by Mark.
2008
2009         * Scripts/build-webkit:
2010
2011 2008-02-14  Adam Roben  <aroben@apple.com>
2012
2013         Turn on cross-document messaging support by default
2014
2015         Reviewed by Darin.
2016
2017         * Scripts/build-webkit:
2018
2019 2008-02-14  Adam Roben  <aroben@apple.com>
2020
2021         Conditionalize cross-document messaging support
2022
2023         The cross-document messaging parts of HTML 5 are in flux and we want
2024         ports to be able to turn off the support as needed.
2025
2026         Note that the support is turned off by default right now. A subsequent
2027         commit will turn it on by default.
2028
2029         Reviewed by Darin.
2030
2031         * Scripts/build-webkit:
2032
2033 2008-02-14  Darin Adler  <darin@apple.com>
2034
2035        - fix Windows build
2036
2037         * DumpRenderTree/win/UIDelegate.cpp:
2038         (UIDelegate::setStatusText): Update parameter types to match declaration.
2039
2040 2008-02-14  Oliver Hunt  <oliver@apple.com>
2041
2042         Reviewed by Geoff G and Weinig.
2043
2044         Add ability for DRT to report tests setting the status text.
2045
2046         * DumpRenderTree/LayoutTestController.cpp:
2047         (LayoutTestController::LayoutTestController):
2048         (dumpStatusCallbacksCallback):
2049         (LayoutTestController::staticFunctions):
2050         * DumpRenderTree/LayoutTestController.h:
2051         * DumpRenderTree/mac/UIDelegate.mm:
2052         (-[UIDelegate webView:setStatusText:]):
2053         * DumpRenderTree/win/UIDelegate.cpp:
2054         * DumpRenderTree/win/UIDelegate.h:
2055
2056 2008-02-13  Adam Roben  <aroben@apple.com>
2057
2058         Windows build fix
2059
2060         * DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
2061
2062 2008-02-13  Adam Roben  <aroben@apple.com>
2063
2064         Windows/GTK+ build fix
2065
2066         * DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
2067         get isnan.
2068
2069 2008-02-13  Brady Eidson  <beidson@apple.com>
2070
2071         Reviewed by Darin Adler
2072
2073         Add some much needed Database support to DRT
2074
2075         * DumpRenderTree/LayoutTestController.cpp:
2076         (LayoutTestController::LayoutTestController):
2077         (dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
2078           databases are called
2079         (clearAllDatabasesCallback): Allow a test to delete all databases
2080         (setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
2081         (LayoutTestController::staticFunctions):
2082
2083         * DumpRenderTree/LayoutTestController.h:
2084         (LayoutTestController::dumpDatabaseCallbacks):
2085         (LayoutTestController::setDumpDatabaseCallbacks):
2086
2087         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2088         (LayoutTestController::clearAllDatabases):
2089         (LayoutTestController::setDatabaseQuota):
2090
2091         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2092         (LayoutTestController::clearAllDatabases): Stubbed out
2093         (LayoutTestController::setDatabaseQuota): Ditto
2094         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2095         (LayoutTestController::clearAllDatabases): Stubbed out with error message
2096         (LayoutTestController::setDatabaseQuota): Ditto
2097
2098         * DumpRenderTree/mac/UIDelegate.mm:
2099         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
2100           message with details about the event then return a 5mb quota like before
2101
2102
2103 2008-02-12  Steve Falkenburg  <sfalken@apple.com>
2104
2105         Changes to support merged MIDL output.
2106
2107         All COM interfaces are now generated to WebKit.h.
2108
2109         Reviewed by Sam, Ada.
2110
2111         * Drosera/win/BaseDelegate.h:
2112         * Drosera/win/DebuggerClient.cpp:
2113         * Drosera/win/DebuggerDocumentPlatform.cpp:
2114         * Drosera/win/Drosera.cpp:
2115         * Drosera/win/ServerConnection.cpp:
2116         * Drosera/win/ServerConnection.h:
2117         * DumpRenderTree/win/DumpRenderTree.cpp:
2118         * DumpRenderTree/win/EditingDelegate.h:
2119         * DumpRenderTree/win/EventSender.cpp:
2120         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2121         * DumpRenderTree/win/FrameLoadDelegate.h:
2122         * DumpRenderTree/win/GCControllerWin.cpp:
2123         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2124         * DumpRenderTree/win/PolicyDelegate.h:
2125         * DumpRenderTree/win/ResourceLoadDelegate.h:
2126         * DumpRenderTree/win/UIDelegate.cpp:
2127         * DumpRenderTree/win/UIDelegate.h:
2128         * DumpRenderTree/win/WorkQueueItemWin.cpp:
2129
2130 2008-02-10  Dan Bernstein  <mitz@apple.com>
2131
2132         Reviewed by Oliver Hunt.
2133
2134         - fix a memory leak
2135
2136         * DumpRenderTree/cg/ImageDiffCG.cpp:
2137         (getDifferenceBitmap): Use a static CFMutableData instead of allocating
2138         and leaking the buffer each time.
2139
2140 2008-02-07  Adam Roben  <aroben@apple.com>
2141
2142         Fix error in bisect-builds when responding "broken" for the first
2143         build
2144
2145         Reviewed by Dave Kilzer.
2146
2147         * Scripts/bisect-builds: Only try to test the build if the nightly
2148         info for the current index has not been deleted.
2149
2150 2008-02-07  Geoffrey Garen  <ggaren@apple.com>
2151
2152         Reviewed by Alexey Proskuryakov.
2153
2154         Fixed two minor typos in the --root option, to get it working.
2155
2156         * Scripts/run-sunspider:
2157             1. Actually assign the function argument to our local variable.
2158             2. Actually set the $root variable, so we don't try to build later.
2159
2160 2008-02-05  Oliver Hunt  <oliver@apple.com>
2161
2162         RS=Eric.
2163
2164         Re-enable foreignObject by default as it is needed for a number of non-fO
2165         related SVG tests and none of the old known crashes occur anymore.
2166
2167         * Scripts/build-webkit:
2168
2169 2008-02-05  Steve Falkenburg  <sfalken@apple.com>
2170
2171         Build fix.  Don't override intermediate directory.
2172
2173         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2174
2175 2008-02-05  Holger Hans Peter Freyther  <zecke@selfish.org>
2176
2177         Build fix for Windows. willCloseFrame is a pure virtual and we are
2178         forced to have an implementation.
2179         
2180         This partially reverts r30014.
2181
2182         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2183         (FrameLoadDelegate::willCloseFrame):
2184         * DumpRenderTree/win/FrameLoadDelegate.h:
2185
2186 2008-02-05  Nikolas Zimmermann  <zimmermann@kde.org>
2187
2188         Reviewed by Holger.
2189
2190         Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
2191
2192         * Scripts/make-js-test-wrappers:
2193
2194 2008-02-05  Holger Freyther  <zecke@selfish.org>
2195
2196         Reviewed by Darin.
2197
2198         In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
2199         the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
2200         depends on the order the tests are executed.
2201         
2202         Propose to remove willCloseFrame and didlCearWindowObject output from the
2203         FrameLoadDelegate and update the test results. The output of didClearWindowObject
2204         is not interesting for any of the current tests and we have other ways to find
2205         out if a frame was closed or not.
2206
2207         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2208         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2209         (FrameLoadDelegate::didClearWindowObject):
2210         * DumpRenderTree/win/FrameLoadDelegate.h:
2211
2212 2008-02-04  Mark Rowe  <mrowe@apple.com>
2213
2214         Reviewed by Oliver Hunt.
2215
2216         Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
2217         Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
2218
2219         Don't install the signal handler unless we are running the pixel tests.
2220         It is currently only used to restore the color profile, but by catching
2221         signals we can trigger a deadlock in DRT while running leak tests.
2222         The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
2223         and a more complete fix will need to be developed to address this for
2224         pixel tests as well.
2225
2226         * DumpRenderTree/mac/DumpRenderTree.mm:
2227         (dumpRenderTree):
2228
2229 2008-02-04  Mark Rowe  <mrowe@apple.com>
2230
2231        Gtk qmake build fix.
2232
2233         * Scripts/webkitdirs.pm:  Fix perl's complaint about an odd number of elements in anonymous hash.
2234
2235 2008-02-04  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2236
2237         Reviewed by Alp Toker and Mark Rowe.
2238
2239         http://bugs.webkit.org/show_bug.cgi?id=16618
2240         [GTK] build-webkit and run-webkit-tests autootools support
2241
2242         * Scripts/build-webkit: added --database and --icon-database options
2243         * Scripts/run-launcher:
2244         * Scripts/run-webkit-tests:
2245         * Scripts/webkitdirs.pm:
2246
2247 2008-02-04  Oliver Hunt  <oliver@apple.com>
2248
2249         Reviewed by Steve F.
2250
2251         Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
2252
2253         Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
2254         Issues include:
2255           * Uses Sleep() to implement leapForward reliably.
2256           * 3 DND tests still fail for reasons that i have not yet determined
2257           * Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain 
2258
2259         * DumpRenderTree/win/EventSender.cpp:
2260         (leapForwardCallback):
2261         (mouseDownCallback):
2262         (doMouseUp):
2263         (mouseUpCallback):
2264         (doMouseMove):
2265         (mouseMoveToCallback):
2266           Minor updates to these functions to handle the different message queue structure.
2267
2268         (replaySavedEvents):
2269           More complicated now.  Where possible we just use the old while-loop model of execution,
2270           but when leapForward has been used we have to jump through some hoops and set up an 
2271           inner event loop so that we can ensure messages get the correct time stamp.
2272
2273         * DumpRenderTree/win/UIDelegate.cpp:
2274         (UIDelegate::doDragDrop):
2275           Call replaySavedEvents directly to force synchronous handling of drag and drop.
2276
2277 2008-02-04  Rodney Dawes  <dobey@wayofthemonkey.com>
2278
2279         Reviewed by Alp Toker and Mark Rowe.
2280
2281         Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
2282         Bug 17175: Use of C++ compiler flags in CFLAGS
2283
2284         * GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
2285
2286 2008-02-04  Darin Adler  <darin@apple.com>
2287
2288         Reviewed by Geoff.
2289
2290         * Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
2291         and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
2292         subdirectory.
2293
2294 2008-02-04  Adam Roben  <aroben@apple.com>
2295
2296         Windows Apple-only build fix
2297
2298         * DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
2299         directory.
2300
2301 2008-02-04  Alp Toker  <alp@atoker.com>
2302
2303         Rubber-stamped by Mark Rowe.
2304
2305         Remove all trailing whitespace in the GTK+ port and related
2306         components.
2307
2308         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2309         * DumpRenderTree/gtk/GCControllerGtk.cpp:
2310         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2311         * GNUmakefile.am:
2312
2313 2008-02-01  Eric Seidel  <eric@webkit.org>
2314
2315         Reviewed by Oliver.
2316
2317         Also search LayoutTests/svg for js-based tests.
2318
2319         * Scripts/make-js-test-wrappers:
2320
2321 2008-01-31  Alp Toker  <alp@atoker.com>
2322
2323         Rubber-stamped by Adam Roben.
2324
2325         http://bugs.webkit.org/show_bug.cgi?id=17006
2326         [GTK] Header path should be webkit/webkit.h
2327
2328         Move the GTK+ API sources as needed and update the build systems.
2329
2330         * DumpRenderTree/gtk/DumpRenderTree.cpp:
2331         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
2332         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2333         * GNUmakefile.am:
2334         * GtkLauncher/main.c:
2335
2336 2008-01-30  Stephanie  <slewis@apple.com>
2337
2338         Reviewed by Geoff.
2339
2340         Add an option to run-webkit-tests to merge leaks results and print the number of unique leaks found under a certain call depth.  This should make it easier for the buildbots to track new leaks.
2341
2342         * Scripts/run-webkit-tests:
2343
2344 2008-01-30  Alexey Proskuryakov  <ap@webkit.org>
2345
2346         Reviewed by Adam Roben.
2347
2348         One more debug (external) fix.
2349
2350         * DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
2351         and Debug configurations. 
2352
2353 2008-01-29  Geoffrey Garen  <ggaren@apple.com>
2354
2355         Reviewed by Sam Weinig. Sam Weinig.
2356         
2357         Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
2358         fails when run after fast/dom/Window/window-property-shadowing.html (16902)
2359
2360         Modified our policy delegates not to output window.name. Since a
2361         previous test may have explicitly set window.name, we can't rely on its
2362         implicit value in test results.
2363
2364         * DumpRenderTree/mac/PolicyDelegate.mm:
2365         (-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
2366
2367         * DumpRenderTree/win/PolicyDelegate.cpp:
2368         (PolicyDelegate::decidePolicyForNavigationAction):
2369
2370 2008-01-29  Mark Rowe  <mrowe@apple.com>
2371
2372         Reviewed by Tim Hatcher.
2373
2374         <rdar://problem/5600926> WebCore on Tiger must link to its own copy of SQLite 3.4 or newer (so HTML database behavior will be correct).
2375
2376         * Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
2377
2378 2008-01-29  David Kilzer  <ddkilzer@apple.com>
2379
2380         Refactor ChangeLog path code
2381
2382         Reviewed by Adam.
2383
2384         * Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
2385         duplicate code in another foreach() loop.
2386
2387 2008-01-29  Alexey Proskuryakov  <ap@webkit.org>
2388
2389         Reviewed by Darin.
2390
2391         <rdar://problem/5710692> All storage tests fail/crash
2392
2393         * DumpRenderTree/mac/UIDelegate.mm:
2394         (-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
2395         arbitrary quota of 5 megabytes.
2396
2397         (-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
2398         (-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
2399         Removed unused (I think) code.
2400         
2401         * DumpRenderTree/win/UIDelegate.cpp:
2402         (UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
2403         (UIDelegate::webViewPainted): A stub implementation.
2404         (UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
2405         * DumpRenderTree/win/UIDelegate.h:
2406
2407 2008-01-27  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2408
2409         GTK+ DRT build fix for breakage introduced in r29822.
2410
2411         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2412         (LayoutTestController::setPersistentUserStyleSheetLocation):
2413         (LayoutTestController::clearPersistentUserStyleSheet):
2414
2415 2008-01-27  Dan Bernstein  <mitz@apple.com>
2416
2417         Reviewed by Darin Adler.
2418
2419         - add support for directory prologues and epilogues to run-webkit-tests
2420         - allow setting a persistent user style sheet in DumpRenderTree
2421         - activate the WebKit Layout Tests font in Windows DumpRenderTree
2422
2423         * DumpRenderTree/LayoutTestController.cpp:
2424         (clearPersistentUserStyleSheetCallback): Added.
2425         (setPersistentUserStyleSheetLocationCallback): Added.
2426         (LayoutTestController::staticFunctions): Added.
2427         clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
2428         * DumpRenderTree/LayoutTestController.h:
2429         * DumpRenderTree/mac/DumpRenderTree.mm:
2430         (setPersistentUserStyleSheetLocation): Added.
2431         (resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
2432         to the set of things this function resets. Now it either disables the
2433         user style sheet or sets it to the persistent user style sheet and
2434         enables it.
2435         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2436         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2437         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2438         (LayoutTestController::clearPersistentUserStyleSheet): Added.
2439         * DumpRenderTree/win/DumpRenderTree.cpp:
2440         (setPersistentUserStyleSheetLocation): Added.
2441         (initialize): Added the WebKit Layout Tests font to the set of fonts to
2442         install.
2443         (resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
2444         * DumpRenderTree/win/DumpRenderTreeWin.h:
2445         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2446         (LayoutTestController::setPersistentUserStyleSheetLocation): Added.
2447         (LayoutTestController::clearPersistentUserStyleSheet): Added.
2448         * Scripts/run-webkit-tests: Changed to look for, and if found process in
2449         DumpRenderTree, files named run-webkit-tests-prologue.html and
2450         run-webkit-tests-epilogue.html in the resources subdirectory of any
2451         test directory and platform test results directory. The prologues are
2452         processed before the first test from the directory (and its
2453         subdirectories) is run, and the epilogues are processed after the last
2454         test from the directory is run. Platform-specific prologues and
2455         epilogues are processed in order of specificity.
2456
2457 2008-01-25  Alexey Proskuryakov  <ap@webkit.org>
2458
2459         Reviewed by Mark Rowe.
2460
2461         <rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
2462
2463         * DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
2464         (matching Mac DRT).
2465         * DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
2466
2467 2008-01-24  Sam Weinig  <sam@webkit.org>
2468
2469         Reviewed by Ada Chan.
2470
2471         Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
2472
2473         - Adds simplified UndoManager to windows DRT to allow testing the
2474           undo/redo code paths in WebCore and WebKit.  This is a temporary
2475           solution to an issue that should eventually be solved by having a
2476           shared UndoManager in WebKit.
2477
2478         * DumpRenderTree/win/DumpRenderTree.cpp:
2479         (runTest):
2480         * DumpRenderTree/win/UIDelegate.cpp:
2481         (DRTUndoObject::DRTUndoObject):
2482         (DRTUndoObject::invoke):
2483         (DRTUndoStack::~DRTUndoStack):
2484         (DRTUndoStack::isEmpty):
2485         (DRTUndoStack::clear):
2486         (DRTUndoStack::push):
2487         (DRTUndoStack::pop):
2488         (DRTUndoManager::canRedo):
2489         (DRTUndoManager::canUndo):
2490         (DRTUndoManager::DRTUndoManager):
2491         (DRTUndoManager::removeAllActions):
2492         (DRTUndoManager::registerUndoWithTarget):
2493         (DRTUndoManager::redo):
2494         (DRTUndoManager::undo):
2495         (UIDelegate::UIDelegate):
2496         (UIDelegate::resetUndoManager):
2497         (UIDelegate::registerUndoWithTarget):
2498         (UIDelegate::removeAllActionsWithTarget):
2499         (UIDelegate::setActionTitle):
2500         (UIDelegate::undo):
2501         (UIDelegate::redo):
2502         (UIDelegate::canUndo):
2503         (UIDelegate::canRedo):
2504         * DumpRenderTree/win/UIDelegate.h:
2505
2506 2008-01-23  Adam Roben  <aroben@apple.com>
2507
2508         Allow directories containing ChangeLogs to be passed to
2509         resolve-ChangeLogs
2510
2511         Reviewed by David Kilzer.
2512
2513         * Scripts/resolve-ChangeLogs:
2514         (sub findChangeLog): Return a ChangeLog contained within the specified
2515         directory if one exists.
2516
2517 2008-01-23  Steve Falkenburg  <sfalken@apple.com>
2518
2519         <rdar://problem/5698732> Copyright strings should include 2008
2520
2521         Reviewed by Sam.
2522
2523         * Drosera/win/Drosera.vcproj/Drosera.rc:
2524         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
2525
2526 2008-01-23  Alp Toker  <alp@atoker.com>
2527
2528         Rubber-stamped by Mark Rowe.
2529
2530         Remove whitespace after -I in automake include lists.
2531
2532         * GNUmakefile.am:
2533
2534 2008-01-23  Michael Goddard <michael.goddard@trolltech.com>
2535
2536         Reviewed by Lars Knoll <lars@trolltech.com>.
2537
2538         Reworked the JavaScriptCore Qt bindings:
2539         
2540         * Update JS DRT controller for Qt JS binding changes.
2541         There were two functions that needed some changes
2542         so that the layout tests would work, so this makes
2543         a few tests pass again.
2544         
2545         * Bump the timeout for layout tests up to 11s.
2546         At least some tests have an internal timeout of
2547         10 seconds, so make the waitUntilDone approach
2548         wait at least 11s.  fast/dom/open-and-close-by-DOM.html
2549         is one of these - now the failure message is more
2550         accurate.
2551         
2552
2553         * DumpRenderTree/qt/jsobjects.cpp:
2554         (LayoutTestController::waitUntilDone):
2555         * DumpRenderTree/qt/jsobjects.h:
2556
2557 2008-01-22  Anders Carlsson  <andersca@apple.com>
2558
2559         Reviewed by Darin and Adam.
2560
2561         <rdar://problem/5688975>
2562         div element on microsoft site has wrong left offset.
2563         
2564         Add new method for testing the return vale of NPN_GetProperty.
2565         
2566         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2567         (pluginInvoke):
2568
2569 2008-01-22  Alexey Proskuryakov  <ap@webkit.org>
2570
2571         Reviewed by Adam Roben.
2572
2573         <rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
2574
2575         * DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
2576
2577 2008-01-21  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
2578
2579         Reviewed by Alp Toker.
2580
2581         http://bugs.webkit.org/show_bug.cgi?id=16955
2582         Get errors when cross-compile webkit-gtk
2583
2584         * GNUmakefile.am: Removed ICU_CFLAGS 
2585
2586 2008-01-21  Darin Adler  <darin@apple.com>
2587
2588         Reviewed by Mitz and Adam.
2589
2590         * Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
2591         sorting speed by doing all sort criteria in a single pass instead of three sorts.
2592
2593 2008-01-21  Simon Hausmann  <hausmann@webkit.org>
2594
2595         Reviewed by Holger.
2596
2597         Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
2598         
2599         * Fix GraphicsContext::drawFocusRing to also draw single focus rects.
2600         * Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
2601         and make the return value depend on whether we successfully determined a focusable
2602         node or not.
2603         * Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
2604         if we could not handle the focus chain ourselves.
2605         * Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
2606         * Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
2607         used to control the situation of stepping out of the focus chain inside the page.
2608         * Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
2609         The layout tests expect this to be disabled but for the user it seems sensible to have it
2610         on by default, hence the default in qwebsettings.cpp
2611         
2612
2613         * DumpRenderTree/qt/DumpRenderTree.cpp:
2614         (WebCore::WebPage::WebPage):
2615
2616 2008-01-19  Mark Rowe  <mrowe@apple.com>
2617
2618         Reviewed by Alp Toker.
2619
2620         Allow the --http flag to run-webkit-tests to override
2621         the default behaviour of disabling HTTP tests for Qt,
2622         Gtk and Wx.
2623
2624         * Scripts/run-webkit-tests:
2625
2626 2008-01-19  David Kilzer  <ddkilzer@apple.com>
2627
2628         <rdar://problem/5695344> check-for-global-initializers script never checks any object files
2629
2630         Reviewed by Darin.
2631
2632         We now touch a check-for-global-initializers.timestamp file in
2633         the TARGET_TEMP_DIR directory to determine when new object files
2634         have been compiled and thus need to be checked.  If the timestamp
2635         file doesn't exist, all object files will be checked.
2636
2637         Previously the modification time of the "executable" (the
2638         framework binary, e.g., WebKit.framework/WebKit) was used, but
2639         since this was the last file modified at the end of the compile
2640         phase, no object files would ever get checked!
2641
2642         Also added JSCustomSQLTransactionCallback.o to the list of files
2643         since it has static initializers in Debug builds of WebCore.
2644
2645         * Scripts/check-for-global-initializers:
2646
2647 2008-01-18  Adam Roben  <aroben@apple.com>
2648
2649         Build fix
2650
2651         * Scripts/build-webkit:
2652
2653 2008-01-18  Beth Dakin  <bdakin@apple.com>
2654
2655         Reviewed by Oliver.
2656
2657         Update build-webkit to account for foreign-object being disabled by 
2658         default.
2659
2660         * Scripts/build-webkit:
2661
2662 2008-01-18  Adam Roben  <aroben@apple.com>
2663
2664         Updated for method renames
2665
2666         Reviewed by Adele.
2667
2668         * DumpRenderTree/mac/FrameLoadDelegate.mm:
2669         (-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
2670         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2671         (LayoutTestController::setMainFrameIsFirstResponder):
2672         (LayoutTestController::setWindowIsKey):
2673         * DumpRenderTree/mac/UIDelegate.mm:
2674         (-[UIDelegate webViewFocus:]):
2675         * DumpRenderTree/win/FrameLoadDelegate.cpp:
2676         (FrameLoadDelegate::didCommitLoadForFrame):
2677
2678 2008-01-18  Alexey Proskuryakov  <ap@webkit.org>
2679
2680         Reviewed by Adam Roben.
2681
2682         Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
2683         between DRT and TestNetscapePlugin.
2684
2685         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
2686         * DumpRenderTree/DumpRenderTree.sln: Use this configuration.
2687
2688 2008-01-18  Simon Hausmann  <hausmann@webkit.org>
2689
2690         Reviewed by Holger.
2691
2692         Fix fast/dom/Window/window-resize.html
2693         
2694         In DRT connect the page's geometryChangeRequest signal to a slot that
2695         sets the geometry of the view widget.
2696         
2697
2698         * DumpRenderTree/qt/DumpRenderTree.cpp:
2699         (WebCore::WebPage::setViewGeometry):
2700         (WebCore::WebPage::WebPage):
2701
2702 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
2703
2704         Build fix.
2705
2706         * Drosera/DroseraWin.make:
2707
2708 2008-01-17  Darin Adler  <darin@apple.com>
2709
2710         * Scripts/run-webkit-tests: Fixed a bug number.
2711
2712 2008-01-17  Alexey Proskuryakov  <ap@webkit.org>
2713
2714         Reviewed by Adam Roben.
2715
2716         http://bugs.webkit.org/show_bug.cgi?id=16908
2717         run-webkit-tests complains about missing FindSafari.exe
2718
2719         * Scripts/webkitdirs.pm: Append _debug as appropriate.
2720
2721 2008-01-17  Steve Falkenburg  <sfalken@apple.com>
2722
2723         Re-add DEBUG_WEBKIT_HAS_SUFFIX.
2724         
2725         Rubber-stamped by Jon Honeycutt.
2726
2727         * DumpRenderTree/win/DumpRenderTree.vcproj:
2728
2729 2008-01-16  Alp Toker  <alp@atoker.com>
2730
2731         Reviewed by Mark Rowe.
2732
2733         http://bugs.webkit.org/show_bug.cgi?id=16218
2734         [GTK] API: Should this entry point be called go_back rather than go_backward?
2735
2736         Track back/forward API changes in the tools.
2737
2738         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
2739         (BackForwardItem::invoke):
2740         * GtkLauncher/main.c:
2741         (go_back_cb):
2742
2743 2008-01-16  Adam Roben  <aroben@apple.com>
2744
2745         Windows build fix after r29488
2746
2747         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2748         Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
2749         expects to find the plugin.
2750
2751 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
2752
2753         Reviewed by Sam Weinig.
2754         
2755         Fixed the waitUntilDone watchdog timer -- the old code never added the
2756         timer to the run loop, so it didn't do anything.
2757
2758         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2759         (LayoutTestController::setWaitToDump):
2760         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2761         (LayoutTestController::setWaitToDump):
2762
2763 2008-01-14  Steve Falkenburg  <sfalken@apple.com>
2764
2765         Use shared vsprops for most vcproj properties.
2766         
2767         Reviewed by Darin.
2768
2769         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2770         * DumpRenderTree/win/DumpRenderTree.vcproj:
2771         * DumpRenderTree/win/ImageDiff.vcproj:
2772         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2773         * FindSafari/FindSafari.vcproj:
2774
2775 2008-01-14  Stephanie  <slewis@apple.com>
2776
2777        Reviewed by NOBODY.
2778   
2779        revert accidental character.
2780
2781        * Scripts/run-webkit-tests:
2782
2783 2008-01-14  Stephanie  <slewis@apple.com>
2784
2785         RS=Oliver
2786
2787         add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
2788
2789         * Scripts/run-webkit-tests:
2790
2791 2008-01-14  Darin Adler  <darin@apple.com>
2792
2793         * Scripts/do-webcore-rename: Queue up another rename.
2794
2795 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2796
2797         Reviewed by Darin.
2798
2799         * Allow to run the tests in reverse order to spot test cases where the result depends on the order
2800         the tests were ran.
2801         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2802
2803         * Scripts/run-webkit-tests:
2804
2805 2008-01-14  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2806
2807         Reviewed by Darin.
2808
2809         * Randomize tests array to spot test cases where the results depends on the order
2810         the tests are ran.
2811         * This is from http://bugs.webkit.org/show_bug.cgi?id=16869
2812
2813         * Scripts/run-webkit-tests:
2814
2815 2008-01-14  Darin Adler  <darin@apple.com>
2816
2817         * Scripts/run-webkit-tests: More ignore list tweaking.
2818
2819 2008-01-14  Darin Adler  <darin@apple.com>
2820
2821         * Scripts/run-webkit-tests: Add another leak to the ignore list.
2822
2823 2008-01-14  Dan Bernstein  <mitz@apple.com>
2824
2825         Reviewed by Adam Roben.
2826
2827         - try to fix failure in fast/dom/Window/window-onFocus.html seen on the
2828           build bots
2829
2830         * DumpRenderTree/win/DumpRenderTree.cpp:
2831         (resetWebViewToConsistentStateBeforeTesting): Focus the web view.
2832
2833 2008-01-13  Steve Falkenburg  <sfalken@apple.com>
2834
2835         Share common files across projects.
2836         
2837         Unify vsprops files
2838         Debug:          common.vsprops, debug.vsprops
2839         Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
2840         Release:        common.vsprops, release.vsprops
2841         
2842         Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
2843         debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
2844
2845         Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
2846
2847         Reviewed by Adam Roben.
2848
2849         * Drosera/win/Drosera.vcproj/Drosera.vcproj:
2850         * Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
2851         * Drosera/win/Drosera.vcproj/VERSION: Removed.
2852         * Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
2853         * Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
2854         * Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
2855         * Drosera/win/Drosera.vcproj/release.vsprops: Removed.
2856         * DumpRenderTree/win/DumpRenderTree.vcproj:
2857         * DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2858         * DumpRenderTree/win/debug.vsprops: Removed.
2859         * DumpRenderTree/win/debug_internal.vsprops: Removed.
2860         * DumpRenderTree/win/release.vsprops: Removed.
2861
2862 2008-01-13  Brent Fulgham  <bfulgham@gmail.com>
2863
2864         Reviewed by Maciej.
2865
2866         - http://bugs.webkit.org/show_bug.cgi?id=16314
2867           Script to launch Drosera
2868
2869         * Scripts/gdb-drosera: Added.
2870         * Scripts/run-drosera: Added.
2871         * Scripts/run-drosera-nightly.cmd: Added.
2872         * Scripts/webkitdirs.pm: Added runDrosera function.
2873
2874 2008-01-13  Dan Bernstein  <mitz@apple.com>
2875
2876         - fix breakage due to last-minute change
2877
2878         * DumpRenderTree/win/DumpRenderTree.cpp:
2879         (runTest): Declare the loop variable.
2880
2881 2008-01-13  Dan Bernstein  <mitz@apple.com>
2882
2883         Reviewed by Adam Roben.
2884
2885         - fix <rdar://problem/5132009> Windows DRT does not support multiple windows
2886
2887         * DumpRenderTree/win/DumpRenderTree.cpp:
2888         (DumpRenderTreeWndProc):
2889         (initialize):
2890         (dumpBackForwardList):
2891         (dumpBackForwardListForAllWindows):
2892         (dump):
2893         (resetWebViewToConsistentStateBeforeTesting): Factored out of
2894         runTest().
2895         (runTest):
2896         (allWindows): Added. Returns a vector of all open windows.
2897         (windowToWebViewMap): Added. Returns a map from open windows to their
2898         WebViews.
2899         (createWebViewAndOffscreenWindow): Factored out of main() to be
2900         reusable for creating extra windows.
2901         (main):
2902         * DumpRenderTree/win/DumpRenderTreeWin.h:
2903         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2904         (LayoutTestController::windowCount): Implemented.
2905         * DumpRenderTree/win/UIDelegate.cpp:
2906         (UIDelegate::createWebViewWithRequest): Implemented.
2907         (UIDelegate::webViewClose): Implemented.
2908         * DumpRenderTree/win/UIDelegate.h:
2909
2910 2008-01-12  Alp Toker  <alp@atoker.com>
2911
2912         Reviewed by Mark Rowe.
2913
2914         Hide non-public symbols in GTK+/autotools release builds.
2915
2916         * GNUmakefile.am:
2917
2918 2008-01-12  Holger Hans Peter Freyther  <holger.freyther@trolltech.com>
2919
2920         Reviewed by Ap.
2921
2922         * Make launching of the WebKit httpd work on GNU/Debian/Linux
2923         
2924         The configuration of Apache2 and installation does not depend on
2925         the kernel but on the distribution policy. Make launching of httpd
2926         work for Debian derived distributions.
2927
2928         * Scripts/run-webkit-httpd:
2929         * Scripts/run-webkit-tests:
2930         * Scripts/webkitdirs.pm:
2931
2932 2008-01-12  Mark Rowe  <mrowe@apple.com>
2933
2934         Reviewed by Maciej Stachowiak.
2935
2936         Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
2937
2938         * DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
2939         match the callers expectations that it can take ownership of the string.
2940
2941 2008-01-11  Alexey Proskuryakov  <ap@webkit.org>
2942
2943         Reviewed by Adam Roben.
2944
2945         <rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
2946
2947         * DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
2948         as these are only posted because the test window is not a normal visible one, and
2949         they confuse drag&drop machinery.
2950
2951 2008-01-11  Adam Roben  <aroben@apple.com>
2952
2953         Fix a crash when pathToLocalResource fails and a leak
2954
2955         Reviewed by Darin.
2956
2957         * DumpRenderTree/LayoutTestController.cpp:
2958         (pathToLocalResourceCallback): Dont leak the JSStringRef, and make
2959         sure not to pass null to JSValueMakeString.
2960         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
2961         (LayoutTestController::pathToLocalResource): Print an error message if
2962         the conversion fails so it's clear what happened.
2963
2964 2008-01-11  Geoffrey Garen  <ggaren@apple.com>
2965
2966         Reviewed by John Sullivan.
2967
2968         * DumpRenderTree/mac/GCControllerMac.mm:
2969         (GCController::collectOnAlternateThread): Updated for name change.
2970
2971 2008-01-10  Kevin Ollivier  <kevino@theolliviers.com>
2972
2973         wx build fix. Don't build dftables any longer since it's now a Perl
2974         script.
2975
2976         * wx/build-wxwebkit:
2977
2978 2008-01-10  Sam Weinig  <sam@webkit.org>
2979
2980         Reviewed by Anders Carlsson.
2981
2982         Make DRT track open windows instead of allocated windows so that
2983         we can avoid ASSERTION due to late deallocs out of our control.
2984
2985         * DumpRenderTree/mac/DumpRenderTree.mm:
2986         (dumpBackForwardListForAllWindows):
2987         (runTest):
2988         * DumpRenderTree/mac/DumpRenderTreeMac.h:
2989         * DumpRenderTree/mac/DumpRenderTreeWindow.h:
2990         * DumpRenderTree/mac/DumpRenderTreeWindow.mm:
2991         (+[DumpRenderTreeWindow openWindows]):
2992         (-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
2993         (-[DumpRenderTreeWindow close]):
2994         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
2995         (LayoutTestController::windowCount):
2996
2997 2008-01-10  Ada Chan  <adachan@apple.com>
2998
2999         Meta key is not the same as Alt key on windows.
3000
3001         Reviewed by Darin.
3002
3003         * DumpRenderTree/win/EventSender.cpp:
3004         (keyDownCallback):
3005
3006 2008-01-09  Kevin McCullough  <kmccullough@apple.com>
3007
3008         Reviewed by Darin, Sam and Adam.
3009
3010         -<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
3011         link in gmail message displays JavaScript alert falsely complaining
3012         about pop-up blocking.
3013         - Added the ability to enable the pop-up blocker via the
3014         LayoutTestController.
3015
3016         * DumpRenderTree/LayoutTestController.cpp:
3017         (setPopupBlockingEnabledCallback):
3018         (LayoutTestController::staticFunctions):
3019         * DumpRenderTree/LayoutTestController.h:
3020         * DumpRenderTree/mac/DumpRenderTree.mm:
3021         (setDefaultsToConsistentValuesForTesting):
3022         (resetWebViewToConsistentStateBeforeTesting):
3023         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3024         (LayoutTestController::setPopupBlockingEnabled):
3025
3026 2008-01-10  Lars Knoll  <lars@trolltech.com>
3027
3028         Reviewed by Simon.
3029
3030         rename QWebPageHistory to QWebHistory.
3031         
3032
3033         * DumpRenderTree/qt/jsobjects.cpp:
3034
3035 2008-01-09  Maciej Stachowiak  <mjs@apple.com>
3036
3037         Reviewed by Darin.
3038         
3039         - add some more renames, adjust some
3040
3041         * Scripts/do-webcore-rename:
3042
3043 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
3044
3045         Reviewed by Oliver.
3046
3047         Enable SVG Fonts support by default.
3048
3049         * Scripts/build-webkit:
3050
3051 2008-01-07  Nikolas Zimmermann  <zimmermann@kde.org>
3052
3053         Reviewed by Adam.
3054
3055         Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
3056         DRT doesn't handle platform specific pixel test results correctly.
3057
3058         <test>-expected.txt files and <test>-expected.png files may now live
3059         in different directories (ie. a cross-platform <test>-expected.txt file
3060         and a platform-specific <test>-expected.png file).
3061
3062         * Scripts/run-webkit-tests:
3063
3064 2008-01-04  Kevin McCullough  <kmccullough@apple.com>
3065
3066         Reviewed by Darin.
3067
3068         - <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
3069         DRT did not correctly handle printing the '\0' char.  Now it does.
3070
3071         * DumpRenderTree/win/DumpRenderTree.cpp:
3072         (dumpFramesAsText):
3073         (dump):
3074
3075 2008-01-07  Simon Hausmann  <hausmann@webkit.org>
3076
3077         Reviewed by Lars.
3078
3079         Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
3080         
3081
3082         * DumpRenderTree/qt/main.cpp:
3083         * DumpRenderTree/qt/testplugin.cpp:
3084         * DumpRenderTree/qt/testplugin.h:
3085
3086 2008-01-05  Mark Rowe  <mrowe@apple.com>
3087
3088         Reviewed by Alp Toker.
3089
3090         Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
3091
3092         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3093         (processWork): Process pending work.
3094         (webViewLoadFinished): Schedule processing of pending work.
3095         * DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
3096
3097 2008-01-05  Darin Adler  <darin@apple.com>
3098
3099         * Scripts/do-webcore-rename: Some more renaming plans.
3100
3101 2008-01-04  Alice Liu  <alice.liu@apple.com>
3102
3103         Reviewed by Alexey and Darin.
3104
3105         Adding "home" and "end" to DRT's keydown since
3106         DOM key events can't handle keyIdentifiers at this point. 
3107
3108         * DumpRenderTree/mac/EventSendingController.mm:
3109         (-[EventSendingController keyDown:withModifiers:]):
3110         * DumpRenderTree/win/EventSender.cpp:
3111         (keyDownCallback):
3112
3113 2008-01-04  Lars Knoll  <lars@trolltech.com>
3114
3115         Reviewed by Simon.
3116
3117         fix DRT after the changes to QWebPage.
3118         
3119         The great thing is that we actually don't have
3120         any regressions from the QWebPage change :)
3121         
3122
3123         * DumpRenderTree/qt/DumpRenderTree.cpp:
3124         (WebCore::DumpRenderTree::DumpRenderTree):
3125
3126 2008-01-04  Lars Knoll  <lars@trolltech.com>
3127
3128         Reviewed by Simon.
3129
3130         make QWebPage a QObject and get things to compile.
3131         
3132         Nothing works currently though.
3133         
3134
3135         * DumpRenderTree/qt/DumpRenderTree.cpp:
3136         (WebCore::DumpRenderTree::DumpRenderTree):
3137
3138 2008-01-04  Lars Knoll  <lars@trolltech.com>
3139
3140         Reviewed by Simon.
3141
3142         take a QString as identifier in QWebFrame::addToJSWindowObject.
3143
3144         * DumpRenderTree/qt/DumpRenderTree.cpp:
3145         (WebCore::DumpRenderTree::initJSObjects):
3146
3147 2008-01-04  Alp Toker  <alp@atoker.com>
3148
3149         GTK+ DRT build fix for breakage introduced in r29149.
3150
3151         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3152         (LayoutTestController::execCommand):
3153
3154 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
3155
3156         Reviewed by Darin.
3157
3158         <rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
3159
3160         Added layoutTestController.execCommand to access editor commands that are not available
3161         via document.execCommand.
3162
3163         * DumpRenderTree/LayoutTestController.cpp:
3164         (execCommandCallback):
3165         (LayoutTestController::staticFunctions):
3166         * DumpRenderTree/LayoutTestController.h:
3167         * DumpRenderTree/mac/LayoutTestControllerMac.mm:
3168         (LayoutTestController::execCommand):
3169         * DumpRenderTree/win/LayoutTestControllerWin.cpp:
3170         (LayoutTestController::queueLoad):
3171         (LayoutTestController::execCommand):
3172
3173 2008-01-03  Alice Liu  <alice.liu@apple.com>
3174
3175         Reviewed by Darin, Mitz.
3176
3177         fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
3178
3179         the clickcount should not increase if the last click was at a different location.  it's a new click.
3180
3181         * DumpRenderTree/mac/DumpRenderTree.mm:
3182         (runTest):
3183         * DumpRenderTree/mac/EventSendingController.h:
3184         * DumpRenderTree/mac/EventSendingController.mm:
3185         (-[EventSendingController mouseDown]):
3186         (-[EventSendingController mouseUp]):
3187
3188 2008-01-03  Darin Adler  <darin@apple.com>
3189
3190         Reviewed by Adam.
3191
3192         * Scripts/update-webkit: Make this work a little better for the people at Apple
3193         who have a directory named Internal.
3194
3195 2008-01-03  Adam Roben  <aroben@apple.com>
3196
3197         Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
3198
3199         Rubberstamped by Mark.
3200
3201         * Scripts/update-webkit-auxiliary-libs:
3202
3203 2008-01-03  Adam Roben  <aroben@apple.com>
3204
3205         Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
3206
3207         http://bugs.webkit.org/show_bug.cgi?id=15663
3208
3209         Added a fuzz factor into the Last-Modified comparison for downloading
3210         WebKitAuxiliaryLibrary.zip.
3211
3212         The zip file is served from a set of mirrors who give Last-Modified
3213         times that are off by 1-3 seconds from each other. This was causing
3214         the build bots to redownload WebKitAuxiliaryLibrary for every build,
3215         which would then cause all of WebCore to rebuild each time.
3216
3217         Reviewed by Mark.
3218
3219         * Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
3220         at least 30 seconds newer than the old one -- otherwise we assume that
3221         the difference in time is due to the mirrors being slightly offset
3222         from each other.
3223         (sub lastModifiedToUnixTime): Added.
3224
3225 2008-01-03  Alexey Proskuryakov  <ap@webkit.org>
3226
3227         Windows build fix.
3228
3229         * DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
3230
3231 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
3232
3233         Reviewed by Lars.
3234
3235         Moved QWebPage::open to QWebFrame::load and added setHtml.
3236         
3237
3238         * DumpRenderTree/qt/DumpRenderTree.cpp:
3239         (WebCore::DumpRenderTree::open):
3240
3241 2008-01-03  Simon Hausmann  <hausmann@webkit.org>
3242
3243         Reviewed by Lars.
3244
3245         Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
3246         
3247
3248         * DumpRenderTree/qt/DumpRenderTree.cpp:
3249         (WebCore::DumpRenderTree::DumpRenderTree):
3250
3251 2008-01-02  Sam Weinig  <sam@webkit.org>
3252
3253         * Scripts/do-webcore-rename: Yet more renaming ideas.
3254
3255 2008-01-02  Darin Adler  <darin@apple.com>
3256
3257         * Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
3258
3259 2008-01-02  Alice Liu  <alice.liu@apple.com>
3260
3261         Reviewed by Sam Weinig.
3262
3263         fixing assertion hit with editing/selection/move-begin-end.html
3264
3265         * DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
3266         * DumpRenderTree/win/DumpRenderTree.vcproj:
3267         * DumpRenderTree/win/EventSender.cpp:
3268         (keyDownCallback):
3269         using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
3270
3271 2008-01-02  Darin Adler  <darin@apple.com>
3272
3273         * Scripts/do-webcore-rename: Some more name change plans.
3274
3275 2008-01-02  Alice Liu  <alice.liu@apple.com>
3276
3277         Reviewed by Maciej.
3278
3279         Added handling for page up and page down in EventSender
3280
3281         * DumpRenderTree/mac/EventSendingController.mm:
3282         (-[EventSendingController keyDown:withModifiers:]):
3283         * DumpRenderTree/win/EventSender.cpp:
3284         (keyDownCallback):
3285
3286 2008-01-02  Alexey Proskuryakov  <ap@webkit.org>
3287
3288         Reviewed by Darin.
3289
3290         Fix fast/events/arrow-keys-on-body.html for real.
3291
3292         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
3293
3294 2008-01-02  Luca Bruno  <lethalman88@gmail.com>
3295
3296         Reviewed by Darin.
3297
3298         http://bugs.webkit.org/show_bug.cgi?id=16674
3299         [GTK] run-launcher sets wrong LD_LIBRARY_PATH
3300
3301         * Scripts/run-launcher:
3302
3303 2007-12-31  Darin Adler  <darin@apple.com>
3304
3305         Suggested by Antti.
3306
3307         * Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
3308         we get it installed on the build bots.
3309
3310 2007-12-30  Eric Seidel  <eric@webkit.org>
3311
3312         Reviewed by Sam.
3313
3314         * Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
3315
3316 2007-12-29  Darin Adler  <darin@apple.com>
3317
3318         Reviewed by Oliver.
3319
3320         - fix http://bugs.webkit.org/show_bug.cgi?id=16663
3321           leak bot shows createCStringFromNPVariant result leaking
3322
3323         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3324         (pluginInvoke): Added a missing free.
3325
3326 2007-12-26  Jan Michael Alonzo  <jmalonzo@unpluggable.com>
3327
3328         Reviewed by Alp Toker.
3329
3330         http://bugs.webkit.org/show_bug.cgi?id=16390
3331         Use autotools or GNU make as the build system for the GTK port
3332
3333         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
3334         * GNUmakefile.am: Added.
3335
3336 2007-12-24  Alexey Proskuryakov  <ap@webkit.org>
3337
3338         Reviewed by Oliver.
3339
3340         Fix fast/events/arrow-keys-on-body.html, failing on Windows.
3341
3342         * DumpRenderTree/win/EventSender.cpp:
3343         (keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
3344         of 1, even though WebKit currently ignores it.
3345
3346 2007-12-23  Kevin Ollivier  <kevino@theolliviers.com>
3347
3348         wx buildbot fix. Update libpng dl script to the latest version.
3349
3350         * wx/install-unix-extras:
3351
3352 2007-12-22  Antti Koivisto  <antti@apple.com>
3353
3354         Fix a typo.
3355
3356         * Scripts/webkitdirs.pm:
3357
3358 2007-12-21  Sam Weinig  <sam@webkit.org>
3359
3360         Reviewed by Mark Rowe.
3361
3362         - Disable the back/forward cache using the new WebPreferences API
3363           instead of through the BackForwardList.  This makes us match what
3364           we do on Windows.
3365
3366         * DumpRenderTree/mac/DumpRenderTree.mm:
3367         (createWebViewAndOffscreenWindow):
3368         (setDefaultsToConsistentValuesForTesting):
3369
3370 2007-12-21  Dan Bernstein  <mitz@apple.com>
3371
3372         Reviewed by Mark Rowe.
3373
3374         - disable the back/forward cache in Windows DumpRenderTree. It is
3375           already disabled in Mac DumpRenderTree.
3376
3377         * DumpRenderTree/win/DumpRenderTree.cpp:
3378         (initializePreferences):
3379
3380 2007-12-13  Antti Koivisto  <antti@apple.com>
3381
3382         Reviewed by Darin and Steve.
3383         
3384         - check for QuickTime SDK on Windows.
3385         - build media support on Windows by default
3386
3387         * Scripts/build-webkit:
3388         * Scripts/webkitdirs.pm:
3389
3390 2007-12-21  Kevin Ollivier  <kevino@theolliviers.com>
3391
3392         Build script fix for buildbot.
3393
3394         * wx/build-wxwebkit:
3395
3396 2007-12-20  Eric Seidel  <eric@webkit.org>
3397
3398         Reviewed by mjs.
3399
3400         * Scripts/run-sunspider: change --runs default to 10 for better accuracy
3401
3402 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
3403
3404         Reviewed by Steve.
3405
3406         - <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
3407         WebKit.
3408
3409         - Drosera and Safari need to use the same ProgIDs in order for
3410         CoCreateInstance to work properly.  The most robust way to do this is
3411         for WebKit to dynamically publish those ProgIDs.
3412
3413         * Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
3414         (DebuggerClient::createWebViewWithRequest):
3415         * Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
3416         statics.
3417         (Drosera::initUI):
3418         (Drosera::attach):
3419         (Drosera::attemptToCreateServerConnection):
3420         * Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
3421         * Drosera/win/ServerConnection.cpp: Reformat the connection function and
3422         make use of the published ProgIDs.
3423         (ServerConnection::attemptToCreateServerConnection):
3424
3425 2007-12-20  Kevin McCullough  <kmccullough@apple.com>
3426
3427         - <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
3428         - Build bot and leak fix.
3429
3430         * DumpRenderTree/LayoutTestController.cpp:
3431         (pathToLocalResourceCallback):
3432
3433 2007-12-19  David Kilzer  <ddkilzer@apple.com>
3434
3435         Make svn-apply/svn-unapply work with patches from git-format-patch.
3436
3437         Reviewed by Darin.
3438
3439         * Scripts/svn-apply:
3440         (patch): If 'Index:' can't be found in the text passed in, print it
3441         out with a warning and return early.
3442         * Scripts/svn-unapply:
3443         (patch): Ditto.
3444
3445 2007-12-18  Kevin Ollivier  <kevino@theolliviers.com>
3446
3447         Reviewed by Alp Toker.
3448
3449         Build related fixes.
3450
3451         * wx/build-wxwebkit:
3452         - Check to make sure the user is running a supported wx port
3453         - More robust checks for Cygwin
3454         - Only run install-unix-extras on Mac, it's not the right solution
3455           for Linux distros.
3456         - Remove outdated Linux instructions after successful build
3457         - Clean Bakefile-generated files during a clean operation
3458
3459 2007-12-18  Darin Adler  <darin@apple.com>
3460
3461         * Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
3462
3463 2007-12-18  Steve Falkenburg  <sfalken@apple.com>
3464
3465         Add script to run Drosera as part of the nightly.
3466         
3467         Reviewed by Kevin M.
3468
3469         * Scripts/run-drosera.cmd: Added.
3470
3471 2007-12-18  Darin Adler  <darin@apple.com>
3472
3473         * Scripts/do-webcore-rename: Remove a stray K.
3474
3475 2007-12-18  Darin Adler  <darin@apple.com>
3476
3477         * Scripts/do-webcore-rename: Plan more renaming.
3478
3479 2007-12-14  Juan A. Suarez Romero  <jasuarez@igalia.com>
3480
3481         Reviewed by Alp Toker.
3482
3483         http://bugs.webkit.org/show_bug.cgi?id=16042
3484         [GTK] Eliminate webkit_init()
3485
3486         Moving webkit initialization to WebView class init.
3487
3488         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3489         (main):
3490         * GtkLauncher/main.c:
3491         (main):
3492
3493 2007-12-17  Luca Bruno  <lethalman88@gmail.com>
3494
3495         Reviewed by Alp Toker.
3496
3497         http://bugs.webkit.org/show_bug.cgi?id=13542
3498         gdklauncher doesnt change URL in adress GTKEntry.
3499
3500         * GtkLauncher/main.c:
3501         (load_commit_cb): added
3502         (title_change_cb):
3503         (create_browser):
3504
3505 2007-12-16  Dimitri Glazkov  <dimitri@glazkov.com>
3506
3507         Reviewed by Adam Roben.
3508
3509         Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
3510
3511         * FindSafari/FindSafari.cpp:
3512         (_tmain):
3513
3514 2007-12-16  Brent Fulgham  <bfulgham@gmail.com>
3515
3516         Reviewed by Adam Roben.
3517
3518         http://bugs.webkit.org/show_bug.cgi?id=16315
3519         FindSafari needs a path-only option.
3520
3521         * FindSafari/FindSafari.cpp:
3522         (_tmain):
3523
3524 2007-12-16  Alexey Proskuryakov  <ap@webkit.org>
3525
3526         Reviewed by Darin.
3527
3528         http://bugs.webkit.org/show_bug.cgi?id=16462
3529         REGRESSION: access keys broken on Windows
3530
3531         * DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
3532         if Alt is pressed.
3533
3534 2007-12-15  Sam Weinig  <sam@webkit.org>
3535
3536         Reviewed by Mark Rowe.
3537
3538         Fix urlSuitableForTestResult to correctly identify wstring::npos as
3539         the case when wstring.find doesn't find anything.
3540
3541         * DumpRenderTree/win/DumpRenderTree.cpp:
3542         (urlSuitableForTestResult):
3543
3544 2007-12-15  Alp Toker  <alp@atoker.com>
3545
3546         GTK+ DRT build fix for GLib < 2.14.
3547
3548         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3549         (LayoutTestController::setWaitToDump):
3550
3551 2007-12-05  Mark Rowe  <mrowe@apple.com>
3552
3553         Reviewed by Alp Toker.
3554
3555         Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm.  This prevents
3556         many layout tests from hanging while waiting on user responses to dialogs.
3557
3558         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3559         (invalidateAnyPreviousWaitToDumpWatchdog):
3560         (webViewScriptAlert):
3561         (webViewScriptPrompt):
3562         (webViewScriptConfirm):
3563         (main):
3564         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3565         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3566         (waitToDumpWatchdogFired):
3567         (LayoutTestController::setWaitToDump):
3568
3569 2007-12-05  Mark Rowe  <mrowe@apple.com>
3570
3571         Reviewed by Alp Toker.
3572
3573         Flesh out DumpRenderTree for Gtk.  After these changes, the majority of the tests in fast/js pass.
3574
3575         * DumpRenderTree/gtk/DumpRenderTree.cpp:
3576         (dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
3577         (dump):
3578         (runTest):
3579         (webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
3580         (webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
3581         work queue is empty.
3582         (webViewWindowObjectCleared): Set up window.layoutTestController.
3583         (webViewConsoleMessage): Match the console message format expected by the layout test results.
3584         (main): Hook up the new signals.
3585         * DumpRenderTree/gtk/DumpRenderTreeGtk.h:
3586         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
3587         dumping multiple times.
3588         * Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
3589         * Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways.  Use run-launcher to open test results.
3590
3591 2007-12-14  Anders Carlsson  <andersca@apple.com>
3592
3593         Reviewed by Brady.
3594
3595         Assert that a web frame that's loading a resource always has either a data source or 
3596         a provisional data source.
3597         
3598         * DumpRenderTree/mac/ResourceLoadDelegate.mm:
3599         (-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
3600
3601 2007-12-14  Darin Adler  <darin@apple.com>
3602
3603         - fix mistake causing nearly all tests to fail on Windows
3604
3605         * DumpRenderTree/win/UIDelegate.cpp:
3606         (UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
3607         npos, not 0. Also pass URL in to URL function rather than passing the entire message.
3608
3609         * DumpRenderTree/mac/UIDelegate.mm:
3610         (-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
3611         than passing the entire message.
3612
3613 2007-12-14  Darin Adler  <darin@apple.com>
3614
3615         - fix Tiger build
3616
3617         * DumpRenderTree/mac/UIDelegate.mm:
3618         (-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
3619         new-to-Leopard methods.
3620
3621 2007-12-14  Darin Adler  <darin@apple.com>
3622
3623         * DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
3624         since it now triggers unwanted icon loading. We only had it because we implemented "all"
3625         delegate methods here.
3626
3627 2007-12-14  Anders Carlsson  <andersca@apple.com>
3628
3629         Reviewed by Darin and Geoff.
3630
3631         <rdar://problem/5619295> 
3632         REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
3633         
3634         Add property getting methods to the plug-in.
3635         
3636         * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
3637         (pluginInvoke):
3638
3639 2007-12-14  Kevin McCullough  <kmccullough@apple.com>
3640
3641         Reviewed by Darin.
3642
3643         - Layout test fix for mac. When dumped to the console local file paths
3644         now only show the name of the resource not the whole path.  This is to
3645         make the results machine and OS independent.
3646
3647         * DumpRenderTree/mac/UIDelegate.mm:
3648         (-[UIDelegate webView:addMessageToConsole:]):
3649
3650 2007-12-13  Kevin McCullough  <kmccullough@apple.com>
3651
3652         Reviewed by Adam.
3653
3654         - Layout tests fix.  We need a way to remove machine-dependent
3655         information from paths in layout test results. The UIDelegate now does
3656         this.
3657
3658         * DumpRenderTree/DumpRenderTree.h:
3659         * DumpRenderTree/win/DumpRenderTree.cpp:
3660         (urlSuitableForTestResult):
3661         * DumpRenderTree/win/DumpRenderTreeWin.h:
3662         * DumpRenderTree/win/ResourceLoadDelegate.cpp:
3663         * DumpRenderTree/win/UIDelegate.cpp:
3664         (UIDelegate::webViewAddMessageToConsole):
3665
3666 2007-12-13  Alp Toker  <alp@atoker.com>
3667
3668         Build fix for DRT breakage introduced in r28690.
3669
3670         * DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
3671         (LayoutTestController::pathToLocalResource):
3672
3673 2007-12-12  Kevin McCullough  <kmccullough@apple.com>
3674
3675         Reviewed by Alice and Sam.
3676
3677         - <rdar://5621435> Need a way to specify local resources (being loaded
3678         from HTTP tests) on Windows.
3679         - Implemented pathToLocalResource which exposes the functionality of