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
|
2012-11-27 James Simonsen <simonjam@chromium.org>
Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
https://bugs.webkit.org/show_bug.cgi?id=102151
Reviewed by Adam Barth.
* WebFrame.cpp:
(WebKit::WebFrame::SetPageSource):
2012-11-27 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r135786.
http://trac.webkit.org/changeset/135786
https://bugs.webkit.org/show_bug.cgi?id=103379
It made 3 plugin tests timeout on several platforms (Requested
by Ossy on #webkit).
* WebFrame.cpp:
(WebKit::WebFrame::SetPageSource):
2012-11-26 James Simonsen <simonjam@chromium.org>
Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
https://bugs.webkit.org/show_bug.cgi?id=102151
Reviewed by Adam Barth.
* WebFrame.cpp:
(WebKit::WebFrame::SetPageSource):
2012-11-20 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r135295.
http://trac.webkit.org/changeset/135295
https://bugs.webkit.org/show_bug.cgi?id=102834
This patch causes assertion to some layout tests on chromium
(Requested by jianli on #webkit).
* WebFrame.cpp:
(WebKit::WebFrame::SetPageSource):
2012-11-20 James Simonsen <simonjam@chromium.org>
Consolidate FrameLoader::load() into one function taking a FrameLoadRequest
https://bugs.webkit.org/show_bug.cgi?id=102151
Reviewed by Adam Barth.
* WebFrame.cpp:
(WebKit::WebFrame::SetPageSource):
2012-10-22 Jocelyn Turcotte <jocelyn.turcotte@digia.com>
[Qt] Fix "ASSERTION FAILED: !document->inPageCache()" when loading a page
https://bugs.webkit.org/show_bug.cgi?id=98514
Reviewed by Kenneth Rohde Christiansen.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2012-09-25 Beth Dakin <bdakin@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=95397
Need to merge didFirstVisuallyNonEmptyLayout and
didNewFirstVisuallyNonEmptyLayout
-and corresponding-
<rdar://problem/10791680>
Reviewed by Sam Weinig.
Remove dispatchDidFirstLayout,
dispatchDidFirstVisuallyNonEmptyLayout, and
dispatchDidNewFirstVisuallyNonEmptyLayout. Their functionality
is now replaced by dispatchDidLayout(LayoutMilestones)
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidLayout):
* WebKitSupport/FrameLoaderClientWx.h:
(FrameLoaderClientWx):
2012-09-12 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r127876.
http://trac.webkit.org/changeset/127876
https://bugs.webkit.org/show_bug.cgi?id=96600
mouse click doesn't work for spin button if spin button in
iframe (Requested by yosin on #webkit).
* WebFrame.cpp:
(WebKit::WebFrame::HitTest):
2012-09-07 Allan Sandfeld Jensen <allan.jensen@nokia.com>
Simplify hitTestResultAtPoint and nodesFromRect APIs
https://bugs.webkit.org/show_bug.cgi?id=95720
Reviewed by Antonio Gomes.
Update calls to new API.
* WebFrame.cpp:
(WebKit::WebFrame::HitTest):
2012-09-05 Sam Weinig <sam@webkit.org>
Part 2 of removing PlatformString.h, remove PlatformString.h
https://bugs.webkit.org/show_bug.cgi?id=95931
Reviewed by Adam Barth.
Remove PlatformString.h
* WebFrame.cpp:
* WebKitSupport/ChromeClientWx.cpp:
* WebKitSupport/EditorClientWx.cpp:
* WebKitSupport/FrameLoaderClientWx.cpp:
* WebKitSupport/InspectorClientWx.cpp:
* WebSettings.cpp:
* WebView.cpp:
2012-08-30 Benjamin Poulain <bpoulain@apple.com>
Replace JSC::UString by WTF::String
https://bugs.webkit.org/show_bug.cgi?id=95271
Reviewed by Geoffrey Garen.
Update the #includes to use the correct types.
* WebFrame.cpp:
* WebView.cpp:
2012-08-13 Tom Sepez <tsepez@chromium.org>
[chromium] release FrameLoaderClientImpl::m_pluginWidget refptr upon Plugin Document detach.
https://bugs.webkit.org/show_bug.cgi?id=93283
Reviewed by Eric Seidel.
Chromium has a refptr that needs to be NULLed at this point.
Change the client redirectDataToPlugin method(s) to expect the possibility of
a NULL argument, keeping existing behaviour otherwise.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::redirectDataToPlugin):
2012-07-23 Pierre Rossi <pierre.rossi@gmail.com>
Unify numTouchEventHandlersChanged and needTouchEvents in the chrome client
https://bugs.webkit.org/show_bug.cgi?id=91006
Reviewed by Ryosuke Niwa.
Remove numTouchEventHandlersChanged stub.
* WebKitSupport/ChromeClientWx.h:
2012-07-17 Vivek Galatage <vivekgalatage@gmail.com>
Web Inspector: refactor InspectorController::connectFrontend() to accept InspectorFrontendChannel.
https://bugs.webkit.org/show_bug.cgi?id=91196
Reviewed by Pavel Feldman.
Refactoring InspectorClients. InspectorClient::openInspectorFrontend
now returning the InspectorFrontendChannel.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::openInspectorFrontend):
* WebKitSupport/InspectorClientWx.h:
(InspectorClientWx):
2012-07-02 Benjamin Poulain <bpoulain@apple.com>
Do not do any logging initialization when logging is disabled
https://bugs.webkit.org/show_bug.cgi?id=90228
Reviewed by Simon Fraser.
* WebView.cpp:
(WebKit::WebView::Create):
2012-05-31 Hajime Morrita <morrita@chromium.org>
REGRESSION(r117572): editing/spelling/spellcheck-async-remove-frame.html crashes on Mac
https://bugs.webkit.org/show_bug.cgi?id=86859
Reviewed by Ryosuke Niwa.
* WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::requestCheckingOfString):
2012-05-18 MORITA Hajime <morrita@google.com>
Another unreviewed attempt to fix build breakage on r117572.
* WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::frameWillDetachPage):
2012-05-18 MORITA Hajime <morrita@google.com>
https://bugs.webkit.org/show_bug.cgi?id=85515
Stale frame in WebCore::SpellChecker::didCheckSucceeded
Reviewed by Ryosuke Niwa.
* WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::frameWillDetachPage):
2012-05-17 Hironori Bono <hbono@chromium.org>
[Refactoring] Move platform-specific code in Editor::respondToChangedSelection to the WebKit layer
https://bugs.webkit.org/show_bug.cgi?id=86591
Reviewed by Ryosuke Niwa.
This change adds a TextCheckerClient::shouldEraseMarkersAfterChangeSelection
function to remove platform-specific code from Editor::respondToChangedSelection
function.
No new tests, no change in behavior.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::shouldEraseMarkersAfterChangeSelection):
(WebCore):
* WebKitSupport/EditorClientWx.h:
(EditorClientWx):
2012-05-14 Kevin Ollivier <kevino@theolliviers.com>
[wx] Unreviewed build fix. Add a couple missing headers.
* WebFrame.cpp:
2012-05-12 Robin Dunn <robin@alldunn.com>
[wx] Fix a bug with CanDecreaseTextSize and handling page breaks.
https://bugs.webkit.org/show_bug.cgi?id=86311
Reviewed by Kevin Ollivier.
* WebFrame.cpp:
(WebKit::wxWebFramePrintout::InitializeWithPageSize):
* WebView.cpp:
(WebKit::WebView::CanDecreaseTextSize):
2012-05-11 Robin Dunn <robin@alldunn.com>
[wx] Fix backing bitmap creation under wxMSW.
https://bugs.webkit.org/show_bug.cgi?id=86304
Reviewed by Kevin Ollivier.
* WebView.cpp:
(WebKit::WebView::OnPaint):
2012-05-04 Nate Chapin <japhet@chromium.org>
Don't require FrameLoaderClient to manufacture a commitData() call for empty documents.
https://bugs.webkit.org/show_bug.cgi?id=85533
Reviewed by Alexey Proskuryakov.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::finishedLoading):
(WebCore::FrameLoaderClientWx::setMainDocumentError):
(WebCore::FrameLoaderClientWx::dispatchDidReceiveResponse):
(WebCore::FrameLoaderClientWx::dispatchDidFailLoading):
* WebKitSupport/FrameLoaderClientWx.h:
(FrameLoaderClientWx):
2012-04-18 Jon Honeycutt <jhoneycutt@apple.com>
FrameLoaderClient::dispatchWillSendSubmitEvent() should be given more
information about the form being submitted
https://bugs.webkit.org/show_bug.cgi?id=84297
Reviewed by Andy Estes.
* WebKitSupport/FrameLoaderClientWx.h:
(WebCore::FrameLoaderClientWx::dispatchWillSendSubmitEvent):
Updated method declaration.
2012-03-30 Malcolm MacLeod <malcolm.macleod@tshwanedje.com>
[wx] Move wxWebKit API into WebKit namespace.
https://bugs.webkit.org/show_bug.cgi?id=82740
Reviewed by Kevin Ollivier.
* WebBrowserShell.cpp:
(WebKit):
(WebKit::PageSourceViewFrame::PageSourceViewFrame):
(WebKit::WebBrowserShell::WebBrowserShell):
(WebKit::WebBrowserShell::~WebBrowserShell):
(WebKit::WebBrowserShell::ShowDebugMenu):
(WebKit::WebBrowserShell::OnQuit):
(WebKit::WebBrowserShell::OnAbout):
(WebKit::WebBrowserShell::OnLoadFile):
(WebKit::WebBrowserShell::OnLoadEvent):
(WebKit::WebBrowserShell::OnBeforeLoad):
(WebKit::WebBrowserShell::OnAddressBarEnter):
(WebKit::WebBrowserShell::OnSearchCtrlEnter):
(WebKit::WebBrowserShell::OnCut):
(WebKit::WebBrowserShell::OnCopy):
(WebKit::WebBrowserShell::OnPaste):
(WebKit::WebBrowserShell::OnBack):
(WebKit::WebBrowserShell::OnForward):
(WebKit::WebBrowserShell::OnStop):
(WebKit::WebBrowserShell::OnReload):
(WebKit::WebBrowserShell::OnMakeTextLarger):
(WebKit::WebBrowserShell::OnMakeTextSmaller):
(WebKit::WebBrowserShell::OnGetSource):
(WebKit::WebBrowserShell::OnSetSource):
(WebKit::WebBrowserShell::OnBrowse):
(WebKit::WebBrowserShell::OnEdit):
(WebKit::WebBrowserShell::OnRunScript):
(WebKit::WebBrowserShell::OnEditCommand):
(WebKit::WebBrowserShell::OnGetEditCommandState):
(WebKit::WebBrowserShell::OnPrint):
* WebBrowserShell.h:
(WebKit):
* WebDOMSelection.cpp:
(WebKit):
(WebKit::WebKitSelection::WebKitSelection):
(WebKit::WebKitSelection::GetRootEditableElement):
(WebKit::WebKitSelection::GetAsRange):
* WebDOMSelection.h:
(WebKit):
* WebEdit.cpp:
(WebKit):
(WebKit::WebEditCommand::WebEditCommand):
(WebKit::WebEditCommand::~WebEditCommand):
(WebKit::WebEditCommand::SetNodeAttribute):
(WebKit::WebEditCommand::Apply):
* WebEdit.h:
(WebKit):
* WebFrame.cpp:
(WebKit):
(WebKit::kit):
(WebKit::WebFrame::WebFrame):
(WebKit::WebFrame::~WebFrame):
(WebKit::WebFrame::GetName):
(WebKit::WebFrame::GetFrame):
(WebKit::WebFrame::Stop):
(WebKit::WebFrame::Reload):
(WebKit::WebFrame::GetPageSource):
(WebKit::WebFrame::SetPageSource):
(WebKit::WebFrame::GetInnerText):
(WebKit::WebFrame::GetAsMarkup):
(WebKit::WebFrame::GetExternalRepresentation):
(WebKit::WebFrame::GetSelectionAsHTML):
(WebKit::WebFrame::GetSelectionAsText):
(WebKit::WebFrame::GetSelection):
(WebKit::WebFrame::RunScript):
(WebKit::WebFrame::ExecuteEditCommand):
(WebKit::WebFrame::GetEditCommandState):
(WebKit::WebFrame::GetEditCommandValue):
(WebKit::WebFrame::FindString):
(WebKit::WebFrame::LoadURL):
(WebKit::WebFrame::GetURL):
(WebKit::WebFrame::GoBack):
(WebKit::WebFrame::GoForward):
(WebKit::WebFrame::CanGoBack):
(WebKit::WebFrame::CanGoForward):
(WebKit::WebFrame::Undo):
(WebKit::WebFrame::Redo):
(WebKit::WebFrame::CanUndo):
(WebKit::WebFrame::CanRedo):
(WebKit::WebFrame::CanIncreaseTextSize):
(WebKit::WebFrame::IncreaseTextSize):
(WebKit::WebFrame::CanDecreaseTextSize):
(WebKit::WebFrame::DecreaseTextSize):
(WebKit::WebFrame::ResetTextSize):
(WebKit::WebFrame::MakeEditable):
(WebKit::WebFrame::IsEditable):
(WebKit::WebFrame::CanCopy):
(WebKit::WebFrame::Copy):
(WebKit::WebFrame::CanCut):
(WebKit::WebFrame::Cut):
(WebKit::WebFrame::CanPaste):
(WebKit::WebFrame::Paste):
(WebKit::WebFrame::Print):
(WebKit::WebFrame::HitTest):
(WebKit::WebFrame::ShouldClose):
(WebKit::WebFrame::GetCompatibilityMode):
(WebKit::WebFrame::GrantUniversalAccess):
* WebFrame.h:
(WebKit):
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::wkFeaturesforWindowFeatures):
(WebCore::ChromeClientWx::ChromeClientWx):
(WebCore::ChromeClientWx::createWindow):
(WebCore::ChromeClientWx::addMessageToConsole):
(WebCore::ChromeClientWx::runJavaScriptAlert):
(WebCore::ChromeClientWx::runJavaScriptConfirm):
(WebCore::ChromeClientWx::runJavaScriptPrompt):
(WebCore::ChromeClientWx::print):
(WebCore::ChromeClientWx::exceededDatabaseQuota):
* WebKitSupport/ChromeClientWx.h:
(ChromeClientWx):
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::respondToChangedContents):
(WebCore::EditorClientWx::registerUndoStep):
(WebCore::EditorClientWx::registerRedoStep):
(WebCore::EditorClientWx::clearUndoRedoOperations):
(WebCore::EditorClientWx::canUndo):
(WebCore::EditorClientWx::canRedo):
(WebCore::EditorClientWx::undo):
(WebCore::EditorClientWx::redo):
(WebCore::EditorClientWx::respondToChangedSelection):
* WebKitSupport/EditorClientWx.h:
(EditorClientWx):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::wxNavTypeFromWebNavType):
(WebCore::FrameLoaderClientWx::setFrame):
(WebCore::FrameLoaderClientWx::setWebView):
(WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
(WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
(WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
(WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
(WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
(WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
(WebCore::FrameLoaderClientWx::dispatchDidFailLoading):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
(WebCore::FrameLoaderClientWx::createFrame):
(WebCore::FrameLoaderClientWx::dispatchDidClearWindowObjectInWorld):
* WebKitSupport/FrameLoaderClientWx.h:
(WebKit):
(WebCore::FrameLoaderClientWx::webFrame):
(FrameLoaderClientWx):
(WebCore::FrameLoaderClientWx::webView):
* WebSettings.cpp:
(WebKit):
(WebKit::WebSettings::SetDefaultFixedFontSize):
(WebKit::WebSettings::GetDefaultFixedFontSize):
(WebKit::WebSettings::SetDefaultFontSize):
(WebKit::WebSettings::GetDefaultFontSize):
(WebKit::WebSettings::SetMinimumFontSize):
(WebKit::WebSettings::GetMinimumFontSize):
(WebKit::WebSettings::SetLoadsImagesAutomatically):
(WebKit::WebSettings::LoadsImagesAutomatically):
(WebKit::WebSettings::SetJavaScriptEnabled):
(WebKit::WebSettings::IsJavaScriptEnabled):
(WebKit::WebSettings::SetLocalStoragePath):
(WebKit::WebSettings::GetLocalStoragePath):
(WebKit::WebSettings::SetEditableLinkBehavior):
(WebKit::WebSettings::GetEditableLinkBehavior):
(WebKit::WebSettings::SetPluginsEnabled):
(WebKit::WebSettings::ArePluginsEnabled):
(WebKit::WebSettings::SetPrivateBrowsingEnabled):
(WebKit::WebSettings::PrivateBrowsingEnabled):
(WebKit::WebSettings::SetUsesPageCache):
(WebKit::WebSettings::UsesPageCache):
(WebKit::WebSettings::SetOfflineWebApplicationCacheEnabled):
(WebKit::WebSettings::OfflineWebApplicationCacheEnabled):
* WebSettings.h:
(WebKit):
* WebView.cpp:
(WebKit):
(WebKit::WebViewLoadEvent::WebViewLoadEvent):
(WebKit::WebViewBeforeLoadEvent::WebViewBeforeLoadEvent):
(WebKit::WebViewNewWindowEvent::WebViewNewWindowEvent):
(WebKit::WebViewRightClickEvent::WebViewRightClickEvent):
(WebKit::WebViewConsoleMessageEvent::WebViewConsoleMessageEvent):
(WebKit::WebViewAlertEvent::WebViewAlertEvent):
(WebKit::WebViewConfirmEvent::WebViewConfirmEvent):
(WebKit::WebViewPromptEvent::WebViewPromptEvent):
(WebKit::WebViewReceivedTitleEvent::WebViewReceivedTitleEvent):
(WebKit::WebViewWindowObjectClearedEvent::WebViewWindowObjectClearedEvent):
(WebKit::WebViewContentsChangedEvent::WebViewContentsChangedEvent):
(WebKit::WebViewSelectionChangedEvent::WebViewSelectionChangedEvent):
(WebKit::WebViewPrintFrameEvent::WebViewPrintFrameEvent):
(WebKit::WebViewDOMElementInfo::WebViewDOMElementInfo):
(WebKit::WebView::SetCachePolicy):
(WebKit::WebView::GetCachePolicy):
(WebKit::WebViewDOMElementInfo::~WebViewDOMElementInfo):
(WebKit::WebView::WebView):
(WebKit::WebView::Create):
(WebKit::WebView::~WebView):
(WebKit::WebView::OnTLWActivated):
(WebKit::WebView::Stop):
(WebKit::WebView::Reload):
(WebKit::WebView::GetPageSource):
(WebKit::WebView::SetPageSource):
(WebKit::WebView::GetInnerText):
(WebKit::WebView::GetAsMarkup):
(WebKit::WebView::GetExternalRepresentation):
(WebKit::WebView::GetSelection):
(WebKit::WebView::GetSelectionAsHTML):
(WebKit::WebView::GetSelectionAsText):
(WebKit::WebView::SetTransparent):
(WebKit::WebView::IsTransparent):
(WebKit::WebView::RunScript):
(WebKit::WebView::ExecuteEditCommand):
(WebKit::WebView::GetEditCommandState):
(WebKit::WebView::GetEditCommandValue):
(WebKit::WebView::LoadURL):
(WebKit::WebView::GetMainFrameURL):
(WebKit::WebView::GoBack):
(WebKit::WebView::GoForward):
(WebKit::WebView::CanGoBack):
(WebKit::WebView::CanGoForward):
(WebKit::WebView::CanIncreaseTextSize):
(WebKit::WebView::IncreaseTextSize):
(WebKit::WebView::CanDecreaseTextSize):
(WebKit::WebView::DecreaseTextSize):
(WebKit::WebView::ResetTextSize):
(WebKit::WebView::MakeEditable):
(WebKit::WebView::IsEditable):
(WebKit::WebView::OnPaint):
(WebKit::WebView::FindString):
(WebKit::WebView::OnSize):
(WebKit::WebView::OnMouseEvents):
(WebKit::WebView::OnContextMenuEvents):
(WebKit::WebView::OnMenuSelectEvents):
(WebKit::WebView::OnMouseCaptureLost):
(WebKit::WebView::CanCopy):
(WebKit::WebView::Copy):
(WebKit::WebView::CanCut):
(WebKit::WebView::Cut):
(WebKit::WebView::CanPaste):
(WebKit::WebView::Paste):
(WebKit::WebView::OnKeyEvents):
(WebKit::WebView::OnSetFocus):
(WebKit::WebView::OnKillFocus):
(WebKit::WebView::HitTest):
(WebKit::WebView::ShouldClose):
(WebKit::WebView::SetDatabaseDirectory):
(WebKit::WebView::GetDatabaseDirectory):
(WebKit::WebView::SetDatabasesEnabled):
(WebKit::WebView::AreDatabasesEnabled):
(WebKit::WebView::SetProxyInfo):
(WebKit::WebView::GetWebSettings):
(WebKit::WebView::GetCompatibilityMode):
(WebKit::WebView::GrantUniversalAccess):
* WebView.h:
(WebKit):
* bindings/python/webview.i:
2012-03-28 Nate Chapin <japhet@chromium.org>
Remove dispatchDidLoadMainResource callback, since no
port implements it.
https://bugs.webkit.org/show_bug.cgi?id=82539
Reviewed by Alexey Proskuryakov.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore):
* WebKitSupport/FrameLoaderClientWx.h:
(FrameLoaderClientWx):
2012-03-25 Kevin Ollivier <kevino@theolliviers.com>
[wx] Unreviewed build fix. Add header needed for Unix builds.
* WebKitSupport/FrameLoaderClientWx.cpp:
2012-03-19 Adam Barth <abarth@webkit.org>
Remove support for "magic" iframe
https://bugs.webkit.org/show_bug.cgi?id=81590
Reviewed by Eric Seidel.
Remove FrameLoaderClient methods that no longer exist.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore):
* WebKitSupport/FrameLoaderClientWx.h:
(FrameLoaderClientWx):
2012-03-15 Kevin Ollivier <kevino@theolliviers.com>
Move wx port to using export macros
https://bugs.webkit.org/show_bug.cgi?id=77279
Reviewed by Hajime Morita.
* wscript:
2012-03-13 Adam Barth <abarth@webkit.org> && Benjamin Poulain <bpoulain@apple.com>
Always enable ENABLE(CLIENT_BASED_GEOLOCATION)
https://bugs.webkit.org/show_bug.cgi?id=78853
Reviewed by Adam Barth.
* WebKitSupport/ChromeClientWx.cpp:
* WebKitSupport/ChromeClientWx.h:
2012-02-26 Hajime Morrita <morrita@chromium.org>
Move ChromeClient::showContextMenu() to ContextMenuClient
https://bugs.webkit.org/show_bug.cgi?id=79427
Reviewed by Adam Barth.
* WebKitSupport/ChromeClientWx.h:
(ChromeClientWx):
2012-02-24 Shinya Kawanaka <shinyak@chromium.org>
SpellCheckRequest needs to know the context where the spellcheck happened.
https://bugs.webkit.org/show_bug.cgi?id=79320
Reviewed by Hajime Morita.
* WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::requestCheckingOfString):
2012-02-21 Ryosuke Niwa <rniwa@webkit.org>
Remove the remaining uses of CSSStyleDeclaration in Editor
https://bugs.webkit.org/show_bug.cgi?id=78939
Reviewed by Enrica Casucci.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::shouldApplyStyle):
* WebKitSupport/EditorClientWx.h:
(EditorClientWx):
2012-02-22 Ryosuke Niwa <rniwa@webkit.org>
Remove the remaining uses of CSSStyleDeclaration in Editor
https://bugs.webkit.org/show_bug.cgi?id=78939
Reviewed by Enrica Casucci.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::shouldApplyStyle):
* WebKitSupport/EditorClientWx.h:
(EditorClientWx):
2012-02-15 Sadrul Habib Chowdhury <sadrul@chromium.org>
Notify ChromeClient when touch-event handlers are installed/removed.
https://bugs.webkit.org/show_bug.cgi?id=77440
Reviewed by Darin Fisher and Ryosuke Niwa.
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::numTouchEventHandlersChanged):
2012-01-30 Kevin Ollivier <kevino@theolliviers.com>
[wx] Unreviewed. Build fix, add JavaScriptCore/runtime
to include dirs.
* bindings/python/wscript:
2012-01-26 Kevin Ollivier <kevino@theolliviers.com>
[wx] Unreviewed.
Build fixes after UndoStep and ChromeClient changes.
* WebFrame.cpp:
(wxWebFrame::RunScript):
* WebKitSupport/ChromeClientWx.cpp:
(WebCore):
(WebCore::ChromeClientWx::hasOpenedPopup):
* WebKitSupport/ChromeClientWx.h:
(ChromeClientWx):
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::registerUndoStep):
(WebCore::EditorClientWx::registerRedoStep):
(WebCore::EditorClientWx::undo):
(WebCore::EditorClientWx::redo):
* WebKitSupport/EditorClientWx.h:
(EditorClientWx):
* WebViewPrivate.h:
(WebViewPrivate):
2011-12-16 Ryosuke Niwa <rniwa@webkit.org>
Rename registerCommandFor(Undo|Redo) to register(Undo|Redo)Step
https://bugs.webkit.org/show_bug.cgi?id=74748
Reviewed by Eric Seidel.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::registerUndoStep):
(WebCore::EditorClientWx::registerRedoStep):
* WebKitSupport/EditorClientWx.h:
2011-12-16 Sam Weinig <sam@webkit.org>
Give PlatformEvents a base class
https://bugs.webkit.org/show_bug.cgi?id=74685
Reviewed by Anders Carlsson.
Add a base class for PlatformMouseEvent, PlatformKeyboardEvent, PlatformWheelEvent
and PlatformGestureEvent and move Type enumeration and modifiers down to it.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::handleEditingKeyboardEvent):
(WebCore::EditorClientWx::interpretKeyEvent):
2011-12-11 Robin Dunn <robin@alldunn.com>
Add a URL argument to the wxWebView constructor,
and fix page calculations and margins on Windows and Mac.
https://bugs.webkit.org/show_bug.cgi?id=74316
Reviewed by Kevin Ollivier.
* WebBrowserShell.cpp:
(wxWebBrowserShell::wxWebBrowserShell):
* WebBrowserShell.h:
* WebFrame.cpp:
(wxWebFramePrintout::wxWebFramePrintout):
(wxWebFramePrintout::~wxWebFramePrintout):
(wxWebFramePrintout::InitializeWithPageSize):
(wxWebFramePrintout::OnPreparePrinting):
(wxWebFramePrintout::OnPrintPage):
(wxWebFramePrintout::OnEndPrinting):
(wxWebFrame::Print):
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::Create):
* WebView.h:
* bindings/python/samples/simple.py:
(TestPanel.__init__):
2011-12-07 Mary Wu <mary.wu@torchmobile.com.cn>
Change function name InitializeLoggingChannelsIfNecessary to follow coding style guideline
https://bugs.webkit.org/show_bug.cgi?id=73986
Reviewed by Kenneth Rohde Christiansen.
* WebView.cpp:
(wxWebView::Create):
2011-12-02 Kevin Ollivier <kevino@theolliviers.com>
[wx] Unreviewed build fixes for Windows build.
* WebKitSupport/FrameLoaderClientWx.cpp:
2011-11-30 Alexey Proskuryakov <ap@apple.com>
Remove an unneeded argument from FrameLoaderClient::download
https://bugs.webkit.org/show_bug.cgi?id=73486
Reviewed by Andreas Kling.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::download):
* WebKitSupport/FrameLoaderClientWx.h:
Updated for the change.
2011-11-30 Robin Dunn <robin@alldunn.com>
Generate a more robust user agent string.
https://bugs.webkit.org/show_bug.cgi?id=73465
Reviewed by Kevin Ollivier.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::agentOS):
(WebCore::composeUserAgent):
(WebCore::FrameLoaderClientWx::userAgent):
2011-11-30 Robin Dunn <robin@alldunn.com>
Use the wxGCDC(wxGraphicsContext) constructor on Mac as well
to avoid issues with the wxGCDC(wxPrinterDC) constructor.
https://bugs.webkit.org/show_bug.cgi?id=73463
Reviewed by Kevin Ollivier.
* WebFrame.cpp:
(wxWebFramePrintout::OnPrintPage):
2011-11-26 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r101193.
http://trac.webkit.org/changeset/101193
https://bugs.webkit.org/show_bug.cgi?id=73158
Breaks Windows and Qt minimal. (Requested by pfeldman on
#webkit).
* WebKitSupport/InspectorClientWx.cpp:
* WebKitSupport/InspectorClientWx.h:
2011-11-22 Pavel Feldman <pfeldman@google.com>
Web Inspector: remove Inspector::bringToFront from the protocol.
https://bugs.webkit.org/show_bug.cgi?id=72937
Reviewed by Yury Semikhatsky.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::bringFrontendToFront):
* WebKitSupport/InspectorClientWx.h:
2011-11-21 Robin Dunn <robin@alldunn.com>
Add wxWebKit APIs for controlling WebKit caching behavior.
https://bugs.webkit.org/show_bug.cgi?id=72891
Reviewed by Kevin Ollivier.
* WebSettings.cpp:
(wxWebSettings::SetPrivateBrowsingEnabled):
(wxWebSettings::PrivateBrowsingEnabled):
(wxWebSettings::SetUsesPageCache):
(wxWebSettings::UsesPageCache):
(wxWebSettings::SetOfflineWebApplicationCacheEnabled):
(wxWebSettings::OfflineWebApplicationCacheEnabled):
* WebSettings.h:
2011-11-21 Robin Dunn <robin@alldunn.com>
Add wxWebKit API for retrieving frame and page URLs.
https://bugs.webkit.org/show_bug.cgi?id=72890
Reviewed by Kevin Ollivier.
* WebBrowserShell.cpp:
(wxWebBrowserShell::wxWebBrowserShell):
* WebFrame.cpp:
(wxWebFrame::GetURL):
* WebFrame.h:
* WebView.cpp:
(wxWebView::GetMainFrameURL):
* WebView.h:
2011-10-17 Antonio Gomes <agomes@rim.com>
Pass a Frame* parameter in EditorClient::respondToChangedSelection
https://bugs.webkit.org/show_bug.cgi?id=70248
Reviewed by Ryosuke Niwa.
* WebKitSupport/EditorClientWx.cpp: Make use of the newly added Frame* parameter.
(WebCore::EditorClientWx::respondToChangedSelection):
* WebKitSupport/EditorClientWx.h:
2011-11-15 Anders Carlsson <andersca@apple.com>
HostWindow screenToWindow/windowToScreen should be screenToRootView/rootViewToScreen
https://bugs.webkit.org/show_bug.cgi?id=72397
Reviewed by Dan Bernstein.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::rootViewToScreen):
(WebCore::ChromeClientWx::screenToRootView):
* WebKitSupport/ChromeClientWx.h:
2011-11-14 Anders Carlsson <andersca@apple.com>
HostWindow invalidation functions should use root view coordinates
https://bugs.webkit.org/show_bug.cgi?id=72338
Reviewed by Dan Bernstein.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::invalidateRootView):
(WebCore::ChromeClientWx::invalidateContentsForSlowScroll):
(WebCore::ChromeClientWx::invalidateContentsAndRootView):
* WebKitSupport/ChromeClientWx.h:
2011-11-02 Tom Sepez <tsepez@chromium.org>
XSSAuditor is silent
https://bugs.webkit.org/show_bug.cgi?id=70973
Reviewed by Adam Barth.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::didDetectXSS):
* WebKitSupport/FrameLoaderClientWx.h:
2011-10-28 Jochen Eisinger <jochen@chromium.org>
Rename a number of methods mentioning JavaScript to just Script instead
https://bugs.webkit.org/show_bug.cgi?id=71105
Reviewed by Adam Barth.
* WebSettings.cpp:
(wxWebSettings::SetJavaScriptEnabled):
(wxWebSettings::IsJavaScriptEnabled):
* WebView.cpp:
(wxWebView::Create):
2011-09-24 Adam Barth <abarth@webkit.org>
Always enable ENABLE(OFFLINE_WEB_APPLICATIONS)
https://bugs.webkit.org/show_bug.cgi?id=68767
Reviewed by Eric Seidel.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::reachedApplicationCacheOriginQuota):
* WebKitSupport/ChromeClientWx.h:
2011-09-17 Mihai Parparita <mihaip@chromium.org>
FrameLoaderClient BackForwardList-related methods are unsued
https://bugs.webkit.org/show_bug.cgi?id=68293
Reviewed by Darin Adler.
Remove FrameLoaderClient methods that were added by r51629, since only
the old (since-deleted) Android port needed them.
* WebKitSupport/FrameLoaderClientWx.cpp:
* WebKitSupport/FrameLoaderClientWx.h:
2011-09-15 Adam Barth <abarth@webkit.org>
Rename ENABLE(DATABASE) to ENABLE(SQL_DATABASE)
https://bugs.webkit.org/show_bug.cgi?id=68205
Reviewed by Eric Seidel.
* WebKitSupport/ChromeClientWx.cpp:
* WebKitSupport/ChromeClientWx.h:
* WebView.cpp:
(wxWebView::Create):
(wxWebView::SetDatabaseDirectory):
(wxWebView::GetDatabaseDirectory):
(wxWebView::SetDatabasesEnabled):
(wxWebView::AreDatabasesEnabled):
2011-09-04 Robin Dunn <robin@alldunn.com>
[wx] Enable wxWebKit to run using the wxGC Cairo backend on platforms other than GTK.
https://bugs.webkit.org/show_bug.cgi?id=67577
Reviewed by Kevin Ollivier.
* WebFrame.cpp:
(wxWebFramePrintout::InitializeWithPageSize):
(wxWebFramePrintout::OnBeginPrinting):
(wxWebFramePrintout::OnPrintPage):
(wxWebFrame::Print):
* WebView.cpp:
(wxWebView::OnPaint):
2011-08-30 Kaustubh Atrawalkar <kaustubh@motorola.com>
The unused ScrollView* argument can and should be removed from
scrollRectIntoView.
https://bugs.webkit.org/show_bug.cgi?id=67117
Reviewed by Darin Adler.
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::scrollRectIntoView):
2011-08-17 Adam Roben <aroben@apple.com>
Make WebCore keep track of the current device scale factor
Fixes <http://webkit.org/b/66413> WebCore requires every WebKit port to keep track of the
device scale factor
Reviewed by Darin Adler.
* WebKitSupport/ChromeClientWx.cpp:
* WebKitSupport/ChromeClientWx.h:
Removed deviceScaleFactor.
2011-08-15 Dmitry Titov <dimich@chromium.org>
FrameLoaderClient::transferLoadingResourceFromPage does not have enough parameters
https://bugs.webkit.org/show_bug.cgi?id=66165
Reviewed by Darin Fisher.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transferLoadingResourceFromPage):
* WebKitSupport/FrameLoaderClientWx.h:
2011-08-10 Adam Roben <aroben@apple.com>
Clear up scale factor terminology
WebKit by and large deals with two scale factors: one intrinsic to the device on which the
software is running, and one that is per-Page and can be controlled via API calls. This
patch names the former "deviceScaleFactor" and the latter "pageScaleFactor", and makes the
code use those names. It should introduce no behavior changes.
Fixes <http://webkit.org/b/55787> WebKit uses multiple conflicting names to refer to the
device scale factor
Reviewed by Simon Fraser.
* WebKitSupport/ChromeClientWx.cpp:
* WebKitSupport/ChromeClientWx.h:
2011-08-05 Anders Carlsson <andersca@apple.com>
Remove PluginHalter
https://bugs.webkit.org/show_bug.cgi?id=65729
Reviewed by Darin Adler.
Don't include PluginHalterClient.h, it's been removed.
* WebView.cpp:
2011-08-03 Pavel Feldman <pfeldman@chromium.org>
Web Inspector: remove Node parameter from the InspectorClient::highlight
https://bugs.webkit.org/show_bug.cgi?id=65549
Reviewed by Yury Semikhatsky.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::highlight):
* WebKitSupport/InspectorClientWx.h:
2011-07-30 Patrick Gansterer <paroga@webkit.org>
Remove inclusion of MainThread.h from Threading.h
https://bugs.webkit.org/show_bug.cgi?id=65081
Reviewed by Darin Adler.
Add missing include statements for MainThread.
* WebView.cpp:
2011-07-26 Sadrul Habib Chowdhury <sadrul@chromium.org>
Add support for download='filename' attribute in anchors.
https://bugs.webkit.org/show_bug.cgi?id=64580
Reviewed by Adam Barth.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::startDownload):
* WebKitSupport/FrameLoaderClientWx.h:
2011-07-15 Dan Bernstein <mitz@apple.com>
REGRESSION: Mouse cursor doesn’t hide when full screen video HUD hides
https://bugs.webkit.org/show_bug.cgi?id=64615
Reviewed by Anders Carlsson.
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::setCursorHiddenUntilMouseMoves): Added this stub.
2011-07-12 Joseph Pecoraro <joepeck@webkit.org>
ApplicationCache update should not immediately fail when reaching per-origin quota
https://bugs.webkit.org/show_bug.cgi?id=64177
Reviewed by Alexey Proskuryakov.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::reachedApplicationCacheOriginQuota):
* WebKitSupport/ChromeClientWx.h:
2011-07-09 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
[wx] In load events, specify the wxWebFrame that sent them.
https://bugs.webkit.org/show_bug.cgi?id=64233
* WebBrowserShell.cpp:
(wxWebBrowserShell::OnLoadEvent):
* WebFrame.cpp:
(wxWebFrame::GetName):
* WebFrame.h:
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
(WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
(WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
(WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
(WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
(WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
(WebCore::FrameLoaderClientWx::dispatchDidFailLoading):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
* WebView.h:
* bindings/python/webview.i:
2011-07-09 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Make sure wxPrintData grabs the default print settings to calculate page width,
and readjusts settings after the print dialog is displayed.
https://bugs.webkit.org/show_bug.cgi?id=64232
* WebFrame.cpp:
(wxWebFramePrintout::InitializeWithPageSize):
(wxWebFramePrintout::OnBeginPrinting):
(wxWebFrame::Print):
2011-07-06 Kevin Ollivier <kevino@theolliviers.com>
[wx] Unreviewed build fix. Don't expose the kit function to the swig wrappers.
* WebFrame.h:
2011-06-20 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Make showing the dialog optional, and add handling for Javascript print() calls.
https://bugs.webkit.org/show_bug.cgi?id=63008
* WebFrame.cpp:
(kit):
(wxWebFrame::Print):
* WebFrame.h:
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::print):
* WebKitSupport/FrameLoaderClientWx.h:
(WebCore::FrameLoaderClientWx::webFrame):
(WebCore::FrameLoaderClientWx::webView):
* WebView.cpp:
(wxWebViewPrintFrameEvent::wxWebViewPrintFrameEvent):
* WebView.h:
* bindings/python/webview.i:
2011-06-20 Kevin Ollivier <kevino@theolliviers.com>
[wx] Unreviewed build fix after method rename.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::loadIconForFiles):
2011-06-18 Dimitri Glazkov <dglazkov@chromium.org>
Reviewed by Darin Adler.
Separate concerns of loading file icons and choosing files.
https://bugs.webkit.org/show_bug.cgi?id=62931
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::chooseIconForFiles): Renamed.
* WebKitSupport/ChromeClientWx.h:
2011-06-18 Holger Hans Peter Freyther <holger@moiji-mobile.com>
Reviewed by Brent Fulgham.
[misc] JSC/wtf/text/*.h should not be included via #include ""
https://bugs.webkit.org/show_bug.cgi?id=60836
Adam Barth pointed out that one should not include files from
JavaScriptCore/wtf/text using #include "File.h". This change
is addressing it.
* WebEdit.cpp: Include file via <wtf/text/File.h>.
2011-06-12 Adam Barth <abarth@webkit.org>
Reviewed by Alexey Proskuryakov.
Rename FrameLoaderClient::interruptForPolicyChangeError to use the past tense
https://bugs.webkit.org/show_bug.cgi?id=62516
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::interruptedForPolicyChangeError):
* WebKitSupport/FrameLoaderClientWx.h:
2011-05-31 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
[wx] Implement printing support for wxWidgets 2.9.x and above.
https://bugs.webkit.org/show_bug.cgi?id=61796
* WebBrowserShell.cpp:
(wxWebBrowserShell::wxWebBrowserShell):
(wxWebBrowserShell::OnPrint):
* WebBrowserShell.h:
* WebFrame.cpp:
(wxWebFramePrintout::wxWebFramePrintout):
(wxWebFramePrintout::GetPageCount):
(wxWebFramePrintout::SetFirstPage):
(wxWebFramePrintout::SetLastPage):
(wxWebFramePrintout::InitializeWithPageSize):
(wxWebFramePrintout::OnBeginPrinting):
(wxWebFramePrintout::GetPageInfo):
(wxWebFramePrintout::HasPage):
(wxWebFramePrintout::OnPrintPage):
(wxWebFramePrintout::OnEndPrinting):
(wxWebFrame::Print):
* WebFrame.h:
2011-05-13 Jon Lee <jonlee@apple.com>
Reviewed by Simon Fraser.
Can't horizontally scroll iframes and overflow because wheel events are always accepted
https://bugs.webkit.org/show_bug.cgi?id=60779
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::shouldRubberBandInDirection): Default impl of new ChromeClient method
(WebCore::ChromeClientWx::numWheelEventHandlersChanged): Default impl of new ChromeClient method
2011-05-09 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Create empty event handler to avoid new mouse capture assert added in wx 2.9 on wxMSW.
https://bugs.webkit.org/show_bug.cgi?id=60480
* WebView.cpp:
(wxWebView::OnMouseCaptureLost):
* WebView.h:
2011-05-05 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Eric Seidel.
Rename SelectionController to FrameSelection
https://bugs.webkit.org/show_bug.cgi?id=60234
* WebDOMSelection.cpp:
* WebDOMSelection.h:
* WebKitSupport/EditorClientWx.cpp:
* WebView.cpp:
2011-05-04 Cris Neckar <cdn@chromium.org>
Reviewed by Adam Barth.
Expose WebView directly through ChromeClient.
https://bugs.webkit.org/show_bug.cgi?id=49902
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::webView):
2011-05-04 Tao Bai <michaelbai@chromium.org>
Reviewed by David Kilzer.
Populate touch-icon url to FrameLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=59143
Respect the interface change in FrameLoaderClient.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidChangeIcons):
* WebKitSupport/FrameLoaderClientWx.h:
2011-04-23 Kevin Ollivier <kevino@theolliviers.com>
[wx] Unreviewed build fix. Fixed capitalization for case sensitive filesystems.
* WebView.cpp:
2011-04-21 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Sam Weinig.
Add Frame* to the argument lists of canCopyCut and canPaste
https://bugs.webkit.org/show_bug.cgi?id=59153
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::canCopyCut):
(WebCore::EditorClientWx::canPaste):
* WebKitSupport/EditorClientWx.h:
2011-04-14 Kevin Ollivier <kevino@theolliviers.com>
[wx] Unreviewed build fixes for wxMSW and wx 2.9.1.1.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::setCursor):
2011-04-06 Malcolm MacLeod <malcolm.macleod@tshwanedje.com>
Reviewed by Kevin Ollivier.
[wx] Fix cursor handling so that we always call the chrome to set it.
https://bugs.webkit.org/show_bug.cgi?id=57972
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::setCursor):
2011-04-04 MORITA Hajime <morrita@google.com>
Reviewed by Ryosuke Niwa.
[Refactoring] SpellCheckingResult should be replaced with TextCheckingResult
https://bugs.webkit.org/show_bug.cgi?id=56085
* WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::requestCheckingOfString):
2011-04-04 Malcolm MacLeod <mmacleod@webmail.co.za>
Reviewed by Kevin Ollivier.
Move to using FrameView::resize to handle changes in view size.
https://bugs.webkit.org/show_bug.cgi?id=57805
* WebView.cpp:
(wxWebView::OnSize):
2011-04-04 Alexey Proskuryakov <ap@apple.com>
Reviewed by Dan Bernstein.
REGRESSION (WebKit2): Caps-Lock indicator sometimes doesn't appear in WebKit2
https://bugs.webkit.org/show_bug.cgi?id=51230
<rdar://problem/8780989>
* WebView.cpp: (wxWebView::OnKeyEvents): Moved Caps Lock handling from
WebKits to WebCore, because WebKit shouldn't be smart.
2011-03-31 Evan Martin <evan@chromium.org>
Reviewed by Eric Seidel.
<title> should support dir attribute
https://bugs.webkit.org/show_bug.cgi?id=50961
Update to new FrameLoaderClient interface.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
(WebCore::FrameLoaderClientWx::setTitle):
* WebKitSupport/FrameLoaderClientWx.h:
2011-03-25 Andy Estes <aestes@apple.com>
Reviewed by Adele Peterson.
REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
https://bugs.webkit.org/show_bug.cgi?id=49016
Update objectContentType() implementation to handle the
shouldPreferPlugInsForImages flag.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::objectContentType):
* WebKitSupport/FrameLoaderClientWx.h:
2011-03-24 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix, remove old call and replace it with correct one.
* WebView.cpp:
(wxWebView::Create):
2011-03-24 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r81916 and r81917.
http://trac.webkit.org/changeset/81916
http://trac.webkit.org/changeset/81917
https://bugs.webkit.org/show_bug.cgi?id=57071
broke a test on platforms that do not have QuickTime installed
(Requested by estes on #webkit).
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::objectContentType):
* WebKitSupport/FrameLoaderClientWx.h:
2011-03-24 Andy Estes <aestes@apple.com>
Reviewed by Darin Adler.
REGRESSION (r70748): latest nightly builds kills AC_QuickTime.js
https://bugs.webkit.org/show_bug.cgi?id=49016
Update objectContentType() implementation to handle the
shouldPreferPlugInsForImages flag.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::objectContentType):
* WebKitSupport/FrameLoaderClientWx.h:
2011-03-21 Chang Shu <cshu@webkit.org>
Reviewed by Alexey Proskuryakov.
REGRESSION (r79953): Can't type in MS Outlook 2011
https://bugs.webkit.org/show_bug.cgi?id=56665
r79953 removed the WebView level editablity which is persistent no matter whether
underlying document itself is changed and editability gets lost. The resolution is to
set this WebView editable value to WebCore. This avoids the callback from WebCore to
WebKit which was the main goal in r79953 to improve performance.
* WebFrame.cpp:
(wxWebFrame::MakeEditable):
(wxWebFrame::IsEditable):
2011-03-15 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
Introduce WTF_USE_EXPORT_MACROS, which will allow us to put shared library import/export
info into the headers rather than in export symbol definition files, but disable it on
all platforms initially so we can deal with port build issues one port at a time.
https://bugs.webkit.org/show_bug.cgi?id=27551
* bindings/python/webview.i:
2011-03-07 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Replace WebKit2's decidePolicyForMIMEType with decidePolicyForResponse
https://bugs.webkit.org/show_bug.cgi?id=55827
Renamed FrameLoaderClient::dispatchDecidePolicyForMIMEType to dispatchDecidePolicyForResponse
and pass the entire response, instead of just the MIMEType.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForResponse):
* WebKitSupport/FrameLoaderClientWx.h:
2011-03-03 Alexey Proskuryakov <ap@apple.com>
Removing an include of WebCoreKeyboardUIMode.h that Ive just added. It's already included
via ChromeClient.h
* WebKitSupport/ChromeClientWx.h:
2011-03-02 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler.
REGRESSION (WebKit2): Tab keys no longer observe Full Keyboard Access
https://bugs.webkit.org/show_bug.cgi?id=55633
<rdar://problem/8963023>
* WebKitSupport/ChromeClientWx.cpp: (WebCore::ChromeClientWx::keyboardUIMode):
* WebKitSupport/ChromeClientWx.h:
Implement keyboardUIMode() instead of tabsToLinks(). No change in functionality, since
this platform doesn't observe or have full keyboard access state.
2011-03-01 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix after removal of Frame::isContentEditable.
* WebFrame.cpp:
(wxWebFrame::IsEditable):
2011-02-28 Chang Shu <cshu@webkit.org>
Reviewed by Ryosuke Niwa.
Remove the support of Frame::isContentEditable and its dependencies.
https://bugs.webkit.org/show_bug.cgi?id=54292
Remove the WebKit side implementation. Make WebKit support depend on Document::inDesignMode.
* WebFrame.cpp:
(wxWebFrame::wxWebFrame):
(wxWebFrame::MakeEditable):
(wxWebFrame::IsEditable):
* WebFrame.h:
* WebKitSupport/EditorClientWx.cpp:
* WebKitSupport/EditorClientWx.h:
* WebView.cpp:
(wxWebView::wxWebView):
* WebView.h:
2011-02-24 Peter Kasting <pkasting@google.com>
Reviewed by Eric Seidel.
Drop the "U; " encryption level from the User Agent string.
https://bugs.webkit.org/show_bug.cgi?id=54566
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::userAgent):
2011-02-22 Laszlo Gombos <laszlo.1.gombos@nokia.com>
Reviewed by Alexey Proskuryakov.
Drop the language tag part from the User Agent string
https://bugs.webkit.org/show_bug.cgi?id=54560
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::userAgent):
2011-02-19 Charlie Reis <creis@chromium.org>
Reviewed by Mihai Parparita.
Ensure loading has stopped in HistoryController::goToItem
https://bugs.webkit.org/show_bug.cgi?id=54517
Add a FrameLoaderClient callback for whether to stop loading before goToItem.
Test: http/tests/navigation/forward-to-fragment-fires-onload.html
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::shouldStopLoadingForHistoryItem): Added.
* WebKitSupport/FrameLoaderClientWx.h:
2011-02-17 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix after move of DocumentWriter to DocumentLoader.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::setMainDocumentError):
(WebCore::FrameLoaderClientWx::dispatchDidFailLoading):
2011-01-26 MORITA Hajime <morrita@google.com>
Reviewed by Ryosuke Niwa.
Refactoring: Extract TextCheckerClient from EditorClient
https://bugs.webkit.org/show_bug.cgi?id=53213
* WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::textChecker):
2011-02-07 Ryosuke Niwa <rniwa@webkit.org>
Reviewed by Adam Barth.
Add EditorClient callbacks to override isDOMPasteAllowed and javaScriptCanAccessClipboard
https://bugs.webkit.org/show_bug.cgi?id=52417
Added two callback functions, canCopyCut and canPaste to EditorClient. They are currently
not implemented.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::canCopyCut): Added.
(WebCore::EditorClientWx::canPaste): Added.
* WebKitSupport/EditorClientWx.h:
2011-02-10 Nate Chapin <japhet@chromium.org>
Reviewed by Adam Barth.
Update calls to DocumentWriter.
https://bugs.webkit.org/show_bug.cgi?id=50489
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::finishedLoading):
2011-02-08 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Remove orphan code from old parser
https://bugs.webkit.org/show_bug.cgi?id=53984
* WebKitSupport/ChromeClientWx.h:
2011-02-07 Enrica Casucci <enrica@apple.com>
Reviewed Adam Roben and Darin Adler.
WebKit2: drag and drop support on Windows.
https://bugs.webkit.org/show_bug.cgi?id=52775
Removed createDragImageForLink from DragClient.
* WebKitSupport/DragClientWx.cpp:
* WebKitSupport/DragClientWx.h:
2011-02-07 Patrick Gansterer <paroga@webkit.org>
Reviewed by Andreas Kling.
[wx] FrameLoaderClient calls loadURLInChildFrame on the child's frame loader
https://bugs.webkit.org/show_bug.cgi?id=53895
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::createFrame): Use m_frame instead of childFrame.
2011-02-03 Adam Langley <agl@chromium.org>
Reviewed by Adam Barth.
Plumb mixed script URL to FrameLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=52384
Regressions covered by http/tests/security/mixedContent/*
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::didRunInsecureContent):
* WebKitSupport/FrameLoaderClientWx.h:
2011-02-02 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fixes for wxWebKit.
* bindings/python/wscript:
2011-01-28 Dan Bernstein <mitz@apple.com>
Reviewed by Sam Weinig.
<select> can't display right-to-left (rtl) languages
https://bugs.webkit.org/show_bug.cgi?id=19785
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::selectItemAlignmentFollowsMenuWritingDirection): Added.
* WebKitSupport/ChromeClientWx.h:
2011-01-27 Nate Chapin <japhet@chromium.org>
Reviewed by Adam Barth.
Use Document::url() instead of FrameLoader::url().
https://bugs.webkit.org/show_bug.cgi?id=41165
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
2011-01-14 Yuzo Fujishima <yuzo@google.com>
Reviewed by Antti Koivisto.
Rename cache() to memoryCache()
https://bugs.webkit.org/show_bug.cgi?id=52433
* WebView.cpp:
(wxWebView::SetCachePolicy):
2011-01-09 Xianzhu Wang <phnixwxz@gmail.com>
Reviewed by Darin Fisher.
https://bugs.webkit.org/show_bug.cgi?id=41441
createWindow method should only do window-creating without URL navigation
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::createWindow):
2011-01-07 Adam Barth <abarth@webkit.org>
Rubber-stamped by Eric Seidel.
Move WebCore to Source
https://bugs.webkit.org/show_bug.cgi?id=52050
* bindings/python/wscript:
* wscript:
2011-01-01 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Move JavaScriptCore to Source
https://bugs.webkit.org/show_bug.cgi?id=51604
* bindings/python/wscript:
* wscript:
- Point to JavaScriptCore in its new location.
2010-12-22 Sam Weinig <sam@webkit.org>
Reviewed by Darin Adler.
WebKit2 needs to mirror the frame tree in the UIProcess
https://bugs.webkit.org/show_bug.cgi?id=51546
- Add client functions to notify that a frame has been added or
removed from the page cache.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::didSaveToPageCache):
(WebCore::FrameLoaderClientWx::didRestoreFromPageCache):
* WebKitSupport/FrameLoaderClientWx.h:
2010-12-20 Eric Seidel <eric@webkit.org>
Unreviewed.
Removed a non-utf8 character from this file.
Looks like it was accidentally added in:
http://trac.webkit.org/changeset/72669
Which caused troubles for the contributor working on bug 51382.
2010-10-28 MORITA Hajime <morrita@google.com>
Reviewed by Ojan Vafai.
spellcheck does not check pasted text
https://bugs.webkit.org/show_bug.cgi?id=40092
Added a stub implememntation.
* WebKitSupport/EditorClientWx.h:
(WebCore::EditorClientWx::requestCheckingOfString):
2010-12-07 Martin Robinson <mrobinson@igalia.com>
Unreviewed, rolling out r73392.
http://trac.webkit.org/changeset/73392
https://bugs.webkit.org/show_bug.cgi?id=50489
This commit caused crashes on the GTK+ bots
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::finishedLoading):
2010-12-06 Nate Chapin <japhet@chromium.org>
Reviewed by Adam Barth.
Update calls to DocumentWriter.
https://bugs.webkit.org/show_bug.cgi?id=50489
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::finishedLoading):
2010-12-01 Jia Pu <jpu@apple.com>
Reviewed by Darin Adler.
Support multiple correction candidates panel for misspelled word on Mac OS X.
https://bugs.webkit.org/show_bug.cgi?id=50137
<rdar://problem/8568059>
Adopted new function signature defined in base class.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::getGuessesForWord):
* WebKitSupport/EditorClientWx.h:
2010-11-24 Patrick Gansterer <paroga@webkit.org>
Reviewed by Csaba Osztrogonác.
Remove Bakefile build system files
https://bugs.webkit.org/show_bug.cgi?id=49983
r53757 only removed the content, but not the files.
This patch removes that empty files.
* Bakefiles.bkgen: Removed.
* bindings/python/wxwebkit-py.bkl: Removed.
* dependencies.bkl: Removed.
* presets: Removed.
* presets/wxwebkit.bkl: Removed.
* wxwebkit.bkl: Removed.
* wxwk-settings.bkl: Removed.
2010-11-08 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=48685
Notify UI process about focused frame
Added an empty implementation of the new ChromeClient method.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::focusedFrameChanged):
* WebKitSupport/ChromeClientWx.h:
2010-11-07 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Rename Cache to MemoryCache
https://bugs.webkit.org/show_bug.cgi?id=49159
* WebView.cpp:
(wxWebView::SetCachePolicy):
* WebView.h:
2010-11-01 Brady Eidson <beidson@apple.com>
Reviewed by Anders Carlsson.
<rdar://problem/7660547> and https://bugs.webkit.org/show_bug.cgi?id=48699
Context menu support for WebKit 2.
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::showContextMenu):
2010-10-29 Darin Adler <darin@apple.com>
Reviewed by Sam Weinig.
Change BackForwardList clients to use BackForwardListImpl to prepare for further refactoring
https://bugs.webkit.org/show_bug.cgi?id=48574
* WebFrame.cpp:
(wxWebFrame::CanGoBack): Use canGoBackOrForward.
(wxWebFrame::CanGoForward): Ditto.
2010-10-29 Alexey Proskuryakov <ap@apple.com>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=48576
Let WebKit2 client know when a frame is a frameset
Added a blank implementation of the new FrameLoaderClient method.
* WebKitSupport/FrameLoaderClientWx.h:
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidBecomeFrameset):
2010-10-26 Jenn Braithwaite <jennb@chromium.org>
Reviewed by Dmitry Titov.
Resource tracking failure when trying to move a frame between documents
https://bugs.webkit.org/show_bug.cgi?id=44713
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transferLoadingResourceFromPage):
Empty method.
* WebKitSupport/FrameLoaderClientWx.h:
2010-10-22 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
WebKit2 needs to pass the current event modifier flags when requesting a new window
https://bugs.webkit.org/show_bug.cgi?id=48140
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::createWindow):
* WebKitSupport/ChromeClientWx.h:
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchCreatePage):
* WebKitSupport/FrameLoaderClientWx.h:
Add NavigationAction parameter.
2010-10-13 Gavin Barraclough <barraclough@apple.com>
Reviewed by Oliver Hunt.
https://bugs.webkit.org/show_bug.cgi?id=43987
Switch XMLHttpRequest, FileReader, and FileReaderSync to use a Stringbuilder
to construct their internal result string. Remove ScriptString (this is now
redundant).
* WebKitSupport/FrameLoaderClientWx.cpp:
2010-09-28 Jenn Braithwaite <jennb@chromium.org>
Reviewed by Dmitry Titov.
Added oldPage param to FrameLoaderClient::didTransferChildFrameToNewDocument.
https://bugs.webkit.org/show_bug.cgi?id=46663
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::didTransferChildFrameToNewDocument):
* WebKitSupport/FrameLoaderClientWx.h:
2010-09-24 Kwang Yul Seo <skyul@company100.net>
Reviewed by Andreas Kling.
[wx] ChromeClientWx::scaleFactor must return 1.0
https://bugs.webkit.org/show_bug.cgi?id=46542
The default value of ChromeClientWx::scaleFactor must be 1.0.
Otherwise, canvas element won't be painted.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::scaleFactor):
2010-09-17 Darin Adler <darin@apple.com>
Reviewed by Sam Weinig.
REGRESSION (r60104): Zoom level is unexpectedly reset on page reload
https://bugs.webkit.org/show_bug.cgi?id=42863
* WebFrame.cpp:
(wxWebFrame::IncreaseTextSize):
(wxWebFrame::DecreaseTextSize):
(wxWebFrame::ResetTextSize):
Call functions on Frame instead of FrameView.
2010-09-14 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix after FrameNetworkingContext changes and setZoomLevel changes.
* WebFrame.cpp:
(wxWebFrame::IncreaseTextSize):
(wxWebFrame::DecreaseTextSize):
(wxWebFrame::ResetTextSize):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::createNetworkingContext):
* WebKitSupport/FrameLoaderClientWx.h:
* WebKitSupport/FrameNetworkingContextWx.h: Added.
(WebCore::FrameNetworkingContextWx::create):
(WebCore::FrameNetworkingContextWx::coreFrame):
(WebCore::FrameNetworkingContextWx::FrameNetworkingContextWx):
2010-09-13 Enrica Casucci <enrica@apple.com>
Reviewed by Sam Weinig.
Paste should be implemented in WebCore like Copy and Cut for Mac also.
https://bugs.webkit.org/show_bug.cgi?id=45494
<rdar://problem/7660537>
On the Mac platform, the implementation of the paste operation is all done
at the WebKit level. In order to support it on WebKit2 it is necessary to
refactor the code and move this functionality at the level of WebCore like
we already have on Windows.
The original code relies on some in AppKit functions that call back into
WebKit causing problems in WebKit2. All this functionality has been moved
at the level of the editor client where it can be dealt with appropriately.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::canShowMIMETypeAsHTML): Added stub.
* WebKitSupport/FrameLoaderClientWx.h:
2010-09-10 Adam Barth <abarth@webkit.org>
Reviewed by Darin Fisher.
Move code from WebKit-layer to DocumentLoader
https://bugs.webkit.org/show_bug.cgi?id=45569
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::committedLoad):
2010-09-10 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Main resource bytes shouldn't bounce through FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=45496
Now return the bytes to the DocumentLoader.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::committedLoad):
2010-09-08 Darin Adler <darin@apple.com>
Reviewed by Adam Barth.
Move functions from Frame to Editor as planned
https://bugs.webkit.org/show_bug.cgi?id=45218
* WebFrame.cpp:
(wxWebFrame::FindString):
Changed call sites to use editor().
2010-08-31 Dave Hyatt <hyatt@apple.com>
Reviewed by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=44863, disentangle style recalc from layout, so that
the former can occur in more places without having to do the latter.
* WebView.cpp:
(wxWebView::OnPaint):
2010-08-28 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix after parseMode -> compatibilityMode rename.
* WebFrame.cpp:
(wxWebFrame::GetCompatibilityMode):
* WebFrame.h:
* WebView.cpp:
(wxWebView::GetCompatibilityMode):
* WebView.h:
2010-08-26 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
A few tweaks to the wxWebView editing APIs after addition of DOM bindings.
https://bugs.webkit.org/show_bug.cgi?id=44656
1. adoptRef fix for WebCore::EditCommand wrapper API.
2. Add the mimetype as an argument to SetPageSource to allow XHTML documents to be loaded.
3. Add notification events for contents / selection changed editing events.
4. Improved wxPython binding typemaps support for DOM APIs.
* WebEdit.cpp:
(WebCoreEditCommandPrivate::WebCoreEditCommandPrivate):
(WebCoreEditCommandPrivate::~WebCoreEditCommandPrivate):
(WebCoreEditCommandPrivate::command):
(wxWebEditCommand::wxWebEditCommand):
(wxWebEditCommand::~wxWebEditCommand):
(wxWebEditCommand::SetNodeAttribute):
(wxWebEditCommand::Apply):
* WebEdit.h:
* WebFrame.cpp:
(wxWebFrame::SetPageSource):
* WebFrame.h:
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::respondToChangedContents):
(WebCore::EditorClientWx::respondToChangedSelection):
* WebSettings.h:
* WebView.cpp:
(wxWebViewContentsChangedEvent::wxWebViewContentsChangedEvent):
(wxWebViewSelectionChangedEvent::wxWebViewSelectionChangedEvent):
(wxWebView::SetPageSource):
* WebView.h:
* bindings/python/webview.i:
2010-08-16 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix, do not build WebCore as a convenience library as this leads to
errors in the Win build w/export symbols and causes problems with DOM bindings
debugging in gdb.
* WebKitDefines.h:
* bindings/python/wscript:
2010-08-16 Kevin Ollivier <kevino@theolliviers.com>
wxMSW build fix. Don't build the Python DOM bindings until we get the export issues
sorted out.
* bindings/python/webview.i:
2010-08-13 Gavin Barraclough <barraclough@apple.com>
Reviewed by Sam Weinig
Unify UString::UTF8String() & String::utf8() methods,
remove UString::cost() & make atArrayIndex a free function.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2010-08-12 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r65295.
http://trac.webkit.org/changeset/65295
https://bugs.webkit.org/show_bug.cgi?id=43950
It broke 4 sputnik tests (Requested by Ossy on #webkit).
* WebFrame.cpp:
(wxWebFrame::RunScript):
2010-08-12 Gavin Barraclough <barraclough@apple.com>
Reviewed by Sam Weinig
Unify UString::UTF8String() & String::utf8() methods,
remove UString::cost() & make atArrayIndex a free function.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2010-08-11 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix. WebCore::String -> WTF::String fixes.
* WebEdit.cpp:
(wxWebEditCommand::SetNodeAttribute):
2010-08-10 Gavin Barraclough <barraclough@apple.com>
Rubber stamped by Sam Weinig.
Bug 43786 - Move AtomicStringHash from WebCore to WTF
Also remove deprecated string headers from WebCore/platform/text.
* WebEdit.cpp:
2010-08-06 Gavin Barraclough <barraclough@apple.com>
Rubber stamped by Sam Weinig
Bug 43594 - Add string forwards to Forward.h
This allows us to remove forward declarations for these classes from
WebCore/WebKit (a step in moving these class from WebCore:: to WTF::).
* WebKitSupport/FrameLoaderClientWx.h:
* WebKitSupport/InspectorClientWx.h:
2010-08-06 Jessie Berlin <jberlin@apple.com>
Roll out http://trac.webkit.org/changeset/64801, which broke the Safari Windows Build.
Unreviewed.
* WebKitSupport/FrameLoaderClientWx.h:
* WebKitSupport/InspectorClientWx.h:
2010-08-04 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix for gcc not importing all symbols from convenience libraries.
Works on 10.6 only for Mac until the build system is reworked.
* bindings/python/webview.i:
2010-08-03 Malcolm MacLeod <mmacleod@webmail.co.za>
Reviewed by Kevin Ollivier.
Fix crash during HitTest call.
https://bugs.webkit.org/show_bug.cgi?id=43372
* WebFrame.cpp:
(wxWebFrame::HitTest):
* WebView.cpp:
(wxWebViewDOMElementInfo::wxWebViewDOMElementInfo):
2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Darin Fisher.
PopupMenu refactoring in preparation to WebKit2
https://bugs.webkit.org/show_bug.cgi?id=42592
As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
instances, concrete classes that inherit from ChromeClient needed to be changed to
implement the new methods.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::selectItemWritingDirectionIsNatural):
(WebCore::ChromeClientWx::createPopupMenu):
(WebCore::ChromeClientWx::createSearchPopupMenu):
* WebKitSupport/ChromeClientWx.h:
2010-08-02 Jeremy Orlow <jorlow@chromium.org>
Speculative revert of 64425 due to Chromium instability
https://bugs.webkit.org/show_bug.cgi?id=43347
* WebKitSupport/ChromeClientWx.cpp:
* WebKitSupport/ChromeClientWx.h:
2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Darin Fisher.
PopupMenu refactoring in preparation to WebKit2
https://bugs.webkit.org/show_bug.cgi?id=42592
As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
instances, concrete classes that inherit from ChromeClient needed to be changed to
implement the new methods.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::selectItemWritingDirectionIsNatural):
(WebCore::ChromeClientWx::createPopupMenu):
(WebCore::ChromeClientWx::createSearchPopupMenu):
* WebKitSupport/ChromeClientWx.h:
2010-07-31 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r64422.
http://trac.webkit.org/changeset/64422
https://bugs.webkit.org/show_bug.cgi?id=43304
Build fixes are needed for Snow Leopard and Windows.
(Requested by lca on #webkit).
* WebKitSupport/ChromeClientWx.cpp:
* WebKitSupport/ChromeClientWx.h:
2010-07-27 Luiz Agostini <luiz.agostini@openbossa.org>
Reviewed by Darin Fisher.
PopupMenu refactoring in preparation to WebKit2
https://bugs.webkit.org/show_bug.cgi?id=42592
As ChromeClient was made responsible for providing PopupMenu and SearchPopupMenu
instances, concrete classes that inherit from ChromeClient needed to be changed to
implement the new methods.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::selectItemWritingDirectionIsNatural):
(WebCore::ChromeClientWx::createPopupMenu):
(WebCore::ChromeClientWx::createSearchPopupMenu):
* WebKitSupport/ChromeClientWx.h:
2010-07-30 Joseph Pecoraro <joepeck@webkit.org>
Reviewed by David Kilzer.
Limit ApplicationCache Total and Per-Origin Storage Capacity (Quotas)
https://bugs.webkit.org/show_bug.cgi?id=40627
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::reachedApplicationCacheOriginQuota):
* WebKitSupport/ChromeClientWx.h:
2010-07-29 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix, add file missing from DOM bindings commit.
* WebEdit.cpp: Added.
(WebCore::):
(wxWebEditCommand::wxWebEditCommand):
(wxWebEditCommand::~wxWebEditCommand):
(wxWebEditCommand::SetNodeAttribute):
(wxWebEditCommand::Apply):
2010-07-28 Kevin Ollivier <kevino@theolliviers.com>
[wx] wxPython build fix that was missed in last commit.
* bindings/python/webview.i:
2010-07-28 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix after recent changes.
* WebEdit.h: Added.
* bindings/python/webview.i:
2010-07-28 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Add DOM bindings support for wx port.
* WebBrowserShell.cpp:
(wxWebBrowserShell::wxWebBrowserShell):
(wxWebBrowserShell::OnEditCommand):
(wxWebBrowserShell::OnGetEditCommandState):
* WebBrowserShell.h:
* WebDOMSelection.cpp: Added.
(wxWebKitSelection::wxWebKitSelection):
(wxWebKitSelection::GetRootEditableElement):
(wxWebKitSelection::GetAsRange):
* WebDOMSelection.h: Added.
* WebFrame.cpp:
(wxWebFrame::GetSelectionAsHTML):
(wxWebFrame::GetSelectionAsText):
(wxWebFrame::GetSelection):
(wxWebFrame::ExecuteEditCommand):
(wxWebFrame::GetEditCommandState):
(wxWebFrame::GetEditCommandValue):
(wxWebFrame::HitTest):
* WebFrame.h:
* WebKitDefines.h:
* WebKitSupport/EditorClientWx.cpp:
(WebCore::):
(WebCore::EditorClientWx::redo):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::finishedLoading):
(WebCore::FrameLoaderClientWx::setMainDocumentError):
(WebCore::FrameLoaderClientWx::dispatchDidFailLoading):
* WebView.cpp:
(wxWebViewDOMElementInfo::wxWebViewDOMElementInfo):
(wxWebViewDOMElementInfo::~wxWebViewDOMElementInfo):
(wxWebView::Create):
(wxWebView::GetSelection):
(wxWebView::GetSelectionAsHTML):
(wxWebView::GetSelectionAsText):
(wxWebView::ExecuteEditCommand):
(wxWebView::GetEditCommandState):
(wxWebView::GetEditCommandValue):
(wxWebView::MakeEditable):
(wxWebView::IsEditable):
* WebView.h:
* bindings/python/webview.i:
* bindings/python/wscript:
* wscript:
2010-07-26 Steve Block <steveblock@google.com>
Reviewed by Jeremy Orlow.
Page clients should be passed to Page constructor via structure of pointers
https://bugs.webkit.org/show_bug.cgi?id=42834
* WebView.cpp:
(wxWebView::Create):
2010-07-16 Zhe Su <suzhe@chromium.org>
Reviewed by Darin Adler.
REGRESSION(r61484): Broke focus behaviour on Qt and probably other platforms
https://bugs.webkit.org/show_bug.cgi?id=42253
Dummy implementation of EditorClient::willSetInputMethodState.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::willSetInputMethodState):
* WebKitSupport/EditorClientWx.h:
2010-07-14 Sam Weinig <sam@webkit.org>
Reviewed by Darin Adler.
Patch for https://bugs.webkit.org/show_bug.cgi?id=42232
Make changing Cursors work in WebKit2.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::setCursor):
* WebKitSupport/ChromeClientWx.h:
Change prototype to match new one.
2010-07-07 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix after change in Page constructor.
* WebView.cpp:
(wxWebView::Create):
2010-06-21 Kevin Ollivier <kevino@theolliviers.com>
Build fix after conversion of WebInterfaceSystem to Obj-C++.
* WebView.cpp:
* wscript:
2010-06-15 Dumitru Daniliuc <dumi@chromium.org>
Reviewed by Adam Barth.
Move isAvailable()/setIsAvailable() from Database/DatabaseSync to AbstractDatabase.
https://bugs.webkit.org/show_bug.cgi?id=39041
* WebView.cpp:
(wxWebView::SetDatabasesEnabled):
(wxWebView::AreDatabasesEnabled):
2010-06-15 Darin Adler <darin@apple.com>
Reviewed by Adam Barth.
Move functions out of Frame class that were marked "move to Chrome"
https://bugs.webkit.org/show_bug.cgi?id=39636
* WebFrame.cpp:
(wxWebFrame::ShouldClose): Call shouldClose on FrameLoader instead
of going through Frame.
2010-06-14 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
data from inspected page to WebInspector as JSON string via http. The native
serialization to JSON string is supported by InspectorValue's classes. This patch
has the implementation of sendMessageToFrontend function. WebKit version of it still
uses ScriptFunctionCall and will be switched to another transport a little bit later.
https://bugs.webkit.org/show_bug.cgi?id=40134
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::sendMessageToFrontend):
* WebKitSupport/InspectorClientWx.h:
2010-06-09 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r60889.
http://trac.webkit.org/changeset/60889
https://bugs.webkit.org/show_bug.cgi?id=40365
gtk bot has some kind of memory corruption (Requested by
loislo on #webkit).
* WebKitSupport/InspectorClientWx.cpp:
* WebKitSupport/InspectorClientWx.h:
2010-06-07 Ilya Tikhonovsky <loislo@chromium.org>
Reviewed by Pavel Feldman.
WebInspector: On the way to Remote Debugging we want to transfer dom/timeline/etc
data from inspected page to WebInspector as JSON string via http. The native
serialization to JSON string is supported by InspectorValue's classes. This patch
has the implementation of sendMessageToFrontend function. WebKit version of it still
uses ScriptFunctionCall and will be switched to another transport a little bit later.
https://bugs.webkit.org/show_bug.cgi?id=40134
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::sendMessageToFrontend):
* WebKitSupport/InspectorClientWx.h:
2010-05-27 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fixes for Windows after recent changes.
* WebView.cpp:
(wxWebView::Create):
* wscript:
2010-05-26 Kevin Ollivier <kevino@theolliviers.com>
Build fix after new client added to Page constructor.
* WebView.cpp:
(wxWebView::Create):
2010-05-24 Darin Adler <darin@apple.com>
Reviewed by Eric Seidel.
Move view-related functions from Frame to FrameView
https://bugs.webkit.org/show_bug.cgi?id=39366
* WebFrame.cpp:
(wxWebFrame::CanIncreaseTextSize): Check FrameView is not null.
(wxWebFrame::IncreaseTextSize): Call function on FrameView.
(wxWebFrame::CanDecreaseTextSize): Ditto.
(wxWebFrame::DecreaseTextSize): Ditto.
(wxWebFrame::ResetTextSize): Ditto.
2010-05-11 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Load a blank page on creation to initialize WebCore objects properly.
https://bugs.webkit.org/show_bug.cgi?id=38932
* WebView.cpp:
(wxWebView::Create):
2010-05-03 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Build and use Mac's ComplexTextController to support complex text in wx.
https://bugs.webkit.org/show_bug.cgi?id=38482
* WebView.cpp:
(wxWebView::Create):
* wscript:
2010-05-03 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Provide access to GrantUniversalAccess to allow enabling of XSS support.
https://bugs.webkit.org/show_bug.cgi?id=38481
* WebFrame.cpp:
(wxWebFrame::GrantUniversalAccess):
* WebFrame.h:
* WebView.cpp:
(wxWebView::GetParseMode):
(wxWebView::GrantUniversalAccess):
* WebView.h:
2010-05-03 Jens Alfke <snej@chromium.org>
Reviewed by Darin Fisher.
[chromium] Add "willSendSubmitEvent" hook to WebFrameClient and FrameLoaderClient
https://bugs.webkit.org/show_bug.cgi?id=38397
No tests (functionality is exposed only through native WebKit API.)
* WebKitSupport/FrameLoaderClientWx.h:
(WebCore::FrameLoaderClientWx::dispatchWillSendSubmitEvent):
2010-04-25 Sam Weinig <sam@webkit.org>
Reviewed by Maciej Stachowiak.
Fix for https://bugs.webkit.org/show_bug.cgi?id=38097
Disentangle initializing the main thread from initializing threading
* WebView.cpp:
(wxWebView::Create): Add call to initializeMainThread.
2010-04-25 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Update focus handling code to match current approaches used by other platforms,
and fix focus handling for corner cases such as when a mouse down pops up a dialog.
https://bugs.webkit.org/show_bug.cgi?id=38086
* WebView.cpp:
(wxWebView::Create):
(wxWebView::OnTLWActivated):
(wxWebView::OnPaint):
(wxWebView::OnMouseEvents):
(wxWebView::OnSetFocus):
(wxWebView::OnKillFocus):
* WebView.h:
2010-04-20 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Factor DocumentWriter out of FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=37175
Update these callsites because the method moved to DocumentWriter.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::committedLoad):
2010-04-20 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Adler.
Change a parameter type of chooseIconForFiles()
https://bugs.webkit.org/show_bug.cgi?id=37504
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::chooseIconForFiles):
* WebKitSupport/ChromeClientWx.h:
2010-04-19 Kevin Ollivier <kevino@theolliviers.com>
Build fix, add stub for new FrameLoaderClient method.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidChangeIcons):
* WebKitSupport/FrameLoaderClientWx.h:
2010-04-11 Sheriff Bot <webkit.review.bot@gmail.com>
Unreviewed, rolling out r57468.
http://trac.webkit.org/changeset/57468
https://bugs.webkit.org/show_bug.cgi?id=37433
Broke the world... Must have applied the patch wrong
(Requested by abarth on #webkit).
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::committedLoad):
2010-04-11 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Factor DocumentWriter out of FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=37175
Update these callsites because the method moved to DocumentWriter.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::committedLoad):
2010-04-07 Andrey Kosyakov <caseq@chromium.org>
Reviewed by Yury Semikhatsky.
Removed redundant FrameLoaderClient::dispatchDidLoadResourceByXMLHttpRequest()
https://bugs.webkit.org/show_bug.cgi?id=36949
* WebKitSupport/FrameLoaderClientWx.cpp:
* WebKitSupport/FrameLoaderClientWx.h:
2010-03-31 Marcus Bulach <bulach@chromium.org>
Reviewed by Jeremy Orlow.
Adds Geolocation param for cancelGeolocationPermissionRequestForFrame.
https://bugs.webkit.org/show_bug.cgi?id=35031
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::cancelGeolocationPermissionRequestForFrame):
2010-03-30 Gavin Barraclough <barraclough@apple.com>
Rubber stamped by Sam Weinig.
https://bugs.webkit.org/show_bug.cgi?id=36866
Move CString to WTF
* WebFrame.cpp:
* WebView.cpp:
2010-03-30 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix after method name change.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2010-03-28 Alexey Proskuryakov <ap@apple.com>
Build fix. Include WindowsKeyboardCodes.h instead of KeyboardCodes.h.
* WebKitSupport/EditorClientWx.cpp:
2010-03-24 Kent Tamura <tkent@chromium.org>
Reviewed by Darin Adler.
Make Icon::createIconForFiles() optional.
https://bugs.webkit.org/show_bug.cgi?id=35072
- Rename iconForFiles() to chooseIconForFiles().
- Call Icon::createIconForFiles() from chooseIconForFiles().
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::chooseIconForFiles):
* WebKitSupport/ChromeClientWx.h:
2010-03-20 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fixes after recent changes, including move of setDatabasesEnabled from Settings.
* WebFrame.cpp:
(wxWebFrame::RunScript):
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::openInspectorFrontend):
* WebSettings.cpp:
* WebSettings.h:
* WebView.cpp:
(wxWebView::Create):
(wxWebView::SetDatabasesEnabled):
(wxWebView::AreDatabasesEnabled):
* WebView.h:
2010-03-16 Yury Semikhatsky <yurys@chromium.org>
Reviewed by Pavel Feldman.
Introduce InspectorFrontendClient that provides InspectorFrontend with an interface to the embedder. InspectorClient now serves as a delegate for InspectorController and does not contain methods for managing inspector frontend window. That allows to create remote InspectorFrontendHost.
Introduce InspectorFrontendClient that would provide InspectorFrontend with an interface to the embedder
https://bugs.webkit.org/show_bug.cgi?id=35036
* WebKitSupport/InspectorClientWx.cpp:
* WebKitSupport/InspectorClientWx.h:
2010-03-11 Anders Carlsson <andersca@apple.com>
Reviewed by David Hyatt.
Remove invalidateContents, it isn't used and it never makes sense to only invalidate the contents.
* WebKitSupport/ChromeClientWx.cpp:
* WebKitSupport/ChromeClientWx.h:
2010-03-02 Adam Treat <atreat@rim.com>
Reviewed by Dave Hyatt.
Adapt the wx port to the refactoring of repaint methods.
https://bugs.webkit.org/show_bug.cgi?id=34214
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::invalidateContents):
(WebCore::ChromeClientWx::invalidateWindow):
(WebCore::ChromeClientWx::invalidateContentsForSlowScroll):
(WebCore::ChromeClientWx::invalidateContentsAndWindow):
* WebKitSupport/ChromeClientWx.h:
2010-03-01 Jakob Petsovits <jpetsovits@rim.com>
Reviewed by Adam Barth.
Adapt to the new ZoomMode enum.
https://bugs.webkit.org/show_bug.cgi?id=35347
* WebFrame.cpp:
(wxWebFrame::IncreaseTextSize):
(wxWebFrame::DecreaseTextSize):
(wxWebFrame::ResetTextSize):
2010-02-23 Steve Block <steveblock@google.com>
Reviewed by Darin Adler.
Adds ChromeClient::cancelGeolocationPermissionRequestForFrame
https://bugs.webkit.org/show_bug.cgi?id=34962
This method is required so that a Geolocation object can cancel an
asynchronous permission request. This allows the chrome client to cancel
any UI it is showing for the permission request.
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::cancelGeolocationPermissionRequestForFrame):
2010-02-17 Dmitry Titov <dimich@chromium.org>
Reviewed by David Levin, Darin Fisher, Simon Hausmann.
When a live iframe element is moved between pages, it still depends on the old page.
https://bugs.webkit.org/show_bug.cgi?id=34382
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::didTransferChildFrameToNewDocument):
Added empty implementation of a new virtual method.
* WebKitSupport/FrameLoaderClientWx.h:
2010-02-17 Kent Tamura <tkent@chromium.org>
Reviewed by Eric Seidel.
Introduces new Icon loading interface in order to support
asynchronous loading.
https://bugs.webkit.org/show_bug.cgi?id=32054
Add an empty implementation of ChromeClient::iconForFiles().
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::iconForFiles):
* WebKitSupport/ChromeClientWx.h:
2010-02-04 Kevin Ollivier <kevino@theolliviers.com>
Build fix after changes in r54345.
* WebView.cpp:
(wxWebView::OnKeyEvents):
2010-02-04 Dan Bernstein <mitz@apple.com>
Reviewed by Simon Fraser.
REGRESSION (r53718): When scrolling a tall window by page, the overlap between pages is too big
https://bugs.webkit.org/show_bug.cgi?id=34371
* WebView.cpp:
(wxWebView::OnKeyEvents): Use Scrollbar method instead of constant.
2010-02-03 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Add wxWebKitWindowFeatures and have createWindow send a notification for
clients to handle.
https://bugs.webkit.org/show_bug.cgi?id=34542
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::wkFeaturesforWindowFeatures):
(WebCore::ChromeClientWx::createWindow):
* WebView.h:
2010-01-27 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Add a way to get the parse mode to wxWebKit API.
https://bugs.webkit.org/show_bug.cgi?id=34341
* WebFrame.cpp:
(wxWebFrame::GetParseMode):
* WebFrame.h:
* WebView.cpp:
(wxWebView::GetParseMode):
* WebView.h:
2010-01-22 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
[wx] Remove the Bakefile build system, which is no longer being used.
https://bugs.webkit.org/show_bug.cgi?id=34022
* bindings/python/wxwebkit-py.bkl: Removed.
* dependencies.bkl: Removed.
* presets/wxwebkit.bkl: Removed.
* wxwebkit.bkl: Removed.
* wxwk-settings.bkl: Removed.
2010-01-22 Kevin Ollivier <kevino@theolliviers.com>
Build fix after r53718.
* WebView.cpp:
(wxWebView::OnKeyEvents):
2010-01-15 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Alexey Proskuryakov.
Move the code adding the child frame to the FrameTree into wxWebFrame constructor
so that it happens before we call init() on the new frame. Fixes asserts checking
frame count consistency.
* WebFrame.cpp:
(wxWebFrame::wxWebFrame):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::createFrame):
2010-01-14 Kevin Ollivier <kevino@theolliviers.com>
[wx] Build fix, missing header.
* WebView.cpp:
2010-01-09 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
ScriptController::isEnabled needs to be renamed
https://bugs.webkit.org/show_bug.cgi?id=32063
Rename ScriptController::isEnabled to
ScriptController::canExecuteScripts.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2009-12-30 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Introduce wxWebSettings API interface for editing wxWebView / page settings.
https://bugs.webkit.org/show_bug.cgi?id=32956
* WebBrowserShell.h:
* WebFrame.h:
* WebKitDefines.h: Added.
* WebSettings.cpp: Added.
(wxWebSettings::SetDefaultFixedFontSize):
(wxWebSettings::GetDefaultFixedFontSize):
(wxWebSettings::SetDefaultFontSize):
(wxWebSettings::GetDefaultFontSize):
(wxWebSettings::SetMinimumFontSize):
(wxWebSettings::GetMinimumFontSize):
(wxWebSettings::SetLoadsImagesAutomatically):
(wxWebSettings::LoadsImagesAutomatically):
(wxWebSettings::SetJavaScriptEnabled):
(wxWebSettings::IsJavaScriptEnabled):
(wxWebSettings::SetDatabasesEnabled):
(wxWebSettings::AreDatabasesEnabled):
(wxWebSettings::SetLocalStoragePath):
(wxWebSettings::GetLocalStoragePath):
(wxWebSettings::SetEditableLinkBehavior):
(wxWebSettings::GetEditableLinkBehavior):
(wxWebSettings::SetPluginsEnabled):
(wxWebSettings::ArePluginsEnabled):
* WebSettings.h: Added.
* WebView.cpp:
(wxWebView::Create):
(wxWebView::GetWebSettings):
* WebView.h:
* bindings/python/webview.i:
2009-12-28 Patrick Gansterer <paroga@paroga.com>
Reviewed by Maciej Stachowiak.
Use JS_NO_EXPORT for JSBase.h.
* wxwk-settings.bkl:
2009-12-20 Kevin Ollivier <kevino@theolliviers.com>
[wx] build fixes after recent changes.
* WebFrame.cpp: Added missing header.
* WebKitSupport/EditorClientWx.cpp: Added missing header.
* WebView.cpp: Updated Page constructor call.
(wxWebView::Create):
2009-12-08 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
[wx] Mac plugins support.
https://bugs.webkit.org/show_bug.cgi?id=32236
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::createPlugin):
(WebCore::FrameLoaderClientWx::redirectDataToPlugin):
* WebView.cpp:
(wxWebView::Create):
2009-12-03 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig.
<rdar://problem/7214236> and http://webkit.org/b/32052 - Implement HTML5 state object history API
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidPushStateWithinPage):
(WebCore::FrameLoaderClientWx::dispatchDidReplaceStateWithinPage):
(WebCore::FrameLoaderClientWx::dispatchDidPopStateWithinPage):
* WebKitSupport/FrameLoaderClientWx.h:
2009-12-03 Pavel Feldman <pfeldman@dhcp-172-28-174-220.spb.corp.google.com>
Reviewed by Timothy Hatcher.
Web Inspector: Simplify the settings support in inspector controller.
https://bugs.webkit.org/show_bug.cgi?id=32076
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::populateSetting):
(WebCore::InspectorClientWx::storeSetting):
* WebKitSupport/InspectorClientWx.h:
2009-12-03 Ben Murdoch <benm@google.com>
Reviewed by Brady Eidson.
[Android] The FrameLoaderClient is unaware of BackForwardList changes.
https://bugs.webkit.org/show_bug.cgi?id=31914
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidAddBackForwardItem): Add an empty implementation. Method added to FrameLoaderClient by Android (see bug).
(WebCore::FrameLoaderClientWx::dispatchDidRemoveBackForwardItem): ditto.
(WebCore::FrameLoaderClientWx::dispatchDidChangeBackForwardIndex): ditto.
* WebKitSupport/FrameLoaderClientWx.h:
2009-11-23 Laszlo Gombos <laszlo.1.gombos@nokia.com>
Reviewed by Kenneth Rohde Christiansen.
Include "config.h" to meet Coding Style Guidelines
https://bugs.webkit.org/show_bug.cgi?id=31792
* WebKitSupport/DragClientWx.cpp:
2009-11-18 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Enable wx plugin support using the Windows implementation as a base.
https://bugs.webkit.org/show_bug.cgi?id=31636
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
(WebCore::FrameLoaderClientWx::finishedLoading):
(WebCore::FrameLoaderClientWx::committedLoad):
(WebCore::FrameLoaderClientWx::createPlugin):
(WebCore::FrameLoaderClientWx::redirectDataToPlugin):
(WebCore::FrameLoaderClientWx::shouldUsePluginDocument):
* WebKitSupport/FrameLoaderClientWx.h:
* WebView.cpp:
(wxWebView::Create):
2009-11-13 Kevin Ollivier <kevino@theolliviers.com>
wx build fix after r50923 change to externalRepresentation.
* WebFrame.cpp:
(wxWebFrame::GetExternalRepresentation):
2009-11-13 Adam Roben <aroben@apple.com>
Update for changes to FrameLoaderClient
Fixes <http://webkit.org/b/31124> Tell the WebFrameLoadDelegate when
window objects in isolated worlds are cleared
Reviewed by Dave Hyatt.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidClearWindowObjectInWorld):
* WebKitSupport/FrameLoaderClientWx.h:
Replaced windowObjectCleared with this function. Does nothing if the
passed-in world is not the mainThreadNormalWorld().
2009-11-10 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Add sanity checks to RunScript to ensure it doesn't run when the document hasn't yet
loaded nor when JavaScript is disabled.
https://bugs.webkit.org/show_bug.cgi?id=31309
* WebFrame.cpp:
(wxWebFrame::RunScript):
2009-11-04 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Fix an assert on shutdown when wxWebView has captured the mouse,
and make sure wxWebView's right click handling is only active when
the WebCore popup menu is used.
https://bugs.webkit.org/show_bug.cgi?id=31131
* WebView.cpp:
(wxWebView::~wxWebView):
(wxWebView::OnContextMenuEvents):
(wxWebView::OnMenuSelectEvents):
2009-11-04 Vadim Zeitlin <vadim@wxwidgets.org>
Reviewed by Eric Seidel.
[wx] Small cleanup: avoid unnecessary wxString::mb_str() calls.
* WebFrame.cpp:
(wxWebFrame::SetPageSource):
(wxWebFrame::LoadURL):
2009-10-30 Evan Stade <estade@chromium.org>
Reviewed by David Levin.
Notify the chrome when the focused node has changed.
https://bugs.webkit.org/show_bug.cgi?id=30832
Added stub implementation for new ChromeClient function.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::focusedNodeChanged):
* WebKitSupport/ChromeClientWx.h:
2009-10-23 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Update the globalObject calls after changes.
* WebFrame.cpp:
(wxWebFrame::RunScript):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::windowObjectCleared):
2009-10-21 Pedro Romano <pmcnr72@gmail.com>
Reviewed by Kevin Ollivier.
Include 'WebFrame.h' declared classes in wxPython bindings.
https://bugs.webkit.org/show_bug.cgi?id=30504
* bindings/python/webview.i:
2009-10-18 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Add the ability to specify a proxy for wxWebKit.
https://bugs.webkit.org/show_bug.cgi?id=30446
* WebView.cpp:
(curlProxyType):
(wxWebView::SetProxyInfo):
* WebView.h:
2009-10-18 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Add basic database support to wx API
https://bugs.webkit.org/show_bug.cgi?id=30445
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::exceededDatabaseQuota):
* WebView.cpp:
(wxWebView::Create):
(wxWebView::SetDatabaseDirectory):
(wxWebView::GetDatabaseDirectory):
* WebView.h:
2009-10-16 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Optionally allow the user to zoom text using the mouse wheel.
https://bugs.webkit.org/show_bug.cgi?id=30444
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::OnMouseEvents):
* WebView.h:
2009-10-16 Kevin Ollivier <kevino@theolliviers.com>
wxMSW non-precomp headers build fix.
* WebView.cpp:
2009-10-15 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Update the wxPython simple.py sample to match current wxWebKit API.
https://bugs.webkit.org/show_bug.cgi?id=30406
* bindings/python/samples/simple.py:
2009-10-08 Adam Barth <abarth@webkit.org>
Reviewed by Eric Seidel.
Move executeScript from FrameLoader to ScriptController
https://bugs.webkit.org/show_bug.cgi?id=30200
Update API call.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2009-10-07 Adam Barth <abarth@webkit.org>
Reviewed by Darin Adler.
Factor PolicyChecker out of FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=30155
Move the policy callback to the policy object.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchWillSubmitForm):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForMIMEType):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
2009-09-25 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Add EmptyPluginHalterClient when creating the Page.
* WebView.cpp:
(wxWebView::Create):
2009-09-22 Kevin Ollivier <kevino@theolliviers.com>
Build fix to ensure the import library gets properly installed on Windows.
* wscript:
2009-09-17 Kenneth Rohde Christiansen <kenneth@webkit.org>
Reviewed by Simon Hausmann.
Make PlatformWindow return something else than PlatformWidget
https://bugs.webkit.org/show_bug.cgi?id=29085
Reflect the rename of platformWindow and it's return type.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::platformPageClient):
* WebKitSupport/ChromeClientWx.h:
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::isEditable):
(WebCore::EditorClientWx::registerCommandForUndo):
(WebCore::EditorClientWx::registerCommandForRedo):
(WebCore::EditorClientWx::clearUndoRedoOperations):
(WebCore::EditorClientWx::canUndo):
(WebCore::EditorClientWx::canRedo):
(WebCore::EditorClientWx::undo):
(WebCore::EditorClientWx::redo):
2009-09-16 Kevin Ollivier <kevino@theolliviers.com>
wxPython bindings build fixes after recent changes.
* WebView.h:
* bindings/python/wscript:
2009-09-13 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Allow a way to set the cache policy via wx API.
https://bugs.webkit.org/show_bug.cgi?id=29200
* WebView.cpp:
(wxWebView::SetCachePolicy):
(wxWebView::GetCachePolicy):
* WebView.h:
2009-09-13 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Allow the user to query Frame::shouldClose via wx API.
https://bugs.webkit.org/show_bug.cgi?id=29199
* WebFrame.cpp:
(wxWebFrame::ShouldClose):
* WebFrame.h:
* WebView.cpp:
(wxWebView::ShouldClose):
* WebView.h:
2009-09-13 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Fix mouse handling when the mouse leaves the window during mouse down.
https://bugs.webkit.org/show_bug.cgi?id=29198
* WebView.cpp:
(wxWebView::OnMouseEvents):
2009-09-13 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Add support for console MessageLevel at wx API level.
https://bugs.webkit.org/show_bug.cgi?id=29197
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::addMessageToConsole):
* WebView.h:
2009-09-03 Adam Barth <abarth@webkit.org>
Reviewed by eric@webkit.org.
https://bugs.webkit.org/show_bug.cgi?id=24696
Stub implementations of mixed content methods of FrameLoaderClient.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::didDisplayInsecureContent):
(WebCore::FrameLoaderClientWx::didRunInsecureContent):
* WebKitSupport/FrameLoaderClientWx.h:
2009-09-03 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
[wx] Frames support
https://bugs.webkit.org/show_bug.cgi?id=19041
* WebFrame.cpp:
(wxWebFrame::wxWebFrame):
(wxWebFrame::~wxWebFrame):
(wxWebFrame::GetFrame):
* WebFrame.h:
* WebFramePrivate.h:
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::platformWindow):
(WebCore::ChromeClientWx::scroll):
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::isEditable):
(WebCore::EditorClientWx::registerCommandForUndo):
(WebCore::EditorClientWx::registerCommandForRedo):
(WebCore::EditorClientWx::clearUndoRedoOperations):
(WebCore::EditorClientWx::canUndo):
(WebCore::EditorClientWx::canRedo):
(WebCore::EditorClientWx::undo):
(WebCore::EditorClientWx::redo):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
(WebCore::FrameLoaderClientWx::setFrame):
(WebCore::FrameLoaderClientWx::dispatchWillSubmitForm):
(WebCore::FrameLoaderClientWx::frameLoaderDestroyed):
(WebCore::FrameLoaderClientWx::committedLoad):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForMIMEType):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
(WebCore::FrameLoaderClientWx::createFrame):
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
* WebKitSupport/FrameLoaderClientWx.h:
* WebView.h:
* WebViewPrivate.h:
2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
waf build fixes for Windows/MSVC.
* bindings/python/wscript:
* wscript:
2009-09-02 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
wx port: Call WTF::initializeThreading().
https://bugs.webkit.org/show_bug.cgi?id=28912
* WebView.cpp:
(wxWebView::Create): call WTF::initializeThreading()
2009-09-02 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Use the 2 param KURL constructor.
* WebFrame.cpp:
(wxWebFrame::SetPageSource):
2009-08-31 Alexey Proskuryakov <ap@webkit.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=28852
Rename KURL single argument constructor to avoid confusion
* WebFrame.cpp: (wxWebFrame::SetPageSource): Adapt to the change.
2009-08-28 Gustavo Noronha Silva <gustavo.noronha@collabora.co.uk>
Reviewed by Holger Freyther.
https://bugs.webkit.org/show_bug.cgi?id=25889
[GTK] scrollbar policy for main frame is not implementable
Add empty implementation for new ChromeClient method.
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::scrollbarsModeDidChange):
2009-08-19 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Use FrameLoader::load() for loading pages from a HTML page string to address
bugs with using begin/write/end loading.
https://bugs.webkit.org/show_bug.cgi?id=28488
* WebFrame.cpp:
(wxWebFrame::SetPageSource):
2009-08-13 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Make sure that the wxWebKit dynamic library is rebuilt whenever
webcore or jscore libs change.
* wscript:
2009-08-12 Kevin Ollivier <kevino@theolliviers.com>
wxPython build fix, the SWIG defines must also be available when compiling.
* bindings/python/wscript:
2009-08-05 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Eric Seidel.
Adding support for building wx Python bindings using the waf build system.
https://bugs.webkit.org/show_bug.cgi?id=27619
* bindings/python/wscript: Added.
2009-08-04 Kevin Ollivier <kevino@theolliviers.com>
wx build fix after InspectorClient API change.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::inspectorWindowObjectCleared):
* WebKitSupport/InspectorClientWx.h:
2009-08-02 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Jan Alonzo.
Script for building the WebKit library for wx.
https://bugs.webkit.org/show_bug.cgi?id=27619
* wscript: Added.
2009-07-24 Andrei Popescu <andreip@google.com>
Reviewed by Anders Carlsson.
ApplicationCache should have size limit
https://bugs.webkit.org/show_bug.cgi?id=22700
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::reachedMaxAppCacheSize):
Adds empty implementation of the reachedMaxAppCacheSize callback.
* WebKitSupport/ChromeClientWx.h:
2009-07-21 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Missing header added.
* WebFrame.cpp:
2009-07-21 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Adding isSpeaking() to ContextMenuClientWx.
* WebKitSupport/ContextMenuClientWx.cpp:
(WebCore::ContextMenuClientWx::isSpeaking):
* WebKitSupport/ContextMenuClientWx.h:
2009-07-16 Xiaomei Ji <xji@chromium.org>
Reviewed by Darin Adler.
Fix tooltip does not get its directionality from its element's directionality.
https://bugs.webkit.org/show_bug.cgi?id=24187
Per mitz's suggestion in comment #6, while getting the plain-text
title, we also get the directionality of the title. How to handle
the directionality is up to clients. Clients could ignore it,
or use attribute or unicode control characters to display the title
as what they want.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::setToolTip): Add directionality as 2nd parameter to setToopTip() (without handling it yet).
* WebKitSupport/ChromeClientWx.h: Add directionality as 2nd parameter to setToolTip().
2009-07-12 Brent Fulgham <bfulgham@gmail.com>
Speculative build fix after http://trac.webkit.org/changeset/45786.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::addMessageToConsole):
* WebKitSupport/ChromeClientWx.h:
2009-07-09 Beth Dakin and Jon Honeycutt <bdakin@apple.com>
Reviewed by Dave Hyatt.
Make Widget RefCounted to fix:
<rdar://problem/7038831> REGRESSION (TOT): In Mail, a crash occurs
at WebCore::Widget::afterMouseDown() after clicking To Do's close
box
<rdar://problem/6978804> WER #16: Repro Access Violation in
WebCore::PluginView::bindingInstance (1310178023)
-and-
<rdar://problem/6991251> WER #13: Crash in WebKit!
WebCore::PluginView::performRequest+203 (1311461169)
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::createPlugin):
(WebCore::FrameLoaderClientWx::createJavaAppletWidget):
* WebKitSupport/FrameLoaderClientWx.h:
2009-06-09 Kevin Ollivier <kevino@theolliviers.com>
wx build fix, adding JSCore/assembler to the list of include dirs.
* presets/wxwebkit.bkl:
2009-06-03 Kevin Ollivier <kevino@theolliviers.com>
wx build fix, remove no longer needed function call.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2009-06-02 Darin Adler <darin@apple.com>
Reviewed by David Hyatt.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage): Use FrameView::create
and RefPtr instead of the old "crazy" reference counting.
2009-05-23 David Kilzer <ddkilzer@apple.com>
Part 2 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.
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::createHTMLParserQuirks): Return a
PassOwnPtr<> instead of a raw HTMLParserQuirks pointer.
2009-05-22 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Triple-click support for wx port. Also, switch to allocating GraphicsContext
on the stack in OnPaint since we only need it within that function.
https://bugs.webkit.org/show_bug.cgi?id=25962
* WebView.cpp:
(wxWebView::OnPaint):
(getDoubleClickTime):
(wxWebView::OnMouseEvents):
(wxWebView::OnContextMenuEvents):
* WebView.h:
* WebViewPrivate.h:
2009-05-21 Kevin Ollivier <kevino@theolliviers.com>
wx build fix after method added to EditorClient.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::getAutoCorrectSuggestionForMisspelledWord):
* WebKitSupport/EditorClientWx.h:
2009-05-20 Holger Hans Peter Freyther <zecke@selfish.org>
Reviewed by Darin Adler.
https://bugs.webkit.org/show_bug.cgi?id=25834
Make ChromeClient a interface again
With recent additions to ChromeClient.h empty defaults were
added. This is bad for porters as these changes go unnoticed
and at runtime no notImplemented warning is logged and grepping
for notImplemented will not show anything. Change this Client
to be like the other Clients again and always have pure virtuals
(but for stuff inside #ifdef PLATFORM(MAC)).
Update the various WebKit/* implementations to compile again.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::setCursor):
(WebCore::ChromeClientWx::requestGeolocationPermissionForFrame):
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::scrollRectIntoView):
2009-05-18 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Use python-config to get Python linking info on Unix OSes.
* bindings/python/wxwebkit-py.bkl:
2009-03-29 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Maciej Stachowiak.
WebCore::DocumentLoader::mainReceivedError now asserts if error.isNull(), so
make sure wx does not create empty ResourceError() objects.
Also make sure we fire a state changed event to notify when the load fails.
https://bugs.webkit.org/show_bug.cgi?id=24927
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::cancelledError):
(WebCore::FrameLoaderClientWx::blockedError):
(WebCore::FrameLoaderClientWx::cannotShowURLError):
(WebCore::FrameLoaderClientWx::interruptForPolicyChangeError):
(WebCore::FrameLoaderClientWx::cannotShowMIMETypeError):
(WebCore::FrameLoaderClientWx::fileDoesNotExistError):
(WebCore::FrameLoaderClientWx::dispatchDidFailLoading):
(WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
* WebView.h:
2009-05-07 Kevin Ollivier <kevino@theolliviers.com>
Fix for building the Python extension.
* bindings/python/wxwebkit-py.bkl:
2009-05-05 Ben Murdoch <benm@google.com>
Reviewed by Eric Seidel.
Add #if ENABLE(DATABASE) guards around database code so toggling ENABLE_DATABASE off does not break builds.
https://bugs.webkit.org/show_bug.cgi?id=24776
* WebKitSupport/ChromeClientWx.cpp:
* WebKitSupport/ChromeClientWx.h:
2009-04-01 miggilin <mr.diggilin@gmail.com>
Reviewed by Kevin Ollivier.
Full Keyboard shortcut support.
Implement wxBrowser Cut/Copy/Paste menu items.
https://bugs.webkit.org/show_bug.cgi?id=24797
* WebBrowserShell.cpp:
(wxWebBrowserShell::OnSearchCtrlEnter):
(wxWebBrowserShell::OnCut):
(wxWebBrowserShell::OnCopy):
(wxWebBrowserShell::OnPaste):
* WebBrowserShell.h:
* WebKitSupport/EditorClientWx.cpp:
(WebCore::):
(WebCore::EditorClientWx::handleEditingKeyboardEvent):
(WebCore::EditorClientWx::interpretKeyEvent):
(WebCore::EditorClientWx::handleKeyboardEvent):
* WebKitSupport/EditorClientWx.h:
* WebView.cpp:
(wxWebView::CanCut):
(wxWebView::CanPaste):
(wxWebView::Paste):
(wxWebView::OnKeyEvents):
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
* WebFrame.h:
* WebView.h:
2009-05-01 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
STATE_CHANGED event is now named LOAD
https://bugs.webkit.org/show_bug.cgi?id=25549
* bindings/python/samples/simple.py:
2009-05-04 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Eric Seidel.
Initial DRT implementation for wx.
* Bakefiles.bkgen:
2009-05-01 Geoffrey Garen <ggaren@apple.com>
Rubber Stamped by Sam Weinig.
Renamed JSValuePtr => JSValue.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2009-05-01 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Timothy Hatcher.
Add a FrameLoaderClient callback for the ResourceRetrievedByXMLHttpRequest.
https://bugs.webkit.org/show_bug.cgi?id=25347
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidLoadResourceByXMLHttpRequest):
* WebKitSupport/FrameLoaderClientWx.h:
2009-04-30 Kevin Ollivier <kevino@theolliviers.com>
wx build fix, remove references to JSCore shared library.
* bindings/python/wxwebkit-py.bkl:
* wxwebkit.bkl:
2009-04-30 David Kilzer <ddkilzer@apple.com>
Provide a mechanism to create a quirks delegate for HTMLParser
Reviewed by David Hyatt.
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::createHTMLParserQuirks): Added. The
default implementation of this factory method returns 0.
2009-04-30 Pavel Feldman <pfeldman@chromium.org>
Reviewed by Dimitri Glazkov.
https://bugs.webkit.org/show_bug.cgi?id=25342
Add MessageSource and MessageLevel parameters to the ChromeClient::addMessageToConsole.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::addMessageToConsole):
* WebKitSupport/ChromeClientWx.h:
2009-04-28 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Add a function for resetting the zoom factor to 1.0.
https://bugs.webkit.org/show_bug.cgi?id=25447
* WebFrame.cpp:
(wxWebFrame::ResetTextSize):
* WebFrame.h:
* WebView.cpp:
(wxWebView::ResetTextSize):
* WebView.h:
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.
* bindings/python/wxwebkit-py.bkl:
* presets/wxwebkit.bkl:
* wxwebkit.bkl:
2009-04-15 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Implement support for wxWebViewNewWindowEvent.
https://bugs.webkit.org/show_bug.cgi?id=19043
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
2009-04-04 Kevin Ollivier <kevino@theolliviers.com>
Build fixes for wxMac/Tiger.
* dependencies.bkl:
* wxwk-settings.bkl:
2009-04-04 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Add missing header.
* WebKitSupport/FrameLoaderClientWx.cpp:
2009-03-30 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Add events to allow apps to override handling for JS prompts and
window object cleared events.
https://bugs.webkit.org/show_bug.cgi?id=24948
* WebFrame.h:
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::runJavaScriptAlert):
(WebCore::ChromeClientWx::runJavaScriptConfirm):
(WebCore::ChromeClientWx::runJavaScriptPrompt):
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::pageDestroyed):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::hasWebView):
(WebCore::FrameLoaderClientWx::windowObjectCleared):
* WebView.cpp:
(wxWebViewAlertEvent::wxWebViewAlertEvent):
(wxWebViewConfirmEvent::wxWebViewConfirmEvent):
(wxWebViewPromptEvent::wxWebViewPromptEvent):
(wxWebViewWindowObjectClearedEvent::wxWebViewWindowObjectClearedEvent):
* WebView.h:
2009-03-28 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Remove call to now private method.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::prepareForDataSourceReplacement):
2009-03-02 Kevin Ollivier <kevino@theolliviers.com>
Build fixes for wxWidgets Mac trunk build.
* WebView.h:
* bindings/python/webview.i:
* bindings/python/wxwebkit-py.bkl:
* dependencies.bkl:
* presets/wxwebkit.bkl:
2009-02-11 Dimitri Dupuis-latour <dupuislatour@apple.com>
Stub out InspectorClientWx::hiddenPanels.
Reviewed by Timothy Hatcher.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::hiddenPanels):
* WebKitSupport/InspectorClientWx.h:
2009-02-06 Geoffrey Garen <ggaren@apple.com>
Build fix.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::updateGlobalHistoryRedirectLinks):
* WebKitSupport/FrameLoaderClientWx.h:
2009-02-05 Aaron Boodman <aa@chromium.org>
Reviewed by Dave Hyatt.
https://bugs.webkit.org/show_bug.cgi?id=23708
Adds documentElementAvailable() callback to FrameLoaderClient.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::documentElementAvailable):
Stub out documentElementAvailable().
* WebKitSupport/FrameLoaderClientWx.h:
Ditto.
2009-02-02 Geoffrey Garen <ggaren@apple.com>
Build fix.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::updateGlobalHistoryForRedirectWithoutHistoryItem):
(WebCore::FrameLoaderClientWx::createPlugin):
(WebCore::FrameLoaderClientWx::createJavaAppletWidget):
* WebKitSupport/FrameLoaderClientWx.h:
2009-02-02 Geoffrey Garen <ggaren@apple.com>
Build fix.
* WebFrame.cpp:
(wxWebFrame::LoadURL):
2009-01-31 Darin Adler <darin@apple.com>
Build fix.
* WebView.cpp:
(wxWebView::OnSize): call sendResizeEvent on EventHandler.
2009-01-29 David Kilzer <ddkilzer@apple.com>
Build fix for Wx: Finish de-RefCount-ing FrameLoaderClientWx
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::ref): Removed.
(WebCore::FrameLoaderClientWx::deref): Removed.
* WebKitSupport/FrameLoaderClientWx.h: Ditto.
2009-01-28 David Kilzer <ddkilzer@apple.com>
Bug 23490: Remove initialRefCount argument from RefCounted class
<https://bugs.webkit.org/show_bug.cgi?id=23490>
Reviewed by Darin Adler.
FrameLoaderClientWx is no longer a RefCounted class.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::FrameLoaderClientWx): Removed call
to the RefCounted<FrameLoaderClientWx>(0) super constructor.
* WebKitSupport/FrameLoaderClientWx.h: Don't include RefCounted.h
and stop inheriting from RefCounted<FrameLoaderClientWx>.
2009-01-27 Brady Eidson <beidson@apple.com>
Reviewed by Dan Bernstein
Rework FrameLoaderClient to work on a CachedFrame basis instead of CachedPage
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::savePlatformDataToCachedFrame):
(WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedFrame):
* WebKitSupport/FrameLoaderClientWx.h:
2009-01-23 Kevin Ollivier <kevino@theolliviers.com>
wx build fix, add missing include dir.
* presets/wxwebkit.bkl:
2009-01-19 Sam Weinig <sam@webkit.org>
Rubber-stamped by Gavin Barraclough.
Remove temporary operator-> from JSValuePtr.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2009-01-14 miggilin <mr.diggilin@gmail.com>
Reviewed by Kevin Ollivier.
Fixing wx compilation for wx 2.9/trunk.
* WebFrame.cpp:
(wxWebFrame::SetPageSource):
* WebView.cpp:
2009-01-12 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. JSValue* -> JSValuePtr.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2009-01-05 Adam Treat <adam.treat@torchmobile.com>
Reviewed by George Staikos.
Build fix for contentsSizeChanged
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::contentsSizeChanged):
* WebKitSupport/ChromeClientWx.h:
2008-12-19 miggilin <mr.diggilin@gmail.com>
Reviewed by Kevin Ollivier.
Add Context Menu support to wx bindings.
https://bugs.webkit.org/show_bug.cgi?id=22675
* WebKitSupport/ContextMenuClientWx.cpp:
(WebCore::ContextMenuClientWx::contextMenuDestroyed):
(WebCore::ContextMenuClientWx::getCustomMenuFromDefaultItems):
* WebView.cpp:
(wxWebView::OnMouseEvents):
(wxWebView::OnContextMenuEvents):
(wxWebView::OnMenuSelectEvents):
* WebView.h:
2008-12-19 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes after recent changes.
* presets/wxwebkit.bkl:
2008-12-18 Dan Bernstein <mitz@apple.com>
Reviewed by Sam Weinig.
- stub out FrameLoaderClient::shouldUseCredentialStorage().
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::shouldUseCredentialStorage):
* WebKitSupport/FrameLoaderClientWx.h:
2008-12-18 Sam Weinig <sam@webkit.org>
Reviewed by John Sullivan.
Stub out FrameLoaderClient::dispatchDidFirstVisuallyNonEmptyLayout()
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidFirstVisuallyNonEmptyLayout):
* WebKitSupport/FrameLoaderClientWx.h:
2008-12-13 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Expose findString in wxWebView as FindString.
https://bugs.webkit.org/show_bug.cgi?id=22458
* WebView.cpp:
(wxWebView::FindString):
* WebView.h:
2008-12-09 Brett Wilson <brettw@chromium.org>
Reviewed by Dave Hyatt.
https://bugs.webkit.org/show_bug.cgi?id=22177
Add a callback on ChromeClient that the state of form elements on
the page has changed. This is to allow clients implementing session
saving to know when the current state is dirty.
* WebKitSupport/ChromeClientWx.h:
(WebCore::ChromeClientWx::formStateDidChange):
2008-12-02 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Add HitTest to wxWebView (and wxWebFrame).
https://bugs.webkit.org/show_bug.cgi?id=22459
* WebFrame.cpp:
(wxWebFrame::HitTest):
* WebFrame.h:
* WebView.cpp:
(wxWebView::HitTest):
* WebView.h:
2008-11-24 Darin Fisher <darin@chromium.org>
Fix bustage.
http://bugs.webkit.org/show_bug.cgi?id=15643
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::isSelectTrailingWhitespaceEnabled):
* WebKitSupport/EditorClientWx.h:
2008-11-24 Darin Adler <darin@apple.com>
Reviewed by Dan Bernstein.
- https://bugs.webkit.org/show_bug.cgi?id=22470
remove unneeded URL argument from FrameLoaderClient::updateGlobalHistory
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::updateGlobalHistory): Remove argument.
* WebKitSupport/FrameLoaderClientWx.h: Ditto.
2008-11-21 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Maintain an EditCommand stack in WebFramePrivate, and expose Undo and
Redo in wxWebView.
https://bugs.webkit.org/show_bug.cgi?id=22403
* WebFrame.cpp:
(wxWebFrame::wxWebFrame):
(wxWebFrame::Undo):
(wxWebFrame::Redo):
(wxWebFrame::CanUndo):
(wxWebFrame::CanRedo):
* WebFrame.h:
* WebFramePrivate.h: Added.
(WebFramePrivate::WebFramePrivate):
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::createWindow):
* WebKitSupport/EditCommandWx.h: Added.
(EditCommandWx::EditCommandWx):
(EditCommandWx::~EditCommandWx):
(EditCommandWx::editCommand):
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::registerCommandForUndo):
(WebCore::EditorClientWx::registerCommandForRedo):
(WebCore::EditorClientWx::canUndo):
(WebCore::EditorClientWx::canRedo):
(WebCore::EditorClientWx::undo):
(WebCore::EditorClientWx::redo):
* WebKitSupport/EditorClientWx.h:
* WebView.cpp:
(wxWebView::OnMouseEvents):
(wxWebView::OnKeyEvents):
* WebViewPrivate.h:
2008-11-19 Darin Fisher <darin@chromium.org>
Reviewed by Geoff Garen.
https://bugs.webkit.org/show_bug.cgi?id=22345
Define ScriptValue as a thin container for a JSC::Value*.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2008-11-17 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Updated for JavaScriptCore renames.
* presets/wxwebkit.bkl:
2008-11-17 Geoffrey Garen <ggaren@apple.com>
Reviewed by Sam Weinig.
Updated for JavaScriptCore renames.
* presets/wxwebkit.bkl:
2008-11-17 Geoffrey Garen <ggaren@apple.com>
Not reviewed.
Try to fix wx build.
* presets/wxwebkit.bkl:
2008-11-15 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Add API for setting transparent webview background.
https://bugs.webkit.org/show_bug.cgi?id=22281
* WebView.cpp:
(wxWebView::SetTransparent):
(wxWebView::IsTransparent):
* WebView.h:
2008-11-11 Cameron Zwarich <zwarich@apple.com>
Reviewed by Geoff Garen.
Remove pointless dependencies on the deleted kjs directory.
* presets/wxwebkit.bkl:
2008-11-08 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes after addition of JSCore parser and bycompiler dirs.
* presets/wxwebkit.bkl:
2008-11-05 Cameron Zwarich <zwarich@apple.com>
Rubber-stamped by Sam Weinig.
Move more files to the runtime subdirectory of JavaScriptCore.
* WebFrame.cpp:
* WebView.cpp:
2008-10-31 Kevin Ollivier <kevino@theolliviers.com>
wxMSW build fix. Missing header.
* WebKitSupport/ChromeClientWx.cpp:
2008-10-29 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes after addition of runtime and ImageBuffer changes.
* presets/wxwebkit.bkl:
2008-10-28 Cameron Zwarich <zwarich@apple.com>
Reviewed by Mark Rowe.
Move ForwardingHeaders to their correct location after the creation of
the runtime directory in JavaScriptCore.
* WebFrame.cpp:
* WebView.cpp:
2008-10-27 Kevin Ollivier <kevino@theolliviers.com>
wx build fix on Linux/GTK. Enable support for #include <JavaScriptCore/XYZ.h> style includes.
* presets/wxwebkit.bkl:
2008-10-25 Kevin Ollivier <kevino@theolliviers.com>
wx build fix.
* WebKitSupport/ChromeClientWx.h:
2008-10-24 Sam Weinig <sam@webkit.org>
Reviewed by Dan Bernstein.
Fix https://bugs.webkit.org/show_bug.cgi?id=21759
Layering violation: FileChooser should not depend on Document/Frame/Page
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::runOpenPanel):
* WebKitSupport/ChromeClientWx.h:
2008-10-24 David Kilzer <ddkilzer@apple.com>
Build fix.
Reviewed by Greg Bolsinga.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::populateSetting): Changed
InspectorClient:: to InspectorClientWx::.
(WebCore::InspectorClientWx::storeSetting): Ditto.
(WebCore::InspectorClientWx::removeSetting): Ditto.
2008-10-24 Timothy Hatcher <timothy@apple.com>
Stub out new InspectorClient methods.
https://bugs.webkit.org/show_bug.cgi?id=21856
Reviewed by Darin Adler.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClient::populateSetting): Not implemented.
(WebCore::InspectorClient::storeSetting): Ditto.
(WebCore::InspectorClient::removeSetting): Ditto.
* WebKitSupport/InspectorClientWx.h:
2008-10-24 Darin Adler <darin@apple.com>
- finish rolling out https://bugs.webkit.org/show_bug.cgi?id=21732
* WebFrame.cpp: (wxWebFrame::RunScript): Use JSValue* instead of JSValuePtr.
2008-10-20 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Remove FrameLoaderClient::detachedFromParent4. It is no longer used by any port.
* WebKitSupport/FrameLoaderClientWx.cpp:
* WebKitSupport/FrameLoaderClientWx.h:
2008-10-19 Darin Adler <darin@apple.com>
Reviewed by Oliver Hunt.
- next step of https://bugs.webkit.org/show_bug.cgi?id=21732
improve performance by eliminating JSValue as a base class for JSCell
Remove most uses of JSValue, which will be removed in a future patch.
* WebFrame.cpp:
(wxWebFrame::RunScript): Use JSValuePtr.
2008-10-17 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier
Fix wx port's scrollbar and drawing handling after recent changes.
https://bugs.webkit.org/show_bug.cgi?id=21720
* WebView.cpp:
(wxWebView::OnPaint):
(wxWebView::OnSize):
2008-10-09 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::repaint):
(WebCore::ChromeClientWx::scroll):
* WebKitSupport/ChromeClientWx.h:
* presets/wxwebkit.bkl:
2008-10-06 David Hyatt <hyatt@apple.com>
Enable viewless Mac WebKit to paint some basic pages.
Reviewed by Sam Weinig
* WebKitSupport/FrameLoaderClientWx.cpp:
* WebKitSupport/FrameLoaderClientWx.h:
2008-10-03 David Hyatt <hyatt@apple.com>
Remove addToDirtyRegion.
Reviewed by Oliver Hunt
* WebKitSupport/ChromeClientWx.cpp:
2008-10-02 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes after Frame/ScrollView changes.
* WebView.cpp:
(wxWebView::OnPaint):
2008-10-01 David Hyatt <hyatt@apple.com>
https://bugs.webkit.org/show_bug.cgi?id=21282
Make contentsToScreen/screenToContents cross-platform. Only implemented by Mac/Win right now.
Reviewed by Adam Roben
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::windowToScreen):
(WebCore::ChromeClientWx::screenToWindow):
* WebKitSupport/ChromeClientWx.h:
2008-09-30 Dave Hyatt <hyatt@apple.com>
http://bugs.webkit.org/show_bug.cgi?id=21250
Rename updateContents to repaintContentRectangle and make it cross-platform by always sending
repaints up through the ChromeClient.
Reviewed by Darin Adler
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::repaint):
* WebKitSupport/ChromeClientWx.h:
2008-09-26 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes after Widget/ScrollView changes.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Dan Bernstein.
Fix memory leak.
https://bugs.webkit.org/show_bug.cgi?id=20505
* WebView.cpp:
(wxWebView::OnPaint):
2008-09-20 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes. Added/removed build sources, and nativeWindow->platformWidget updates.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::isEditable):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2008-09-07 Cameron Zwarich <cwzwarich@uwaterloo.ca>
Reviewed by Maciej Stachowiak.
Bug 20704: Replace the KJS namespace
<https://bugs.webkit.org/show_bug.cgi?id=20704>
Rename the KJS namespace to JSC.
* WebFrame.cpp:
(wxWebFrame::RunScript):
2008-09-04 Kevin Ollivier <kevino@theolliviers.com>
wx build fixes.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::pluginWillHandleLoadError):
* WebKitSupport/FrameLoaderClientWx.h:
2008-08-18 Kevin Ollivier <kevino@theolliviers.com>
Build fix for Win. Don't include the libxml/libxslt directories in the
include path, it picks up the wrong Pattern.h in that case.
* dependencies.bkl:
2008-08-12 Timothy Hatcher <timothy@apple.com>
Add a stub for InspectorClient::setAttachedWindowHeight.
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::setAttachedWindowHeight):
Call notImplemented().
* WebKitSupport/InspectorClientWx.h:
2008-08-06 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Kevin Ollivier.
Create a wxWebFrame API to match other ports and to prepare for frames support.
Also fixes a frame leak in wx port on trunk.
https://bugs.webkit.org/show_bug.cgi?id=19041
* WebFrame.cpp: Added.
(wxWebFrame::wxWebFrame):
(wxWebFrame::~wxWebFrame):
(wxWebFrame::GetFrame):
(wxWebFrame::Stop):
(wxWebFrame::Reload):
(wxWebFrame::GetPageSource):
(wxWebFrame::SetPageSource):
(wxWebFrame::GetInnerText):
(wxWebFrame::GetAsMarkup):
(wxWebFrame::GetExternalRepresentation):
(wxWebFrame::RunScript):
(wxWebFrame::LoadURL):
(wxWebFrame::GoBack):
(wxWebFrame::GoForward):
(wxWebFrame::CanGoBack):
(wxWebFrame::CanGoForward):
(wxWebFrame::CanIncreaseTextSize):
(wxWebFrame::IncreaseTextSize):
(wxWebFrame::CanDecreaseTextSize):
(wxWebFrame::DecreaseTextSize):
(wxWebFrame::MakeEditable):
(wxWebFrame::CanCopy):
(wxWebFrame::Copy):
(wxWebFrame::CanCut):
(wxWebFrame::Cut):
(wxWebFrame::CanPaste):
(wxWebFrame::Paste):
* WebFrame.h: Added.
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::Create):
(wxWebView::~wxWebView):
(wxWebView::Stop):
(wxWebView::Reload):
(wxWebView::GetPageSource):
(wxWebView::SetPageSource):
(wxWebView::GetInnerText):
(wxWebView::GetAsMarkup):
(wxWebView::GetExternalRepresentation):
(wxWebView::RunScript):
(wxWebView::LoadURL):
(wxWebView::GoBack):
(wxWebView::GoForward):
(wxWebView::CanGoBack):
(wxWebView::CanGoForward):
(wxWebView::CanIncreaseTextSize):
(wxWebView::IncreaseTextSize):
(wxWebView::CanDecreaseTextSize):
(wxWebView::DecreaseTextSize):
(wxWebView::OnPaint):
(wxWebView::OnSize):
(wxWebView::OnMouseEvents):
(wxWebView::CanCopy):
(wxWebView::Copy):
(wxWebView::CanCut):
(wxWebView::Cut):
(wxWebView::CanPaste):
(wxWebView::Paste):
(wxWebView::OnKeyEvents):
(wxWebView::OnSetFocus):
(wxWebView::OnKillFocus):
* WebView.h:
* wxwebkit.bkl:
2008-07-27 Kevin Watters <kevinwatters@gmail.com>
Reviewed by Sam Weinig.
Add tooltip support to the wx port.
https://bugs.webkit.org/show_bug.cgi?id=20173
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::setToolTip):
* WebView.cpp:
(wxWebView::OnMouseEvents): Use mouseMoved instead of handleMouseMoveEvent.
2008-07-21 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Fix pthread linkage under Linux.
* dependencies.bkl:
2008-06-15 Darin Adler <darin@apple.com>
- give Frame object functions shorter names: scriptProxy() -> script(),
selectionController() -> selection(), animationController() -> animation()
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::handleKeyboardEvent):
* WebView.cpp:
(wxWebView::RunScript):
(wxWebView::OnSetFocus):
(wxWebView::OnKillFocus):
2008-06-15 Darin Adler <darin@apple.com>
- new names for a few key JavaScriptCore files
* WebView.cpp:
2008-06-14 Darin Adler <darin@apple.com>
Rubber stamped by Sam.
- new names for kjs_binding.h and kjs_proxy.h
* WebView.cpp:
2008-06-14 Darin Adler <darin@apple.com>
- try to fix wx build, again
* WebView.cpp:
(wxWebView::Create): Use create function instead of new.
2008-06-14 Darin Adler <darin@apple.com>
Reviewed by Sam.
- more https://bugs.webkit.org/show_bug.cgi?id=17257
start ref counts at 1 instead of 0 for speed
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::createDocumentLoader): Use create function
instead of new.
2008-06-13 Darin Adler <darin@apple.com>
- try to fix build
* WebKitSupport/FrameLoaderClientWx.h: Add missing argument.
2008-06-13 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
- updated for addition of FormState argument to action policy functions
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNewWindowAction):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
2008-06-10 Kevin Ollivier <kevino@theolliviers.com>
wx Linux build fix. Only use -undefined dynamic_lookup flag under Mac.
* bindings/python/wxwebkit-py.bkl:
2008-05-28 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
This patch adds a new wx event type and code to send it when a new title is set
by the page being loaded.
https://bugs.webkit.org/show_bug.cgi?id=19067
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
* WebView.cpp:
(wxWebViewReceivedTitleEvent::wxWebViewReceivedTitleEvent):
* WebView.h:
* bindings/python/webview.i:
2008-05-28 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
This patch tweaks the wxWebView class to make it conform to normal wx patterns
for widget classes. It adds a default ctor and the Create method so it can use
the 2-phase create pattern, adds wxRTTI macros which is important for wxPython
and XRC, and fixes the LoadURL method to pass a wxString reference to save a
copy.
https://bugs.webkit.org/show_bug.cgi?id=19068
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::Create):
(wxWebView::LoadURL):
* WebView.h:
2008-05-27 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Accidently left a couple fixes out of the previous commit.
* presets/wxwebkit.bkl:
2008-05-16 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
Rename wxWebFrame -> wxWebBrowserShell in preparation to introduce a WebFrame
counterpart in wx port. (Frame typically means 'top level window' in wx terms.)
https://bugs.webkit.org/show_bug.cgi?id=19041
* WebBrowserShell.cpp: Copied from WebKit/wx/WebFrame.cpp.
(wxWebBrowserShell::wxWebBrowserShell):
(wxWebBrowserShell::~wxWebBrowserShell):
(wxWebBrowserShell::ShowDebugMenu):
(wxWebBrowserShell::OnQuit):
(wxWebBrowserShell::OnAbout):
(wxWebBrowserShell::OnLoadFile):
(wxWebBrowserShell::OnLoadEvent):
(wxWebBrowserShell::OnBeforeLoad):
(wxWebBrowserShell::OnAddressBarEnter):
(wxWebBrowserShell::OnSearchCtrlEnter):
(wxWebBrowserShell::OnBack):
(wxWebBrowserShell::OnForward):
(wxWebBrowserShell::OnStop):
(wxWebBrowserShell::OnReload):
(wxWebBrowserShell::OnMakeTextLarger):
(wxWebBrowserShell::OnMakeTextSmaller):
(wxWebBrowserShell::OnGetSource):
(wxWebBrowserShell::OnSetSource):
(wxWebBrowserShell::OnBrowse):
(wxWebBrowserShell::OnEdit):
(wxWebBrowserShell::OnRunScript):
* WebBrowserShell.h: Copied from WebKit/wx/WebFrame.h.
* WebFrame.cpp: Removed.
* WebFrame.h: Removed.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::createWindow):
* bindings/python/webview.i:
* wxwebkit.bkl:
2008-05-20 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Update code after removal of Document::toString().
* WebView.cpp:
(wxWebView::GetPageSource):
2008-05-15 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Add rendering/style to includes dir.
* presets/wxwebkit.bkl:
2008-05-11 Kevin Ollivier <kevino@theolliviers.com>
Previous commit made bdash sad. Restore happiness state by fixing missed style issue.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
2008-05-11 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Fix scrolling issues by implementing transitionToCommittedNewPage() so the scroll
positions are reset when a new page is loaded, and also maintained so that back
and next restore the scroll positions as well. This also simplifies the logic
for initializing and managing wxWebView.
https://bugs.webkit.org/show_bug.cgi?id=18992
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::setWebView):
(WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
(WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
(WebCore::FrameLoaderClientWx::dispatchDidReceiveTitle):
(WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
(WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
(WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
(WebCore::FrameLoaderClientWx::createFrame):
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
* WebKitSupport/FrameLoaderClientWx.h:
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::~wxWebView):
(wxWebView::GetPageSource):
(wxWebView::GetInnerText):
(wxWebView::GetExternalRepresentation):
(wxWebView::OnPaint):
(wxWebView::OnSize):
(wxWebView::OnMouseEvents):
(wxWebView::CanCopy):
(wxWebView::CanCut):
(wxWebView::CanPaste):
(wxWebView::OnKeyEvents):
* WebViewPrivate.h:
(WebViewPrivate::WebViewPrivate):
2008-05-04 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Allow events to specify the ID of the particular wxWebView they are to be sent to.
https://bugs.webkit.org/show_bug.cgi?id=18659
* WebFrame.cpp:
(wxWebFrame::wxWebFrame):
* WebView.cpp:
(wxWebViewLoadEvent::wxWebViewLoadEvent):
(wxWebViewBeforeLoadEvent::wxWebViewBeforeLoadEvent):
(wxWebViewNewWindowEvent::wxWebViewNewWindowEvent):
(wxWebViewRightClickEvent::wxWebViewRightClickEvent):
(wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
* WebView.h:
* bindings/python/webview.i:
2008-04-27 Robin Dunn <robin@alldunn.com>
Reviewed by Kevin Ollivier.
Add methods to check if there is a previous/next page in the history. Also some
coding style cleanup.
https://bugs.webkit.org/show_bug.cgi?id=18757
* WebView.cpp:
(wxWebView::GoBack):
(wxWebView::GoForward):
(wxWebView::CanGoBack):
(wxWebView::CanGoForward):
* WebView.h:
2008-04-24 Anders Carlsson <andersca@apple.com>
Reviewed by Sam.
Change some String arguments to be const references instead.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::shouldInsertText):
* WebKitSupport/EditorClientWx.h:
2008-04-23 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Alp Toker.
Typo fix to restore text entry.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::handleKeyboardEvent):
2008-04-19 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. renderer() -> contentRenderer()
* WebView.cpp:
(wxWebView::GetExternalRepresentation):
(wxWebView::OnPaint):
2008-04-18 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. We need to use ENABLE_DOM_STORAGE now.
* wxwk-settings.bkl:
2008-04-05 Kevin Ollivier <kevino@theolliviers.com>
Rubber stamped by Mark Rowe.
Don't assume wxWebKit to be part of the wx package. This allows
us to run it from any directory on the PYTHONPATH rather than
having to copy files into the wxPython directory.
* bindings/python/webview.i:
2008-03-25 Brady Eidson <beidson@apple.com>
Reviewed by Darin
Remove newly obsolete FrameLoaderClient methods
* WebKitSupport/FrameLoaderClientWx.cpp:
* WebKitSupport/FrameLoaderClientWx.h:
2008-03-16 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Make sure we link png/jpeg libraries before
wx libraries to get the right symbols.
* wxwebkit.bkl:
* wxwk-settings.bkl:
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
* bindings/python/wxwebkit-py.bkl:
* presets/wxwebkit.bkl:
* wxwebkit.bkl:
* wxwk-settings.bkl:
2008-03-12 David Hyatt <hyatt@apple.com>
Make the zoom factor a float and not a percent.
Reviewed by antti
* WebView.cpp:
(wxWebView::IncreaseTextSize):
(wxWebView::DecreaseTextSize):
2008-03-03 Kevin Ollivier <kevino@theolliviers.com>
wx build fix after Frame::setZoomFactor API change.
* WebView.cpp:
(wxWebView::IncreaseTextSize):
(wxWebView::DecreaseTextSize):
2008-02-24 Darin Adler <darin@apple.com>
Reviewed by Sam.
- remove separate client calls for "standard" and "reload' history
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::updateGlobalHistory):
* WebKitSupport/FrameLoaderClientWx.h:
2008-02-23 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
Move text drawing into wxcode, as we need platform-dependent
APIs for drawing non-kerned text, which wx doesn't yet have.
(But hopefully will, once these APIs are fleshed out on all
platforms!)
http://bugs.webkit.org/show_bug.cgi?id=17396
* wxwebkit.bkl:
We need to directly link against GDI+ on Windows since we now
directly call GDI+ APIs.
2008-02-14 Darin Adler <darin@apple.com>
* WebView.cpp: Removed use of DeprecatedString to keep this compiling.
2008-02-11 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
A couple quick wx fixes.
http://bugs.webkit.org/show_bug.cgi?id=17321
* WebView.cpp:
(wxWebView::OnPaint):
Make sure wxGCDC has its paint origin set properly after
the move to wxWindow for scrolling.
* bindings/python/webview.i:
Update the wxPython bindings after event rename.
2008-02-10 Darin Adler <darin@apple.com>
Reviewed by Eric.
- http://bugs.webkit.org/show_bug.cgi?id=17256
eliminate default ref. count of 0 in RefCounted class
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::FrameLoaderClientWx):
Set the count to 0 explicitly (one stray client I missed in my last pass).
2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
Typo fix. Don't use the provisionalDocumentLoader() after the
whole page has already been loaded.
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
2008-02-03 Kevin Ollivier <kevino@theolliviers.com>
Build fix for last wx commit (a couple things were not committed).
Also fix some style issues.
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::OnPaint):
(wxWebView::OnSize):
(wxWebView::CanCopy):
(wxWebView::Copy):
(wxWebView::CanCut):
(wxWebView::Cut):
(wxWebView::CanPaste):
(wxWebView::Paste):
(wxWebView::OnKeyEvents):
(wxWebView::OnSetFocus):
(wxWebView::OnKillFocus):
(wxWebView::OnActivate):
* WebView.h:
2008-01-31 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Adam Roben.
On MSW, the wx port internally uses callbacks for wxTimer, so the
wx port suffers from the same crash problem that was fixed
in r28500 for the Windows port. For now, use the SharedTimerWin.cpp
impl. for wx too on MSW, until a version of wx is released that
fixes the issue by reworking wxTimer.
* WebView.cpp:
(wxWebView::wxWebView):
2008-01-21 Darin Adler <darin@apple.com>
Reviewed by John Sullivan.
- updated for changes to ChromeClient database functions
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::exceededDatabaseQuota):
* WebKitSupport/ChromeClientWx.h:
2008-01-16 Adam Roben <aroben@apple.com>
Updated for WebCore method renames.
Reviewed by Darin Adler.
* WebView.cpp:
(wxWebView::OnSetFocus):
(wxWebView::OnKillFocus):
(wxWebView::OnActivate):
2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
Reviewed by Darin Adler.
wxWebKit API changes in preparation for DRT implementation.
Specifically:
- Add CONSOLE_MESSAGE callback so clients can choose how to handle
console messages.
- Add more load events, and rename wxWebViewStateChangedEvent to
wxWebViewLoadEvent to reflect that all 'states' are load states.
- Add wxWebView impls. for GetInnerText(), GetAsMarkup() and
GetExternalRepresentation()
* WebFrame.cpp:
(wxWebFrame::OnLoadEvent):
* WebFrame.h:
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::ChromeClientWx):
(WebCore::ChromeClientWx::addMessageToConsole):
* WebKitSupport/ChromeClientWx.h:
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidHandleOnloadEvents):
(WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
(WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
(WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
(WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
* WebView.cpp:
(wxWebViewLoadEvent::wxWebViewLoadEvent):
(wxWebViewConsoleMessageEvent::wxWebViewConsoleMessageEvent):
(wxWebView::wxWebView):
(wxWebView::GetPageSource):
(wxWebView::GetInnerText):
(wxWebView::GetAsMarkup):
(wxWebView::GetExternalRepresentation):
* WebView.h:
2008-01-12 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Add WebCore/icu/include dir for OS X boxes with
only stock ICU installed.
* dependencies.bkl:
2008-01-10 Maciej Stachowiak <mjs@apple.com>
Reviewed by Sam.
- remove SecurityOriginData and fold its functionality into SecurityOrigin
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
(WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
* WebKitSupport/ChromeClientWx.h:
2007-12-16 Darin Adler <darin@apple.com>
- try to fix the build
* WebView.cpp:
(wxWebView::OnKeyEvents): Add a WebCore prefix.
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
* WebView.cpp: (wxWebView::OnKeyEvents): Call handleAccessKey() as appropriate.
2007-12-14 Darin Adler <darin@apple.com>
Reviewed by Alexey.
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::handleKeyboardEvent): Switched from Editor::execCommand
to Editor::command.
2007-12-12 Brady Eidson <beidson@apple.com>
Reviewed by Sam Weinig
As part of doing some CachedPage and client cleanup, keep Wx building
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::savePlatformDataToCachedPage):
(WebCore::FrameLoaderClientWx::transitionToCommittedFromCachedPage):
(WebCore::FrameLoaderClientWx::transitionToCommittedForNewPage):
* WebKitSupport/FrameLoaderClientWx.h:
2007-12-12 Sam Weinig <sam@webkit.org>
Build fix.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::createWindow):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::dispatchDidStartProvisionalLoad):
(WebCore::FrameLoaderClientWx::dispatchDidCommitLoad):
(WebCore::FrameLoaderClientWx::dispatchDidFinishDocumentLoad):
(WebCore::FrameLoaderClientWx::postProgressFinishedNotification):
(WebCore::FrameLoaderClientWx::didChangeTitle):
(WebCore::FrameLoaderClientWx::dispatchDecidePolicyForNavigationAction):
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
* WebKitSupport/EditorClientWx.cpp:
(WebCore::EditorClientWx::handleInputMethodKeydown):
(WebCore::EditorClientWx::handleKeyboardEvent):
* WebKitSupport/EditorClientWx.h:
Updated for cross-platform changes as much as it was possible without a wx build environment.
The keyboard event model of wx is similar to Windows one, so further fixes can be modeled
after the Windows port.
2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
Fix page leak caused because the Frame's page pointer is 0 by the
time we call delete on it. Store a reference to the page instead
and delete it that way.
Also, small fix to call PrepareDC(gcdc) when using wxGCDC because
on Linux the wxGCDC gcdc(dc) constructor will not retain the
changes made to dc by PrepareDC(dc).
Reviewed by Darin Adler.
* WebView.cpp:
(wxWebView::wxWebView):
(wxWebView::~wxWebView):
(wxWebView::OnPaint):
* WebViewPrivate.h:
(WebViewPrivate::WebViewPrivate):
2007-12-06 Kevin Ollivier <kevino@theolliviers.com>
Linux build fix - ensure that webcore is linked before jscore
so that the linker will know which symbols it needs to link in.
Also fix MSVC project file name typo for sample app.
* Bakefiles.bkgen:
* wxwebkit.bkl:
2007-12-04 Darin Adler <darin@apple.com>
Reviewed by Kevin Decker.
* WebKitSupport/FrameLoaderClientWx.cpp: Removed obsolete privateBrowsingEnabled.
* WebKitSupport/FrameLoaderClientWx.h: Ditto.
2007-12-03 Mark Rowe <mrowe@apple.com>
wx build fix.
* WebView.cpp:
(wxWebView::RunScript):
2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Add WebCore/platform/graphics/wx to includes.
* wxwebkit.bkl:
2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
Fix method signatures to be members of ClientChromeWx class.
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClientWx::requestQuotaIncreaseForNewDatabase):
(WebCore::ChromeClientWx::requestQuotaIncreaseForDatabaseOperation):
2007-11-30 Kevin Ollivier <kevino@theolliviers.com>
Build fix. Add platform/text to includes for targets that
need WebCore headers.
* presets/wxwebkit.bkl:
2007-11-29 Brady Eidson <beidson@apple.com>
Keep it building with new client method
* WebKitSupport/ChromeClientWx.cpp:
(WebCore::ChromeClient::requestQuotaIncreaseForNewDatabase):
(WebCore::ChromeClient::requestQuotaIncreaseForDatabaseOperation):
* WebKitSupport/ChromeClientWx.h:
2007-11-25 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Don't get xslt-config options at bake time, do it
at make time.
* dependencies.bkl:
2007-11-23 Kevin Ollivier <kevino@theolliviers.com>
wx build fix. Include config.h in WebFrame/WebView to ensure
WebCore headers are properly configured, fix unicode/utf8.h and
config.h include ordering issues, centralize wx project options to
ensure proper configuration, and fix wxwebkit-python target so that
it links against wx libs.
* WebFrame.cpp:
* WebView.cpp:
* bindings/python/wxwebkit-py.bkl:
* dependencies.bkl:
* presets/wxwebkit.bkl:
* wxwebkit.bkl:
* wxwk-settings.bkl:
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.
* presets/wxwebkit.bkl:
Remove WebCore/include reference and add JSCore header dirs needed
instead.
2007-11-19 Kevin Ollivier <kevino@theolliviers.com>
Add pcre directory to JSCore includes, and update the wx port
to reflect the Shared -> RefCounted name change. Also, fix
WebFrame.cpp to re-enable code that should never have been
committed disabled.
Reviewed by Adam.
* WebFrame.cpp:
(wxWebFrame::wxWebFrame):
* WebKitSupport/FrameLoaderClientWx.cpp:
(WebCore::FrameLoaderClientWx::ref):
(WebCore::FrameLoaderClientWx::deref):
* WebKitSupport/FrameLoaderClientWx.h:
* presets/wxwebkit.bkl:
2007-11-17 Timothy Hatcher <timothy@apple.com>
Reviewed by Mark Rowe.
Bug 13470: i18n: The Web Inspector is not localizable
http://bugs.webkit.org/show_bug.cgi?id=13470
* WebKitSupport/InspectorClientWx.cpp:
(WebCore::InspectorClientWx::localizedStringsURL): Empty stub.
* WebKitSupport/InspectorClientWx.h: Added localizedStringsURL.
2007-11-08 Kevin Ollivier <kevino@theolliviers.com>
Initial commit of wx implementation of WebKit. This includes
the wxWebFrame and wxWebView wx front end classes, the
WebKitSupport directory containing implementations of interfaces
used by WebCore to talk with the wxWebKit front end, and the
language bindings for wxWebKit (bindings dir), currently
only containing bindings and a sample app for wxPython.
Reviewed by Mark Rowe.
* Bakefiles.bkgen: Added.
* WebFrame.cpp: Added.
* WebFrame.h: Added.
* WebKitSupport: Added.
* WebKitSupport/ChromeClientWx.cpp: Added.
* WebKitSupport/ChromeClientWx.h: Added.
* WebKitSupport/ContextMenuClientWx.cpp: Added.
* WebKitSupport/ContextMenuClientWx.h: Added.
* WebKitSupport/DragClientWx.cpp: Added.
* WebKitSupport/DragClientWx.h: Added.
* WebKitSupport/EditorClientWx.cpp: Added.
* WebKitSupport/EditorClientWx.h: Added.
* WebKitSupport/FrameLoaderClientWx.cpp: Added.
* WebKitSupport/FrameLoaderClientWx.h: Added.
* WebKitSupport/InspectorClientWx.cpp: Added.
* WebKitSupport/InspectorClientWx.h: Added.
* WebView.cpp: Added.
* WebView.h: Added.
* WebViewPrivate.h: Added.
* bindings: Added.
* bindings/python: Added.
* bindings/python/samples: Added.
* bindings/python/samples/simple.py: Added.
* bindings/python/webview.i: Added.
* bindings/python/wxwebkit-py.bkl: Added.
* dependencies.bkl: Added.
* presets: Added.
* presets/wxwebkit.bkl: Added.
* wxwebkit.bkl: Added.
* wxwk-settings.bkl: Added.
|