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
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
9165
9166
9167
9168
9169
9170
9171
9172
9173
9174
9175
9176
9177
9178
9179
9180
9181
9182
9183
9184
9185
9186
9187
9188
9189
9190
9191
9192
9193
9194
9195
9196
9197
9198
9199
9200
9201
9202
9203
9204
9205
9206
9207
9208
9209
9210
9211
9212
9213
9214
9215
9216
9217
9218
9219
9220
9221
9222
9223
9224
9225
9226
9227
9228
9229
9230
9231
9232
9233
9234
9235
9236
9237
9238
9239
9240
9241
9242
9243
9244
9245
9246
9247
9248
9249
9250
9251
9252
9253
9254
9255
9256
9257
9258
9259
9260
9261
9262
9263
9264
9265
9266
9267
9268
9269
9270
9271
9272
9273
9274
9275
9276
9277
9278
9279
9280
9281
9282
9283
9284
9285
9286
9287
9288
9289
9290
9291
9292
9293
9294
9295
9296
9297
9298
9299
9300
9301
9302
9303
9304
9305
9306
9307
9308
9309
9310
9311
9312
9313
9314
9315
9316
9317
9318
9319
9320
9321
9322
9323
9324
9325
9326
9327
9328
9329
9330
9331
9332
9333
9334
9335
9336
9337
9338
9339
9340
9341
9342
9343
9344
9345
9346
9347
9348
9349
9350
9351
9352
9353
9354
9355
9356
9357
9358
9359
9360
9361
9362
9363
9364
9365
9366
9367
9368
9369
9370
9371
9372
9373
9374
9375
9376
9377
9378
9379
9380
9381
9382
9383
9384
9385
9386
9387
9388
9389
9390
9391
9392
9393
9394
9395
9396
9397
9398
9399
9400
9401
9402
9403
9404
9405
9406
9407
9408
9409
9410
9411
9412
9413
9414
9415
9416
9417
9418
9419
9420
9421
9422
9423
9424
9425
9426
9427
9428
9429
9430
9431
9432
9433
9434
9435
9436
9437
9438
9439
9440
9441
9442
9443
9444
9445
9446
9447
9448
9449
9450
9451
9452
9453
9454
9455
9456
9457
9458
9459
9460
9461
9462
9463
9464
9465
9466
9467
9468
9469
9470
9471
9472
9473
9474
9475
9476
9477
9478
9479
9480
9481
9482
9483
9484
9485
9486
9487
9488
9489
9490
9491
9492
9493
9494
9495
9496
9497
9498
9499
9500
9501
9502
9503
9504
9505
9506
9507
9508
9509
9510
9511
9512
9513
9514
9515
9516
9517
9518
9519
9520
9521
9522
9523
9524
9525
9526
9527
9528
9529
9530
9531
9532
9533
9534
9535
9536
9537
9538
9539
9540
9541
9542
9543
9544
9545
9546
9547
9548
9549
9550
9551
9552
9553
9554
9555
9556
9557
9558
9559
9560
9561
9562
9563
9564
9565
9566
9567
9568
9569
9570
9571
9572
9573
9574
9575
9576
9577
9578
9579
9580
9581
9582
9583
9584
9585
9586
9587
9588
9589
9590
9591
9592
9593
9594
9595
9596
9597
9598
9599
9600
9601
9602
9603
9604
9605
9606
9607
9608
9609
9610
9611
9612
9613
9614
9615
9616
9617
9618
9619
9620
9621
9622
9623
9624
9625
9626
9627
9628
9629
9630
9631
9632
9633
9634
9635
9636
9637
9638
9639
9640
9641
9642
9643
9644
9645
9646
9647
9648
9649
9650
9651
9652
9653
9654
9655
9656
9657
9658
9659
9660
9661
9662
9663
9664
9665
9666
9667
9668
9669
9670
9671
9672
9673
9674
9675
9676
9677
9678
9679
9680
9681
9682
9683
9684
9685
9686
9687
9688
9689
9690
9691
9692
9693
9694
9695
9696
9697
9698
9699
9700
9701
9702
9703
9704
9705
9706
9707
9708
9709
9710
9711
9712
9713
9714
9715
9716
9717
9718
9719
9720
9721
9722
9723
9724
9725
9726
9727
9728
9729
9730
9731
9732
9733
9734
9735
9736
9737
9738
9739
9740
9741
9742
9743
9744
9745
9746
9747
9748
9749
9750
9751
9752
9753
9754
9755
9756
9757
9758
9759
9760
9761
9762
9763
9764
9765
9766
9767
9768
9769
9770
9771
9772
9773
9774
9775
9776
9777
9778
9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
9812
9813
9814
9815
9816
9817
9818
9819
9820
9821
9822
9823
9824
9825
9826
9827
9828
9829
9830
9831
9832
9833
9834
9835
9836
9837
9838
9839
9840
9841
9842
9843
9844
9845
9846
9847
9848
9849
9850
9851
9852
9853
9854
9855
9856
9857
9858
9859
9860
9861
9862
9863
9864
9865
9866
9867
9868
9869
9870
9871
9872
9873
9874
9875
9876
9877
9878
9879
9880
9881
9882
9883
9884
9885
9886
9887
9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
9921
9922
9923
9924
9925
9926
9927
9928
9929
9930
9931
9932
9933
9934
9935
9936
9937
9938
9939
9940
9941
9942
9943
9944
9945
9946
9947
9948
9949
9950
9951
9952
9953
9954
9955
9956
9957
9958
9959
9960
9961
9962
9963
9964
9965
9966
9967
9968
9969
9970
9971
9972
9973
9974
9975
9976
9977
9978
9979
9980
9981
9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
10015
10016
10017
10018
10019
10020
10021
10022
10023
10024
10025
10026
10027
10028
10029
10030
10031
10032
10033
10034
10035
10036
10037
10038
10039
10040
10041
10042
10043
10044
10045
10046
10047
10048
10049
10050
10051
10052
10053
10054
10055
10056
10057
10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
10091
10092
10093
10094
10095
10096
10097
10098
10099
10100
10101
10102
10103
10104
10105
10106
10107
10108
10109
10110
10111
10112
10113
10114
10115
10116
10117
10118
10119
10120
10121
10122
10123
10124
10125
10126
10127
10128
10129
10130
10131
10132
10133
10134
10135
10136
10137
10138
10139
10140
10141
10142
10143
10144
10145
10146
10147
10148
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
10197
10198
10199
10200
10201
10202
10203
10204
10205
10206
10207
10208
10209
10210
10211
10212
10213
10214
10215
10216
10217
10218
10219
10220
10221
10222
10223
10224
10225
10226
10227
10228
10229
10230
10231
10232
10233
10234
10235
10236
10237
10238
10239
10240
10241
10242
10243
10244
10245
10246
10247
10248
10249
10250
10251
10252
10253
10254
10255
10256
10257
10258
10259
10260
10261
10262
10263
10264
10265
10266
10267
10268
10269
10270
10271
10272
10273
10274
10275
10276
10277
10278
10279
10280
10281
10282
10283
10284
10285
10286
10287
10288
10289
10290
10291
10292
10293
10294
10295
10296
10297
10298
10299
10300
10301
10302
10303
10304
10305
10306
10307
10308
10309
10310
10311
10312
10313
10314
10315
10316
10317
10318
10319
10320
10321
10322
10323
10324
10325
10326
10327
10328
10329
10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
10363
10364
10365
10366
10367
10368
10369
10370
10371
10372
10373
10374
10375
10376
10377
10378
10379
10380
10381
10382
10383
10384
10385
10386
10387
10388
10389
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
10430
10431
10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
10443
10444
10445
10446
10447
10448
10449
10450
10451
10452
10453
10454
10455
10456
10457
10458
10459
10460
10461
10462
10463
10464
10465
10466
10467
10468
10469
10470
10471
10472
10473
10474
10475
10476
10477
10478
10479
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495
10496
10497
10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
10510
10511
10512
10513
10514
10515
10516
10517
10518
10519
10520
10521
10522
10523
10524
10525
10526
10527
10528
10529
10530
10531
10532
10533
10534
10535
10536
10537
10538
10539
10540
10541
10542
10543
10544
10545
10546
10547
10548
10549
10550
10551
10552
10553
10554
10555
10556
10557
10558
10559
10560
10561
10562
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720
10721
10722
10723
10724
10725
10726
10727
10728
10729
10730
10731
10732
10733
10734
10735
10736
10737
10738
10739
10740
10741
10742
10743
10744
10745
10746
10747
10748
10749
10750
10751
10752
10753
10754
10755
10756
10757
10758
10759
10760
10761
10762
10763
10764
10765
10766
10767
10768
10769
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785
10786
10787
10788
10789
10790
10791
10792
10793
10794
10795
10796
10797
10798
10799
10800
10801
10802
10803
10804
10805
10806
10807
10808
10809
10810
10811
10812
10813
10814
10815
10816
10817
10818
10819
10820
10821
10822
10823
10824
10825
10826
10827
10828
10829
10830
10831
10832
10833
10834
10835
10836
10837
10838
10839
10840
10841
10842
10843
10844
10845
10846
10847
10848
10849
10850
10851
10852
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010
11011
11012
11013
11014
11015
11016
11017
11018
11019
11020
11021
11022
11023
11024
11025
11026
11027
11028
11029
11030
11031
11032
11033
11034
11035
11036
11037
11038
11039
11040
11041
11042
11043
11044
11045
11046
11047
11048
11049
11050
11051
11052
11053
11054
11055
11056
11057
11058
11059
11060
11061
11062
11063
11064
11065
11066
11067
11068
11069
11070
11071
11072
11073
11074
11075
11076
11077
11078
11079
11080
11081
11082
11083
11084
11085
11086
11087
11088
11089
11090
11091
11092
11093
11094
11095
11096
11097
11098
11099
11100
11101
11102
11103
11104
11105
11106
11107
11108
11109
11110
11111
11112
11113
11114
11115
11116
11117
11118
11119
11120
11121
11122
11123
11124
11125
11126
11127
11128
11129
11130
11131
11132
11133
11134
11135
11136
11137
11138
11139
11140
11141
11142
11143
11144
11145
11146
11147
11148
11149
11150
11151
11152
11153
11154
11155
11156
11157
11158
11159
11160
11161
11162
11163
11164
11165
11166
11167
11168
11169
11170
11171
11172
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195
11196
11197
11198
11199
11200
11201
11202
11203
11204
11205
11206
11207
11208
11209
11210
11211
11212
11213
11214
11215
11216
11217
11218
11219
11220
11221
11222
11223
11224
11225
11226
11227
11228
11229
11230
11231
11232
11233
11234
11235
11236
11237
11238
11239
11240
11241
11242
11243
11244
11245
11246
11247
11248
11249
11250
11251
11252
11253
11254
11255
11256
11257
11258
11259
11260
11261
11262
11263
11264
11265
11266
11267
11268
11269
11270
11271
11272
11273
11274
11275
11276
11277
11278
11279
11280
11281
11282
11283
11284
11285
11286
11287
11288
11289
11290
11291
11292
11293
11294
11295
11296
11297
11298
11299
11300
11301
11302
11303
11304
11305
11306
11307
11308
11309
11310
11311
11312
11313
11314
11315
11316
11317
11318
11319
11320
11321
11322
11323
11324
11325
11326
11327
11328
11329
11330
11331
11332
11333
11334
11335
11336
11337
11338
11339
11340
11341
11342
11343
11344
11345
11346
11347
11348
11349
11350
11351
11352
11353
11354
11355
11356
11357
11358
11359
11360
11361
11362
11363
11364
11365
11366
11367
11368
11369
11370
11371
11372
11373
11374
11375
11376
11377
11378
11379
11380
11381
11382
11383
11384
11385
11386
11387
11388
11389
11390
11391
11392
11393
11394
11395
11396
11397
11398
11399
11400
11401
11402
11403
11404
11405
11406
11407
11408
11409
11410
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503
11504
11505
11506
11507
11508
11509
11510
11511
11512
11513
11514
11515
11516
11517
11518
11519
11520
11521
11522
11523
11524
11525
11526
11527
11528
11529
11530
11531
11532
11533
11534
11535
11536
11537
11538
11539
11540
11541
11542
11543
11544
11545
11546
11547
11548
11549
11550
11551
11552
11553
11554
11555
11556
11557
11558
11559
11560
11561
11562
11563
11564
11565
11566
11567
11568
11569
11570
11571
11572
11573
11574
11575
11576
11577
11578
11579
11580
11581
11582
11583
11584
11585
11586
11587
11588
11589
11590
11591
11592
11593
11594
11595
11596
11597
11598
11599
11600
11601
11602
11603
11604
11605
11606
11607
11608
11609
11610
11611
11612
11613
11614
11615
11616
11617
11618
11619
11620
11621
11622
11623
11624
11625
11626
11627
11628
11629
11630
11631
11632
11633
11634
11635
11636
11637
11638
11639
11640
11641
11642
11643
11644
11645
11646
11647
11648
11649
11650
11651
11652
11653
11654
11655
11656
11657
11658
11659
11660
11661
11662
11663
11664
11665
11666
11667
11668
11669
11670
11671
11672
11673
11674
11675
11676
11677
11678
11679
11680
11681
11682
11683
11684
11685
11686
11687
11688
11689
11690
11691
11692
11693
11694
11695
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814
11815
11816
11817
11818
11819
11820
11821
11822
11823
11824
11825
11826
11827
11828
11829
11830
11831
11832
11833
11834
11835
11836
11837
11838
11839
11840
11841
11842
11843
11844
11845
11846
11847
11848
11849
11850
11851
11852
11853
11854
11855
11856
11857
11858
11859
11860
11861
11862
11863
11864
11865
11866
11867
11868
11869
11870
11871
11872
11873
11874
11875
11876
11877
11878
11879
11880
11881
11882
11883
11884
11885
11886
11887
11888
11889
11890
11891
11892
11893
11894
11895
11896
11897
11898
11899
11900
11901
11902
11903
11904
11905
11906
11907
11908
11909
11910
11911
11912
11913
11914
11915
11916
11917
11918
11919
11920
11921
11922
11923
11924
11925
11926
11927
11928
11929
11930
11931
11932
11933
11934
11935
11936
11937
11938
11939
11940
11941
11942
11943
11944
11945
11946
11947
11948
11949
11950
11951
11952
11953
11954
11955
11956
11957
11958
11959
11960
11961
11962
11963
11964
11965
11966
11967
11968
11969
11970
11971
11972
11973
11974
11975
11976
11977
11978
11979
11980
11981
11982
11983
11984
11985
11986
11987
11988
11989
11990
11991
11992
11993
11994
11995
11996
11997
11998
11999
12000
12001
12002
12003
12004
12005
12006
12007
12008
12009
12010
12011
12012
12013
12014
12015
12016
12017
12018
12019
12020
12021
12022
12023
12024
12025
12026
12027
12028
12029
12030
12031
12032
12033
12034
12035
12036
12037
12038
12039
12040
12041
12042
12043
12044
12045
12046
12047
12048
12049
12050
12051
12052
12053
12054
12055
12056
12057
12058
12059
12060
12061
12062
12063
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081
12082
12083
12084
12085
12086
12087
12088
12089
12090
12091
12092
12093
12094
12095
12096
12097
12098
12099
12100
12101
12102
12103
12104
12105
12106
12107
12108
12109
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122
12123
12124
12125
12126
12127
12128
12129
12130
12131
12132
12133
12134
12135
12136
12137
12138
12139
12140
12141
12142
12143
12144
12145
12146
12147
12148
12149
12150
12151
12152
12153
12154
12155
12156
12157
12158
12159
12160
12161
12162
12163
12164
12165
12166
12167
12168
12169
12170
12171
12172
12173
12174
12175
12176
12177
12178
12179
12180
12181
12182
12183
12184
12185
12186
12187
12188
12189
12190
12191
12192
12193
12194
12195
12196
12197
12198
12199
12200
12201
12202
12203
12204
12205
12206
12207
12208
12209
12210
12211
12212
12213
12214
12215
12216
12217
12218
12219
12220
12221
12222
12223
12224
12225
12226
12227
12228
12229
12230
12231
12232
12233
12234
12235
12236
12237
12238
12239
12240
12241
12242
12243
12244
12245
12246
12247
12248
12249
12250
12251
12252
12253
12254
12255
12256
12257
12258
12259
12260
12261
12262
12263
12264
12265
12266
12267
12268
12269
12270
12271
12272
12273
12274
12275
12276
12277
12278
12279
12280
12281
12282
12283
12284
12285
12286
12287
12288
12289
12290
12291
12292
12293
12294
12295
12296
12297
12298
12299
12300
12301
12302
12303
12304
12305
12306
12307
12308
12309
12310
12311
12312
12313
12314
12315
12316
12317
12318
12319
12320
12321
12322
12323
12324
12325
12326
12327
12328
12329
12330
12331
12332
12333
12334
12335
12336
12337
12338
12339
12340
12341
12342
12343
12344
12345
12346
12347
12348
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366
12367
12368
12369
12370
12371
12372
12373
12374
12375
12376
12377
12378
12379
12380
12381
12382
12383
12384
12385
12386
12387
12388
12389
12390
12391
12392
12393
12394
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407
12408
12409
12410
12411
12412
12413
12414
12415
12416
12417
12418
12419
12420
12421
12422
12423
12424
12425
12426
12427
12428
12429
12430
12431
12432
12433
12434
12435
12436
12437
12438
12439
12440
12441
12442
12443
12444
12445
12446
12447
12448
12449
12450
12451
12452
12453
12454
12455
12456
12457
12458
12459
12460
12461
12462
12463
12464
12465
12466
12467
12468
12469
12470
12471
12472
12473
12474
12475
12476
12477
12478
12479
12480
12481
12482
12483
12484
12485
12486
12487
12488
12489
12490
12491
12492
12493
12494
12495
12496
12497
12498
12499
12500
12501
12502
12503
12504
12505
12506
12507
12508
12509
12510
12511
12512
12513
12514
12515
12516
12517
12518
12519
12520
12521
12522
12523
12524
12525
12526
12527
12528
12529
12530
12531
12532
12533
12534
12535
12536
12537
12538
12539
12540
12541
12542
12543
12544
12545
12546
12547
12548
12549
12550
12551
12552
12553
12554
12555
12556
12557
12558
12559
12560
12561
12562
12563
12564
12565
12566
12567
12568
12569
12570
12571
12572
12573
12574
12575
12576
12577
12578
12579
12580
12581
12582
12583
12584
12585
12586
12587
12588
12589
12590
12591
12592
12593
12594
12595
12596
12597
12598
12599
12600
12601
12602
12603
12604
12605
12606
12607
12608
12609
12610
12611
12612
12613
12614
12615
12616
12617
12618
12619
12620
12621
12622
12623
12624
12625
12626
12627
12628
12629
12630
12631
12632
12633
12634
12635
12636
12637
12638
12639
12640
12641
12642
12643
12644
12645
12646
12647
12648
12649
12650
12651
12652
12653
12654
12655
12656
12657
12658
12659
12660
12661
12662
12663
12664
12665
12666
12667
12668
12669
12670
12671
12672
12673
12674
12675
12676
12677
12678
12679
12680
12681
12682
12683
12684
12685
12686
12687
12688
12689
12690
12691
12692
12693
12694
12695
12696
12697
12698
12699
12700
12701
12702
12703
12704
12705
12706
12707
12708
12709
12710
12711
12712
12713
12714
12715
12716
12717
12718
12719
12720
12721
12722
12723
12724
12725
12726
12727
12728
12729
12730
12731
12732
12733
12734
12735
12736
12737
12738
12739
12740
12741
12742
12743
12744
12745
12746
12747
12748
12749
12750
12751
12752
12753
12754
12755
12756
12757
12758
12759
12760
12761
12762
12763
12764
12765
12766
12767
12768
12769
12770
12771
12772
12773
12774
12775
12776
12777
12778
12779
12780
12781
12782
12783
12784
12785
12786
12787
12788
12789
12790
12791
12792
12793
12794
12795
12796
12797
12798
12799
12800
12801
12802
12803
12804
12805
12806
12807
12808
12809
12810
12811
12812
12813
12814
12815
12816
12817
12818
12819
12820
12821
12822
12823
12824
12825
12826
12827
12828
12829
12830
12831
12832
12833
12834
12835
12836
12837
12838
12839
12840
12841
12842
12843
12844
12845
12846
12847
12848
12849
12850
12851
12852
12853
12854
12855
12856
12857
12858
12859
12860
12861
12862
12863
12864
12865
12866
12867
12868
12869
12870
12871
12872
12873
12874
12875
12876
12877
12878
12879
12880
12881
12882
12883
12884
12885
12886
12887
12888
12889
12890
12891
12892
12893
12894
12895
12896
12897
12898
12899
12900
12901
12902
12903
12904
12905
12906
12907
12908
12909
12910
12911
12912
12913
12914
12915
12916
12917
12918
12919
12920
12921
12922
12923
12924
12925
12926
12927
12928
12929
12930
12931
12932
12933
12934
12935
12936
12937
12938
12939
12940
12941
12942
12943
12944
12945
12946
12947
12948
12949
12950
12951
12952
12953
12954
12955
12956
12957
12958
12959
12960
12961
12962
12963
12964
12965
12966
12967
12968
12969
12970
12971
12972
12973
12974
12975
12976
12977
12978
12979
12980
12981
12982
12983
12984
12985
12986
12987
12988
12989
12990
12991
12992
12993
12994
12995
12996
12997
12998
12999
13000
13001
13002
13003
13004
13005
13006
13007
13008
13009
13010
13011
13012
13013
13014
13015
13016
13017
13018
13019
13020
13021
13022
13023
13024
13025
13026
13027
13028
13029
13030
13031
13032
13033
13034
13035
13036
13037
13038
13039
13040
13041
13042
13043
13044
13045
13046
13047
13048
13049
13050
13051
13052
13053
13054
13055
13056
13057
13058
13059
13060
13061
13062
13063
13064
13065
13066
13067
13068
13069
13070
13071
13072
13073
13074
13075
13076
13077
13078
13079
13080
13081
13082
13083
13084
13085
13086
13087
13088
13089
13090
13091
13092
13093
13094
13095
13096
13097
13098
13099
13100
13101
13102
13103
13104
13105
13106
13107
13108
13109
13110
13111
13112
13113
13114
13115
13116
13117
13118
13119
13120
13121
13122
13123
13124
13125
13126
13127
13128
13129
13130
13131
13132
13133
13134
13135
13136
13137
13138
13139
13140
13141
13142
13143
13144
13145
13146
13147
13148
13149
13150
13151
13152
13153
13154
13155
13156
13157
13158
13159
13160
13161
13162
13163
13164
13165
13166
13167
13168
13169
13170
13171
13172
13173
13174
13175
13176
13177
13178
13179
13180
13181
13182
13183
13184
13185
13186
13187
13188
13189
13190
13191
13192
13193
13194
13195
13196
13197
13198
13199
13200
13201
13202
13203
13204
13205
13206
13207
13208
13209
13210
13211
13212
13213
13214
13215
13216
13217
13218
13219
13220
13221
13222
13223
13224
13225
13226
13227
13228
13229
13230
13231
13232
13233
13234
13235
13236
13237
13238
13239
13240
13241
13242
13243
13244
13245
13246
13247
13248
13249
13250
13251
13252
13253
13254
13255
13256
13257
13258
13259
13260
13261
13262
13263
13264
13265
13266
13267
13268
13269
13270
13271
13272
13273
13274
13275
13276
13277
13278
13279
13280
13281
13282
13283
13284
13285
13286
13287
13288
13289
13290
13291
13292
13293
13294
13295
13296
13297
13298
13299
13300
13301
13302
13303
13304
13305
13306
13307
13308
13309
13310
13311
13312
13313
13314
13315
13316
13317
13318
13319
13320
13321
13322
13323
13324
13325
13326
13327
13328
13329
13330
13331
13332
13333
13334
13335
13336
13337
13338
13339
13340
13341
13342
13343
13344
13345
13346
13347
13348
13349
13350
13351
13352
13353
13354
13355
13356
13357
13358
13359
13360
13361
13362
13363
13364
13365
13366
13367
13368
13369
13370
13371
13372
13373
13374
13375
13376
13377
13378
13379
13380
13381
13382
13383
13384
13385
13386
13387
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430
13431
13432
13433
13434
13435
13436
13437
13438
13439
13440
13441
13442
13443
13444
13445
13446
13447
13448
13449
13450
13451
13452
13453
13454
13455
13456
13457
13458
13459
13460
13461
13462
13463
13464
13465
13466
13467
13468
13469
13470
13471
13472
13473
13474
13475
13476
13477
13478
13479
13480
13481
13482
13483
13484
13485
13486
13487
13488
13489
13490
13491
13492
13493
13494
13495
13496
13497
13498
13499
13500
13501
13502
13503
13504
13505
13506
13507
13508
13509
13510
13511
13512
13513
13514
13515
13516
13517
13518
13519
13520
13521
13522
13523
13524
13525
13526
13527
13528
13529
13530
13531
13532
13533
13534
13535
13536
13537
13538
13539
13540
13541
13542
13543
13544
13545
13546
13547
13548
13549
13550
13551
13552
13553
13554
13555
13556
13557
13558
13559
13560
13561
13562
13563
13564
13565
13566
13567
13568
13569
13570
13571
13572
13573
13574
13575
13576
13577
13578
13579
13580
13581
13582
13583
13584
13585
13586
13587
13588
13589
13590
13591
13592
13593
13594
13595
13596
13597
13598
13599
13600
13601
13602
13603
13604
13605
13606
13607
13608
13609
13610
13611
13612
13613
13614
13615
13616
13617
13618
13619
13620
13621
13622
13623
13624
13625
13626
13627
13628
13629
13630
13631
13632
13633
13634
13635
13636
13637
13638
13639
13640
13641
13642
13643
13644
13645
13646
13647
13648
13649
13650
13651
13652
13653
13654
13655
13656
13657
13658
13659
13660
13661
13662
13663
13664
13665
13666
13667
13668
13669
13670
13671
13672
13673
13674
13675
13676
13677
13678
13679
13680
13681
13682
13683
13684
13685
13686
13687
13688
13689
13690
13691
13692
13693
13694
13695
13696
13697
13698
13699
13700
13701
13702
13703
13704
13705
13706
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738
13739
13740
13741
13742
13743
13744
13745
13746
13747
13748
13749
13750
13751
13752
13753
13754
13755
13756
13757
13758
13759
13760
13761
13762
13763
13764
13765
13766
13767
13768
13769
13770
13771
13772
13773
13774
13775
13776
13777
13778
13779
13780
13781
13782
13783
13784
13785
13786
13787
13788
13789
13790
13791
13792
13793
13794
13795
13796
13797
13798
13799
13800
13801
13802
13803
13804
13805
13806
13807
13808
13809
13810
13811
13812
13813
13814
13815
13816
13817
13818
13819
13820
13821
13822
13823
13824
13825
13826
13827
13828
13829
13830
13831
13832
13833
13834
13835
13836
13837
13838
13839
13840
13841
13842
13843
13844
13845
13846
13847
13848
13849
13850
13851
13852
13853
13854
13855
13856
13857
13858
13859
13860
13861
13862
13863
13864
13865
13866
13867
13868
13869
13870
13871
13872
13873
13874
13875
13876
13877
13878
13879
13880
13881
13882
13883
13884
13885
13886
13887
13888
13889
13890
13891
13892
13893
13894
13895
13896
13897
13898
13899
13900
13901
13902
13903
13904
13905
13906
13907
13908
13909
13910
13911
13912
13913
13914
13915
13916
13917
13918
13919
13920
13921
13922
13923
13924
13925
13926
13927
13928
13929
13930
13931
13932
13933
13934
13935
13936
13937
13938
13939
13940
13941
13942
13943
13944
13945
13946
13947
13948
13949
13950
13951
13952
13953
13954
13955
13956
13957
13958
13959
13960
13961
13962
13963
13964
13965
13966
13967
13968
13969
13970
13971
13972
13973
13974
13975
13976
13977
13978
13979
13980
13981
13982
13983
13984
13985
13986
13987
13988
13989
13990
13991
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023
14024
14025
14026
14027
14028
14029
14030
14031
14032
14033
14034
14035
14036
14037
14038
14039
14040
14041
14042
14043
14044
14045
14046
14047
14048
14049
14050
14051
14052
14053
14054
14055
14056
14057
14058
14059
14060
14061
14062
14063
14064
14065
14066
14067
14068
14069
14070
14071
14072
14073
14074
14075
14076
14077
14078
14079
14080
14081
14082
14083
14084
14085
14086
14087
14088
14089
14090
14091
14092
14093
14094
14095
14096
14097
14098
14099
14100
14101
14102
14103
14104
14105
14106
14107
14108
14109
14110
14111
14112
14113
14114
14115
14116
14117
14118
14119
14120
14121
14122
14123
14124
14125
14126
14127
14128
14129
14130
14131
14132
14133
14134
14135
14136
14137
14138
14139
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162
14163
14164
14165
14166
14167
14168
14169
14170
14171
14172
14173
14174
14175
14176
14177
14178
14179
14180
14181
14182
14183
14184
14185
14186
14187
14188
14189
14190
14191
14192
14193
14194
14195
14196
14197
14198
14199
14200
14201
14202
14203
14204
14205
14206
14207
14208
14209
14210
14211
14212
14213
14214
14215
14216
14217
14218
14219
14220
14221
14222
14223
14224
14225
14226
14227
14228
14229
14230
14231
14232
14233
14234
14235
14236
14237
14238
14239
14240
14241
14242
14243
14244
14245
14246
14247
14248
14249
14250
14251
14252
14253
14254
14255
14256
14257
14258
14259
14260
14261
14262
14263
14264
14265
14266
14267
14268
14269
14270
14271
14272
14273
14274
14275
14276
14277
14278
14279
14280
14281
14282
14283
14284
14285
14286
14287
14288
14289
14290
14291
14292
14293
14294
14295
14296
14297
14298
14299
14300
14301
14302
14303
14304
14305
14306
14307
14308
14309
14310
14311
14312
14313
14314
14315
14316
14317
14318
14319
14320
14321
14322
14323
14324
14325
14326
14327
14328
14329
14330
14331
14332
14333
14334
14335
14336
14337
14338
14339
14340
14341
14342
14343
14344
14345
14346
14347
14348
14349
14350
14351
14352
14353
14354
14355
14356
14357
14358
14359
14360
14361
14362
14363
14364
14365
14366
14367
14368
14369
14370
14371
14372
14373
14374
14375
14376
14377
14378
14379
14380
14381
14382
14383
14384
14385
14386
14387
14388
14389
14390
14391
14392
14393
14394
14395
14396
14397
14398
14399
14400
14401
14402
14403
14404
14405
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470
14471
14472
14473
14474
14475
14476
14477
14478
14479
14480
14481
14482
14483
14484
14485
14486
14487
14488
14489
14490
14491
14492
14493
14494
14495
14496
14497
14498
14499
14500
14501
14502
14503
14504
14505
14506
14507
14508
14509
14510
14511
14512
14513
14514
14515
14516
14517
14518
14519
14520
14521
14522
14523
14524
14525
14526
14527
14528
14529
14530
14531
14532
14533
14534
14535
14536
14537
14538
14539
14540
14541
14542
14543
14544
14545
14546
14547
14548
14549
14550
14551
14552
14553
14554
14555
14556
14557
14558
14559
14560
14561
14562
14563
14564
14565
14566
14567
14568
14569
14570
14571
14572
14573
14574
14575
14576
14577
14578
14579
14580
14581
14582
14583
14584
14585
14586
14587
14588
14589
14590
14591
14592
14593
14594
14595
14596
14597
14598
14599
14600
14601
14602
14603
14604
14605
14606
14607
14608
14609
14610
14611
14612
14613
14614
14615
14616
14617
14618
14619
14620
14621
14622
14623
14624
14625
14626
14627
14628
14629
14630
14631
14632
14633
14634
14635
14636
14637
14638
14639
14640
14641
14642
14643
14644
14645
14646
14647
14648
14649
14650
14651
14652
14653
14654
14655
14656
14657
14658
14659
14660
14661
14662
14663
14664
14665
14666
14667
14668
14669
14670
14671
14672
14673
14674
14675
14676
14677
14678
14679
14680
14681
14682
14683
14684
14685
14686
14687
14688
14689
14690
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755
14756
14757
14758
14759
14760
14761
14762
14763
14764
14765
14766
14767
14768
14769
14770
14771
14772
14773
14774
14775
14776
14777
14778
14779
14780
14781
14782
14783
14784
14785
14786
14787
14788
14789
14790
14791
14792
14793
14794
14795
14796
14797
14798
14799
14800
14801
14802
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825
14826
14827
14828
14829
14830
14831
14832
14833
14834
14835
14836
14837
14838
14839
14840
14841
14842
14843
14844
14845
14846
14847
14848
14849
14850
14851
14852
14853
14854
14855
14856
14857
14858
14859
14860
14861
14862
14863
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900
14901
14902
14903
14904
14905
14906
14907
14908
14909
14910
14911
14912
14913
14914
14915
14916
14917
14918
14919
14920
14921
14922
14923
14924
14925
14926
14927
14928
14929
14930
14931
14932
14933
14934
14935
14936
14937
14938
14939
14940
14941
14942
14943
14944
14945
14946
14947
14948
14949
14950
14951
14952
14953
14954
14955
14956
14957
14958
14959
14960
14961
14962
14963
14964
14965
14966
14967
14968
14969
14970
14971
14972
14973
14974
14975
14976
14977
14978
14979
14980
14981
14982
14983
14984
14985
14986
14987
14988
14989
14990
14991
14992
14993
14994
14995
14996
14997
14998
14999
15000
15001
15002
15003
15004
15005
15006
15007
15008
15009
15010
15011
15012
15013
15014
15015
15016
15017
15018
15019
15020
15021
15022
15023
15024
15025
15026
15027
15028
15029
15030
15031
15032
15033
15034
15035
15036
15037
15038
15039
15040
15041
15042
15043
15044
15045
15046
15047
15048
15049
15050
15051
15052
15053
15054
15055
15056
15057
15058
15059
15060
15061
15062
15063
15064
15065
15066
15067
15068
15069
15070
15071
15072
15073
15074
15075
15076
15077
15078
15079
15080
15081
15082
15083
15084
15085
15086
15087
15088
15089
15090
15091
15092
15093
15094
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133
15134
15135
15136
15137
15138
15139
15140
15141
15142
15143
15144
15145
15146
15147
15148
15149
15150
15151
15152
15153
15154
15155
15156
15157
15158
15159
15160
15161
15162
15163
15164
15165
15166
15167
15168
15169
15170
15171
15172
15173
15174
15175
15176
15177
15178
15179
15180
15181
15182
15183
15184
15185
15186
15187
15188
15189
15190
15191
15192
15193
15194
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208
15209
15210
15211
15212
15213
15214
15215
15216
15217
15218
15219
15220
15221
15222
15223
15224
15225
15226
15227
15228
15229
15230
15231
15232
15233
15234
15235
15236
15237
15238
15239
15240
15241
15242
15243
15244
15245
15246
15247
15248
15249
15250
15251
15252
15253
15254
15255
15256
15257
15258
15259
15260
15261
15262
15263
15264
15265
15266
15267
15268
15269
15270
15271
15272
15273
15274
15275
15276
15277
15278
15279
15280
15281
15282
15283
15284
15285
15286
15287
15288
15289
15290
15291
15292
15293
15294
15295
15296
15297
15298
15299
15300
15301
15302
15303
15304
15305
15306
15307
15308
15309
15310
15311
15312
15313
15314
15315
15316
15317
15318
15319
15320
15321
15322
15323
15324
15325
15326
15327
15328
15329
15330
15331
15332
15333
15334
15335
15336
15337
15338
15339
15340
15341
15342
15343
15344
15345
15346
15347
15348
15349
15350
15351
15352
15353
15354
15355
15356
15357
15358
15359
15360
15361
15362
15363
15364
15365
15366
15367
15368
15369
15370
15371
15372
15373
15374
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413
15414
15415
15416
15417
15418
15419
15420
15421
15422
15423
15424
15425
15426
15427
15428
15429
15430
15431
15432
15433
15434
15435
15436
15437
15438
15439
15440
15441
15442
15443
15444
15445
15446
15447
15448
15449
15450
15451
15452
15453
15454
15455
15456
15457
15458
15459
15460
15461
15462
15463
15464
15465
15466
15467
15468
15469
15470
15471
15472
15473
15474
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488
15489
15490
15491
15492
15493
15494
15495
15496
15497
15498
15499
15500
15501
15502
15503
15504
15505
15506
15507
15508
15509
15510
15511
15512
15513
15514
15515
15516
15517
15518
15519
15520
15521
15522
15523
15524
15525
15526
15527
15528
15529
15530
15531
15532
15533
15534
15535
15536
15537
15538
15539
15540
15541
15542
15543
15544
15545
15546
15547
15548
15549
15550
15551
15552
15553
15554
15555
15556
15557
15558
15559
15560
15561
15562
15563
15564
15565
15566
15567
15568
15569
15570
15571
15572
15573
15574
15575
15576
15577
15578
15579
15580
15581
15582
15583
15584
15585
15586
15587
15588
15589
15590
15591
15592
15593
15594
15595
15596
15597
15598
15599
15600
15601
15602
15603
15604
15605
15606
15607
15608
15609
15610
15611
15612
15613
15614
15615
15616
15617
15618
15619
15620
15621
15622
15623
15624
15625
15626
15627
15628
15629
15630
15631
15632
15633
15634
15635
15636
15637
15638
15639
15640
15641
15642
15643
15644
15645
15646
15647
15648
15649
15650
15651
15652
15653
15654
15655
15656
15657
15658
15659
15660
15661
15662
15663
15664
15665
15666
15667
15668
15669
15670
15671
15672
15673
15674
15675
15676
15677
15678
15679
15680
15681
15682
15683
15684
15685
15686
15687
15688
15689
15690
15691
15692
15693
15694
15695
15696
15697
15698
15699
15700
15701
15702
15703
15704
15705
15706
15707
15708
15709
15710
15711
15712
15713
15714
15715
15716
15717
15718
15719
15720
15721
15722
15723
15724
15725
15726
15727
15728
15729
15730
15731
15732
15733
15734
15735
15736
15737
15738
15739
15740
15741
15742
15743
15744
15745
15746
15747
15748
15749
15750
15751
15752
15753
15754
15755
15756
15757
15758
15759
15760
15761
15762
15763
15764
15765
15766
15767
15768
15769
15770
15771
15772
15773
15774
15775
15776
15777
15778
15779
15780
15781
15782
15783
15784
15785
15786
15787
15788
15789
15790
15791
15792
15793
15794
15795
15796
15797
15798
15799
15800
15801
15802
15803
15804
15805
15806
15807
15808
15809
15810
15811
15812
15813
15814
15815
15816
15817
15818
15819
15820
15821
15822
15823
15824
15825
15826
15827
15828
15829
15830
15831
15832
15833
15834
15835
15836
15837
15838
15839
15840
15841
15842
15843
15844
15845
15846
15847
15848
15849
15850
15851
15852
15853
15854
15855
15856
15857
15858
15859
15860
15861
15862
15863
15864
15865
15866
15867
15868
15869
15870
15871
15872
15873
15874
15875
15876
15877
15878
15879
15880
15881
15882
15883
15884
15885
15886
15887
15888
15889
15890
15891
15892
15893
15894
15895
15896
15897
15898
15899
15900
15901
15902
15903
15904
15905
15906
15907
15908
15909
15910
15911
15912
15913
15914
15915
15916
15917
15918
15919
15920
15921
15922
15923
15924
15925
15926
15927
15928
15929
15930
15931
15932
15933
15934
15935
15936
15937
15938
15939
15940
15941
15942
15943
15944
15945
15946
15947
15948
15949
15950
15951
15952
15953
15954
15955
15956
15957
15958
15959
15960
15961
15962
15963
15964
15965
15966
15967
15968
15969
15970
15971
15972
15973
15974
15975
15976
15977
15978
15979
15980
15981
15982
15983
15984
15985
15986
15987
15988
15989
15990
15991
15992
15993
15994
15995
15996
15997
15998
15999
16000
16001
16002
16003
16004
16005
16006
16007
16008
16009
16010
16011
16012
16013
16014
16015
16016
16017
16018
16019
16020
16021
16022
16023
16024
16025
16026
16027
16028
16029
16030
16031
16032
16033
16034
16035
16036
16037
16038
16039
16040
16041
16042
16043
16044
16045
16046
16047
16048
16049
16050
16051
16052
16053
16054
16055
16056
16057
16058
16059
16060
16061
16062
16063
16064
16065
16066
16067
16068
16069
16070
16071
16072
16073
16074
16075
16076
16077
16078
16079
16080
16081
16082
16083
16084
16085
16086
16087
16088
16089
16090
16091
16092
16093
16094
16095
16096
16097
16098
16099
16100
16101
16102
16103
16104
16105
16106
16107
16108
16109
16110
16111
16112
16113
16114
16115
16116
16117
16118
16119
16120
16121
16122
16123
16124
16125
16126
16127
16128
16129
16130
16131
16132
16133
16134
16135
16136
16137
16138
16139
16140
16141
16142
16143
16144
16145
16146
16147
16148
16149
16150
16151
16152
16153
16154
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171
16172
16173
16174
16175
16176
16177
16178
16179
16180
16181
16182
16183
16184
16185
16186
16187
16188
16189
16190
16191
16192
16193
16194
16195
16196
16197
16198
16199
16200
16201
16202
16203
16204
16205
16206
16207
16208
16209
16210
16211
16212
16213
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244
16245
16246
16247
16248
16249
16250
16251
16252
16253
16254
16255
16256
16257
16258
16259
16260
16261
16262
16263
16264
16265
16266
16267
16268
16269
16270
16271
16272
16273
16274
16275
16276
16277
16278
16279
16280
16281
16282
16283
16284
16285
16286
16287
16288
16289
16290
16291
16292
16293
16294
16295
16296
16297
16298
16299
16300
16301
16302
16303
16304
16305
16306
16307
16308
16309
16310
16311
16312
16313
16314
16315
16316
16317
16318
16319
16320
16321
16322
16323
16324
16325
16326
16327
16328
16329
16330
16331
16332
16333
16334
16335
16336
16337
16338
16339
16340
16341
16342
16343
16344
16345
16346
16347
16348
16349
16350
16351
16352
16353
16354
16355
16356
16357
16358
16359
16360
16361
16362
16363
16364
16365
16366
16367
16368
16369
16370
16371
16372
16373
16374
16375
16376
16377
16378
16379
16380
16381
16382
16383
16384
16385
16386
16387
16388
16389
16390
16391
16392
16393
16394
16395
16396
16397
16398
16399
16400
16401
16402
16403
16404
16405
16406
16407
16408
16409
16410
16411
16412
16413
16414
16415
16416
16417
16418
16419
16420
16421
16422
16423
16424
16425
16426
16427
16428
16429
16430
16431
16432
16433
16434
16435
16436
16437
16438
16439
16440
16441
16442
16443
16444
16445
16446
16447
16448
16449
16450
16451
16452
16453
16454
16455
16456
16457
16458
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468
16469
16470
16471
16472
16473
16474
16475
16476
16477
16478
16479
16480
16481
16482
16483
16484
16485
16486
16487
16488
16489
16490
16491
16492
16493
16494
16495
16496
16497
16498
16499
16500
16501
16502
16503
16504
16505
16506
16507
16508
16509
16510
16511
16512
16513
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531
16532
16533
16534
16535
16536
16537
16538
16539
16540
16541
16542
16543
16544
16545
16546
16547
16548
16549
16550
16551
16552
16553
16554
16555
16556
16557
16558
16559
16560
16561
16562
16563
16564
16565
16566
16567
16568
16569
16570
16571
16572
16573
16574
16575
16576
16577
16578
16579
16580
16581
16582
16583
16584
16585
16586
16587
16588
16589
16590
16591
16592
16593
16594
16595
16596
16597
16598
16599
16600
16601
16602
16603
16604
16605
16606
16607
16608
16609
16610
16611
16612
16613
16614
16615
16616
16617
16618
16619
16620
16621
16622
16623
16624
16625
16626
16627
16628
16629
16630
16631
16632
16633
16634
16635
16636
16637
16638
16639
16640
16641
16642
16643
16644
16645
16646
16647
16648
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658
16659
16660
16661
16662
16663
16664
16665
16666
16667
16668
16669
16670
16671
16672
16673
16674
16675
16676
16677
16678
16679
16680
16681
16682
16683
16684
16685
16686
16687
16688
16689
16690
16691
16692
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702
16703
16704
16705
16706
16707
16708
16709
16710
16711
16712
16713
16714
16715
16716
16717
16718
16719
16720
16721
16722
16723
16724
16725
16726
16727
16728
16729
16730
16731
16732
16733
16734
16735
16736
16737
16738
16739
16740
16741
16742
16743
16744
16745
16746
16747
16748
16749
16750
16751
16752
16753
16754
16755
16756
16757
16758
16759
16760
16761
16762
16763
16764
16765
16766
16767
16768
16769
16770
16771
16772
16773
16774
16775
16776
16777
16778
16779
16780
16781
16782
16783
16784
16785
16786
16787
16788
16789
16790
16791
16792
16793
16794
16795
16796
16797
16798
16799
16800
16801
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818
16819
16820
16821
16822
16823
16824
16825
16826
16827
16828
16829
16830
16831
16832
16833
16834
16835
16836
16837
16838
16839
16840
16841
16842
16843
16844
16845
16846
16847
16848
16849
16850
16851
16852
16853
16854
16855
16856
16857
16858
16859
16860
16861
16862
16863
16864
16865
16866
16867
16868
16869
16870
16871
16872
16873
16874
16875
16876
16877
16878
16879
16880
16881
16882
16883
16884
16885
16886
16887
16888
16889
16890
16891
16892
16893
16894
16895
16896
16897
16898
16899
16900
16901
16902
16903
16904
16905
16906
16907
16908
16909
16910
16911
16912
16913
16914
16915
16916
16917
16918
16919
16920
16921
16922
16923
16924
16925
16926
16927
16928
16929
16930
16931
16932
16933
16934
16935
16936
16937
16938
16939
16940
16941
16942
16943
16944
16945
16946
16947
16948
16949
16950
16951
16952
16953
16954
16955
16956
16957
16958
16959
16960
16961
16962
16963
16964
16965
16966
16967
16968
16969
16970
16971
16972
16973
16974
16975
16976
16977
16978
16979
16980
16981
16982
16983
16984
16985
16986
16987
16988
16989
16990
16991
16992
16993
16994
16995
16996
16997
16998
16999
17000
17001
17002
17003
17004
17005
17006
17007
17008
17009
17010
17011
17012
17013
17014
17015
17016
17017
17018
17019
17020
17021
17022
17023
17024
17025
17026
17027
17028
17029
17030
17031
17032
17033
17034
17035
17036
17037
17038
17039
17040
17041
17042
17043
17044
17045
17046
17047
17048
17049
17050
17051
17052
17053
17054
17055
17056
17057
17058
17059
17060
17061
17062
17063
17064
17065
17066
17067
17068
17069
17070
17071
17072
17073
17074
17075
17076
17077
17078
17079
17080
17081
17082
17083
17084
17085
17086
17087
17088
17089
17090
17091
17092
17093
17094
17095
17096
17097
17098
17099
17100
17101
17102
17103
17104
17105
17106
17107
17108
17109
17110
17111
17112
17113
17114
17115
17116
17117
17118
17119
17120
17121
17122
17123
17124
17125
17126
17127
17128
17129
17130
17131
17132
17133
17134
17135
17136
17137
17138
17139
17140
17141
17142
17143
17144
17145
17146
17147
17148
17149
17150
17151
17152
17153
17154
17155
17156
17157
17158
17159
17160
17161
17162
17163
17164
17165
17166
17167
17168
17169
17170
17171
17172
17173
17174
17175
17176
17177
17178
17179
17180
17181
17182
17183
17184
17185
17186
17187
17188
17189
17190
17191
17192
17193
17194
17195
17196
17197
17198
17199
17200
17201
17202
17203
17204
17205
17206
17207
17208
17209
17210
17211
17212
17213
17214
17215
17216
17217
17218
17219
17220
17221
17222
17223
17224
17225
17226
17227
17228
17229
17230
17231
17232
17233
17234
17235
17236
17237
17238
17239
17240
17241
17242
17243
17244
17245
17246
17247
17248
17249
17250
17251
17252
17253
17254
17255
17256
17257
17258
17259
17260
17261
17262
17263
17264
17265
17266
17267
17268
17269
17270
17271
17272
17273
17274
17275
17276
17277
17278
17279
17280
17281
17282
17283
17284
17285
17286
17287
17288
17289
17290
17291
17292
17293
17294
17295
17296
17297
17298
17299
17300
17301
17302
17303
17304
17305
17306
17307
17308
17309
17310
17311
17312
17313
17314
17315
17316
17317
17318
17319
17320
17321
17322
17323
17324
17325
17326
17327
17328
17329
17330
17331
17332
17333
17334
17335
17336
17337
17338
17339
17340
17341
17342
17343
17344
17345
17346
17347
17348
17349
17350
17351
17352
17353
17354
17355
17356
17357
17358
17359
17360
17361
17362
17363
17364
17365
17366
17367
17368
17369
17370
17371
17372
17373
17374
17375
17376
17377
17378
17379
17380
17381
17382
17383
17384
17385
17386
17387
17388
17389
17390
17391
17392
17393
17394
17395
17396
17397
17398
17399
17400
17401
17402
17403
17404
17405
17406
17407
17408
17409
17410
17411
17412
17413
17414
17415
17416
17417
17418
17419
17420
17421
17422
17423
17424
17425
17426
17427
17428
17429
17430
17431
17432
17433
17434
17435
17436
17437
17438
17439
17440
17441
17442
17443
17444
17445
17446
17447
17448
17449
17450
17451
17452
17453
17454
17455
17456
17457
17458
17459
17460
17461
17462
17463
17464
17465
17466
17467
17468
17469
17470
17471
17472
17473
17474
17475
17476
17477
17478
17479
17480
17481
17482
17483
17484
17485
17486
17487
17488
17489
17490
17491
17492
17493
17494
17495
17496
17497
17498
17499
17500
17501
17502
17503
17504
17505
17506
17507
17508
17509
17510
17511
17512
17513
17514
17515
17516
17517
17518
17519
17520
17521
17522
17523
17524
17525
17526
17527
17528
17529
17530
17531
17532
17533
17534
17535
17536
17537
17538
17539
17540
17541
17542
17543
17544
17545
17546
17547
17548
17549
17550
17551
17552
17553
17554
17555
17556
17557
17558
17559
17560
17561
17562
17563
17564
17565
17566
17567
17568
17569
17570
17571
17572
17573
17574
17575
17576
17577
17578
17579
17580
17581
17582
17583
17584
17585
17586
17587
17588
17589
17590
17591
17592
17593
17594
17595
17596
17597
17598
17599
17600
17601
17602
17603
17604
17605
17606
17607
17608
17609
17610
17611
17612
17613
17614
17615
17616
17617
17618
17619
17620
17621
17622
17623
17624
17625
17626
17627
17628
17629
17630
17631
17632
17633
17634
17635
17636
17637
17638
17639
17640
17641
17642
17643
17644
17645
17646
17647
17648
17649
17650
17651
17652
17653
17654
17655
17656
17657
17658
17659
17660
17661
17662
17663
17664
17665
17666
17667
17668
17669
17670
17671
17672
17673
17674
17675
17676
17677
17678
17679
17680
17681
17682
17683
17684
17685
17686
17687
17688
17689
17690
17691
17692
17693
17694
17695
17696
17697
17698
17699
17700
17701
17702
17703
17704
17705
17706
17707
17708
17709
17710
17711
17712
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722
17723
17724
17725
17726
17727
17728
17729
17730
17731
17732
17733
17734
17735
17736
17737
17738
17739
17740
17741
17742
17743
17744
17745
17746
17747
17748
17749
17750
17751
17752
17753
17754
17755
17756
17757
17758
17759
17760
17761
17762
17763
17764
17765
17766
17767
17768
17769
17770
17771
17772
17773
17774
17775
17776
17777
17778
17779
17780
17781
17782
17783
17784
17785
17786
17787
17788
17789
17790
17791
17792
17793
17794
17795
17796
17797
17798
17799
17800
17801
17802
17803
17804
17805
17806
17807
17808
17809
17810
17811
17812
17813
17814
17815
17816
17817
17818
17819
17820
17821
17822
17823
17824
17825
17826
17827
17828
17829
17830
17831
17832
17833
17834
17835
17836
17837
17838
17839
17840
17841
17842
17843
17844
17845
17846
17847
17848
17849
17850
17851
17852
17853
17854
17855
17856
17857
17858
17859
17860
17861
17862
17863
17864
17865
17866
17867
17868
17869
17870
17871
17872
17873
17874
17875
17876
17877
17878
17879
17880
17881
17882
17883
17884
17885
17886
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896
17897
17898
17899
17900
17901
17902
17903
17904
17905
17906
17907
17908
17909
17910
17911
17912
17913
17914
17915
17916
17917
17918
17919
17920
17921
17922
17923
17924
17925
17926
17927
17928
17929
17930
17931
17932
17933
17934
17935
17936
17937
17938
17939
17940
17941
17942
17943
17944
17945
17946
17947
17948
17949
17950
17951
17952
17953
17954
17955
17956
17957
17958
17959
17960
17961
17962
17963
17964
17965
17966
17967
17968
17969
17970
17971
17972
17973
17974
17975
17976
17977
17978
17979
17980
17981
17982
17983
17984
17985
17986
17987
17988
17989
17990
17991
17992
17993
17994
17995
17996
17997
17998
17999
18000
18001
18002
18003
18004
18005
18006
18007
18008
18009
18010
18011
18012
18013
18014
18015
18016
18017
18018
18019
18020
18021
18022
18023
18024
18025
18026
18027
18028
18029
18030
18031
18032
18033
18034
18035
18036
18037
18038
18039
18040
18041
18042
18043
18044
18045
18046
18047
18048
18049
18050
18051
18052
18053
18054
18055
18056
18057
18058
18059
18060
18061
18062
18063
18064
18065
18066
18067
18068
18069
18070
18071
18072
18073
18074
18075
18076
18077
18078
18079
18080
18081
18082
18083
18084
18085
18086
18087
18088
18089
18090
18091
18092
18093
18094
18095
18096
18097
18098
18099
18100
18101
18102
18103
18104
18105
18106
18107
18108
18109
18110
18111
18112
18113
18114
18115
18116
18117
18118
18119
18120
18121
18122
18123
18124
18125
18126
18127
18128
18129
18130
18131
18132
18133
18134
18135
18136
18137
18138
18139
18140
18141
18142
18143
18144
18145
18146
18147
18148
18149
18150
18151
18152
18153
18154
18155
18156
18157
18158
18159
18160
18161
18162
18163
18164
18165
18166
18167
18168
18169
18170
18171
18172
18173
18174
18175
18176
18177
18178
18179
18180
18181
18182
18183
18184
18185
18186
18187
18188
18189
18190
18191
18192
18193
18194
18195
18196
18197
18198
18199
18200
18201
18202
18203
18204
18205
18206
18207
18208
18209
18210
18211
18212
18213
18214
18215
18216
18217
18218
18219
18220
18221
18222
18223
18224
18225
18226
18227
18228
18229
18230
18231
18232
18233
18234
18235
18236
18237
18238
18239
18240
18241
18242
18243
18244
18245
18246
18247
18248
18249
18250
18251
18252
18253
18254
18255
18256
18257
18258
18259
18260
18261
18262
18263
18264
18265
18266
18267
18268
18269
18270
18271
18272
18273
18274
18275
18276
18277
18278
18279
18280
18281
18282
18283
18284
18285
18286
18287
18288
18289
18290
18291
18292
18293
18294
18295
18296
18297
18298
18299
18300
18301
18302
18303
18304
18305
18306
18307
18308
18309
18310
18311
18312
18313
18314
18315
18316
18317
18318
18319
18320
18321
18322
18323
18324
18325
18326
18327
18328
18329
18330
18331
18332
18333
18334
18335
18336
18337
18338
18339
18340
18341
18342
18343
18344
18345
18346
18347
18348
18349
18350
18351
18352
18353
18354
18355
18356
18357
18358
18359
18360
18361
18362
18363
18364
18365
18366
18367
18368
18369
18370
18371
18372
18373
18374
18375
18376
18377
18378
18379
18380
18381
18382
18383
18384
18385
18386
18387
18388
18389
18390
18391
18392
18393
18394
18395
18396
18397
18398
18399
18400
18401
18402
18403
18404
18405
18406
18407
18408
18409
18410
18411
18412
18413
18414
18415
18416
18417
18418
18419
18420
18421
18422
18423
18424
18425
18426
18427
18428
18429
18430
18431
18432
18433
18434
18435
18436
18437
18438
18439
18440
18441
18442
18443
18444
18445
18446
18447
18448
18449
18450
18451
18452
18453
18454
18455
18456
18457
18458
18459
18460
18461
18462
18463
18464
18465
18466
18467
18468
18469
18470
18471
18472
18473
18474
18475
18476
18477
18478
18479
18480
18481
18482
18483
18484
18485
18486
18487
18488
18489
18490
18491
18492
18493
18494
18495
18496
18497
18498
18499
18500
18501
18502
18503
18504
18505
18506
18507
18508
18509
18510
18511
18512
18513
18514
18515
18516
18517
18518
18519
18520
18521
18522
18523
18524
18525
18526
18527
18528
18529
18530
18531
18532
18533
18534
18535
18536
18537
18538
18539
18540
18541
18542
18543
18544
18545
18546
18547
18548
18549
18550
18551
18552
18553
18554
18555
18556
18557
18558
18559
18560
18561
18562
18563
18564
18565
18566
18567
18568
18569
18570
18571
18572
18573
18574
18575
18576
18577
18578
18579
18580
18581
18582
18583
18584
18585
18586
18587
18588
18589
18590
18591
18592
18593
18594
18595
18596
18597
18598
18599
18600
18601
18602
18603
18604
18605
18606
18607
18608
18609
18610
18611
18612
18613
18614
18615
18616
18617
18618
18619
18620
18621
18622
18623
18624
18625
18626
18627
18628
18629
18630
18631
18632
18633
18634
18635
18636
18637
18638
18639
18640
18641
18642
18643
18644
18645
18646
18647
18648
18649
18650
18651
18652
18653
18654
18655
18656
18657
18658
18659
18660
18661
18662
18663
18664
18665
18666
18667
18668
18669
18670
18671
18672
18673
18674
18675
18676
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686
18687
18688
18689
18690
18691
18692
18693
18694
18695
18696
18697
18698
18699
18700
18701
18702
18703
18704
18705
18706
18707
18708
18709
18710
18711
18712
18713
18714
18715
18716
18717
18718
18719
18720
18721
18722
18723
18724
18725
18726
18727
18728
18729
18730
18731
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741
18742
18743
18744
18745
18746
18747
18748
18749
18750
18751
18752
18753
18754
18755
18756
18757
18758
18759
18760
18761
18762
18763
18764
18765
18766
18767
18768
18769
18770
18771
18772
18773
18774
18775
18776
18777
18778
18779
18780
18781
18782
18783
18784
18785
18786
18787
18788
18789
18790
18791
18792
18793
18794
18795
18796
18797
18798
18799
18800
18801
18802
18803
18804
18805
18806
18807
18808
18809
18810
18811
18812
18813
18814
18815
18816
18817
18818
18819
18820
18821
18822
18823
18824
18825
18826
18827
18828
18829
18830
18831
18832
18833
18834
18835
18836
18837
18838
18839
18840
18841
18842
18843
18844
18845
18846
18847
18848
18849
18850
18851
18852
18853
18854
18855
18856
18857
18858
18859
18860
18861
18862
18863
18864
18865
18866
18867
18868
18869
18870
18871
18872
18873
18874
18875
18876
18877
18878
18879
18880
18881
18882
18883
18884
18885
18886
18887
18888
18889
18890
18891
18892
18893
18894
18895
18896
18897
18898
18899
18900
18901
18902
18903
18904
18905
18906
18907
18908
18909
18910
18911
18912
18913
18914
18915
18916
18917
18918
18919
18920
18921
18922
18923
18924
18925
18926
18927
18928
18929
18930
18931
18932
18933
18934
18935
18936
18937
18938
18939
18940
18941
18942
18943
18944
18945
18946
18947
18948
18949
18950
18951
18952
18953
18954
18955
18956
18957
18958
18959
18960
18961
18962
18963
18964
18965
18966
18967
18968
18969
18970
18971
18972
18973
18974
18975
18976
18977
18978
18979
18980
18981
18982
18983
18984
18985
18986
18987
18988
18989
18990
18991
18992
18993
18994
18995
18996
18997
18998
18999
19000
19001
19002
19003
19004
19005
19006
19007
19008
19009
19010
19011
19012
19013
19014
19015
19016
19017
19018
19019
19020
19021
19022
19023
19024
19025
19026
19027
19028
19029
19030
19031
19032
19033
19034
19035
19036
19037
19038
19039
19040
19041
19042
19043
19044
19045
19046
19047
19048
19049
19050
19051
19052
19053
19054
19055
19056
19057
19058
19059
19060
19061
19062
19063
19064
19065
19066
19067
19068
19069
19070
19071
19072
19073
19074
19075
19076
19077
19078
19079
19080
19081
19082
19083
19084
19085
19086
19087
19088
19089
19090
19091
19092
19093
19094
19095
19096
19097
19098
19099
19100
19101
19102
19103
19104
19105
19106
19107
19108
19109
19110
19111
19112
19113
19114
19115
19116
19117
19118
19119
19120
19121
19122
19123
19124
19125
19126
19127
19128
19129
19130
19131
19132
19133
19134
19135
19136
19137
19138
19139
19140
19141
19142
19143
19144
19145
19146
19147
19148
19149
19150
19151
19152
19153
19154
19155
19156
19157
19158
19159
19160
19161
19162
19163
19164
19165
19166
19167
19168
19169
19170
19171
19172
19173
19174
19175
19176
19177
19178
19179
19180
19181
19182
19183
19184
19185
19186
19187
19188
19189
19190
19191
19192
19193
19194
19195
19196
19197
19198
19199
19200
19201
19202
19203
19204
19205
19206
19207
19208
19209
19210
19211
19212
19213
19214
19215
19216
19217
19218
19219
19220
19221
19222
19223
19224
19225
19226
19227
19228
19229
19230
19231
19232
19233
19234
19235
19236
19237
19238
19239
19240
19241
19242
19243
19244
19245
19246
19247
19248
19249
19250
19251
19252
19253
19254
19255
19256
19257
19258
19259
19260
19261
19262
19263
19264
19265
19266
19267
19268
19269
19270
19271
19272
19273
19274
19275
19276
19277
19278
19279
19280
19281
19282
19283
19284
19285
19286
19287
19288
19289
19290
19291
19292
19293
19294
19295
19296
19297
19298
19299
19300
19301
19302
19303
19304
19305
19306
19307
19308
19309
19310
19311
19312
19313
19314
19315
19316
19317
19318
19319
19320
19321
19322
19323
19324
19325
19326
19327
19328
19329
19330
19331
19332
19333
19334
19335
19336
19337
19338
19339
19340
19341
19342
19343
19344
19345
19346
19347
19348
19349
19350
19351
19352
19353
19354
19355
19356
19357
19358
19359
19360
19361
19362
19363
19364
19365
19366
19367
19368
19369
19370
19371
19372
19373
19374
19375
19376
19377
19378
19379
19380
19381
19382
19383
19384
19385
19386
19387
19388
19389
19390
19391
19392
19393
19394
19395
19396
19397
19398
19399
19400
19401
19402
19403
19404
19405
19406
19407
19408
19409
19410
19411
19412
19413
19414
19415
19416
19417
19418
19419
19420
19421
19422
19423
19424
19425
19426
19427
19428
19429
19430
19431
19432
19433
19434
19435
19436
19437
19438
19439
19440
19441
19442
19443
19444
19445
19446
19447
19448
19449
19450
19451
19452
19453
19454
19455
19456
19457
19458
19459
19460
19461
19462
19463
19464
19465
19466
19467
19468
19469
19470
19471
19472
19473
19474
19475
19476
19477
19478
19479
19480
19481
19482
19483
19484
19485
19486
19487
19488
19489
19490
19491
19492
19493
19494
19495
19496
19497
19498
19499
19500
19501
19502
19503
19504
19505
19506
19507
19508
19509
19510
19511
19512
19513
19514
19515
19516
19517
19518
19519
19520
19521
19522
19523
19524
19525
19526
19527
19528
19529
19530
19531
19532
19533
19534
19535
19536
19537
19538
19539
19540
19541
19542
19543
19544
19545
19546
19547
19548
19549
19550
19551
19552
19553
19554
19555
19556
19557
19558
19559
19560
19561
19562
19563
19564
19565
19566
19567
19568
19569
19570
19571
19572
19573
19574
19575
19576
19577
19578
19579
19580
19581
19582
19583
19584
19585
19586
19587
19588
19589
19590
19591
19592
19593
19594
19595
19596
19597
19598
19599
19600
19601
19602
19603
19604
19605
19606
19607
19608
19609
19610
19611
19612
19613
19614
19615
19616
19617
19618
19619
19620
19621
19622
19623
19624
19625
19626
19627
19628
19629
19630
19631
19632
19633
19634
19635
19636
19637
19638
19639
19640
19641
19642
19643
19644
19645
19646
19647
19648
19649
19650
19651
19652
19653
19654
19655
19656
19657
19658
19659
19660
19661
19662
19663
19664
19665
19666
19667
19668
19669
19670
19671
19672
19673
19674
19675
19676
19677
19678
19679
19680
19681
19682
19683
19684
19685
19686
19687
19688
19689
19690
19691
19692
19693
19694
19695
19696
19697
19698
19699
19700
19701
19702
19703
19704
19705
19706
19707
19708
19709
19710
19711
19712
19713
19714
19715
19716
19717
19718
19719
19720
19721
19722
19723
19724
19725
19726
19727
19728
19729
19730
19731
19732
19733
19734
19735
19736
19737
19738
19739
19740
19741
19742
19743
19744
19745
19746
19747
19748
19749
19750
19751
19752
19753
19754
19755
19756
19757
19758
19759
19760
19761
19762
19763
19764
19765
19766
19767
19768
19769
19770
19771
19772
19773
19774
19775
19776
19777
19778
19779
19780
19781
19782
19783
19784
19785
19786
19787
19788
19789
19790
19791
19792
19793
19794
19795
19796
19797
19798
19799
19800
19801
19802
19803
19804
19805
19806
19807
19808
19809
19810
19811
19812
19813
19814
19815
19816
19817
19818
19819
19820
19821
19822
19823
19824
19825
19826
19827
19828
19829
19830
19831
19832
19833
19834
19835
19836
19837
19838
19839
19840
19841
19842
19843
19844
19845
19846
19847
19848
19849
19850
19851
19852
19853
19854
19855
19856
19857
19858
19859
19860
19861
19862
19863
19864
19865
19866
19867
19868
19869
19870
19871
19872
19873
19874
19875
19876
19877
19878
19879
19880
19881
19882
19883
19884
19885
19886
19887
19888
19889
19890
19891
19892
19893
19894
19895
19896
19897
19898
19899
19900
19901
19902
19903
19904
19905
19906
19907
19908
19909
19910
19911
19912
19913
19914
19915
19916
19917
19918
19919
19920
19921
19922
19923
19924
19925
19926
19927
19928
19929
19930
19931
19932
19933
19934
19935
19936
19937
19938
19939
19940
19941
19942
19943
19944
19945
19946
19947
19948
19949
19950
19951
19952
19953
19954
19955
19956
19957
19958
19959
19960
19961
19962
19963
19964
19965
19966
19967
19968
19969
19970
19971
19972
19973
19974
19975
19976
19977
19978
19979
19980
19981
19982
19983
19984
19985
19986
19987
19988
19989
19990
19991
19992
19993
19994
19995
19996
19997
19998
19999
20000
20001
20002
20003
20004
20005
20006
20007
20008
20009
20010
20011
20012
20013
20014
20015
20016
20017
20018
20019
20020
20021
20022
20023
20024
20025
20026
20027
20028
20029
20030
20031
20032
20033
20034
20035
20036
20037
20038
20039
20040
20041
20042
20043
20044
20045
20046
20047
20048
20049
20050
20051
20052
20053
20054
20055
20056
20057
20058
20059
20060
20061
20062
20063
20064
20065
20066
20067
20068
20069
20070
20071
20072
20073
20074
20075
20076
20077
20078
20079
20080
20081
20082
20083
20084
20085
20086
20087
20088
20089
20090
20091
20092
20093
20094
20095
20096
20097
20098
20099
20100
20101
20102
20103
20104
20105
20106
20107
20108
20109
20110
20111
20112
20113
20114
20115
20116
20117
20118
20119
20120
20121
20122
20123
20124
20125
20126
20127
20128
20129
20130
20131
20132
20133
20134
20135
20136
20137
20138
20139
20140
20141
20142
20143
20144
20145
20146
20147
20148
20149
20150
20151
20152
20153
20154
20155
20156
20157
20158
20159
20160
20161
20162
20163
20164
20165
20166
20167
20168
20169
20170
20171
20172
20173
20174
20175
20176
20177
20178
20179
20180
20181
20182
20183
20184
20185
20186
20187
20188
20189
20190
20191
20192
20193
20194
20195
20196
20197
20198
20199
20200
20201
20202
20203
20204
20205
20206
20207
20208
20209
20210
20211
20212
20213
20214
20215
20216
20217
20218
20219
20220
20221
20222
20223
20224
20225
20226
20227
20228
20229
20230
20231
20232
20233
20234
20235
20236
20237
20238
20239
20240
20241
20242
20243
20244
20245
20246
20247
20248
20249
20250
20251
20252
20253
20254
20255
20256
20257
20258
20259
20260
20261
20262
20263
20264
20265
20266
20267
20268
20269
20270
20271
20272
20273
20274
20275
20276
20277
20278
20279
20280
20281
20282
20283
20284
20285
20286
20287
20288
20289
20290
20291
20292
20293
20294
20295
20296
20297
20298
20299
20300
20301
20302
20303
20304
20305
20306
20307
20308
20309
20310
20311
20312
20313
20314
20315
20316
20317
20318
20319
20320
20321
20322
20323
20324
20325
20326
20327
20328
20329
20330
20331
20332
20333
20334
20335
20336
20337
20338
20339
20340
20341
20342
20343
20344
20345
20346
20347
20348
20349
20350
20351
20352
20353
20354
20355
20356
20357
20358
20359
20360
20361
20362
20363
20364
20365
20366
20367
20368
20369
20370
20371
20372
20373
20374
20375
20376
20377
20378
20379
20380
20381
20382
20383
20384
20385
20386
20387
20388
20389
20390
20391
20392
20393
20394
20395
20396
20397
20398
20399
20400
20401
20402
20403
20404
20405
20406
20407
20408
20409
20410
20411
20412
20413
20414
20415
20416
20417
20418
20419
20420
20421
20422
20423
20424
20425
20426
20427
20428
20429
20430
20431
20432
20433
20434
20435
20436
20437
20438
20439
20440
20441
20442
20443
20444
20445
20446
20447
20448
20449
20450
20451
20452
20453
20454
20455
20456
20457
20458
20459
20460
20461
20462
20463
20464
20465
20466
20467
20468
20469
20470
20471
20472
20473
20474
20475
20476
20477
20478
20479
20480
20481
20482
20483
20484
20485
20486
20487
20488
20489
20490
20491
20492
20493
20494
20495
20496
20497
20498
20499
20500
20501
20502
20503
20504
20505
20506
20507
20508
20509
20510
20511
20512
20513
20514
20515
20516
20517
20518
20519
20520
20521
20522
20523
20524
20525
20526
20527
20528
20529
20530
20531
20532
20533
20534
20535
20536
20537
20538
20539
20540
20541
20542
20543
20544
20545
20546
20547
20548
20549
20550
20551
20552
20553
20554
20555
20556
20557
20558
20559
20560
20561
20562
20563
20564
20565
20566
20567
20568
20569
20570
20571
20572
20573
20574
20575
20576
20577
20578
20579
20580
20581
20582
20583
20584
20585
20586
20587
20588
20589
20590
20591
20592
20593
20594
20595
20596
20597
20598
20599
20600
20601
20602
20603
20604
20605
20606
20607
20608
20609
20610
20611
20612
20613
20614
20615
20616
20617
20618
20619
20620
20621
20622
20623
20624
20625
20626
20627
20628
20629
20630
20631
20632
20633
20634
20635
20636
20637
20638
20639
20640
20641
20642
20643
20644
20645
20646
20647
20648
20649
20650
20651
20652
20653
20654
20655
20656
20657
20658
20659
20660
20661
20662
20663
20664
20665
20666
20667
20668
20669
20670
20671
20672
20673
20674
20675
20676
20677
20678
20679
20680
20681
20682
20683
20684
20685
20686
20687
20688
20689
20690
20691
20692
20693
20694
20695
20696
20697
20698
20699
20700
20701
20702
20703
20704
20705
20706
20707
20708
20709
20710
20711
20712
20713
20714
20715
20716
20717
20718
20719
20720
20721
20722
20723
20724
20725
20726
20727
20728
20729
20730
20731
20732
20733
20734
20735
20736
20737
20738
20739
20740
20741
20742
20743
20744
20745
20746
20747
20748
20749
20750
20751
20752
20753
20754
20755
20756
20757
20758
20759
20760
20761
20762
20763
20764
20765
20766
20767
20768
20769
20770
20771
20772
20773
20774
20775
20776
20777
20778
20779
20780
20781
20782
20783
20784
20785
20786
20787
20788
20789
20790
20791
20792
20793
20794
20795
20796
20797
20798
20799
20800
20801
20802
20803
20804
20805
20806
20807
20808
20809
20810
20811
20812
20813
20814
20815
20816
20817
20818
20819
20820
20821
20822
20823
20824
20825
20826
20827
20828
20829
20830
20831
20832
20833
20834
20835
20836
20837
20838
20839
20840
20841
20842
20843
20844
20845
20846
20847
20848
20849
20850
20851
20852
20853
20854
20855
20856
20857
20858
20859
20860
20861
20862
20863
20864
20865
20866
20867
20868
20869
20870
20871
20872
20873
20874
20875
20876
20877
20878
20879
20880
20881
20882
20883
20884
20885
20886
20887
20888
20889
20890
20891
20892
20893
20894
20895
20896
20897
20898
20899
20900
20901
20902
20903
20904
20905
20906
20907
20908
20909
20910
20911
20912
20913
20914
20915
20916
20917
20918
20919
20920
20921
20922
20923
20924
20925
20926
20927
20928
20929
20930
20931
20932
20933
20934
20935
20936
20937
20938
20939
20940
20941
20942
20943
20944
20945
20946
20947
20948
20949
20950
20951
20952
20953
20954
20955
20956
20957
20958
20959
20960
20961
20962
20963
20964
20965
20966
20967
20968
20969
20970
20971
20972
20973
20974
20975
20976
20977
20978
20979
20980
20981
20982
20983
20984
20985
20986
20987
20988
20989
20990
20991
20992
20993
20994
20995
20996
20997
20998
20999
21000
21001
21002
21003
21004
21005
21006
21007
21008
21009
21010
21011
21012
21013
21014
21015
21016
21017
21018
21019
21020
21021
21022
21023
21024
21025
21026
21027
21028
21029
21030
21031
21032
21033
21034
21035
21036
21037
21038
21039
21040
21041
21042
21043
21044
21045
21046
21047
21048
21049
21050
21051
21052
21053
21054
21055
21056
21057
21058
21059
21060
21061
21062
21063
21064
21065
21066
21067
21068
21069
21070
21071
21072
21073
21074
21075
21076
21077
21078
21079
21080
21081
21082
21083
21084
21085
21086
21087
21088
21089
21090
21091
21092
21093
21094
21095
21096
21097
21098
21099
21100
21101
21102
21103
21104
21105
21106
21107
21108
21109
21110
21111
21112
21113
21114
21115
21116
21117
21118
21119
21120
21121
21122
21123
21124
21125
21126
21127
21128
21129
21130
21131
21132
21133
21134
21135
21136
21137
21138
21139
21140
21141
21142
21143
21144
21145
21146
21147
21148
21149
21150
21151
21152
21153
21154
21155
21156
21157
21158
21159
21160
21161
21162
21163
21164
21165
21166
21167
21168
21169
21170
21171
21172
21173
21174
21175
21176
21177
21178
21179
21180
21181
21182
21183
21184
21185
21186
21187
21188
21189
21190
21191
21192
21193
21194
21195
21196
21197
21198
21199
21200
21201
21202
21203
21204
21205
21206
21207
21208
21209
21210
21211
21212
21213
21214
21215
21216
21217
21218
21219
21220
21221
21222
21223
21224
21225
21226
21227
21228
21229
21230
21231
21232
21233
21234
21235
21236
21237
21238
21239
21240
21241
21242
21243
21244
21245
21246
21247
21248
21249
21250
21251
21252
21253
21254
21255
21256
21257
21258
21259
21260
21261
21262
21263
21264
21265
21266
21267
21268
21269
21270
21271
21272
21273
21274
21275
21276
21277
21278
21279
21280
21281
21282
21283
21284
21285
21286
21287
21288
21289
21290
21291
21292
21293
21294
21295
21296
21297
21298
21299
21300
21301
21302
21303
21304
21305
21306
21307
21308
21309
21310
21311
21312
21313
21314
21315
21316
21317
21318
21319
21320
21321
21322
21323
21324
21325
21326
21327
21328
21329
21330
21331
21332
21333
21334
21335
21336
21337
21338
21339
21340
21341
21342
21343
21344
21345
21346
21347
21348
21349
21350
21351
21352
21353
21354
21355
21356
21357
21358
21359
21360
21361
21362
21363
21364
21365
21366
21367
21368
21369
21370
21371
21372
21373
21374
21375
21376
21377
21378
21379
21380
21381
21382
21383
21384
21385
21386
21387
21388
21389
21390
21391
21392
21393
21394
21395
21396
21397
21398
21399
21400
21401
21402
21403
21404
21405
21406
21407
21408
21409
21410
21411
21412
21413
21414
21415
21416
21417
21418
21419
21420
21421
21422
21423
21424
21425
21426
21427
21428
21429
21430
21431
21432
21433
21434
21435
21436
21437
21438
21439
21440
21441
21442
21443
21444
21445
21446
21447
21448
21449
21450
21451
21452
21453
21454
21455
21456
21457
21458
21459
21460
21461
21462
21463
21464
21465
21466
21467
21468
21469
21470
21471
21472
21473
21474
21475
21476
21477
21478
21479
21480
21481
21482
21483
21484
21485
21486
21487
21488
21489
21490
21491
21492
21493
21494
21495
21496
21497
21498
21499
21500
21501
21502
21503
21504
21505
21506
21507
21508
21509
21510
21511
21512
21513
21514
21515
21516
21517
21518
21519
21520
21521
21522
21523
21524
21525
21526
21527
21528
21529
21530
21531
21532
21533
21534
21535
21536
21537
21538
21539
21540
21541
21542
21543
21544
21545
21546
21547
21548
21549
21550
21551
21552
21553
21554
21555
21556
21557
21558
21559
21560
21561
21562
21563
21564
21565
21566
21567
21568
21569
21570
21571
21572
21573
21574
21575
21576
21577
21578
21579
21580
21581
21582
21583
21584
21585
21586
21587
21588
21589
21590
21591
21592
21593
21594
21595
21596
21597
21598
21599
21600
21601
21602
21603
21604
21605
21606
21607
21608
21609
21610
21611
21612
21613
21614
21615
21616
21617
21618
21619
21620
21621
21622
21623
21624
21625
21626
21627
21628
21629
21630
21631
21632
21633
21634
21635
21636
21637
21638
21639
21640
21641
21642
21643
21644
21645
21646
21647
21648
21649
21650
21651
21652
21653
21654
21655
21656
21657
21658
21659
21660
21661
21662
21663
21664
21665
21666
21667
21668
21669
21670
21671
21672
21673
21674
21675
21676
21677
21678
21679
21680
21681
21682
21683
21684
21685
21686
21687
21688
21689
21690
21691
21692
21693
21694
21695
21696
21697
21698
21699
21700
21701
21702
21703
21704
21705
21706
21707
21708
21709
21710
21711
21712
21713
21714
21715
21716
21717
21718
21719
21720
21721
21722
21723
21724
21725
21726
21727
21728
21729
21730
21731
21732
21733
21734
21735
21736
21737
21738
21739
21740
21741
21742
21743
21744
21745
21746
21747
21748
21749
21750
21751
21752
21753
21754
21755
21756
21757
21758
21759
21760
21761
21762
21763
21764
21765
21766
21767
21768
21769
21770
21771
21772
21773
21774
21775
21776
21777
21778
21779
21780
21781
21782
21783
21784
21785
21786
21787
21788
21789
21790
21791
21792
21793
21794
21795
21796
21797
21798
21799
21800
21801
21802
21803
21804
21805
21806
21807
21808
21809
21810
21811
21812
21813
21814
21815
21816
21817
21818
21819
21820
21821
21822
21823
21824
21825
21826
21827
21828
21829
21830
21831
21832
21833
21834
21835
21836
21837
21838
21839
21840
21841
21842
21843
21844
21845
21846
21847
21848
21849
21850
21851
21852
21853
21854
21855
21856
21857
21858
21859
21860
21861
21862
21863
21864
21865
21866
21867
21868
21869
21870
21871
21872
21873
21874
21875
21876
21877
21878
21879
21880
21881
21882
21883
21884
21885
21886
21887
21888
21889
21890
21891
21892
21893
21894
21895
21896
21897
21898
21899
21900
21901
21902
21903
21904
21905
21906
21907
21908
21909
21910
21911
21912
21913
21914
21915
21916
21917
21918
21919
21920
21921
21922
21923
21924
21925
21926
21927
21928
21929
21930
21931
21932
21933
21934
21935
21936
21937
21938
21939
21940
21941
21942
21943
21944
21945
21946
21947
21948
21949
21950
21951
21952
21953
21954
21955
21956
21957
21958
21959
21960
21961
21962
21963
21964
21965
21966
21967
21968
21969
21970
21971
21972
21973
21974
21975
21976
21977
21978
21979
21980
21981
21982
21983
21984
21985
21986
21987
21988
21989
21990
21991
21992
21993
21994
21995
21996
21997
21998
21999
22000
22001
22002
22003
22004
22005
22006
22007
22008
22009
22010
22011
22012
22013
22014
22015
22016
22017
22018
22019
22020
22021
22022
22023
22024
22025
22026
22027
22028
22029
22030
22031
22032
22033
22034
22035
22036
22037
22038
22039
22040
22041
22042
22043
22044
22045
22046
22047
22048
22049
22050
22051
22052
22053
22054
22055
22056
22057
22058
22059
22060
22061
22062
22063
22064
22065
22066
22067
22068
22069
22070
22071
22072
22073
22074
22075
22076
22077
22078
22079
22080
22081
22082
22083
22084
22085
22086
22087
22088
22089
22090
22091
22092
22093
22094
22095
22096
22097
22098
22099
22100
22101
22102
22103
22104
22105
22106
22107
22108
22109
22110
22111
22112
22113
22114
22115
22116
22117
22118
22119
22120
22121
22122
22123
22124
22125
22126
22127
22128
22129
22130
22131
22132
22133
22134
22135
22136
22137
22138
22139
22140
22141
22142
22143
22144
22145
22146
22147
22148
22149
22150
22151
22152
22153
22154
22155
22156
22157
22158
22159
22160
22161
22162
22163
22164
22165
22166
22167
22168
22169
22170
22171
22172
22173
22174
22175
22176
22177
22178
22179
22180
22181
22182
22183
22184
22185
22186
22187
22188
22189
22190
22191
22192
22193
22194
22195
22196
22197
22198
22199
22200
22201
22202
22203
22204
22205
22206
22207
22208
22209
22210
22211
22212
22213
22214
22215
22216
22217
22218
22219
22220
22221
22222
22223
22224
22225
22226
22227
22228
22229
22230
22231
22232
22233
22234
22235
22236
22237
22238
22239
22240
22241
22242
22243
22244
22245
22246
22247
22248
22249
22250
22251
22252
22253
22254
22255
22256
22257
22258
22259
22260
22261
22262
22263
22264
22265
22266
22267
22268
22269
22270
22271
22272
22273
22274
22275
22276
22277
22278
22279
22280
22281
22282
22283
22284
22285
22286
22287
22288
22289
22290
22291
22292
22293
22294
22295
22296
22297
22298
22299
22300
22301
22302
22303
22304
22305
22306
22307
22308
22309
22310
22311
22312
22313
22314
22315
22316
22317
22318
22319
22320
22321
22322
22323
22324
22325
22326
22327
22328
22329
22330
22331
22332
22333
22334
22335
22336
22337
22338
22339
22340
22341
22342
22343
22344
22345
22346
22347
22348
22349
22350
22351
22352
22353
22354
22355
22356
22357
22358
22359
22360
22361
22362
22363
22364
22365
22366
22367
22368
22369
22370
22371
22372
22373
22374
22375
22376
22377
22378
22379
22380
22381
22382
22383
22384
22385
22386
22387
22388
22389
22390
22391
22392
22393
22394
22395
22396
22397
22398
22399
22400
22401
22402
22403
22404
22405
22406
22407
22408
22409
22410
22411
22412
22413
22414
22415
22416
22417
22418
22419
22420
22421
22422
22423
22424
22425
22426
22427
22428
22429
22430
22431
22432
22433
22434
22435
22436
22437
22438
22439
22440
22441
22442
22443
22444
22445
22446
22447
22448
22449
22450
22451
22452
22453
22454
22455
22456
22457
22458
22459
22460
22461
22462
22463
22464
22465
22466
22467
22468
22469
22470
22471
22472
22473
22474
22475
22476
22477
22478
22479
22480
22481
22482
22483
22484
22485
22486
22487
22488
22489
22490
22491
22492
22493
22494
22495
22496
22497
22498
22499
22500
22501
22502
22503
22504
22505
22506
22507
22508
22509
22510
22511
22512
22513
22514
22515
22516
22517
22518
22519
22520
22521
22522
22523
22524
22525
22526
22527
22528
22529
22530
22531
22532
22533
22534
22535
22536
22537
22538
22539
22540
22541
22542
22543
22544
22545
22546
22547
22548
22549
22550
22551
22552
22553
22554
22555
22556
22557
22558
22559
22560
22561
22562
22563
22564
22565
22566
22567
22568
22569
22570
22571
22572
22573
22574
22575
22576
22577
22578
22579
22580
22581
22582
22583
22584
22585
22586
22587
22588
22589
22590
22591
22592
22593
22594
22595
22596
22597
22598
22599
22600
22601
22602
22603
22604
22605
22606
22607
22608
22609
22610
22611
22612
22613
22614
22615
22616
22617
22618
22619
22620
22621
22622
22623
22624
22625
22626
22627
22628
22629
22630
22631
22632
22633
22634
22635
22636
22637
22638
22639
22640
22641
22642
22643
22644
22645
22646
22647
22648
22649
22650
22651
22652
22653
22654
22655
22656
22657
22658
22659
22660
22661
22662
22663
22664
22665
22666
22667
22668
22669
22670
22671
22672
22673
22674
22675
22676
22677
22678
22679
22680
22681
22682
22683
22684
22685
22686
22687
22688
22689
22690
22691
22692
22693
22694
22695
22696
22697
22698
22699
22700
22701
22702
22703
22704
22705
22706
22707
22708
22709
22710
22711
22712
22713
22714
22715
22716
22717
22718
22719
22720
22721
22722
22723
22724
22725
22726
22727
22728
22729
22730
22731
22732
22733
22734
22735
22736
22737
22738
22739
22740
22741
22742
22743
22744
22745
22746
22747
22748
22749
22750
22751
22752
22753
22754
22755
22756
22757
22758
22759
22760
22761
22762
22763
22764
22765
22766
22767
22768
22769
22770
22771
22772
22773
22774
22775
22776
22777
22778
22779
22780
22781
22782
22783
22784
22785
22786
22787
22788
22789
22790
22791
22792
22793
22794
22795
22796
22797
22798
22799
22800
22801
22802
22803
22804
22805
22806
22807
22808
22809
22810
22811
22812
22813
22814
22815
22816
22817
22818
22819
22820
22821
22822
22823
22824
22825
22826
22827
22828
22829
22830
22831
22832
22833
22834
22835
22836
22837
22838
22839
22840
22841
22842
22843
22844
22845
22846
22847
22848
22849
22850
22851
22852
22853
22854
22855
22856
22857
22858
22859
22860
22861
22862
22863
22864
22865
22866
22867
22868
22869
22870
22871
22872
22873
22874
22875
22876
22877
22878
22879
22880
22881
22882
22883
22884
22885
22886
22887
22888
22889
22890
22891
22892
22893
22894
22895
22896
22897
22898
22899
22900
22901
22902
22903
22904
22905
22906
22907
22908
22909
22910
22911
22912
22913
22914
22915
22916
22917
22918
22919
22920
22921
22922
22923
22924
22925
22926
22927
22928
22929
22930
22931
22932
22933
22934
22935
22936
22937
22938
22939
22940
22941
22942
22943
22944
22945
22946
22947
22948
22949
22950
22951
22952
22953
22954
22955
22956
22957
22958
22959
22960
22961
22962
22963
22964
22965
22966
22967
22968
22969
22970
22971
22972
22973
22974
22975
22976
22977
22978
22979
22980
22981
22982
22983
22984
22985
22986
22987
22988
22989
22990
22991
22992
22993
22994
22995
22996
22997
22998
22999
23000
23001
23002
23003
23004
23005
23006
23007
23008
23009
23010
23011
23012
23013
23014
23015
23016
23017
23018
23019
23020
23021
23022
23023
23024
23025
23026
23027
23028
23029
23030
23031
23032
23033
23034
23035
23036
23037
23038
23039
23040
23041
23042
23043
23044
23045
23046
23047
23048
23049
23050
23051
23052
23053
23054
23055
23056
23057
23058
23059
23060
23061
23062
23063
23064
23065
23066
23067
23068
23069
23070
23071
23072
23073
23074
23075
23076
23077
23078
23079
23080
23081
23082
23083
23084
23085
23086
23087
23088
23089
23090
23091
23092
23093
23094
23095
23096
23097
23098
23099
23100
23101
23102
23103
23104
23105
23106
23107
23108
23109
23110
23111
23112
23113
23114
23115
23116
23117
23118
23119
23120
23121
23122
23123
23124
23125
23126
23127
23128
23129
23130
23131
23132
23133
23134
23135
23136
23137
23138
23139
23140
23141
23142
23143
23144
23145
23146
23147
23148
23149
23150
23151
23152
23153
23154
23155
23156
23157
23158
23159
23160
23161
23162
23163
23164
23165
23166
23167
23168
23169
23170
23171
23172
23173
23174
23175
23176
23177
23178
23179
23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
23190
23191
23192
23193
23194
23195
23196
23197
23198
23199
23200
23201
23202
23203
23204
23205
23206
23207
23208
23209
23210
23211
23212
23213
23214
23215
23216
23217
23218
23219
23220
23221
23222
23223
23224
23225
23226
23227
23228
23229
23230
23231
23232
23233
23234
23235
23236
23237
23238
23239
23240
23241
23242
23243
23244
23245
23246
23247
23248
23249
23250
23251
23252
23253
23254
23255
23256
23257
23258
23259
23260
23261
23262
23263
23264
23265
23266
23267
23268
23269
23270
23271
23272
23273
23274
23275
23276
23277
23278
23279
23280
23281
23282
23283
23284
23285
23286
23287
23288
23289
23290
23291
23292
23293
23294
23295
23296
23297
23298
23299
23300
23301
23302
23303
23304
23305
23306
23307
23308
23309
23310
23311
23312
23313
23314
23315
23316
23317
23318
23319
23320
23321
23322
23323
23324
23325
23326
23327
23328
23329
23330
23331
23332
23333
23334
23335
23336
23337
23338
23339
23340
23341
23342
23343
23344
23345
23346
23347
23348
23349
23350
23351
23352
23353
23354
23355
23356
23357
23358
23359
23360
23361
23362
23363
23364
23365
23366
23367
23368
23369
23370
23371
23372
23373
23374
23375
23376
23377
23378
23379
23380
23381
23382
23383
23384
23385
23386
23387
23388
23389
23390
23391
23392
23393
23394
23395
23396
23397
23398
23399
23400
23401
23402
23403
23404
23405
23406
23407
23408
23409
23410
23411
23412
23413
23414
23415
23416
23417
23418
23419
23420
23421
23422
23423
23424
23425
23426
23427
23428
23429
23430
23431
23432
23433
23434
23435
23436
23437
23438
23439
23440
23441
23442
23443
23444
23445
23446
23447
23448
23449
23450
23451
23452
23453
23454
23455
23456
23457
23458
23459
23460
23461
23462
23463
23464
23465
23466
23467
23468
23469
23470
23471
23472
23473
23474
23475
23476
23477
23478
23479
23480
23481
23482
23483
23484
23485
23486
23487
23488
23489
23490
23491
23492
23493
23494
23495
23496
23497
23498
23499
23500
23501
23502
23503
23504
23505
23506
23507
23508
23509
23510
23511
23512
23513
23514
23515
23516
23517
23518
23519
23520
23521
23522
23523
23524
23525
23526
23527
23528
23529
23530
23531
23532
23533
23534
23535
23536
23537
23538
23539
23540
23541
23542
23543
23544
23545
23546
23547
23548
23549
23550
23551
23552
23553
23554
23555
23556
23557
23558
23559
23560
23561
23562
23563
23564
23565
23566
23567
23568
23569
23570
23571
23572
23573
23574
23575
23576
23577
23578
23579
23580
23581
23582
23583
23584
23585
23586
23587
23588
23589
23590
23591
23592
23593
23594
23595
23596
23597
23598
23599
23600
23601
23602
23603
23604
23605
23606
23607
23608
23609
23610
23611
23612
23613
23614
23615
23616
23617
23618
23619
23620
23621
23622
23623
23624
23625
23626
23627
23628
23629
23630
23631
23632
23633
23634
23635
23636
23637
23638
23639
23640
23641
23642
23643
23644
23645
23646
23647
23648
23649
23650
23651
23652
23653
23654
23655
23656
23657
23658
23659
23660
23661
23662
23663
23664
23665
23666
23667
23668
23669
23670
23671
23672
23673
23674
23675
23676
23677
23678
23679
23680
23681
23682
23683
23684
23685
23686
23687
23688
23689
23690
23691
23692
23693
23694
23695
23696
23697
23698
23699
23700
23701
23702
23703
23704
23705
23706
23707
23708
23709
23710
23711
23712
23713
23714
23715
23716
23717
23718
23719
23720
23721
23722
23723
23724
23725
23726
23727
23728
23729
23730
23731
23732
23733
23734
23735
23736
23737
23738
23739
23740
23741
23742
23743
23744
23745
23746
23747
23748
23749
23750
23751
23752
23753
23754
23755
23756
23757
23758
23759
23760
23761
23762
23763
23764
23765
23766
23767
23768
23769
23770
23771
23772
23773
23774
23775
23776
23777
23778
23779
23780
23781
23782
23783
23784
23785
23786
23787
23788
23789
23790
23791
23792
23793
23794
23795
23796
23797
23798
23799
23800
23801
23802
23803
23804
23805
23806
23807
23808
23809
23810
23811
23812
23813
23814
23815
23816
23817
23818
23819
23820
23821
23822
23823
23824
23825
23826
23827
23828
23829
23830
23831
23832
23833
23834
23835
23836
23837
23838
23839
23840
23841
23842
23843
23844
23845
23846
23847
23848
23849
23850
23851
23852
23853
23854
23855
23856
23857
23858
23859
23860
23861
23862
23863
23864
23865
23866
23867
23868
23869
23870
23871
23872
23873
23874
23875
23876
23877
23878
23879
23880
23881
23882
23883
23884
23885
23886
23887
23888
23889
23890
23891
23892
23893
23894
23895
23896
23897
23898
23899
23900
23901
23902
23903
23904
23905
23906
23907
23908
23909
23910
23911
23912
23913
23914
23915
23916
23917
23918
23919
23920
23921
23922
23923
23924
23925
23926
23927
23928
23929
23930
23931
23932
23933
23934
23935
23936
23937
23938
23939
23940
23941
23942
23943
23944
23945
23946
23947
23948
23949
23950
23951
23952
23953
23954
23955
23956
23957
23958
23959
23960
23961
23962
23963
23964
23965
23966
23967
23968
23969
23970
23971
23972
23973
23974
23975
23976
23977
23978
23979
23980
23981
23982
23983
23984
23985
23986
23987
23988
23989
23990
23991
23992
23993
23994
23995
23996
23997
23998
23999
24000
24001
24002
24003
24004
24005
24006
24007
24008
24009
24010
24011
24012
24013
24014
24015
24016
24017
24018
24019
24020
24021
24022
24023
24024
24025
24026
24027
24028
24029
24030
24031
24032
24033
24034
24035
24036
24037
24038
24039
24040
24041
24042
24043
24044
24045
24046
24047
24048
24049
24050
24051
24052
24053
24054
24055
24056
24057
24058
24059
24060
24061
24062
24063
24064
24065
24066
24067
24068
24069
24070
24071
24072
24073
24074
24075
24076
24077
24078
24079
24080
24081
24082
24083
24084
24085
24086
24087
24088
24089
24090
24091
24092
24093
24094
24095
24096
24097
24098
24099
24100
24101
24102
24103
24104
24105
24106
24107
24108
24109
24110
24111
24112
24113
24114
24115
24116
24117
24118
24119
24120
24121
24122
24123
24124
24125
24126
24127
24128
24129
24130
24131
24132
24133
24134
24135
24136
24137
24138
24139
24140
24141
24142
24143
24144
24145
24146
24147
24148
24149
24150
24151
24152
24153
24154
24155
24156
24157
24158
24159
24160
24161
24162
24163
24164
24165
24166
24167
24168
24169
24170
24171
24172
24173
24174
24175
24176
24177
24178
24179
24180
24181
24182
24183
24184
24185
24186
24187
24188
24189
24190
24191
24192
24193
24194
24195
24196
24197
24198
24199
24200
24201
24202
24203
24204
24205
24206
24207
24208
24209
24210
24211
24212
24213
24214
24215
24216
24217
24218
24219
24220
24221
24222
24223
24224
24225
24226
24227
24228
24229
24230
24231
24232
24233
24234
24235
24236
24237
24238
24239
24240
24241
24242
24243
24244
24245
24246
24247
24248
24249
24250
24251
24252
24253
24254
24255
24256
24257
24258
24259
24260
24261
24262
24263
24264
24265
24266
24267
24268
24269
24270
24271
24272
24273
24274
24275
24276
24277
24278
24279
24280
24281
24282
24283
24284
24285
24286
24287
24288
24289
24290
24291
24292
24293
24294
24295
24296
24297
24298
24299
24300
24301
24302
24303
24304
24305
24306
24307
24308
24309
24310
24311
24312
24313
24314
24315
24316
24317
24318
24319
24320
24321
24322
24323
24324
24325
24326
24327
24328
24329
24330
24331
24332
24333
24334
24335
24336
24337
24338
24339
24340
24341
24342
24343
24344
24345
24346
24347
24348
24349
24350
24351
24352
24353
24354
24355
24356
24357
24358
24359
24360
24361
24362
24363
24364
24365
24366
24367
24368
24369
24370
24371
24372
24373
24374
24375
24376
24377
24378
24379
24380
24381
24382
24383
24384
24385
24386
24387
24388
24389
24390
24391
24392
24393
24394
24395
24396
24397
24398
24399
24400
24401
24402
24403
24404
24405
24406
24407
24408
24409
24410
24411
24412
24413
24414
24415
24416
24417
24418
24419
24420
24421
24422
24423
24424
24425
24426
24427
24428
24429
24430
24431
24432
24433
24434
24435
24436
24437
24438
24439
24440
24441
24442
24443
24444
24445
24446
24447
24448
24449
24450
24451
24452
24453
24454
24455
24456
24457
24458
24459
24460
24461
24462
24463
24464
24465
24466
24467
24468
24469
24470
24471
24472
24473
24474
24475
24476
24477
24478
24479
24480
24481
24482
24483
24484
24485
24486
24487
24488
24489
24490
24491
24492
24493
24494
24495
24496
24497
24498
24499
24500
24501
24502
24503
24504
24505
24506
24507
24508
24509
24510
24511
24512
24513
24514
24515
24516
24517
24518
24519
24520
24521
24522
24523
24524
24525
24526
24527
24528
24529
24530
24531
24532
24533
24534
24535
24536
24537
24538
24539
24540
24541
24542
24543
24544
24545
24546
24547
24548
24549
24550
24551
24552
24553
24554
24555
24556
24557
24558
24559
24560
24561
24562
24563
24564
24565
24566
24567
24568
24569
24570
24571
24572
24573
24574
24575
24576
24577
24578
24579
24580
24581
24582
24583
24584
24585
24586
24587
24588
24589
24590
24591
24592
24593
24594
24595
24596
24597
24598
24599
24600
24601
24602
24603
24604
24605
24606
24607
24608
24609
24610
24611
24612
24613
24614
24615
24616
24617
24618
24619
24620
24621
24622
24623
24624
24625
24626
24627
24628
24629
24630
24631
24632
24633
24634
24635
24636
24637
24638
24639
24640
24641
24642
24643
24644
24645
24646
24647
24648
24649
24650
24651
24652
24653
24654
24655
24656
24657
24658
24659
24660
24661
24662
24663
24664
24665
24666
24667
24668
24669
24670
24671
24672
24673
24674
24675
24676
24677
24678
24679
24680
24681
24682
24683
24684
24685
24686
24687
24688
24689
24690
24691
24692
24693
24694
24695
24696
24697
24698
24699
24700
24701
24702
24703
24704
24705
24706
24707
24708
24709
24710
24711
24712
24713
24714
24715
24716
24717
24718
24719
24720
24721
24722
24723
24724
24725
24726
24727
24728
24729
24730
24731
24732
24733
24734
24735
24736
24737
24738
24739
24740
24741
24742
24743
24744
24745
24746
24747
24748
24749
24750
24751
24752
24753
24754
24755
24756
24757
24758
24759
24760
24761
24762
24763
24764
24765
24766
24767
24768
24769
24770
24771
24772
24773
24774
24775
24776
24777
24778
24779
24780
24781
24782
24783
24784
24785
24786
24787
24788
24789
24790
24791
24792
24793
24794
24795
24796
24797
24798
24799
24800
24801
24802
24803
24804
24805
24806
24807
24808
24809
24810
24811
24812
24813
24814
24815
24816
24817
24818
24819
24820
24821
24822
24823
24824
24825
24826
24827
24828
24829
24830
24831
24832
24833
24834
24835
24836
24837
24838
24839
24840
24841
24842
24843
24844
24845
24846
24847
24848
24849
24850
24851
24852
24853
24854
24855
24856
24857
24858
24859
24860
24861
24862
24863
24864
24865
24866
24867
24868
24869
24870
24871
24872
24873
24874
24875
24876
24877
24878
24879
24880
24881
24882
24883
24884
24885
24886
24887
24888
24889
24890
24891
24892
24893
24894
24895
24896
24897
24898
24899
24900
24901
24902
24903
24904
24905
24906
24907
24908
24909
24910
24911
24912
24913
24914
24915
24916
24917
24918
24919
24920
24921
24922
24923
24924
24925
24926
24927
24928
24929
24930
24931
24932
24933
24934
24935
24936
24937
24938
24939
24940
24941
24942
24943
24944
24945
24946
24947
24948
24949
24950
24951
24952
24953
24954
24955
24956
24957
24958
24959
24960
24961
24962
24963
24964
24965
24966
24967
24968
24969
24970
24971
24972
24973
24974
24975
24976
24977
24978
24979
24980
24981
24982
24983
24984
24985
24986
24987
24988
24989
24990
24991
24992
24993
24994
24995
24996
24997
24998
24999
25000
25001
25002
25003
25004
25005
25006
25007
25008
25009
25010
25011
25012
25013
25014
25015
25016
25017
25018
25019
25020
25021
25022
25023
25024
25025
25026
25027
25028
25029
25030
25031
25032
25033
25034
25035
25036
25037
25038
25039
25040
25041
25042
25043
25044
25045
25046
25047
25048
25049
25050
25051
25052
25053
25054
25055
25056
25057
25058
25059
25060
25061
25062
25063
25064
25065
25066
25067
25068
25069
25070
25071
25072
25073
25074
25075
25076
25077
25078
25079
25080
25081
25082
25083
25084
25085
25086
25087
25088
25089
25090
25091
25092
25093
25094
25095
25096
25097
25098
25099
25100
25101
25102
25103
25104
25105
25106
25107
25108
25109
25110
25111
25112
25113
25114
25115
25116
25117
25118
25119
25120
25121
25122
25123
25124
25125
25126
25127
25128
25129
25130
25131
25132
25133
25134
25135
25136
25137
25138
25139
25140
25141
25142
25143
25144
25145
25146
25147
25148
25149
25150
25151
25152
25153
25154
25155
25156
25157
25158
25159
25160
25161
25162
25163
25164
25165
25166
25167
25168
25169
25170
25171
25172
25173
25174
25175
25176
25177
25178
25179
25180
25181
25182
25183
25184
25185
25186
25187
25188
25189
25190
25191
25192
25193
25194
25195
25196
25197
25198
25199
25200
25201
25202
25203
25204
25205
25206
25207
25208
25209
25210
25211
25212
25213
25214
25215
25216
25217
25218
25219
25220
25221
|
2009-06-15 Mark Rowe <mrowe@apple.com>
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 <simon.fraser@apple.com>
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ø <tor.arne.vestbo@nokia.com>
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 <mrowe@apple.com>
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 <sam@webkit.org>
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 <jam@chromium.org>
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 <jmalonzo@webkit.org>
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 <gns@gnome.org>
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 <jam@chromium.org>
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 <zecke@selfish.org>
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 <jmalonzo@webkit.org>
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 <mitz@apple.com>
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 <mrowe@apple.com>
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 <simon.hausmann@nokia.com>
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 <simon.hausmann@nokia.com>
Fix the Qt build, add missing function declaration.
* DumpRenderTree/qt/jsobjects.h:
2009-06-09 Mark Rowe <mrowe@apple.com>
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 <beidson@apple.com>
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 <mrowe@apple.com>
Rubber-stamped by Cameron Zwarich.
Delete the AccessibilityController that we allocated in -init.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate dealloc]):
2009-06-06 Mark Rowe <mrowe@apple.com>
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 <mrowe@apple.com>
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 <mrowe@apple.com>
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ø <tor.arne.vestbo@nokia.com>
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 <darin@apple.com>
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 <hyatt@apple.com>
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 <jberlin@apple.com>
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 <bfulgham@webkit.org>
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ø <tor.arne.vestbo@nokia.com>
Rubber-stamped by Adam Roben.
[Qt] Fix Perl warning about uninitialized value (passedConfiguration())
* Scripts/webkitdirs.pm:
2009-06-02 Tor Arne Vestbø <tor.arne.vestbo@nokia.com>
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 <yongjun.zhang@nokia.com>>
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 <mrowe@apple.com>
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 <sam@webkit.org>
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 <krit@webkit.org>
Reviewed by Nikolas Zimmermann.
Added new build flag --filters. More details in WebCore/ChangeLog.
* Scripts/build-webkit:
2009-05-28 Olivier DOLE <odole@pleyo.com>
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 <mrowe@apple.com>
Rubber-stamped by Dan Bernstein.
Update build-webkit to handle a new version of WebKitSystemInterface.
* Scripts/build-webkit:
2009-05-27 Fridrich Strba <fridrich.strba@bluewin.ch>
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 <mrowe@apple.com>
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 <jmalonzo@webkit.org>
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 <ddkilzer@apple.com>
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 <ddkilzer@apple.com>
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 <eric@webkit.org>
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 <andre.pedralho@openbossa.org>
Reviewed by Simon Hausmann.
Fixed --makeargs usage in Qt build.
* Scripts/build-webkit:
2009-05-22 Zoltan Horvath <horvath.zoltan.6@stud.u-szeged.hu>
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 <eric@webkit.org>
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 <gustavo.noronha@collabora.co.uk>
Reviewed by Xan Lopez.
Default to running HTTP tests for GTK+.
* Scripts/run-webkit-tests:
2009-05-21 Darin Adler <darin@apple.com>
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 <eric@webkit.org>
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 <andre.pedralho@openbossa.org>
Reviewed by Gustavo Noronha.
Added --makeargs flag to the build script.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2009-05-14 Holger Hans Peter Freyther <zecke@selfish.org>
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 <laszlo.1.gombos@nokia.com>
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 <eric@webkit.org>
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 <kevino@theolliviers.com>
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 <jchaffraix@webkit.org>
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 <kevino@theolliviers.com>
wx build fix. Use python-config to get Python linking info on Unix OSes.
* wx/build-wxwebkit:
2009-05-18 Kevin Ollivier <kevino@theolliviers.com>
wx build fix, initialize variable that doesn't get set on Windows.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp:
(MyApp::OnInit):
2009-05-18 Jan Michael Alonzo <jmalonzo@webkit.org>
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 <jparent@google.com>
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 <jparent@google.com>
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 <jparent@google.com>
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 <zecke@selfish.org>
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 <zecke@selfish.org>
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 <kevino@theolliviers.com>
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 <jmalonzo@webkit.org>
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 <levin@chromium.org>
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 <ddkilzer@apple.com>
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 <ddkilzer@apple.com>
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 <laszlo.1.gombos@nokia.com>
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 <kevino@theolliviers.com>
wx build fixes for Python extension and DRT.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp:
(MyApp::OnInit):
* wx/build-wxwebkit:
2009-05-07 Steve Falkenburg <sfalken@apple.com>
Remove manifest fixup from r42729 to fix clean builds.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2009-05-06 Kevin Ollivier <kevino@theolliviers.com>
wx build fix, fixes for wx trunk builds.
* DumpRenderTree/wx/DumpRenderTreeWx.cpp:
(MyApp::OnInit):
* wx/build-wxwebkit:
2009-05-06 Steve Falkenburg <sfalken@apple.com>
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ø <tor.arne.vestbo@nokia.com>
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 <darin@apple.com>
Try to fix Mac build.
* DumpRenderTree/AccessibilityUIElement.cpp: (elementAtPointCallback): Initialize x and y.
2009-05-05 Maclolm MacLeod <mmacleod@webmail.co.za>
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 <cfleizach@apple.com>
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 <christian@twotoasts.de>
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 <aroben@apple.com>
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ø <tor.arne.vestbo@nokia.com>
Rubber-stamped by Simon Hausmann.
Mention --qt as an option in the build-webkit help
* Scripts/build-webkit:
2009-05-04 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Alexey Proskuryakov.
Enable spell-checking in DumpRenderTree.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
2009-05-04 Kevin Ollivier <kevino@theolliviers.com>
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.
(LayoutTestController::~LayoutTestController):
(LayoutTestController::addDisallowedURL):
(LayoutTestController::clearBackForwardList):
(LayoutTestController::copyDecodedHostName):
(LayoutTestController::copyEncodedHostName):
(LayoutTestController::display):
(LayoutTestController::keepWebHistory):
(LayoutTestController::notifyDone):
(LayoutTestController::pathToLocalResource):
(LayoutTestController::queueLoad):
(LayoutTestController::setAcceptsEditing):
(LayoutTestController::setCustomPolicyDelegate):
(LayoutTestController::setMainFrameIsFirstResponder):
(LayoutTestController::setTabKeyCyclesThroughElements):
(LayoutTestController::setUseDashboardCompatibilityMode):
(LayoutTestController::setUserStyleSheetEnabled):
(LayoutTestController::setUserStyleSheetLocation):
(LayoutTestController::setWindowIsKey):
(LayoutTestController::setSmartInsertDeleteEnabled):
(LayoutTestController::setJavaScriptProfilingEnabled):
(LayoutTestController::setWaitToDump):
(LayoutTestController::windowCount):
(LayoutTestController::setPrivateBrowsingEnabled):
(LayoutTestController::setAuthorAndUserStylesEnabled):
(LayoutTestController::setPopupBlockingEnabled):
(LayoutTestController::elementDoesAutoCompleteForElementWithId):
(LayoutTestController::execCommand):
(LayoutTestController::setPersistentUserStyleSheetLocation):
(LayoutTestController::clearPersistentUserStyleSheet):
(LayoutTestController::clearAllDatabases):
(LayoutTestController::setDatabaseQuota):
(LayoutTestController::numberOfActiveAnimations):
(LayoutTestController::setSelectTrailingWhitespaceEnabled):
(LayoutTestController::pauseTransitionAtTimeOnElementWithId):
(LayoutTestController::setIconDatabaseEnabled):
(LayoutTestController::pauseAnimationAtTimeOnElementWithId):
(LayoutTestController::isCommandEnabled):
(LayoutTestController::webHistoryItemCount):
(LayoutTestController::waitForPolicyDelegate):
* DumpRenderTree/wx/WorkQueueItemWx.cpp: Added.
(LoadItem::invoke):
(ReloadItem::invoke):
(ScriptItem::invoke):
(BackForwardItem::invoke):
* Scripts/build-dumprendertree:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
* wx/build-wxwebkit:
2009-05-03 Sam Weinig <sam@webkit.org>
Reviewed by Geoffrey Garen.
Don't pass an exception parameter if we don't care about the value.
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback):
2009-05-02 Darin Adler <darin@apple.com>
Reviewed by Sam Weinig.
Another cut at getting tests passing on Windows again.
* DumpRenderTree/win/FrameLoadDelegate.cpp:
(FrameLoadDelegate::didStartProvisionalLoadForFrame): Tweak formatting.
(FrameLoadDelegate::didFailProvisionalLoadWithError): Ditto.
(FrameLoadDelegate::didCommitLoadForFrame): Ditto.
(FrameLoadDelegate::didFinishLoadForFrame): Ditto.
(FrameLoadDelegate::didFailLoadWithError): Added missing logging.
2009-05-02 Darin Adler <darin@apple.com>
Reviewed by Sam Weinig.
Try to get tests passing on Windows again.
* DumpRenderTree/win/DumpRenderTree.cpp:
(shouldLogFrameLoadDelegates): Allow either "/" or "\" as a path
separator. Also require separator before as well as after path name.
2009-04-30 Kevin Ollivier <kevino@theolliviers.com>
wx build fix, define ENABLE_JAVASCRIPT_DEBUGGER.
* wx/build-wxwebkit:
2009-04-30 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Timothy Hatcher.
https://bugs.webkit.org/show_bug.cgi?id=25470
Extend the cover of ENABLE_JAVASCRIPT_DEBUGGER to profiler.
* Scripts/build-webkit: Added ENABLE_JAVASCRIPT_DEBUGGER define.
2009-04-29 Mark Rowe <mrowe@apple.com>
Update build.webkit.org configuration for the addition of the new GTK buildbot.
* BuildSlaveSupport/build.webkit.org-config/config.json:
2009-04-29 Mark Rowe <mrowe@apple.com>
Ignore the --use-remote-links-to-tests option for GTK as it leads to
perl errors being spewed at the end of run-webkit-tests.
* Scripts/run-webkit-tests:
2009-04-29 Mark Rowe <mrowe@apple.com>
Implement test-result-archive for GTK.
* BuildSlaveSupport/test-result-archive:
2009-04-28 Pierre d'Herbemont <pdherbemont@apple.com>
Reviewed by David Kilzer.
https://bugs.webkit.org/show_bug.cgi?id=25462
Make sure "--pixel --add-platform-exceptions" produces platform
specific pixel test results.
* Scripts/run-webkit-tests: Support "--pixel
--add-platform-exceptions"
2009-04-28 Steve Falkenburg <sfalken@apple.com>
Fix link warnings building TestNetscapePlugin on Windows due to mismatched
DLL name vs. LIBRARY directive name.
Reviewed by Jon Honeycutt.
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.def:
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin_debug.def: Added.
2009-04-28 Steve Falkenburg <sfalken@apple.com>
Fix warnings about PRODUCTION and ARCHIVE_BUILD on Windows builds
of ImageDiff and DumpRenderTree.
Rubber stamped by Adam Roben.
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/ImageDiff.vcproj:
2009-04-28 Chris Fleizach <cfleizach@apple.com>
Reviewed by Darin Adler.
Add ability to get the children count of an AX element.
* DumpRenderTree/AccessibilityUIElement.cpp:
(getChildrenCountCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::childrenCount):
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::childrenCount):
2009-04-27 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Gustavo Noronha.
[GTK] Make layout tests / jsc tests usable without build-webkit
https://bugs.webkit.org/show_bug.cgi?id=21784
This requires WEBKITOUTPUTDIR to be set to the build directory.
Set the location of the product dir to the location pointed to by
WEBKITOUTPUTDIR.
* Scripts/webkitdirs.pm:
2009-04-27 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Adam Roben.
Use libsoup's facilities to resolve relative URLs, instead, since
it is a more robust method.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::queueLoad):
2009-04-26 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Xan Lopez.
Resolve relative URLs when queueing loads. This fixes
post-goback-same-url.html timing out.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::queueLoad):
2009-04-24 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Switching JSCore from a static lib to a dynamic lib
to match the Apple build and fix symbol exports.
* wx/build-wxwebkit:
2009-04-24 Eric Seidel <eric@webkit.org>
Reviewed by Adam Roben.
Add PrettyPatch support to run-webkit-tests
* Scripts/run-webkit-tests:
2009-04-24 Steve Falkenburg <sfalken@apple.com>
Fix nightly for Windows x64 users.
Installed browser location is written to a slightly different registry key in that case.
* FindSafari/FindSafari.cpp:
(getInstalledWebKitDirectory):
2009-04-23 Mark Rowe <mrowe@apple.com>
Fix the Windows DRT build.
* DumpRenderTree/win/PolicyDelegate.h:
2009-04-23 Brady Eidson <beidson@apple.com>
Fix Windows DRT build.
* DumpRenderTree/win/PolicyDelegate.cpp:
(PolicyDelegate::unableToImplementPolicyWithError):
2009-04-22 Brady Eidson <beidson@apple.com>
Reviewed by Maciej Stachowiak
Add additional support for test:
<rdar://problem/5689748> - Cannot redirect to protocols handled by external applications.
* DumpRenderTree/mac/PolicyDelegate.mm:
(-[PolicyDelegate webView:unableToImplementPolicyWithError:frame:]): Dump formatted information when
a policy cannot be implemented.
* DumpRenderTree/win/PolicyDelegate.cpp:
(PolicyDelegate::unableToImplementPolicyWithError): Ditto.
* DumpRenderTree/win/PolicyDelegate.h:
2009-04-22 Sam Weinig <sam@webkit.org>
Rubber-stamped by Darin Adler.
Fix for <rdar://problem/6816957>
Turn off Geolocation by default
* Scripts/build-webkit:
2009-04-21 Dan Bernstein <mitz@apple.com>
Reviewed by Jon Honeycutt.
- dump the node in the element dictionary in the action information
passed to the policy delegate
* DumpRenderTree/mac/PolicyDelegate.mm:
(-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
* DumpRenderTree/win/PolicyDelegate.cpp:
(dumpPath):
(PolicyDelegate::decidePolicyForNavigationAction):
2009-04-21 Adam Roben <aroben@apple.com>
Windows build fix after r42726
* DumpRenderTree/win/DumpRenderTree.cpp: Touched to force a rebuild.
* DumpRenderTree/win/DumpRenderTree.vcproj: Delete any pre-r42726
manifest files during the pre-build event.
2009-04-21 Steve Falkenburg <sfalken@apple.com>
Use new WebKitCreateInstance API instead of CoCreateInstance
or COMPtr's createInstance to instantiate WebKit COM objects.
Reviewed by Adam Roben.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initialize):
(runTest):
(createWebViewAndOffscreenWindow):
(main):
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/GCControllerWin.cpp:
(GCController::collect):
(GCController::collectOnAlternateThread):
(GCController::getJSObjectCount):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::keepWebHistory):
(LayoutTestController::webHistoryItemCount):
(LayoutTestController::setIconDatabaseEnabled):
* DumpRenderTree/win/WorkQueueItemWin.cpp:
(LoadItem::invoke):
2009-04-20 Timothy Hatcher <timothy@apple.com>
Stop using the fullDocumentTeardownEnabled WebPreference methods.
Just set the WebKitEnableFullDocumentTeardownPreferenceKey default.
Reviewed by Darin Adler.
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting):
(resetWebViewToConsistentStateBeforeTesting):
2009-04-21 Geoffrey Garen <ggaren@apple.com>
Rubber-stamped by Adam Roben.
Disabled one more Mozilla JS test because it fails intermittently on Windows.
(See https://bugs.webkit.org/show_bug.cgi?id=25160.)
* Scripts/run-javascriptcore-tests:
2009-04-21 Adam Roben <aroben@apple.com>
Fix running run-safari and run-webkit-tests from the paths recommended
on webkit.org
Reviewed by Steve Falkenburg and Sam Weinig.
* Scripts/run-webkit-nightly.cmd: Moved quotes from variable
definitions to variable uses. Otherwise cmd.exe can get confused about
the quoting.
* Scripts/run-webkit-tests: Changed to use an absolute path to
execAppWithEnv so that run-webkit-tests will work when run from
outside the source tree.
2009-04-21 Adam Roben <aroben@apple.com>
Rename JavaScriptCore_debug.dll to JavaScriptCore.dll in the Debug
configuration
This matches the naming scheme for WebKit.dll, and will be necessary
once Safari links against JavaScriptCore.dll. This change also causes
run-safari not to fail (because the launcher printed by FindSafari was
always looking for JavaScriptCore.dll, never
JavaScriptCore_debug.dll).
Part of Bug 25305: can't run safari or drt on windows
<https://bugs.webkit.org/show_bug.cgi?id=25305>
Reviewed by Steve Falkenburg and Sam Weinig.
* DumpRenderTree/win/DumpRenderTree.vcproj: Use
$(WebKitDLLConfigSuffix) for naming JavaScriptCore.{dll,lib}.
2009-04-21 Steve Falkenburg <sfalken@apple.com>
Update FindSafari for JavaScriptCore DLL changes.
Also removed code previously needed to support running nightlies against Safari 3 on Windows.
Reviewed by Mark Rowe.
* FindSafari/FindSafari.cpp:
(getStringValue):
(getInstalledWebKitDirectory):
(_tmain):
2009-04-20 Darin Adler <darin@apple.com>
Reviewed by Sam Weinig.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added PlainTextController.h
and PlainTextController.mm.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]): Added PlainTextController
as "window.plainText".
* DumpRenderTree/mac/PlainTextController.h: Added.
* DumpRenderTree/mac/PlainTextController.mm: Added.
2009-04-20 Steve Falkenburg <sfalken@apple.com>
Separate JavaScriptCore.dll from WebKit.dll.
Slight performance improvement or no change on benchmarks.
Allows us to break a circular dependency between CFNetwork and WebKit on Windows,
and simplifies standalone JavaScriptCore builds.
Reviewed by Oliver Hunt.
* DumpRenderTree/config.h: Specify JS, WebKit exported data as __declspec(dllimport)
* DumpRenderTree/win/DumpRenderTree.vcproj: Link against JavaScriptCore.dll
2009-04-20 Sam Weinig <sam@webkit.org>
Rubber-stamped by Tim Hatcher.
Add licenses for xcconfig files.
* DumpRenderTree/mac/Configurations/Base.xcconfig:
* DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
* DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
* DumpRenderTree/mac/Configurations/ImageDiff.xcconfig:
* DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig:
2009-04-19 David Kilzer <ddkilzer@apple.com>
Make FEATURE_DEFINES completely dynamic
Reviewed by Darin Adler.
Make FEATURE_DEFINES depend on individual ENABLE_FEATURE_NAME
variables for each feature, making it possible to remove all
knowledge of FEATURE_DEFINES from build-webkit.
* Scripts/build-webkit: Define individual ENABLE_FEATURE_NAME
variables instead of the whole FEATURE_DEFINES string when
building with Xcode. Miscellaneous clean up:
- Reordered/sorted command-line switch variables.
- Reordered/sorted command-line switches in $usage.
- Reordered/sorted command-line switches in GetOptions().
- Defined $svgSupport to true if any --svg-feature switch is
set in order to match "Implies SVG Support" claim.
- Build JavaScriptGlue after JavaScriptCore again!
- Fixed --[no-]geolocation for GTK+ port and sorted GTK+
command-line switches.
- Added "exit 0" statement at the end of the script.
2009-04-17 David Kilzer <ddkilzer@apple.com>
Simplify FEATURE_DEFINES definition
Reviewed by Darin Adler.
This moves FEATURE_DEFINES and its related ENABLE_FEATURE_NAME
variables to their own FeatureDefines.xcconfig file. It also
extracts a new ENABLE_GEOLOCATION variable so that
FEATURE_DEFINES only needs to be defined once.
* Scripts/build-webkit: Realphabetized code related to enabling
Geolation features for WebKit. Also set ENABLE_GEOLOCATION
variable for xcodebuild.
2009-04-16 Darin Fisher <darin@chromium.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=25223
REGRESSION: Back button after form submission to the same URL fails to navigate.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate processWork:]): Need to defer processing the work
queue if a navigation started between locationChangeDone and our
delayed processWork call. This can happen when using queueLoadingScript
to load script that simulates a click on a link or submit button since
those clicks happen asynchronously.
* DumpRenderTree/win/FrameLoadDelegate.cpp:
(FrameLoadDelegate::processWork): Same as above.
2009-04-16 Geoffrey Garen <ggaren@apple.com>
Build fix: updated check-for-global-initializers to account for code motion.
* Scripts/check-for-global-initializers:
2009-04-16 Zan Dobersek <zandobersek@gmail.com>
Reviewed by Adam Roben.
Compare test's response mime type and dump test as text properly.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dump):
2009-04-16 Adam Roben <aroben@apple.com>
Skip yet another JavaScriptCore test that sometimes fails on Windows
See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
not Mac)
<https://bugs.webkit.org/show_bug.cgi?id=25160>
* Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-6.js.
2009-04-15 Steve Falkenburg <sfalken@apple.com>
Redo last build fix in a more straightforward way.
* DumpRenderTree/win/DumpRenderTree.cpp:
(sharedCFURLCache):
2009-04-15 Steve Falkenburg <sfalken@apple.com>
Fix Windows build of DumpRenderTree.
* DumpRenderTree/win/DumpRenderTree.cpp:
(sharedCFURLCache):
(main):
2009-04-15 Adam Roben <aroben@apple.com>
Skip yet another JavaScriptCore test that sometimes fails on Windows
See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
not Mac)
<https://bugs.webkit.org/show_bug.cgi?id=25160>
* Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-2.js (who
didn't see it coming?).
2009-04-14 Adam Roben <aroben@apple.com>
Skip another JavaScriptCore test that sometimes fails on Windows
See Bug 25160: Various ecma/Date tests sometimes fail on Windows (but
not Mac)
<https://bugs.webkit.org/show_bug.cgi?id=25160>
Rubber-stamped by Geoff Garen.
* Scripts/run-javascriptcore-tests: Skip ecma/Date/15.9.2.2-3.js.
2009-04-14 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Move the DerivedSources.make calls into build-wxwebkit so that
the FEATURE_DEFINES are parsed properly.
* wx/build-wxwebkit:
2009-04-14 Adam Roben <aroben@apple.com>
Small run-javascriptcore-tests cleanup
Reviewed by Cameron Zwarich.
* Scripts/run-javascriptcore-tests: Move the list of tests to skip
into its own variable, annotated with the bugs that are filed about
the various failures.
2009-04-14 Adam Roben <aroben@apple.com>
Skip another sometimes-failing ecma/Date test on Windows
These failing tests are covered by Bug 25160: Various ecma/Date tests
sometimes fail on Windows (but not Mac)
<https://bugs.webkit.org/show_bug.cgi?id=25160>
Reviewed by Cameron Zwarich.
* Scripts/run-javascriptcore-tests: Added ecma/Date/15.9.2.1.js to the
list of tests to skip.
2009-04-14 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Holger Freyther.
[Gtk] disable soup auth dialog when running DRT
https://bugs.webkit.org/show_bug.cgi?id=24598
Disable soup's auth dialog when running the tests.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(setDefaultsToConsistentStateValuesForTesting):
* GNUmakefile.am:
2009-04-13 Darin Adler <darin@apple.com>
Reviewed by Mark Rowe.
* Scripts/check-for-exit-time-destructors: Add ERROR: and WARNING: prefixes to
make these scripts work better with the build window in new versions of Xcode.
* Scripts/check-for-global-initializers: Ditto.
* Scripts/check-for-weak-vtables: Ditto.
2009-04-13 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Disabled another JavaScriptCore test because it fails on Windows but
not Mac, so it makes the bots red.
* Scripts/run-javascriptcore-tests:
2009-04-13 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Disabled two JavaScriptCore tests because they fail on Window or Mac but
not both, so they make the bots red.
* Scripts/run-javascriptcore-tests:
2009-04-13 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Added another exception.
2009-04-10 Adam Roben <aroben@apple.com>
Add our new test font to the list that DRT knows about
Reviewed by Dan Bernstein.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initialize): Added WebKit Layout Tests 2.ttf.
2009-04-09 Jan Michael Alonzo <jmalonzo@webkit.org>
Unreviewed Gtk build fix for undefined reference: g_thread_init.
Add GLIB_LIBS to DRT and GtkLauncher build config.
* GNUmakefile.am:
2009-04-09 David Kilzer <ddkilzer@apple.com>
Reinstating <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings
Rolled r42345 back in. The build failure was caused by an
internal script which had not been updated the same way that
build-webkit was updated.
* Scripts/build-webkit:
2009-04-09 David Levin <levin@chromium.org>
Reviewed by David Kilzer.
https://bugs.webkit.org/show_bug.cgi?id=25101
Launch DumpRenderTree and the image diff tool in a way that will work from perl threads.
This is a workaround due to a perl limitation. When perl does open* calls on a thread, it ignores
the environment of the current thread and simply uses the environment of the main thread instead.
* Scripts/execAppWithEnv: Added.
* Scripts/run-webkit-tests:
2009-04-09 Alexey Proskuryakov <ap@webkit.org>
Reverting <rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings.
It broke Mac build, and I don't know how to fix it.
* Scripts/build-webkit:
2009-04-08 David Kilzer <ddkilzer@apple.com>
<rdar://problem/6718589> Option to turn off SVG DOM Objective-C bindings
Reviewed by Darin Adler and Maciej Stachowiak.
Introduce the ENABLE_SVG_DOM_OBJC_BINDINGS feature define so
that SVG DOM Objective-C bindings may be optionally disabled.
* Scripts/build-webkit: Added --[no-]svg-dom-objc-bindings
command-line argument. Set special ENABLE_SVG_DOM_OBJC_BINDINGS
Xcode variable required by WebCore.xcconfig.
2009-04-07 Adam Roben <aroben@apple.com>
Print the number of files being compiled when using pdevenv
* Scripts/parallelcl:
2009-04-07 Mark Rowe <mrowe@apple.com>
Land the current build.webkit.org configuration for safekeeping.
* BuildSlaveSupport/build.webkit.org-config/README: Added.
* BuildSlaveSupport/build.webkit.org-config/Makefile:
* BuildSlaveSupport/build.webkit.org-config/buildbot.tac:
* BuildSlaveSupport/build.webkit.org-config/config.json: Added.
* BuildSlaveSupport/build.webkit.org-config/master.cfg:
* BuildSlaveSupport/build.webkit.org-config/public_html/buildbot.css: Renamed from BuildSlaveSupport/build.webkit.org-config/buildbot.css.
* BuildSlaveSupport/build.webkit.org-config/public_html/index.html: Added.
* BuildSlaveSupport/build.webkit.org-config/public_html/robots.txt: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Removed.
* BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Removed.
* BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Removed.
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Removed.
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Removed.
* BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Removed.
* BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Removed.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Removed.
2009-04-07 Mark Rowe <mrowe@apple.com>
Ignore the mysterious exception that Cygwin's Python is throwing when attempting
to remove the layout-test-results directory.
* BuildSlaveSupport/test-result-archive:
2009-04-07 Mark Rowe <mrowe@apple.com>
Change the working directory before removing the test result directory
in the hopes of making the Windows build slaves happier.
* BuildSlaveSupport/test-result-archive:
2009-04-07 Mark Rowe <mrowe@apple.com>
Reviewed by Adam Roben.
Make the links to tests in the uploaded results.html files on build.webkit.org point to the test files.
* Scripts/VCSUtils.pm: Add a function that will return the location of a file relative to the root of the working copy.
* Scripts/run-webkit-tests: Convert the path in to a remote URL if the path is below the layout tests directory.
2009-04-07 Mark Rowe <mrowe@apple.com>
Remove the layout-test-results directory after we have archived it so that
log files and results are reset between runs of the tests.
* BuildSlaveSupport/test-result-archive:
2009-04-07 Mark Rowe <mrowe@apple.com>
Helper script for uploading layout test results for display on build.webkit.org.
* BuildSlaveSupport/test-result-archive: Copied from WebKitTools/BuildSlaveSupport/built-product-archive.
2009-04-11 Brian Weinstein <bweinstein@gmail.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=24908
Allows timeout to be set in run-webkit-tests as a command line argument.
* Scripts/run-webkit-tests:
2009-04-06 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Rubber-stamped by Tor Arne Vestbø.
Add /Programs to the productDir for GTK+, instead of adding
/JavaScriptCore, when running jsc.
* Scripts/run-sunspider:
2009-04-04 Kevin Ollivier <kevino@theolliviers.com>
Build fixes for wxMac/Tiger and PPC builds.
* wx/build-wxwebkit:
2009-04-04 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Update the version of ICU dlls.
* wx/build-wxwebkit:
2009-04-03 Stephanie Lewis <slewis@apple.com>
Reviewed by Mark Rowe.
Fix running DumpRenderTree with a root.
* Scripts/run-webkit-tests:
2009-04-02 Adam Roben <aroben@apple.com>
Build fix for Windows machines that don't have WebKitTools/Scipts in
their PATH
* Scripts/pdevenv: Add WebKitTools/Scripts to PATH when launching
Visual Studio/VC++ Express.
2009-04-02 Adam Roben <aroben@apple.com>
Use pdevenv when building .vcproj files via our scripts
Reviewed by Mark Rowe.
* Scripts/webkitdirs.pm:
(sub buildVisualStudioProject): Use pdevenv instead of invoking Visual
Studio/VC++ Express directly.
2009-04-01 Mark Rowe <mrowe@apple.com>
Windows support for built-product-archive.
* BuildSlaveSupport/built-product-archive:
2009-03-31 Adam Roben <aroben@apple.com>
Make resolve-ChangeLogs -f work when the working tree has spaces in
its path
Reviewed by Mark Rowe and David Kilzer.
* Scripts/resolve-ChangeLogs:
(sub fixMergedChangeLogs): Quote the path to resolve-ChangeLogs in
case it contains spaces.
2009-03-31 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=24777
WebKit tools are broken on Tiger
* Scripts/webkitdirs.pm: Don't use arch command with options on Tiger.
2009-03-31 Darin Adler <darin@apple.com>
* Scripts/add-include: Added.
2009-03-31 Mark Rowe <mrowe@apple.com>
Fix use of incorrect constant.
* BuildSlaveSupport/built-product-archive:
2009-03-30 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Stephanie Lewis.
Add a script in support of the new build.webkit.org configuration.
* BuildSlaveSupport/built-product-archive: Added.
2009-03-30 Darin Adler <darin@apple.com>
Reviewed by Sam Weinig.
Make policy-delegate logging work even for local files by processing the URLs as we
do for other delegates.
* DumpRenderTree/mac/PolicyDelegate.mm:
(-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
Use _drt_descriptionSuitableForTestResult on the URL.
* DumpRenderTree/win/PolicyDelegate.cpp:
(PolicyDelegate::decidePolicyForNavigationAction): Use urlSuitableForTestResult on the URL.
2009-03-30 Adam Roben <aroben@apple.com>
Windows build fix
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::waitForPolicyDelegate): Added this empty stub.
* DumpRenderTree/win/WorkQueueItemWin.cpp:
(LoadItem::invoke):
(ScriptItem::invoke):
Changed to use data members instead of removed member functions.
2009-03-30 Jan Michael Alonzo <jmalonzo@webkit.org>
Gtk DRT build fix per changeset
http://trac.webkit.org/changeset/42082. Not reviewed.
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
(LoadItem::invoke):
(ScriptItem::invoke):
2009-03-29 Darin Adler <darin@apple.com>
* DumpRenderTree/qt/jsobjects.cpp: Rolled out changes to this file. Maybe this will fix
Qt building of DumpRenderTree.
2009-03-29 Darin Adler <darin@apple.com>
Reviewed by Cameron Zwarich.
Bug 24922: change WorkQueue-based navigation tests to not depend on synchronous form submission
https://bugs.webkit.org/show_bug.cgi?id=24922
Don't rely on delegate methods to guess whether a queued step starts a load or not, because
script-triggered loads can't be detected that way. Instead have the steps themselves indicate
whether or not a load was triggered.
* DumpRenderTree/LayoutTestController.cpp:
(queueLoadingScriptCallback): Added. Version for scripts that perform loads.
(queueNonLoadingScriptCallback): Added. Version for scripts that do not perform loads.
(LayoutTestController::staticFunctions): Replaced queueScript with queueLoadingScript and
queueNonLoadingScript.
(LayoutTestController::queueBackNavigation): Moved here since it's platform-independent now.
(LayoutTestController::queueForwardNavigation): Ditto.
(LayoutTestController::queueLoadingScript): Replacement for queueScript. Here since it's
platform-independent.
(LayoutTestController::queueNonLoadingScript): Ditto.
(LayoutTestController::queueReload): Moved here since it's platform-independent now.
* DumpRenderTree/LayoutTestController.h: Ditto.
* DumpRenderTree/WorkQueue.cpp:
(WorkQueue::processWork): Added. Shared by the different platform's work queue implementations.
* DumpRenderTree/WorkQueue.h: Ditto.
* DumpRenderTree/WorkQueueItem.h: Changed the invoke function to return true if the item
started a load. Removed unused getter functions. Made invoke functions private.
Added LoadingScriptItem and NonLoadingScriptItem, making ScriptItem an abstract base.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(processWork): Use the new WorkQueue::processWork function to implement the new rule.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Removed queue functions that are now
platform-independent and in LayoutTestController.cpp.
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
(LoadItem::invoke): Return true.
(ReloadItem::invoke): Ditto.
(ScriptItem::invoke): Ditto.
(BackForwardItem::invoke): Ditto.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate processWork:]): Use the new WorkQueue::processWork function to implement
the new rule.
* DumpRenderTree/mac/LayoutTestControllerMac.mm: Removed queue functions that are now
platform-independent and in LayoutTestController.cpp.
* DumpRenderTree/mac/WorkQueueItemMac.mm:
(LoadItem::invoke): Return true.
(ReloadItem::invoke): Ditto.
(ScriptItem::invoke): Ditto.
(BackForwardItem::invoke): Ditto.
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::processWork): Use the new WorkQueue::processWork function to implement
the new rule. Removed queue functions that are now platform-independent and in
LayoutTestController.cpp.
* DumpRenderTree/win/FrameLoadDelegate.cpp:
(FrameLoadDelegate::processWork): Use the new WorkQueue::processWork function to implement
the new rule.
* DumpRenderTree/win/LayoutTestControllerWin.cpp: Removed queue functions that are now
platform-independent and in LayoutTestController.cpp.
* DumpRenderTree/win/WorkQueueItemWin.cpp:
(LoadItem::invoke): Return false when we fail, true when we succeed.
(ReloadItem::invoke): Ditto.
(ScriptItem::invoke): Ditto.
(BackForwardItem::invoke): Ditto.
2009-03-28 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Eric Seidel.
Always use wxGraphicsContext on Mac to ensure path, matrix, etc. support.
* wx/build-wxwebkit:
2009-03-27 Darin Adler <darin@apple.com>
Reviewed by Sam Weinig.
* Scripts/extract-localizable-strings: Fixed version check for perl 5.10 compatibility.
2009-03-27 Darin Adler <darin@apple.com>
Reviewed by Sam Weinig.
Added waitForPolicyDelegate, a more-reliable way to make our mailto form submission
tests work.
* DumpRenderTree/AccessibilityController.cpp:
(getFocusedElementCallback): Use static_cast instead of reinterpret_cast because there's
no reason to use reinterpret_cast just to get from void* to a specific type.
(getRootElementCallback): Ditto.
* DumpRenderTree/AccessibilityUIElement.cpp:
(toAXElement): Ditto.
* DumpRenderTree/GCController.cpp:
(collectCallback): Ditto.
(collectOnAlternateThreadCallback): Ditto.
(getJSObjectCountCallback): Ditto.
* DumpRenderTree/LayoutTestController.cpp:
(many functions): Ditto.
(waitForPolicyDelegateCallback): Added.
(LayoutTestController::staticFunctions): Sorted functions by name.
Added waitForPolicyDelegate.
* DumpRenderTree/LayoutTestController.h: Sorted functions by name.
Added waitForPolicyDelegate.
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
policy delegate.
(runTest): Added an additional call to resetWebViewToConsistentStateBeforeTesting just
before loading an empty page. This prevents extra policy delegate calls from being logged.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::waitForPolicyDelegate): Added. Puts us into wait mode, and then
tells the policy delegate to notify when done, then points the web view at the policy delegate.
* DumpRenderTree/mac/PolicyDelegate.h: Added setControllerToNotifyDone: method.
* DumpRenderTree/mac/PolicyDelegate.mm:
(-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
Added code to do notifyDone if controllerToNotifyDone is set.
(-[PolicyDelegate setControllerToNotifyDone:]): Added.
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting): Added code to reset the state of the
policy delegate. Also moved the call to resetUndoManager in here.
(runTest): Removed the call to resetUndoManager (see above). Added an additional call to
resetWebViewToConsistentStateBeforeTesting to match the Mac code.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setCustomPolicyDelegate): 0, not NULL.
* DumpRenderTree/win/PolicyDelegate.cpp:
(PolicyDelegate::PolicyDelegate): Initialize m_controllerToNotifyDone to 0.
(PolicyDelegate::decidePolicyForNavigationAction): Added code to do notifyDone if
m_controllerToNotifyDone is set.
* DumpRenderTree/win/PolicyDelegate.h: Added setControllerToNotifyDone and
m_controllerToNotifyDone.
2009-03-27 Sam Weinig <sam@webkit.org>
Reviewed by Gavin Barraclough.
Fix for https://bugs.webkit.org/show_bug.cgi?id=24765
prepare-ChangeLog and svn-create-patch doesn't work with svn 1.6
* Scripts/prepare-ChangeLog:
* Scripts/svn-create-patch:
2009-03-26 Darin Adler <darin@apple.com>
Reviewed by Geoff Garen.
* Scripts/do-webcore-rename:Update for rename of JSUnprotectedEventListener to
JSEventListener.
2009-03-26 Darin Adler <darin@apple.com>
Reviewed by Geoff Garen.
* Scripts/do-webcore-rename: Update for rename of JSEventListener to
JSProtectedEventListener. This includes all the related renames, but
not that one because that one renames the file.
2009-03-26 Adam Roben <aroben@apple.com>
Reduce run-webkit-tests's time out limit to 15 seconds (or 2.5 minutes
under GuardMalloc)
The previous limit was 60 seconds (or 10 minutes under GuardMalloc).
There's no evidence that we need the limit to be this long, and having
it be so long just makes timed-out tests take forever to complete.
DRT's watchdog timer is 10 seconds, so still has time to fire before
run-webkit-tests will cut it off.
Reviewed by Simon Fraser.
* Scripts/run-webkit-tests:
(sub readFromDumpToolWithTimer): Reduced the limit to 15 seconds (or
2.5 mintues under GuardMalloc).
2009-03-26 Adam Roben <aroben@apple.com>
Make DRT's watchdog timer actually work on Windows
We were previously trying to use a CFRunLoopTimer for the watchdog
timer on Windows. This doesn't work because we don't use a CFRunLoop
on the main thread on Windows.
This patch changes the watchdog timer on Windows be a normal Windows
timer.
Reviewed by Simon Fraser.
* DumpRenderTree/DumpRenderTree.h: Moved declaration of
waitToDumpWatchdog from here...
* DumpRenderTree/mac/DumpRenderTreeMac.h: ...to here.
* DumpRenderTree/win/DumpRenderTree.cpp:
(invalidateAnyPreviousWaitToDumpWatchdog): Added. This function
cancels an existing watchdog timer.
(dump): Call invalidateAnyPreviousWaitToDumpWatchdog. This will
prevent watchdogs from previous tests firing during subsequent ones.
This matches Mac's behavior.
* DumpRenderTree/win/DumpRenderTreeWin.h: Added a declaration of
waitToDumpWatchdog.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(waitUntilDoneWatchdogFired): Converted this to be a Windows
TIMERPROC.
(LayoutTestController::setWaitToDump): Changed to use SetTimer instead
of CFRunLoopAddTimer.
2009-03-25 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Steve Falkenburg.
Update test result search path for Windows now that it has updated versions of ICU, libxml2, and friends.
* Scripts/run-webkit-tests:
2009-03-24 Mark Rowe <mrowe@apple.com>
Fix the Tiger build some more.
* DumpRenderTree/mac/TextInputController.m:
2009-03-24 Mark Rowe <mrowe@apple.com>
Fix the Tiger build.
* DumpRenderTree/mac/TextInputController.m:
2009-03-24 Mark Rowe <mrowe@apple.com>
Reviewed by Jon "The Most Boring Man in the World" Honeycutt.
Explicitly map NSNotFound to -1 so that the result of-characterIndexForPointX:Y: does
not differ between 32- and 64-bit.
* DumpRenderTree/mac/TextInputController.m:
(-[TextInputController characterIndexForPointX:Y:]):
2009-03-24 Mark Rowe <mrowe@apple.com>
Reviewed by Sam Weinig.
Use a different platform search path for tests and skip lists, so that Tiger doesn't end up
using the Leopard skip list. Tests and skip lists are now looked for in the directory for
the current OS and the generic "mac" directory. Tests and skip lists for newer OS versions are
ignored.
* Scripts/run-webkit-tests:
2009-03-23 Stephanie <slewis@apple.com>
Fix root build.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2009-03-23 Stephanie Lewis <slewis@apple.com>
Reviewed by Mark Rowe.
Add production configuration for creating roots of WebKitTools.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2009-03-23 Oliver Hunt <oliver@apple.com>
Reviewed by Geoff Garen.
Make testapi run as part of the standard JavaScriptCore tests.
We only run testapi on the mac as currently windows webkit doesn't
place all the necessary files for testapi, and we also test the
JSC/CF APIs as well.
* Scripts/run-javascriptcore-tests:
2009-03-21 Oliver Hunt <oliver@apple.com>
Reviewed by Mark Rowe.
Make build-jsc build testapi and minidom in addition to jsc itself.
* Scripts/build-jsc:
2009-03-20 Anders Carlsson <andersca@apple.com>
Reviewed by Darin Adler.
Only release the result NPVariant if the call to NPN_Invoke was successful.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(testNPRuntime):
2009-03-19 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Mark Rowe.
Make determinePassedArchitecture always consume the --32-bit
option, also in non-AppleMacWebkit platforms. Solution pointed out
by Mark Rowe.
* Scripts/webkitdirs.pm:
2009-03-19 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver Hunt.
Work around <rdar://problem/6698023> by activating fonts from disk.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Copy fonts into DumpRenderTree.resources
in the built products directory.
* DumpRenderTree/mac/DumpRenderTree.mm:
(activateFonts): Activate the fonts from disk.
2009-03-18 Mark Rowe <mrowe@apple.com>
Reviewed by Dan Bernstein.
<rdar://problem/6693300> Don't rely on printf from TestNetscapePlugIn appearing in test results
Switch from using printf to using the NPAPI to invoke console.log so that plug-in messages appear
in test results even when the plug-in's stdout differs from DumpRenderTree's stdout.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
(log): Invoke console.log via the NPAPI.
(NPP_Destroy): Call log instead of printf.
(NPP_SetWindow): Ditto.
(handleEventCarbon): Ditto.
(handleEventCocoa): Ditto.
(NPP_HandleEvent): Pass the instance in to the event handler.
2009-03-17 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver Hunt.
Use the normal search rules for tests inside the platform directory.
This allows tests inside the platform directory to have different results
on different versions of Mac OS X.
* Scripts/run-webkit-tests:
2009-03-17 David Kilzer <ddkilzer@apple.com>
resolve-ChangeLogs should not die on unmerged non-ChangeLog files
Reviewed by Adam Roben.
Fixes the following bug in resolve-ChangeLogs:
Use of uninitialized value in -e at ./WebKitTools/Scripts/resolve-ChangeLogs line 132.
Died at ./WebKitTools/Scripts/resolve-ChangeLogs line 164.
* Scripts/resolve-ChangeLogs:
(findUnmergedChangeLogs): Check the result of findChangeLog() to
make sure we don't add undef values to the list of files being
returned.
2009-03-17 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Simon Fraser.
Fix the usage of the $architecture variable for non-Apple-Mac
ports.
* Scripts/webkitdirs.pm:
2009-03-17 David Kilzer <ddkilzer@apple.com>
Bug 24645: bisect-builds script doesn't work with Safari 4 Public Beta (version string)
<https://bugs.webkit.org/show_bug.cgi?id=24645>
Reviewed by Mark Rowe.
* Scripts/bisect-builds:
(makeNightlyList): Added checks for Safari 4 Public Beta on
Tiger and Leopard.
2009-03-17 Simon Fraser <simon.fraser@apple.com>
Reviewed by Darin Adler
https://bugs.webkit.org/show_bug.cgi?id=24396
Change the terminology from '3D transforms' to '3D rendering'.
* Scripts/build-webkit:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2009-03-17 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Mark Rowe.
Enable HTML5 media elements support by default also for the GTK+
port.
* Scripts/build-webkit:
2009-03-17 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Mark Rowe.
Tweak the BUILDING_ON_* defines so that they work with the default values set by
AvailabilityMacros.h.
https://bugs.webkit.org/show_bug.cgi?id=24630
* DumpRenderTree/mac/DumpRenderTreeMac.h:
2009-03-17 Oliver Hunt <oliver@apple.com>
Reviewed by Alexey Proskuryakov.
Make coverage testing more reliable by ensuring --coverage does not
clobber configuration settings, and by removing the unnecessary
dependency on matplotlib.
* CodeCoverage/regenerate-coverage-display:
* Scripts/webkitdirs.pm:
2009-03-16 Anders Carlsson <andersca@apple.com>
Reviewed by Darin Adler and John Sullivan.
When a plug-in instance is torn down, all plug-in objects will first be invalidated and then deallocated.
Since objects can be deallocated in any order, it is not safe to call NPN_ReleaseObject on member variables.
Instead, just zero out the member variable in invalidate.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(pluginInvalidate):
(pluginDeallocate):
2009-03-16 Eric Seidel <eric@webkit.org>
Reviewed by Sam Weinig.
REGRESSION: undo-iframe-location-change.html is failing on the buildbots
https://bugs.webkit.org/show_bug.cgi?id=24626
Added a call to [[webview undoManager] removeAllActions]
to make sure anything left on the undo stack after one test
will not affect any later test.
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting):
2009-03-14 Mark Rowe <mrowe@apple.com>
Reviewed by Dan Bernstein.
Change the layout test result search policy for Mac OS X to fit better with the idea of
newer OS versions improving on previous OS versions.
The results for the latest version of Mac OS X are placed in the "mac" directory. The
results for older versions of Mac OS X are structured as a series of overlays. When
running on Leopard, the results in "mac-leopard" are searched before those in "mac".
When running on Tiger, the results in "mac-tiger" are searched before those in
"mac-leopard" and "mac".
* Scripts/run-webkit-tests:
2009-03-13 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Dan Bernstein.
Take advantage of the ability of recent versions of Xcode to easily switch the active
architecture.
* DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2009-03-13 Mark Rowe <mrowe@apple.com>
Reviewed by Timothy Hatcher.
Remove the --64-bit argument from scripts in favor of them detecting when 64-bit should be preferred.
The scripts will automatically target 64-bit if the system and hardware support it. This can be
overridden by passing --32-bit to individual scripts, or using set-webkit-configuration --32-bit
to make the override persistent.
* Scripts/build-webkit: Remove architecture-related code.
* Scripts/gdb-safari: Remove architecture-related code, and clean up how the environment variables are passed to gdb.
* Scripts/run-javascriptcore-tests: Remove architecture-related code.
* Scripts/run-safari: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/set-webkit-configuration: Handle the --32-bit and --64-bit arguments. The --32-bit argument will set the
architecture preference to the 32-bit architecture of the machine. The --64-bit argument will remove any architecture
override that is in effect so that 64-bit support will be automatically detected.
* Scripts/webkitdirs.pm: Add auto-detection of the best architecture for the machine, and the ability to override the
auto-detection.
2009-03-13 Anders Carlsson <andersca@apple.com>
Reviewed by Dan Bernstein.
<rdar://problem/6610666> Revise the Cocoa event model text API
Add a case statement for NPCocoaEventTextInput.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
(handleEventCocoa):
2009-03-12 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Let DerivedSources.make know we want database APIs.
* wx/build-wxwebkit:
2009-03-12 David Kilzer <ddkilzer@apple.com>
Bug 24378: resolve-ChangeLogs should use git status or svn status to find and fix unmerged ChangeLogs
<https://bugs.webkit.org/show_bug.cgi?id=24378>
Reviewed by Adam Roben.
* Scripts/resolve-ChangeLogs: If -f|--fix-merged is not passed
and no file or directory names are specified on the command-line
then try to find unmerged ChangeLog files based on 'svn stat' or
'git diff'. Added global $isGit and $isSVN variables so that
isGit() and isSVN() only have to be called once.
(findUnmergedChangeLogs): Added.
2009-03-11 David Kilzer <ddkilzer@apple.com>
Clarify comments regarding order of FEATURE_DEFINES
Rubber-stamped by Mark Rowe.
* Scripts/build-webkit: Added warning about keeping
FEATURE_DEFINES in order and the consequences when they are not.
2009-03-11 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Holger Freyther.
Gtk] Implement LayoutTestControllerGtk::setPrivateBrowsingEnabled
https://bugs.webkit.org/show_bug.cgi?id=24487
Also reset WebSettings to its default state for JavaScript
profiling, Developer Extras and Private Browsing before running
the test (can be after each test but we want to be consistent with
other ports in this regard)
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
(runTest):
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setPrivateBrowsingEnabled):
2009-03-11 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Holger Freyther.
[GTK]DumpRenderTree doesn't compile for non-X11 GTK ports anymore
https://bugs.webkit.org/show_bug.cgi?id=2260
Add plugin support only for X11 builds
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(setDefaultsToConsistentStateValuesForTesting):
* GNUmakefile.am:
2009-03-08 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark Rowe.
Implement setJavaScriptProfilingEnabled by enabling the Developer
Extras and the JavaScript profiling on the WebKitWebInspector. After
this change we pass the three enabled tests in fast/profiler.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(runTest): Reset setJavaScriptProfilingEnabled after each test run
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setJavaScriptProfilingEnabled):
2009-03-07 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Holger Freyther.
[Gtk] Enable http history tests
https://bugs.webkit.org/show_bug.cgi?id=24394
Get the index of the current item from the list of (history) items
to print before adding the back history items to the list. This
will make the 'curr' pointer point to the correct item in the
actual results, therefore, passing some of the http/tests/history
tests.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dumpBackForwardListForWebView):
2009-03-06 Adam Treat <adam.treat@torchmobile.com>
Reviewed by George Staikos.
When building QtWebKit in release mode make sure that QT_SHARED is defined
otherwise none of the public API will be exported. This leads to missing
symbols and link errors if hidden-visibility is used.
* Scripts/webkitdirs.pm:
2009-03-06 Adam Roben <aroben@apple.com>
Change the isCygwin check in update-webkit to isAppleWinWebKit
This matches a similar check in build-webkit, and is more correct.
Reviewed by Alexey Proskuryakov.
* Scripts/update-webkit: Only call update-webkit-auxiliary-libs if
isAppleWinWebKit is true.
2009-03-06 Adam Roben <aroben@apple.com>
Make update-webkit-support-libs fail if WebKitSupportLibrary.zip is
present but out of date
Reviewed by Alexey Proskuryakov.
* Scripts/update-webkit-support-libs: Changed to use
dieAndInstructToDownload when the zip file doesn't exist. Added an MD5
check to make sure the file is up-to-date. If it is out of date, print
an error message and quit.
(sub dieAndInstructToDownload): Added. Prints an error message and
quits with an error.
2009-03-03 Anders Carlsson <andersca@apple.com>
Reviewed by John Sullivan.
https://bugs.webkit.org/show_bug.cgi?id=22884
<rdar://problem/6449783>
modified layout test crashes Safari
Add destroyNullStream test function to the test plug-in.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(destroyNullStream):
(pluginInvoke):
2009-03-03 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler
Support layout test covering <rdar://problem/6616664>
Change NSURLRequest/IWebURLRequest dumping to include the mainDocumentURL
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[NSURLRequest _drt_descriptionSuitableForTestResult]): Return both the request URL and the
mainDocumentURL.
* DumpRenderTree/win/ResourceLoadDelegate.cpp:
(descriptionSuitableForTestResult): Return both the request URL and the mainDocumentURL.
2009-03-02 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
Enable Geolocation (except on Tiger and Leopard).
* Scripts/build-webkit:
2009-03-02 Kevin Ollivier <kevino@theolliviers.com>
Build fixes for wxWidgets Mac trunk build.
* wx/build-wxwebkit:
2009-03-02 Timothy Hatcher <timothy@apple.com>
Allow for multiline quoted text in JavaScript files when looking for function names.
https://bugs.webkit.org/show_bug.cgi?id=24296
Reviewed by David Kilzer.
* Scripts/prepare-ChangeLog:
2009-03-02 Adam Treat <adam.treat@torchmobile.com>
Reviewed by Eric Seidel.
Add three new drt helper functions that enable all of the tests in
LayoutTests/animation/* and LayoutTests/transitions/* to now pass.
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::pauseAnimationAtTimeOnElementWithId):
(LayoutTestController::pauseTransitionAtTimeOnElementWithId):
(LayoutTestController::numberOfActiveAnimations):
* DumpRenderTree/qt/jsobjects.h:
2009-03-02 Adam Roben <aroben@apple.com>
Windows build fix after r41349
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::getChildrenWithRange):
2009-03-01 Chris Fleizach <cfleizach@apple.com>
Reviewed by Oliver Hunt.
Bug 24282: AX Palindrome error when asking for a specific index of the AXChildren array
Change getChildAtIndex() to get a range of children instead of all the children.
This exercises code in WebCore that returns elements when asked for from a range.
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::getChildrenWithRange):
(AccessibilityUIElement::getChildAtIndex):
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::getChildrenWithRange):
2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Holger Freyther.
[Gtk] get the HTTP layout tests going
https://bugs.webkit.org/show_bug.cgi?id=24259
Determine the frame's response and decide whether to dump as text
or the render tree
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dump):
2009-03-01 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Holger Freyther.
[Gtk] get the HTTP layout tests going
https://bugs.webkit.org/show_bug.cgi?id=24259
Implement dumping of WebKitWebBackForwardList and its history
items.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(compareHistoryItems):
(dumpHistoryItem):
(dumpBackForwardListForWebView):
(dump):
(runTest):
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::clearBackForwardList):
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
(BackForwardItem::invoke):
2009-02-28 Zan Dobersek <zandobersek@gmail.com>
Reviewed by Holger Freyther.
Set the resolution for the default screen to 72.0.
This way, setting font sizes results in expected values.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(setDefaultsToConsistentStateValuesForTesting):
2009-02-28 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Holger Freyther.
Adds a WebKitMakeArguments environment variable to enable passing
of arguments such as '-j2' to make for the autotools build.
* Scripts/webkitdirs.pm:
2009-02-28 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Holger Freyther.
Add a GTK+-only option to enable GNOME Keyring when building.
* Scripts/build-webkit:
2009-02-28 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Holger Freyther.
[Gtk] webkitdirs.pm modify path in when detecting 3D transforms and accelerated compositing
https://bugs.webkit.org/show_bug.cgi?id=24076
Refactor gtk lib detection and put it in builtDylibPathForName
* Scripts/webkitdirs.pm:
2009-02-28 Christian Dywan <christian@twotoasts.de>
Rubber-stamped by Holger Freyther.
* GtkLauncher/main.c:
(activate_uri_entry_cb):
(main): Use the new webkit_web_view_load_uri to open URIs.
2009-02-27 Xan Lopez <xan@gnome.org>
Rubber-stamped by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=24222
[GTK] Remove checks for old glib versions
libsoup, which is a hard dependency, needs at least glib 2.15.3,
so remove all glib checks for versions older than that.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setWaitToDump):
2009-02-25 Simon Fraser <simon.fraser@apple.com>
Reviewed by Eric Seidel
Fix spew about a WebView being deallocated while key value observers are
still registered with it by making sure that we always stop observing
_isUsingAcceleratedCompositing in -[DumpRenderTreeWindow close].
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree):
* DumpRenderTree/mac/DumpRenderTreeWindow.mm:
(-[DumpRenderTreeWindow close]):
2009-02-25 Adam Treat <adam.treat@torchmobile.com>
Reviewed by Alexey Proskuryakov.
Do not queue the calls to 'DumpRenderTree::dump()' as this can result
in more than one call as a test that calls 'notifyDone()' can then be
subsequently fully loaded and initiate a second dump. Also make sure
to stop any existing page load that is happening before running the next
test. Combined this serves to produce 217 more passing tests for the
Qt port or roughly 5% at this point.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
2009-02-25 Simon Fraser <simon.fraser@apple.com>
Reviewed by Dan Bernstein
https://bugs.webkit.org/show_bug.cgi?id=23854
Have the DumpRenderTreeWindow observe the -_isUsingAcceleratedCompositing
property of the WebView, and use that to turn -autodisplay on and off.
This is necessary so that accelerated animations start correctly.
We can thus remove the -display hack in createBitmapContextFromWebView().
* DumpRenderTree/mac/DumpRenderTree.mm:
(createWebViewAndOffscreenWindow):
(dumpRenderTree):
* DumpRenderTree/mac/DumpRenderTreeWindow.h:
* DumpRenderTree/mac/DumpRenderTreeWindow.mm:
(-[DumpRenderTreeWindow close]):
(-[DumpRenderTreeWindow webView]):
(-[DumpRenderTreeWindow startObservingWebView]):
(-[DumpRenderTreeWindow stopObservingWebView]):
(-[DumpRenderTreeWindow observeValueForKeyPath:ofObject:change:context:]):
* DumpRenderTree/mac/PixelDumpSupportMac.mm:
(createBitmapContextFromWebView):
2009-02-25 Adam Treat <adam.treat@torchmobile.com>
Reviewed by Zack Rusin.
https://bugs.webkit.org/show_bug.cgi?id=24158
Implement the queue*() methods of the layoutTestController and begin
implementing the dump of the back/forward list. This results in 2% more
tests passing as well as 23 currently skipped tests now passing.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::dumpBackForwardList):
(WebCore::DumpRenderTree::dump):
* DumpRenderTree/qt/DumpRenderTree.h:
* DumpRenderTree/qt/DumpRenderTree.pro:
* DumpRenderTree/qt/jsobjects.cpp:
(findFrameNamed):
(LoadItem::invoke):
(ReloadItem::invoke):
(ScriptItem::invoke):
(BackForwardItem::invoke):
(LayoutTestController::reset):
(LayoutTestController::processWork):
(LayoutTestController::maybeDump):
(LayoutTestController::queueBackNavigation):
(LayoutTestController::queueForwardNavigation):
(LayoutTestController::queueLoad):
(LayoutTestController::queueReload):
(LayoutTestController::queueScript):
* DumpRenderTree/qt/jsobjects.h:
(LayoutTestController::shouldDumpBackForwardList):
(LayoutTestController::dumpBackForwardList):
2009-02-24 Adam Treat <adam.treat@torchmobile.com>
Reviewed by Alexey Proskuryakov.
Don't print out that you are generating new results if you are not in fact
generating new results and disable generating new results by default for
the all ports other than the canonical Apple Mac port since this can litter
the source directory with hundreds of new results since other ports
are not as up to date.
* Scripts/run-webkit-tests:
2009-02-24 Adam Treat <adam.treat@torchmobile.com>
Reviewed by Cameron Zwarich.
The Qt port does not support these yet nor does the nm check work with
QMake based build.
* Scripts/webkitdirs.pm:
2009-02-24 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Alexey Proskuryakov.
[Gtk] add options for 3D transforms and HTML5 channel messaging to the build
https://bugs.webkit.org/show_bug.cgi?id=24072
Allow toggling of 3D transforms and HTML5 channel messaging
support for the Autotools (Gtk) build.
Also add '--gtk' in the build-webkit help doc and fix autotools
option for web-workers support.
* Scripts/build-webkit:
2009-02-23 Xan Lopez <xan@gnome.org>
Reviewed by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=22624
[SOUP][GTK] Need API to get SoupSession from WebKit.
Add soup flags now that dependency is explicit.
* GNUmakefile.am:
2009-02-22 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver Hunt.
Fix assertion failures in editing/pasteboard/paste-RTFD.html and editing/pasteboard/paste-TIFF.html in 64-bit.
* DumpRenderTree/mac/DumpRenderTree.mm:
(swizzleAllMethods): When adding a new method to a class, use the implementation and type of the new method rather
than of an arbitrary existing method on the class.
2009-02-13 Eric Seidel <eric@webkit.org>
Rubber-stamped by Alexey Proskuryakov.
Add a few ignores to make-js-test-wrappers.
* Scripts/make-js-test-wrappers:
2009-02-17 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Alexey Proskuryakov.
Prepend file:// to the test result filename to make
GtkLauncher display the result page.
* Scripts/run-webkit-tests:
2009-02-16 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Adam Roben
Actually use the installation prefix defined in WebKitInstallationPrefix,
in autotools builds.
* Scripts/webkitdirs.pm:
2009-02-12 Simon Fraser <simon.fraser@apple.com>
No review.
Remove debugging code which was committed by mistake.
* Scripts/run-webkit-tests:
2009-02-12 Simon Fraser <simon.fraser@apple.com>
Reviewed by Adam Roben
https://bugs.webkit.org/show_bug.cgi?id=23928
Add detection of accelerated compositing and 3d transforms,
and add various directories to $ignoredDirectories when these
features are off.
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2009-02-12 Adam Roben <aroben@apple.com>
Fix Bug 23922: Warning message from run-webkit-tests when Skipped file
contains non-existent tests is confusing and is given for disabled
tests
<https://bugs.webkit.org/show_bug.cgi?id=23922>
We now no longer warn about disabled tests. The warning now reads:
Skipped list contained '$item', but no file of that name could be
found
Reviewed by John Sullivan.
* Scripts/run-webkit-tests:
(top level): Pass the list name to processIgnoreTests so it can print
out a reasonable warning message.
(processIgnoreTests): Take a list name as a second parameter and use
it to display a better warning message. Also check for a "-disabled"
version of the test before warning about it not existing.
2009-02-11 Adam Roben <aroben@apple.com>
Windows fix for Bug 22239: Implement missing animation & transition
APIs on LayoutTestController for non-mac platforms
<https://bugs.webkit.org/show_bug.cgi?id=22239>
Reviewed by Simon Fraser.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::pauseAnimationAtTimeOnElementWithId):
(LayoutTestController::pauseTransitionAtTimeOnElementWithId):
(LayoutTestController::numberOfActiveAnimations):
Implemented these by calling through to IWebFramePrivate.
2009-02-10 Chris Marrin <cmarrin@apple.com>
Reviewed by Simon Fraser.
* Scripts/build-webkit:
https://bugs.webkit.org/show_bug.cgi?id=23883
Added support --3d-transforms. Defaults to off
2009-02-11 Adam Roben <aroben@apple.com>
Fix crashes in http/tests/history/redirect-301.pl and friends on
Windows
Reviewed by Alexey Proskuryakov.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::webHistoryItemCount): Null-check the shared
WebHistory instance before dereferencing it.
2009-02-10 Adam Roben <aroben@apple.com>
Fix Bug 23869: Pixel tests can't be run on Windows
<https://bugs.webkit.org/show_bug.cgi?id=23869>
This patch gets the pixel tests limping along on Windows again.
Reviewed by Dan Bernstein.
* DumpRenderTree/DumpRenderTree.sln: Changed to use the new
Debug_Internal configuration of ImageDiff in the Debug_Internal
configuration of this solution.
* DumpRenderTree/cg/PixelDumpSupportCG.cpp:
(printPNG): Changed to call fwrite in a loop, since this call was
failing due to the buffer being too large on Windows.
(dumpWebViewAsPixelsAndCompareWithExpected): Removed an unnecessary
#if PLATFORM(MAC)/#endif.
* DumpRenderTree/win/ImageDiff.vcproj: Added a Debug_Internal
configuration that matches the Debug configuration but also references
debug_internal.vsprops.
* DumpRenderTree/win/PixelDumpSupportWin.cpp:
(createBitmapContextFromWebView): Renamed from
getBitmapContextFromWebView to match the name used in the
cross-platform code.
2009-02-10 Adam Roben <aroben@apple.com>
Robustify DumpRenderTree/win a little
DumpRenderTree was previously not holding a ref to the WebViews it
created via window.open. It was getting away with this because
WebViews get reffed by being preference notification observers and by
registering for drag-n-drop messages. Now DRT does hold a ref, in case
this situation changes in the future.
Reviewed by Alexey Proskuryakov.
* DumpRenderTree/win/DumpRenderTree.cpp:
(dumpBackForwardListForAllWindows): Added a .get().
(windowToWebViewMap): Changed to use the WindowToWebViewMap typedef.
* DumpRenderTree/win/DumpRenderTreeWin.h: Changed the
windowToWebViewMap() to hold a ref to the WebViews it contains.
2009-02-05 Simon Fraser <simon.fraser@apple.com>
Fix the #include file order, per review comments.
* DumpRenderTree/mac/PixelDumpSupportMac.mm:
2009-02-05 Simon Fraser <simon.fraser@apple.com>
Reviewed by Dan Bernstein
https://bugs.webkit.org/show_bug.cgi?id=23362
If the WebHTMLView uses accelerated compositing, we need for force
the on-screen capture path and also force animations to start with -display
since the DRT window has autodisplay disabled.
* DumpRenderTree/mac/PixelDumpSupportMac.mm:
(createBitmapContextFromWebView):
2009-02-03 miggilin <mr.diggilin@gmail.com>
Reviewed by Darin Adler.
Change the way wxWidgets build gets arguments.
Change "checkForArgumentAndRemoveFromARGV" in build-webkit to check if the
argument passed matches one in ARGV exactly (allows, ie, --wx-args not to be
removed when --wx is checked for).
https://bugs.webkit.org/show_bug.cgi?id=23701
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2009-01-30 Chris Fleizach <cfleizach@apple.com>
Reviewed by Oliver Hunt.
Catch exceptions thrown by AppKit when accessing an attribute than an element
doesn't return.
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(attributesOfElement):
2009-01-29 David Kilzer <ddkilzer@apple.com>
Remove semi-colons from the end of ObjC method implementations
Rubber-stamped by Adam Roben.
$ find WebKitTools -name \*.m -o -name \*.mm -exec perl -e 'undef $/; $s = <>; while ($s =~ m/[\n\r][-+].*;[\s\r\n]+\{/g) { print "$ARGV: $&\n"; }' {} \;
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
(-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
(-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
(-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webViewFrame:]):
2009-01-28 Geoffrey Garen <ggaren@apple.com>
Build fix for GTK.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::webHistoryItemCount):
2009-01-28 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Added support for querying how many history items were created during a
layout test.
* DumpRenderTree/LayoutTestController.cpp:
(getWebHistoryItemCountCallback):
(LayoutTestController::staticValues):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::webHistoryItemCount):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::webHistoryItemCount):
2009-01-26 Pierre-Olivier Latour <pol@apple.com>
Tweaked again earlier fix, this time just to print a warning and not abort if
attempting to generate pixel results and Perian is installed.
https://bugs.webkit.org/show_bug.cgi?id=22615
* Scripts/run-webkit-tests:
2009-01-26 Christian Dywan <christian@twotoasts.de>
Rubber stamped by Holger Freyther.
* GtkLauncher/main.c:
(main): Initialize threads, which is required for libSoup.
2009-01-23 David Kilzer <ddkilzer@apple.com>
* Scripts/do-webcore-rename: Removed 10 header guard renames that
had already been fixed, and updated 4 renames whose original values
had changed.
2009-01-22 Anders Carlsson <andersca@apple.com>
Fix Windows build.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
2009-01-22 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Clean up the test plug-in code. We now always use the CG drawing model and the
Cocoa event model. It is however possible to revert to the old Carbon event model by
specifying forcecarbon=true in the embed/object tag.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
(NPP_New):
(handleEventCarbon):
(handleEventCocoa):
(NPP_HandleEvent):
2009-01-21 Pierre-Olivier Latour <pol@apple.com>
Tweaked earlier fix to only print a warning when Perian is installed,
and fail completely only if attempting to generate new pixel test results.
https://bugs.webkit.org/show_bug.cgi?id=23392
* Scripts/run-webkit-tests:
2009-01-20 Darin Adler <darin@apple.com>
Reviewed by Alexey Proskuryakov.
Bug 23450: string leaks seen in DumpRenderTree accessibility test code
https://bugs.webkit.org/show_bug.cgi?id=23450
* DumpRenderTree/AccessibilityUIElement.cpp:
(isAttributeSettableCallback): Add the missing JSStringRelease call.
(attributeValueCallback): Ditto.
2009-01-20 Pierre-Olivier Latour <pol@apple.com>
Reviewed by Darin Adler.
Print warning regarding display color profile change in run-webkit-tests instead of DRT.
https://bugs.webkit.org/show_bug.cgi?id=23392
* DumpRenderTree/mac/PixelDumpSupportMac.mm:
(setupMainDisplayColorProfile):
* Scripts/run-webkit-tests:
2009-01-20 Pierre-Olivier Latour <pol@apple.com>
Reviewed by Darin Adler.
Changed run-webkit-tests to abort on the Mac if pixel tests are enabled and Perian is installed,
in order to avoid result differences in some media tests.
https://bugs.webkit.org/show_bug.cgi?id=22615
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2009-01-19 Sam Weinig <sam@webkit.org>
* Scripts/do-webcore-rename: Add JSValuePtr and ProtectedJSValuePtr.
2009-01-16 Gabor Loki <loki@inf.u-szeged.hu>
Reviewed by Darin Adler.
* Scripts/webkitdirs.pm: Added '--makeargs' parameter which can pass additional
parameters to make command in QMake projects.
2009-01-16 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin.
Add AX methods to retrieve the parent of an element.
* DumpRenderTree/AccessibilityUIElement.cpp:
(parentElementCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::parentElement):
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::parentElement):
2009-01-16 Anders Carlsson <andersca@apple.com>
Reviewed by Adam Roben.
Set the count to the right number of elements.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
(testEnumerate):
2009-01-14 David Kilzer <ddkilzer@apple.com>
BUILD FIX: Use COM API on Windows in LayoutTestController::setIconDatabaseEnabled()
Rubber-stamped by Alice Liu.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setIconDatabaseEnabled): Use COM API
to get the shared WebIconDatabase.
2009-01-14 Jeremy Moskovich <jeremy@chromium.org>
Reviewed by Eric Seidel.
<https://bugs.webkit.org/show_bug.cgi?id=16829>
Implement NPN_SetException()
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(pluginInvoke):
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
(initializeIdentifiers):
(testHasMethod):
(testInvoke):
2009-01-13 Dmitry Titov <dimich@chromium.org>
Reviewed by David Kilzer.
https://bugs.webkit.org/show_bug.cgi?id=23304
Fix svn-apply to match svn-unapply to recognize added files in 'git diff' patches.
* Scripts/svn-apply: Added a check (similar to svn-unapply) to recognize added files.
2009-01-14 David Kilzer <ddkilzer@apple.com>
BUILD FIX: Implement LayoutTestController::setIconDatabaseEnabled(bool) for GTK
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(runTest): Added call to reset the icon database to match Mac
and Windows ports.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setIconDatabaseEnabled): Implemented
stub method.
2009-01-14 David Kilzer <ddkilzer@apple.com>
Bug 22795: favicons should be saved to webarchives
<https://bugs.webkit.org/show_bug.cgi?id=22795>
Reviewed by Darin Adler.
* DumpRenderTree/LayoutTestController.cpp:
(setIconDatabaseEnabledCallback): Added.
(setJavaScriptProfilingEnabledCallback): Realphabetized.
(LayoutTestController::staticFunctions): Added entry for calling
LayoutTestController.setIconDatabaseEnabled(bool) from JavaScript.
* DumpRenderTree/LayoutTestController.h:
(setIconDatabaseEnabledCallback): Added declaration.
(setJavaScriptProfilingEnabledCallback): Realphabetized.
* DumpRenderTree/mac/DumpRenderTree.mm:
(runTest): Disable the icon database before each test.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setIconDatabaseEnabled): Added.
(LayoutTestController::setJavaScriptProfilingEnabled): Realphabetized.
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest): Disable the icon database before each test.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setIconDatabaseEnabled): Added.
2009-01-14 Steve Falkenburg <sfalken@apple.com>
Update copyright year in version resources.
Reviewed by Adam Roben.
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
2009-01-14 Dan Bernstein <mitz@apple.com>
Reviewed by John Sullivan.
- update copyright
* DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist:
* WebKitLauncher/Info.plist:
2009-01-13 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
Add NPRuntime test.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(testNPRuntime):
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
(NPP_New):
(NPP_GetValue):
2009-01-12 Mark Rowe <mrowe@apple.com>
Use the modern spelling of WebKit.
* Scripts/find-extra-includes:
* Scripts/report-include-statistics:
* Scripts/run-webkit-app:
* Scripts/svn-unapply:
* Scripts/update-webkit:
2009-01-11 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Updated so it won't overwrite tests in the svg/dom
directory that aren't using standard wrappers.
2009-01-11 Robert Blaut <webkit@blaut.biz>
Reviewed by Eric Seidel.
<https://bugs.webkit.org/show_bug.cgi?id=23134>
Update bisect-builds for Safari 3.2 to prevent crashes
* Scripts/bisect-builds: Added Safari 3.2 and the corresponding minimal revision, r37348.
2009-01-08 Adam Treat <adam.treat@torchmobile.com>
Reviewed by Simon Hausmann.
Explicitly set these so that the layout tests do not break.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::WebPage):
2009-01-07 Glenn Wilson <gwilson@chromium.org>
Reviewed by Eric Seidel.
Changed DumpRenderTree to re-enable Javascript in web preferences on every test.
This fixes the case when a user mistakenly disables Javascript, and all layout tests crash.
* DumpRenderTree/mac/DumpRenderTree.mm:
(testStringByEvaluatingJavaScriptFromString):
(setDefaultsToConsistentValuesForTesting):
2009-01-07 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Maciej Stachowiak.
Implement numberOfActiveAnimations to fix the build
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::numberOfActiveAnimations):
2009-01-07 Adam Treat <adam.treat@torchmobile.com>
Reviewed by George Staikos.
Fix unused variable warnings
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::javaScriptAlert):
(WebCore::WebPage::javaScriptConfirm):
(WebCore::WebPage::javaScriptPrompt):
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::maybeDump):
* DumpRenderTree/qt/main.cpp:
(get_backtrace):
* DumpRenderTree/qt/testplugin.cpp:
(TestPlugin::create):
2009-01-06 Pierre-Olivier Latour <pol@apple.com>
Reviewed by Darin Adler.
Added new JS API numberOfActiveAnimations() that returns the number of active CSS transitions & animations.
This effectively exposes the new AnimationController::numberOfActiveAnimations() API from WebCore.
https://bugs.webkit.org/show_bug.cgi?id=23126
* DumpRenderTree/LayoutTestController.cpp:
(numberOfActiveAnimationsCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::numberOfActiveAnimations):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::numberOfActiveAnimations):
2009-01-04 David Kilzer <ddkilzer@apple.com>
Don't install internal headers in WebKit framework
Reviewed by Darin Adler.
Since WebHTMLRepresentationInternal.h and WebTypesInternal.h are
no longer installed in WebKit.framework/PrivateHeaders, use the
special relationship of DumpRenderTree within the WebKit source
tree to include the internal headers through relative paths.
Created the concept of mac/InternalHeaders to hide the ugly
paths.
* DumpRenderTree/mac/Configurations/Base.xcconfig: Added
mac/InternalHeaders to HEADER_SEARCH_PATHS.
* DumpRenderTree/mac/InternalHeaders/WebKit/WebHTMLRepresentationInternal.h: Added.
* DumpRenderTree/mac/InternalHeaders/WebKit/WebTypesInternal.h: Added.
2009-01-02 Adam Treat <treat@kde.org>
Reviewed by George Staikos.
Add support for fixedLayoutSize to the qt DRT
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::setFixedLayoutSize):
(LayoutTestController::setUseFixedLayout):
* DumpRenderTree/qt/jsobjects.h:
2009-01-03 David D. Kilzer <ddkilzer@webkit.org>
Bug 23091: Some webarchive http tests intermittently fail due to Connection/Keep-Alive header differences
<https://bugs.webkit.org/show_bug.cgi?id=23091>
Reviewed by Darin Adler.
* DumpRenderTree/mac/DumpRenderTree.mm:
(normalizeHTTPResponseHeaderFields): Remove Keep-Alive and
Connection headers from webarchive results.
2008-12-31 Zan Dobersek <zandobersek@gmail.com>
Reviewed by Holger Freyther.
https://bugs.webkit.org/show_bug.cgi?id=22812
Prevent TestNetscapePlugin from installing system-wide.
* GNUmakefile.am:
2008-12-31 Zan Dobersek <zandobersek@gmail.com>
Reviewed by Holger Freyther.
https://bugs.webkit.org/show_bug.cgi?id=22842
Move WebKitWebView's size allocation into a proper place.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dump):
(runTest):
2008-12-24 Mark Rowe <mrowe@apple.com>
Reviewed by Timothy Hatcher.
Move the guts of determineCurrentSVNRevision to VCSUtils as svnRevisionForDirectory,
and make it work for git too.
* Scripts/VCSUtils.pm:
* Scripts/webkitdirs.pm:
2008-12-22 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
Reviewed by George Staikos.
Ignore http/tests/wml, if no WML support is present.
Add http/tests/wml to list of HTTP tests, allowed to access local resources.
* Scripts/run-webkit-tests:
2008-12-19 David Levin <levin@chromium.org>
Reviewed by Mark Rowe.
https://bugs.webkit.org/show_bug.cgi?id=22930
Make the git diff command used for preparing the change log avoid using any external diff tools.
* Scripts/prepare-ChangeLog:
2008-12-19 Gustavo Noronha Silva <gns@gnome.org>
Reviewed by Holger Freyther.
https://bugs.webkit.org/show_bug.cgi?id=22686
Added files which were missing from the TestNetscapePlugin
directory to the SOURCES variable, so that they will be
distributed in a make dist.
* GNUMakefile.am:
2008-12-18 Cameron Zwarich <zwarich@apple.com>
Reviewed by Geoff Garen.
Add tests for bug 21855: REGRESSION (r37323): Gmail complains about popup blocking when opening a link
<https://bugs.webkit.org/show_bug.cgi?id=21855>
<rdar://problem/6278244>
Add support for scheduling asynchronous clicks to DumpRenderTree, but
only on the Mac.
* DumpRenderTree/mac/EventSendingController.h:
* DumpRenderTree/mac/EventSendingController.mm:
(+[EventSendingController isSelectorExcludedFromWebScript:]): Expose
scheduleAsynchronousClick to JavaScript.
(-[EventSendingController scheduleAsynchronousClick]): Add.
2008-12-15 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Added another exception to avoid overwriting
a custom-written test.
2008-12-15 Simon Hausmann <hausmann@webkit.org>
Reviewed by Holger Freyther.
Implement setJavaScriptProfilingEnabled in the Qt DRT to pass fast/profiler.
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::setJavaScriptProfilingEnabled):
* DumpRenderTree/qt/jsobjects.h:
2008-12-13 Zan Dobersek <zandobersek@gmail.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=22039
Implement animation and transition pausing.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::pauseAnimationAtTimeOnElementWithId):
(LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2008-12-12 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Adam Roben.
https://bugs.webkit.org/show_bug.cgi?id=22809
Increase timeout in call to initWithURL so that people actually see
new web pages when they type URLs rather than a blank screen.
* WinLauncher/WinLauncher.cpp:
(loadURL): Increase timeout in initWithURL from 0 to 60 seconds.
2008-12-12 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Add a renaming idea.
2008-12-12 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Simon Hausmann.
Update the WebKit.qrc and add a script to automatically generate the file.
With the way rcc and qmake work this can not be done at build time
as the WebKit.qrc must sit inside the directory that contains the files
and at build time we may not change the content of the source directory.
* Scripts/generate-qt-inspector-resource: Added.
2008-12-11 Cameron Zwarich <zwarich@apple.com>
Rubber-stamped by Mark Rowe.
Roll out r39212 due to assertion failures during layout tests, multiple
layout test failures, memory leaks, and obvious incorrectness.
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting):
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2008-12-10 Glenn Wilson <gwilson@google.com>
Reviewed by Adam Roben.
Changed LayoutTestController and DumpRenderTree to allow for manual
overriding of default preferences at test time. Also added support for
resetting the preferences after each test.
https://bugs.webkit.org/show_bug.cgi?id=20534
* DumpRenderTree/LayoutTestController.cpp: Added callback method for overriding preferences
* DumpRenderTree/LayoutTestController.h: Added signature for callback
* DumpRenderTree/win/DumpRenderTree.cpp: Added calls to reset preferences after each test if necessary
* DumpRenderTree/win/LayoutTestControllerWin.cpp: Added JS override function
* DumpRenderTree/mac/DumpRenderTree.mm: Added calls to reset preferences after each test if necessary
* DumpRenderTree/mac/LayoutTestControllerMac.mm: Added JS override function
2008-12-10 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler.
Implement the new policy delegate (including navigation type and permissive mode) for DRT/win
* DumpRenderTree/win/DumpRenderTree.cpp:
* DumpRenderTree/win/DumpRenderTreeWin.h:
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setCustomPolicyDelegate):
* DumpRenderTree/win/PolicyDelegate.cpp:
(PolicyDelegate::PolicyDelegate):
(PolicyDelegate::decidePolicyForNavigationAction):
* DumpRenderTree/win/PolicyDelegate.h:
(PolicyDelegate::setPermissive):
2008-12-10 Brady Eidson <beidson@apple.com>
Reviewed by Darin
Change the custom policy delegate to actually allow navigation for tests that need it.
The new behavior is opt-in and doesn't require any changes in old tests.
* DumpRenderTree/LayoutTestController.cpp:
(setCustomPolicyDelegateCallback): Allow for a second boolean argument to set the permissive flag on the custom
policy delegate, which will be false by default to maintain original behavior.
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setCustomPolicyDelegate):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setCustomPolicyDelegate): Partially stubbed out for now.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setCustomPolicyDelegate): Still stubbed out, but with new param.
* DumpRenderTree/mac/PolicyDelegate.h:
* DumpRenderTree/mac/PolicyDelegate.mm:
(-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]): If the permissive flag
is set, allow the navigation.
(-[PolicyDelegate setPermissive:]): Change the behavior between "use" and "ignore" - allowing navigation or not.
2008-12-09 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Ada Chan.
Fix gdb-safari on Tiger.
gdb on Tiger does not take the -arch flag, so do not pass it.
* Scripts/gdb-safari:
2008-12-09 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
Reviewed by Alexey Proskuryakov.
Ignore WML tests, if no WML support available.
* Scripts/run-webkit-tests:
2008-12-08 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Added a shortcut for --jsDriver-args, which I use a lot.
* Scripts/run-javascriptcore-tests:
2008-12-08 Stephanie Lewis <slewis@apple.com>
Fix Tiger build.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
2008-12-08 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
- test machinery for https://bugs.webkit.org/show_bug.cgi?id=22409
REGRESSION: cmd-shift-left/right don't switch tabs, instead select text
* DumpRenderTree/LayoutTestController.cpp:
(isCommandEnabledCallback): Added.
(LayoutTestController::staticFunctions): Added "isCommandEnabled".
* DumpRenderTree/LayoutTestController.h: Ditto.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::isCommandEnabled): Ditto.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(-[CommandValidationTarget initWithAction:]): Added. Used to get the
command validation system to tell us if a comment is enabled.
(-[CommandValidationTarget action]): Ditto.
(-[CommandValidationTarget tag]): Ditto.
(LayoutTestController::isCommandEnabled): Ditto.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::isCommandEnabled): Ditto.
2008-12-08 David Kilzer <ddkilzer@apple.com>
Bug 22555: Sort "children" sections in Xcode project files
<https://bugs.webkit.org/show_bug.cgi?id=22555>
Reviewed by Eric Seidel.
* DrawTest/DrawTest.xcodeproj/project.pbxproj: Sorted.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Sorted.
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Sorted.
2008-12-08 David Kilzer <ddkilzer@apple.com>
Bug 22555: Sort "children" sections in Xcode project files
<https://bugs.webkit.org/show_bug.cgi?id=22555>
Reviewed by Timothy Hatcher.
* Scripts/sort-Xcode-project-file: By popular request, don't sort
the mainGroup in the project (the list of items below the top-level
project file).
2008-12-05 David Kilzer <ddkilzer@apple.com>
Bug 22555: Sort "children" sections in Xcode project files
<https://bugs.webkit.org/show_bug.cgi?id=22555>
Reviewed by Darin Adler.
Sort "children" sections alphabetically, moving groups (folders) to
the top of each of the lists. Files are assumed to have extensions,
so %isFile is used to override this behavior.
* Scripts/sort-Xcode-project-file:
(sortChildrenByFileName): Added.
(sortFilesByFileName): Renamed from sortByFileName().
2008-12-05 Eric Seidel <eric@webkit.org>
Reviewed by Geoff Garen.
https://bugs.webkit.org/show_bug.cgi?id=22683
Fix gtk and qt builds which depend on --qt and --gtk being removed from ARGV
Add a new argumentsForConfiguration() function and clean up some old code to use it.
Rename checkArgV to checkForArgumentAndRemoveFromARGV to be more self-documenting.
* Scripts/run-javascriptcore-tests:
* Scripts/run-launcher:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-12-03 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
Reviewed by Cameron Zwarich.
Further preparations for WML layout tests.
Ignore WMLTestCase.js, that's going to be in trunk soon.
* Scripts/make-js-test-wrappers:
2008-12-03 Eric Seidel <eric@webkit.org>
Build fix for --gtk and --chromium, no review.
Fix run-javascriptcore-tests to pass --gtk, --qt, --chromium, etc.
through to build-jsc.
* Scripts/build-jsc:
* Scripts/webkitdirs.pm:
2008-12-03 Eric Seidel <eric@webkit.org>
Build fix only, no review.
Remove support for build-webkit --svg-experimental.
All of the "experimental" svg features have their own toggles anyway.
I broke --svg-experimental in my last commit (which then broke clean builds)
I can't find any use of --svg-experimental in our source tree, so removing it.
* Scripts/build-webkit:
2008-12-02 Eric Seidel <eric@webkit.org>
Reviewed by David Hyatt (and Mark Rowe).
Move --coverage support from build-webkit to webkitdirs.pm to share it with build-jsc
Move --coverage support out of run-javascriptcore-tests and into build-jsc
Finally add a buildXCodeProject function to webkitdirs.pm and move --clean support
there from build-webkit (to allow future sharing with other build-* scripts)
Change run-javascriptcore-tests to expect a --jsDriver-args= argument instead of
picking through ARGV with a blacklist of what arguments weren't jsDriver args
this makes run-javascriptcore-tests transparently support all arguments which
webkitdirs.pm gives it support for.
Make run-javascriptcore-tests actually print what commands it's running before running them.
Add --help support to build-jsc and run-javascriptcore-tests!
Make code to support --svg-experimental defaults take up half as many lines.
* Scripts/build-jsc:
* Scripts/build-webkit:
* Scripts/run-javascriptcore-tests:
* Scripts/webkitdirs.pm:
2008-12-03 Adam Roben <aroben@apple.com>
Fix a leak in WinLauncher shutdown
Reviewed by Sam Weinig.
* WinLauncher/WinLauncher.cpp:
(_tWinMain): Replaced a delete with a Release. We can't delete the
WebView properly since we only have a pointer to one of its
interfaces. We also shouldn't be deleting COM objects directly anyway,
for a number of reasons.
2008-12-03 Adam Roben <aroben@apple.com>
Fix a crash on exit in WinLauncher
Reviewed by Sam Weinig.
* WinLauncher/WinLauncher.cpp:
(_tWinMain): Call shutDownWebKit before exiting.
2008-12-03 Adam Roben <aroben@apple.com>
Add a Debug_Internal configuration to WinLauncher
This matches our other projects.
Reviewed by Sam Weinig.
* WinLauncher/WinLauncher.vcproj: Added a Debug_Internal
configuration, which is identical to Debug except that it also
references debug_internal.vsprops. Also removed some settings that we
should be picking up from the .vsprops files.
2008-12-02 Eric Seidel <eric@webkit.org>
Reviewed by David Kilzer.
Hack build-webkit --chromium to use Win32 python instead
of using the default cygwin python. Scons + CYGWIN tries
to build with GCC by default, we force MSVC in our file
but that just results in errors from Scons. Until we can fix
this latest round of errors, at least make build-webkit --chromium
actually "work" under CYGWIN instead of forcing users to use
a cmd shell directly.
This is working around a Scons bug:
http://scons.tigris.org/issues/show_bug.cgi?id=2266
* Scripts/webkitdirs.pm:
2008-12-01 David Kilzer <ddkilzer@apple.com>
Bug 22466: REGRESSION (35867): Many resources missing when saving webarchive of webkit.org
<https://bugs.webkit.org/show_bug.cgi?id=22466>
<rdar://problem/6403593>
Reviewed by Brady Eidson.
* DumpRenderTree/mac/DumpRenderTree.mm:
(normalizeHTTPResponseHeaderFields): Added. Normalizes Date, Etag,
Keep-Alive, Last-Modified and Server header fields to prevent false
positive test failures.
(convertWebResourceResponseToDictionary): Call
normalizeHTTPResponseHeaderFields() to noramlize HTTP response
header fields.
2008-12-01 David D. Kilzer <ddkilzer@webkit.org>
Bug 22559: Report builds left to test in bisect-builds (like git-bisect)
<https://bugs.webkit.org/show_bug.cgi?id=22559>
Reviewed by Adam Roben.
* Scripts/bisect-builds: Updated status message to report the
maximum number of builds left to test after the current one.
(max): Added.
2008-11-27 Alp Toker <alp@nuanti.com>
Build GtkLauncher and minidom with the '-ansi' compiler flag to detect
API header breakage at build time.
* GNUmakefile.am:
2008-11-26 Eric Seidel <eric@webkit.org>
Reviewed by Nikolas Zimmermann and Mark Rowe.
Add support for build-webkit --chromium
https://bugs.webkit.org/show_bug.cgi?id=22515
More cleanups changing isCygwin calls to isAppleWinWebKit and deploying isAppleWebKit where necessary.
* Scripts/build-dumprendertree:
* Scripts/build-jsc:
* Scripts/build-webkit:
* Scripts/gdb-safari:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-11-26 Eric Seidel <eric@webkit.org>
Reviewed by Nikolas Zimmermann.
Add support for build-webkit --chromium (tested on mac)
https://bugs.webkit.org/show_bug.cgi?id=22515
Also simplified some code using checkArgv
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2008-11-26 Eric Seidel <eric@webkit.org>
Reviewed by Nikolas Zimmermann.
More pre-work for adding a build-webkit --chromium which works on Mac and Windows
https://bugs.webkit.org/show_bug.cgi?id=22515
Change a few calls to isCygwin to isAppleWinWebKit and a few calls to isAppleMacWebKit to isDarwin
in preparation for having a chromium cygwin and chromium mac build
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2008-11-26 Eric Seidel <eric@webkit.org>
Reviewed by Nikolas Zimmermann.
Pre-work for getting build-webkit --chromium to work
https://bugs.webkit.org/show_bug.cgi?id=22515
Rename isOSX to isAppleMacWebKit to match what the code does, and add isChromium()
* Scripts/build-dumprendertree:
* Scripts/build-jsc:
* Scripts/build-webkit:
* Scripts/gdb-safari:
* Scripts/run-javascriptcore-tests:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-11-26 David Kilzer <ddkilzer@apple.com>
Bug 22488: Make DRT smarter about charset encoding when post-processing webarchive content
<https://bugs.webkit.org/show_bug.cgi?id=22488>
Reviewed by Brady Eidson.
* DumpRenderTree/mac/DumpRenderTree.mm:
(convertWebResourceDataToString): If an IANA charset encoding string
is provided, convert it to a CFStringEncoding value and then to an
NSStringEncoding value, else fall back to NSUTF8StringEncoding. We
also nil-check dataAsString, so the worst-case scenario is that the
data won't be decoded to a string (versus crashing DumpRenderTree).
2008-11-26 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Holger Freyther.
[Gtk] add/remove tests from Skipped and fix netscape plugin test
https://bugs.webkit.org/show_bug.cgi?id=22484
Remove print'ing to stderr
* DumpRenderTree/gtk/TestNetscapePlugin/TestNetscapePlugin.cpp:
(NP_Initialize):
(NP_Shutdown):
2008-11-25 Steve Falkenburg <sfalken@apple.com>
Windows build fix.
* DumpRenderTree/cg/PixelDumpSupportCG.h:
2008-11-25 Steve Falkenburg <sfalken@apple.com>
Windows build fix.
* DumpRenderTree/cg/ImageDiffCG.cpp:
2008-11-24 Darin Fisher <darin@chromium.org>
Fix bustage.
https://bugs.webkit.org/show_bug.cgi?id=15643
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setSelectTrailingWhitespaceEnabled):
2008-11-24 Glenn Wilson <gwilson@chromium.org>
Reviewed by Alexey Proskuryakov.
http://bugs.webkit.org/show_bug.cgi?id=15643
Added support for changing the "trailing whitespace" work-around
in LayoutTestController (so layout tests can verify this functionality)
* DumpRenderTree/LayoutTestController.cpp:
(setSelectTrailingWhitespaceEnabledCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setSelectTrailingWhitespaceEnabled):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setSelectTrailingWhitespaceEnabled):
2008-11-24 Simon Fraser <simon.fraser@apple.com>
Reviewed by Darin Adler
https://bugs.webkit.org/show_bug.cgi?id=22433
Add script that attempts to detect virtual methods
whose signatures differ only by constness (which can
indicate a programming error).
* Scripts/detect-mismatched-virtual-const: Added.
2008-11-24 Zan Dobersek <zandobersek@gmail.com>
Reviewed by Holger Freyther.
https://bugs.webkit.org/show_bug.cgi?id=22039
[Gtk+] Implement TestNetscapePlugin for Gtk+ port and add it to the
build.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(setDefaultsToConsistentStateValuesForTesting):
* DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npapi.h: Added.
* DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npfunctions.h: Added.
* DumpRenderTree/gtk/TestNetscapePlugin/ForwardingHeaders/WebKit/npruntime.h: Added.
* GNUmakefile.am:
2008-11-24 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark Rowe.
[Gtk+] Add configure option to enable Web Workers and enable it by default
Add --enable-workers to the buildsystem (used by build-webkit) add
the to be build files to the GNUmakefile.am and change build-webkit
to enable Web Workers by default.
* Scripts/build-webkit:
2008-11-24 Mark Rowe <mrowe@apple.com>
Reviewed by Alexey Proskuryakov.
Let gdb-safari accept the --debug and --release options once more.
* Scripts/gdb-safari:
2008-11-23 Zan Dobersek <zandobersek@gmail.com>
Reviewed by Holger Freyther. Landed by Jan Alonzo.
Get SVG tests tested on GTK port.
* Scripts/webkitdirs.pm:
2008-11-19 Greg Bolsinga <bolsinga@apple.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=21810
Remove use of static C++ objects that are destroyed at exit time (destructors)
All static C++ objects that create atexit calls are gone. Update script
to indicate how to fix the problem should a new one appear.
* Scripts/check-for-exit-time-destructors:
2008-11-18 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=22337
Enable workers by default
* Scripts/build-webkit: Changed the default to enabled.
2008-11-18 Alexey Proskuryakov <ap@webkit.org>
Rubber-stamped by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=22306
Disable channel messaging support
* Scripts/build-webkit: Add an option to enable channel messaging.
2008-11-17 Nikolas Zimmermann <nikolas.zimmermann@torchmobile.com>
Reviewed by George Staikos.
Add --(no-)wml build flags.
* Scripts/build-webkit:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-11-17 Geoffrey Garen <ggaren@apple.com>
Not reviewed.
Try to fix gtk build.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::pauseAnimationAtTimeOnElementWithId):
(LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2008-11-17 Pierre-Olivier Latour <pol@apple.com>
Reviewed by Maciej.
Pixel tests should use a default tolerance of 0.1% on Leopard and 1.0%
on Tiger.
https://bugs.webkit.org/show_bug.cgi?id=22271
* Scripts/run-webkit-tests:
2008-11-17 Pierre-Olivier Latour <pol@apple.com>
Reviewed by Sam Weinig.
Added new JavaScript API on LayoutController to pause a running
CSS transition or animation at a given time.
https://bugs.webkit.org/show_bug.cgi?id=21261
* DumpRenderTree/LayoutTestController.cpp:
(pauseAnimationAtTimeOnElementWithIdCallback):
(pauseTransitionAtTimeOnElementWithIdCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::pauseAnimationAtTimeOnElementWithId):
(LayoutTestController::pauseTransitionAtTimeOnElementWithId):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::pauseAnimationAtTimeOnElementWithId):
(LayoutTestController::pauseTransitionAtTimeOnElementWithId):
2008-11-17 Gabor Loki <loki@inf.u-szeged.hu>
Reviewed by Darin Adler.
<https://bugs.webkit.org/show_bug.cgi?id=22309>
Pass the remaining options to build system on Qt-port
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2008-11-16 Greg Bolsinga <bolsinga@apple.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=21810
Remove use of static C++ objects that are destroyed at exit time (destructors)
Remove .o files from the exclude list that have had their exit-time destructors removed.
Handle case when there is no current symbol.
* Scripts/check-for-exit-time-destructors:
2008-11-16 Sam Weinig <sam@webkit.org>
* Scripts/do-webcore-rename: Remove now fixed renames.
2008-11-16 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Plan some future renames.
2008-11-15 Darin Adler <darin@apple.com>
Rubber stamped by Geoff Garen.
- do the long-planned StructureID -> Structure rename
* Scripts/check-for-global-initializers: Update name of StructureID.o.
* Scripts/do-webcore-rename: Renaming script that I used.
2008-11-15 Greg Bolsinga <bolsinga@apple.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=21810
Remove use of static C++ objects that are destroyed at exit time (destructors)
Create DEFINE_STATIC_LOCAL macro. Change static local objects to leak to avoid
exit-time destructor. Update code that was changed to fix this issue that ran
into a gcc bug (<rdar://problem/6354696> Codegen issue with C++ static reference
in gcc build 5465). Also typdefs for template types needed to be added in some
cases so the type could make it through the macro successfully.
Basically code of the form:
static T m;
becomes:
DEFINE_STATIC_LOCAL(T, m, ());
Also any code of the form:
static T& m = *new T;
also becomes:
DEFINE_STATIC_LOCAL(T, m, ());
Remove .o files from the exclude list that have had their exit-time destructors removed.
* Scripts/check-for-exit-time-destructors:
2008-11-14 Kevin Ollivier <kevino@theolliviers.com>
wx mac buildbot fix. Also, make sure we don't keep hitting this problem.
* wx/install-unix-extras:
2008-11-14 Alp Toker <alp@nuanti.com>
GTK DRT build fix for gcc 4.4 snapshot. Add missing stdio include.
Fixes Debian bug #505723
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505723
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
2008-11-14 Krishna <krishnamurty.podipireddy@nokia.com>
Reviewed by Simon Hausmann.
Fix hanging DRT with Qt.
https://bugs.webkit.org/show_bug.cgi?id=22209
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::dump):
Send empty pixel test data 'block', which is now
expected by run-layout-tests.
2008-11-12 Dmitry Titov <dimich@chromium.org>
Reviewed by Alexey Proskuryakov.
https://bugs.webkit.org/show_bug.cgi?id=22216
* Scripts/build-webkit:
Addes ENABLE_WORKERS to build-webkit so it's possible to build with workers enabled.
2008-11-06 David Kilzer <ddkilzer@apple.com>
BUILD FIX: Backed out r38189 (and r38203) for Xcode 3.0.
Apparently older versions of gcc have issues with this patch.
Backing out a second time until the issues are resolved.
2008-11-06 David Kilzer <ddkilzer@apple.com>
BUILD WAS NOT BROKEN: Rolling r38189 back in.
Please perform a clean build if you see crashes.
2008-11-06 David Kilzer <ddkilzer@apple.com>
BUILD FIX: Backed out r38189 since it apparently broke the world.
2008-11-06 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin.
Add ability to query an attribute's settable status and the
ability to retrieve a single attribute from an AXObject
* DumpRenderTree/AccessibilityUIElement.cpp:
(isAttributeSettableCallback):
(attributeValueCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(+[NSString stringWithJSStringRef:]):
(AccessibilityUIElement::attributeValue):
(AccessibilityUIElement::isAttributeSettable):
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::attributeValue):
(AccessibilityUIElement::isAttributeSettable):
2008-11-06 Greg Bolsinga <bolsinga@apple.com>
Reviewed by Darin Adler.
Bug 21810: Remove use of static C++ objects that are destroyed at exit time (destructors)
https://bugs.webkit.org/show_bug.cgi?id=21810
Remove .o files from the exclude list that have had their exit-time destructors removed.
* Scripts/check-for-exit-time-destructors:
2008-11-05 Alp Toker <alp@nuanti.com>
GTK build script tweak.
Make the path relative since it will appear in all -I compiler flags.
Long argument lists cause bizarre slowdowns in libtool and result
in huge build logs.
* Scripts/webkitdirs.pm:
2008-11-05 Anders Carlsson <andersca@apple.com>
Fix 64-bit build.
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting):
2008-11-04 Simon Fraser <simon.fraser@apple.com>
Add AccessibilityObject.o to the exclude list for the
check for global destructors.
* Scripts/check-for-exit-time-destructors:
2008-11-04 Darin Adler <darin@apple.com>
* Scripts/check-for-exit-time-destructors: Fix failures seen on the
bot, but for some reason not on my computer.
2008-11-03 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
- https://bugs.webkit.org/show_bug.cgi?id=22061
create script to check for exit-time destructors
* Scripts/check-for-exit-time-destructors: Added.
Started as a copy of check-for-global-initializers.
* Scripts/check-for-global-initializers: Added code to make
this script rerun any time it's modified, and also to properly
run again after the first time it reports an error.
2008-11-03 Pierre-Olivier Latour <pol@apple.com>
Reviewed by Dan Bernstein.
Fixed the override of the "AppleScrollBarVariant" system setting to also work with HIToolbox.
https://bugs.webkit.org/show_bug.cgi?id=22054
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting):
2008-10-31 Cameron Zwarich <zwarich@apple.com>
Not reviewed.
* Scripts/do-webcore-rename:
Add some renames to contemplate for the future.
2008-10-31 Darin Adler <darin@apple.com>
Requested by Mark Rowe.
* Scripts/check-for-global-initializers: s/Web Kit/WebKit/.
2008-10-31 David Kilzer <ddkilzer@apple.com>
Bug 21997: prepare-ChangeLog should filter out ChangeLog files
<https://bugs.webkit.org/show_bug.cgi?id=21997>
Reviewed by Darin Adler.
* Scripts/prepare-ChangeLog:
(generateFileList): Don't add ChangeLog files to %{$functionLists}.
This prevents them from showing up in the new ChangeLog entry. They
were already excluded from @{$changedFiles}.
2008-10-30 Mark Rowe <mrowe@apple.com>
Reviewed by Jon Homeycutt.
Explicitly default to building for only the native architecture in debug and release builds.
* DumpRenderTree/mac/Configurations/DebugRelease.xcconfig:
2008-10-30 Pierre-Olivier Latour <pol@apple.com>
Reviewed by Dan Bernstein.
Fixed 64 bit build failure.
* DumpRenderTree/mac/PixelDumpSupportMac.mm:
(setupMainDisplayColorProfile):
(createBitmapContextFromWebView):
2008-10-28 Alp Toker <alp@nuanti.com>
Fix GTK DRT following build breakage in r37928.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dump):
(runTest):
(main):
2008-10-28 Alp Toker <alp@nuanti.com>
Reviewed by Mark Rowe.
Fix recently introduced double-free crashes in GTK DRT.
LayoutTestController was made ref-counted in r36606 and Mac/Win DRT
were updated to call ->deref() but GTK DRT was still deleting
gLayoutTestController manually. This patch updates GTK to match the
other ports and resolves the memory allocation issues.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(runTest):
2008-10-28 Alp Toker <alp@nuanti.com>
Reviewed by Mark Rowe.
Fix GTK DRT hang when running the tests.
Update output from the DRT tool to print an additional '#EOF' to match
breaking changes that were made in r37434.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dump):
2008-10-28 Adele Peterson <adele@apple.com>
Reviewed by Sam Weinig.
Specify which Localizable.strings to update since we don't always want to update the file in the same
directory where we're searching for the strings to localize.
* Scripts/extract-localizable-strings:
* Scripts/update-webkit-localizable-strings:
2008-10-28 Timothy Hatcher <timothy@apple.com>
Add support for enabling the profiler, so the profiling tests can continue
work now that the profiler is not always enabled.
https://bugs.webkit.org/show_bug.cgi?id=21927
<rdar://problem/6211578> Make the JavaScript profiler opt-in, so it does
not slow down JavaScript all the time
Reviewed by Darin Adler and Kevin McCullough.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Make the editor use spaces.
* DumpRenderTree/LayoutTestController.cpp:
(setJavaScriptProfilingEnabledCallback): Added. Calls LayoutTestController::setJavaScriptProfilingEnabled.
(LayoutTestController::staticFunctions): Added setJavaScriptProfilingEnabled to the script class.
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setJavaScriptProfilingEnabled): Stubbed out with a FIXME.
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting): Disables the developer extras and disables the profiler.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setJavaScriptProfilingEnabled): Toggles the developer extras and profiler.
2008-10-28 Pierre-Olivier Latour <pol@apple.com>
Reviewed by Dan Bernstein
Primary changes in DumpRenderTree:
- Ensure font smoothing is disabled (this is also called LCD anti-aliasing and
is different from regular font CG anti-aliasing) as font-smoothing settings
depends on the display and can also be changed by the user
- Use a new cleared buffer for each test instead of the reusing same one to
avoid potential result corruption across tests
- Can now receive the expected pixel hash as a suffix to the test path or
url as "path'hash"
- Make sure hash is computed in a endian-independent way
- Improve the code that sets/restores the screen color profile
- Make the code more cross-platformy with std::string goodness
- Added an "on-screen" mode where the snapshot will take into account surfaces
on the window (like OpenGL content): this uses the new CG APIs on 10.5 or
reading from the display framebuffer on 10.4. This mode is not active by
default for performance reason, but must be explicitly activated from the test
file using the new "testOnscreen()" JS API.
Primary changes in ImageDiff:
- Provide a new comparison algorithm that is more tolerant to "acceptable"
failures (i.e. very small differences in font rendering, which --threshold is
not really good at handling)
- Generate normalized intensity-only diff images
Primary changes in run-webkit-tests:
- Take advantage of hashes for pixel tests which makes them much faster by
minimizing image comparisons
- Removed repaint options as these should be set from within test files using
JS API
- Replaced "threshold" option in by "tolerance" expressed in percents
- Added more logging when in "verbose" mode
https://bugs.webkit.org/show_bug.cgi?id=21322
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/ForwardingHeaders/wtf/PassRefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/PassRefPtr.h.
* DumpRenderTree/ForwardingHeaders/wtf/RefPtr.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefPtr.h.
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(testOnscreenCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
(LayoutTestController::testOnscreen):
(LayoutTestController::setTestOnscreen):
(LayoutTestController::testPathOrURL):
(LayoutTestController::expectedPixelHash):
* DumpRenderTree/PixelDumpSupport.h:
* DumpRenderTree/cg/ImageDiffCG.cpp:
(strtof):
(releaseMallocBuffer):
(createDifferenceImage):
(imageHasAlpha):
(main):
* DumpRenderTree/cg/PixelDumpSupportCG.cpp:
(computeMD5HashStringForBitmapContext):
(dumpWebViewAsPixelsAndCompareWithExpected):
* DumpRenderTree/cg/PixelDumpSupportCG.h:
(BitmapContext::createByAdoptingBitmapAndContext):
(BitmapContext::~BitmapContext):
(BitmapContext::cgContext):
(BitmapContext::BitmapContext):
* DumpRenderTree/mac/DumpRenderTree.mm:
(shouldIgnoreWebCoreNodeLeaks):
(setDefaultsToConsistentValuesForTesting):
(crashHandler):
(initializeGlobalsFromCommandLineOptions):
(prepareConsistentTestingEnvironment):
(dumpRenderTree):
(sizeWebViewForCurrentTest):
(dump):
(runTest):
* DumpRenderTree/mac/PixelDumpSupportMac.mm:
(restoreMainDisplayColorProfile):
(setupMainDisplayColorProfile):
(createBitmapContextFromWebView):
* DumpRenderTree/win/DumpRenderTree.cpp:
(dump):
(runTest):
* DumpRenderTree/win/PixelDumpSupportWin.cpp:
(getBitmapContextFromWebView):
* Scripts/run-webkit-tests:
2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
* wx/build-wxwebkit:
2008-10-24 Anders Carlsson <andersca@apple.com>
Try fixing the 64-bit build.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
(testGetProperty):
2008-10-24 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
<rdar://problem/5440917> Support NPN_Construct
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(testCallback):
Fix a memory leak.
(testConstruct):
New test method that treats it first argument as a constructor and invokes it with the rest of the arguments.
(pluginInvoke):
Handle testConstruct.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp:
(testGetProperty):
Add objectPointer property.
(testEnumerate):
Only enumerate the two first properties.
(testConstruct):
Add a simple construct implementation that just returns the test object.
2008-10-24 David Kilzer <ddkilzer@apple.com>
Bug 21850: svn-apply and svn-unapply should preserve patch line endings
<https://bugs.webkit.org/show_bug.cgi?id=21850>
Reviewed by Adam Roben.
* Scripts/svn-apply: Save end-of-line characters when stripping them
off each line of a patch so that they may be restored after
processing the line.
* Scripts/svn-unapply: Ditto.
2008-10-23 David Kilzer <ddkilzer@apple.com>
Bug 21832: Fix scripts using 'new File::Temp' for Perl 5.10
<https://bugs.webkit.org/show_bug.cgi?id=21832>
Reviewed by Sam Weinig.
* Scripts/bisect-builds: Use imported tempfile() from File::Temp
instead of 'new File::Temp' to make the script work with Perl 5.10.
* Scripts/sort-Xcode-project-file: Ditto.
2008-10-22 Brady Eidson <beidson@apple.com>
Reviewed by Adam Roben
<rdar://6261773> - autocomplete="off" doesn't work on Windows
Implement LayoutTestController::elementDoesAutoCompleteForElementWithId() on Windows
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
2008-10-22 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: More renaming plans.
2008-10-21 Steve Falkenburg <sfalken@apple.com>
Exclude strings marked with UNLOCALIZED_STRING or UNLOCALIZED_LPCTSTR.
* Scripts/extract-localizable-strings:
2008-10-17 Maciej Stachowiak <mjs@apple.com>
Reviewed by Mark Rowe.
- default to 1000 tests per dump tool instance again, now that CTI no longer causes
excess different stack logs.
(Also fix a small bug in my last change.)
* Scripts/run-webkit-tests:
2008-10-17 Stephanie Lewis <slewis@apple.com>
Reviewed by Mark Rowe.
Fix layout tests that use prologues and epilogues.
* Scripts/run-webkit-tests:
2008-10-17 Maciej Stachowiak <mjs@apple.com>
Reviewed by Mark Rowe.
- make sure MallocStackLogging is only on for tools we want to
leak check, not other random stuff as well.
* Scripts/run-webkit-tests:
2008-10-17 Maciej Stachowiak <mjs@apple.com>
Reviewed by Stephanie Lewis.
- make run-webkit-tests --leaks default to 100 tests per run instead of 1000
This should reduce or eliminate crashes on the buildbot due to
running out of memory while stack logging.
* Scripts/run-webkit-tests:
2008-10-16 Jan Michael Alonzo <jmalonzo@webkit.org>
Gtk build fix. Not reviewed.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setSmartInsertDeleteEnabled):
2008-10-15 Glenn Wilson <gwilson@google.com>
Added new method to allow tests to disable smart editing in the course of a test.
This is a possible solution to bug .20655
Reviewed by Tim Hatcher.
* DumpRenderTree/LayoutTestController.cpp:
(setSmartInsertDeleteEnabledCallback): new method
(LayoutTestController::staticFunctions): added new method to static list of callbacks
* DumpRenderTree/LayoutTestController.h: added signature of new method
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting): added state resetting
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setSmartInsertDeleteEnabled): added new method
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting): added state resetting
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setSmartInsertDeleteEnabled): added new method
2008-10-14 Ada Chan <adachan@apple.com>
Fix windows build.
Reviewed by Sam Weinig.
* DumpRenderTree/cg/PixelDumpSupportCG.cpp:
* DumpRenderTree/config.h:
* DumpRenderTree/win/DumpRenderTreeWin.h:
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
* DumpRenderTree/win/UIDelegate.cpp:
2008-10-13 Timothy Hatcher <timothy@apple.com>
Make prepare-ChangeLog populate the changed functions for JavaScript files.
https://bugs.webkit.org/show_bug.cgi?id=21567
Reviewed by David Kilzer.
* Scripts/prepare-ChangeLog:
(get_function_line_ranges): Call get_function_line_ranges_for_javascript for
files that end with ".js".
(get_function_line_ranges_for_javascript): Find functions, anonymous functions
and getters/setters.
2008-10-14 Alp Toker <alp@nuanti.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=16299
Add a config.h file to DRT
Add a config.h to DumpRenderTree and reduce use of DumpRenderTree.h as
an ad-hoc config header.
* DumpRenderTree/AccessibilityController.cpp:
* DumpRenderTree/AccessibilityUIElement.cpp:
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/GCController.cpp:
* DumpRenderTree/LayoutTestController.cpp:
* DumpRenderTree/WorkQueue.cpp:
* DumpRenderTree/config.h: Added.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
* DumpRenderTree/gtk/GCControllerGtk.cpp:
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
* DumpRenderTree/win/AccessibilityControllerWin.cpp:
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
* DumpRenderTree/win/DumpRenderTree.cpp:
* DumpRenderTree/win/DumpRenderTreeWin.h:
* DumpRenderTree/win/EditingDelegate.cpp:
* DumpRenderTree/win/EventSender.cpp:
* DumpRenderTree/win/FrameLoadDelegate.cpp:
* DumpRenderTree/win/GCControllerWin.cpp:
* DumpRenderTree/win/MD5.cpp:
* DumpRenderTree/win/PixelDumpSupportWin.cpp:
* DumpRenderTree/win/PolicyDelegate.cpp:
* DumpRenderTree/win/ResourceLoadDelegate.cpp:
* DumpRenderTree/win/WorkQueueItemWin.cpp:
* GNUmakefile.am:
2008-10-13 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin.
Added a method to get the links in a webpage
* DumpRenderTree/AccessibilityUIElement.cpp:
(attributesOfDocumentLinksCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::getDocumentLinks):
(AccessibilityUIElement::attributesOfDocumentLinks):
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::getDocumentLinks):
(AccessibilityUIElement::attributesOfDocumentLinks):
2008-10-13 David Kilzer <ddkilzer@apple.com>
Bug 21457: resolve-ChangeLogs should be able to operate on a git revision range
<https://bugs.webkit.org/show_bug.cgi?id=21457>
Reviewed by Adam.
* Scripts/resolve-ChangeLogs: Added optional parameter to
-f|--fix-merged switch to run the script on a revision range.
Updated command-line validation checks.
(findChangeLog): Fixed long-standing bug that should have used
$_[0] instead of $_.
(fixMergedChangeLog): Renamed to fixOneMergedChangeLog($). Updated
to work when called from git filter-branch. It always restores a
copy of the previous revision before reapplying the patch.
(fixMergedChangeLogs): Added. Calls itself through git filter-branch
to re-merge ChangeLog files across a revision range. Removes
.git/refs/original directory on success.
(parseFixMerged): Added. Custom method to parse the -f|--fix-merged
switch.
(removeChangeLogArguments): Added. Removes items from @ARGV when
they are ChangeLog paths, and return a list of paths. This makes it
easier to validate the command-line.
(resolveChangeLog): Added. Extracted from main code block. Runs
the traditional single-file merge algorithm.
(usageAndExit): Added. Extracted from main code block. Prints
usage statement and exits with error status.
2008-10-12 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Update exceptions list so the script
won't overwrite files and mangle tests.
2008-10-11 Dan Bernstein <mitz@apple.com>
Reviewed by Sam Weinig and Anders Carlsson.
- update Mac DumpRenderTree to use the new WebView SPI for forcing the
complex text code path
- add --complex-text support to Windows DumpRenderTree
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree):
* DumpRenderTree/win/DumpRenderTree.cpp:
(createWebViewAndOffscreenWindow):
(main):
* Scripts/run-webkit-tests:
2008-10-09 Eric Seidel <eric@webkit.org>
Reviewed by Oliver Hunt.
https://bugs.webkit.org/show_bug.cgi?id=21498
* Scripts/make-js-test-wrappers: ignore resources/shadow-offset.js
2008-10-09 Cameron Zwarich <zwarich@apple.com>
Not reviewed.
Add StructureID.o to the exclusion list in the global initializers
script to fix the Debug build.
* Scripts/check-for-global-initializers:
2008-10-08 Mark Rowe <mrowe@apple.com>
Fix the Windows build after r37434.
* DumpRenderTree/win/DumpRenderTree.cpp:
(dump): Update code to approximate valid C++ syntax.
2008-10-08 Timothy Hatcher <timothy@apple.com>
Add SVGElementInstance to the list of exceptions that have
global initializers in debug builds.
Rubber-stamped by Mark Rowe.
* Scripts/check-for-global-initializers: Add SVGElementInstance.o.
2008-10-08 Simon Fraser <simon.fraser@apple.com>
Reviewed by Dan Bernstein
Avoid disconnect between DRT and run-webkit-tests
about whether to expect PNG dumps by having DRT always
print two blocks terminated by #EOF, the second of which
may be empty.
https://bugs.webkit.org/show_bug.cgi?id=21483
* DumpRenderTree/cg/PixelDumpSupportCG.cpp:
(printPNG):
(dumpWebViewAsPixelsAndCompareWithExpected):
* DumpRenderTree/mac/DumpRenderTree.mm:
(dump):
* DumpRenderTree/win/DumpRenderTree.cpp:
(dump):
* Scripts/run-webkit-tests:
2008-10-07 Adam Roben <aroben@apple.com>
Make sure short functions get included in ChangeLog output for git
repositories
Reviewed by Dave Kilzer.
* Scripts/prepare-ChangeLog:
(sub diffCommand): Pass -U0 to git diff so that each contiguous change
will get its own chunk without any surrounding context.
(sub extractLineRange): Use the line numbers from the chunk header
without modifying them now that they're accurate.
2008-10-04 Mark Rowe <mrowe@apple.com>
Reviewed by Tim Hatcher.
Update check-for-weak-vtables to check only the final linked image for weak vtables.
This gives more useful results than checking each object file independently.
* Scripts/check-for-weak-vtables:
2008-10-03 Pierre-Olivier Latour <pol@apple.com>
Reviewed by Darin Adler
Render images to RGBA8 bitmaps independently of platform endianness.
Create image difference bitmap in reference image colorspace instead of device colorspace
(which depends on the main display profile), so that no color matching happens.
https://bugs.webkit.org/show_bug.cgi?id=21336
* DumpRenderTree/cg/ImageDiffCG.cpp:
(createDifferenceBitmap):
(computePercentageDifferent):
(compareImages):
2008-10-02 Simon Fraser <simon.fraser@apple.com>
Reviewed by Darin Adler
Fix hang when running with --pixel --reset, which occurs
because DRT spews PNG data when the script does not expect it.
https://bugs.webkit.org/show_bug.cgi?id=21323
* Scripts/run-webkit-tests:
2008-09-30 Mark Rowe <mrowe@apple.com>
Reviewed by Dan Bernstein.
Add a leak counter for CachedResources since we've had two recent leaks involving them.
* Scripts/check-for-global-initializers:
2008-09-30 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Dan Bernstein.
Fix many leaks seen on fast/backgrounds/svg-as-background-1.html.
JavaScript wrappers were keeping DOM objects alive, which was leading to the SVG background image
being kept alive in the memory cache past our last attempt to empty the cache prior to quitting.
We need to empty the memory cache after forcing a JavaScript garbage collection to ensure that
any live JavaScript wrappers are collected and their corresponding DOM objects have a chance to be
torn down before we exit.
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree):
(main):
2008-09-30 Simon Fraser <simon.fraser@apple.com>
Reviewed by Dan Bernstein
Don't run pixel comparison for text-only tests.
https://bugs.webkit.org/show_bug.cgi?id=21124
* DumpRenderTree/mac/DumpRenderTree.mm:
(dump):
* Scripts/run-webkit-tests:
2008-09-29 Thiago Macieira <thiago.macieira@nokia.com>
Reviewed by Simon.
Changed copyright from Trolltech ASA to Nokia.
Nokia acquired Trolltech ASA, assets were transferred on September 26th 2008.
* DumpRenderTree/qt/DumpRenderTree.cpp:
* DumpRenderTree/qt/jsobjects.cpp:
* DumpRenderTree/qt/jsobjects.h:
* DumpRenderTree/qt/main.cpp:
* DumpRenderTree/qt/testplugin.cpp:
* DumpRenderTree/qt/testplugin.h:
2008-09-28 David Kilzer <ddkilzer@apple.com>
Bug 21185: resolve-ChangeLogs should be able to fix poorly merged ChangeLog entries after a git svn rebase
<https://bugs.webkit.org/show_bug.cgi?id=21185>
Reviewed by Adam.
* Scripts/resolve-ChangeLogs: Added new -f|--fix-merge switch that
will attempt to reapply the last commit to a ChangeLog file such
that the ChangeLog entry appears at the top of the file.
(findChangeLog): Added prototype and moved method below the exit
statement.
(fixMergedChangeLog): Added. Method to fix incorrectly merged
ChangeLog entries.
2008-09-27 Anders Carlsson <andersca@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=21178
<rdar://problem/6248651>
Return the result value from getURL.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(getURL):
2008-09-26 Matt Lilek <webkit@mattlilek.com>
Reviewed by Tim Hatcher.
Update FEATURE_DEFINES after ENABLE_CROSS_DOCUMENT_MESSAGING was removed.
* Scripts/build-webkit:
2008-09-26 Alice Liu <alice.liu@apple.com>
Remove usage of atlstr.h and CString for VCExpress compatibility
Reviewed by Stephanie Lewis.
* record-memory-win/main.cpp:
(ProcessArgs):
(UseImage):
(QueryContinuously):
(OneQuery):
(OneQueryMP):
2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Update the version of libpng.
* wx/install-unix-extras:
2008-09-24 Sam Weinig <sam@webkit.org>
Reviewed by Darin Adler.
Fix for https://bugs.webkit.org/show_bug.cgi?id=21080
<rdar://problem/6243534>
Crash below Function.apply when using a runtime array as the argument list
Add method to ObjCController to return a runtime array.
* DumpRenderTree/mac/ObjCController.m:
(+[ObjCController isSelectorExcludedFromWebScript:]):
(+[ObjCController webScriptNameForSelector:]):
(-[ObjCController testArray]):
2008-09-24 Beth Dakin <bdakin@apple.com>
Reviewed by Sam Weinig.
Speculative build fix.
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::supportsPressAction):
2008-09-23 Beth Dakin <bdakin@apple.com>
Reviewed by Sam Weinig.
This patch extends DumpRenderTree's AccessibilityController to ask
if the focused element supports the press action.
* DumpRenderTree/AccessibilityUIElement.cpp:
(getSupportsPressActionCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::supportsPressAction):
2008-09-22 Alice Liu <alice.liu@apple.com>
Adding a stand-alone Windows console application to record a process's memory usage
Reviewed by Steve Falkenburg.
* record-memory-win: Added.
* record-memory-win/main.cpp: Added.
* record-memory-win/record-memory-win.vcproj: Added.
2008-09-22 Chris Fleizach <cfleizach@apple.com>
Reviewed by Darin Adler.
Support ability to get/set selected text ranges for text controls through AX.
* DumpRenderTree/AccessibilityUIElement.cpp:
(setSelectedTextRangeCallback):
(getSelectedTextRangeCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::attributesOfRowHeaders):
(AccessibilityUIElement::attributesOfVisibleCells):
(AccessibilityUIElement::rowIndexRange):
(AccessibilityUIElement::columnIndexRange):
(AccessibilityUIElement::cellForColumnAndRow):
(AccessibilityUIElement::selectedTextRange):
(AccessibilityUIElement::setSelectedTextRange):
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::selectedTextRange):
(AccessibilityUIElement::setSelectedTextRange):
2008-09-20 Darin Adler <darin@apple.com>
* DumpRenderTree/mac/DumpRenderTree.mm:
(convertMIMEType): Turn on Stephanie's workaround for Tiger too.
2008-09-19 Alp Toker <alp@nuanti.com>
Build fix for the 'gold' linker and recent binutils. New behaviour
requires that we link to used libraries explicitly.
* GNUmakefile.am:
2008-09-19 Stephanie Lewis <slewis@apple.com>
Reviewed by Oliver Hunt.
Implement a workaround for an incorrect mime-type on machines with
Dashcode 2.0.1. Dashcode is overriding the UTI type for .js files.
See radar <rdar://problem/6234318>.
* DumpRenderTree/mac/DumpRenderTree.mm:
(convertMIMEType):
2008-09-19 Chris Fleizach <cfleizach@apple.com>
Fixed Windows bustage
* DumpRenderTree/win/AccessibilityUIElementWin.cpp:
(AccessibilityUIElement::titleUIElement):
2008-09-18 Chris Fleizach <cfleizach@apple.com>
Reviewed by Darin Adler.
Expose titleUIElement call for DumpRenderTree
* ChangeLog:
* DumpRenderTree/AccessibilityUIElement.cpp:
(titleUIElementCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::titleUIElement):
2008-09-18 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: More renaming plans.
2008-09-18 Mark Rowe <mrowe@apple.com>
Reviewed by Dan Bernstein.
Clear the main frame's name between tests to get more consistent test results
when running the WebKit tests with --nthly.
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting):
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
2008-09-18 Stephanie Lewis <slewis@apple.com>
Really fix tiger jsc tests.
* Scripts/run-javascriptcore-tests:
2008-09-18 Stephanie Lewis <slewis@apple.com>
Reviewed by Maciej Stachowiak.
Fix jsc tests on Tiger. Make jsc tests smarter about when to use the arch flag.
* Scripts/run-javascriptcore-tests:
* Scripts/webkitdirs.pm:
2008-09-18 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Sam Weinig.
Print warning to stdout rather than stderr when a test attempts to access a remote resource.
This should make it more obvious when a test does this, as stderr output tends to be obscured
by noise in the test results.
Also fixes some coding style issues in ResourceLoadDelegate.mm.
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[NSError _drt_descriptionSuitableForTestResult]):
(-[NSURL _drt_descriptionSuitableForTestResult]):
(-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
(-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2008-09-18 Stephanie Lewis <slewis@apple.com>
Reviewed by Mark Rowe and Maciej Stachowiak..
add a --64-bit option and specify which architecture to run on Mac.
* Scripts/run-javascriptcore-tests:
2008-09-17 Mark Rowe <mrowe@apple.com>
Reviewed by Sam Weinig.
Fix a crash seen running DumpRenderTree on fast/dom/null-document-window-open-crash.html under guard malloc.
The JS wrapper for LayoutTestController could outlive the wrapped instance, and would crash when
attempting to access the wrapped instance within layoutTestControllerObjectFinalize. We fix this by making
LayoutTestController ref-counted to ensure that it is not outlived by the JS wrapper.
* DumpRenderTree/ForwardingHeaders/wtf/RefCounted.h: Copied from JavaScriptGlue/ForwardingHeaders/wtf/RefCounted.h.
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(notifyDoneCallback): Remove code that is no longer needed now that we must always have a wrapped instance.
(layoutTestControllerObjectFinalize): Deref the wrapped object.
(LayoutTestController::makeWindowObject): Ref the wrapped object.
* DumpRenderTree/LayoutTestController.h: Make LayoutTestController RefCounted.
* DumpRenderTree/mac/DumpRenderTree.mm:
(runTest): Deref the LayoutTestController object rather than explicitly deleting it.
* DumpRenderTree/mac/LayoutTestControllerMac.mm: Remove code that is no longer needed.
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest): Deref the LayoutTestController object rather than explicitly deleting it.
2008-09-16 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
Add flag to disable running sample on tests that timeout.
* Scripts/run-webkit-tests:
2008-09-16 Adam Roben <aroben@apple.com>
Windows build fix after r36511
Update for rename of layoutTestController to gLayoutTestController.
* DumpRenderTree/LayoutTestController.cpp:
* DumpRenderTree/win/EditingDelegate.cpp:
* DumpRenderTree/win/FrameLoadDelegate.cpp:
* DumpRenderTree/win/ResourceLoadDelegate.cpp:
* DumpRenderTree/win/UIDelegate.cpp:
2008-09-16 Adam Roben <aroben@apple.com>
Add a script to print out the dependency tree of a Visual Studio
solution file
* Scripts/print-msvc-project-dependencies: Added.
2008-09-16 Mark Rowe <mrowe@apple.com>
Fix the build.
* DumpRenderTree/LayoutTestController.cpp:
(notifyDoneCallback): Call fprintf in a safer manner.
2008-09-16 Simon Fraser <simon.fraser@apple.com>
Reviewed by Eric Seidel
Protect against tests that call layoutTestController.notifyDone()
more than once, which would lead to memory corruption, by nulling
out the LayoutTestController on the JSObjectRef on destruction. Also
add a finalize callback on the class so that if the LTC outlives
the JSObjectRef, the JSObjectRef backpointer on the LTC can be
nulled out.
https://bugs.webkit.org/show_bug.cgi?id=20875
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(notifyDoneCallback):
(layoutTestControllerObjectFinalize):
(LayoutTestController::makeWindowObject):
(LayoutTestController::getJSClass):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::~LayoutTestController):
2008-09-16 Simon Fraser <simon.fraser@apple.com>
Reviewed by Eric Seidel
Step 1 patch: rename global variable for clarity.
https://bugs.webkit.org/show_bug.cgi?id=20875
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/cg/PixelDumpSupportCG.cpp:
(dumpWebViewAsPixelsAndCompareWithExpected):
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dumpFramesAsText):
(dump):
(runTest):
(processWork):
(webViewLoadFinished):
(webViewWindowObjectCleared):
* DumpRenderTree/mac/DumpRenderTree.mm:
(allocateGlobalControllers):
(dumpFrameScrollPosition):
(dumpFramesAsText):
(methodNameStringForFailedTest):
(dump):
(runTest):
* DumpRenderTree/mac/DumpRenderTreeMac.h:
* DumpRenderTree/mac/DumpRenderTreeWindow.mm:
* DumpRenderTree/mac/EditingDelegate.mm:
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
(-[EditingDelegate webViewDidBeginEditing:]):
(-[EditingDelegate webViewDidChange:]):
(-[EditingDelegate webViewDidEndEditing:]):
(-[EditingDelegate webViewDidChangeTypingStyle:]):
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate processWork:]):
(-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
(-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
(-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
(-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
(-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
(-[UIDelegate webViewFocus:]):
(-[UIDelegate webViewUnfocus:]):
(-[UIDelegate webView:createWebViewWithRequest:]):
(-[UIDelegate webViewClose:]):
* DumpRenderTree/win/DumpRenderTree.cpp:
(dumpFrameScrollPosition):
(dumpFramesAsText):
(dump):
(runTest):
2008-09-15 Alice Liu <alice.liu@apple.com>
A change needed to make PPC bots pass accessibility/table-cell-spans.html layout test
Reviewed by Stephanie Lewis.
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
Calling -[NSValue rangeValue] on nil object was returning bogus results on PPC,
but not Intel. Add a check for nil before calling.
(AccessibilityUIElement::rowIndexRange):
(AccessibilityUIElement::columnIndexRange):
2008-09-14 Mark Rowe <mrowe@apple.com>
Build fix.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(waitUntilDoneWatchdogFired):
* DumpRenderTree/mac/ObjCPlugin.m:
2008-09-08 Dan Bernstein <mitz@apple.com>
Reviewed by Mark Rowe.
- add an option to run-webkit-tests to always use the complex text code path
* DumpRenderTree/mac/DumpRenderTree.mm:
(initializeGlobalsFromCommandLineOptions):
(dumpRenderTree):
* Scripts/run-webkit-tests:
2008-09-08 Steve Falkenburg <sfalken@apple.com>
Another Windows nightly build fix.
Reviewed by Sam Weinig.
* FindSafari/FindSafari.cpp:
(_tmain): Delete existing WebKitNightly directory in temp.
* FindSafari/Safari.exe.manifest: Add PROGIDs for each COM class. Remove non-production classes.
2008-09-07 Stephanie Lewis <slewis@apple.com>
Reviewed by Mark Rowe.
Fix DRT build
* DumpRenderTree/DumpRenderTreePrefix.h:
* DumpRenderTree/win/DumpRenderTree.vcproj:
2008-09-06 Steve Falkenburg <sfalken@apple.com>
Fix Windows nightlies.
Copy WebKit.dll alongside application so registry-free COM can find it.
Update embedded manifest to force use registry-free COM.
Reviewed by Dave Hyatt.
* FindSafari/FindSafari.cpp:
(copyManifest):
(replaceManifest):
(_tmain):
* FindSafari/FindSafari.rc: Added.
* FindSafari/FindSafari.vcproj:
* FindSafari/Safari.exe.manifest: Added.
* FindSafari/resource.h: Added.
=== End merge of squirrelfish-extreme ===
2008-08-31 Mark Rowe <mrowe@apple.com>
Reviewed by Maciej Stachowiak.
Add a --profile flag to run-sunspider.
* Scripts/webkitdirs.pm: Detect --profile or --profiling passed as a command-line argument
to build scripts as indicating that we should use the "Profiling" configuration. At present
this is only supported by JavaScriptCore, so using this argument to build any other project
will likely result in unexpected behaviour.
2008-08-27 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver Hunt.
Fix run-webkit-tests to handle DRT exiting early.
* Scripts/run-webkit-tests: Initialize $expectedResultPaths{$base} before it will be used.
=== Start merge of squirrelfish-extreme ===
2008-09-04 Mark Rowe <mrowe@apple.com>
Reviewed by Eric Seidel.
Fix https://bugs.webkit.org/show_bug.cgi?id=20639.
Bug 20639: ENABLE_DASHBOARD_SUPPORT does not need to be a FEATURE_DEFINE
* Scripts/build-webkit: Remove ENABLE_DASHBOARD_SUPPORT-related code.
2008-09-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Oliver Hunt.
Bug 20616: Incorporate V8 benchmarks in testing
<https://bugs.webkit.org/show_bug.cgi?id=20616>
Add support for the --v8 option to run-sunspider.
* Scripts/run-sunspider:
2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
wx buildbot fix. More robust handling of clean when makefiles are not built or
are not completely made.
* wx/build-wxwebkit:
2008-09-03 Mark Rowe <mrowe@apple.com>
More Mac build fixes.
Set ENABLE_DASHBOARD_SUPPORT when building for Mac via build-webkit.
Also set ENABLE_CROSS_DOCUMENT_MESSAGING in order to match the
default configuration specified in the .xcconfig files.
* Scripts/build-webkit:
2008-09-03 Mark Rowe <mrowe@apple.com>
Mac build fix. Ensure that dashboard support is enabled.
* DumpRenderTree/mac/Configurations/Base.xcconfig:
2008-08-25 Steve Falkenburg <sfalken@apple.com>
Build fix. Copy correct version of ICU.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2008-08-25 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Simon.
[run-webkit-tests] Use QtLauncher to show the results of the tests
konqueror might not be installed, xdg-open might not be installed but the
QtLauncher should be present.
* Scripts/run-webkit-tests:
2008-08-24 Jon Honeycutt <jhoneycutt@apple.com>
Initial support for accessibility layout tests on Windows.
https://bugs.webkit.org/show_bug.cgi?id=20497
Reviewed by Sam Weinig.
* DumpRenderTree/AccessibilityController.h: Fix typos.
* DumpRenderTree/AccessibilityUIElement.cpp: Change #import to #include.
* DumpRenderTree/AccessibilityUIElement.h: Define _WINSOCKAPI_ to
prevent oleacc.h, which includes windows.h, from including winsock.h.
Fixed typos.
* DumpRenderTree/win/AccessibilityControllerWin.cpp: Added.
(AccessibilityController::AccessibilityController):
(AccessibilityController::~AccessibilityController):
(AccessibilityController::focusedElement): Get the root element, and
request its focused object.
(AccessibilityController::rootElement): Query Windows for the
accessible client object for the WebView's window.
* DumpRenderTree/win/AccessibilityUIElementWin.cpp: Added.
(AccessibilityUIElement::AccessibilityUIElement):
(AccessibilityUIElement::~AccessibilityUIElement):
(AccessibilityUIElement::getLinkedUIElements): Not implemented.
(AccessibilityUIElement::getChildren): Get the child count, and append
each child.
(AccessibilityUIElement::getChildAtIndex): Get the child at the given
index offset by 1. In MSAA, child 0 is the object itself.
(AccessibilityUIElement::allAttributes): Not implemented.
(AccessibilityUIElement::attributesOfLinkedUIElements): Same.
(AccessibilityUIElement::attributesOfChildren): Same.
(AccessibilityUIElement::parameterizedAttributeNames): Same.
(self): Return a VARIANT representing the "self" object. This is used
when calling methods that require a child variant.
(AccessibilityUIElement::role): Get the MSAA role, a long value, and
convert it into a string with GetRoleText().
(AccessibilityUIElement::title): Get the element's title, and convert
it to a JS String.
(AccessibilityUIElement::description): Same, for description.
(AccessibilityUIElement::width):
(AccessibilityUIElement::height):
(AccessibilityUIElement::intValue): Get the object's value as a string,
and convert the string to a double.
(AccessibilityUIElement::minValue): Not implemented.
(AccessibilityUIElement::maxValue): Same.
(AccessibilityUIElement::insertionPointLineNumber): Same.
(AccessibilityUIElement::attributesOfColumnHeaders): Same.
(AccessibilityUIElement::attributesOfRowHeaders): Same.
(AccessibilityUIElement::attributesOfColumns): Same.
(AccessibilityUIElement::attributesOfRows): Same.
(AccessibilityUIElement::attributesOfVisibleCells): Same.
(AccessibilityUIElement::attributesOfHeader): Same.
(AccessibilityUIElement::indexInTable): Same.
(AccessibilityUIElement::rowIndexRange): Same.
(AccessibilityUIElement::columnIndexRange): Same.
(AccessibilityUIElement::lineForIndex): Same.
(AccessibilityUIElement::boundsForRange): Same.
(AccessibilityUIElement::cellForColumnAndRow): Same.
* DumpRenderTree/win/DumpRenderTree.vcproj: Add accessibility files to
project. Link to oleacc.lib, the MSAA library.
* DumpRenderTree/win/FrameLoadDelegate.cpp:
(FrameLoadDelegate::FrameLoadDelegate): Initialize the accessibility
controller.
(FrameLoadDelegate::didClearWindowObject): Create a new window object
for the accessibility controller.
* DumpRenderTree/win/FrameLoadDelegate.h:
2008-08-21 Simon Fraser <simon.fraser@apple.com>
Reviewed by Mark Rowe
Make build-launcher-app work when run from a git repository.
https://bugs.webkit.org/show_bug.cgi?id=20478
* BuildSlaveSupport/build-launcher-app:
2008-08-20 Maxime Britto <britto@apple.com>
Reviewed by Ada Chan.
rdar://5259746
Mouse events are sent to page while resizing window (affects Gmail)
* DumpRenderTree/win/UIDelegate.h:
(UIDelegate::webViewSendResizeMessage): Add the new interface method, not implemented.
2008-08-19 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin.
Add snowleopard platform in layout tests
Added support for accessing the attributes of
accessibility tables through the accessibility controller
in DumpRenderTree
* DumpRenderTree/AccessibilityUIElement.cpp:
(attributesOfColumnHeadersCallback):
(attributesOfRowHeadersCallback):
(attributesOfColumnsCallback):
(attributesOfRowsCallback):
(attributesOfVisibleCellsCallback):
(attributesOfHeaderCallback):
(indexInTableCallback):
(rowIndexRangeCallback):
(columnIndexRangeCallback):
(childAtIndexCallback):
(cellForColumnAndRowCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(convertNSArrayToVector):
(descriptionOfElements):
(AccessibilityUIElement::getLinkedUIElements):
(AccessibilityUIElement::getChildren):
(AccessibilityUIElement::attributesOfLinkedUIElements):
(AccessibilityUIElement::attributesOfChildren):
(AccessibilityUIElement::attributesOfColumnHeaders):
(AccessibilityUIElement::attributesOfRowHeaders):
(AccessibilityUIElement::attributesOfColumns):
(AccessibilityUIElement::attributesOfRows):
(AccessibilityUIElement::attributesOfVisibleCells):
(AccessibilityUIElement::attributesOfHeader):
(AccessibilityUIElement::indexInTable):
(AccessibilityUIElement::rowIndexRange):
(AccessibilityUIElement::columnIndexRange):
(AccessibilityUIElement::cellForColumnAndRow):
* Scripts/run-webkit-tests:
2008-08-19 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
Fix run-webkit-tests misreporting crashed tests as timed out ones because DumpRenderTree
is waiting for crash reporter to let it exit.
The fix does not work on Tiger, because the state of the process is indistinguishable from
other waiting processes, at least not with this technique.
* Scripts/run-webkit-tests:
2008-08-18 Alp Toker <alp@nuanti.com>
Reviewed by Holger Freyther.
https://bugs.webkit.org/show_bug.cgi?id=20350
[GTK] Get DumpRenderTree working
Fixes and enhancements to DumpRenderTree. With these changes, the test
suite can now complete a run producing text and render tree dumps.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dumpFramesAsText):
(dump):
(runTest):
(webViewLoadFinished):
(webViewWindowObjectCleared):
(webViewConsoleMessage):
(webViewScriptAlert):
(webViewScriptPrompt):
(webViewScriptConfirm):
(webViewTitleChanged):
(main):
* DumpRenderTree/gtk/DumpRenderTreeGtk.h:
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::clearBackForwardList):
(LayoutTestController::pathToLocalResource):
(LayoutTestController::setAcceptsEditing):
(LayoutTestController::setUserStyleSheetEnabled):
(LayoutTestController::setUserStyleSheetLocation):
(waitToDumpWatchdogFired):
(LayoutTestController::windowCount):
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
(JSStringCopyUTF8CString):
(ScriptItem::invoke):
2008-08-17 Geoffrey Garen <ggaren@apple.com>
Reviewed by Cameron Zwarich.
Updated project files to XCode 3.1.
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2008-08-15 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Geoff Garen.
<rdar://problem/6139914> Please include a _debug version of JavaScriptCore framework
* Scripts/check-for-global-initializers: Ignore initializers when building the debug variant.
2008-08-13 Simon Hausmann <hausmann@webkit.org>
Rubber-stamped by Holger.
Revert r31585 and disable http tests for the Qt build again unless
explicitly enabled.
Running the http tests unfortunately currently still triggers
failures in non-http tests due to side-effects. Disable them by default for
now, for more reliable results.
* Scripts/run-webkit-tests:
2008-08-10 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed (and updated) by Alp Toker.
https://bugs.webkit.org/show_bug.cgi?id=16620
[GTK] Autotools make dist and make check support
Get make dist working.
Note that not all possible configurations have been tested yet.
* GNUmakefile.am:
2008-08-10 Alp Toker <alp@nuanti.com>
Remove leftover qmake/GTK+ build files.
* DumpRenderTree/gtk/DumpRenderTree.pro: Removed.
* GtkLauncher/GtkLauncher.pro: Removed.
2008-08-06 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin
AX functions shouldn't return position information because it changes
based on the platform
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::boundsForRange):
2008-08-06 Eric Seidel <eric@webkit.org>
Reviewed by darin.
Fix leaks seen on build-bot by fixing memory management of AccessibilityUIElement.
<https://bugs.webkit.org/show_bug.cgi?id=20297>
<rdar://problem/6093153>
I've made AccessibilityUIElement a stack object for now. It could be
made RefCounted, but I figured that might be overkill for the moment.
Essentially it's just a RefPtr itself. :)
I also fixed a few typos, such as AccessibilityUIElement() instead of ~AccessibilityUIElement()
which was causing additional leaks. :)
I added toAXElement to remove a bunch of copy/paste code.
* DumpRenderTree/AccessibilityController.h:
* DumpRenderTree/AccessibilityUIElement.cpp:
(toAXElement):
(allAttributesCallback):
(attributesOfLinkedUIElementsCallback):
(attributesOfChildrenCallback):
(lineForIndexCallback):
(boundsForRangeCallback):
(childAtIndexCallback):
(getRoleCallback):
(getTitleCallback):
(getDescriptionCallback):
(getWidthCallback):
(getHeightCallback):
(getIntValueCallback):
(getMinValueCallback):
(getMaxValueCallback):
(getInsertionPointLineNumberCallback):
(finalize):
* DumpRenderTree/AccessibilityUIElement.h:
(AccessibilityUIElement::platformUIElement):
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::focusedElement):
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::AccessibilityUIElement):
(AccessibilityUIElement::getLinkedUIElements):
(AccessibilityUIElement::getChildren):
(AccessibilityUIElement::getChildAtIndex):
(AccessibilityUIElement::attributesOfLinkedUIElements):
(AccessibilityUIElement::attributesOfChildren):
2008-08-06 Eric Seidel <eric@webkit.org>
Reviewed by Cameron Zwarich.
Speculative fix for an error I keep seeing in my Cygwin build
* Scripts/webkitdirs.pm: make determineConfigurationProductDir() always call determineConfiguration() even on cygwin
2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
Forgot to commit licensing correction in last commit.
* wx/packaging/wxWebKitInstaller.iss.in:
2008-08-02 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Eric Seidel.
Scripts for building a wxWebKit installer for wxPython on Win, eventually will
be used for nightlies.
https://bugs.webkit.org/show_bug.cgi?id=20036
* wx/packaging: Added.
* wx/packaging/build-win-installer.py: Added.
* wx/packaging/wxWebKitInstaller.iss.in: Added.
2008-07-31 Adam Roben <aroben@apple.com>
Follow-up to r35500
* WinLauncher/WinLauncher.vcproj: Set the manifest properties for the
Release configuration, too.
2008-07-31 Stefan Landvogt <stefan.landvogt@gmail.com>
Fix Bug 20245: WinLauncher does not start in WebKit-debug right out of
the box
<https://bugs.webkit.org/show_bug.cgi?id=20245>
Reviewed by Adam Roben.
* WinLauncher/WinLauncher.vcproj: adding the following properties to
WinLauncher > Properties > Manifest Tool > Isolated COM
Type Library File: $(WebKitOutputDir)\lib\WebKit.tlb
Component File Name: WebKit$(WebKitDLLConfigSuffix)
Doing the change on "All Configurations"
2008-07-31 Adam Roben <aroben@apple.com>
Windows build bot fix
* DumpRenderTree/win/ImageDiff.vcproj: Don't fail if files that only
exist for people at Apple can't be found. Also updated the ICU version
to 3.8.
2008-07-31 David Kilzer <ddkilzer@apple.com>
Fix layout test results for webarchive/test-xml-stylesheet.xml
Reviewed by Darin Adler.
* DumpRenderTree/mac/DumpRenderTree.mm:
(convertMIMEType): Work around the "text/xml" local file type
regression in Leopard using the BUILDING_ON_LEOPARD macro. Also
stop mangling "application/x-javascript" into "text/javascript".
(convertWebResourceDataToString): When checking whether to dump a
resource as text, also check to see if the MIME type is in the
-[WebHTMLRepresentation supportedNonImageMIMETypes] array.
* DumpRenderTree/mac/DumpRenderTreeMac.h: Added BUILDING_ON_LEOPARD
macro.
2008-07-31 Chris Fleizach <cfleizach@apple.com>
Reviewed by Alice Liu
Add AX support to get the bounds for a range of text
Add AX support to get the child of an element
Add AX support to get all the parameterized attribute names of an element
* DumpRenderTree/AccessibilityUIElement.cpp:
(parameterizedAttributeNamesCallback):
(boundsForRangeCallback):
(childAtIndexCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::getChildAtIndex):
(AccessibilityUIElement::parameterizedAttributeNames):
(AccessibilityUIElement::boundsForRange):
2008-07-31 Erik Bunce <elbunce@thehive.com>
Reviewed by Simon.
Make run-launcher set DYLD_LIBRARY_PATH to make things work on Mac OS X.
* Scripts/run-launcher:
2008-07-30 Jessica Kahn <jess@apple.com>
Reviewed by Adam Roben.
Slightly stricter checking for previous change, suggested by Adam.
* Scripts/extract-localizable-strings:
2008-07-30 Jessica Kahn <jess@apple.com>
Reviewed by Darin Adler.
Added support for UI_STRING and UI_STRING_KEY macros with flexible prefixes.
* Scripts/extract-localizable-strings:
2008-07-30 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
Copy icu38* files instead of icu36* files.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2008-07-25 Jan Michael Alonzo <jmalonzo@webkit.org>
DRT/Gtk build fix for r35362
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::elementDoesAutoCompleteForElementWithId):
2008-07-25 Brady Eidson <beidson@apple.com>
Reviewed by Sam
Add the ability to dump whether-or-not an element should have autocomplete enabled,
from the perspective of the WebKit API
* DumpRenderTree/LayoutTestController.cpp:
(elementDoesAutoCompleteForElementWithIdCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::elementDoesAutoCompleteForElementWithId):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::elementDoesAutoCompleteForElementWithId): Stub for now until I can get on Windows
2008-07-25 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin
Add support for AXLineForIndex and AXInsertionPointIndex through the
accessibility controller
* DumpRenderTree/AccessibilityUIElement.cpp:
(lineForIndexCallback):
(getInsertionPointLineNumberCallback):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h:
* DumpRenderTree/mac/AccessibilityUIElementMac.mm:
(AccessibilityUIElement::insertionPointLineNumber):
(AccessibilityUIElement::lineForIndex):
2008-07-25 Adam Roben <aroben@apple.com>
Try to fix the Windows build bot
* DumpRenderTree/win/DumpRenderTree.vcproj: Don't try to copy files
that don't exist for people outside of Apple.
2008-07-18 Landry Breuil <landry@openbsd.org>
Bug 19975: [OpenBSD] Patches to enable build of WebKit
<https://bugs.webkit.org/show_bug.cgi?id=19975>
Reviewed by David Kilzer.
* DumpRenderTree/DumpRenderTree.h: OpenBSD doesn't support wide characters.
2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
CygwinDownloader fails to install necessary packages
https://bugs.webkit.org/show_bug.cgi?id=20075
Reviewed by Mark Rowe.
* CygwinDownloader/cygwin-downloader.zip: Rebuilt after two broken
mirrors removed in r34116. Set MIME type to application/octet-stream.
2008-07-16 Jon Honeycutt <jhoneycutt@apple.com>
CygwinDownloader's make-zip.sh script fails
https://bugs.webkit.org/show_bug.cgi?id=20074
Reviewed by Mark Rowe.
* CygwinDownloader/cygwin-downloader.py:
2008-07-15 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Refactor accessibility testing code.
We now have:
- AccessibilityController
Controller which has access to the WebView and can provide the focused element, root element
and in the future, elementAtPoint.
- AccessibilityUIElement
Object which provides access to the data provided by the Accessibility APIs.
* DumpRenderTree/AccessibilityController.cpp:
(getFocusedElementCallback):
(getRootElementCallback):
(AccessibilityController::getJSClass):
* DumpRenderTree/AccessibilityController.h:
* DumpRenderTree/AccessibilityUIElement.cpp: Added.
(allAttributesCallback):
(attributesOfLinkedUIElementsCallback):
(attributesOfChildrenCallback):
(getRoleCallback):
(getTitleCallback):
(getDescriptionCallback):
(getWidthCallback):
(getHeightCallback):
(getIntValueCallback):
(getMinValueCallback):
(getMaxValueCallback):
(finalize):
(AccessibilityUIElement::makeJSAccessibilityUIElement):
(AccessibilityUIElement::getJSClass):
* DumpRenderTree/AccessibilityUIElement.h: Added.
(AccessibilityUIElement::platformUIElement):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::AccessibilityController):
(AccessibilityController::~AccessibilityController):
(AccessibilityController::focusedElement):
(AccessibilityController::rootElement):
* DumpRenderTree/mac/AccessibilityUIElementMac.mm: Added.
(AccessibilityUIElement::AccessibilityUIElement):
(descriptionOfValue):
(attributesOfElement):
(nsStringToJSStringRef):
(concatenateAttributeAndValue):
(AccessibilityUIElement::getLinkedUIElements):
(AccessibilityUIElement::getChildren):
(AccessibilityUIElement::attributesOfLinkedUIElements):
(AccessibilityUIElement::attributesOfChildren):
(AccessibilityUIElement::allAttributes):
(AccessibilityUIElement::role):
(AccessibilityUIElement::title):
(AccessibilityUIElement::description):
(AccessibilityUIElement::width):
(AccessibilityUIElement::height):
(AccessibilityUIElement::intValue):
(AccessibilityUIElement::minValue):
(AccessibilityUIElement::maxValue):
2008-07-14 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin
Add support to get attributes of the AXChildren of an objecty
* DumpRenderTree/AccessibilityController.cpp:
(attributesOfChildrenForFocusedElementCallback):
(AccessibilityController::staticFunctions):
* DumpRenderTree/AccessibilityController.h:
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(descriptionOfValue):
(AccessibilityController::attributesOfChildrenForFocusedElement):
2008-07-14 Steve Falkenburg <sfalken@apple.com>
Build fix.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2008-07-14 Adam Roben <aroben@apple.com>
Attempted Windows build fix
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Add
CoreFoundation/OSXCompatibilityHeaders[/GNUCompatibility] to the
include path.
2008-07-14 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Geoff Garen.
Eliminate per-thread JavaScript global data instance support and make arbitrary
global data/global object combinations possible.
* DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
(runJavaScriptThread): Don't pass a released context reference to JSGarbageCollect.
In this scenario, it was causing crashes after each 10-20 tests, because there was a large
chance for a different thread to cause GC after the context was released.
2008-07-11 Stephanie Lewis <slewis@apple.com>
Reviewed by Darin Adler.
Make sure we read WebCore Leak messages. Force full document teardown for DumpRenderTree.
Up timeout limit, some slower machines were timing out before crashtracer finished writing out to disk and quitting DRT.
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting):
(resetWebViewToConsistentStateBeforeTesting):
* Scripts/run-webkit-tests:
2008-07-10 Steve Falkenburg <sfalken@apple.com>
Build fix.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2008-07-09 Eric Seidel <eric@webkit.org>
Reviewed by Mark Rowe.
Print <div> backgrounds when printing from DRT.
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting):
2008-07-09 Eric Seidel <eric@webkit.org>
Reviewed by Mark Rowe.
Fix copying of expected results to correct location
* Scripts/run-webkit-tests:
2008-07-09 Eric Seidel <eric@webkit.org>
Reviewed by aroben.
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(dumpAsPDFCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
(LayoutTestController::dumpAsPDF):
(LayoutTestController::setDumpAsPDF):
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpFrameAsPDF):
(dump):
2008-07-09 Eric Seidel <eric@webkit.org>
Reviewed by weinig.
Add Content-Type support to DumpRenderTree and run-webkit-tests
and move expected.txt files to expected.webarchive
https://bugs.webkit.org/show_bug.cgi?id=15565
* DumpRenderTree/cg/ImageDiffCG.cpp:
(compareImages):
(main):
* DumpRenderTree/cg/PixelDumpSupportCG.cpp:
(printPNG):
* DumpRenderTree/mac/DumpRenderTree.mm:
(dump):
* Scripts/run-webkit-tests:
2008-07-08 Jon Honeycutt <jhoneycutt@apple.com>
Reviewed by Anders.
Port r34988 to Mac: allow tests to define JavaScript to execute when
NPP_DestroyStream or NPP_URLNotify is called.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
(NPP_New): Remove initialization that happens in pluginAllocate. Look
for new arguments onStreamDestroy and onURLNotify.
(NPP_Destroy): Free onStreamDestroy and onURLNotify.
(executeScript): Code moved from onStreamLoad.
(NPP_NewStream): Call executeScript.
(NPP_DestroyStream): Same.
(NPP_URLNotify): Same.
2008-07-07 Beth Dakin <bdakin@apple.com>
Reviewed by Anders.
This patch extends DRT accessibility tests to add the ability to
query the intValue, minValue, and maxValue of the focused element.
* DumpRenderTree/AccessibilityController.cpp:
(intValueOfFocusedElementCallback):
(minValueOfFocusedElementCallback):
(maxValueOfFocusedElementCallback):
(AccessibilityController::staticFunctions):
* DumpRenderTree/AccessibilityController.h:
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::intValueOfFocusedElement):
(AccessibilityController::minValueOfFocusedElement):
(AccessibilityController::maxValueOfFocusedElement):
2008-07-07 Steve Falkenburg <sfalken@apple.com>
Fix build.
* DumpRenderTree/win/ImageDiff.vcproj:
2008-07-02 Jon Honeycutt <jhoneycutt@apple.com>
Allow tests to define JavaScript to execute when NPP_DestroyStream or
NPP_URLNotify is called.
Reviewed by Anders.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Add a new
property, "returnErrorFromNewStream." This is to support the test for
<rdar://5983747> Safari crashes trying to load the SilverLight plugin,
caused by WebKit calling NPP_DestroyStream after a plug-in returns an
error from NPP_NewStream.
(pluginGetProperty):
(pluginSetProperty):
(pluginAllocate):
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added new
members, onStreamDestroy and onURLNotify.
* DumpRenderTree/win/TestNetscapePlugin/main.cpp:
(NPP_New): Remove initialization of onStreamLoad; this was moved to
pluginAllocate. Look for new arguments onStreamDestroy and
onURLNotify, and store their values.
(NPP_Destroy): Free new members.
(executeScript): Code moved from onStreamLoad
(NPP_NewStream): If returnErrorFromNewStream has been set to true,
return a generic error code. If onStreamLoad is set, execute it as
JavaScript.
(NPP_DestroyStream): If onStreamDestroy is set, execute it as JS.
(NPP_URLNotify): Same, for onURLNotify.
2008-07-02 Brady Eidson <beidson@apple.com>
Reviewed by Mitz Pettel and John Sullivan
Add the ability to tell DRT to call stopLoading on a WebFrame inside of a didStartProvisionalLoadForFrame
load delegate.
Required to add a layout test for the fix for <rdar://problem/5549871>
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]): If stopProvisionalFrameLoads is set, call
[WebFrame stopLoading] to test for the crash reflected in 5549871
All of the following are infrastructure to add the layoutTestController.setStopProvisionalFrameLoads() call:
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(setStopProvisionalFrameLoadsCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
(LayoutTestController::stopProvisionalFrameLoads):
(LayoutTestController::setStopProvisionalFrameLoads):
2008-07-01 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin
Support ability to get width and height of an element through accessibility
* DumpRenderTree/AccessibilityController.cpp:
(widthOfFocusedElementCallback):
(heightOfFocusedElementCallback):
(AccessibilityController::staticFunctions):
* DumpRenderTree/AccessibilityController.h:
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::widthOfFocusedElement):
(AccessibilityController::heightOfFocusedElement):
2008-06-30 Chris Fleizach <cfleizach@apple.com>
Reviewed by Beth Dakin
Support the ability to get the linked ui elements of an object
* DumpRenderTree/AccessibilityController.cpp:
(attributesOfLinkedUIElementsForFocusedElementCallback):
(AccessibilityController::staticFunctions):
* DumpRenderTree/AccessibilityController.h:
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::attributesOfLinkedUIElementsForFocusedElement):
(AccessibilityController::allAttributesOfFocusedElement):
(attributesOfElement):
(nsStringToJSStringRef):
2008-06-29 Sam Weinig <sam@webkit.org>
Fix Tiger build.
* DumpRenderTree/mac/EventSendingController.mm:
(eventTypeForMouseButtonAndAction):
2008-06-27 Eric Seidel <eric@webkit.org>
Reviewed by darin.
Add multi-button mouseevent support to DRT
https://bugs.webkit.org/show_bug.cgi?id=15173
It's now possible to specify the mouse button with:
eventSender.mouseDown(1); eventSender.mouseUp(1); etc.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/EventSendingController.h:
* DumpRenderTree/mac/EventSendingController.mm:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(eventTypeForMouseButtonAndAction):
(-[EventSendingController updateClickCountForButton:]):
(-[EventSendingController mouseDown:]):
(-[EventSendingController mouseUp:]):
(-[EventSendingController mouseMoveToX:Y:]):
(-[EventSendingController contextClick]):
2008-06-28 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Oliver.
Copy <test>-expected.png from the right location to /tmp/layout-test-results.
Use $expectedPixelDir instead of $expectedDir. Allows using SVG pixel tests again.
* Scripts/run-webkit-tests:
2008-06-27 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Christian Dywan.
[Gtk] Initialize webview settings before running DRT tests
http://bugs.webkit.org/show_bug.cgi?id=19778
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(setDefaultsToConsistentStateValuesForTesting):
(main):
2008-06-26 Darin Adler <darin@apple.com>
* Scripts/check-for-weak-vtables: Fixed comment.
2008-06-26 Darin Adler <darin@apple.com>
* Scripts/check-for-weak-vtables: Added.
2008-06-26 Beth Dakin <bdakin@apple.com>
Reviewed by Sam.
Do not include AXPosition in the dump of all of the accessibility
attributes since it is screen-specific.
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::allAttributesOfFocusedElement):
2008-06-26 Beth Dakin <bdakin@apple.com>
Reviewed by Anders.
This is a speculative fix for the failing layout test on the build
bot. It seems that the problem that the Build Bot is having is
Tiger-specific. On Tiger, [NSValue description] was not very smart.
So I replaced our call to description with a hand-rolled equivalent
that will match on both platforms.
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(descriptionOfValue):
2008-06-25 Beth Dakin <bdakin@apple.com>
Reviewed by Sam Weinig.
This patch adds support to the AccessibilityController to query the
following attributes specifically, without a full attribute dump:
AXRole, AXTitle, and AXDescription.
* DumpRenderTree/AccessibilityController.cpp:
(allAttributesForFocusedElementCallback):
(roleOfFocusedElementCallback):
(titleOfFocusedElementCallback):
(descriptionOfFocusedElementCallback):
(AccessibilityController::staticFunctions):
* DumpRenderTree/AccessibilityController.h:
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
(AccessibilityController::allAttributesForFocusedElement):
(concatenateAttributeAndValue):
(AccessibilityController::roleOfFocusedElement):
(AccessibilityController::titleOfFocusedElement):
(AccessibilityController::descriptionOfFocusedElement):
2008-06-24 Dan Bernstein <mitz@apple.com>
Reviewed by Stephanie Lewis.
- move the linker flags from the debug configuration in the project
to the shared configuration
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
2008-06-24 Dan Bernstein <mitz@apple.com>
- try to fix the Tiger build
* DumpRenderTree/mac/AccessibilityControllerMac.mm:
2008-06-24 Sam Weinig and Beth Dakin <bdakin@apple.com and sam@webkit.org>
Reviewed by Darin Adler.
Fix for <rdar://problem/5884881> Make DumpRenderTree support
accessibility tests
This patch adds some basic support for accessibility layout tests
on the Mac.
* DumpRenderTree/AccessibilityController.cpp: Added.
(AccessibilityController::AccessibilityController):
(AccessibilityController::~AccessibilityController):
(dumpCurrentAttributesCallback):
(AccessibilityController::makeWindowObject):
(AccessibilityController::getJSClass):
(AccessibilityController::staticFunctions):
* DumpRenderTree/AccessibilityController.h: Added.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/AccessibilityControllerMac.mm: Added.
(descriptionOfValue):
(AccessibilityController::dumpCurrentAttributes):
* DumpRenderTree/mac/DumpRenderTree.mm:
* DumpRenderTree/mac/FrameLoadDelegate.h:
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate init]):
(-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
2008-06-24 John Sullivan <sullivan@apple.com>
Reviewed by Dan Bernstein
* Scripts/extract-localizable-strings:
add UI_STRING_LOCALIZE_LATER, LPCTSTR_UI_STRING_LOCALIZE_LATER, and LOG_WARNING to the
list of debugging macros, to avoid noise when keeping the list of localized string
exceptions up to date
2008-06-24 Dan Bernstein <mitz@apple.com>
Rubber-stamped by Darin Adler.
- add a font family for testing font-weight
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added linker
flags to create data sections for the WeightWatcher fonts.
* DumpRenderTree/fonts: Added.
* DumpRenderTree/fonts/WebKitWeightWatcher100.ttf: Added.
* DumpRenderTree/fonts/WebKitWeightWatcher200.ttf: Added.
* DumpRenderTree/fonts/WebKitWeightWatcher300.ttf: Added.
* DumpRenderTree/fonts/WebKitWeightWatcher400.ttf: Added.
* DumpRenderTree/fonts/WebKitWeightWatcher500.ttf: Added.
* DumpRenderTree/fonts/WebKitWeightWatcher600.ttf: Added.
* DumpRenderTree/fonts/WebKitWeightWatcher700.ttf: Added.
* DumpRenderTree/fonts/WebKitWeightWatcher800.ttf: Added.
* DumpRenderTree/fonts/WebKitWeightWatcher900.ttf: Added.
* DumpRenderTree/mac/DumpRenderTree.mm:
(activateFonts): Renamed activateAhemFont to this and made it activate
the WeightWatcher fonts in addition to Ahem.
(prepareConsistentTestingEnvironment): Adjusted for the name change.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initialize): Added the WeightWatcher fonts.
2008-06-20 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Darin Adler.
Extend the build-webkit (and set-webkit-configuration) script to
support Cairo-based webkit builds. (see http://bugs.webkit.org/show_bug.cgi?17952)
* Scripts/build-webkit: Add --cairo-win32 to the help message
* Scripts/webkitdirs.pm: Extend the 'determinePassedConfiguration
subroutine to recognize the --cairo-win32 flag. When present,
the build configuration is changed from Debug/Release to
Debug_Cairo/Release_Cairo. This flag is only active when the
isCygwin() test is true.
2008-06-17 Dan Bernstein <mitz@apple.com>
Reviewed by Justin Garcia.
- prefer Leopard results when running on Snow Leopard.
* Scripts/run-webkit-tests: Added a mapping of Snow Leopard to
mac-leopard.
* Scripts/webkitdirs.pm: Added isSnowLeopard().
2008-06-15 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Updated for the latest round of renaming.
2008-06-15 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Updated for the latest round of renaming.
2008-06-15 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Updated for the latest round of renaming.
2008-06-15 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Updated for the latest round of renaming.
2008-06-15 Darin Adler <darin@apple.com>
* Scripts/do-file-rename: Updated.
* Scripts/do-webcore-rename: Updated for the latest round of renaming.
2008-06-15 Darin Adler <darin@apple.com>
* Scripts/do-file-rename: Updated for the latest round of renaming.
* Scripts/do-webcore-rename: Tweaked and reorganized a bit.
2008-06-15 Darin Adler <darin@apple.com>
* Scripts/create-exports: Added.
* Scripts/do-file-rename: Added some planned renames.
* Scripts/do-webcore-rename: Updated for the latest round of renaming.
2008-06-15 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Updated for the latest round of renaming.
2008-06-15 Maciej Stachowiak <mjs@apple.com>
Reviewed by Oliver.
- rename testkjs to jsc
* Scripts/build-jsc: Copied from Scripts/build-testkjs.
* Scripts/build-testkjs: Removed.
* Scripts/run-javascriptcore-tests:
* Scripts/run-jsc: Copied from Scripts/run-testkjs.
* Scripts/run-sunspider:
* Scripts/run-testkjs: Removed.
* Scripts/sunspider-compare-results:
2008-06-14 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Moved planned renames into a separate hash
from the actual renames. Removed many renames that are either done or
no longer planned.
2008-06-14 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Fixed obvious typo.
2008-06-13 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Added three more exceptions.
2008-06-10 Joerg Bornemann <joerg.bornemann@trolltech.com>
Reviewed by Simon.
For the qmake based build make it possible to build against makespecs where
QMAKE_CC is defined in a configuration file included from qmake.conf.
* Scripts/webkitdirs.pm: Added support for include() statements in
qmake.conf.
2008-06-09 Alp Toker <alp@nuanti.com>
gcc3/autotools build fix. Add explicit -O2 -fno-strict-aliasing to
each of the tools since these are no longer set globally.
* GNUmakefile.am:
2008-06-08 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Added another exception.
2008-06-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Timothy.
Remove the --squirrelfish option from SunSpider, as it is no longer needed.
* Scripts/run-sunspider:
2008-06-05 Alp Toker <alp@nuanti.com>
Build fix for r34387.
* GNUmakefile.am:
2008-06-04 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Oliver.
Add an exception for Opcode.o to the global initializers check so that
we can dump instruction statistics in the JavaScript virtual machine.
* Scripts/check-for-global-initializers:
2008-05-30 Steve Falkenburg <sfalken@apple.com>
Generate an isolated COM manifest for registry free COM.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2008-06-02 Anders Carlsson <andersca@apple.com>
Reviewed by David Hyatt and Mitz.
<rdar://problem/5704119>
repro crash in WebCore::RenderPart::setWidget (plugin-related?)
Call -[WebView display] in the "plug-in" failed delegate method, simulating
the sheet that Safari puts up.
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:plugInFailedWithError:dataSource:]):
2008-05-30 Timothy Hatcher <timothy@apple.com>
Made the starting line number of scripts be 1-based throughout the engine.
This cleans up script line numbers so they are all consistent now.
Reviewed by Oliver Hunt.
* DumpRenderTree/mac/ObjCController.m:
(runJavaScriptThread): Pass a line number of 1 instead of 0 to JSEvaluateScript.
* DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
(runJavaScriptThread): Ditto.
* DumpRenderTree/win/DumpRenderTree.cpp:
(runJavaScriptThread): Ditto.
2008-05-29 Geoffrey Garen <ggaren@apple.com>
Reviewed by Adam Roben.
Fixed VCSUtils.pm to work with git repositories inside symlinks.
* Scripts/VCSUtils.pm: Compute a relative path from the git repository
root, instead of the root of the filesystem, to work around a bug in
abs2rel when traversing symlinked home directories.
2008-05-29 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
Restore original behavior of isOSX() referring to the Mac port, not the OS itself.
https://bugs.webkit.org/show_bug.cgi?id=19311
* Scripts/webkitdirs.pm:
2008-05-29 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
Fix run-iexploder-tests and run-mangleme-tests to work with updated shared scripts and
configuration files.
* Scripts/run-iexploder-tests:
* Scripts/run-mangleme-tests:
Renamed runSafari to not conflict with the one in webkitdirs.
Added SSLCertificateFile option for httpd, as now needed.
2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Update the sample app after wxWebFrame->wxWebBrowserShell rename.
* wx/browser/browser.cpp:
(MyApp::OnInit):
2008-05-24 Andreia Gaita <shana@isninja.com>
Reviewed by Alp Toker.
cygwin-downloader.py fixes.
Remove two non-working mirrors. Add a check for missing dependency
packages to avoid bailing out on an inconsistent Cygwin package list.
* CygwinDownloader/cygwin-downloader.py:
2008-05-24 Jan Michael Alonzo <jmalonzo@webkit.org>
Reviewed by Darin Adler.
Remove useQmake usage. QMake build doesn't support Gtk port
anymore.
Also fix 2 occurences of "Web Kit". Should be WebKit.
* Scripts/build-webkit:
* Scripts/run-javascriptcore-tests:
* Scripts/run-launcher:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-05-22 Stephanie Lewis <slewis@apple.com>
Reviewed by Dan.
implement the beforeUnload UI delegate so that DRT will dispatch beforeunload events.
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:runBeforeUnloadConfirmPanelWithMessage:initiatedByFrame:]):
* DumpRenderTree/win/UIDelegate.cpp:
(SearchableWebViewHost::runBeforeUnloadConfirmPanelWithMessage):
2008-05-21 Adele Peterson <adele@apple.com>
Reviewed by Adam.
DumpRenderTree support for <rdar://problem/5787733> fast/dom/HTMLDocument/hasFocus.html fails on Windows
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::webViewFocus): Added.
(UIDelegate::webViewUnfocus): Added.
* DumpRenderTree/win/UIDelegate.h:
2008-05-21 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Stephanie Lewis.
Set the pass_through flag on Getopt so that extra arguments can be passed through to Safari,
rather than trigger an unknown argument message. This allows run-webkit-tests to display results
once more.
* Scripts/run-safari:
2008-05-21 Stephanie Lewis <slewis@apple.com>
Reviewed by Maciej, Mark.
arch doesn't take arguments on tiger. expand DRT timeout for guardMalloc.
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-05-20 Mark Rowe <mrowe@apple.com>
Reviewed by Stephanie Lewis.
Improve the behavior of run-webkit-tests with 64-bit WebKit by automatically inferring whether to run 64-bit.
If --64-bit is not passed to run-webkit-tests, attempt to guess whether we should run 64-bit.
This decision is made based on the 64-bitness of the built WebKit framework if it exists, and
can be manually overridden by passing --64-bit or --no-64-bit. This removes the need to always
pass an argument to run-webkit-tests after having built with "make x86_64".
* Scripts/gdb-safari:
* Scripts/run-safari:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm: Split the setting of the 64-bit flag, the determination of the
preferred architecture, and exporting of the environment variables for 'arch' out into
separate subroutines.
2008-05-20 Mark Rowe <mrowe@apple.com>
Fix "make x86_64" by adding x86_64 target to WebKitTools Makefile.
* Makefile:
=== End merge of squirrelfish ===
2008-04-14 Maciej Stachowiak <mjs@apple.com>
Reviewed by Oliver.
- added support for --ubench mode
* Scripts/run-sunspider:
2008-03-26 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
--squirrelfish mode: pared down tests for squirrelfish to chew on.
* Scripts/run-sunspider:
=== Start merge of squirrelfish ===
2008-05-21 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Added another exception.
2008-05-19 Stephanie Lewis <slewis@apple.com>
Reviewed by Adam.
Explicitly set run mode to 32bit unless overridden to avoid
confusion when running tests
* Scripts/build-dumprendertree:
* Scripts/gdb-safari:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-05-16 Stephanie Lewis <slewis@apple.com>
Reviewed by Steve.
Print out pending unload event count. Also print out main frame name to match Mac.
* DumpRenderTree/win/FrameLoadDelegate.cpp:
(descriptionSuitableForTestResult):
(FrameLoadDelegate::didFinishDocumentLoadForFrame):
2008-05-16 Timothy Hatcher <timothy@apple.com>
Remove the Drosera project, code and resources since it has been
replaced with the Web Inspector's debugger. Removes references to
Drosera in various scripts and makefiles.
Rubber-stamped by Mark Rowe.
* BuildSlaveSupport/build-launcher-app:
* Drosera/DebuggerDocument.cpp: Removed.
* Drosera/DebuggerDocument.h: Removed.
* Drosera/Drosera.icns: Removed.
* Drosera/DroseraWin.make: Removed.
* Drosera/English.lproj/Debugger.nib/classes.nib: Removed.
* Drosera/English.lproj/Debugger.nib/info.nib: Removed.
* Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Removed.
* Drosera/English.lproj/MainMenu.nib/classes.nib: Removed.
* Drosera/English.lproj/MainMenu.nib/info.nib: Removed.
* Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Removed.
* Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
* Drosera/ForwardingHeaders/wtf/HashTraits.h: Removed.
* Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
* Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
* Drosera/ForwardingHeaders/wtf/Platform.h: Removed.
* Drosera/ForwardingHeaders/wtf/RetainPtr.h: Removed.
* Drosera/Images/Drosera.ico: Removed.
* Drosera/Images/SourceArrow.png: Removed.
* Drosera/Images/SourceArrowBlank.png: Removed.
* Drosera/Images/SourceArrowOpen.png: Removed.
* Drosera/Images/background_stripe.png: Removed.
* Drosera/Images/breakPoint.tif: Removed.
* Drosera/Images/breakPointDisabled.tif: Removed.
* Drosera/Images/breakpointeditor.png: Removed.
* Drosera/Images/close.tif: Removed.
* Drosera/Images/close_active.tif: Removed.
* Drosera/Images/close_hover.tif: Removed.
* Drosera/Images/console.png: Removed.
* Drosera/Images/continue.tif: Removed.
* Drosera/Images/fileIcon.jpg: Removed.
* Drosera/Images/finishFunction.tif: Removed.
* Drosera/Images/glossyFooterFill.tif: Removed.
* Drosera/Images/glossyHeader.png: Removed.
* Drosera/Images/glossyHeaderPressed.png: Removed.
* Drosera/Images/gradientBackground.png: Removed.
* Drosera/Images/gutter.png: Removed.
* Drosera/Images/navLeftDisabled.png: Removed.
* Drosera/Images/navLeftNormal.png: Removed.
* Drosera/Images/navLeftPressed.png: Removed.
* Drosera/Images/navRightDisabled.png: Removed.
* Drosera/Images/navRightNormal.png: Removed.
* Drosera/Images/navRightPressed.png: Removed.
* Drosera/Images/pause.tif: Removed.
* Drosera/Images/popUpArrows.png: Removed.
* Drosera/Images/programCounter.tif: Removed.
* Drosera/Images/programCounterBreakPoint.tif: Removed.
* Drosera/Images/programCounterBreakPointDisabled.tif: Removed.
* Drosera/Images/run.tif: Removed.
* Drosera/Images/siteCollapsed.tif: Removed.
* Drosera/Images/siteExpanded.tif: Removed.
* Drosera/Images/siteIcon.tif: Removed.
* Drosera/Images/small.ico: Removed.
* Drosera/Images/splitterBar.tif: Removed.
* Drosera/Images/splitterDimple.tif: Removed.
* Drosera/Images/step.tif: Removed.
* Drosera/Images/stepOut.tif: Removed.
* Drosera/Images/stepOver.tif: Removed.
* Drosera/Images/stop.tif: Removed.
* Drosera/Images/toolbarBackground.png: Removed.
* Drosera/Images/verticalSplitterBar.tiff: Removed.
* Drosera/Images/verticalSplitterDimple.tiff: Removed.
* Drosera/Makefile: Removed.
* Drosera/breakpointEditor.html: Removed.
* Drosera/config.h: Removed.
* Drosera/console.css: Removed.
* Drosera/console.html: Removed.
* Drosera/console.js: Removed.
* Drosera/debugger.css: Removed.
* Drosera/debugger.html: Removed.
* Drosera/debugger.js: Removed.
* Drosera/mac/DebuggerApplication.h: Removed.
* Drosera/mac/DebuggerApplication.mm: Removed.
* Drosera/mac/DebuggerClient.h: Removed.
* Drosera/mac/DebuggerClient.mm: Removed.
* Drosera/mac/DebuggerDocumentPlatform.mm: Removed.
* Drosera/mac/Drosera.xcodeproj/project.pbxproj: Removed.
* Drosera/mac/Info.plist: Removed.
* Drosera/mac/LauncherInfo.plist: Removed.
* Drosera/mac/Makefile: Removed.
* Drosera/mac/ServerConnection.h: Removed.
* Drosera/mac/ServerConnection.mm: Removed.
* Drosera/mac/launcher.m: Removed.
* Drosera/mac/main.m: Removed.
* Drosera/viewer.css: Removed.
* Drosera/viewer.html: Removed.
* Drosera/win/BaseDelegate.h: Removed.
* Drosera/win/DebuggerClient.cpp: Removed.
* Drosera/win/DebuggerClient.h: Removed.
* Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
* Drosera/win/Drosera.cpp: Removed.
* Drosera/win/Drosera.h: Removed.
* Drosera/win/Drosera.vcproj/Drosera.rc: Removed.
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed.
* Drosera/win/DroseraPrefix.cpp: Removed.
* Drosera/win/DroseraPrefix.h: Removed.
* Drosera/win/Info.plist: Removed.
* Drosera/win/ServerConnection.cpp: Removed.
* Drosera/win/ServerConnection.h: Removed.
* Drosera/win/resource.h: Removed.
* Makefile:
* Scripts/build-drosera: Removed.
* Scripts/gdb-drosera: Removed.
* Scripts/run-drosera: Removed.
* Scripts/run-drosera-nightly.cmd: Removed.
* Scripts/run-drosera.cmd: Removed.
* Scripts/webkitdirs.pm:
2008-05-15 Stephanie Lewis <slewis@apple.com>
Reviewed by Anders.
Dump the unload count for a frame after parsing is finished.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
2008-05-15 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Dan Bernstein.
https://bugs.webkit.org/show_bug.cgi?id=10707
DumpRenderTree should not be able to access non-local resources
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
Block them, and complain.
2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Update the version of libpng to download and instsall.
* wx/install-unix-extras:
2008-05-14 Julien Chaffraix <jchaffraix@webkit.org>
Reviewed by Eric.
- isDarwin() and isCygwin() returned an empty string if the platform equality check fails.
We now force the return value to be numeric.
- Removed platform checks as it was a work around the previous issue.
- Replaced isDarwin() by isOSX() as they have now the same behaviour.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2008-05-12 Adam Roben <aroben@apple.com>
Support for testing NPN_PostURL
Reviewed by Anders Carlsson.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(toCString): Added this helper function.
(testPostURLFile): Added. Writes the passed-in content to the
passed-in file and calls NPN_PostURL with the passed-in URL and
target.
(pluginInvoke): Added a case for testPostURLFile.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(followShortcuts): Changed to allow paths that don't yet exist.
2008-05-12 Mark Rowe <mrowe@apple.com>
Reviewed by Sam Weinig.
Minor cleanup of the DRT Xcode project.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Use GCC_OPTIMIZATION_LEVEL rather than
OPTIMIZATION_CFLAGS. Don't include Info.plist in the "Copy Bundle Resources" build phase as it does
not need to be there.
2008-05-12 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
Add support for testing application caches.
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree):
Empty the cache.
(resetWebViewToConsistentStateBeforeTesting):
Turn on support for the application cache.
2008-05-09 Mark Rowe <mrowe@apple.com>
Reviewed by Anders Carlsson.
Update TestNetscapePlugIn to build 64-bit using the Cocoa event model.
It currently does not attempt to print events which means that plugins/mouse-events.html
will fail when run 64-bit. All other tests that use this plugin pass.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(testGetIntIdentifier):
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
(NPP_New):
(NPP_HandleEvent):
2008-05-09 Brady Eidson <beidson@apple.com>
Reviewed by Adam Roben
Explicitly call shutDownWebKit() before quitting.
* Drosera/win/Drosera.cpp:
(_tWinMain):
* DumpRenderTree/win/DumpRenderTree.cpp:
(main):
2008-05-09 Mark Rowe <mrowe@apple.com>
Fix the Tiger build of Drosera.
* Drosera/config.h: Define BUILDING_ON_TIGER when building on Tiger.
2008-05-09 Sam Weinig <sam@webkit.org>
Rubber-stamped by Mark Rowe.
Remove the ENABLE_CROSS_DOCUMENT_MESSAGING #ifdefs.
* Scripts/build-webkit:
2008-05-08 Mark Rowe <mrowe@apple.com>
Another attempt at a Tiger build fix.
Use DumpRenderTreeMac.h rather than DumpRenderTree.h as DumpRenderTreePasteboard is not an Obj-C++ file.
* DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2008-05-08 Mark Rowe <mrowe@apple.com>
Tiger build fix. Include DumpRenderTree.h so that BUILDING_ON_TIGER will be defined.
* DumpRenderTree/mac/DumpRenderTreePasteboard.m:
2008-05-08 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver Hunt and Dan Bernstein.
Update DumpRenderTree to build 64-bit.
The three major changes here are:
1) Use NSInteger in the appropriate places.
2) Use ColorSync API that is available in 64-bit to switch display profiles.
3) Use method-swizzling to achieve similar results to class posing when using the Obj-C 2.0 runtime.
The build of DumpRenderTree will still fail in 64-bit for now as the TestNetscapePlugIn target also
needs updated to successfully build.
* DumpRenderTree/mac/Configurations/Base.xcconfig: Don't prevent Xcode from building 64-bit.
* DumpRenderTree/mac/DumpRenderTree.mm:
(swizzleAllMethods):
(poseAsClass):
(prepareConsistentTestingEnvironment):
* DumpRenderTree/mac/DumpRenderTreeMac.h:
* DumpRenderTree/mac/DumpRenderTreePasteboard.h:
* DumpRenderTree/mac/DumpRenderTreePasteboard.m:
* DumpRenderTree/mac/DumpRenderTreeWindow.mm:
* DumpRenderTree/mac/PixelDumpSupportMac.mm:
(restoreColorSpace):
(failedGettingCurrentProfile):
(setDefaultColorProfileToRGB):
2008-05-08 Mark Rowe <mrowe@apple.com>
Reviewed by Darin Adler.
Clean up Drosera so that it will build 64-bit.
* Drosera/mac/DebuggerApplication.mm:
(-[DebuggerApplication numberOfRowsInTableView:]): Use NSInteger rather than int.
(-[DebuggerApplication tableView:objectValueForTableColumn:row:]): Ditto.
* Drosera/mac/Drosera.xcodeproj/project.pbxproj: Use the default value for VALID_ARCHS.
2008-05-07 David Kilzer <ddkilzer@apple.com>
Use File::Find and Getopt::Long in make-js-test-wrappers
Reviewed by Darin Adler.
* Scripts/make-js-test-wrappers:
- Updated Apple copyright statement.
- Added command-line switch parsing and -h|--help switch.
- Allowed user to pass list of files/directories on which to do
a restricted search for TEMPLATE.html files. The default
behavior is still to search the entire LayoutTests directory.
- Removed duplicate 'use strict' statement.
- Replaced use of `find` statements with File::Find::find().
- Remove unneeded chomp() calls now that we use File::Find.
(directoryFilter): Added. Filters .svn directories when used
with File::Find::find().
(findTemplateFiles): Added. Returns a list of TEMPLATE.html
files found.
2008-05-05 Steve Falkenburg <sfalken@apple.com>
Copy dependencies of ImageDiff, DumpRenderTree in post-build step.
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/ImageDiff.vcproj:
2008-05-05 Adele Peterson <adele@apple.com>
Reviewed by Adam.
Look for the right ImageDiff executable for debug builds.
* Scripts/run-webkit-tests:
2008-05-05 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Ignore a Java leak showing up in the WebKit
leak tests.
2008-05-05 Ariya Hidayat <ariya.hidayat@trolltech.com>
Reviewed by Simon.
In the Qt's DumpRenderTree, adjust the web view properly (because W3C SVG
tests expect to be 480x360)
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::open):
2008-05-02 Dan Bernstein <mitz@apple.com>
Reviewed by Adam Roben.
- add an option to svn-apply to set the reviewer name in change logs
* Scripts/svn-apply: Added a [-r|--reviewer name] option.
2008-05-01 David Kilzer <ddkilzer@apple.com>
Clean up configuration usage in run-webkit-tests
Reviewed by Adam.
* Scripts/run-webkit-tests: Parse configuration switches using
passedConfiguration() from webkitdirs.pm like every other script.
Note that we must still call setConfiguration() afterwards in
case the --configuration switch was used. Use $configurationOption
when running build-dumprendertree instead of recreating the switch.
2008-04-29 Adam Roben <aroben@apple.com>
Restore the beloved COMPtr::operator&
2008-04-29 Adam Roben <aroben@apple.com>
Windows build fixes
Replace COMPtr::operator& with COMPtr::adoptionPointer.
2008-04-25 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
Fix run-webkit-tests --threading
and provisionally fix <https://bugs.webkit.org/show_bug.cgi?id=18661>
Proxy server issue in Sunday's Nightly
* DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
(runJavaScriptThread):
(startJavaScriptThreads):
(stopJavaScriptThreads):
Spawned threads were immediately detached, unlike the original ones, so joining them
made no sense. Now, all threads are created detached, and stopJavaScriptThreads() just
waits for them all to exit.
2008-04-28 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Simon.
Reset dumping resource load callbacks to false for the next test
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::reset):
2008-04-28 Tor Arne Vestbø <tavestbo@trolltech.com>
Reviewed by Simon.
Adapt to the latest API changes in WebKit/qt/Api.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
* DumpRenderTree/qt/jsobjects.cpp:
2008-04-26 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Delete the DerivedSources after make clean has been done so that the DerivedSources
don't get re-created. Also, use the proper extension for the Win wxPython extension.
https://bugs.webkit.org/show_bug.cgi?id=18756
* wx/build-wxwebkit:
2008-04-26 Adam Barth <hk9565@gmail.com>
Reviewed by Adam Roben and Sam Weinig.
Updates LayoutTestController to use host instead of domain.
Collin Jackson <collinj-webkit@collinjackson.com> also contributed to this patch.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setDatabaseQuota):
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]):
2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Need the latest libpng. (Somehow my initial test passed without it.)
* wx/install-unix-extras:
2008-04-26 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Allow the user to set the path to SWIG using an environment variable.
https://bugs.webkit.org/show_bug.cgi?id=18660
* wx/build-wxwebkit:
2008-04-26 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Download the latest libpng version for building the
dependencies.
* wx/install-unix-extras:
2008-04-25 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Simon.
Implement dumping of resource load callbacks to pass http/tests/xmlhttprequest/abort-should-cancel-load.html
Similar to Editing and Frameloading we do the dumping within WebCore
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::dumpResourceLoadCallbacks):
* DumpRenderTree/qt/jsobjects.h:
2008-04-24 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Reviewed by Maciej Stachowiak.
http://bugs.webkit.org/show_bug.cgi?id=18485
Typo and documentation fix for build-webkit
* Scripts/build-webkit:
2008-04-24 Anders Carlsson <andersca@apple.com>
Reviewed by Sam.
Don't call fprintf from the signal handler.
* DumpRenderTree/mac/DumpRenderTree.mm:
(crashHandler):
2008-04-23 Adam Roben <aroben@apple.com>
Make crashes be reported as crashes, not hangs
Reviewed by David Kilzer.
* Scripts/run-webkit-tests:
(top level): Use the new status field of the output from
readFromDumpToolWithTimer to determine if the test crashed or hung.
(sub readFromDumpToolWithTimer):
- If we fail to read a line and $! is not EAGAIN, then we've crashed
and should not try to read any more.
- Changed the timedout field to a more general status field.
2008-04-22 David Kilzer <ddkilzer@apple.com>
Bug 18683: update-webkit returns 0 even if it fails
<https://bugs.webkit.org/show_bug.cgi?id=18683>
Reviewed by Mitz Pettel.
* Scripts/update-webkit:
(runSvnUpdate): Die if close() fails.
2008-04-21 Adam Roben <aroben@apple.com>
Flush stdout/stderr after printing every #EOF separator
This fixes a hang when running the pixel tests on Windows
Reviewed by Mitz Pettel.
* DumpRenderTree/win/DumpRenderTree.cpp:
(dump):
(main): We don't have to flush stdout/stderr in the arguments loop
anymore, as runTest flushes for us.
2008-04-21 Adam Roben <aroben@apple.com>
Fix pixel tests
* Scripts/run-webkit-tests:
(sub readFromDumpToolWithTimer): Use readline instead of read to
ensure that we don't read past the #EOF marker.
2008-04-21 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
Reviewed by Simon.
Build fix for Qt 4.3
* When building WebCore/internal make sure the QT_[BEGIN,END]_NAMESPACE is
always defined. Do this by adding defines to the compiler line
* DumpRenderTree/qt/DumpRenderTree.pro:
2008-04-19 Mike Hommey <glandium@debian.org>
Reviewed by Alp Toker.
Don't build GtkLauncher and DumpRenderTree with rpath.
* GNUmakefile.am:
2008-04-18 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=16620
[GTK] Autotools make dist and make check support
Cleanups.
* GNUmakefile.am:
2008-04-18 Adam Roben <aroben@apple.com>
Drop the hang timer to 30 seconds
This matches what DRT/mac was using.
Reviewed by Mitz Pettel.
* Scripts/run-webkit-tests:
2008-04-18 Adam Roben <aroben@apple.com>
Get rid of DRT's Watchdog
run-webkit-tests now detects hangs and samples DRT as needed.
Reviewed by Mitz Pettel.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Removed
Watchdog* files from the project.
* DumpRenderTree/Watchdog.cpp: Removed.
* DumpRenderTree/Watchdog.h: Removed.
* DumpRenderTree/mac/DumpRenderTree.mm: Removed uses of Watchdog
(dumpRenderTree):
(runTest):
* DumpRenderTree/mac/WatchdogMac.h: Removed.
* DumpRenderTree/mac/WatchdogMac.mm: Removed.
* Scripts/run-webkit-tests:
(sub testCrashedOrTimedOut): Call sampleDumpTool() if we timed out.
(sub sampleDumpTool): Added. Writes a sample report to
~/Library/Logs/DumpRenderTree/HangReport.txt.
2008-04-18 Simon Hausmann <hausmann@webkit.org>
Reviewed by Holger.
Adapt to the API changes in WebKit/qt
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::WebPage):
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::initJSObjects):
(WebCore::DumpRenderTree::dumpFramesAsText):
(WebCore::DumpRenderTree::dump):
2008-04-17 Adam Roben <aroben@apple.com>
Fix many tests on Windows
* Scripts/run-webkit-tests:
(readFromDumpToolWithTimer):
- Use read instead of sysread to ensure that we don't interfere with
other uses of buffered IO in this script.
(setFileHandleNonBlocking): Actually set the filehandle to blocking
when specified.
2008-04-17 Adam Roben <aroben@apple.com>
Fix ~10 tests
* Scripts/run-webkit-tests: Only remove the newline after #EOF, not
whatever newline happens to be at the end of what we've read.
2008-04-17 Adam Roben <aroben@apple.com>
Remove DRT/win's hang timer
run-webkit-tests takes care of this for us now
Reviewed by Anders Carlsson.
* DumpRenderTree/win/DumpRenderTree.cpp:
2008-04-17 Adam Roben <aroben@apple.com>
Don't wait for the hang timer twice in the case of a hang
Previously we'd wait for a hang while reading both stdout and stderr
from DRT. Now we'll only wait for one or the other.
Reviewed by Anders Carlsson.
* Scripts/run-webkit-tests:
(top level): Don't wait for stderr to time out if stdout already timed
out.
(readFromDumpToolWithTimer): If $dontWaitForTimeOut is true, quit
after the first read that returns no data.
2008-04-17 Adam Roben <aroben@apple.com>
Don't throw away the output from timed out tests
Reviewed by Anders Carlsson.
* Scripts/run-webkit-tests:
(top level): Updated for changes to readFromDumpToolWithTimer.
(readFromDumpToolWithTimer): Return a hash that contains both the
output and whether or not the test timed out.
2008-04-17 Adam Roben <aroben@apple.com>
Make the hang timer 60 seconds
* Scripts/run-webkit-tests:
2008-04-17 Adam Roben <aroben@apple.com>
Get rid of carriage returns in DRT/win's stderr
Reviewed by Eric Seidel.
* DumpRenderTree/win/DumpRenderTree.cpp:
(main): Mark stderr as binary like we already do for stdout.
2008-04-17 Adam Roben <aroben@apple.com>
Fix Bug 17678: run-webkit-tests should have a watchdog timer (and
timeout long tests)
<https://bugs.webkit.org/show_bug.cgi?id=17678>
We now abort tests that take longer than 60 seconds to produce output.
This matches the watchdog timer in DRT/mac and DRT/win (which we can
now remove).
Reviewed by Eric Seidel.
* Scripts/run-webkit-tests:
(top level): Read DRT's output using the new readFromDumpToolWithTimer
subroutine. If readFromDumpToolWithTimer returns undefined it means
the test timed out, so we register the test as a hang and move on.
(sub testCrashedOrTimedOut): Renamed from testCrashed. Now handles
both crashed and timed out tests. If the test timed out, we kill DRT
before returning.
(sub linksForTimedOutTest): Added. We don't have any output to link to for
tests that timed out.
(sub recordActualResultsAndDiff): Don't call length on undefined.
(sub readFromDumpToolWithTimer): Added. Performs non-blocking reads
from a filehandle until an #EOF is reached or
$maximumSecondsWithoutOutput have elapsed.
(sub setFileHandleNonBlocking): Marks a filehandle as blocking or
non-blocking.
2008-04-17 Adam Roben <aroben@apple.com>
Refactor test results page generation
Reviewed by Eric Seidel.
* Scripts/run-webkit-tests:
(sub htmlForResultsSection): Added. Takes a set of tests, a
description, and a subroutine to generate the links for each test, and
creates a HTML string containing a table of the tests and their
links.
(sub linksForExpectedAndActualResults): Added. Replaces the
htmlForExpectedAndActualResults subroutine.
(sub linksForMismatchTest): Added.
(sub linksForCrashOrErrorTest): Added.
(sub linksForNewTest): Added.
2008-04-17 Adam Roben <aroben@apple.com>
Print the extension for all tests in the test results page
Reviewed by Eric Seidel.
* Scripts/run-webkit-tests:
2008-04-17 Adam Roben <aroben@apple.com>
Move code that counts finished tests into a subroutine
Reviewed by Eric Seidel.
* Scripts/run-webkit-tests:
(sub countFinishedTest): Added.
2008-04-17 Adam Roben <aroben@apple.com>
Move code that handles a crash into a subroutine
Reviewed by Eric Seidel.
* Scripts/run-webkit-tests:
(sub testCrashed): Added.
2008-04-17 Eric Seidel <eric@webkit.org>
Reviewed by hyatt.
Rename RenderView to RenderViewport in the next rename patch.
* Scripts/do-webcore-rename:
2008-04-17 Mario Bensi <mbensi@pleyo.com>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=18543
DumpRenderTree gtk freeze
fix DumpRenderTree gtk freeze
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dump):
2008-04-15 Anders Carlsson <andersca@apple.com>
Add missing ;
* Scripts/build-webkit:
2008-04-15 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
Add ENABLE_OFFLINE_WEB_APPLICATIONS to FEATURE_DEFINES.
* Scripts/build-webkit:
2008-04-15 Andre Poenitz <andre.poenitz@trolltech.com>
Reviewed by Simon.
Fix compilation with Qt namespaces
Qt can be configured to have all of its classes inside a specified namespaces.
This is for example used in plugin/component environments like Eclipse.
This change makes it possible to let the Qt port compile against a namespaced
Qt by the use of macros Qt provides to properly forward declare Qt classes in
the namespace.
* DumpRenderTree/qt/DumpRenderTree.h:
2008-04-08 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
Add a script that propagates any file changes made to the Bakefiles
over to GTK and Qt build systems. Still needs to be wired into
those ports though.
* Scripts/update-sources-list.py: Added.
2008-04-08 Mark Rowe <mrowe@apple.com>
Clean up after Brady.
* DumpRenderTree/mac/DumpRenderTree.mm: Add an include so that NSInteger can be found.
2008-04-08 Brady Eidson <beidson@apple.com>
Reviewed by Mitzpettel
Fixed http://bugs.webkit.org/show_bug.cgi?id=18302
-WebArchive subresources dump in random order, intermittent failures
* DumpRenderTree/mac/DumpRenderTree.mm:
(compareResourceURLs): Sorting function based on the resource URLs
(serializeWebArchiveToXML): Sort the subresource array
2008-04-07 Brady Eidson <beidson@apple.com>
OMG, BUILD - please!
* Scripts/build-webkit:
2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
Reviewed by Simon.
* Enable running http tests for Qt again. Failing tests can be put into the skipped list.
* Running these tests on windows and other platforms might need some work.
* Scripts/run-webkit-tests:
2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
Reviewed by Simon.
* For the http tests we need the output of the FrameLoaderClient. The QtWebKit API
is not exporting enough to create the output in DRT itself. Settle with the approach
Lars has taken for the Editing support and add branches to our FrameLoaderClient code.
* run-webkit-tests http/tests(/loading) can now be executed.
* For tests in loading/ directories we are going to throw away the dirty
QWebPage to start with something clean.
* DumpRenderTree/qt/DumpRenderTree.cpp:
2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
Reviewed by Simon.
* Treat http and https as special URLs as well. Change the main.cpp and
DumpRenderTree.cpp to handle http and https URIs as input.
* I'm not doing the clean up and merging of these two checks now.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::readStdin):
* DumpRenderTree/qt/main.cpp:
(main):
2008-04-03 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
Reviewed by Simon.
* Remove dumpFrameLoadCallbacks from simple-subframe.html because it is
located in a directory with the name "loading". And this will autoamtically
enable dumping.
* Remove this method from the LayoutTestController as it is unused now and this
avoids adding it to the DRT of the Qt port.
* DumpRenderTree/LayoutTestController.cpp:
(setPrivateBrowsingEnabledCallback):
2008-04-01 Christian Dywan <christian@imendio.com>
Build fix for GCC 4.3.
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp: include string.h
2008-04-01 Simon Hausmann <hausmann@webkit.org>
Reviewed by Holger.
Fix Qt DRT run by also printing EOF on stderr, as expected by
run-webkit-tests.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::dump):
2008-03-31 Julien Chaffraix <julien.chaffraix@gmail.com>
Reviewed by Darin Adler.
Bug 17665: determineSourceDir() dies if $sourceDir has a trailing backslash
Remove trailing '/' in $sourceDir in determineSourceDir().
Fix suggested by Dmitriy Kazachkov.
* Scripts/webkitdirs.pm:
2008-03-29 Adam Roben <aroben@apple.com>
Update for rename of an IWebViewPrivate method
Reviewed by Mitz Pettel.
* DumpRenderTree/win/DumpRenderTree.cpp:
(createWebViewAndOffscreenWindow):
2008-03-26 Antti Koivisto <antti@apple.com>
Reviewed by Anders.
Enable SVG animation support by default.
* Scripts/build-webkit:
2008-03-25 Adam Roben <aroben@apple.com>
Windows build fix
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
Add $(WebKitLibrariesDir)\include to the include path so we can find
stdint.h there.
2008-03-24 Eric Seidel <eric@webkit.org>
Reviewed by Mark.
Clean up SVG features message to be less confusing.
* Scripts/build-webkit:
2008-03-24 Sam Weinig <sam@webkit.org>
Reviewed by Dave Hyatt.
Add EventSender.zoomPageIn/zoomPageOut support to DRT.
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting):
* DumpRenderTree/mac/EventSendingController.mm:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(-[EventSendingController zoomPageIn]):
(-[EventSendingController zoomPageOut]):
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting):
* DumpRenderTree/win/EventSender.cpp:
(textZoomInCallback):
(textZoomOutCallback):
(zoomPageInCallback):
(zoomPageOutCallback):
2008-03-24 Dan Bernstein <mitz@apple.com>
Reviewed by Mark Rowe.
- update bisect-builds for Safari 3.1
* Scripts/bisect-builds: Added Safari 3.1 and the corresponding minimal
revision, r29711.
2008-03-21 Rodney Dawes <dobey@wayofthemonkey.com>
Reviewed by Holger.
http://bugs.webkit.org/show_bug.cgi?id=17981
Add webcore and javascriptcore cppflags to programs' _CPPFLAGS.
* GNUmakefile.am:
2008-03-21 Adam Roben <aroben@apple.com>
Remove a non-working mirror from cygwin-downloader and add the ruby package
* CygwinDownloader/cygwin-downloader.py:
* CygwinDownloader/cygwin-downloader.zip: Updated.
2008-03-20 Mark Rowe <mrowe@apple.com>
Reviewed by Sam Weinig.
Ensure that the defines generated for FEATURE_DEFINES are sorted so that they will match the default settings of each project.
This will prevent the world from being rebuilt if you happen to switch between building in Xcode and with build-webkit on the
command-line.
* Scripts/build-webkit:
2008-03-17 Eric Seidel <eric@webkit.org>
Reviewed by Dan Bernstein.
Fix bogus argCount check breaking plugin test.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
2008-03-17 Eric Seidel <eric@webkit.org>
Reviewed by darin.
Cleanup PluginObject.cpp and add support for testing
converting from int -> identifier -> string
and from string -> identifier -> int
as well as round-tripping ints and stings through identifiers
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(pluginGetProperty):
(pluginSetProperty):
(testDOMAccess):
(stringVariantToIdentifier):
(int32VariantToIdentifier):
(doubleVariantToIdentifier):
(variantToIdentifier):
(testIdentifierToString):
(testIdentifierToInt):
(testCallback):
(getURL):
(removeDefaultMethod):
(getURLNotify):
(testInvokeDefault):
(destroyStream):
(testEnumerate):
(testGetIntIdentifier):
(testGetProperty):
(testEvaluate):
(testGetPropertyReturnValue):
(pluginInvoke):
(pluginInvokeDefault):
(pluginInvalidate):
(pluginAllocate):
(pluginDeallocate):
(handleCallback):
2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
Rubber stamped by Darin Adler.
Add set-webkit-configuration support for wx port, and centralize
build dir location setting.
http://bugs.webkit.org/show_bug.cgi?id=17790
* wx/browser/browser.bkl:
* wx/build-wxwebkit:
2008-03-15 Darin Adler <darin@apple.com>
* Scripts/commit-log-editor: Include the name line of the change log entry.
A long time ago I designed this script to not include the name because I
thought it was redundant (same as the name of the person checking in), but
nowadays it's more common for someone to check something in done by someone
else.
* Scripts/do-webcore-rename: Added some more planned renames and removed
some that were already done "by hand".
2008-03-13 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Darin Adler.
Correct paths to vsprops files so they use the environment
variable, rather than hard-coded path.
http://bugs.webkit.org/show_bug.cgi?id=17797.
* WinLauncher/WinLauncher.vcproj: Correct paths to vsprops.
2008-03-12 Steve Falkenburg <sfalken@apple.com>
VSExpress build fix
* WinLauncher/WinLauncher.vcproj:
2008-03-12 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Alp Toker.
Run testkjs in the correct productsDir in the GTK+ port.
* Scripts/run-javascriptcore-tests:
2008-03-11 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Adam Roben.
Enabled WinLauncher as part of normal Windows build.
http://bugs.webkit.org/show_bug.cgi?id=17715.
* WinLauncher/WinLauncher.vcproj: Update to use vsprops so that
it can find the proper libraries to link against.
2008-03-10 Julien Chaffraix <julien.chaffraix@gmail.com>
Reviewed and landed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=17581
Bug 17581: Use of uninitialized value in string ne at WebKitTools/Scripts/run-webkit-tests line 1576.
Remove the previous warning which occurs when the --random option is used.
* Scripts/run-webkit-tests: verify that $component[0] is defined before checking for
its inequality
2008-03-07 Simon Hausmann <hausmann@webkit.org>
Reviewed by Darin Adler.
Done with Lars.
Ported the netscape test plugin to QWebPluginFactory.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::WebPage):
* DumpRenderTree/qt/main.cpp:
* DumpRenderTree/qt/testplugin.cpp:
(TestPlugin::plugins):
(TestPlugin::create):
* DumpRenderTree/qt/testplugin.h:
2008-03-09 Steve Falkenburg <sfalken@apple.com>
Stop Windows build if an error occurs in a prior project.
Rubber stamped by Darin Adler.
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/ImageDiff.vcproj:
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2008-03-08 Julien Chaffraix <julien.chaffraix@gmail.com>
Reviewed by Mark Rowe.
DRT build fix for Tiger.
* DumpRenderTree/mac/DumpRenderTreeMac.h: Define BUILDING_ON_TIGER.
2008-03-07 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver Hunt.
Fix WebKit build with GCC 4.2.
* DumpRenderTree/mac/ResourceLoadDelegate.mm: Use correct argument type in method signature.
2008-03-07 Stephanie Lewis <slewis@apple.com>
Reviewed by Oliver.
Add Windows part of <rdar://problem/5693690>
* DumpRenderTree/win/DumpRenderTree.cpp:
(dump):
(main):
2008-03-07 Alp Toker <alp@atoker.com>
Back out the r30818, r30819 build fix attempts now the GTK+ build
server has been upgraded.
* Scripts/webkitdirs.pm:
2008-03-07 Stephanie Lewis <slewis@apple.com>
Reviewed by Geoff.
<rdar://problem/5693690> run-webkit-tests swallows STDERR output, including WebCore LEAK messages
* DumpRenderTree/mac/DumpRenderTree.mm:
(dump): push EOF to stderr after every test
* Scripts/run-webkit-tests: collect stderr output and print it
2008-03-07 Steve Falkenburg <sfalken@apple.com>
Get pdevenv working with Visual Studio Express.
Reviewed by Adam.
* Scripts/pdevenv:
2008-03-06 Adele Peterson <adele@apple.com>
Reviewed by Darin Adler.
Updated for testing <rdar://problem/5785895> Implement hasFocus() for HTMLDocument (HTML5)
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webViewFocus:]): Remove duplicate code that was also in LayoutTestController::setWindowIsKey
(-[UIDelegate webViewUnfocus:]): Added. In Safari, the default is to focus another window if there is one.
To easily test cases where the window is unfocused, I made this just call setWindowIsKey(false).
2008-03-06 Matt Lilek <webkit@mattlilek.com>
Reviewed by Adam Roben.
Bug 17691: REGRESSION: FindSafari doesn't work
http://bugs.webkit.org/show_bug.cgi?id=17691
Swap my change from r30394 to use the Release libraries instead of Debug
since some machines don't have the Debug version.
* FindSafari/FindSafari.vcproj:
2008-03-06 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam and Tim.
<rdar://5631450> Drosera: breakpoint indicators disappear after the
script is finished running.
- If there is a pre-existing breakpoint on a line when the file is
updated we need to redraw it.
* Drosera/debugger.js:
2008-03-06 Brady Eidson <beidson@apple.com>
Tiger build fix...?
* DumpRenderTree/mac/WatchdogMac.mm:
2008-03-06 Brady Eidson <beidson@apple.com>
Reviewed by Darin
Added a cross-platform Watchdog thread to DRT.
The current watchdog in both DRTWin and DRTMac is Timer based. Therefore, deadlocks and long running
main thread hangs still affect DRT.
By placing the watchdog on a thread and having DRT "check in" after each test, long-running hangs
and true deadlocks can be caught.
There is one hook for platform specific code. As I did my development and testing on Mac, and Mac has
`sample` available, the Mac implementation of this hook samples the process before it is killed.
I arbitrarily chose 30 seconds as the timeout for now - this can be tweaked easily if we find a need.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/Configurations/Base.xcconfig: Added LINKER_DISPLAYS_MANGLED_NAMES
* DumpRenderTree/ForwardingHeaders/wtf/Locker.h: Added.
* DumpRenderTree/ForwardingHeaders/wtf/Threading.h: Added.
* DumpRenderTree/Watchdog.cpp: Added.
(Watchdog::Watchdog):
(Watchdog::~Watchdog):
(Watchdog::start):
(Watchdog::stop):
(Watchdog::checkIn):
(Watchdog::setWatchdogInterval):
(Watchdog::handleHang):
(Watchdog::watchdogThreadStart):
(Watchdog::watchdogThread):
* DumpRenderTree/Watchdog.h: Added.
* DumpRenderTree/mac/WatchdogMac.h: Added.
* DumpRenderTree/mac/WatchdogMac.mm: Added.
(WatchdogMac::handleHang): Sample the process and write it out to a file
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree): Setup and start the watchdog before running any tests
(runTest): Checkin with the watchdog after each test
2008-03-05 Alp Toker <alp@atoker.com>
Attempt to get the autotools build working again on the bot with
build-webkit.
Force the use of /bin/bash since we seem to have bash-isms in the
configure script right now.
* Scripts/webkitdirs.pm:
2008-03-05 Alp Toker <alp@atoker.com>
Re-attempt to switch to the autotools build system for GTK+.
Change scripts to continue when distclean fails.
* Scripts/webkitdirs.pm:
2008-03-05 Alp Toker <alp@atoker.com>
Force qmake for the GTK+ build until we get the build bot to succeed
with autotools (currently dies at make distclean)
* Scripts/webkitdirs.pm:
2008-03-04 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
Switch the default GTK+ build system from qmake to autotools.
qmake can still be used by defining WEBKIT_BUILD_SYSTEM=qmake
* Scripts/build-webkit:
* Scripts/run-launcher:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-03-04 Sam Weinig <sam@webkit.org>
Reviewed by Darin Adler.
* Scripts/do-webcore-rename: Update renaming plan.
2008-03-02 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Alp Toker.
Remove some needless LIBS.
* GNUmakefile.am:
2008-03-02 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
Split the WebKit GTK+ build out of the WebCore build and change the
shared object name to match the package name.
* GNUmakefile.am:
2008-03-01 Mark Rowe <mrowe@apple.com>
Reviewed by Tim Hatcher.
Update Xcode configuration to support building debug and release from the mysterious future.
* DumpRenderTree/mac/Configurations/Base.xcconfig:
2008-02-29 David Kilzer <ddkilzer@apple.com>
Pass the correct configuration switch (--Debug|--Release) to build-testkjs.
Reviewed by Dan.
Originally broken in r26838.
* Scripts/run-javascriptcore-tests: Push configuration switch onto @xcodeArgs
not local, unused @args variable.
2008-02-29 David Kilzer <ddkilzer@apple.com>
Bug 15754: webarchive layout tests fail when WebKit directory path contains symlinks
<http://bugs.webkit.org/show_bug.cgi?id=15754>
Reviewed by Geoff and Darin.
We were using -[NSFileManager currentDirectoryPath] to get the current working directory,
then removing that path from all file:/// URLs in the WebArchive output so these tests
would pass no matter where they were run.
The problem was that -[NSFileManager currentDirectoryPath] resolves symlinks in the
current working directory, but the WebArchive does not. This left the current working
directory in all file:/// URLs in the test output, and thus all tests failed, for any
developer that used symlinks to get to their WebKit source directory.
The fix is to look backwards for "/LayoutTests/" in the URL we're passed, and simply
remove the current working directory path (no matter what it is) after "file://" but
before "/LayoutTests/".
* DumpRenderTree/mac/DumpRenderTree.mm:
(normalizeWebResourceURL): Removed unused oldURLBase argument. We now replace the
current working directory as described above.
(convertWebResourceResponseToDictionary): Remove unused oldURLBase argument. Update
calls to normalizeWebResourceURL().
(serializeWebArchiveToXML): Removed now unused cwdURL variable. Update calls to
normalizeWebResourceURL() and convertWebResourceResponseToDictionary().
2008-02-26 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Improvements to the wx build script.
http://bugs.webkit.org/show_bug.cgi?id=17492
* wx/build-wxwebkit:
- Update the Windows dll copying logic to copy dlls inside WebKitLibraries/win
- Allow the build script to properly find wxPython includes under different setups
- Make sure WX_PREFIX is set to WXWIN (wxWindows dir environment var.) if not defined
2008-02-26 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
* Scripts/build-webkit: Add --universal and --64-bit flags to make building
64-bit architectures easy. Combine the two flags to build 4-way universal.
* Makefile: Add "64" and "64u" make rules. Fix the universal rule to return
non-zero when the build failes.
2008-02-26 Jessica Kahn <jess@apple.com>
Reviewed by Darin Adler.
* Scripts/gdb-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH in gdb's environment,
so that Safari inherits it when launched. Preexisting code in WebKit checks this
environment variable, and if set, unsets DYLD_FRAMEWORK_PATH, so that applications
launched by Safari continue to use the standard system WebKit.
2008-02-25 Adam Roben <aroben@apple.com>
Fix run-webkit-tests after r30394
* Scripts/webkitdirs.pm: Never append _debug to FindSafari's
executable name.
2008-02-24 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Make some updates based on a trial run of
the renaming script.
2008-02-24 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: More renaming plans.
2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Rubber stamped by Darin Adler.
Add separator '\' after libJavaScriptCore_la_LIBADD and cleanup
whitespaces introduced in the previous commit.
* GNUmakefile.am:
2008-02-23 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Rubber-stamped by Darin Adler.
* GNUmakefile.am: Add both GLOBALDEPS and WEBKITDEPS instead of DEPENDENCIES.
2008-02-23 David Kilzer <ddkilzer@apple.com>
Please clarify licensing for some files
<http://bugs.webkit.org/show_bug.cgi?id=14970>
Reviewed by Darin Adler.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Added
copyright statement. Replaced license with newer Apple BSD-style license.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Ditto.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Ditto.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Ditto.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Ditto.
* DumpRenderTree/win/TestNetscapePlugin/main.c: Ditto.
* mangleme/LICENSE: Added (LGPL).
2008-02-22 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
<rdar://problem/5748781>
https://bugs.webkit.org/show_bug.cgi?id=17413
REGRESSION: Latest Nightly doesn't load Java plugin w/Safari 3.1b
Copy the Java plug-in over to the new location.
* FindSafari/FindSafari.cpp:
(_tmain):
2008-02-22 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
<rdar://problem/5747325> REGRESSION: HTTP layout tests hang
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest):
Init the URL request with the correct timeout.
2008-02-21 Mike Auty <mike.auty@gmail.com>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=17445
[GTK] WebKit doesn't compile with LDFLAGS="-Wl,--as-needed"
GTK+/autotools build system improvements
The GNUmakefile.am files make use of the LDFLAGS variable to include library
additions such as -ljpeg etc. Unfortunately, if these inclusions aren't made
in LIBADD/LDADD variables, then they are mis-ordered during the linking.
The as-needed flag discards libraries whose functions have not been needed by
earlier libraries, which therefore makes the ordering important.
This moves all -l library inclusion statements from LDFLAGS variables to
LIBADD/LDADD variables.
* GNUmakefile.am:
2008-02-20 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Alp.
- http://bugs.webkit.org/show_bug.cgi?id=17428
Reenable a Windows-based launcher
This patch reenables the venerable Spinneret application,
changing its name to match the other lanch applications.
* WinLauncher: Added.
* WinLauncher/WinLauncher.cpp: Added.
(WinLauncherWebHost::updateAddressBar):
(WinLauncherWebHost::QueryInterface):
(WinLauncherWebHost::AddRef):
(WinLauncherWebHost::Release):
(resizeSubViews):
(_tWinMain):
(MyRegisterClass):
(InitInstance):
(WndProc):
(MyEditProc):
(About):
(loadURL):
* WinLauncher/WinLauncher.h: Added.
(WinLauncherWebHost::WinLauncherWebHost):
(WinLauncherWebHost::didStartProvisionalLoadForFrame):
(WinLauncherWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
(WinLauncherWebHost::didFailProvisionalLoadWithError):
(WinLauncherWebHost::didCommitLoadForFrame):
(WinLauncherWebHost::didReceiveTitle):
(WinLauncherWebHost::didReceiveIcon):
(WinLauncherWebHost::didFinishLoadForFrame):
(WinLauncherWebHost::didFailLoadWithError):
(WinLauncherWebHost::didChangeLocationWithinPageForFrame):
(WinLauncherWebHost::willPerformClientRedirectToURL):
(WinLauncherWebHost::didCancelClientRedirectForFrame):
(WinLauncherWebHost::willCloseFrame):
(WinLauncherWebHost::windowScriptObjectAvailable):
* WinLauncher/WinLauncher.ico: Added.
* WinLauncher/WinLauncher.rc: Added.
* WinLauncher/WinLauncher.vcproj: Added.
* WinLauncher/resource.h: Added.
* WinLauncher/small.ico: Added.
* WinLauncher/stdafx.cpp: Added.
* WinLauncher/stdafx.h: Added.
2008-02-19 Brady Eidson <beidson@apple.com>
Reviewed by Geoff
Fixed a bug in DRT --threaded mode
* DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp:
(startJavaScriptThreads): Don't detach the newly created thread. The later call to stopJavaScriptThreads() tries
to pthread_join() each thread that had been created, but you can't join a detached thread!
2008-02-18 Brady Eidson <beidson@apple.com>
Changes by Geoff Garen, Reviewed by Darin
Fix for <rdar://5747529> - ObjC Exception can cause JSLock to never be released
DRT changes for test: platform/mac/plugins/webScriptObject-exception-deadlock.html
[WebScriptObject valueForKey:] might throw an exception, and previously might have "leaked" the global JSLock
This test calls valueForKey, then runs some arbitrary Javascript on a 2ndary thread. If the lock has leaked,
this series of method calls will deadlock. If things are good, it will complete successfully.
* DumpRenderTree/mac/ObjCController.m:
(runJavaScriptThread):
(+[ObjCController isSelectorExcludedFromWebScript:]):
(+[ObjCController webScriptNameForSelector:]):
(-[ObjCController testValueForKey]):
2008-02-18 Matt Lilek <webkit@mattlilek.com>
Reviewed by Adam.
Remove FindSafari's Release configuration.
* FindSafari/FindSafari.vcproj:
2008-02-15 Adam Roben <aroben@apple.com>
Fix a typo that broke the Mac build
Reviewed by Mark.
* Scripts/build-webkit:
2008-02-14 Adam Roben <aroben@apple.com>
Turn on cross-document messaging support by default
Reviewed by Darin Adler.
* Scripts/build-webkit:
2008-02-14 Adam Roben <aroben@apple.com>
Conditionalize cross-document messaging support
The cross-document messaging parts of HTML 5 are in flux and we want
ports to be able to turn off the support as needed.
Note that the support is turned off by default right now. A subsequent
commit will turn it on by default.
Reviewed by Darin Adler.
* Scripts/build-webkit:
2008-02-14 Darin Adler <darin@apple.com>
- fix Windows build
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::setStatusText): Update parameter types to match declaration.
2008-02-14 Oliver Hunt <oliver@apple.com>
Reviewed by Geoff G and Weinig.
Add ability for DRT to report tests setting the status text.
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(dumpStatusCallbacksCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:setStatusText:]):
* DumpRenderTree/win/UIDelegate.cpp:
* DumpRenderTree/win/UIDelegate.h:
2008-02-13 Adam Roben <aroben@apple.com>
Windows build fix
* DumpRenderTree/ForwardingHeaders/wtf/MathExtras.h: Added.
2008-02-13 Adam Roben <aroben@apple.com>
Windows/GTK+ build fix
* DumpRenderTree/LayoutTestController.cpp: #include MathExtras.h to
get isnan.
2008-02-13 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler
Add some much needed Database support to DRT
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(dumpDatabaseCallbacksCallback): Flag to control if the UIDelegate methods related to
databases are called
(clearAllDatabasesCallback): Allow a test to delete all databases
(setDatabaseQuotaCallback): Allow a test to set the quota new origins will get
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
(LayoutTestController::dumpDatabaseCallbacks):
(LayoutTestController::setDumpDatabaseCallbacks):
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::clearAllDatabases):
(LayoutTestController::setDatabaseQuota):
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::clearAllDatabases): Stubbed out
(LayoutTestController::setDatabaseQuota): Ditto
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::clearAllDatabases): Stubbed out with error message
(LayoutTestController::setDatabaseQuota): Ditto
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Print a
message with details about the event then return a 5mb quota like before
2008-02-12 Steve Falkenburg <sfalken@apple.com>
Changes to support merged MIDL output.
All COM interfaces are now generated to WebKit.h.
Reviewed by Sam, Ada.
* Drosera/win/BaseDelegate.h:
* Drosera/win/DebuggerClient.cpp:
* Drosera/win/DebuggerDocumentPlatform.cpp:
* Drosera/win/Drosera.cpp:
* Drosera/win/ServerConnection.cpp:
* Drosera/win/ServerConnection.h:
* DumpRenderTree/win/DumpRenderTree.cpp:
* DumpRenderTree/win/EditingDelegate.h:
* DumpRenderTree/win/EventSender.cpp:
* DumpRenderTree/win/FrameLoadDelegate.cpp:
* DumpRenderTree/win/FrameLoadDelegate.h:
* DumpRenderTree/win/GCControllerWin.cpp:
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
* DumpRenderTree/win/PolicyDelegate.h:
* DumpRenderTree/win/ResourceLoadDelegate.h:
* DumpRenderTree/win/UIDelegate.cpp:
* DumpRenderTree/win/UIDelegate.h:
* DumpRenderTree/win/WorkQueueItemWin.cpp:
2008-02-10 Dan Bernstein <mitz@apple.com>
Reviewed by Oliver Hunt.
- fix a memory leak
* DumpRenderTree/cg/ImageDiffCG.cpp:
(getDifferenceBitmap): Use a static CFMutableData instead of allocating
and leaking the buffer each time.
2008-02-07 Adam Roben <aroben@apple.com>
Fix error in bisect-builds when responding "broken" for the first
build
Reviewed by Dave Kilzer.
* Scripts/bisect-builds: Only try to test the build if the nightly
info for the current index has not been deleted.
2008-02-07 Geoffrey Garen <ggaren@apple.com>
Reviewed by Alexey Proskuryakov.
Fixed two minor typos in the --root option, to get it working.
* Scripts/run-sunspider:
1. Actually assign the function argument to our local variable.
2. Actually set the $root variable, so we don't try to build later.
2008-02-05 Oliver Hunt <oliver@apple.com>
RS=Eric.
Re-enable foreignObject by default as it is needed for a number of non-fO
related SVG tests and none of the old known crashes occur anymore.
* Scripts/build-webkit:
2008-02-05 Steve Falkenburg <sfalken@apple.com>
Build fix. Don't override intermediate directory.
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
2008-02-05 Holger Hans Peter Freyther <zecke@selfish.org>
Build fix for Windows. willCloseFrame is a pure virtual and we are
forced to have an implementation.
This partially reverts r30014.
* DumpRenderTree/win/FrameLoadDelegate.cpp:
(FrameLoadDelegate::willCloseFrame):
* DumpRenderTree/win/FrameLoadDelegate.h:
2008-02-05 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Holger.
Don't build wrapper for SVGTestCase.js (special file for svg/dynamic-updates)
* Scripts/make-js-test-wrappers:
2008-02-05 Holger Freyther <zecke@selfish.org>
Reviewed by Darin Adler.
In http://bugs.webkit.org/show_bug.cgi?id=16853 it was identified that the
the output of the willCloseFrame and didClearWindowObject FrameLoadDelegate
depends on the order the tests are executed.
Propose to remove willCloseFrame and didlCearWindowObject output from the
FrameLoadDelegate and update the test results. The output of didClearWindowObject
is not interesting for any of the current tests and we have other ways to find
out if a frame was closed or not.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
* DumpRenderTree/win/FrameLoadDelegate.cpp:
(FrameLoadDelegate::didClearWindowObject):
* DumpRenderTree/win/FrameLoadDelegate.h:
2008-02-04 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver Hunt.
Workaround for http://bugs.webkit.org/show_bug.cgi?id=16842
Bug 16842: Hang in DRT in leaks mode due to signal handler doing unsafe things
Don't install the signal handler unless we are running the pixel tests.
It is currently only used to restore the color profile, but by catching
signals we can trigger a deadlock in DRT while running leak tests.
The deadlock is tracked by http://bugs.webkit.org/show_bug.cgi?id=16842,
and a more complete fix will need to be developed to address this for
pixel tests as well.
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree):
2008-02-04 Mark Rowe <mrowe@apple.com>
Gtk qmake build fix.
* Scripts/webkitdirs.pm: Fix perl's complaint about an odd number of elements in anonymous hash.
2008-02-04 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Reviewed by Alp Toker and Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=16618
[GTK] build-webkit and run-webkit-tests autootools support
* Scripts/build-webkit: added --database and --icon-database options
* Scripts/run-launcher:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-02-04 Oliver Hunt <oliver@apple.com>
Reviewed by Steve F.
Partial fix for <rdar://5621244> Drag & Drop doesn't work correctly in DRT
Implement required DRT functionality to allow majority of Drag and Drop testcases to work.
Issues include:
* Uses Sleep() to implement leapForward reliably.
* 3 DND tests still fail for reasons that i have not yet determined
* Has to explicitly ignore an extraneous WM_MOUSELEAVE that i am at a loss to explain
* DumpRenderTree/win/EventSender.cpp:
(leapForwardCallback):
(mouseDownCallback):
(doMouseUp):
(mouseUpCallback):
(doMouseMove):
(mouseMoveToCallback):
Minor updates to these functions to handle the different message queue structure.
(replaySavedEvents):
More complicated now. Where possible we just use the old while-loop model of execution,
but when leapForward has been used we have to jump through some hoops and set up an
inner event loop so that we can ensure messages get the correct time stamp.
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::doDragDrop):
Call replaySavedEvents directly to force synchronous handling of drag and drop.
2008-02-04 Rodney Dawes <dobey@wayofthemonkey.com>
Reviewed by Alp Toker and Mark Rowe.
Fix http://bugs.webkit.org/show_bug.cgi?id=17175.
Bug 17175: Use of C++ compiler flags in CFLAGS
* GNUmakefile.am: Use global_cxxflags as well as global_cflags in CXXFLAGS.
2008-02-04 Darin Adler <darin@apple.com>
Reviewed by Geoff.
* Scripts/make-js-test-wrappers: Look at the whole LayoutTests tree, not just the fast
and svg subdirectories. Added some more exceptions for the benefit of the fast/dom
subdirectory.
2008-02-04 Adam Roben <aroben@apple.com>
Windows Apple-only build fix
* DumpRenderTree/win/DumpRenderTree.vcproj: Added a new include
directory.
2008-02-04 Alp Toker <alp@atoker.com>
Rubber-stamped by Mark Rowe.
Remove all trailing whitespace in the GTK+ port and related
components.
* DumpRenderTree/gtk/DumpRenderTreeGtk.h:
* DumpRenderTree/gtk/GCControllerGtk.cpp:
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
* GNUmakefile.am:
2008-02-01 Eric Seidel <eric@webkit.org>
Reviewed by Oliver.
Also search LayoutTests/svg for js-based tests.
* Scripts/make-js-test-wrappers:
2008-01-31 Alp Toker <alp@atoker.com>
Rubber-stamped by Adam Roben.
http://bugs.webkit.org/show_bug.cgi?id=17006
[GTK] Header path should be webkit/webkit.h
Move the GTK+ API sources as needed and update the build systems.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
* DumpRenderTree/gtk/DumpRenderTreeGtk.h:
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
* GNUmakefile.am:
* GtkLauncher/main.c:
2008-01-30 Stephanie <slewis@apple.com>
Reviewed by Geoff.
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.
* Scripts/run-webkit-tests:
2008-01-30 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
One more debug (external) fix.
* DumpRenderTree/win/DumpRenderTree.cpp: TestNetscapePlugin is built with a _debug suffix in both DebugInternal
and Debug configurations.
2008-01-29 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig. Sam Weinig.
Fixed <rdar://problem/5692566> fast/encoding/mailto-always-utf-8.html
fails when run after fast/dom/Window/window-property-shadowing.html (16902)
Modified our policy delegates not to output window.name. Since a
previous test may have explicitly set window.name, we can't rely on its
implicit value in test results.
* DumpRenderTree/mac/PolicyDelegate.mm:
(-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
* DumpRenderTree/win/PolicyDelegate.cpp:
(PolicyDelegate::decidePolicyForNavigationAction):
2008-01-29 Mark Rowe <mrowe@apple.com>
Reviewed by Tim Hatcher.
<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).
* Scripts/build-webkit: Copy SQLite static library and headers into the build directory.
2008-01-29 David Kilzer <ddkilzer@apple.com>
Refactor ChangeLog path code
Reviewed by Adam.
* Scripts/prepare-ChangeLog: Simplify code in one foreach() loop, and extract
duplicate code in another foreach() loop.
2008-01-29 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
<rdar://problem/5710692> All storage tests fail/crash
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:frame:exceededDatabaseQuotaForSecurityOrigin:database:]): Set an
arbitrary quota of 5 megabytes.
(-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
(-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
Removed unused (I think) code.
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::QueryInterface): IWebUIDelegatePrivate3 is now supported.
(UIDelegate::webViewPainted): A stub implementation.
(UIDelegate::exceededDatabaseQuota): Set an arbitrary quota of 5 megabytes.
* DumpRenderTree/win/UIDelegate.h:
2008-01-27 Jan Michael Alonzo <jmalonzo@unpluggable.com>
GTK+ DRT build fix for breakage introduced in r29822.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setPersistentUserStyleSheetLocation):
(LayoutTestController::clearPersistentUserStyleSheet):
2008-01-27 Dan Bernstein <mitz@apple.com>
Reviewed by Darin Adler.
- add support for directory prologues and epilogues to run-webkit-tests
- allow setting a persistent user style sheet in DumpRenderTree
- activate the WebKit Layout Tests font in Windows DumpRenderTree
* DumpRenderTree/LayoutTestController.cpp:
(clearPersistentUserStyleSheetCallback): Added.
(setPersistentUserStyleSheetLocationCallback): Added.
(LayoutTestController::staticFunctions): Added.
clearPersistentUserStyleSheet and setPersistentUserStyleSheet.
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/DumpRenderTree.mm:
(setPersistentUserStyleSheetLocation): Added.
(resetWebViewToConsistentStateBeforeTesting): Added the user style sheet
to the set of things this function resets. Now it either disables the
user style sheet or sets it to the persistent user style sheet and
enables it.
* DumpRenderTree/mac/DumpRenderTreeMac.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setPersistentUserStyleSheetLocation): Added.
(LayoutTestController::clearPersistentUserStyleSheet): Added.
* DumpRenderTree/win/DumpRenderTree.cpp:
(setPersistentUserStyleSheetLocation): Added.
(initialize): Added the WebKit Layout Tests font to the set of fonts to
install.
(resetWebViewToConsistentStateBeforeTesting): See DumpRenderTree.mm.
* DumpRenderTree/win/DumpRenderTreeWin.h:
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setPersistentUserStyleSheetLocation): Added.
(LayoutTestController::clearPersistentUserStyleSheet): Added.
* Scripts/run-webkit-tests: Changed to look for, and if found process in
DumpRenderTree, files named run-webkit-tests-prologue.html and
run-webkit-tests-epilogue.html in the resources subdirectory of any
test directory and platform test results directory. The prologues are
processed before the first test from the directory (and its
subdirectories) is run, and the epilogues are processed after the last
test from the directory is run. Platform-specific prologues and
epilogues are processed in order of specificity.
2008-01-25 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Mark Rowe.
<rdar://problem/5699933> http/tests/security/cross-frame-access-get.html is still failing
* DumpRenderTree/win/DumpRenderTree.cpp: (main): Clear HTTP cache to ensure consistent test environment
(matching Mac DRT).
* DumpRenderTree/win/DumpRenderTree.vcproj: Link to CFNetwork.
2008-01-24 Sam Weinig <sam@webkit.org>
Reviewed by Ada Chan.
Fix for <rdar://5131975> DumpRenderTree doesn't support undo/redo
- Adds simplified UndoManager to windows DRT to allow testing the
undo/redo code paths in WebCore and WebKit. This is a temporary
solution to an issue that should eventually be solved by having a
shared UndoManager in WebKit.
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest):
* DumpRenderTree/win/UIDelegate.cpp:
(DRTUndoObject::DRTUndoObject):
(DRTUndoObject::invoke):
(DRTUndoStack::~DRTUndoStack):
(DRTUndoStack::isEmpty):
(DRTUndoStack::clear):
(DRTUndoStack::push):
(DRTUndoStack::pop):
(DRTUndoManager::canRedo):
(DRTUndoManager::canUndo):
(DRTUndoManager::DRTUndoManager):
(DRTUndoManager::removeAllActions):
(DRTUndoManager::registerUndoWithTarget):
(DRTUndoManager::redo):
(DRTUndoManager::undo):
(UIDelegate::UIDelegate):
(UIDelegate::resetUndoManager):
(UIDelegate::registerUndoWithTarget):
(UIDelegate::removeAllActionsWithTarget):
(UIDelegate::setActionTitle):
(UIDelegate::undo):
(UIDelegate::redo):
(UIDelegate::canUndo):
(UIDelegate::canRedo):
* DumpRenderTree/win/UIDelegate.h:
2008-01-23 Adam Roben <aroben@apple.com>
Allow directories containing ChangeLogs to be passed to
resolve-ChangeLogs
Reviewed by David Kilzer.
* Scripts/resolve-ChangeLogs:
(sub findChangeLog): Return a ChangeLog contained within the specified
directory if one exists.
2008-01-23 Steve Falkenburg <sfalken@apple.com>
<rdar://problem/5698732> Copyright strings should include 2008
Reviewed by Sam.
* Drosera/win/Drosera.vcproj/Drosera.rc:
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.rc:
2008-01-23 Alp Toker <alp@atoker.com>
Rubber-stamped by Mark Rowe.
Remove whitespace after -I in automake include lists.
* GNUmakefile.am:
2008-01-23 Michael Goddard <michael.goddard@trolltech.com>
Reviewed by Lars Knoll <lars@trolltech.com>.
Reworked the JavaScriptCore Qt bindings:
* Update JS DRT controller for Qt JS binding changes.
There were two functions that needed some changes
so that the layout tests would work, so this makes
a few tests pass again.
* Bump the timeout for layout tests up to 11s.
At least some tests have an internal timeout of
10 seconds, so make the waitUntilDone approach
wait at least 11s. fast/dom/open-and-close-by-DOM.html
is one of these - now the failure message is more
accurate.
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::waitUntilDone):
* DumpRenderTree/qt/jsobjects.h:
2008-01-22 Anders Carlsson <andersca@apple.com>
Reviewed by Darin and Adam.
<rdar://problem/5688975>
div element on microsoft site has wrong left offset.
Add new method for testing the return vale of NPN_GetProperty.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(pluginInvoke):
2008-01-22 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
<rdar://problem/5670257> editing/selection/4895428-3.html makes editing/selection/5131716-2.html fail
* DumpRenderTree/win/EventSender.cpp: (makeEventSender): Reset static variables for a new test.
2008-01-21 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=16955
Get errors when cross-compile webkit-gtk
* GNUmakefile.am: Removed ICU_CFLAGS
2008-01-21 Darin Adler <darin@apple.com>
Reviewed by Mitz and Adam.
* Scripts/svn-create-patch: Sort ChangeLog files first. Also slightly improved the
sorting speed by doing all sort criteria in a single pass instead of three sorts.
2008-01-21 Simon Hausmann <hausmann@webkit.org>
Reviewed by Holger.
Fix focus chain handling and cycling through focusable objects (links) using tab/backtab.
* Fix GraphicsContext::drawFocusRing to also draw single focus rects.
* Implemented QWebPage::focusNextPrevChild by sending fake tab/shift-tab events
and make the return value depend on whether we successfully determined a focusable
node or not.
* Changed QWebView::focusNextPrevChild() to call the base QWidget implementation correctly
if we could not handle the focus chain ourselves.
* Changed the focus policy of QWebView to correctly use WheelFocus instead of ClickFocus.
* Made ChromeClientQt::canTakeFocus() and takeFocus() dummy method since they are only
used to control the situation of stepping out of the focus chain inside the page.
* Made inclusion of links in the focus chain configurable through QWebSettings::LinksIncludedInFocusChain.
The layout tests expect this to be disabled but for the user it seems sensible to have it
on by default, hence the default in qwebsettings.cpp
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::WebPage):
2008-01-19 Mark Rowe <mrowe@apple.com>
Reviewed by Alp Toker.
Allow the --http flag to run-webkit-tests to override
the default behaviour of disabling HTTP tests for Qt,
Gtk and Wx.
* Scripts/run-webkit-tests:
2008-01-19 David Kilzer <ddkilzer@apple.com>
<rdar://problem/5695344> check-for-global-initializers script never checks any object files
Reviewed by Darin Adler.
We now touch a check-for-global-initializers.timestamp file in
the TARGET_TEMP_DIR directory to determine when new object files
have been compiled and thus need to be checked. If the timestamp
file doesn't exist, all object files will be checked.
Previously the modification time of the "executable" (the
framework binary, e.g., WebKit.framework/WebKit) was used, but
since this was the last file modified at the end of the compile
phase, no object files would ever get checked!
Also added JSCustomSQLTransactionCallback.o to the list of files
since it has static initializers in Debug builds of WebCore.
* Scripts/check-for-global-initializers:
2008-01-18 Adam Roben <aroben@apple.com>
Build fix
* Scripts/build-webkit:
2008-01-18 Beth Dakin <bdakin@apple.com>
Reviewed by Oliver.
Update build-webkit to account for foreign-object being disabled by
default.
* Scripts/build-webkit:
2008-01-18 Adam Roben <aroben@apple.com>
Updated for method renames
Reviewed by Adele.
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setMainFrameIsFirstResponder):
(LayoutTestController::setWindowIsKey):
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webViewFocus:]):
* DumpRenderTree/win/FrameLoadDelegate.cpp:
(FrameLoadDelegate::didCommitLoadForFrame):
2008-01-18 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
Fix plugin-related tests in Debug_Internal configuration, which are failing because of CRT version mismatch
between DRT and TestNetscapePlugin.
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj: Added a Debug_Internal configuration.
* DumpRenderTree/DumpRenderTree.sln: Use this configuration.
2008-01-18 Simon Hausmann <hausmann@webkit.org>
Reviewed by Holger.
Fix fast/dom/Window/window-resize.html
In DRT connect the page's geometryChangeRequest signal to a slot that
sets the geometry of the view widget.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::setViewGeometry):
(WebCore::WebPage::WebPage):
2008-01-17 Steve Falkenburg <sfalken@apple.com>
Build fix.
* Drosera/DroseraWin.make:
2008-01-17 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Fixed a bug number.
2008-01-17 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
http://bugs.webkit.org/show_bug.cgi?id=16908
run-webkit-tests complains about missing FindSafari.exe
* Scripts/webkitdirs.pm: Append _debug as appropriate.
2008-01-17 Steve Falkenburg <sfalken@apple.com>
Re-add DEBUG_WEBKIT_HAS_SUFFIX.
Rubber-stamped by Jon Honeycutt.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2008-01-16 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=16218
[GTK] API: Should this entry point be called go_back rather than go_backward?
Track back/forward API changes in the tools.
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp:
(BackForwardItem::invoke):
* GtkLauncher/main.c:
(go_back_cb):
2008-01-16 Adam Roben <aroben@apple.com>
Windows build fix after r29488
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
Build into a subdirectory of $WebKitOutputDir\bin to match where DRT
expects to find the plugin.
2008-01-11 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Fixed the waitUntilDone watchdog timer -- the old code never added the
timer to the run loop, so it didn't do anything.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setWaitToDump):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setWaitToDump):
2008-01-14 Steve Falkenburg <sfalken@apple.com>
Use shared vsprops for most vcproj properties.
Reviewed by Darin Adler.
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/ImageDiff.vcproj:
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
* FindSafari/FindSafari.vcproj:
2008-01-14 Stephanie <slewis@apple.com>
Reviewed by NOBODY.
revert accidental character.
* Scripts/run-webkit-tests:
2008-01-14 Stephanie <slewis@apple.com>
RS=Oliver
add Quicktime PPC only leaks to Leopard exclude list. See <rdar://problem/5667132>
* Scripts/run-webkit-tests:
2008-01-14 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Queue up another rename.
2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
Reviewed by Darin Adler.
* Allow to run the tests in reverse order to spot test cases where the result depends on the order
the tests were ran.
* This is from http://bugs.webkit.org/show_bug.cgi?id=16869
* Scripts/run-webkit-tests:
2008-01-14 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
Reviewed by Darin Adler.
* Randomize tests array to spot test cases where the results depends on the order
the tests are ran.
* This is from http://bugs.webkit.org/show_bug.cgi?id=16869
* Scripts/run-webkit-tests:
2008-01-14 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: More ignore list tweaking.
2008-01-14 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Add another leak to the ignore list.
2008-01-14 Dan Bernstein <mitz@apple.com>
Reviewed by Adam Roben.
- try to fix failure in fast/dom/Window/window-onFocus.html seen on the
build bots
* DumpRenderTree/win/DumpRenderTree.cpp:
(resetWebViewToConsistentStateBeforeTesting): Focus the web view.
2008-01-13 Steve Falkenburg <sfalken@apple.com>
Share common files across projects.
Unify vsprops files
Debug: common.vsprops, debug.vsprops
Debug_Internal: common.vsprops, debug.vsprops, debug_internal.vsprops
Release: common.vsprops, release.vsprops
Shared properties can go into common.vsprops, shared debug settings can go into debug.vsprops.
debug_internal.vsprops will be mostly empty except for file path prefix modifiers.
Pull auto-version.sh, VERSION, and PRODUCTVERSION from tools.
Reviewed by Adam Roben.
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
* Drosera/win/Drosera.vcproj/PRODUCTVERSION: Removed.
* Drosera/win/Drosera.vcproj/VERSION: Removed.
* Drosera/win/Drosera.vcproj/auto-version.sh: Removed.
* Drosera/win/Drosera.vcproj/debug.vsprops: Removed.
* Drosera/win/Drosera.vcproj/debug_internal.vsprops: Removed.
* Drosera/win/Drosera.vcproj/release.vsprops: Removed.
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
* DumpRenderTree/win/debug.vsprops: Removed.
* DumpRenderTree/win/debug_internal.vsprops: Removed.
* DumpRenderTree/win/release.vsprops: Removed.
2008-01-13 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Maciej.
- http://bugs.webkit.org/show_bug.cgi?id=16314
Script to launch Drosera
* Scripts/gdb-drosera: Added.
* Scripts/run-drosera: Added.
* Scripts/run-drosera-nightly.cmd: Added.
* Scripts/webkitdirs.pm: Added runDrosera function.
2008-01-13 Dan Bernstein <mitz@apple.com>
- fix breakage due to last-minute change
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest): Declare the loop variable.
2008-01-13 Dan Bernstein <mitz@apple.com>
Reviewed by Adam Roben.
- fix <rdar://problem/5132009> Windows DRT does not support multiple windows
* DumpRenderTree/win/DumpRenderTree.cpp:
(DumpRenderTreeWndProc):
(initialize):
(dumpBackForwardList):
(dumpBackForwardListForAllWindows):
(dump):
(resetWebViewToConsistentStateBeforeTesting): Factored out of
runTest().
(runTest):
(allWindows): Added. Returns a vector of all open windows.
(windowToWebViewMap): Added. Returns a map from open windows to their
WebViews.
(createWebViewAndOffscreenWindow): Factored out of main() to be
reusable for creating extra windows.
(main):
* DumpRenderTree/win/DumpRenderTreeWin.h:
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::windowCount): Implemented.
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::createWebViewWithRequest): Implemented.
(UIDelegate::webViewClose): Implemented.
* DumpRenderTree/win/UIDelegate.h:
2008-01-12 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
Hide non-public symbols in GTK+/autotools release builds.
* GNUmakefile.am:
2008-01-12 Holger Hans Peter Freyther <holger.freyther@trolltech.com>
Reviewed by Ap.
* Make launching of the WebKit httpd work on GNU/Debian/Linux
The configuration of Apache2 and installation does not depend on
the kernel but on the distribution policy. Make launching of httpd
work for Debian derived distributions.
* Scripts/run-webkit-httpd:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2008-01-12 Mark Rowe <mrowe@apple.com>
Reviewed by Maciej Stachowiak.
Fix crash in http/tests/security/local-JavaScript-from-remote.html under guard malloc.
* DumpRenderTree/mac/LayoutTestControllerMac.mm: Retain string before returning it to
match the callers expectations that it can take ownership of the string.
2008-01-11 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
<rdar://problem/5667275> fast/dynamic/layer-hit-test-crash.html is failing
* DumpRenderTree/win/DumpRenderTree.cpp: (runTest): Ignore WM_MOUSELEAVE events,
as these are only posted because the test window is not a normal visible one, and
they confuse drag&drop machinery.
2008-01-11 Adam Roben <aroben@apple.com>
Fix a crash when pathToLocalResource fails and a leak
Reviewed by Darin Adler.
* DumpRenderTree/LayoutTestController.cpp:
(pathToLocalResourceCallback): Dont leak the JSStringRef, and make
sure not to pass null to JSValueMakeString.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::pathToLocalResource): Print an error message if
the conversion fails so it's clear what happened.
2008-01-11 Geoffrey Garen <ggaren@apple.com>
Reviewed by John Sullivan.
* DumpRenderTree/mac/GCControllerMac.mm:
(GCController::collectOnAlternateThread): Updated for name change.
2008-01-10 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Don't build dftables any longer since it's now a Perl
script.
* wx/build-wxwebkit:
2008-01-10 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Make DRT track open windows instead of allocated windows so that
we can avoid ASSERTION due to late deallocs out of our control.
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpBackForwardListForAllWindows):
(runTest):
* DumpRenderTree/mac/DumpRenderTreeMac.h:
* DumpRenderTree/mac/DumpRenderTreeWindow.h:
* DumpRenderTree/mac/DumpRenderTreeWindow.mm:
(+[DumpRenderTreeWindow openWindows]):
(-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
(-[DumpRenderTreeWindow close]):
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::windowCount):
2008-01-10 Ada Chan <adachan@apple.com>
Meta key is not the same as Alt key on windows.
Reviewed by Darin Adler.
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback):
2008-01-09 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin, Sam and Adam.
-<rdar://problem/5654486> REGRESSION (Safari 3.0.4-TOT): clicking on
link in gmail message displays JavaScript alert falsely complaining
about pop-up blocking.
- Added the ability to enable the pop-up blocker via the
LayoutTestController.
* DumpRenderTree/LayoutTestController.cpp:
(setPopupBlockingEnabledCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting):
(resetWebViewToConsistentStateBeforeTesting):
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setPopupBlockingEnabled):
2008-01-10 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
rename QWebPageHistory to QWebHistory.
* DumpRenderTree/qt/jsobjects.cpp:
2008-01-09 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
- add some more renames, adjust some
* Scripts/do-webcore-rename:
2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Oliver.
Enable SVG Fonts support by default.
* Scripts/build-webkit:
2008-01-07 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Adam.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=16244
DRT doesn't handle platform specific pixel test results correctly.
<test>-expected.txt files and <test>-expected.png files may now live
in different directories (ie. a cross-platform <test>-expected.txt file
and a platform-specific <test>-expected.png file).
* Scripts/run-webkit-tests:
2008-01-04 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin Adler.
- <rdar://problem/5666914> fast/regex/test{1,4}.html are failing
DRT did not correctly handle printing the '\0' char. Now it does.
* DumpRenderTree/win/DumpRenderTree.cpp:
(dumpFramesAsText):
(dump):
2008-01-07 Simon Hausmann <hausmann@webkit.org>
Reviewed by Lars.
Ported of the network backend of the Qt platform to Qt 4.4's new networking API.
* DumpRenderTree/qt/main.cpp:
* DumpRenderTree/qt/testplugin.cpp:
* DumpRenderTree/qt/testplugin.h:
2008-01-05 Mark Rowe <mrowe@apple.com>
Reviewed by Alp Toker.
Fix hang in fast/frames/frame-display-none-focus.html during Gtk layout tests.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(processWork): Process pending work.
(webViewLoadFinished): Schedule processing of pending work.
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Use webkit_web_frame_reload.
2008-01-05 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Some more renaming plans.
2008-01-04 Alice Liu <alice.liu@apple.com>
Reviewed by Alexey and Darin.
Adding "home" and "end" to DRT's keydown since
DOM key events can't handle keyIdentifiers at this point.
* DumpRenderTree/mac/EventSendingController.mm:
(-[EventSendingController keyDown:withModifiers:]):
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback):
2008-01-04 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
fix DRT after the changes to QWebPage.
The great thing is that we actually don't have
any regressions from the QWebPage change :)
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2008-01-04 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
make QWebPage a QObject and get things to compile.
Nothing works currently though.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2008-01-04 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
take a QString as identifier in QWebFrame::addToJSWindowObject.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::initJSObjects):
2008-01-04 Alp Toker <alp@atoker.com>
GTK+ DRT build fix for breakage introduced in r29149.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::execCommand):
2008-01-03 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
<rdar://problem/5463489> A number of layout tests should be using execCommand instead of textInputController
Added layoutTestController.execCommand to access editor commands that are not available
via document.execCommand.
* DumpRenderTree/LayoutTestController.cpp:
(execCommandCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::execCommand):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::queueLoad):
(LayoutTestController::execCommand):
2008-01-03 Alice Liu <alice.liu@apple.com>
Reviewed by Darin, Mitz.
fixed <rdar://5130762> mousedowns in different locations increase the clickcount incorrectly
the clickcount should not increase if the last click was at a different location. it's a new click.
* DumpRenderTree/mac/DumpRenderTree.mm:
(runTest):
* DumpRenderTree/mac/EventSendingController.h:
* DumpRenderTree/mac/EventSendingController.mm:
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
2008-01-03 Darin Adler <darin@apple.com>
Reviewed by Adam.
* Scripts/update-webkit: Make this work a little better for the people at Apple
who have a directory named Internal.
2008-01-03 Adam Roben <aroben@apple.com>
Use HTTP::Date instead of Date::Parse because it's installed by Cygwin by default
Rubberstamped by Mark.
* Scripts/update-webkit-auxiliary-libs:
2008-01-03 Adam Roben <aroben@apple.com>
Fix Bug 15663: update-webkit re-downloads WebKitAuxiliaryLibrary unnecessarily
http://bugs.webkit.org/show_bug.cgi?id=15663
Added a fuzz factor into the Last-Modified comparison for downloading
WebKitAuxiliaryLibrary.zip.
The zip file is served from a set of mirrors who give Last-Modified
times that are off by 1-3 seconds from each other. This was causing
the build bots to redownload WebKitAuxiliaryLibrary for every build,
which would then cause all of WebCore to rebuild each time.
Reviewed by Mark.
* Scripts/update-webkit-auxiliary-libs: Check if the new zip file is
at least 30 seconds newer than the old one -- otherwise we assume that
the difference in time is due to the mirrors being slightly offset
from each other.
(sub lastModifiedToUnixTime): Added.
2008-01-03 Alexey Proskuryakov <ap@webkit.org>
Windows build fix.
* DumpRenderTree/ForwardingHeaders/wtf/HashTraits.h: Added (needed by COMPtr.h).
2008-01-03 Simon Hausmann <hausmann@webkit.org>
Reviewed by Lars.
Moved QWebPage::open to QWebFrame::load and added setHtml.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::open):
2008-01-03 Simon Hausmann <hausmann@webkit.org>
Reviewed by Lars.
Added the first revision of QWebView and started moving functionality from QWebPave over to QWebView and QWebFrame.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2008-01-02 Sam Weinig <sam@webkit.org>
* Scripts/do-webcore-rename: Yet more renaming ideas.
2008-01-02 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: More renaming ideas. (Maciej, please merge yours with mine.)
2008-01-02 Alice Liu <alice.liu@apple.com>
Reviewed by Sam Weinig.
fixing assertion hit with editing/selection/move-begin-end.html
* DumpRenderTree/ForwardingHeaders/wtf/ASCIICType.h: Added.
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback):
using isupper will cause an assertion for inputs outside of ascii range. use isASCIIUpper instead.
2008-01-02 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Some more name change plans.
2008-01-02 Alice Liu <alice.liu@apple.com>
Reviewed by Maciej.
Added handling for page up and page down in EventSender
* DumpRenderTree/mac/EventSendingController.mm:
(-[EventSendingController keyDown:withModifiers:]):
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback):
2008-01-02 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
Fix fast/events/arrow-keys-on-body.html for real.
* DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Pass proper keyData for WM_KEYUP, too.
2008-01-02 Luca Bruno <lethalman88@gmail.com>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=16674
[GTK] run-launcher sets wrong LD_LIBRARY_PATH
* Scripts/run-launcher:
2007-12-31 Darin Adler <darin@apple.com>
Suggested by Antti.
* Scripts/webkitdirs.pm: Turned off the QuickTime requirement for Windows until
we get it installed on the build bots.
2007-12-30 Eric Seidel <eric@webkit.org>
Reviewed by Sam.
* Scripts/do-webcore-rename: Add a few more planned renames s/(\w+)Imp/\1/
2007-12-29 Darin Adler <darin@apple.com>
Reviewed by Oliver.
- fix http://bugs.webkit.org/show_bug.cgi?id=16663
leak bot shows createCStringFromNPVariant result leaking
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(pluginInvoke): Added a missing free.
2007-12-26 Jan Michael Alonzo <jmalonzo@unpluggable.com>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=16390
Use autotools or GNU make as the build system for the GTK port
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: include glib.h
* GNUmakefile.am: Added.
2007-12-24 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Oliver.
Fix fast/events/arrow-keys-on-body.html, failing on Windows.
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback): Add KF_EXTENDED flag to arrow keys. Also add a count
of 1, even though WebKit currently ignores it.
2007-12-23 Kevin Ollivier <kevino@theolliviers.com>
wx buildbot fix. Update libpng dl script to the latest version.
* wx/install-unix-extras:
2007-12-22 Antti Koivisto <antti@apple.com>
Fix a typo.
* Scripts/webkitdirs.pm:
2007-12-21 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
- Disable the back/forward cache using the new WebPreferences API
instead of through the BackForwardList. This makes us match what
we do on Windows.
* DumpRenderTree/mac/DumpRenderTree.mm:
(createWebViewAndOffscreenWindow):
(setDefaultsToConsistentValuesForTesting):
2007-12-21 Dan Bernstein <mitz@apple.com>
Reviewed by Mark Rowe.
- disable the back/forward cache in Windows DumpRenderTree. It is
already disabled in Mac DumpRenderTree.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initializePreferences):
2007-12-13 Antti Koivisto <antti@apple.com>
Reviewed by Darin and Steve.
- check for QuickTime SDK on Windows.
- build media support on Windows by default
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2007-12-21 Kevin Ollivier <kevino@theolliviers.com>
Build script fix for buildbot.
* wx/build-wxwebkit:
2007-12-20 Eric Seidel <eric@webkit.org>
Reviewed by mjs.
* Scripts/run-sunspider: change --runs default to 10 for better accuracy
2007-12-20 Kevin McCullough <kmccullough@apple.com>
Reviewed by Steve.
- <rdar://5656485> Drosera: Win: Nightly does not reliably connect to
WebKit.
- Drosera and Safari need to use the same ProgIDs in order for
CoCreateInstance to work properly. The most robust way to do this is
for WebKit to dynamically publish those ProgIDs.
* Drosera/win/DebuggerClient.cpp: Use the published ProgIDs
(DebuggerClient::createWebViewWithRequest):
* Drosera/win/Drosera.cpp: Use the published ProgIDs and rename some
statics.
(Drosera::initUI):
(Drosera::attach):
(Drosera::attemptToCreateServerConnection):
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Fix a runtime failure.
* Drosera/win/ServerConnection.cpp: Reformat the connection function and
make use of the published ProgIDs.
(ServerConnection::attemptToCreateServerConnection):
2007-12-20 Kevin McCullough <kmccullough@apple.com>
- <rdar://problem/5658317> REGRESSION: 20+ leaks seen on buildbots.
- Build bot and leak fix.
* DumpRenderTree/LayoutTestController.cpp:
(pathToLocalResourceCallback):
2007-12-19 David Kilzer <ddkilzer@apple.com>
Make svn-apply/svn-unapply work with patches from git-format-patch.
Reviewed by Darin Adler.
* Scripts/svn-apply:
(patch): If 'Index:' can't be found in the text passed in, print it
out with a warning and return early.
* Scripts/svn-unapply:
(patch): Ditto.
2007-12-18 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Alp Toker.
Build related fixes.
* wx/build-wxwebkit:
- Check to make sure the user is running a supported wx port
- More robust checks for Cygwin
- Only run install-unix-extras on Mac, it's not the right solution
for Linux distros.
- Remove outdated Linux instructions after successful build
- Clean Bakefile-generated files during a clean operation
2007-12-18 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Don't generate a wrapper for select-options-remove.js.
2007-12-18 Steve Falkenburg <sfalken@apple.com>
Add script to run Drosera as part of the nightly.
Reviewed by Kevin M.
* Scripts/run-drosera.cmd: Added.
2007-12-18 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Remove a stray K.
2007-12-18 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Plan more renaming.
2007-12-14 Juan A. Suarez Romero <jasuarez@igalia.com>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=16042
[GTK] Eliminate webkit_init()
Moving webkit initialization to WebView class init.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(main):
* GtkLauncher/main.c:
(main):
2007-12-17 Luca Bruno <lethalman88@gmail.com>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=13542
gdklauncher doesnt change URL in adress GTKEntry.
* GtkLauncher/main.c:
(load_commit_cb): added
(title_change_cb):
(create_browser):
2007-12-16 Dimitri Glazkov <dimitri@glazkov.com>
Reviewed by Adam Roben.
Remove the double-quotes around the PATH variable value, in order to make it work in Windows shell.
* FindSafari/FindSafari.cpp:
(_tmain):
2007-12-16 Brent Fulgham <bfulgham@gmail.com>
Reviewed by Adam Roben.
http://bugs.webkit.org/show_bug.cgi?id=16315
FindSafari needs a path-only option.
* FindSafari/FindSafari.cpp:
(_tmain):
2007-12-16 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=16462
REGRESSION: access keys broken on Windows
* DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Send system key events
if Alt is pressed.
2007-12-15 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
Fix urlSuitableForTestResult to correctly identify wstring::npos as
the case when wstring.find doesn't find anything.
* DumpRenderTree/win/DumpRenderTree.cpp:
(urlSuitableForTestResult):
2007-12-15 Alp Toker <alp@atoker.com>
GTK+ DRT build fix for GLib < 2.14.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::setWaitToDump):
2007-12-05 Mark Rowe <mrowe@apple.com>
Reviewed by Alp Toker.
Add a watchdog timer to Gtk DumpRenderTree, and implement alert/prompt/confirm. This prevents
many layout tests from hanging while waiting on user responses to dialogs.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(invalidateAnyPreviousWaitToDumpWatchdog):
(webViewScriptAlert):
(webViewScriptPrompt):
(webViewScriptConfirm):
(main):
* DumpRenderTree/gtk/DumpRenderTreeGtk.h:
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(waitToDumpWatchdogFired):
(LayoutTestController::setWaitToDump):
2007-12-05 Mark Rowe <mrowe@apple.com>
Reviewed by Alp Toker.
Flesh out DumpRenderTree for Gtk. After these changes, the majority of the tests in fast/js pass.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(dumpFramesAsText): Don't print the frame name when dumping the main frame as text.
(dump):
(runTest):
(webViewLoadStarted): Store the top frame when it starts loading so we can use it to determine when to dump.
(webViewLoadFinished): Dump when the top frame load completes if we're not waiting for a JS callback and the
work queue is empty.
(webViewWindowObjectCleared): Set up window.layoutTestController.
(webViewConsoleMessage): Match the console message format expected by the layout test results.
(main): Hook up the new signals.
* DumpRenderTree/gtk/DumpRenderTreeGtk.h:
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Only notify done if the top frame has completed loading to avoid
dumping multiple times.
* Scripts/build-dumprendertree: Ensure build-dumprendertree is a no-op for Gtk too.
* Scripts/run-webkit-tests: Teach run-webkit-tests that Gtk is like Qt in many ways. Use run-launcher to open test results.
2007-12-14 Anders Carlsson <andersca@apple.com>
Reviewed by Brady.
Assert that a web frame that's loading a resource always has either a data source or
a provisional data source.
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
2007-12-14 Darin Adler <darin@apple.com>
- fix mistake causing nearly all tests to fail on Windows
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::webViewAddMessageToConsole): Need to compare the result of find with
npos, not 0. Also pass URL in to URL function rather than passing the entire message.
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:addMessageToConsole:]): Pass path only to path function rather
than passing the entire message.
2007-12-14 Darin Adler <darin@apple.com>
- fix Tiger build
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:addMessageToConsole:]): Re-implement this without using any
new-to-Leopard methods.
2007-12-14 Darin Adler <darin@apple.com>
* DumpRenderTree/mac/FrameLoadDelegate.mm: Don't implement didReceiveIcon delegate method
since it now triggers unwanted icon loading. We only had it because we implemented "all"
delegate methods here.
2007-12-14 Anders Carlsson <andersca@apple.com>
Reviewed by Darin and Geoff.
<rdar://problem/5619295>
REGRESSION: 303-304: Embedded YouTube video fails to render- JS errors (16150) (Flash 9)
Add property getting methods to the plug-in.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(pluginInvoke):
2007-12-14 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin Adler.
- Layout test fix for mac. When dumped to the console local file paths
now only show the name of the resource not the whole path. This is to
make the results machine and OS independent.
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:addMessageToConsole:]):
2007-12-13 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Layout tests fix. We need a way to remove machine-dependent
information from paths in layout test results. The UIDelegate now does
this.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/win/DumpRenderTree.cpp:
(urlSuitableForTestResult):
* DumpRenderTree/win/DumpRenderTreeWin.h:
* DumpRenderTree/win/ResourceLoadDelegate.cpp:
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::webViewAddMessageToConsole):
2007-12-13 Alp Toker <alp@atoker.com>
Build fix for DRT breakage introduced in r28690.
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp:
(LayoutTestController::pathToLocalResource):
2007-12-12 Kevin McCullough <kmccullough@apple.com>
Reviewed by Alice and Sam.
- <rdar://5621435> Need a way to specify local resources (being loaded
from HTTP tests) on Windows.
- Implemented pathToLocalResource which exposes the functionality of
converting a given unix path to the correct location on Windows.
* DumpRenderTree/LayoutTestController.cpp:
(pathToLocalResourceCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::pathToLocalResource):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::pathToLocalResource):
2007-12-12 Anders Carlsson <andersca@apple.com>
Reviewed by Sam.
<rdar://problem/5132003>
dumpResourceLoadCallbacks is not implemented in DRT on Windows.
* DumpRenderTree/win/DumpRenderTree.cpp:
(main):
Set the resource load delegate.
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/ResourceLoadDelegate.cpp: Added.
* DumpRenderTree/win/ResourceLoadDelegate.h: Added.
2007-12-12 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
Fix conversion from double to LPARAM in dispatchMessage().
* DumpRenderTree/win/EventSender.cpp:
(dispatchMessageCallback):
2007-12-11 Dan Bernstein <mitz@apple.com>
Reviewed by Mark Rowe and Sam Weinig too!
- added Helvetica Oblique and Helvetica Bold Oblique to the list of
fonts DumpRenderTree registers.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initialize):
2007-12-11 Brady Eidson <beidson@apple.com>
Reviewed by Anders
Make DumpRenderTree on mac use its own path for Databases testing
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting): Keep a string to ~/Library/Application Support/DumpRenderTree
for future DRT-only use, then use it to construct the Databases path and set that default
2007-12-07 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
<rdar://problem/5535636>
Have to press 4 times instead of 2 times to get the expected result of ^^ with german keyboard.
http://bugs.webkit.org/show_bug.cgi?id=13916
JavaScript detects Tab as a character input on a textfield validation
* DumpRenderTree/mac/EventSendingController.mm:
(-[EventSendingController keyDown:withModifiers:]): Added a few more named keys.
Dispatch a keyup to better match what happens when a key is physically pressed.
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback): Ditto. Also make sure that WM_CHAR is consistently dispatched before
returning from keyDown().
(getConstantCallback): Fixed a couple copy/paste mistakes.
2007-12-07 Kevin McCullough <kmccullough@apple.com>
Reviewed by Oliver.
- <rdar://5599845> Drosera: Does not show loal files in the file list
on the left side.
* Drosera/debugger.js: - Updated url dividing regex to handle %s and :s.
* Drosera/win/Drosera.vcproj/Drosera.vcproj: - Updated Debug settings
so the open source community can build.
2007-12-10 Brady Eidson <beidson@apple.com>
Rubberstamped by Sam Weinig
Update DRT Mac to reflect the new UI Delegate methods I just checked into WebKit/mac
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:frame:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
(-[UIDelegate webView:frame:quotaForSecurityOrigin:fromProposedQuota:database:]):
2007-12-08 Oliver Hunt <oliver@apple.com>
Reviewed by Sam W.
Split the ENABLE_SVG_EXPERIMENTAL_FEATURES flag into separate flags.
Fixes <rdar://problem/5620249> Must disable SVG animation
<rdar://problem/5612772> Disable SVG filters on Mac to match Windows behavior
In order to allow finer grained control over the set of SVG features
this patch splits ENABLE_SVG_EXPERIMENTAL_FEATURES into the following
distinct flags:
ENABLE_SVG_ANIMATION
ENABLE_SVG_FILTERS
ENABLE_SVG_FONTS
ENABLE_SVG_AS_IMAGE
ENABLE_SVG_USE
by default only ENABLE_SVG_AS_IMAGE and ENABLE_SVG_USE are set.
Script handles all the new build flags, and allows --svg-experimental
to automatically enable all features.
* Scripts/build-webkit:
2007-12-07 Steve Falkenburg <sfalken@apple.com>
Fix version parsing.
Rubber-stamped by Oliver.
* Drosera/win/Drosera.vcproj/auto-version.sh:
2007-12-07 Steve Falkenburg <sfalken@apple.com>
Build modifications for Drosera.
Reviewed by Adam.
* Drosera/DroseraWin.make: Added.
* Drosera/win/Drosera.vcproj/Drosera.rc:
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
* Drosera/win/Drosera.vcproj/PRODUCTVERSION: Added.
* Drosera/win/Drosera.vcproj/VERSION: Added.
* Drosera/win/Drosera.vcproj/auto-version.sh: Added.
2007-12-06 Adam Roben <aroben@apple.com>
Explicitly turn on the Mac font ascent hack on Windows
This keeps our font metrics matching those from Mac.
Reviewed by Hyatt.
* DumpRenderTree/win/DumpRenderTree.cpp:
(main):
2007-12-06 Anders Carlsson <andersca@apple.com>
Rename main.c to main.cpp here too.
* DumpRenderTree/win/TestNetscapePlugin/main.cpp: Copied from DumpRenderTree/win/TestNetscapePlugin/main.c.
2007-12-06 Sam Weinig <sam@webkit.org>
Rubber stamped by Geoff.
* Scripts/do-webcore-rename: Don't rename kjs_css twice.
2007-12-06 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Some more renaming plans.
2007-12-06 Anders Carlsson <andersca@apple.com>
Restore implementation of testGetIntIdentifier that was accidentally
removed somehow (possibly when I made PluginObject be a cpp file).
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp:
(pluginInvoke):
2007-12-05 Anders Carlsson <andersca@apple.com>
Make the entry points extern "C".
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
2007-12-05 Anders Carlsson <andersca@apple.com>
C++ warning fixes.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp:
(NPP_New):
(NPP_Destroy):
(NPP_SetWindow):
(NPP_NewStream):
(NPP_HandleEvent):
(NPP_URLNotify):
(NPP_GetValue):
2007-12-05 Anders Carlsson <andersca@apple.com>
Add the .cpp files to the TestNetscapePlugIn target.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-12-05 Anders Carlsson <andersca@apple.com>
Reviewed by Geoff.
Rename the TestNetscapePlugIn .c files to be .cpp.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Removed.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Removed.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Removed.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.cpp: Copied from DumpRenderTree/TestNetscapePlugIn.subproj/main.c.
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2007-12-05 Adam Roben <aroben@apple.com>
Fix case of keypresses from the Windows implementation of eventSender.keyDown
This fixes several regression tests.
Reviewed by Alice.
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback): Virtual keycodes for ASCII characters are always
uppercase, so we need to check the case of the original character
passed in to eventSender.keyDown.
2007-12-05 Adam Roben <aroben@apple.com>
Learn from Tim's mistakes
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest): Reset the authorAndUserStylesEnabled preference for each
test.
2007-12-05 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
Initialize GTK+ and WebKit so the tests can run.
Reorganize the headers a little.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
(main):
2007-12-04 Anders Carlsson <andersca@apple.com>
Remove IWebScriptScope include.
* Drosera/win/DebuggerDocumentPlatform.cpp:
2007-12-04 Sam Weinig <sam@webkit.org>
Rubber stamped by Mark Rowe.
Define CF as platform for mac and revert r28409
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/mac/DumpRenderTreeMac.h:
2007-12-04 Sam Weinig <sam@webkit.org>
Define CF as platform for windows.
Reviewed by Adam Roben.
* DumpRenderTree/win/DumpRenderTreeWin.h:
2007-12-04 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam and Darin.
- Removed a needless BSTR cleanup.
* Drosera/win/DebuggerDocumentPlatform.cpp:
(DebuggerDocument::getPlatformCurrentFunctionStack):
2007-11-27 Adam Roben <aroben@apple.com>
Fix <rdar://5614497> setAuthorAndUserStylesEnabled is not implemented in DRT
Reviewed by Maciej.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setAuthorAndUserStylesEnabled): Implemented.
2007-12-04 Alp Toker <alp@atoker.com>
Prospective Win DRT build fix.
* DumpRenderTree/DumpRenderTree.h:
2007-12-04 Alp Toker <alp@atoker.com>
Fix a clobbered copyright header.
* DumpRenderTree/gtk/DumpRenderTree.cpp:
2007-12-04 Xan Lopez <xan@gnome.org>
Reviewed by Alp Toker.
http://bugs.webkit.org/show_bug.cgi?id=15561
GTK port needs DumpRenderTree implementation
Start work on the GTK+ DRT.
This does not work yet, and there are a few lingering style issues
(nothing major) but this patch has been stuck in the bug tracker for
too long already.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/gtk: Added.
* DumpRenderTree/gtk/DumpRenderTree.cpp: Added.
(autocorrectURL):
(shouldLogFrameLoadDelegates):
(dumpFrameScrollPosition):
(displayWebView):
(appendString):
(dumpFramesAsText):
(dumpRenderTreeAsText):
(dump):
(runTest):
(main):
* DumpRenderTree/gtk/DumpRenderTree.pro: Added.
* DumpRenderTree/gtk/DumpRenderTreeGtk.h: Added.
* DumpRenderTree/gtk/GCControllerGtk.cpp: Added.
(GCController::collect):
(GCController::collectOnAlternateThread):
(GCController::getJSObjectCount):
* DumpRenderTree/gtk/LayoutTestControllerGtk.cpp: Added.
(LayoutTestController::~LayoutTestController):
(LayoutTestController::addDisallowedURL):
(LayoutTestController::clearBackForwardList):
(LayoutTestController::copyDecodedHostName):
(LayoutTestController::copyEncodedHostName):
(LayoutTestController::display):
(LayoutTestController::keepWebHistory):
(LayoutTestController::notifyDone):
(LayoutTestController::queueBackNavigation):
(LayoutTestController::queueForwardNavigation):
(LayoutTestController::queueLoad):
(LayoutTestController::queueReload):
(LayoutTestController::queueScript):
(LayoutTestController::setAcceptsEditing):
(LayoutTestController::setCustomPolicyDelegate):
(LayoutTestController::setMainFrameIsFirstResponder):
(LayoutTestController::setTabKeyCyclesThroughElements):
(LayoutTestController::setUseDashboardCompatibilityMode):
(LayoutTestController::setUserStyleSheetEnabled):
(LayoutTestController::setUserStyleSheetLocation):
(LayoutTestController::setWindowIsKey):
(LayoutTestController::setWaitToDump):
(LayoutTestController::windowCount):
(LayoutTestController::setPrivateBrowsingEnabled):
(LayoutTestController::setAuthorAndUserStylesEnabled):
* DumpRenderTree/gtk/WorkQueueItemGtk.cpp: Added.
(JSStringCopyUTF8CString):
(LoadItem::invoke):
(ReloadItem::invoke):
(ScriptItem::invoke):
(BackForwardItem::invoke):
2007-12-03 Sam Weinig <sam@webkit.org>
Move JavaScriptCore thread testing code to pthread specific directory
and remove the dependance on CoreFoundation by using WTF::HashSet.
Reviewed by Geoff and Oliver.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/ForwardingHeaders/wtf/HashMap.h: Added.
* DumpRenderTree/ForwardingHeaders/wtf/HashSet.h: Added.
* DumpRenderTree/ForwardingHeaders/wtf/Vector.h: Added.
* DumpRenderTree/JavaScriptThreading.h: Copied from DumpRenderTree/mac/JavaScriptThreading.h.
* DumpRenderTree/mac/JavaScriptThreading.cpp: Removed.
* DumpRenderTree/mac/JavaScriptThreading.h: Removed.
* DumpRenderTree/pthreads: Added.
* DumpRenderTree/pthreads/JavaScriptThreadingPthreads.cpp: Copied from DumpRenderTree/mac/JavaScriptThreading.cpp.
(javaScriptThreads):
(runJavaScriptThread):
(startJavaScriptThreads):
(stopJavaScriptThreads):
2007-12-03 Andrew Bonventre <andybons@google.com>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=16267
Symbol lookup menu broken in debugger view
* Drosera/debugger.js: Fixed javascript error where document property
should have been used instead of contentDocument in switchFunction that
was breaking the select symbol dropdown menu. This is because
window.frames will return a Window object and not a frame object like
the author was originally expecting.
2007-12-03 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- <rdar://5618942> Drosera: Console window does not process everything
correctly.
- <rdar://5619005> Drosera: could be sped up by moving the
WebScriptScope stuff into the WebScriptCallFrame.
- Now the console can correctly process objects and does not receive
notifications from JavaScriptCore about the JavaScript in Drosera's
own process.
* Drosera/win/DebuggerDocumentPlatform.cpp:
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
2007-12-03 Stephanie <slewis@apple.com>
Reviewed by Darin Adler.
Check to see if we are building a debug root
* Scripts/check-for-global-initializers:
2007-12-03 Dan Bernstein <mitz@apple.com>
Reviewed by Darin Adler.
- added a testGetIntIdentifier() method to TestNetscapePlugIn
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginInvoke):
2007-12-03 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Oliver.
Added eventSender.dispatchMessage() - will be used to test Windows keyboard input
in a more fine-grained manner than eventSender.keyDown().
* DumpRenderTree/win/EventSender.cpp:
(getConstantCallback):
(dispatchMessageCallback):
2007-12-02 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: More planned renaming.
2007-12-02 Sam Weinig <sam@webkit.org>
Rubber stamped by Anders.
Use [NSURL absoluteString] instead of [NSURL description] in order to get
more uniform results cross platform.
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[NSURL _drt_descriptionSuitableForTestResult]):
2007-12-02 Sam Weinig <sam@webkit.org>
Rubber stamped by Niko.
Rename FrameLoaderDelegate.h/cpp to FrameLoadDelegate.h/cpp.
* DumpRenderTree/win/DumpRenderTree.cpp:
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/FrameLoadDelegate.cpp: Copied from DumpRenderTree/win/FrameLoaderDelegate.cpp.
* DumpRenderTree/win/FrameLoadDelegate.h: Copied from DumpRenderTree/win/FrameLoaderDelegate.h.
* DumpRenderTree/win/FrameLoaderDelegate.cpp: Removed.
* DumpRenderTree/win/FrameLoaderDelegate.h: Removed.
2007-12-01 Alp Toker <alp@atoker.com>
Reviewed by Adam Roben.
Make use of the newly introduced webkit.h convenience header.
* GtkLauncher/main.c:
2007-12-01 Adam Treat <treat@kde.org>
Reviewed by Simon.
* Check to see if the directory exists and exit if not.
* DumpRenderTree/qt/main.cpp:
(main):
2007-12-01 Adam Treat <treat@kde.org>
Reviewed by Simon.
* Don't hide symbols when in Debug mode
* On Linux (glibc) provide a backtrace in the test output for debugging purposes
* DumpRenderTree/qt/main.cpp:
(messageHandler):
2007-11-30 Alp Toker <alp@atoker.com>
Reviewed by Adam Roben.
http://bugs.webkit.org/show_bug.cgi?id=15691
[GTK] Public API does not follow GTK+ conventions
Refactor the WebKit/GTK+ public API. Changes:
WebKitPage -> WebKitWebView
WebKitFrame -> WebKitWebFrame
Public API source and header names have been updated to mirror the API
changes.
The API is now kept in WebKit/gtk/WebView to match other ports in the
same class such as Mac and Win.
* GtkLauncher/main.c:
(activate_uri_entry_cb):
(link_hover_cb):
(title_change_cb):
(progress_change_cb):
(go_back_cb):
(go_forward_cb):
(create_browser):
(main):
2007-11-30 Adam Roben <aroben@apple.com>
Hopefully the final build fix
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Link against WTF.lib to
pull in WTF's assertion/logging functions.
2007-11-30 Adam Roben <aroben@apple.com>
Another build fix
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Use the right suffix for
WebKit.lib.
2007-11-30 Adam Roben <aroben@apple.com>
Debug build fix
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Added a Debug_Internal
configuration.
* Drosera/win/Drosera.vcproj/debug.vsprops: Updated to match other
projects.
* Drosera/win/Drosera.vcproj/release.vsprops: Ditto.
* Drosera/win/Drosera.vcproj/debug_internal.vsprops: Copied from
WebKitTools/DumpRenderTree/win/debug_internal.vsprops.
2007-11-30 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben.
Fix drawSelectionRect to actually draw the selection rect.
* DumpRenderTree/cg/PixelDumpSupportCG.cpp:
(drawSelectionRect):
2007-11-30 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: WildFox already did the TextStyle -> FontStyle one.
2007-11-30 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Get ready for some future renaming.
2007-11-29 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Removed some unnecessary functions and changed an unused return type.
* Drosera/win/DebuggerClient.cpp:
(registerConsoleClass):
* Drosera/win/DebuggerClient.h:
* Drosera/win/Drosera.cpp:
(registerDroseraClass):
2007-11-28 Alp Toker <alp@atoker.com>
Reviewed by Timothy Hatcher.
http://bugs.webkit.org/show_bug.cgi?id=16174
[GTK] Use "URI" not "URL" in public API
Replace use of the term "URL" with "URI" in public headers,
documentation and some internal code to match GLib/GTK+ convention.
This is now mentioned in the API guidelines:
http://trac.webkit.org/projects/webkit/wiki/HackingGtk
* GtkLauncher/main.c:
(activate_uri_entry_cb):
(title_change_cb):
(create_toolbar):
(main):
2007-11-29 Anders Carlsson <andersca@apple.com>
Reviewed by Sam.
<rdar://problem/5230478>
FrameLoadDelegate callbacks are not dumped in DRT.
* DumpRenderTree/win/DumpRenderTree.cpp:
(shouldLogFrameLoadDelegates):
(runTest):
(main):
* DumpRenderTree/win/FrameLoaderDelegate.cpp:
(BSTRtoString):
(descriptionSuitableForTestResult):
(FrameLoadDelegate::QueryInterface):
(FrameLoadDelegate::didStartProvisionalLoadForFrame):
(FrameLoadDelegate::didFailProvisionalLoadWithError):
(FrameLoadDelegate::didCommitLoadForFrame):
(FrameLoadDelegate::didFinishLoadForFrame):
(FrameLoadDelegate::willCloseFrame):
(FrameLoadDelegate::didClearWindowObject):
(FrameLoadDelegate::didFinishDocumentLoadForFrame):
(FrameLoadDelegate::didHandleOnloadEventsForFrame):
* DumpRenderTree/win/FrameLoaderDelegate.h:
(FrameLoadDelegate::windowScriptObjectAvailable):
(FrameLoadDelegate::didFirstLayoutInFrame):
2007-11-29 Sam Weinig <sam@webkit.org>
Reviewed by Anders.
Add database quota UIDelegates methods to DRT UIDelegate.
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:quotaForSecurityOrigin:toCreateDatabase:withEstimatedSize:]):
(-[UIDelegate webView:quotaForSecurityOrigin:fromProposedQuota:database:]):
2007-11-29 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam.
- <rdar://5618976> Drosera: should listen for the WebScriptDebugServer
dying and vice versa.
- This fix will allow Drosera and Safari to reconnect if either of them
closes correctly, but does not fix the case where one of them dies
silently.
* Drosera/win/ServerConnection.cpp:
(ServerConnection::attemptToCreateServerConnection): Added a safety
check, because it's possilbe to try to connect to a server that's dying.
(ServerConnection::serverDidDie): Implemented. This resets Drosera when
the server has died.
* Drosera/win/ServerConnection.h: Added the new function and removed
an unnecessary member.
2007-11-29 Anders Carlsson <andersca@apple.com>
* DumpRenderTree/win/DumpRenderTree.vcproj:
Add shlwapi.lib to all configurations.
2007-11-29 Kevin McCullough <kmccullough@apple.com>
- Build fix. Added additional includes for VS Express to the Release
project.
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
2007-11-29 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
<rdar://problem/5132005>
setUserStyleSheetEnabled is not fully implemented in Windows DRT.
* DumpRenderTree/win/DumpRenderTree.vcproj:
Add shlwapi.lib
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setUserStyleSheetEnabled):
Implement this.
(appendComponentToPath):
New method which wraps the Win32 API PathAppend.
(followShortcuts):
New method which checks if a file points to a shortcut and
follows the shortcut.
(resolveCygwinPath):
New method that takes a cygwin unix-style path and returns the Win32 path.
(cfStringRefToWString):
(LayoutTestController::setUserStyleSheetLocation):
Implement this.
2007-11-29 Alice Liu <alice.liu@apple.com>
Reviewed by Adam.
Fixed <rdar://5133828> fast/frames/iframe-window-focus.html output is lowercase
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback):
uppercase letters were being sent as lowercase letters without the shift key down.
2007-11-29 Kevin McCullough <kmccullough@apple.com>
- Windows build fix. VS express needs some love.
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
2007-11-28 Darin Adler <darin@apple.com>
Reviewed by Adam Roben.
* DumpRenderTree/mac/EventSendingController.mm:
(-[EventSendingController keyDown:withModifiers:]):
Send capital letters through as lowercase letters with the shift key down
rather than sending them as if they were highly unusual "capital letter keys".
* Scripts/update-javascriptcore-test-results: Add a "--force" option for cases
where you need to update results and more tests are failing than before.
2007-11-28 Anders Carlsson <andersca@apple.com>
Reviewed by Darin Adler.
<rdar://problem/5132001>
contextClick is not implemented in DRT on Windows.
* DumpRenderTree/win/EventSender.cpp:
(contextClickCallback):
Add a callback for contextClick, which sends a WM_RBUTTONDOWN message followed
by a WM_RBUTTONUP message.
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::hasCustomMenuImplementation):
(UIDelegate::trackCustomPopupMenu):
* DumpRenderTree/win/UIDelegate.h:
Add a no-op implementation of trackCustomPopupMenu, to prevent the default popup
menu from being shown (and causing the DRT to hang).
2007-11-27 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
Fix DumpRenderTree ObjC bug comparing strings.
* DumpRenderTree/mac/ObjCController.m:
(-[ObjCController identityIsEqual::]): Compare strings with string
equality instead of identiy equality.
2007-11-27 Timothy Hatcher <timothy@apple.com>
Reviewed by Sam.
Reset the authorAndUserStylesEnabled preference
back to YES for each test. Fixes the broken tests.
* DumpRenderTree/mac/DumpRenderTree.mm:
(resetWebViewToConsistentStateBeforeTesting):
2007-11-27 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Drosera now displays the console window, although it cannot currently
process JavaScript.
* Drosera/win/DebuggerClient.cpp: Shows the console window.
(registerConsoleClass): Implemented.
(consoleWndProc): Implemented.
(DebuggerClient::onSize): Implemented.
(DebuggerClient::createWebViewWithRequest): Implemented, now creates a
new window.
* Drosera/win/DebuggerClient.h: Added needed method and members for
creating and maintaining a new window.
* Drosera/win/Drosera.cpp: Fixed some minor bugs, and moved a couple of
lines of code to more appropriate places.
(Drosera::handleCommand):
(Drosera::initUI):
(Drosera::onSize):
(Drosera::attach):
2007-11-27 Timothy Hatcher <timothy@apple.com>
Reviewed by Dave Hyatt.
<rdar://problem/5569233> Add the ability to disable author and user CSS styles
Add support for disabling author and user styles for testing.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/LayoutTestController.cpp:
(setAuthorAndUserStylesEnabledCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setAuthorAndUserStylesEnabled):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setAuthorAndUserStylesEnabled):
2007-11-26 Dan Bernstein <mitz@apple.com>
- Tiger build fix.
* DumpRenderTree/mac/Configurations/Base.xcconfig:
2007-11-26 Kevin McCullough <kmccullough@apple.com>
Reviewed by Maciej.
- Implemented displaying variables for Drosera on Win.
* Drosera/win/DebuggerDocumentPlatform.cpp: Changed Drosera functions
that retrieve variables to not hold onto the return value since it's
not returned. Also changed to use the new signatures of the retrieval
functions.
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
* Drosera/win/Drosera.cpp: Removed a needless TODO.
(droseraWndProc):
2007-11-26 Sam Weinig <sam@webkit.org>
Cleanup names of painting and repainting functions.
Reviewed by Adam Roben.
* DumpRenderTree/cg/PixelDumpSupportCG.cpp:
(drawSelectionRect): was drawSelectionRectIntoContext.
(dumpWebViewAsPixelsAndCompareWithExpected):
* DumpRenderTree/cg/PixelDumpSupportCG.h:
* DumpRenderTree/mac/PixelDumpSupportMac.mm:
(paintWebView): was drawWebViewIntoContext.
(repaintWebView): was repaintWithVerticalSweep and repaintWithHorizontalSweep.
2007-11-26 Sam Weinig <sam@webkit.org>
Reviewed by Dan Bernstein.
- Leopard build fix
* DumpRenderTree/mac/Configurations/Base.xcconfig:
2007-11-26 Sam Weinig <sam@webkit.org>
Fix for http://bugs.webkit.org/show_bug.cgi?id=16136
Use shared PixelDumpSupport for Mac DRT
Reviewed by Adam Roben.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/PixelDumpSupport.h: Copied from DumpRenderTree/win/PixelDumpSupport.h.
* DumpRenderTree/cg/ImageDiffCG.cpp:
* DumpRenderTree/cg/PixelDumpSupportCG.cpp:
(drawSelectionRectIntoContext):
(dumpWebViewAsPixelsAndCompareWithExpected):
* DumpRenderTree/cg/PixelDumpSupportCG.h:
* DumpRenderTree/mac/Configurations/Base.xcconfig:
* DumpRenderTree/mac/DumpRenderTree.mm:
(dump):
* DumpRenderTree/mac/ImageDiff.m: Removed.
* DumpRenderTree/mac/PixelDumpSupport.h: Removed.
* DumpRenderTree/mac/PixelDumpSupport.mm: Removed.
* DumpRenderTree/mac/PixelDumpSupportMac.mm: Copied from DumpRenderTree/mac/PixelDumpSupport.mm.
(setDefaultColorProfileToRGB):
(getBitmapContextFromWebView):
(drawWebViewIntoContext):
(repaintWithVerticalSweep):
(repaintWithHorizontalSweep):
(getSelectionRect):
* DumpRenderTree/win/PixelDumpSupport.h: Removed.
2007-11-25 David D. Kilzer <ddkilzer@webkit.org>
Bug 16052: prepare-ChangeLog doesn't report deleted files
<http://bugs.webkit.org/show_bug.cgi?id=16052>
Reviewed by Sam.
* Scripts/prepare-ChangeLog: Fixed logic that checks for removed files.
2007-11-25 David Kilzer <ddkilzer@webkit.org>
Bug 15864: Replace merge-changelog with resolve-ChangeLogs
<http://bugs.webkit.org/show_bug.cgi?id=15864>
Reviewed by Adam.
Roll functionality of merge-changelog into resolve-ChangeLogs
script. The script now checks for ChangeLog.rej and
ChangeLog.orig files first. If it finds them, it uses the
ChangeLog.rej file as a patch (in old contextual diff format) to
apply with --fuzz=3.
* Scripts/merge-changelog: Removed.
* Scripts/resolve-ChangeLogs: Handle traditional rejected patches.
2007-11-25 Sam Weinig <sam@webkit.org>
Add .xcconfig files for the ImageDiff and TestNetscapePlugIn targets of the DumpRenderTree.
Reviewed by Mark Rowe.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/Configurations/Base.xcconfig:
* DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig:
* DumpRenderTree/mac/Configurations/ImageDiff.xcconfig: Added.
* DumpRenderTree/mac/Configurations/TestNetscapePlugIn.xcconfig: Added.
2007-11-25 Sam Weinig <sam@webkit.org>
Convert DumpRenderTree to ues .xcconfig files.
Reviewed by Mark Rowe.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/Configurations: Added.
* DumpRenderTree/mac/Configurations/Base.xcconfig: Added.
* DumpRenderTree/mac/Configurations/DebugRelease.xcconfig: Added.
* DumpRenderTree/mac/Configurations/DumpRenderTree.xcconfig: Added.
2007-11-25 Sam Weinig <sam@webkit.org>
Add ForwardingHeaders to wtf for DumpRenderTree.
Reviewed by Mark Rowe.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/ForwardingHeaders: Added.
* DumpRenderTree/ForwardingHeaders/wtf: Added.
* DumpRenderTree/ForwardingHeaders/wtf/Assertions.h: Added.
* DumpRenderTree/ForwardingHeaders/wtf/Noncopyable.h: Added.
* DumpRenderTree/ForwardingHeaders/wtf/OwnPtr.h: Added.
* DumpRenderTree/ForwardingHeaders/wtf/Platform.h: Added.
* DumpRenderTree/ForwardingHeaders/wtf/RetainPtr.h: Added.
* DumpRenderTree/ForwardingHeaders/wtf/StringExtras.h: Added.
* DumpRenderTree/LayoutTestController.cpp:
* DumpRenderTree/WorkQueue.cpp:
* DumpRenderTree/mac/DumpRenderTree.mm:
* DumpRenderTree/mac/FrameLoadDelegate.mm:
* DumpRenderTree/mac/JavaScriptThreading.cpp:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
* DumpRenderTree/mac/ObjCController.m:
* DumpRenderTree/mac/UIDelegate.mm:
* DumpRenderTree/mac/WorkQueueItemMac.mm:
2007-11-25 Adam Roben <aroben@apple.com>
Fix some test failures caused by r28019
Now that stdout is in binary mode, we need to always use printf
instead of wprintf. Otherwise we'll end up with UTF-16 characters in
the output.
Reviewed by Sam.
* DumpRenderTree/win/UIDelegate.cpp: Replaced uses of wprintf with
printf.
(UIDelegate::runJavaScriptAlertPanelWithMessage):
(UIDelegate::runJavaScriptConfirmPanelWithMessage):
(UIDelegate::runJavaScriptTextInputPanelWithPrompt):
(UIDelegate::webViewAddMessageToConsole):
2007-11-25 Adam Roben <aroben@apple.com>
Set the font smoothing preference in DRT
This makes the pixel results on Windows closer to the Mac results.
Reviewed by Mitz.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initializePreferences):
2007-11-25 Adam Roben <aroben@apple.com>
Port ImageDiff to CG and C++
Final part of http://bugs.webkit.org/show_bug.cgi?id=16133
<rdar://5071708>
Reviewed by Sam.
* DumpRenderTree/DumpRenderTree.sln: Added ImageDiff.vcproj.
* DumpRenderTree/cg/ImageDiffCG.cpp: Added.
(main):
(createImageFromStdin):
(compareImages):
(getDifferenceBitmap):
(computePercentageDifferent):
* DumpRenderTree/win/ImageDiff.vcproj: Added.
2007-11-25 Adam Roben <aroben@apple.com>
Fix image diff link generation on Windows
Reviewed by Sam.
* Scripts/run-webkit-tests: Removed unnecessary and incorrect calls
to toURL.
2007-11-25 Adam Roben <aroben@apple.com>
Implement pixel dumping in Windows DRT
Part of http://bugs.webkit.org/show_bug.cgi?id=16133
<rdar://5071708>
Reviewed by Sam.
* DumpRenderTree/cg/PixelDumpSupportCG.cpp: Added.
(printPNG): Dumps a CGImageRef as a PNG to stdout, along with a
Content-Length header.
(getMD5HashStringForBitmap):
(dumpWebViewAsPixelsAndCompareWithExpected):
* DumpRenderTree/cg/PixelDumpSupportCG.h: Copied from WebKitTools/DumpRenderTree/mac/DumpRenderTreePasteboard.h.
* DumpRenderTree/win/DumpRenderTree.cpp:
(dump): Do a pixel dump if requested.
(main): Parse pixel test options.
* DumpRenderTree/win/DumpRenderTree.vcproj: Added new files and added
the cg/ subdirectory to the include path.
* DumpRenderTree/win/MD5.cpp: Added. Windows MD5 functions aren't
available in a header or import library, so we have to go through this
LoadLibrary/GetProcAddress dance to use them.
(cryptDLL):
(init):
(update):
(final):
(MD5_Init):
(MD5_Update):
(MD5_Final):
* DumpRenderTree/win/MD5.h: Added.
* DumpRenderTree/win/PixelDumpSupport.h: Added. This file should be
moved up to the top level to share it with Mac eventually.
* DumpRenderTree/win/PixelDumpSupportWin.cpp: Added.
(getBitmapContextFromWebView): Forces the WebView to paint using a
WM_PRINTCLIENT message, and puts the result in a CGBitmapContext.
2007-11-25 Adam Roben <aroben@apple.com>
Clean up Windows DRT's option parsing a little bit
Reviewed by Sam.
* DumpRenderTree/win/DumpRenderTree.cpp:
(main): Put non-option arguments into a Vector.
2007-11-25 Adam Roben <aroben@apple.com>
Make Windows DRT stop changing LF into CRLF
Reviewed by Sam.
* DumpRenderTree/win/DumpRenderTree.cpp:
(main): Put stdout in binary mode.
* Scripts/run-webkit-tests: Remove the CRLF hack.
2007-11-24 David Kilzer <ddkilzer@webkit.org>
Removed empty directory.
* Scripts/resources: Removed.
2007-11-23 David D. Kilzer <ddkilzer@webkit.org>
Fix bisect-builds to work with recent WebKit nightly builds.
Reviewed by Dan.
* Scripts/bisect-builds: Check for the
WebKit.app/Contents/Frameworks/10.[45] directory. If it exists, use
it for the DYLD_FRAMEWORK_PATH environment variable, else fallback
to WebKit.app/Contents/Resources.
2007-11-23 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Maciej.
<rdar://problem/5539306> REGRESSION: redirect fails when subframe's document is opened but
not closed (affects digg.com)
* DumpRenderTree/mac/DumpRenderTree.mm: (runTest): Replace the current document with a blank
one after finishing with a test to avoid having its delayed onload handler firing when
replaced with the next one. This is ugly and still unreliable (see LayoutTests ChangeLog),
but it helps somewhat.
2007-11-22 Mark Rowe <mrowe@apple.com>
Reviewed by Alp Toker.
Fix build-webkit to propagate make's exit status if it fails.
* Scripts/webkitdirs.pm:
2007-11-22 Dan Bernstein <mitz@apple.com>
Reviewed by Mark Rowe.
- fix crash when running pixel tests
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree): Parse the command line options before setting up the
environment so that we know if we need to set up the pixel dump
machinery.
2007-11-21 Eric Seidel <eric@webkit.org>
Speculative build fix for Tiger.
* DumpRenderTree/mac/PixelDumpSupport.mm: include unistd.h
2007-11-21 Eric Seidel <eric@webkit.org>
Reviewed by Tim Hatcher.
Break out more of DumpRenderTree.mm into individual files
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/CheckedMalloc.cpp: Added.
(checkedMalloc):
(checkedRealloc):
(makeLargeMallocFailSilently):
* DumpRenderTree/mac/CheckedMalloc.h: Added.
* DumpRenderTree/mac/DumpRenderTree.mm:
(crashHandler):
(dump):
* DumpRenderTree/mac/DumpRenderTreeMac.h:
* DumpRenderTree/mac/DumpRenderTreePasteboard.h:
* DumpRenderTree/mac/DumpRenderTreePasteboard.m:
* DumpRenderTree/mac/DumpRenderTreeWindow.h:
* DumpRenderTree/mac/DumpRenderTreeWindow.mm:
* DumpRenderTree/mac/JavaScriptThreading.cpp: Added.
(javaScriptThreads):
(runJavaScriptThread):
(startJavaScriptThreads):
(stopJavaScriptThreads):
* DumpRenderTree/mac/JavaScriptThreading.h: Added.
* DumpRenderTree/mac/PixelDumpSupport.h: Added.
* DumpRenderTree/mac/PixelDumpSupport.mm: Added.
(restoreColorSpace):
(setDefaultColorProfileToRGB):
(initializeColorSpaceAndScreeBufferForPixelTests):
(md5HashStringForBitmap):
(dumpWebViewAsPixelsAndCompareWithExpected):
2007-11-21 Kevin Ollivier <kevino@theolliviers.com>
Move install-unix-extras to wx directory as it seems only to be used by that
port now. It now supports universal binaries on Mac and adds libpng and libjpeg.
Also, have build-wxwebkit run it in order to fix the Mac buildbot, and
have install-unix-extras install into WebKitLibraries as per
convention.
Reviewed by Mark Rowe.
* Scripts/install-unix-extras: Removed.
* wx/build-wxwebkit:
* wx/install-unix-extras: Copied from WebKitTools/Scripts/install-unix-extras.
2007-11-21 Eric Seidel <eric@webkit.org>
Reviewed by Adam.
More refactoring for greater code readability
* DumpRenderTree/mac/DumpRenderTree.mm:
(initializeGlobalsFromCommandLineOptions):
(initializeColorSpaceAndScreeBufferForPixelTests):
(addTestPluginsToPluginSearchPath):
(useLongRunningServerMode):
(runTestingServerLoop):
(prepareConsistentTestingEnvironment):
(dumpRenderTree):
(main):
(dumpFramesAsText):
(dumpBackForwardListForWebView):
(sizeWebViewForCurrentTest):
(methodNameStringForFailedTest):
(dumpBackForwardListForAllWindows):
(dumpWebViewAsPixelsAndCompareWithExpected):
(invalidateAnyPreviousWaitToDumpWatchdog):
(dump):
* DumpRenderTree/mac/DumpRenderTreeMac.h:
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:createWebViewWithRequest:]):
2007-11-21 Eric Seidel <eric@webkit.org>
Reviewed by Tim Hatcher.
Abstract more of DRT into static methods
* DumpRenderTree/mac/DumpRenderTree.mm:
(setDefaultsToConsistentValuesForTesting):
(setupSignalHandlers):
(allocateGlobalControllers):
(releaseAndZero):
(releaseGlobalControllers):
(dumpRenderTree):
(shouldLogFrameLoadDelegates):
(createCFURLFromPathOrURL):
(resetWebViewToConsistentStateBeforeTesting):
(runTest):
2007-11-21 Eric Seidel <eric@webkit.org>
Reviewed by Tim Hatcher.
Pull DumpRenderTreeWindow and DumpRenderTreePasteboard out into their own files
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree):
(dump):
(runTest):
* DumpRenderTree/mac/DumpRenderTreePasteboard.h: Added.
* DumpRenderTree/mac/DumpRenderTreePasteboard.m: Added.
(+[DumpRenderTreePasteboard _pasteboardWithName:]):
(+[DumpRenderTreePasteboard releaseLocalPasteboards]):
(-[DumpRenderTreePasteboard declareType:owner:]):
(+[LocalPasteboard alloc]):
(-[LocalPasteboard init]):
(-[LocalPasteboard dealloc]):
(-[LocalPasteboard name]):
(-[LocalPasteboard releaseGlobally]):
(-[LocalPasteboard declareTypes:owner:]):
(-[LocalPasteboard addTypes:owner:]):
(-[LocalPasteboard changeCount]):
(-[LocalPasteboard types]):
(-[LocalPasteboard availableTypeFromArray:]):
(-[LocalPasteboard setData:forType:]):
(-[LocalPasteboard dataForType:]):
(-[LocalPasteboard setPropertyList:forType:]):
(-[LocalPasteboard setString:forType:]):
* DumpRenderTree/mac/DumpRenderTreeWindow.h: Added.
* DumpRenderTree/mac/DumpRenderTreeWindow.mm: Added.
(+[DumpRenderTreeWindow allWindows]):
(-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
(-[DumpRenderTreeWindow dealloc]):
(-[DumpRenderTreeWindow isKeyWindow]):
(-[DumpRenderTreeWindow keyDown:]):
2007-11-20 Kevin Ollivier <kevino@theolliviers.com>
wx build fix for Windows. Don't use WebCore/move-js-headers.sh as
it indiscriminately copies any headers inside JavaScriptCore,
which includes Tiger ICU headers.
* wx/build-wxwebkit:
Don't run WebCore/move-js-headers.sh any longer.
2007-11-20 Adam Treat <treat@kde.org>
Reviewed by David Kilzer.
* Prepend git branch name to $baseProductDir
* Scripts/VCSUtils.pm:
* Scripts/webkitdirs.pm:
2007-11-20 Mark Rowe <mrowe@apple.com>
Reviewed by Simon Hausmann.
* Scripts/build-webkit: Pass "clean" flag down into buildQMakeProject.
* Scripts/webkitdirs.pm: Respect the "clean" flag passed down from build-webkit.
Have it trigger a "make distclean" rather than "make clean" to ensure that the
built product and generated Makefile's are removed.
2007-11-19 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=16040
[GTK] GtkLauncher should be written in C
Port GtkLauncher to plain C.
Use a more conventional GTK+ coding style.
Use a toolbar instead of menus.
Various signature fixes and cleanups.
Add a license header. Assume all previous modifications were copyright
assigned to Apple Inc. by default.
* GtkLauncher/GtkLauncher.pro:
* GtkLauncher/main.c: Added.
(activate_url_entry_cb):
(update_title):
(link_hover_cb):
(title_change_cb):
(progress_change_cb):
(destroy_cb):
(go_back_cb):
(go_forward_cb):
(create_browser):
(create_statusbar):
(create_toolbar):
(create_window):
(main):
* GtkLauncher/main.cpp: Removed.
2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
Build script fixes to ensure they do the right thing for the
wx port, and update build-wxwebkit to reflect the way the
build scripts now work.
Reviewed by Adam.
* Scripts/build-testkjs:
* Scripts/build-webkit:
* Scripts/run-javascriptcore-tests:
* Scripts/webkitdirs.pm:
* wx/build-wxwebkit:
2007-11-18 Eric Seidel <eric@webkit.org>
Reviewed by Anders.
Make run-javascriptcore-tests report failures on exit (to support git bisect)
* Scripts/run-javascriptcore-tests:
2007-11-18 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
Make run-webkit-tests work with Windows debug build.
* DumpRenderTree/win/DumpRenderTree.cpp: (main): Only use memory checks with debug CRT.
* DumpRenderTree/win/DumpRenderTree.vcproj: Switched Debug configuration to release CRT,
as it is supposed to run with release Apple libraries. Removed _DEBUG preprocessor
symbol, as it goes with debug CRT (AFAIK, it is supposed to be added automatically,
and shouldn't be needed in Debug_internal configuration, but I didn't dare to change that).
2007-11-18 Kevin Ollivier <kevino@theolliviers.com>
Add wxWebKit sample and build script, and integrate it with
build-webkit. Also make build-webkit --clean work for all
ports.
Reviewed by Darin Adler.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
* wx: Added.
* wx/browser: Added.
* wx/browser/browser.bkl: Added.
* wx/browser/browser.cpp: Added.
* wx/build-wxwebkit: Added.
2007-11-17 Adam Roben <aroben@apple.com>
Make it easy to run Safari in the debugger on Windows
I've added a new script, debug-safari, which launches Safari in the
debugger. On OS X it just calls gdb-safari.
Reviewed by Mark Rowe.
* FindSafari/FindSafari.cpp:
(_tmain): Added a /debugger flag, which in combination with
/printSafariLauncher will print a script that launches Safari in the
debugger.
* Scripts/debug-safari: Added.
* Scripts/run-safari: Changed to call runSafari().
* Scripts/run-webkit-nightly.cmd: Prepends the launcher script with
vsvars32.bat, which will let us find VS/VC++ Express, and passes the
first argument along to FindSafari.
* Scripts/webkitdirs.pm:
(sub runSafari): Added.
2007-11-16 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Adam Roben.
* Scripts/run-webkit-tests: Avoid an uninitialized warning if WEBKIT_TESTFONTS is not defined.
2007-11-16 Ryan Leavengood <leavengood@gmail.com>
Reviewed by David Kilzer.
The git config command was renamed to repo-config at some point. This
change tries git config and then git repo-config if the first fails.
* Scripts/prepare-ChangeLog:
(gitConfig):
2007-11-16 Dan Bernstein <mitz@apple.com>
Reviewed by Darin Adler and Sam Weinig.
- fix <rdar://problem/5134075> fast/forms/select-type-ahead-non-latin.html fails on Windows
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback): For characters that cannot be entered on the active
keyboard layout, send a WM_CHAR message with the character along with
a WM_KEYDOWN message with a virtual key code of 255.
2007-11-16 Mark Rowe <mrowe@apple.com>
Reviewed by Tim Hatcher.
Don't weak link against WebCore now that it is a sub-framework of WebKit in all configurations.
* Drosera/mac/Drosera.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-11-15 Adam Roben <aroben@apple.com>
Make run-safari actually work on Windows
* Scripts/run-safari: Fixed the order of arguments to cp, and added a
chdir call.
2007-11-14 Adam Roben <aroben@apple.com>
Updates to Safari launching now that 3.0.4 is released
Reviewed by Sam.
* FindSafari/FindSafari.cpp:
(getWebViewCLSID): Use version-independent ProgID.
* Scripts/run-safari: Use run-webkit-nightly.cmd.
2007-11-14 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
<rdar://problem/5309081>
In DRT, "plugin.logDestroy = true" not working on Windows.
* DumpRenderTree/win/TestNetscapePlugin/main.c:
(NPP_Destroy):
2007-11-14 Eric Seidel <eric@webkit.org>
Reviewed by Sam.
* Scripts/run-sunspider: add --shark-cache for L2 Cache Miss profiling
2007-11-14 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
<rdar://problem/5141186>
window.layoutTestController.setWindowIsKey is not implemented in DRT.
Implement setWindowIsKey.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setWindowIsKey):
2007-11-13 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben.
Fix for <rdar://problem/5382579>
http/tests/security/cross-frame-access-put.html reports large
negative numbers for screenLeft and screenTop (Mac reports "0")
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::UIDelegate): Initialize the RECT.
(UIDelegate::setFrame): copy the contents of the rect, not the pointer.
(UIDelegate::webViewFrame): ditto.
* DumpRenderTree/win/UIDelegate.h: Use a RECT not a RECT*
2007-11-13 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Make Drosera show source, source URLs, and function stack on Windows,
and some minor fixes.
* Drosera/DebuggerDocument.cpp: Force source to always update display.
(DebuggerDocument::updateFileSource):
* Drosera/debugger.js: Force source to always update display.
* Drosera/win/DebuggerClient.cpp: Create the needed functions for the
menu controls.
(DebuggerClient::resume):
(DebuggerClient::pause):
(DebuggerClient::stepInto):
(DebuggerClient::stepOver):
(DebuggerClient::stepOut):
(DebuggerClient::showConsole):
(DebuggerClient::closeCurrentFile):
* Drosera/win/DebuggerClient.h: Ditto.
* Drosera/win/DebuggerDocumentPlatform.cpp: Changed
getPlatformCurrentFunctionStack to not use an unecessary HRESULT and
removed two bugs. 1) caller could be in a bad state when asked to
assign into it. 2) BSTRs were not created correctly.
(DebuggerDocument::getPlatformCurrentFunctionStack):
* Drosera/win/Drosera.cpp: Hook up the menu controls.
(droseraWndProc):
(handleCommand):
(Drosera::resume):
(Drosera::pause):
(Drosera::stepInto):
(Drosera::stepOver):
(Drosera::stepOut):
(Drosera::showConsole):
(Drosera::closeCurrentFile):
* Drosera/win/Drosera.h: Hook up the menu controls.
* Drosera/win/ServerConnection.cpp: Removed unncessary server connection
functions, added a null check, and fixed another bug where caller could
be in a bad state when asked to assign into it.
(ServerConnection::didLoadMainResourceForDataSource):
(ServerConnection::getCallerFrame):
* Drosera/win/ServerConnection.h: Safety first.
2007-11-13 Dan Bernstein <mitz@apple.com>
Reviewed by Darin Adler.
- fix <http://bugs.webkit.org/show_bug.cgi?id=13371>
DumpRenderTree --pixel-tests renders each test twice
* DumpRenderTree/mac/DumpRenderTree.mm:
(dumpRenderTree): Removed the --paint option because the painting code
is always exercised as a result of
-[FrameLoadDelegate webView:didFinishLoadFromFrame:]
calling -displayIfNeeded.
(dump): Changed to always grab the image from the window since the view
is always displayed.
(runTest):
(displayWebView):
* Scripts/run-webkit-tests: No need to pass --paint to DumpRenderTree
because it always paints.
2007-11-12 Antti Koivisto <antti@apple.com>
Reviewed by Adele.
Add support for http media tests
* Scripts/run-webkit-tests:
2007-11-12 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben.
Implement LayoutTestController.setPrivateBrowsingEnabled(bool) for windows.
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setPrivateBrowsingEnabled):
2007-11-12 Adam Roben <aroben@apple.com>
* Scripts/update-webkit-localizable-strings: Changed to only scan the
mac and win subdirectories.
2007-11-11 Adam Roben <aroben@apple.com>
Fix <rdar://5133816> keepWebHistory is not implemented
Fixes fast/history/clicked-link-is-visited.html.
Reviewed by Darin Adler.
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest): Clear the optionalSharedHistory.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::keepWebHistory): Set the optionalSharedHistory.
2007-11-10 Sam Weinig <sam@webkit.org>
Reviewed by Tim Hatcher.
Follow up to <rdar://problem/5394877> Safari should not log unsafe JavaScript
attempts when in private browsing mode (only an issue if Log JavaScript Exceptions
is turned on)
- Add LayoutTestController.setPrivateBrowsingEnabled(bool) (stub out implementation for windows)
Added test: http/tests/security/cross-frame-access-private-browsing.html
* DumpRenderTree/LayoutTestController.cpp:
(setPrivateBrowsingEnabledCallback):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/mac/DumpRenderTree.mm:
(runTest): Default to private browsing disabled.
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::setPrivateBrowsingEnabled):
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setPrivateBrowsingEnabled):
2007-11-08 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Changed the vcproj file to use Drosera's ForwardingHeaders and not
WebCore's!
* Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
* Drosera/ForwardingHeaders/wtf/HashTraits.h: Added.
* Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
* Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
* Drosera/ForwardingHeaders/wtf/RetainPtr.h: Added.
* Drosera/win/Drosera.cpp:
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
2007-11-08 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam.
- Use the new IWebFrame [local] function signature and get the shared
server correctly.
* Drosera/win/DebuggerClient.cpp:
(DebuggerClient::didFinishLoadForFrame):
* Drosera/win/ServerConnection.cpp:
(ServerConnection::attemptToCreateServerConnection):
2007-11-07 Dan Bernstein <mitz@apple.com>
Reviewed by Darin Adler.
- add an option to run-webkit-tests to ignore pixel test failures where
all pixels differ by no more than a specified threshold
* DumpRenderTree/mac/ImageDiff.m:
(main):
(compareImages):
(computePercentageDifferent):
* Scripts/run-webkit-tests:
2007-11-07 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars.
Make the setting of letting Javascript access the clipboard configurable through QWebSettings, turn it off by default and turn it on in DumpRenderTree.
* DumpRenderTree/qt/DumpRenderTree.cpp:
2007-11-07 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars.
Reworked the QWebSettings API.
QWebPage now returns a pointer to its mutable QWebSettings object and the settings of newly created QWebPageObjects are initialized from QWebSettings::defaultSettings().
* DumpRenderTree/qt/DumpRenderTree.cpp:
2007-11-07 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars.
Make QWebHistory an explicitly shared object, returned as a pointer by QWebPage::history().
* DumpRenderTree/qt/jsobjects.cpp:
2007-11-07 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars Knoll <lars@trolltech.com>.
Add a QWebPage::frameCreated() signal and fix DRT
The removal of createFrame in QWebPage broke the re-implementation
in DumpRenderTree. Instead emit a frameCreated() signal and
connect to it in DumpRenderTree.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::WebPage):
(WebCore::DumpRenderTree::dump):
(WebCore::DumpRenderTree::connectFrame):
* DumpRenderTree/qt/DumpRenderTree.h:
2007-11-07 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars Knoll <lars@trolltech.com>.
Moved all the event handlers from QWebFrame into QWebPage.
This cleans up the public API and allows us to remove the
HackWebFrame hack in DumpRenderTree.
* DumpRenderTree/qt/jsobjects.cpp:
(EventSender::mouseDown):
(EventSender::mouseUp):
(EventSender::mouseMoveTo):
2007-11-07 Simon Hausmann <hausmann@kde.org>
Reviewed by Mark.
Implemented the two Javascript prompt callbacks in qt/DumpRenderTree
to prevent the default implementation from popping up messageboxes.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::javaScriptConfirm):
(WebCore::WebPage::javaScriptPrompt):
2007-11-06 Eric Seidel <eric@webkit.org>
* Scripts/build-testkjs: build fix... too many $$
2007-11-06 Eric Seidel <eric@webkit.org>
Reviewed by Mark Rowe.
* Scripts/build-testkjs: return xcodebuild's exit status, instead of grep's
2007-11-05 Adam Roben <aroben@apple.com>
Add support on Windows for WEBKIT_TESTFONTS
This environment variable lets you specify where the fonts to be used
by DumpRenderTree reside. The Qt port is already using this, so I'm
just following their lead.
Reviewed by Darin Adler.
* DumpRenderTree/win/DumpRenderTree.cpp:
(exePath): Refactored code out of initialize().
(fontsPath): Returns either $WEBKIT_TESTFONTS or
DumpRenderTree.resources.
(initialize): Use the new fontsPath function.
(main): Use the new exePath function.
* Scripts/run-webkit-tests: Propagate the WEBKIT_TESTFONTS environment
variable to DRT, like Qt does.
2007-11-05 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Alp Toker.
Remove buggy "autocomplete" from GtkLauncher as it causes more problems than it solves.
* GtkLauncher/main.cpp:
(goToURLBarText):
(main):
2007-11-04 David D. Kilzer <ddkilzer@webkit.org>
bisect-builds doesn't work with nightly build r19992 or newer on Leopard
<http://bugs.webkit.org/show_bug.cgi?id=15830>
Reviewed by Timothy.
Restrict the range of nightly builds used by the bisect-builds script
based on the version of Safari and the version of Mac OS X being used.
Mac OS X 10.4: Safari 2.0: r11976 or newer
Mac OS X 10.4: Safari 3.0: r19992 or newer
Mac OS X 10.5: Safari 2.0: r19594 or newer
Mac OS X 10.5: Safari 3.0: r25124 or newer
* Scripts/bisect-builds:
(findMacOSXVersion): Added.
(makeNightlyList): Added argument to provide version of Mac OS X.
Restrict range of nightly builds based on Safari and Mac OS X versions.
2007-11-04 Kevin McCullough <kmccullough@apple.com>
Reviewed by Maciej.
- This patch involves several changes, all of them were noticed that
they were needed by the work being done in WebKit to get Drosera and
WebKit working together on Windows.
- The changes are:
1) Added a debugger console for output messages.
2) Drosera now listens for the WebKit server (before, the server would
have to be running before Drosera was started.)
3) Fixed a bug where the WebView started out as 0x0 pixels.
4) Fixed a bug when there is no scope.
5) Added the HTML, JS, and CSS to the project file to make them easy to
find.
6) Made the ServerConnection functions virtual.
* Drosera/win/DebuggerClient.cpp: This is part of how Drosera listens
for the WebKit server.
(DebuggerClient::DebuggerClient):
(DebuggerClient::~DebuggerClient):
(DebuggerClient::didFinishLoadForFrame):
(DebuggerClient::serverConnected):
(DebuggerClient::attemptToCreateServerConnection):
* Drosera/win/DebuggerClient.h: Ditto.
* Drosera/win/DebuggerDocumentPlatform.cpp: Fixed a bug when there is no
scope.
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
* Drosera/win/Drosera.cpp:
(_tWinMain): Added a console in debug for output messages.
(Drosera::Drosera): Listen for server.
(Drosera::initUI): The server now Initializes COM.
(Drosera::serverConnected): Part of the listening for the server.
(Drosera::attemptToCreateServerConnection): Ditto.
* Drosera/win/Drosera.h: New interface for listening for the server.
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Added HTML, JS, and CSS
files to the VS project.
* Drosera/win/ServerConnection.cpp: Part of listening for the server
connection.
(ServerConnection::ServerConnection):
(ServerConnection::attemptToCreateServerConnection):
* Drosera/win/ServerConnection.h: Ditto and virtualized the Interface
methods.
(ServerConnection::serverConnected):
2007-11-04 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=15832
fast/dom/gc-10.html crashes when run alone
Check for !done before using objects that can be already deallocated.
* DumpRenderTree/mac/EditingDelegate.mm:
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldDeleteDOMRange:]):
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
(-[EditingDelegate webViewDidBeginEditing:]):
(-[EditingDelegate webViewDidChange:]):
(-[EditingDelegate webViewDidEndEditing:]):
(-[EditingDelegate webViewDidChangeTypingStyle:]):
(-[EditingDelegate webViewDidChangeSelection:]):
* DumpRenderTree/mac/FrameLoadDelegate.mm:
(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
(-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
(-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
(-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
(-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
(-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
(-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
(-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
(-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
(-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
(-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
(-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
(-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
(-[FrameLoadDelegate webView:willCloseFrame:]):
(-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
(-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
* DumpRenderTree/mac/ResourceLoadDelegate.mm:
(-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
(-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
2007-11-04 Mark Rowe <mrowe@apple.com>
Build fix. Don't use Carbon.h as the prefix header as it triggers
warnings that would otherwise be suppressed due to it being a system header.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-11-03 Maciej Stachowiak <mjs@apple.com>
Rubber stamped by Adam.
- Turn off deprecated function warnings for TestNetscapePlugin because Carbon.h triggers them
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
Sort files(...); sections of Xcode project files.
Rubber-stamped by Darin Adler.
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
* Drosera/mac/Drosera.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2007-11-03 David D. Kilzer <ddkilzer@webkit.org>
Script to sort "files(...);" sections in Xcode project.pbxproj files.
Reviewed by Darin Adler.
* Scripts/sort-Xcode-project-file: Added.
2007-11-02 Darin Adler <darin@apple.com>
* Scripts/run-sunspider: Changed "--base" to "--set-baseline".
2007-11-02 Darin Adler <darin@apple.com>
Reviewed by Maciej.
* Scripts/run-sunspider: Pass the "--base" option through.
* Scripts/sunspider-compare-results: Don't check the number of parameters; let
the real script do that. Default configuration to Release to match run-sunspider
so we don't end up building Debug just to compare results.
2007-11-01 Adam Roben <aroben@apple.com>
Make changes in WebKit/win show up under "WebKit/win:" instead of just "win:"
Reviewed by Sam.
* Scripts/commit-log-editor: Show all the directories beneath the
source root, instead of just the last one.
2007-11-01 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Adam Roben.
Print out an error message when the Windows build fails
and provide guidance on how to find out what went wrong.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2007-11-01 Alexey Proskuryakov <ap@webkit.org>
Rubber-stamped by Adam Roben.
Rolled out r27326 - debug CRT seems to cause no problems after all.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2007-10-31 Adam Roben <aroben@apple.com>
Switch the Debug configuration to using the non-debug CRT
This matches WebKit.
Reviewed by Steve.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2007-10-31 Antti Koivisto <antti@apple.com>
Reviewed by bdash.
Disable media tests when doing leak checking on Tiger.
They crash in QuickTime (rdar://problem/5537157).
* Scripts/run-webkit-tests:
2007-10-29 Antti Koivisto <antti@apple.com>
Reviewed by Maciej.
Build media support by default on OSX only.
* Scripts/build-webkit:
2007-10-30 Kevin McCullough <kmccullough@apple.com>
- Made Adam the reviewer for a previous checkin. Not sure how it didn't
get caught by the pre-commit hooks.
2007-10-30 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- This is a collection of relatively unrelated changes and cleanups
to Drosera to prepare it for interacting with WebKit. A lot of these
changes are just correcting mistakes, for example removing included
headers that are no longer needed.
* Drosera/DebuggerDocument.h: Added accessor for the ServerConnection
this will be needed by the DebuggerClient.
(DebuggerDocument::server):
* Drosera/win/BaseDelegate.h: Removed unnecessary include.
* Drosera/win/DebuggerClient.cpp:
(DebuggerClient::didFinishLoadForFrame): Finished implementing.
(DebuggerClient::didReceiveTitle): Added comment about its purpose.
(DebuggerClient::createWebViewWithRequest): Added comment about its
purpose.
* Drosera/win/DebuggerClient.h: Removed unnecessary include, and forward
declarations.
(DebuggerClient::webViewLoaded): Moved.
* Drosera/win/Drosera.cpp: Moved a function from the HelperFunctions
file, since this was the only place it was used.
(cfStringToBSTR):
* Drosera/win/Drosera.h: Cleaned up the includes.
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed HelperFunctions.h
* Drosera/win/HelperFunctions.h: Removed.
2007-10-30 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Small cleanup in the ServerConnection class.
* Drosera/win/ServerConnection.cpp: Added comments, moved some functions
and added an include.
(ServerConnection::currentFrame):
(ServerConnection::getCallerFrame):
* Drosera/win/ServerConnection.h: Added comments, moved some functions,
made a pointer into a COMPtr, and cleaned up the includes.
2007-10-29 Timothy Hatcher <timothy@apple.com>
Reviewed by John Sullivan.
- Place the Localizable.strings file in mac or win directories
if that location exists.
- Also look for UI_STRING in .c files.
* Scripts/extract-localizable-strings:
2007-10-30 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Set the eol-style to native and made all the line endings the same
so that I avoid messy diffs that show eol changes.
* Drosera/win/ServerConnection.cpp:
(ServerConnection::didParseSource):
(ServerConnection::didEnterCallFrame):
(ServerConnection::willExecuteStatement):
(ServerConnection::willLeaveCallFrame):
(ServerConnection::exceptionWasRaised):
2007-10-30 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
* Drosera/win/DebuggerDocumentPlatform.cpp:Implemented much of the
functionality that could not have existed previously without the new
interfaces.
(JSValueRefCreateWithBSTR): Added a helper function to easily convert
from a BSTR to a JSValueRef.
(DebuggerDocument::platformEvaluateScript): Implemented.
(DebuggerDocument::getPlatformCurrentFunctionStack): Implemented.
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
Implemented.
(DebuggerDocument::platformValueForScopeVariableNamed): Implemented.
* Drosera/win/HelperFunctions.h: Cleaned up some comments.
* Drosera/win/ServerConnection.cpp: Added a helper function.
(ServerConnection::getCallerFrame):
* Drosera/win/ServerConnection.h: Added a helper function.
2007-10-29 Kevin McCullough <kmccullough@apple.com>
updated reviewers for my previous changelog.
2007-10-29 Kevin McCullough <kmccullough@apple.com>
Reviewed by Maciej and Adam and Geoff.
- Minor mac-side improvements including moving a function to a more
appropriate location, fixing a warning, and correctly checking
exceptions.
* Drosera/DebuggerDocument.cpp: Corrected the exception checking.
(DebuggerDocument::willExecuteStatement):
(DebuggerDocument::didEnterCallFrame):
(DebuggerDocument::willLeaveCallFrame):
(DebuggerDocument::windowScriptObjectAvailable):
(DebuggerDocument::callFunctionOnObject):
* Drosera/mac/DebuggerClient.mm: Fixes a warning.
* Drosera/mac/DebuggerDocumentPlatform.mm: Moved
webScriptAttributeKeysForScriptObject to DebuggerDocumentPlatform
because it doesn't require the ServerConnection at all.
(NSStringCreateWithJSStringRef): Made an argument const.
(JSValueRefCreateWithNSString): Made an argument const.
(+[WebScriptObject webScriptAttributeKeysForScriptObject:]):
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
* Drosera/mac/ServerConnection.h: Moved aforementioned function.
* Drosera/mac/ServerConnection.mm: Ditto.
(-[ServerConnection webView:didLoadMainResourceForDataSource:]):
2007-10-29 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben.
Add a globalFlag property to the LayoutTestController to allow cross-domain indications.
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(getGlobalFlagCallback):
(setGlobalFlagCallback):
(LayoutTestController::getJSClass):
(LayoutTestController::staticValues):
* DumpRenderTree/LayoutTestController.h:
(LayoutTestController::globalFlag):
(LayoutTestController::setGlobalFlag):
2007-10-29 Darin Adler <darin@apple.com>
Reviewed by Maciej.
* Scripts/run-sunspider: Added --shark20 option, to run Shark at its highest sample
resolution instead of its default.
2007-10-29 David Kilzer <ddkilzer@webkit.org>
Fixed showStatus() to print status for successfully resolved conflicts when using git.
Reviewed by Mark Rowe.
Previously showStatus() would run "git diff --name-status" after a ChangeLog conflict
was successfully resolved, but this would not show any status because the change had
already been cached in the index using "git add". The solution is to add an optional
second argument to showStatus() which adds the "--cached" switch to the command.
* Scripts/resolve-ChangeLogs:
(showStatus):
2007-10-28 Eric Seidel <eric@webkit.org>
Reviewed by Maciej and Geoff, in unison.
* Scripts/run-webkit-tests: remove broken --svg option
2007-10-28 Darin Adler <darin@apple.com>
Reviewed by Adam.
* Scripts/run-sunspider: Default to "Release" configuration rather than
defaulting to the last configuration used as other scripts do. This can
still be overriden on the command line with "--debug" if there's some
reason to do so. Also fix a typo.
* Scripts/sunspider-compare-results: Fix a typo.
2007-10-26 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Implemented the WebScriptDebugListener functions now that the
WebScriptDebugServer exists
* Drosera/win/ServerConnection.cpp: Implemented WebScriptDebugListener
functions.
(ServerConnection::currentFrame):
(ServerConnection::didLoadMainResourceForDataSource):
(ServerConnection::didParseSource):
(ServerConnection::failedToParseSource):
(ServerConnection::didEnterCallFrame):
(ServerConnection::willExecuteStatement):
(ServerConnection::willLeaveCallFrame):
(ServerConnection::exceptionWasRaised):
* Drosera/win/ServerConnection.h: Removed unused arguments from the
members arguments list.
2007-10-26 David Kilzer <ddkilzer@webkit.org>
prepare-ChangeLog and update-webkit create needless ChangeLog conflicts
<http://bugs.webkit.org/show_bug.cgi?id=15600>
Reviewed by Darin Adler.
The resolve-ChangeLog script merges conflicted ChangeLogs in svn or git by creating
a patch of the local changes and applying it with a fuzz level of 3 to the new file.
If the patch is successful, it runs 'svn resolved' or 'git add' on the new ChangeLog
file. Note that it may also be used as a stand-alone script.
* Scripts/prepare-ChangeLog: Call resolve-ChangeLogs for conflicted ChangeLog files.
* Scripts/resolve-ChangeLogs: Added.
* Scripts/update-webkit: Call resolve-ChangeLogs for conflicted ChangeLog files.
2007-10-26 Mark Rowe <mrowe@apple.com>
Qt build fix. r27084 added a destructor implementation for LayoutTestController
to the Qt port on the assumption that it was an implementation of the cross-platform
LayoutTestController class. It is not, so it did not need to be changed.
* DumpRenderTree/qt/jsobjects.cpp: Remove empty destructor.
2007-10-25 Mark Rowe <mrowe@apple.com>
Reviewed by Maciej.
Fix builds with code coverage enabled.
* Scripts/build-webkit: Don't overwrite the existing value of OTHER_LDFLAGS.
2007-10-25 Darin Adler <darin@apple.com>
Reviewed by Mark Rowe.
* Scripts/make-js-test-wrappers: Don't generate a wrapper for intersectsNode.js.
* Scripts/prepare-ChangeLog: Add a special case for prefix of empty string.
2007-10-25 Stephanie <slewis@apple.com>
build Fix
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-10-25 Stephanie <slewis@apple.com>
Reviewed by Mark Rowe, Adam Roben.
Weak link against WebCore so DumpRenderTree can be bundled with production roots.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-10-25 Alice Liu <alice.liu@apple.com>
Reviewed by Adam.
Fixed <rdar://5549689> 2 tests in fast/forms fail when run with other tests on Windows
Moving destructor into platform-specific files
* DumpRenderTree/LayoutTestController.cpp:
* DumpRenderTree/mac/LayoutTestControllerMac.mm:
(LayoutTestController::~LayoutTestController):
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::~LayoutTestController):
LayoutTestController wasn't being destroyed
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest):
Added declspec
* DumpRenderTree/win/EditingDelegate.h:
Reset certain values on the webview (or related delegate) that might
have changed while running a test
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::~LayoutTestController):
2007-10-25 Adam Roben <aroben@apple.com>
Make sunspider-compare-results work with relative paths
Reviewed by Sam.
* Scripts/sunspider-compare-results: Convert arguments to absolute
paths before we chdir.
2007-10-25 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam.
- Implemented server calls now the WebScriptDebugServer exists.
- Also removed no longer needed call to initialize CG.
* Drosera/win/Drosera.cpp: No longer initializes CG because this happens
automatically now.
(_tWinMain):
* Drosera/win/ServerConnection.cpp: Now uses the COM class.
(ServerConnection::ServerConnection):
(ServerConnection::~ServerConnection):
(ServerConnection::pause):
(ServerConnection::resume):
(ServerConnection::stepInto):
(ServerConnection::applicationTerminating):
(ServerConnection::serverConnectionDidDie):
* Drosera/win/ServerConnection.h: Now uses the COM class.
2007-10-24 George Staikos <staikos@kde.org>
Unbreak Qt build.
* Scripts/build-webkit:
2007-10-24 Adam Roben <aroben@apple.com>
Remove now-unnecessary call to InitializeCoreGraphics
WebKit takes care of this now.
Reviewed by Ada.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initialize):
2007-10-24 Adam Roben <aroben@apple.com>
Use WebTextRenderer in DRT
Reviewed by Ada.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initialize): Use WebTextRenderer instead of using AddFontResourceEx.
2007-10-24 Sven Herzberg <sven@imendio.com>
Reviewed by Mark Rowe.
Fixes http://bugs.webkit.org/show_bug.cgi?id=15614
Bug 15614: [GTK] qmake based backends don't build on OS X
* Scripts/build-webkit: set QMAKESPEC correctly if building the QT or
GTK backend on a Mac
* Scripts/webkitdirs.pm: extracted the darwin-test from isOSX() into
isDarwin() to make it reusable in other places (like the workaround-
for-prebuilt-qmake in build-webkit)
2007-10-24 David Kilzer <ddkilzer@webkit.org>
Refurbish update-webkit script.
Reviewed by Adam.
* Scripts/update-webkit: Add -h|--help switch and usage statement. Check result of
GetOptions() call. Fix -q|--quiet switch to be passed to svn command properly. Use
multi-argument version of system() for flexibility and security. Check for existence
of Internal directory using -d test instead of -x.
2007-10-24 David Kilzer <ddkilzer@webkit.org>
Minor clean-up of prepare-ChangeLog script.
Reviewed by Adam.
* Scripts/prepare-ChangeLog: Keep list of updated ChangeLog files in an array instead
of a string. Use multi-argument versions of open() and system() for flexibility and
security.
2007-10-24 Alice Liu <alice.liu@apple.com>
Reviewed by Oliver.
Fix <rdar://5410959> editing/selection/drag-to-contenteditable-iframe.html fails on Windows
Move the call to replaySavedEvents from doDragDrop to doMouseMove because we don't want to
replay the saved events when we're still processing the mousedown that starts the drag
* DumpRenderTree/win/EventSender.cpp:
(doMouseMove):
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::doDragDrop):
2007-10-24 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam, Steve and Darin.
- Stubbed out the WebScriptDebugListener functionality in the Server
Connection class to prepare it for receiving those callbacks.
- Also I changed the instantiation of DebuggerClient, DebuggerDocument
and the ServerConnection to not need to be initialized with a server
name, since that is not the way we connect to the WebKit server.
* Drosera/DebuggerDocument.cpp: Fixed a bug where I was always logging
no exception. Now it only loggs when there is an exception
(DebuggerDocument::willExecuteStatement):
(DebuggerDocument::didEnterCallFrame):
(DebuggerDocument::willLeaveCallFrame):
(DebuggerDocument::windowScriptObjectAvailable):
(DebuggerDocument::callFunctionOnObject):
* Drosera/win/DebuggerClient.cpp: No longer needs the ServerConnection
to be instantiated with a server's name.
(DebuggerClient::DebuggerClient):
(DebuggerClient::didFinishLoadForFrame):
* Drosera/win/DebuggerClient.h: Removed unsued variable.
* Drosera/win/Drosera.cpp: Client no longer needs to be initialized with
a server name.
(Drosera::init):
(Drosera::initServer):
* Drosera/win/Drosera.h: No longer need the ServerConnection to be
instantiated with a server's name.
* Drosera/win/ServerConnection.cpp:
(ServerConnection::ServerConnection): No longer needs a server name
(ServerConnection::~ServerConnection): Only release the global context
if there is one.
(ServerConnection::serverConnectionDidDie): Stub for
IWebScriptDebugListener
(ServerConnection::QueryInterface): ditto
(ServerConnection::AddRef): ditto
(ServerConnection::Release): ditto
(ServerConnection::didLoadMainResourceForDataSource): ditto
(ServerConnection::didParseSource): ditto
(ServerConnection::failedToParseSource): ditto
(ServerConnection::didEnterCallFrame): ditto
(ServerConnection::willExecuteStatement): ditto
(ServerConnection::willLeaveCallFrame): ditto
(ServerConnection::exceptionWasRaised): ditto
* Drosera/win/ServerConnection.h: Stubbed out the
IWebScriptDebugListener functions, and this class no longer needs to be
instantiated with a server name.
2007-10-24 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
add a layoutTestController.dumpSelectionRect() dummy. It only has an effect on mac pixel tests anyway. Makes us pass another 5 test cases.
* DumpRenderTree/qt/jsobjects.h:
2007-10-24 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
add another command.
* DumpRenderTree/qt/jsobjects.cpp:
(TextInputController::doCommand):
2007-10-24 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
add empty eventSender.clearKillRing(), and map some of the special keys used in eventSender.keyDown() to things that work on Qt/X11.
* DumpRenderTree/qt/jsobjects.cpp:
(EventSender::keyDown):
* DumpRenderTree/qt/jsobjects.h:
2007-10-24 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
implement eventSender.keyDown().
* DumpRenderTree/qt/jsobjects.cpp:
(EventSender::keyDown):
2007-10-24 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
some smaller fixes to the editing support in DRT. Makes another few tests pass.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::initJSObjects):
* DumpRenderTree/qt/jsobjects.cpp:
(TextInputController::doCommand):
2007-10-24 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
first bit of implementation for the textinputcontroller.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
* DumpRenderTree/qt/DumpRenderTree.h:
* DumpRenderTree/qt/jsobjects.cpp:
(TextInputController::TextInputController):
(TextInputController::doCommand):
* DumpRenderTree/qt/jsobjects.h:
2007-10-24 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
make the man webpage believe it has focus, so the editing tests work correctly.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2007-10-24 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
implement layoutTestController.dumpEditingCallbacks() correctly.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::reset):
(LayoutTestController::dumpEditingCallbacks):
2007-10-24 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
Implement support for testing editing.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2007-10-23 Sam Weinig <sam@webkit.org>
Check for null BSTR that can be passed to the UIDelegate methods
from javascript null and undefined. Fixes a failing test case on
Windows (fast/dom/Window/alert-undefined.html)
Reviewed by Eric Seidel.
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::runJavaScriptAlertPanelWithMessage):
(UIDelegate::runJavaScriptConfirmPanelWithMessage):
(UIDelegate::runJavaScriptTextInputPanelWithPrompt):
(UIDelegate::webViewAddMessageToConsole):
2007-10-23 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
Don't print a massive pile of setenvs from tools that automatically build testkjs.
* Scripts/build-testkjs:
2007-10-23 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
- add wrapper that finds the right copy of testkjs
* Scripts/sunspider-compare-results: Added.
2007-10-23 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam.
- After talking with Steve I now see that the WebKit server must be
running for DCOM to create the distributed objects, which makes sense
and currently WebKit only allows one instance to be running at a time
which avoids accidentally connecting to the wrong server
- In light of this I have removed the code for the attach box and
NotificationServer and known server names, since they are all extranious
now.
* Drosera/win/Drosera.cpp: Removed notification classes and known server
names.
(_tWinMain): Uses init instead of initUI.
(droseraWndProc): No longer creats an attach dialog box.
(Drosera::Drosera): Does the OleInitialize so COM is ready to go and
it's not manditory to call init before doing COM stuff.
(Drosera::init): calls initUI and will call attach when the
functionality exists.
(Drosera::initUI): Has changed very little.
(Drosera::attach): Changed the signature to reflect that we no longer
need the dictionary of known server names.
* Drosera/win/Drosera.h: Removed notification classes and known server
names. Also renamed and moved some functions.
* Drosera/win/Drosera.vcproj/Drosera.rc: Removed the Attach box.
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Moved resource.h from the
headers to the resources folder.
* Drosera/win/resource.h: Removed the Attach box.
2007-10-22 Adam Roben <aroben@apple.com>
Windows build fix
* Scripts/build-dumprendertree: Fix path to DumpRenderTree.sln.
2007-10-22 Kevin McCullough <kmccullough@apple.com>
- Removed a leak that was fixed.
* Scripts/run-webkit-tests:
2007-10-19 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin Adler.
- Changed the Client so that the DebuggerDocument now own the
ServerConnection. This simplifies ownership and cleanup.
* Drosera/win/DebuggerClient.cpp: The DebuggerDocument now owns the
ServerConnection.
(DebuggerClient::initWithServerName):
(DebuggerClient::didFinishLoadForFrame):
* Drosera/win/DebuggerClient.h: DebuggerDocument now owns the
ServerConnection.
* Drosera/win/Drosera.cpp: Moved some WebFrame initialization logic to
until after we have a server which we are attached to.
(Drosera::initUI):
(Drosera::attach):
* Drosera/win/Drosera.h: Removed two needless pointers I forgot to take
out previously.
2007-10-22 Simon Hausmann <hausmann@kde.org>
Reviewed by Nikolas.
When running build-testkjs make sure it's called through the perl interpreter, to fix the build for Qt/Windows.
* Scripts/run-javascriptcore-tests:
2007-10-22 Simon Hausmann <hausmann@kde.org>
Reviewed by Nikolas.
Wrap WEXITSTATUS with a little exitStatus() helper function that falls back to the use of $returnvalue >> 8 on Windows to determine the exit status on platforms without WEXITSTATUS.
* Scripts/build-drosera:
* Scripts/build-dumprendertree:
* Scripts/build-testkjs:
* Scripts/build-webkit:
* Scripts/run-javascriptcore-tests:
* Scripts/run-sunspider:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2007-10-22 Andrew Wellington <proton@wiretapped.net>
Reviewed by Mark Rowe.
Fix for local database support after r26879
Ensure that ENABLE_DATABASE and ENABLE_ICONDATABASE are correctly set
* Scripts/build-webkit:
2007-10-22 Holger Freyther <zecke@selfish.org>
Reviewed by Simon Hausmann <hausmann@kde.org>.
- Do not build testkjs as an application bundle. This is
needed for run-javascriptcore-tests on OSX.
- Also, based on r26633, allow to test the WebKit/Qt port on OSX.
- Set DYLD_LIBRARY_PATH if it was set in the environment. It must be set
as we do not have -rpath on OSX.
* DumpRenderTree/qt/DumpRenderTree.pro:
* Scripts/run-webkit-tests:
2007-10-22 Simon Hausmann <hausmann@kde.org>
Reviewed by aroben.
Fix support for Signed-off-by detection in prepare-ChangeLog
--git-commit. The Signed-off-by tag does not appear in the header
but usually at the end.
* Scripts/prepare-ChangeLog:
2007-10-21 Mark Rowe <mrowe@apple.com>
Reviewed by Eric.
Fix run-javascriptcore-tests for Gtk.
* Scripts/build-testkjs: testkjs is built by build-webkit for Gtk.
2007-10-20 Eric Seidel <eric@webkit.org>
Reviewed by aroben.
* Scripts/find-extra-includes: fix path matching regex to not match ".patch"
2007-10-20 Eric Seidel <eric@webkit.org>
Reviewed by darin.
Add improved argument handling to run-sunspider, including
--runs=<number>, --shell=<path>, --tests=<pattern>, --shark, and --help
Also re-factor code into subroutines
* Scripts/build-dumprendertree: removed bogus comments
* Scripts/build-testkjs: Added.
* Scripts/run-javascriptcore-tests: use build-testkjs
* Scripts/run-sunspider: improved argument handling, abstraction
* Scripts/run-webkit-tests: improved abstraction
2007-10-20 Matt Lilek <webkit@mattlilek.com>
Not reviewed, Windows build fix.
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback):
2007-10-20 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
- http://bugs.webkit.org/show_bug.cgi?id=15544
<rdar://problem/5076426> fast/events/arrow-navigation.html needs to
not rely on Apple-specific key codes
* DumpRenderTree/mac/EventSendingController.mm:
(-[EventSendingController keyDown:withModifiers:]):
Added named key "rightArrow". Later we could have a whole table of these.
Also tweaked modifiers code a little.
* DumpRenderTree/win/EventSender.cpp: (keyDownCallback): Ditto.
2007-10-19 Darin Adler <darin@apple.com>
Reviewed by Eric.
- http://bugs.webkit.org/show_bug.cgi?id=15566
possible fix for leak seen in DumpRenderTree
* DumpRenderTree/WorkQueue.cpp: (WorkQueue::queue):
Delete the item if it's not put on the queue, since the caller has
no way of knowing that. Would be better to have the parameter type
be auto_ptr to express the fact that we take ownership.
- unrelated change
* Drosera/mac/main.m: Add missing include.
2007-10-19 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- This change should be identical but for some reason was not working
on my machine.
* Scripts/prepare-ChangeLog:
2007-10-19 Kevin McCullough <kmccullough@apple.com>
Reviewed by Oliver and Tim.
- Made use of RetainPtr to avoid retain and release issues and moved the
log function to DebuggerDocumentPlatform, which seems to be a more
logical place for it to live.
- Also moved knownServers from the ServerConnection to
DebuggerApplication to match the Windows code and because it makes sense
that a connection knows its own server but not all of them.
* Drosera/mac/DebuggerClient.h: Moved the log function to
DebuggerDocumentPlatform.
* Drosera/mac/DebuggerClient.mm: Ditto. Also do not release the server
Because it's owned by an own Ptr in DebuggerDocument. Also moved the
call for the server name up from the ServerConnection class.
(-[DebuggerClient dealloc]):
(-[DebuggerClient webView:didReceiveTitle:forFrame:]): Moved the call
for the server name up from the ServerConnection.
* Drosera/mac/DebuggerDocumentPlatform.mm: Made the server an OwnPtr.
(DebuggerDocument::platformPause):
(DebuggerDocument::platformResume):
(DebuggerDocument::platformStepInto):
(DebuggerDocument::platformEvaluateScript):
(DebuggerDocument::getPlatformCurrentFunctionStack):
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
(DebuggerDocument::platformLog): Log directly from here. No need to call
DebuggerClient.
* Drosera/mac/ServerConnection.h: Removed the knownServers function. The
way I see it, a ServerConnection should only know about its connection
and the group of all possible servers should be kept by the
application.
* Drosera/mac/ServerConnection.mm: Removed knownServer but added
currentServerName, it makes sense that the connection should know that
name.
(-[ServerConnection currentServerName]):
2007-10-19 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Integrated changes from mac drosera. Recently I've encapsulated
out the server connection object from the rest of Drosera because
it is very platform dependent right now and RPC is not implemented on
windows. This functionality, of communicating with the WebKit server
is the next area I will be focusing on in Windows.
- Other changes and cleanup were made to organize the code and add notes
on which parts still need work. Also some mac code is added and
commented out, to act as pseudocode for the logic of those parts.
* Drosera/DebuggerDocument.h: Make the ServerConnection live in a smart
pointer.
* Drosera/config.h: Added whitespace.
* Drosera/win/DebuggerApplication.cpp: Removed. The functionality of
these files got moved into Drosera.h/cpp
* Drosera/win/DebuggerApplication.h: Removed.
* Drosera/win/DebuggerClient.cpp: Lots of cleanup and restructuring
happened here to better match the logic flow of the same code on the
mac side and to use the new ServerConnection class.
(DebuggerClient::DebuggerClient): Constructor that takes a server name.
(DebuggerClient::initWithServerName): Initializer that will set up the
class to use a ServerConnection object. This was necessary so I could
create a DebuggerClient without having to initilaize it at
construction.
(DebuggerClient::QueryInterface): Moved from Drosera.cpp, the Client
will be the UIDelegate and FrameLoadDelegate.
(DebuggerClient::AddRef): For IUnknown.
(DebuggerClient::Release): For IUnknown.
(DebuggerClient::didFinishLoadForFrame): Part of the FrameLoadDelegate
this still needs to set the global context of the server, but
IWebFrame does not have an accessor for the global context yet.
(DebuggerClient::windowScriptObjectAvailable): Part of FrameLoadDelegate
this is a pass through for the same function in the document.
(DebuggerClient::didReceiveTitle): Unimplemented part of
FrameLoadDelegate this would change the title of the window.
(DebuggerClient::createWebViewWithRequest): Part of the
FrameLoadDelegate. This is about new windows via Window.open() and
how their delegates are set.
(DebuggerClient::runJavaScriptAlertPanelWithMessage): Part of the
UIDelegate. Just a debug function for printing messages.
* Drosera/win/DebuggerClient.h: Moved functionality from Drosera.h
because the Client should be the UIDelegate and FrameLoadDelegate
to match the delegates on mac.
(DebuggerClient::webViewLoaded): Added accessor method.
* Drosera/win/DebuggerDocumentPlatform.cpp: Added. I had apperently
forgotten to add this file before. This is where the platform
dependent versions of the Documents functions live. Most of these are
unimplemented because some piece of functionality does not exist on
Windows yet.
(DebuggerDocument::platformPause):
(DebuggerDocument::platformResume):
(DebuggerDocument::platformStepInto):
(DebuggerDocument::platformEvaluateScript):
(DebuggerDocument::getPlatformCurrentFunctionStack):
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
(DebuggerDocument::platformLog):
* Drosera/win/Drosera.cpp: Removed UIDelegate and FrameLoadDelegate
responsibilities becaue they belong in the Client. Also I laid the
groundwork for attaching Drosera to a WebKit process
(attachWndProc): Now if a server is selected the Client becomes it's
delegate.
(Drosera::Drosera): Added the construction of the Client and dictionary
of server names.
(Drosera::initUI): This is no longer the delegates, the Client is.
(Drosera::webViewLoaded): Now asks the Client instead of holding local
state.
(Drosera::applicationDidFinishLaunching): Placeholder for needed
notification registration when it's possible to implement.
(Drosera::serverLoaded): Ditto
(Drosera::serverUnloaded): Ditto
(Drosera::attach): Attach Drosera to the WebKit server.
* Drosera/win/Drosera.h: Ditto for Drosera.cpp comment.
(Drosera::getInst):
(Drosera::setInst):
(Drosera::knownServers):
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Removed DebuggerApplication
and added the ServerConnection.
* Drosera/win/DroseraPrefix.h: Added an ifndef check.
* Drosera/win/ServerConnection.cpp: Added. This is the interesting part
Most of the functions are completely unimlemented because they cannot
connect with the WebKit server, because one does not exist on Windows
yet.
(ServerConnection::initWithServerName):
(ServerConnection::~ServerConnection):
(ServerConnection::setGlobalContext):
(ServerConnection::pause):
(ServerConnection::resume):
(ServerConnection::stepInto):
(ServerConnection::switchToServerNamed):
(ServerConnection::applicationTerminating):
(ServerConnection::serverConnectionDidDie):
(ServerConnection::currentFrame):
* Drosera/win/ServerConnection.h: Added. Ditto.
(ServerConnection::ServerConnection):
2007-10-19 Alice Liu <alice.liu@apple.com>
Reviewed by Darin Adler.
Fix for these broken layout tests on Windows:
fast/forms/focus-selection-input.html
fast/forms/focus-selection-textarea.html
fast/forms/select-accesskey.html
* DumpRenderTree/win/EventSender.cpp:
(keyDownCallback):
correct the VK code for alt key.
2007-10-19 Eric Seidel <eric@webkit.org>
Reviewed by Mark Rowe.
Make the GtkLauncher code slightly more readable.
* GtkLauncher/main.cpp:
(setupMainMenu): Added.
(setupMainWindowUI): Added.
(main):
2007-10-19 Maciej Stachowiak <mjs@apple.com>
Rubber stamped by Adam.
- don't delay-load WebKit in DumpRenderTree.
* DumpRenderTree/win/DumpRenderTree.vcproj:
2007-10-18 Dan Bernstein <mitz@apple.com>
Reviewed by Adam Roben.
- fix <rdar://problem/5313523>
REGRESSION(Leopard): http/tests/incremental/slow-utf8-text.pl fails on Leopard
* DumpRenderTree/mac/DumpRenderTree.mm:
(dump): Changed to use _responseMIMEType.
2007-10-17 Adam Roben <aroben@apple.com>
Make it possible to have Windows-specific tests and results
When searching for tests to run and the Skipped file, we will only
look in platform/win and the cross-platform directory. When looking
for expected results, we will look in platform/win, then
platform/mac-leopard, then platform/mac, then finally the
cross-platform directory.
Reviewed by Sam.
* Scripts/run-webkit-tests:
(sub expectedDirectoryForTest): Search in mac-leopard and mac before
searching in the cross-platform directory.
(sub buildPlatformHierarchy): Removed some unneeded calls to
dirname/basename.
2007-10-17 Adam Roben <aroben@apple.com>
Add back the call to register WebKit that we had before WebKitInitializer existed
This is needed to ensure that the right WebKit is used when
instantiating COM objects.
Reviewed by Oliver.
* DumpRenderTree/win/debug_internal.vsprops: Define
DEBUG_WEBKIT_HAS_SUFFIX.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initialize):
2007-10-17 Adam Roben <aroben@apple.com>
Import File::Basename in webkitdirs since we use it
* Scripts/webkitdirs.pm:
2007-10-17 Kevin McCullough <kmccullough@apple.com>
- Updated the tiger leaks list to make the internal bots green.
* Scripts/run-webkit-tests:
2007-10-17 Adam Roben <aroben@apple.com>
Build fix for VC++ Express
* FindSafari/FindSafari.vcproj: Explicitly link against advapi32.lib
and ole32.lib.
2007-10-16 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam.
- Minor mac improvements based on observations I made while implementing the
Windows code.
* Drosera/mac/DebuggerApplication.mm: Attach does not need to create the server
then hand it to the Client who will retain it, it should just be the client who
creates and owns the server.
(-[DebuggerApplication attach:]):
* Drosera/mac/DebuggerClient.h: Can now be created with just a server name.
* Drosera/mac/DebuggerClient.mm: Creates the server.
(-[DebuggerClient initWithServerName:]):
* Drosera/mac/ServerConnection.mm: Does not need to include 2 header files, but
can instead forward declare what it needs.
2007-10-16 Darin Adler <darin@apple.com>
Reviewed by Geoff Garen.
* Scripts/run-webkit-tests: Added --add-platform-exceptions; useful when you
want to turn failing tests into platform-specific test results. Also did a
number of tweaks, including fixing a potential bug where expectedDirectoryForTest
would take the type of results into account only some of the time.
2007-10-16 Adam Roben <aroben@apple.com>
Add a new nightly launcher script for Windows
This new script is for versions of Safari that don't delay-load
WebKit. I had to make FindSafari be able to print out the nightly
launcher script on stdout because Windows shell scripts can't capture
the output from a command into an environment variable.
Reviewed by Steve.
* FindSafari/FindSafari.cpp:
(_tmain): Added /printSafariLauncher option.
* Scripts/run-webkit-nightly.cmd: Added.
2007-10-16 Adam Roben <aroben@apple.com>
Replace WebKitInitializer with FindSafari
We now rely on setting the PATH environment variable to tell Windows
where to find WebKit and its dependencies (similar to
DYLD_FRAMEWORK_PATH on Mac).
This change also make DumpRenderTree no longer delay-load WebKit.
Reviewed by Sam.
* DumpRenderTree/DumpRenderTree.sln: Removed WebKitInitializer, added
FindSafari.
* DumpRenderTree/win/DumpRenderTree.cpp: Don't use WebKitInitializer.
* DumpRenderTree/win/DumpRenderTree.vcproj: Don't link against
WebKitInitializer, don't delay-load WebKit.
* Scripts/run-javascriptcore-tests: Call setPathForRunningWebKitApp.
* Scripts/run-webkit-tests: Ditto.
* Scripts/webkitdirs.pm:
(sub setPathForRunningWebKitApp): Added.
* WebKitInitializer/WebKitInitializer.cpp: Removed.
* WebKitInitializer/WebKitInitializer.h: Removed.
* WebKitInitializer/WebKitInitializer.vcproj: Removed.
* WebKitInitializer/debug.vsprops: Removed.
* WebKitInitializer/debug_internal.vsprops: Removed.
* WebKitInitializer/release.vsprops: Removed.
2007-10-16 Adam Roben <aroben@apple.com>
Fix Bug 15532: run-safari fails if Safari is installed in a non-default location
http://bugs.webkit.org/show_bug.cgi?id=15532
FindSafari simply prints the location of an installed Safari.exe on
stdout.
Reviewed by Darin Adler.
* FindSafari/FindSafari.cpp: Copied from WebKitTools/WebKitInitializer/WebKitInitializer.cpp.
(getStringValue):
(getWebViewCLSID):
(getInstalledWebKitDirectory):
(_tmain):
* FindSafari/FindSafari.vcproj: Added.
* Scripts/webkitdirs.pm:
(sub installedSafariPath): Added. Calls FindSafari on Windows.
2007-10-16 Adam Roben <aroben@apple.com>
Updated for rename of WebKit_debug.dll to WebKit.dll for the Debug configuration
Reviewed by Kevin McCullough.
* DumpRenderTree/win/DumpRenderTree.vcproj: Use WebKitDLLConfigSuffix
when referring to WebKit.dll.
* DumpRenderTree/win/debug.vsprops: Added WebKitDLLConfigSuffix.
* DumpRenderTree/win/debug_internal.vsprops: Ditto.
* DumpRenderTree/win/release.vsprops: Ditto.
* Scripts/run-safari: Don't pass /debug to Safari anymore because we
never have a _debug suffix on WebKit.dll.
* WebKitInitializer/WebKitInitializer.cpp:
(initializeWebKit): Only use the _debug suffix for WebKit.dll when
specified.
* WebKitInitializer/debug_internal.vsprops: Added
DEBUG_WEBKIT_HAS_SUFFIX preprocessor definition.
2007-10-16 Darin Adler <darin@apple.com>
Reviewed by Adele.
* DumpRenderTree/win/EventSender.cpp: (keyDownCallback):
Remove now-unneeded control/alt key hack; the tests have been updated.
2007-10-16 Kevin McCullough <kmccullough@apple.com>
- Updated leaks list because our internal bot upgraded it's version of leopard and
one of the leaks was fixed between that revision and the bot's previous version of
leopard.
* Scripts/run-webkit-tests:
2007-10-15 Kevin McCullough <kmccullough@apple.com>
Reviewed by Tim.
- I encapsulated out the server connecton functionality because it is a specific part
of Drosera that will be platform dependant until the WebScriptDebugServer can be moved
into WebCore and C++. But if it is encapsulated out it can be easily replaced on
Windows. So the majority of this patch is moving preexisting functionality.
- Also I removed the prefix header and changed to use config.h because it is more
standard on how we use config.h in windows and it didn't make much sense to keep
the prefix header and the config.h
* Drosera/DebuggerDocument.cpp:
(DebuggerDocument::DebuggerDocument):
* Drosera/DebuggerDocument.h:
* Drosera/config.h:
* Drosera/mac/DebuggerApplication.mm:
(-[DebuggerApplication attach:]):
* Drosera/mac/DebuggerClient.h:
* Drosera/mac/DebuggerClient.mm:
(-[DebuggerClient initWithServerConnection:]):
(-[DebuggerClient dealloc]):
(-[DebuggerClient windowDidLoad]):
(-[DebuggerClient windowWillClose:]):
(-[DebuggerClient webView:didFinishLoadForFrame:]):
(-[DebuggerClient webView:didReceiveTitle:forFrame:]):
* Drosera/mac/DebuggerDocumentPlatform.mm:
(DebuggerDocument::platformPause):
(DebuggerDocument::platformResume):
(DebuggerDocument::platformStepInto):
(DebuggerDocument::platformEvaluateScript):
(DebuggerDocument::getPlatformCurrentFunctionStack):
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
(DebuggerDocument::platformLog):
* Drosera/mac/Drosera.pch: Removed.
* Drosera/mac/Drosera.xcodeproj/project.pbxproj:
* Drosera/mac/ServerConnection.h: Added.
* Drosera/mac/ServerConnection.mm: Added.
(-[ServerConnection initWithServerName:]):
(-[ServerConnection dealloc]):
(-[ServerConnection setGlobalContext:]):
(-[ServerConnection pause]):
(-[ServerConnection resume]):
(-[ServerConnection stepInto]):
(-[ServerConnection switchToServerNamed:]):
(-[ServerConnection applicationTerminating:]):
(-[ServerConnection serverConnectionDidDie:]):
(-[ServerConnection webView:didLoadMainResourceForDataSource:]):
(-[ServerConnection webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
(-[ServerConnection webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
(-[ServerConnection webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
(-[ServerConnection webView:willExecuteStatement:sourceId:line:forWebFrame:]):
(-[ServerConnection webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
(-[ServerConnection webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
(-[ServerConnection currentFrame]):
(-[ServerConnection webScriptAttributeKeysForScriptObject:]):
(-[ServerConnection knownServers]):
2007-10-15 David Kilzer <ddkilzer@webkit.org>
Reviewed by Eric.
- fix http://bugs.webkit.org/show_bug.cgi?id=15002
Script to automatically search nightly builds for regressions (bisect-builds)
* Scripts/bisect-builds: Added.
2007-10-14 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
- New JavaScript benchmark
http://bugs.webkit.org/show_bug.cgi?id=15515
* Scripts/run-sunspider: Added. Wrapper to run sunspider on the
current development or release build of JavaScriptCore.
2007-10-15 Mark Rowe <mrowe@apple.com>
Reviewed by Sam.
Fix 'run-webkit-tests --qt' complaining about the --qt argument.
* Scripts/webkitdirs.pm:
- Change checkArgv to remove the options from @ARGV to prevent
them from interfering with further option processing.
- Fix logic error in determineIsQt that would prevent it from bailing out early.
- Change isOSX to mean OS X and not Qt or Gtk. Most of our uses of isOSX assume that this is the meaning
already, so this change fixes several broken areas of the scripts including 'run-webkit-tests --qt' on a Mac
incorrectly using the Mac results, and 'run-webkit-tests --gtk' attempting to build the Mac DumpRenderTree.
2007-10-15 Darin Adler <darin@apple.com>
Reviewed by Sam.
- added logging of window.prompt and window.confirm
* DumpRenderTree/mac/UIDelegate.mm:
(-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
Implement the recommended delegate rather than the deprecated one.
(-[UIDelegate webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
Added.
(-[UIDelegate webView:runJavaScriptTextInputPanelWithPrompt:defaultText:initiatedByFrame:]):
Added.
* DumpRenderTree/win/UIDelegate.h:
* DumpRenderTree/win/UIDelegate.cpp:
(UIDelegate::runJavaScriptAlertPanelWithMessage): Got rid of unnecessary check for null string.
(UIDelegate::runJavaScriptConfirmPanelWithMessage): Added.
(UIDelegate::runJavaScriptTextInputPanelWithPrompt): Added.
(UIDelegate::webViewAddMessageToConsole): Got rid of unnecessary check for null string.
2007-10-15 Alice Liu <alice.liu@apple.com>
Reviewed by Sam Weinig.
Fixed <rdar://5382546> layoutTestController.setCustomPolicyDelegate is unimplemented causing tests to fail
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest): Like on mac, before running each test, set the webview's policy delegate to null
(main): allocate the global policy delegate for DRT's custom use
* DumpRenderTree/win/DumpRenderTree.vcproj:
Adding files to project
* DumpRenderTree/win/DumpRenderTreeWin.h: declaring global DRT policy delegate
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setCustomPolicyDelegate):
set the webview's policy delegate to DRT's custom one if the test requests it.
* DumpRenderTree/win/PolicyDelegate.cpp: Added.
Implementation is a direct port of DumpRenderTree/mac/PolicyDelegate.mm
(PolicyDelegate::PolicyDelegate):
(PolicyDelegate::QueryInterface):
(PolicyDelegate::AddRef):
(PolicyDelegate::Release):
(PolicyDelegate::decidePolicyForNavigationAction):
* DumpRenderTree/win/PolicyDelegate.h: Added.
(PolicyDelegate::decidePolicyForNewWindowAction):
(PolicyDelegate::decidePolicyForMIMEType):
(PolicyDelegate::unableToImplementPolicyWithError):
2007-10-14 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark.
* Scripts/webkitdirs.pm: Use qmake binary specified via --qmake on command-line
when querying for QMAKE_MKSPECS.
2007-10-14 Andrew Wellington <proton@wiretapped.net>
Reviewed by Adam Roben.
Fix run-webkit-tests is too greedy calculating platform hierarchy
http://bugs.webkit.org/show_bug.cgi?id=15465
Fix run-webkit-tests being too greedy in trying to split the platform name up
causing it to try and find tests in every directory above the first "-" in the
path to the LayoutTests
* Scripts/run-webkit-tests:
2007-10-14 Oleg Sukhodolsky <son.two@gmail.com>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=15006
Refactoring of buildQMakeGdkProject()/buildQMakeQtProject() and isGdk()/isQt()
to reduce code duplication.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
buildQMakeProject() renamed to buildQMakeQtProject().
buildQMakeGdkProject()/buildQMakeQtProject() now take just one parameter (directory),
unused $colorize has been removed.
=== Start merge of feature-branch 2007-10-12 ===
2007-10-08 Eric Seidel <eric@webkit.org>
Reviewed by Mark Rowe.
* Scripts/build-webkit: add --help, remove unused --color
2007-10-07 Eric Seidel <eric@webkit.org>
Reviewed by darin.
* Drosera/mac/DebuggerDocumentPlatform.mm:
(DebuggerDocument::platformEvaluateScript): null check before trying to make a JSString
2007-10-03 Rob Buis <buis@kde.org>
Reviewed by Olliej.
Adapt to changed location of Ahem font.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-10-02 Eric Seidel <eric@webkit.org>
Reviewed by Adam Roben.
Make pixel tests more useful!
Finally fix the image diff 0.00% mystery problem
Highlight any image differences in the image diff.
Add a link from image diffs back to original test file.
* DumpRenderTree/mac/ImageDiff.m:
(compareImages): highlight any differences
(computePercentageDifferent): round to two decimal places
* Scripts/run-webkit-tests: add a few more toURL calls for the windows folks
2007-10-02 Eric Seidel <eric@webkit.org>
Reviewed by Alexey Proskuryakov.
* Scripts/run-webkit-tests: print the % image difference on main results page
2007-10-02 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver.
Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
* BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
* WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
2007-10-01 Mark Rowe <mrowe@apple.com>
* BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
2007-09-25 Eric Seidel <eric@webkit.org>
Reviewed by Mark Rowe.
DerivedSources.make was finding "ENABLE_SVG" in the string
"ENABLE_SVG_EXPERIMENTAL_FEATURES" thus --no-svg wasn't functioning
quite correctly.
* Scripts/build-webkit: make --no-svg imply --no-svg-experimental
2007-09-25 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Eric.
* BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
This makes it possible to automate nightly builds for the feature-branch.
2007-07-11 Nikolas Zimmermann <zimmermann@kde.org>
Rubber stamped by Mark.
Enable svg experimental features as default here in feature-branch.
* Scripts/build-webkit:
2007-06-29 Antti Koivisto <antti@apple.com>
Reviewed by Weinig.
Add VIDEO flag for timed media features
* Scripts/build-webkit
=== End merge of feature-branch 2007-10-12 ===
2007-10-11 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin Adler.
- Updated rational for the leaks list to be more clear.
* Scripts/run-webkit-tests:
2007-10-11 Kevin McCullough <kmccullough@apple.com>
Rubber Stamp by Sam.
Adding a known Leopard leak that is already fixed but the bot is on an old version of Leopard.
I believe there was a radar on this leak, it looks familiar to me, but I could not find it.
* Scripts/run-webkit-tests:
2007-10-10 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars.
Fix compilation using gcc 4.3. Header files have been reorganized and as a result some extra
includes are needed for INT_MAX, std::auto_ptr and the like.
* DumpRenderTree/qt/main.cpp:
2007-10-09 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
implement layoutTestController.encode/decodeHostName. We still don't pass fast/encoding/idn-security.html, since our QUrl::from/toACE is somewhat stricter than ICU.
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::encodeHostName):
(LayoutTestController::decodeHostName):
* DumpRenderTree/qt/jsobjects.h:
2007-10-09 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
Don't set up connections inside QWebPage::createFrame, as users might be reimplementing that method. Make sure we get only one titleChanged() signal per title change, and implement the support for testing this in DRT.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::createFrame):
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::titleChanged):
* DumpRenderTree/qt/DumpRenderTree.h:
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::reset):
* DumpRenderTree/qt/jsobjects.h:
2007-10-09 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
add a dummy implementation for layoutTestController.display() and implement layoutTestController.clearBackForwardList().
* DumpRenderTree/qt/DumpRenderTree.h:
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::clearBackForwardList):
* DumpRenderTree/qt/jsobjects.h:
2007-10-09 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
make --git-reviewer work again.
* Scripts/prepare-ChangeLog:
2007-10-07 Holger Hans Peter Freyther <zecke@selfish.org>
Rubber stamped by Eric.
Connect to the "hovering-over-link" signal emitted by WebKitPage and
show the current link inside the statusbar.
This shows how to make use of this signal and allows to easily test
http://bugs.webkit.org/show_bug.cgi?id=15299.
* GtkLauncher/main.cpp:
(hoveringOverLink):
(main):
2007-10-05 Lars Knoll <lars@trolltech.com>
add proper error messages to the FrameLoaderClient.
Implement ChromeClientQt::closeWindowSoon and
FrameLoaderClientQt::dispatchCreatePage (which should go away IMO).
Some fixes in DRT to make it work correctly with multiple windows.
Reviewed by Maciej.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::createWindow):
(WebCore::DumpRenderTree::windowCount):
* DumpRenderTree/qt/DumpRenderTree.h:
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::maybeDump):
(LayoutTestController::windowCount):
* DumpRenderTree/qt/jsobjects.h:
2007-10-05 Lars Knoll <lars@trolltech.com>
Add a dummy plugin to DRT to fix fast/dom/Window/Plug-Ins.html.
Add support for layoutTextController.setCanOpenWindows() to DRT
fixing another 2 test cases in fast/dom/Window.
Reviewed by Maciej.
* DumpRenderTree/qt/DumpRenderTree.cpp:
(WebCore::WebPage::WebPage):
(WebCore::WebPage::createWindow):
(WebCore::DumpRenderTree::resetJSObjects):
(WebCore::DumpRenderTree::createWindow):
* DumpRenderTree/qt/DumpRenderTree.h:
* DumpRenderTree/qt/DumpRenderTree.pro:
* DumpRenderTree/qt/jsobjects.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::reset):
* DumpRenderTree/qt/jsobjects.h:
* DumpRenderTree/qt/main.cpp:
* DumpRenderTree/qt/testplugin.cpp: Added.
* DumpRenderTree/qt/testplugin.h: Added.
2007-10-04 Sam Weinig <sam@webkit.org>
Rubber stamped by Adam.
Remove empty directories.
* DumpRenderTree/DumpRenderTree.qtproj: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts: Removed.
2007-10-03 Darin Adler <darin@apple.com>
Reviewed by Adam.
* Scripts/webkitdirs.pm: Automatically use "Debug_Internal" if
we find the internal libraries in the libraries directory. This
is helpful for Safari team engineers at Apple.
2007-10-03 Adam Roben <aroben@apple.com>
Update the location of AHEM___.TTF after r25968
Reviewed by Sam.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-10-03 Alp Toker <alp@atoker.com>
Reviewed by Adam.
http://bugs.webkit.org/show_bug.cgi?id=14726
[gtk] API design. Mapping the WebView delegates to signals.
Change the API namespace of the Gtk+ port from 'WebKitGtk' to 'WebKit'.
* GtkLauncher/main.cpp:
(goToURLBarText):
(titleChanged):
(progressChanged):
(menuMainBackCallback):
(menuMainForwardCallback):
(main):
2007-10-03 Lars Knoll <lars@trolltech.com>
Reviewed by Rob.
This fixes --strict mode in run-webkit-tests again after
the platform dependent test results have been moved.
* Scripts/run-webkit-tests:
2007-10-03 Lars Knoll <lars@trolltech.com>
Reviewed by bdash.
remove the hack in run-webkit-tests that forced text only test
to be taken from the platform independent dir. It was only left
there from early days.
Remove platform dependent results for tests that are text only nowadays,
and add one platform dependent result for a text only test that requires it.
* Scripts/run-webkit-tests:
2007-10-03 Lars Knoll <lars@trolltech.com>
Reviewed by olliej.
Move the Qt version of DRT into the correct place and put the binary into BUILDDIR/bin.
* DumpRenderTree/qt/DumpRenderTree.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp.
(WebCore::WebFrame::WebFrame):
(WebCore::WebPage::WebPage):
(WebCore::WebPage::createFrame):
(WebCore::WebPage::javaScriptAlert):
(WebCore::WebPage::javaScriptConsoleMessage):
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::resetJSObjects):
(WebCore::DumpRenderTree::initJSObjects):
(WebCore::DumpRenderTree::dumpFramesAsText):
(WebCore::DumpRenderTree::dump):
* DumpRenderTree/qt/DumpRenderTree.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h.
(WebCore::DumpRenderTree::layoutTestController):
(WebCore::DumpRenderTree::eventSender):
* DumpRenderTree/qt/DumpRenderTree.pro: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro.
* DumpRenderTree/qt/fonts.conf: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts.conf.
* DumpRenderTree/qt/fonts/AHEM____.TTF: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF.
* DumpRenderTree/qt/jsobjects.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp.
(HackWebFrame::mousePressEvent):
(HackWebFrame::mouseReleaseEvent):
(HackWebFrame::mouseMoveEvent):
(HackWebFrame::HackWebFrame):
(HackWebFrame::~HackWebFrame):
(LayoutTestController::LayoutTestController):
(LayoutTestController::reset):
(LayoutTestController::maybeDump):
(LayoutTestController::waitUntilDone):
(LayoutTestController::notifyDone):
(LayoutTestController::dumpEditingCallbacks):
(LayoutTestController::queueReload):
(LayoutTestController::provisionalLoad):
(LayoutTestController::timerEvent):
(EventSender::EventSender):
(EventSender::mouseDown):
(EventSender::mouseUp):
(EventSender::mouseMoveTo):
(EventSender::leapForward):
(EventSender::keyDown):
(EventSender::frameUnderMouse):
* DumpRenderTree/qt/jsobjects.h: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h.
(LayoutTestController::isLoading):
(LayoutTestController::setLoading):
(LayoutTestController::shouldDumpAsText):
(LayoutTestController::shouldDumpChildrenAsText):
(LayoutTestController::shouldWaitUntilDone):
(LayoutTestController::dumpAsText):
(LayoutTestController::dumpChildFramesAsText):
* DumpRenderTree/qt/main.cpp: Renamed from WebKitTools/DumpRenderTree/DumpRenderTree.qtproj/main.cpp.
(messageHandler):
(crashHandler):
(main):
* Scripts/run-webkit-tests:
2007-10-03 Mark Rowe <mrowe@apple.com>
Reviewed by Alp Toker.
Fix build-webkit when both QTDIR and --gtk are set. The presence of --gtk
should take precedence over QTDIR when determining which port we are working with.
* Scripts/webkitdirs.pm:
2007-10-02 Adam Roben <aroben@apple.com>
Add keychain to the list of default packages to install
Rubberstamped by Sam.
* CygwinDownloader/cygwin-downloader.py:
* CygwinDownloader/cygwin-downloader.zip: Regenerated.
2007-10-02 David Kilzer <ddkilzer@webkit.org>
Reviewed by Adam.
Make "--git-commit trunk..HEAD" work with prepare-ChangeLog.
Also makes WebCore regression test case logic work when using git.
* Scripts/prepare-ChangeLog:
(reviewerAndDescriptionForGitCommit): Added.
2007-10-02 Lars Knoll <lars@trolltech.com>
Reviewed by bdash.
Add API to retrieve the frame name from QWebFrame.
Implement support for DRT::dumpChildrenAsText.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::dumpFramesAsText):
(WebCore::DumpRenderTree::dump):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::reset):
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
2007-10-02 Lars Knoll <lars@trolltech.com>
Reviewed by bdash.
Fix the handling of the response header for data urls. Make sure we always pass absolute URLs to WebKit from both DRT and QtLauncher.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::readStdin):
2007-10-02 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver.
Update WebKitLauncher to notify you of new builds from the correct branch, rather than always checking trunk.
* BuildSlaveSupport/build-launcher-app: Generate a file named BRANCH into WebKit.app so that it knows which branch it was built from.
* WebKitLauncher/start.html: Use the new URL format that includes the branch we were built from.
2007-10-02 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Maciej.
Configuration changes from build.webkit.org. The major change is refactoring to work
with Buildbot 0.7.6, but it does include other smaller changes that have been made in the
last few weeks.
* BuildSlaveSupport/build.webkit.org-config/master.cfg:
* BuildSlaveSupport/build.webkit.org-config/webkit/auth.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2007-10-02 Lars Knoll <lars@trolltech.com>
Reviewed by Maciej.
Add support for eventSender.mouseMove to DRT.
Fixes fast/css/hover-affects-child.html
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
(EventSender::mouseMoveTo):
2007-10-01 Mark Rowe <mrowe@apple.com>
* BuildSlaveSupport/build-launcher-dmg: Tweak once more to handle nightly builds for branches.
2007-10-01 David Kilzer <ddkilzer@webkit.org>
Reviewed by Hyatt.
Make svn-apply and svn-unapply work with added files in git-diff formatted patches.
* Scripts/svn-apply:
(gitdiff2svndiff): Ignore lines beginning with "new file".
* Scripts/svn-unapply:
(gitdiff2svndiff): Ditto.
2007-09-30 George Staikos <staikos@kde.org>
Qt build fix (Mac OS X specific)
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2007-09-29 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark.
-Fix http://bugs.webkit.org/show_bug.cgi?id=13226.
Remove Bakefiles from svn.
* GtkLauncher/Bakefiles.bkgen: Removed.
* GtkLauncher/ENV: Removed.
* GtkLauncher/gdklauncher.bkl: Removed.
* GtkLauncher/mk: Removed.
* Scripts/regenerate-makefiles: Removed.
2007-09-25 Kevin McCullough <kmccullough@apple.com>
Reviewed by John.
- Updating leopard leak list to refelct bugs that have been fixed and no longer leak.
* Scripts/run-webkit-tests:
2007-09-26 Adam Roben <aroben@apple.com>
Make not finding an installed WebKit non-fatal
What really matters is that we are able to load WebKit and its
dependencies, not whether we think we've found an installed WebKit.
Reviewed by Sam.
* WebKitInitializer/WebKitInitializer.cpp:
(getWebViewCLSID): Use new LOG_WARNING macro.
(getInstalledWebKitDirectory): Ditto.
(initializeWebKit): Don't die if we didn't find an installed WebKit,
and use new macros.
* WebKitInitializer/WebKitInitializer.vcproj: Disabled a warning.
2007-09-26 Adam Roben <aroben@apple.com>
Committed this file before saving it
* WebKitInitializer/debug_internal.vsprops:
2007-09-26 Adam Roben <aroben@apple.com>
Load WebKit and its dependencies manually so they come from DllDirectory
I had to change WebKitInitializer to use malloc/free instead of
new/delete to avoid pulling in WebKit (and its dependencies) early
through use of fastMalloc.
Reviewed by Oliver.
* WebKitInitializer/WebKitInitializer.cpp:
(getStringValue): Changed to use malloc/free.
(getInstalledWebKitDirectory): Ditto.
(initializeWebKit): Call SetDllDirectory first, then load all of
WebKit's dependencies manually, finally followed by WebKit itself.
* WebKitInitializer/WebKitInitializer.vcproj: Added a new
configuration to match our other projects.
* WebKitInitializer/debug_internal.vsprops: Added.
2007-09-25 Adam Roben <aroben@apple.com>
Actually define DEBUG/NDEBUG so that we load WebKit correctly
Rubberstamped by Sam.
* WebKitInitializer/WebKitInitializer.vcproj:
2007-09-25 Adam Roben <aroben@apple.com>
Make DumpRenderTree delay-load its dependencies
This lets WebKitInitializer re-route the dependencies to be loaded out
of the Safari installation directory.
Also replaced all uses of kCFAllocatorDefault with 0 (which means the
same thing), since we can't import the kCFAllocatorDefault symbol when
delay-loading CoreFoundation.dll.
Rubberstamped by Sam.
* DumpRenderTree/win/DumpRenderTree.cpp:
(runTest):
(javaScriptThreads):
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
(LayoutTestController::setWaitToDump):
2007-09-25 Adam Roben <aroben@apple.com>
Pull ole32.lib into WebKitInitializer
Rubberstamped by Sam.
* WebKitInitializer/WebKitInitializer.vcproj:
2007-09-25 David Kilzer <ddkilzer@webkit.org>
Reviewed by Adam.
- Fix http://bugs.webkit.org/show_bug.cgi?id=14885
LGPL'ed files contain incorrect FSF address
* Drosera/config.h:
2007-09-25 David Kilzer <ddkilzer@webkit.org>
Reviewed by Adam.
Make svn-apply and svn-unapply work with git-diff formatted patches.
* Scripts/svn-apply: Apply a filter to the input if we find a git-diff marker before a patch.
(gitdiff2svndiff): Added.
* Scripts/svn-unapply: Ditto.
(gitdiff2svndiff): Added.
2007-09-25 Adam Roben <aroben@apple.com>
Pull advapi32.lib into WebKitInitializer
This is needed to get the registry functions we use.
Rubberstamped by Sam.
* WebKitInitializer/WebKitInitializer.vcproj:
2007-09-25 Adam Roben <aroben@apple.com>
Add python and rsync to cygwin-downloader
Our build slaves need this, and it can't hurt for everyone else to
have it, too.
Reviewed by Sam.
* CygwinDownloader/cygwin-downloader.py: Added python and rsync.
* CygwinDownloader/cygwin-downloader.zip: Regenerated.
2007-09-25 Adam Roben <aroben@apple.com>
Add WebKitInitializer and use it in DumpRenderTree
WebKitInitializer is a static library that has one function,
initializeWebKit(). This registers WebKit and sets up the DLL search
path so that WebKit's dependencies that are installed with Safari can
be found.
Reviewed by Sam.
* DumpRenderTree/DumpRenderTree.sln: Added WebKitInitializer and made
DumpRenderTree depend on it.
* DumpRenderTree/win/DumpRenderTree.cpp:
(initialize): Call initializeWebKit.
* DumpRenderTree/win/DumpRenderTree.vcproj: Link against
WebKitInitializer.lib.
* WebKitInitializer/WebKitInitializer.cpp: Added.
(getStringValue):
(getWebViewCLSID):
(getInstalledWebKitDirectory):
(initializeWebKit):
* WebKitInitializer/WebKitInitializer.h: Added.
* WebKitInitializer/WebKitInitializer.vcproj: Added.
* WebKitInitializer/debug.vsprops: Added.
* WebKitInitializer/release.vsprops: Added.
2007-09-25 Adam Roben <aroben@apple.com>
Make run-webkit-tests respect set-webkit-configuration
Reviewed by Sam.
* Scripts/run-webkit-tests: Initialize $configuration to whatever
set-webkit-configuration was last set to.
2007-09-25 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Eric.
* BuildSlaveSupport/build-launcher-dmg: Allow the platform tag to be specified on the command line.
This makes it possible to automate nightly builds for the feature-branch.
2007-09-25 Adam Roben <aroben@apple.com>
A couple of fixes/enhancements to update-webkit-*-libs
You can now specify WEBKITSUPPORTLIBRARIESZIPDIR=C:\my\special\place
to tell update-webkit-support-libraries where it should find the
WebKitSupportLibrary.zip file you downloaded.
These scripts also now correctly interpret WEBKITLIBRARIESDIR as a
Windows-style path.
Reviewed by Sam.
* Scripts/update-webkit-auxiliary-libs: Also renamed $supportLibsURL
to $auxiliaryLibsURL and removed an irrelevant comment.
* Scripts/update-webkit-support-libs:
2007-09-25 Adam Treat <treat@kde.org>
Reviewed by Simon and Lars.
Refactors and cleans up Qt DRT member variable names, member variable
initialization, style fixes and general code cleanup.
Adds queueReload slot to LayoutTestController that some tests require.
Subclasses QWebFrame to make sure that all frames have an associated
LayoutTestController JS window object.
Takes advantage of new QWebFrame provisionalLoad signal to ensure frames
aren't dumped twice.
EOF fixes.
Together, this patch fixes some 20+ layout tests in QtWebKit.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::WebFrame::WebFrame):
(WebCore::WebPage::WebPage):
(WebCore::WebPage::createFrame):
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::initJSObjects):
(WebCore::DumpRenderTree::dump):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
(WebCore::DumpRenderTree::layoutTestController):
(WebCore::DumpRenderTree::eventSender):
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::reset):
(LayoutTestController::maybeDump):
(LayoutTestController::waitUntilDone):
(LayoutTestController::notifyDone):
(LayoutTestController::queueReload):
(LayoutTestController::provisionalLoad):
(EventSender::EventSender):
(EventSender::mouseDown):
(EventSender::mouseUp):
(EventSender::mouseMoveTo):
(EventSender::frameUnderMouse):
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
(LayoutTestController::isLoading):
(LayoutTestController::setLoading):
(LayoutTestController::dumpAsText):
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(main):
2007-09-24 Kevin McCullough <kmccullough@apple.com>
- Reverted an accidentally checked in file.
* Drosera/win/DebuggerDocumentPlatform.cpp: Removed.
2007-09-24 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam.
- Updated project files to not use Edit and Continue for Debug Information since it doesn't work and breaks some functionality.
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
2007-09-20 Holger Hans Peter Freyther <zecke@selfish.org>
Rubber stamped by Adam.
* GdkLauncher: Removed.
* GdkLauncher/Bakefiles.bkgen: Removed.
* GdkLauncher/ENV: Removed.
* GdkLauncher/GdkLauncher.pro: Removed.
* GdkLauncher/gdklauncher.bkl: Removed.
* GdkLauncher/main.cpp: Removed.
* GdkLauncher/mk: Removed.
* GdkLauncher/simple.svg: Removed.
* GdkLauncher/text.html: Removed.
* GtkLauncher: Added.
* GtkLauncher/GdkLauncher.pro: Removed.
* GtkLauncher/GtkLauncher.pro: Added.
* GtkLauncher/main.cpp:
(updateWindowTitle):
(main):
* Scripts/build-webkit:
* Scripts/regenerate-makefiles:
* Scripts/run-javascriptcore-tests:
* Scripts/run-launcher:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2007-09-21 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
<rdar://problem/5491013> REGRESSION: -[WebView windowScriptObject] returns a dummy object or nil if a page hasn't loaded (breaks EA Sports Online)
Assert that the -[WebScriptObject JSObject] return value is only NULL for non-window objects.
This is tested by plugins/root-object-premature-delete-crash.html.
* DumpRenderTree/mac/ObjCController.m:
(-[ObjCController accessStoredWebScriptObject]):
2007-09-21 Kevin McCullough <kmccullough@apple.com>
Reviewed by Oliver.
- We need to initialize the ref count to 1 at initialization so that objects are not garbage collected. (actual patch written by Oliver)
* DumpRenderTree/win/FrameLoaderDelegate.cpp:
(FrameLoadDelegate::FrameLoadDelegate):
2007-09-20 Julien Chaffraix <julien.chaffraix@gmail.com>
Reviewed by Adam.
Fix: http://bugs.webkit.org/show_bug.cgi?id=15223
webkitdir.pm::isQt() is not working properly in run-webkit-tests under Linux/Qt
Added determineIsQt() and determineIsGdk() to webkitdirs.pm.
Now isQt() and isGdk() use global variables that are only set once.
An array of all the parameters is now given to build-dumprender which includes
the platform on linux.
* Scripts/build-dumprendertree:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2007-09-19 Adam Roben <aroben@apple.com>
Rubberstamped by Hyatt.
* Spinneret: Removed.
2007-09-19 Tuukka Hastrup <Tuukka.Hastrup@iki.fi>
Reviewed by David Kilzer.
* Scripts/webkitdirs.pm: On Gdk and Qt, check that flex, bison, gperf are available.
2007-09-18 Sam Weinig <sam@webkit.org>
Add JSRetainPtr.h #include to fix some builds.
* DumpRenderTree/win/LayoutTestControllerWin.cpp:
2007-09-18 Mike Hommey <glandium@debian.org>
Reviewed by Adam.
* Scripts/prepare-ChangeLog:
- Properly parse GECOS field.
- Use git configuration for user name and email when appropriate.
2007-09-17 Sam Weinig <sam@webkit.org>
Build fix.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-09-17 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben.
Share more code between mac and windows DRT.
- GCController is now shared.
- Rename WaitUntilDoneDelegate to FrameLoadDelegate for consistency.
* DumpRenderTree/GCController.cpp:
* DumpRenderTree/win/DumpRenderTree.cpp:
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/FrameLoaderDelegate.cpp: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.cpp.
(FrameLoadDelegate::FrameLoadDelegate):
(FrameLoadDelegate::~FrameLoadDelegate):
(FrameLoadDelegate::windowScriptObjectAvailable):
* DumpRenderTree/win/FrameLoaderDelegate.h: Copied from DumpRenderTree/win/WaitUntilDoneDelegate.h.
* DumpRenderTree/win/GCController.cpp: Removed.
* DumpRenderTree/win/GCController.h: Removed.
* DumpRenderTree/win/GCControllerWin.cpp: Copied from DumpRenderTree/win/GCController.cpp.
(GCController::collect):
(GCController::collectOnAlternateThread):
(GCController::getJSObjectCount):
* DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Removed.
* DumpRenderTree/win/WaitUntilDoneDelegate.h: Removed.
2007-09-17 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben.
Begin sharing code between mac and windows DRT.
- both now share LayoutTestController.h/cpp and implement platform dependant
operations in LayoutTestControllerMac/Win.
- DumpRenderTree.h is now shared.
- WorkQueue and WorkQueueItem are also shared.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/LayoutTestController.cpp:
* DumpRenderTree/win/DumpRenderTree.cpp:
(displayWebView):
(dumpFrameScrollPosition):
(dumpFramesAsText):
(dump):
(runTest):
* DumpRenderTree/win/DumpRenderTree.h: Removed.
* DumpRenderTree/win/DumpRenderTree.vcproj:
* DumpRenderTree/win/DumpRenderTreeWin.h: Copied from DumpRenderTree/win/DumpRenderTree.h.
* DumpRenderTree/win/EditingDelegate.cpp:
(EditingDelegate::shouldBeginEditingInDOMRange):
(EditingDelegate::shouldEndEditingInDOMRange):
(EditingDelegate::shouldInsertNode):
(EditingDelegate::shouldInsertText):
(EditingDelegate::shouldDeleteDOMRange):
(EditingDelegate::shouldChangeSelectedDOMRange):
(EditingDelegate::shouldApplyStyle):
(EditingDelegate::shouldChangeTypingStyle):
(EditingDelegate::doPlatformCommand):
(EditingDelegate::webViewDidBeginEditing):
(EditingDelegate::webViewDidChange):
(EditingDelegate::webViewDidEndEditing):
(EditingDelegate::webViewDidChangeTypingStyle):
(EditingDelegate::webViewDidChangeSelection):
* DumpRenderTree/win/LayoutTestController.cpp: Removed.
* DumpRenderTree/win/LayoutTestController.h: Removed.
* DumpRenderTree/win/LayoutTestControllerWin.cpp: Copied from DumpRenderTree/win/LayoutTestController.cpp.
(LayoutTestController::addDisallowedURL):
(LayoutTestController::clearBackForwardList):
(LayoutTestController::copyDecodedHostName):
(LayoutTestController::copyEncodedHostName):
(LayoutTestController::display):
(LayoutTestController::keepWebHistory):
(LayoutTestController::notifyDone):
(LayoutTestController::queueBackNavigation):
(LayoutTestController::queueForwardNavigation):
(jsStringRefToWString):
(LayoutTestController::queueLoad):
(LayoutTestController::queueReload):
(LayoutTestController::queueScript):
(LayoutTestController::setAcceptsEditing):
(LayoutTestController::setCustomPolicyDelegate):
(LayoutTestController::setMainFrameIsFirstResponder):
(LayoutTestController::setTabKeyCyclesThroughElements):
(LayoutTestController::setUseDashboardCompatibilityMode):
(LayoutTestController::setUserStyleSheetEnabled):
(LayoutTestController::setUserStyleSheetLocation):
(LayoutTestController::setWindowIsKey):
(waitUntilDoneWatchdogFired):
(LayoutTestController::setWaitToDump):
(LayoutTestController::windowCount):
* DumpRenderTree/win/WaitUntilDoneDelegate.cpp:
(FrameLoadDelegate::didReceiveTitle):
(FrameLoadDelegate::processWork):
(FrameLoadDelegate::locationChangeDone):
(FrameLoadDelegate::windowScriptObjectAvailable):
* DumpRenderTree/win/WorkQueue.cpp: Removed.
* DumpRenderTree/win/WorkQueue.h: Removed.
* DumpRenderTree/win/WorkQueueItem.cpp: Removed.
* DumpRenderTree/win/WorkQueueItem.h: Removed.
* DumpRenderTree/win/WorkQueueItemWin.cpp: Copied from DumpRenderTree/win/WorkQueueItem.cpp.
(jsStringRefToWString):
(LoadItem::invoke):
(ScriptItem::invoke):
2007-09-17 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben.
- Move Windows DumpRenderTree and TestNetscapePlugin to WebCoreTools/DumpRenderTree/win
* DumpRenderTree/DumpRenderTree.sln: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln.
* DumpRenderTree/DumpRenderTree.vcproj: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.def: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.rc: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/TestNetscapePlugin.vcproj: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/main.c: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin/resource.h: Removed.
* DumpRenderTree/win: Added.
* DumpRenderTree/win/DraggingInfo.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DraggingInfo.h.
* DumpRenderTree/win/DumpRenderTree.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp.
* DumpRenderTree/win/DumpRenderTree.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h.
* DumpRenderTree/win/DumpRenderTree.vcproj: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj.
* DumpRenderTree/win/EditingDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp.
* DumpRenderTree/win/EditingDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h.
* DumpRenderTree/win/EventSender.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp.
* DumpRenderTree/win/EventSender.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.h.
* DumpRenderTree/win/GCController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.cpp.
* DumpRenderTree/win/GCController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/GCController.h.
* DumpRenderTree/win/LayoutTestController.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp.
* DumpRenderTree/win/LayoutTestController.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.h.
* DumpRenderTree/win/TestNetscapePlugin: Copied from DumpRenderTree/DumpRenderTree.vcproj/TestNetscapePlugin.
* DumpRenderTree/win/TestNetscapePlugin/TestNetscapePlugin.vcproj:
* DumpRenderTree/win/UIDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp.
* DumpRenderTree/win/UIDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h.
* DumpRenderTree/win/WaitUntilDoneDelegate.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp.
* DumpRenderTree/win/WaitUntilDoneDelegate.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h.
* DumpRenderTree/win/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
* DumpRenderTree/win/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
* DumpRenderTree/win/WorkQueueItem.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.cpp.
* DumpRenderTree/win/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
* DumpRenderTree/win/debug.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug.vsprops.
* DumpRenderTree/win/debug_internal.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/debug_internal.vsprops.
* DumpRenderTree/win/release.vsprops: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/release.vsprops.
* Scripts/run-webkit-tests: Update to point to the new location of the sln.
2007-09-15 Mark Rowe <mrowe@apple.com>
Build fix for DumpRenderTree.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Reinstate -Wno-deprecated-declarations on DumpRenderTree.mm.
2007-09-14 Sam Weinig <sam@webkit.org>
Rubber stamped by Adam Roben.
Split the WaitUntilDoneDelegate into a UIDelegate and a FrameLoadDelegate.
- The UIDelegate was put into a new file while the FrameLoadDelegate was
kept in the WaitUntilDoneDelegate file for the time being.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(main):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.cpp: Added.
(UIDelegate::QueryInterface):
(UIDelegate::AddRef):
(UIDelegate::Release):
(UIDelegate::hasCustomMenuImplementation):
(UIDelegate::setFrame):
(UIDelegate::webViewFrame):
(UIDelegate::runJavaScriptAlertPanelWithMessage):
(UIDelegate::webViewAddMessageToConsole):
(UIDelegate::doDragDrop):
(UIDelegate::webViewGetDlgCode):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/UIDelegate.h: Added.
(UIDelegate::UIDelegate):
(UIDelegate::createWebViewWithRequest):
(UIDelegate::webViewShow):
(UIDelegate::webViewClose):
(UIDelegate::webViewFocus):
(UIDelegate::webViewUnfocus):
(UIDelegate::webViewFirstResponder):
(UIDelegate::makeFirstResponder):
(UIDelegate::setStatusText):
(UIDelegate::webViewStatusText):
(UIDelegate::webViewAreToolbarsVisible):
(UIDelegate::setToolbarsVisible):
(UIDelegate::webViewIsStatusBarVisible):
(UIDelegate::setStatusBarVisible):
(UIDelegate::webViewIsResizable):
(UIDelegate::setResizable):
(UIDelegate::setContentRect):
(UIDelegate::webViewContentRect):
(UIDelegate::runJavaScriptConfirmPanelWithMessage):
(UIDelegate::runJavaScriptTextInputPanelWithPrompt):
(UIDelegate::runBeforeUnloadConfirmPanelWithMessage):
(UIDelegate::runOpenPanelForFileButtonWithResultListener):
(UIDelegate::mouseDidMoveOverElement):
(UIDelegate::contextMenuItemsForElement):
(UIDelegate::validateUserInterfaceItem):
(UIDelegate::shouldPerformAction):
(UIDelegate::dragDestinationActionMaskForDraggingInfo):
(UIDelegate::willPerformDragDestinationAction):
(UIDelegate::dragSourceActionMaskForPoint):
(UIDelegate::willPerformDragSourceAction):
(UIDelegate::contextMenuItemSelected):
(UIDelegate::trackCustomPopupMenu):
(UIDelegate::measureCustomMenuItem):
(UIDelegate::drawCustomMenuItem):
(UIDelegate::addCustomMenuDrawingData):
(UIDelegate::cleanUpCustomMenuDrawingData):
(UIDelegate::canTakeFocus):
(UIDelegate::takeFocus):
(UIDelegate::registerUndoWithTarget):
(UIDelegate::removeAllActionsWithTarget):
(UIDelegate::setActionTitle):
(UIDelegate::undo):
(UIDelegate::redo):
(UIDelegate::canUndo):
(UIDelegate::canRedo):
(UIDelegate::webViewResizerRect):
(UIDelegate::webViewDrawResizer):
(UIDelegate::webViewScrolled):
(UIDelegate::webViewShouldInterruptJavaScript):
(UIDelegate::webViewReceivedFocus):
(UIDelegate::webViewLostFocus):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
(FrameLoadDelegate::QueryInterface):
(FrameLoadDelegate::AddRef):
(FrameLoadDelegate::Release):
(FrameLoadDelegate::didStartProvisionalLoadForFrame):
(FrameLoadDelegate::didCommitLoadForFrame):
(FrameLoadDelegate::didReceiveTitle):
(FrameLoadDelegate::processWork):
(processWorkTimer):
(FrameLoadDelegate::locationChangeDone):
(FrameLoadDelegate::didFinishLoadForFrame):
(FrameLoadDelegate::didFailLoadWithError):
(FrameLoadDelegate::windowScriptObjectAvailable):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.h:
(FrameLoadDelegate::FrameLoadDelegate):
2007-09-14 Sam Weinig <sam@webkit.org>
Reviewed by Kevin McCullough.
Move mac specific globals in to mac/DumpRenderTreeMac.h
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.mm: Removed.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/mac/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.mm.
* DumpRenderTree/mac/DumpRenderTreeMac.h: Added.
2007-09-14 Brady Eidson <beidson@apple.com>
Rubberstamped by Weinig
You know, Sam, some of us use case-sensitve filesystems...
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/mac/UIDelegate.mm:
2007-09-14 Sam Weinig <sam@webkit.org>
Rubber stamped by Adam Roben.
- Move dump state data to LayoutTestContoller and add getter/setters to accommodate.
- Move mac specific DumpRenderTree files to DumpRenderTree/mac
* DumpRenderTree/AppleScriptController.h: Removed.
* DumpRenderTree/AppleScriptController.m: Removed.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.mm:
(startJavaScriptThreads):
(stopJavaScriptThreads):
(activateAhemFont):
(setDefaultColorProfileToRGB):
(makeLargeMallocFailSilently):
(dumpFrameScrollPosition):
(dumpFramesAsText):
(dump):
(runTest):
(-[DumpRenderTreeWindow isKeyWindow]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTreeDraggingInfo.h: Removed.
* DumpRenderTree/DumpRenderTreeDraggingInfo.m: Removed.
* DumpRenderTree/EditingDelegate.h: Removed.
* DumpRenderTree/EditingDelegate.m: Removed.
* DumpRenderTree/EventSendingController.h: Removed.
* DumpRenderTree/EventSendingController.m: Removed.
* DumpRenderTree/FrameLoadDelegate.h: Removed.
* DumpRenderTree/FrameLoadDelegate.mm: Removed.
* DumpRenderTree/GCController.mm: Removed.
* DumpRenderTree/ImageDiff.m: Removed.
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::LayoutTestController):
(dumpAsTextCallback):
(dumpBackForwardListCallback):
(dumpChildFramesAsTextCallback):
(dumpChildFrameScrollPositionsCallback):
(dumpDOMAsWebArchiveCallback):
(dumpEditingCallbacksCallback):
(dumpFrameLoadCallbacksCallback):
(dumpResourceLoadCallbacksCallback):
(dumpSelectionRectCallback):
(dumpSourceAsWebArchiveCallback):
(dumpTitleChangesCallback):
(repaintSweepHorizontallyCallback):
(setCallCloseOnWebViewsCallback):
(setCanOpenWindowsCallback):
(setCloseRemainingWindowsWhenCompleteCallback):
(testRepaintCallback):
(addFileToPasteboardOnDragCallback):
(waitUntilDoneCallback):
* DumpRenderTree/LayoutTestController.h:
(LayoutTestController::dumpAsText):
(LayoutTestController::setDumpAsText):
(LayoutTestController::dumpBackForwardList):
(LayoutTestController::setDumpBackForwardList):
(LayoutTestController::dumpChildFrameScrollPositions):
(LayoutTestController::setDumpChildFrameScrollPositions):
(LayoutTestController::dumpChildFramesAsText):
(LayoutTestController::setDumpChildFramesAsText):
(LayoutTestController::dumpDOMAsWebArchive):
(LayoutTestController::setDumpDOMAsWebArchive):
(LayoutTestController::dumpSelectionRect):
(LayoutTestController::setDumpSelectionRect):
(LayoutTestController::dumpSourceAsWebArchive):
(LayoutTestController::setDumpSourceAsWebArchive):
(LayoutTestController::dumpTitleChanges):
(LayoutTestController::setDumpTitleChanges):
(LayoutTestController::dumpEditingCallbacks):
(LayoutTestController::setDumpEditingCallbacks):
(LayoutTestController::dumpResourceLoadCallbacks):
(LayoutTestController::setDumpResourceLoadCallbacks):
(LayoutTestController::dumpFrameLoadCallbacks):
(LayoutTestController::setDumpFrameLoadCallbacks):
(LayoutTestController::addFileToPasteboardOnDrag):
(LayoutTestController::setAddFileToPasteboardOnDrag):
(LayoutTestController::callCloseOnWebViews):
(LayoutTestController::setCallCloseOnWebViews):
(LayoutTestController::canOpenWindows):
(LayoutTestController::setCanOpenWindows):
(LayoutTestController::closeRemainingWindowsWhenComplete):
(LayoutTestController::setCloseRemainingWindowsWhenComplete):
(LayoutTestController::testRepaint):
(LayoutTestController::setTestRepaint):
(LayoutTestController::testRepaintSweepHorizontally):
(LayoutTestController::setTestRepaintSweepHorizontally):
(LayoutTestController::waitToDump):
(LayoutTestController::windowIsKey):
* DumpRenderTree/LayoutTestControllerMac.mm: Removed.
* DumpRenderTree/NavigationController.h: Removed.
* DumpRenderTree/NavigationController.m: Removed.
* DumpRenderTree/ObjCController.h: Removed.
* DumpRenderTree/ObjCController.m: Removed.
* DumpRenderTree/ObjCPlugin.h: Removed.
* DumpRenderTree/ObjCPlugin.m: Removed.
* DumpRenderTree/ObjCPluginFunction.h: Removed.
* DumpRenderTree/ObjCPluginFunction.m: Removed.
* DumpRenderTree/PolicyDelegate.h: Removed.
* DumpRenderTree/PolicyDelegate.m: Removed.
* DumpRenderTree/ResourceLoadDelegate.h: Removed.
* DumpRenderTree/ResourceLoadDelegate.m: Removed.
* DumpRenderTree/TextInputController.h: Removed.
* DumpRenderTree/TextInputController.m: Removed.
* DumpRenderTree/UIDelegate.h: Removed.
* DumpRenderTree/UIDelegate.mm: Removed.
* DumpRenderTree/WorkQueueItemMac.mm: Removed.
* DumpRenderTree/mac: Added.
* DumpRenderTree/mac/AppleScriptController.h: Copied from DumpRenderTree/AppleScriptController.h.
* DumpRenderTree/mac/AppleScriptController.m: Copied from DumpRenderTree/AppleScriptController.m.
* DumpRenderTree/mac/DumpRenderTreeDraggingInfo.h: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.h.
* DumpRenderTree/mac/DumpRenderTreeDraggingInfo.mm: Copied from DumpRenderTree/DumpRenderTreeDraggingInfo.m.
* DumpRenderTree/mac/EditingDelegate.h: Copied from DumpRenderTree/EditingDelegate.h.
* DumpRenderTree/mac/EditingDelegate.mm: Copied from DumpRenderTree/EditingDelegate.m.
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldDeleteDOMRange:]):
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
(-[EditingDelegate webViewDidBeginEditing:]):
(-[EditingDelegate webViewDidChange:]):
(-[EditingDelegate webViewDidEndEditing:]):
(-[EditingDelegate webViewDidChangeTypingStyle:]):
(-[EditingDelegate webViewDidChangeSelection:]):
* DumpRenderTree/mac/EventSendingController.h: Copied from DumpRenderTree/EventSendingController.h.
* DumpRenderTree/mac/EventSendingController.mm: Copied from DumpRenderTree/EventSendingController.m.
* DumpRenderTree/mac/FrameLoadDelegate.h: Copied from DumpRenderTree/FrameLoadDelegate.h.
* DumpRenderTree/mac/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.mm.
(-[FrameLoadDelegate init]):
(-[FrameLoadDelegate dealloc]):
(-[FrameLoadDelegate processWork:]):
(-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
(-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
(-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
(-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
(-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
(-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
(-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
(-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
(-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
(-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
(-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
(-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
(-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
(-[FrameLoadDelegate webView:willCloseFrame:]):
(-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
(-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
* DumpRenderTree/mac/GCControllerMac.mm: Copied from DumpRenderTree/GCController.mm.
* DumpRenderTree/mac/ImageDiff.m: Copied from DumpRenderTree/ImageDiff.m.
* DumpRenderTree/mac/LayoutTestControllerMac.mm: Copied from DumpRenderTree/LayoutTestControllerMac.mm.
(LayoutTestController::notifyDone):
(LayoutTestController::setWindowIsKey):
(LayoutTestController::setWaitToDump):
* DumpRenderTree/mac/NavigationController.h: Copied from DumpRenderTree/NavigationController.h.
* DumpRenderTree/mac/NavigationController.m: Copied from DumpRenderTree/NavigationController.m.
* DumpRenderTree/mac/ObjCController.h: Copied from DumpRenderTree/ObjCController.h.
* DumpRenderTree/mac/ObjCController.m: Copied from DumpRenderTree/ObjCController.m.
* DumpRenderTree/mac/ObjCPlugin.h: Copied from DumpRenderTree/ObjCPlugin.h.
* DumpRenderTree/mac/ObjCPlugin.m: Copied from DumpRenderTree/ObjCPlugin.m.
* DumpRenderTree/mac/ObjCPluginFunction.h: Copied from DumpRenderTree/ObjCPluginFunction.h.
* DumpRenderTree/mac/ObjCPluginFunction.m: Copied from DumpRenderTree/ObjCPluginFunction.m.
* DumpRenderTree/mac/PolicyDelegate.h: Copied from DumpRenderTree/PolicyDelegate.h.
* DumpRenderTree/mac/PolicyDelegate.mm: Copied from DumpRenderTree/PolicyDelegate.m.
* DumpRenderTree/mac/ResourceLoadDelegate.h: Copied from DumpRenderTree/ResourceLoadDelegate.h.
* DumpRenderTree/mac/ResourceLoadDelegate.mm: Copied from DumpRenderTree/ResourceLoadDelegate.m.
(-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:didReceiveResponse:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:didFinishLoadingFromDataSource:]):
(-[ResourceLoadDelegate webView:resource:didFailLoadingWithError:fromDataSource:]):
(-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
* DumpRenderTree/mac/TextInputController.h: Copied from DumpRenderTree/TextInputController.h.
* DumpRenderTree/mac/TextInputController.m: Copied from DumpRenderTree/TextInputController.m.
* DumpRenderTree/mac/UIDelegate.h: Copied from DumpRenderTree/UIDelegate.h.
* DumpRenderTree/mac/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.mm.
(-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
(-[UIDelegate webViewFocus:]):
(-[UIDelegate webView:createWebViewWithRequest:]):
(-[UIDelegate webViewClose:]):
* DumpRenderTree/mac/WorkQueueItemMac.mm: Copied from DumpRenderTree/WorkQueueItemMac.mm.
2007-09-14 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Changing Win version of Drosera work with recent changes.
* Drosera/DebuggerDocument.cpp:
* Drosera/DebuggerDocument.h:
* Drosera/mac/DebuggerDocumentPlatform.mm:
(NSStringCreateWithJSStringRef):
(JSValueRefCreateWithNSString):
* Drosera/win/DebuggerClient.cpp:
(DebuggerClient::stepInto):
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
2007-09-13 Kevin McCullough <kmccullough@apple.com>
Reviewed by Tim.
- Moved isPaused into the JS for efficiency and simplicity.
* Drosera/DebuggerDocument.cpp:
(DebuggerDocument::DebuggerDocument):
(DebuggerDocument::pauseCallback):
(DebuggerDocument::resumeCallback):
(DebuggerDocument::isPaused):
(DebuggerDocument::staticFunctions):
* Drosera/DebuggerDocument.h:
* Drosera/console.js:
* Drosera/debugger.js:
* Drosera/mac/DebuggerClient.mm:
(-[DebuggerClient validateUserInterfaceItem:]):
2007-09-13 Sam Weinig <sam@webkit.org>
Rubber stamped by Darin Adler.
Make DumpRenderTree more cross platform ready.
- Convert GCController to use the JSCore API instead of the WebScriptObject.
- Use CF types instead of NS objects.
- General cleanup.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.mm:
(dumpRenderTree):
(dump):
(runTest):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/EditingDelegate.m:
* DumpRenderTree/FrameLoadDelegate.h:
* DumpRenderTree/FrameLoadDelegate.mm:
(-[FrameLoadDelegate init]):
(-[FrameLoadDelegate dealloc]):
(-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
* DumpRenderTree/GCController.cpp: Added.
(GCController::GCController):
(GCController::~GCController):
(collectCallback):
(collectOnAlternateThreadCallback):
(getJSObjectCountCallback):
(GCController::makeWindowObject):
(GCController::getJSClass):
(GCController::staticFunctions):
* DumpRenderTree/GCController.h:
* DumpRenderTree/GCController.mm:
(GCController::collect):
(GCController::collectOnAlternateThread):
(GCController::getJSObjectCount):
* DumpRenderTree/LayoutTestController.cpp:
(LayoutTestController::makeWindowObject):
(LayoutTestController::getJSClass):
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/LayoutTestControllerMac.mm:
(LayoutTestController::addDisallowedURL):
(waitUntilDoneWatchdogFired):
(LayoutTestController::waitUntilDone):
* DumpRenderTree/ResourceLoadDelegate.m:
(-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2007-09-12 Sam Weinig <sam@webkit.org>
Reviewed by Stephanie.
Fix leaks in mac DumpRenderTree.
* DumpRenderTree/FrameLoadDelegate.mm:
(-[FrameLoadDelegate init]): Initalize in the correct order.
(-[FrameLoadDelegate processWork:]): Delete WorkQueueItem's after dequeueing them.
* DumpRenderTree/LayoutTestController.cpp:
(decodeHostNameCallback): Put return value in a temporary JSRetainPtr to ensure it gets released.
(encodeHostNameCallback): ditto.
* DumpRenderTree/LayoutTestController.h:
* DumpRenderTree/LayoutTestControllerMac.mm:
(LayoutTestController::copyDecodedHostName): Rename function to signal that it follows the Create rule.
(LayoutTestController::copyEncodedHostName): ditto
(LayoutTestController::queueLoad): Use a JSRetainPtr to ensure the url gets released.
2007-09-12 Kevin McCullough <kmccullough@apple.com>
Reviewed by Geof.
- Updated Leopard leak list to include a leak which appears to be fixed in 9A549 but not the version the bot is on. This will allow us to get the bot green, but later we should remove it.
* Scripts/run-webkit-tests:
2007-09-12 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin Adler.
- Simplified code paths and extracted out functions to increase encapsulation.
* Drosera/DebuggerDocument.cpp:
(DebuggerDocument::breakpointEditorHTMLCallback):
(DebuggerDocument::isPausedCallback):
(DebuggerDocument::pauseCallback):
(DebuggerDocument::resumeCallback):
(DebuggerDocument::stepIntoCallback):
(DebuggerDocument::evaluateScriptCallback):
(DebuggerDocument::currentFunctionStackCallback):
(DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
(DebuggerDocument::valueForScopeVariableNamedCallback):
(DebuggerDocument::logCallback):
* Drosera/DebuggerDocument.h:
(DebuggerDocument::getPaused):
* Drosera/mac/DebuggerClient.mm:
(-[DebuggerClient pause:]):
(-[DebuggerClient resume:]):
(-[DebuggerClient stepInto:]):
(-[DebuggerClient stepOver:]):
(-[DebuggerClient stepOut:]):
(-[DebuggerClient showConsole:]):
(-[DebuggerClient closeCurrentFile:]):
(-[DebuggerClient validateUserInterfaceItem:]):
* Drosera/mac/DebuggerDocumentPlatform.mm: Added.
(+[NSString stringOrNilFromWebScriptResult:]):
(DebuggerDocument::platformPause):
(DebuggerDocument::platformResume):
(DebuggerDocument::platformStepInto):
(DebuggerDocument::platformEvaluateScript):
(DebuggerDocument::getPlatformCurrentFunctionStack):
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
(DebuggerDocument::platformLog):
* Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2007-09-12 Sam Weinig <sam@webkit.org>
Build fix for Buildbot.
* DumpRenderTree/DumpRenderTree.mm:
(dump):
2007-09-12 Kevin McCullough <kmccullough@apple.com>
Reviewed by Geoff.
- Updated the leaks list for leopard to help identify regressions.
* Scripts/run-webkit-tests:
2007-09-12 Sam Weinig <sam@webkit.org>
Rubber stamped by Darin Adler.
Convert the LayoutTestController to use the JSCore API instead of WebScriptObject.
* DumpRenderTree/DumpRenderTree.h: Re-order variables.
* DumpRenderTree/DumpRenderTree.m: Removed.
* DumpRenderTree/DumpRenderTree.mm: Copied from DumpRenderTree/DumpRenderTree.m.
(stopJavaScriptThreads): Fix initialization.
(setDefaultColorProfileToRGB): Add explicit cast from void*.
(dumpRenderTree): Ditto.
(runTest):
Used the WorkQueue from the windows DRT instead of the old NSMutableArray one.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/FrameLoadDelegate.h: Add LayoutTestController instance variable.
* DumpRenderTree/FrameLoadDelegate.m: Removed.
* DumpRenderTree/FrameLoadDelegate.mm: Copied from DumpRenderTree/FrameLoadDelegate.m.
(-[FrameLoadDelegate init]):
(-[FrameLoadDelegate dealloc]):
(-[FrameLoadDelegate processWork:]):
(-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
(-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
Convert to use the new JSCore based LayoutTestController and the new WorkQueue.
* DumpRenderTree/LayoutTestController.cpp: Added.
(LayoutTestController::LayoutTestController):
(LayoutTestController::~LayoutTestController):
(dumpAsTextCallback):
(dumpBackForwardListCallback):
(dumpChildFramesAsTextCallback):
(dumpChildFrameScrollPositionsCallback):
(dumpDOMAsWebArchiveCallback):
(dumpEditingCallbacksCallback):
(dumpFrameLoadCallbacksCallback):
(dumpResourceLoadCallbacksCallback):
(dumpSelectionRectCallback):
(dumpSourceAsWebArchiveCallback):
(dumpTitleChangesCallback):
(repaintSweepHorizontallyCallback):
(setCallCloseOnWebViewsCallback):
(setCanOpenWindowsCallback):
(setCloseRemainingWindowsWhenCompleteCallback):
(testRepaintCallback):
(addFileToPasteboardOnDragCallback):
(addDisallowedURLCallback):
(clearBackForwardListCallback):
(decodeHostNameCallback):
(displayCallback):
(encodeHostNameCallback):
(keepWebHistoryCallback):
(notifyDoneCallback):
(queueBackNavigationCallback):
(queueForwardNavigationCallback):
(queueLoadCallback):
(queueReloadCallback):
(queueScriptCallback):
(setAcceptsEditingCallback):
(setCustomPolicyDelegateCallback):
(setMainFrameIsFirstResponderCallback):
(setTabKeyCyclesThroughElementsCallback):
(setUseDashboardCompatibilityModeCallback):
(setUserStyleSheetEnabledCallback):
(setUserStyleSheetLocationCallback):
(setWindowIsKeyCallback):
(waitUntilDoneCallback):
(windowCountCallback):
(LayoutTestController::makeWindowObject):
(LayoutTestController::getLayoutTestControllerJSClass):
(LayoutTestController::staticFunctions):
* DumpRenderTree/LayoutTestController.h: Replaced.
* DumpRenderTree/LayoutTestController.m: Removed.
* DumpRenderTree/LayoutTestControllerMac.mm: Added.
(LayoutTestController::dumpAsText):
(LayoutTestController::dumpBackForwardList):
(LayoutTestController::dumpChildFramesAsText):
(LayoutTestController::dumpChildFrameScrollPositions):
(LayoutTestController::dumpDOMAsWebArchive):
(LayoutTestController::dumpEditingCallbacks):
(LayoutTestController::dumpFrameLoadCallbacks):
(LayoutTestController::dumpResourceLoadCallbacks):
(LayoutTestController::dumpSelectionRect):
(LayoutTestController::dumpSourceAsWebArchive):
(LayoutTestController::dumpTitleChanges):
(LayoutTestController::repaintSweepHorizontally):
(LayoutTestController::setCallCloseOnWebViews):
(LayoutTestController::setCanOpenWindows):
(LayoutTestController::setCloseRemainingWindowsWhenComplete):
(LayoutTestController::testRepaint):
(LayoutTestController::addFileToPasteboardOnDrag):
(LayoutTestController::addDisallowedURL):
(LayoutTestController::clearBackForwardList):
(LayoutTestController::decodeHostName):
(LayoutTestController::encodeHostName):
(LayoutTestController::display):
(LayoutTestController::keepWebHistory):
(LayoutTestController::notifyDone):
(LayoutTestController::queueBackNavigation):
(LayoutTestController::queueForwardNavigation):
(LayoutTestController::queueLoad):
(LayoutTestController::queueReload):
(LayoutTestController::queueScript):
(LayoutTestController::setAcceptsEditing):
(LayoutTestController::setCustomPolicyDelegate):
(LayoutTestController::setMainFrameIsFirstResponder):
(LayoutTestController::setTabKeyCyclesThroughElements):
(LayoutTestController::setUseDashboardCompatibilityMode):
(LayoutTestController::setUserStyleSheetEnabled):
(LayoutTestController::setUserStyleSheetLocation):
(LayoutTestController::setWindowIsKey):
(+[WaitToDumpWatchdog waitUntilDoneWatchdogFired]):
(LayoutTestController::waitUntilDone):
(LayoutTestController::windowCount):
Use the JSCore API to implement the LayoutTestController.
* DumpRenderTree/ObjCController.h:
* DumpRenderTree/ObjCController.m:
(+[ObjCController isSelectorExcludedFromWebScript:]):
(+[ObjCController webScriptNameForSelector:]):
(-[ObjCController accessStoredWebScriptObject]):
(-[ObjCController storeWebScriptObject:]):
(-[ObjCController dealloc]):
(-[ObjCController invokeUndefinedMethodFromWebScript:withArguments:]):
Move WebScriptObject tests to ObjCController.
* DumpRenderTree/UIDelegate.m: Removed.
* DumpRenderTree/UIDelegate.mm: Copied from DumpRenderTree/UIDelegate.m.
* DumpRenderTree/WorkQueue.cpp: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.cpp.
* DumpRenderTree/WorkQueue.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueue.h.
* DumpRenderTree/WorkQueueItem.h: Copied from DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WorkQueueItem.h.
(WorkQueueItem::~WorkQueueItem):
(LoadItem::LoadItem):
(LoadItem::url):
(LoadItem::target):
(ScriptItem::ScriptItem):
(ScriptItem::script):
* DumpRenderTree/WorkQueueItemMac.mm: Added.
(LoadItem::invoke):
(ReloadItem::invoke):
(ScriptItem::invoke):
(BackForwardItem::invoke):
Copy WorkQueue and WorkQueueItem from windows DRT. Changed the WorkQueueItem to use JSStringRefs instead of wstrings
to avoid conversion until the last possible moment. These changes will be merged with the windows DRT when we start
sharing code.
2007-09-11 Kevin McCullough <kmccullough@apple.com>
Reviewed by Maciej.
- Updated Win side to take advantage of the platform separating changes.
* Drosera/DebuggerDocument.cpp:
(DebuggerDocument::localScopeVariableNamesForCallFrame):
* Drosera/DebuggerDocument.h:
* Drosera/win/DebuggerClient.cpp:
(DebuggerClient::pause):
(DebuggerClient::resume):
(DebuggerClient::stepInto):
(DebuggerDocument::platformPause):
(DebuggerDocument::platformResume):
(DebuggerDocument::platformStepInto):
(DebuggerDocument::platformEvaluateScript):
(DebuggerDocument::getPlatformCurrentFunctionStack):
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
(DebuggerDocument::platformLog):
* Drosera/win/DebuggerClient.h:
* Drosera/win/Drosera.cpp:
(Drosera::Drosera):
(Drosera::windowScriptObjectAvailable):
(Drosera::initWithServerName):
(Drosera::switchToServerNamed):
* Drosera/win/Drosera.h:
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
2007-09-11 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Just doing the moves in a separate patch so the changes are easier to see.
* Drosera/win/DebuggerClient.cpp: Copied from Drosera/win/DebuggerDocumentWin.cpp.
* Drosera/win/DebuggerClient.h: Copied from Drosera/win/DebuggerDocumentWin.h.
* Drosera/win/DebuggerDocumentWin.cpp: Removed.
* Drosera/win/DebuggerDocumentWin.h: Removed.
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
2007-09-11 Sven Herzberg <sven@imendio.com>
Don't overwrite LD_LIBRARY_PATH, prepend to it. Fixes:
http://bugs.webkit.org/show_bug.cgi?id=15176
* Scripts/run-launcher: don't replace LD_LIBRARY_PATH with
$projectDir, but prepend $projectDir to LD_LIBRARY_PATH (to preserve
other paths eg. from jhbuild)
2007-09-10 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Made an order-of-deletion mistake.
* Drosera/DebuggerDocument.h:
* Drosera/ForwardingHeaders/wtf/Assertions.h: Removed.
* Drosera/ForwardingHeaders/wtf/Noncopyable.h: Removed.
* Drosera/ForwardingHeaders/wtf/OwnPtr.h: Removed.
* Drosera/mac/DebuggerClient.mm:
(DebuggerDocument::platformPause):
(DebuggerDocument::platformResume):
(DebuggerDocument::platformStepInto):
(DebuggerDocument::platformEvaluateScript):
(DebuggerDocument::getPlatformCurrentFunctionStack):
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
* Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2007-09-10 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin Adler.
- Renaming DebuggerDocument[platform] to DebuggerClient to be more clear.
* Drosera/DebuggerDocument.cpp:
(DebuggerDocument::DebuggerDocument):
* Drosera/DebuggerDocument.h:
* Drosera/ForwardingHeaders/wtf/Assertions.h: Added.
* Drosera/ForwardingHeaders/wtf/Noncopyable.h: Added.
* Drosera/ForwardingHeaders/wtf/OwnPtr.h: Added.
* Drosera/mac/DebuggerApplication.mm:
(-[DebuggerApplication attach:]):
* Drosera/mac/DebuggerClient.h: Copied from Drosera/mac/DebuggerDocumentMac.h.
* Drosera/mac/DebuggerClient.mm: Copied from Drosera/mac/DebuggerDocumentMac.mm.
(DebuggerDocument::platformPause):
(DebuggerDocument::platformResume):
(DebuggerDocument::platformStepInto):
(DebuggerDocument::platformEvaluateScript):
(DebuggerDocument::getPlatformCurrentFunctionStack):
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
(DebuggerDocument::platformLog):
* Drosera/mac/DebuggerDocumentMac.h: Removed.
* Drosera/mac/DebuggerDocumentMac.mm: Removed.
* Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2007-09-09 Sam Weinig <sam@webkit.org>
Reviewed by Mark Rowe.
Remove 'objC' prefix from methods now in the ObjCController.
* DumpRenderTree/ObjCController.m:
(+[ObjCController isSelectorExcludedFromWebScript:]):
(+[ObjCController webScriptNameForSelector:]):
(-[ObjCController classNameOf:]):
(-[ObjCController objectOfClass:]):
(-[ObjCController identityIsEqual::]):
(-[ObjCController longLongRoundTrip:]):
(-[ObjCController unsignedLongLongRoundTrip:]):
2007-09-09 Sam Weinig <sam@webkit.org>
Reviewed by Oliver.
Initial refactor of DumpRenderTree in preparation of making it more platform independent.
- Move LayoutTestController into its own file.
- Move Objective-C only functions on LayoutTestController into a new controller called the
ObjCController.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.m:
(displayWebView):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/FrameLoadDelegate.m:
(-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
* DumpRenderTree/LayoutTestController.h: Added.
* DumpRenderTree/LayoutTestController.m: Added.
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController clearBackForwardList]):
(-[LayoutTestController setUseDashboardCompatibilityMode:]):
(-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
(-[LayoutTestController setCustomPolicyDelegate:]):
(-[LayoutTestController keepWebHistory]):
(-[LayoutTestController setCallCloseOnWebViews:]):
(-[LayoutTestController setCanOpenWindows]):
(-[LayoutTestController waitUntilDone]):
(-[LayoutTestController waitUntilDoneWatchdogFired]):
(-[LayoutTestController notifyDone]):
(-[LayoutTestController dumpAsText]):
(-[LayoutTestController addFileToPasteboardOnDrag]):
(-[LayoutTestController addDisallowedURL:]):
(-[LayoutTestController setUserStyleSheetLocation:]):
(-[LayoutTestController setUserStyleSheetEnabled:]):
(-[LayoutTestController dumpDOMAsWebArchive]):
(-[LayoutTestController dumpSourceAsWebArchive]):
(-[LayoutTestController dumpSelectionRect]):
(-[LayoutTestController dumpTitleChanges]):
(-[LayoutTestController dumpBackForwardList]):
(-[LayoutTestController windowCount]):
(-[LayoutTestController dumpChildFrameScrollPositions]):
(-[LayoutTestController dumpChildFramesAsText]):
(-[LayoutTestController dumpEditingCallbacks]):
(-[LayoutTestController dumpResourceLoadCallbacks]):
(-[LayoutTestController dumpFrameLoadCallbacks]):
(-[LayoutTestController setWindowIsKey:]):
(-[LayoutTestController setMainFrameIsFirstResponder:]):
(-[LayoutTestController display]):
(-[LayoutTestController testRepaint]):
(-[LayoutTestController repaintSweepHorizontally]):
(-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
(-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
(-[LayoutTestController _doLoad:target:]):
(-[LayoutTestController _doBackOrForwardNavigation:]):
(-[LayoutTestController queueBackNavigation:]):
(-[LayoutTestController queueForwardNavigation:]):
(-[LayoutTestController queueReload]):
(-[LayoutTestController queueScript:]):
(-[LayoutTestController queueLoad:target:]):
(-[LayoutTestController setAcceptsEditing:]):
(-[LayoutTestController setTabKeyCyclesThroughElements:]):
(-[LayoutTestController storeWebScriptObject:]):
(-[LayoutTestController accessStoredWebScriptObject]):
(-[LayoutTestController dealloc]):
(-[LayoutTestController decodeHostName:]):
(-[LayoutTestController encodeHostName:]):
* DumpRenderTree/ObjCController.h: Added.
* DumpRenderTree/ObjCController.m: Added.
(+[ObjCController isSelectorExcludedFromWebScript:]):
(+[ObjCController webScriptNameForSelector:]):
(-[ObjCController objCClassNameOf:]):
(-[ObjCController objCObjectOfClass:]):
(-[ObjCController objCIdentityIsEqual::]):
(-[ObjCController objCLongLongRoundTrip:]):
(-[ObjCController objCUnsignedLongLongRoundTrip:]):
(-[ObjCController testWrapperRoundTripping:]):
2007-09-07 Sam Weinig <sam@webkit.org>
Reviewed by Alice.
Strip trailing and leading space/newline characters from skiplist file names.
* Scripts/run-webkit-tests:
2007-09-06 Kevin McCullough <kmccullough@apple.com>
Reviewed by Maciej.
- Changed Drosera to take advantage of the JSRetainPtr changes.
* Drosera/DebuggerDocument.cpp:
(DebuggerDocument::breakpointEditorHTML):
(DebuggerDocument::evaluateScript):
(DebuggerDocument::valueForScopeVariableNamed):
(DebuggerDocument::log):
(DebuggerDocument::windowScriptObjectAvailable):
(DebuggerDocument::toJSArray):
(DebuggerDocument::callFunctionOnObject):
(DebuggerDocument::logException):
* Drosera/mac/DebuggerDocumentMac.mm:
(-[DebuggerClientMac webView:didLoadMainResourceForDataSource:]):
(-[DebuggerClientMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
(DebuggerDocument::platformEvaluateScript):
(DebuggerDocument::getPlatformCurrentFunctionStack):
(DebuggerDocument::getPlatformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
2007-09-05 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam, Sam, Darin.
- Separated what is platform dependant from what is not. Creating the structure needed for Drosera for Win.
* Drosera/Debugger.h: Added.
* Drosera/DebuggerDocument.cpp:
(DebuggerDocument::breakpointEditorHTMLCallback):
(DebuggerDocument::isPausedCallback):
(DebuggerDocument::pauseCallback):
(DebuggerDocument::resumeCallback):
(DebuggerDocument::stepIntoCallback):
(DebuggerDocument::evaluateScriptCallback):
(DebuggerDocument::currentFunctionStackCallback):
(DebuggerDocument::localScopeVariableNamesForCallFrameCallback):
(DebuggerDocument::valueForScopeVariableNamedCallback):
(DebuggerDocument::logCallback):
(DebuggerDocument::breakpointEditorHTML):
(DebuggerDocument::isPaused):
(DebuggerDocument::pause):
(DebuggerDocument::resume):
(DebuggerDocument::stepInto):
(DebuggerDocument::evaluateScript):
(DebuggerDocument::currentFunctionStack):
(DebuggerDocument::localScopeVariableNamesForCallFrame):
(DebuggerDocument::valueForScopeVariableNamed):
(DebuggerDocument::log):
(DebuggerDocument::toolbarPause):
(DebuggerDocument::toolbarResume):
(DebuggerDocument::toolbarStepInto):
(DebuggerDocument::toolbarStepOver):
(DebuggerDocument::toolbarStepOut):
(DebuggerDocument::toolbarShowConsole):
(DebuggerDocument::toolbarCloseCurrentFile):
(DebuggerDocument::updateFileSource):
(DebuggerDocument::didParseScript):
(DebuggerDocument::willExecuteStatement):
(DebuggerDocument::didEnterCallFrame):
(DebuggerDocument::willLeaveCallFrame):
(DebuggerDocument::exceptionWasRaised):
(DebuggerDocument::windowScriptObjectAvailable):
(DebuggerDocument::toJSArray):
(DebuggerDocument::callGlobalFunction):
(DebuggerDocument::callFunctionOnObject):
(DebuggerDocument::getDroseraJSClass):
(DebuggerDocument::staticFunctions):
(DebuggerDocument::logException):
* Drosera/DebuggerDocument.h:
(DebuggerDocument::DebuggerDocument):
* Drosera/ForwardingHeaders: Added.
* Drosera/ForwardingHeaders/wtf: Added.
* Drosera/ForwardingHeaders/wtf/Platform.h: Added.
* Drosera/config.h:
* Drosera/console.html:
* Drosera/console.js:
* Drosera/debugger.js:
* Drosera/mac/DebuggerApplication.mm:
(-[DebuggerApplication attach:]):
* Drosera/mac/DebuggerDocumentMac.h:
* Drosera/mac/DebuggerDocumentMac.mm:
(+[NSString stringOrNilFromWebScriptResult:]):
(+[DebuggerClientMac log:]):
(-[DebuggerClientMac initWithServerName:]):
(-[DebuggerClientMac dealloc]):
(-[DebuggerClientMac pause]):
(-[DebuggerClientMac resume]):
(-[DebuggerClientMac pause:]):
(-[DebuggerClientMac resume:]):
(-[DebuggerClientMac stepInto:]):
(-[DebuggerClientMac stepOver:]):
(-[DebuggerClientMac stepOut:]):
(-[DebuggerClientMac showConsole:]):
(-[DebuggerClientMac closeCurrentFile:]):
(-[DebuggerClientMac validateUserInterfaceItem:]):
(-[DebuggerClientMac webView:windowScriptObjectAvailable:]):
(-[DebuggerClientMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
(-[DebuggerClientMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
(-[DebuggerClientMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
(-[DebuggerClientMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
(DebuggerDocument::platformPause):
(DebuggerDocument::platformResume):
(DebuggerDocument::platformStepInto):
(DebuggerDocument::platformEvaluateScript):
(DebuggerDocument::platformCurrentFunctionStack):
(DebuggerDocument::platformLocalScopeVariableNamesForCallFrame):
(DebuggerDocument::platformValueForScopeVariableNamed):
(DebuggerDocument::platformLog):
* Drosera/mac/Drosera.xcodeproj/project.pbxproj:
2007-09-06 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben.
Register the WebKit DLL on initialization of the DumpRenderTree.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(initialize):
2007-09-05 Sam Weinig <sam@webkit.org>
Reviewed by Oliver.
Fix many layout test failures caused by r25364.
Set text size to standand size at the begining of each test matching the mac.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(runTest):
2007-09-04 Sam Weinig <sam@webkit.org>
Reviewed by Adam.
Fix for <rdar://problem/5382277>
Implement eventSender.textZoomIn and eventSender.textZoomOut for windows DRT.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EventSender.cpp:
(textZoomInCallback):
(textZoomOutCallback):
2007-08-29 David Kilzer <ddkilzer@apple.com>
Reviewed by Adam.
Added case-insensitivity to checks for adding regression tests.
* Scripts/prepare-ChangeLog:
(generateFileList):
2007-08-28 David Kilzer <ddkilzer@apple.com>
Reviewed by Maciej.
Ignore files in /resources/ subdirectories when creating a list of added tests.
* Scripts/prepare-ChangeLog:
(generateFileList):
2007-08-27 Kevin McCullough <kmccullough@apple.com>
Reviewed by John.
- Removed Leopard leaks list since all of those radars were fixed.
* Scripts/run-webkit-tests:
2007-08-27 Adam Roben <aroben@apple.com>
Rubberstamped by Mark.
* Scripts/pdevenv: Pass arguments along to devenv.com.
2007-08-26 David Kilzer <ddkilzer@webkit.org>
Reviewed by Mark Rowe.
Update prepare-ChangeLog to generate the datestamp in the correct timezone.
* Scripts/prepare-ChangeLog:
(changeLogDate): Added.
2007-08-24 Sam Weinig <sam@webkit.org>
Revert r25216 which renamed the COM DOM bindings to use Deprecated prefix.
2007-08-24 Sam Weinig <sam@webkit.org>
Rubber-stamped by Adam Roben.
<rdar://problem/5434593> Deprecate current manually written COM DOM bindings in anticipation of autogeneration
Rename COM DOM bindings to use Deprecated prefix.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(dumpFramesAsText):
(dump):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.cpp:
(dumpPath):
(dump):
(EditingDelegate::shouldBeginEditingInDOMRange):
(EditingDelegate::shouldEndEditingInDOMRange):
(EditingDelegate::shouldInsertNode):
(EditingDelegate::shouldInsertText):
(EditingDelegate::shouldDeleteDOMRange):
(EditingDelegate::shouldChangeSelectedDOMRange):
(EditingDelegate::shouldApplyStyle):
(EditingDelegate::shouldChangeTypingStyle):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/EditingDelegate.h:
2007-08-24 Oliver Hunt <oliver@apple.com>
Reviewed by John H.
WebDataSource::response can legitimately have a null response, so we
must check that case.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
(queueLoadCallback):
2007-08-23 Mitz Pettel <mitz@webkit.org>
Reviewed by Darin and Adam.
- DumpRenderTree changes to allow testing for
http://bugs.webkit.org/show_bug.cgi?id=11756
REGRESSION: link targeting a frame in another window does not work
<rdar://problem/5286420>
Use a frame group name for all WebViews created by DumpRenderTree to
allow testing of cross-page frame lookup.
* DumpRenderTree/DumpRenderTree.m:
(createWebView): Pass group name to -[WebView initWithFrame:frameName:groupName:].
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(main): Pass group name to WebView::initWithFrame(RECT, BSTR, BSTR).
2007-08-23 David Kilzer <ddkilzer@webkit.org>
Reviewed by Adam.
Quote the $sslCertificate path in case it contains a space.
* Scripts/run-webkit-httpd:
* Scripts/run-webkit-tests:
2007-08-22 Oliver Hunt <oliver@apple.com>
Reviewed by John and Adam.
WebDataSource::response can legitimately have a null response, so we
must check that case.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(dump):
2007-08-21 Kevin McCullough <kmccullough@apple.com>
Reviewed by Geof.
- Changing the usage to be more clear.
* Scripts/run-testkjs:
2007-08-20 John Sullivan <sullivan@apple.com>
Reviewed by Adam Roben
* DumpRenderTree/DumpRenderTree.m:
(runTest):
call new +[WebView _setUsesTestModeFocusRingColor:YES] so we get the same focus ring colors
in layout tests on Tiger and Leopard
2007-08-20 Adam Roben <aroben@apple.com>
Put LayoutTests after all other ChangeLogs in commit logs
We use "~" to sort LayoutTests after all the other ChangeLogs because
"~" is the last ASCII character (other than "DEL").
Reviewed by Sam.
* Scripts/commit-log-editor:
2007-08-20 Adam Roben <aroben@apple.com>
Detect that DRT crashed even if a crash dialog is running
On Windows, when DRT crashes a crash dialog commonly appears. The DRT
process is still running at this point, so run-webkit-tests wouldn't
detect that DRT had crashed. We now record the crash in our SIGPIPE
handler so that we know if DRT crashed even if the crash dialog is up.
Reviewed by Sam.
* Scripts/run-webkit-tests:
(sub catch_pipe): Set the crashed bit.
(sub openDumpTool): Reset the crashed bit.
(sub dumpToolDidCrash): Check the crashed bit.
2007-08-20 Adam Roben <aroben@apple.com>
Fix Bug 15026: prepare-ChangeLog should list new tests in WebCore/ChangeLog
http://bugs.webkit.org/show_bug.cgi?id=15026
Reviewed by David Kilzer and Darin Adler.
* Scripts/prepare-ChangeLog:
(sub isModifiedStatus): Split out from isModifiedOrAddedStatus.
(sub isAddedStatus): Ditto.
(sub testListForChangeLog): Added.
2007-08-19 Oleg Sukhodolsky <son.two@gmail.com>
Reviewed by Mark.
-fixes http://bugs.webkit.org/show_bug.cgi?id=14632
* Scripts/webkitdirs.pm:
qt and gtk ports now explicitly pass debug (or release) mode to qmake.
2007-08-17 Darin Adler <darin@apple.com>
Reviewed by Oliver Hunt.
- don't look for Apple-style localizable strings in the GTK version of WebKit
* Scripts/extract-localizable-strings: Add a feature where you can pass in the
name of subdirectories to skip.
* Scripts/update-webkit-localizable-strings: Pass WebKit/gtk as a subdirectory
to skip.
2007-08-17 Anders Carlsson <andersca@apple.com>
Build fix.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_SetWindow):
2007-08-17 Anders Carlsson <andersca@apple.com>
Reviewed by Dave Hyatt.
<rdar://problem/5379040>
REGRESSION (Tiger-Leopard): ADOBE: Safari calls NPP_SetWindow with bad values sometimes
Add a way for the plug-in to dump the width and height when it gets its NPP_SetWindow call.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginAllocate):
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_New):
(NPP_SetWindow):
2007-08-16 Alice Liu <alice.liu@apple.com>
Reviewed by Maciej.
Fix <rdar://problem/5360135> REGRESSION (Leopard only): editing/selection/5354455-1.html is causing subsequent tests to fail
* DumpRenderTree/DumpRenderTree.m:
(createWebView):
Create a DumpRenderTreeWindow instead of a NSWindow, now that a DumpRenderTreeWindow no longer poses as a NSWindow.
(dumpRenderTree):
Don't pose as a NSWindow, since when the spelling panel gets created, it creates an NSWindow which ends up creating a DumpRenderTreeWindow.
2007-08-16 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Added tests for regressions in other components. In this case we also need to add a skipped list for Tiger since this functionality didn't exist in 10.4.
* Scripts/run-webkit-tests:
2007-08-15 Timothy Hatcher <timothy@apple.com>
Look for the new Xcode 3 preference key (PBXApplicationwideBuildSettings) for the global build locations.
The value of PBXApplicationwideBuildSettings is a dictionary, so we have to pull the SYMROOT out of it.
Also pass xcodebuild OBJROOT with the same value as SYMROOT if we fallback to the default WebKitBuild,
this prevents making "build" directories in each project folder.
* Scripts/webkitdirs.pm:
2007-08-14 Geoffrey Garen <ggaren@apple.com>
Reviewed by Kevin Mccullough.
Removed special case that didn't belong. (It would allow a global
initializer to sneak into production builds, which would cause a
system-wide performance regression on Mac OS X.)
* Scripts/check-for-global-initializers:
2007-08-14 Justin Garcia <justin.garcia@apple.com>
Reviewed by Tim.
<rdar://problem/5408255> REGRESSION: In Mail, clicking the containing element's UI closebox doesn't delete element
* DumpRenderTree/EditingDelegate.m:
(-[EditingDelegate webView:shouldShowDeleteInterfaceForElement:]): Added, return YES
only for elements with the class needsDeletionUI.
2007-08-14 David Kilzer <ddkilzer@webkit.org>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=14965
svn-create-patch uses deprecated tail switch
* Scripts/svn-create-patch: Use 'tail -n +3' instead of 'tail +3'.
2007-08-13 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben.
Use the cygwin specific Apache config file under cygwin.
* Scripts/run-webkit-httpd:
2007-08-12 Adam Roben <aroben@apple.com>
Generate results for new tests in a more logical location
New platform-specific tests always have their results generated right
next to the test. New cross-platform tests will have their results
generated a) in the cross-platform directory, if they are text-only,
or b) in the least-specific platform directory, if they are render
tree dumps.
Reviewed by Lars.
* Scripts/run-webkit-tests:
2007-08-12 Adam Roben <aroben@apple.com>
Print the actual directory where new results are generated.
Before, we were printing an unpredictable, context-specific substring
of the directory.
Reviewed by Lars.
* Scripts/run-webkit-tests:
2007-08-12 Adam Roben <aroben@apple.com>
Factor some common code into a stripExtension() subroutine.
Reviewed by Lars.
* Scripts/run-webkit-tests: Also removed some debugging output.
2007-08-11 Matt Lilek <pewtermoose@gmail.com>
Reviewed over and over and over by Adam Roben.
Bug 14740: Hierarchical layout tests and platform organization
http://bugs.webkit.org/show_bug.cgi?id=14740
Add support for platform-specific layout tests and results.
* Scripts/run-webkit-tests:
2007-08-11 David Kilzer <ddkilzer@webkit.org>
Reviewed by Adam.
Refactored svn-create-path to use a hash-of-hashes data structure to keep
track of changed files. In the top level hash, keys are paths to files and
values are 'fileData' hashes with the following keys and values:
- isBinary: boolean value (set to true for non-text files like images, etc.)
- isTestFile: boolean value (set to true if file exists within a known test
directory)
- modificationType: string equal to one of 'addition', 'additionWithHistory',
'modification' or 'deletion'
- path: string equal to the path to the file (this may seem redundant, but it
is required to use the second-level 'fileData' hash independent of the
top-level hash)
- sourceFile: [optional] string equal to the path of the original file that was
copied or moved
- sourceRevision: [optional] string equal to the revision of the original file
that was copied or moved
* Scripts/svn-create-patch: Moved call to GetOptions() to its own statement
that saves the return value in $result, then checks it before printing help.
Combined sourceFiles, %testFiles, and %binaryFiles into single %diffFiles hash
and eliminated two for() loops.
(binarycmp): Added. Used with sort() to order non-binary files before binary
files.
(findBaseUrl): Added. Extracted from findSourceFileAndRevision().
(findMimeType): Added optional second argument that takes a revision number.
(generateDiff): Updated to take one fileData argument instead of three ($file,
$modificationType, $isBinary).
(generateFileList): Updated to take one hash ref argument (%diffFiles)
instead of three (%sourceFiles, %testFiles, %binaryFiles). Populates
%diffFiles using paths for keys and fileData hashes for values.
(manufacturePatchForAdditionWithHistory): Updated to take one fileData
argument.
(pathcmp): Updated to take two fileData arguments instead of two strings.
(testfilecmp): Added. Used with sort() to order non-test files before test
files.
2007-08-11 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Give a different message when only the pixel test failed.
2007-08-06 Nigel Tao <nigeltao@gnome.org>
Reviewed by David Kilzer.
Fix bug 14745: WebKitTools/Scripts/run-launcher doesn't speak --gdk
http://bugs.webkit.org/show_bug.cgi?id=14745
* Scripts/run-launcher:
Scrub the "--gdk" out of the command line args, if given, so that
GdkLauncher doesn't try to interpret it as a URL.
2007-08-03 Adam Roben <aroben@apple.com>
Catch SIGPIPE on Windows so that run-webkit-tests doesn't quit when DRT crashes
Reviewed by Sam.
* Scripts/run-webkit-tests: Also close ERROR when we finish running the tests.
2007-08-03 Sam Weinig <sam@webkit.org>
Reviewed by Darin Adler.
Recursively dump all frames as text using new
layoutTestController.dumpChildFramesAsText() function.
* DumpRenderTree/DumpRenderTree.m:
(dumpFramesAsText):
(dump):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpChildFramesAsText]):
(runTest):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(dumpFramesAsText):
(dump):
(runTest):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/LayoutTestController.cpp:
(dumpChildFramesAsTextCallback):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-08-02 Adam Roben <aroben@apple.com>
Fix fast/dom/Window/alert-undefined.html
Reviewed by Sam.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/WaitUntilDoneDelegate.cpp:
(WaitUntilDoneDelegate::runJavaScriptAlertPanelWithMessage): Don't let
Windows translate a null BSTR into "(null)"
2007-08-02 Kevin McCullough <kmccullough@apple.com>
Reviewed by Tim.
- It would help if I actually called the right function.
* Drosera/DebuggerDocument.cpp:
(DebuggerDocument::showConsole):
2007-08-02 Adam Roben <aroben@apple.com>
Don't delete the stderr file right after creating it
* Scripts/run-webkit-tests:
2007-08-01 Adam Roben <aroben@apple.com>
When DRT crashes, record stderr and restart DRT
This prevents a DRT crash from causing the next few hundred tests to
"fail" because DRT is no longer running.
I also changed the terminology that run-webkit-tests uses in its
output a bit, so that crashing tests are referred to as "crashes"
instead of "failures".
Reviewed by Mark.
* Scripts/run-webkit-tests: Detect a crash and record it as a tool
failure.
(sub openDumpTool): Use open3 so that we can access stderr.
(sub dumpToolCrashed): Added.
(sub printFailureMessageForTest): Added.
(sub htmlForExpectedAndActualResults): Added.
(sub deleteExpectedAndActualResults): Added.
(sub recordActualResultsAndDiff): Added.
2007-07-30 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* DumpRenderTree/DumpRenderTree.m: (dump): Fix dumping for documents that include null
characters. This turned out not to be needed for the test case that motivated me to
do it, but it's nice to have this for the future.
2007-07-30 Simon Hausmann <hausmann@kde.org>
Reviewed by Lars.
Link QtLauncher into $$OUTPUT_DIR/bin
* Scripts/run-launcher:
2007-07-27 David Kilzer <ddkilzer@apple.com>
Reviewed by Geoff and Darin.
Use a subroutine for validating the --skipped switch.
* Scripts/run-webkit-tests:
2007-07-27 Darin Adler <darin@apple.com>
Reviewed by Sam.
* Scripts/run-webkit-tests: Remove exception for leaks bug that has been fixed on Leopard.
2007-07-27 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark.
Correct the path of GdkLauncher and make checkFrameworks work on OSX
when building the Qt or Gtk+ port.
* GdkLauncher/GdkLauncher.pro: Don't create an app bundle on OSX
* Scripts/run-launcher:
* Scripts/webkitdirs.pm: Don't add WebKit if we build the Qt or Gtk+ port.
2007-07-27 Simon Hausmann <hausmann@kde.org>
Done with and reviewed by Lars and Zack.
Fix build-webkit for the Qt build on Windows with msvc/nmake by trying to detect the Qt mkspec and using "nmake" instead of "make" as build command.
* Scripts/webkitdirs.pm:
2007-07-27 Simon Hausmann <hausmann@kde.org>
Done with and reviewed by Lars and Zack.
For detecting the SVG support for the Qt build don't do the nm hack. Just always claim SVG support is enabled because that's what it is. The nm hack doesn't work on Windows anyway.
* Scripts/webkitdirs.pm:
2007-07-26 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin, Geoff, Sam.
- <rdar://problem/5150461> Resizing the window larger than the screen causes no resize.
- Added delegate methods to intercept and fake the frame location so methods like resizeTo and moveTo can change the window location without actually making the window appear on-screen.
* DumpRenderTree/UIDelegate.h:
* DumpRenderTree/UIDelegate.m:
(-[UIDelegate webView:setFrame:]):
(-[UIDelegate webViewFrame:]):
2007-07-26 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Lars wanted this check for Qt but it breaks platform specific layout tests.
* Scripts/run-webkit-tests:
2007-07-25 Kevin McCullough <kmccullough@apple.com>
Reviewed by Tim, Darin, Oliver.
- <rdar://problem/5329440> REGRESSION: Clicking links with the feed:// protocol in Safari 3 does nothing
- Change DRT to be able to intercept the requst to load so it can check if a scheme was allowed or not.
* ChangeLog:
* DumpRenderTree/DumpRenderTree.m:
(createWebView):
(dumpRenderTree):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setCustomPolicyDelegate:]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/FrameLoadDelegate.h:
* DumpRenderTree/PolicyDelegate.h: Added.
* DumpRenderTree/PolicyDelegate.m: Added.
(-[PolicyDelegate webView:decidePolicyForNavigationAction:request:frame:decisionListener:]):
* DumpRenderTree/ResourceLoadDelegate.h:
2007-07-25 Adam Treat <treat@kde.org>
Reviewed by Niko.
Fix build for some reported systems.
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
2007-07-23 Adam Treat <treat@kde.org>
Reviewed by Nikolas.
Fix qt DRT to suppress js popup alerts and log instead.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::WebPage::javaScriptAlert):
2007-07-22 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Adam.
Make the GdkLauncher use the new WebKit/Gtk API. Change webkitdirs.pm to
honor --qmakearg for the Gdk/Gtk build as well.
* GdkLauncher/main.cpp: Switch to the new API
* Scripts/webkitdirs.pm: Allow to specify --qmakearg, e.g. to control the WEBKIT_{INC,LIB}_DIR
2007-07-22 Darin Adler <darin@apple.com>
* DumpRenderTree/TextInputController.m: (-[TextInputController interpretKeyEvents:withSender:]):
Fix a leak by releasing the array used here.
2007-07-22 David Kilzer <ddkilzer@webkit.org>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=14713
Script to update iExploder cssproperties.in file based on CSSPropertyNames.in
Added script to update WebKitTools/iExploder/htdocs/cssproperties.in based on the contents
of WebCore/css/CSSPropertyNames.in. Also updated cssproperties.in.
* Scripts/update-iexploder-cssproperties: Added.
* iExploder/htdocs/cssproperties.in: Updated by running update-iexploder-cssproperties script.
Added new CSS3 property section and Moved box-sizing property to it.
2007-07-22 Oliver Hunt <oliver@apple.com>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=14710
Add preliminary support for testing Input Method/WebKit behaviour and interaction
in DRT. This provides the NSTextInput API which is most of what should be necessary
to mimic the event sequences Input Methods trigger.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/TextInputController.h:
* DumpRenderTree/TextInputController.m:
(-[WebHTMLView interpretKeyEvents:]):
(+[TextInputController isSelectorExcludedFromWebScript:]):
(+[TextInputController webScriptNameForSelector:]):
(-[TextInputController initWithWebView:]):
(-[TextInputController dealloc]):
(-[TextInputController textInput]):
(-[TextInputController setInputMethodHandler:]):
(-[TextInputController interpretKeyEvents:withSender:]):
2007-07-20 Adam Roben <aroben@apple.com>
* Scripts/commit-log-editor: Small fix to make an all-whitespace log
message not count as an existing log.
2007-07-19 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
Updated DumpRenderTree for <rdar://problem/5348384> Restore old return
value behavior of stringByEvaluatingJavaScriptFromString
* DumpRenderTree/DumpRenderTree.m:
(testStringByEvaluatingJavaScriptFromString):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-07-19 Adam Roben <aroben@apple.com>
Make commit-log-editor work with git
Reviewed by Sam.
* Scripts/commit-log-editor: Use VCSUtils and accept a git-style
commit message template. Also removed the unused $breakPoint variable.
2007-07-19 Adam Roben <aroben@apple.com>
Move generally-useful VCS code into a new VCSUtils.pm module
This is in preparation for making commit-log-editor git-friendly.
Reviewed by Sam.
* Scripts/VCSUtils.pm: Added. Code moved here from prepare-ChangeLog.
* Scripts/prepare-ChangeLog: Use VCSUtils.
2007-07-19 Lars Knoll <lars@trolltech.com>
Fix a crash on exit when running DRT against a current
Qt 4.4 snapshot.
Reviewed by Zack
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(main):
2007-07-18 Adam Roben <aroben@apple.com>
Don't try to use an SSL certificate on Windows until <rdar://problem/5345985> is fixed
Reviewed by Mark.
* Scripts/run-webkit-httpd:
* Scripts/run-webkit-tests:
2007-07-18 Adam Roben <aroben@apple.com>
More git friendliness for prepare-ChangeLog
The overall change is to remove the use of git-status and replace it
with git-diff --name-status (which we were already using in the
--git-commit case).
This lets us respect directories specified on the command line when
using git, just as we do for Subversion. It also speeds things up a
bit, especially in the subdirectory case, as git-status is pretty slow.
I also fixed some issues where we wouldn't detect copied files and
would reverse the new filename and the original filename for renamed files.
Reviewed by Mark.
* Scripts/prepare-ChangeLog:
(sub diffFromToString): Added.
(sub diffCommand): Don't append the paths in the --git-commit case, as
we should be operating on the entire commit.
(sub statusCommand): Always use git-diff --name-status, and added an
extra -C option to git-diff to make it find a few more copied files.
(sub createPatchCommand): Collapsed the two git cases a bit, and added
the extra -C option as above.
(sub generateFileList): Remove the git-status codepath, and recognize
file copies in the --name-status output.
(sub isModifiedOrAddedStatus): Collapsed the status codes into one
dictionary.
(sub isConflictStatus): Updated the git dictionary.
(sub statusDescription): Updated the git dictionary.
2007-07-18 Timothy Hatcher <timothy@apple.com>
* Scripts/build-drosera: Update where we look for the Xcode project.
2007-07-18 Adam Treat <treat@kde.org>
Reviewed by bdash.
Use the old wording for Safari.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2007-07-18 Adam Treat <treat@kde.org>
Reviewed by bdash.
Add convenience script for launching test apps for Qt and Gdk ports.
Change the build-webkit script accordingly.
* Scripts/build-webkit:
* Scripts/run-launcher: Added.
* Scripts/webkitdirs.pm:
2007-07-18 Timothy Hatcher <timothy@apple.com>
Reviewed by Adam.
Make the Page with the now required InspectorClient.
* GdkLauncher/main.cpp:
(main):
2007-07-18 Timothy Hatcher <timothy@apple.com>
Remove the redundant copies of Makefile.shared and the new Makefile.Drosera.
Now included the main Makefile.shared and change the SCRIPTS_PATH variable as needed.
* Drosera/Makefile: Added.
* Drosera/mac/Makefile:
* DumpRenderTree/Makefile:
* Makefile:
* Makefile.Drosera: Removed.
* Makefile.shared: Removed.
2007-07-18 Timothy Hatcher <timothy@apple.com>
The console log was 20px down from the top for no reason, move it up.
* Drosera/console.css:
2007-07-18 Timothy Hatcher <timothy@apple.com>
Use contentDocument to get the source view's iframe document.
Also adds a null/undefined check for localVariableNames.
* Drosera/debugger.js:
2007-07-18 Lars Knoll <lars@trolltech.com>
We really don't want to compare non text only tests to the
Mac results if we don't have a result for Qt, as this would
give a failure and not a notification that the test is new.
Reviewed by Zack
* Scripts/run-webkit-tests:
2007-07-18 Lars Knoll <lars@trolltech.com>
Reviewed by Zack & Simon
Adjust to changed API in QWebFrame
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2007-07-18 Mark Rowe <mrowe@apple.com>
Update path to the Drosera Xcode project now that it has moved into a subdirectory.
* BuildSlaveSupport/build-launcher-app:
2007-07-17 Geoffrey Garen <ggaren@apple.com>
Reviewed by Antti Koivisto.
Added watchdog timer to waitUntilDone to prevent a run-away test from
hanging the test harness.
* DumpRenderTree/DumpRenderTree.m:
(dump):
(-[LayoutTestController waitUntilDone]):
(-[LayoutTestController waitUntilDoneWatchdogFired]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-07-17 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam.
- Implemented cross-platform code for functions calling into the JavaScript.
* Drosera/DebuggerDocument.cpp:
(DebuggerDocument::callAsFunction):
(DebuggerDocument::pauseJS):
(DebuggerDocument::resumeJS):
(DebuggerDocument::stepIntoJS):
(DebuggerDocument::stepOverJS):
(DebuggerDocument::stepOutJS):
(DebuggerDocument::showConsoleJS):
(DebuggerDocument::closeCurrentFileJS):
(DebuggerDocument::updateFileSource):
(DebuggerDocument::didParseScript):
(DebuggerDocument::willExecuteStatement):
(DebuggerDocument::didEnterCallFrame):
(DebuggerDocument::willLeaveCallFrame):
(DebuggerDocument::exceptionWasRaised):
* Drosera/DebuggerDocument.h:
* Drosera/mac/DebuggerDocumentMac.mm:
(-[DebuggerDocumentMac pause:]):
(-[DebuggerDocumentMac resume:]):
(-[DebuggerDocumentMac stepInto:]):
(-[DebuggerDocumentMac stepOver:]):
(-[DebuggerDocumentMac stepOut:]):
(-[DebuggerDocumentMac showConsole:]):
(-[DebuggerDocumentMac closeCurrentFile:]):
(-[DebuggerDocumentMac webView:didLoadMainResourceForDataSource:]):
(-[DebuggerDocumentMac webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
(-[DebuggerDocumentMac webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
(-[DebuggerDocumentMac webView:willExecuteStatement:sourceId:line:forWebFrame:]):
(-[DebuggerDocumentMac webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
(-[DebuggerDocumentMac webView:exceptionWasRaised:sourceId:line:forWebFrame:]):
2007-07-16 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin Adler.
- Continued x-platform modifications.
* Drosera/win/DebuggerDocumentWin.cpp: Copied from Drosera/win/DebuggerObjectCallbacks.cpp.
* Drosera/win/DebuggerDocumentWin.h: Copied from Drosera/win/DebuggerObjectCallbacks.h.
* Drosera/win/DebuggerObjectCallbacks.cpp: Removed.
* Drosera/win/DebuggerObjectCallbacks.h: Removed.
* Drosera/win/Drosera.cpp:
* Drosera/win/Drosera.vcproj/Drosera.vcproj:
* Drosera/win/stdafx.cpp: Removed.
* Drosera/win/stdafx.h: Removed.
2007-07-16 Kevin McCullough <kmccullough@apple.com>
Reviewed by Sam.
- Modified files to use cross-platform code.
* Drosera/DebuggerDocument.cpp: Added.
(DebuggerDocument::breakpointEditorHTML):
(DebuggerDocument::isPaused):
(DebuggerDocument::pause):
(DebuggerDocument::resume):
(DebuggerDocument::stepInto):
(DebuggerDocument::evaluateScript):
(DebuggerDocument::currentFunctionStack):
(DebuggerDocument::localScopeVariableNamesForCallFrame):
(DebuggerDocument::valueForScopeVariableNamed):
* Drosera/DebuggerDocument.h: Added.
(DebuggerDocument::DebuggerDocument):
* Drosera/config.h: Added.
* Drosera/mac/DebuggerApplication.mm:
(-[DebuggerApplication attach:]):
* Drosera/mac/DebuggerDocument.h: Removed.
* Drosera/mac/DebuggerDocument.mm: Removed.
* Drosera/mac/DebuggerDocumentMac.h: Copied from Drosera/mac/DebuggerDocument.h.
* Drosera/mac/DebuggerDocumentMac.mm: Copied from Drosera/mac/DebuggerDocument.mm.
(-[DebuggerDocumentMac initWithServerName:]):
(-[DebuggerDocumentMac dealloc]):
(-[DebuggerDocumentMac breakpointEditorHTML]):
(-[DebuggerDocumentMac isPaused]):
(-[DebuggerDocumentMac pause]):
(-[DebuggerDocumentMac resume]):
* Drosera/mac/Drosera.xcodeproj/project.pbxproj:
* Drosera/win/DebuggerApplication.cpp:
* Drosera/win/DebuggerObjectCallbacks.cpp:
(breakpointEditorHTMLCallback):
(currentFunctionStackCallback):
(evaluateScript_inCallFrame_Callback):
(isPausedCallback):
(localScopeVariableNamesForCallFrame_Callback):
(pauseCallback):
(resumeCallback):
(stepIntoCallback):
(valueForScopeVariableNamed_inCallFrame_Callback):
(staticFunctions):
* Drosera/win/Drosera.cpp:
* Drosera/win/DroseraPrefix.cpp: Added.
* Drosera/win/DroseraPrefix.h: Added.
2007-07-16 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam, Sam and Tim.
- Moving files to prepare for cross-platform architecture.
* Drosera/DebuggerApplication.h: Removed.
* Drosera/DebuggerApplication.m: Removed.
* Drosera/DebuggerDocument.h: Removed.
* Drosera/DebuggerDocument.m: Removed.
* Drosera/Drosera.pch: Removed.
* Drosera/Drosera.xcodeproj: Removed.
* Drosera/Drosera.xcodeproj/project.pbxproj: Removed.
* Drosera/Info.plist: Removed.
* Drosera/LauncherInfo.plist: Removed.
* Drosera/Makefile: Removed.
* Drosera/launcher.m: Removed.
* Drosera/mac: Added.
* Drosera/mac/DebuggerApplication.h: Copied from Drosera/DebuggerApplication.h.
* Drosera/mac/DebuggerApplication.mm: Copied from Drosera/DebuggerApplication.m.
* Drosera/mac/DebuggerDocument.h: Copied from Drosera/DebuggerDocument.h.
* Drosera/mac/DebuggerDocument.mm: Copied from Drosera/DebuggerDocument.m.
* Drosera/mac/Drosera.pch: Copied from Drosera/Drosera.pch.
* Drosera/mac/Drosera.xcodeproj: Copied from Drosera/Drosera.xcodeproj.
* Drosera/mac/Drosera.xcodeproj/project.pbxproj:
* Drosera/mac/Info.plist: Copied from Drosera/Info.plist.
* Drosera/mac/LauncherInfo.plist: Copied from Drosera/LauncherInfo.plist.
* Drosera/mac/Makefile: Copied from Drosera/Makefile.
* Drosera/mac/launcher.m: Copied from Drosera/launcher.m.
* Drosera/mac/main.m: Copied from Drosera/main.m.
* Drosera/main.m: Removed.
* Makefile:
* Makefile.Drosera: Added.
2007-07-15 Mark Rowe <mrowe@apple.com>
* Scripts/generate-coverage-data: Don't fail if WebKitBuild directory does not exist.
2007-07-13 Sam Weinig <sam@webkit.org>
Reviewed by Geoff Garen.
Add support for running SSL tests over HTTPS.
* DumpRenderTree/DumpRenderTree.m:
(runTest):
* DumpRenderTree/FrameLoadDelegate.m:
(-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
* Scripts/run-webkit-httpd:
* Scripts/run-webkit-tests:
2007-07-13 David Kilzer <ddkilzer@apple.com>
Reviewed by Darin Adler.
Added support for -h|--help argument and verify that all command line arguments parse
correctly.
* Scripts/run-webkit-httpd:
2007-07-12 Mark Rowe <mrowe@apple.com>
Reviewed by Ada.
Remove leak suppression for xmlDocPtrForString now that <rdar://problem/5329877> is fixed.
* Scripts/run-webkit-tests:
2007-07-12 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Made the leaks tests pass on Leopard.
* Scripts/run-webkit-tests: Added some leaks to exclude on Leopard.
* Scripts/run-leaks: Updated parser for slight change in text output.
2007-07-11 David Kilzer <ddkilzer@apple.com>
Reviewed by Maciej.
Update the iExploder list of CSS properties after box-sizing was renamed to
-webkit-box-sizing in r21026 to fix <rdar://problem/4667227>.
* iExploder/htdocs/cssproperties.in: Added -webkit-box-sizing. Both box-sizing and
-moz-box-sizing remain.
2007-07-10 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Add an ignore item for a leak in Tiger's
Foundation's multipart/mixed-replace support -- I already verified that
the bug has been fixed.
2007-07-10 Alice Liu <alice.liu@apple.com>
rubber stamped by Maciej.
fixed <rdar://5137972> editing/selection/editable-links.html fails on Windows
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(initializePreferences):
set editable link behavior to match Mac DRT.
2007-07-10 Geoffrey Garen <ggaren@apple.com>
Reviewed by Tim Hatcher.
Ignore Page.o in debug builds because it now has a static PageCounter
object.
* Scripts/check-for-global-initializers:
2007-07-09 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Moved leaks from Tiger that are marked as fixed in Leopard to a Tiger-only section.
2007-07-09 Alice Liu <alice.liu@apple.com>
Reviewed by Adam Roben.
setting DOM Paste Allowed Pref
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(initializePreferences):
2007-07-05 Kevin McCullough <kmccullough@apple.com>
Reviewed by Adam, Sam, and Ada.
- Inital checkin of Drosera for Win. This isn't pretty and doesn't connect to Safari but debug builds and runs.
* Drosera/Images/Drosera.ico: Added.
* Drosera/Images/small.ico: Added.
* Drosera/win: Added.
* Drosera/win/BaseDelegate.h: Added.
(BaseDelegate::QueryInterface):
(BaseDelegate::didFinishLoadForFrame):
(BaseDelegate::windowScriptObjectAvailable):
(BaseDelegate::didStartProvisionalLoadForFrame):
(BaseDelegate::didReceiveServerRedirectForProvisionalLoadForFrame):
(BaseDelegate::didFailProvisionalLoadWithError):
(BaseDelegate::didCommitLoadForFrame):
(BaseDelegate::didReceiveTitle):
(BaseDelegate::didReceiveIcon):
(BaseDelegate::didFailLoadWithError):
(BaseDelegate::didChangeLocationWithinPageForFrame):
(BaseDelegate::willPerformClientRedirectToURL):
(BaseDelegate::didCancelClientRedirectForFrame):
(BaseDelegate::willCloseFrame):
(BaseDelegate::createWebViewWithRequest):
(BaseDelegate::webViewShow):
(BaseDelegate::webViewClose):
(BaseDelegate::webViewFocus):
(BaseDelegate::webViewUnfocus):
(BaseDelegate::webViewFirstResponder):
(BaseDelegate::makeFirstResponder):
(BaseDelegate::setStatusText):
(BaseDelegate::webViewStatusText):
(BaseDelegate::webViewAreToolbarsVisible):
(BaseDelegate::setToolbarsVisible):
(BaseDelegate::webViewIsStatusBarVisible):
(BaseDelegate::setStatusBarVisible):
(BaseDelegate::webViewIsResizable):
(BaseDelegate::setResizable):
(BaseDelegate::setFrame):
(BaseDelegate::webViewFrame):
(BaseDelegate::setContentRect):
(BaseDelegate::webViewContentRect):
(BaseDelegate::runJavaScriptAlertPanelWithMessage):
(BaseDelegate::runJavaScriptConfirmPanelWithMessage):
(BaseDelegate::runJavaScriptTextInputPanelWithPrompt):
(BaseDelegate::runBeforeUnloadConfirmPanelWithMessage):
(BaseDelegate::runOpenPanelForFileButtonWithResultListener):
(BaseDelegate::mouseDidMoveOverElement):
(BaseDelegate::contextMenuItemsForElement):
(BaseDelegate::validateUserInterfaceItem):
(BaseDelegate::shouldPerformAction):
(BaseDelegate::dragDestinationActionMaskForDraggingInfo):
(BaseDelegate::willPerformDragDestinationAction):
(BaseDelegate::dragSourceActionMaskForPoint):
(BaseDelegate::willPerformDragSourceAction):
(BaseDelegate::contextMenuItemSelected):
(BaseDelegate::hasCustomMenuImplementation):
(BaseDelegate::trackCustomPopupMenu):
(BaseDelegate::measureCustomMenuItem):
(BaseDelegate::drawCustomMenuItem):
(BaseDelegate::addCustomMenuDrawingData):
(BaseDelegate::cleanUpCustomMenuDrawingData):
(BaseDelegate::canTakeFocus):
(BaseDelegate::takeFocus):
(BaseDelegate::registerUndoWithTarget):
(BaseDelegate::removeAllActionsWithTarget):
(BaseDelegate::setActionTitle):
(BaseDelegate::undo):
(BaseDelegate::redo):
(BaseDelegate::canUndo):
(BaseDelegate::canRedo):
* Drosera/win/DebuggerApplication.cpp: Added.
(DebuggerApplication::serverLoaded):
(DebuggerApplication::serverUnloaded):
(DebuggerApplication::attach):
(DebuggerApplication::numberOfRowsInTableView):
(DebuggerApplication::tableView):
* Drosera/win/DebuggerApplication.h: Added.
(DebuggerApplication::DebuggerApplication):
(DebuggerApplication::knownServers):
* Drosera/win/DebuggerObjectCallbacks.cpp: Added.
(breakpointEditorHTMLCallback):
(currentFunctionStackCallback):
(doubleClickMillisecondsCallback):
(evaluateScript_inCallFrame_Callback):
(isPausedCallback):
(localScopeVariableNamesForCallFrame_Callback):
(pauseCallback):
(resumeCallback):
(stepIntoCallback):
(valueForScopeVariableNamed_inCallFrame_Callback):
(staticFunctions):
* Drosera/win/DebuggerObjectCallbacks.h: Added.
* Drosera/win/Drosera.cpp: Added.
(_tWinMain):
(RegisterDroseraClass):
(DroseraWndProc):
(About):
(Attach):
(Drosera::Drosera):
(Drosera::initUI):
(Drosera::QueryInterface):
(Drosera::AddRef):
(Drosera::Release):
(Drosera::didFinishLoadForFrame):
(getDroseraJSClass):
(Drosera::windowScriptObjectAvailable):
(Drosera::webViewClose):
(Drosera::validateUserInterfaceItem):
(Drosera::runJavaScriptAlertPanelWithMessage):
(Drosera::onSize):
* Drosera/win/Drosera.h: Added.
(Drosera::webViewLoaded):
* Drosera/win/Drosera.vcproj: Added.
* Drosera/win/Drosera.vcproj/Drosera.rc: Added.
* Drosera/win/Drosera.vcproj/Drosera.vcproj: Added.
* Drosera/win/Drosera.vcproj/debug.vsprops: Added.
* Drosera/win/Drosera.vcproj/release.vsprops: Added.
* Drosera/win/HelperFunctions.h: Added.
(CFStringToBSTR):
* Drosera/win/Info.plist: Added.
* Drosera/win/resource.h: Added.
* Drosera/win/stdafx.cpp: Added.
* Drosera/win/stdafx.h: Added.
2007-07-09 Adam Treat <adam@staikos.net>
Reviewed by George Staikos.
Convert QWebFrame from a QFrame to a pure QObject to eliminate all
traces of widgets.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2007-07-09 Anders Carlsson <andersca@apple.com>
Reviewed by Oliver.
<rdar://problem/4954319>
Acrobat 7 / Safari crash: CrashTracer: 99 crashes in Safari at
com.apple.WebCore: WebCore::NetscapePlugInStreamLoader::isDone const + 0
If the src url is "data:application/x-webkit-test-netscape,returnerrorfromnewstream",
return an error from NPP_NewStream.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginAllocate):
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_New):
(NPP_NewStream):
2007-07-08 Mark Rowe <mrowe@apple.com>
Change name from WebKit/Qt to WebKit.
* CodeCoverage/regenerate-coverage-display:
2007-07-08 Rob Buis <buis@kde.org>
Reviewed by Mitz.
http://bugs.webkit.org/show_bug.cgi?id=14209
DRT should be able to deal with text zoom
Allow increasing/decreasing text zoom using eventSender.
* DumpRenderTree/DumpRenderTree.m:
(runTest):
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController initialize]):
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(-[EventSendingController textZoomIn]):
(-[EventSendingController textZoomOut]):
2007-07-07 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver.
* DumpRenderTree/DumpRenderTree.m:
(convertWebResourceResponseToDictionary): Fix leak of two NSMutableString's introduced in r24076.
2007-07-06 Anders Carlsson <andersca@apple.com>
Reviewed by David Kilzer.
<rdar://problem/5313502>
Many webarchive tests fail due to different NSURLResponse serialization on Leopard
Don't dump the serialized form of NSURLResponse. Instead, create a dictionary with the
response's attributes. Also change the JavaScript MIME type to be "text/javascript".
* DumpRenderTree/DumpRenderTree.m:
(convertMIMEType):
(convertWebResourceDataToString):
(convertWebResourceResponseToDictionary):
(serializeWebArchiveToXML):
2007-07-06 Timothy Hatcher <timothy@apple.com>
Reviewed by Oliver.
Initialize the NSMutableAttributedString directly instead of creating
a NSAttributedString first.
* DumpRenderTree/TextInputController.m:
(-[TextInputController attributedStringWithString:]):
2007-07-06 Anders Carlsson <andersca@apple.com>
Reviewed by David Kilzer.
Replace "Apple Computer" with "Apple" in the DTD declaration.
* DumpRenderTree/DumpRenderTree.m:
(serializeWebArchiveToXML):
2007-07-06 Adam Treat <adam@staikos.net>
Reviewed by George Staikos.
Adjust for conversion of QWebFrame to a QFrame from a scroll area.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2007-07-06 George Staikos <staikos@kde.org>
Reviewed by Anders.
Allow passing of additional arguments to qmake with --qmakearg=
* Scripts/webkitdirs.pm:
2007-07-05 George Staikos <staikos@kde.org>
Reviewed by Maciej.
Add --qt and --qmake= to force Qt even when QTDIR isn't present and to
give a path to a specific qmake binary. Both are optional.
* Scripts/webkitdirs.pm:
2007-07-05 Adam Roben <aroben@apple.com>
Warn about tests in the Skipped file that succeeded
* Scripts/run-webkit-tests:
2007-07-05 Adam Roben <aroben@apple.com>
Removed unused install-win-extras script
Rubberstamped by Mark.
* Scripts/install-win-extras: Removed.
2007-07-05 Adam Roben <aroben@apple.com>
Show the test's extension in the results page
* Scripts/run-webkit-tests:
2007-07-05 Adam Roben <aroben@apple.com>
Add more options for controlling the interpretation of the Skipped file
Reviewed by Mark.
* Scripts/run-webkit-tests:
2007-07-04 Adam Roben <aroben@apple.com>
Add --skipped-only option to run-webkit-tests
When this option is specified, only those tests listed in the Skipped
file are run.
Reviewed by Mark.
* Scripts/run-webkit-tests:
2007-07-04 Adam Roben <aroben@apple.com>
Clean up/alphabetize the run-webkit-tests help message
* Scripts/run-webkit-tests:
2007-07-04 Adam Roben <aroben@apple.com>
Enable a Leopard-specific Skipped list.
Reviewed by Mark.
* Scripts/run-webkit-tests: Check for Leopard.
* Scripts/webkitdirs.pm: Added isTiger/isLeopard.
2007-07-03 Adam Roben <aroben@apple.com>
Fixed update-webkit-localizable-strings to work with new extract-localizable-strings
Got rid of extract-webkit-localizable-strings because it was trying to
do update-webkit-localizable-strings' job.
Rubberstamped by Darin Adler.
* Scripts/extract-webkit-localizable-strings: Removed.
* Scripts/update-webkit-localizable-strings: Renamed from
extract-localizable-strings.
2007-07-03 Adam Roben <aroben@apple.com>
Modify scripts to keep Mac/Windows localized strings in sync
extract-webkit-localizable-strings now handles extracting strings from
both the Mac and Windows WebKit ports and updating their respective
Localizable.strings files. extract-localizable-strings is now really a
piece of plumbing rather than a top-level tool.
Reviewed by Darin and Anders.
* Scripts/extract-localizable-strings: Changed to handle multiple
directories.
* Scripts/extract-webkit-localizable-strings: Added.
2007-07-03 Adele Peterson <adele@apple.com>
Reviewed by Darin Adler.
Extended DumpRenderTree to test encoding and decoding host names.
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Added cases for encodeHostName and decodeHostName.
(+[LayoutTestController webScriptNameForSelector:]): ditto.
(-[LayoutTestController decodeHostName:]): Added.
(-[LayoutTestController encodeHostName:]): Added.
2007-07-03 Sam Weinig <sam@webkit.org>
Reviewed by Darin Adler.
Eleventh round of fixes for implicit 64-32 bit conversion errors.
<rdar://problem/5292262>
Add functions to test long long and unsigned long long.
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController objCLongLongRoundTrip:]):
(-[LayoutTestController objCUnsignedLongLongRoundTrip:]):
2007-07-01 Adam Roben <aroben@apple.com>
Fix some paths to make http tests work again on Windows
Rubberstamped by Sam.
* Scripts/run-webkit-tests:
2007-06-28 Stephanie <slewis@apple.com>
Reviewed by Adam,
Allow tests to use pre-built roots instead of building the tests.
* Scripts/run-javascriptcore-tests: added --root option
* Scripts/run-webkit-tests: added --root option
* Scripts/webkitdirs.pm: added support for using a root
2007-06-25 Adam Roben <aroben@apple.com>
Fix Bug 14405: LayoutTestResults/qt should be in LayoutTests/qt
http://bugs.webkit.org/show_bug.cgi?id=14405
Reviewed by Anders.
* Scripts/run-webkit-tests:
2007-06-25 Adam Roben <aroben@apple.com>
Enable running the regression tests on Windows.
These changes were developed alongside the Windows WebKit port and
have been well tested.
Rubberstamped by Sam.
* Scripts/run-webkit-tests:
2007-06-25 Adam Roben <aroben@apple.com>
Fix Bug 14403: prepare-ChangeLog --git-commit doesn't support --diff
http://bugs.webkit.org/show_bug.cgi?id=14403
Reviewed by Mark Rowe.
* Scripts/prepare-ChangeLog: Don't spew to stdout, use stderr instead.
(sub createPatchCommand): Generate a correct diff in the $gitCommit
case.
2007-06-25 Adam Roben <aroben@apple.com>
Land pdevenv and supporting scripts/programs
pdevenv is a script that will open an instance of Visual Studio that
can compile multiple files in parallel, similar to make -jN. It uses
the following scripts/programs to accomplish this:
CLWrapper: Compiles to vcbin/cl.exe. Calls Scripts/parallelcl.
parallelcl: Actually performs the parallel compilation by forking
multiple instances of the Microsoft-supplied cl.exe.
MIDLWrapper: Compiles to vcbin/midl.exe. Calls through to the
Microsoft-supplied midl.exe. This avoids having to invoke perl for
every invocation of midl.exe, which would be quite slow.
Rubberstamped by Sam.
* CLWrapper/CLWrapper.cpp: Added.
(wmain):
* CLWrapper/CLWrapper.sln: Added.
* CLWrapper/CLWrapper.vcproj: Added.
* MIDLWrapper/MIDLWrapper.cpp: Added.
(wmain):
* MIDLWrapper/MIDLWrapper.sln: Added.
* MIDLWrapper/MIDLWrapper.vcproj: Added.
* Scripts/parallelcl: Added.
* Scripts/pdevenv: Added.
* vcbin/cl.exe: Added.
* vcbin/midl.exe: Added.
2007-06-23 Adam Roben <aroben@apple.com>
Land num-cpus for the Windows build.
Reviewed by Mark Rowe.
* Scripts/num-cpus: Added.
2007-06-22 Simon Hausmann <hausmann@kde.org>
Reviewed by Adam Roben.
Added support for populating ChangeLog entries from given git commits
using --git-commit=<commitish> and --git-reviewer=<name>.
* Scripts/prepare-ChangeLog:
2007-06-22 Timothy Hatcher <timothy@apple.com>
Reviewed by Anders.
<rdar://problem/5228168> Leopard regression test failures: fast/applescript
There were some changes in Leopard that made our test output inconsistent with Tiger.
NSAppleEventDescriptor no longer returns a stringValue for typeType descriptors
on Leopard, so output our own readable string for typeType descriptors.
NSArray's description also changed on Leopard to output more whitespace, so
make our own string representation for typeAEList descriptors. This requires
a special case typeUnicodeText too, so the output is a quoted string.
* DumpRenderTree/AppleScriptController.m:
(convertAEDescToObject):
2007-06-21 Anders Carlsson <andersca@apple.com>
Reviewed by Geoff.
Don't dump didFirstLayout callbacks, they happen intermittently.
* DumpRenderTree/FrameLoadDelegate.m:
2007-06-21 Lars Knoll <lars@trolltech.com>
Reviewed by Simon.
look for the Qt library in the installed location
* Scripts/webkitdirs.pm:
2007-06-20 Geoffrey Garen <ggaren@apple.com>
Reviewed by Adele Peterson, Oliver Hunt, Anders Carlsson.
Added tests for stringByEvaluatingJavaScriptFromString.
* DumpRenderTree/DumpRenderTree.m:
(testStringByEvaluatingJavaScriptFromString):
(dumpRenderTree):
2007-06-19 Andrew Wellington <proton@wiretapped.net>
Reviewed by Mark Rowe.
Support applications with spaces or special characters in their names
* Scripts/run-webkit-app:
2007-06-18 Anders Carlsson <andersca@apple.com>
Reviewed by John Sullivan.
Assert that the frame has a dataSource.
* DumpRenderTree/FrameLoadDelegate.m:
(-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
2007-06-18 Adam Treat <adam@staikos.net>
Reviewed by George.
Reflect the library name change.
* Scripts/webkitdirs.pm:
2007-06-18 Jake Helfert <jake@jakeonthenet.com>
Reviewed by Adam.
- fix http://bugs.webkit.org/show_bug.cgi?id=14154
Spinneret doesn't build against the new Win32 port.
* Spinneret/Spinneret/Spinneret.cpp:
(_tWinMain):
-Changed IWebViewExt to IWebViewPrivate
-Changed Co[Un]initialize to Ole[Un]initialize because WebKit now calls
the WIN32 function RegisterDragDrop which requires the Ole* calls.
* Spinneret/Spinneret/Spinneret.h:
(SpinneretWebHost::didReceiveIcon): Updated method signature.
(SpinneretWebHost::willPerformClientRedirectToURL): Updated method signature.
(SpinneretWebHost::windowScriptObjectAvailable): Updated method signature.
2007-06-14 Sam Weinig <sam@webkit.org>
Reviewed by Brady.
Update set of files to download for cygwin to include
diffutils and regenerate the zip file. This should fix
an issue on vista where svn-create-patch doesn't work.
* CygwinDownloader/cygwin-downloader.py:
* CygwinDownloader/cygwin-downloader.zip:
2007-06-14 Mark Rowe <mrowe@apple.com>
Update script to match new nightly.webkit.org infrastructure.
* BuildSlaveSupport/build-launcher-dmg: Upload to the live web server, not the caching proxy. Let the server know it's a Mac build.
2007-06-12 Adam Roben <aroben@apple.com>
Land CygwinDownloader.
Rubberstamped by Hyatt.
* CygwinDownloader/cygwin-downloader.py: Added.
* CygwinDownloader/cygwin-downloader.zip: Added.
* CygwinDownloader/make-zip.sh: Added.
* CygwinDownloader/setup.py: Added.
2007-06-06 Vladimir Olexa <vladimir.olexa@gmail.com>
Reviewed by Mark Rowe.
Fixes Bug 13996: http://bugs.webkit.org/show_bug.cgi?id=13996
[Drosera] Items in the file list don't get un-highlighted when
files are selected from the file drop-down
* Drosera/debugger.js: currentFile was getting modified before file in the file
browser got un-highlighted. Changed the order in which the functions execute.
2007-06-06 Mark Rowe <mrowe@apple.com>
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=13988
Bug 13988: Colon in file path crashes WebKit Nightly
The WebKit launcher makes use of two `dyld' variables to coerce Safari into running with
the bundled WebKit framework. Both of these variables are interpreted as containing a
colon-delimited list of paths. There is no escaping mechanism defined, so if we detect
a path with a colon in it we need to bail out to prevent `dyld' from throwing an error
when we execute Safari.
* WebKitLauncher/main.m:
(main):
2007-06-05 Mark Rowe <mrowe@apple.com>
Reviewed by Anders.
* WebKitLauncher/Info.plist: Update CFBundleGetInfoString, and add CFBundleShortVersionString.
2007-05-30 Alp Toker <alp.toker@collabora.co.uk>
Reviewed by Brady.
Enable logging in the Gdk port.
http://bugs.webkit.org/show_bug.cgi?id=13936
* GdkLauncher/main.cpp:
(main):
2007-05-29 Holger Freyther <zecke@selfish.org>
Reviewed by Anders.
Create a GtkLayout and pass it to the FrameView/ScrollView. Embed the GtkLayout into a GtkScrolledWindow
to provide ScrollBars for the FrameView.
* GdkLauncher/main.cpp:
(registerRenderingAreaEvents):
(layout_realize_callback): Only after realization we can access the GtkLayout::bin_window
(frameResizeCallback): Inform the ScrollView about its new viewport size, and ask the FrameView to adjust
(main):
2007-05-29 David Kilzer <ddkilzer@webkit.org>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=13901
run-pageloadtest does not obey testName on command-line
* Scripts/run-pageloadtest: Grab $testName from the command-line if it is present,
otherwise default to "svg". Added dummy check to make sure $testName.pltsuite
exists.
2007-05-29 David Kilzer <ddkilzer@webkit.org>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=13900
svnStatus($) subroutine in svn-[un]apply does not work properly with directories
This patch also fixes an instance of the "broken pipe" warning that happened when
a directory contained modified files that were not part of an applied or unapplied
patch.
* Scripts/svn-apply:
(svnStatus($)): If we're trying to get status on a directory (instead of a file),
make sure we actually get the directory's status (if it has one), not the first
file's status reported within the directory. Fix "broken pipe" warnings by
reading all of the output from the SVN filehandle before closing it.
* Scripts/svn-unapply:
(svnStatus($)): Ditto.
2007-05-28 David Kilzer <ddkilzer@webkit.org>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=10342
prepare-ChangeLog only shows removed files but not added files when files are moved
- fix prepare-ChangeLog part of http://bugs.webkit.org/show_bug.cgi?id=13408
prepare-ChangeLog and svn-create-patch don't show replaced files
Switched method used to find list of changed files from "diff" to "status". This
makes added and replaced files with history appear in the changed file list for svn.
Added check for "+" in output from the svn status command to detect file history, and
handle it in the generateFileList(\@\@\%) and in statusDescription($$) subroutines.
* Scripts/prepare-ChangeLog:
(diffCommand(@)): Switched argument from hash ref to array to match statusCommand(@).
(statusCommand(@)): Switched argument from array ref to array. Necessary to use
the output of "keys $paths" without creating a temporary array variable.
(findOriginalFileFromSvn($)): Added. Based on findSourceFileAndRevision($)
subroutine in svn-create-patch.
(generateFileList(\@\@\%)): Added. Extracted from main body of script. Runs status
command using command-line arguments instead of list of changed files from the diff
command. Changed svn regex to only accept file statuses that we know how to handle.
Identify original file when an added/replaced status with history is present.
(statusDescription($$)): Handled added/replaced statuses with history. Added
fall-through return statement.
2007-05-28 Holger Freyther <zecke@selfish.org>
Reviewed by Mark Rowe.
Add scripts and data to generate a coverage data for WebKit.
* CodeCoverage/README: Added.
* CodeCoverage/amber.png: Added.
* CodeCoverage/cov.py: Added.
* CodeCoverage/emerald.png: Added.
* CodeCoverage/gcov.css: Added.
* CodeCoverage/glass.png: Added.
* CodeCoverage/regenerate-coverage-display: Added.
* CodeCoverage/ruby.png: Added.
* CodeCoverage/run-generate-coverage-data: Added.
* CodeCoverage/snow.png: Added.
* Scripts/build-webkit: Add --coverage by Niko
* Scripts/check-for-global-initializers: Skip the check on coverage builds
* Scripts/generate-coverage-data: Added.
* Scripts/run-javascriptcore-tests: Add --coverage by Niko
2007-05-29 Mark Rowe <mrowe@apple.com>
Build fix after r21745.
* Scripts/check-for-global-initializers: Skip CachedPage.o as it now has a global initializer in debug builds.
2007-05-25 Anders Carlsson <andersca@apple.com>
Fix build.
* DumpRenderTree/DumpRenderTree.m:
* DumpRenderTree/FrameLoadDelegate.m:
2007-05-25 Simon Hausmann <hausmann@kde.org>
Reviewed by Zack.
For the keyDown binding use QStringList instead of QList<QString>. The former is a default
registered metatype. Also print out critical messages in dumprendertree's qt message handler.
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2007-05-20 David Kilzer <ddkilzer@webkit.org>
Reviewed by Adam Roben.
- fix http://bugs.webkit.org/show_bug.cgi?id=13565
Change svn-create-patch to put LayoutTests in the end
In addition to reordering test files under the LayoutTests directory so that they
appear after source code files, this patch fixes an issue with prepare-ChangeLog
if the first argument passed to it is a file name instead of a directory name.
* Scripts/prepare-ChangeLog:
(isGIT()): If first value in @dirs array is a file, use dirname() to get the directory.
(isSVN()): Ditto.
* Scripts/svn-create-patch:
(generateFileList($\%\%\%)): Differentiate test files in the LayoutTests directory from
source code files.
2007-05-18 Mark Rowe <mrowe@apple.com>
Reviewed by Oliver.
Force LC_ALL to C when parsing locale-specific strings in 'svn' output.
* Scripts/svn-create-patch:
* Scripts/webkitdirs.pm:
2007-05-18 Holger Freyther <zecke@selfish.org>
Reviewed by Maciej.
* GdkLauncher/main.cpp: Call setGtkWidget
(main):
2007-05-18 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Mark Rowe.
* GdkLauncher/main.cpp:
(main): Call Frame::init to catch up with Maciej's changes.
* Scripts/run-javascriptcore-tests: Remove --gdk from the command line
passed to the helper scripts.
2007-05-16 Brady Eidson <beidson@apple.com>
Build fix for some dev configurations
* DumpRenderTree/DumpRenderTree.m:
2007-05-16 Maciej Stachowiak <mjs@apple.com>
Reviewed by Justin.
- created a new mechanism to log FrameLoadDelegate callbacks in directories named "loading"
The reason for doing things in this slightly odd way is to make sure we don't miss the load delegates
that happen before the load commits.
Basically I moved WaitUntilDoneDelegate into a separate file (FrameLoadDelegate.m) and added
optional logging for every FrameLoadDelegate callback, including SPI callbacks.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.m:
(createWebView):
(dumpRenderTree):
(dump):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController clearBackForwardList]):
(-[LayoutTestController setUseDashboardCompatibilityMode:]):
(-[LayoutTestController dumpFrameLoadCallbacks]):
(-[LayoutTestController setWindowIsKey:]):
(-[LayoutTestController setMainFrameIsFirstResponder:]):
(-[LayoutTestController _doLoad:target:]):
(-[LayoutTestController _doBackOrForwardNavigation:]):
(-[LayoutTestController queueReload]):
(-[LayoutTestController queueScript:]):
(-[LayoutTestController queueLoad:target:]):
(-[LayoutTestController setAcceptsEditing:]):
(-[LayoutTestController setTabKeyCyclesThroughElements:]):
(shouldLogFrameLoadDelegates):
(runTest):
(displayWebView):
(+[DumpRenderTreeEvent mouseLocation]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTreeDraggingInfo.m:
(-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
(-[EventSendingController contextClick]):
* DumpRenderTree/FrameLoadDelegate.h: Added.
* DumpRenderTree/FrameLoadDelegate.m: Added.
(-[WebFrame _drt_descriptionSuitableForTestResult]):
(-[FrameLoadDelegate processWork:]):
(-[FrameLoadDelegate webView:locationChangeDone:forDataSource:]):
(-[FrameLoadDelegate webView:didStartProvisionalLoadForFrame:]):
(-[FrameLoadDelegate webView:didCommitLoadForFrame:]):
(-[FrameLoadDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
(-[FrameLoadDelegate webView:didFinishLoadForFrame:]):
(-[FrameLoadDelegate webView:didFailLoadWithError:forFrame:]):
(-[FrameLoadDelegate webView:windowScriptObjectAvailable:]):
(-[FrameLoadDelegate webView:didClearWindowObject:forFrame:]):
(-[FrameLoadDelegate webView:didReceiveTitle:forFrame:]):
(-[FrameLoadDelegate webView:didReceiveServerRedirectForProvisionalLoadForFrame:]):
(-[FrameLoadDelegate webView:didReceiveIcon:forFrame:]):
(-[FrameLoadDelegate webView:didChangeLocationWithinPageForFrame:]):
(-[FrameLoadDelegate webView:willPerformClientRedirectToURL:delay:fireDate:forFrame:]):
(-[FrameLoadDelegate webView:didCancelClientRedirectForFrame:]):
(-[FrameLoadDelegate webView:willCloseFrame:]):
(-[FrameLoadDelegate webView:didFirstLayoutInFrame:]):
(-[FrameLoadDelegate webView:didFinishDocumentLoadForFrame:]):
(-[FrameLoadDelegate webView:didHandleOnloadEventsForFrame:]):
* DumpRenderTree/ResourceLoadDelegate.m:
(-[NSURL _drt_descriptionSuitableForTestResult]):
* DumpRenderTree/UIDelegate.m:
(-[UIDelegate webViewFocus:]):
2007-05-16 Kevin McCullough <kmccullough@apple.com>
Reviewed by Darin and Geoff.
- rdar://problem/4981886
- Now windows opened by the DOM can be closed by JS.
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController windowCount]):
2007-05-15 Adam Roben <aroben@apple.com>
Reviewed by David Kilzer.
http://bugs.webkit.org/show_bug.cgi?id=13732
prepare-ChangeLog should work with git
* Scripts/prepare-ChangeLog: Added support for Git.
2007-05-15 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Add the EventSender object to DRT. Currently it implements
mouseDown, mouseUp and mouseMoveTo.
Make run-webkit-tests --strict work somewhat better for form elements.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::initJSObjects):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
(HackWebFrame::mousePressEvent):
(HackWebFrame::mouseReleaseEvent):
(EventSender::EventSender):
(EventSender::mouseDown):
(EventSender::mouseUp):
(EventSender::mouseMoveTo):
(EventSender::leapForward):
(EventSender::keyDown):
(EventSender::frameUnderMouse):
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
* Scripts/run-webkit-tests:
2007-05-12 Oliver Hunt <oliver@apple.com>
Reviewed by Hyatt.
Add new api to DRT to allow us to test a file being dragged
onto <input type="file">
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController addFileToPasteboardOnDrag]):
(runTest):
* DumpRenderTree/UIDelegate.m:
(-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2007-05-11 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Maciej.
Bug 13656: [gdk] Resize the drawing area of the GdkLauncher
http://bugs.webkit.org/show_bug.cgi?id=13656
* GdkLauncher/main.cpp: Handle resizing the drawing area
(frameResizeCallback):
(main):
2007-05-11 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
Updated test now that +[WebScriptObject scriptObjectForJSObject:frame:]
is gone.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController testWrapperRoundTripping:]):
2007-05-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Oliver.
- don't clear events whenever an EventSendingController goes away, only do it at predictable times,
since destroying a subframe can make one go away
(Discovered while fixing:
<rdar://problem/5063277> blank screen after login to Citibank Online (accessing document before frame starts loading cancels load)
<rdar://problem/5159541> REGRESSION (r20972): Wall Street Journal pages replaced by advertisements (13465)
* DumpRenderTree/DumpRenderTree.m:
(runTest): explicitly clear saved events after every page load
* DumpRenderTree/EventSendingController.h:
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController dealloc]): don't clear saved events here...
(+[EventSendingController clearSavedEvents]): do it here
* Scripts/check-for-global-initializers:
2007-05-10 Mark Rowe <mrowe@apple.com>
Build fix for DumpRenderTree. Enable Objective-C exceptions in Release configuration.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-05-09 Geoffrey Garen <ggaren@apple.com>
Reviewed by Maciej Stachowiak.
Added support for testing ObjC/JS type bridging.
Added ASSERT that -JSObject returns nil when the underlying JSObject
is no longer GC protected.
* DumpRenderTree/DumpRenderTree.m:
(returnThisCallback):
(returnThisClass):
(-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController accessStoredWebScriptObject]):
(-[LayoutTestController testWrapperRoundTripping]):
(-[LayoutTestController objCClassNameOf:]):
(-[LayoutTestController objCObjectOfClass:]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-05-10 Lars Knoll <lars@trolltech.com>
Reviewed by Simon
Move setting of the DPI value a few lines up. Should fix
the last two remaining failures in the layout tests.
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(main):
2007-05-09 Holger Freyther <zecke@selfish.org>
Reviewed by Mark Rowe.
* GdkLauncher/main.cpp: Always include config.h.
2007-05-08 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
Added support for testing ObjC object identity.
Added ASSERT to verify that you can round-trip the object passed to you
in -didClearWindowObject:forFrame:.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController accessStoredWebScriptObject]):
(-[LayoutTestController objCIdentityIsEqual::]):
2007-05-07 Geoffrey Garen <ggaren@apple.com>
Reviewed by Maciej Stachowiak.
Added tests for new APIs: -[WebFrame windowObject], -[WebFrame globalContext],
and - (void)webView:(WebView *)webView didClearWindowObject:(WebScriptObject *)windowObject
forFrame:(WebFrame *)frame, in the form of ASSERTs.
* DumpRenderTree/DumpRenderTree.m:
(runJavaScriptThread): Fixed quote mismatch that prepare-changelog likes
to complain about.
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
(-[WaitUntilDoneDelegate webView:didClearWindowObject:forFrame:]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-05-08 Lars Knoll <lars@trolltech.com>
Reviewed by Zack.
Dump JavaScript console messages as well. Also requires a slight
change in run-webkit-tests, so we still correctly differentiate
between text only and rendertree tests.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::WebPage::WebPage):
(WebCore::WebPage::javaScriptConsoleMessage):
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::dump):
* Scripts/run-webkit-tests:
2007-05-08 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Specify what the serif, sans-serif and monospace aliases
should map to and explicitly select the Gui style of
DRT to be plastique.
Fixes most of the test failures still seen on the build bot.
* DumpRenderTree/DumpRenderTree.qtproj/fonts.conf:
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(main):
2007-05-07 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Fix the default font to 9pt Sans Serif.
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(main):
2007-05-04 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Revert on line of the last commit. We still want to keep the RPATH
support in the pro file.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2007-05-04 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Remove the old bitmap fonts I tried using to get reliable results from
DumpRenderTree on X11. Instead we now use the URW Type1 fonts from
ghostscript. I've added a mirror to simply check them out at
svn://labs.trolltech.com/svn/webkit/testfonts.
Fixed DumpRenderTree to make sure these fonts are the only ones we use
on X11 and added a fonts.conf file to get a well defined fontconfig
configuration.
Made sure run-webkit-tests forwards the WEBKIT_TESTFONTS environment variable
I use to find the fonts to DumpRenderTree.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
* DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/fonts.conf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(main):
* Scripts/run-webkit-tests:
2007-05-03 Holger Freyther <freyther@kde.org>
Reviewed by Zack, landed by Simon.
This is bugzilla bug 13499.
* GdkLauncher/GdkLauncher.pro: Build the GdkLauncher using qmake
* GdkLauncher/main.cpp: We don't have a config.h with the qmake build
* Scripts/build-webkit: Add --gdk for the Gdk port
* Scripts/webkitdirs.pm: Add helper methods for the Gdk port
2007-05-03 Geoffrey Garen <ggaren@apple.com>
Build fix: Add AllInOneFile.o to the ignore list, since it includes files
in the ignore list.
* Scripts/check-for-global-initializers:
2007-05-02 Holger Freyther <freyther@kde.org>
Reviewed by Mark Rowe.
* Scripts/build-webkit: Remove the CMake call.
* Scripts/webkitdirs.pm: Remove isQtWithQMake as QMake is now the only
buildsystem for the Qt port.
2007-04-27 Kevin McCullough <kmccullough@apple.com>
- Removed debugging statements and took out the removal of the deletion
of the symlink. This is because multiple instances of run-webkit-tests
can be running at the same time.
* Scripts/run-webkit-tests:
2007-04-27 Adam Roben <aroben@apple.com>
Reviewed by Maciej.
Cleaned up prepare-ChangeLog
* Scripts/prepare-ChangeLog: No code changes, but style now matches
the prevalent style of our perl scripts.
2007-04-27 Nazar Kulyk <schamane@myeburg.net>
Reviewed by Mark Rowe.
Basic auto-correction of user-entered URLs.
* GdkLauncher/main.cpp:
(autocorrectURL):
(goToURLBarText):
(main):
2007-04-28 Mark Rowe <mrowe@apple.com>
Rubber-stamped by Anders.
Rename some methods and variables to match the style guidelines.
* GdkLauncher/main.cpp:
(stringIsEmpty):
(stringIsEqual):
(goToURLBarText):
(goButtonClickedCallback):
(urlBarEnterCallback):
(frameResizeCallback):
(frameDestroyCallback):
(menuMainBackCallback):
(menuMainForwardCallback):
(menuMainQuitCallback):
(main):
2007-04-27 Holger Freyther <freyther@kde.org>
Reviewed by Maciej.
Remove unmaintained CMake build system.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Removed.
* Scripts/build-webkit: Remove references to CMake.
* Scripts/webkitdirs.pm: Remove references to CMake.
2007-04-26 Alp Toker <alp@atoker.com>
Reviewed by Mark Rowe.
* GdkLauncher/main.cpp:
(main): Avoid use of deprecated API.
2007-04-26 Kevin McCullough <kmccullough@apple.com>
- Changed debugging statements for more information.
* Scripts/run-webkit-tests:
2007-04-26 Kevin McCullough <kmccullough@apple.com>
- Adding debugging statements to see why these tests fail. These will be removed.
* Scripts/run-webkit-tests:
2007-04-25 Anders Carlsson <andersca@apple.com>
Reviewed by Mitz.
Add a setUseDashboardCompatibilityMode method to LayoutTestController which is used to toggle
the dashboard compatibility mode.
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setUseDashboardCompatibilityMode:]):
(runTest):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-04-24 Timothy Hatcher <timothy@apple.com>
Setting the valid architectures to 32-bit only, so these projects
will ignore requests to build them 64-bit. Once they can be built 64-bit,
the valid architectures can be updated.
* Drosera/Drosera.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2007-04-23 Adam Roben <aroben@apple.com>
Reviewed by Mark Rowe and David Kilzer.
* Scripts/build-webkit: Print the path to the run-safari script when
finished building so that users can copy-and-paste the command to
execute it.
2007-04-23 Darin Adler <darin@apple.com>
Reviewed by Hyatt.
- rename box-sizing to -webkit-box-sizing
* Drosera/console.css: Here.
* Drosera/debugger.css: And here.
* Drosera/viewer.css: And here.
2007-04-21 Mitz Pettel <mitz@webkit.org>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=13350
Build Ahem into DumpRenderTree
* DumpRenderTree/DumpRenderTree.m:
(activateAhemFont): Added. Activates the copy of Ahem included in the
DumpRenderTree binary.
(dumpRenderTree): Replaced the check that Ahem is available with a call
to activateAhemFont().
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
Added linker options to include Ahem in the data section of the
DumpRenderTree binary.
2007-04-20 Adam Roben <aroben@apple.com>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=13421
Bug 13421: prepare-ChangeLog should use svn-create-patch when spewing diffs
* Scripts/prepare-ChangeLog: Use svn-create-patch instead of svn diff.
2007-04-18 Brady Eidson <beidson@apple.com>
Reviewed by Tim
<rdar://problem/5008925>
Expose the NSURLConnection delegate willCacheResponse API to WebResourceLoadDelegate
* DumpRenderTree/ResourceLoadDelegate.m:
(-[ResourceLoadDelegate webView:resource:willCacheResponse:fromDataSource:]):
Add the willCacheResponse delegate call
2007-04-18 Adam Roben <aroben@apple.com>
Reviewed by David Kilzer.
* Scripts/webkitdirs.pm:
(sub setConfiguration): Added an optional argument to set the
configuration instead of parsing it from ARGV.
2007-04-17 Adam Roben <aroben@apple.com>
* Scripts/find-included-framework-headers: Search Obj-C and Obj-C++
files as well.
2007-04-17 Adam Roben <aroben@apple.com>
Added a simple shell script to find all the headers from a specified
framework or frameworks that are included by files beneath the working
directory.
* Scripts/find-included-framework-headers: Added.
2007-04-16 Timothy Hatcher <timothy@apple.com>
* Drosera/debugger.css: hide the borders for iframes
2007-04-13 Adam Roben <aroben@apple.com>
Rubberstamped by Anders.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: #include
stdio.h so that snprintf is defined.
2007-04-13 Brady Eidson <beidson@apple.com>
Reviewed by Anders
Add the ability to dump the back/forward history of all windows open at the end of a test
* DumpRenderTree/DumpRenderTree.m:
(dumpBackForwardListForWebView): Dump B/F list for the given WebView
(dump): Call dumpBackForwardListForWebView for each WebView open after the test
2007-04-13 Anders Carlsson <andersca@apple.com>
Reviewed by Brady.
By default, close any windows that have been opened during a test. This can be overridden by
calling setCloseRemainingWindowsWhenComplete(false).
Change the windows set to an array so we can gurantee the enumeration order.
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setCloseRemainingWindowsWhenComplete:]):
(runTest):
(-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
(-[DumpRenderTreeWindow dealloc]):
2007-04-13 Geoffrey Garen <ggaren@apple.com>
Build fix.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(handleCallback): Explicitly cast the void* returned by malloc.
2007-04-12 Deneb Meketa <dmeketa@adobe.com>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=13029
rdar://problem/4994849
Bug 13029: Permit NPAPI plug-ins to see HTTP response headers.
Changes in WebKitTools are only for the NPAPI test plugin.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: main test logic.
(pluginInvoke): support null window argument for NPStream creation.
(pluginAllocate): initialization.
(pluginDeallocate): cleanup.
(handleCallback): add second JS callback arg: header dump.
(notifyStream): added; hook from NPP_NewStream to record headers.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: declarations.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c: call new header hook.
(NPP_NewStream): call new header hook.
2007-04-09 Geoffrey Garen <ggaren@apple.com>
Reviewed by Maciej Stachowiak.
Fixed fast/forms/textarea-paste-newline.html.
This failure was pretty funny. run-webkit-tests kills and respawns
DumpRenderTree once every 1000 runs. Adding a few tests caused
textarea-paste-newline.html to run right at the beginning of DumpRenderTree's
lifetime, before any render tree dumps had occurred. However, WebCore
used a render tree dump as the hook that set a global flag to allow
pasting through the DOM API, so running before any render tree dumps had
occurred caused this test to fail.
* DumpRenderTree/DumpRenderTree.m:
(dumpRenderTree): Explicitly tell WebKit to allow pasting through the DOM
API, instead of hoping it will read the tea leaves.
2007-04-07 Mark Rowe <mrowe@apple.com>
Not reviewed. Update to match some configuration changes that have been active on build.webkit.org.
* BuildSlaveSupport/build.webkit.org-config/webkit/status.py:
2007-04-05 Anders Carlsson <andersca@apple.com>
Reviewed by Adam.
Add support for opening new windows in DumpRenderTree.
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setCallCloseOnWebViews:]):
(-[LayoutTestController setCanOpenWindows]):
Add two new methods callable from JavaScript. setCanOpenWindows controls whether a test
can open new windows, and setCallCloseOnWebViews controls whether -[WebView close] should be called on
web views that are about to be closed.
(runTest):
Make sure that only the main window is around when a test has finished running.
(-[DumpRenderTreeWindow initWithContentRect:styleMask:backing:defer:]):
(-[DumpRenderTreeWindow dealloc]):
Manage the set of windows.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_Destroy):
Add a "logDestroy" property which controls whether plugins should print when they are destroyed or not.
* DumpRenderTree/UIDelegate.m:
(-[UIDelegate webView:createWebViewWithRequest:]):
Create new windows.
(-[UIDelegate webViewClose:]):
Close windows.
2007-04-05 Anders Carlsson <andersca@apple.com>
Reviewed by Maciej.
Move WebView and NSWindow creation to a separate function in preparation of supporting opening new
windows in DRT.
* DumpRenderTree/DumpRenderTree.m:
(createWebView):
(dumpRenderTree):
2007-04-03 Anders Carlsson <andersca@apple.com>
Reviewed by Darin Adler.
Add the notion of a "disallowed URL", which the resource loader won't allow to be loaded.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.m:
(dumpRenderTree):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController addDisallowedURL:]):
(runTest):
* DumpRenderTree/ResourceLoadDelegate.m:
(-[ResourceLoadDelegate webView:resource:willSendRequest:redirectResponse:fromDataSource:]):
2007-04-03 Mark Rowe <mrowe@apple.com>
Reviewed by Antti.
* BuildSlaveSupport/build-launcher-dmg: Use bzip2 compression in nightly build disk images rather than gzip.
2007-04-02 Anders Carlsson <andersca@apple.com>
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
Don't use #import in a header included by C files.
2007-03-31 Mark Rowe <mrowe@apple.com>
Reviewed by Mitz.
Fix http://bugs.webkit.org/show_bug.cgi?id=13239
Bug 13239: REGRESSION (r20343): Drosera hits exception trying to call "count" cross-process
Use -[WebScriptObject valueForKey:@"length"] to retrieve the length of a JavaScript array
rather than -[WebScriptObject count].
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument webScriptAttributeKeysForScriptObject:]):
2007-03-30 Anders Carlsson <andersca@apple.com>
Reviewed by Geoff.
Add an "onstreamload" attribute to the plugin which is called when a stream starts loading.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_New):
Look for the onstreamload attribute.
(NPP_Destroy):
Free the onstreamload attribute.
(NPP_NewStream):
Call the onstreamload handler.
2007-03-30 Geoffrey Garen <ggaren@apple.com>
Removing an assertion I just added because it's crashing the Leopard
buildbot. The related layout test will still report a failure, so we
don't really need this assertion.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginInvoke):
2007-03-30 Anders Carlsson <andersca@apple.com>
Reviewed by Geoff.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c:
(testAllocate):
(testEnumerate):
Add casts.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h:
Don't use #import, use #include.
2007-03-30 Anders Carlsson <andersca@apple.com>
Reviewed by Alexey.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginInvoke):
Free the identifier string.
2007-03-30 Anders Carlsson <andersca@apple.com>
Reviewed by Geoff.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
Add TestObject.c and TestObject.h
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginGetProperty):
Implement the testObject property.
(pluginInvoke):
Implement testEnumerate which takes an object and an array and enumerates
the properties of the object and adds them to the array.
(pluginAllocate):
Allocate the test object.
(pluginDeallocate):
Free the test object.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.c: Added.
* DumpRenderTree/TestNetscapePlugIn.subproj/TestObject.h: Added.
Add a test object with two enumerable properties.
2007-03-29 Geoffrey Garen <ggaren@apple.com>
Reviewed by Beth Dakin.
Layout test for <rdar://problem/5091330> REGRESSION: Repro crash in
-[WebBaseNetscapePluginView(WebNPPCallbacks) destroyStream:reason:]
navigating away from page with DivX movie plug-in (13203)
Added hasStream property and destroyStream function, used by layout test.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginGetProperty):
(pluginInvoke):
(pluginAllocate):
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_NewStream):
2007-03-27 Anders Carlsson <acarlsson@apple.com>
Reviewed by Geoff.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginInvoke):
Add new function which takes a function and calls it using NPN_InvokeDefault.
2007-03-27 Adele Peterson <adele@apple.com>
Adding comment.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
2007-03-27 Adele Peterson <adele@apple.com>
Fix svg tests by calling displayIfNeeded.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]):
2007-03-26 Mark Rowe <mrowe@apple.com>
Reviewed by Sam Weinig.
Upload crash logs from DumpRenderTree as part of the test results to ease debugging
of hard-to-reproduce crashes.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2007-03-23 Adam Treat <adam@staikos.net>
Reviewed and committed by George.
Patch by Adam Treat. Removes hardcoded path to .pro file.
2007-03-22 Adam Roben <aroben@apple.com>
Reviewed by Geoff.
Removed eventSender.mouseClick because it was only useful for AppKit
controls, which we don't use anymore.
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]): Removed
mouseClick.
2007-03-22 Adam Roben <aroben@apple.com>
Reviewed by Ada.
Make eventSender.mouseClick actually send a mouse up event.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController mouseClick]):
2007-03-19 David Hyatt <hyatt@apple.com>
Update the minimum font size pref to match the actual default setting in Safari. It should have been 1
all this time and not 9.
Reviewed by aroben
* DumpRenderTree/DumpRenderTree.m:
(dumpRenderTree):
2007-03-18 Dan Waylonis <waylonis@mac.com>
Reviewed by Tim Hatcher.
DumpRenderTree changes for http://bugs.webkit.org/show_bug.cgi?id=13005
Bug 13005: WebScriptObject +throwException needs NULL check.
Add tests to ensure that a plugin can safely throw an exception in dealloc.
* DumpRenderTree/ObjCPlugin.h:
* DumpRenderTree/ObjCPlugin.m:
(+[ObjCPlugin webScriptNameForKey:]):
(+[ObjCPlugin isKeyExcludedFromWebScript:]):
(-[ObjCPlugin dealloc]):
2007-03-13 Mark Rowe <mrowe@apple.com>
Reviewed by Maciej.
Have the nightly launcher prefer Safari found in /Applications or ~/Applications
if present, otherwise fall back on using LaunchServices to locate it elsewhere
on the system. The motivation for this is to make the behaviour of the nightly
builds more predictable on machines with multiple copies of Safari present.
* WebKitLauncher/main.m:
(locateSafariBundle):
(main):
2007-03-12 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
- add a DumpRenderTree feature where you can get the Objective-C
class name of a JavaScript object
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Add the
objCClassNameOf: selector.
(+[LayoutTestController webScriptNameForSelector:]): Add the
objCClassNameOf: selector, with the name "objCClassName".
(-[LayoutTestController objCClassNameOf:]): Added.
2007-03-11 Geoffrey Garen <ggaren@apple.com>
Reviewed by Oliver Hunt.
Beefed up --threaded mode in light of <rdar://problem/4681051> Installer
crashes in KJS::Collector::markOtherThreadConservatively(KJS::Collector::Thread*)
trying to install iLife 06 using Rosetta on an Intel Machine
--threaded mode now runs a bunch of different JavaScript threads, randomly
killing and respawning them. This was sufficient for reproducing the
bug on my MacBook Pro.
* DumpRenderTree/DumpRenderTree.m:
(javaScriptThreads):
(runJavaScriptThread):
(startJavaScriptThreads):
(stopJavaScriptThreads):
(dumpRenderTree):
2007-03-11 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Brady Eidson.
Add forward/backward/quit menus for easier testing.
* GdkLauncher/main.cpp:
(menuMainBackCb):
(menuMainForwardCb):
(menuMainQuitCb):
(main):
2007-03-09 Andrew Wellington <proton@wiretapped.net>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=13007
svn-create-patch doesn't handle UTF files with BOMs as text
Force diff to treat files that svn-create-patch thinks are text as text.
* Scripts/svn-create-patch: Added -a switch to diff command.
2007-03-09 Mark Rowe <mrowe@apple.com>
Unreviewed. Use the new SVN URL on the buildbot.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2007-03-08 Mark Rowe <mrowe@apple.com>
Reviewed by Antti.
Fix compiler warnings when building Drosera as 64-bit.
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument breakpointEditorHTML]): Move away from deprecated NSString method.
(-[DebuggerDocument scriptConfirmSheetDidEnd:returnCode:contextInfo:]): Update type.
(-[DebuggerDocument webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]): Update type to accommodate constant.
2007-03-07 Mark Rowe <mrowe@apple.com>
Reviewed by Maciej.
Update check-for-global-initializers to ignore new debug initializers in bidi.o and kjs_events.o.
* Scripts/check-for-global-initializers:
2007-03-07 Anders Carlsson <acarlsson@apple.com>
Reviewed by Adam.
Add some assertions.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
(-[WaitUntilDoneDelegate webView:didFailProvisionalLoadWithError:forFrame:]):
(-[WaitUntilDoneDelegate webView:didFailLoadWithError:forFrame:]):
2007-03-07 David Kilzer <ddkilzer@webkit.org>
Reviewed by Darin Adler.
- WebKitTools part of fix for http://bugs.webkit.org/show_bug.cgi?id=12463
WebArchiver - attempt to insert nil exception when archive empty iframe
The dumpDOMAsWebArchive() test method uses the DOMDocument as a basis for creating
a webarchive while the dumpSourceAsWebArchive() test method uses the original
dataSource (page source) to create a webarchive. Most tests currently use
dumpDOMAsWebArchive() since this is what Safari does when saving a web page as a
webarchive.
* DumpRenderTree/DumpRenderTree.m: Renamed dumpAsWebArchive to dumpDOMAsWebArchive.
Added dumpSourceAsWebArchive.
(dump):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpDOMAsWebArchive]):
(-[LayoutTestController dumpSourceAsWebArchive]):
(runTest):
2007-03-05 Kevin McCullough <kmccullough@apple.com>
Reviewed by Mark and Dave H.
- rdar://problem/4922454
- This fixes a security issue by making remote referrers not able to access local
resources, unless they register their schemes to be treated as local. The result is
that those schemes can access local resources and cannot be accessed by remote
referrers.
Because this behavior is new a link-on-or-after check is made to determine if the
app should use the older, less safe, behavior.
* DumpRenderTree/DumpRenderTree.m: Add ability to set user style sheet to DRT.
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setUserStyleSheetLocation:]):
(-[LayoutTestController setUserStyleSheetEnabled:]):
2007-03-05 Anders Carlsson <acarlsson@apple.com>
Reviewed by Adam, Darin.
<rdar://problem/5025212>
In Mail, a crash occurs at WebCore::Frame::tree() when clicking on embedded flash object
Add a "getURLNotify" method to the plugin object. This lets you pass a URL, a target and a callback function
to be run when the URL has finished (or failed) loading.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginInvoke):
(handleCallback):
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_URLNotify):
2007-03-04 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Nikolas Zimmermann.
Load a url given on a command line in a way that also
works for local (file://) urls.
* GdkLauncher/main.cpp:
(main):
2007-03-02 Geoffrey Garen <ggaren@apple.com>
Tweaked parse-malloc-history to work with new malloc_history output format.
* Scripts/parse-malloc-history:
2007-02-28 Vladimir Olexa <vladimir.olexa@gmail.com>
Reviewed by Tim H.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=12887
Bug#12887: [Drosera] Add ability to close loaded files
* Drosera/DebuggerDocument.h:
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument closeCurrentFile:]): Adds delegation to call a JS script to close files
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/English.lproj/MainMenu.nib/classes.nib:
* Drosera/English.lproj/MainMenu.nib/info.nib:
* Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Adds Close Current File menu item
* Drosera/debugger.html: Changed "no files loaded" to "<No files loaded>" to match Xcode style
* Drosera/debugger.js: Adds implementation of closeFile() to unload currently loaded file
2007-02-28 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Maciej.
Add new flags to build-webkit to be able to switch on/off xpath, xslt, etc. easily.
* Scripts/build-webkit:
2007-02-27 Geoffrey Garen <ggaren@apple.com>
Small tweak to run-webkit-tests.
* Scripts/run-webkit-tests: Allow people with lots of RAM to run more than
1000 MallocStackLogging tests at a time.
2007-02-26 Maciej Stachowiak <mjs@apple.com>
Reviewed by Lars.
- set ENABLE_XSLT even when compiling without SVG support, since that is no
longer hardcoded into config.h.
* Scripts/build-webkit:
2007-02-26 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Adam Roben.
Rename *_SUPPORT defines to ENABLE_*.
* GdkLauncher/gdklauncher.bkl:
2007-02-24 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
* Scripts/run-webkit-tests: Stop ignoring BidiRun leaks, now that they're
fixed.
2007-02-24 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Adam Roben.
Improve gdklauncher: add text field for entering url.
* GdkLauncher/gdklauncher.bkl:
* GdkLauncher/main.cpp:
(strEmpty):
(strEq):
(handleGdkEvent):
(goToUrlBarText):
(goButtonClickedCb):
(urlBarEnterCb):
(registerRenderingAreaEvents):
(frameResizeCb):
(frameDestroyCb):
(main):
2007-02-22 Vladimir Olexa <vladimir.olexa@gmail.com>
Reviewed by Tim H.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=12852
Bug#12852: Drosera should select function name, not "function" keyword when selecting from function list pop-up
* Drosera/debugger.js: Fixed some logic errors resulting in generating double IDs and names.
2007-02-22 Adele Peterson <adele@apple.com>
Reviewed by Darin Adler.
Added option in layoutTestController to setTabKeyCyclesThroughElements, so we
can test <rdar://problem/5014970> 9A374: Tabs don't work in the message body
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setTabKeyCyclesThroughElements:]):
2007-02-22 Geoffrey Garen <ggaren@apple.com>
Used svn merge -r19786:19785 to roll out previous hack to work around
SVG painting issue in DRT.
Implemented new work-around, which makes --paint paint *after* dumping
the render tree instead of before, so that painting doesn't influence
the SVG render tree.
This should fix the ~400 new pixel failures introduced in r19786.
* DumpRenderTree/DumpRenderTree.m:
(dump):
* Scripts/run-webkit-tests:
2007-02-22 Geoffrey Garen <ggaren@apple.com>
Resetting --leaks mode default to run 1000 tests at a time because setting it
to 750 didn't stop the stack logging related crashes, and running more tests
at a time is faster. The crashes seem to be a real bug in stack logging,
not an out of memory condition.
* Scripts/run-webkit-tests:
2007-02-21 Geoffrey Garen <ggaren@apple.com>
Reviewed by Adam Roben.
Added hack to force painting when running an SVG test. This is a work-around
for http://bugs.webkit.org/show_bug.cgi?id=12849 SVG renderers update at
paint time instead of style resolution time.
We need this so that --leaks mode, which always paints, doesn't appear to
fail SVG tests. We also need this if we ever want to test style application
in SVG, since many SVGs don't apply style to their renderers until they paint.
* Scripts/run-webkit-tests:
2007-02-21 Geoffrey Garen <ggaren@apple.com>
Reduced --leaks mode to running only 750 tests at a time, in the hopes
of fixing intermittent crasher that may be caused by out of memory
conditions.
* Scripts/run-webkit-tests:
2007-02-21 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
Made DRT paint when running run-webkit-tests in --leaks mode, to check
for painting leaks.
* DumpRenderTree/DumpRenderTree.m: Removed some "NO" initializations, since
that's the default for statics.
(dumpRenderTree): Added --paint command line option, which specifies that
DRT should paint at the end of every test.
(displayWebView): New function, called by dump() and -[LayoutTestController display].
* Scripts/run-webkit-tests: Use the --paint command line option when checking
for leaks.
* Scripts/run-webkit-tests: Added a new, painting leak to the ignore list.
Removed stale comment about THRD leaks -- we now ignore them reliably.
2007-02-21 Geoffrey Garen <ggaren@apple.com>
Tools tweak. No review necessary.
* Scripts/parse-malloc-history: Enabled multiple merge-regexp command line
arguments. Changed command line argument variables from special implicit
no-op values to specific empty values that we test explicitly.
2007-02-21 Vladimir Olexa <vladimir.olexa@gmail.com>
Reviewed by Tim H.
Bug 12834: Drosera should remember scroll position of open files like Xcode
http://bugs.webkit.org/show_bug.cgi?id=12834
* Drosera/debugger.js: Implemented scrolling memory
2007-02-20 Geoffrey Garen <ggaren@apple.com>
Tools tweak. No review necessary.
Made parse-malloc-history executable. (Oops!)
Made parse-malloc-history parse 'leaks' output in addition to 'malloc_history"
output.
Added the ability to merge callstacks by regexp, not just depth, so you
can ask questions like, "How many of these allocations were due to that one
call to ...?"
* Scripts/parse-malloc-history:
2007-02-20 Geoffrey Garen <ggaren@apple.com>
* Scripts/parse-malloc-history: Added copyright info.
2007-02-20 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
New script to parse the output from malloc_history, so we can determine
what's using memory in WebKit.
* Scripts/parse-malloc-history: Added.
2007-02-20 Graham Dennis <graham.dennis@gmail.com>
Reviewed by Darin Adler.
Fix for http://bugs.webkit.org/show_bug.cgi?id=12802
WebKit.framework is built with SVG_SUPPORT for No-SVG build
* Scripts/build-webkit: Pass the "FEATURE_DEFINES=" option when building WebKit as well.
2007-02-19 Geoffrey Garen <ggaren@apple.com>
Build fix.
* Scripts/check-for-global-initializers: Ignore the global counter I added
for SubresourceLoaders.
2007-02-19 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* Scripts/check-for-global-initializers: Delete the linked executable if the check fails.
Without this, you only see the global initializer error once, which makes it very easy
to miss them.
2007-02-16 Mark Rowe <mrowe@apple.com>
Not reviewed.
<rdar://problem/4982312> leaks bot should run in normal mode, rather than quiet mode
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Switch back to default verbosity for output of leaks tests.
2007-02-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Beth Dakin.
* DumpRenderTree/DumpRenderTree.m: Don't ignore NSAttributedString WebCore::Node
leaks anymore, either, since r19486 fixed them, too.
(shouldIgnoreWebCoreNodeLeaks):
2007-02-15 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Don't ignore NSAttributedString leaks any more. Those were
fixed by change 19486.
2007-02-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Beth Dakin.
Ignore another leak, seen recently on the buildbot.
* Scripts/run-webkit-tests:
2007-02-14 Geoffrey Garen <ggaren@apple.com>
Reviewed by Beth Dakin.
Ignore another leak, seen recently on the buildbot.
* Scripts/run-webkit-tests:
2007-02-13 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Fix a bug where --reset-results output would all go in one
giant line.
2007-02-11 Maciej Stachowiak <mjs@apple.com>
Reviewed by Mitz.
- add contextClick() operation to eventSender to be able to test this
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(-[EventSendingController contextClick]):
2007-02-11 Darin Adler <darin@apple.com>
* Scripts/check-for-global-initializers: Fix case where executable doesn't exist at all
so it doesn't give a perl exception (happens in clean builds, for example).
2007-02-10 David Kilzer <ddkilzer@webkit.org>
Reviewed by Adam.
* Scripts/svn-create-patch:
(findSourceFileAndRevision($)): Use File::Spec->abs2rel() instead of substr() to generate
a relative path to the copied file.
2007-02-10 Timothy Hatcher <timothy@apple.com>
Reviewed by Sam Weinig.
* Drosera/Drosera.icns: updated the icon with 512px and 256px variants
2007-02-10 David Kilzer <ddkilzer@webkit.org>
Reviewed by Timothy.
* Scripts/svn-apply:
(handleBinaryChange($$)): Binary patches don't need a trailing newline after the base64
encoded text.
2007-02-10 Brady Eidson <beidson@apple.com>
Reviewed by Maciej
<rdar://problem/4965133> WebKit sends file:// url referrers
* Scripts/run-webkit-tests: Enhanced the http tests so that we can run layout tests
on local files, but have an httpd for remote resources
2007-02-08 Geoffrey Garen <ggaren@apple.com>
Reviewed by Beth Dakin.
Ignore another false leak report.
* Scripts/run-webkit-tests:
2007-02-08 Geoffrey Garen <ggaren@apple.com>
Reviewed by Kevin McCullough.
* Scripts/run-webkit-tests: Don't try to create /tmp/LayoutTests if it
already exists, to avoid confusing error message.
Also, remove /tmp/LayoutTests after running so unsupecting fools don't
try to rm -rf it, only later to discover that they have completely hosed
their machines.
2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Adam Roben.
Linux/gdk build fixes.
* GdkLauncher/main.cpp: Add -exit-after-loading and
-dump-render-tree as debugging aid.
(strEq):
(main):
2007-02-08 Geoffrey Garen <ggaren@apple.com>
Minor fixup based on Maciej's review last night.
* Scripts/run-webkit-tests: Use normal "increment at end of loop" behavior,
and do a little math to make it work.
2007-02-08 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Adam Roben.
Linux/gdk build fixes.
* GdkLauncher/gdklauncher.bkl:
2007-02-08 Kevin McCullough <KMcCullough@apple.com>
- Fix layout test failures.
* Scripts/run-webkit-tests:
2007-02-08 Darin Adler <darin@apple.com>
Reviewed by Anders.
* Scripts/check-for-global-initializers: For speed, only check files that
have been modified since the last time we linked. For tidiness, capture
stderr from nm, and prevent "nm: no name list" messages from going out.
2007-02-08 Geoffrey Garen <ggaren@apple.com>
Reviewed by Maciej Stachowiak, Adam Roben.
Added 'nthly' support to run-webkit-tests. It's like 'singly', for an
arbitrary number n.
Plus some renames:
- DumpRenderTree => "dumpTool" (to match abstraction elsewhere)
- checkLeaks => "shouldCheckLeaks" (to match style guidelines)
- tool => dumpTool (to match abstraction elsewhere)
- httpdOpen => isHttpdOpen (to match style guidelines)
Plus a few logic fixups:
- Don't check isDumpToolOpen when we know we've called openDumpTool().
- Use a single code path to decide when to shut down dumpTool and
when to check for leaks, since the operations are coincidental.
- Use a single code path for running the leaks tool, since the only
thing that varies between configurations is the output file name.
- Increment $count after each test finishes, instead of at the end
of the loop, to help with comparing to the length of the array
and %-ing by n.
- Use a more robust test inside the loop to determine if we need to
close dumpTool, instead of copying the closing code outside the loop.
Layout tests pass.
* Scripts/run-webkit-tests:
2007-02-06 Geoffrey Garen <ggaren@apple.com>
Reviewed by Beth Dakin, evil twin to Bethany P. Dakin.
Ignore known leaks in CFRunLoop. Exclude THRD leaks by type so that we can
catch all reports of them, not just those inside pthread_create.
Also, use "\\" instead of "\" because we need the actual \ to get into the
regexp string if it's going to do any escaping. (Oops!)
* Scripts/run-webkit-tests:
2007-02-06 Geoffrey Garen <ggaren@apple.com>
Reviewed by Bethany P. Dakin.
The 's' is optional when the leaks tool reports 'leaks'.
* Scripts/run-leaks:
2007-02-06 Geoffrey Garen <ggaren@apple.com>
Reviewed by Bethany P. Dakin.
Hooked up run-webkit-tests to the run-leaks script. No change in behavior yet.
* Scripts/run-webkit-tests: Changed symbol names to valid regular expressions.
2007-02-06 David Smith <catfish.man@gmail.com>
Reviewed by Darin Adler.
Patch for http://bugs.webkit.org/show_bug.cgi?id=12566
[Drosera] Console history fixups
* Drosera/console.js: assorted cleanups and fixes
2007-02-05 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
New script that allows you to ignore leaks by regular expression.
* Scripts/run-leaks: Added.
2007-02-03 Sam Weinig <sam@webkit.org>
Reviewed by Mark.
Patch for http://bugs.webkit.org/show_bug.cgi?id=12555
Drosera doesn't handle CR ( carriage returns ) well
- Normalize all the line endings.
* Drosera/debugger.js:
2007-02-02 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
Added some more known leaks to the leaks ignore list.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Why does XCode
hate itself so much?
* Scripts/run-webkit-tests:
2007-02-02 Geoffrey Garen <ggaren@apple.com>
Even better build fix than the last.
* ChangeLog:
* DumpRenderTree/DumpRenderTree.m:
(shouldIgnoreWebCoreNodeLeaks):
2007-02-02 Geoffrey Garen <ggaren@apple.com>
Fixed build. Added work-around for GCC bug.
* DumpRenderTree/DumpRenderTree.m:
(shouldIgnoreWebCoreNodeLeaks):
2007-02-01 Geoffrey Garen <ggaren@apple.com>
Reviewed by Maciej Stachowiak.
Added support for selectively ignoring WebCore::Node leaks during layout
tests, so that we can ignore known leaks in other components.
* DumpRenderTree/DumpRenderTree.m:
(shouldIgnoreWebCoreNodeLeaks): Implements a black list of tests whose
WebCore::Node leaks we have to ignore. Does this CFString gobbledy-gook
confuse anyone else?
(runTest):
2007-02-01 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin Adler.
* DumpRenderTree/UIDelegate.m:
(-[UIDelegate webView:addMessageToConsole:]):
Dump console messages.
2007-01-31 Anders Carlsson <acarlsson@apple.com>
* DumpRenderTree/ResourceLoadDelegate.m:
(-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
Use an NSString here so we can guarantee that -description always returns the same value.
2007-01-31 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
Added Selection::toRange to the leaks -exclude list, since it comes up
as a false positive (Radar 4967949).
Also added RangeCounter to the global initializer exclude list. I added
a RangeCounter since leaks won't detect all Range leaks anymore.
* Scripts/check-for-global-initializers:
* Scripts/run-webkit-tests:
2007-01-31 Anders Carlsson <acarlsson@apple.com>
* DumpRenderTree/ResourceLoadDelegate.m:
(-[ResourceLoadDelegate webView:identifierForInitialRequest:fromDataSource:]):
Don't try to create an identifier if resource loads shouldn't be dumped.
2007-01-31 Anders Carlsson <acarlsson@apple.com>
Reviewed by Geoff.
Add dumping of resource loads. This isn't completely tweaked yet since the test results would
rely on resources being delivered in the same order which might not always be true. However, it works good
enough for the simple webarchive tests I want to do right now.
* DumpRenderTree/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.m:
(dumpRenderTree):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpResourceLoadCallbacks]):
(runTest):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/ResourceLoadDelegate.h: Added.
* DumpRenderTree/ResourceLoadDelegate.m: Added.
Add new resource load delegate.
2007-01-31 Geoffrey Garen <ggaren@apple.com>
Backing out the CFRunLoopRunSpecific exclude command because it was overly
broad. We'll either need to work around this leak in DRT, or do some
custom grep-based leak ignoring.
* Scripts/run-webkit-tests:
2007-01-30 Geoffrey Garen <ggaren@apple.com>
Reviewed by Beth Dakin.
Filed some more Radars in other components, added some more leaks to the
exclusion list.
* Scripts/run-webkit-tests: Ignore leaks in CFNotificationCenterAddObserver,
CFRunLoopRunSpecific, and NSSpellChecker.
2007-01-30 David Kilzer <ddkilzer@webkit.org>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=11882
Need a way to regression test .webarchive output files
Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
Alters WebResourceResponse and WebResourceURL properties within WebArchive format
to normalize URLs to remove path where WebKit was checked out. Also converts
WebDataResource properties from data to string if the corresponding
WebResourceMIMEType property starts with "text/" or equals
"application/x-javascript".
* DumpRenderTree/DumpRenderTree.m:
(convertWebResourceDataToString): Added.
(normalizeWebResourceURL): Added.
(normalizeWebResourceResponse): Added.
(serializeWebArchiveToXML): Added.
(dump):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpAsWebArchive]): Added.
(runTest):
2007-01-30 David Kilzer <ddkilzer@webkit.org>
Reviewed by Mark Rowe.
http://bugs.webkit.org/show_bug.cgi?id=12470
svn-create-patch creates duplicate patches for files within an added/modified directory
* Scripts/svn-create-patch:
(sub generateFileList($\%\%)): Ignore directories when generating the file list.
2007-01-29 Geoffrey Garen <ggaren@apple.com>
Reviewed by Maciej Stachowiak.
Fixed <rdar://problem/4485644> REGRESSION: JavaScriptCore has init routines
No more mollycoddling for you, FastMalloc.o!
* Scripts/check-for-global-initializers:
2007-01-29 Graham Dennis <graham.dennis@gmail.com>
Reviewed by Maciej.
Enables layout test for: http://bugs.webkit.org/show_bug.cgi?id=10725
Image data in from RTFD clipboard data thrown away
- This method is needed because NSArrays are bridged to JS Arrays,
which in turn are bridged back to WebScriptObjects when passed from
JS to ObjC. Hence it is not possbile to pass an NSArray from JS.
* DumpRenderTree/DumpRenderTree.m:
(-[DumpRenderTreePasteboard declareType:owner:]): Added a convenience method for JS.
2007-01-25 Geoffrey Garen <ggaren@apple.com>
Reviewed by Maciej Stachowiak.
Added support for test for <rdar://problem/4608404> WebScriptObject's
_rootObject lack of ownership policy causes crashes (e.g., in Dashcode)
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController storeWebScriptObject:]):
(-[LayoutTestController accessStoredWebScriptObject]):
(-[LayoutTestController dealloc]):
2007-01-26 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Small hack to ensure that our top level frame actually has the
correct size. Unfortunately this means I'll have to regenerate
all test cases :/
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2007-01-25 Lars Knoll <lars@trolltech.com>
Reviewed by Darin and Zack
Move the test results for Qt into a directory of it's own
(WebKit/LayoutTestResults/qt). Leave the Mac results where
they are for now and share the text only results between
Mac and Qt.
Add support for a LayoutTestResults/platform/Skipped file
to run-webkit-tests to be able to ignore certain tests
Remove the old tests-skipped.txt from Qts DumpRenderTree
implementation.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Removed.
* Scripts/run-webkit-tests:
2007-01-24 Darin Adler <darin@apple.com>
Reviewed by Oliver.
- fix crash seen in layout tests
* DumpRenderTree/EventSendingController.m: (-[EventSendingController dealloc]):
Add back the line of code that sets savedMouseEvents to nil. I thought it was
a field of the EventSendingController, but it's actually a global.
2007-01-24 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- changed dragMode to be a property instead of a function
* DumpRenderTree/EventSendingController.h: Renamed inDragMode to dragMode.
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]): Removed setDragMode.
(+[EventSendingController isKeyExcludedFromWebScript:]): Added dragMode.
(-[EventSendingController init]): Updated for name change.
(-[EventSendingController leapForward:]): Ditto.
(-[EventSendingController mouseUp]): Ditto.
(-[EventSendingController mouseMoveToX:Y:]): Ditto.
2007-01-24 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- made the deferral of mouse events until drag completes conditional
it's needed for drag testing, and harmful for selection testing
* DumpRenderTree/EventSendingController.h: Added inDragMode boolean.
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]): Added setDragMode:.
(+[EventSendingController webScriptNameForSelector:]): Added name for setDragMode,
and remove unneeded clearKillRing name.
(-[EventSendingController init]): Initialize inDragMode to true.
(-[EventSendingController dealloc]): Removed overzealous assertions -- we should
not be asserting things that are dependent on the test content!
(-[EventSendingController leapForward:]): Only queue events in drag mode.
(-[EventSendingController setDragMode:]): Added.
(-[EventSendingController mouseDown]): Removed overzealous assertion.
(-[EventSendingController mouseUp]): Removed overzealous assertions.
Only queue events in drag mode.
(-[EventSendingController mouseMoveToX:Y:]): Only queue events in drag mode.
2007-01-24 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Add a signal handler, always dump immediately if we get an
error during a page load and raise the timeout to 5 seconds
(as we get a lot less such failures now)
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::maybeDump):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
(LayoutTestController::waitUntilDone):
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(crashHandler):
(main):
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2007-01-22 Darin Adler <darin@apple.com>
Reviewed by Mitz.
- a couple tiny tweaks to make --reset-results work better
* Scripts/run-webkit-tests: Always generate results when --reset-results is specified.
Don't make a separate "new" entry while generating results when --reset-results
is specified since new results are the norm in that case.
2007-01-21 Sanjay Madhav <sanjay12@gmail.com>
Reviewed by Darin Adler.
Test support for: <rdar://problem/4928583> Memory usage grows when reloading google.com/ig
This adds a getJSObjectCount test-accessible function to allow test scripts to track JSObject usage.
* DumpRenderTree/GCController.h:
* DumpRenderTree/GCController.mm:
(+[GCController isSelectorExcludedFromWebScript:]):
(-[GCController getJSObjectCount]):
2007-01-20 Mark Rowe <mrowe@apple.com>
Reviewed by Maciej.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Track the output of run-javascriptcore-tests,
catch single regressions, and don't generate tests results for new tests.
2007-01-20 Adam Roben <aroben@apple.com>
Rubberstamped by Maciej.
* Scripts/run-webkit-tests: Change the default behavior back to
generating results for new tests (this can be disabled with
--no-new-test-results)
2007-01-19 Lars Knoll <lars@trolltech.com>
Reviewed by Adam Roben.
run-webkit-tests does now not generate new results by default anymore.
You'll have to pass the --new-tests flag to it to force it to do so.
This is required to make it possible to have tests running on multiple
platforms peacefully together.
* Scripts/run-webkit-tests:
2007-01-18 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
* Scripts/run-webkit-tests: Fix handling of configuration so it
does the right thing when no explicit configuration is passed in.
The old code assumed that the result of setConfiguration() was the
configuration, but it's undefined when no configuration is
explicitly passed in. The correct function to use is
configuration(), and I also streamlined the code.
2007-01-17 Lars Knoll <lars@trolltech.com>
Fix my last commit to actually work in all cases.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::readStdin):
2007-01-17 Lars Knoll <lars@trolltech.com>
Reviewed by Maciej
Make sure DumpRenderTree exits when run-webkit-tests
is done.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::readStdin):
2007-01-17 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Small fixes in DumpRenderTree, so we don't by
accident dump twice for the same test.
Exclude one more test as it currently causes DumpRenderTree to
hang forever.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::dump):
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
(LayoutTestController::notifyDone):
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2007-01-17 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Add a message handler to DumpRenderTree that will
suppress all debug output coming from qDebug() statements.
Like this we can get rid of all the noise coming
from the notImplemented() macro when running the
layout tests. You can get it back by adding -v to
DumpRenderTree's command line.
Changed run-webkit-tests slightly, so we by default
don't fail anymore when our output differs from what
is generated on the Mac. Added a --strict option, so
that we can still see this cases and fix them one by one.
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(messageHandler):
(main):
* Scripts/run-webkit-tests:
2007-01-16 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Use the new public API for the Qt build, and don't rely on
WebKit internals anymore.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::initJSObjects):
(WebCore::DumpRenderTree::dump):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Removed.
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
(LayoutTestController::notifyDone):
(LayoutTestController::timerEvent):
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(main):
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2007-01-15 Justin Garcia <justin.garcia@apple.com>
Reviewed by mjs
<rdar://problem/4810960>
Gmail Editor: window.focus() called on keyDown (9640)
* DumpRenderTree/EventSendingController.m: Send the keyDown event
to the firstResponder, not the event's locationInWindow. A
key press's locationInWindow is meaningless and just a dummy
coordinate.
2007-01-15 Eric Seidel <eric@webkit.org>
Reviewed by bdash.
Add a script to keep our header guards squeaky clean.
* Scripts/clean-header-guards: Added.
2007-01-15 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Fix a few smaller issues in here, and update
our list of skipped tests.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::dump):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp:
(LayoutTestController::LayoutTestController):
(LayoutTestController::reset):
(LayoutTestController::waitUntilDone):
(LayoutTestController::notifyDone):
(LayoutTestController::dumpEditingCallbacks):
(LayoutTestController::timerEvent):
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h:
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2007-01-14 Mark Rowe <mrowe@apple.com>
Reviewed by Adam.
<rdar://problem/4908909> Need to create Leopard nightly build
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Always use the 10.4 Universal SDK. The disk images don't mount pre-10.4 so we aren't losing anything here.
* WebKitLauncher/WebKitNightlyEnabler.m:
(poseAsWebKitApp): Simplify CoreFoundation-related hackery by using _CFGetProcessPath instead of walking the mach-o symbol tables. The smaller timeframe where the
CFProcessPath environment variable is set allows this to work correctly on Leopard where the old code failed.
(enableWebKitNightlyBehaviour):
* WebKitLauncher/main.m:
(main): Pass executable path as WebKitAppPath rather than CFProcessPath to prevent it being picked up too early by CoreFoundation.
* Drosera/launcher.m:
(main): Ditto
2007-01-12 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Get DumpRenderTree to work again for the Qt build.
Make run-webkit-tests a little less verbose when testing
Qt, and add an option to run DumpRenderTree inside valgrind
(useful for debugging)
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::dump):
(WebCore::DumpRenderTree::maybeDump):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
(WebCore::DumpRenderTreeClient::dispatchDidHandleOnloadEvents):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
* Scripts/run-webkit-tests:
2007-01-12 Zack Rusin <zack@kde.org>
Add WEBKIT_FULLBUILD env variable to get the
build do a make clean before make to cleanout the
stale depenendencies (for buildbot mainly).
* Scripts/webkitdirs.pm:
2007-01-11 Mitz Pettel <mitz@webkit.org>
Reviewed by Hyatt.
- http://bugs.webkit.org/show_bug.cgi?id=10249
Temporarily disable tests that are causing kernel panics
Changed the ImageDiff tool not to use CoreImage filters.
* DumpRenderTree/ImageDiff.m:
(main):
(createImageFromStdin):
(compareImages):
(getDifferenceBitmap):
2007-01-11 Lars Knoll <lars@trolltech.com>
Fix compilation
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2007-01-11 Lars Knoll <lars@trolltech.com>
Reviewed by Darin Adler.
Adjust to loader changes.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2007-01-06 George Staikos <staikos@kde.org>
This doesn't build on all unix platforms!
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2007-01-05 Zack Rusin <zack@kde.org>
Reviewed by Simon.
Fix the undefined warnings and try to detect
the DISPLAY properly.
* Scripts/run-webkit-tests:
2007-01-05 David Kilzer <ddkilzer@webkit.org>
Reviewed by Mark Rowe.
Speed up svn-create-patch for copied and moved files.
* Scripts/svn-create-patch:
(manufacturePatchForAdditionWithHistory($$)): Use 'svn cat' instead of 'svn cat -rNNNNN'
so svn pulls original from local disk.
2007-01-04 Lars Knoll <lars@trolltech.com>
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
Link with RPATH to (hopefully) get the automatic tests working.
2007-01-03 Mark Rowe <bdash@webkit.org>
Reviewed by Anders.
* Scripts/run-webkit-tests: Launch Safari using the same WebKit build configuration as the layout tests used.
2007-01-02 Zack Rusin <zack@kde.org>
Make it work after javascriptcore/bindings changes.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::initJSObjects):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
2007-01-01 David Kilzer <ddkilzer@webkit.org>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=12023
svn-create-patch and friends should handle moved/copied files
* Scripts/svn-apply: Identify copied files and handle those before all other patches.
* Scripts/svn-create-patch: Generate patches with subtle changes for copied files.
(findMimeType($)): Added.
(findModificationTime($)): Added.
(findSourceFileAndRevision($)): Added.
(generateDiff($$$)): Changed to use svn stat instead of svn diff.
(isBinaryMimeType($)): Added.
(manufacturePatchForAdditionWithHistory($$)): Added.
* Scripts/svn-unapply: Identify copied files and handle those after unapplying all other patches.
2006-12-29 Eric Seidel <eric@webkit.org>
Reviewed by olliej.
Stop DumpRenderTree from reporting false Frame/Node leaks due to new SVGImage
* DumpRenderTree/DumpRenderTree.m:
(dumpRenderTree): clear WebCore cache before exiting
2006-12-29 David Kilzer <ddkilzer@webkit.org>
Reverted last commit until WebResourceData issue is fixed.
http://bugs.webkit.org/show_bug.cgi?id=11882
Need a way to regression test .webarchive output files
* DumpRenderTree/DumpRenderTree.m:
(serializeWebArchiveToXML): Removed.
(dump):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpAsWebArchive]): Removed.
(runTest):
2006-12-28 David Kilzer <ddkilzer@webkit.org>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=11882
Need a way to regression test .webarchive output files
Implement layoutTestController.dumpAsWebArchive() to test WebArchive format.
Saves WebArchive plist in xml format, then alters file:// URLs to remove path
where WebKit was checked out.
* DumpRenderTree/DumpRenderTree.m:
(serializeWebArchiveToXML): Added.
(dump):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpAsWebArchive]): Added.
(runTest):
2006-12-28 George Staikos <staikos@kde.org>
Reviewed by Olliej.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: don't build on non-X11
2006-12-27 Geoffrey Garen <ggaren@apple.com>
Reviewed by Eric Seidel. Prose edited by Mitz Pettel.
Some cleanup I did while debugging the regression in plugins/netscape-dom-access.html.
No behavior change. Layout tests pass.
* DumpRenderTree/DumpRenderTree.h: Exported the done BOOL in place of the
doneLoading() accessor function. This matches the rest of DRT's exports and
makes it easier to search for clients who check (!done).
* DumpRenderTree/DumpRenderTree.m: Moved fflush() call to runTest() so
it would cover both code paths for calling runTest().
(dumpRenderTree): "doneLoading()" => "done"
(dump): ditto
* DumpRenderTree/EditingDelegate.m: ditto
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): ditto
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]): ditto
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): ditto
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): ditto
(-[EditingDelegate webView:shouldDeleteDOMRange:]): ditto
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]): ditto
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): ditto
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): ditto
(-[EditingDelegate webViewDidBeginEditing:]): ditto
(-[EditingDelegate webViewDidChange:]): ditto
(-[EditingDelegate webViewDidEndEditing:]): ditto
(-[EditingDelegate webViewDidChangeTypingStyle:]): ditto
(-[EditingDelegate webViewDidChangeSelection:]): ditto
* DumpRenderTree/UIDelegate.m: ditto
(-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]): ditto
2006-12-26 Eric Seidel <eric@webkit.org>
Reviewed by bradee-oh.
Add very simple run-pageloadtest script for running SVG page load test.
* Scripts/run-pageloadtest: Added.
2006-12-26 Geoffrey Garen <ggaren@apple.com>
Reviewed by Eric Seidel.
Some cleanup in preparation for fixing <rdar://problem/4740328> Safari
crash on quit in _NPN_ReleaseObject from KJS::Bindings::CInstance::~CInstance
(dumpRenderTree): Renamed "installedPlugins" to "sharedDatabase."
2006-12-23 Geoffrey Garen <ggaren@apple.com>
Reviewed by Maciej Stachowiak.
Added --threaded support to run-webkit-tests and DumpRenderTree.
In "threaded" mode, DRT runs a concurrent JavaScript thread with each test,
stressing the thread safety of JavaScriptCore and the JavaScriptCore/WebCore
interface. This is useful for tracking down bugs you might see on a system
configured to use a PAC file.
Ironically, I can proudly state that very few layout tests pass.
* DumpRenderTree/DumpRenderTree.m: Added javaScriptThread and helper functions
for starting and stopping it.
(runJavaScriptThread): helper function
(startJavaScriptThread): helper function
(stopJavaScriptThread): helper function
(dumpRenderTree): Added --threaded command line argument.
* Scripts/run-webkit-tests: ditto
2006-12-22 Mark Rowe <bdash@webkit.org>
Reviewed by Brady.
Fix for <rdar://problem/4265976>
prepare-ChangeLog sometimes lists the wrong Objective-C class name for a changed method
* Scripts/prepare-ChangeLog: Treat @end as the end of both the interface and the method declaration.
2006-12-21 Mark Rowe <bdash@webkit.org>
Reviewed by Tim Hatcher.
http://bugs.webkit.org/show_bug.cgi?id=11922
Bug 11922: REGRESSION(r17128): Drosera no longer shows local variables in stack frame
* Drosera/DebuggerDocument.m:
(-[WebScriptObject webScriptAttributeKeysForScriptObject:]): Use an anonymous function with function.call to
ensure that the properties are being retrieved from the correct scope object.
2006-12-21 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Add support for the layoutTestController JavaScript object
to be able to get textOnly dumps.
Added a Qt specific hack to always get the same fonts (the ones
added in this submit) and the same dpi when running the layout tests.
Modified the run-webkit-tests script to also do a comparison to the
Mac generated outputs (by stripping out positioning information).
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::resetJSObjects):
(WebCore::DumpRenderTree::initJSObjects):
(WebCore::DumpRenderTree::dump):
(WebCore::DumpRenderTree::checkLoaded):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
(WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
(WebCore::DumpRenderTreeClient::partClearedInBegin):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
* DumpRenderTree/DumpRenderTree.qtproj/fontoverload.cpp: Added.
(QX11Info::appDpiY):
(QX11Info::appDpiX):
(qt_x11ft_convert_pattern):
(LayoutTestController::LayoutTestController):
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.h: Added.
* DumpRenderTree/DumpRenderTree.qtproj/jsobjects.cpp: Added.
(LayoutTestController::shouldDumpAsText):
(LayoutTestController::shouldWaitUntilDone):
(LayoutTestController::reset):
(LayoutTestController::dumpAsText):
(LayoutTestController::waitUntilDone):
(LayoutTestController::notifyDone):
* DumpRenderTree/DumpRenderTree.qtproj/fonts/AHEM____.TTF: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/COPYING: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBold.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierBoldOblique.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMedium.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/CourierMediumOblique.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBold.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaBoldOblique.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMedium.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/HelveticaMediumOblique.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/SymbolMedium.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBold.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesBoldItalic.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMedium.ttf: Added.
* DumpRenderTree/DumpRenderTree.qtproj/fonts/TimesMediumItalic.ttf: Added.
* Scripts/run-webkit-tests:
2006-12-21 Mark Rowe <bdash@webkit.org>
Reviewed by Geoff.
http://bugs.webkit.org/show_bug.cgi?id=11888
Bug 11888: REGRESSION (r18320): Web Inspector panes broken
* Drosera/debugger.js: Use removeProperty to reset a style property to its initial value.
2006-12-18 Geoffrey Garen <ggaren@apple.com>
Reviewed by Beth Dakin.
Updated EventSender to be able to send mouse up events outside the WebView.
This is a minor tweak to a hackish implementation. The real solution
should be to use NSApplication's event sending model instead of rolling
our own, but I don't have time for that right now.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController mouseUp]):
2006-12-15 Marvin Decker <marv.decker@gmail.com>
Reviewed by Darin and Alexey.
Fix the Windows build, move various Client implementations out of
WebCore and into WebKit.
* Spinneret/Spinneret.sln:
2006-12-14 Timothy Hatcher <timothy@apple.com>
Reviewed by Brady.
* Makefile.shared: use $PIPESTATUS[0] and a sub-shell to exit with xcodebuild's exit status
2006-12-13 Zack Rusin <zack@kde.org>
Reviewed by rwlbuis
Use the qmake build by default with Qt - it's the one that works
currently.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-12-10 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Some more fixes to the dumprendertree application.
Fix the run-webkit-tests script for Qt.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2006-12-10 Rob Buis <buis@kde.org>
Reviewed by Darin Adler.
* DumpRenderTree/DumpRenderTree.m:
(dump):
2006-12-10 Lars Knoll <lars@trolltech.com>
Reviewed by Zack
Get the DumpRenderTree app to compile again
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.pro: Added.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
(WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(main):
2006-12-09 George Staikos <staikos@kde.org>
Reviewed by Zack.
Repair QMake build on OS X.
* Scripts/build-webkit:
2006-12-09 Zack Rusin <zack@kde.org>
Fixing small mistakes in the build scripts for
the qmake builds.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-12-09 Simon Hausmann <hausmann@kde.org>
Reviewed by hyatt.
Add support for a QMake build using build-webkit --qmake
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-12-09 George Staikos <staikos@kde.org>
Reviewed by Zack.
Remove reference to Unity.
* Scripts/webkitdirs.pm:
2006-12-08 Zack Rusin <zack@kde.org>
Reviewed by Maciej.
Fix the compile after recent API changes.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
(main):
2006-12-08 George Staikos <staikos@kde.org>
Reviewed by Maciej.
Build Qt webkit on non-linux, and prefer it if $QTDIR is set
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-12-06 Steve Falkenburg <sfalken@apple.com>
Support C strings for localization
* Scripts/extract-localizable-strings:
2006-12-04 Steve Falkenburg <sfalken@apple.com>
Reviewed by Darin Adler.
Make extract-localizable-strings compatible with cpp file extensions.
* Scripts/extract-localizable-strings:
2006-11-21 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- a couple changes to reduce the chance of false positives on the leakbot
* DumpRenderTree/DumpRenderTree.m:
(dumpRenderTree): Move the main function into a separate function so we can run
a final garbage collect afterward without any stray values on the stack. Replaced
the old way of closing down a WebView (setting the delegates to nil) with the new
way (calling the close method), which does a more complete job of shutting
everything down without waiting for the WebView object to be deallocated.
(main): Put auto-release pool here and added an explicit call to garbage collect.
With a separate function, we greatly reduce the chance that a stray address on the
stack will keep an object alive.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Let Xcode do its thing,
because I don't have what it takes to fight the power.
2006-11-17 Zack Rusin <zack@kde.org>
Reviewed by Mitz. Landed by Niko.
Fixing compilation.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree): Adding
ContextMenuClient to the constructor
2006-11-12 Mark Rowe <bdash@webkit.org>
Reviewed by Mitz.
Clean up of GdkLauncher bakefile.
* GdkLauncher/gdklauncher.bkl:
2006-11-11 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed and landed by Anders.
Make DRT work again on Qt/Linux.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2006-11-10 Zack Rusin <zack@kde.org>
Reviewed and landed by Anders.
Adjusting to the recent loader changes, making it compile
and work.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::checkLoaded):
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2006-11-10 Zack Rusin <zack@kde.org>
Reviewed by Anders.
Making the Qt code work after refactorings in WebCore.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::checkLoaded):
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp:
2006-11-08 Darin Adler <darin@apple.com>
Reviewed by Anders.
- same change as below, only tested this time
* DumpRenderTree/DumpRenderTree.m: (main): Explicitly turn "tab to links"
mode off. I think we need to do this because WebPreferences saves things
for us automatically. It would be good to turn that off for DumpRenderTree,
but for now lets handle this like the other preferences (set it explicitly
each time).
2006-11-08 Darin Adler <darin@apple.com>
Reviewed by Anders.
* DumpRenderTree/DumpRenderTree.m: (main): Get rid of code to turn on
"tab to links" mode. No current tests depend on this, and there's a new
test I want to land that depends on the default setting.
2006-11-06 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Maciej.
Linux\gdk build fixes.
* GdkLauncher/main.cpp:
(LauncherFrameGdk::LauncherFrameGdk):
(main):
2006-11-06 Alexey Proskuryakov <ap@nypop.com>
Build fix, approved in principle by Tim H.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
Disable deprecated warnings for main.c (TestNetscapePlugin),
as it now uses QuickDraw to convert mouse event coordinates.
2006-11-05 Timothy Hatcher <timothy@apple.com>
Reviewed by Maciej.
Bug 11525: [Drosera] function menu doesn't understand object.method = function() {} syntax
http://bugs.webkit.org/show_bug.cgi?id=11525
* Drosera/debugger.js: imporved the function name code
2006-11-06 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Maciej.
Make sure that alerts and delegate output made after notifyDone() are ignored, rather than
being attributed to the next test.
* DumpRenderTree/EditingDelegate.m:
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldDeleteDOMRange:]):
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
(-[EditingDelegate webViewDidBeginEditing:]):
(-[EditingDelegate webViewDidChange:]):
(-[EditingDelegate webViewDidEndEditing:]):
(-[EditingDelegate webViewDidChangeTypingStyle:]):
(-[EditingDelegate webViewDidChangeSelection:]):
* DumpRenderTree/UIDelegate.m:
(-[UIDelegate webView:runJavaScriptAlertPanelWithMessage:]):
2006-11-06 Mark Rowe <bdash@webkit.org>
Reviewed by Alexey.
Fix "Undefined subroutine &main::WEXITSTATUS" when build-dumprendertree fails.
* Scripts/run-webkit-tests: import the POSIX module.
2006-11-06 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Maciej.
Test for http://bugs.webkit.org/show_bug.cgi?id=11517
REGRESSION: Flash clicks/interactivity not working properly
Teach TestNetscapePlugin to log events passed to it. To enable, set eventLoggingEnabled to true:
<embed name="plg" type="application/x-webkit-test-netscape" width=100 height=100></embed>
<script>
plg.eventLoggingEnabled = true;
// use eventSender to simulate events...
</script>
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginGetProperty):
(pluginSetProperty):
(pluginAllocate):
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h:
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_HandleEvent):
2006-11-04 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=11521
Bug 11521: [Drosera] Breakpoint editor UI behaves incorrectly when multiple editors are open
* Drosera/debugger.js: Use .// instead of // so that it doesn't root the search at the document.
2006-11-04 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=11513
Bug 11513: [Drosera] Function popup fails to appear when clicking supposedly valid areas.
* Drosera/debugger.css: Stick a min-width on the menu to keep it from becoming smaller than the control.
2006-11-04 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=11512
Bug 11512: [Drosera] Scrolling via keyboard breaks after clicking in function popup.
* Drosera/debugger.js: blur() the function popup when we're done with it.
2006-11-04 Mark Rowe <bdash@webkit.org>
Reviewed by Darin Adler.
Fix use of uninitialized value in pattern match.
* Scripts/webkitdirs.pm:
2006-11-04 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* Scripts/webkitdirs.pm: Don't try to use the Xcode build setting if it's project-relative.
2006-11-03 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=11510
Bug 11510: [Drosera] Doubleclicking the attach table should attach to the clicked item.
* Drosera/DebuggerApplication.m:
(-[DebuggerApplication showAttachPanel:]): Set the doubleAction for the table view
2006-11-03 Vladimir Olexa <vladimir.olexa@gmail.com>
Reviewed by Tim H.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=9596
Bug 9596: [Drosera] add a function popup to the source pane
* Drosera/debugger.css: Added styles for function popup
* Drosera/debugger.html: Added function popup button and select
* Drosera/debugger.js: Added function popup functionality
2006-11-03 Michael Emmel <mike.emmel@gmail.com>
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=9671
* Scripts/wkstyle:
Adds astyle sed script formats according to most of the style guidelines.
2006-11-03 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Adele.
http://bugs.webkit.org/show_bug.cgi?id=7323
REGRESSION (10.4.4): ondrag* events don't fire on page in a frame
When dragging, do not send EventSendingController's events immediately. Dragging
is supposed to be modal, so we need to perform it from within the delegate, without
returning to JS to make the next mouse movement.
When the mouse is down, mouse events are now recorded, and executed when mouseUp is sent.
* DumpRenderTree/EventSendingController.h:
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController dealloc]):
(-[EventSendingController leapForward:]):
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
(+[EventSendingController saveEvent:]):
(+[EventSendingController replaySavedEvents]):
* DumpRenderTree/UIDelegate.m:
(-[UIDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
2006-11-02 Geoffrey Garen <ggaren@apple.com>
Reviewed by Justin Garcia.
Made dumping of editing callbacks opt-in, so that editing spew doesn't
cloud non-editing tests.
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController shouldDumpEditingCallbacks]):
(runTest):
* DumpRenderTree/EditingDelegate.m:
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldDeleteDOMRange:]):
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
(-[EditingDelegate webViewDidBeginEditing:]):
(-[EditingDelegate webViewDidChange:]):
(-[EditingDelegate webViewDidEndEditing:]):
(-[EditingDelegate webViewDidChangeTypingStyle:]):
(-[EditingDelegate webViewDidChangeSelection:]):
2006-11-02 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Maciej, landed by Anders.
- http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
* Scripts/install-win-extras: Make setx.exe actually run.
2006-11-01 Stephanie Lewis <slewis@apple.com>
Reviewed by Kevin.
Fixed bug where additional arguments got fed to xcode and jsdriver.pl
Since testkjs is being built before the tests are run, we don't need
to build it with webkit.
Fixes bugs
http://bugs.webkit.org/show_bug.cgi?id=11462
http://bugs.webkit.org/show_bug.cgi?id=6168
* Scripts/build-webkit:
* Scripts/run-javascriptcore-tests:
2006-11-01 Brady Eidson <beidson@apple.com>
Reviewed by Tim Hatcher
Added accessor to get the source directory for use in client scripts
* Scripts/webkitdirs.pm:
2006-11-01 Mark Rowe <bdash@webkit.org>
Reviewed by Mitz.
Update references to webkit.opendarwin.org to webkit.org in Spinneret and WebKit.app.
* Spinneret/Spinneret/Spinneret.cpp:
(_tWinMain):
* WebKitLauncher/WebKitNightlyEnabler.m:
(cleanUpAfterOurselves):
2006-10-31 Mark Rowe <bdash@webkit.org>
Reviewed by Stephanie.
Limit build slaves to a single build to prevent concurrent builds on a single slave from significantly increasing build time.
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Adjust slave distribution, and make use of a SlaveLock.
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Remove unused Qt build factory.
2006-10-31 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.m: Instead of allocating a single local
pasteboard, allocate any number of local pasteboards.
(main): Allocate the dictionary of pasteboards.
(+[DumpRenderTreePasteboard _pasteboardWithName:]): Allocate a pasteboard,
given a name.
(+[LocalPasteboard alloc]): Added, so we don't have to call NSAllocateObject
explicitly elsewhere.
(-[LocalPasteboard addTypes:owner:]): Added a check that the owner responds
to the selector rather than calling unconditionally.
2006-10-30 Darin Adler <darin@apple.com>
- fixed build
* DumpRenderTree/DumpRenderTree.m: (-[LocalPasteboard setString:forType:]):
Don't use CFPasteboard.
2006-10-30 Vladimir Olexa <vladimir.olexa@gmail.com>
Reviewed by Tim H.
Fixes: http://bugs.webkit.org/show_bug.cgi?id=11353
* Drosera/debugger.js: ParsedURL() object now recognizes local files
2006-10-30 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* DumpRenderTree/DumpRenderTree.m: Changed to allocate a local pasteboard.
This should make our buildbot tests no longer need a pasteboard server.
2006-10-30 Geoffrey Garen <ggaren@apple.com>
Reviewed by Beth.
Reorganized project file into Delegates and Controllers groups, and split
UIDelegate stuff into a UIDelegate class.
A little birdy told me that I might end up adding some UIDelegate methods
to DRT soon.
* DumpRenderTree/DumpRenderTree.m:
(main):
(runTest):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2006-10-31 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Oliver.
Add new platform/graphics include directory.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
2006-10-30 Timothy Hatcher <timothy@apple.com>
Reviewed by Stephanie.
Add a special case for the Internal makefiles, so it can find the OepnSource.
* Scripts/webkitdirs.pm:
2006-10-30 Stephanie Lewis <slewis@apple.com>
Reviewed by Darin Adler.
Change Makefiles to return non-zero when module make fails.
Fix bug where if xcode options are not set, modules can build in the
wrong directory.
* Makefile:
* Scripts/webkitdirs.pm:
2006-10-30 Matt Lilek <pewtermoose@gmail.com>
Reviewed by Tim H.
Fix for http://bugs.webkit.org/show_bug.cgi?id=10468
[Drosera] The Console toolbar button should bring the console window to the front.
The console now gets focus when its activated but already open. Command + L also
now activates/focuses the console.
* Drosera/English.lproj/MainMenu.nib/classes.nib:
* Drosera/English.lproj/MainMenu.nib/info.nib:
* Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
* Drosera/debugger.js:
2006-10-29 Darin Adler <darin@apple.com>
* Scripts/do-file-rename: Renames done, ready for the next round.
* Scripts/do-webcore-rename: Ditto.
2006-10-29 Darin Adler <darin@apple.com>
* Scripts/do-file-rename: And again.
2006-10-29 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Tweaked plans for renaming again.
2006-10-29 Darin Adler <darin@apple.com>
Reviewed by Mitz.
* DumpRenderTree/DumpRenderTree.m: (-[DumpRenderTreeWindow keyDown:]):
Added. Does nothing, which prevents a beep.
* Scripts/do-webcore-rename: Tweaked plans for renaming a bit.
2006-10-27 Brady Eidson <beidson@apple.com>
Rubber stamped by Tim Hatcher
Added "make universal" to build universal binaries
* Makefile:
* Makefile.shared:
2006-10-26 Sam Weinig <sam.weinig@gmail.com>
Reviewed by Geoff.
Fix for http://bugs.webkit.org/show_bug.cgi?id=11419
REGRESSION (r17299): Assertion failure in -[WebHTMLView(WebPrivate) _topHTMLView]
([view isKindOfClass:[WebHTMLView class]]) when running the layout tests
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController mouseMoveToX:Y:]):
2006-10-26 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Darin Adler.
Fix Qt/Linux build.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::open):
2006-10-24 Stephanie Lewis <slewis@apple.com>
Reviewed by Maciej.
- Changed run-javascriptcore tests to build testkjs before running.
* Scripts/run-javascriptcore-tests:
2006-10-24 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Maciej.
Fix Qt/Linux build.
- Remove BrowserExtensionQt, move it's methods to Page/FrameQt.
- Fix CMakeLists.txt to include platform/network.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
2006-10-24 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Bug 11382: [Drosera] Dragging breakpoints onto each other can mess up inline editor
http://bugs.webkit.org/show_bug.cgi?id=11382
* Drosera/debugger.js: Breakpoint dragging now ensures that editors aren't orphaned.
2006-10-21 Darin Adler <darin@apple.com>
* Scripts/commit-log-editor: Use baseProductDir() to find the base product directory.
This was still using "symroots" so it almost never worked!
2006-10-21 Darin Adler <darin@apple.com>
* Makefile: Build DumpRenderTree too.
* Scripts/do-webcore-rename: Removed bogus comment.
2006-10-20 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Bug 11367: Inline Breakpoint Editor Improvements: Act III
http://bugs.webkit.org/show_bug.cgi?id=11367
Major breakpoint editor changes:
* Breakpoints can now either pause or log to console
* Code cleanup through use of XPath and converting breakpoints to objects
* Breakpoints now track how many times they've been reached
* UI tweaks
* The breakpoint editor now saves changes as they're entered
* Because changes are auto-saved now, the save button has been converted to a close button (images from PSMTabBarControl, BSD licensed)
* If an expression with no return is entered as a condition, it will be wrapped transparently with a return statement.
* Drosera/DebuggerDocument.m:
(-[WebScriptObject breakpointEditorHTML]): A way of loading this from an external file, as it was getting too complex to include inline.
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Images/close.tif: Added.
* Drosera/Images/close_active.tif: Added.
* Drosera/Images/close_hover.tif: Added.
* Drosera/breakpointEditor.html: Added.
* Drosera/console.js: Added a way to append messages from outside the console window.
* Drosera/debugger.js:
* Drosera/viewer.css:
* Drosera/viewer.html:
2006-10-18 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Improve the doubleclick behavior of breakpoints, and make breakpoints with no custom condition set appear blank instead of return [-1, 1] depending on enabled state.
* Drosera/DebuggerDocument.m:
(-[WebScriptObject getDoubleClickMillis]): Add an ObjC wrapper for GetDblTime() so that JS can call it
* Drosera/Drosera.xcodeproj/project.pbxproj: link Carbon for GetDblTime()
* Drosera/debugger.js:
2006-10-18 Timothy Hatcher <timothy@apple.com>
Reviewed by Anders.
Bug 10851: Crash with Drosera
http://bugs.webkit.org/show_bug.cgi?id=10851
This crash results in an assert in debug builds.
assert(implementsCall());
The __drosera_introspection propery was not callable. Now we just assign
this.__drosera_introspection in the evaluateWebScript call.
This change also removes one DO message.
* Drosera/DebuggerDocument.m:
(-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
2006-10-18 Mark Rowe <bdash@webkit.org>
Reviewed by Tim H.
http://bugs.webkit.org/show_bug.cgi?id=11304
Bug 11304: Drosera fails to link as universal binary on PowerPC machine
* Drosera/Drosera.xcodeproj/project.pbxproj: Use -weak_framework to link against JavaScriptCore and WebCore directly
when they are not part of the WebKit umbrella framework.
2006-10-18 Adam Roben <aroben@apple.com>
fixo el buildo II: Release's Pride.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2006-10-18 Geoffrey Garen <ggaren@apple.com>
fixo el buildo.
Work around #import of <PDFKit/PDFView.h>.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2006-10-18 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Add Xcode 3 style inline breakpoint editor. Credit to xenon for the CSS wizardry to get the appearance working properly.
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Images/breakpointeditor.png: Added.
* Drosera/breakpointEditor.css: Removed.
* Drosera/breakpointEditor.html: Removed.
* Drosera/breakpointEditor.js: Removed.
* Drosera/debugger.js:
* Drosera/viewer.css:
2006-10-18 David Harrison <harrison@apple.com>
Reviewed by Tim H.
Bug 11341: REGRESSION (r16760): editing/selection/editable-links is failing
http://bugs.webkit.org/show_bug.cgi?id=11341
Link editing behavior became a preference. DumpRenderTree needs to specify the
non-default behavior it wants (WebKitEditableLinkOnlyLiveWithShiftKey).
* DumpRenderTree/DumpRenderTree.m:
(main):
2006-10-15 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Anders.
Make compiler not complain about unused gk. SpinneretWebHost was not setting
initial refcount upon creation, so it is completely bogus.
* GdkLauncher/main.cpp:
(main):
* Spinneret/Spinneret/Spinneret.h:
(SpinneretWebHost::SpinneretWebHost):
2006-10-15 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Oliver.
Add another hanging test, to the "to be skipped" list.
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt:
2006-10-14 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Anders.
Some fixes to get the Qt BuildSlave to run the LayoutTests.
* Scripts/build-dumprendertree: No need to call cmake again.
* Scripts/run-webkit-tests: Expose LD_LIBRARY_PATH.
2006-10-13 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
Force --no-http on Qt/Linux.
* Scripts/run-webkit-tests:
2006-10-13 Kevin McCullough <KMcCullough@apple.com>
Reviewed by Adam.
Gets JavaScripCore tests running on windows.
* Scripts/run-javascriptcore-tests:
* Scripts/webkitdirs.pm:
2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Maciej.
Exclude some tests which crash or hang from Qt/Linux DRT.
These are known to fail, and will be fixed at some point :-)
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::readSkipFile):
(WebCore::DumpRenderTree::checkLoaded):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/tests-skipped.txt: Added.
2006-10-12 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Maciej.
Specialization of alert() for DumpRenderTree - just log the output, don't show any message box.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp:
(WebCore::DumpRenderTreeClient::runJavaScriptAlert):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h:
2006-10-12 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Maciej.
Also regenerate GdkLauncher makefiles, since not doing that might
lead to mismatch between WebCore and GdkLauncher compiler settings.
* Scripts/regenerate-makefiles:
2006-10-10 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Bug 11246: Minor Drosera code cleanup
http://bugs.webkit.org/show_bug.cgi?id=11246
* Drosera/debugger.js: Change [has, add, remove]StyleClass to be a function on Element rather than taking an Element as an argument.
2006-10-10 Vladimir Olexa <vladimir.olexa@gmail.com>
Reviewed by Tim H.
Bug 9778: http://bugs.webkit.org/show_bug.cgi?id=9778
* Drosera/Drosera.xcodeproj/project.pbxproj: Added files
* Drosera/English.lproj/Debugger.nib/info.nib: Resized the main window and WebView
* Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Resized the main window and WebView
* Drosera/Images/SourceArrowOpen.png: Added.
* Drosera/Images/fileIcon.jpg: Added.
* Drosera/Images/siteCollapsed.tif: Added.
* Drosera/Images/siteExpanded.tif: Added.
* Drosera/Images/siteIcon.tif: Added.
* Drosera/debugger.css: Added File Browser styles
* Drosera/debugger.html: Added File Browser UI
* Drosera/debugger.js: Added File Browser functionality
2006-10-10 Darin Adler <darin@apple.com>
* Scripts/do-file-rename: Added.
2006-10-09 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by Geoff.
Add -exit-after-loading option to make gdklauncher quit after fully loading and rendering
a page. This allows automatic testing via e.g. valgrind.
* GdkLauncher/gdklauncher.bkl:
* GdkLauncher/main.cpp:
(LauncherFrameGdk::LauncherFrameGdk):
(LauncherFrameGdk::setExitAfterLoading):
(LauncherFrameGdk::handledOnloadEvents):
(handle_event):
(main):
2006-10-06 David Smith <catfish.man@gmail.com>
Reviewed by Timothy.
Bug 9665: [Drosera] Conditional breakpoints. http://bugs.webkit.org/show_bug.cgi?id=9665
* Drosera/Drosera.xcodeproj/project.pbxproj: Added new files
* Drosera/breakpointEditor.css: Added.
* Drosera/breakpointEditor.html: Added.
* Drosera/breakpointEditor.js: Added.
* Drosera/debugger.js: Added conditional breakpoint support, and the ability to open the breakpoint editor window on option-clicking a breakpoint.
2006-10-06 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Tim H.
Fix Qt/Linux build by adapting the s/ScrollBar/Scrollbar/ changes.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
2006-10-05 Oliver Hunt <ohunt@apple.com>
Reviewed by Anders.
* Scripts/run-webkit-tests:
Fix pixel tests.
2006-10-04 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin Adler.
* Scripts/run-webkit-tests:
Add an environment variable, WebKitExpectedTestResultsDirectory, which controls where expected test
results should be.
2006-10-05 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed and landed by ap.
Cmake: make it possible to install the libraries after having built using 'build-webkit'.
Just set the "WebKitInstallationPrefix" environment variable to your desired prefix.
* Scripts/webkitdirs.pm:
2006-10-04 Mark Rowe <bdash@webkit.org>
Reviewed by Stephanie.
Switch the Qt buildbot to the standard set of build steps.
Have JavaScriptCoreTest check the output of run-javascriptcore-tests to
see if any regressions were spotted, and fail the test if so.
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py:
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py:
2006-10-04 Timothy Hatcher <timothy@apple.com>
Reviewed by Mitz Pettel!
Bug 10708: [Drosera] Make the console input plaintext-only
http://bugs.webkit.org/show_bug.cgi?id=10708
Change the console input -webkit-user-modify property to
read-write-plaintext-only.
* Drosera/console.css:
2006-10-04 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Bug 10473: [Drosera] Overlapping text in JavaScript Console
http://bugs.webkit.org/show_bug.cgi?id=10473
Using min-height instead of height to avoid overlapping text.
* Drosera/console.css:
2006-10-04 David Smith <catfish.man@gmail.com>
Reviewed by Tim H.
Added a bash-style command history.
* Drosera/console.js:
2006-10-03 Anders Carlsson <acarlsson@apple.com>
Reviewed by Adam and Brady.
* DumpRenderTree/DumpRenderTree.m:
(main):
Update URL to Ahem.ttf
2006-10-03 Darin Adler <darin@apple.com>
* Scripts/commit-log-editor: Added missing "close" call. Oops!
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Offer a way for BuildBot to not colorize the cmake output, when building
with the 'build-webkit' script. Add "--color" / "--no-color" option pair.
Default is colorize output, though only Qt platform handles this for now.
* Scripts/build-dumprendertree:
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by eseidel. Landed by eseidel.
Make all important scripts work with Qt/Linux.
You can safely use this now:
set-configuration-release --debug && build-webkit && run-javascriptcore-tests && run-webkit-tests
* Scripts/build-dumprendertree:
* Scripts/run-javascriptcore-tests:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2006-10-03 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric.
build-webkit tweak: Use WebKitBuild/$config as output dir (Release/Debug).
* Scripts/webkitdirs.pm:
2006-10-02 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed/landed by Adam.
Proper build-webkit support for Qt/Linux.
Compilation process is similar to OSX now, aka.
the build directory is RootCheckoutDir/WebKitBuild now.
* Scripts/build-webkit: Recognize Qt.
* Scripts/webkitdirs.pm: Add buildCMakeProject() logic.
2006-10-01 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Maciej.
Add QT build slave to Buildbot.
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Add QT build slave, fix existing errors.
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Add QT build factory.
* BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Disable forcing of builds via web interface to prevent spamming. Use the IRC bot in #webkit-build instead.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Add CMake build step.
2006-09-28 David Harrison <harrison@apple.com>
Suggested by Darin Adler.
Moved an extern declaration from inside a method to the top of the file.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController clearKillRing]):
2006-09-28 David Harrison <harrison@apple.com>
Reviewed by Justin.
Add clearKillRing so we can test emacs support with empty kill ring.
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController clearKillRing]):
2006-09-27 MorganL <morganl.webkit@yahoo.com>
Reviewed by Maciej, landed by Brady
Fix URL bar updating.
* Spinneret/Spinneret/Spinneret.h:
(SpinneretWebHost::didStartProvisionalLoadForFrame):
(SpinneretWebHost::didCommitLoadForFrame):
(SpinneretWebHost::didFinishLoadForFrame):
2006-09-23 Sam Weinig <sam.weinig@gmail.com>
Reviewed by Eric.
Build Fix.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController enableDOMUIEventLogging:]):
2006-09-22 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
* Scripts/do-webcore-rename:
2006-09-21 Timothy Hatcher <timothy@apple.com>
Reviewed by Adam.
Bug 10923: Frame scroll layout test failures on the buildbot
http://bugs.webkit.org/show_bug.cgi?id=10923
Added a new method that will toggle on the recursive dump of
child frame scroll positions.
* DumpRenderTree/DumpRenderTree.m:
(dumpFrameScrollPosition):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpChildFrameScrollPositions]):
2006-09-19 Krzysztof Kowalczyk <kkowalczyk@gmail.com>
Reviewed by eseidel. Landed by eseidel.
Detect that close button was pressed and exit cleanly.
* GdkLauncher/main.cpp:
(handle_event):
(main):
2006-09-17 Adam Roben <aroben@apple.com>
Reviewed by hyatt, sfalken.
Get DumpRenderTree compiling and limping along on Windows.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(loadResourceIntoArray): Added this function that WebCore::ImageWin needs from WebKit
(main): Add NULL argument to Page constructor.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Remove incorrect "wininet.dll" argument to CC, fix JavaScriptCore.lib path, add *_SECURE_NO_DEPRECATE #defines
* Scripts/webkitdirs.pm: Fix JavaScriptCore.lib path
2006-09-15 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Brady.
http://bugs.webkit.org/show_bug.cgi?id=10635
Bug 10635: Buildbot configuration in SVN is out of sync with build.webkit.org
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Reorder build slaves within build factories in an attempt to spread the load evenly.
* BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Return to sending status emails to <svnuser>@opensource.apple.com addresses.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Update configuration to match changes in Buildbot. Always do clean SVG builds.
2006-09-09 Sam Weinig <sam.weinig@gmail.com>
Reviewed by Eric.
Patch for http://bugs.webkit.org/show_bug.cgi?id=10791
Even More Objective-C DOM auto-generation cleanup
- Change to use new, more Objectice-C'ish version of
DOMKeyboardEvent's initKeyboardEvent. Fixes an error with
regression test for fast/events/dblclick-addEventListener.html.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController fireKeyboardEventsToElement:]):
2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Tim H.
Fixes last part of: http://bugs.webkit.org/show_bug.cgi?id=10644
Move QtLauncher down to WebKitQt.
* QtLauncher/CMakeLists.txt: Removed.
* QtLauncher/main.cpp: Removed.
2006-09-04 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Darin Adler.
Fixes parts of: http://bugs.webkit.org/show_bug.cgi?id=10644
Adjust DumpRenderTree to the FrameQtClient changes.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
(WebCore::DumpRenderTree::frame):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h:
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.cpp: Added.
(WebCore::DumpRenderTreeClient::DumpRenderTreeClient):
(WebCore::DumpRenderTreeClient::~DumpRenderTreeClient):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTreeClient.h: Added.
2006-09-03 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: More renaming plans.
2006-09-03 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Tim H.
http://bugs.webkit.org/show_bug.cgi?id=10693
Convert JavaScript arrays to AppleScript lists
* DumpRenderTree/AppleScriptController.m:
(convertAEDescToObject):
(-[AppleScriptController doJavaScript:]): Support printing AEDescLists.
2006-08-31 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Prepare for another round of renaming.
2006-08-29 Dan Waylonis <waylonis@google.com>
Reviewed by ggaren.
- Verification of exceptions thrown in a plugin. Test for bug 10114.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/ObjCPlugin.m:
(+[ObjCPlugin isSelectorExcludedFromWebScript:]):
(+[ObjCPlugin webScriptNameForSelector:]):
(-[ObjCPlugin throwIfArgumentIsNotHello:]):
2006-08-30 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Tim H.
Commit KDE related tweaks, to be able to
differentiate between a Qt-only or a KDE build.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Add ksvg2/ includes.
* QtLauncher/CMakeLists.txt: Add ksvg2/ includes.
2006-08-29 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* Scripts/gdb-safari: Set DYLD_FRAMEWORK_PATH inside gdb instead of setting it in gdb's environment
to work around what seems to be a bug in some versions of gdb.
2006-08-16 Tim Omernick <timo@apple.com>
Reviewed by John Sullivan.
Part of <rdar://problem/4481553> NetscapeMoviePlugIn example code scripting doesn't work in Firefox (4319)
<http://bugs.webkit.org/show_bug.cgi?id=4319>: NetscapeMoviePlugIn example code scripting doesn't work
in Firefox
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_GetValue):
WebKit's NPP_GetValue() reference counting behavior has been changed to match Firefox. NPObject return values
are expected to be retained by the plug-in, and released by the caller.
2006-08-28 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Tim Hatcher.
Fixes one chunk of: http://bugs.webkit.org/show_bug.cgi?id=10604
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp:
(WebCore::DumpRenderTree::checkLoaded): Faster polling for isLoaded() in
Qt's DumpRenderTree.
* Scripts/run-webkit-tests:
Use -expected-qt.txt etc.. output in run-webkit-test if isQt().
2006-08-28 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* Scripts/build-drosera: Fix behavior when there are multiple options.
2006-08-27 Timothy Hatcher <timothy@apple.com>
Reviewed by Anders.
Drosera will be built when you type make.
* Drosera/Makefile: Added.
* Makefile: Added.
* Makefile.shared: Added.
2006-08-27 Anders Carlsson <acarlsson@apple.com>
Forgot to add these.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::checkLoaded):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
(main):
2006-08-27 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric, landed by Anders.
Add DumpRenderTree support for Qt/Linux.
* DumpRenderTree/DumpRenderTree.qtproj/CMakeLists.txt: Added.
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.cpp: Added.
(WebCore::DumpRenderTree::DumpRenderTree):
(WebCore::DumpRenderTree::~DumpRenderTree):
(WebCore::DumpRenderTree::open):
(WebCore::DumpRenderTree::readStdin):
(WebCore::DumpRenderTree::checkLoaded):
* DumpRenderTree/DumpRenderTree.qtproj/DumpRenderTree.h: Added.
* DumpRenderTree/DumpRenderTree.qtproj/main.cpp: Added.
(main):
* Scripts/build-dumprendertree:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
2006-08-24 Nikolas Zimmermann <zimmermann@kde.org>
Reviewed by Eric. Landed by rwlbuis.
Add QtLauncher (was testunity before), which provides a
standalone "browser" to test the Qt platform stuff.
* QtLauncher/CMakeLists.txt: Added.
* QtLauncher/main.cpp: Added.
(main):
2006-08-22 Trey Matteson <trey@usa.net>
Reviewed by ggaren.
Added support for a new set of browser navigation tests. The main feature
is the ability for a test to queue up a set of future actions that will
happen after that first page is loaded. This is used to simulate a sequence
of user actions such as filling out forms, loading additional pages or
going back. In addition we can now dump out the state of the back/forward
list, and the scroll position is dumped if not at 0,0.
* DumpRenderTree/DumpRenderTree.m:
(main): Init new state
(compareHistoryItems): New utility to support sorting.
(dumpHistoryItem): Write out a WebHistoryItem and kids.
(dumpFrameScrollPosition): Write out the scroll position.
(dump): Optionally write b/f list or scroll position.
(-[WaitUntilDoneDelegate processWork:]): Perform queued work.
(-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]):
Kick off any queued actions. Fixed for the case of loads started in
a subframe instead of the root frame.
(-[WaitUntilDoneDelegate webView:didStartProvisionalLoadForFrame:]):
Grab the topmost frame that is being loaded. Do this as early as possible,
instead of in didCommitLoadForFrame.
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
Noting a load has started now happens in previous method.
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Boilerplate
(+[LayoutTestController webScriptNameForSelector:]): Boilerplate
(-[LayoutTestController notifyDone]): readyToDump var is subsumed by
topFrameLoading
(-[LayoutTestController dumpBackForwardList]): New impl, just set a bit.
(-[LayoutTestController _addWorkForTarget:selector:arg1:arg2:]):
Add new work to the queue.
(-[LayoutTestController _doLoad:target:]): Do a queued load.
(-[LayoutTestController _doBackOrForwardNav:]): Do a queued back/forward.
(-[LayoutTestController scheduleBackNav:]): Ways for scripts to queue actions
(-[LayoutTestController scheduleForwardNav:]):
(-[LayoutTestController scheduleReload]):
(-[LayoutTestController scheduleScript:]):
(-[LayoutTestController scheduleLoad:target:]):
(runTest): Clear new state for each test. Renamed from "dumpRenderTree"
since it's not one of the functions that does any dumping.
2006-08-15 Jonas Witt <jonas.witt@gmail.com>
Reviewed by Darin Adler.
- added a function to create a few DOMKeyboardEvents and dispatch
them to a specified HTML element
http://bugs.webkit.org/show_bug.cgi?id=9736
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController fireKeyboardEventsToElement:]):
2006-08-15 Duncan Wilcox <duncan@mclink.it>
Reviewed and tweaked by Darin Adler.
- added DumpRenderTree support so editing delegate can be made to refuse edits
to enable tests for http://bugs.webkit.org/show_bug.cgi?id=10129
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Add setAcceptsEditing:
to the list of methods.
(+[LayoutTestController webScriptNameForSelector:]): Use the name setAcceptsEditing,
without the colon, for the JavaScript name.
(-[LayoutTestController setAcceptsEditing:]): Added. Calls through to the editing
delegate.
(dumpRenderTree): Set the acceptsEditing flag to YES before each test.
* DumpRenderTree/EditingDelegate.h: Added an "acceptsEditing" flag and getter and
setter methods to the class.
* DumpRenderTree/EditingDelegate.m:
(-[EditingDelegate init]): Initialize acceptsEditing to YES.
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]): Instead of always returning YES,
return the value of acceptsEditing.
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]): Ditto.
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]): Ditto.
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]): Ditto.
(-[EditingDelegate webView:shouldDeleteDOMRange:]): Ditto.
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
Ditto.
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]): Ditto.
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]): Ditto.
(-[EditingDelegate setAcceptsEditing:]): Added.
2006-08-03 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin Adler.
Bug 10224: [Drosera] Drosera icon should be set on DroseraLauncher so it appears in nightly builds
http://bugs.webkit.org/show_bug.cgi?id=10224
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/LauncherInfo.plist:
2006-08-03 Mitz Pettel <opendarwin.org@mitzpettel.com>
- fix ASSERTION FAILURE: draggingDocumentView == nil in -[WebViewPrivate dealloc]
when a test performs an unsuccessful drag and drop operation.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController mouseUp]): Added a call to -draggingExited: if the
drag operation for the mouse release is NSDragOperationNone.
2006-08-02 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
Bug 9632: [Drosera] syntax highlighting is slow (reproducible 40 second hang)
http://bugs.webkit.org/show_bug.cgi?id=9632
Do not change the file source when normalizing the line endings.
We use this file source to compare against new versions of the source
as it comes in, so we can skip re-syntax highlighting if they are the same.
The problem is apparent on yahoo.com since they have mixed line endings and
once we normalize them the source will always be different. This was
compounded by the fact that yahoo has around 40 inline scripts. Each
inline script causes us to check if the main document has more loaded,
that is when we compare the source strings. Since they are always different
we would syntax highlight yahoo.com 40 times! We do check source length before
doing a more expensive string comparison, but the lengths were the same.
* Drosera/debugger.js:
2006-08-02 Niels Leenheer <niels.leenheer@gmail.com>
Reviewed by Timothy.
Bug 9931: [Drosera] Needs a cool icon
http://bugs.webkit.org/show_bug.cgi?id=9931
* Drosera/Drosera.icns: Added.
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Info.plist:
2006-08-01 Darin Adler <darin@apple.com>
- fix a bug in my recent change where the mouse position at the end of
the last test would affect the results of the next test
* DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Set lastMousePosition to 0.
2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=10182
Bug 10182: [Drosera] Evaluating expressions in Console is slow when current frame has many variables
* Drosera/console.js: String.indexOf returns -1 when the string is not found.
Correct the logic to not reload local variable list unless an '=' character is in the expression.
2006-07-31 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- fix http://bugs.webkit.org/show_bug.cgi?id=10171
REGRESSION: failing layout test: fast/events/objc-event-api.html
* DumpRenderTree/DumpRenderTree.m:
(main): Add pose so we can implement +[NSEvent mouseLocation]. Put the window at a predictable
location in flipped coordinates, since those are the coordinates that we use.
(+[DumpRenderTreeEvent mouseLocation]): Implement this, since it's used for mouse event handling
inside WebHTMLView.
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController initialize]): Removed unused webkitDomEventProperties array.
(-[EventSendingController init]): Removed, since the whole thing was a no-op.
(-[EventSendingController mouseMoveToX:Y:]): Convert the x,y pair to window coordinates. The old code
probably worked OK, but this is needed to be correct.
(-[EventSendingController handleEvent:]): Put clientX/Y before screenX/Y and removed the flipping
code from screenY. We didn't really need to flip screenY -- what was actually happening was that the
position that DumpRenderTree chose was in non-flipped coordinates, and with that fixed we can just
dump the screenY as-is.
2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=10178
Bug 10178: [Drosera] Selecting a frame in the stack list should take you to that location in the source
* Drosera/debugger.js: Keep a stack that contains the source file and line number references for outer
frames. Use this stack to determine which file and line to highlight when a stack frame is selected.
2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=10175
Bug 10175: [Drosera] Anonymous functions show up as "(global scope)" in stack list
* Drosera/DebuggerDocument.m:
(-[WebScriptObject currentFunctionStack]): If the frame has a caller it isn't the global scope.
2006-07-31 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=10167
Bug 10167: REGRESSION(r15688): ASSERTION FAILED: _private->mouseDownEvent != nil in layout tests
* DumpRenderTree/EventSendingController.m: Don't set the mouse down flag
in keyDown handler.
2006-07-30 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Maciej.
Bug 9686: [Drosera] Need the ability to break into Drosera on Javascript exceptions
http://bugs.webkit.org/show_bug.cgi?id=9686
* Drosera/DebuggerDocument.m:
(-[WebScriptObject switchToServerNamed:]): Remove as listener before resuming to
ensure that the server does not try and notify us of events related to the resumption.
(-[WebScriptObject webView:exceptionWasRaised:sourceId:line:forWebFrame:]): Delegate
call through to JavaScript.
* Drosera/debugger.js: Pause debugger when exception is raised.
2006-07-29 Mike Emmel <mike.emmel@gmail.com>
Reviewed by Darin Adler.
- fixes for Linux build
* GdkLauncher/mk: Added call to bakefile_gen before calling make.
* GdkLauncher/gdklauncher.bkl: Tweak comment.
2006-07-24 Dan Waylonis <waylonis@google.com>
Reviewed and tweaked a bit by Darin Adler.
* DumpRenderTree/ObjCPlugin.m:
(+[ObjCPlugin isSelectorExcludedFromWebScript:]): Added "echo:".
(+[ObjCPlugin webScriptNameForSelector:]): Use the name "echo" for
"echo:" so it's nice to call from JavaScript.
(-[ObjCPlugin echo:]): Just returns the same object -- can be used
to test a round trip through Objective-C types.
2006-07-24 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
Fix http://bugs.webkit.org/show_bug.cgi?id=10060
Improve iExploder results parsing
* Scripts/run-iexploder-tests: Fix Apach logs parsing to produce a correct results
in random mode, too.
2006-07-18 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Timothy.
- fix http://bugs.webkit.org/show_bug.cgi?id=9964
Add switch to prepare-ChangeLog to skip svn update of ChangeLog files
* Scripts/prepare-ChangeLog: Added --[no-]update switch.
2006-07-16 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin Adler.
* BuildSlaveSupport/build.webkit.org-config/buildbot.css:
Removed "No newline at end of file" that snuck in as part of the "apply patch" process.
* GdkLauncher/mk:
Removed "Property changes" that snuck in as part of the "apply patch" process.
2006-07-16 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=9875
Teach svn-apply and svn-unapply to use patch(1) for additions and deletions
* Scripts/svn-apply:
(addDirectoriesIfNeeded): Don't try to add a directory that's already in svn.
(checksum): Added.
(patch): Use patch(1) for non-binary additions and deletions.
* Scripts/svn-unapply:
(checksum): Added.
(patch): Use patch(1) for reverting non-binary additions and deletions.
(revertDirectories): Don't try to revert a directory that hasn't changed in svn.
2006-07-13 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Timothy.
Bug 9889: [Drosera] Stepping out when paused after last statement in function skips a frame
http://bugs.webkit.org/show_bug.cgi?id=9889
* Drosera/debugger.js: Track whether we paused during the execution of willLeaveFrame. If
so, have stepOut pause on the next call to willExecuteStatement rather than second.
2006-07-12 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=9848
Teach svn-create-patch and friends to fix ChangeLog patches
* Scripts/svn-apply: Added fixChangeLogPatch() and invoked it in the proper place.
* Scripts/svn-create-patch: Ditto.
* Scripts/svn-unapply: Ditto.
2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by ggaren.
Bug 9869: [Drosera] JS Console fails to evaluate input when paused in global scope
http://bugs.webkit.org/show_bug.cgi?id=9869
* Drosera/DebuggerDocument.m:
(-[WebScriptObject currentFunctionStack]): Include the global frame in the stack.
2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by ggaren.
Bug 9863: Drosera needs to show something at launch
http://bugs.webkit.org/show_bug.cgi?id=9863
* Drosera/DebuggerApplication.m:
(-[DebuggerApplication applicationDidFinishLaunching:]): Show the attach window on launch.
2006-07-12 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Timothy.
Lets Drosera build universal for the nightlies. Right now it is not
possible to build a universal binary on a PPC machine because of a
conflict with the universal SDK.
* BuildSlaveSupport/build-launcher-app:
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
2006-07-11 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Tim O.
- test for http://bugs.webkit.org/show_bug.cgi?id=7808
Assertion failure in -[WebBaseNetscapePluginStream dealloc] when requesting an invalid URL
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginInvoke): treat getURL() with one parameter as if the second parameter were NULL -
should open a new stream and deliver the data to the current instance.
2006-07-11 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
Bug 9598: [Drosera] add a JavaScript evaluator console
http://bugs.webkit.org/show_bug.cgi?id=9598
* Drosera/DebuggerApplication.h:
* Drosera/DebuggerApplication.m:
(-[DebuggerApplication knownServers]):
* Drosera/DebuggerDocument.h:
* Drosera/DebuggerDocument.m:
(-[WebScriptObject evaluateScript:inCallFrame:]):
(-[WebScriptObject showConsole:]):
(-[WebScriptObject toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
(-[WebScriptObject toolbarDefaultItemIdentifiers:]):
(-[WebScriptObject toolbarAllowedItemIdentifiers:]):
(-[WebScriptObject webView:createWebViewWithRequest:]):
(-[WebScriptObject webViewShow:]):
(-[WebScriptObject webViewAreToolbarsVisible:]):
(-[WebScriptObject webView:setToolbarsVisible:]):
(-[WebScriptObject webView:setResizable:]):
(-[WebScriptObject webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame:]):
(-[WebScriptObject scriptConfirmSheetDidEnd:returnCode:contextInfo:]):
(-[WebScriptObject webView:runJavaScriptConfirmPanelWithMessage:initiatedByFrame:]):
(-[WebScriptObject webView:windowScriptObjectAvailable:]):
(-[WebScriptObject webView:didFinishLoadForFrame:]):
(-[WebScriptObject webView:didReceiveTitle:forFrame:]):
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Images/console.png: Added.
* Drosera/console.css: Added.
* Drosera/console.html: Added.
* Drosera/console.js: Added.
2006-07-11 Timothy Hatcher <timothy@apple.com>
Reviewed by a tired Geoff.
Bug 9597: [Drosera] hook up the variables table to show stack variables
http://bugs.webkit.org/show_bug.cgi?id=9597
* Drosera/DebuggerDocument.m:
(-[WebScriptObject isSelectorExcludedFromWebScript:]):
(-[WebScriptObject webScriptAttributeKeysForScriptObject:]):
(-[WebScriptObject localScopeVariableNamesForCallFrame:]):
(-[WebScriptObject valueForScopeVariableNamed:inCallFrame:]):
(-[WebScriptObject webView:didReceiveTitle:forFrame:]):
(-[WebScriptObject webView:didLoadMainResourceForDataSource:]):
(-[WebScriptObject webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
(-[WebScriptObject webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
(-[WebScriptObject webView:willExecuteStatement:sourceId:line:forWebFrame:]):
(-[WebScriptObject webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
* Drosera/debugger.css:
* Drosera/debugger.html:
* Drosera/debugger.js:
2006-07-10 Tim Omernick <timo@apple.com>
Reviewed by Beth Dakin.
<http://bugs.webkit.org/show_bug.cgi?id=9844>:
Add DOM access test to DumpRenderTree's Netscape plug-in
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(testDOMAccess):
(pluginInvoke):
2006-07-10 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=9839
Bug 9839: Nightly launcher fails to detect extensions when extension causes crash on load
Now track three states: initializing, running, and closed. If we are launched and the previous
state was initializing then we likely just experienced a crash on launch.
* WebKitLauncher/WebKitNightlyEnabler.m:
(myApplicationWillFinishLaunching): Improve wording of dialog. Update to set new running state.
(myApplicationWillTerminate): Update to use new states.
(cleanUpAfterOurselves): Display alert if previous state was initializing. Set state as
initializing as early as practical.
(symbol_lookup): Bring code up to speed with formatting guidelines.
(GDSymbolLookup): Ditto.
2006-07-10 Darin Adler <darin@apple.com>
- try to fix Windows build
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
Remove include paths with "khtml" in them. Add one for "html" subdir or WebCore.
2006-07-09 David Kilzer <ddkilzer@kilzer.net>
Build fix.
- Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Backed out previous change.
2006-07-09 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=9693
svn-apply should set ChangeLog date correctly when applying patches
* Scripts/svn-apply: Set the ChangeLog entry date using a configurable timezone
before applying the patch.
* Scripts/svn-unapply: Reset the ChangeLog entry date before unapplying the patch.
2006-07-09 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Final version of this round of renaming for posterity.
2006-07-09 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Next round of renaming. (Last round was done.)
2006-07-09 David Kilzer <ddkilzer@kilzer.net>
- http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Restore Hyatt's original logic to make buildbot
work again. Add VC++ Express check as the fallback.
2006-07-09 Bjoern Graf <bjoern.graf@gmail.com>
Reviewed by Timothy Hatcher.
- http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
2006-07-09 Joost de Valk <jdevalk@opendarwin.org>
Reviewed by Eric.
Fixes bug http://bugs.webkit.org/show_bug.cgi?id=9804 .
Patch by coldwinter@katamail.com.
In the congratulations message, "capatibilies" should be "capabilities".
* Scripts/build-webkit:
2006-07-09 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Timothy Hatcher.
- http://bugs.webkit.org/show_bug.cgi?id=9794
Teach run-webkit-tests how to ignore tests with performance improvements
* Scripts/run-webkit-tests: Speed up test list generation, implement --ignore-tests
feature, and minor clean up.
2006-07-08 Darin Adler <darin@apple.com>
Reviewed by Geoff (well, half of it at least).
- http://bugs.webkit.org/show_bug.cgi?id=9788
storage leaks in Objective-C tests
* DumpRenderTree/DumpRenderTree.m: (-[LayoutTestController keepWebHistory]):
* DumpRenderTree/ObjCPlugin.m: (-[ObjCPlugin removeBridgeRestrictions:]):
Add a release to fix a storage leak.
2006-07-08 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: A few more.
2006-07-08 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Another cut at renames. About ready to go (later today).
2006-07-04 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=9734
- add support for dumping non-HTML as text - in this case use textContent
instead of innerText
* DumpRenderTree/DumpRenderTree.m:
(dump):
2006-07-02 Timothy Hatcher <timothy@apple.com>
Reviewed by Eric.
Bug 9631: [Drosera] Add "Step Over" and "Step Out"
http://bugs.webkit.org/show_bug.cgi?id=9631
Adds step over and step out. Along with a little code cleanup
that was minor enough to piggyback on this fix.
* Drosera/DebuggerDocument.h:
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument stepOver:]):
(-[DebuggerDocument stepOut:]):
(-[DebuggerDocument windowDidLoad]):
(-[DebuggerDocument windowWillClose:]):
(-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
(-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
(-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
(-[DebuggerDocument validateUserInterfaceItem:]):
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/debugger.html:
* Drosera/debugger.js:
* Drosera/viewer.css:
2006-07-02 Timothy Hatcher <timothy@apple.com>
Reviewed by Eric.
Bug 9628: [Drosera] Split Views acting oddly
http://bugs.webkit.org/show_bug.cgi?id=9628
Only update the last X or Y coordinate if the new
size was not constrained. Also adds the resize cursor to
the body during the drag incase there is a constrained
over drag off of the resizer element.
* Drosera/debugger.js:
2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Alexey Proskuryakov.
Bug 9692: Warning about Safari extensions on every launch is obnoxious
http://bugs.webkit.org/show_bug.cgi?id=9692
* WebKitLauncher/WebKitNightlyEnabler.m:
(myApplicationWillTerminate): Note that we are exiting cleanly.
(cleanUpAfterOurselves): Install bundle load tracking only if we failed
to exit cleanly on our last invocation. This doesn't play nicely with
multiple concurrent instances of WebKit.app so it can be disabled via
defaults write com.apple.Safari WKNEShouldMonitorShutdowns -bool NO.
2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Alexey Proskuryakov.
Bug 9654: Refresh Loop when accessing feed URLs
http://bugs.webkit.org/show_bug.cgi?id=9654
* WebKitLauncher/Info.plist: Don't claim to handle feed:// URLs.
2006-07-02 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Timothy Hatcher.
Bug 9689: Nightly builds should warn a user about potential problems when using
"Safari extensions"
http://bugs.webkit.org/show_bug.cgi?id=9689
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
* WebKitLauncher/WebKitNightlyEnabler.m:
(myBundleDidLoad): Keep track of if any bundles that are loaded.
(myApplicationWillFinishLaunching): Notify user if any bundles are loaded.
(cleanUpAfterOurselves): Register for NSBundleDidLoadNotification and
NSApplicationWillFinishLaunchingNotification notifications so that we can
track bundle loads and notify the user at launch completion.
2006-06-30 Mike Emmel <mike.emmel@gmail.com>
Reviewed by Darin Adler.
- first check-in of a Gdk shell for testing WebKit
* GdkLauncher: Added.
2006-06-29 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
Need to call window close so WebView tears-down completly.
* DumpRenderTree/DumpRenderTree.m:
(main): call [window close]
2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin Adler.
Bug 9615: Buildbot configuration should be in SVN repository
http://bugs.webkit.org/show_bug.cgi?id=9615
Import BuildBot configuration files as used by build.webkit.org.
auth.py has been stubbed out so that slave passwords are not disclosed.
* BuildSlaveSupport/build.webkit.org-config/Makefile: Added.
* BuildSlaveSupport/build.webkit.org-config/buildbot.css: Added.
* BuildSlaveSupport/build.webkit.org-config/buildbot.tac: Added.
* BuildSlaveSupport/build.webkit.org-config/master.cfg: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/__init__.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/auth.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/basesteps.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/builders.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/factories.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/schedulers.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/status.py: Added.
* BuildSlaveSupport/build.webkit.org-config/webkit/steps.py: Added.
2006-06-29 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin Adler.
Bug 9614: Nightly builds should notify user if a newer build is available
http://bugs.webkit.org/show_bug.cgi?id=9614
* BuildSlaveSupport/build-launcher-app: Write revision number to WebKit.app's VERSION file.
* BuildSlaveSupport/build-launcher-dmg: Pass revision number to server-side nightly maintenance
script so it can keep track of the latest revision.
* Scripts/run-webkit-tests: Pass build-dumprendertree's exit status through correctly.
* WebKitLauncher/VERSION: Added. Placeholder for SVN revision number
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
* WebKitLauncher/start.html: Retrieve revision number from VERSION file, and pass it through to
the nightly start page.
2006-06-26 Jonas Witt <jonas.witt@gmail.com>
Reviewed by Darin Adler.
Bug 9579: LayoutTests/fast/events/objc-event-api.html failing due to screenY output
http://bugs.webkit.org/show_bug.cgi?id=9579
Report screenY values as (height of zero screen - screenY)
* DumpRenderTree/EventSendingController.m: (-[EventSendingController handleEvent:]):
2006-06-25 Timothy Hatcher <timothy@apple.com>
Reviewed by Geoff.
Bug 9591: [Drosera] breakpoints should be dragable and deletable by dragging off the gutter
http://bugs.webkit.org/show_bug.cgi?id=9591
Makes breakpoints dragable. If dragged off the gutter they are deleted.
* Drosera/debugger.js:
* Drosera/viewer.css:
2006-06-25 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
Bug 9568: assertion failure in Safari after quitting Drosera
http://bugs.webkit.org/show_bug.cgi?id=9568
Call switchToServerNamed:nil and not removeLister to make sure
the server object is set to nil to prevent further removeListener calls.
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument applicationTerminating:]):
2006-06-25 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin Adler.
* Scripts/svn-apply: Speed up isDirectoryEmptyForRemoval() by returning as soon as we find
that the directory is not empty instead of reading in every single file and directory first,
then checking the count. Avoid warning in removeDirectoriesIfNeeded() if $svnOutput is not
defined.
2006-06-25 Darin Adler <darin@apple.com>
* Scripts/svn-apply: Tweak comments.
* Scripts/svn-create-patch: Ditto.
* Scripts/svn-unapply: Ditto.
2006-06-25 David Kilzer <ddkilzer@kilzer.net>
Formatting fix per Bug 9571 Comment #2.
http://bugs.webkit.org/show_bug.cgi?id=9571#c2
* Scripts/svn-apply: Formatting fix.
2006-06-25 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=9571
Teach svn-apply and svn-unapply to handle directory adds and removes better
* Scripts/svn-apply: Handle directory adds more intelligently. Handle directory removes.
* Scripts/svn-unapply: Handle undoing both directory adds and removes.
2006-06-25 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
Bug 9574: Drosera should show inline scripts within the original HTML
http://bugs.webkit.org/show_bug.cgi?id=9574
Refactor the JavaScript code to have a distinction between files
and scripts. Show the script in the context of the HTML file if
it's URL is the same as the frame's main resource. At the time of
the disParseScript callback the main resource might not be completely
loaded, but Drosera needs to show whatever we have at the time. Once
the main resource is finished, update the file source and reload the file.
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument pause]):
(-[DebuggerDocument webView:didLoadMainResourceForDataSource:]):
(-[DebuggerDocument webView:didParseSource:baseLineNumber:fromURL:sourceId:forWebFrame:]):
(-[DebuggerDocument webView:failedToParseSource:baseLineNumber:fromURL:withError:forWebFrame:]):
* Drosera/debugger.css:
* Drosera/debugger.js:
2006-06-24 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=9570
Teach prepare-ChangeLog to operate on a list of files or directories
* Scripts/prepare-ChangeLog: Accept a list of files and/or directories when running.
* Scripts/svn-create-patch: Code refactoring.
2006-06-24 James G. Speth <speth@end.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=8843
add a way to build Objective-C test cases in HTML
Tests running in DumpRenderTree can choose to relax some restrictions of the JavaScript/Objective-C bridge
allowing more extensive testing of the Obj-C API. (and by more extensive, I mean this lets scripts do
pretty much whatever they want, including acting as delegates, generating events, instantiating obj-c
objects, etc... )
* DumpRenderTree/ObjCPlugin.h:
* DumpRenderTree/ObjCPlugin.m: this ability is only exposed to scripts running in DumpRenderTree
(+[ObjCPlugin isSelectorExcludedFromWebScript:]):
(+[ObjCPlugin webScriptNameForSelector:]):
(-[ObjCPlugin removeBridgeRestrictions:]): scripts call this to open up obj-c for extensive testing
(+[NSObject setAllowsScriptsFullAccess:]): makes NSObject allow all selectors to be invoked from script
(+[NSObject allowsScriptsFullAccess]):
(+[NSObject isSelectorExcludedFromWebScript:]): when full access is enabled, no selector is excluded
(+[NSObject webScriptNameForSelector:]): always return nil for the default selector mutation
(-[JSObjC classNameOfObject:isSelectorExcludedFromWebScript:]):
(+[JSObjC webScriptNameForSelector:]):
(-[JSObjC invokeDefaultMethodWithArguments:]): shortcut for accessing classes
(-[JSObjC lookUpClass:]): allow scripts to retrieve obj-c classes by name
(-[JSObjC log:]): access to NSLog function
(-[JSObjC retainObject:]): useful obj-c functions that are otherwise hard to reach from javascript
(-[JSObjC classOfObject:]):
(-[JSObjC classNameOfObject:]):
2006-06-24 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Timothy.
* DrawTest/Info.plist: Added copyright statement.
* Drosera/Info.plist: Ditto.
* DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Ditto.
* WebKitLauncher/Info.plist: Ditto.
2006-06-24 David Kilzer <ddkilzer@kilzer.net>
Build fix.
- Backed out http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Backed out previous change.
2006-06-24 Bjoern Graf <bjoern.graf@gmail.com>
Reviewed by Maciej.
- http://bugs.webkit.org/show_bug.cgi?id=7802
devenv.com not available in VC++ Express installations
* Scripts/webkitdirs.pm: Make Windows build work with Visual C++ Express.
2006-06-24 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=9564
A bunch of fixes to run-webkit-httpd
- Add an -all-interfaces (-a) flag to bind to all interfaces, not just
127.0.0.1. Useful for testing with WinIE running on another machine;
- don't call checkFrameworks() - we do not need a built WebKit here;
- changed tabs to spaces;
- disable HTTP keepalive (since Apache doesn't spawn sub-processes in
interactive mode, they were a hassle when testing with several browsers, as one
had to wait for connection to expire);
- remove httpd.pid when done, so that Apache doesn't complain next time.
* Scripts/run-webkit-httpd:
2006-06-24 Jonas Witt <jonas.witt@gmail.com>
Reviewed by ggaren, landed by ap.
- http://bugs.webkit.org/show_bug.cgi?id=9181
Complete DOMUIEvent Obj-C API to reflect UIEvent
Add function to enable logging of all events of one DOM node to stdout.
* DumpRenderTree/EventSendingController.h:
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController initialize]):
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController enableDOMUIEventLogging:]):
(-[EventSendingController handleEvent:]):
2006-06-23 Kevin Decker <kdecker@apple.com>
Reviewed by Tim Hatcher.
- Made column headers in Drosera resizable.
2006-06-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by ggaren.
- see http://bugs.webkit.org/show_bug.cgi?id=9539
Another case error preventing build
* Scripts/webkitdirs.pm: Building WebKit now requires Xcode 2.3.
2006-06-22 Timothy Hatcher <timothy@apple.com>
Reviewed by Eric.
Adds a native toolbar to Drosera to be a good citizen.
Adds a Debug menu with key-commands for Continue, Pause and Step Into.
Fixes a dragging bug from an earlier fix to the divider code.
Fixes some poor indenting in debugger.js.
* Drosera/DebuggerDocument.h:
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument stepInto]):
(-[DebuggerDocument pause:]):
(-[DebuggerDocument resume:]):
(-[DebuggerDocument stepInto:]):
(-[DebuggerDocument windowDidLoad]):
(-[DebuggerDocument toolbar:itemForItemIdentifier:willBeInsertedIntoToolbar:]):
(-[DebuggerDocument toolbarDefaultItemIdentifiers:]):
(-[DebuggerDocument toolbarAllowedItemIdentifiers:]):
(-[DebuggerDocument validateUserInterfaceItem:]):
* Drosera/English.lproj/MainMenu.nib/classes.nib:
* Drosera/English.lproj/MainMenu.nib/info.nib:
* Drosera/English.lproj/MainMenu.nib/keyedobjects.nib:
* Drosera/debugger.css:
* Drosera/debugger.html:
* Drosera/debugger.js:
* Drosera/viewer.html:
2006-06-22 Kevin Decker <kdecker@apple.com>
Reviewed by Anders.
- Added pressed column header image.
- Made column headers behave more like Xcode.
2006-06-22 Timothy Hatcher <timothy@apple.com>
Reviewed by Kevin Decker.
Code clean up. Adds the stackframe and makes only the body
of the tables scrollable keeping the header visible.
Shows the current function stack when paused or stepping.
* Drosera/DebuggerApplication.m:
(-[DebuggerApplication awakeFromNib]):
(-[DebuggerApplication numberOfRowsInTableView:]):
(-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
* Drosera/DebuggerDocument.h:
* Drosera/DebuggerDocument.m:
(-[DebuggerDocument dealloc]):
(-[DebuggerDocument currentFrame]):
(-[DebuggerDocument currentFrameFunctionName]):
(-[DebuggerDocument currentFunctionStack]):
(-[DebuggerDocument log:]):
(-[DebuggerDocument windowWillClose:]):
(-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
(-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/debugger.css:
* Drosera/debugger.html:
* Drosera/debugger.js:
2006-06-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Anders.
Teach run-webkit-httpd to properly look for webkitdirs.pm.
* Scripts/run-webkit-httpd:
2006-06-22 Kevin Decker <kdecker@apple.com>
Reviewed by Tim Hatcher.
- More progress toward Javascript Debugger.
- Added some new images to the project.
2006-06-21 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Anders.
- http://bugs.webkit.org/show_bug.cgi?id=9516
Would like a script to run a httpd server with the same configuration as run-webkit-tests http
* Scripts/run-webkit-httpd: Added.
2006-06-20 Timothy Hatcher <timothy@apple.com>
Reviewed by Eric.
Builds Drosera and a launcher to include with the nightly.
* BuildSlaveSupport/build-launcher-app:
* BuildSlaveSupport/build-launcher-dmg:
* Drosera/Drosera.xcodeproj/project.pbxproj:
* Drosera/Info.plist:
* Drosera/LauncherInfo.plist: Added.
* Drosera/launcher.m: Added.
(displayErrorAndQuit):
(checkMacOSXVersion):
(myExecve):
(main):
* Scripts/build-drosera
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj:
* WebKitLauncher/main.m:
(main):
2006-06-20 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
Adds a JavaScript debugger, called Drosera. Named after
a genus of bug eating plants.
* Drosera/DebuggerApplication.h: Added.
* Drosera/DebuggerApplication.m: Added.
(-[DebuggerApplication applicationDidFinishLaunching:]):
(-[DebuggerApplication serverLoaded:]):
(-[DebuggerApplication serverUnloaded:]):
(-[DebuggerApplication awakeFromNib]):
(-[DebuggerApplication showAttachPanel:]):
(-[DebuggerApplication attach:]):
(-[DebuggerApplication numberOfRowsInTableView:]):
(-[DebuggerApplication tableView:objectValueForTableColumn:row:]):
(-[DebuggerApplication tableView:willDisplayCell:forTableColumn:row:]):
(-[DebuggerApplication tableViewSelectionDidChange:]):
* Drosera/DebuggerDocument.h: Added.
* Drosera/DebuggerDocument.m: Added.
(+[WebScriptCallFrame isSelectorExcludedFromWebScript:]):
(+[WebScriptCallFrame isKeyExcludedFromWebScript:]):
(+[DebuggerDocument isSelectorExcludedFromWebScript:]):
(+[DebuggerDocument isKeyExcludedFromWebScript:]):
(-[DebuggerDocument initWithServerName:]):
(-[DebuggerDocument windowWillClose:]):
(-[DebuggerDocument dealloc]):
(-[DebuggerDocument isPaused]):
(-[DebuggerDocument pause]):
(-[DebuggerDocument resume]):
(-[DebuggerDocument step]):
(-[DebuggerDocument windowNibName]):
(-[DebuggerDocument windowDidLoad]):
(-[DebuggerDocument switchToServerNamed:]):
(-[DebuggerDocument applicationTerminating:]):
(-[DebuggerDocument serverConnectionDidDie:]):
(-[DebuggerDocument webView:windowScriptObjectAvailable:]):
(-[DebuggerDocument webView:didFinishLoadForFrame:]):
(-[DebuggerDocument webView:didParseSource:fromURL:sourceId:forWebFrame:]):
(-[DebuggerDocument webView:didEnterCallFrame:sourceId:line:forWebFrame:]):
(-[DebuggerDocument webView:willExecuteStatement:sourceId:line:forWebFrame:]):
(-[DebuggerDocument webView:willLeaveCallFrame:sourceId:line:forWebFrame:]):
* Drosera/Drosera.pch: Added.
* Drosera/Drosera.xcodeproj/project.pbxproj: Added.
* Drosera/English.lproj/Debugger.nib/classes.nib: Added.
* Drosera/English.lproj/Debugger.nib/info.nib: Added.
* Drosera/English.lproj/Debugger.nib/keyedobjects.nib: Added.
* Drosera/English.lproj/MainMenu.nib/classes.nib: Added.
* Drosera/English.lproj/MainMenu.nib/info.nib: Added.
* Drosera/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
* Drosera/Images/breakPoint.tif: Added.
* Drosera/Images/breakPointDisabled.tif: Added.
* Drosera/Images/continue.tif: Added.
* Drosera/Images/finishFunction.tif: Added.
* Drosera/Images/glossyFooterFill.tif: Added.
* Drosera/Images/glossyHeader.png: Added.
* Drosera/Images/gradientBackground.png: Added.
* Drosera/Images/gutter.png: Added.
* Drosera/Images/navLeftDisabled.png: Added.
* Drosera/Images/navLeftNormal.png: Added.
* Drosera/Images/navLeftPressed.png: Added.
* Drosera/Images/navRightDisabled.png: Added.
* Drosera/Images/navRightNormal.png: Added.
* Drosera/Images/navRightPressed.png: Added.
* Drosera/Images/pause.tif: Added.
* Drosera/Images/popUpArrows.png: Added.
* Drosera/Images/programCounter.tif: Added.
* Drosera/Images/programCounterBreakPoint.tif: Added.
* Drosera/Images/programCounterBreakPointDisabled.tif: Added.
* Drosera/Images/run.tif: Added.
* Drosera/Images/splitterBar.tif: Added.
* Drosera/Images/splitterDimple.tif: Added.
* Drosera/Images/step.tif: Added.
* Drosera/Images/stepOver.tif: Added.
* Drosera/Images/stop.tif: Added.
* Drosera/Images/toolbarBackground.png: Added.
* Drosera/Info.plist: Added.
* Drosera/debugger.css: Added.
* Drosera/debugger.html: Added.
* Drosera/debugger.js: Added.
* Drosera/main.m: Added.
(main):
* Drosera/viewer.css: Added.
* Drosera/viewer.html: Added.
2006-06-18 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9485
Teach svn-apply and svn-unapply to use full path names
* Scripts/svn-apply: Changed to use full path names. Cleaned up code.
* Scripts/svn-unapply: Ditto.
2006-06-18 David Kilzer <ddkilzer@kilzer.net>
Reviewed by ggaren.
- http://bugs.webkit.org/show_bug.cgi?id=9150
DumpRenderTree should be able to keep URL history during runs
Test: LayoutTests/fast/history/clicked-link-is-visited.html
* DumpRenderTree/DumpRenderTree.m: Add keepWebHistory function to layoutTestController
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Updated for keepWebHistory.
(-[LayoutTestController keepWebHistory]): Added. We only set optional shared history if
it is currently nil since keepWebHistory() might be called more than once incidentally
for the same test.
(dumpRenderTree): Set optional shared history in WebHistory to nil by default.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Xcode 2.3 clean up.
2006-06-11 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9395
Make prepare-ChangeLog faster
* Scripts/prepare-ChangeLog: Use "svn diff" instead of "svn stat" to find changed files,
then save the diff output for reuse. Keep a status variable if changes are made to
LayoutTests so "svn diff LayoutTests" doesn't have to be run to check for changes when
WebCore is updated. Added -h|--help command-line switch and help message. Move test
for no changed files closer to the beginning of the program.
2006-06-10 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed and landed by ap.
- make DumpRenderTree build
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Changed _updateFocusState to _updateActiveState
(-[WaitUntilDoneDelegate webViewFocus:]): Ditto.
(-[LayoutTestController setWindowIsKey:]): Ditto.
(-[LayoutTestController setMainFrameIsFirstResponder:]): Ditto.
2006-06-09 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Darin, landed by Geoff.
http://bugs.webkit.org/show_bug.cgi?id=9350
Use pathcmp() when sorting paths in svn-create-patch
* Scripts/run-webkit-tests: Fixed splitpath() to use File::Basename subroutines instead of regex.
* Scripts/svn-create-patch: Copied numericcmp(), pathcmp() and splitpath() from run-webkit-tests.
Changed sort() functions to use pathcmp(). Added subroutine prototypes. Added -h command-line
switch and printUsage() subroutine.
2006-06-06 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9322
Teach svn-create-patch to sort its output
* Scripts/svn-create-patch: Clean up perl code. Sort patch output alphabetically
by text files first, then by binary files.
2006-06-04 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9299
Teach svn-create-patch and friends to work with binary files
* Scripts/svn-apply: Updated to use base64-encoded text for binary files when applying patches.
* Scripts/svn-create-patch: Updated to include binary file content as base64-encoded text in patches.
* Scripts/svn-unapply: Updated to recognize binary files when unapplying patches.
2006-06-03 David Kilzer <ddkilzer@kilzer.net>
Reviewed by Maciej.
http://bugs.webkit.org/show_bug.cgi?id=9296
Performance improvement for svn-create-patch
* Scripts/svn-create-patch: Undef $indexPath after all paths have been fixed for a given patch.
2006-06-03 David Kilzer <ddkilzer@kilzer.net>
Reviewed by darin.
http://bugs.webkit.org/show_bug.cgi?id=9290
Teach svn-apply and svn-unapply to patch ChangeLogs cleanly
* Scripts/svn-apply: Fixed to apply ChangeLog patches without failing.
* Scripts/svn-unapply: Ditto. Also simplified reversing a deletion.
2006-06-03 Steve Falkenburg <sfalken@apple.com>
Reviewed by hyatt.
Switch Spinneret to new hosting mechanism
* Spinneret/Spinneret.sln:
* Spinneret/Spinneret/Spinneret.cpp:
(SpinneretWebHost::updateAddressBar):
(SpinneretWebHost::QueryInterface):
(SpinneretWebHost::AddRef):
(SpinneretWebHost::Release):
(resizeSubViews):
(_tWinMain):
(WndProc):
(MyEditProc):
(About):
(loadURL):
* Spinneret/Spinneret/Spinneret.h:
(SpinneretWebHost::didStartProvisionalLoadForFrame):
(SpinneretWebHost::didReceiveServerRedirectForProvisionalLoadForFrame):
(SpinneretWebHost::didFailProvisionalLoadWithError):
(SpinneretWebHost::didCommitLoadForFrame):
(SpinneretWebHost::didReceiveTitle):
(SpinneretWebHost::didReceiveIcon):
(SpinneretWebHost::didFinishLoadForFrame):
(SpinneretWebHost::didFailLoadWithError):
(SpinneretWebHost::didChangeLocationWithinPageForFrame):
(SpinneretWebHost::willPerformClientRedirectToURL):
(SpinneretWebHost::didCancelClientRedirectForFrame):
(SpinneretWebHost::willCloseFrame):
(SpinneretWebHost::windowScriptObjectAvailable):
* Spinneret/Spinneret/Spinneret.vcproj:
2006-06-02 Steve Falkenburg <sfalken@apple.com>
Reviewed by darin.
Updated build script
* Scripts/build-webkit:
2006-06-01 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin Adler.
* DumpRenderTree/DumpRenderTree.m:
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController clearBackForwardList]):
Add clearBackForwardList function to layoutTestController
2006-06-01 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin Adler.
http://bugs.webkit.org/show_bug.cgi?id=8996
slow-utf8-text layout test case failing (no longer deterministic?)
* DumpRenderTree/DumpRenderTree.m:
(dump):
Dump as text when the response MIME type is text/plain
2006-05-26 Steve Falkenburg <sfalken@apple.com>
Build fixes/tweaks
* Spinneret/Spinneret.sln:
* Spinneret/Spinneret/Spinneret.vcproj:
2006-05-24 Geoffrey Garen <ggaren@apple.com>
Reviewed by mjs.
Added 'GCController' to DRT to support garbage collection layout tests.
GCController.collect() and GCController.collectOnAlternateThread() do
what you would expect. The latter takes a boolean argument sepcifying
whether to wait for garbage collection to finish before continuing to
execute script.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/GCController.h: Added.
* DumpRenderTree/GCController.mm: Added.
(+[GCController isSelectorExcludedFromWebScript:]):
(+[GCController webScriptNameForSelector:]):
(-[GCController collect]):
(-[GCController collectOnAlternateThread:]):
2006-05-23 John Sullivan <sullivan@apple.com>
Reviewed by Maciej.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
Newer Xcode removed some obsolete cruft
* DumpRenderTree/TextInputController.m:
(-[TextInputController textInput]):
added (id) cast to make newer compiler happy
2006-05-22 Steve Falkenburg <sfalken@apple.com>
Reviewed by adele.
Fix build.
* Spinneret/Spinneret.sln:
2006-05-18 Darin Adler <darin@apple.com>
- try to fix no-SVG, no-XPATH build, again
* Scripts/build-webkit: Use FEATURE_DEFINES= instead of FEATURE_DEFINES=''.
2006-05-18 Darin Adler <darin@apple.com>
- try to fix no-SVG, no-XPATH build
* Scripts/build-webkit: Pass FEATURE_DEFINES rather than GCC_PREPROCESSOR_DEFINITIONS,
since the former is what's used in the WebCore project now.
2006-05-17 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Some more future renames.
2006-05-16 Adele Peterson <adele@apple.com>
Reviewed by Hyatt.
* Scripts/do-webcore-rename: Added RenderTextField => RenderTextControl and
HTMLTextFieldInnerElement => HTMLTextControlInnerElement to list for future renames.
2006-05-15 Alexey Proskuryakov <ap@nypop.com>
* Scripts/install-unix-extras: Changed to be executable and removed
text in the file generated by "svn diff".
* Scripts/regenerate-makefiles: Ditto.
2006-05-13 Kevin M. Ollivier <kevino@theolliviers.com>
Reviewed by Darin, landed by ap.
- http://bugs.webkit.org/show_bug.cgi?id=8528
Bakefiles (and generated Makefiles) for wx and gdk ports
* Scripts/install-unix-extras: Added.
* Scripts/regenerate-makefiles: Added.
2006-05-10 Steve Falkenburg <sfalken@apple.com>
Reviewed by Maciej.
Fix registry usage from perl script. Turns out libwin32's
SetRegValueEx, even for REG_DWORD, always takes its value as a string!
* Scripts/install-win-extras:
2006-05-09 Steve Falkenburg <sfalken@apple.com>
Fix Windows build.
Add load ended callback.
Reviewed by kevin.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Fix include paths
* Scripts/build-webkit: Build WebKitWin instead of WebCore/JavaScriptCore (WebKitWin builds those indirectly).
* Spinneret/Spinneret/Spinneret.cpp:
(SpinneretWebHost::loadEnd): Add callback for loadEnd() to determine success/failure of page load.
(_tWinMain): Load built-in test content here instead of in lower-level code.
* Spinneret/Spinneret/Spinneret.h: Add loadEnd() callback.
2006-05-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Anders.
* Scripts/extract-localizable-strings: Update for correct names of log macros.
2006-05-09 Anders Carlsson <acarlsson@apple.com>
Reviewed by Maciej.
* Scripts/check-dom-results:
Add XPath to the list of results.
2006-05-08 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Add another rename.
2006-05-01 Steve Falkenburg <sfalken@apple.com>
Reviewed by eric.
Spinneret now links against the new separate lib.
* Spinneret/Spinneret.sln:
* Spinneret/Spinneret/Spinneret.cpp:
(SpinneretWebHost::updateLocationBar):
(_tWinMain):
* Spinneret/Spinneret/Spinneret.h:
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp: Removed.
* Spinneret/Spinneret/WebFrame.h: Removed.
* Spinneret/Spinneret/WebView.cpp: Removed.
* Spinneret/Spinneret/WebView.h: Removed.
2006-04-28 Steve Falkenburg <sfalken@apple.com>
Reviewed by kdecker
Modify error reporting registry keys to disable Dr. Watson.
This allows Javascript test cases to complete without blocking UI.
* Scripts/install-win-extras:
- Use Perl Win32 registry functions to disable blocking UI
2006-04-28 Steve Falkenburg <sfalken@apple.com>
Reviewed by eric.
Turned off C++ exceptions, fixed memory leaks
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
* Spinneret/Spinneret.sln:
* Spinneret/Spinneret/Spinneret.cpp:
(_tWinMain):
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
(WebKit::WebFrame::WebFrame):
(WebKit::WebFrame::~WebFrame):
(WebKit::WebFrame::impl):
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
* Spinneret/Spinneret/stdafx.h:
2006-04-28 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=8633
DumpRenderTree should reset the URL cache
* DumpRenderTree/DumpRenderTree.m:
(main): Call [[NSURLCache sharedURLCache] removeAllCachedResponses].
2006-04-28 Eric Seidel <eseidel@apple.com>
Reviewed by andersca.
* Scripts/do-webcore-rename: rename KCanvasContainer too
* Scripts/run-webkit-tests: output total time
2006-04-26 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by hyatt. Landed by eseidel.
- http://bugs.webkit.org/show_bug.cgi?id=8549
Enable detection of excessive repainting with DumpRenderTree
* DumpRenderTree/DumpRenderTree.m:
(-[LayoutTestController display]):
2006-04-23 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=6905
DumpRenderTree needs a way to force painting (to allow invalidation tests)
* DumpRenderTree/DumpRenderTree.m:
(dump): If display() has been called during the test, grab the pixels from
the view, after letting it repaint invalidated rects.
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController display]): Added. Calls -display on the view
and changes the subsequent behavior of dump().
(dumpRenderTree):
2006-04-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Maciej.
- http://bugs.webkit.org/show_bug.cgi?id=8532
Update iExploder to 1.3.2
Test case numbers are not compatible with iExploder 1.2.
* Scripts/run-iexploder-tests: Print the numbers of the last five tests that were accessed.
* iExploder/CHANGELOG.txt: Added.
* iExploder/LICENSE.txt: Changed to a standard zlib/png license.
* iExploder/README.txt: Added some performance hints.
* iExploder/htdocs/config.rb: Added.
* iExploder/htdocs/cssproperties.in:
* iExploder/htdocs/cssvalues.in:
* iExploder/htdocs/htmlattrs.in:
* iExploder/htdocs/htmltags.in:
* iExploder/htdocs/iexploder.cgi:
- Updated to support the latest HTML & CSS tags, properties, and values from both
the WebKit and Mozilla CVS tree
- cssproperties.in cleanup
- Modularized the code a little bit.
- Fix subtest bug that was causing last 5 tags to be missed
- new subtest algorithm to deal better with larger tag counts
- default HTML_MAX_TAGS increased from 32 to 96
* iExploder/htdocs/index.html: Updated version to 1.3.2.
* iExploder/htdocs/webserver.rb: Added. New standalone webserver, can be used as an
alternative to our run-iexploder-tests.
* iExploder/tools/showtest.rb: Added. Similar to run-iexploder-tests --get.
* iExploder/htdocs/iexploder.rb: Added. Used by webserver.rb.
* iExploder/tools/osx_last_crash.rb: Find logs modified in the last two days.
2006-04-22 Alexey Proskuryakov <ap@nypop.com>
- commit Scripts/run-mangleme-tests (missed it the previous time).
2006-04-18 Darin Adler <darin@apple.com>
- attempt to fix Windows buildbot
* Scripts/install-win-extras: Temporarily changed URLs to fr.rpmfind.net.
We need a better long-term solution for this.
2006-04-17 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=8444
Integrate mangleme test script.
Works in a similar way to run-iexploder-tests.
* Scripts/run-mangleme-tests: Added.
* mangleme: Added.
* mangleme/Makefile: Added.
* mangleme/README: Added.
* mangleme/mangle.cgi.c: Added.
* mangleme/remangle.cgi.c: Added.
* mangleme/tags.h: Added.
2006-04-17 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=8443
An easier way to save iExploder tests.
* Scripts/run-iexploder-tests: Added a --get option to save a test into a file.
2006-04-17 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=8421
Integrate iExploder test script.
This script generates artificially mangled HTML documents, to test that the browser
doesn't crash when handling ill-formed code.
How to use:
run-iexploder-tests Open an interactive test page in Safari+ToT.
run-iexploder-tests nnnnn Open test #nnnnn.
Command line options:
--guard-malloc (-g) Use Guard Malloc.
--port=nnnn Run Apache on port nnnn (default is 8000).
To save a crashing test, you can use curl while the crash reporter dialog is on the screen
(thus, Apache is still running), e.g.:
curl -o iexploder293.html "http://127.0.0.1:8000/iexploder.cgi?lookup=1&test=293"
Additionally, there are some useful scripts in WebKitTools/iExploder/tools directory.
* Scripts/run-iexploder-tests: Added.
* iExploder: Added.
* iExploder/LICENSE.txt: Added.
* iExploder/README.txt: Added.
* iExploder/htdocs: Added.
* iExploder/htdocs/cssproperties.in: Added.
* iExploder/htdocs/cssvalues.in: Added.
* iExploder/htdocs/htmlattrs.in: Added.
* iExploder/htdocs/htmltags.in: Added.
* iExploder/htdocs/htmlvalues.in: Added.
* iExploder/htdocs/iexploder.cgi: Added.
* iExploder/htdocs/index.html: Added.
* iExploder/tools: Added.
* iExploder/tools/lasthit.rb: Added.
* iExploder/tools/osx_last_crash.rb: Added.
2006-04-16 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=8412
Restore color profile after a crash
* DumpRenderTree/DumpRenderTree.m:
(crashHandler): Added a handler for signals that are raised on a crash. Keeping separate
from the existing handler for manual interruption (SIGINT/SIGHUP/SIGTERM), because
I'm trying to find a way to prevent the Crash Reporter dialog from appearing on crash,
and this code may change significantly.
(main): Install crashHandler.
(setDefaultColorProfileToRGB): Properly convert CFStringRef to a char buffer
(CFStringGetCStringPtr should NEVER EVER be used!).
2006-04-15 Darin Adler <darin@apple.com>
Reviewed by Eric.
* Scripts/install-win-extras: Try to fix the Windows build by fixing the URLs here.
Seems xmlsoft.org's HTTP no longer has what we need.
2006-04-13 Mark Rowe <opendarwin.org@bdash.net.nz>
Rubber-stamped by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=8348
upload-disk-image stage on buildslaves fail with "No space left on device"
* BuildSlaveSupport/build-launcher-dmg: Use the -srcfolder option to
'hdiutil create'. This creates the initial disk image based on the size of
the source folder, and copies the contents to the new disk image. The file
extension on the temporary uncompressed disk image has also been altered from
".uncompressed" to ".uncompressed.dmg" as hdiutil on 10.4.6 Intel fails when
the extension is not ".dmg".
2006-04-12 Eric Seidel <eseidel@apple.com>
Reviewed by Tim H.
* Scripts/update-webkit: Make this return non-zero when svn fails.
2006-04-10 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=8157
Make HTTP tests using Perl use .pl extension
* Scripts/run-webkit-tests: Added support for running .pl and .php tests,
removed support for .text. Reduced the number of places that explicitly list supported
extensions. Some of the changes come from bug 8121, the patch for which got landed only
partially.
2006-04-06 Darin Adler <darin@apple.com>
Changes requested by Mark Rowe.
* BuildSlaveSupport/build-launcher-app: Set executable bit, removed property change
trash at the end of the file.
* BuildSlaveSupport/build-launcher-dmg: Ditto.
* WebKitLauncher/main.m: Removed trash at end of file.
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Let Xcode update comments
to make name match.
2006-04-06 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Darin, landed by Maciej.
* BuildSlaveSupport/build-launcher-app: Added. Builds WebKit.app from WebKitLauncher
and bundles the WebKit frameworks inside it.
* BuildSlaveSupport/build-launcher-dmg: Added. Builds, and optionally uploads, a disk image
containing WebKit.app.
* BuildSlaveSupport/run-performance-tests: Use currentSVNRevision.
* Scripts/webkitdirs.pm: Add currentSVNRevision to retrieve the revision
number of the SVN working copy.
* WebKitLauncher: Added.
* WebKitLauncher/Info.plist: Added.
* WebKitLauncher/WebKitLauncher.xcodeproj: Added.
* WebKitLauncher/WebKitLauncher.xcodeproj/project.pbxproj: Added.
* WebKitLauncher/WebKitNightlyEnabler.m: Added. This makes
up the WebKitNightlyEnabler dylib which is loaded into Safari's address space
to cause LaunchServices to treat Safari.app as WebKit.app when it is run from
the nightly launcher.
* WebKitLauncher/main.m: Added. The WebKit.app launcher.
It sets up the environment to have Safari use the bundled frameworks
and load the WebKitNightlyEnabler dylib before exec'ing Safari
* WebKitLauncher/start.html: Added.
* WebKitLauncher/webkit.icns: Added.
2006-04-05 Darin Adler <darin@apple.com>
Reviewed by Maciej.
* Scripts/check-for-global-initializers: Remove StringImpl from the list of files that
are allowed to have global initializers.
2006-04-05 Geoffrey Garen <ggaren@apple.com>
Reviewed by OMG BETH
* Scripts/run-testkjs:
- pipe STDERR to /dev/null by default; new --verbose option overrides
this behavior
- set DYLD_FRAMEWORK_PATH to the webkit-configured path
- output run command in a format that can be copied and pasted into the
terminal to run manually
2006-04-03 Justin Garcia <justin.garcia@apple.com>
Reviewed by harrison
<http://bugs.webkit.org/show_bug.cgi?id=7567>
A drag and drop in DumpRenderTree copies the source, instead of cutting it
Tell the source that the drag is over after the drag is performed, not before.
* DumpRenderTree/EventSendingController.m:
(-[EventSendingController mouseUp]):
2006-04-01 Darin Adler <darin@apple.com>
Reviewed by Justin.
* DumpRenderTree/EventSendingController.m: (-[EventSendingController keyDown:withModifiers:]):
Fixed keyDown function so that it will work if you don't pass an array of modifiers or if
elements in that array are not strings.
2006-03-31 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
- added a "--reset-results" option to run-webkit-tests so you can reset
the results without first deleting expected results
- <rdar://problem/4185878> add scroll position to dumpRenderTree
* Scripts/run-webkit-tests: Rearranged the code a bit to make the sequence
more logical. Moved all the subroutines to the end of the file. Added a
"--force" option.
* DumpRenderTree/DumpRenderTree.m:
(main): Added a new --dump-all-pixels option, used when forcing run-webkit-tests
to generate new output for all tests it runs.
(dump): Dump the scroll position if it's non-zero. Always dump the image when
the --dump-all-pixels option is passed. Also tightened up the image dumping
code and replaced the incorrect use of +[NSGraphicsContext saveGraphicsState]
with code to save and restore the context.
* DumpRenderTree/DumpRenderTree.h: Tweaked includes a bit and added (void).
* DumpRenderTree/EventSendingController.m: Added now-needed include.
2006-03-30 Tim Omernick <timo@apple.com>
* DumpRenderTree/ObjCPlugin.h:
Fixed copyright.
* DumpRenderTree/ObjCPlugin.m: ditto
* DumpRenderTree/ObjCPluginFunction.h: ditto
* DumpRenderTree/ObjCPluginFunction.m: ditto
2006-03-30 Tim Omernick <timo@apple.com>
Reviewed by Geoff.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
Add "objCPlugin", "objCPluginFunction" properties to the window. objCPlugin simulates
an Objective C object exposed to JS; objCPluginFunction simulates an Objective C method
exposed to JS as a callable object.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
Added ObjCPlugin.[hm], ObjCPluginFunction.[hm].
* DumpRenderTree/ObjCPlugin.h: Added.
* DumpRenderTree/ObjCPlugin.m: Added.
* DumpRenderTree/ObjCPluginFunction.h: Added.
* DumpRenderTree/ObjCPluginFunction.m: Added.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
Added a new method, "removeDefaultMethod", which removes the default method from the
plugin object's class. The effect is that the plugin object is mutated from a callable
function to a simple object.
(pluginInvoke):
Handle "removeDefaultMethod".
(pluginInvokeDefault):
Made the default method actually do something (return 1).
2006-03-30 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
Remove WebFrame::viewImpl(), setMainFrame on page.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::WebFrame):
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebViewWndProc):
2006-03-30 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Fix html editing input & basic form submission.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::submitForm):
(WebKit::WebFrame::loadURL):
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::keyPress):
(WebKit::WebViewWndProc):
2006-03-28 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
<rdar://problem/4402375>
REGRESSION (417.8-TOT): selectionRect sometimes includes adjacent images
Added an option to draw the selectionRect.
* DumpRenderTree/DumpRenderTree.m:
(dump):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(-[LayoutTestController dumpSelectionRect]):
(dumpRenderTree):
2006-03-29 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
- make the global initializer check work on Xcode 2.1 (although it's better on 2.2)
* Scripts/check-for-global-initializers: Use NATIVE_ARCH if there is no CURRENT_ARCH.
2006-03-28 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/check-for-global-initializers: remove svg exceptions.
2006-03-28 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
Exit gracefully if $ENV{'CURRENT_ARCH'} is undefined. Rolling out my previous change.
* Scripts/check-for-global-initializers:
2006-03-28 Timothy Hatcher <timothy@apple.com>
Build fix. Turn off uninitialized warnings for the first block of code.
* Scripts/check-for-global-initializers:
2006-03-28 Darin Adler <darin@apple.com>
Reviewed by Geoff.
* Scripts/check-for-global-initializers: Added.
2006-03-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by darin. Landed by eseidel.
- http://bugs.webkit.org/show_bug.cgi?id=7947
Add repaint testing support to run-webkit-tests
* DumpRenderTree/DumpRenderTree.m:
(main): Added --repaint and --horizontal-sweep options.
(dump): Repaint line-by-line or column-by-column when the appropriate option
is selected.
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Added testRepaint()
and repaintSweepHorizontally() methods to layoutTestController.
(-[LayoutTestController testRepaint]):
(-[LayoutTestController repaintSweepHorizontally]):
(dumpRenderTree):
* Scripts/run-webkit-tests: Added --repaint and --horizontal-sweep options
to force these settings on tests that do not ask for them.
2006-03-24 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Build fix.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::openURL): replace QString with DeprecatedString
2006-03-21 Beth Dakin <bdakin@apple.com>
Reviewed by Maciej
Add support for keyDown() to DumpRenderTree.
* DumpRenderTree/DumpRenderTree.m:
(main): Set the preference for tabbing to links.
* DumpRenderTree/EventSendingController.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController keyDown:withModifiers:]):
2006-03-20 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Fix win32 build.
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebView::keyPress):
(WebKit::WebViewWndProc):
2006-03-19 Darin Adler <darin@apple.com>
Reviewed by Anders.
* DumpRenderTree/DumpRenderTree.m: (main): Turn on pop-up blocking so that
we can test it in layout tests. We don't really need tests that run with
pop-up blocking off at the moment. If we do some day, we can add some
API for turning it off in the layout test controller.
* Scripts/run-webkit-tests: Since we don't use NSLanguage at all any more,
don't ignore the leak; it should no longer show up.
2006-03-17 Anders Carlsson <andersca@mac.com>
Reviewed by Eric.
* Scripts/install-win-extras:
Fetch "Program Files" location from the environment.
2006-03-17 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
Fix Spinneret to pass Events as const & not as pointers.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebView::keyPress):
2006-03-17 Eric Seidel <eseidel@apple.com>
Reviewed by justing.
Add support for basic HTML editing.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::WebView):
(WebKit::WebView::keyPress):
2006-03-17 Eric Seidel <eseidel@apple.com>
Rubber-stamped by ggaren.
Break DumpRenderTree.m up into several files to make the code more readable.
* DumpRenderTree/DumpRenderTree.h: Added.
* DumpRenderTree/DumpRenderTree.m:
(doneLoading): new accessor function for "done" global.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTreeDraggingInfo.h: Added.
* DumpRenderTree/DumpRenderTreeDraggingInfo.m: Added.
* DumpRenderTree/EditingDelegate.h: Added.
* DumpRenderTree/EditingDelegate.m: Added.
(-[EditingDelegate webViewDidChangeSelection:]):
* DumpRenderTree/EventSendingController.h: Added.
* DumpRenderTree/EventSendingController.m: Added.
2006-03-16 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
Add resize, scroll event support.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebView::keyPress):
(WebKit::WebViewWndProc):
* Spinneret/Spinneret/WebView.h:
2006-03-16 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
Make build-webkit print correctly to stdout on windows.
* Scripts/webkitdirs.pm: Fix to use devenv.com instead of devenv.exe
2006-03-15 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Fix eventSender.mouseClick() to update lastClick timestamp.
* DumpRenderTree/DumpRenderTree.m:
(-[EventSendingController mouseClick]):
2006-03-15 Darin Adler <darin@apple.com>
Reviewed by Maciej.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Fix path
that had a lowercase "i" in it so this builds on case-sensitive
file systems.
2006-03-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Eric.
Added run-testkjs and compare-timing-files scripts, to support super
accurate JS iBench.
* Scripts/compare-timing-files: Added.
* Scripts/run-testkjs: Added.
2006-03-14 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Make the URL bar relinquish focus on page load.
* Spinneret/Spinneret/Spinneret.cpp:
(MyEditProc):
2006-03-14 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Fix WebView to allow KeyFocus.
Add handling of space and shift-space for scrolling.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::scrollMessageForKey):
(WebKit::WebViewWndProc):
2006-03-10 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Add scrolling support into Spinneret.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::paint):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::createWebView):
(WebKit::calculateScrollDelta):
(WebKit::scrollMessageForKey):
(WebKit::WebViewWndProc):
2006-03-13 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Fix checksum generation on Intel machines.
Also moved to CGImage APIs instead of NSBitmapImageRep, may possibly
give a small speed boost now that it uses a shared buffer.
* DumpRenderTree/DumpRenderTree.m:
(main):
(dump):
(md5HashStringForBitmap):
* DumpRenderTree/ImageDiff.m:
(computePercentageDifferent):
2006-03-13 Darin Adler <darin@apple.com>
Reviewed by Tim Hatcher.
* Scripts/run-webkit-tests: Fix httpd handling to work on systems that
have it named httpd-1.3 instead.
2006-03-13 Alexey Proskuryakov <ap@nypop.com>
Fix proposed by Mitz Pettel, reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=7718
run-webkit-tests fast/dom/HTMLObjectElement/ hangs
* Scripts/run-webkit-tests: Make test paths canonical, to form proper URLs
(sequences of slashes are equivalent to a single slash in POSIX paths, but not
in URLs).
2006-03-09 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
- fix http://bugs.webkit.org/show_bug.cgi?id=7681
memory leak in the plug-in tests
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c:
(NPP_Destroy): Added code to release the plug-in object. This is the leak fix.
(NPP_SetWindow): Remove unneeded code to store the window pointer.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
Moved the browser global in here since it's declared in this file's header.
Changed the code to set up the pluginClass structure to not use function
pointer casts. Those are dangerous because they can hide many types of mismatch.
And indeed when I did this I discovered that many functions were missing their
boolean return values or had parameter declarations with the wrong types.
(pluginGetProperty): Use STRINGZ_TO_NPVARIANT macro for greater simplicity and
clarity. Added boolean return value: return true when successful and false when not.
(pluginSetProperty): Added boolean return value, return false since we have no
properties we can set.
(pluginInvoke): Added boolean return value. Return true when successful and false
when not. Use NPVARIANT macros where appropriate. Added a missing release for the
return value from calling the browser. Changed code to put the strings in malloc
buffers instead of relying on GCC's extension that allows variable-sized arrays
on the stack.
(pluginInvokeDefault): Added boolean return value, return false since we have no
default function to call.
(pluginInvalidate): Added missing parameter. Removed comment.
(pluginAllocate): Removed unneeded cast. This is C code, not C++, so you don't have
to cast the result of malloc.
(pluginDeallocate): Removed uneeded cast.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Removed some unneeded
includes. Changed our PluginObject to use NPObject instead of re-declaring fields
that match NPObject's fields. Removed unused NPWindow pointer.
2006-03-09 Mitz Pettel <opendarwin.org@mitzpettel.com>
Test: fast/events/event-sender-mouse-click.html
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=7583
DRT hangs when doing eventSender.mouseDown on native widgets
* DumpRenderTree/DumpRenderTree.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(-[EventSendingController mouseClick]): Simulates a click in a native
widget by queueing a mouseUp before sending the mouseDown, so that
the widget's mouse tracking event loop doesn't hang indefinitely.
2006-03-09 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- make link clicks work by handling link click requests
from WebCore
* Spinneret/Spinneret/Spinneret.cpp:
(updateLocationBar):
* Spinneret/Spinneret/Spinneret.h:
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::WebFrame):
(WebKit::WebFrame::openURL):
(WebKit::WebFrame::loadURL):
* Spinneret/Spinneret/WebFrame.h:
2006-03-08 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Focus URL bar on Spinneret launch, remove border from WebView.
Stop WebFrame from deleting the job (prevent crash).
* Spinneret/Spinneret/Spinneret.cpp:
(_tWinMain):
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::receivedAllData):
(WebKit::WebFrame::paint):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::createWebView):
2006-03-09 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(pluginInvoke): Added a method to test getURL.
2006-03-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- load URLs, not file paths, in Spinneret
* Spinneret/Spinneret/Spinneret.cpp:
(MyEditProc):
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::loadURL):
(WebKit::WebFrame::receivedData):
(WebKit::WebFrame::receivedAllData):
* Spinneret/Spinneret/WebFrame.h:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::WebView):
2006-03-08 Darin Adler <darin@apple.com>
Reviewed by Eric.
- fixed AppleScript layout test results to not be endian-dependent
(Hyatt complained to me about this one)
* DumpRenderTree/AppleScriptController.m: (-[AppleScriptController doJavaScript:]):
Added specific code for dumping LongDateTime, instead of dumping the raw bytes
(which are endian-dependent).
2006-03-07 Darin Adler <darin@apple.com>
Reviewed by Anders.
- fix http://bugs.webkit.org/show_bug.cgi?id=7655
unwanted output while running layout tests
* DumpRenderTree/DumpRenderTree.m:
(checkedMalloc): Added.
(checkedRealloc): Added.
(makeLargeMallocFailSilently): Added.
(main): Call makeLargeMallocFailSilently.
2006-03-06 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Add some more planned renaming.
2006-03-06 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::paint): force layout before painting
2006-03-06 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
Sent the windowNumber when sending events.
Added leapForward so that we don't have to spend time waiting
in layout tests that do mouse operations that require delays.
* DumpRenderTree/DumpRenderTree.m:
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController currentEventTime]):
(-[EventSendingController leapForward:]):
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
2006-03-05 Darin Adler <darin@apple.com>
* Scripts/do-webcore-rename: Fix a couple of things found while testing.
Script now works (after landing my two pending patches).
2006-03-05 Darin Adler <darin@apple.com>
- check in a script to do a "big" rename in WebCore
(can be run whenever we're ready to do it)
* Scripts/do-webcore-rename: Added.
2006-03-05 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::loadFilePath): Close file when done.
2006-03-05 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by Darin, landed by ap.
- fix http://bugs.webkit.org/show_bug.cgi?id=7589
Mouse moved events do not work in DumpRenderTree
Test: fast/events/event-sender-mouse-moved.html
* DumpRenderTree/DumpRenderTree.m:
(-[EventSendingController mouseMoveToX:Y:]): Pass the correct windowNumber in the event.
2006-03-04 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Take advantage of new GraphicsContext constructor to implement double buffering to avoid tearing.
Disable background erase to avoid tearing.
Fix potential memory smasher from extra long urls.
* Spinneret/Spinneret/Spinneret.cpp:
(MyRegisterClass):
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::loadFilePath):
(WebKit::WebFrame::paint):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::registerWebViewWithInstance):
2006-03-04 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
Hang WebView pointer off of HWND (gets rid of global hack).
Remove MessageBox displayed on url change.
* Spinneret/Spinneret/Spinneret.cpp:
(WndProc):
(MyEditProc):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::registerWebViewWithInstance):
(WebKit::WebView::createWebView):
(WebKit::WebViewWndProc):
2006-03-04 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Eric.
Automatically kill httpd if it appears to be already running.
* Scripts/run-webkit-tests:
2006-03-04 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
* Spinneret/Spinneret/WebFrame.cpp:
(WebKit::WebFrame::loadFilePath): Improved local file loading.
2006-03-03 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
A few more fixes to make run-webkit-tests really work on win32.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(localFileTest):
* Scripts/run-webkit-tests:
2006-03-03 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
Make run-webkit-tests work on win32.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(localFileTest):
(dumpRenderTreeMain):
(dumpRenderTreeToStdOut):
(serializeToStdOut):
(main):
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm:
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::WebView):
2006-03-03 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Add WebFrame class (to hold Frame and FrameView).
Add Location bar support to Spinneret.
* Spinneret/Spinneret/Spinneret.cpp:
(resizeSubViews):
(_tWinMain):
(WndProc):
(MyEditProc):
* Spinneret/Spinneret/Spinneret.vcproj:
* Spinneret/Spinneret/WebFrame.cpp: Added.
(WebKit::WebFrame::WebFramePrivate::WebFramePrivate):
(WebKit::WebFrame::WebFramePrivate::~WebFramePrivate):
(WebKit::WebFrame::WebFrame):
(WebKit::WebFrame::loadFilePath):
(WebKit::WebFrame::loadHTMLString):
(WebKit::WebFrame::paint):
(WebKit::WebFrame::impl):
(WebKit::WebFrame::viewImpl):
* Spinneret/Spinneret/WebFrame.h: Added.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::WebView::WebViewPrivate::~WebViewPrivate):
(WebKit::WebView::WebView):
(WebKit::WebView::windowHandle):
(WebKit::WebView::mainFrame):
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebViewWndProc):
* Spinneret/Spinneret/WebView.h:
2006-03-02 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
* Spinneret/Spinneret/WebView.cpp:
(WebKit::registerWebViewWithInstance):
(WebKit::WebView::WebView):
(WebKit::WebView::mouseMoved):
(WebKit::WebView::mouseDown):
(WebKit::WebView::mouseUp):
(WebKit::WebView::mouseDoubleClick):
(WebKit::WebViewWndProc):
* Spinneret/Spinneret/WebView.h:
2006-03-01 Eric Seidel <eseidel@apple.com>
Reviewed by andersca.
Make spinneret take advantage of the new GraphicsContextCairo.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(main): updated to match style guidelines.
* Spinneret/Spinneret/Spinneret.cpp:
(_tWinMain):
* Spinneret/Spinneret/WebView.cpp:
(WebKit::registerWebViewWithInstance):
(WebKit::WebView::WebView):
(WebKit::WebView::~WebView):
(WebKit::WebView::drawRect):
(WebKit::WndProc):
* Spinneret/Spinneret/WebView.h:
2006-03-01 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
Give the events that eventSender sends a unique eventNumber
* DumpRenderTree/DumpRenderTree.m:
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
2006-03-01 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Add a stub win32 application to test WebCore drawing on windows.
* Spinneret: Added.
* Spinneret/Spinneret: Added.
* Spinneret/Spinneret.sln: Added.
* Spinneret/Spinneret/Resource.h: Added.
* Spinneret/Spinneret/Spinneret.cpp: Added.
(_tWinMain):
(MyRegisterClass):
(InitInstance):
(WndProc):
(About):
* Spinneret/Spinneret/Spinneret.h: Added.
* Spinneret/Spinneret/Spinneret.ico: Added.
* Spinneret/Spinneret/Spinneret.rc: Added.
* Spinneret/Spinneret/Spinneret.vcproj: Added.
* Spinneret/Spinneret/WebView.cpp: Added.
(WebKit::WebView::WebViewPrivate::WebViewPrivate):
(WebKit::WebView::WebViewPrivate::~WebViewPrivate):
(WebKit::registerWebViewWithInstance):
(WebKit::WebView::createWebView):
(WebKit::WebView::WebView):
(WebKit::WebView::~WebView):
(WebKit::WebView::drawRect):
(WebKit::WebView::windowHandle):
(WebKit::WndProc):
* Spinneret/Spinneret/WebView.h: Added.
* Spinneret/Spinneret/small.ico: Added.
* Spinneret/Spinneret/stdafx.cpp: Added.
* Spinneret/Spinneret/stdafx.h: Added.
2006-02-28 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(main): add ability to dump render tree and read from a local file.
2006-02-27 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/install-win-extras: fix dll permissions & download zlib too.
2006-02-27 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
Test new KConfig -> PlugInInfoStore change.
http://bugs.webkit.org/show_bug.cgi?id=7498
* DumpRenderTree/DumpRenderTree.m:
(main): load test netscape plugin
* Scripts/run-webkit-tests: style update
2006-02-24 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Make DumpRenderTree link against icu.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2006-02-24 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Make DumpRenderTree link against libxml, etc.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2006-02-24 Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed and landed by Anders.
Prevent rendering to the offscreen window. -[NSWindow displayIfNeeded] was
getting called from the run loop, making the view render each test and thus slowing
down the tests.
* DumpRenderTree/DumpRenderTree.m:
(main): Set the offscreen window to not autodisplay.
2006-02-23 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- Turn http tests back on by default.
- Wait for Apache to actually start serving requests.
- Get user id from a built-in variable rather than an external command;
don't pass the group.
* Scripts/run-webkit-tests:
2006-02-23 Alexey Proskuryakov <ap@nypop.com>
Suggested by Mitz Pettel, reviewed by Darin Adler.
* Scripts/run-webkit-tests: Pass User and Group directives, so that Apache
can run CGIs even if the permissions are 700 or 600.
2006-02-23 Darin Adler <darin@apple.com>
Collaborating with Alexey.
- turn off http tests by default until we figure out how to get them
to run even when permissions on CGI files are 700 instead of 755
* Scripts/run-webkit-tests: Set $testHTTP to 0 instead of 1 for now.
2006-02-23 Eric Seidel <eseidel@apple.com>
Add *.user to ignore list.
2006-02-23 Eric Seidel <eseidel@apple.com>
Remove binary file which shouldn't have been commited (and add to ignore list).
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Removed.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Removed.
2006-02-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Eric.
* Scripts/run-webkit-tests: Put Apache log files in the right directory.
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by Tim Hatcher.
Fix install-win-extras to not try to re-install setx if installed.
* Scripts/install-win-extras:
2006-02-22 Eric Seidel <eseidel@apple.com>
One more file possibly missing from previous commit?
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb:
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by justing.
Files missing from previous commit.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj:
2006-02-22 Eric Seidel <eseidel@apple.com>
Rubber-stamped by justing.
Corrected path for DumpRenderTree.intermediate files
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo:
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by justing.
Fixed build-dumprendertree to exit with correct error codes.
* Scripts/build-dumprendertree:
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by justing.
Update build scripts to generalize building on Win32, and allow
building of DumpRenderTree on Win32 from build-dumprendertree.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp:
(main):
* Scripts/build-dumprendertree:
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-02-22 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* DumpRenderTree/DumpRenderTree.vcproj: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.ncb: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.sln: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree.suo: Added.
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.cpp: Added.
(_tmain):
* DumpRenderTree/DumpRenderTree.vcproj/DumpRenderTree/DumpRenderTree.vcproj: Added.
* Scripts/build-webkit: make build-webkit cleanup after itself
2006-02-22 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=7409
Some minor fixes to http tests.
* Scripts/run-webkit-tests: Pass CustomLog and ErrorLog directives to httpd.
2006-02-21 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=6197
Would like to use locally installed Apache for testing.
Added two run-webkit-tests options:
--http (--nohttp) - whether to launch Apache (defaults to yes);
--port - which port to listen on (defaults to 8000).
Tests in LayoutTests/http are not run directly, and Apache is used instead.
For example, http/tests/xmlhttprequest/post-content-type.html is loaded as
http://127.0.0.1:8000/xmlhttprequest/post-content-type.html.
Also added support for .shtml and .text files. Text files give an empty
*-expected.txt, but a correct image.
Apache only listens on the loopback interface. It writes logs to /tmp/WebKit.
* Scripts/run-webkit-tests:
2006-02-21 Darin Adler <darin@apple.com>
Suggested by Mark Rowe.
* Scripts/run-webkit-tests: Don't include the number of excluded leaks when
reporting leak counts.
2006-02-18 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
- Added install-win-extras script which installs some extra
programs and libraries, and does Windows first-time setup.
* Scripts/build-webkit: Add a newline between build results.
* Scripts/install-win-extras: Added.
2006-02-19 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- http://bugs.webkit.org/show_bug.cgi?id=7308
DumpRenderTree should be able to load files via HTTP
* DumpRenderTree/DumpRenderTree.m: (dumpRenderTree):
Handle tests starting with "http://" as real URLs, not file system paths.
2006-02-19 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Maciej.
- fix http://bugs.webkit.org/show_bug.cgi?id=7357
REGRESSION: Warnings from WebKit scripts if PBXProductDirectory is undefined
* Scripts/webkitdirs.pm: only call chomp if PBXProductDirectory is configured.
2006-02-18 Darin Adler <darin@apple.com>
* Scripts/commit-log-editor: Added.
2006-02-17 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Make Win32 have the same default "WebKitBuild" directory behavior.
* Scripts/build-webkit:
* Scripts/webkitdirs.pm:
2006-02-17 Eric Seidel <eseidel@apple.com>
Reviewed by Beth.
* Scripts/build-webkit: make win32 actually report errors
2006-02-17 Eric Seidel <eseidel@apple.com>
Reviewed by adele.
* Scripts/run-webkit-tests: Ignore quicktime plugin leaks
2006-02-17 Eric Seidel <eseidel@apple.com>
Reviewed by adele.
* Scripts/run-webkit-tests: Ignore flash leaks
2006-02-15 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
<http://bugs.webkit.org/show_bug.cgi?id=7148>
Add drag and drop support to DumpRenderTree
Intercept the drag start using the new UI delegate method, package an NSDraggingInfo,
and send dragging updates. Put DumpRenderTree's WebView into an offscreen window.
* DumpRenderTree/DumpRenderTree.m:
(main):
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
(-[WaitUntilDoneDelegate webView:dragImage:at:offset:event:pasteboard:source:slideBack:forView:]):
(-[WaitUntilDoneDelegate webViewFocus:]):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setWindowIsKey:]):
(-[LayoutTestController setMainFrameIsFirstResponder:]):
(-[EventSendingController init]):
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
(dumpRenderTree):
(-[DumpRenderTreeWindow isKeyWindow]):
(-[DumpRenderTreeDraggingInfo initWithImage:offset:pasteboard:source:]):
(-[DumpRenderTreeDraggingInfo dealloc]):
(-[DumpRenderTreeDraggingInfo draggingDestinationWindow]):
(-[DumpRenderTreeDraggingInfo draggingSourceOperationMask]):
(-[DumpRenderTreeDraggingInfo draggingLocation]):
(-[DumpRenderTreeDraggingInfo draggedImageLocation]):
(-[DumpRenderTreeDraggingInfo draggedImage]):
(-[DumpRenderTreeDraggingInfo draggingPasteboard]):
(-[DumpRenderTreeDraggingInfo draggingSource]):
(-[DumpRenderTreeDraggingInfo draggingSequenceNumber]):
(-[DumpRenderTreeDraggingInfo slideDraggedImageTo:]):
(-[DumpRenderTreeDraggingInfo namesOfPromisedFilesDroppedAtDestination:]):
* DumpRenderTree/TextInputController.m:
(-[TextInputController firstRectForCharactersFrom:length:]):
(-[TextInputController characterIndexForPointX:Y:]):
2006-02-15 Geoffrey Garen <ggaren@apple.com>
Reviewed by Eric.
* DumpRenderTree/DumpRenderTree.m:
(-[LayoutTestController invokeUndefinedMethodFromWebScript:withArguments:]):
Added a dummy method for the sake of LayoutTests/plugins/
undefined-property-crash.html. (It tests a crash due to fallback
object use. WebCore won't create a fallback object if the method is
not defined.)
2006-02-14 Eric Seidel <eseidel@apple.com>
Reviewed by adele.
* Scripts/run-webkit-tests: added --results-directory (-o) option
2006-02-09 Eric Seidel <eseidel@apple.com>
Rubber-stamped by mjs.
Renamed split-class to split-file-by-class.
* Scripts/build-webkit: Updated copyright.
* Scripts/split-class: Removed.
* Scripts/split-file-by-class: Added.
2006-02-08 Eric Seidel <eseidel@apple.com>
Rubber-stamped by mjs.
Adding new script for splitting multi-class files.
Also adding supporting perl module with space removing heuristics.
* Scripts/SpacingHeuristics.pm: Added.
* Scripts/build-drawtest: updated copyright header
* Scripts/split-class: Added.
2006-02-08 Justin Garcia <justin.garcia@apple.com>
Reviewed by thatcher
Changes to test fix for:
<http://bugs.webkit.org/show_bug.cgi?id=3982>
webViewDidBeginEditing, webViewDidEndEditing notification methods not called on delegate
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]):
(+[LayoutTestController isSelectorExcludedFromWebScript:]):
(+[LayoutTestController webScriptNameForSelector:]):
(-[LayoutTestController setWindowHasFocus:]):
(-[LayoutTestController setDisplaysWithFocusAttributes:]):
2006-02-07 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Timothy.
Support automated testing of AppleScript "do JavaScript" command
http://bugs.webkit.org/show_bug.cgi?id=7012
* DumpRenderTree/AppleScriptController.h: Added.
* DumpRenderTree/AppleScriptController.m: Added.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
2006-02-06 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Fix build-webkit for use on win32 (unblocks buildbot usage).
http://bugs.webkit.org/show_bug.cgi?id=7122
* Scripts/build-webkit: use ifCygwin() to conditionalize builds
* Scripts/webkitdirs.pm: add ifOSX() and ifCygwin()
2006-02-06 Eric Seidel <eseidel@apple.com>
Rubber-stamped by darin & mjs.
Added new support directory for build slave scripts.
Committing the first script, for use by the PLT's build slave.
This script is used to kick of the PLT (Page Load Test) slave.
* BuildSlaveSupport: Added.
* BuildSlaveSupport/run-performance-tests: Added.
2006-02-06 Eric Seidel <eseidel@apple.com>
Rubber-stamped by darin.
Adding setSourceDir for scripts stored in non-standard locations.
* Scripts/webkitdirs.pm:
2006-02-04 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Add a compatibilty hack for people with old
Configuration files that say Development or Deployment in them.
2006-02-04 Darin Adler <darin@apple.com>
* Scripts/make-js-test-wrappers: Don't create a wrapper if there's a disabled
wrapper already in the directory.
* Scripts/svn-apply: Handle additions and deletions properly -- I've been noticing
these haven't been working at all.
* Scripts/svn-unapply: Ditto.
2006-02-03 Timothy Hatcher <timothy@apple.com>
Reviewed by Justin.
Renamed configuration names to Debug, Release and Production.
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* Scripts/set-webkit-configuration:
* Scripts/webkitdirs.pm:
2006-02-02 Justin Garcia <justin.garcia@apple.com>
Reviewed by thatcher
Enabled spell checking for layout tests.
* DumpRenderTree/DumpRenderTree.m:
(main):
2006-01-29 Darin Adler <darin@apple.com>
* Scripts/svn-apply: Added comments about things we should do to improve.
* Scripts/svn-create-patch: Ditto.
* Scripts/svn-unapply: Ditto.
2006-01-28 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.m: (dump): Dump the image if it's not
already there, even if the checksum is correct.
2006-01-27 Eric Seidel <eseidel@apple.com>
Reviewed by adele.
* Scripts/run-webkit-tests: make new tests use absolute urls
2006-01-27 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
make run-webkit-tests output total leaks count
* Scripts/run-webkit-tests:
2006-01-27 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
run-webkit-test --leaks crashes (malloc logging runs out of memory)
http://bugs.webkit.org/show_bug.cgi?id=6869
* Scripts/run-webkit-tests: fix --leaks to not crash
2006-01-26 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
run-webkit-tests should produce a self-contained results directory
http://bugs.webkit.org/show_bug.cgi?id=6864
* Scripts/run-webkit-tests: copy failing items to results dir.
2006-01-23 Darin Adler <darin@apple.com>
- fix http://bugs.webkit.org/show_bug.cgi?id=3608
need script to update localizable strings file in WebKit
* Scripts/update-webkit-localizable-strings: Added.
2006-01-23 Darin Adler <darin@apple.com>
- added a couple of scripts -- more about these two soon
* Scripts/extract-localizable-strings: Added.
* Scripts/merge-changelog: Added.
2006-01-22 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by Anders.
Build fix. build-webkit dies with "invalid build action: (empty string)"
* Scripts/build-webkit:
Use svgOptions in an array context so xcodebuild doesn't choke on an empty argument.
2006-01-22 Eric Seidel <eseidel@apple.com>
Reviewed by anders.
Fix --no-svg option to use XCode flags instead of gcc flags.
* Scripts/build-webkit:
2006-01-22 Eric Seidel <eseidel@apple.com>
Reviewed by anders.
Update build-webkit to use -USVG_SUPPORT instead of -no-SVG target.
* Scripts/build-webkit:
2006-01-20 David Kilzer <ddkilzer@kilzer.net>
Reviewed by eseidel.
- fix for http://bugs.webkit.org/show_bug.cgi?id=6682
Call to checkWebCoreSVGSupport() broken in build-drawtest and run-drawtest
* Scripts/build-drawtest: Changed bareword 'true' to 1.
* Scripts/run-drawtest: Changed bareword 'true' to 1.
2006-01-19 Darin Adler <darin@apple.com>
* Scripts/report-include-statistics: Added a new script.
2006-01-19 Timothy Hatcher <timothy@apple.com>
* Scripts/build-webkit: include JavaScriptGlue in the build
2006-01-19 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Changed SVG check to work even if the path has
spaces in it by using the form of open that treats each argument as a string
rather than backtick syntax for reading the output of the nm tool.
2006-01-12 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
- make prepare-ChangeLog way faster by using svn diff instead of svn status to
detect if there are any new tests
* Scripts/prepare-ChangeLog:
2006-01-12 Darin Adler <darin@apple.com>
- removed some of the cvs-specific scripts -- not needed for this project any more
* Scripts/cvs-abandon: Removed.
* Scripts/cvs-apply: Removed.
* Scripts/cvs-create-patch: Removed.
* Scripts/cvs-unapply: Removed.
2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by eseidel. Committed by eseidel.
- run-webkit-tests always launches Safari when tests fail
http://bugs.webkit.org/show_bug.cgi?id=6456
* Scripts/run-webkit-tests:
Add a command-line flag to prevent Safari being launched to display failed
tests. Always exit with non-zero status when tests have failed.
2006-01-10 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed by eseidel. Committed by eseidel.
- build-webkit should exit with non-zero status when build fails
http://bugs.webkit.org/show_bug.cgi?id=6459
* Scripts/build-webkit:
Use correct bits of subprocess exit code when passing back through
as build-webkit's exit code.
2006-01-10 Eric Seidel <eseidel@apple.com>
Restored corrupted nibs from TOT CVS.
* DrawTest/English.lproj/DrawTestDocument.nib: Replaced.
* DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Replaced.
* DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Replaced.
* DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Replaced.
* DrawTest/English.lproj/Inspector.nib: Replaced.
* DrawTest/English.lproj/Inspector.nib/classes.nib: Replaced.
* DrawTest/English.lproj/Inspector.nib/info.nib: Replaced.
* DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Replaced.
* DrawTest/English.lproj/MainMenu.nib: Replaced.
* DrawTest/English.lproj/MainMenu.nib/classes.nib: Replaced.
* DrawTest/English.lproj/MainMenu.nib/info.nib: Replaced.
* DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Replaced.
* DrawTest/English.lproj/TestViewer.nib: Replaced.
* DrawTest/English.lproj/TestViewer.nib/classes.nib: Replaced.
* DrawTest/English.lproj/TestViewer.nib/info.nib: Replaced.
* DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Replaced.
2006-01-10 Nefaur Khandker <nefaurk@gmail.com>
Reviewed by eseidel. Committed by eseidel.
DrawTestView now subclasses WebView instead of DrawView.
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
* DrawTest/DrawTestDocument.h:
* DrawTest/DrawTestDocument.m:
(-[DrawTestDocument dealloc]):
(-[DrawTestDocument readFromFile:ofType:]):
(-[DrawTestDocument windowControllerDidLoadNib:]):
(-[DrawTestDocument dumpSVGToConsole:]):
(-[DrawTestDocument openSourceForSelection:]):
(-[DrawTestDocument dataRepresentationOfType:]):
* DrawTest/DrawTestToolbarController.h:
* DrawTest/DrawTestToolbarController.m:
(-[DrawTestToolbarController initWithDrawView:]):
(-[DrawTestToolbarController clickedToolbarItem:]):
(-[DrawTestToolbarController validateToolbarItem:]):
* DrawTest/DrawTestView.h:
* DrawTest/DrawTestView.m:
(-[DrawTestView initWithFrame:]):
(-[DrawTestView setDocument:]):
* DrawTest/SVGTest.h:
* DrawTest/SVGTest.m:
(+[SVGTest sharedDrawView]):
(-[SVGTest generateCompositeIfNecessary]):
* DrawTest/TestController.h:
* DrawTest/TestController.m:
(-[TestController awakeFromNib]):
(-[TestController setSelectedTest:]):
(-[TestController openTestViewerForSelection:]):
(-[TestController toggleViewersScaleRule:]):
* DrawTest/TestViewerSplitView.m:
(-[TestViewerSplitView drawRect:]):
2006-01-10 Anders Carlsson <andersca@mac.com>
Reviewed by Timothy.
* DumpRenderTree/DumpRenderTree.m:
(main): Set the default language to "en", so language tests will work.
2006-01-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- script to generate HTML wrappers for JS tests
http://bugs.webkit.org/show_bug.cgi?id=6441
* Scripts/make-js-test-wrappers: Added.
2006-01-08 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
* Scripts/svn-create-patch: Fix to work when passed directory names.
2006-01-08 Geoffrey Garen <ggaren@apple.com>
Reviewed by Eric.
- Added back/forward navigation support to DumpRenderTree. Hopefully we
can start writing automated loader tests now. I have one in the works.
* DumpRenderTree/DumpRenderTree.m:
(main): Construct global navigationController on entry, destroy on exit.
Set frame to nil on exit too, to match all the other global objects.
(Probably academic, since the process is exiting, anyway.)
(-[WaitUntilDoneDelegate webView:didFinishLoadForFrame:]): Notify the
navigationController, in case it wants to kick off a load.
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]): Expose
the navigationController to scripting.
New class, should be straightforward:
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* DumpRenderTree/NavigationController.h: Added.
* DumpRenderTree/NavigationController.m: Added.
(+[NavigationController isSelectorExcludedFromWebScript:]):
(+[NavigationController webScriptNameForSelector:]):
(-[NavigationController setPendingScript:]):
(-[NavigationController setPendingRequest:]):
(-[NavigationController evaluateWebScript:afterBackForwardNavigation:]):
(-[NavigationController webView:didFinishLoadForFrame:]):
(-[NavigationController dealloc]):
2006-01-08 Timothy Hatcher <timothy@apple.com>
Removed this script, no longer needs with the Subversion switch.
* checkout: Removed.
2006-01-08 Timothy Hatcher <timothy@apple.com>
Removes some stray tabs.
* Scripts/update-webkit:
2005-01-07 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
build-webkit should pass on build arguments from command line
http://bugs.webkit.org/show_bug.cgi?id=5854
* Scripts/build-webkit:
2006-01-07 Eric Seidel <eseidel@apple.com>
Reviewed by mjs & xenon.
* Scripts/update-webkit: support Internal updates as well
2006-01-06 Geoffrey Garen <ggaren@apple.com>
Temporarily rolling out plugin support from DumpRenderTree because it
caused lots of layout test regressions.
* DumpRenderTree/DumpRenderTree.m:
(main): Remove invisible window added to support plugins.
2006-01-06 Geoffrey Garen <ggaren@apple.com>
Reviewed by darin.
- Fixed http://bugs.webkit.org/show_bug.cgi?id=6361
Add plugin support to DumpRenderTree
Also wrote first test plugin.
* DumpRenderTree/DumpRenderTree.m:
(main):
(1) Put the WebView in an invisible window, because PlugIns are
optimized not to load if there's no parent window.
(2) Tell WebKit to load any PlugIns in the directory from which we
loaded. This means we can build nasty PlugIns alongside DumpRenderTree
and they'll load automagically during layout testing, but they won't be
added to the user's system, hosing apps like Safari.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added new
test PlugIn to project.
PlugIn added to project:
* DumpRenderTree/TestNetscapePlugIn.subproj/Info.plist: Added.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c: Added.
(getPluginClass):
(initializeIdentifiers):
(pluginHasProperty):
(pluginHasMethod):
(pluginGetProperty):
(pluginSetProperty):
(pluginInvoke):
(pluginInvokeDefault):
(pluginInvalidate):
(pluginAllocate):
(pluginDeallocate):
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.h: Added.
* DumpRenderTree/TestNetscapePlugIn.subproj/main.c: Added.
(NP_Initialize):
(NP_GetEntryPoints):
(NP_Shutdown):
(NPP_New):
(NPP_Destroy):
(NPP_SetWindow):
(NPP_NewStream):
(NPP_DestroyStream):
(NPP_WriteReady):
(NPP_Write):
(NPP_StreamAsFile):
(NPP_Print):
(NPP_HandleEvent):
(NPP_URLNotify):
(NPP_GetValue):
(NPP_SetValue):
2006-01-04 Timothy Hatcher <timothy@apple.com>
Reviewed by Darin Adler.
Created by Eric.
Tweaked and tested by me.
New scripts to work with Subversion when the switch happens.
These will replace cvs-apply, cvs-unapply, and cvs-create-patch.
* Scripts/svn-apply: Added.
* Scripts/svn-create-patch: Added.
* Scripts/svn-unapply: Added.
2005-12-30 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Move WebView width/height logic into DumpRenderTree to support
running the W3C SVG 1.1 tests along side other tests. The W3C
SVG 1.1 tests require a 480x360 view.
* DumpRenderTree/DumpRenderTree.m:
(main): don't accept width/height
(dump): override width/height for SVG/W3C
* Scripts/run-webkit-tests: don't pass width/height
2005-12-30 Eric Seidel <eseidel@apple.com>
No review, only removing dead code.
* DumpKCanvasTree/DumpKCanvasTree.m: Removed.
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Removed.
2005-12-30 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
DumpRenderTree should set a consistent color profile while running
http://bugs.webkit.org/show_bug.cgi?id=6155
Creates consistent colormatched renderings on every test machine
using the only way possible with Tiger APIs: by setting the
system color profile on the test machine for the duration of the
tests. This will (unfortunately) cause colors to change while
running DumpRenderTree. This can also cause "permanent" color
changes to occur if DRT is to crash (SIGSEGV, etc.) while running.
This is far from ideal, but it's be best way we've found to deal
with the issue for now.
* DumpRenderTree/DumpRenderTree.m:
(restoreColorSpace):
(setDefaultColorProfileToRGB):
(main):
2005-12-20 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler.
- fix http://bugs.webkit.org/show_bug.cgi?id=5846
cvs-create-patch --include produces incorrect paths
* Scripts/cvs-create-patch: Handle newly-added directories using chdir.
2005-12-19 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: stop /etc/catalog warnings
2005-12-19 Darin Adler <darin@apple.com>
Reviewed by Eric Seidel.
- fix http://bugs.webkit.org/show_bug.cgi?id=4990
WebKit needs to use a local pasteboard during testing
* DumpRenderTree/DumpRenderTree.m:
(main): Call poseAs to substitute our NSPasteboard class for the default one.
Create a local pasteboard (really a global one with a unique name) and release
it when exiting from the function so we don't leave it in the pasteboard server.
(dumpRenderTree): Added an autorelease pool around one small bit of code that
ddn't have one. Fixed a leak in an unlikely error case.
(+[DumpRenderTreePasteboard generalPasteboard]): Override the default version
of this method to return our local pasteboard.
2005-12-15 Eric Seidel <eseidel@apple.com>
Reviewed by Tim Hatcher.
* Scripts/build-webkit: --svg is now default!
2005-12-15 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Don't run svg test automatically if +SVG is built (yet).
* Scripts/run-webkit-tests:
2005-12-15 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Don't run tests in directories named "svg" if SVG
support is not compiled in. Report the 10 slowest tests if "--slowest" is
passed on the command line.
2005-12-06 John Sullivan <sullivan@apple.com>
Reviewed by Darin Adler.
* Scripts/prepare-ChangeLog:
Remove special-case handling for nib files. This avoided trouble with cvs diff
when we were using wrappers for nib files. Now that we aren't using wrappers,
there's no reason to avoid adding the modified nib files to the file list that
gets diffed.
2005-12-05 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Script updates for SVG files move (remove references to SVGSupport)
* Scripts/build-webkit: remove SVGSupport
* Scripts/run-webkit-tests: Resources -> resources for --svg
* Scripts/update-webkit: remove SVGSupport
2005-12-05 Eric Seidel <eseidel@apple.com>
Reviewed mjs.
* checkout: remove --svg support, SVG is now checked out by default
2005-11-29 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
Update scripts to run SVG tests automatically (w/o --svg) if
WebCore is built with SVG support.
* Scripts/build-drawtest: SVG support required
* Scripts/build-dumpkcanvastree: Removed.
* Scripts/run-drawtest: SVG support required to run
* Scripts/run-webkit-tests: pass *.svg files if WebCore has support
* Scripts/webkitdirs.pm: changed CheckWebCoreSVGSupport
2005-11-28 Alexey Proskuryakov <ap@nypop.com>
Reviewed by Darin Adler. Committed by Maciej.
- fixed "DumpRenderTree should test for Ahem before doing anything else"
(http://bugs.webkit.org/show_bug.cgi?id=5838)
* DumpRenderTree/DumpRenderTree.m:
(main):
2005-11-28 Eric Seidel <eseidel@apple.com>
Reviewed by sullivan and GGAREN.
Minor additions to make error messages more clear from cvs-apply.
* Scripts/cvs-apply: make errors more clear
2005-11-27 Oliver Hunt <ojh16@student.canterbury.ac.nz>
Reviewed and committed by Maciej.
- fixed cvs-create-patch --include produces incorrect paths
(http://bugs.webkit.org/show_bug.cgi?id=5846)
* Scripts/cvs-create-patch: produce proper paths for new files.
2005-11-21 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Some simple fixes to the build/test scripts now that SVG uses the
WebCore DOM. JSC+SVG is no longer needed, nor is RTTI support
or symlinks for KDOM.
* Scripts/build-webkit: No longer builds JavaScriptCore+SVG
* Scripts/prepare-ChangeLog: handles missing LayoutTests directory
* Scripts/run-webkit-tests: now runs SVG tests using DRT
* Scripts/webkitdirs.pm: use SVG symbols instead of RTTI
* checkout: no longer symlink kdom
2005-11-10 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
* Scripts/build-webkit: Pass through options to xcodebuild
2005-11-07 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Fix case where the patch has files at the top level.
2005-11-03 John Sullivan <sullivan@apple.com>
Reviewed by Darin Adler.
* Scripts/run-safari:
changed message to say "Starting Safari" instead of odd "Start Safari"
* Scripts/run-webkit-tests:
changed the way we pass the file parameter to use -NSOpen rather than relying on
unlabeled arguments being treated as files. This was failing on some machines that
(mysteriously) had NSTreatUnknownArgumentsAsOpen set to NO in com.apple.Safari.plist.
2005-10-27 Geoffrey Garen <ggaren@apple.com>
Patch by Alexey Proskuryakov.
Reviewed by Maciej.
Fixes http://bugs.webkit.org/show_bug.cgi?id=5303
TextInputController should support attributed strings
* DumpRenderTree/TextInputController.m:
(+[NSMutableAttributedString isSelectorExcludedFromWebScript:]):
(+[NSMutableAttributedString webScriptNameForSelector:]):
(-[NSMutableAttributedString getLength]):
(-[NSMutableAttributedString attributeNamesAtIndex:]):
(-[NSMutableAttributedString valueOfAttribute:atIndex:]):
(-[NSMutableAttributedString addAttribute:value:]):
(-[NSMutableAttributedString addAttribute:value:from:length:]):
(-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:]):
(-[NSMutableAttributedString addColorAttribute:red:green:blue:alpha:from:length:]):
(-[NSMutableAttributedString addFontAttribute:fontName:size:]):
(-[NSMutableAttributedString addFontAttribute:fontName:size:from:length:]):
(+[TextInputController isSelectorExcludedFromWebScript:]):
(+[TextInputController webScriptNameForSelector:]):
(-[TextInputController insertText:]):
(-[TextInputController attributedSubstringFrom:length:]):
(-[TextInputController attributedStringWithString:]):
2005-10-11 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
Checks for leaks in ImageDiff too.
* Scripts/run-webkit-tests:
2005-10-09 Darin Adler <darin@apple.com>
* Scripts/check-dom-results: Dump ".xhtml" for tests in the xhtml directory.
* Scripts/cvs-apply: Handle added/deleted files in the current directory.
* Scripts/cvs-unapply: Ditto.
* Scripts/run-webkit-tests: Add a few more false-positive leaks.
2005-10-08 Alexey Proskuryakov <ap@nypop.com>
Reviewed, rearranged and landed by Darin Adler.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4707
Need a way to automatically test for regressions in NSTextInput implementation
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
Create a text input controller and put it in a property of the window object.
* DumpRenderTree/TextInputController.h: Added.
* DumpRenderTree/TextInputController.m: Added.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added files.
2005-10-06 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Fixed merge option to work better when not all directories
are controlled by cvs, or when changes cross multiple repositories.
* Scripts/update-webkit: Don't print messages if the "quiet" flag is set.
2005-10-03 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Make mouseDown and mouseUp force layout before acting.
This is used by a new test case for 4233558.
* DumpRenderTree/DumpRenderTree.m:
(-[EventSendingController mouseDown]): force layout
(-[EventSendingController mouseUp]): force layout
2005-09-30 Eric Seidel <eseidel@apple.com>
Reviewed by xenon.
Updated all the scripts for the move:
WebCore/layout-tests -> LayoutTests
* Scripts/check-dom-results:
* Scripts/prepare-ChangeLog:
* Scripts/run-webkit-tests:
* Scripts/update-webkit: added --no-tests
* checkout: added --no-tests
2005-09-28 Darin Adler <darin@apple.com>
- fixed http://bugs.webkit.org/show_bug.cgi?id=5144
pixel test should run even if render trees differ
* Scripts/run-webkit-tests: Don't check if the text dump matches.
2005-09-27 Eric Seidel <eseidel@apple.com>
No review needed, SVG build fix only.
* DumpKCanvasTree/DumpKCanvasTree.m:
Missed one in my previous checkin.
http://bugs.webkit.org/show_bug.cgi?id=5141
2005-09-26 Eric Seidel <eseidel@apple.com>
No review needed, SVG build fix only.
* DrawTest/DrawTestDocument.m:
* DrawTest/DrawTestToolbarController.m:
* DrawTest/DrawTestView.h:
* DrawTest/DrawTestView.m:
* DrawTest/SVGTest.m:
* DrawTest/TestController.m:
Updated for WebCore+SVG -> WebCore rename.
http://bugs.webkit.org/show_bug.cgi?id=5141
2005-09-26 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* DumpRenderTree/DumpRenderTree.m:
(dump): updated error message
* Scripts/check-dom-results: now includes xhtml
Tool updates for xhtml.
http://bugs.webkit.org/show_bug.cgi?id=4907
2005-09-22 Duncan Wilcox <duncan@mclink.it>
Reviewed by Maciej.
Landed by Darin Adler.
- patch for <http://bugs.webkit.org/show_bug.cgi?id=4963>
"Would like to simulate human interaction with webview"
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:windowScriptObjectAvailable:]):
(+[EventSendingController isSelectorExcludedFromWebScript:]):
(+[EventSendingController webScriptNameForSelector:]):
(-[EventSendingController init]):
(-[EventSendingController mouseDown]):
(-[EventSendingController mouseUp]):
(-[EventSendingController mouseMoveToX:Y:]):
Add eventSender javascript object, that sends fake mouse events to the webview.
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
link with Carbon.framework
2005-09-22 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
Update tools for WebCore+SVG -> WebCore rename.
Also fold several SVG specific tools into their original
WebCore counterparts.
http://bugs.webkit.org/show_bug.cgi?id=5003
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
* Scripts/build-drawtest:
* Scripts/build-dumpkcanvastree:
* Scripts/build-webcore-svg: Removed.
* Scripts/build-webkit: added --svg option
* Scripts/run-drawtest:
* Scripts/run-webkit-tests:
* Scripts/webkitdirs.pm: various additions.
* checkout: added --svg option
* checkout-svg: Removed.
2005-09-19 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: added --guard-malloc option
http://bugs.webkit.org/show_bug.cgi?id=4613
2005-09-16 Justin Garcia <justin.garcia@apple.com>
Reviewed by geoff
Removed a script that is only used by apple internal developers
* Scripts/update-webkitsysteminterface: Removed.
2005-09-16 Adele Peterson <adele@apple.com>
Reviewed by Maciej.
* Scripts/prepare-ChangeLog: Allow semicolons for protocols too.
2005-09-14 Darin Adler <darin@apple.com>
- fixed http://bugs.webkit.org/show_bug.cgi?id=4291
dumpAsText doesn't work with XHTML documents
* DumpRenderTree/DumpRenderTree.m: (dump): Dump the innerText of the document element
rather than of the body element. This works with typical XHTML documents. We can probably
do something even better in the long run, but this fixes the immediate issue.
- separate tweak
* Scripts/run-webkit-tests: Show the results in the current built Safari by using
run-safari instead of just using "open", which often runs another copy of Safari instead.
2005-09-11 Mark Rowe <opendarwin.org@bdash.net.nz>
Reviewed, tweaked, and landed by Darin Adler.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4286
.Mac prefpane crashes when Safari using CVS WebKit is running
* Scripts/run-safari: Set WEBKIT_UNSET_DYLD_FRAMEWORK_PATH.
* Scripts/run-webkit-app: Ditto.
2005-09-11 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Oops. Use spaces, not tabs.
2005-09-11 Darin Adler <darin@apple.com>
Reviewed by Eric.
* Scripts/run-webkit-tests: Sort tests with a new "pathcmp" function that's better in
two ways: 1) puts all files in a directory before any files in a subdirectory, and
2) sort file names with numeric digits in them in a logical way, so test-33 will come
before test-3.
2005-09-08 Justin Garcia <justin.garcia@apple.com>
Reviewed by darin
* Scripts/update-webkitsysteminterface: Added.
Builds webkitsysteminterface and moves the built product and header into WebKitLibraries
2005-09-01 John Sullivan <sullivan@apple.com>
* Scripts/run-webkit-tests:
Excluded a known system leak to reduce noise; added comments about which leaks
are being excluded.
2005-09-01 Tim Omernick <tomernick@apple.com>
Change made by Darin, reviewed by John and myself.
- Allow semicolons at the end of method declarations (this is for method implementations; the semicolon is required for interface declarations).
* Scripts/prepare-ChangeLog:
2005-08-31 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
- set color variant and font settings to a consistent value.
(http://bugs.webkit.org/show_bug.cgi?id=4769)
* DumpRenderTree/DumpRenderTree.m:
(main):
2005-08-30 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* Scripts/build-svg2png: Removed.
* svg2png/ImageDiff.h: Removed.
* svg2png/ImageDiff.m: Removed.
* svg2png/svg2png.m: Removed.
* svg2png/svg2png.xcodeproj/project.pbxproj: Removed.
* svg2png/svg2png_Prefix.pch: Removed.
svg2png is no longer needed.
2005-08-30 Darin Adler <darin@apple.com>
* Scripts/check-dom-results: Special case 100% to say something nice.
* Scripts/cvs-apply: Added "--merge" which automatically rolls back the tree before
applying the patch (need a better name).
* Scripts/find-extra-includes: Added. Experimental tool to find unneeded includes.
2005-08-30 Darin Adler <darin@apple.com>
* Scripts/run-webkit-tests: Small formatting fix for leaks mode.
2005-08-29 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4723
(some pixel tests fail when AA settings are changed)
* DumpRenderTree/DumpRenderTree.m:
(main): set AA settings to the default values
2005-08-29 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
* Scripts/run-webkit-tests: Added a mode where each test is run with a separate
executable -- much slower but can help pinpoint leaks. Changed formatting of some
messages too.
2005-08-28 Maciej Stachowiak <mjs@apple.com>
Reviewed by Eric.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4720
(webkit pixel tests don't give consistent results with changed scrollbar arrow setting)
* DumpRenderTree/DumpRenderTree.m:
(main): set scrollbar arrow setting to a consistent value
2005-08-27 Jussi Hagman <juhagman@abo.fi>
Reviewed and landed by Darin Adler.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4676
output of update-webkit is too verbose
* Scripts/update-webkit:
Added option --quiet (-q) to decrease the amount of output.
2005-08-27 Darin Adler <darin@apple.com>
- fixed http://bugs.webkit.org/show_bug.cgi?id=4596
cvs-create-patch --include-unknowns should ignore hidden files
* Scripts/cvs-create-patch: Add code to check for files starting with ".".
2005-08-25 Ben La Monica <ben.lamonica@gmail.com>
Reviewed, tweaked, and landed by Darin Adler.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4585
update-webkit doesn't notice when you have SVGSupport and update properly
* Scripts/update-webkit: Build SVGSupport directory if it's present.
2005-08-25 Anders Carlsson <andersca@mac.com>
Reviewed and landed by Darin Adler.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4572
layout test machinery can't handle tests with applets that have code attributes
* DumpRenderTree/DumpRenderTree.m: (main): Disable Java while running tests.
2005-08-24 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4625
DumpRenderTree --pixel-tests crash
- landed some other small changes I had sitting in my tree
* DumpRenderTree/DumpRenderTree.m:
(main): Don't bother saving and restoring the preferences. Not sure
why this was ever done since the preferences are specific to DumpRenderTree.
Clear delegates before releasing the WebView, because you can't count on the
order of object deallocation.
(dumpRenderTree): Fix code that releases a string before storing it in a
global variable.
* Scripts/run-webkit-tests: Use "-s" rather than a function to get the size
of a file. Fix lots of cases that were using tabs for indenting to use spaces instead.
2005-08-23 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* Scripts/run-webkit-tests:
Made --leaks option more readable by printing to a file.
http://bugs.webkit.org/show_bug.cgi?id=4590
2005-08-22 Eric Seidel <eseidel@apple.com>
Fix by Tobias Lidskog <tobiaslidskog@mac.com>
Reviewed by darin.
* Scripts/run-webkit-tests: hides "expected actual diffs" links
when they are not needed (for pixel-only failures)
http://bugs.webkit.org/show_bug.cgi?id=4584
2005-08-22 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: Added the ability to display more than
just two images as part of the image-diff "slideshow".
Added display of "-w3c.png" baseline images for SVG.
http://bugs.webkit.org/show_bug.cgi?id=4581
2005-08-20 Eric Seidel <eseidel@apple.com>
* Scripts/run-webkit-tests:
"build" fix after committing incorrect version.
2005-08-20 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* DumpRenderTree/DumpRenderTree.m:
(main): cleans up delegates
(dumpRenderTree): closes CFString/CFURL leak
* Scripts/run-webkit-tests:
Adds --leaks option to run-webkit-tests
http://bugs.webkit.org/show_bug.cgi?id=4542
2005-08-19 Ben La Monica <ben.lamonica@gmail.com>
Reviewed by Darin Adler.
* Scripts/cvs-create-patch: Add an --include-unknowns option that will cause
new files to be included in the patch even without "cvs add".
2005-08-19 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Fix to not garble patches that are mix of cvs-style and
non-cvs-generated patches. Anders has been creating these, so it's bad that
the script can't handle them.
* Scripts/cvs-unapply: Ditto.
2005-08-18 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Fix version checking to work on Xcode versions with
"." in them -- based on complaint by someone here at Apple.
2005-08-18 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* Scripts/run-webkit-tests:
Made --svg imply --pixel-tests (pixel tests on-by-default for svg).
2005-08-17 Maciej Stachowiak <mjs@apple.com>
- add file that I forgot in the last checkin
* DumpRenderTree/ImageDiff.m: Added.
(main):
(getImageFromStdin):
(compareImages):
(getDifferenceBitmap):
(computePercentageDifferent):
2005-08-17 Maciej Stachowiak <mjs@apple.com>
Changes by Ben Lamonica and Eric Seidel, reviewed mostly by Eric and
somewhat by me, and also tweaked by me a little bit.
- better support for pixel-dumping
- use checksums of the images so the tests are fast
- change output format to make the tests run faster
- don't dump pixel results for tests that dump as text
* DumpKCanvasTree/DumpKCanvasTree.m:
(main):
(dumpRenderTree):
(md5HashStringForBitmap):
(dumpPixelTests):
(constrainSizeToMaximum):
(getBitmapImageRepForSVGDocument):
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj:
* DumpRenderTree/DumpRenderTree.m:
(main):
(dump):
(dumpRenderTree):
(md5HashStringForBitmap):
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj:
* Scripts/run-webkit-tests:
2005-08-17 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
- hacked DumpRenderTree to make the scrollbars appear and disappear properly.
* DumpRenderTree/DumpRenderTree.m:
(main):
2005-08-14 Oliver Hunt <ojh16@student.canterbury.ac.nz>
Reviewed and landed by Darin Adler.
- fixed http://bugs.webkit.org/show_bug.cgi?id=4251
Ideally would be able to pass arguments to apps using run-safari and run-webkit-app scripts
* Scripts/run-safari: Pass arguments through to Safari on command line.
* Scripts/run-webkit-app: Pass arguments through to "open" tool on command line.
2005-08-11 Eric Seidel <eseidel@apple.com>
Fix by Tobias Lidskog <tobiaslidskog@mac.com>
Reviewed by eseidel.
* DrawTest/TestController.m:
(-[TestController imagePathForSVGPath:]):
Fixed support for using TextViewer with the layout-tests.
http://bugs.webkit.org/show_bug.cgi?id=4385
2005-08-11 Maciej Stachowiak <mjs@apple.com>
At Least Roughly Glanced At by Anders.
- fix change with totally breaks the layout tests.
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didCommitLoadForFrame:]): Make tests unready if you start another
load, to avoid dumping twice accidentally.
2005-08-10 Eric Seidel <eseidel@apple.com>
Fixed made by Mitz Pettel <opendarwin.org@mitzpettel.com>
Reviewed by darin.
* DumpRenderTree/DumpRenderTree.m:
Added support for rendering to a PNG file.
http://bugs.webkit.org/show_bug.cgi?id=3840
2005-08-07 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests: added --svg option
* Scripts/run-webkit-tests-svg: Removed.
http://bugs.webkit.org/show_bug.cgi?id=4300
2005-08-07 Eric Seidel <eseidel@apple.com>
Changes by Ben La Monica <ben.lamonica@gmail.com>
Reviewed by darin.
* svg2png/ImageDiff.h: Added.
* svg2png/ImageDiff.m: Added.
(getDifferenceBitmap):
(computePercentageDifferent):
(saveAnimatedGIFToFile):
* svg2png/svg2png.m:
(usage): added several new options
(getBitmapForSVG): added NSBitmapImageRep generation
(main): various argument changes.
* svg2png/svg2png.xcodeproj/project.pbxproj:
Several additions to provide image differencing functionality.
http://bugs.webkit.org/show_bug.cgi?id=4193
2005-08-07 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/run-webkit-tests-svg: now uses WebCore/svg-tests
* checkout-svg: links WebCore/svg-tests to SVGSupport/layout-tests
Adding the first SVG layout tests:
http://bugs.webkit.org/show_bug.cgi?id=4303
2005-08-07 Darin Adler <darin@apple.com>
* Scripts/cvs-create-patch: Do all the directories at once, for speed.
2005-08-06 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* DumpKCanvasTree/DumpKCanvasTree.m: Added.
* DumpKCanvasTree/DumpKCanvasTree.xcodeproj/project.pbxproj: Added.
* Scripts/build-dumpkcanvastree: Added.
* Scripts/run-webkit-tests-svg: Added.
Adds a DumpRenderTree-like tool for SVG which allows us to do
text-based layout regression testing. This (like most of the
SVG specific stuff) is temporary and will be replaced by
DumpRenderTree once the DOMs and RenderTrees merge.
http://bugs.webkit.org/show_bug.cgi?id=3917
2005-08-06 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* DrawTest/DrawTestView.m:
(-[DrawTestView toggleFilterSupport:]): missing negation.
One half of fix for toggling filter support.
http://bugs.webkit.org/show_bug.cgi?id=4252
2005-08-04 Eric Seidel <eseidel@apple.com>
Reviewed by darin.
* Scripts/build-drawtest:
* Scripts/build-dumprendertree:
* Scripts/build-svg2png:
* Scripts/build-webcore-svg:
* Scripts/build-webkit:
* Scripts/webkitdirs.pm: added checkRequiredSystemConfig()
Added checkRequiredSystemConfig and made all the build-* scripts
use it to print a pretty warning when trying to compile on an
unsupported system (less than 10.4, Xcode 2.1).
http://bugs.webkit.org/show_bug.cgi?id=4280
2005-08-04 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Bring this file back from
the dead. It was removed by accident when someone was trying to work on the branch.
2005-07-31 Darin Adler <darin@apple.com>
- a little tools cleanup
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Moved options from target to
project as a whole. Removed unused Default configuration.
* Scripts/check-dom-results: Added license header, comment to explain purpose of tool.
2005-07-31 Duncan Wilcox <duncan@mclink.it>
Reviewed and landed by Darin Adler.
Add logging of editing delegate calls for regression checking.
* DumpRenderTree/DumpRenderTree.m:
(main):
setup editing delegate
(-[DOMNode dumpPath]):
(-[DOMRange dump]):
utility for editing delegate logging
(-[EditingDelegate webView:shouldBeginEditingInDOMRange:]):
(-[EditingDelegate webView:shouldEndEditingInDOMRange:]):
(-[EditingDelegate webView:shouldInsertNode:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldInsertText:replacingDOMRange:givenAction:]):
(-[EditingDelegate webView:shouldDeleteDOMRange:]):
(-[EditingDelegate webView:shouldChangeSelectedDOMRange:toDOMRange:affinity:stillSelecting:]):
(-[EditingDelegate webView:shouldApplyStyle:toElementsInDOMRange:]):
(-[EditingDelegate webView:shouldChangeTypingStyle:toStyle:]):
(-[EditingDelegate webViewDidBeginEditing:]):
(-[EditingDelegate webViewDidChange:]):
(-[EditingDelegate webViewDidEndEditing:]):
(-[EditingDelegate webViewDidChangeTypingStyle:]):
log corresponding editing delegate methods
(-[EditingDelegate webViewDidChangeSelection:]):
log selection except when clearing selection after end of test (uses existing "done" flag)
(dumpRenderTree):
added clearing of selection after test
2005-07-31 Eric Seidel <eseidel@apple.com>
Reviewed by hyatt.
* Scripts/build-drawtest: Added.
* Scripts/build-svg2png: Added.
* Scripts/build-webcore-svg: Added.
* Scripts/run-drawtest: Added.
* Scripts/webkitdirs.pm: added checkSVGFrameworks
Made it much easier to build WebCore+SVG.
http://bugs.webkit.org/show_bug.cgi?id=4208
2005-07-29 Eric Seidel <eseidel@apple.com>
Reviewed by vicki.
* DrawTest/DrawTest.xcodeproj/project.pbxproj:
Build fix. Removed bad path.
2005-07-29 Eric Seidel <eseidel@apple.com>
Reviewed by sullivan.
* DrawTest/AppDelegate.h: Added.
* DrawTest/AppDelegate.m: Added.
* DrawTest/DrawTest.xcodeproj/project.pbxproj: Added.
* DrawTest/DrawTestDocument.h: Added.
* DrawTest/DrawTestDocument.m: Added.
* DrawTest/DrawTestInspectorController.h: Added.
* DrawTest/DrawTestInspectorController.m: Added.
* DrawTest/DrawTestToolbarController.h: Added.
* DrawTest/DrawTestToolbarController.m: Added.
* DrawTest/DrawTestView.h: Added.
* DrawTest/DrawTestView.m: Added.
* DrawTest/DrawTest_Prefix.pch: Added.
* DrawTest/English.lproj/DrawTestDocument.nib/classes.nib: Added.
* DrawTest/English.lproj/DrawTestDocument.nib/info.nib: Added.
* DrawTest/English.lproj/DrawTestDocument.nib/keyedobjects.nib: Added.
* DrawTest/English.lproj/InfoPlist.strings: Added.
* DrawTest/English.lproj/Inspector.nib/classes.nib: Added.
* DrawTest/English.lproj/Inspector.nib/info.nib: Added.
* DrawTest/English.lproj/Inspector.nib/keyedobjects.nib: Added.
* DrawTest/English.lproj/MainMenu.nib/classes.nib: Added.
* DrawTest/English.lproj/MainMenu.nib/info.nib: Added.
* DrawTest/English.lproj/MainMenu.nib/keyedobjects.nib: Added.
* DrawTest/English.lproj/TestViewer.nib/classes.nib: Added.
* DrawTest/English.lproj/TestViewer.nib/info.nib: Added.
* DrawTest/English.lproj/TestViewer.nib/keyedobjects.nib: Added.
* DrawTest/Info.plist: Added.
* DrawTest/SVGTest.h: Added.
* DrawTest/SVGTest.m: Added.
* DrawTest/ScalingImageView.h: Added.
* DrawTest/ScalingImageView.m: Added.
* DrawTest/TestController.h: Added.
* DrawTest/TestController.m: Added.
* DrawTest/TestViewerSplitView.h: Added.
* DrawTest/TestViewerSplitView.m: Added.
* DrawTest/main.m: Added.
Adding simple cocoa app for testing SVG rendering, interaction.
http://bugs.webkit.org/show_bug.cgi?id=4157
2005-07-28 Eric Seidel <eseidel@apple.com>
Reviewed by ggaren.
* svg2png/svg2png.m: Added.
* svg2png/svg2png.xcodeproj/project.pbxproj: Added.
* svg2png/svg2png_Prefix.pch: Added.
Added a simple test tool which dumps a PNG from an SVG using
WebCore+SVG's SVG rendering support.
http://bugs.webkit.org/show_bug.cgi?id=4156
2005-07-26 Maciej Stachowiak <mjs@apple.com>
Reviewed by Darin Adler.
- new script to review the DOM layout test results and see where we stand
on actual success and failure
* Scripts/check-dom-results: Added.
2005-07-25 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Check in missing line of code.
2005-07-25 Darin Adler <darin@apple.com>
- fixed problem that was causing JavaScriptCore test to fail
(except for people who had set DYLD_FRAMEWORK_PATH)
* Scripts/run-javascriptcore-tests: Add code to set DYLD_FRAMEWORK_PATH.
Add code to parse configuration parameter so you can pass --deployment if you like.
* Scripts/run-webkit-tests: Add code to parse configuration parameter.
* Scripts/update-javascriptcore-test-results: Add license header.
* Scripts/webkitdirs.pm: Change code that reads configuration option to remove it
from @ARGV. This lets us use this option in commands that take other options and
pass them along to a subsequent tool.
2005-07-25 Darin Adler <darin@apple.com>
Reviewed by Geoff Garen.
- Fixed run-safari and gdb-safari to use the Safari application in the build results
directory, if any, falling back to the one in the Applications directory otherwise.
Does no harm for open source contributors who don't build Safari, and helps out the
Safari team, since we do build Safari.
* Scripts/webkitdirs.pm: Added safariPath function that uses WEBKIT_SAFARI environment
variable, and if that's not present, looks in either the build results directory or
/Applications; factors code that was in both scripts before into a shared function.
Also removed some Xcode 2.0 support which is no longer relevant since our projects are
now in Xcode 2.1 format and incompatible with older versions of Xcode.
* Scripts/gdb-safari: Use safariPath.
* Scripts/run-safari: Use safariPath.
2005-07-22 Geoffrey Garen <ggaren@apple.com>
Moved Tools/Scripts/run-mozilla-tests to WebKitTools/Scripts/run-javascriptcore-tests.
run-javascriptcore-tests now passes its command-line arguments to jsDriver.pl
Moved Tools/Scripts/update-mozilla-js-test-results to
WebKitTools/Scripts/update-javascriptcore-test-results.
Reviewed by darin.
* Scripts/run-javascriptcore-tests: Added.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
Reviewed by Darin Adler.
* Scripts/build-dumprendertree: changed XCode 2.0 project file reference to 2.1
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Removed.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Removed.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcodeproj/.cvsignore: Added.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* DumpRenderTree/DumpRenderTree.xcodeproj/project.pbxproj: Added.
2005-07-21 Geoffrey Garen <ggaren@apple.com>
* Scripts/build-webkit:
2005-07-12 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* checkout-svg: Fixed error with symlink creation.
2005-07-12 Eric Seidel <eseidel@apple.com>
Reviewed by mjs.
* checkout-svg: Added.
Script to check out WebCore+SVG
2005-06-30 Darin Adler <darin@apple.com>
Changes based on input from Michael Kahl.
* Scripts/cvs-create-patch: Use "-f" so we are compatible with .cvsrc files that
specify different style of "diff".
* Scripts/webkitdirs.pm: Add missing call to determineBaseProductDir, so that
determineConfigurationProductDir works in all cases.
2005-06-29 Darin Adler <darin@apple.com>
- fixed bug which would result in multiple unwanted dumps in a single layout test
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:locationChangeDone:forDataSource:]): Set new
"readyToDump" flag.
(-[LayoutTestController waitUntilDone]): Update for name change.
(-[LayoutTestController notifyDone]): Dump only if ready.
(dumpRenderTree): Set up new boolean and update for name change.
2005-06-29 Darin Adler <darin@apple.com>
Changes by Timothy Hatcher.
Reviewed by me.
* Scripts/run-webkit-app: Added script to open an arbritrary application with
a CVS built WebKit. Example: ./run-webkit-app Colloquy
* Scripts/gdb-safari: Added support for WEBKIT_SAFARI environment variable to specify
a custom location to the Safari.app bundle. This is optional, script defaults to the stock location.
* Scripts/run-safari: Ditto.
2005-06-26 Darin Adler <darin@apple.com>
* Scripts/build-dumprendertree: Pass -project option so that having a second
copy of the project (like the one Xcode 2.1 offers to make for you) that's
out of date won't screw you up.
* Scripts/build-webkit: Ditto.
2005-06-23 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Fixed a regular expression in the code I just landed.
2005-06-23 Darin Adler <darin@apple.com>
Changes based on input from Michael Kahl.
* Scripts/cvs-create-patch: Added code to handle getting changes in the top-level
directory passed in.
* Scripts/webkitdirs.pm: Eliminate use of changing the current directory and using
getcwd() in the code to find the base product dir. Added code to handle unusual
base product directory values that use SRCROOT.
2005-06-22 Darin Adler <darin@apple.com>
Change by Anders Carlsson.
- added support for dumping title changes
* DumpRenderTree/DumpRenderTree.m:
(-[WaitUntilDoneDelegate webView:didReceiveTitle:forFrame:]): Added. Dump title change
if requested by JavaScript.
(+[LayoutTestController isSelectorExcludedFromWebScript:]): Added dumpTitleChanges.
(-[LayoutTestController dumpTitleChanges]): Added, sets flag.
(dumpRenderTree): Start flag as NO.
2005-06-20 Darin Adler <darin@apple.com>
Reviewed by Justin Garcia.
* Scripts/run-webkit-tests: Report number of tests when they succeed.
2005-06-18 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.m: (dumpRenderTree): Add more auto-release pools
in the hope of making the tool use less memory and run faster.
2005-06-18 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Improve handling of patches with CR characters in them.
* Scripts/cvs-unapply: Ditto.
2005-06-17 Maciej Stachowiak <mjs@apple.com>
- added prepare-ChangeLog script which we use internally to make ChangeLogs, for
benefit of all WebKit hackerdom
* Scripts/prepare-ChangeLog: Added.
2005-06-16 Darin Adler <darin@apple.com>
- recent changes to XcodeOptions made it depend on the current directory
The intent was to have the WebKitBuild directory be next to WebKitTools,
not inside the various build directories. Workaround for now is to call
XcodeOptions when the directory is set to the WebKit directory.
* Scripts/build-dumprendertree: Use a local variable for XcodeOptions and get it
at the start of the script.
* Scripts/build-webkit: Ditto.
2005-06-15 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Recognize all 1.X versions of Xcode as old too, not just 2.0.
2005-06-14 Darin Adler <darin@apple.com>
Changes by Anders Carlsson.
Reviewed by me.
- fixed <http://bugs.webkit.org/show_bug.cgi?id=3496>
Add gdb-safari script to launch Safari under gdb
* Scripts/gdb-safari: Added.
2005-06-12 Darin Adler <darin@apple.com>
Changes by Stuart Morgan.
Reviewed by me.
* Scripts/cvs-abandon: Use cwd instead of `pwd`.
* Scripts/cvs-apply: Ditto.
* Scripts/cvs-create-patch: Ditto.
* Scripts/cvs-unapply: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/webkitdirs.pm: Ditto. Also improve handling when there's no "Configuration" file.
2005-06-12 Darin Adler <darin@apple.com>
* Scripts/cvs-apply: Handle case of an empty patch better.
* Scripts/cvs-unapply: Ditto.
2005-06-12 Darin Adler <darin@apple.com>
Changes by Michael Gaiman.
Reviewed by me.
- fixed <http://bugs.webkit.org/show_bug.cgi?id=3487>
WebKit no longer builds after configuration supporting build changes
* Scripts/webkitdirs.pm: Chomp off the result of `pwd`, and don't die when no Configuration file.
2005-06-12 Darin Adler <darin@apple.com>
* Scripts/update-webkit: Make this script work when called from any directory.
2005-06-12 Darin Adler <darin@apple.com>
Reviewed by Maciej.
Includes changes by Stuart Morgan as well as my own.
* Scripts/build-dumprendertree: Call the new setConfiguration function, and use XcodeOptions instead of
symrootXcodeOptions to set the -buildstyle option.
* Scripts/build-webkit: Ditto. Also remove the old way of supporting Xcode 2.1 and the old --debug option.
The new --development option does the same thing.
* Scripts/run-safari: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/update-webkit: Ditto.
* Scripts/set-webkit-configuration: Added. Sets the default configuration to Development or Deployment.
* Scripts/webkitdirs.pm: use FindBin to find the WebKit directory; works no matter what the current
directory is when invoking a script. Add code to determine the Xcode version so we can do the right
thing for 2.0 and 2.1. Change the productDir function to return the appropriate per-configuration
product directory. Read the default configuration from a file, overridable by a passed-in command-line
option.
2005-06-11 Darin Adler <darin@apple.com>
* Scripts/cvs-create-patch: Improve handling of directories with mixed CVS roots by going into each directory
to execute the cvs diff commands.
2005-06-11 Darin Adler <darin@apple.com>
- added first cuts at some cvs scripts
cvs-abandon is for throwing away changes; discards any local changes, reverting to the state in CVS
cvs-create-patch is for making patches; runs cvs diff with all the right options and handles added/deleted files
cvs-apply is for applying patches; runs patch and cvs add and cvs rm
cvs-unapply is for unapplying patches; does the opposite of cvs-apply
An argument against these is "waste of time if we switch to Subversion", but they should be good for a while.
* Scripts/cvs-abandon: Added.
* Scripts/cvs-apply: Added.
* Scripts/cvs-create-patch: Added.
* Scripts/cvs-unapply: Added.
2005-06-09 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- fixed http://bugs.webkit.org/show_bug.cgi?id=3397
Build DumpRenderTree fails with unresolved NSAutoreleasePool, etc
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Change type from "folder" to "wrapper.framework"
for Foundation.framework. How was it ever wrong?
- finally, I tested making the default build directory work; it works now
* Scripts/webkitdirs.pm: Changed structure of the code a little bit, added symrootXcodeOptions function
that sets SYMROOT on the command line in case there's no product directory set in Xcode preferences.
* Scripts/build-webkit: Pass symrootXcodeOptions when invoking Xcode.
* Scripts/build-dumprendertree: Ditto.
2005-06-09 Darin Adler <darin@apple.com>
* Scripts/webkitdirs.pm: Another try at making the default build directory of ~/WebKitBuild
work. Someone should try building without setting the Xcode build product directory now,
and let me know if it works.
2005-06-08 Darin Adler <darin@apple.com>
- quick fix to try to get build scripts working again
* Scripts/build-dumprendertree: Add FindBin.
* Scripts/build-webkit: Ditto.
* Scripts/run-safari: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/update-webkit: Ditto.
2005-06-08 Darin Adler <darin@apple.com>
Reviewed by Maciej.
- some build script enhancements
* Scripts/build-dumprendertree: Changed to use webkitdirs.
* Scripts/build-webkit: Changed to use webkitdirs, also only copy files from WebKitLibraries if
they are newer.
* Scripts/run-safari: Reduce number of log messages, change to respect "-d" flag and get Development
before Deplyment in that case.
* Scripts/run-webkit-tests: Changed to use webkitdirs.
* Scripts/update-webkit: Changed to use webkitdirs.
* Scripts/webkitdirs.pm: Added.
2005-06-08 Maciej Stachowiak <mjs@apple.com>
Code change by Toby Peterson <toby@opendarwin.org>
Reviewed by me.
* Scripts/run-safari: Fix to work with Xcode 2.0 again. The script would
get confused because build-webkit now makes even 2.0 build directories look
like 2.1.
2005-06-07 Darin Adler <darin@apple.com>
Reviewed by Adele Peterson.
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added Deployment build style.
* Scripts/build-dumprendertree: For now, always use Deployment build style. This may fix things
so we can run tests with Xcode 2.1.
2005-06-07 Darin Adler <darin@apple.com>
Reviewed by Adele Peterson.
* Scripts/run-webkit-tests: Pass -L to find command to follow symlinks. This allows symlinks in the
layout-tests directory to include additional sets of tests.
2005-06-07 Darin Adler <darin@apple.com>
* checkout: Added license.
* Scripts/build-dumprendertree: Ditto.
* Scripts/run-webkit-tests: Ditto.
* Scripts/update-webkit: Ditto.
2005-06-07 Darin Adler <darin@apple.com>
Change by Toby Peterson <toby@opendarwin.org>.
Reviewed by me.
* Scripts/build-webkit: Changes so you can build with Xcode 2.1. (I also added a license to this file.)
* Scripts/run-safari: Ditto.
2005-06-06 Maciej Stachowiak <mjs@apple.com>
* Scripts/build-webkit: run ranlib on libWebKitSystemInterface.a
2005-06-06 Maciej Stachowiak <mjs@apple.com>
* Scripts/build-webkit: Chop newline off of $productDir to avoid problems with logic to copy files ther.
2005-06-06 Maciej Stachowiak <mjs@apple.com>
* Scripts/build-webkit: Install WebKitSystemInterface stuff into build products dir.
2005-06-05 Darin Adler <darin@apple.com>
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Tweak, simplify.
* Scripts/build-dumprendertree: Added.
* Scripts/build-webkit: Build All in the JavaScriptCore directory.
* Scripts/run-webkit-tests: Build DumpRenderTree before running.
2005-06-05 Darin Adler <darin@apple.com>
* Scripts/run-safari: Fix path to Safari executable. Add check for frameworks.
2005-06-05 Darin Adler <darin@apple.com>
- add run-webkit-tests script; not working yet but the pieces are there
* Scripts/run-webkit-tests: Added.
* DumpRenderTree/DumpRenderTree.m: Added.
* DumpRenderTree/DumpRenderTree.xcode/.cvsignore: Added.
* DumpRenderTree/DumpRenderTree.xcode/project.pbxproj: Added.
* DumpRenderTree/DumpRenderTreePrefix.h: Added.
2005-06-05 Darin Adler <darin@apple.com>
- created module, first cut at Web Kit Open Source Project scripts
* ChangeLog: Added.
* Scripts/build-webkit: Added.
* Scripts/run-safari: Added.
* Scripts/update-webkit: Added.
* checkout: Added.
=== creation of WebKitTools module ===
|