forked from WebKitNix/webkitnix
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathChangeLog-2009-06-16
25221 lines (17180 loc) · 908 KB
/
ChangeLog-2009-06-16
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2009-06-15 Mark Rowe <[email protected]>
Reviewed by Oliver Hunt.
Add a script to automate the rolling over of ChangeLog files when they grow too large.
* Scripts/roll-over-ChangeLogs: Added.
2009-06-15 Simon Fraser <[email protected]>
Reviewed by Mark Rowe.
<rdar://problem/6974857>
Build with ENABLE_3D_RENDERING turned on by default on SnowLeopard.
* Scripts/build-webkit:
2009-06-12 Tor Arne Vestbø <[email protected]>
Reviewed by Mark Rowe.
Reviewed by Simon Hausmann.
Refactor handling of options in the build-webkit script
Options are now defined in one place, and then reused when creating
the usage help text, the arguments to GetOptions(), and when passing
the options on to the underlying port-dependent build systems.
This allows the Qt port to read the defaults for the options from the
pro file (dynamically), and to pass the options on to qmake at build.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2009-06-15 Mark Rowe <[email protected]>
Reviewed by Cameron Zwarich.
Fix <https://bugs.webkit.org/show_bug.cgi?id=26312>.
Bug 26312: Multiple copies of Safari opened with WebKit nightly and Safari 3.2.3
Skip the trampoline detection for versions of Safari < 4.0 as they don't play these
tricks, and having WebKitNightlyEnabler assume that we were in the trampoline was
preventing our LaunchServices trickery from being run. This led to fresh copies of
WebKit.app being launched when a URL or file was opened from an external application
rather than the existing instance being reused.
* WebKitLauncher/WebKitNightlyEnabler.m:
(insideSafari4OnTigerTrampoline):
(enableWebKitNightlyBehaviour):
2009-06-13 Sam Weinig <[email protected]>
Rubber-stamped by Mark "Snowy" Rowe.
Update iExploder/htdocs/cssproperties.in by running update-iexploder-cssproperties.
* iExploder/htdocs/cssproperties.in:
2009-06-13 John Abd-El-Malek <[email protected]>
Reviewed by Eric Seidel. Landed by Adam Barth.
Removed dead file.
https://bugs.webkit.org/show_bug.cgi?id=26308
* DumpRenderTree/win/TestNetscapePlugin/main.c: Removed.
2009-06-12 Jan Michael Alonzo <[email protected]>
Reviewed by Gustavo Noronha.
[Gtk] use strlen instead of g_utf8_strlen so we can enable more tests.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dumpHistoryItem):
2009-06-12 Gustavo Noronha Silva <[email protected]>
Reviewed by Jan Alonzo.
https://bugs.webkit.org/show_bug.cgi?id=25599
[GTK] Enable more tests
Implement dumping of status callback.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(webViewStatusBarTextChanged):
(main):
2009-06-11 John Abd-El-Malek <[email protected]>
Reviewed by Steve Falkenburg.
https://bugs.webkit.org/show_bug.cgi?id=26306
Revert 42565 as it leads to DumpRenderTree crashing on startup because
Windows can't find CFURLCacheCopySharedURLCache in CoreNetwork.dll.
* DumpRenderTree/win/DumpRenderTree.cpp:
2009-06-10 Holger Hans Peter Freyther <[email protected]>
Reviewed by Jan Alonzo.
[gtk] Change DumpRenderTree to use a GtkScrolledWindow instead of GtkFixed
Change the code to use GtkScrolledWindow and resize the GtkScrolledWindow
to pass more tests. Make sure the content is bigger than a thumbnail.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(runTest):
(main):
2009-06-10 Jan Michael Alonzo <[email protected]>
Reviewed by Gustavo Noronha.
Clear the frame name before we run each tests so we don't get
"someFloaString" or "3" in the target frame name.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
2009-06-10 Dan Bernstein <[email protected]>
Reviewed by Adele Peterson.
- add a LayoutTestController method for temporarily changing the WebKit
cache model
* DumpRenderTree/LayoutTestController.cpp:
(setCacheModelCallback): Added. Calls
LayoutTestController::setCacheModel() with the first argument as an
integer.
(LayoutTestController::staticFunctions): Added setCacheModel.
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setCacheModel):
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting): Reset the cache model to
WebCacheModelDocumentBrowser.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setCacheModel): Added. Calls -[WebPreferences
setCacheModel:].
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setCacheModel):
* DumpRenderTree/wx/LayoutTestControllerWx.cpp:
(LayoutTestController::setCacheModel):
2009-06-09 Mark Rowe <[email protected]>
Reviewed by Sam Weinig.
Have sunspider-compare-results use the system version of the jsc
command line binary as there's no good reason to rebuild from source
to simply compare results.
* Scripts/sunspider-compare-results:
2009-06-09 Simon Hausmann <[email protected]>
Reviewed by Ariya Hidayat.
Removed setUseFixedLayout and renamed setFixedLayoutSize to
setFixedContentsSize.
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::setFixedContentsSize):
* DumpRenderTree/qt/jsobjects.h:
2009-06-09 Simon Hausmann <[email protected]>
Fix the Qt build, add missing function declaration.
* DumpRenderTree/qt/jsobjects.h:
2009-06-09 Mark Rowe <[email protected]>
Reviewed by Dan Bernstein.
Fix <https://bugs.webkit.org/show_bug.cgi?id=24642>.
Bug 24642: REGRESSION: Nightly builds sometimes erroneously display a message about failing to launch successfully
Safari 4 on Tiger plays some shenanigans during launch that can confuse the nightly launcher application
in to running its initialization code too soon.
* WebKitLauncher/WebKitNightlyEnabler.m:
(insideSafariOnTigerTrampoline): Detect these shenanigans.
(enableWebKitNightlyBehaviour): Delay initialization when needed.
2009-06-08 Brady Eidson <[email protected]>
Reviewed by Antti Koivisto
Add dispatchPendingLoadRequests() to test fix for <rdar://problem/6727495>
* DumpRenderTree/LayoutTestController.cpp:
(dispatchPendingLoadRequestsCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::dispatchPendingLoadRequests): Implement using [WebView _dispatchPendingLoadRequests] SPI
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::dispatchPendingLoadRequests): Need implementations.
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::dispatchPendingLoadRequests): Ditto.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::dispatchPendingLoadRequests): Ditto.
* DumpRenderTree/wx/LayoutTestControllerWx.cpp:
(LayoutTestController::dispatchPendingLoadRequests): Ditto.
2009-06-07 Mark Rowe <[email protected]>
Rubber-stamped by Cameron Zwarich.
Delete the AccessibilityController that we allocated in -init.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate dealloc]):
2009-06-06 Mark Rowe <[email protected]>
Reviewed by Dan Bernstein.
Factor out the code to check whether a library contains a given symbol in to a helper function.
* Scripts/webkitdirs.pm:
2009-06-06 Mark Rowe <[email protected]>
Reviewed by Sam Weinig.
Detect when XHTML MP and WCSS are disabled and skip their associated regression tests.
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2009-06-06 Mark Rowe <[email protected]>
Reviewed by Brady Eidson.
<rdar://problem/6778101> Four SSL-related test failures
With newer versions of CFNetwork we receive a NSURLErrorServerCertificateUntrusted error
code rather than the more specific NSURLErrorServerCertificateHasUnknownRoot that DumpRenderTree
was looking for. Update DumpRenderTree to accommodate the different error code.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
2009-06-03 Tor Arne Vestbø <[email protected]>
Rubber-stamped by Simon Hausmann.
[Qt] Fix Perl warning when calling chdir with an empty/undefined path
This happened when the included makespec was in the same directory as
the parent makespec, so the relative path between the two was empty.
* Scripts/webkitdirs.pm:
2009-06-04 Darin Adler <[email protected]>
Reviewed by Tim Hatcher.
Fix crashes due to unbalanced start/stop observer calls.
* DumpRenderTree/mac/DumpRenderTreeWindow.h: Added observingWebView.
* DumpRenderTree/mac/DumpRenderTreeWindow.mm:
(-[DumpRenderTreeWindow startObservingWebView]): Call stopObservingWebView
in case we're already observing some other WebView. Set observingWebView.
(-[DumpRenderTreeWindow stopObservingWebView]): Do nothing if
observingWebView is already NO. Clear observingWebView.
2009-06-03 David Hyatt <[email protected]>
Reviewed by Sam Weinig.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setMainFrameIsFirstResponder):
Remove explicit calls to _updateFocusedActiveState when the view is made first responder.
Focused state already properly updates when views become first responders, so these calls
are unnecessary.
(LayoutTestController::setWindowIsKey):
Explicitly call _updateActiveState when our window becomes key, since we're just faking it
and the notification won't be sent.
2009-06-02 Jessie Berlin <[email protected]>
Reviewed by Mark Rowe.
Add "replace" behavior so that it shows the addition part of the
replacement of the file first, and then shows the changes.
Future: Add in showing the removal part of the replacement.
* Scripts/svn-create-patch:
2009-06-02 Brent Fulgham <[email protected]>
Reviewed by Adam Roben.
Update WinLauncher for WebKitCreateInstance.
https://bugs.webkit.org/show_bug.cgi?id=26136
* WinLauncher/WinLauncher.cpp: Revise implementation to
use WebKitCreateInstance (rather than CoCreateInstance).
* WinLauncher/WinLauncher.h: Modify include path for
WebKit.h to match DumpRenderTree style.
* WinLauncher/WinLauncher.vcproj: Remove unnecessary
WebKit.tlb and EmbeddedIDL flags from build.
2009-06-02 Tor Arne Vestbø <[email protected]>
Rubber-stamped by Adam Roben.
[Qt] Fix Perl warning about uninitialized value (passedConfiguration())
* Scripts/webkitdirs.pm:
2009-06-02 Tor Arne Vestbø <[email protected]>
Rubber-stamped by Simon Hausmann.
Use File::Spec->tmpdir instead of hardcoded paths for tempfile() dir
This fixes the Windows-build if the user does not have a /tmp directory.
* Scripts/bisect-builds:
2009-06-01 Yongjun Zhang <[email protected]>>
Reviewed by Holger Freyther. Landed by Adam Barth.
<https://bugs.webkit.org/show_bug.cgi?id=26070>
[Qt] EventSender.keyDown doesn't support Arrow Up and Down keys.
Add Down and Up key support.
* DumpRenderTree/qt/jsobjects.cpp:
(EventSender::keyDown):
2009-06-01 Mark Rowe <[email protected]>
Reviewed by Sam Weinig.
svn-create-patch displays confusing "Broken pipe" errors from Subversion
when files have been renamed in local working copy. This was happening
because we invoke 'svn info' to determine the URL that the file was copied
from, but we were closing the pipe to the subprocess before SVN had finished
writing its output.
* Scripts/prepare-ChangeLog: Consume all 'svn info' output before closing the file handle.
* Scripts/svn-create-patch: Ditto.
2009-05-31 Sam Weinig <[email protected]>
Reviewed by Dan Bernstein.
- implement LayoutTestController::clearAllDatabases() on
Windows.
Needed for storage/transaction-error-callback.html.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::clearAllDatabases):
2009-05-28 Dirk Schulze <[email protected]>
Reviewed by Nikolas Zimmermann.
Added new build flag --filters. More details in WebCore/ChangeLog.
* Scripts/build-webkit:
2009-05-28 Olivier DOLE <[email protected]>
Reviewed by Maciej.
Add options to sunspider-compare-results to know which test suite to
compare (see bug #15941).
* Scripts/sunspider-compare-results:
2009-05-27 Mark Rowe <[email protected]>
Rubber-stamped by Dan Bernstein.
Update build-webkit to handle a new version of WebKitSystemInterface.
* Scripts/build-webkit:
2009-05-27 Fridrich Strba <[email protected]>
Reviewed by Maciej Stachowiak.
When building with MinGW, don't use the __declspec(dl{import,export})
decorations and rely on the linker to use its nifty auto-import feature.
It is extremely hard to get the decorations right with MinGW in general
and impossible in WebKit, where the resulting shared library is linking
together some static libraries.
* DumpRenderTree/config.h:
2009-05-23 Mark Rowe <[email protected]>
Reviewed by Oliver Hunt.
Land the updated version of WebKitLauncher that the nightly builds have been using.
Changes include:
1) Support for self-updating via Sparkle.
2) Now respects the "Open using Rosetta" preference.
3) Passes environment variables through to the spawned Safari process.
4) Logs a list of extensions that are detected to the system console.
5) Disables extensions that are known to cause crashes too early in the
launch process to be detected by the extension-detection code.
* WebKitLauncher/Configurations/Base.xcconfig: Added.
* WebKitLauncher/Configurations/WebKitLauncher.xcconfig: Added.
* WebKitLauncher/Configurations/WebKitNightlyEnabler.xcconfig: Added.
* WebKitLauncher/Info.plist:
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
* WebKitLauncher/WebKitNightlyEnabler.h: Added.
* WebKitLauncher/WebKitNightlyEnabler.m:
(myBundleDidLoad):
(myApplicationWillFinishLaunching):
(poseAsWebKitApp):
(webKitLauncherBundle):
(enableWebKitNightlyBehaviour):
* WebKitLauncher/WebKitNightlyEnablerSparkle.h: Added.
* WebKitLauncher/WebKitNightlyEnablerSparkle.m: Added.
(initializeSparkle):
(updatePermissionPromptDescription):
(skipSignatureVerificationInDownloadDidFinish):
(updateAlertPanel):
(updateAlertInitForAlertPanel):
(-[NSAlert webKitHandleButtonPress:]):
(setMethodImplementation):
* WebKitLauncher/main.m:
(displayErrorAndQuit):
(getLastVersionShown):
(saveLastVersionShown):
(getPathForStartPage):
(getCurrentVersion):
(getShowStartPageVersion):
(startPageDisabled):
(addStartPageToArgumentsIfNeeded):
(preferredArchitecture):
(myExecve):
(locateSafariBundle):
(currentMacOSXVersion):
(checkFrameworkPath):
(main):
2009-05-23 Jan Michael Alonzo <[email protected]>
Reviewed by Gustavo Noronha and Xan Lopez.
[Gtk] Enable database and localStorage support
https://bugs.webkit.org/show_bug.cgi?id=25629
Enable database and localStorage for running the storage/ tests.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
2009-05-23 David Kilzer <[email protected]>
Part 1 of 2: Bug 25495: Implement PassOwnPtr and replace uses of std::auto_ptr
<https://bugs.webkit.org/show_bug.cgi?id=25495>
Reviewed by Oliver Hunt.
* DumpRenderTree/ForwardingHeaders/wtf/OwnPtrCommon.h: Added.
* DumpRenderTree/ForwardingHeaders/wtf/PassOwnPtr.h: Added.
2009-05-23 David Kilzer <[email protected]>
resolve-ChangeLogs: Add missing newline to status message
* Scripts/resolve-ChangeLogs: Added newline to status message
that is printed when the -c|--continue switch is used but there
are unmerged files remaining in the git working directory.
2009-05-23 Eric Seidel <[email protected]>
Reviewed by Mark Rowe.
Add an error message to a die statement in run-webkit-tests
I hit this die when two users tried to run-webkit-tests at the same time. :(
* Scripts/run-webkit-tests:
2009-05-22 Andre Pedralho <[email protected]>
Reviewed by Simon Hausmann.
Fixed --makeargs usage in Qt build.
* Scripts/build-webkit:
2009-05-22 Zoltan Horvath <[email protected]>
Reviewed by Simon Hausmann.
Correcting error message on missing WEBKIT_TESTFONTS
environment varible in Qt-port.
* DumpRenderTree/qt/main.cpp:
(main):
2009-05-21 Eric Seidel <[email protected]>
Rubber-stamped by Antti Koivisto.
Make it possible to write js-only http tests by exposing a /js-test-resources alias.
https://bugs.webkit.org/show_bug.cgi?id=25915
Second attempt at landing, now using -c instead of -C to make sure
that mod_alias is loaded on Apache 1.x instances before using Alias.
* Scripts/run-webkit-httpd:
* Scripts/run-webkit-tests:
2009-05-21 Gustavo Noronha Silva <[email protected]>
Reviewed by Xan Lopez.
Default to running HTTP tests for GTK+.
* Scripts/run-webkit-tests:
2009-05-21 Darin Adler <[email protected]>
Rolled the httpd changes out, since many machines (including the bots)
have an older version of Apache that does not support the Alias command.
Or maybe it's something else, but the bots are failing.
* Scripts/run-webkit-httpd: Rolled back.
* Scripts/run-webkit-tests: Ditto.
2009-05-21 Eric Seidel <[email protected]>
Reviewed by Geoffrey Garen.
Make it possible to write js-only http tests by exposing a /js-test-resources alias.
https://bugs.webkit.org/show_bug.cgi?id=25915
* Scripts/run-webkit-httpd:
* Scripts/run-webkit-tests:
2009-05-21 Andre Pedralho <[email protected]>
Reviewed by Gustavo Noronha.
Added --makeargs flag to the build script.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2009-05-14 Holger Hans Peter Freyther <[email protected]>
Reviewed by Anders Carlsson.
https://bugs.webkit.org/show_bug.cgi?id=24510 where
Add testHasProperty and testHasMethod to the existing functions
of the PluginObject to be able to test the browser hasproperty
and hasmethod implementation. Invoke them from pluginInvoke.
Change the defines to an enum to avoid manually updating
NUM_METHOD_IDENTIFIERS and assigning numbers.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(testHasProperty): test hasproperty
(testHasMethod): test hasmethod
(pluginInvoke): invoke the two
2009-05-20 Laszlo Gombos <[email protected]>
Reviewed by George Staikos.
BUG 25843: [Qt] Remove qt-port build flag
<https://bugs.webkit.org/show_bug.cgi?id=25843>
* DumpRenderTree/qt/DumpRenderTree.pro:
* Scripts/webkitdirs.pm:
2009-05-18 Eric Seidel <[email protected]>
Reviewed by Oliver Hunt.
Remove layoutTestController.addFileToPasteboardOnDrag and add eventSender.beginDragWithFiles
https://bugs.webkit.org/show_bug.cgi?id=25852
This allows us to now test multi-file file drags in DumpRenderTree per:
https://bugs.webkit.org/show_bug.cgi?id=25862
I removed the existing tests using addFileToPasteboardOnDrag()
and replaced them with a new test (editing/pasteboard/file-input-files-access)
which covers several more drag-drop cases.
I added a DumpRenderTreeFileDraggingSource class to avoid
the hack of if (!draggingSource) in [DumpRenderTreeDraggingInfo draggingSourceOperationMask]
New Test: editing/pasteboard/file-input-files-access.html
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTreeFileDraggingSource.h: Added.
* DumpRenderTree/DumpRenderTreeFileDraggingSource.m: Added.
(-[DumpRenderTreeFileDraggingSource draggingSourceOperationMaskForLocal:]):
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::staticValues): removed addFileToPasteboardOnDrag support
(LayoutTestController::staticFunctions): removed addFileToPasteboardOnDrag support
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/DumpRenderTree.mm:
(runTest): ASSERT that draggingInfo has been cleared
* DumpRenderTree/mac/EventSendingController.mm:
(+[EventSendingController isSelectorExcludedFromWebScript:]): Sorted selectors.
(+[EventSendingController webScriptNameForSelector:]): Sorted selectors.
(-[EventSendingController beginDragWithFiles:]):
(-[EventSendingController mouseMoveToX:Y:]):
(-[EventSendingController keyDown:withModifiers:]):
(-[EventSendingController fireKeyboardEventsToElement:]): removed spurious { }
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]): removed addFileToPasteboardOnDrag support
2009-05-19 Kevin Ollivier <[email protected]>
wxMSW build fixes for DRT.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp:
(runTest):
* DumpRenderTree/wx/WorkQueueItemWx.cpp:
(LoadItem::invoke):
(ReloadItem::invoke):
(ScriptItem::invoke):
(BackForwardItem::invoke):
2009-05-18 Julien Chaffraix <[email protected]>
Bug 24569: Add some cookies tests
<https://bugs.webkit.org/show_bug.cgi?id=24569>
Patch by David Kilzer.
* Scripts/make-js-test-wrappers: Added regex to skip
cookies-test-(post|pre).js files.
2009-05-18 Kevin Ollivier <[email protected]>
wx build fix. Use python-config to get Python linking info on Unix OSes.
* wx/build-wxwebkit:
2009-05-18 Kevin Ollivier <[email protected]>
wx build fix, initialize variable that doesn't get set on Windows.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp:
(MyApp::OnInit):
2009-05-18 Jan Michael Alonzo <[email protected]>
Reviewed by Xan Lopez.
[Gtk] Various autotools build refactoring and fixes
https://bugs.webkit.org/show_bug.cgi?id=25286
Add -no-install and -no-fast-install to programs and tests that we
don't install. Also remove -O2 since this is already handled at
configure time.
* GNUmakefile.am:
2009-05-18 Julie Parent <[email protected]>
Reviewed by Oliver Hunt.
https://bugs.webkit.org/show_bug.cgi?id=25846
Make eventSender dispatch a drag over event.
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2009-05-18 Julie Parent <[email protected]>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=25716
* Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.
2009-05-18 Julie Parent <[email protected]>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=25716
* Scripts/make-js-test-wrappers: Added exception to avoid overwriting a custom-written test.
2009-05-11 Holger Hans Peter Freyther <[email protected]>
Reviewed by Jan Michael Alonzo.
https://bugs.webkit.org/show_bug.cgi?id=25787
Merge r41819 into Gtk. Do not use printf but send messages
through the log command.
* DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
(log):
(webkit_test_plugin_new_instance):
(webkit_test_plugin_destroy_instance):
(webkit_test_plugin_set_window):
(webkit_test_plugin_handle_event):
2009-05-11 Holger Hans Peter Freyther <[email protected]>
Reviewed by Jan Michael Alonzo.
https://bugs.webkit.org/show_bug.cgi?id=25787
Forward port r39877 from main.c of OSX to TestNetscapePlugin
of Gtk.
* DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
(webkit_test_plugin_new_instance):
2009-05-15 Kevin Ollivier <[email protected]>
wx build fix. Don't parse args using getopt since it isn't available on Windows.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp:
(MyApp::OnInit):
2009-05-15 Jan Michael Alonzo <[email protected]>
Reviewed by Holger Freyther.
[GTK] Implement layoutTestController.waitForPolicyDelegate
https://bugs.webkit.org/show_bug.cgi?id=25036
Connect to 'navigation-policy-decision-requested' and handle
waitForPolicy in the callback.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(invalidateAnyPreviousWaitToDumpWatchdog):
(webViewNavigationPolicyDecisionRequested):
(main):
* DumpRenderTree/gtk/DumpRenderTreeGtk.h:
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::notifyDone):
(LayoutTestController::waitForPolicyDelegate):
2009-05-14 David Levin <[email protected]>
Reviewed by Eric Seidel.
https://bugs.webkit.org/show_bug.cgi?id=24704
Make paths where data is saved be scoped to the ~ directory,
so that one can run independent instances by setting CFFIXED_USER_HOME.
* DumpRenderTree/mac/DumpRenderTree.mm:
(libraryPath):
(setDefaultsToConsistentValuesForTesting):
(dumpFrameAsPDF):
2009-05-13 David Kilzer <[email protected]>
Fix resolve-ChangeLogs when used with Subversion
Reviewed by Darin Adler.
Fixes the following issue when run on a Subversion repository:
$ ./WebKitTools/Scripts/resolve-ChangeLogs
ERROR: --continue may only be used with a git repository
* Scripts/resolve-ChangeLogs: Check for the boolean value of
$gitRebaseContinue, not whether it's defined, when validating
command-line switches.
2009-05-12 David Kilzer <[email protected]>
Bug 21418: resolve-ChangeLogs should have a --continue option which does git rebase --continue
<https://bugs.webkit.org/show_bug.cgi?id=21418>
Reviewed by Darin Adler.
* Scripts/resolve-ChangeLogs: Added -c|--continue switch that
runs "git rebase --continue" before exiting the script.
(hasGitUnmergedFiles): Added. Returns true if there are
unmerged files in the git repository.
2009-05-11 Laszlo Gombos <[email protected]>
Reviewed by Holger Freyther.
[Qt] Make sure that public APIs are properly exported on all Qt platforms
https://bugs.webkit.org/show_bug.cgi?id=25601
* Scripts/webkitdirs.pm: Remove QT_SHARED define from Qt builds, define QT_MAKEDLL in WebCore.pro instead
2009-05-07 Kevin Ollivier <[email protected]>
wx build fixes for Python extension and DRT.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp:
(MyApp::OnInit):
* wx/build-wxwebkit:
2009-05-07 Steve Falkenburg <[email protected]>
Remove manifest fixup from r42729 to fix clean builds.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2009-05-06 Kevin Ollivier <[email protected]>
wx build fix, fixes for wx trunk builds.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp:
(MyApp::OnInit):
* wx/build-wxwebkit:
2009-05-06 Steve Falkenburg <[email protected]>
Explicitly set WebKitPaintNativeControls to false to allow Windows results to match Mac.
Reviewed by Adam Roben.
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
2009-05-06 Tor Arne Vestbø <[email protected]>
Reviewed by Simon Hausmann.
Build QtWebKit as a framework on Mac
This implies both debug and release build by default, unless
one of the --debug or --release config options are passed to
the build-webkit script.
Frameworks can be disabled by passing CONFIG+=webkit_no_framework
to the build-webkit script.
To be able to build both debug and release targets in parallel
we have to use separate output directories for the generated
sources, which is not optimal, but required to avoid race conditions.
An optimization would be to only require this spit-up on Mac.
* Scripts/webkitdirs.pm:
2009-05-05 Darin Adler <[email protected]>
Try to fix Mac build.
* DumpRenderTree/AccessibilityUIElement.cpp: (elementAtPointCallback): Initialize x and y.
2009-05-05 Maclolm MacLeod <[email protected]>
Reviewed by Kevin Ollivier.
Have wxWebkit make use of gcc(4 and greater) hidden visibility feature
https://bugs.webkit.org/show_bug.cgi?id=24345
* wx/build-wxwebkit:
2009-05-05 Chris Fleizach <[email protected]>
Reviewed by Beth Dakin.
Bug 25574: AXImageMap children links don't respond properly to accessibilityHitTest:
https://bugs.webkit.org/show_bug.cgi?id=25574
* DumpRenderTree/AccessibilityUIElement.cpp:
(elementAtPointCallback):
(getXCallback):
(getYCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(descriptionOfValue):
(AccessibilityUIElement::elementAtPoint):
(AccessibilityUIElement::role):
(AccessibilityUIElement::title):
(AccessibilityUIElement::description):
(AccessibilityUIElement::x):
(AccessibilityUIElement::y):
(AccessibilityUIElement::width):
(AccessibilityUIElement::height):
(AccessibilityUIElement::intValue):
(AccessibilityUIElement::minValue):
(AccessibilityUIElement::maxValue):
(AccessibilityUIElement::insertionPointLineNumber):
(AccessibilityUIElement::supportsPressAction):
(AccessibilityUIElement::lineForIndex):
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::elementAtPoint):
(AccessibilityUIElement::x):
(AccessibilityUIElement::y):
2009-05-06 Christian Dywan <[email protected]>
Reviewed by Gustavo Noronha.
http://bugs.webkit.org/show_bug.cgi?id=17066
[GTK] Improve frameloader signals
Update GtkLauncher to use the new load-status and progress properties
instead of the previous loading signals.
* GtkLauncher/main.c:
(update_title):
(notify_load_status_cb):
(notify_progress_cb):
(create_browser):
(create_window):
2009-05-05 Adam Roben <[email protected]>
Don't use pdevenv when building with VC++ Express
Fixes Bug 25308: REGRESSION (r42182): Build fails after following
build instructions on webkit.org fail when using VC++ Express
<https://bugs.webkit.org/show_bug.cgi?id=25308>
Reviewed by Eric Seidel.
* Scripts/webkitdirs.pm:
(setupCygwinEnv): When Visual Studio is installed, set $vcBuildPath to
point to pdevenv. When VC++ Express is installed, set $vcBuildPath to
point to VC++ Express, as before.
(buildVisualStudioProject): Use $vcBuildPath to build instead of
hard-coding pdevenv.
2009-05-05 Tor Arne Vestbø <[email protected]>
Rubber-stamped by Simon Hausmann.
Mention --qt as an option in the build-webkit help
* Scripts/build-webkit:
2009-05-04 Gustavo Noronha Silva <[email protected]>
Reviewed by Alexey Proskuryakov.
Enable spell-checking in DumpRenderTree.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
2009-05-04 Kevin Ollivier <[email protected]>
Reviewed by Eric Seidel.
Initial DRT implementation for wx.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/wx: Added.
* DumpRenderTree/wx/DumpRenderTree.bkl: Added.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp: Added.
(LayoutWebViewEventHandler::LayoutWebViewEventHandler):
(LayoutWebViewEventHandler::bindEvents):
(LayoutWebViewEventHandler::OnLoadEvent):
(LayoutWebViewEventHandler::OnAlertEvent):
(LayoutWebViewEventHandler::OnConfirmEvent):
(LayoutWebViewEventHandler::OnPromptEvent):
(LayoutWebViewEventHandler::OnConsoleMessageEvent):
(LayoutWebViewEventHandler::OnReceivedTitleEvent):
(LayoutWebViewEventHandler::OnWindowObjectClearedEvent):
(notifyDoneFired):
(dumpFramesAsText):
(dump):
(runTest):
(MyApp::OnInit):
* DumpRenderTree/wx/DumpRenderTreeWx.h: Added.
* DumpRenderTree/wx/GCControllerWx.cpp: Added.
(GCController::collect):
(GCController::collectOnAlternateThread):
(GCController::getJSObjectCount):
* DumpRenderTree/wx/LayoutTestControllerWx.cpp: Added.