1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418
|
2004-12-30 Quentin Mathe <qmathe@club-internet.fr>
* Source/GSToolbarView.m: Modified to be more compliant with GNUstep
coding standards.
(-draggingEntered:):
(-draggingUpdated:): Prevents the user to customize the toolbar when
-allowsUserCustomization returns NO (bug #11393).
* Source/NSToolbarItem.m: Modified to be more compliant with GNUstep
coding standards.
(-mouseDown:): Prevents the user to customize the toolbar when
-allowsUserCustomization returns NO (bug #11393).
2004-12-23 05:38 Gregory John Casamento <greg_casamento@yahoo.com>
* Images/MagnifyGlass.tiff: Added. The NSColorPanel class uses
this image.
2004-12-13 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSComboBoxCell.m: Modified the code to be clearer
Renamed internal class GSFirstMouseTableView to GSComboBoxTableView
Removed GSComboWindow _localSelection ivar which is not needed, because
the user selection is now handled in -clickItem and not in
-tableViewSelectionDidChange: which is now reserved to the internal (aka
local) selection support.
(-[GSComboWindow selectItem:]): Renamed the method name to -clickItem:
(-[GSComboWindow clickItem:]): Reworked to the method to be used by the
NSTableView (or NSBrowser) action to track the user clicks.
(-[GSComboWindow validateSelection:]): Rewritten the method to handle
itself the selection, the method updates now the cell object value and
sends the action bound to the cell.
(-selectItemAtIndex:): Updated the method to match the Cocoa
specification which states that this method should adjust the selection
in the combo box list but not simulate a user click.
2004-12-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCursor.m (getStandardCursor()): If not standard cursor
is available, try an image cursor with an image of the same name.
* Images/common_OpenHandCursor.tiff
* Images/common_ClosedHandCursor.tiff: New cursor image files by
Fabien Vallon <fabien@sonappart.net>.
* Images/GNUmakefile: Install the new files.
* Images/nsmapping.strings: Register the new cursor files for the
names used in NSCursor.m.
2004-11-11 Adam Fedor <fedor@gnu.org>
* Source/GSDragView.m ([GSDragView -_setCursor]): Initialize variable.
* Source/NSMatrix.m: Rename vaguely-named macro.
(Based on Patch #3499 from Patrick Middleton).
2004-11-11 Adam Fedor <fedor@gnu.org>
* Version: Add numeric value for runtime versioning.
* Souce/GNUmakeifle: Add resource set install.
* Source/GNUmakefile.postamble (Info-gnustep.plist): New target.
2004-11-11 Adam Fedor <fedor@gnu.org>
* Model/GMAppKit.m ([NSPopUpButton -encodeWithModelArchiver:]):
More robust method for getting title (works on OPENSTEP, from
George Fleischmann).
2004-11-11 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSMenu.h
* Source/NSMenu.m (-setMain:): New internal method to set the main
menu of an application. Uses code from [NSApplication
setMainMenu:] plus a display call for the new main menu.
* Source/NSApplication.m (-setMainMenu:): Use the new method on
NSMenu to flag a menu as main and cleaned up the logic.
2004-11-11 15:08 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Reduce the
maximum size. Explicitly set the size of the text view, and make it
not resizable.
* Source/NSLayoutManager.m (-rectArrayForGlyphRange:
withinSelectedGlyphRange:inTextContainer:rectCount:): Fix check for
whether the starting index is inside a line frag rect.
* Source/NSTextView.m (-sizeToFit): Don't increase the size if we
have no inset.
(-updateInsertionPointStateAndRestartTimer:): Force the insertion
point rect to be inside the text view.
(-scrollRangeToVisible:): If we are a non-rich-text field editor,
adjust the scrolling to make the auto-scrolling more useful.
Fixes bug #9279.
2004-11-10 Matt Rice <ratmice@yahoo.com>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h (-iconSize): New method
declaration.
(-iconTileImage): Ditto.
* Source/GSDisplayServer.m (-resolutionForScreen:): Fix Typo in Docs.
(-boundsForScreen:): Ditto.
(-windowBounds:): Ditto.
(-iconSize): Implement new method.
(-iconTileImage): Ditto.
* Source/NSApplication.m (NSAppIconView): Remove
useWindowmakerIconBackground variable.
(scaledIconSizeForSize): New function.
([NSAppIconView +initialize]): Dont set a default image here. Remove
usage of GSUseWindowmakerIconBackground default. Use backend tile and
scale it to the backend icon size.
([NSAppIconView -drawRect:]): Remove usage of
useWindowmakerIconBackground. Draw cells with the backend icon size.
([NSAppIconView -setImage:]): Set the image to a scaled copy.
setNeedsDisplay instead of drawing directly.
([NSApplication -_appIconInit]): Use backend icon size.
* Source/NSWindow.m: Remove useWindowmakerIconBackground variable.
(scaledIconSizeForSize): New function.
([NSMiniWindowView +initialize]): Remove usage of
GSUseWindowmakerIconBackground default. Use backend tile image and scale
it to the backend icon size.
([NSMiniWindowView -drawRect:]): Remove usage of
useWindowmakerIconBackground. Draw cells with the backend iconSize.
([NSMiniWindowView -setImage:]): Set the image to a scaled copy.
setNeedsDisplay instead of drawing directly.
([NSMiniWindowView -setTitle:]): setNeedsDisplay instead of drawing
directly.
([NSWindow -miniaturize:]): Use backend icon size.
* Documentation/GuiUser/DefaultsSummary.gsdoc: Remove docs for
GSUseWindowmakerIconBackground.
2004-11-09 Adrian Robert <arobert@cogsci.ucsd.edu>
* Source/NSTabView.m (-insertTabViewItem:): Update display.
(-removeTabViewItem:): Same.
(-selectTabViewItem:): Fix erroneous comment.
(-selectTabViewItemAtIndex:) Check index in range.
(-drawRect:) Don't try to select first tab if there are no tabs.
* Source/NSColorList.m (-initWithNameFromFile:) Treat filename
given as full path, not directory (but support this previous
behavior in case apps are relying on it). Also, if fail to read
file as an archive, try text format.
(+loadAvavailableColorLists:) Adjust code for change to
-initWithName:fromFile:.
(-_readTextColorFile:) New utility method to support
-initWithNameFromFile:.
* Headers/AppKit/NSColorList.h: Document above changes.
2004-11-09 22:36 Alexander Malmberg <alexander@malmberg.org>
* Source/GSInfoPanel.m (_value_from_info_plist_for_key): Rename to
value_from_info_plist_for_key.
(_nil_or_not_of_class): Rename to nil_or_not_of_class.
Update callers.
(-initWithDictionary:): Fix comment typo.
* Source/NSAlert.m: Whitespace cleanups.
* Source/NSPrinter.m: Whitespace cleanups.
2004-11-09 22:08 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
Implement NSLineBreakByClipping. Set outside_line_frag and dont_show
attributes for every glyph.
2004-11-09 18:55 Alexander Malmberg <alexander@malmberg.org>
* Source/NSPasteboard.m (+_pbs): Give gpbs a --GSStartupNotification
argument. Listen for the notification and connect immediately if it
arrives. Clarify the user message. Fixes bug #10876.
2004-11-08 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSButtonCell.m (-setImage:): Added overriden NSCell method in
order to have the cell switched to an image cell (with the NSImageOnly
position) when you call -setImage:. With the previous commit, when the
cell is a text cell and you call -setImagePosition: after -setImage:,
the cell image is released.
2004-11-07 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSCell.m (-type): Now returns NSNullCellType when the image
value is nil and the cell type is NSImageCellType, in order to match the
documented Cocoa behavior.
* Source/NSButtonCell.m (-setImagePosition:): Finished to commit the
patch (not fully applied) associated with the revision 1.90, the bug
#10595 is now corrected.
2004-11-07 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSWindow.m (-constrainFrameRect:toScreen:): Modified the method
to match the specification and the constraints used when the user
moves/resizes the window with the cursor. That makes possible to have
resizable windows which extends below the bottom of the screen as long
as you can move them up to take back the resize control on the screen.
(-setFrame:display:): Modified the method to remove the possibility to
have the window title bar positioned over the top of the screen when
using -gui window decorations.
2004-11-06 08:34 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Removed nibInstantiate. This method
should only be defined and used inside the GUI builder application
according to specs.
2004-11-04 Adrian Robert <arobert@cogsci.ucsd.edu>
* Documentation/GuiUser/KeyboardSetup.gsdoc: Describe the new
"GSModifiersAreKeys" default.
2004-10-31 12:04 Gregory John Casamento <greg_casamento@yahoo.com>
* GNUmakefile.postamble: Removed the after-clean clean section
which is attempting to remove directories which existed prior to
the change which moved all of the headers. While this is not
causing an issue on Linux, some other environments fail when
attempting to "make distclean".
2004-10-30 Alex Perez <aperez@student.santarosa.edu>
* Headers/AppKit/NSImage.h (+_standardImageWithName:): New method.
* Source/NSImage.m (+_standardImageWithName:): New method.
* Source/NSWorkspace.m (_getImageForName:alternate:): Remove. Update
callers to use +_standardImageWithName: instead.
2004-10-25 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSWorkspace.m: Moved the code which looks for the application
icons in the method -iconForFile: to the method -appIconForApp:. As
a side effect, it fix the bug introduced by my last commit which caused
a nil exception when the application info.plist contains no NSIcon
entry.
2004-10-24 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSWorkspace.m (-appIconForApp:): Fixed code to be more
generic by using -[NSBundle pathForImageResource:]. Now the method
works with NSIcon value not path based like "MyApplication.tiff".
2004-10-22 08:26 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSStepperCell.m: Corrected issue with [NSStepperCell
initWithCoder:] for encoding issue with gcc 3.4.
* Header/AppKit/NSStepperCell.h: Took out defines which use
the bitfields in NSCell.h. These now are BOOL variables.
2004-10-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSResponder.m (-initWithCoder:): Set missing default
value for menu to nil.
* Source/NSButtonCell.m (-initWithCoder:): Hack around Apple NIB
bug and decode some of the flags.
2004-10-17 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSCell.m: Added code to [NSCell initWithCoder:] which
properly retains the formatter and menu.
* Source/GSNibCompatibility.m: Changed comment.
* Source/NSResponder.m: Added keyed archiving implementation in
initWithCoder:
* Source/NSTextView.m: Improved implementation of keyed coding
for NSTextView. Also preparing to add details discovered about
the flag settings.
* Source/NSView.m: Improved NSView keyed decoding. Also made
sure that [super initWithCoder:] is called in that method for both
the keyed and non-keyed archiving (as it should be).
* Source/NSWindow.m: Added implementation of undo: and redo: to
NSWindow.m.
2004-10-17 Adrian Robert <arobert@cogsci.ucsd.edu>
* Source/Functions.m (NSBestDepth): Check outarg exactMatch is
non-null before setting.
* Source/NSFont.m (getNSFont): Use defaultSize for 'fontSize'
args of <0 as well as ==0; documented.
2004-10-11 Georg Fleischmann
* Model/GMAppKit.m [-encodeWithModelArchiver:] remove title
bar and resize bar from 'minSize'.
2004-10-15 07:33 Matt Rice <ratmice@yahoo.com>
* Source/NSApplication.m ([NSAppIconView -mouseDown:]): order front
possibly obscured windows if not hidden.
2004-10-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSActionCell.m (-initWithCoder:):
* Source/NSBitmapImageRep.m (-initWithCoder:):
* Source/NSImage.m (-initWithCoder:): Implemented keyed decoding.
* Source/NSMatrix.m (-initWithCoder:): Don't use methods to set
the cell size and intercell spase, as this will change the frame.
* Source/NSFormCell.m (-initWithCoder:): Set the string value
later, as the decoding is super gets used for the title.
* Source/NSButtonCell.m (-initWithCoder:): Set fields only when
value is provided and fake NSImageLeft until flag decoding is there.
2004-10-08 22:08 Chad Hardin <cehardin@mac.com>
* Printing/GNUmakefile: Now goes in and build GSCUPS (Work in progress!)
* Printing/GSCUPS/GNUmakefile: Added
* Printing/GSCUPS/GNUmakefile.postamble: Added
* Printing/GSCUPS/GNUmakefile.preamble: Added
* Printing/GSCUPS/GSCUPSPageLayout.h: Added
* Printing/GSCUPS/GSCUPSPageLayout.m: Added
* Printing/GSCUPS/GSCUPSPrincipalClass.h: Added
* Printing/GSCUPS/GSCUPSPrincipalClass.m: Added
* Printing/GSCUPS/GSCUPSPrintInfo.h: Added
* Printing/GSCUPS/GSCUPSPrintInfo.m: Added
* Printing/GSCUPS/GSCUPSPrintOperation.h: Added
* Printing/GSCUPS/GSCUPSPrintOperation.m: Added
* Printing/GSCUPS/GSCUPSPrintPanel.h: Added
* Printing/GSCUPS/GSCUPSPrintPanel.m: Added
* Printing/GSCUPS/GSCUPSPrinter.h: Added
* Printing/GSCUPS/GSCUPSPrinter.m: Added. GSCUPS is a work in
progress. Some changes still need to be made to NSPrinter,
NSPrinterInfo. Additionally, NSPrintPanel needs to be improved
to take advantage of the new features that GSCUPS will provide.
2004-10-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSFormCell.m: (-initWithCoder:):
* Source/NSMatrix.m: (-initWithCoder:): Implemented keyed decoding.
* Source/NSColor.m: (-initWithCoder:): Corrected handling of alpha
values (use 1 instead of 0)
* Source/NSCell.m: (-initWithCoder:): Added some more flag
handling and rearranged code.
2004-10-08 09:17 Chad Hardin <cehardin@mac.com>
* Printing/GSLPR/GSLPRPageLayout.m: Fixed a #define
* Printing/GSLPR/GSLPRPrintInfo.m: Made it so the code calls
NSPrinter's printerWithName rather than GSLPR's, because the former
caches NSPrinter objects.
* Printing/GSLPR/GSLPRPrinter.h: Moved a method out of a (Private)
catagory and place it into the header file, directly into the class.
* Printing/GSLPR/GSLPRPrinter.m: Simplified the class by taking out
an unnecesary initializer.
2004-10-08 Chad Hardin <cehardin@mac.com>
* Printing/GSLPR/GSLPRPrintOperation: Removed useless #defines and
did a minor format cleanup.
* Printing/GSLPR/GSLPRPrinter.m: Took out a few PS specific methods so
that they can be put into the parent class, NSPrinter.
* Source/NSPrinter: Received PS specific methods from GSLPRPrinter so
that they can be used by GSCUPS as well. Also removed some useless
NSDebugs.
2004-10-05 Adam Fedor <fedor@gnu.org>
* Source/GNUmakefile.postamble (libgnustep-gui.def): Search for both
T and R symbols to work with multiple mingw/cygwin flavors.
2004-10-01 Adam Fedor <fedor@gnu.org>
* Documentation/ReleaseNotes.gsdoc: Format fixes.
* Source/DocMakefile (before-clean, after-clean): Move obj out of the
way so it isn't removed when cleaning docs.
2004-10-01 Adam Fedor <fedor@gnu.org>
* Source/GNUmakefile.preamble: Add filter out flags for
compilation of some files on Solaris.
2004-09-27 17:49 Alexander Malmberg <alexander@malmberg.org>
* Source/GSServicesManager.m (NSPerformService): Check whether the
service provider is remote by checking the class of the object.
2004-09-26 22:18 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTabViewItem.m (-drawLabel:inRect:): Adjust the label
position to match the text height change (of 2004-09-21).
2004-09-25 Matt Rice <ratmice@yahoo.com>
* Source/NSScrollView.m: Remove corner view when we have one, but no
vertical scroller. (Fixes #10501).
2004-09-24 Adam Fedor <fedor@gnu.org>
* Documentation/GNUmakefile.postamble: Clean up files properly
* Source/DocMakefile: Fix up for moved files
* Documentation/Gui/Gui.gsdoc,
Documentation/GuiAdditions/GuiAdditions.gsdoc: Move up one level.
2004-09-24 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSControl.h
Added new MacOSX delegate methods.
* Source/NSControl.m (-validateEditing, -currentEditor,
-abortEditing, -calcSize): Implemented these methods.
(-mouseDown:): Use method to check if mouse is inside cell.
2004-09-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuView.m (-setMenu:): Only call update when the new
menu is not nil.
* Source/NSMenu.m (-setMenuRepresentation:): Unset the menu of the
old view.
(-dealloc): Unset the menu of the view.
(-initWithTitle:): Use setMenuRepresentation: to set the view.
2004-09-24 Adam Fedor <fedor@gnu.org>
* Version 0.9.4
* Documentation/General/OpenStepCompliance.gsdoc: Updates
* Documentation/ReleaseNotes.gsdoc, Documentation/news.texi: Idem.
2004-09-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m (-initWithCoder:): Added keyed decoding of
"hidden" flag.
* Source/NSCell.m (-initWithCoder:): Added the first bit of
keyed flags decoding. Values provided by Adrian Robert
<arobert@cogsci.ucsd.edu>.
2004-09-23 22:33 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTableView.m (-mouseDown:): Fix the check that detects
when an unselected row is being dragged.
2004-09-23 18:01 Alexander Malmberg <alexander@malmberg.org>
* Printing/GSLPR/GSLPRPrintOperation.m (-createContext): Always use
the path from the info dictionary if it's set.
2004-09-21 23:57 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCursor.m (_getStandardCursor): Rename to
getStandardCursor and make static and non-inlined. Update callers.
* Source/NSTableView.m (computePeriod): Make static.
2004-09-21 18:53 Alexander Malmberg <alexander@malmberg.org>
* Source/GSFontInfo.m (-defaultLineHeightForFont): Adjust line
height calculation.
* Source/NSButtonCell.m (-drawInteriorWithFrame:inView:): Always
initialize imageRect and titleRect. Adjust the calculations to match
the new line height.
(-cellSize): Always initialize imageRect and titleRect.
* Headers/AppKit/NSCell.h (-_drawImage:inFrame:isFlipped:): Remove.
* Source/NSCell.m (-_drawImage:inFrame:isFlipped:): Remove. Move code
back ...
(-drawInteriorWithFrame:inView:): ... here.
* Source/NSToolbarItem.m (+initialize): Remove.
(+cellClass): Add.
2004-09-18 15:15 Alexander Malmberg <alexander@malmberg.org>
* Source/GSServicesManager.m (_serviceFromAnyLocalizedTitle): Rename
to serviceFromAnyLocalizedTitle and make static.
* Source/tiff.m (NSTiffWarning): Log tiff warnings using NSDebugLLog
instead of NSLog.
2004-09-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextFieldCell.m (-initWithCoder:): Moved special
handling of action mask into non-keyed decoder branch.
2004-09-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCell.m (-setStringValue:, -setFont:, -setImage:): Use
method call to change cell type. (Readded this change)
* Source/NSButtonCell.m (-setType:): Overwrite super method with
empty implementation. Patch by Quentin Mathe <qmathe@club-internet.fr>.
* Source/NSView.m (-initWithCoder:): Added the first bit of
keyed flags decoding.
2004-09-16 Matt Rice <ratmice@yahoo.com>
* Source/NSTextFieldCell.m (+initialize): Bump class version.
(-initWithCoder:): When decoding the previous version of NSTextFieldCell
replace the old default _action_mask with the new default value.
(Fixes #9609 for .gorm files)
2004-08-02 Adrian Robert <arobert@cogsci.ucsd.edu>
* Documentation/Gui/Gui.gsdoc: Update to reflect slight rearrangement
of material to initiate a GUI programming manual. This partially
reverts a change that was accidentally undone earlier.
2004-09-13 Matt Rice <ratmice@yahoo.com>
* NSScrollView.h: Declare new ivar _cornerView and private method
-_synchronizeCornerAndHeaderView
* NSScrollView.m (tile): Call _synchronizeCornerAndHeaderView method
from here. Replace local cornerView variable with _cornerView.
(-setDocumentView:): Remove code to set the corner and header views.
(-_synchronizeCornerAndHeaderView): Implement new method.
* NSTableView.m (-setHeaderView:, -setCornerView:): call tile on the
scroll view we're in. Remove comments and warnings for cases which are
now implemented.
2004-09-12 Matt Rice <ratmice@yahoo.com>
* Headers/AppKit/NSCell.h (-_sendsActionOn:): New method.
* Source/NSCell.m (-_sendsActionOn:): Implement it.
* Source/NSTextFieldCell.m (-initTextCell:): Change _action_mask to a
key press.
* Source/NSTableView.m (-mouseDown:): Use _sendsActionOn: to only modify
the object value and send the event to the cell if the cell works on
mouse events. (Fixes #9609).
2004-09-12 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/NSDataLinkPanel.h: Added new attributes.
* Source/NSDataLinkPanel.m: Implemented some
methods.
* Panels/English.lproj/GSDataLinkPanel.gorm: Updated
graphics and added link to new ivar.
* Source/NSDataLink.m:
* Source/NSDataLinkManager.m: Code cleanup.
2004-09-11 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSCell.m: Reverted previous change.
The change was causing an issue where if the font was
changed on an NSButtonCell which contains both an image and text.
The title was being, incorrectly, reset to "title".
* Source/NSDataLinkPanel.m: Renamed the shared variable to something
more standard.
2004-09-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCell.m (-setStringValue:, -setFont:, -setImage:): Use
method call to change cell type.
2004-09-07 Adam Fedor <fedor@gnu.org>
* Source/GNUmakefile: Specify INTERFACE_VERSION explicitly.
* Documentation/ReleaseNotes.gsdoc, Documentation/news.texi: Update
for new release.
2004-09-05 Quentin Mathe <qmathe@club-internet.fr>
* Headers/Additions/GNUstepGUI/GSToolbarView.h: Changed
_heightFromLayout from unsigned int to float.
* Source/GSToolbarView.m (-initWithFrame:displayMode:sizeMode:): Removed
the local variable toolbarViewHeight to use the ivar _heightFromLayout
in order to have a toolbar height which is not equal to zero when the
toolbar is empty. (the toolbar height now matches initially the height
associated with the selected size mode)
(-_handleBackViewsFrame): Added a local variable newHeight to store the
highest caculated height for a toolbar item in order to not have
_heightFromLayout set to zero when the toolbar is empty (no toolbar
items).
* Source/GSToolbar.m (-setDelegate:, -_setDelegate:broadcast:,
-setToolbarView:): Deactived the delegate
synchronization with broadcast set to NO for the method
-_setDelegate:broadcast: because it could produce strange segmentation
faults or exceptions with Cocoa applications which haven't been written
with this delegate synchronization behavior in mind.
(-setSelectedItemIdentifier:, -_build,
-_insertItemWithItemIdentifier:atIndex:broadcast:,
-_setDelegate:broadcast:): Added the nil delegate check because a nil
delegate could happen more easily without the delegate synchronization,
moreover it wasn't handled correctly before.
2004-09-05 10:30 Matt Rice <ratmice@yahoo.com>
* Source/NSTableView.m: [NSTableView mouseDown:] removed code which
copied and subsequently DESTROYs dataCell. This was causing a
SIGSEGV.
2004-09-05 06:23 Matt Rice <ratmice@yahoo.com>
* Source/GSServicesManager.m: new method -activateIgnoringOtherApps:
* Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):
call -activateIgnoringOtherApps: on the remote connection to an already
running app.
2004-09-04 23:32 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
Pass the right glyph position to cells.
* Headers/AppKit/NSTextAttachment.h: Clarify documentation.
2004-09-04 01:34 Alexander Malmberg <alexander@malmberg.org>
* PrinterTypes/GNUmakefile, PrinterTypes/GNUmakefile.postamble:
Revert removal of rules to install .ppd:s.
* PrinterTypes/English.lproj/Generic-PostScript_Printer-Postscript.ppd:
New file.
* Printing/GSLPR/GNUmakefile: Set GNUSTEP_INSTALLATION_DIR.
* Printing/GSLPR/GNUmakefile.preamble: Compile with -Wall.
* Printing/GSLPR/GSLPRPrinter.m (+printerWithName:): Remove
ppdContents variable.
(+printersDictionary): Only warn once if a printer hasn't been set
in the defaults. Change the type of the fallback printer to
Generic-PostScript_Printer-Postscript. Check that the ppd for this
printer is found.
2004-09-04 01:06 Alexander Malmberg <alexander@malmberg.org>
* Source/GSToolbarView.m (-_insertionIndexAtPoint:): Remove spurious
';'.
2004-09-02 Quentin Mathe <qmathe@club-internet.fr>
* Headers/AppKit/NSToolbarItem.h: Added GSMovableToolbarItemPboardType
declaration.
* Source/NSToolbarItem.m: Added the toolbar items rearranging
possibility by implementing the dragging source methods.
* Source/GSToolbar.m: Added or reworked some methods to support model
updates without direct view effects to manipulate the toolbar items when
a dragging session happens.
* Source/GSToolbarView.m: Added the toolbar items rearranging
possibility by implementing the dragging destination methods. And added
a method -_insertionIndexAtPoint: to support the insertion index
calculation based on the mouse location.
2004-09-01 Adam Fedor <fedor@gnu.org>
* Source/NSPrintInfo.m ([NSPrintInfo -paperSize]): Avoid returning
a nil object return value into a struct.
* Printing/GSLPR/GNUmakefile.preamble: Add
Source/$(GNUSTEP_TARGET_DIR) includes
* Tools/GNUmakefile.preamble: Likewise.
2004-09-02 00:17 Alexander Malmberg <alexander@malmberg.org>
* Source/NSView.m (-replaceSubview:with:): Clarify documentation.
(-scrollRectToVisible:): Implement correctly, patch from Andrew
Ruder. Document.
2004-08-30 Quentin Mathe <qmathe@club-internet.fr>
* Headers/AppKit/NSCell.h:
* Source/NSCell.m:
Make the code a bit more modular with a distinct private method to
implement the image drawing (the text drawing is already located in a
separate method), see -_drawImage:inFrame:isFlipped:,
previously implemented in -drawInteriorWithFrame:inView:
* Source/NSButtonCell.m: Moved code specific to NSButtonCell
-drawInteriorWithFrame:inView: in a new method
-_drawImage:inFrame:isFlipped to match the method added to NSCell. Also
reverted the 2004-08-11 21:35 Alexander Malmberg commit to have identical
margin between the border and the text with every image positions.
Source/NSToolbarItem.m:
Added -_drawImage:inFrame:isFlipped and _drawAttributedText:inFrame:
to override the superclasses behavior, it permits to have the
GSToolbarButtonCell layout not dependent on the NSButtonCell code.
2004-08-29 02:48 Matt Rice <ratmice@yahoo.com>
* Source/NSTableView.m (-draggingUpdated:): Return
currentDragOperation.
2004-08-28 10:34 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Added implementation of method
shouldSwapClass to GSClassSwapper. This method checks for the
implementation of isInInterfaceBuilder and returns whether or
not the template should perform the class swap or whether it
should retrieve the superclass.
* Headers/Additions/GNUstepGUI/GSNibTemplates.h: Added
declaration for -[GSClassSwapper shouldSwapClass].
2004-08-23 17:29 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-setFrameFromString:): Don't change the size
of the window if it isn't resizable.
2004-08-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSComboBoxCell.m (-completedString:): Handle a nil
substring by returning nil directly without trying to find a
match. Patch by Andreas Hoeschler <ahoesch@smartsoft.de>.
Changed data source error messages to consistent wording.
2004-08-13 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSComboBoxCell.m -(runModalPopUpWithComboBoxCell:): Remove the
observer only for the variable onWindow, then it is not needed anymore
to reset the table view delegate.
(-deselectItemAtIndex:): Added a _localSelection flag, the result is now
the method still triggers -[GSComboWindow tableViewSelectionDidChange:]
call but the _localSelection variable in -validateSelection
avoids to have -selectItemAtIndex: wrongly called.
(-trackMouse:inRect:ofView:untilMouseUp:): Fixed broken combo box
behavior introduced June 17 with version 1.27, which produced wrong
tracking in the button cell and extra mouse down call in the NSComboBox
superclass. Now the rewritten version is also documented.
* Source/NSComboBox.m (-mouseDown:): Reverted the use of the variable
clicked (that contributes to fix the bug explained above) and renamed it
buttonClicked.
* Headers/AppKit/NSComboBoxCell.h: Added the method
-trackMouse:inRect:ofView:untilMouseUp to have the documentation
generated for this overriden method , it shouldn't be needed( it is a
temporary hack until we have the root problem corrected).
2004-08-12 01:42 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m
(-textStorage:edited:range:changeInLength:invalidatedRange:):
Adjust the selected range even if there's no length change. Change
the handling of the in/in case. Set the selected range using a text
view if we have any attached.
* Source/NSTextView.m (-insertText:): Don't set the selected range.
(-setSelectedRange:affinity:stillSelecting:): Clamp the old range
to the length of the text.
* Source/NSTextView_actions.m (-deleteForward:, -deleteBackward:):
Don't set the selected range.
2004-08-11 21:35 Alexander Malmberg <alexander@malmberg.org>
* Source/NSButtonCell.m (-drawInteriorWithFrame:inView:): Move
text back down by 2 points for NSImageAbove.
2004-08-10 02:01 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-usedRectForTextContainer:): Fix
the calculation of the used rectangle.
2004-08-10 00:47 Alexander Malmberg <alexander@malmberg.org>
* Source/NSAttributedString.m (cache_init, cache_init_real): Add
missing void:s.
2004-08-10 00:06 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m: Formatting cleanups.
(-_reuseSoftInvalidatedLayout): New method. Contains soft invalidated
layout info handling, moved here from ...
(-layoutLineNewParagraph:): ...here. Cache the imp for
-advancementForGlyph: and send it directly to the fontInfo.
2004-08-09 21:45 Alexander Malmberg <alexander@malmberg.org>
* Headers/Additions/GNUstepGUI/GSLayoutManager_internal.h: Add
usedRect and usedRectValid fields to textcontainer_t.
* Source/GSLayoutManager.m (-_doLayout): Set usedRectValid to NO
when setting complete to YES.
(-usedRectForTextContainer:): Optimize the calculation of the used
rect. Use usedRect and usedRectValid.
2004-08-09 14:38 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSWindow.h: _frame is the window frame.
(+screenRectForFrameRect:styleMask:,
+frameRectForScreenRect:styleMask:): New methods.
* Source/GSDisplayServer.m (-window:::, -styleoffsets:::::):
Update documentation.
* Source/GSStandardWindowDecorationView.m
(+screenOffsets::::forStyleMask:): Implement new method.
* Source/GSWindowDecorationView.h (+screenRectForFrameRect:styleMask:,
+frameRectForScreenRect:styleMask:): New methods.
* Source/GSWindowDecorationView.m (+screenOffsets::::forStyleMask:,
+screenRectForFrameRect:styleMask:,
+frameRectForScreenRect:styleMask:): Implement them.
* Source/NSWindow.m (+screenRectForFrameRect:styleMask:,
+frameRectForScreenRect:styleMask:): Implement new methods.
(-_initBackendWindow): Always update _wv's frame.
2004-08-08 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSComboBox.m:
* Source/NSComboBoxCell.m:
Fixed the class description markup errors which caused text
truncations in the documentation.
2004-08-08 01:19 Chad Hardin <cehardin@mac.com>
* Source/NSPageLayout.m: Ensure that the units on the panel
are set. Using -viewWithTag:, I had to make sure I called
the view immediately above the view I was loking for.
2004-08-08 00:43 Chad Hardin <cehardin@mac.com>
* config.make.in: Added CUPS specific make variables.
* configure: Regenerated.
* configure.ac: Added code to detect the presence of
cups for the new GSCUPS printing backend bundle.
Detects cups but the GSCUPS bundle is not ready yet
so it does not actually try to build anything related
to cups.
* Headers/AppKit/NSPrinter.h:
* Source/NSPrinter.m:
* Printing/GSLPR/GSLPRPrinter.m:
NSPrinter no longer assumes it is PPD specific. However,
it does include a catagory named PPDParsing, which the
backend printing bundles can call to have a PPD file parsed
and placed into NSPrinter's tables. All the PPD parsing code
was taken out of GSLPRPrinter.m. Also, a lot of code format
cleanup was done.
* Printing/GSLPR/GSLPRPrintInfo.m:
* Source/AppKit/NSPrintInfo.m: Moved initWithDictionary: code
out of GSLPR's GSLPRPrintInfo implementation into here.
* Printing/GSLPR/GSLPRPrincipalClass.h: Correct copyright.
* Printing/GSLPR/GSLPRPrincipalClass.m: Correct copyright.
* Printing/GSLPR/GSLPRPrintInfo.h: Fixed reference to NSPrintInfo.
* Printing/GSLPR/GSLPRPrintOperation.h: Fixed referece to
NSPrintOperation.
* Printing/GSLPR/GSLPRPrinter.h: Fixed reference to NSPrinter.
* Panels/English.lproj/GSPageLayout.gorm/objects.gorm: Increased the
size of the panel's title and made it bold.
* Printing/GNUmakefile: Added code to optionally build the (upcoming)
GSCUPS printing backend bundle. Currently it's disabled.
2004-08-07 13:18 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-mouseDown:): Remove -containsAttachments
call.
2004-08-06 14:13 Alexander Malmberg <alexander@malmberg.org>
* Source/NSPasteboard.m (-pasteboard:provideDataForType:): Print
a warning instead of crashing in NSMapFile handling.
(+_pasteboardWithTarget:name:): Update the local changeCount.
2004-08-02 Adrian Robert <arobert@cogsci.ucsd.edu>
* Documentation/GuiUser/DefaultsSummary.gsdoc: Clarify the role of
NSGlobalDomain; explain that NSShowNonLocalizedStrings is a developer
option (in absence of a document specifically documenting developer
defaults, the doc will go here).
2004-08-02 16:32 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSCell.h, Source/NSMenuView.m: Rename xDist and
yDist to GSCellTextImageXDist and GSCellTextImageYDist.
* Source/NSMenuItemCell.m: Rename xDist and yDist.
(titleRectForBounds:): Reindent.
* Source/NSButtonCell.m (-drawInteriorWithFrame:inView:, -cellSize):
Adjust size calculations, make them more forgiving before clipping
text, and make -cellSize and -drawInteriorWithFrame:inView: match
each other again. Update xDist and yDist references.
2004-08-01 14:55 Alexander Malmberg <alexander@malmberg.org>
* Source/GSStandardWindowDecorationView.m (-drawTitleBar): Fix
the centering of the title.
2004-08-01 14:28 Alexander Malmberg <alexander@malmberg.org>
* TextConverters/RTF/RTFProducer.m (-_addAttributesString:): Only add
attachmentFileWrapper to the attachments array if it isn't nil.
2004-07-30 Adrian Robert <arobert@cogsci.ucsd.edu>
* Documentation/GuiUser/GNUMakefile.postamble: Remove an unwanted
level of hierarchy when installing GSdoc generated under
Documentation/GuiUser.
2004-07-30 15:52 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSGraphicsContext.h (-GSReadRect:): Document.
* Source/NSBitmapImageRep.m (-initWithFocusedViewRect:): Update for
new key names from GSReadRect:.
* Source/NSGraphicsContext.m (-GSReadRect:): Return nil.
2004-07-29 Adrian Robert <arobert@cogsci.ucsd.edu>
* Documentation/GuiUser/DefaultsSummary.gsdoc: Added some explanation
of how to set defaults and description of domains, since this isn't
readily accessible elsewhere. Also, documented
NSShowNonLocalizedStrings default.
2004-07-28 Adam Fedor <fedor@gnu.org>
* PrinterTypes/: Remove PPD files
* PrinterTypes/GNUmakefile: Don't install them.
2004-07-28 19:52 Alexander Malmberg <alexander@malmberg.org>
* Source/GSWindowDecorationView.h, Source/GSWindowDecorationView.m
(-setBackgroundColor:): New method.
* Source/NSWindow.m (-setBackgroundColor:): Pass the call along to
_wv.
(-orderWindow:relativeTo:): Use -setFrame:display: to change the
frame after contstraining it.
(-constrainFrameRect:toScreen:): Fix the check of whether the bottom
of the window is off the screen.
(-_sendEvent:becomesKeyOnlyIfNeeded:): Clean up handling of
GSAppKitWindowResized.
(-initWithCoder:): Destroy _miniaturizedImage before setting it to
the decoded image.
2004-07-27 Quentin Mathe <qmathe@club-internet.fr>
* Headers/Additions/GNUstepGUI/GSToolbarView.h:
* Source/GSToolbarView.m:
* Source/NSToolbarItem.m:
Moved static const and enum declarations from GSToolbarView.h to
GSToolbarView.m and NSToolbarItem.m.
* Source/NSWindow+Toolbar.m:
Fixed non correct toolbar view visibility when [NSToolbar -setVisible:]
is called before [NSWindow -setToolbar:](bug reported by Yen-Ju Chen
<yjchenx@hotmail.com>).
2004-07-24 22:47 Alexander Malmberg <alexander@malmberg.org>
* Source/NSToolbarItem.m: Use the predefined variables instead of
inline string literals for attribute names.
([GSToolbarButton -layout], [GSToolbarBackView -drawRect:],
[GSToolbarBackView -layout]): Release attrStr/attrString.
(-copyWithZone:): Return new, not self.
2004-07-23 01:54 Matt Rice <ratmice@yahoo.com>
* Documentation/GuiUser/DefaultsSummary.gsdoc: Document
GSUseWindowmakerIconBackground.
* Source/NSApplication.m ([NSAppIconView +initialize],
[NSAppIconView -drawRect:]): If the GSUseWindowmakerIconBackground
default is YES, do a clear composite of the background instead
of using the tile.
* Source/NSWindow.m ([NSMiniWindowView +initialize],
[NSMiniWindowView -drawRect:]): Idem.
2004-07-22 04:46 Chad Hardin <cehardin@mac.com>
* Headers/AppKit/NSPageLayout.h: Changed to MVC and a whole new UI.
* Headers/AppKit/NSPrintInfo.h: Format cleanup.
* Headers/AppKit/NSPrintOperation.h: Format cleanup.
* Headers/AppKit/NSPrintPanel.h: Format cleanup.
* Headers/AppKit/NSPrinter.h: Format cleanup.
* Panels/English.lproj/GSPageLayout.gorm/data.classes: New UI.
* Panels/English.lproj/GSPageLayout.gorm/objects.gorm: New UI.
* Printing/GSLPR/GSLPRPrintInfo.m: Format cleanup.
* Printing/GSLPR/GSLPRPrintOperation.m: Format cleanup.
* Printing/GSLPR/GSLPRPrintPanel.m: Format cleanup.
* Printing/GSLPR/GSLPRPrinter.m: Format cleanup.
* Source/GSEPSPrintOperation.m: Format cleanup.
* Source/GSPDFPrintOperation.m: Format cleanup.
* Source/GSPrintOperation.m: Format cleanup.
* Source/GSPrinting.m: Format cleanup.
* Source/NSPageLayout.m: Changed to MVS and a whole new UI.
* Source/NSPrintInfo.m: Format cleanup.
The big thing changed here is that NSPageLayout has a whole new
UI and is MVC based. I have not yet implemented the ability
to create and edit custom papers, that is next.
2004-07-22 00:18 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibContainer.m: Corrected spelling mistake in comment.
2004-07-22 00:59 Alexander Malmberg <alexander@malmberg.org>
* Source/GSStandardWindowDecorationView.m (-setDocumentEdited:,
-setTitle:): Pass the calls along to super.
2004-07-21 19:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFontPanel.m (-_trySelectSize:updateSizeField:): Add
updateSizeField argument. Update callers.
2004-07-20 01:24 Alexander Malmberg <alexander@malmberg.org>
* Source/NSScroller.m (-rectForPart:): Use floor() instead of
floorf().
2004-07-18 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Removed some commented out code.
2004-07-14 Adam Fedor <fedor@gnu.org>
* Documentation/General/OpenStepCompliance.gsdoc: Update.
* Documentation/Gui/Gui.gsdoc: Add compliance and release links
* Source/NSSavePanel.m: Remove extraneous ';' at end of some methods
* Source/NSTableView.m: Idem.
2004-07-15 02:28 Alexander Malmberg <alexander@malmberg.org>
* Source/NSBezierPath.m (point_on_curve): New function.
(-_recalculateBounds): Rewrite. Calculate bounds analytically.
2004-07-13 02:54 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImageRep.m (+_imageRepsWithData:): New method.
(+imageRepsWithContentsOfURL:): Use +_imageRepsWithData:.
(+imageRepsWithContentsOfFile:): If the filename has no extension,
use +_imageRepsWithData: to load it.
2004-07-13 01:15 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (+_handleAutodisplay:, +_addAutodisplayedWindow:,
+_removeAutodisplayedWindow:): New methods.
Rename _handleWindowNeedsDisplay: to -_handleAutodisplay.
([NSWindow +initialize]): Don't initialize modes.
(-dealloc, -orderWindow:relativeTo:): Use +_addAutodisplayedWindow:
and +_removeAutodisplayedWindow: instead of adding/removing a runloop
performer.
2004-07-13 00:23 Alexander Malmberg <alexander@malmberg.org>
* Source/NSSound.m: Only declare the_server if HAVE_AUDIOFILE_H
is defined.
2004-07-13 00:21 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSMovieView.h: Make loopMode ivar an unsigned int.
2004-07-13 Serg Stoyan <stoyan255@ukr.net>
* Source/NSButtonCell.m:
(_init): Set default values of _gradient_type and
_image_dims_when_disabled.
(drawGradientWithFrame:inView:): Implemented. Draws gradient
according to the _gradient_type ivar value.
(drawInteriorWithFrame:inView:): Call drawGradientWithFrame:inView
if _gradient_type was set and cell is no highlighted. Dissolve
image if cell is disabled and _image_dims_when_disabled was set.
2004-07-11 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Added code to allow the switching
of which version of the file gets encoded based on the value
of the class variable "version". This is part of an experimental
feature in .gorm files to allow Gorm.app to encode older versions
of .gorm files for previous versions of GNUstep.
2004-07-11 Chad Hardin <cehardin@mac.com>
* Headers/AppKit/NSPageLayout.h:
* Source/NSPageLayout.m:
* Panels/English.lproj/GSPageLayout.gorm/data.classes:
* Panels/English.lproj/GSPageLayout.gorm/objects.gorm:
* Printing/GSLPR/GSLPRPageLayout.m:
Completely redid NSPageLayout. It now takes full
advantage of being GORM based (ie: connections rather
than checking tags). Most of the functionality of
NSPageLayout was split off and put into a controller
object, GSPrintLayoutController. The panel itself is
much improved, it even includes a preview display of
the page dimensions.
2004-07-11 14:17 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:):
When printing, position each glyph explicitly.
2004-07-09 Chad Hardin <cehardin@mac.com>
* Source/GNUmakefile:
* Headers/AppKit/NSPageLayout.h:
* Source/NSPageLayout.m:
* Headers/AppKit/NSPrintInfo.h:
* Source/NSPrintInfo.m:
* Headers/AppKit/NSPrintOperation.h:
* Source/NSPrintOperation.m:
* Headers/AppKit/NSPrintPanel.h:
* Source/NSPrintPanel.m:
* Headers/AppKit/NSPrinter.h:
* Source/NSPrinter.m:
Modifications for the backend printing bundle system.
* Headers/Additions/GNUstepGUI/GSEPSPrintOperation.h: added.
* Source/GSEPSPrintOperation.m: added.
* Headers/Additions/GNUstepGUI/GSPDFPrintOperation.h: added.
* Source/GSPDFPrintOperation.m: added.
* Headers/Additions/GNUstepGUI/GSPrintOperation.h: added.
* Source/GSPrintOperation.m: added.
* Headers/Additions/GNUstepGUI/GSPrinting.h: added.
* Source/GSPrinting.m: added.
Split off the various PrintOperation classes. This makes is clear that
the printing backend bundles subclass GSPrintOperation, not NSPrintOperation.
Also, GSPDFPrintOperation will probably become large when implemented, this
clarifies the class structure and prevent NSPrintOperation.m from become
overly large and confusing. The GSPrinting class is helper for loading the
proper printer backend bundle.
* GNUMakefile: includes the Printing directory.
* Printing: Added the printing bundles home directory.
* Printing/GNUmakefile: added.
* Printing/GSLPR: Added the first printing bundle.
* Printing/GSLPR/GNUmakefile: added.
* Printing/GSLPR/GNUmakefile.postamble: added.
* Printing/GSLPR/GNUmakefile.preamble: added.
* Printing/GSLPR/GSLPRPageLayout.h: added.
* Printing/GSLPR/GSLPRPageLayout.m: added.
* Printing/GSLPR/GSLPRPrincipalClass.h: added.
* Printing/GSLPR/GSLPRPrincipalClass.m: added.
* Printing/GSLPR/GSLPRPrintInfo.h: added.
* Printing/GSLPR/GSLPRPrintInfo.m: added.
* Printing/GSLPR/GSLPRPrintOperation.h: added.
* Printing/GSLPR/GSLPRPrintOperation.m: added.
* Printing/GSLPR/GSLPRPrintPanel.h: added.
* Printing/GSLPR/GSLPRPrintPanel.m: added.
* Printing/GSLPR/GSLPRPrintPrinter.h: added.
* Printing/GSLPR/GSLPRPrintPrinter.m: added.
Here it is, the first backend printing bundle, version one. The are very
little code changes from the original source, bugs that may have been
present there would have been carried over here. However, this is just the
first round. This bundle uses GNUstep's original PageLayout and PrintPanel
GORM panels, it does not have its own. Hence, it is very simple. The plan
is for the future GSCUPS bundle to also use GNUstep's GORM panels, not for
each bundle to have their own panels.
2004-07-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPanel.m:
* Source/NSAlert.m:
Moved class GSAlertPanel and alert functions from NSPanel.m to
NSAlert.m.
2004-07-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/GNUmakefile:
* Source/NSMovieView.m:
Added file forgotten in last commit.
2004-07-08 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSMovie.h:
* Source/NSMovie.m:
* Headers/AppKit/NSMovieView.h:
* Source/NSMovieView.m:
* Headers/AppKit/NSAlert.h:
* Source/NSAlert.m:
New MacOSX classes, implementation still empty.
2004-07-08 Serg Stoyan <stoyan255@ukr.net>
* Images/common_ArrowDownH.tiff: added.
* Images/common_ArrowLeftH.tiff: added.
* Images/common_ArrowRightH.tiff: added.
* Images/common_ArrowUpH.tiff: added.
* Source/NSScroller.m: (drawParts): Use added images.
Cells now highlights also by NSContentsCellMask.
2004-07-07 Quentin Mathe <qmathe@club-internet.fr>
* Source/GSToolbar.m: Fixed several segmentation faults which could
occur when windows with a toolbar have been closed and new similar
windows are initialized (bug #9535), rewritten validation support to
be more clearer and efficient, and the toolbar notifications now
correctly bundles the toolbar items in the notification dictionary
(Patch by Ludovic Marcotte).
* Source/GSToolbarView:
* Source/NSToolbar.m:
* Source/NSWindow+Toolbar.m:
* Source/NSToolbarItem.m:
Related changes and lot of memory leaks fixed permitting to have now
the toolbar system properly deallocated when the toolbar is not anymore
retained by the user and the toolbar view.
Note: In order to observe the toolbar system being deallocated when you close
a window, you need to have the option "Window released when closed"
checked.
Actual retain logic is strictly :
- Superview in the view hierarchy retains toolbar view
- Toolbar view retains toolbar
- Toolbar view retains toolbar items view
- Toolbar retains toolbar items
And when a toolbar is based on NSToolbar class :
- Windows retains toolbar view.
* Source/NSView.m: Added a missing method call -viewWillMoveToSuperview:
in -removeSubview: method (this missing method is used by the toolbar
view).
* Headers/Additions/GNUstepGUI/GSToolbar.h:
* Headers/AppKit/NSToolbar.h:
Moved the _window ivar from GSToolbar class to NSToolbar class.
* Headers/AppKit/NSToolbarItem.h: Added a _tag ivar and other minor changes.
2004-07-07 01:23 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow+Toolbar.m: Properly convert window frames to
content view frames and back.
(-_toggleToolbarViewWithDisplay:): Move the old content view to the
origin of the new content view.
2004-07-06 22:15 Alexander Malmberg <alexander@malmberg.org>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h: Add
-handlesWindowDecorations.
* Headers/AppKit/NSWindow.h: Document _frame ivar and add update
for -gui-managed window decorations.
(+minFrameWidthWithTitle:styleMask:): Change return type to float.
* Source/GNUmakefile: Add GSWindowDecorationView.m and
GSStandardWindowDecorationView.m .
* Source/GSDisplayServer.m (-handlesWindowDecorations): Provide a
default implementation.
* Source/NSPanel.m (-sendEvent:): Reimplement using
-_sendEvent:becomesKeyOnlyIfNeeded: .
(setControl): Only call -setStringValue: on the cell if it doesn't
respond to -setTitle: .
* Source/NSWindow.m: Reorganize management of the top-level view.
Implement -gui-managed window decorations.
(-_sendEvent:becomesKeyOnlyIfNeeded:): New method.
(-sendEvent:): Reimplement using -_sendEvent:becomesKeyOnlyIfNeeded: .
* Source/GSWindowDecorationView.h, Source/GSWindowDecorationView.m,
Source/GSStandardWindowDecorationView.m: New files.
2004-07-05 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSToolbar.m: [NSToolbar _setWindow:] added logic
to accept the NSWindowWillCloseNotification, since the toolbar
will need to remove itself from the "toolbars" master array.
Also added a method called [NSToolbar _handleNotification:]
to do the actual removal.
* Source/GSToolbar.m: [GSToolbar _setDelegate:] toolbar
no longer retains it's delegate. This prevents the delegate
from leaking.
2004-07-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSOutlineView.m: Moved private methods into separate
category. Made (-_collectItemsStartingWith:into:) safe against nil
parameter and simplified code. (_removeChildren:) new method as a
helper in (-reloadItem:reloadChildren:).
2004-07-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSOutlineView.m (-reloadItem:reloadChildren:): Convert
possible NSNull key to nil.
2004-06-28 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/Additions/GNUstepGUI/GSNibTemplates.h: Updated the
GNUSTEP_NIB_VERSION. This constant defines the number used for
the GSNibContainer objects' version. Also added a new topLevelObjects
ivar to the GSNibContainer class and the method to retrieve it.
* Source/GSNibTemplates.m: Move the private class GSNibItemCollector
from NSBundleAdditions.m to GSNibTemplates.m. This helped clean up
code and also facilitated the changes necessary for the new .gorm
version. Also changed the signature of awakeWithContext: so it
only takes the context dictionary as an argument and no longer
requires the items to be passed in.
Changed the awakeWithContext method to efficiently retain the objects.
In initWithCoder: and encodeWithCoder: added new section for updated
version. Added some logic to collect the top level items at that time
so that version 0 and version 1 .gorm files load in a precisely
equivalent manner. Also, updated a change made by Alex Malmberg
which was causing the designated initializers to not be called.
* Source/NSBundleAdditions.m: Moved class to GSNibTemplates as
described above. Cleaned up implementation of +loadNibFile:
externalNameTable:withZone:.
* Source/NSNib.m: Removed some of the code which was there to
collect top level items. Also cleaned up some of the code with
the new implementation.
2004-06-28 Serg Stoyan <stoyan255@ukr.net>
* Headers/AppKit/NSScroller.h: Added _pendingKnobProportion ivar.
* Source/NSScroller.m:
(setFloatValue:knobProportion:): Implemented disabling of scroller
when knob proportion equals to 1.0, and implemented pending knob
proportion setting (fix disappearing of scroller parts when mouse
button still held down). Set float value only if knob is not being
dragged.
(mouseDown): Redundant code removed. Call
setFloatValue:knobProportion: if _pendingKnobProportion is not 0 or
just update scroller otherwise.
* Source/NSBrowser.m:
(_createColumn): Set initial frame origin to -110,-110 to avoid
appearing newly created column on top of exising.
(updateScroller): Remove enabling/disabling scroller wrt last
NSScroller changes. Rewrite floating value calculating code and
avoid devide-by-zero case. Always update scroller values (scroller
handle the case when it shouldn't update itself).
2004-06-28 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSCursor.h: Added more MacOSX methods for standard
cursors.
* Source/NSCursor.m: Implemented new standard cursors methods.
(+setHiddenUntilMouseMoves:) added implementation.
(+initialize) set isHiddenUntilMouseMoves to NO (was YES).
* Source/NSApplication.m: (-nextEventMatchingMask:...dequeue:) when
cursor is hidden until mouse move, call [NSCursor
setHiddenUntilMouseMoves: NO] instead of [NSCursor unhide].
2004-06-27 23:10 Alexander Malmberg <alexander@malmberg.org>
* Source/GSNibTemplates.m: Replace calls to
GSGetInstanceMethodNotInherited with calls to GSGetMethod.
2004-06-25 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibCompatibility.m: Print a message when .gorm files are
loaded which use the old templates contained here. The next major
release should see the removal of these templates from GNUstep. The
new templates have completely superceded these.
* Source/NSTextView.m: Added call to register for types in
initWithCoder:
* Source/NSDataLinkPanel.m: Minor reformatting.
2004-06-26 Serg Stoyan <stoyan255@ukr.net>
* Source/NSBrowser.m:
(updateScroller): Use _firstVisibleColumn to define visibility of
scroller. Use _lastVisibleColumn to calculate knob proportion if
last visible column and last loaded column is not the same.
2004-06-25 Serg Stoyan <stoyan255@ukr.net>
* Source/NSBrowser.m:
(setPath:): Deselect all cells in first column before setting
absolute path if first column's selection changed.
(doClick:): Fix problem with deselection of already selected item.
Update scroller after setting selection.
2004-06-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m: (-noteNumberOfRowsChanged) corrected off
by one error in (NSIndexSet -removeIndexesInRange:) call.
2004-06-23 Serg Stoyan <stoyan255@ukr.net>
* Source/NSBrowser.m: (frameOfColumn:): Fixed calculating of last
visible column width when columns are separated.
(drawRect:): Draw horizontal scroller border only when columns are
separated. Fixed calculating of horizontal scroller width.
2004-06-22 Adrian Robert <arobert@cogsci.ucsd.edu>
* Documentation/manual: Beginnings of programming manual for GUI like
the one for Base but just focusing on the library itself (no
Objective-C introduction). Structure copied from base manual.
* Documentation/gnustep-gui.texi: Moved to manual/Introduction.texi.
* Documentation/Gui/Introduction.gsdoc: Moved to
manual/BasicClasses.texi.
* Documentation/Gui/Gui.gsdoc: Updated to reflect above moves.
* Documentation/General/OpenStepCompliance.gsdoc: Fix typos.
* Documentation/GNUmakefile: Update to build manual and also be a
little more parallel to base Documentation makefile.
* Documentation/GNUmakefile.postamble: Remove stray backslash.
2004-06-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m:
* Source/NSOutlineView.m: (-_willDisplayCell:forTableColumn:row:)
New method to abstract from differences in table and outline
view. Used whenever the delegate gets informed by
willDisplayCell:.
(_setObjectValue:forTableColumn:row:) Check for correct method.
2004-06-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m: (-mouseDown:) Set value after cell tracking.
(_setObjectValue:forTableColumn:row:) Check for correct method.
Patch by Matt Rice <ratmice@yahoo.com>
* Source/NSComboBoxCell.m: (-objectValue) Added this method, as
the object value never gets set.
2004-06-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSDragView.m: (-_handleEventDuringDragging:) Get mouse
location on periodic event.
2004-06-19 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSDisplayServer.h: Added new method
(-findWindowAt:windowRef:excluding:).
* Source/GSDisplayServer.m: Implemented (-dragInfo) with
GSDragView.
* Source/GNUmakefile: Added GSDragView.h.
* Source/GSDragView.m: Implemented
(-_windowAcceptingDnDunder:windowRef:) with new GSDisplayServer
method.
2004-06-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSComboBoxCell.m: buttonCellFrameFromRect(),
(-drawWithFrame:inView:), (-highlight:withFrame:inView:) and
(-trackMouse:...untilMouseUp:): Made draw bettere when used in a
flipped view. (-positionWithComboBoxCell:) position popup correctly
for flipped view.
2004-06-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m: (-mouseDown:) Added mouse tracking in the cell.
* Source/NSComboBoxCell.m: (-trackMouse:...untilMouseUp:) Set _lastValidFrame
[GSComboWindow positionWithComboBoxCell:] compute position based on
_lastValidFrame not the frame from the control view.
2004-06-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m: (-mouseDown:) Reordered code and
simplified. (-textShouldEndEditing:) Get formatter from
_editedCell not _cell. (-_unselectAllColumns) Clear the header
view as well.
2004-06-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSComboBoxCell.m: (-copyWithZone:) Added missing method.
2004-06-11 Adam Fedor <fedor@gnu.org>
* Version 0.9.3
* Documentation/ReleaseNotes.gsdoc: New file
* Documentation/GNUmakefile: generate ReleaseNotes. Update
GuiUser make
* Documentation/GuiUser/GNUmakefile: New file.
* Source/DocMakefile: Remove GuiUser generation.
2004-06-09 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSComboBoxCell.m: Improved look, added constrained height and
minor documentation change.
* Source/NSComboBox.m: Added constrained height and minor documentation
change.
2004-06-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCell.m: (-drawWithFrame:inView:)
* Source/NSFormCell.m: (-drawWithFrame:inView:)
* Source/NSTableHeaderCell.m: (-drawWithFrame:inView:)
* Source/NSTableView.m: (-drawRect:)
* Source/NSColorWell.m: (-drawRect:)
* Source/NSProgressIndicator.m: (+initialize, -drawRect:)
* Source/NSScrollView.m: (-drawRect:)
* Source/NSTabView.m: (-drawRect:)
* Source/GSTitleView.m: (-drawRect:)
* Source/NSBrowser.m: (-drawRect:, [GSBrowserTitleCell drawWithFrame:inView:])
Use GSDrawingFunction methods instead of NS functions. Also
changed colour of progress indicatore. Patch by Nicolas Roard
<nicolas@roard.com>.
2004-06-07 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSComboBoxCell.m: Added complete documentation.
* Source/NSComboBox.m: Minor documentation corrections.
2004-06-06 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSComboBox.m: Added complete documentation.
2004-06-04 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSDragView.h:
* Source/GSDragView.m: New files with a backend neutral drag and
drop implementation.
* Source/GNUmakefile: Added GSDragView.m.
* Source/NSPrintOperation.m: Use correct subclass for PDF operations.
2004-06-02 Riccardo Mottola <rollei@tiscalinet.it>
David Ayers <d.ayers@inode.at>
* Source/GSToolbar.m ([GSValidationManager-initWithWindow:):
Move variable declarations to the beginning of the block.
Format according to standards.
2004-06-01 Gregory John Casamento <greg_casamento@yahoo.com>
* configure.ac: added code to detect the presence of
libaspell for the new implementation of GSspell.
* configure: regenerated.
* Tools/GSspell.m: Completely reimplemented the
spell-checker code using aspell. This simplified the
code tremendously.
2004-05-31 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSDrawFunctions.h:
* Source/GSDrawFunctions.m: (-drawDarkButton::) New
method. Changed all methods to return the interior rectangle.
based on patch by Nicolas Roard <nicolas@roard.com>.
* Source/NSComboBoxCell.m: (-_selectCompleted) new method to
handle completion of selection in data source case correctly.
(-popUpForComboBoxCell:) use this method and also clear
selection at the end, so a new popup starts without selection.
(-selectItemAtIndex:) simplified and return when invalid
index is given. (-_loadButtonCell) always use image name
"NSComboArrow" and removed force arrow variable.
* Images/nsmapping.strings: mapping "NSComboArrow" to
"common_ComboBoxEllipsis".
2004-05-29 Quentin Mathe <qmathe@lub-internet.fr>
* Source/NSComboBoxCell.m: Fixed problems related to decoding an
encoded combo box previous version (Bug reported by Gregory
Casamento).
2004-05-29 Gregory John Casamento <greg_casamento@yahoo.com>
* Images/page_landscape.tiff: Removed the tags in the image
which were causing warnings on load.
* Images/page_portrait.tiff: same.
* Images/common_ToolbarClippedItemsMark.tiff
2004-05-29 Quentin Mathe <qmathe@lub-internet.fr>
* Source/NSComboBox.m:
* Headers/AppKit/NSComboBox.h:
* Source/NSComboBoxCell.m:
* Headers/AppKit/NSComboBoxCell.h:
* Images/GNUmakefile:
* Images/common_ComboBoxEllipsis.tiff:
New rewritten combo box implementation (which can be called completion
box now). Everything should work except the completion possibility
which needs some layout manager and text view changes (patches to be
commited by Alexander Malmberg).
2004-05-29 Quentin Mathe <qmathe@lub-internet.fr>
* Source/NSControl.m: Reverted to the previous version (1.61) because
the 2004/05/23 changes changed the way an event can be caught by one
responder definitively through the responder chain.
* Source/GSToolbar.m: New way to catch mouse events with the validation
system (Uses NSWindowDidUpdateNotification instead of events
interception at the view level) and other minor changes.
2004-05-27 01:39 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImage.m (-size): Don't try to get the size if rep is nil.
2004-05-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTableView.m: (-noteNumberOfRowsChanged)
Made save against [_selectedRows lastIndex] returning NSNotFound.
2004-05-23 Quentin Mathe <qmathe@lub-internet.fr>
* Source/NSWindow.m: Added a method -_windowView which returns the
root view (variable _wv) and replaced _contentView by _wv in the
tracking implementation.
* Source/NSControl.m: Modified to call the associated superclass method
each time -mouseDown: is called to have the possibility to add
behaviors to the related NSView method.
Modifications needed to fully support toolbar validation mechanism.
2004-05-23 Quentin Mathe <qmathe@lub-internet.fr>
* Source/GSToolbarView.m:
* Headers/GNUstepGUI/GSToolbarView.h:
* Source/GSToolbar.m:
* Headers/GNUstepGUI/GSToolbar.h:
* Source/NSToolbar.m:
* Headers/AppKit/NSToolbar.h:
* Source/NSToolbarItem.m:
* Headers/AppKit/NSToolbarItem.h:
* Source/NSWindow+Toolbar.m:
Last part in the validation implementation, border taken in
account by the layout process, lot of memory leaks fixed, selected
item possibility implemented and other minor improvements.
2004-05-18 Quentin Mathe <qmathe@club-internet.fr>
* Source/GSToolbarView.m: Added color customization (default background
color is now no color), part of the toolbar validation mechanism
and other minor changes.
* Headers/GNUstepGUI/GSToolbarView.h: Same.
* Source/NSToolbarItem.m: Added part of the toolbar validation
mechanism, new menuFormRepresentation implementation to have the
menu item titles used as label with the text display mode and
other minor changes.
2004-05-14 Adam Fedor <fedor@gnu.org>
* Source/NSDocumentController.m
([NSDocumentController -currentDirectory]):
Conform to the documentation. (Fixes #7900).
* Tools/gsnd/gsnd.m: Rename variables starting with _, indent lines
properly (Fixes #7502).
2004-05-14 Serg Stoyan <stoyan@on.com.ua>
* Source/NSBrowser.m ([drawRect:]): use _bounds instead of rect
for NSDrawGrayBezel().
* Source/NSSplitView.m ([adjustSubviews]): call setNeedsDisplay:
after resizing subviews.
2004-05-04 Enrico Sersale <enrico@imago.ro>
* Source/NSWorkspace.m ([NSWorkspace -mountedRemovableMedia]):
Doesn't consider a final empty line in mtab.
2004-05-12 16:50 Alexander Malmberg <alexander@malmberg.org>
* Source/NSParagraphStyle.m (+defaultWritingDirectionForLanguage:):
Implement. Patch from Christopher Culver.
2004-05-12 15:52 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-_generateGlyphsForRun:at:): Use a
properly typed function pointer for characterIsMember.
2004-05-08 Fred Kiefer <FredKiefer@gmx.de>
* Header/Cocoa/Cocoa.h:
New header file for Cocoa compatibility. Currently not installed.
* Source/NSTableView.m:
Implemented [selectColumnIndexes:byExtendingSelection:] and
[selectRowIndexes:byExtendingSelection:].
* Source/NSDocument.m:
Implemented [runModalSavePanelForSaveOperation:..contextInfo:],
[saveDocumentWithDelegate:didSaveSelector:contextInfo:] and
[saveToFile:..contextInfo:]. Added call to [prepareSavePanel] in
[fileNameFromRunningSavePanelForSaveOperation:].
2004-05-04 Enrico Sersale <enrico@imago.ro>
* Source/NSWindow.m ([NSWindow -sendEvent:]): Doesn't
makeKeyAndOrderFront if _windowLevel == NSDesktopWindowLevel.
2004-04-27 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m ([NSAppIconView -drawRect:]): Draw dot when
hidden.
([NSAppIconView -setImage:]): Use -drawRect:
(-hide:,-unhideWithoutActivation:): Mark icon view as needing display.
(based on patch from Rafael Herzog).
2004-04-27 Quentin mathe <qmathe@club-internet.fr>
* Source/NSToolbarItem.m: Modified to have the action message sent by
NSToolbarItem instances (not by GSToolbarButton instances) in order to
match the Mac OS X behavior. (Bug reported by Ludovic Marcotte)
2004-04-16 15:33 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTableView.m (-dragImageForRows:event:dragImageOffset:):
Autorelease the new image.
2004-04-14 00:36 Alexander Malmberg <alexander@malmberg.org>
* Source/NSBrowser.m (-keyDown:): When the user selects a cell
by typing a partial name, make sure all other cells are
deselected.
2004-04-13 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSToolbarItem.m:
* Headers/AppKit/NSToolbarItem.h:
* Source/NSToolbar.m:
* Headers/AppKit/NSToolbar.h:
* Source/GSToolbar.m:
* Headers/GNUstepGUI/GSToolbar.h:
* Source/GSToolbarView.m:
* Headers/GNUstepGUI/GSToolbarView.h:
* Source/NSWindow+Toolbar.m:
* Headers/AppKit/NSWindow+Toolbar.h:
Added support for display mode and size mode and other minor changes.
2004-04-09 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
* Documentation/GuiUser/LanguageSetup.gsdoc: Added Korean stuff.
(Thanks to Song Woo-il.)
2004-04-04 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/AppKit.h: Added NSNib.h to the #ifndef STRICT_OPENSTEP
section of the headers.
2004-04-02 Quentin Mathe <qmathe@club-internet.fr>
With the help of Fred Kiefer and Alexander Malmberg, the modifications
below are mainly introduced to fix the fact -[NSCell performClick:]
doesn't work correctly when the cell frame is not identical to the
control frame which is displaying it :
* Source/NSButton.m: Removed -performClick: method already present in
the superclass NSControl.
* Headers/AppKit/NSButton.h: Same.
* Source/NSButtonCell.m: Replaced -performClick: method by
-performClickWithFrame:inView: method which overrides new method with
the same name in the superclass NSCell.
* Headers/AppKit/NSButtonCell.h: Same
* Source/NSCell.m: Added a method -performClickWithFrame:inView:
to be used in place of -performClick: method which has been deprecated.
* Headers/AppKit/NSCell.h: Same
* Source/NSControl.m: Modified -performClick: method to use the new
NSCell method -performClickWithFrame:inView:.
* Source/NSPopUpButtonCell.m: Modified
-performClickWithFrame:inView: to override the new method with the
same name in the superclass NSCell.
2004-04-02 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSWindow+Toolbar.h: Moved into Headers/AppKit
* Headers/AppKit/AppKit.h: Include NSWindow+Toolbar.h now
* Source/GNUMakefile: Modified to reflect this change
2004-03-29 18:25 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-setSelectedRange:affinity:stillSelecting:):
Always scroll to make the selection visible, and scroll to the right
part of it. (Bug reported by Ludovic Marcotte.)
2004-03-27 Fred Kiefer <FredKiefer@gmx.de>
* Header/AppKit/NSTableView.h:
Added ivars _selectedColumns and _selectedRows to NSMutableIndexSet.
* Source/NSTableView.m:
* Source/NSOutlineView.m:
Changed all the uses of these ivars and started to restructure the
row selection code. Also removed some (not all) dead code.
2004-03-23 23:52 Alexander Malmberg <alexander@malmberg.org>
* Headers/Additions/GNUstepGUI/GSToolbar.h,
Headers/Additions/GNUstepGUI/GSToolbarView.h: Add missing includes
to make the headers selfcontained.
2004-03-23 Quentin Mathe <qmathe@club-internet.fr>
* Source/NSWindow.m: NSToolbar related methods removed.
* Headers/AppKit/NSWindow.h: same (NSToolbar related ivars still
present).
2004-03-22 18:06 Alexander Malmberg <alexander@malmberg.org>
* Source/NSView.m (-lockFocusInRect:): Don't convert the clipping
rect to the window's coordinate system; the clip is done in the
view's coordinate system. Reported by Georg Fleischmann.
(convert_rect_using_matrices): New function that (correctly)
converts rectangles between views.
(-convertRect:fromView:, -convertRect:toView:): Reimplement using
convert_rect_using_matrices. Document.
2004-03-22 02:00 Georg Fleischmann <georg@vhf.de>
* Source/NSAffineTransform.m (-rotationAngle): Correct the sign of
the angle and wrap it so that it's always >=0 and <=360.
2004-03-22 01:13 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m
(-textStorage:edited:range:changeInLength:invalidatedRange:): Update
layout_char, glyph_delta, and new_last_glyph only if it makes sense
to do so and we need the value. Clarify and correct layout_char
update. Add comments.
2004-03-14 19:42 Alexander Malmberg <alexander@malmberg.org>
* Source/NSView.m (-hitTest:): Don't require that the point is
inside our super view if we don't have a super view.
2004-03-14 19:29 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTableView.m (-mouseDown:): Send the action for simple
clicks even if the selection changed.
2004-03-13 03:19 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m
(-textStorage:edited:range:changeInLength:invalidatedRange:): Handle
the case where layout_char is inside the modified range explicitly to
avoid accidentally causing the value to wrap around.
(-drawGlyphsForGlyphRange:atPoint:): Remove dead (since the change
2003-11-01) code. Update comments.
2004-03-12 Quentin Mathe <qmathe@club-internet.fr>
* Source/GSToolbarView.m: Bug fixes related to clipped items and more
efficient code.
* Headers/Additions/GNUstepGUI/GSToolbarView.h: Minor changes.
* Source/NSToolbar.m: Refactored NSToolbar implementation, most part of
the code has moved to GSToolbar.
* Headers/AppKit/NSToolbar.h: Same.
* Source/GSToolbar.m: New class which implements functionnality for the
basic GNUstep toolbars with some bug fixes.
* Headers/Additions/GNUstepGUI/GSToolbar.h: Header for the new basic
GNUstep toolbar class.
* Source/NSWindow+Toolbar.m: Bug fixes.
* Source/NSWindow+Toolbar.h: Minor changes.
2004-03-12 15:30 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTableView.m (-mouseDown:): Send our action if we get
a single, simple (no drag) click.
2004-03-08 19:19 Alexander Malmberg <alexander@malmberg.org>
* Source/NSPageLayout.m (-readPrintInfo): Move declarations before
statements.
2004-03-08 19:04 Alexander Malmberg <alexander@malmberg.org>
* Source/NSComboBoxCell.m (-runModalPopUp): Don't make the popup
the key window.
2004-03-08 Fred Kiefer <FredKiefer@gmx.de>
* Header/AppKit/NSView.h:
Added ivars _is_hidden, _in_live_resize and _focusRingType.
* Source/NSView.m:
(-canDraw) fully implemented. (-displayIfNeededInRectIgnoringOpacity:,
-displayRectIgnoringOpacity:) use canDraw. (-setFocusRingType:,
-focusRingType, -needsToDrawRect:, -isHidden, -setHidden:,
-inLiveResize, -viewWillStartLiveResize, -viewDidEndLiveResize)
implemented. (-canBecomeKeyView) use isHiddenOrHasHiddenAncestor
instead of isHidden.
2004-03-07 Adam Fedor <fedor@gnu.org>
* Documentation/Gui/Gui.gsdoc: Use automatic indexing
* Source/DocMakefile (AUTOGSDOC_HEADERS_GUI): Add NSNib, NSOpenGL
NSOpenGLView.
* Source/NSNib.m: Fix doc markup typo.
2004-03-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSActionCell.m:
Removed methods -setFloatValue:, -setIntValue: and setDoubleValue:
2004-03-06 Fred Kiefer <FredKiefer@gmx.de>
* Header/AppKit/NSSavePanel.h:
Added some ivars for new methods.
* Source/NSSavePanel.m: (-setDelegate:, -_selectTextInColumn:)
implemented delegete calls on selection and directory change,
based on patch by Fabien Vallon.
Basic implementation for some of the new Cocoa methods.
2004-02-29 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSToolbar.m: Added code in
-[NSToolbar insertItemWithIdentifier:atIndex:] to properly
handle when a system defined identifier is passed to the toolbar.
2004-03-01 Fred Kiefer <FredKiefer@gmx.de>
* Header/AppKit/NSTableView.h:
* Header/AppKit/NSSavePanel.h:
* Source/NSTableView.m:
* Source/NSSavePanel.m:
Declared some more MacOSX 10.3 methods and added place holders for
them.
* Source/NSTextView.m:
Implemented keyed unarchiving.
2004-02-29 Adam Fedor <fedor@gnu.org>
* Headers/AppKit/NSPageLayout.h: Update tags.
* Images/GNUmakefile: Add page_landscape.tiff, page_portrait.tiff.
* Panels/English.lproj/GSPageLayout.gorm: Update.
* Source/NSPageLayout.m: Internationalize gui text. Update for
gorm changes. (Patches from Fabien Vallon).
2004-02-28 Adam Fedor <fedor@gnu.org>
* Version 0.9.2
* Documentation/news.texi: Update.
2004-02-28 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSToolbarItem.m: Corrected misspelling of Separator.
* Images/common_ToolbarSeparatorItem.tiff: added, misspelled
image file deleted
* Images/GNUmakefile: Corrected.
2004-02-29 Fred Kiefer <FredKiefer@gmx.de>
* Header/AppKit/NSApplication.h:
Defined values for the constants NSRunStoppedResponse,
NSRunAbortedResponse, NSRunContinuesResponse.
* Source/NSOpenPanel.m: (-ok:)
* Source/NSSavePanel.m: (-cancel:, -ok:) Use stopModalWithCode:
with the approriate button code.
* Source/NSSavePanel.m: (-runModalForDirectory:file:,
-runModalForDirectory:file:relativeToWindow:) Removed the check
for the pressed button and return the value of the model loop
directly.
* Source/NSBox.m: (-drawRect:) Blank out the title rectangle
here and not delegate this to the title cell via the background
colour. (-initWithFrame:) Use an NSCell instead of an
NSTextFieldCell for the title, as setBackgroundColour: is no
longer needed.
2004-02-28 Adam Fedor <fedor@gnu.org>
* configure.ac: Don't add CPPFLAGS to ADDITIONAL_INCLUDES, add
ungif and X11 flags to GRAPHIC_... flags.
2004-02-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m: (-beginSheet:...contextInfo:)
Corrected signature of didEnd function.
* Source/NSMenu.m: (-update)
Tried to handle case for autoenabling correctly where a popup
button doesn't have an action.
* Source/NSBezierPath.m: (-contributionToContains:)
* Source/NSStringDrawing.m: (cache_match())
Replaced random() with rand() to increase portability.
2004-02-24 Quentin Math <qmathe@club-internet.fr>
committed by Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/Additions/GNUstepGUI/GSToolbarView.h: Changes for
new toolbar implementation.
* Headers/AppKit/NSToolbar.h: same as above.
* Headers/AppKit/NSToolbarItem.h: same...
* GNUmakefile: Added new files
* Source/NSButtonCell.m: Changes to improve the look of
unbordered buttons.
* Source/NSToolbar.m: Changes for new toolbar implementation.
* Source/NSToolbarItem.m: same...
* Source/NSWindow+Toolbar.[hm]: New category to localize
changes for NSToolbar which need to reside in NSWindow.
* Images/common_ToolbarClippedItemsMark.tiff: ">>" image to
show that there are more items which are not being displayed.
2004-02-24 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSDrawFunctions.h:
Corrected misnaming of method in last change.
2004-02-24 Fred Kiefer <FredKiefer@gmx.de>
* Images/nsmapping.strings:
Added definition for NSMenuMixedState.
* Source/NSButtonCell.m: (-setButtonType:)
* Source/NSMenuItemCell.m: (+initialize)
* Source/NSMenuItem.m: (-initWithTitle:action:keyEquivalent:)
Use image aliases instead of file names.
* Source/GSNibCompatibility.m: Reenabled keyed archiver for
NSWindowTemplate and added missing include.
2004-02-20 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSView.h:
* Source/NSView.m: (+defaultFocusRingType,
-setKeyboardFocusRingNeedsDisplayInRect:, -setFocusRingType:,
-focusRingType, -setHidden:, -isHidden,
-isHiddenOrHasHiddenAncestor, -wantsDefaultClipping,
-needsToDrawRect:, -getRectsBeingDrawn:count:, -inLiveResize,
-viewWillStartLiveResize, -viewDidEndLiveResize,
-mouseDownCanMoveWindow, -dragPromisedFilesOfTypes:...event:,
-canBecomeKeyView)
Stubs for new MacOSX methods.
2004-02-17 00:18 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/NSNib.h: Improved documentation.
2004-02-15 20:56 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibCompatibility.m: Removal of keyed archiver
code in deprecated template NSWindowTemplate. I commented this
out as we need to determine how to implement this with the
keyed archiver changes in the new templates.
2004-02-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSLayoutManager.m:
* Source/NSTextContainer.m:
* Source/NSTextStorage.m:
* Source/GSNibCompatibility.m: (NSWindowTemplate
More keyed dearchiving.
* Source/NSView.m: (-initWithCoder:)
Don't keyed decode next responder, as this gets set by superview
anyway.
2004-02-14 23:05 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSNib.[hm]: Corrected previous issue with NSNib.
Uncommented the code and cleaned up the implementation.
2004-02-14 22:56 Matt Rice <ratmice@yahoo.com>
Alexander Malmberg <alexander@malmberg.org>
* Tools/gopen.m (main): Remove NSTask-based app launching code; always
use [NSWorkspace -launchApplication:] to launch applications.
2004-02-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSOutlineView.m: (-reloadItem:reloadChildren:) Simplified
and corrected code by inlining the method
[_findItem:childIndex:ofParent:].
2004-02-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSButtonCel.m: (-setObjectValue:, -objectValue)
Implemented to set/return the state.
(-mouseEntered:, -mouseExited:, -drawWithFrame:inView:)
Partially added old showsBorderOnlyWhileMouseInside patch from
Michael Hanni (mhanni@yahoo.com).
* Headers/Additions/GNUstepGUI/GSDrawFunctions.h:
* Source/GSDrawFunctions.m: New gradient border drawing method.
2004-02-12 Adam Fedor <fedor@gnu.org>
* Documentation/GuiUser/KeyboardSetup.gsdoc: Update.
* Source/DocMakefile (GuiUser_AGSDOC_FILES): Add it.
2004-02-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSOutlineView.m: (-draggingUpdated:) Applied patch from
Andreas Heppel (andreas.heppel@sysgo.com) to determine drag
operation correctly.
2004-02-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMatrix.m: (-setBackgroundColor:,
-setCellBackgroundColor:, -setDrawsBackground:,
-setDrawsCellBackground:) call setNeedsDisplay: to give better
feedback on change.
2004-02-11 17:27 Alexander Malmberg <alexander@malmberg.org>
* Headers/Additions/GNUstepGUI/GSServicesManager.h,
Headers/Additions/GNUstepGUI/GSTitleView.h,
Headers/AppKit/NSDrawer.h, Headers/AppKit/NSHelpManager.h,
Headers/AppKit/NSMenuItem.h, Headers/AppKit/NSPrintOperation.h,
Headers/AppKit/NSSpellProtocol.h, Headers/AppKit/NSTableColumn.h,
Headers/AppKit/NSToolbar.h,
Headers/AppKit/NSUserInterfaceValidation.h: Add missing forward
declarations and includes to make all headers self-contained.
2004-02-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuItemCell.m: (-drawBorderAndBackgroundWithFrame:inView:)
Let GSDrawFunctions do the border drawing. Removed caching of
colour class.
* Source/NSImageCell.m: (-drawWithFrame:inView:) Let
GSDrawFunctions do the border drawing.
2004-02-10 21:48 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSFont.h: Add cachedScreenFont ivar.
* Source/NSFont.m: Add GSFontMapKey class and use it to find fonts
in globalFontMap. Replace newNameWithMatrix function with keyForFont.
Update callers.
(-initWithName:matrix:fix:screenFont:role:): Initialize
cachedScreenFont.
(-screenFont): Use cachedScreenFont.
2004-02-09 03:10 Alexander Malmberg <alexander@malmberg.org>
* configure.ac: Check for X. Add --enable-ungif/--disable-ungif and
--with-ungif-include/--with-ungif-library options. If the check for
libungif fails and X was found, check for libungif again, including
the X libraries. Patch from Kazunobu Kuriyama.
* configure: Regenerate.
2004-02-08 20:56 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Backout of NSNib modification.
* Source/NSBundleAdditions.m: ditto.
* Source/NSNib.m: Commented out some code and private class.
2004-02-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:)
Replaced explicit colour setting.
* Source/NSTabView.m: (-drawRect:) Use color constant instead of
number in DPSsetgray().
2004-02-08 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSDrawFunctions.h: Add two more methods.
* Source/GSDrawFunctions.m: Evaluate colour names only ones per
method. Corrected count in drawFramePhoto: and drawButton:. Added
drawGrayBezel: and drawWhiteBezel:.
* Source/NSButtonCell.m: (-drawWithFrame:inView:) use
GSDrawFunctions to draw border.
* Source/NSTabView.m
* Source/NSTabViewItem.m
* Source/NSBundleAdditions.m (NSNibConnector)
Added keyed decoding.
2004-02-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/Function.m
Corrected NSDrawWhiteBezel(), NSDrawDarkBezel() and
NSDrawLightBezel() to be almost identical to their Cocoa counterparts.
* Source/NSMenuItemCell.m
* Source/NSPopUpButtonCell.m
Corrected keyed decoding.
2004-02-08 01:36 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSNib.m: Added implmentation for this class.
* Headers/AppKit/NSNib.h: Added header for this class.
* Source/GSNibTemplates.m: Modified awakeWithContext:topLevelItems:
to use the NSNibOwner/NSNibTopLevelObjects entries.
* Source/NSBundleAdditions.m: Added code to use NSNib to load
and instantiate the .gorm file. NSNib now contains all of the
.gorm loading code. NSNib currently does not support .gmodel
loading.
2004-02-07 03:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTableView.m (-initWithCoder:): Remove an erroneous 'else'
from the previous change.
2004-02-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m (-dealloc) Clean up pointer from items to menu.
* Source/NSMenuView.m (-update) Removed the setting of the menu
for the title view. Patch by Quentin Math
(gnustep-quentin@club-internet.fr)
* Source/NSActionCell.m
* Source/NSComboBoxCell.m
* Source/NSTableColumn.m
* Source/NSTableView.m
* Source/NSTextField.m
* Source/NSTextFieldCell.m
Added keyed decoding.
2004-02-05 21:04 Alexander Malmberg <alexander@malmberg.org>
* Source/GSTitleView.m: Fix declarations after statements.
2004-02-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m
* Source/NSMenuItem.m
* Source/NSPopUpButtonCell.m
Added keyed decoding.
2004-02-04 01:24 Alexander Malmberg <alexander@malmberg.org>
* Source/NSView.m: Remove uses of the deprecated "casts as lvalues"
gcc extension.
2004-02-03 23:38 Alexander Malmberg <alexander@malmberg.org>
* Source/NSBitmapImageRep.m (+imageRepsWithFile:,
_initFromWrasterFile:, _wrasterFileTypes): Remove obsolete libwraster
image loading hack. Update callers.
* Source/NSImageRep.m (+imageRepsWithContentsOfFile:): Remove uses
of the removed NSBitmapImageRep methods.
2004-02-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSFont.m
Try to get at least some font on keyed decoding.
* Source/NSTextFieldCell.m
* Source/NSImageCell.m
* Source/NSImageView.m
* Source/NSBox.m
* Source/NSSplitView.m
Added keyed decoding.
2004-02-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextFieldCell.m (-setBackgroundColor:,
-setDrawsBackground:, setTextColor:) tell the control, that the
cell did update.
2004-01-30 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBrowser.m
* Source/NSBrowserCell.m
* Source/NSButtonCell.m
* Source/NSCell.m
* Source/NSClipView.m
* Source/NSColor.m
* Source/NSControl.m
* Source/NSCursor.m
* Source/NSFont.m
* Source/NSProgressIndicator.m
* Source/NSScroller.m
* Source/NSScrollView.m
* Source/NSView.m
Added keyed decoding.
2004-01-26 Adam Fedor <fedor@gnu.org>
* /Headers/Additions/GNUstepGUI/GSHbox.h: Fix doc markup.
* Headers/Additions/GNUstepGUI/GSTable.h: Idem.
* Source/NSApplication.m: Idem.
* Source/DocMakefile (GuiAdditions_AGSDOC_FILES):
Add GuiAdditions.gsdoc
2004-01-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPopUpButton.m (-setTitle:) Call
[synchronizeTitleAndSelectedItem], this may as well belong into
the cells setTitle: method instead.
2004-01-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAffineTransform.m: Exchanged the code of
appendTransform: and prePendTransform: to be Cocoa compatibile.
(-concatenateWith:) replaced appendTransform: with prependTransform:.
* Source/NSPrintOperation.m: (NSView
-_displayPageInRect:atPlacement:withInfo:) Item.
* Source/NSView.m (+initialize, -_rebuildCoordinates) Item.
2004-01-25 16:16 Alexander Malmberg <alexander@malmberg.org>
* Source/NSStringDrawing.m: Big redesign.
(cache_match, cache_lookup_string, cache_lookup_attributed_string,
use_screen_fonts): New helper functions for caching layout
information.
(init_string_drawing, [NSAttributedString -drawAtPoint:],
[NSAttributedString -drawInRect:], [NSAttributedString -size],
[NSString -drawAtPoint:withAttributes:],
[NSString -drawInRect:withAttributes:],
[NSString -sizeWithAttributes:]): Reimplement using the cache system
and the new helper functions.
2004-01-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (-orderWindow:relativeTo:): In OrderOut case
cancle _handleWindowNeedsDisplay unconditional. (-close): Don't
cancle _handleWindowNeedsDisplay as this gets done by the
following [orderOut:] call. These changes adopt to a previous
change in [_handeWindowNeedsDisplay:] to always resend itself.
2004-01-25 04:15 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m (-invalidateDisplayForCharacterRange:,
-textStorage:edited:range:changeInLength:invalidatedRange:): Adjust
a few edge cases so that no work is done if there is no existing
layout information.
2004-01-24 15:17 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/AppKit/NSDataLink.h: Added ivars.
* Source/NSDataLink.m: Added implementation of some methods.
2004-01-23 21:32 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Removal of some commented out test code.
2004-01-22 13:15 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFontPanel.m (-_initWithoutGModel): Use -setTitle: to set
the titles of the buttons, not -setStringValue:. Patch from Matt
Rice.
2004-01-22 13:09 Alexander Malmberg <alexander@malmberg.org>
* Source/NSButton.m: Rename _nsbuttonCellClass to buttonCellClass
and make it static.
2004-01-22 13:06 Alexander Malmberg <alexander@malmberg.org>
* Source/NSActionCell.m (-encodeWithCoder:): Encode nil instead of
the control view.
2004-01-22 13:04 Alexander Malmberg <alexander@malmberg.org>
* Headers/Additions/GNUstepGUI/GSDrawFunctions.h: Add missing
include guards.
* Source/GSDrawFunctions.m: Correct misspellings and clarify the
documentation.
2004-01-22 12:16 Alexander Malmberg <alexander@malmberg.org>
* Model/GMAppKit.m ([NSFont +createObjectForModelUnarchiver:]):
If there's no font of the decoded name, fall back to the system
font of the decoded size.
2004-01-19 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
* GNUmakefile.postamble (after-distclean): Fix deletion of config.make.
2004-01-18 Adam Fedor <fedor@gnu.org>
* Source/GSDrawFunctions.m: New class.
* Source/NSBox.m ([NSBox -drawRect:]): Use it.
2004-01-17 Serg Stoyan <stoyan@on.com.ua>
* Source/NSBrowser.m:
(frameOfColumn:): Adjust horizontal position if browser doesn't have
horizontal scroller.
(tile): Adjust column height if browser doesn't have horizontal
scroller.
(drawRect:): Better handling of cases with and without horizontal
scroller.
2004-01-16 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSImageView.h: Added ivars for traget and action.
* Source/NSImageView.m: Implemented target and action handling and
sending of the action when an image gets dropped on the
view. Patch by Kazunobu Kuriyama (kazunobu.kuriyama@nifty.com)
2004-01-15 Serg Stoyan <stoyan@on.com.ua>
* Images/common_MiniWindowTile.m: New file.
* Images/common_Tile.m: Updated.
* Images/GNUmakefile: Added common_MiniWindowTile.tiff.
* Source/NSWindow.m (NSMiniWindowView):
(+initialize): Use common_MiniWindowTile.tiff
(-drawRect:): Move imageCell down to avoid overlapping with title.
(-setTitle:): Do not draw background; common_MiniWindowTile.tiff now
has title background.
* Source/GSTitleView.[hm]:
Added closeButton and miniaturizeButton methods to access title
buttons. Added initWithOwner: method. Comments added. Cleanup.
(dealloc): Remove observer. Release textAttributes and titleColor.
Don't release closeButton and miniaturizeButton.
(setOwner:): Observe NSApplication activate/deactivate notifications.
Add title buttons according to the window style mask.
* Source/NSMenuView.m:
(update): Use GSTitleView's initWithOwner: method. Cleanup.
2004-01-13 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m (trackWithEvent:): Changed checking for
highlighted item. Old checking have a problems when
_highlightedItemIndex changed after performActionForItemAtIndex:,
for example when selecting "Close Window" in detached "Windows"
submenu.
2004-01-12 Serg Stoyan <stoyan@on.com.ua>
* Source/GSTitleView.m (setOwner): Recognize class that responds
to menuRepresentation method as NSMenu derived class. Fix for Gorm.
Use isKindOfClass: instead of class names comparison.
* Images/GNUmakefile: Added common_Miniaturize*.tiff to IMAGE_FILES.
* Images/common_CloseBroken.tiff: Updated.
* Images/common_CloseBrokenH.tiff: Added.
* Images/common_WMClose.tiff: Deleted.
* Images/common_WMCloseBroken.tiff: Ditto.
* Source/NSApplication.m: (setImageForWindowsItem:): Use common_Close
and common_CloseBroken images instead of removed common_WMClose and
common_WMCloseBroken.
2004-01-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSTextStorage.m (_setAttributesFrom): Initialize
range in the aRange.length==0 case. (Found by Andrew Ruder using
valgrind.) This mirrors the patch to base/GSAttributedString.m.
2004-01-12 Serg Stoyan <stoyan@on.com.ua>
* Source/GSTitleView.m:
(+height): return at least 23 pixels.
(-mouseDown:): Make submenu torn off only after mouse released and if
menu position changed(so submenu isn't made torn off just clicking on
the title).
2004-01-11 Serg Stoyan <stoyan@on.com.ua>
* Headers/Additions/GNUstepGUI/GSTitleView.h: new file.
* Source/GSTitleView.m: ditto.
* Images/common_Close.tiff: updated for GSTitleView.
* Images/common_CloseH.tiff: ditto.
* Images/common_Miniaturize.tiff: new file.
* Images/common_MiniaturizeH.tiff: ditto.
* Source/NSMenuView.m: modified to use GSTitleView for menu title.
NSMenuWindowTitleView class removed.
2004-01-10 18:53 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: The unarchiver was failing when
decoding objects which contain references to themselves
(e.g. NSTabView). When an object contains a class/item which
refers to it's parent it should receive the new object and not
the template. I modified the initWithCoder: method of GSClassSwapper
to correct the issue.
2004-01-10 Adam Fedor <fedor@gnu.org>
* orderFront fixes
* Source/NSWindow.m (-orderFront:): Remove NSApp isActive
check.
(-orderFrontRegardless): Update for special case (otherWin=-1)
(-orderWindow:relativeTo:): Pass -1 for otherWin to backend
if we're the current app.
* Source/GSDisplayServer.m: Update documentations.
* Source/NSApplication.m (-changeWindowsItem:title:filename:): Revert
patch from 2003-10-20.
2004-01-10 16:36 Alexander Malmberg <alexander@malmberg.org>
* Source/NSScrollView.m (-drawRect:): Indentation fixes after last
patch.
2004-01-09 Serg Stoyan <stoyan@on.com.ua>
* Source/NSBrowser.m:
(drawRect:) Cosmetic changes in drawing of column separators
and horizontal scroller border.
* Source/NSScrollView.m:
(drawRect): Calculate separator line usning scoller frame. Remove
header view counting cases.
* Source/NSScroller.m:
(drawKnobSlot): Always draw background. Even if there's no room
for scroller parts.
2004-01-08 23:26 Alexander Malmberg <alexander@malmberg.org>
* Source/NSBitmapImageRep+GIF.m: Re-#define Object across the
include of gif_lib.h . (Reported by Stefan Kleine Stegemann.)
2004-01-08 19:41 Alexander Malmberg <alexander@malmberg.org>
* configure.ac: Add a check for libungif.
* configure, Headers/Additions/GNUstepGUI/config.h.in: Regenerate.
* Source/GNUmakefile: Add NSBitmapImageRep+GIF.m.
* Source/NSBitmapImageRep+GIF.m, Source/NSBitmapImageRep+GIF.h:
New files with the GIF image loader.
* Source/NSBitmapImageRep.m (+canInitWithData:) Check if the GIF
loader can handle the data.
(+imageUnfilteredFileTypes): Add ".gif".
(+imageRepsWithData:, -initWithData:): Use the GIF loader to load
GIF images.
2004-01-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSActionCell.m (-initWithCoder:) Don't decode the control
view, as this may be a Gorm placeholder or otherwise invalid.
* Source/GSDisplayServer.m:
(-discardEventsMatchingMask:beforeEvent:),
(getEventMatchingMask:beforeDate:inMode:dequeue:) Use function
NSEventMaskFromType instead of explicit switch statement where a
few entries where missing.
2004-01-08 01:24 Alexander Malmberg <alexander@malmberg.org>
* Source/NSActionCell.m (-setObjectValue:): Change the argument type
to id from 'NSString *'.
2004-01-08 00:47 Alexander Malmberg <alexander@malmberg.org>
* configure.ac: Fail with a verbose error message if libjpeg or
libpng can't be found. Add --disable-jpeg/--disable-png options that
override this.
* configure: Regenerate.
* Source/GNUmakefile: Add NSBitmapImageRep+JPEG.m,
NSBitmapImageRep+PNG.m, and NSBitmapImageRep+PNM.m .
* Source/NSBitmapImageRep.m (+canInitWithData:) Check if one of the
new loaders can handle the data.
(+imageUnfilteredFileTypes): Include the types from the new loaders.
(+imageRepsWithData:, -initWithData:): Use the new loaders to load
images.
* Source/NSBitmapImageRep+JPEG.m, Source/NSBitmapImageRep+JPEG.h,
Source/NSBitmapImageRep+PNG.m, Source/NSBitmapImageRep+PNG.h,
Source/NSBitmapImageRep+PNM.m, Source/NSBitmapImageRep+PNM.h:
New files with image loaders for JPEG, PNG, and PNM.
2004-01-07 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSHbox.h:
* Headers/Additions/GNUstepGUI/GSVbox.h:
Cleaned up to remove compiler warnings.
* Source/NSDataLinkPanel.m: Added include of GSGuiPrivate.h to
remove compiler warning.
* Source/NSPrintInfo.m: Removed unused global paperSizes.
* Source/NSScroller.m: (-trackKnob:) Initialise presentEvent.
2004-01-06 23:39 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSSpellServer.m: Documentation.
* Headers/AppKit/NSSpellServer.h: Documentation.
2004-01-06 21:58 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSAffineTransform.m: More documentation.
2004-01-07 02:51 Alexander Malmberg <alexander@malmberg.org>
* Source/NSSplitView.m (-mouseDown:): Use an NSDebugLLog when we get
an event in a subview area instead of an NSLog.
2004-01-04 02:32 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSApplication.m: Documentation.
* Source/NSAffineTransform.m: Documentation.
2004-01-03 23:36 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Removed some uneeded includes.
2004-01-03 Ludovic Marcotte <ludovic@Sophos.ca>
* Source/NSOutlineView.m: Started to fix the DnD code.
Modified -mouseDown: to not select the row when clicking
only on the expand/collapse image. Rewrote
-noteNumberOfRowsChanged to correctly restore the list
of selected rows after an expand/collapse operation.
Also did some general cleanups. More to come on this class.
2004-01-03 19:00 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundleAdditions.m: Removed some uneeded includes.
2004-01-01 23:22 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundleAdditions.m: Moved the declaration of
nibitems in loadNibFile:externalNameTable:withZone: so
that it can be released if there is an exception.
* Source/NSActionCell.m: Documentation.
* Source/NSScreen.m: Documentation.
2003-12-31 01:07 Alexander Malmberg <alexander@malmberg.org>
* KeyBindings/DefaultKeyBindings.dict: Uncomment the
moveUpAndModifySelection: and moveDownAndModifySelection:
entries.
2003-12-31 00:37 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-setSelectedRange:affinity:stillSelecting:):
Make sure oldRange is always initialized.
2003-12-30 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBundleAdditions.m (-pathForNibResource:) ignore
extension "nib", so "gorm" or "gmodel" get used instead.
2003-12-30 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/NSAffineTransform.h: Corrected element names tX
and TY of structure NSAffineTransformStruct to fit Cocoa naming.
* Source/NSAffineTransform.m
* Source/NSView.m (-_rebuildCoordinates)
* Source/NSPrintOperation.m (-_displayPageInRect:atPlacement:withInfo:)
Adopted to change of NSAffineTransformStruct elements.
* Source/Function.m
Implemented NSDrawWindowBackground(), NSDrawDarkBezel() and
NSDrawLightBezel().
* Source/NSTableHeaderView.m (-drawRect:) Use NSDrawTiledRects()
instead of DPS operations.
2003-12-30 00:48 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundleAdditions.m: Added private class to collect
top level items (controllers) which are instantiated in the
.gorm file. This and the change to GSNibContainer provide a
much cleaner way of retaining the top level items in the .gorm
file without requiring a new special entry in the nameTable.
* Source/GSNibContainer.[hm]: Renamed method awakeWithContext:
to awakeWithContext:topLevelItems: to allow passing in the
items collected. Also added code to add the GSNibItems which
are in the archive to the instance of the private class which
is created.
2003-12-29 20:43 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: removed extraneous retain in
GSClassSwapper which was causing the retain counts of
custom classes to be one too many.
2003-12-29 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-activateIgnoringOtherApps:): Change
location of _inactive count calculation.
* Documentation/gnustep-gui.texi: Move class documentation...
* Headers/Additions/GNUstepGUI/GSHbox.h: ...to here.
* Headers/Additions/GNUstepGUI/GSTable.h: and here.
* Headers/Additions/GNUstepGUI/GSVbox.h: and here.
2003-12-28 19:33 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/AppKit/NSMenuItem.h: Added documentation for many
of the methods in NSMenuItem.
* Source/GSNibTemplates.m: Further refinements on the earlier
memory leak fix.
2003-12-25 00:03 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSDataLinkPanel.m: Changed to use the correct method
to find and load the .gorm file for the panel.
2003-12-23 13:46 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Added a loop which retains only the
top level objects in the nameTable. Also added some conditions
which prevent some of the special entries in the nametable from
having awakeFromNib called unnecessarily. Added code
which implements the NSTopLevelObjects undocumented feature which
allows users to get the top level objects in an array so that they
can be easily released. Tightened up memory management.
* Source/NSBundleAdditions.m: Removed extra retain which was
causing the container to leak.
2003-12-23 18:13 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-_handleWindowNeedsDisplay:): Disable flushing
while displaying the window and flush after all displaying is done.
2003-12-06 14:03 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-readSelectionFromPasteboard:type:,
NSTIFFPboardType): Send -setFileWrapper: to the attachment after
setting the wrapper's icon to force an update of the attachment's
image. Reported by Fabien Vallon.
2003-12-03 02:54 Alexander Malmberg <alexander@malmberg.org>
* Source/GNUmakefile.postamble (after-clean): Add a missing ':'.
Reported by Matt Rice.
2003-12-02 Adam Fedor <fedor@gnu.org>
* Source/GNUmakefile.postamble (libgnustep-gui.def): Generate at
compile time using the proper dependencies.
2003-12-01 Serg Stoyan <stoyan@on.com.ua>
* Headers/AppKit/NSButton.h: Add setHighlightsBy: and
setShowsStateBy: methods.
* Source/NSButton.m: Implement setHighlightsBy: and setShowsStateBy:
methods
* Source/NSPanel.m:
Removed TODO about message font size.
(-sendEvent:): Cast self when compared with iconWindow to omit
compiler warning.
(-_initWithoutGModel): Center title vertically relatively to image.
Some comments added. Use NSButton's setHighlightsBy for default
button of altert panel.
(-sizePanelToFit): Center message text horizontally.
* Images/common_ret.tiff: Edit to be more NeXTish.
* Images/common_retH.tiff: Ditto.
2003-11-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m (+initialize) cache runloop modes.
(-_handleWindowNeedsDisplay:) and (-orderWindow:relativeTo:) use cached modes.
2003-11-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCell.m (-setTitleWithMnemonic:) use [setTitle:] instead
of [setStringValue:].
(-mnemonic) use [title] instead of [stringValue].
2003-11-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBezierPath.m (-bezierPathByReversingPath) return create
path not self.
(-containsPoint) new implementation, that respects the winding rule.
2003-11-26 23:55 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-sendEvent:): Ignore most events sent to
windows that have been ordered out.
* Source/NSPanel.m (-sendEvent:): Synchronize with [NSWindow
-sendEvent:].
2003-11-26 23:54 Alexander Malmberg <alexander@malmberg.org>
* Source/NSView.m (-autoscroll:): Document.
2003-11-26 15:00 Alexander Malmberg <alexander@malmberg.org>
* Source/GSGuiPrivate.h: Fix GSGuiBundle() prototype.
2003-11-26 14:47 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSApplication.h: Add -_windowWillDealloc:.
* Source/NSApplication.m: Fix some prototypes.
(-_windowWillDealloc:): Implement.
* Source/NSWindow.m (-dealloc): Call -_windowWillDealloc: so NSApp
can clear any unretained references to the window.
2003-11-25 17:16 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-orderWindow:relativeTo:): Start the window
auto-display performer when a window is ordered in regardless of
whether it needs display right now or not.
2003-11-23 Adam Fedor <fedor@gnu.org>
* Version 0.9.1
2003-11-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBrowser.m (-tile) corrected computation of columnCount,
so that at least one column gets diplayed, even when this is
smaller than the minColumnwidth.
* Source/NSMatrix.m (-drawRect:) corrected clipping of row2, here
row1 had been tested.
* Source/NSScrollView.m (-drawRect:) removed the saving of the context.
2003-11-22 15:07 Alexander Malmberg <alexander@malmberg.org>
* Source/GSNibTemplates.m ([GSNibContainer -awakeWithContext:]):
Don't release connections when enumerating them; they're owned
by the array. Partial fix for bug #6354.
2003-11-19 21:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-sizeToFit): If we are horizontally resizable
and the inset width is 0, increase our width by 1.
2003-11-19 17:06 Alexander Malmberg <alexander@malmberg.org>
* Tools/GNUmakefile, Tools/example.m, Tools/exampleInfo.plist,
Tools/md5Digest.m: Move example.service and md5Digest.app to
usr-apps/examples/gui/ExampleService/.
2003-11-19 Adam Fedor <fedor@gnu.org>
* Window Focus fixes.
* Source/NSApplication.m (-activateIgnoringOtherApps:): Make
hidden_key key only if we have no key, make main key if neither,
make menu key as last resort.
(-deactivate): Resign main window.
(Patches from Benhur Stein <benhur@inf.ufsm.br>).
(-unhideWithoutActivation): Set hidden=no before ordering windows
to avoid possible recursive loops.
* Source/NSWindow.m (-sendEvent:)(NSLeftMouseDown): Activate app
after ordering window front.
(-sendEvent:)(GSAppKitWindowFocusIn): Don't make ourselves key
if we're not the modal window. Remove check for app isHidden.
2003-11-19 03:17 Alexander Malmberg <alexander@malmberg.org>
* Source/NSClipView.m (-autoscroll:): Reimplement correctly.
* Source/NSTextView.m (-mouseDown:): When the mouse is outside
the view, autoscroll smoothly using periodic events.
2003-11-18 21:43 Alexander Malmberg <alexander@malmberg.org>
* Source/NSEvent.m (-description): Remove a stray , that was messing
up a +stringWithFormat: call. Make eventTypes static.
2003-11-11 14:41 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSApplication.m: (-targetForAction:): Added code to check the
document of the main window as well.
* NSToolbar.m: Additional implementation.
* NSWindow.[hm]: Added some code for drawing the toolbar.
* GSToolbarView.h: added initWithToolbar: method.
2003-11-07 15:28 Alexander Malmberg <alexander@malmberg.org>
* Source/NSControl.m (-mouseDown:): Rewrite to use -setHighlighted:
and the normal drawing mechanisms instead of trying to draw and flush
manually. (Fixes a bunch of visual glitches.)
2003-11-07 14:42 Alexander Malmberg <alexander@malmberg.org>
* Source/NSInputManager.m (-loadBindingsFromFile:): Handle errors
directly instead of using (broken) exception code.
2003-11-01 18:19 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:):
If a range of glyphs has no color set, use the default text color
(as returned by [NSColor textColor]) instead of assuming black.
2003-10-30 00:38 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImage.m (iterate_reps_for_types, repd_for_rep): Make
static.
* Source/NSStepperCell.m (DrawUpButton, DrawDownButton,
HighlightUpButton, HighlightDownButton): Idem.
* Source/NSPrintInfo.m: Make the "class variables" static.
* Source/NSProgressIndicator.m: Idem.
2003-10-29 Bjorn Giesler <bjoern@giesler.de>
* Source/externs.m: New MacOS 10.3 pasteboard types
* Headers/AppKit/NSPasteboard.h: New MacOS 10.3 pasteboard types
2003-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSDisplayServer.m: ([-dealloc]) remove deallocated server
from windowsmap to avoid segfault on app shuytdown ... fix suggested
by benhur@inf.ufsm.br
2003-10-29 02:22 Alexander Malmberg <alexander@malmberg.org>
* Source/GSServicesManager.m (-updateServicesMenu): Always enable
an item with a submenu.
2003-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSavePanel.m: Change to have entire window accept DnD.
* Source/NSWindow.m: Fix to get whole window DnD working, also
to enable propogation of drag events up the view hierarchy to the
first drag-aware view ... Adam reports that this seems to be the
behavior on MacOS-X too.
2003-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOpenPanel.m: Allow users to type in an absolute path name.
Support DnD of filename into panel.
* Source/NSSavePanel.m: ditto. Also, if the name of a non-existent
directory is typed in, provide a prompt to create the directory as
in NeXTstep/OPENSTEP.
2003-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSServicesManager.m: Tidy last patch to match use of
whitespace etc in GNUstep code.
* Source/GSDisplayManager.m:
(-getEventMatchingMask:beforeDate:inMode:dequeue:) fix incorrect
termination ... should terminate when limit date has passed,
irrespective of the state of any input sources.
* Source/NSApplication.m: ([-runModalForWindow:]) wait for new events
between calls to ([-runModalSession:])
([-runModalSession:]) rewritten to handle multiple events, but only
those events which are available ... ie don't wait for more.
Requires latest base library from CVS to get modified/corrected
runloop behavior.
2003-10-26 15:18 Alexander Malmberg <alexander@malmberg.org>
Matt Rice <ratmice@yahoo.com>
* Source/NSFontManager.m (-availableFonts, -availableFontFamilies,
availableMembersOfFontFamily:): Don't check delegate; always return
all fonts.
(-_includeFont:): Move...
* Source/NSFontPanel.m (_includeFont:delegate:): Here.
(-_familySelectionChanged:, reloadDefaultFontFamilies): Use that
method to check with the delegate which fonts should be included in
the font panel.
(-_doPreview, -_fontForSelection:): Check that the face list isn't
empty before accessing it.
(-_getOriginalSize): Move to the Private category to match the
@interface.
2003-10-25 16:52 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: initWithFrame is not supposed to be called
on subclasses of NSControl as the designated initializer according to
docs. Removed the call.
* Source/GSNibCompatibility.[hm]: Added in the old templates for
compatibility ONLY. This is so any of the older .gorms which use
these templates can be loaded and used normally.
* Source/NSOutlineView.m: Corrected a documentation issue.
2003-10-25 12:53 Matt Rice <ratmice@yahoo.com>
* Source/NSWorkspace.m (-_connectApplication:): Ignore the path to
the application when extracting the port name. (Committed by
Alexander Malmberg.)
2003-10-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.m: Change a few uses of '/' in strings to
use stringByAppendingPatchComponent:
* Tools/gopen.m: Fix to pass the full path of the file to the
app being used to open it, so relative paths in the arguments
work properly.
2003-10-21 Bjorn Giesler <bjoern@giesler.de>
* Source/GSServicesManager.m: Fix NSPerformService() to work for
any localised service name.
2003-10-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSServicesManager.m: Revert last modification in favour
of a fix by ... Bjorn.
2003-10-20 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-changeWindowsItem:title:filename:): Use
deminiaturize to get the window back.
* Source/NSWindow.m (-deminiaturize:): Don't order out
the miniwindow since it should be ordered out automatically.
Fixes PR #5849.
2003-10-18 16:48 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: Added full gsdoc documentation for this
class.
2003-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSServicesManager.m: Make mapping of service names to
their definitions include all available language variants so
that NSPerformService() should work irrespective of the
currently selected language preferences. Tested to ensure it
still works for my selected english, but not yet to see if it
actually fixes the bug.
2003-10-13 Adam Fedor <fedor@gnu.org>
* configure.ac: Simplify graphics libs lookup
* config.make.in: Update.
* Documentation/make_services.1: New file (from Martin Brecher)
* Documentation/GNUmakefile: Install it.
2003-10-09 Adam Fedor <fedor@gnu.org>
* Tools/make_services.m: Add quiet option.
2003-10-07 23:38 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/Additions/GNUstepGUI/GSNibTemplates.m: Added
setDeferFlag: and deferFlag declarations to
GSWindowTemplate.
2003-10-07 14:32 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-miniaturize:): Check that the window is
miniaturizable, visible, and not already miniaturized before
trying to miniaturize it.
(-deminiaturize:): Do nothing if the window isn't miniaturized.
(Based on patch from Matt Rice.)
2003-10-05 Adam Fedor <fedor@gnu.org>
* Source/DocMakefile: Remove dependencies file when cleaning.
2003-10-03 Adam Fedor <fedor@gnu.org>
* configure.ac: Use -Wl for netbsd linker options.
2003-10-03 Benhur Stein <benhur@inf.ufsm.br>
* Source/NSWindow.m (-setFrameAutosaveName:): remove previous frame
name from defaults; if there is a saved frame with the new name in
defaults, set window frame to it, otherwise store current frame in
defaults.
2003-10-03 Benhur Stein <benhur@inf.ufsm.br>
* Source/NSWindow.m (class variables, +initialize,
+removeFrameUsingName:, -dealloc, -saveFrameUsingName:,
-setFrameAutosaveName:): removed variable windowsLock
2003-10-02 David Ayers <d.ayers@inode.at>
* Source/NSBrowser.m (-[NSBrowser setDelegate]):
Set _passiveDelegate to YES for 'nil' delegate.
Use GSObjCRuntime functions to get selector names.
Update documentation.
2003-10-02 Andrew Ruder <aereder@ksu.edu>
* Source/NSBrowser.m (-[NSBrowser setDelegate]): Check for
nil object to allow unsetting the delegate.
2003-09-29 Adam Fedor <fedor@gnu.org>
* Version 0.9.0
2003-09-29 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Additions/GNUstepGUI/GSLayoutManager.h
* Source/GSLayoutManager.m
Added missing method [isValidGlyphIndex:].
2003-09-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBrowser.m
Patch by Christopher Culver:
Define empty [sizeToFit] method to override NSControl implementation.
2003-09-27 19:29 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibContainer.m: [GSNibContainer awakeWithContext:]
Added code to set the services and windows menus as designated in
Gorm. Addresses Report #5205
2003-09-27 David Ayers <d.ayers@inode.at>
* Source/NSCell.m (-compare:): Compare the stringValue of
NSCell's rather than their contents directly.
2003-09-23 19:14 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-orderWindow:relativeTo:): Only force a display
of the content view if we're being ordered _to_ the screen.
2003-09-23 19:11 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextContainer.m (-dealloc): Set the text container of
our text view, if any, to nil.
2003-09-22 Adam Fedor <fedor@gnu.org>
* Source/NSWindowController.m (-setWindow:): Set window's
releaseWhenClosed when document is not nil. Add documentation.
2003-09-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPopUpButtonCell.m
Undid the tracking of changes for the menu item. Changed [dealloc]
to not call clean up methods as these caused segmentation faults
in GNUMail.
2003-09-21 15:15 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-readSelectionFromPasteboard:type:): Handle
NSTIFFPboardType. Based on patch from Nicolas Roard.
2003-09-20 Adam Fedor <fedor@gnu.org>
* Source/NSWindowController.m ([NSWindowController -setDocument:]):
Set window to releaseWhenClosed if document is not nil.
* Source/NSApplication.m ([NSApplication -targetForAction:]): Revert
last change.
* Source/NSWindow.m ([NSWindow -performClose:]): Idem.
2003-09-19 Matt Rice <ratmice@yahoo.com>
* Source/NSApplication.m ([NSApplication -targetForAction:]): Check
document of a document-based app before key window.
* Source/NSWindow.m ([NSWindow -performClose:]): Close the
document not self if there is a document associated with this window.
2003-09-19 Adam Fedor <fedor@gnu.org>
* Headers/Additions/GNUstepGUI/GSMethodTable.h: Change NSReadPixel
to GSReadRect
* Headers/AppKit/NSGraphicsContext.h, Source/NSGraphicsContext.m: Idem.
* Headers/AppKit/NSGraphics.h (NSReadPixel): Move to...
* Source/Functions.m (NSReadPixel): here.
* Source/NSBitmapImageRep.m (-initWithFocusedViewRect:): Implement.
2003-09-16 Adam Fedor <fedor@gnu.org>
* GNUmakefile (SUBPROJECTS): Don't build Documentation by default.
2003-09-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPopUpButtonCell.m
Corrected bug in previous change. In [itemAtIndex:] the index 0
was handled wrong.
2003-09-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPopUpButtonCell.m
According to Gregory John Casamento <greg_casamento@yahoo.com> the
popup button does not change its enable state when the selected item
does. To adopt this behaviour all setEnable: calls have been
removed and one in [initWithCoder:] added that enables the popup
for all old encodings.
2003-09-13 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSPopUpButtonCell.m: Corrected minor problem which
was causing a compilation error.
2003-09-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m
In [update] use [NSApplication targetForAction:to:from:] to be
consistent with the [performActionForItemAtIndex:] implementation.
* Source/NSPopUpButtonCell.m
Undid last change. Rewrote [setMenu:] to make the popup button
cell listen to change notifications of the menu. New method
[itemChanged:] gets called when a menu item changes. Added hack to
[initWithCoder:] to set menu correctly and read old menu items
correctly.
Check in [itemAtIndex:] that the index is vaild and return nil
otherwise.
2003-09-07 Adam Fedor <fedor@gnu.org>
* Source/NSBitmapImageRep.m: Document.
(+imageRepWithData:): Return empty array not nil on failure.
(-TIFFRepresentation): Check for unsupported compression types.
(-TIFFRepresentationUsingCompression:factor:): Idem.
* Source/tiff.m (NSTiffGetInfo, NSTiffRead,
NSTiffWrite): Better error checking.
* Source/NSTableView.m (-draggingUpdated:sender): Support
NSTableViewDropOn (patch from Bjrn Giesler <giesler@ira.uka.de>).
2003-09-06 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSPopUpButtonCell.m: -drawInteriorWithFrame:inView:
added setEnabled to enable the popup button cell. A previous
change was causing all popup button cells to show up as disabled.
2003-09-06 22:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFont.m (getNSFont): Set the explicit-size bit in the
role correctly.
2003-09-06 Gregory John Casamento <greg_casamento@yahoo.com>
* Images/common_Printer.tiff
* Images/common_ToolbarSeperatorItem.tiff
* Images/common_ToolbarShowColorsItem.tiff
* Images/common_ToolbarShowFontsItem.tiff
* Images/common_ToolbarSpaceItem.tiff
* Source/NSToolbarItem.m: set the correct images and
target/action information for all of the standard toolbar items.
2003-09-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuItem.m
Autorelease the [separatorItem].
2003-09-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuView.m
In [itemChanged:] set if the cell is enabled like the item.
* Source/NSMenuItemCell.m
[setMenuItem:] enable/disable cell. [drawTitleWithFrame:inView:]no
longer enable/disable cell.
2003-09-04 18:43 Alexander Malmberg <alexander@malmberg.org>
* Headers/AppKit/NSWindow.h, Source/NSWindow.m: Change the return
type of -initWithWindowRef: to id.
2003-09-02 Adam Fedor <fedor@gnu.org>
* Tools/gsnd/gsnd.m (main): Don't mess with file descriptors on MinGW.
2003-09-02 Adam Fedor <fedor@gnu.org>
* Source/libgnustep-gui.def: Update.
2003-09-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAttributedString.m
[readFromURL:options:documentAttributes:] corrected the handling
to type "text", where [NSString alloc] was missing.
* Source/NSBundleAdditions.m
Removed unused global currentVersion.
* Headers/AppKit/NSCell.h
Corrected type of method _nonAutoreleasedTypingAttributes
* Headers/AppKit/NSInputManager.h
Added protocol NSTextInput to ivar _currentClient.
* Headers/AppKit/NSTextFieldCell.h
Removed uneeded and inconsistent method declarations.
* Source/NSApplciation.m
* Source/NSBezierPath.m
* Source/NSClipView.m
* Source/NSDocumentController.m
* Source/NSInputManager.m
* Source/NSMenuItem.m
* Source/NSSavePanel.m
* Source/NSTableView.m
Removed new GCC 3.4 warnings from Alexander Malmbergs list.
2003-09-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep.m
[canInitWithData:], [imageRepsWithData:] and [initWithData:]
protect against data being nil. [imageRepsWithFile:] check if the
file exists and only return an array when it contains objects.
* Source/NSWorkspace.m
New method [_saveImageFor:] used in all places in this file where
an icon is created from a file name. New method
[thumbnailForFile:] calculated the name of the corresponding
FreeDeskTop.org thumbnail file for a given file name. This does
not chack if this file exists!. In [iconForFile:] use this
thumbnails if the user default GSUseFreedesktopThumbnails is YES.
* Documentation/GuiUser/DefaultsSummary.gsdoc
Documented the new user default value GSUseFreedesktopThumbnails.
2003-09-01 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: [GSNibContainer awakeWithContext:]
was initializing mainMenu too late. It should be accessible
from within awakeFromNib.
2003-08-31 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSToolbarItem.m: Corrected code to instantiate
button for toolbar items.
2003-08-30 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: [GSNibContainer awakeWithContext:]
was not releasing the connections in the array after calling
establishConnection. Once this is done, the connections
are no longer needed.
2003-08-30 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindowController.m
Changed [setWindow:] to manage the notification connection to the
window.
[initWithWindow:], [dealloc] and [_windowWillClose:] now use
[setWindow:].
[setDocument:] now no longer retains the document, as this is
already retaining the window controller. Simplified [loadWindow]
by using the method [windowNibPath].
2003-08-30 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Added code to templates to conditionally
call the designated initializer if and only if it is defined
on the class which is being unarchived, not the parent classes.
This is consistent with behaviour under OpenStep.
2003-08-29 Adam Fedor <fedor@gnu.org>
* Source/GNUmakefile.preamble (ADDITIONAL_OBJCFLAGS): Include
target dir for config.h (disable-flattened).
2003-08-29 Adam Fedor <fedor@gnu.org>
* Tools/gsnd/gsnd.m (main): Reopen stderr.
2003-08-29 Gregory John Casamento <greg_casamento@yahoo.com>
* NSToolbarItem.[hm]: Implemented copyWithZone: for NSCopying,
removed an unused flag and shortened the flag names which were
somewhat long. Did some general cleanup. Implemented standard
items.
2003-08-28 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.m: Removed an extra release which was causing
a segfault. Added code to prevent calling the designated initializer
when isInterfaceBuilder is defined.
2003-08-27 Adam Fedor <fedor@gnu.org>
* Tools/gsnd/gsnd.m (main): Set daemon flag when forking.
2003-08-26 Adam Fedor <fedor@gnu.org>
* Version 0.8.9
2003-08-23 Gregory John Casamento <greg_casamento@yahoo.com>
* GSNibTemplates.m: Minor corrections and bugfixes.
2003-08-23 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GNUmakefile: Added new header to the list.
* Source/GSNibTemplates.m: Added assertion to GSClassSwapper to
prevent it from being initialized with superClassName and className
being the same.
* Source/NSToolbar.m: Added some more code to properly implement
this class.
* Source/NSToolbarItem.m: Added code to implement this class.
* Headers/AppKit/NSToolbar.h: Added flags declaration.
* Headers/AppKit/NSToolbarItem.h: Added attributes.
* Headers/Additions/GNUStepGUI/GSToolbarView.h: Private class which
will be used to display the toolbar in the window.
2003-08-22 Adam Fedor <fedor@gnu.org>
* Tools/gsnd/gsnd.m (main): Close any open file descriptors so
we can be a proper daemon.
Fixes #4825
2003-08-22 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSNibTemplates.[hm]: Added new template classes to a new file
removed old templates and implemented GSClassSwapper, GSWindowTemplate,
GSViewTemplate and etc.. to act as stand-in object in the
interface builder application.
* NSBundleAdditions.m: Removed old template classes and moved some
of the hiddle classes to GSNibTemplates for better organization.
2003-08-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m
In [performClose:] call the method [shouldCloseWindowController:]
on the document instead of [windowShouldClose:]
2003-08-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuView.m
In [itemChanged:] call [setNeedsDisplayForItemAtIndex:] so that
changes get redisplayed.
* Source/NSPopUpButtonCell.m
Overall change to use method calls rather than direct ivar access.
[setMenu:] also call [setMenuView:]. [removeItemWithTitle],
[removeItemAtIndex] and [removeAllItems] make sure that the
selected item ivar gets unset, when this is
removed. [setMenuItem:] overwrite super method to set/unset the
image. [selectItem:] no longer changes the image of this
item. [synchronizeTitleAndSelectedItem] now works on the menu item
not the selected item. [attachPopUpWithFrame:inView:] added
listening for notifications. [dismissPopUp] remove listening for
notifications. Added [performClickWithFrame:inView:] and
[performClick:]. Further simplified [drawInteriorWithFrame:inView:].
[initWithCoder:] made sure that old stored objects still get read
in correctly even if most ivars may be set wrong.
* Source/NSPopUpButton.m
In [keyDown:] removed setting and unsetting of notification
listening, as this now gets handled in NSPopUpButtonCell.
2003-08-20 14:36 Alexander Malmberg <alexander@malmberg.org>
* Source/GSFontInfo.m (+sharedEnumerator,
+fontInfoForFontName:matrix:screenFont:): Assert that the backend
classes have been set.
* Source/NSBrowser.m (+initialize, -initWithFrame:): Don't create
the shared title cell in +initialize. Creating the cell requires
that the backend has been set up (by creating the shared application
object). We can't assume that this has been done before +initialize
is called.
* Source/NSTextView.m (+initialize, -initWithFrame:textContainer:):
Don't register for services in +initialize for the same reason: the
shared application object might not have been created yet (also, note
that calling +sharedApplication is unsafe; it will create a shared
application object, but in some cases of the wrong class, which would
lead to confusing errors later).
2003-08-20 14:08 Alexander Malmberg <alexander@malmberg.org>
Clean up code to remove warnings issued by (what will become)
gcc 3.4.
* Model/GMArchiver.m, Source/GSFusedSilica.m,
Source/GSFusedSilicaContext.m, Source/NSResponder.m: Don't return
values from methods returning void.
2003-08-19 Adam Fedor <fedor@gnu.org>
* Source/NSImageRep.m ([NSImageRep +imageRepsWithContentsOfFile:]):
Make sure extension is lowercase.
Fixes #4750.
2003-08-18 Adam Fedor <fedor@gnu.org>
* Model/GNUmakefile (ADDITIONAL_INCLUDE_DIRS): Don't include
../Headers on non-gnu targets.
2003-08-17 Adam Fedor <fedor@gnu.org>
* Source/NSTableView.m ([NSTableView -textDidBeginEditing:]): Fix leak
of dictionary object.
([NSTableView -textDidChange:]): Idem.
([NSTableView -textDidEndEditing:]): Idem.
Fixes #4568.
2003-08-17 Adam Fedor <fedor@gnu.org>
* Source/NSImageCell.m ([NSImageCell -setObjectValue:]): Implement.
2003-08-17 Benhur Stein <benhur@inf.ufsm.br>
* NSBrowser.m:
(-selectRow:inColumn:): cleanup
(-loadedCellAtRow:column:): cleanup
(-matrixInColumn:): return nil if column not in _browserColumns
(-setPath:): cleanup; fix optimization for not loading columns that
are already loaded
(-setLastColumn:): return if column is not loaded; remove unnecessary
call to setNeedsDisplay:; remove columns greater than
_lastVisibleColumn instead of numberOfVisibleColumns; call
scrollColumnToVisible instead of making it by hand.
(-reloadColumn:): reselect previously selected cells by searching them
in reloaded matrix, instead of by position
(-scrollColumnToVisible:): removed test that assumed that if
numberOfVisibleColums is enough to display all loaded columns, they
are all displayed. This is not always the case now.
(-tile): hack to garantee that all visible columns exist. Should fix
the code that's before instead.
(-doClick:): cleanup; removed drawing of matrix's cells
(-moveLeft:): cleanup; move left from firstResponder instead of from
selectedColumn
(-moveRight:): cleanup; move right from firstResponder instead of from
selectedColumn; removed call to doClick:
(-_performLoadOfColumn:): change _lastColumnLoaded if necessary
2003-08-16 Matt Rice <ratmice@yahoo.com>
* Source/NSDocument.m ([NSDocument -init]): Check the count of the
types array and uses Viewer and Editor NSRoles to set the default
type.
2003-08-13 David Ayers <d.ayers@inode.at>
* Headers/gnustep/gui/*.h/*.h.in: Remove headers moved in header
reorganization on 2003-07-31.
* Headers/Additions/GNUstepGUI/GSVersion.h: Remove generated
file that should have been ignored by entry in .cvsignore.
2003-08-05 Martin Brecher <martin@mb-itconsulting.com>
* Documentation/gopen.1: New file.
* Documentation/GNUmakefile: Install it.
2003-08-10 23:27 Alexander Malmberg <alexander@malmberg.org>
* Headers/Additions/GNUstepGUI/GSFontInfo.h: Add new methods in
GSFontEnumerator that return the default names of some standard
fonts.
* Source/GSFontInfo.m: Implement them.
* Source/NSFont.m: Use them.
2003-08-07 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/GNUmakefile.postamble: Invoke Source/DocMakefile to
clean reference documentation.
2003-08-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Modified NSPopUpButtonCell: -insertItemWithTitle: atIndex:
so that we get our item count after removing a potential
duplicated item value.
2003-08-01 Adam Fedor <fedor@gnu.org>
* Documentation/GNUmakefile.postamble (after-install): Install
gsdoc docs in proper places.
* Source/DocMakefile: Add GuiUser DOCUMENT
* Images/GNUmakefile: Remove obsolete files.
2003-07-31 David Ayers <d.ayers@inode.at>
* Created tag 'pre-header-reorg-20030731'.
* Headers/Additions/GNUstepGUI: New directory.
* Headers/AppKit: Ditto.
* Headers/gnustep/gui: Obsoleted.
* Headers/Additions/GNUstepGUI/GMAppKit.h: Moved here from
Headers/gnustep/gui.
* Headers/Additions/GNUstepGUI/GMArchiver.h: Ditto.
* Headers/Additions/GNUstepGUI/GSDisplayServer.h: Ditto.
* Headers/Additions/GNUstepGUI/GSFontInfo.h: Ditto.
* Headers/Additions/GNUstepGUI/GSFusedSilica.h: Ditto.
* Headers/Additions/GNUstepGUI/GSHbox.h: Ditto.
* Headers/Additions/GNUstepGUI/GSHelpManagerPanel.h: Ditto.
* Headers/Additions/GNUstepGUI/GSHorizontalTypesetter.h: Ditto.
* Headers/Additions/GNUstepGUI/GSInfoPanel.h: Ditto.
* Headers/Additions/GNUstepGUI/GSLayoutManager.h: Ditto.
* Headers/Additions/GNUstepGUI/GSLayoutManager_internal.h: Ditto.
* Headers/Additions/GNUstepGUI/GSMemoryPanel.h: Ditto.
* Headers/Additions/GNUstepGUI/GSMethodTable.h: Ditto.
* Headers/Additions/GNUstepGUI/GSNibTemplates.h: Ditto.
* Headers/Additions/GNUstepGUI/GSPasteboardServer.h: Ditto.
* Headers/Additions/GNUstepGUI/GSServicesManager.h: Ditto.
* Headers/Additions/GNUstepGUI/GSTable.h: Ditto.
* Headers/Additions/GNUstepGUI/GSTextConverter.h: Ditto.
* Headers/Additions/GNUstepGUI/GSTrackingRect.h: Ditto.
* Headers/Additions/GNUstepGUI/GSTypesetter.h: Ditto.
* Headers/Additions/GNUstepGUI/GSVbox.h: Ditto.
* Headers/Additions/GNUstepGUI/GSVersion.h: Ditto.
* Headers/Additions/GNUstepGUI/GSVersion.h.in: Ditto.
* Headers/Additions/GNUstepGUI/IMConnectors.h: Ditto.
* Headers/Additions/GNUstepGUI/IMCustomObject.h: Ditto.
* Headers/Additions/GNUstepGUI/IMLoading.h: Ditto.
* Headers/Additions/GNUstepGUI/.cvsignore: Ditto.
* Headers/AppKit/AppKit.h: Ditto.
* Headers/AppKit/AppKitDefines.h: Ditto.
* Headers/AppKit/AppKitExceptions.h: Ditto.
* Headers/AppKit/DPSOperators.h: Ditto.
* Headers/AppKit/NSActionCell.h: Ditto.
* Headers/AppKit/NSAffineTransform.h: Ditto.
* Headers/AppKit/NSApplication.h: Ditto.
* Headers/AppKit/NSAttributedString.h: Ditto.
* Headers/AppKit/NSBezierPath.h: Ditto.
* Headers/AppKit/NSBitmapImageRep.h: Ditto.
* Headers/AppKit/NSBox.h: Ditto.
* Headers/AppKit/NSBrowser.h: Ditto.
* Headers/AppKit/NSBrowserCell.h: Ditto.
* Headers/AppKit/NSButton.h: Ditto.
* Headers/AppKit/NSButtonCell.h: Ditto.
* Headers/AppKit/NSCachedImageRep.h: Ditto.
* Headers/AppKit/NSCell.h: Ditto.
* Headers/AppKit/NSClipView.h: Ditto.
* Headers/AppKit/NSColor.h: Ditto.
* Headers/AppKit/NSColorList.h: Ditto.
* Headers/AppKit/NSColorPanel.h: Ditto.
* Headers/AppKit/NSColorPicker.h: Ditto.
* Headers/AppKit/NSColorPicking.h: Ditto.
* Headers/AppKit/NSColorWell.h: Ditto.
* Headers/AppKit/NSComboBox.h: Ditto.
* Headers/AppKit/NSComboBoxCell.h: Ditto.
* Headers/AppKit/NSControl.h: Ditto.
* Headers/AppKit/NSCursor.h: Ditto.
* Headers/AppKit/NSCustomImageRep.h: Ditto.
* Headers/AppKit/NSDataLink.h: Ditto.
* Headers/AppKit/NSDataLinkManager.h: Ditto.
* Headers/AppKit/NSDataLinkPanel.h: Ditto.
* Headers/AppKit/NSDocument.h: Ditto.
* Headers/AppKit/NSDocumentController.h: Ditto.
* Headers/AppKit/NSDocumentFrameworkPrivate.h: Ditto.
* Headers/AppKit/NSDragging.h: Ditto.
* Headers/AppKit/NSDrawer.h: Ditto.
* Headers/AppKit/NSEPSImageRep.h: Ditto.
* Headers/AppKit/NSEvent.h: Ditto.
* Headers/AppKit/NSFileWrapper.h: Ditto.
* Headers/AppKit/NSFont.h: Ditto.
* Headers/AppKit/NSFontManager.h: Ditto.
* Headers/AppKit/NSFontPanel.h: Ditto.
* Headers/AppKit/NSForm.h: Ditto.
* Headers/AppKit/NSFormCell.h: Ditto.
* Headers/AppKit/NSGraphics.h: Ditto.
* Headers/AppKit/NSGraphicsContext.h: Ditto.
* Headers/AppKit/NSHelpManager.h: Ditto.
* Headers/AppKit/NSHelpPanel.h: Ditto.
* Headers/AppKit/NSImage.h: Ditto.
* Headers/AppKit/NSImageCell.h: Ditto.
* Headers/AppKit/NSImageRep.h: Ditto.
* Headers/AppKit/NSImageView.h: Ditto.
* Headers/AppKit/NSInputManager.h: Ditto.
* Headers/AppKit/NSInputServer.h: Ditto.
* Headers/AppKit/NSInterfaceStyle.h: Ditto.
* Headers/AppKit/NSLayoutManager.h: Ditto.
* Headers/AppKit/NSMatrix.h: Ditto.
* Headers/AppKit/NSMenu.h: Ditto.
* Headers/AppKit/NSMenuItem.h: Ditto.
* Headers/AppKit/NSMenuItemCell.h: Ditto.
* Headers/AppKit/NSMenuView.h: Ditto.
* Headers/AppKit/NSNibConnector.h: Ditto.
* Headers/AppKit/NSNibDeclarations.h: Ditto.
* Headers/AppKit/NSNibLoading.h: Ditto.
* Headers/AppKit/NSOpenGL.h: Ditto.
* Headers/AppKit/NSOpenGLView.h: Ditto.
* Headers/AppKit/NSOpenPanel.h: Ditto.
* Headers/AppKit/NSOutlineView.h: Ditto.
* Headers/AppKit/NSPageLayout.h: Ditto.
* Headers/AppKit/NSPanel.h: Ditto.
* Headers/AppKit/NSParagraphStyle.h: Ditto.
* Headers/AppKit/NSPasteboard.h: Ditto.
* Headers/AppKit/NSPopUpButton.h: Ditto.
* Headers/AppKit/NSPopUpButtonCell.h: Ditto.
* Headers/AppKit/NSPrintInfo.h: Ditto.
* Headers/AppKit/NSPrintOperation.h: Ditto.
* Headers/AppKit/NSPrintPanel.h: Ditto.
* Headers/AppKit/NSPrinter.h: Ditto.
* Headers/AppKit/NSProgressIndicator.h: Ditto.
* Headers/AppKit/NSResponder.h: Ditto.
* Headers/AppKit/NSRulerMarker.h: Ditto.
* Headers/AppKit/NSRulerView.h: Ditto.
* Headers/AppKit/NSSavePanel.h: Ditto.
* Headers/AppKit/NSScreen.h: Ditto.
* Headers/AppKit/NSScrollView.h: Ditto.
* Headers/AppKit/NSScroller.h: Ditto.
* Headers/AppKit/NSSecureTextField.h: Ditto.
* Headers/AppKit/NSSelection.h: Ditto.
* Headers/AppKit/NSSlider.h: Ditto.
* Headers/AppKit/NSSliderCell.h: Ditto.
* Headers/AppKit/NSSound.h: Ditto.
* Headers/AppKit/NSSpellChecker.h: Ditto.
* Headers/AppKit/NSSpellProtocol.h: Ditto.
* Headers/AppKit/NSSpellServer.h: Ditto.
* Headers/AppKit/NSSplitView.h: Ditto.
* Headers/AppKit/NSStepper.h: Ditto.
* Headers/AppKit/NSStepperCell.h: Ditto.
* Headers/AppKit/NSStringDrawing.h: Ditto.
* Headers/AppKit/NSTabView.h: Ditto.
* Headers/AppKit/NSTabViewItem.h: Ditto.
* Headers/AppKit/NSTableColumn.h: Ditto.
* Headers/AppKit/NSTable* HeaderCell.h: Ditto.
* Headers/AppKit/NSTable* HeaderView.h: Ditto.
* Headers/AppKit/NSTableView.h: Ditto.
* Headers/AppKit/NSText.h: Ditto.
* Headers/AppKit/NSTextAttachment.h: Ditto.
* Headers/AppKit/NSTextContainer.h: Ditto.
* Headers/AppKit/NSTextField.h: Ditto.
* Headers/AppKit/NSTextFieldCell.h: Ditto.
* Headers/AppKit/NSTextStorage.h: Ditto.
* Headers/AppKit/NSTextView.h: Ditto.
* Headers/AppKit/NSToolbar.h: Ditto.
* Headers/AppKit/NSToolbarItem.h: Ditto.
* Headers/AppKit/NSUserInterfaceValidation.h: Ditto.
* Headers/AppKit/NSView.h: Ditto.
* Headers/AppKit/NSWindow.h: Ditto.
* Headers/AppKit/NSWindowController.h: Ditto.
* Headers/AppKit/NSWorkspace.h: Ditto.
* Headers/AppKit/PSOperators.h: Ditto.
* configure.ac: Update to new header structure.
* configure: Regenerated.
* GNUmakefile.postamble: Remove handling of header-links and
update to new header structure.
* Source/GNUmakefile: Update to new header structure.
Install gnustep specific headers in GNUstepGUI by splitting
libgnustep-gui_HEADER_FILES into APPKIT_HEADERS and GUI_HEADERS.
Include CompatibilityHeaders.make makefile fragement.
* Source/GNUmakefile.preamble: Update to new header structure.
* Source/CompatibilityHeaders.make: New file which installs dummy
headers in the place of the old headers, warning about obsoleting
the old location and includeing the header from its new location.
* Source/GNUmakefile.postamble: Install AppKit Headers manually.
* Source/*.[hm]: Update includes for new header structure.
* Source/GSGuiPrivate.h: Moved here from Headers/gnustep/gui.
* Source/GSFusedSilica.h: Ditto.
* Source/nsimage-tiff.h: Ditto.
* Tools/GNUmakefile.preamble: Update to new header structure.
* Tools/example.m: Remove include of config.h.
* ColorPickers/GNUmakefile: Update to new header structure.
* ColorPickers/*.[hm]: Ditto.
* TextConverters/RTF/GNUmakefile.preamble: Update to new header
structure.
* TextConverters/RTF/*.[hm]: Ditto.
* Documentation/gnustep-gui.texi: Update to new header structure.
* Documentation/Gui/Gui.gsdoc: Remmove gnustep additions.
* Documentation/GuiAdditions/.cvsignore: New file.
* Documentation/GuiAdditions/GNUmakefile: Ditto.
* Documentation/GuiAdditions/GuiAdditions.gsdoc: Ditto.
* Model/GNUmakefile: Update to new header structure.
* GNUmakefile.postamble: Ditto.
* Model/*.[hm]: Ditto.
* Resources/GNUmakefile: Update to new header structure.
* Source/DocMakefile: Update to new header structure.
Added GuiAdditions to DOCUMENT_NAME.
Split AUTOGSDOC_HEADERS into AUTOGSDOC_HEADERS_GUI and
AUTOGSDOC_HEADERS_GUIADD.
2003-07-31 Michael Hanni <mhanni@yahoo.com>
* Source/NSBrowserCell.m (drawInteriorWithFrame:inView:): Remove
unnecessary code to set the background of an image.
* Source/NSButtonCell.m: ditto.
* Source/NSMenuItemCell.m: remove usage of system image
"common_3DArrowRightH" as it is unneeded.
(drawImageWithFrame:inView:): remove unnecessary code to set the
background of an image.
(drawKeyEquivalentWithFrame:inView:): ditto.
(drawStateImageWithFrame:inView:): ditto.
* Source/NSScroller.m: remove usage of system images
(common_ArrowUpH, common_ArrowDownH, common_ArrowLeftH,
common_ArrowRightH) as they are unnecessary.
(drawParts): reset HighlightsBy: code for all the cells, remove
all the alternate images.
* Source/NSTableHeaderCell.m (drawInteriorWithFrame:inView:):
remove unnecessary call to set the background of an image.
* Images/(common_ArrowUpH, common_ArrowDownH, common_ArrowLeftH,
common_ArrowRightH).tiff: removed.
2003-07-31 Yen-Ju Chen <yjchenx@hotmail.com>
* Documentation/Gui/LanguageSetup.gsdoc: Updated.
2003-07-27 17:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSColor.m (+colorFromString:): Use NSScanner instead of
sscanf to avoid problems on non-c locales.
(initSystemColors): Make the creation of the system color list
more robust. If entries are missing, add them.
2003-07-26 18:50 Alexander Malmberg <alexander@malmberg.org>
* Source/NSView.m, Source/NSWindow.m: Make drawing debug logging
more detailed.
2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
* Panel/English.proj/GSPageLayout.gorm/objects.gorm
* Panel/English.proj/GSPrintPanel.gorm/objects.gorm
Made all buttons non-continuous.
2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSTableView.h
Added new ivar _action.
* Source/NSTableView.m
Implemented methods [action] and [setAction:].
2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
* Tools/gopen.m
The option -a no longer starts the provided applciation
directly, but uses this application to open the specified files.
2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSColorPicker.m
Autorelease image returned by [provideNewButtonImage].
* Source/NSColorPanel.m
* ColorPickers/GSStandardColorPicker.m
In [_setupPickers] release cell array.
* ColorPickers/GSNamedColorPicker.m
Now basically working.
* ColorPickers/GSNamedColorPicker.tiff
Removed background of image.
* ColorPickers/GNUmakefile
Activate GSNamedColorPicker.
2003-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSApplication.m: Use NSInvocation to perform actions, so
we can handle cases where the action method returns a non-id or
misses an argument.
* Source/NSResponder.m: ditto
2003-07-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImage.m
In [initWithIconHandle:] and [initWithBitmapHandle:] release the
new bitmap image representation after adding it to the array.
* Source/NSBitmapImageRep.m
In [_initFromTIFFImage:number:] free the info returned by
NSTiffGetInfo().
* Source/NSTableView.m
In [sizeToFit] free isResizable.
* Source/GSMemoryPanel.m
In [update:] free the list returned by GSDebugAllocationClassList().
2003-07-24 Adam Fedor <fedor@gnu.org>
* configure.ac: Fix setting ADDITIONAL_INCLUDE_... in
audiofile section.
2003-07-23 Gregory John Casamento <greg_casamento@yahoo.com>
* Panels/GSSpellPanel.gorm: Added to replace old .gmodel
* Source/NSSpellChecker.m: Updated to use .gorm file.
2003-07-23 Adam Fedor <fedor@gnu.org>
* Version 0.8.8
2003-07-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/DocMakefile: only remove directory containing 'stamp' for
clean.
2003-07-23 22:23 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSResponder.h: Make _menu private.
* Headers/gnustep/gui/NSMenuView.h: Add _attachedMenu ivar.
* Source/NSMenuView.m: Use it.
2003-07-22 Adam Fedor <fedor@gnu.org>
* Source/NSOpenGLView.m ([NSOpenGLView -initWithFrame:]): Implemented
(Patch from Damien Genet).
2003-07-22 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/GNUmakefile.postamble: Tweak for make update.
* Source/DocMakefile: ditto
* Headers/gnustep/gui/NSLayoutManager.h: documentation tweaks.
* Headers/gnustep/gui/NSRulerMarker.h: ditto
* Headers/gnustep/gui/NSText.h: ditto
* Headers/gnustep/gui/NSTextContainer.h: ditto
* Source/NSLayoutManager.m: ditto
* Source/NSPopUpButtonCell.m: ditto
* Source/NSTextContainer.m: ditto
* Source/NSWorkspace.m: ditto
* Source/NSFont.m: ditto
* Source/NSOpenPanel.m: ditto
* Source/NSPasteboard.m: ditto
* Source/NSView.m: ditto
* Source/NSBezierPath.m: ditto
* Source/NSGraphicsContext.m: ditto
* Headers/gnustep/gui/NSBezierPath.h: ditto
* Headers/gnustep/gui/NSMenu.h: ditto
2003-07-22 Andrew Ruder <aeruder@ksu.edu>
* Source/NSWindow.m: Fix potential (unlikely) leak
* Source/NSCursor.m: Fix memory leak;
* Source/NSResponder.m: Fix memory leak;
* Source/NSPrintPanel.m: Fix memory leak;
2003-07-21 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
* Documentation/Gui/LanguageSetup.gsdoc: Update.
2003-07-21 Andrew Ruder <aeruder@ksu.edu>
* Source/NSBundleAdditions.m: Fix memory leaks.
2003-07-21 Andrew Ruder <aeruder@ksu.edu>
* Source/GSMemoryPanel.m: Add dealloc method
* Source/NSOutlineView.m: Efficiency tweak.
* Headers/AppKit/NSComboBoxCell.h:Fix misplaced semicolon
* Source/NSSelection.m: Fix memory leak
* Source/NSComboBoxCell.m: Fix misplaced semicolon.
* Source/NSPageLayout.m: Fix memory leak.
* Source/NSMenuView.m: Fix memory leak.
* Source/NSToolbar.m: Fix memory leak and tidy
* Source/GSServicesManager.m: Clarify retain/release of timer.
2003-07-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileWrapper.m: Tidy initialisation and fix leak in
dealloc.
* Source/NSTextAttachment.m: ditto.
* Source/NSGraphicsContext.m: Memory leak fixes (suggested by Andrew
Ruder) and initialisation tidyups.
* Source/NSInputManager.m: ditto
* Source/NSOpenPanel.m: ditto
* Source/NSDocument.m: minor tidyup in init and add some documentation
* Source/NSDocumentController.m: add some documentation
2003-07-19 Adam Fedor <fedor@gnu.org>
* GNUmakefile: Build Documentation if doc=yes (yes by default).
* Tools/gsnd/GNUmakefile.postamble: Linke in pthreads if not
already linked in (non-mingw targets only).
* Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: On OpenBSD
include soundcard.h.
* Panels/English.proj: Replace GSPageLayout.gorm and
GSPrintPanel.gorm with updated GOrm dirs. Make Options button
non-continuous.
* Panels/GNUmakefile.postamble (after-install): Install the
gorm dirs.
2003-07-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPopUpButtonCell.m
Added methods [init], [objectValue], [setObjectValue:],
[setImage:]. In [initTextCell:pullsDown:] create the menu first,
so that the first item gets entered to it. In [setPullsDown:] and
[setAltersStateOfSelectedItem] set the values that depend on these
flags. In [insertItemWithTitle:atIndex:] remove duplicates.
[selectItem:] the used image now depends on the arrow
position. Removed [drawWithFrame:inView:] and rewrote
[drawInteriorWithFrame:inView:].
2003-07-18 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSControl.h
* Source/NSControl.m
New MacOSX methods [formatter], [setFormatter:],
[attributedStringValue], [setAttributedStringValue:].
2003-07-16 Adam Fedor <fedor@gnu.org>
* Documentation/Gui/LanguageSetup.gsdoc: Updated with changes from
Yen-Ju Chen and (Kazunobu Kuriyama.)
2003-07-16 Fred Kiefer <FredKiefer@gmx.de>
* TextConverters/RTF/rtfGrammer.y
Free the name for RTFOtherStatement.
* TextConverters/RTF/rtfGrammer.tab.c
Regenerated.
2003-07-15 Fred Kiefer <FredKiefer@gmx.de>
* TextConverters/RTF/RTFConsumerFunctions.h
Added function GSRTFunicode().
* TextConverters/RTF/RTFConsumer.m
Added method [RTFConsumer appendString:] with code coming from
GSRTFmangleText(). Use this in GSRTFmangleText() and new function
GSRTFunicode(). Corrected GSRTFmangleText() to convert the input
from NSISOLatin1StringEncoding, as this is what our current RTF
exporter produces.
* TextConverters/RTF/rtfScanner.c
Define RTFunichar token.
* TextConverters/RTF/rtfGrammer.y
Added rule to read unicode character from RTF input.
* TextConverters/RTF/rtfGrammer.tab.c
* TextConverters/RTF/rtfGrammer.tab.h
Regenerated.
2003-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/gnustep/gui/GSServicesManager.h: removed a function
* Headers/gnustep/gui/NSApplication.h: and added it here so it's
public. Also fixed some argument name missmatches.
* Source/GSServicesManager.m: Some fixes for recent changes to
DO in base library ... also make listener even safer.
* Source/NSPasteboard.m: Improve documentation and change pasteboards
to always be sent over DO bycopy.
* Tools/example.m: Set error response to nil when there is no error.
2003-07-12 18:20 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m: Add
-_updateInputMethodState and -_updateInputMethodWithInsertionPoint:
methods. Call them in suitable places. Minor cleanups in comments.
2003-07-12 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSMatrix.m: -[NSMatrix keyCell] failed to check if the
_cells array is initialized before accessing it. This was causing
a core dump when unarchiving.
2003-07-10 03:37 Alexander Malmberg <alexander@malmberg.org>
* Source/NSStringDrawing.m, Source/NSTextView.m: Adjust "really large"
sizes to ensure accuracy to a whole point.
2003-07-10 Benhur Stein <benhur@inf.ufsm.br>
* Source/NSSavePanel.m: added new private method
_compareFilename:with:. Use it in _selectCellName:.
In [-browser:createRowsForColumn:inMatrix:]: use self as context to
sortedArrayUsingFunction:context:
* Source/NSOpenPanel.m (-_selectCellName:): use new [NSSavePanel
_compareFilename:with:] method.
* This fixes bug #4255
2003-07-05 Adam Fedor <fedor@gnu.org>
* configure.ac: Add openbsd flags like freebsd.
* Documentation/Gui/DefaultsSummary.gsdoc: Move backend defaults
to back/Documentation/Back/DefaultsSummary.gsdoc.
2003-07-05 18:02 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m
(-textStorage:edited:range:changeInLength:invalidatedRange:): Improve
behavior of the adjustments to the selected range.
2003-07-05 17:20 Alexander Malmberg <alexander@malmberg.org>
* Source/NSAttributedString.m (-fixParagraphStyleAttributeInRange:):
Handle paragraphs with a paragraph style set for a part of it but
not the first character correctly.
* Source/NSFont.m (getNSFont): Retain/autorelease when returning a
cached instance to make the retain status of the instance correct.
2003-07-05 16:07 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFont.m (-initWithCoder:): Make sure that the returned
font has a correct retain count on all paths.
2003-07-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPasteboard.m: Add code to set protocols for proxy objects.
and dum my class implementations to let protocols work with old
compilers.
* Headers/AppKit/GSPasteboard.h: Add missing method of owner.
2003-07-03 01:43 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFont.m (getNSFont): Only update the cache when the font
has the default size.
2003-07-02 16:38 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFont.m: (Mostly) rewrite handling of standard fonts to
provide better behavior, especially when only some fonts are set in
the defaults. Updated documentation.
2003-07-01 Serg Stoyan <stoyan@hologr.com>
* Source/NSBrowser.m (_createColumn):
Set border type of column's scroll view according to
_separateColumns flag.
2003-06-29 20:15 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWorkspace.m (-launchApplication:showIcon:autolaunch:):
Add a missing '@'.
2003-06-29 17:37 Alexander Malmberg <alexander@malmberg.org>
* Source/NSStringDrawing.m (-drawAtPoint:, -drawAtRect:, -size):
Automatically turn off screen fonts in the layout manager if the
ctm for the current context isn't the identity matrix (possibly
flipped vertically).
2003-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/make_services.m: Alter format of filter info.
* Tools/example.m: Added an example filter.
* Tools/md5Digest.m: Example filter user.
* Source/GSServicesManager.m: tweak for filters.
* Source/NSPasteboard.m: more documentation
2003-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPasteboard.m: Documented all methods, fixed minor bugs
writing fiels to pastebaords, implemented ([+typesFilterableTo:])
wrote (partial implementation ...) the unimplemented filters stuff.
* Source/GSServicesManager.m: helpers for filters.
* Headers/AppKit/GSPasteboard.h: Removed unused methods, added
documentation.
2003-06-26 Ludovic Marcotte <ludovic@Sophos.ca>
* Fixed the transparency of Images/common_ret.tiff
* Source/NSOutlineView (-setDataSource:) Modified to allow
a nil data source.
2003-06-26 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/GSLayoutManager.h
Changed ivars cached_pos and cached_cpos to unsigned.
* Headers/gnustep/gui/GSLayoutManager_internal.h
Changed element char_offset of structure glyph_t to unsigned.
* Source/GSLayoutManager.m (_glyphDumpRuns,
helpers::generateRunsToCharacter:,
helpers::generateGlyphsUpToCharacter:,
helpers::generateGlyphsUpToGlyph:,
helpers::glyphForCharacter:index:positions::, getGlyphs:range:,
characterRangeForGlyphRange:actualGlyphRange:,
glyphRangeForCharacterRange:actualCharacterRange:,
invalidateGlyphsForCharacterRange:changeInLength:actualCharacterRange:,
insertTextContainer:atIndex:):
Removed compiler warning about signed/unsigned comparision.
2003-06-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImage.m (initWithPasteboard:):
* Source/NSView.m (dragFile:fromRect:slideBack:event:):
Corrected handling of pasteboard data of type NSFilenamesPboardType.
2003-06-24 01:05 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTabViewItem.m (-drawLabel:inRect:): Update for change
in the behavior of -drawAtPoint:. Use -drawInRect: instead.
2003-06-23 19:03 Alexander Malmberg <alexander@malmberg.org>
* Source/NSStringDrawing.m (-drawAtPoint:): Place the text correctly
when the view isn't flipped.
2003-06-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPanel.m
Commented out unused variables WTitleHeight, ScrollMinSize,
MessageMinHeight.
* Source/NSTabView.m (selectNextTabViewItem:):
* Source/NSTableView.m (selectAll:):
* Source/NSTextStorage.m (edited:range:changeInLength:,
processEditing):
* Source/GSTextStorage.m (replaceCharactersInRange:withString:)
* Source/tiff.m (NSTIFFRead, NSTIFFWrite, CheckAndCorrectColormap):
* Source/GSTable.m (_updateForNewFrameSize:)
* Source/NSTextView.m (changeFont:):
Removed compiler warning about signed/unsigned comparision.
* Source/GSHorizontalTypesetter.m
Changed element char_index of structure glyph_cache_t to unsigned.
2003-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.m: Implement autolaunch flag and add
documentation describing hwo GNUstep and MacOS-X actually
handle launching ... hopefully more clearly than the
somewhat misleading MacOS-X documentation.
2003-06-22 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSInputManager.h
Changed ivar _abortFlags to unsigned. Changed all modifier
parameters to unsigned.
* Source/NSInputManager.m (initWithName:host:):
Removed compiler warning about signed/unsigned comparision.
Adopted to changes in header.
* Headers/gnustep/gui/GSLayoutManager.h
Changed ivars layout_glyph and layout_char to unsigned.
* Headers/gnustep/gui/GSLayoutManager_internal.h
Changed elements glyph_length and char_length of structure
glyph_run_head_t to unsigned.
* Source/NSLayoutManager.m
(rectArrayForGlyphRange:...rectCount:,
glyphRangeForBoundingRect:inTextContainer:,
_insertionPointRectForCharacterIndex:textContainer:):
Removed compiler warning about signed/unsigned comparision.
* Source/NSMatrix.m (selectAll:)
Removed compiler warning about signed/unsigned comparision.
* Source/NSPageLayout.m (initWithContentRect:...screen:, readPrintInfo)
Removed compiler warning about signed/unsigned comparision.
* Headers/gnustep/gui/NSPopUpButtonCell.h
Changed ivar _selectedItem to type (id <NSMenuItem>).
* Source/NSPopUpButtonCell.m (insertItemWithTitle:atIndex:,
selectItemAtIndex:, selectItemWithTitle:, setTitle:)
Corrected type of local variable.
* Source/NSPrintInfo.m
In [+initPrintInfoDefaults] initialize variable printer with nil.
* Source/NSPrintOperation.m (_print)
Removed compiler warning about signed/unsigned comparision.
* Source/NSPrintPanel.m
Added missing include for GSGuiPrivate.h.
(initWithContentRect:...screen:, updateFromPrintInfo)
Removed compiler warning about signed/unsigned comparision.
2003-06-21 Adam Fedor <fedor@gnu.org>
* Source/NSOutlineView.m ([NSOutlineView -drawRow:clipRect:]):
Add delegate method call. Patch from Yen-Ju Chen
* Source/NSView.m (-menuForEvent:): Add note about this
method being discouraged.
2003-06-20 Adam Fedor <fedor@gnu.org>
* Source/NSFont.m ([NSFont -initWithCoder:]): Use NSFont not isa
to call class methods.
2003-06-20 Adam Fedor <fedor@gnu.org>
* Source/DocMakefile (after-all): Check if Gui exists before
removing.
2003-06-20 Adam Fedor <fedor@gnu.org>
* Version 0.8.7
2003-06-21 David Ayers <d.ayers@inode.at>
* PrinterTypes/GNUmakefile.postamble: Add -f option to rm in
uninstall of resource files.
2003-06-17 Adam Fedor <fedor@gnu.org>
* GNUmakefile (SUBPROJECTS): Add Documentation
2003-06-17 Adam Fedor <fedor@gnu.org>
* Source/NSDocumentController.m: Add GSGuiPrivate header for
localization.
* Source/NSSavePanel.m: Idem.
2003-06-17 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/GSDisplayServer.h
Changes style parameter of [stylewindow:style:] and
[styleoffsets:::::] to unsigned, to be consistent with the other
style methods.
* Source/GSDisplayServer.m
Adopted to changes in header.
2003-06-15 16:26 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m: Use NSIsEmptyRect instead of
comparing for equality with NSZeroRect.
(-layoutLineNewParagraph:): Handle text containers with no area.
2003-06-15 14:57 Alexander Malmberg <alexander@malmberg.org>
* configure.ac: Don't add GNUSTEP_HDIR/GNUSTEP_LDIR to
ADDITIONAL_INCLUDE_DIRS/ADDITIONAL_LIB_DIRS.
configure: Regenerate.
2003-06-15 02:35 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSNibTemplates.h, Source/NSBundleAdditions.m:
Remove unused GSFontProxy class.
2003-06-08 David Ayers <d.ayers@inode.at>
* Headers/gnustep/gui/IMConnectors.h: Change syntax of include <>
to "" for local headers. Change base/ to gnustep/base/ in
includes. Change AppKit/GSFiles.h to gnustep
gnustep/gui/GSFiles.h includes.
* Source/Functions.m, Source/GSDisplayServer.m, Source/GSFontInfo.m,
Source/GSFusedSilica.m, Source/GSFusedSilicaContext.m,
Source/GSHbox.m, Source/GSHelpManagerPanel.m,
Source/GSInfoPanel.m, Source/GSKeyBindingAction.m,
Source/GSKeyBindingTable.m, Source/GSLayoutManager.m,
Source/GSMemoryPanel.m, Source/GSServicesManager.m,
Source/GSSimpleLayoutManager.m, Source/GSSlideView.h
Source/GSSlideView.m, Source/GSTable.m, Source/GSTextStorage.h
Source/GSTextStorage.m, Source/GSTrackingRect.m,
Source/GSTypesetter.m, Source/GSVbox.m, Source/NSActionCell.m,
Source/NSAffineTransform.m, Source/NSApplication.m,
Source/NSAttributedString.m, Source/NSBezierPath.m,
Source/NSBitmapImageRep.m, Source/NSBox.m, Source/NSBrowser.m,
Source/NSBrowserCell.m, Source/NSBundleAdditions.m,
Source/NSButton.m, Source/NSButtonCell.m,
Source/NSCachedImageRep.m, Source/NSCell.m, Source/NSClipView.m,
Source/NSColor.m, Source/NSColorList.m, Source/NSColorPanel.m,
Source/NSColorPicker.m, Source/NSColorWell.m,
Source/NSComboBox.m, Source/NSComboBoxCell.m, Source/NSControl.m,
Source/NSCursor.m, Source/NSCustomImageRep.m,
Source/NSDataLink.m, Source/NSDataLinkManager.m,
Source/NSDataLinkPanel.m, Source/NSDocument.m,
Source/NSDocumentController.m, Source/NSDrawer.m,
Source/NSEPSImageRep.m, Source/NSEvent.m, Source/NSFileWrapper.m,
Source/NSFont.m, Source/NSFontManager.m, Source/NSFontPanel.m,
Source/NSForm.m, Source/NSFormCell.m, Source/NSGraphicsContext.m,
Source/NSHelpManager.m, Source/NSHelpPanel.m, Source/NSImage.m,
Source/NSImageCell.m, Source/NSImageRep.m, Source/NSImageView.m,
Source/NSInputManager.m, Source/NSInputServer.m,
Source/NSInterfaceStyle.m, Source/NSLayoutManager.m,
Source/NSMatrix.m, Source/NSMenu.m, Source/NSMenuItem.m,
Source/NSMenuItemCell.m, Source/NSMenuView.m,
Source/NSOpenGLContext.m, Source/NSOpenGLPixelFormat.m,
Source/NSOpenGLView.m, Source/NSOpenPanel.m,
Source/NSOutlineView.m, Source/NSPageLayout.m, Source/NSPanel.m,
Source/NSParagraphStyle.m, Source/NSPasteboard.m,
Source/NSPopUpButton.m, Source/NSPopUpButtonCell.m,
Source/NSPrintInfo.m, Source/NSPrintOperation.m,
Source/NSPrintPanel.m, Source/NSPrinter.m,
Source/NSProgressIndicator.m, Source/NSResponder.m,
Source/NSRulerMarker.m, Source/NSRulerView.m,
Source/NSSavePanel.m, Source/NSScreen.m, Source/NSScrollView.m,
Source/NSScroller.m, Source/NSSecureTextField.m,
Source/NSSelection.m, Source/NSSlider.m, Source/NSSliderCell.m,
Source/NSSound.m, Source/NSSpellChecker.m,
Source/NSSpellServer.m, Source/NSSplitView.m, Source/NSStepper.m,
Source/NSStepperCell.m, Source/NSStringDrawing.m,
Source/NSTabView.m, Source/NSTabViewItem.m,
Source/NSStepperCell.m, Source/NSStringDrawing.m,
Source/NSTabView.m, Source/NSTabViewItem.m,
Source/NSTableColumn.m, Source/NSTableHeaderCell.m,
Source/NSTableHeaderView.m, Source/NSTableView.m,
Source/NSText.m, Source/NSTextAttachment.m,
Source/NSTextContainer.m, Source/NSTextField.m,
Source/NSTextFieldCell.m, Source/NSTextStorage.m,
Source/NSTextView.m, Source/NSTextView_actions.m,
Source/NSToolbar.m, Source/NSToolbarItem.m, Source/NSView.m,
Source/NSWindow.m, Source/NSWindowController.m,
Source/NSWorkspace.m, Source/externs.m, Source/linking.m,
Source/tiff.m: Ditto.
2003-06-08 Kazunobu Kuriyama <kazunobu.kuriyama@nifty.com>
* configure.ac: Add --with-audiofile-include and --with-audiofile
-library options
2003-06-11 Dirk Latterman <dlatt@alqualonde.de>
* Source/NSActionCell.m (-setObjectValue:): Implemented.
2003-06-11 15:34 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSFontInfo.h, Source/GSFontInfo.m: Add
-appendBezierPathWithGlyphs:count:toBezierPath: method.
* Source/NSBezierPath.m: Use it to implement the glyph methods.
2003-06-09 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/gnustep/gui/NSDataLinkPanel.h: Added ivar declarations
for the data link panel.
* Source/NSDataLinkPanel.m: Added some implementations for panel
methods.
* Source/NSDataLinkManager.m: Manages the data links for an
application.
added implementation for some methods.
* Headers/gnustep/gui/NSFontPanel.h: Added topView and bottomView
and sizes for use by accessory view code.
* Source/NSFontPanel.m: Added implementation for _getOriginalSize
and also for sertAccessoryView. Previously the setAccessoryView
method was causing the accessory view to overlay the content view
of the window.
* Panels/GNUmakefile: added GSDataLinkPanel.gorm in the makefile.
* Source/NSBundleAdditions.m: Skeletal implementation of GSObjectData
class.
2003-06-09 Alexander Malmberg <alexander@malmberg.org>
committed by: Gregory Casamento <greg_casamento@yahoo.com>
* Headers/gnustep/gui/NSFont.h: Added ivar to hold font role
to represent preferred fonts (e.g. system, user, & tooltip fonts)
* Source/NSFont.m: Added roles and modified code to properly encode
and decode fonts such that an intelligent default is selected if the
specified font is unavailable and also unarchives as the correct
preferred font if one of the predefined roles is selected.
2003-06-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep.m
In [initWithBitmapDataPlanes:...bitsPerPixel:],
[getBitmapDataPlanes:] and [copyWithZone:] changed type of i
to unsigned int.
* Source/NSBrowser.m (-setPath:, pathToColumn:, -addColumn):
Removed compiler warning about signed/unsigned comparision.
* Source/NSComboBoxCell.m (-completedString:): ditto.
* Source/NSFontPanel.m (-setPanelFont:isMultiple:,
-_trySelectSize:, -_familySelectionChanged:, -browser:...column:)
: ditto
* Source/NSFontmanager.m (-availableFonts,
-availableFontNamesWithTraits:, -availableMembersOfFontFamily:,
-convertFont:, convertWeight:ofFont:,
-fontWithFamily:traits:weight:size:, -fontNamed:hasTraits:): ditto.
[setSelectedFont:isMultiple:] and [fontMenu:] changed menuItem to
type (id <NSMenuItem>).
2003-06-05 16:42 Alexander Malmberg <alexander@malmberg.org>
* Source/NSMenu.m: Check the types of all defaults values before
using them.
2003-06-05 Adam Fedor <fedor@gnu.org>
* GMAppKit.m (-initWithModelUnarchiver:): #ifdef out ivar assignment
when compiling nib2gmodel.
2003-06-04 23:02 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m (-_setupTextWithFrame:inView:editor:): Use a (much)
larger maximum size for the field editor.
2003-05-26 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (gsapp_user_bundles): New function
(-_init): Use it.
* Documentation/Gui/DefaultsSummary.gsdoc: Update.
2003-05-25 Adam Fedor <fedor@gnu.org>
* Version 0.8.6
2003-05-22 18:07 Alexander Malmberg <alexander@malmberg.org>
* Tools/make_services (addExtensionsForApplication): Parse
NSExtensions dictionary correctly. Based on patch from Jeff
Teunissen.
2003-05-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSFontPanel.m
[_familySelectionChanged:] removed unused local variable.
* Headers/gnustep/gui/NSWorkspace.h
Added new MacOSX methods.
* Source/NSWorkspace.m
Basic implemention of [activeApplication] and [launchedApplications].
* Source/NSApplication.m
In [finishLaunching] and [replyToApplicationShouldTerminate:] use
[NSWorkspace activeApplication] to get application information.
2003-05-20 22:50 Alexander Malmberg <alexander@malmberg.org>
* Tools/make_services.m (scanDynamic): Skip anything with a .service
extension.
2003-05-18 00:00 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/DPSOperators.h,
Headers/gnustep/gui/PSOperators.h,
Headers/gnustep/gui/GSMethodTable.h,
Headers/gnustep/gui/NSGraphicsContext.h, Source/NSGraphicsContext.m:
Add shfill operator.
2003-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInfoPanel.m: Draw authors in the order they occur in
the info.plist
2003-05-14 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m
(-setFont:): Set cell height at least to 20 pixels.
2003-05-13 20:19 Alexander Malmberg <alexander@malmberg.org>
* Source/NSButton.m (-setState:, -setNextState): Mark the view
as needing display, don't force a display.
* Source/NSWindow.m (-_terminateBackendWindow): Set _windowNum to 0
so the window will be recreated the next time it is needed.
2003-05-12 17:30 Alexander Malmberg <alexander@malmberg.org>
* Source/NSView.m (-lockFocusInRect:): Don't save the clipping path
in the gstate if one is allocated since it depends on the rectangle
focus is locked in.
2003-05-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.m: Add support for generic application icon.
Reduce private method name pollution a little.
* Images/common_UnknownApplication.tiff: copied from WM ...
* Images/common_UnknownTool.tiff: similar image for unix cmd-line
tools.
* Source/NSApplication.m: Add some user info to the launch
notification (provided by urbanek@host.sk).
2003-05-05 Michael Hanni <michael@deviant-behavior.com>
* Source/NSTabView.m: implemented
selectTabViewItemWithIdentifier:.
2003-05-05 22:48 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m,
Source/GSHorizontalTypesetter.m: Detect and handle gaps in the soft
invalidated layout information.
2003-05-02 Adam Fedor <fedor@gnu.org>
* Documentation/Gui/GNUmakefile: Remove GNUSTEP_MAKEFILES.
* Source/DocMakefile: Idem.
2003-05-02 Fred Kiefer <FredKiefer@gmx.de>
* TextConverters/RTF/RTFProducer.h
* TextConverters/RTF/RTFProducer.m
New implemtation by Axel "Mikesch" Katerbau (axel@objectpark.org)
with small changes from me. RTF output now support much more
attributes and even Unicode characters.
* Source/NSBezierPath.m
Moved code from [bezierPathWithOvalInRect:] and
[bezierPathWithRect:] to [appendBezierPathWithOvalInRect:] and
[appendBezierPathWithRect:] and implemented the former with a call
to the later.
Preliminary implemetation for [appendBezierPathWithGlyph:inFont:]
and [appendBezierPathWithGlyphs:count:inFont:].
* Source/NSFont.m:
Preliminary implemetation for NSConvertGlyphsToPackedGlyphs().
2003-05-01 21:48 Alexander Malmberg <alexander@malmberg.org>
* Source/NSScroller.m (-acceptsFirstResponder): Implement to
return NO.
2003-05-01 20:02 Alexander Malmberg <alexander@malmberg.org>
* Source/NSInputManager.m (-loadBindingsWithName:): Update for file
system layout changes.
* Source/NSTextView.m (-drawRect:): Draw the background correctly.
2003-04-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScrollView.m: ([scrollWheel:]) enable horizontal scrolling
with shift key.
2003-04-28 18:35 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSTextContainer.h: Documented.
* Source/NSTextContainer.m: Cleanups.
Mon Apr 28 13:14:15 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m ([NSApplication -targetForAction:]): If this
is a document-based application, check if the key window's document
responds to the action; if it does, use it.
2003-04-28 Nicola Pero <nicola@nicola.brainstorm.co.uk>
* Resources/GNUmakefile
(gui-resources_RESOURCE_FILES_INSTALL_DIR): Define using the full
relative path.
2003-04-27 Adam Fedor <fedor@gnu.org>
* Source/GSServicesManager.m (+newWithApplication:) Change
Services to Library/Services.
* Source/NSWorkspace.m (+initilize): Idem.
* Tools/make_services.m (main): Idem.
2003-04-27 Adam Fedor <fedor@gnu.org>
* Updates for filesystem change.
* GNUmakefile (GNUSTEP_MAKEFILES): Remove
* ColorPickers/GNUmakefile, Documentation/GNUmakefile,
Images/GNUmakefile, KeyBindings/GNUmakefile, Model/GNUmakefile,
Panels/GNUmakefile, Panels/GNUmakefile.postamble,
PrinterTypes/GNUmakefile, PrinterTypes/GNUmakefile.postamble,
Source/GNUmakefile, TextConverters/GNUmakefile, Tools/GNUmakefile:
Idem and update install locations.
* Resources/GNUmakefile: Update for change in resource-set.make
* configure.ac: Replace $GNUSTEP_SYSTEM_ROOT/Makefiles with
$GNUSTEP_MAKEFILES. Replace Libraries with Library/Libraries.
Replace Headers with Library/Headers.
* Source/NSImage.m (+initialize, +imageNamed:): Use
+pathForLibraryResource:ofType:inDirectory.
* Source/NSPrintInfo (+initPrintInfoDefaults): Idem.
* Source/NSPrinter.m (getFile): Idem.
* Source/NSSound.m (+initialize, +soundNamed:): Idem.
* Source/NSView.m (-_loadPrinterProlog): Idem.
* Source/NSPageLayout.m
(-initWithContentRect:styleMask:backing:defer:screen:): Use
GSGuiBundle to get resources.
* Source/NSPrintPanel.m
( -initWithContentRect:styleMask:backing:defer:screen:): Idem.
* Source/NSSpellChecker.m ([NSSpellChecker -init]): Idem.
2003-04-27 Michael Hanni <michael@deviant-behavior.com>
* Source/NSPopUpButtonCell.m (drawWithFrame:inView:): added a call
to the NSMenuItemCell's calcSize method to place the image
correctly when we are making a temp item. Fixes regression
prompted by changes on 2003-04-17.
2003-04-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSFontInfo.m
Removed creation of fontDictionary from [init] method. This now
gets done on demand in [afmDictionary].
* Source/NSFontPanel.m:
[_familySelectionChanged:] made the call to [_trySelectSize:]
safer against none existing fonts. This used to result in a NaN
being displayed as font size.
2003-04-25 Benhur Stein <benhur@inf.ufsm.br>
* Source/NSRulerView.m:
Removed unused macro BASE_LINE_LOCATION.
(setMeasurementUnits:, setClientView:, setOriginOffset:): Add call
to invalidateHashMarks, remove call to setNeedsDisplay:.
(invalidateHashMarks): Add call to setNeedsDisplay:.
(drawHashMarksAndLabelsInRect:): Changed calculation of location
of zero hash mark. Changed use of _zeroLocation ivar into
zeroLocation local variable. Limited display of hashs and
marks to baseline.
* Headers/gnustep/gui/NSRulerView.h: Renamed unused ivar
_zeroLocation to _UNUSED.
2003-04-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSControl.m
Removed [becomeFirstResponder] and [resignFirstResponder] as the
handling of [showFirstResponder] is still unclear.
* Source/NSMenuView.m
Moved the computation of the cell size into the method [setFont:]
and use this in [init]. Added call to [setNeedsSizing:] in
[setHorizontalEdgePadding:]. In [locationForSubmenu:] check for
the interface style of the submenu. Also cleaned up up coding
style and comments in the whole file.
* Headers/gnustep/gui/NSParagraphStyle.h
Added new ivar and methods from MacOSX to handle writing directions.
* Source/NSParagraphStyle.m
Implemented handling of writing directions. These are needed for the
upcoming new RTFProducer.
2003-04-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([setFrameFromString:]) try to adjust sensibly
for changes to screen size.
([constrainFrameRect:toScreen:]) bugfix for positioning when the
window origin is negative.
* Tools/make_services.m: Ignore illegal (null) file extension spec.
2003-04-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPanel.m
Use controlBackgroundColor instead of lightGrayColor. Patch by Matt
Rice (matt@vespertine.pc.ashlandfiber.net).
* Headers/gnustep/gui/NSGraphics.h
* Source/externs.m
Added NSPatternColorSpace.
* Source/NSColor.m
[GSPatternColor colorSpaceName] uses NSPatternColorSpace.
Corrected [blendedColorWithFraction:ofColor:], where self and aColor
where exchanged and alpha handling was missing.
* Source/NSWindow.m
Removed unused local variable in [sendEvent:].
* Source/NSSliderCell.m
Basic implementation of the tick mark methods. Added en-/decoding
for tick marks. [setKnobThickness:], [setNumberOfTickMarks:] and
[setTickMarkPosition:] now update the control.
2003-04-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSavePanel.m: Track window resizing and adjust browser
columns to match. Use larger minimum width.
2003-04-21 Serg Stoyan <stoyan@hologr.com>
* Source/NSMenuView.m:
(mouseDown:): Generate periodic events every 0.01 seconds.
2003-04-17 Serg Stoyan <stoyan@hologr.com>
* Source/NSMenuItemCell.m:
(setMenuView:): Removed setting image position and
_mcell_belongs_to_popupbutton ivar for popup button cell.
(calcSize): Removed code from setMenuView placed here.
2003-04-13 Michael Hanni <michael@deviant-behavior.com>
* Images/common_WMCloseBroken.tiff,common_WMClose.tiff: remove
background of image.
Mon Apr 14 14:24:27 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/AppKit.h: Include NSDocument.h
2003-04-14 Serg Stoyan <stoyan@hologr.com>
* Source/NSApplication.m:
(setImageForWindowsItem:): Do not add "X" image if window has
no close button.
2003-04-13 Michael Hanni <michael@deviant-behavior.com>
* Source/NSProgressIndicator.m: revert last change.
* Source/NSInterfaceStyle.m: revert last change.
* Headers/NSInterfaceStyle.h: revert last change.
2003-04-13 Michael Hanni <michael@deviant-behavior.com>
Multiple outstanding commits.
* ColorPickers/GSWheelColorPicker.m:
(mouseDown:): Implemented new event loop that really speeds things
up on slow machines.
* Source/NSScroller.m:
(init): Decreased periodic delay for scroller buttons.
(trackKnob:): Implemented new event loop to improve speed. Added
code to "snap" back the scroller when you release the alternate
key in mid-scroll (modeled after OS 4.2 behavior.)
(trackScrollButtons:): Removed event loop as we weren't using it
anyways.
* Source/NSFontPanel.m:
(_trySelectSize:): Put size textfield update code here, make sure
column is loaded.
(_familySelectionChanged:): Call _trySelectSize: to update the
size column just like we do for the face browser.
* Source/NSProgressIndicator.m:
(drawRect:): Implement GSGtkInterfaceStyle for
NSProgressIndicatorInterfaceStyle.
* Source/NSInterfaceStyle.m: added GSGtkInterfaceStyle.
* Headers/NSInterfaceStyle.h: ditto.
2003-04-13 Michael Hanni <michael@deviant-behavior.com>
* Source/NSPopUpButton.m:
(mouseDown:): Beep and return if menu items array is empty.
(keyDown:): ditto.
* Source/NSPopUpButtonCell.m:
(removeAllItems:): Revert last change. Really remove all items.
(drawWithFrame:inView:): Draw temporary cell if no items in menu.
2003-04-12 Serg Stoyan <stoyan@hologr.com>
* Source/NSPopUpButtonCell.m:
(removeAllItems): Leave item at index 0 with empty title.
2003-04-11 Michael Hanni <michael@deviant-behavior.com>
* Source/NSApplication.m:
(updateWindowsItem:): call to sizeToFit removed. NSMenuItemCell
manipulation removed which the cell makes internally anyways.
* Source/NSMenuView.m:
(- update:): if we are a popup bail out before messing around
with titleview buttons.
(isOpaque): method added. We are opaque after all.
2003-04-11 Serg Stoyan <stoyan@hologr.com>
* Source/NSPopUpButton.m:
(mouseDown): Set menu view's highlightedItemIndex to
lastSelectedItem if result index is -1. Comments added.
* Source/NSApplication.m:
(setImageForWindowsItem:): implemented.
(changeWindowsItem:title:filename:): call setImageForWindowsItem:
added. TODO: removed from comment.
2003-04-10 Serg Stoyan <stoyan@hologr.com>
* Source/NSPopUpButton.m:
(mouseDown): Get selected item index from _cell. Set NSMenuView
selected item if selection changed, revert to old if unchanged or
menu item disabled.
* Source/NSPopUpButtonCell.m:
(selectItem:): Remove image from old selected item and add image
to new selected item only if image is not set by user.
2003-04-10 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSWindow.m ([-sendEvent:], case NSRightMouseDown):
removed code to display the menu. This is now done by
[NSView -rightMouseDown:].
* Source/NSView.m: overrides -menu,
changes -rightMouseDown: to display the menu,
documents -menu, -menuForEvent: and +defaultMenu.
2003-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSServicesManager.m: on opening file, only activate for
document based applications as suggested by Alexander.
* Source/NSWorkspace.m: ([_connectApplication:]) fix to handle
retries and timeouts correctly.
2003-04-10 01:53 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-_generateGlyphs_char_r::::::): Fix
updating of glyph counts in some rare cases. Minor cleanups.
2003-04-09 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/gnustep/gui/GSServicesManager.h: Expost file open methods.
* Source/GSServicesManager.m: Tidy file opening methods.
* Source/NSApplication.m: Use methods from GSServicesManager
Activate NSApp when opening a file. Use NSDocumentController if the
app delegate won't open a file. Remove temporary files once they
are opened.
2003-04-09 Serg Stoyan <stoyan@hologr.com>
* Source/NSMenuView.m: return back horizontal menu code.
(sizeToFit): ditto. Take into account title view's width when
calculating horizontal menu frame.
(innerRect): ditto.
(rectOfItemAtIndex:): ditto. Take into account title view's width
when calculating placement of menu item in horizontal menu.
(locationForSubmenu:): ditto.
(setWindowFrameForAttachingToRect:): ditto.
(encodeWithCoder:): ditto.
(initWithCoder:): ditto.
(setHorizontal:): added.
(isHorizontal): added.
([NSMenuWindowTitleView mouseDown]): Event loop changed to
Michael Hanni's version.
* Headers/NSMenuView.h:
(setHorizontal:): added.
(isHorizontal): added.
* Source/NSWindow.m:
(orderWindow:): Display content view before backend window ordering.
2003-04-09 00:38 Alexander Malmberg <alexander@malmberg.org>
* Source/NSView.m (-setNeedsDisplay:, -setNeedsDisplayInRect:):
Clean up, fix a potential issue when subclassing and thread-safety,
and clarify the documentation. (Based on discussion with David Ayers
and Pierre-Yves Rivaille.)
2003-04-08 15:33 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-mouseDown:): Rewrite mouse tracking loop.
2003-04-08 02:12 Alexander Malmberg <alexander@malmberg.org>
* Source/NSApplication.m: Note which thread is the -gui thread.
* Source/NSView.m (-setNeedsDisplay:, -setNeedsDisplayInRect:):
If the current thread isn't the -gui thread, perform the call
in the main thread instead.
2003-04-07 13:05 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFont.m (-initWithName:matrix:fix:screenFont:): Release
all memory if the fontInfo can't be created.
2003-04-07 11:56 Alexander Malmberg <alexander@malmberg.org>
* TextConverters/RTF/rtfGrammer.y: Add error recovery rules.
* TextConverters/RTF/rtfGrammer.tab.c: Rebuild.
* TextConverters/RTF/RTFConsumer.m: Change uses of autoreleased
objects to retain/release explicitly instead.
(GSRTFError): Try to recover from errors instead of raising an
exception.
2003-04-06 19:56 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m: Make sure -_handleWindowNeedsDisplay: is run
on every runloop iteration so -setNeedsDisplay* can be used safely
from methods invoked by -performSelector:target:argument:order:modes:.
2003-04-06 15:10 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-_generateGlyphsUpToCharacter:): Make
sure that all editing of the text storage has been processed before
trying to generate glyhps for it.
2003-04-05 12:58 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFontPanel.m (-_initWithoutGModel): Make preview active
by default.
2003-04-05 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/gnustep/gui/NSAttributedString.h:
* Headers/gnustep/gui/NSDocumentController.h:
* Headers/gnustep/gui/NSGraphicsContext.h:
* Headers/gnustep/gui/NSResponder.h:
* Headers/gnustep/gui/NSStringDrawing.h:
* Headers/gnustep/gui/NSTextView.h:
* Headers/gnustep/gui/NSWindow.h:
Fixes to allow compliation of apps with STRICT_OPENSTEP defined.
This does *NOT* mean I've checked that STRICT_OPENSTEP is defined
where it should be, just that I've stopped it preventing compilation.
2003-03-28 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m:
(displayTransient:): Call [self sizeToFit] before caclulating
locations.
2003-04-04 02:46 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m: Misc. cleanups.
(-dealloc): Remove the delegate from the notification center for
the notifications we added it for.
2003-04-03 20:28 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m: When stepping forward at the end of the
glyph runs, correctly handle the case where the current run is
extended.
2003-04-02 15:26 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m: Tweak glyph caching parameters
to increase performance.
2003-04-01 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/NSMenuView.m (NSMenuWindowTitleView): reformatted one line to
conform to coding standards
* Source/NSMenu.m: renamed ivar _changed to _needsSizing.
([NSMenu -sizeToFit]): Changed call [_view update] to [_view sizeToFit]
([NSMenu -displayTransient]): call [NSMenuView-update] to ensure
that the menuView knows it belongs to a transient menu.
([NSMenu -closeTransient]): call [NSMenuView-update] to ensue that the
menuView knows it is not transient anymore.
* Headers/gnustep/gui/NSMenu.h: renamed ivar _changed to _needsSizing.
2003-04-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSApplication.m: ensure that application initialisation
is performed in the main thread.
2003-03-31 Adam Fedor <fedor@gnu.org>
* Source/NSWindow.m (-becomeKeyWindow): Set initialFirstResponder.
(-display): Remove this code from here.
2003-03-31 Adam Fedor <fedor@gnu.org>
* Source/NSButtonCell.m, Source/NSCell.m, Source/NSMenuItem.m:
Add GSCategories.h
2003-03-30 19:14 Alexander Malmberg <alexander@malmberg.org>
* Source/NSScroller.m (-trackKnob:): Wrap each iteration of the
loop in an autorelease pool.
* Source/NSTextView.m: Correct the name of the delegate method
-textView:shouldChangeTextInRange:replacementString: (was missing
the textView: part).
2003-03-30 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/NSMenuView.m: Reformatted to comply to coding standards
* Source/NSMenu.m: Reformatted to comply to coding standards
2003-03-28 21:08 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTableView.m (mouseDown:): Wrap each iteration of the mouse
tracking loop in an autorelease pool to avoid using huge amounts of
memory if the button is held down a long time.
2003-03-28 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m:
(attachSubmenuForItemAtIndex:): Documentation comment moved to
NSMenuView.h.
(indexOfItemAtPoint:): ditto.
(locationForSubmenu:): ditto.
(trackWithEvent:): ditto.
(setWindowFrameForAttachingToRect:): Removed "move menu to the screen"
TODO since it is out of this method scope.
* Headers/NSMenuView.m: Added documentation for almost all methods.
Cleanup.
2003-03-27 23:52 Alexander Malmberg <alexander@malmberg.org>
* Source/NSMatrix.m (-setSelectionFrom:to:anchor:highlight:): Update
the selection related ivars after changing the selection.
2003-03-27 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m:
([NSMenuWindowTitleView createButton:]): Made imageSize an ivar and
removed declaration. Made rect setting with NSMakeRect().
([NSMenuWindowTitleView addCloseButton:]): Added button location
update.
(initWithFrame:): Title adding moved int update method.
(setWindowFrameForAttachingToRect:): Title removing moved into update
method. Call update instead sizeToFit.
* Source/NSMenu.m:
(initWithTitle:): Create NSMenuView with NSZeroRect frame.
(insertItem:atIndex): removed [menu update] call, because itemChanged:
calls it.
(removeItemAtIndex:): ditto.
(sizeToFit:): Added NSMenuView update. Removed [_view sizeToFit],
beacuse [_view update] calls it. Don't set window's origin if size less
than 1 (window is just created).
(display): Removed [self update] call (sizeToFit calls
it). Reformatting. Do not call setGeometry if menu is owned by popup.
(close): Removed [self update] call.
(closeTransient): ditto.
2003-03-18 Benhur Stein <benhur@inf.ufsm.br>
* Fix mouse tracking in NSMatrix
* Headers/gnustep/gui/NSMatrix.h: Change _keyCell ivar to _reserved1.
* Source/NSMatrix.m (-_setKeyRow:column:): New method
(-_selectCell:atRow:column:): Use it.
(-setSelectionFrom:to:anchor:highlight:): Rewrite.
(-highlightCell:atRow:column:): Simplify
(-_mouseDownNonListMode:): Fix tracking.
(-_mouseDownListMode:theEvent): New method.
(-mouseDown:): Use previous methods.
2003-03-25 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m
(setWindowFrameForAttachingToRect:):Compute frame if number of
items > 0 instead of > 1 (fixes size problem when there is 1 item
in popup button's menu).
(sizeToFit): optimized and fixed offsets calculation.
* Source/NSMenuItemCell.m
(imageRectForBounds:): removed pad adding between state image and
title image and text, because [NSMenuView sizeToFit] does this.
(titleRectForBounds:): ditto.
2003-03-25 Michael Hanni <michael@deviant-behavior.com>
* Source/NSMenuView.m (-trackWithEvent:): reset highlighted items in a
submenu that we leave for a supermenu.
(setWindowFrameForAttachingToRect:): call sizeToFit only if cell's
frame changed.
2003-03-24 Adam Fedor <fedor@gnu.org>
* Merge from 0.8.5 branch
2003-03-23 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m: Removed horizontal menu related code.
(setHorizontal:): Removed.
(isHorizontal:): Removed.
(_addLeftBorderOffsetToRect): Removed isHorizontal parameter.
(setMenu:): Place [self setNeedsSizing: YES] before [self update].
(update): Removed title view removal, because it's not always known
owner of menu at this point. Remove title view creating.
(sizeToFit:): Reformatting.
(innerRect:): Idem.
(setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:):
Title view removal code placed here, because this is only place where
non-titled menu can appear.
(initWithFrame:): Removed comment about _leftBorderOffset for popups,
because we use _leftBorderOffset for regular and popups now. Title view
creating added.
(rectOfItemAtIndex:): Removed comment about _leftBorderOffset for
popups.
(indexOfItemAtPoint:): Idem. Add left border offset for popups
too. Correct calling of _addLeftBorderOffsetToRect.
(setNeedsDisplayForItemAtIndex:): Idem.
(rightMouseDown:): Ddded comment.
* Headers/NSMenuView.h
(setHorizontal:): Removed.
(isHorizontal:): Removed.
2003-03-22 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/NSMenu.m ([NSMenu -display]): Added optimization of
Michael Hanni to only resize menu view when actually displayed.
([NSMenu -setTitle:]): Idem
([NSMenu -sizeToFit:]): Fixed problem with jumping menus when items
are added.
([NSMenu -display:]): added optimization of Michael Hanni to resize
only once. Also fixed race condition bug in getting menu location.
([NSMenu -displayTransient]): Added optimization of M. Hanni, removed
resetting position to (0, 0).
* Source/NSMenuView.m (-initWithFrame:): Removed creation of titleView
([NSMenuView -setMenu:]): call update to handle new situation
([NSMenuView -update]): Removed call to _menu update, handle the
adding/removing of the title view.
([NSMenuView -sizeToFit]): reformatted to conform to coding standard,
handle missing titleView.
([NSMenuView -setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:]):
Reformatted to conform to coding standard. Removed the code that
removed the titleView. That is handled by update.
([NSMenuView -drawRect:]): Reformatted to conform to coding standards.
([NSMenuWindowTitleView -init]): Reformatted to conform to coding
standards.
([NSMenuWindowTitleView -dealloc]): new method to prevent leaking
the close button.
([NSMenuWindowTitleView -titleSize]): Reformatted to conform to
coding standard
([NSMenuWindowTitleView -drawRect:]): idem
([NSMenuWindowTitleView -mouseDown:]): idem
([NSMenuWindowTitleView -createButton]): idem
2003-03-20 David Ayers <d.ayers@inode.at>
* Source/NSCell.m ([NSCell encodeWithCoder:]): Reinsert encoding
of isContinuous to insure backward compatiblity of archives.
2003-03-20 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m
(sizeToFit): Removed setting _leftBorderOffset to 0 for popup menus.
Set menuBarHeight to title view height only if it's not popup menu.
Added recalculation of key equivalent offset for popup menu.
(setWindowFrameForAttachingToRect:onScreen:preferredEdge:popUpSelectedItem:):
Remove title view. Take into account left top border while calculating
screenFrame.
(drawRect:): Draw left top dark gray border for all types of menus
with NSDrawTiledRects().
2003-03-19 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSMenu.h
Removed method [_rightMouseDisplay:] as this is now private.
* Source/NSMenu.m
Implemented [popUpContextMenu:withEvent:forView:] using
[_rightMouseDisplay:].
* Source/NSApplication.m
In [rightMouseDown:] use [popUpContextMenu:withEvent:forView:].
* Source/NSMenu.m
In [sendEvent:] use [popUpContextMenu:withEvent:forView:].
2003-03-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep.m
In [imageUnfilteredFileTypes] add the tiff entries always to the
front of the list. As the standard GNUstep images are in this
format, this will speed up image loading.
* Headers/gnustep/gui/NSCell.h
Removed ivar is_continuous, this is now handled by the action
mask. Decreased size of the image_position ivar. Added two more
subclass ivar to reuse the freed space. Flagged all methods that
are new in MacOSX and added a few more of this.
* Source/NSCell.m
Added new MacOSX methods [title], [setTitle:], [controlSize],
[setControlSize:], [controlTint], [setControlTint:] and
[highlightColorWithFrame:inView:]. Rewrote [isContinuous],
[setContinuous:] and [trackMouse:...untilMouseUp:] to work via the
_action_mask.
2003-03-18 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m
([NSMenuTitleView titleSize]): Added.
([NSMenuTitleView drawRect:]): Switch to using titleSize:. Declaration
of attr variable moved to class declaration.
([NSMenuTitleView init]): Added to initialize attr variable.
(sizeToFit): Count missed state image offset. Do not add padding when
there's no key equivalent. Handle situations when tile view wider than
menu items, when there's no menu items and so on. (Side efect: menu of
application in Gorm resizes correctly while changing title, adding
shorcut etc.). Using [NSMenuTitleView titleSize] now for correct
determination of menu title's text width.
2003-03-17 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenuView.m
(sizeToFit): 15 extra pixels added only for submenus. Extra
_horizontalEdgePad removed. Made cleanup.
(createButton): uses [NSButton setRefusesFirstResponder: YES] to avoid
drawing dotted rectangle.
* Images/common_Close.tiff: Changed to look and feel like
WindowMaker's close button.
* Images/common_CloseH.tiff: ditto.
* Images/common_3DArrowDown.tiff: Corrected position of light and
dark sides of triangle.
2003-03-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSControl.m
Added method [acceptsFirstResponder], which asks the cell if it
accepts first responder. Added [becomeFirstResponder] and
[resignFirstResponder] that redraw if the cell may change apprearance.
* Source/NSButton.m
* Source/NSStepper.m
Removed the method [acceptsFirstResponder] as NSControls version
is now used.
2003-03-07 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/NSMenu.m: ([-_updateUserDefaults:]) Do not store location
for attached menus.
* Source/NSMenuView.m ([NSMenuWindowTitleView -drawRect:]):
Centre drawing of title instead of using fixed offset.
2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMenu.m: ([-_updateUserDefaults:]) restore saved menu
location functionality (was only working for torn off menus).
* Source/NSWindow: ([-miniaturise:]) order the counterpart window
in so that it gets drawn properly.
2003-03-06 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/NSMenuView.m: Added NSMenuTitleView (moved
from NSMenu).
([NSMenuView -detachSubmenu]): Removed setting highlighting.
([NSMenuView -attachSubmenuForItemAtIndex:]) added logging.
([NSMenuView -update]): Handle _titleView.
([NSMenuView -sizeToFit]): Take titleView into account
([NSMenuView -performActionWithHighlightingForItemAtIndex:]):
restore old highlighting.
([NSMenuView -trackWithEvent:]): Rewritten.
([NSMenuView -mouseDown:]): Only restore menu position
when needed.
([NSMenuView -rightMouseDown:theEvent]): On menus treat
as ordinary mouse down to avoid rightclick menus on menus.
* Source/NSMenu.m (NSView): Moved NSMenuWindowTitleView to
NSMenuView. Added comments. Added -_updateUserDefaults:,
-_menuMoved: methods to track moving menus.
Renamed -_setTornOff: to -setTornOff:, -isFollowTransient to
-isTransient.
([NSMenu -initWithTitle:]): Remove some old comments, remove
reference to titleView, listen to window move notification and
enqueued move notification.
([NSMenu -attachedMenu]): Adjusted for renamed ivar.
([NSMenu -sizeToFit]): Remove references to titleView
([NSMenu -setTornOff:]): Remove references to titleView,
call update to NSMenuView instead.
([NSMenu -isPartlyOffScreen]): Do not depend in removed ivar.
([NSMenu -_performMenuClose:]): adjust to renamed methods, will
force synchronization of userdefaults.
([NSMenu -displayTransient]): Removed references to _titleView,
remember the highlighted index to restore with -closeTransient.
([NSMenu -close]): remove references to _titleview, use methods instead
of relying on ivars. added call to update on menu representation.
([NSMenu -closeTransient]): Remove references to _titleView, restore
highlighted index. Call update on menu representantation.
([NSMenu -shiftOnScreen]): Rewrote to move in x and y direction
simultanuously.
([NSMenuWindowTitleView -acceptsFirstMouse:]): Removed useless
code to set menuview for itemCells.
* Headers/gnustep/gui/NSMenuView.h: added ivar _titleView.
(moved from NSMenu).
* Headers/gnustep/gui/NSMenu.h: Added NSMenuView protocol,
added documentation to NSMenu class.
(MSMenu): Removed ivar _titleView, _isPartlyOffScreen, added
ivar _oldHighlightedIndex. Renamed method -isFollowTransient to
-isTransient. Removed method -nestedCheckOffScreen
2003-03-05 17:07 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:):
Use the focused view as the control view instead of the text
container's text view (it might not have one).
2003-03-03 19:26 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-usedRectForTextContainer:): Don't add
the extra line frag rect.
* Source/NSTextView.m (-sizeToFit): Add the extra line frag rect
when computing the size of the view.
(-scrollRangeToVisible:): Reimplement using the new insertion point
positioning methods.
2003-03-03 16:17 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutGlyphsInLayoutManager:
inTextContainer:startingAtGlyphIndex:previousLineFragmentRect:
nextGlyphIndex:numberOfLineFragments:): Change type of a variable
holding a character index to int (was char, would overflow and
break things).
2003-03-03 14:52 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSTypesetter.h, Source/GSTypesetter.m: Removed
-relayoutGlyphsInLayoutManager:glyphRange:lineFragmentRect:
textContainer:previousLineFragmentRect:. It was broken by design,
and a working soft invalidation system is now in place.
* Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m:
Add and implement -typesetter and -setTypesetter:.
* Source/GSTextStorage.m (-setAttributes:range:): Handle zero-length
attribute changes correctly.
2003-03-02 Ludovic Marcotte <ludovic@Sophos.ca>
* Source/NSComboBoxCell.m: Modified so that we no longer
retain the dataSource. This would create a retain loop and
prevent anything using it to be released properly.
2003-03-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView_actions.m
Use method calls instead of some of the direct references to
NSLayoutManager ivar. General clean up.
* Source/NSApplication.m
Added support to print a file in [finishLaunching]. Use safer way
to call selector in [beginSheet:...contextInfo:].
* Source/GSSlideView.m
In [drawRect:]use the frame of the view, not the given rect.
2003-02-26 17:09 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m
(-glyphRangeForBoundingRect:inTextContainer:): Fix the horizontal
intersection checks.
2003-02-26 00:47 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-_generateRunsToCharacter:): Optimize
the run structure by merging with an existing run instead of
creating a new run under some circumstances.
2003-02-25 17:38 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m
(-textStorage:edited:range:changeInLength:invalidatedRange:): Fix
handling of trailing text containers when soft-invalidating.
2003-03-24 Adam Fedor <fedor@gnu.org>
* Version: 0.8.5
2003-03-24 Adam Fedor <fedor@gnu.org>
* Source/NSBox.m (-sizeToFit): Set frame to calculated size when
content view has no subviews.
2003-03-18 17:54 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFont.m, Source/NSStringDrawing.m,
Headers/gnustep/gui/NSStringDrawing.h: Change to an implementation
that uses the text system.
2003-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow: ([-miniaturise:]) order the counterpart window
in so that it gets drawn properly.
2003-03-04 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/GMAppKit.h, GMArchiver.h, IMConnectors.h,
IMCustomObject.h, IMLoading.h, NSNibConnector.h: Change #import to
#include
* Model/Controller.[h,m], GMAppKit.m, GMArchiveObjects.m,
GMArchiver.m, IBClasses.[hm], IMConnectors.h, IMLoading.m,
Translator.[hm], nib2gmodel.m, test.m: Idem.
* Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c: Fixes for FreeBSD.
2003-02-24 Adam Fedor <fedor@gnu.org>
* Version: 0.8.4
2003-02-24 15:24 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange:
changeInLength:actualCharacterRange:): Set the next character index
correctly after the run-merge optimization.
2003-02-24 03:49 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-_glyphForCharacter:index:positions::):
Fix handling of the case where the exact glyph is found during
the binary search.
* Source/NSLayoutManager.m (-drawBackgroundForGlyphRange:atPoint:):
Check that a range has a background color before checking that there
are rectangles for it (since ranges practically always have
rectangles, and very rarely a background color).
2003-02-24 00:02 Alexander Malmberg <alexander@malmberg.org>
* Source/NSParagraphStyle.m: Implement -isEqual: and -hash.
2003-02-23 13:30 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow (-update): Don't redisplay the window.
2003-02-22 Benhur Stein <benhur@inf.ufsm.br>
* Source/NSView.m (-displayIfNeededInRectIgnoringOpacity:): Disable
and re-enable flushing here.
(-displayRectIgnoringOpacity:): And here.
* Source/NSWindow.m ([NSWindow -display]): Instead of here.
([NSWindow -update]): And here.
2003-02-23 01:59 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m, Source/NSLayoutManager.m: Use num_linefrags
to tell whether layout has started for a text container or not,
instead of tracking the status separately.
2003-02-22 12:29 Alexander Malmberg <alexander@malmberg.org>
* Source/NSApplication.m (-sendEvent:): Only bring up the main
menu if the there is no window for the event.
* Source/NSPopUpButton.m: Implement -menuForEvent: to always
return nil to indicate that we don't have a context menu.
2003-02-22 02:34 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager.h: Declare
-layoutManager:didCompleteLayoutForTextContainer:atEnd: so it's
visible (to gcc and to delegate implementers).
* Source/GSHorizontalTypesetter.m, Source/NSLayoutManager.m: Make
sure the extra line frag is always set when we reach the end (ie.
even after soft-invalidated layout information has been used up to
the end).
2003-02-21 Serg Stoyan <stoyan@hologr.com>
* Source/NSApplication.m (-activateIgnoringOtherApps:): Remove
main menu display.
(-sendEvent:): Check first if right button down.
(-setMainMenu:): Don't set menu title. Remove menu display.
* Source/NSMenu.m (-init): Default title is process name.
(-initWithTitle:): Observe NSApplicationWillBecomeActiveNotification.
(_showOnActivateApp:): New.
(-display): Set geometry only if not set.
(-setGeometry): New.
* Source/NSPopUpButton.m (-mouseDown:): Send event to NSApp.
2003-02-19 Adam Fedor <fedor@gnu.org>
* Source/NSPrintOperation.m (-_print): Remove locale change (now
handled correctly in backend stream context.
* Source/NSScrollView.m (-initWithFrame:): Change default border
to none.
2003-02-19 15:06 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m: Optimize run_for_glyph_index() by
caching the last run. Optimize allocation of line frags.
* Source/NSLayoutManager.m
(-textStorage:edited:range:changeInLength:invalidatedRange:): Fix
clearing of soft-invalidated information if there's an invalidation
and we don't have layout past the invalidated range.
2003-02-19 03:09 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-_glyphForCharacter:index:positions::):
Use binary search to find the index of the character in the run.
(-setLocation:forStartOfGlyphRange:): Start the search for the line
frag from the back, as the line frag we're searching will often
be the last one (always with GSHorizontalTypesetter).
2003-02-19 00:31 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager.h,
Source/GSHorizontalTypesetter.m, Source/GSLayoutManager.m: Optimize
reuse of soft-invalidated layout a bit in a common case.
2003-02-19 00:10 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange:
changeInLength:actualCharacterRange:): Correct the condition for
splitting the initial run.
2003-02-18 21:24 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m:
Add basic interface that lets the typesetter access soft-invalidated
layout information.
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Use
the soft-invalidated information to avoid rebuilding the layout
(when possible).
* Source/NSLayoutManager.m: Fix edge case in soft invalidation.
2003-02-18 Fred Kiefer <FredKiefer@gmx.de>
* TextConverters/RTF/RTFProducer.m
[colorTable] corrected the output of the colour table, by using a
C array instead of an NSMutableArray.
* TextConverters/RTF/RTFConsumer.m
GSRTFcolorfg(), GSRTFcolorbg(), GSRTFlineSpace(),
GSRTFspaceAbove() set the state of the context to changed, so that
new attributes get used.
2003-02-18 18:03 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m, Source/NSLayoutManager.m: Implement
handling of soft-invalidated line frags. Soft-invalidate layout
information for glyphs after an edited range in NSLayoutManager.
2003-02-18 01:23 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m: Many minor cleanups and optimizations.
Much commenting.
* Source/GSHorizontalTypesetter.m (-layoutGlyphsInLayoutManager:
inTextContainer:startingAtGlyphIndex:previousLineFragmentRect:
nextGlyphIndex:numberOfLineFragments:): Determine the initial value
for newParagraph correctly.
* Source/NSLayoutManager.m
(-textStorage:edited:range:changeInLength:invalidatedRange:): Don't
invalidate all layout on each change. Now, all layout information
for glyphs before the change will be reused. (Layout for glyphs
after the change is still invalidated, until I finish the soft
invalidation.)
* Source/GSTextStorage.m (-setAttributes:range:): Call
-edited:range:changeInLength: with the range that was changed (and
not the range attributes could be merged for).
2003-02-17 21:25 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager.h,
Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m (-invalidateGlyphsForCharacterRange:
changeInLength:actualCharacterRange:): Set the prev pointer
correctly when splitting a run. Add sanity checks to catch try
to catch glyph structure corruption early.
(-textStorage:edited:range:changeInLength:invalidatedRange:): Clean
up layout invalidation.
2003-02-17 02:16 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m:
Add some framework support for caching the last accessed run.
2003-02-17 02:08 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m (-rectArrayForGlyphRange:
withinSelectedGlyphRange:inTextContainer:rectCount:,
-_insertionPointRectForCharacterIndex:textContainer:,
-drawGlyphsForGlyphRange:atPoint:): Optimize by using a binary
instead of linear search for the line frag.
More cleanups and comments.
2003-02-16 22:37 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m: Commenting and cleanups.
(-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:):
Handle the case where the point is on a line, but not inside a line
frag rect, better.
2003-02-16 17:48 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSHorizontalTypesetter.h,
Source/GSHorizontalTypesetter.m: Store the line frags array as
an ivar instead of allocating and freeing it everytime
-layoutLineNewParagraph: is called.
2003-02-16 15:51 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m: Bring back the old implementation of
-rulerMarkersForTextView:paragraphStyle:ruler:.
Sun Feb 16 14:54:50 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSplitView.m ([-mouseDown:]): Corrected offset used in
delegate calls. For example, in a splitview with a single
divider, the offset used was 1, while it should be 0.
2003-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMenu.m: Upon creation of bWindow, set its level to
pop up window level, so right click brings up the menu above
panels etc.
Sun Feb 16 04:13:46 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSplitView.m ([-mouseDown:]): Fixed calling delegate
method to constrain split position. Patch By Enrico Sersale,
with changes.
2003-02-16 04:14 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager.h, Source/GSLayoutManager.m:
Add methods for setting and getting the extra line fragment
information.
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Set
the extra line fragment information as required.
* Source/NSLayoutManager.m: Use the extra line fragment information
to position the insertion point properly when it's placed after the
last character in the text.
2003-02-15 18:22 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSTextView.h, Source/NSLayoutManager.m,
Source/NSTextView.m: Change the way the text view is told about
layout invalidation. Change NSTextView to update its state as
late as possible before displaying, and make sure it's updated
when it's resized.
2003-02-15 18:11 Alexander Malmberg <alexander@malmberg.org>
* Source/NSParagraphStyle.m ([NSMutableParagraphStyle
-copyWithZone:]): Add calls to GSDebugAllocationAdd/
GSDebugAllocationRemove when swizzling the class to keep the
allocation counts valid.
2003-02-15 18:04 Alexander Malmberg <alexander@malmberg.org>
* Source/NSSpellChecker.m (-_launchSpellCheckerForLanguage:): Don't
printf-expand the error message twice (might cause a crash if
'language' contains a "%").
Sat Feb 15 13:26:03 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/AppKit.h: Include NSRulerView.h
and NSRulerMarker.h, reported missing by Benhur Stein.
2003-02-14 17:47 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m,
Source/NSTextView_actions.m: Keep track of the original index of a
sequence of moves in one dimension. Pass it to the layout manager
when moving the insertion point to prevent drifting.
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Fix
an edge case in tab handling. Also, if tabs occur and the paragraph
style has no more tab stops, act as if there were tabs every 100
points.
* Source/NSLayoutManager.m (-characterIndexMoving:fromCharacterIndex:
originalCharacterIndex:distance:): When moving vertically, return the
index of the character nearest the target horizontally.
2003-02-13 01:01 Alexander Malmberg <alexander@malmberg.org>
* TextConverters/RTF/rtfGrammer.y (rtfCharset): Treat unknown
character sets as ANSI.
TextConverters/RTF/rtfGrammer.tab.c,
TextConverters/RTF/rtfGrammer.tab.h: Regenerate.
* TextConverters/RTF/RTFConsumer.m: Fix handling of the indentation
control words: \fi, \li, and \ri.
(GSRTFmangleText): Set the paragraph style attribute to a copy of
the working NSMutableParagraphStyle so later changes won't affect
the attributes of this text.
2003-02-13 00:52 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:):
Implement basic handling of tabs.
2003-02-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSSlideView.h
* Source/GSSlideView.m
Moved over from X11 backend.
* Source/GNUmakefile
Added new file GSSlideView.m.
* Source/GSDisplayServer.m
Use GSSlideView to implement image sliding.
2003-02-11 17:53 Alexander Malmberg <alexander@malmberg.org>
* Source/NSScrollView.m (-setBorderType:): Call -tile to make
the change visible.
* Source/NSBrowser.m (-_createColumn): Set the border of the created
scroll view explicitly.
2003-02-11 16:33 Alexander Malmberg <alexander@malmberg.org>
* Source/NSAttributedString.m (-fixAttachmentAttributeInRange:):
Update end index when a character is deleted.
* Source/NSTextStorage.m (-processEditing): Make sure we always
give a valid range and delta to the layout managers.
* Source/NSTextView.m (-setSelectedRange:affinity:stillSelecting:):
Clamp the selected range to the text storage's length.
2003-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBrowser.m: Rewrote and documented the ([-setPath:]) method
to fix the distinction between absolute and relative paths and to
improve performance somewhat.
2003-02-10 15:14 Alexander Malmberg <alexander@malmberg.org>
Based on patches from Jeff Teunissen:
* Source/NSWindow.m (GSAllWindows): Check that windowmaps isn't
NULL before calling NSAllMapTableValues.
* Source/NSScroller.m: Change size check so the knob and arrows are
visible until there's absolutely no space left for them. Draw the
knob slot with the window's background color when the knob isn't
visible for consistency with OPENSTEP.
* Source/NSApplication.m (-setApplicationIconImage:): Update all
windows that have the old app icon as their mini window image so they
use the new app icon.
2003-02-10 15:09 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m, Source/NSLayoutManager.m,
Source/NSTextView.m: Many minor bug and behavior fixes to get the
text system to work with several text containers attached to one
layout manager.
2003-02-09 21:08 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m: Clean up old debugging code, whitespace,
and error handling.
(-_doLayout): Track next glyph index correctly if we have multiple
text containers.
* Source/NSLayoutManager.m (-rectArrayForGlyphRange:
withinSelectedGlyphRange:inTextContainer:rectCount:,
-_insertionPointRectForCharacterIndex:textContainer:): Fix handling of
glyphs that aren't nominally spaced.
2003-02-09 18:34 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-breakLineByWordWrappingBefore:):
Return correct index when breaking at a control glyph.
2003-02-09 18:02 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m, Source/NSLayoutManager.m: Add
-_didInvalidateLayout method that is called whenever any layout
information has been invalidated. Use it in NSLayoutManager to
resize text views.
2003-02-09 15:23 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView_actions.m: Fix several movement actions (used
to move from the wrong end of the selected range, or mixed glyphs
and characters).
2003-02-09 14:48 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m: Make the main method reentrant
by having it allocate a temporary instance to handle calls when
it is already in use.
2003-02-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSColorList.m
[_loadAvailableColorLists] check if a directory exists before
looking for a colour list in it.
2003-02-08 22:56 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView_actions.m (-lowerBaseline:): Change the correct
attribute.
(-turnOffLigatures:, -useStandardLigatures:): Correct the attribute
changes.
2003-02-08 22:53 Alexander Malmberg <alexander@malmberg.org>
* Source/GSFontInfo.m (-defaultLineHeightForFont),
Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Improve
calculation of line height and make it match the baseline calculation
when typesetting.
2003-02-08 22:29 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-sendEvent:): On right mouse down, check if
the view that is hit has a pop-up menu, and if so, display it
instead of sending the event to the view. Based on patch from
Matt Rice.
2003-02-08 17:51 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSLayoutManager.h, Source/NSLayoutManager.m:
Add -characterIndexMoving:fromCharacterIndex:originalCharacterIndex:
distance: method.
* Source/NSTextView.m: Keep track of the selection affinity.
* Source/NSTextView_actions.m: Use the new method and affinity
handling to reimplement the insertion point movement actions.
2003-02-07 17:47 Alexander Malmberg <alexander@malmberg.org>
* Source/GSTextStorage.m (-setAttributes:range:): Fix memory leak.
2003-02-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/libgnustep-gui.def: Regenerated
* ColorPickers/GNUmakefile: add local library paths
* Source/GSLayoutManager.m: Use rand() rather than random() as it
is portable to mingw32.
Wed Feb 5 04:56:45 2003 Serg Stoyan <stoyan@hologr.com>
* Source/NSMenuItemCell.m ([-drawKeyEquivalentWithFrame:inView:]):
Do not draw the key equivalent if we are owned by a popup, and are
drawing the small popup image.
Wed Feb 5 04:42:16 2003 Serg Stoyan <stoyan@hologr.com>
* Source/NSPrintOperation.m ([-_printOperationDidRun:success:
contextInfo:]): Fixed calling the delegate method.
2003-02-03 02:49 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSLayoutManager.h, Source/NSLayoutManager.m:
Add -insertionPointRectForCharacterIndex:inTextContainer: method.
* Source/NSTextView.m (-updateInsertionPointStateAndRestartTimer:):
Use it.
2003-02-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextField.m
Only accept first mouse when editable.
2003-02-02 02:31 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m, Source/NSTextView_actions.m: Clarify
comments about user attribute changing now that I've figured out
a way for it to work. Rewrite the actions to match.
2003-02-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWindow.m
Rewrote all the toolbar methods. Implemented [zoom:]. Extracted
new method [_terminateBackendWindow] from [dealloc] and use it to
implement one shot windows in the orderOut case of
[orderWindow:relativeTo:]. Removed frame restriction from
[setFrameFromString:] as this gets done in
[setFrame:display:]. Use [NSScreen visibleFrame] here and in
[stringWithSavedFrame]. Implemented [cascadeTopLeftFromPoint:].
Removed unused and empty methods [performHide:] and [performUnhide:].
2003-02-01 15:09 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-shouldChangeTextInRange:replacementString:):
Allow changes even if we're not the first responder.
(-didChangeText): If we're not the first responder, end the editing
session.
2003-02-01 13:52 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Fix
sign problem with descender.
Sat Feb 1 05:34:09 2003 Benhur Stein <benhur@inf.ufsm.br>,
Nicola Pero <n.pero@mi.flashnet.it>
The focus is now expected to have been locked on the control view
before cell's drawXXXWithFrame:inView: and similar methods are
called. This makes drawing much more efficient.
* Source/NSApplication.m ([NSAppIconView -setImage:]): Lock/unlock
focus if it can draw.
* Source/NSBrowser.m ([GSBrowserTitleCell
-drawWithFrame:inView:]): Do not lock/unlock focus.
([-displayColumn:]): Lock/unlock focus before drawing.
([-doClick:]): Lock/unlock focus.
* Source/NSBrowserCell.m ([-drawInteriorWithFrame:inView:]): Do
not lock/unlock focus.
* Source/NSButtonCell.m ([-drawWithFrame:inView:]): Do not
lock/unlock focus.
([-drawInteriorWithFrame:inView:]): Do not lock unlock focus.
* Source/NSCell.m ([-drawInteriorWithFrame:inView:]): Do not
lock/unlock focus.
([-drawWithFrame:inView:]): Do not lock/unlock focus.
([-performClick:]): Lock/unlock focus.
* Source/NSComboBoxCell.m ([-_didClickInRect:ofView:]):
Lock/unlock focus.
* Source/NSControl.m ([-mouseDown:]): Lock/unlock focus.
* Source/NSFormCell.m ([-drawWithFrame:inView:]): Do not
lock/unlock focus.
* Source/NSImageCell.m ([-drawInteriorWithFrame:inView:]): Do not
lock/unlock focus.
([-drawWithFrame:inView:]): Do not lock/unlock focus.
* Source/NSMatrix.m ([-deselectAllCells]): Mark the cell as
needing redisplay, but do not redraw immediately.
([-_selectCell:atRow:column:]): Same change.
([-setSelectionFrom:to:anchor:highlight:]): Same change.
([-highlightCell:atRow:column:]): Lock/unlock focus.
([-_mouseDownNonListMode:]): Lock/unlock focus, flush window,
select cell better.
([-mouseDown:]): Lock/unlock focus; removed 2 flush windows.
([-performKeyEquivalent:]): Lock/unlock focus; flush window.
([-_altModifier:]): Added a displayIfNeeded call.
([-keyDown:]): Same change.
([-_move:]): Always deselect all cells in before selecting new
ones. Do not display cell immediately, but mark it for redisplay.
Removed a few flush windows. Commented out unclear code.
([-_shiftModifier:]): Lock/unlock focus.
([-_setState:highlight:startIndex:endIndex:]): Do not flush the
window.
([_setState:highlight:startIndex:endIndex:]): Do not display the
cell directly; mark it as needing redisplay.
([-drawCellAtRow:column:]): Do not lock/unlock focus.
([-highlightCell:atRow:column:]): Do not lock/unlock focus.
([-_drawCellAtRow:column:]): Do not lock/unlock focus.
* Source/NSMenuItemCell.m
([-drawBorderAndBackgroundWithFrame:inView:]): Do not lock/unlock
focus.
([-drawInteriorWithFrame:inView:]): Do not lock/unlock focus.
* Source/NSOutlineView.m
([-editColumn:columnIndexrow:rowIndexwithEvent:theEventselect:flag]):
Lock/unlock focus.
* Source/NSPopUpButtonCell.m ([-drawInteriorWithFrame:inView:]):
Do not lock/unlock focus.
* Source/NSScroller.m ([-trackScrollButtons:]): Lock/unlock focus.
* Source/NSSlider.m ([-mouseDown:]): Lock/unlock focus.
([-trackKnob:knobRect:]): Lock/unlock focus.
* Source/NSSliderCell.m ([-drawInteriorWithFrame:inView:]): Do not
lock/unlock focus.
* Source/NSStepper.m ([-mouseDown:]): Lock/unlock focus.
* Source/NSStepperCell.m ([-drawInteriorWithFrame:inView:]): Do
not lock/unlock focus.
([-highlight:highlightupButton:upButtonwithFrame:frameinView:
controlView]): Do not lock/unlock focus.
* Source/NSTextFieldCell.m ([-drawInteriorWithFrame:inView:]): Do
not lock/unlock focus.
* Source/NSTableHeaderCell.m ([-drawInteriorWithFrame:inView:]):
Do not lock/unlock focus.
([-drawWithFrame:inView:]): Do not lock/unlocks focus.
* Source/NSTableHeaderView.m ([-drawRect:]): Do not lock/unlock
focus while drawing.
([-mouseDown:]): Lock/unlock focus.
* Source/NSWindow.m ([NSMiniWindowView -setImage:, -setTitle:]):
Lock focus if can draw rather than checking _window != nil.
2003-02-01 03:26 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-removeTextContainerAtIndex:): Set
textcontainers to NULL after freeing it. Clean up some other
malloc-stuff.
* Source/NSTextContainer.m (-replaceLayoutManager:): Remove the
containers from the correct layout manager.
2003-01-31 Fred Kiefer <FredKiefer@gmx.de>
* Headers/AppKit/GSDisplayServer.h
New interface [restrictWindow:toImage:].
* Source/GSDisplayServer.m
Empty implementation for this.
2003-01-31 23:20 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-_generateGlyphsForRun:at:): Add
handling of NSAttachmentCharacter.
2003-01-31 21:59 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager.h,
Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m: Implement [GSLayoutManager
-setAttachmentSize:forGlyphRange:].
* Source/NSLayoutManager.m (-drawGlyphsForGlyphRange:atPoint:):
Implement drawing of attachments.
* Headers/gnustep/gui/NSFont.h: Add GSAttachmentGlyph to mark
attachments in a glyph context.
* Source/GSHorizontalLayoutManager.m: Cleanups and comments.
(-layoutLineNewParagraph:): Rewrite line height and baseline
handling. Implement typesetting of attachments.
* Headers/gnustep/gui/NSTextAttachment.h: Add documentation.
* Source/NSTextAttachment.m (-cellFrameForTextContainer:
proposedLineFragment:glyphPosition:characterIndex:): Return the
correct position.
Thu Jan 30 16:31:16 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GNUmakefile (NSMenuItem.m_FILE_FLAGS): Use -Wno-protocol
when compiling NSMenuItem.m
Thu Jan 30 16:19:56 2003 Nicola Pero <n.pero@mi.flashnet.it>
* TextConverters/RTF/RTFConsumer.m
([RTFConsumer +parseData:documentAttributes:]): Method removed.
([RTFConsumer +parseFile:documentAttributes:]): Method removed.
([RTFDConsumer +parseData:documentAttributes:class:]): New method,
replacing +parseData:documentAttribute:.
Thu Jan 30 05:12:21 2003 Serg Stoyan <stoyan@hologr.com>
* Headers/gnustep/gui/NSMenuItem.h: NSMenuItem protocol conforms
to NSObject protocol.
* Source/NSBundleAdditions.m ([-instantiateObject:]): Added
missing cast.
* Source/NSImage.m ([-dissolveToPoint:fromRect:fraction:]): Added
missing variable initializer.
([-_bestRep:withBpsMatch:]): The same.
* Source/NSImageRep.m ([-drawAtPoint:]): Added missing variable
initializer.
* Source/NSSplitView.m ([-mouseDown:]): The same.
* Source/NSStringDrawing.m (drawRun): Fixed compiler warning.
* Source/NSTableHeaderCell.m ([-setHighlighted:flag]): New method.
* Source/NSTableHeaderView.m ([-drawRect:]): Removed calls to
setBackgroundColor:.
([-mouseDown:]): Use setHighlighted:, not setBackgroundColor:, to
highlight a header cell.
* Source/NSTableView.m ([-mouseDown:]): Added missing variable
initializer.
* Headers/gnustep/gui/NSView.h: Added declaration of
lockFocusInRect:
* Source/NSView.m ([-lockFocusInRect:]): Added missing variable
initializer.
* Source/NSWindow.m: Include NSToolbar.h
Thu Jan 30 04:55:12 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSToolbar.h: Declaration of GNUstepPrivate
category moved here from NSToolbar.m.
* Source/NSToolbar.m: Removed GNUstepPrivate category @interface.
* Source/NSWindow.m ([-setToolbar:]): Added missing cast.
Thu Jan 30 04:39:47 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSWindowController.m ([-dealloc]): Release the window, do
not autorelease it.
Thu Jan 30 03:57:42 2003 Serg Stoyan <stoyan@hologr.com>
* Source/NSMenuView.m ([-sizeToFit]): Removed the additional 17
pixels from menu view title size, they have no reason to be used,
and don't look good.
Thu Jan 30 02:55:17 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-scrollPageDown:], [-scrollPageUp:]): Do
not mark rulers as needing redisplay.
([-scrollWheel:]): Do not scroll header view; do not mark rulers as
needing redisplay.
Thu Jan 30 02:51:49 2003 Benhur Stein <benhur@inf.ufsm.br>
* Source/NSScrollView.m ([-_doScroll:]): Do not scroll header
view; do not mark rulers as needing redisplay.
([-reflectScrolledClipView:]): Mark the rulers as needing
redisplay. Do not constrain the scrollpoint of the header view.
2003-01-29 21:14 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-setTextStorage:): Tell our text
containers about the change.
* Source/NSTextContainer.m (-setLayoutManager:): Tell our text view
about the change.
* Source/NSTextView.m: Guard in a few places where _layoutManager
might be nil.
2003-01-29 16:01 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m (-layoutLineNewParagraph:): Place
baseline higher (in relation to the line height).
* Source/NSLayoutManager.m (-textStorage:edited:range:changeInLength:
invalidatedRange:): Fix selection range adjustment when the entire
selection is removed.
2003-01-29 01:40 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSTextView.h, Source/NSTextView.m: Implement
basic drawing of insertion point.
2003-01-28 Fred Kiefer <FredKiefer@gmx.de>
* TextConverters/RTF/RTFConsumer.m
In [copyWithZone:] use mutable copy of prargraph style.
2003-01-28 23:29 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-setConstrainedFrameSize:) Fix calculation of
the effective minimum size.
(-sizeToFit): Use maximum x and y of used rect to calculate size, not
the used rect's own size.
2003-01-28 22:54 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m (-textStorage:edited:range:changeInLength:
invalidatedRange:): Add code to adjust the selected range after each
change.
2003-01-28 22:20 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-initWithFrame:textContainer:): Make the
default text container inset (2,0).
2003-01-28 20:02 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter: Set proper used rect for line frag
rects.
* Source/GSLayoutManager.m (-usedRectForTextContainer:): Return sane
value if there are no line frag rects in the text container.
2003-01-28 17:55 Alexander Malmberg <alexander@malmberg.org>
* Source/GSLayoutManager.m (-layoutLineNewParagraph:): Try to make
sure each container gets at least one line frag rect.
* Source/NSTextView: Avoid making calls to the layout manager with
invalid arguments.
2003-01-28 17:40 Alexander Malmberg <alexander@malmberg.org>
* Source/GSHorizontalTypesetter.m, Source/GSLayoutManager.m:
Whitespace cleanups and comments.
* Source/NSLayoutManager.m: (-rectArrayForGlyphRange:
withinSelectedGlyphRange:inTextContainer:rectCount:): Give better
error message for an invalid glyph range.
2003-01-27 16:13 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m (-setHyphenationFactor:): Fix format
string.
* Source/NSTextView.m (-mouseDown:): Handle empty text views.
(-drawRect:): Always draw glyphs' backgrounds (even when not drawing
the text view's background).
Mon Jan 27 04:01:32 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScroller.m ([-mouseDown:]): When the knob slot if
clicked, do not set the new float value and send the action if the
float value has not changed.
Mon Jan 27 03:16:22 2003 Benhur Stein <benhur@inf.ufsm.br>
Patch with minor changes by Nicola:
* Source/NSScroller.m ([-testPart:]): The point to test is now
assumed to be in the window's coordinates.
([-mouseDown:], [-trackScrollButtons:]): Updated calls to
-testPart:.
([-drawArrow:highlight:]): Highlight the cell according to the
argument.
([-trackKnob:]): Do not set the new float value and send the
action if the float value has not changed.
Mon Jan 27 01:21:11 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSLayoutManager.m (GET_GLYPH): Removed argument, and
updated all callers, to get it to compile.
2003-01-27 00:01 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m (-drawBackgroundForGlyphRange:atPoint:):
Draw background for the selected range.
2003-01-26 21:16 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m
(-textStorage:edited:range:changeInLength:invalidatedRange:): Tell
the text views to resize when their text has changed.
2003-01-26 21:08 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m
(-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:):
Try harder to always return a valid glyph index.
2003-01-26 20:41 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSTextView.h: Don't use protocol forward
declarations.
2003-01-26 20:35 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m: Make sure the typing attributes are always
a mutable dictionary we can modify.
2003-01-26 20:30 Alexander Malmberg <alexander@malmberg.org>
* Source/NSCell.m: Add missing includes.
2003-01-26 20:24 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSMenu.h: Add missing class declaration
so the header is self-contained.
2003-01-26 19:17 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSFontInfo.h, Headers/gnustep/gui/NSFont.h,
Headers/gnustep/gui/NSLayoutManager.h, Headers/gnustep/gui/NSText.h,
Headers/gnustep/gui/NSTextContainer.h,
Headers/gnustep/gui/NSTextStorage.h,
Headers/gnustep/gui/NSTextView.h, Source/GNUmakefile,
Source/GSFontInfo.m, Source/GSTextStorage.m, Source/NSFont.m,
Source/NSLayoutManager.m, Source/NSParagraphStyle.m,
Source/NSSecureTextField.m, Source/NSText.m,
Source/NSTextContainer.m, Source/NSTextStorage.m,
Source/NSTextView.m, Headers/gnustep/gui/GSHorizontalTypesetter.h,
Headers/gnustep/gui/GSLayoutManager.h,
Headers/gnustep/gui/GSLayoutManager_internal.h,
Headers/gnustep/gui/GSTypesetter.h, Source/GSHorizontalTypesetter.m,
Source/GSLayoutManager.m, Source/GSTypesetter.m,
Source/NSTextView_actions.m: Merge in text-system-branch with the new
implementation of the text system.
2002-12-13 02:00 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSText.h, Headers/gnustep/gui/NSTextView.h,
Source/NSText.m, Source/NSTextView.m: Moved ivars from NSText to
NSTextView. Added or updated documentation for many methods. Marked
primitive and non-openstep methods.
* Source/GSHorizontalTypesetter.m, Source/GSLayoutManager.m,
Source/GSTextStorage.m, Source/NSTextContainer.m,
Source/NSTextStorage.m: Cleaned up includes.
2002-12-01 13:27 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m: Clean ups. Remove some old stuff. Add
some more comments.
2002-11-26 16:37 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSTypesetter.h, Source/GSTypesetter.m,
Source/GSHorizontalTypesetter.m: Remove
-baselineOffsetInLayoutManager:glyphIndex: method. Cleanups. Changed
to conform to coding standards.
2002-11-26 16:29 Alexander Malmberg <alexander@malmberg.org>
* Source/NSLayoutManager.m: Changed to conform to coding
standards. Cleanups.
2002-11-26 15:41 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSLayoutManager_internal.h,
Source/GSLayoutManager.m: Changed to conform to coding standards.
Cleanups. Moved some more NSTextView references to NSLayoutManager.
Use _run_cache_attributes::, _run_copy_attributes::, and
_run_free_attributes: methods instead of functions.
(-_run_cache_attributes::): Ask typesetter for font to use and call
-substituteFontForFont:.
* Source/NSLayoutManager.m: Moved NSTextView references here.
2002-11-26 12:52 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSFontInfo.h, Headers/gnustep/gui/NSFont.h,
Source/GSFontInfo.m, Source/NSFont.m: Add proper handling of
screen/printer fonts. Changes the backend GSFontInfo interface.
2002-11-24 20:58 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSMenu.h: Declare NSMutableArray.
2002-11-24 01:10 Alexander Malmberg <alexander@malmberg.org>
* Source/NSSpellChecker (-_launchSpellCheckerForLanguage:): Don't
pass the error message through printf expansion twice.
2002-11-24 00:56 Alexander Malmberg <alexander@malmberg.org>
* Source/GSFontInfo.m (-defaultLineHeightForFont): Round the linegap
to whole points.
2002-11-23 22:55 Alexander Malmberg <alexander@malmberg.org>
* Source/NSSecureTextField: Update to work with new text system.
2002-11-23 22:30 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSTextContainer.h,
Headers/gnustep/gui/NSTextStorage.h Source/NSTextStorage.m: Use
GSLayoutManager instead of NSLayoutManager in these classes.
2002-11-23 21:40 Alexander Malmberg <alexander@malmberg.org>
* Source/NSParagraphStyle ([NSMutableParagraphStyle -copyWithZone:]):
Implement.
2002-11-23 21:31 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/GSHorizontalTypesetter.h,
Headers/gnustep/gui/GSLayoutManager.h,
Headers/gnustep/gui/GSLayoutManager_internal.h,
Headers/gnustep/gui/GSTypesetter.h, Source/GSHorizontalTypesetter.m,
Source/GSLayoutManager.m, Source/GSTypesetter.m,
Headers/gnustep/gui/NSLayoutManager.h, Source/GNUmakefile,
Source/NSLayoutManager.m: Add the new text system.
2002-11-23 18:45 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextContainer: Implement -lineFragmentRectForProposedRect:
sweepDirection:movementDirection:remainingRect:.
2003-01-26 18:54 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSParagraphStyle.h,
Headers/gnustep/gui/NSTextStorage.h, Source/NSParagraphStyle.m,
Source/NSTextAttachment.m: Clean up the includes.
2003-01-26 18:46 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSGraphics.h,
Headers/gnustep/gui/NSGraphicsContext.h, Source/NSGraphicsContext,
Source/NSWindow.m: Clean up some prototypes.
2003-01-20 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSImage.m (NSImageCacheMore): New enum and ivar.
* Source/NSImage.m (-setCacheMode:): New method.
(-cacheMode): Idem.
(-compositeToPoint:fromRect:operation:): If printing, composite from
source image, not cache.
(-dissolveToPoint:fromRect:fraction:): Idem.
(-drawRepresentation:inRect:): Correct background rectfill for
flipped views.
(-bestRepresentationForDevice:): Rewrite. Close to being correct.
Tue Jan 21 00:39:52 2003 Serg Stoyan <stoyan@on.com.ua>
* Source/NSMenu.m ([-performKeyEquivalent:]): Only perform the
higlighting if the item is enabled.
* Source/NSMenuView.m
([-performActionWithHighlightingForItemAtIndex:]): Run the run
loop for a fraction of a second before executing the action, so
that the highlighted item is displayed. Do not remove the
highlighted item if a popup menu.
* Source/NSPopUpButton.m ([-mouseDown:]): Leave the selection
unchanged if the item which was selected is disabled.
([-performKeyEquivalent:]): Mark the popup button as needing
redisplay if the key equivalent is performed.
Mon Jan 20 00:37:39 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSWorkspace.m ([NSWorkspace +initialize]): Wrap in
an exception handler so we are sure to release the lock.
2003-01-14 Adam Fedor <fedor@gnu.org>
* Source/NSSound.m ([NSSound +gsnd]): Rename daemon to gnustep_sndd
* Tools/gsnd/GNUmakefile: Idem.
Thu Jan 9 05:17:22 2003 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m ([-_appIconInit]): If no app icon has
been set, set GNUstep as the applicationIcon by calling
setApplicationIconImage: so that the default image gets also
registered with name NSApplicationIconImage.
2003-01-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
Changed all the internal methods ([replaceCharacterRange:withString:],
[setFont:range:], [setTextColor:range:], [setalignment:range:],
[replaceRange:withAttributedString:], [setAtrributes:range:]) not
to call [shouldChangeTextInRange:replacementString:], so that they
can be called for a non editable text view.
Added this call to the methods: [insertText:], [transpose:],
[changeColor:], [alignCenter:], [alignLeft:], [alignRight:],
[alignJustified:], [readSelectionFromPasteboard:type:].
* Source/NSCell.m
In [selectWithFrame:...length:] removed duplicate setting of delegate.
* Source/NSBrowserCell.m
Use method calls in [initWithCoder:] to get fontification correct.
* Source/NSClipView.m
Use method calls in [initWithCoder:] so opaque flag is set
correctly.
Tue Dec 31 16:30:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Model/GNUmakefile: Build gmodel bundle when GUI_LIB is gnu, not
when it's not (Suggestion by Pete French <pete@twisted.org.uk>).
Mon Dec 30 18:29:41 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Model/GNUmakefile: Updated all checks for library-combo.
Sun Dec 29 12:27:35 2002 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/gnustep/gui/GSNibTemplates.h: Added declaration for
class GSFontProxy.
* Source/NSBundleAdditions.m: Added definition for class
GSFontProxy. This class handles the fall back which is
necessary when unarchiving NSFont when the specified font is
unavailable. Modified unarchiving code to use the new
class when unarchiving.
* Headers/gnustep/gui/NSToolbarItem.h: Corrected spelling of
NSToolbarFlexibleSpaceItemIdentifier.
* Source/NSToolbarItem.m: Did some initial work on the
default toolbar items.
* Source/externs.m: Corrected spelling of
NSToolbarFlexibleSpaceItemIdentifier.
Sat Dec 28 01:42:40 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSWindow.m ([-_initBackendWindow:]): Fixed code resetting
then restoring the drag types for a deferred window -- there was a
small confusion where NSArray and NSCountedSet were used
interchangeably, while they are not. Drag&drop now works with
deferred windows for me.
Wed Dec 25 17:01:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSText.h ([-setFont:range:]): Declare.
* Source/NSTextView.m ([-setFont:ofRange:]): Renamed to
setFont:range:.
* Source/NSText.m ([-setFont:range:]): New method.
([-setFont:ofRange:]): Call the new method.
2002-12-23 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSComboBoxCell.h
Removed unused ivars and added one to store the popup while open.
* Source/NSComboBoxCell.m
Moved popup positioning to GSComboWindow, rewrote popup size code
to respect numberOfItems and to adopt the used matrix. New methods
for the cell to popup interaction.
Corrected the encoding code of NSComboBoxCell. [objectValues] now
correctly warns in the data source case. New method
[stringValueAtIndex:]. Hack in [_didClick:] to get setting of
values working.
2002-12-22 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSToolbar.m: Added some of the code needed to add/remove
toolbar items.
2002-12-10 Adam Fedor <fedor@gnu.org>
* Source/NSView.m ([NSView -lockFocusInRect:]): Check for window iff
not printing.
([NSView -unlockFocusNeedsFlush:]): Idem.
([NSView -displayIfNeededInRectIgnoringOpacity:]): Idem.
([NSView -displayRectIgnoringOpacity:]): Idem.
2002-12-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImageView.m
Use [mouseDown:] instead of [mouseDragged:] to start dragging as
the later only works when the view is not first responder.
2002-12-05 Adam Fedor <fedor@gnu.org>
* Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager
-setNeedsDisplayForLineRange:inTextContainer:]): Make sure view
exists before trying to get range (Solaris limitation).
2002-12-04 Adam Fedor <fedor@gnu.org>
* Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager
-textStorage:edited:range:changeInLength:invalidatedRange:]): Make
sure view exists before trying to get range (Solaris limitation).
* Source/NSPrintOperation.m: Update for change in GSSetLocale.
2002-12-04 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/DPSOperators.h (DPSPrintf): Remove inline
attribute which caused compiler errors on FreeBSD (patch from Pete
French <pete@twisted.org.uk>).
2002-12-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBitmapImageRep.m
In [TIFFRepresentationUsingCompression:factor:] set extraSamples
and correct compression type if 0.
* Source/NSImageView.m
Implement dragging of images.
2002-12-02 Adam Fedor <fedor@gnu.org>
* Model/GMAppKit.m, Model/GMArchiver.m, Model/IBClasses.m,
Model/IMConnectors.m, Model/IMCustomObject.m, Model/IMLoading.m,
Model/Translator.m: Include model headers from gnustep/gui
not AppKit.
* Model/GNUmakefile: Install headers in gnustep/gui
2002-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* Model/IMConnectors.m: Update ivar setting code.
2002-11-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundleAdditions.m: Quick hack for setting ivars.
2002-11-27 Adam Fedor <fedor@gnu.org>
* Source/NSTabView.m ([NSTabView -selectedTabViewItem]): Check
that the array count is > 0
2002-11-24 Adam Fedor <fedor@gnu.org>
* Tools/example.m: Include NSProcessInfo.h
2002-11-24 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSSavePanel.h
* Headers/gnustep/gui/NSOpenPanel.h
* Source/NSSavePanel.m
* Source/NSOpenPanel.m
Added new MacOSX methods.
2002-11-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBezierPath.m
Corrected [GSBezierPath appendBezierPath:] to check the class of
the parameter and to keep the isFlat flag in sync.
* TextConverters/RTF/RTFConsumer.m
GSRTFregisterFont() handle fontnames with and without trailing ';'.
* TextConverters/RTF/rtfGrammer.y
Documented how to compile with recent bison releases.
Removed one conflict and an unneeded terminal.
Allow for additional blocks in font definition.
* TextConverters/RTF/rtfGrammer.tab.h
Regenerated with bison 1.35
* TextConverters/RTF/rtfGrammer.tab.c
Regenerated with bison 1.35 and corrected yyparse declaration.
* TextConverters/RTF/rtfScanner.c
Redefined GSRTFlex() without location parameter. Some cleanup
against compiler warnings.
2002-11-21 Adam Fedor <fedor@gnu.org>
* Version: 0.8.3
2002-11-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSGraphicsContext.m
Rewrote [GSSendBezierPath:] to send the full path to the
backend. Code comes from [NSBezierPath _doPath].
* Source/NSBezierPath.m
Replaces [_doPath] with calls to [NSGraphicsContext
GSSendBezierPath:].
Added optimisation methods [appendBezierPath:] and
[transformUsingAffineTransform:] on GSBezierPath.
2002-11-18 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundleAdditions.m: Added some logic in the initWithCoder
method to handle different gorm file versions. Even though there
is only one version currently, we need this in place.
* Headers/gnustep/gui/GSNibTemplates.h: Added #define for
GNUSTEP_NIB_VERSION.
2002-11-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCell.m
* Source/NSButtonCell.m
* Source/NSMenuItemCell.m
* Source/NSOutlineView.m
* Source/NSPopUpButtonCell.m
* Source/NSSplitView.m
Removed unneeded includes.
* Source/NSRulerView.m
Rewrote [drawHashMarksAndLabelsInRect:] to use string drawing and
bezier path code instead of direct PS operations.
2002-11-16 Frederic De Jaeger <dejaeger@free.fr>
* Source/NSOpenGLPixelFormat.m, Source/NSOpenGLContext.m,
Source/NSOpenGLView.m, Headers/AppKit/NSOpenGL.h,
Headers/AppKit/NSOpenGLView.h: New files.
* Source/Makefile: Updated accordingly.
* Headers/AppKit/GSDisplayServer.h (glContextClass,
glPixelFormatClass): New methods.
* Source/GSDisplayServer.m: Implement.
2002-11-15 Adam Fedor <fedor@gnu.org>
* Model/GMAppKit.m ([NSColor -encodeWithModelArchiver:]): Encode
named colors.
([NSColor +createObjectForModelUnarchiver:]): Decode them.
2002-11-13 Adam Fedor <fedor@gnu.org>
* Model/IMLoading.m ([GMModel -objects]): New.
([GMModel -connections]): Idem.
2002-11-12 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/AppKit.h: Add NSDocumentController.
* Source/NSSavePanel.m ([NSSavePanel -ok:]): Display filename
(with extension) if replacing.
2002-11-12 20:40 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTableView (-setDataSource:): Allow nil data source.
2002-11-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSSimpleLayoutManager.m
* Source/NSOutlineView.m
Removed compiler warnings by correcting method names.
* Source/NSBezierPath.m
* Source/NSOpenPanel.m
* Source/NSStringDrawing.m
Corrected includes to speed up compilation.
2002-11-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSComboSupport.h
* Source/GSComboSupport.m
Removed files.
* GNUmakefile
Removed GSComboSupport.m
* Source/NSComboBoxCell.m
Moved all ComboBox code to here to make further changes easier.
* Headers/gnustep/gui/NSSound.h:
Prefixed all ivars with underscore
* Source/NSSound.m
Adopted to change in header and simplified [copyWithZone:] and
[initWithCoder:].
2002-11-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDocumentController.m: Don't try to store NSURL objects in
defaults system.
2002-11-08 Adam Fedor <fedor@gnu.org>
* Source/NSSavePanel.m ([NSSavePanel -_shouldShowExtension:isDir:]):
Filter regular files also.
* Source/NSMenu.m ([NSMenuPanel -canBecomeKeyWindow]): Return
YES only if we are the main menu.
* Source/NSWindow.m ([NSWindow -sendEvent:]) (FocusIn): If we are
the main menu, try to find another window to become key.
2002-11-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSCell.m
in [initImageCell:] and [initTextCell:] set the default menu.
In all [XXXValue] methods try to get the value from the objectValue
first and use [stringValue] instead of accessing the contents directly.
Removed AUTORELEASE calls from [attributedStringValue] and similar
places.
In [cellSize] use [attributedStringValue] to get the string to size.
In [drawInteriorWithFrame:inView:] use [attributedStringValue] to
get the string to draw. This make the method [_drawText:inFrame:]
obsolete for this class, but subclasses still use it.
New method [_setupTextWithFrame:inView:editor:] with the common
text view setup from [editWithFrame:inView:editor:delegate:event:]
and [selectWithFrame:inView:editor:delegate:start:length:].
Calls to [setFont:] and [setAlignment:] switch the cell to
NSTextCellType.
* Source/NSButtonCell.m
Removed all direct usage of ivar _contents. Implemented
[attributedAlternateTitle] and use this in [cellSize] and
[drawInteriorWithFrame:inView:].
* Headers/gnustep/gui/NSDragging.h:
Added some new MacOSX values to NSDragOperation and some new methods.
2002-11-06 Adam Fedor <fedor@gnu.org>
* Source/NSTableView.m ([NSTableView -drawRow:clipRect:]):Swapped
sides of while statement && operator to check for _numberOfColumns
first.
([NSTableView -drawGridInClipRect:]): Idem.
Also remove some unused variables.
([NSTableView -mouseDown:]): Select the drag row if it's not currently
selected. Simplify some code (do all selecting in one place).
(-mouseDown2:): Remove commented out method.
([NSTableView -draggingUpdated:sender]): scrollRowToVisible if we
are dragging near edges of view.
2002-11-02 Lyndon Tremblay <humasect@shaw.ca>
* NSTableView.m ([NSTableView -columnAtPoint:]): Swapped sides of
while statement && operator to check for _numberOfColumns first.
2002-11-01 Lyndon Tremblay <humasect@shaw.ca>
* Source/NSBitmapImageRep.m ([NSBitmapImageRep -draw]): Cast
argument 11 for NSDrawBitmap() to remove warning.
2002-11-04 Adam Fedor <fedor@gnu.org>
* Source/NSWorkspace.m ([NSWorkspace -_workspaceApplication]):
Change default to GWorkspace.
2002-11-02 Adam Fedor <fedor@gnu.org>
* Source/NSWindowController.m (-setDocument:): Remove window's
setReleasedWhenClosed when doc is not nil.
(-setWindow:): Idem.
(Pointed out by Stefan Urbanek).
2002-11-02 Adam Fedor <fedor@gnu.org>
* Source/NSParagraphStyle.m (-compare:): Correct the comparision of
NSTextTabs.
* Source/NSScrollView.m (-tile:): Add a call to setNeedsDisplay.
* Source/NSRulerMarker.h: Correct a mispelling in a method name
makerLocation to markerLocation.
* Source/NSTextView.m: Idem.
(-rulerView:didAddMarker:) Create a new NSTextTab corresponding
to the marker.
(-rulerView:handleMouseDown:) Ask rulerview to track a new
marker, instead of simply adding a new marker
* Source/NSRulerView.m: Remove some unused macros.
(-_verifyReservedThicknessForMarkers, _rulerRect, _markersRect,
-markerAtPoint:): New private.
(-trackMarker:withMouseEvent:): Implement.
(-mouseDown:) Track marker if click was on marker, or asks
client to handle if click was on ruler area.
* Source/NSRulerMarker.m: -trackMouse:adding:): Implement.
(Patches from Benhur Stein <benhur@inf.ufsm.br>).
2002-11-01 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-finishLaunching): Instantiate an
NSDocumentController if this is a doc-based app.
(-targetForAction:): Check if NSDocumentController responds
to action if this is a doc-based app.
* Source/NSDocument.m (-close): Rewrite to deal with removing
objects from array while enumerating.
* Source/NSDocumentController.m (-closeAllDocuments): Idem.
(-sharedDocumentController): Don't set ourselves as the app delegate.
(-isDocumentBasedApplication): Method for NSApplication.
* Source/NSWindow.m (-sendEvent:): Retain _lastView
just in case it's a temporary view.
2002-10-31 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundleAdditions.m:
+[loadNibFile:externalNameTable:withZone:]: Added logic
to load .gorm directories and also maintained backwards compatibility
with .gorm files.
2002-10-29 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSSplitView.m ([NSSplitView -resizeSubviewsWithOldSize:]):
Move code from setFrame: & resizeWithOldSuperviewSize:
to resizeSubviewsWithOldSize:.
* Source/NSColorPanel.m ([NSColorPanel _initWithoutGModel]):
make the window a little bit higher. Some ColorPickers would not fit.
* ColorPickers/GSCMYKColorPicker.tiff:
* ColorPickers/GSGrayColorPicker.tiff:
* ColorPickers/GSHSBColorPicker.tiff:
* ColorPickers/GSRGBColorPicker.tiff:
resize so that the image fits within the NSButton.
(only blank area was removed)
2002-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/gnustep/gui/GSMethodTable.h:
* Headers/gnustep/gui/PSOperators.h:
Add const qualifier to PSPrintf and PSWriteData argument types to
match all other declatrations.
* Headers/gnustep/gui/NSMenu.h: Add and document validation protocol.
* Headers/gnustep/gui/NSMenuItem.h: Add some documentation and tidy.
2002-10-28 Adam Fedor <fedor@gnu.org>
* Source/NSTextView.m (-drawRect:): Don't draw insertion point
when printing.
* PrinterTypes/GSProlog.ps: New file.
* Source/NSView.m (-_loadPrinterProlog): New.
(beginPage:...): Use it.
2002-10-28 Adam Fedor <fedor@gnu.org>
* Source/NSScreen.m (-visibleFrame): Don't include dock
with NexT/WindowMaker styles (patch from Stefan <urbanek@host.sk>).
2002-10-28 Adam Fedor <fedor@gnu.org>
* Source/NSPrintOperation.m (-cleanUpOperation): Order out print
panel.
(-_runOperation): Use autorelease pool around operation.
(-init): Create a proper, unique temp print file.
(-deliverResult): Implement for previewing, spooling.
* Source/NSPrintPanel.m (-runModel): Don't order self out.
(-_setStatusStringValue:) New private method.
2002-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTextField.m: ([-dealloc]) morph self to be an NSTextView
so that when dealloc is re-called, any subclass dealloc methods
don't get re-called.
* Source/NSTableView.m: Memory leak fix added as suggested by
Stefan Urbanek. NOTE ... selection code looks very inefficient,
perhaps we should look into whether it is worth optimising?
2002-10port-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSMenuView.m ([NSMenuView -trackWithEvent:]):
new tracking code. The menu feels snappier now (at least for me).
* Source/NSColorWell.m ([-activate:], [-deactivate])
register/unregister for NSColorPanelColorChangedNotification.
([NSColorWell _takeColorFromPanel:]): new method to prevent endless
loop when setting the well's color from the color panel.
([NSColorWell -initWithCoder:]): register for NSColorPboardType.
* Source/NSColorPanel.m ([NSColorPanel -_bottomWellAction:]):
called when hitting one of the well at the bottom of the panel.
Previous behaviour would not send a
NSColorPanelColorChangedNotification.
([NSColorPanel -initWithCoder:]): update bottom wells construction to
call _bottomWellAction: instead of takeColorFrom:.
2002-10-26 Adam Fedor <fedor@gnu.org>
* Source/NSOutlineView.m (-drawRow:clipRect:): Release imageCell
(patch from Stefan <urbanek@host.sk>).
2002-10-25 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m: Remove some NSDebugLogs.
* Source/NSDocument.m
(-fileNameFromRunningSavePanelForSaveOperation:): Set directory to
the currentDirectory if no fileName is set. Localize.
(-fileAttributesToWriteToFile:ofType:saveOperation:): Stub implement.
* Source/NSDocumentController.m: Document.
(+sharedDocumentController): Proper allocation/init. Set ourselves
as the application delegate if there isn't one already.
(-init): Retrieve list of recent documents.
(-reviewUnsavedDocumentsWithAlertTitle:cancellable:): Save
current directory. Localize.
(-currentDirectory): Rewrite according to docs.
* Source/NSOpenPanel.m (-runModalForTypes:): Use nil for
directory.
* Source/NSSavePanel.m (_setupForDirectory:file:): Use
current directory if nil, otherwise keep the old one.
(-runModal): Pass nil for directory.
2002-10-25 Mirko Viviani <mirko.viviani@rccr.cremona.it>
* configure.ac: fixed header/ldflags for freebsd.
2002-10-21 Adam Fedor <fedor@gnu.org>
* Source/GSFontInfo.m (+encodingForRegistry:encoding:): Remove.
Tue Oct 22 02:13:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Resources/GNUmakefile (string): Renamed to after-strings so
that it works with the new gnustep-make strings targets.
2002-10-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSView.m: Key view code ... complete rewrite to match
MacOS-X implementation. Fix coding bug in rewrite.
* Source/NSTextField.m: don't use _nextKeyView
* Source/NSMatrix.m: don't use _nextKeyView
Mon Oct 21 01:17:41 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSView.m ([-setNextKeyView:], [-setPreviousKeyView:]):
Rewritten the way the next/previous key view chain is managed, to
fix problem when a next/previous key view is replaced with a new
one (Patch by Caba Conti modified).
2002-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/gnustep/gui/NSComboBox.h: Add APPKIT_EXPORT and make layout
a bit more consistent.
* Source/NSTextView.m: ([-dealloc]) remove unneeded RETAIN()
Fixes for beugs reported by Caba Conti.
2002-10-18 Adam Fedor <fedor@gnu.org>
* Documentation/announce.texi: Fix grammer.
* Try to fix focus interaction with WindowMaker.
* Source/NSApplication.m ([NSIconWindow -canBecomeKeyWindow]):
Revert 2002-10-08 change.
(-appIconInit): Don't set input focus to app icon.
(-_windowWillClose:): Idem.
* Source/NSMenu.m: New class NSMenuPanel
(_createWindow): Use it.
* Source/NSWindow.m (-_lossOfKeyOrMainWindow): Make sure menu
window doesn't get key except as a last resort.
(-sendEvent: (GSAppKitWindowFocusIn)): Don't become key if app
is hidden.
* Source/NSPanel.m (-sendEvent:): Same as change to NSWindow on
2002-10-03.
* Source/NSDocument.m (-init): Set default file type.
Tue Oct 15 02:36:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m (initialize_gnustep_backend): Get the
GSBackend class using NSClassFromString() rather than NSBundle's
-classNamed: to make it more robust on platforms - eg MS Windows -
which have unclear problems with dynamic loading.
2002-10-14 Adam Fedor <fedor@gnu.org>
* Version: 0.8.2
* Documentation/news.texi: Update.
Mon Oct 14 02:24:45 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSavePanel.m (browser:createRowsForColumn:inMatrix:):
Fixed last change which had broken the GSFileBrowserHideDotFiles
option.
2002-10-13 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/GSNibTemplates.h: Added parentClassName member to
templates so that the parent of the custom class could be stored.
* Source/NSBundleAdditions.m: Made necessary modfications to the
template implementations to use the parent class name
2002-10-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSavePanel.m: ([--browser:createRowsForColumn:inMatrix:])
Don't try to read .hidden file for processing unless it exists.
* Source/DocMakefile: New makefile for building documentation
without having to build binaries. Also add flag for macros template.
* Source/GNUmakefile: Removed documentation building rules.
* Documentation/GNUmakefile: Use DocMakefile
* Source/NSWindow.m: Slight documentation update/addition.
* Source/NSView.m: ditto.
* Source/NSToolbar.m: ditto.
* Source/NSTextView.m: ditto.
* Source/NSMatrix.m: ditto.
* Source/NSLayoutManager.m: ditto.
2002-10-11 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSOpenPanel.h: Move comments to source file
as autogsdoc.
* Headers/gnustep/gui/NSSavePanel.h: Idem.
* Source/NSOpenPanel.m: Document.
* Source/NSSavePanel.m: Idem.
* Source/NSBrowser.m: Change NSDebugLog to NSDebugLLog (or remove).
* Source/NSButtonCell.m, Source/NSCell.m, Source/NSControl.m,
Source/NSEvent.m, Source/NSFontManager.m, Source/NSFontPanel.m,
Source/NSImageCell.m, Source/NSMatrix.m, Source/NSMenu.m,
Source/NSMenuItem.m, Source/NSResponder.m, Source/NSRulerView.m,
Source/NSScrollView.m, Source/NSSplitView.m, Source/NSStepper.m,
Source/NSTableHeaderView.m, Source/NSWindow.m: Idem.
Fri Oct 11 15:10:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/AppKit.h: Include AppKit/NSFileWrapper.h
(Reported by Ludovic Marcotte <ludovic@Sophos.ca>).
Fri Oct 11 01:37:57 2002 Nicola Pero <n.pero@mi.flashnet.it>
* TextConverters/RTF/RTFConsumer.m ([RTFAttribute -currentFont]):
If the font can't be found in the usual ways, try to get it as a
composite font name like 'FontFamily-Face'
(Patch by Georg Fleischmann <georg@vhf.de> modified).
Fri Oct 11 01:15:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSFont.m (getNSFont): If fontWithName:size: returns nil,
try various approximations to get a font.
Fri Oct 11 01:02:24 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patch by Georg Fleischmann <georg@vhf.de>:
* Source/NSFont.m ([NSFont -initWithName:matrix:fix:]): Release
self and return nil if the font info is nil. This makes
[NSFontManager -convertFont:...] work.
Thu Oct 10 19:56:29 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-scrollPageUp:]): Implemented.
([-scrollPageDown:]): Implemented. ([-pageUp:]):
Implemented. ([-pageDown:]): Implemented.
* Source/NSTextView.m ([-pageDown:]): Implemented.
([-pageUp:]): Implemented.
(Patch by David Ayers <d.ayers@inode.at>).
Thu Oct 10 19:16:40 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSFontManager.m ([NSFontManager -fontMenu:]): Use 't'
as key equivalent for the font panel.
(Patch by David Ayers <d.ayers@inode.at>).
2002-10-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBezierPath.m
Handle seting of an empty dash in [setLineDash:count:phase:].
[_doPath] now always sends the dash pattern, even when empty.
2002-08-30 Georg Fleischmann
* Source/NSWindow.m ([-constrainFrameRect]): Move window inside
screen, if window top is below screen.
2002-10-09 Adam Fedor <fedor@gnu.org>
* Source/NSApplication (hide:): Don't setinputfocus to the
icon window.
* Source/NSWindow.m (-sendEvent:) (GSAppKitWindowFocusIn):
If we're not visible, don't try to become main/key.
2002-10-08 Adam Fedor <fedor@gnu.org>
* Fix window focus problems.
* Source/NSApplication.m ([NSIconWindow -canBecomeKeyWindow]):
return YES.
(-finishLaunching): Don't make main menu key.
([NSApplication -deactivate]): Don't setinputfocus to the
icon window.
* Add Quartz-like interface and overridable passing of
colorspaces and fonts to backend.
* Headers/gnustep/gui/NSFont.h (_fontRef): New ivar.
* Source/NSFont (-fontRef): New method.
(GSSetFont): Use it.
* Source/GSFontInfo (-matrix): New method.
* Headers/gnustep/gui/GSFusedSilica.h: New header
* Headers/gnustep/gui/GSFusedSilicaContext.h: Idem.
* GSFusedSilica.m: New file.
* GSFusedSilicaContext.m: Idem.
Tue Oct 8 19:15:24 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSecureTextField.m: Mostly rewritten. Main changes -
NSCoding protocol methods moved to the cell; implemented encoding;
do not share the secure text field globally, just create one each
time; create the secure text field in setupFieldEditorAttributes:
and removed most other hacks. Init methods of the secure text
view rewritten to be simpler. Do not register the secure text
view for services. Should no longer crash with the new internals.
* Headers/gnustep/gui/NSSecureTextField.h: Prefix ivars with
underscore. Add setEchosBullets: and echosBullets methods to
the textfield as well as the cell.
Tue Oct 8 18:46:45 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextContainer.m ([-replaceLayoutManager:]): Retain the
layout manager, then release it at the end; refresh the layout
manager cached by the textview; do not set the layout manager's
text storage manually.
* Source/NSTextStorage.m ([-removeLayoutManager:]): Set the
argument's text storage to nil before removing it from the array.
2002-10-08 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/GSNibTemplates.h: Added new template class.
* Source/NSBundleAdditions.m: Added implementation for new template
class. Improved some of the existing classes.
2002-10-08 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSButtonCell.h
Adoped the enums NSButtonType and NSBezelStyle to the new MacOSX names.
* Source/NSButtonCell.m
[setButtonType:] use those new names. Corrected [cellAttribute:]
and [setCellAttribute:] to use the right tests. [performClick:]
now play the sound, if provided.
2002-10-07 Adam Fedor <fedor@gnu.org>
* Source/NSBrowser.m (-frameOfColumn:, -tile): Change distance
between columns from 1 to 2. (Patch from Serg Stoyan
<stoyan@hologr.com>)
* Source/NSGraphicsContext.m (-GSSetFillColorspace:):Take
void * argument
(-GSSetStrokeColorspace:): Idem.
(-GSSetFont:): Idem.
2002-10-06 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundleAdditions.m: Implemented the following classes:
NSWindowTemplate, NSViewTemplate, NSControlTemplate, NSTextTemplate,
NSTextViewTemplate, NSMenuTemplate, GSClassSwapper. These classes
are used to allow the .gorm files to have placeholders for custom
classes defined by the developer. This is similar to the approach
used in OPENSTEP 4.2/Mach and MOSX.
* Headers/gnustep/gui/NSNibLoading.h: Removed declarations for classes
which should be considered private to GNUstep.
* Headers/gnustep/gui/GSNibTemplates.h: Moved GSNibContainer,
GSNibItem, GSCustomView here. Added declarations for new template
classes.
2002-10-04 Adam Fedor <fedor@gnu.org>
* Source/NSBrowser.m: Implement non-separated columns.
(-setSeparatesColumns:): Remove borders if not separated.
(-setTitled:): Return without chaging if we are not separated.
(-frameOfColumn:): Compute properly with{out} separation.
(-tile): Idem.
(-initWithFrame:): Set maxVisibleColumns to 3.
(-drawRect:): Draw properly with{out} separation.
(Patch from Serg Stoyan <stoyan@hologr.com>).
2002-10-03 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSWindow.h: New _lastView ivar.
* Source/NSWindow.m (-sendEvent:): Use it instead of _lastDragView
to remember mouseDown view.
2002-10-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.m: ([-getInfoForFile:application:type:])
Make an exception for directories without file extensions ... never
return plain type for them even if apps claim to open them.
Wed Oct 2 11:26:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m
([-shouldChangeTextInRange:replacementString:]): Immediately
return NO if not editable; do not send out textShouldBeginEditing:
and textDidBeginEditingNotification unless the textview is already
first responder (Patch by David Ayers <d.ayers@inode.at>).
2002-10-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.m: ([-getInfoForFile:application:type:])
Try to return a plain file type for directories which are openable
by some app.
2002-10-01 Adam Fedor <fedor@gnu.org>
* Tools/gsnd/portaudio/pa_unix_oss/pa_unix_oss.c
(PaHost_WatchDogProc): usleep can have a void return (Modified
patch from Charles Philip Chan).
* Source/NSBrowserCell.m (-drawInteriorWithFrame:inView:):
Use NSCompositeSourceOver.
Tue Oct 1 17:07:25 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.h (_lineLayoutInformation): Renamed
to _lineLayoutInfo.
* Source/GSSimpleLayoutManager.m: Updated for change.
Tue Oct 1 16:58:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([NSTextView -moveToEndOfLine:]): Fixed
moving to the end of 'one before the last' line.
([NSTextView -moveToEndOfParagraph:]): Idem.
Tue Oct 1 16:40:29 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m
([-glyphIndexForPoint:inTextContainer:fractionOfDistanceThroughGlyph:]):
Fix the insertion point positioning when clicking beyond the last
character of a line in an NSTextView, or before the first one;
special care to be used for the last line in the textview
(Originated by a patch by David Ayers <d.ayers@inode.at>, modified
by me).
2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFont.m: Rewrote code dealing with creation and destruction
of font objects to remove holes in the original caching scheme and to
optimimise font creation/destruction somewhat. All font objects
should now be handled by the cache, no matter how they are created.
2002-09-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFont.m: Replace caching code which never released fonts
with a cache which only holds fonts as long as something is using them.
2002-09-26 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSBrowserCell.h
Removed all references to coding.
* Source/NSBundleAdditions.m
Moved add on methods.
* Source/NSImage.m
Moved method [NSBundle pathForImageResource:] to here.
* Source/NSSound.m
Moved method [NSBundle pathForSoundResource:] to here.
* Source/NSButton.m
Removed the coder methods as they were just super calls.
Wed Sep 25 03:37:27 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSInterfaceStyle.h: Put include guards in
the canonical form, by swapping them with #ifndef STRICT_OPENSTEP;
this arrangement is more efficient when the file is included
multiple times with GCC.
Wed Sep 25 03:30:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/GSGuiPrivate.h: Redefine both _() and
NSLocalizedString() to be wrappers for GSGuiLocalizedString()
(Idea from Stefan Urbanek <urbanek@host.sk>).
* Source/NSApplication.m: Use _() and NSLocalizedString()
everywhere for localized strings, instead of
GSGuiLocalizedString(). (NSAppKitUncaughtExceptionHandler):
Small rearrangement of code to make it easier for make_strings
to parse localization calls.
* Source/NSDocument.m: Include GSGuiPrivate.h, and localize strings
(from a patch by Stefan Urbanek <urbanek@host.sk>).
* Resources/GNUmakefile: Completely rewritten to use
resource-set.make to install the files; added experimental
'strings' target which runs make_strings and updates the
Localizable.strings files.
* Resources/English.lproj/Localizable.strings: Updated using make
strings.
* Resources/Italian.lproj/Localizable.strings: Updated using make
strings, then manually updated all translations; added missing ones.
Tue Sep 24 16:32:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
After discussions with David Ayers:
* Source/NSCell.m ([-editWithFrame:inView:editor:delegate:event:]):
Do not perform an immediate display of the textfield.
([-selectWithFrame:inView:editor:delegate:start:length:]): Idem.
* Source/NSTextField.m ([-becomeFirstResponder]): If the text
field accepts first responder status, select its text.
([-mouseDown:]): If not selectable, pass the mouse down to super.
If selectable, and _text_object is not nil, pass the mouse down to
the _text_object. Else, try to get first responder status, and
to start editing.
Tue Sep 24 03:29:55 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSplitView.m: Cache the default notification center for
the whole class.
* Source/NSTextStorage.m: Idem.
Tue Sep 24 03:14:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextField.m ([-dealloc]): Implemented (Reported missing
by David Ayers).
* Source/NSDrawer.m ([-dealloc]): Remove the delegate from the
notification center.
* Source/NSMatrix.m ([-dealloc]): Idem.
* Source/NSSplitView.m ([-dealloc]): Idem.
* Source/NSTableView.m ([-dealloc]): Idem.
* Source/NSTextStorage.m ([-dealloc]): Idem.
* Source/NSWindow.m ([-dealloc]): Idem.
* Source/NSToolbar.m ([GSToolbarButton -dealloc]): New method.
([NSToolbar -dealloc]): New method.
Mon Sep 23 15:23:23 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m (initialize_gnustep_backend): Improved
error messages. Try to be as descriptive and verbose as possible
about what exactly went wrong when loading the backend fails.
2002-09-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBrowser.m
Removed unused ivar _numberOfRows from NSBrowserColumn.
Made GSBrowserTitleCell a subclass of NSTableHeaderCell.
Corrected [scrollColumnToVisible:], so that the column becomes
visible but not always last. Adopted [scrollViaScroller:] to this
change. Inlined most private methods and optimized the
code. Reorganized [_performLoadOfColumn:] to remove code
duplication. Set the title of a column here and not each time
when drawing.
2002-09-22 16:33 Alexander Malmberg <alexander@malmberg.org>
* Source/NSTextView.m (-initWithFrame:textContainer:): Set
uses_font_panel and uses_ruler to NO while initializing and back
to YES when we're done.
2002-09-22 16:26 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFontPanel.m (-init): Set sane defaults _before_ trying
to set values for the current font.
Move code to select a certain size in the size browser to
-_trySelectSize:. Update the size in the preview and the browser
when the size text field changes.
Mark private variables and constants as static.
2002-09-22 01:23 Alexander Malmberg <alexander@malmberg.org>
* Headers/gnustep/gui/NSView.h, Source/NSPanel.m, Source/NSText.m,
Source/NSTextField.m, Source/NSView.m, Source/NSWindow.m: Add
-needsPanelToBecomeKey method to NSView and override it to return
YES in NSText and NSTextField. Use it in NSPanel to handle
becomesKeyOnlyIfNeeded properly.
2002-09-21 18:54 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m corrected preprocessor error messages.
* Source/NSToolbar.m corrected preprocessor error messages.
2002-09-21 17:48 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFontPanel.m (-_familySelectionChanged:, score_difference):
If an exact match for the wanted weight and traits can't be found,
score all faces in the new family and select the one that differs
the least.
2002-09-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile: Set flags to generate documentation using
templates.
2002-09-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSSplitView.m ([NSSplitView -initWithCoder:]):
set _never_displayed_before to YES.
* Source/NSFont.m: rearrange the last change to make
it look like other classes' initWithCoder/encodeWithCoder
* Source/NSTextView.m: do not call _blink directly
(suggested by Nicola Pero).
* Source/NSButtonCell.m
([NSButtonCell -drawInteriorWithFrame:inView:]):
if the button is NSImageOnly, draw the dotted frame at
the right location.
2002-09-16 19:28 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFont (+initialize, -initWithCoder:, -encodeWithCoder:):
Encode and decode matrixExplicitlySet, and guess its value when
loading old encoded objects.
2002-09-16 19:05 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-close): Retain and release self to make sure
it isn't deallocated until we're done.
2002-09-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSStringDrawing.m
drawRun() now correctly flags that it wants some temporary memory
allocated. The old behaviour resulted in a memory leak.
* Headers/gnustep/gui/NSBrowser.h
Declare new MacOSX method [drawTitleOfColumn:inRect:]. Removed
unused ivar _browserCellClass. Replaced ivar _titleCell with a
static variable used for all browsers.
* Source/NSBrowser.m
Use _lastColumnLoaded instead of _lastVisibleColumn in
[selectAll:]. Implemented MacOSX [drawTitleOfColumn:inRect:].
Optimized [matrixInColumn:] and use it where suitable.
Moved calls to [_adjustMatrixOfColumn:] inside of
[_performLoadOfColumn:].
2002-09-15 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSMenuView.m:
New private method [NSMenuView -_itemCell] in newly created
GNUstepPrivate category.
* Source/NSMenu.m:
Add GNUstepPrivate interface of NSMenuView.
[NSMenu -_setOwnedByPopUp:]: update itemCells' menuView
(fix NSPopUpButtonCell-decoding problem).
* Source/NSPopUpButtonCell.m
([NSPopUpButtonCell -synchronizeTitleAndSelectedItem]):
Fix "mouseUp outside of menu" problem. Now the previous
selected item stay selected.
([NSPopUpButtonCell -initWithCoder:]):
Set the selectedItem properly.
2002-09-15 13:17 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImage.m (compositeToPoint:fromRect:operation:,,
dissolveToPoint:fromRect:fraction:): Don't un-flip coordinates
when drawing in flipped views.
2002-09-14 13:35 Alexander Malmberg <alexander@malmberg.org>
* Source/NSFontPanel.m: Break -browser:selectRow:inColumn: into
three selection changed methods and set them as the action of the
respective browser.
Fri Sep 13 09:36:06 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSNibDeclarations.h: Added include guards.
2002-09-11 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSText.m ([NSText -initWithCoder:]):
Retain the decoded background color.
* Source/NSTextView.m :
multiple location: don't ignore textContainer's inset
([NSTextView -initWithCoder:])
([NSTextView -encodeWithCoder:])
Encode caret color, textContainer's size and whether the
textContainer has widthTracksTextView or heightTracksTextView set.
([NSTextView -sizeToFit]) Change width (height) only if
is_horizontally_resizable (is_vertically_resizable).
([NSTextView -scrollRangeToVisible:]) scrolls to the first char of
the range.
([NSTextView -invalidateTextContainerOrigin]): Don't ignore inset,
set the origin so that the justification is preserved even if the
textContainer's width is larger that the textview's width.
([NSTextView -updateInsertionPointStateAndRestartTimer:]):
update and place the insertion point properly.
([NSTextView -moveDown:]) & ([NSTextView -moveUp:]):
Don't ignore inset. Make insertion point visible.
* Source/NSTextField.m ([NSTextField -acceptsFirstResponder:]):
responds NO if the editing is still in progrss.
* Source/NSLayoutManager.m
([NSLayoutManager -drawBackgroundForGlyphRange:atPoint:]):
Don't ignore textContainer's inset.
* Source/GSSimpleLayoutManager.m
Replaced [-drawLinesInLineRange:] with
[-drawLinesInLineRange:atPoint:].
Replaced [-drawSelectionAsRangeNoCaret:] with
[-drawSelectionAsRangeNoCaret:atPoint:].
Those replacements make it easier to take inset into account.
([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:])
([-locationForGlyphAtIndex:])
([-boundingRectForGlyphRange:inTextContainer:])
([-rectForCharacterIndex:])
([-setNeedsDisplayForLineRange:inTextContainer:]):
Various fixes.
([-textStorage:edited:range:changeInLength:invalidatedRange:])
Update insertion point if needed (useful when alignment changes).
([-rebuildForRange:delta:inTextContainer:]):
Update layout mechanism.
* Source/NSCell.m
([NSCell -highlight:withFrame:inView:]):
Ask the control to draw the background if we are not opaque.
([NSCell -editWithFrame:inView:editor:delegate:event:]):
([NSCell -selectWithFrame:inView:editor:delegate:start:length:]):
([NSCell -endEditing:]):
instantiate (and remove) the textview so that it can be scrolled.
2002-09-09 Adam Fedor <fedor@gnu.org>
* configure.ac: Switch to disaple gsnd.
2002-09-07 Adam Fedor <fedor@gnu.org>
* Source/NSBrowser.m: Convert comments for gsdoc.
(-selectRow:inColumn:): Call delegate -browser:selectRow:inColumn:.
(-setPath:): Call delegate -browser:selectCellWithString:inColumn:.
(-doClick:): Do not call the above methods.
(-initWithCoder:): Set _isLoaded to NO.
* Source/NSSavePanel.m (-_browser:selectCellWithString:inColumn):
Rename from -browser:selectCellWithString:inColumn.
(_setupForDirectory:file:) Use it.
* Source/NSOpenPanel.m (-browser:selectCellWithString:inColumn):
Remove.
* Source/NSWindow.m ([NSWindow -performClose:]): Don't close
if a modal session is going and we aren't the modal window.
2002-09-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m
Release the invocation in [detachDrawingThread:toTarget:withObject:]
not in the helper method. (Patch by David Ayers <d.ayers@inode.at>).
* Headers/gnustep/gui/NSPasteboard.h
* Source/externs.m
Define NSHTMLPboardType.
* Headers/gnustep/gui/GSTextConverter.h
Define protocol for method [classForFormat:producer:].
* Headers/gnustep/gui/NSTextAttachment.h
Moved NSAttributedString text attachment method declarations to here.
* Headers/gnustep/gui/NSAttributedString.h
Define new MacOSX methods.
* Source/NSAttributedString.m
Implemented [textFileTypes], [textPasteboardTypes],
[textUnfilteredFileTypes], [textUnfilteredPasteboardTypes].
* Source/NSMenu.m
* Source/NSTextView.m
Corrected includes.
2002-09-06 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSPrintInfo.h: Add print option.
* Source/NSPrintOperation.m ([-_printPaginateWithInfo:knowsRange:):
Use it.
(-_rectForPage:info:xpage:ypage:): Correct xpage/ypage calc.
(-_adjustPagesFirst:last:info:): Likewise.
* Source/NSStringDrawing.m (setupSpecialRun): Set base.
* Source/NSSound.m (-getDataFromFileAtPath:): Use
fileSystemRepresentation.
* Source/NSView.m (-beginPage:label:bBox:fonts:): Use
lossyCString.
2002-09-06 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSColorPanel.h
* Source/NSColorPanel.m
Moved the method [NSApplication orderFrontColorPanel:] to here.
* Headers/gnustep/gui/NSHelpPanel.h
* Source/NSHelpPanel.m
Moved the method [NSApplication orderFrontHelpPanel:] to here.
* Headers/gnustep/gui/NSDataLinkPanel.h
* Source/NSDataLinkPanel.m
Moved the method [NSApplication orderFrontDataLinkPanel:] to here.
* Headers/gnustep/gui/NSPageLayout.h
* Source/NSPageLayout.m
Moved the method [NSApplication runPageLayout:] to here.
* Headers/gnustep/gui/NSApplication.h
Removed methods that belong to other files. Added types and method
definitions for MacOSX.
* Source/NSApplication.m
Implemented [detachDrawingThread:toTarget:withObject:].
[sendAction:to:from:] now uses [targetForAction:to:from:]. Removed
moved methods. [orderFrontStandardAboutPanel:] now calles
[orderFrontStandardInfoPanelWithOptions:] so that subclasses only
have to overwritte this. Split up parts of [terminate:] into
[replyToApplicationShouldTerminate:].
Thu Sep 5 11:39:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m
([-updateInsertionPointStateAndRestartTimer:]): Make sure we start
the on/off/on/off blinking sequence from the on, so that we give
immediate feedback to the user as to where the insertion point is
(Patch by David Ayers <d.ayers@inode.at>).
2002-08-30 Adam Fedor <fedor@gnu.org>
* Version: 0.8.1
* Documentation/GNUmakefile: Set dir for reference documentation
* Documentation/GNUmakefile.postamble: New file.
2002-08-30 00:11 Alexander Malmberg <alexander@malmberg.org>
* Source/NSBezierPath.m (-appendBezierPath:): Handle curves
correctly.
(-appendBezierPathWithArcFromPoint:toPoint:radius:): Fix numerical
stability issue by clamping dx1 and dx2 manually.
2002-08-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSDisplayServer.m:
* Source/NSApplication.m:
* Source/NSFont.m:
* Source/NSInterfaceStyle.m:
* Source/NSTableColumn.m:
Documentation fixups ... correct gsdoc markup etc.
2002-08-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBezierPath.m
Implemented [appendBezierPathWithArcFromPoint:toPoint:radius:]
with code from Alexander Malmberg <alexander@malmberg.org>.
2002-08-27 Adam Fedor <fedor@gnu.org>
* Source/NSBrowser.m (-tile): Set horizontal scroller frame
only if we have one.
2002-08-26 Adam Fedor <fedor@gnu.org>
* Model/GMAppKit.m (-initWithModelUnarchiver:): Don't add ourselves
to the superview if we are the contentView of an NSBox.
* Tools/example.m ([ExampleServices -openURL:userData:error:]):
Get browser from defualts. Use mozilla if none. (Modified patch from
Stefan Urbanek).
2002-08-24 Adam Fedor <fedor@gnu.org>
* Source/NSGraphicsContext.m: More documentation.
* Source/NSWindow.m (-sendEvent:): Remember mouseDown view
and send mouseUp to this view (not firstResponder).
* Model/test.m: Fix so it reads in gmodel from command line.
* Source/GNUmakefile: Correct docs so they are built in
Documentation/Gui directory
* Source/GNUmakefile.postamble: Extra rules for building docs.
* Documentation/Gui: New directory for docs.
* Documentation/gsdoc: Remove.
2002-08-23 02:39 Alexander Malmberg <alexander@malmberg.org>
* Source/NSImage.m (-lockFocusOnRepresentation:): Use a
compositerect to clear the alpha channel if the background color
isn't opaque.
2002-08-16 Adam Fedor <fedor@gnu.org>
* Source/NSGraphicsContext.m: Define colorspace constants
2002-08-15 Adam Fedor <fedor@gnu.org>
* configure.ac: Add NetBSD header/ldflag support (Patch from
Peter Cooper). Cleanup freebsd support.
* Headers/gnustep/gui/GSDisplayServer.h: Replace APPKIT_DECLARE
with APPKIT_EXPORT.
* Headers/gnustep/gui/NSGraphics.h: Idem.
* Headers/gnustep/gui/NSGraphicsContext.h: Idem.
* Headers/gnustep/gui/NSPanel.h: Idem.
Fri Aug 9 12:12:18 2002 Georg Fleischmann <georg@vhf.de>
* Source/NSWindow.m ([-setFrameFromString:]),
([-stringWithSavedFrame]): Don't flip coordinates to make it
compatible with OpenStep.
2002-08-05 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSSplitView.m
[NSplitView -setFrame:]:
adjust the subviews.
[NSSplitView -resizeWithOldSuperviewSize:]:
send the splitview's old size not the superview's old size to
[NSSplitView -_adjustSubviews:]
[NSSplitView -displayIfNeededInRectIgnoringOpacity:]
[NSSplitView -displayRectIgnoringOpacity:]
set _never_displayed_before before calling _adjustSubviews.
It could lead to a loop, if the delegate was calling -display.
2002-08-03 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSView.m ([NSView -replaceSubview:withSubview]):
The replacing subview was not inserted at the old subview's location.
2002-08-02 Adam Fedor <fedor@gnu.org>
* Merge changes from 0.8.0 into main branch.
2002-08-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTabView.m ([NSTabView -initWithCoder:]):
Set _selected ivar based on _selected_item value.
2002-08-01 Adam Fedor <fedor@gnu.org>
* configure.ac: Check for recent version of audiofile
2002-07-31 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/AppKit.h: Add NSSound.
* Source/GNUmakefile (AUTOGSDOC_HEADERS): Idem.
* Tools/gsnd/GNUmakefile (GNUSTEP_INSTALLATION_DIR): Add.
2002-07-30 Adam Fedor <fedor@gnu.org>
* configure.ac: Check for autofile header/libs.
* Source/NSBundleAdditions.m (pathForSoundResource:): New.
* Source/NSSound.m: New file
* Headers/gnustep/gui/NSSound.h: Idem.
* Tools/gsnd: New server tool. (Implementation from
Enrico Sersale).
2002-07-18 Gregory John Casamento <greg_casamento@yahoo.com>
* NSBundleAdditions.m: (-[awakeWithContext:]) Corrected
a problem in this method which was preventing awakeFromNib
from being called on NSOwner. I have confirmed that this
is the correct behavior on OPENSTEP 4.2/Mach.
2002-07-18 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: Removed an extraneous NSLog.
* Tools/GSspell.m: Changed registration of spell checker to
AmericanEnglish.
* Tools/GSspellInfo.plist: Changed .plist to reflect the new
name. The spell checker was registering itself for simply
"English" and was not being started when a request to check
spelling in a document was being issued. It should work now.
2002-08-01 Adam Fedor <fedor@gnu.org>
* Version:0.8.0
Tue Jul 30 11:07:45 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patch by David Ayers (<d.ayers@inode.at>), modified:
* Source/NSTextView.m ([-_syncTextViewsByCalling:withFlag:]):
Compute the imp for each different textview, not just once for
all, so that we should be able to manage the case where they are
of different NSTextView subclasses.
(NSTEXTVIEW_SYNC): Removed the argument; just use _cmd as the
selector; updated all users.
2002-07-26 Adam Fedor <fedor@gnu.org>
* Source/NSStringDrawing.m (setupSpecialRun): Set run width
(patch from Nicholas Roard).
* Source/NSPrintInfo.m (+initPrintInfoDefaults): Add missing ';'
Thu Jul 25 12:51:52 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m ([+sharedApplication]): Rewritten;
documented verbosely the method.
([-init]): Rewritten code checking, setting and managing NSApp;
documented verbosely the method.
2002-07-22 Adam Fedor <fedor@gnu.org>
* Source/NSImageCell.m (-setImage:): Check if non-nil.
Make sure size is not 0.
Mon Jul 22 12:50:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m (initialize_gnustep_backend): Remove
useless instruction in loop looking for the backend. (Patch by
David David Relson <relson@osagesoftware.com>).
2002-07-20 Adam Fedor <fedor@gnu.org>
* Source/NSWindow.m (-_initDefaults): Set background
to windowBackgroundColor.
2002-07-19 Adam Fedor <fedor@gnu.org>
* Source/NSImage.m (-lockFocusOnRepresentation:): Make sure
newly created cache image is valid.
* Source/NSCursor.m (backgroundColorHint:): Remove extra NSLog.
2002-07-17 Adam Fedor <fedor@gnu.org>
* Version: 0.7.9
* Documentation/news.texi: Update
* Documentation/gsdoc/*: Updated from source files.
* Source/NSWorkspace.m: Comment fix.
Wed Jul 17 15:24:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSTextView.h ([-becomeKeyWindow]): Declare.
Wed Jul 17 15:23:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patch from David Ayers <d.ayers@inode.at>:
* Source/NSTextView.m ([-becomeKeyWindow]): Implemented.
* Source/NSWindow.m ([-becomeKeyWindow]): Set the _f.is_key flag
immediately after checking it.
Tue Jul 16 19:40:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSWindow.m ([-cacheImageInRect:]): Intersect the
rectangle with the window view frame, not the content view frame.
([-restoreCachedImage]): Draw in the window view, not in the
content view.
Mon Jul 15 15:55:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSWindow.m ([NSWindow +initialize]): Removed left-over
NSLog call.
2002-07-14 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSTabView.h: Add missing method.
2002-07-14 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSTableView.m:
[-NSTableView _editNextEditableCellAfterRow:column:] corrected
a problem with the loop which seeks the next editable cell. It
was using incorrect values in the call to isCellEditable in the
second for which was causing an exception to be thrown.
* Source/NSOutlineView.m: ([-editColumn:row:withEvent:select:])
corrected a problem in this method which was causing the cell
to be drawn incorrectly when editing a column other than the
outline column.
Fri Jul 12 12:55:17 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patch from Benhur Stein <benhur-gnustep@inf.ufsm.br>:
* Headers/gnustep/gui/NSWindow.h (_cachedImage,
_cachedImageOrigin): New instance variables.
* Source/NSWindow.m ([-dealloc]): Release _cachedImage if needed.
([-display]): Invoke discardCachedImage.
([-cacheImageInRect:]): Implemented.
([-discardCachedImage]): Implemented.
([-restoreCachedImage]): Implemented.
Fri Jul 12 11:49:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patch from Jeff Teunissen <deek@d2dc.net>:
* Source/NSMatrix.m ([-selectAll:]): Do nothing when in radio
mode.
2002-07-11 Adam Fedor <fedor@gnu.org>
* Source/NSMenu.m (-_createWindow): Set to NOT work when in
modal loop.
* Images/common_RadioOff.tiff
* Images/common_RadioOn.tiff
* Images/common_outlineCollapsed.tiff
* Images/common_outlineExpanded.tiff
* Images/common_outlineUnexpandable.tiff: Transparency fixes
(From deek@d2dc.net).
2002-07-11 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSButtonCell.m ([-isOpaque]): New behaviour
that is more consistent with our look and feel
* Source/NSMatrix.m ([-drawCellAtRow:column:]):
Draws matrix's background if needed and make the opaque ancestor
redraw if the matrix is not opaque.
([-_drawCellAtRow:column:]): New private method to avoid looping
([-drawRect:]): Use _drawCellAtRow:column instead of
drawCellAtRow:column.
* Source/GSSimpleLayoutManager.m
([-rebuildForRange:delta:inTextContainer:]): Empty lines
are not fixed height anymore. The height does now depend on the
current font or on the current paragraph's settings.
2002-07-11 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: ([-editColumn:row:withEvent:select:])
Needed to override this method in NSOutlineView since attempting
to edit a cell in an NSOutlineView was causing a crash. Also,
NSTableView's version of this method does not draw the button image
correctly.
* Source/NSTableView.m: Added a new methods
[-_objectValueForTableColumn:row:] and [-_setObjectValue:
forTableColumn:row:] to both this class and to NSOutlineView
to allow more code reuse between the NSOutlineView and NSTableView.
Mon Jul 8 13:55:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSavePanel.m ([-createRowsForColumn:]): Removed usage of
nested function which was causing the library not to compile on
some platforms.
(compareFilenames): New static function doing the same.
2002-07-05 Adam Fedor <fedor@gnu.org>
* Images/common_ArrowDown.tiff: Transparency fix.
* Images/common_ArrowDownH.tiff: Idem.
* Images/common_ArrowLeft.tiff: Idem.
* Images/common_ArrowLeftH.tiff: Idem.
* Images/common_ArrowRight.tiff: Idem.
* Images/common_ArrowRightH.tiff: Idem.
* Images/common_ArrowUp.tiff: Idem.
* Images/common_ArrowUpH.tiff: Idem. (From deek@d2dc.net.)
* Source/NSFont.h: Add documentation.
* Source/NSImage.m (-compositeToPoint:fromRect:operation:): Log
exception.
(-dissolveToPoint:fromRect:fraction:): Idem.
* Documentation/gsdoc/DefaultsSummary.gsdoc: Update.
2002-07-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSColor.m
Changed initSystemColors() and [defaultsDidChange:] so that
setting a system colour in the defaults file works again.
Tue Jul 2 17:01:25 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GNUmakefile (libgnustep-gui_HEADER_FILES): Removed -
temporarily? - NSValidatedUserInterfaceItem.h - because that file
does not exist on CVS at the moment.
Tue Jul 2 16:52:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
Suggestion by Fred Kiefer, David Ayers <d.ayers@inode.at>:
* Source/NSTextView.m ([-resignKeyWindow]): New method - if needed
draw the insertion point, then stop blinking.
* Headers/gnuste/gui/NSTextView.h: Declare the method.
2002-06-30 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSToolbarItem.h
Corrected #include so that it compiles.
2002-06-30 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/gnustep/gui/NSWindow.h: Added declaration for
NSToolbar in NSWindow.
* Headers/gnustep/gui/AppKit.h: Added #include lines for
new header files in the AppKit.h file.
* Source/NSWindow.m: Added code foe setToolbar method.
* Source/GNUmakefile: Added NSToolbar and NSToolbarItem
classes and headers to the makefile.
* Source/NSOutlineView.m: Added dealloc for NSOutlineView to
prevent memory leaks.
* Source/NSSecureTextField.m: Removed some extraneous comments
which were left from before I implemented the class.
* Source/externs.m: Added notification constants for NSToolbar.
* Source/NSToolbar.m: Added skeleton for implementation.
* Source/NSToolbarItem.m: Added skeleton for implementation.
* Headers/gnustep/gui/NSToolbar.h: Added.
* Headers/gnustep/gui/NSToolbarItem.h: Added.
2002-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([-flushWindow]) don't flush context for
non-retained windows unless flushing is enabled. Actually I'm
not sure about this ... according to the documentation this
method should never flush non-retained windows anyway.
Thu Jun 27 11:49:57 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextField.m ([-textDidEndEditing:]): Set _text_object
to nil too before posting the NSControlTextDidEndEditing
notification.
2002-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.m: Fix error in testing base path for app.
Wed Jun 26 17:50:39 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextField.m ([-textDidEndEditing:]): Post the
NSControlTextDidEndEditingNotification *after* we end editing, not
before!
* Source/NSMatrix.m ([-textDidEndEditing:]): Idem.
* Source/NSTableView.m ([-textDidEndEditing:]): Idem.
2002-06-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.m: Comitted Jeffs latest attemtpt at handling
lookup of apps by name correctly ... but rewritten somewhat to
remove one assumption I thought was unwarrented, and to try to
conform to what the MacOS-X implementation actually does rather
than what the MacOS-X documentation says it should do.
Mon Jun 24 13:17:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
Originated by a patch/suggestion by Serg Stoyan
<stoyan@on.com.ua>, rewritten by myself.
* Source/GSSimpleLayoutManager.m (defaultFontHeight): New static
inline function computing the height of the user font of the
default size.
([-boundingRectForGlyphRange:inTextContainer:]): Use
defaultFontHeight() instead of hardcoded 12.
([-lineFragmentRectForGlyphAtIndex:effectiveRange:]): Idem.
([-rectForCharacterIndex:]): Idem.
([-rebuildForRange:delta:inTextContainer:]): Idem.
([-rebuildForRange:delta:inTextContainer:]): Idem.
* Source/NSTextView.m
([-updateInsertionPointStateAndRestartTimer:]): Removed unused
code setting font size to 12 if it was 0.
Sat Jun 22 17:26:18 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSMenuView.m ([-itemAdded:]): Fixed highlighting of
cells.
Sat Jun 22 16:46:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSInputManager.h ([-loadBindingsFromFile:]):
Made it a public method.
* Source/NSInputManager.m ([-initWithName:host:]): Changed the way
in which keybindings loading is controlled via user defaults, now
simpler and more powerful. Hopefully this is the final version.
* Documentation/gsdoc/DefaultsSummary.gsdoc: Documented the
keybinding defaults.
* Documentation/gsdoc/DefaultsSummary.html: Regenerated.
Sat Jun 22 15:19:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSAffineTransform.h (rotationAngle):
Instance variable removed. Optimize for case of unrotated views.
* Source/NSAffineTransform.m ([+transform]): Do not set rotationAngle.
([+new]): Do not set rotationAngle.
([-appendTransform:]): Do not recompute rotationAngle.
([-init]): Do not set rotationAngle.
([-initWithTransform:]): Do not set rotationAngle.
([-prependTransform:]): Do not compute rotationAngle.
([-rotateByDegrees:]): Do not compute rotationAngle.
([-makeIdentityMatrix]): Do not set rotationAngle.
([-rotateByRadians:]): Do not compute the angle in degrees; do not
compute rotationAngle.
([-setTransformStruct:]): Do not set rotationAngle.
([-scaleTo::]): Optimize out the case of rotated transforms.
([-setFrameRotation:]): Always call -rotationAngle.
([-rotationAngle]): Always compute rotationAngle.
([-concatenateWithMatrix:]): Do not set rotationAngle.
([-boundingRectFor:result:]): Always compute rotationAngle.
Sat Jun 22 15:06:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSAffineTransform.m ([-isRotated]): Rewritten - efficient
implementation by simply checking that the cross matrix elements
are not 0.
Sat Jun 22 14:59:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSAffineTransform.m ([-set]): Removed code to create a
float[6] matrix which is no longer used.
Sat Jun 22 14:53:27 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSAffineTransform.h ([-rotateByAngle:]):
Method removed.
* Source/NSAffineTransform.m Idem.
* Source/NSAffineTransform.m ([-setFrameRotation:]): Use
rotateByDegrees:, not rotateByAngle:
Sat Jun 22 14:52:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSView.m ([-rotateByAngle:]): Use -rotateByDegrees:, not
-rotateByAngle:, to rotate the affine transform.
Sat Jun 22 14:46:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSAffineTransform.h ([+matrixFrom:]): Method
removed.
* Source/NSAffineTransform.m: Idem.
Sat Jun 22 14:34:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSView.m ([-_rebuildCoordinates]): Use -invert, not
-inverse, to invert a NSAffineTransform.
Sat Jun 22 14:26:06 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSAffineTransform.h,
* Source/NSAffineTransform.m ([-scaleBy::]):
Method removed. Better use the standard scaleXBy:yBy: instead.
2002-06-22 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-finishLaunching): Revert last change.
2002-06-21 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-finishLaunching): Use makeKeyWindow
not becomeKeyWindow.
* Source/NSWindow.m (-canBecomeKeyWindow): Conform to docs. don't
check if visible or miniaturized.
(-canBecomeMainWindow): Idem for miniaturized only.
(-makeKeyWindow): Check if visible, miniaturized.
(-makeMainWindow): Idem.
Wed Jun 19 15:54:39 2002 Georg Fleischmann <georg@vhf.de>
* Source/NSMenu.m ([-performActionForItemAtIndex:]): Select item
for any kind of popup action.
2002-06-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.m: Vague attempt to improve locating of apps
2002-06-15 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m a number of improvements:
-setDataSource now uses the CHECK_REQUIRED macro to check
for required methods instead of iterating over a list of strings.
-expandItem:expandChildren: corrected bug which prevented the method
from working correctly when expandChildren is YES.
-collapseItem:collapseChildren: corrected bug which prevented the
method from working correctly when expandChildren is YES.
2002-06-12 Alexander Malmberg <alexander@malmberg.org>
* Source/GSServicesManager.m (-rebuildServicesMenu): Disable auto-
enabling while updating the menu.
2002-06-12 Alexander Malmberg <alexander@malmberg.org>
* Source/GSServicesManager.m (-loadServices): Only update timestamp
when the file has changed.
(-rebuildServicesMenu): Correctly remove the old menu items.
Tue Jun 11 14:11:22 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patch by Jeff Teunissen with changes by myself:
* TextConverters/RTF/RTFConsumer.h (GSTextConsumer): Added ivar _class.
* TextConverters/RTF/RTFConsumer.m: Changed everywhere to support the
caller specifying the type of class it needs to be produced.
* Headers/gnustep/gui/GSTextConverter.h: Added a class argument to
have the text converter save the results of parsing into
attributed strings of different classes depending on the case.
* Source/NSAttributedString.m: When parsing using the text converters,
have them create attributed strings of our own class.
Tue Jun 11 13:35:41 2002 Nicola Pero <n.pero@mi.flashnet.it>
* TextConverters/RTF/GNUmakefile.preamble (ADDITIONAL_CPPFLAGS):
Use -Wall when compiling.
2002-06-10 Adam Fedor <fedor@gnu.org>
* Version 0.7.8
* Documentation/news.texi: Update
2002-06-11 Alexander Malmberg <alexander@malmberg.org>
* Source/GSServicesManager.m,
Headers/gnustep/gui/GSServicesManager.h: Fix handling of
NSMenuItem:s (were being handled as NSCell:s in many places; this
broke submenus of the services menu).
2002-06-10 Georg Fleischmann <georg@vhf.de>
* Source/NSControl.m ([NSControl -mouseDown:]): Set NSPeriodicMask
for continuous cells, and 0 otherwise.
2002-06-10 Georg Fleischmann <georg@vhf.de>
* Model/GMAppKit.m ([NSCell -encodeWithModelArchiver:]): Restore
sendActionMask.
2002-06-10 Alexander Malmberg <alexander@malmberg.org>
* Source/GSServicesManager.m (-performService:...): Create and use
a local copy of the NSPasteboard.
2002-06-08 Alexander Malmberg <alexander@malmberg.org>
* Source/NSWindow.m (-_initDefaults): Make _miniaturizedImage
default to the application icon.
2002-06-08 Alexander Malmberg <alexander@malmberg.org>
* Source/GSServicesManager.m (-doService:): Only try to
write/read selection if the send/return type isn't nil.
Fix calls to NSRunAlertPanel() so they don't do printf()
expansion on the message twice.
Thu Jun 6 08:29:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScroller.m ([NSScroller -setFrame:]): Do not add
scroller arrows if they aren't already there (Patch by Jeff
Teunissen).
Thu Jun 6 07:23:59 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m ([NSApplication -terminate:]): Send the
-applicationShouldTerminate: messages from self, instead of from
the sender of -terminate: (Patch by Jeff Teunissen).
2002-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundleAdditions.m: patch by Jeff Teunissen to log loading
only as debug.
WWed Jun 5 14:09:04 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSKeyBindingAction.h: Cleaned syntax of #endif to remove
compiler warnings.
2002-06-03 Adam Fedor <fedor@gnu.org>
* Source/GSDisplayServer.m (-beep): New method.
* Source/NSGraphicsContext.m (-NSBeep): Use it.
2002-06-02 Alexander Malmberg <alexander@malmberg.org>
Add basic color picker bundles: the wheel color picker and the
standard rgb/hsb/cmyk/gray picker.
* GNUmakefile: Add ColorPickers subproject.
* ColorPickers/: New files.
Sun May 26 13:46:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSMatrix.m
([-_privateFrame:mode:numberOfRows:numberOfColumns:]): Do not make
the cell size integers. Any approximation is a loss of
information, and by approximating without reason at this stage we
are downgrading the information we pass to the backend -
information which the backend can use to render better. A longer
explanation of why this change is appropriate in the source code.
([-_rebuildLayoutAfterResizing]): New method with code taken from
-resizeWithOldSuperviewSize:; rewritten not to compute changes
incrementally, and not to round up sizes without reason.
([-setFrame:], [-setFrameSize:]): New methods.
([-resizeWithOldSuperviewSize:]): Removed.
2002-05-17 Georg Fleischmann <georg@vhf.de>
* gui/Source/GSSimpleLayoutManager.m
([-lineLayoutIndexForPoint:]): cast the count of
_lineLayoutInformation to integer in MAX(). test if max is zero.
([-glyphRangeForLineLayoutRange:]): test if count of
_lineLayoutInformation is zero.
([-drawLinesInLineRange:]): test if count of
_lineLayoutInformation is zero (Modification by Nicola).
Wed May 22 13:02:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/Functions.m (NSHighlightRect): Do not flush the window.
* Source/NSSplitView.m ([-mouseDown:]): Replace manual calls to PS
composite operators with NSHighlightRect; manually flush the
window after highlighting the appropriate rects.
* Source/NSTableHeaderView.m: Everywhere, added a flush window
after each call to NSHighlightRect.
Tue May 21 16:54:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSBrowser.m ([-setPath:]): Fixed bug - column variable
which was declared unsigned instead of int (Patch by Andreas Bohne
<andreas@mevis.de>).
2002-05-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenuView.m
[rectOfItemAtIndex:] for horizontal orientation set items from
left to right. [locationForSubmenu:] for horizontal orientation
set submenu below the item in self.
2002-05-13 Georg Fleischmann
* gui/Source/NSPrintOperation.m
[NSPrintOperation(GSEPSPrintOperation) -createContext:]:
add local autorelease pool to remove autorelease of context.
2002-05-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSColor.m
In initSystemColors() and systemColorWithName() replaced
implementation of system colours with named colours from a stored
colour list. Added conversion cache for named colours. This allows
easy configuration of system colours while keeping the same
performance.
* Source/NSFont.m
Moved the caching of fonts from [initWithName:matrix:] to
[fontWithName:matrix:] so that unneeded fonts are no longer
created. In [labelFontSize], [smallSystemFontSize] and
[systemFontSize] get values from defaults if available. In
getNSFont() removed hard coded 12, will be relaced by default for
NSUserFontSize.
Sun May 12 10:08:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSTextView.h: Removed ivar
_tvf.is_in_dealloc.
* Source/NSTextView.m ([-dealloc]): Set the textStorage to nil
when releasing it; run the other dealloc cleanups during the
recursive invocation rather than during the first invocation; use
the _textStorage ivar instead of _tvf.is_in_dealloc. (Patch by
Alexander Malmberg <alexander@malmberg.org>).
2002-05-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSStringDrawing.m: drawRun() use GSFromUnicode() API for
conversion.
Fri May 10 11:24:38 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSRulerView.m ([NSRulerView -dealloc]): Do not release the
scrollview (Suggested by Benhur Stein <benhur@inf.ufsm.br>).
2002-05-07 Adam Fedor <fedor@gnu.org>
* Source/NSFont.m (-initWithName:matrix:): If matrix
is ident, set matrixExplicitlySet to NO
(-set): If the focus view is flipped and matrix not set, set our
flipped font equivalent.
2002-05-06 Adam Fedor <fedor@gnu.org>
* Source/NSGraphicsContext.m: More documentation.
* Source/NSStringDrawing.m (drawRun): stroke the underline.
2002-05-02 Adam Fedor <fedor@gnu.org>
* configure.ac: Update to autoconf 2.53 from configure.in
* configure, Headers/gnustep/gui/config.h.in: Regenerate.
* Headers/gnustep/gui/config.h.bot: Remove.
2002-05-01 Adam Fedor <fedor@gnu.org>
* Source/NSView.m (-resizeWithOldSuperviewSize:): Check object
before getting struct. (Solaris limitation).
2002-04-30 Adam Fedor <fedor@gnu.org>
* Version: 0.7.7
* Documentation/news.texi: Update
* NEWS: Regen.
Fri Apr 26 12:45:07 2002 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: Added a patch by
Alex Malmberg <alexander@malmberg.org> to correct behavior of
the NSOutlineView when the outline column is not in the
leftmost position.
Wed Apr 24 10:54:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Model/GMAppKit.m ([NSMenuItem -initWithModelUnarchiver:]): Do not
set submenu if it's nil; decode target in normal place. (Suggestion
by Georg Fleischmann <georg@vhf.de>).
2002-04-23 Adam Fedor <fedor@gnu.org>
* Source/GSDisplayServer.m (mouseLocationOnScreen:window:): New
* Source/NSScreen.m (screenNumber): New.
* Source/NSWindow.m (mouseLocationOutsideOfEventStream): Use them.
* Tools/gpbs.m: Remove.
2002-04-22 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/GSDisplayServer.h: Add attribute strings.
New window::: method.
* Headers/gnustep/gui/NSWindow.h: Add screen ivar plus some extra
reserved ivars.
* Source/GSDisplayServer.m: Add attribute strings.
(window::::): New
(window:::): Implement in terms of window::::
* Source/NSWindow.m: (defaultDepthLimit): Implement.
(dealloc): Release _screen.
(_initBackendWindow:): Interface change: pass frame rect to
window server window creation (not content rect). Pass screen number.
(initWithContentRect:...): Save screen, depthLimit;
(canStoreColor): Check depthLimit correctly.
(deepestScreen): Return screen.
(screen): Idem.
Sun Apr 21 12:57:36 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Model/GMAppKit.m ([NSWindow -encodeWithModelArchiver:]): If not
on gnustep-gui, always add NSTitledWindowMask to non NSBorderless
windows to work around a bug in OpenStep (patch by Georg
Fleischmann with changes).
Sun Apr 21 11:44:01 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/libgnustep-gui.def: Added __objc_class_name_NSOutlineView.
2002-04-19 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gpbs.m: If given -NSHost specification for the current host,
ignore it and use the standard name.
2002-04-18 Ludovic Marcotte <ludovic@Sophos.ca>
* Source/NSOutlineView.m and Headers/gnustep/gui/NSOutlineView.h:
Fixed some issues with the delegate methods.
Thu Apr 18 11:14:22 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/AppKitDefines.h (APPKIT_DECLARE): Updated
Windows DLL import/export #define machinery to the new
gnustep-make conventions.
2002-04-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.gt>
* Source/NSMenuItem.m:
([NSMenuItem -initWithCoder:], [NSMenuItem -encodeWithCoder:])
New encoding scheme. With the new scheme, menus can be loaded
properly from a gorm file.
2002-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPasteboard.m: Improve logging on server startup.
Tue Apr 16 11:55:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Tools/gpbs.m (main): Fixed typo in log message - use gpbs, not
gdnc, as log prefix.
2002-04-14 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSGraphicsContext.h (GSCurrentDevice): Change
from DPScurrentgcdrawable.
(GSSetDevice): Change from DPSsetgcdrawable.
* Headers/gnustep/gui/DPSOperators.h: Idem.
* Headers/gnustep/gui/GSMethodTable.h: Idem.
* Headers/gnustep/gui/PSOperators.h: Idem.
* Source/NSGraphicsContext.m:
* Headers/gnustep/gui/GSDisplayServer.h: Remove findwindow::::.
* Source/GSDisplayServer.m: Likewise.
2002-04-11 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/config.h.bot: New define if rint missing
* Source/NSBrowser.m: Use it.
* Source/NSRulerView.m: Idem.
* Source/NSMatrix.m: Idem.
* Source/NSClipView.m: Idem.
Thu Apr 11 22:51:09 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSButtonCell.m ([-cellSize]): Use more space around
bezeled/bordered buttons not containing only an image so that they
get more pleasantly autosized without manual intervention.
* Source/GSMemoryPanel.m ([-init]): Do not manually adjust the
button size.
Thu Apr 11 22:15:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSAttributedString.h: Do not #include the
whole <Foundation/Foundation>, but rather use the minimum @class
and #include needed to have it parsed - so that everything
compiles faster.
* Headers/gnustep/gui/NSProgressIndicator.h: Added missing @class
and #include directives.
* Headers/gnustep/gui/NSTextStorage.h: Added missing #include.
* Headers/gnustep/gui/NSTextView.m: Added missing @class.
* Source/GSComboSupport.m: Added missing #includes.
* Source/GSInfoPanel.m: Idem.
* Source/GSServicesManager.m: Idem.
* Source/NSApplication.m: Idem.
* Source/NSBox.m: Idem.
* Source/NSBrowser.m: Idem.
* Source/NSBrowserCell.m: Idem.
* Source/NSBundleAdditions.m: Idem.
* Source/NSButtonCell.m: Idem.
* Source/NSCell.m: Idem.
* Source/NSColorPanel.m: Idem.
* Source/NSColorPicker.m: Idem.
* Source/NSColorWell.m: Idem.
* Source/NSComboBoxCell.m: Idem.
* Source/NSControl.m: Idem.
* Source/NSFontPanel.m: Idem.
* Source/NSHelpManager.m: Idem.
* Source/NSLayoutManager.m: Idem.
* Source/NSMatrix.m: Idem.
* Source/NSMenu.m: Idem.
* Source/NSMenuItem.m: Idem.
* Source/NSMenuView.m: Idem.
* Source/NSOpenPanel.m: Idem.
* Source/NSOutlineView.m: Idem.
* Source/NSProgressIndicator.m: Idem.
* Source/NSSavePanel.m: Idem.
* Source/NSScroller.m: Idem.
* Source/NSScrollView.m: Idem.
* Source/NSSpellChecker.m: Idem.
* Source/NSStepper.m: Idem.
* Source/NSTableColumn.m: Idem.
* Source/NSTableHeaderView.m: Idem.
* Source/NSTableView.m: Idem.
* Source/NSText.m: Idem.
* Source/NSTextField.m: Idem.
* Source/NSTextFieldCell.m: Idem.
* Source/NSTextView.m: Idem.
* Source/NSWindow.m: Idem.
* Source/NSMatrix.m ([-dealloc]): End editing if while editing.
Thu Apr 11 16:20:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSResponder.h: Include NSObject.h, not NSCoder.h;
declare @class NSCoder.
Thu Apr 11 15:37:31 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSTextStorage.m ([GSTextStorage -sanity]): Renamed to
-_sanity, and changed so that we always compile this in so that
regression testcases can use it.
Thu Apr 11 08:54:16 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSTable.m ([+new]): New method working around a bug in
OSX ... with this, except for #include fixups, the box code works
on OSX. (Suggested by Helge Hess).
2002-04-10 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/config.h.bot: New file implements RINT defs.
* Headers/gnustep/gui/config.h.in: Regen.
* Source/NSBrowser.m: Remove RINT defs.
* Source/NSRulerView.m: Likewise.
* Headers/gnustep/gui/AppKitExceptions.h: Add GNUstep exception.
* Source/externs.m: Idem.
* Headers/gnustep/gui/DPSOperators.h: Remove currentgstate, gstate
* Headers/gnustep/gui/PSOperators.h: Idem.
* Headers/gnustep/gui/GSMethodTable.h: Idem.
* Headers/gnustep/gui/NSGraphicsContext.h: Idem.
* Source/NSGraphicsContext.m: Idem. Redefine subclassResponsibility
to throw our own exception.
* Headers/gnustep/gui/GSDisplayServer.h: Prefix functions with
APPKIT_DECLARE. Fix windowbacking def.
* Source/libgnustep-gui.def: Add GSDisplayServer.
Tue Apr 9 23:04:43 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSTable.m ([-setFrame:], [-setFrameSize:]): New methods.
([-resizeWithOldSuperviewSize:]): Removed; code moved into
-_updateForNewFrameSize:.
([-_updateForNewFrameSize:]): New method.
Everywhere: use [super setFrameSize:xxx], not [self
setFrameSize:xxx] to set the frame size after autoresizing
operations.
* Source/GSTable.m ([-lockFocusInRect:, -unlockFocusNeedsFlush:]):
Removed.
Tue Apr 9 22:28:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patch by Alexander Malmberg <alexander@malmberg.org>:
* Source/NSScroller.m ([-setFloatValue:knobProportion:]): Make
sure we mark the scroller knob slot as needing redisplay.
2002-04-08 Ludovic Marcotte <ludovic@Sophos.ca>
* Source/NSMenuView.m (-dealloc): Modified the dealloc method
so that we remove the menu view from the menu list of observers.
We could otherwise receive notifications on a dealloc'ed object
and segfault.
2002-04-06 Adam Fedor <fedor@gnu.org>
* Source/NSView.m (-_cleanupPrinting): Private method to cleanup
after an exception.
* Source/NSPrintOperation.m (-_runOperation): Use it.
2002-04-03 Fred Kiefer <FredKiefer@gmx.de>
* Images/common_RightTabStop.tiff
* Images/common_LeftTabStop.tiff
* Images/common_CenterTabStop.tiff
* Images/common_DecimalTabStop.tiff
* Images/GNUmakefile
Added new icons for tab stop display in ruler views and install
them from the make file.
* Source/NSRulerView.m
Added method [mouseDown:]. Added safety check for unchanged client
view in [setClientView:]. In [drawHashMarksAndLabelsInRect:] use
[NSFont smallSystemFontSize] instead of hard coded size.
* Source/NSRulerMarker.m
Corrected [drawRect:].
* Source/NSTextView.m
In [updateRuler] set the client view of the ruler view.
2002-04-05 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (initialize_gnustep_backend): Better
debugging info.
* Source/NSPrintOperation.m ([NSPrintOperation -destroyContext]):
Remove old context method.
2002-04-06 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSOutlineView.m ([NSOutlineView -performDragOperation:]):
Fixed issue on drag'n'drop.
Fri Apr 5 00:13:41 2002 Nicola Pero <n.pero@mi.flashnet.it>
* TextConverters/RTF/GNUmakefile.preamble (ADDITIONAL_LIB_DIRS):
Fixed typo so that it compiles again.
2002-04-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSRulerView.m
Added handling for missing rint function, copied over from
NSBrowser.
* Source/NSTextView.m
Made [updateRuler] save against missing rulers.
2002-04-02 Adam Fedor <fedor@gnu.org>
* Documentation/gsdoc/DefaultsSummary.gsdoc: Update.
* Documentation/gsdoc/Gui.gsdoc: Idem.
* Headers/gnustep/gui/NSAffineTransform.h: Tidy for autogsdoc.
* Headers/gnustep/gui/NSButtonCell.h: Idem.
* Headers/gnustep/gui/NSCell.h: Idem.
* Headers/gnustep/gui/NSClipView.h: Idem.
* Headers/gnustep/gui/NSFont.h: Idem.
* Headers/gnustep/gui/NSFontManager.h: Idem.
* Headers/gnustep/gui/NSOutlineView.h: Idem.
* Headers/gnustep/gui/NSRulerView.h: Idem.
* Headers/gnustep/gui/NSSavePanel.h: Idem.
* Source/GSHbox.m: Idem.
* Source/GSVbox.m: Idem.
* Source/NSCachedImageRep.m: Idem.
* Source/NSCell.m: Idem.
* Source/NSClipView.m: Idem.
* Source/NSDocument.m: Idem.
* Source/NSFont.m: Idem.
* Source/NSFontManager.m: Idem.
* Source/NSFontPanel.m: Idem.
* Source/NSFormCell.m: Idem.
* Source/NSGraphicsContext.m: Idem.
* Source/NSHelpManager.m: Idem.
* Source/NSImage.m: Idem.
* Source/NSPanel.m: Idem.
* Source/NSRulerView.m: Idem.
* Source/NSStepperCell.m: Idem.
* Source/NSText.m: Idem.
2002-04-02 Adam Fedor <fedor@gnu.org>
* Source/NSGraphicsContext.m (-GSDefineGState): Document new
definition of method.
* Source/NSWindow.m ([NSWindow -_initBackendWindow:]): Change to
match new def.
* Source/NSView.m ([NSView -lockFocusInRect:]): Idem.
2002-04-02 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m ([NSTableView -scrollRowToVisible:]):
([NSTableView -scrollColumnToVisible:]):
Bugfix in getting the visibleRect.
Tue Apr 2 10:28:46 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSButtonCell.m ([-setSound:]): Retain the sound.
([-dealloc]): Release it.
* Source/NSTableView.m ([-dealloc]): Abort editing.
Tue Apr 2 09:40:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSApplication.h: Tidied up some #include and
@class machinery for efficiency.
* Headers/gnustep/gui/NSDocument.h: Idem.
* Headers/gnustep/gui/NSDragging.h: Idem.
* Headers/gnustep/gui/NSImage.h: Idem.
* Headers/gnustep/gui/NSImageRep.h: Idem.
* Headers/gnustep/gui/NSMenu.h: Idem.
* Headers/gnustep/gui/NSMenuItem.h: Idem.
* Headers/gnustep/gui/NSWindowController.h: Idem.
* Headers/gnustep/gui/NSWorkspace.h: Idem.
* Source/NSApplication.m: Added missing #includes.
* Source/NSComboBox.m: Idem.
* Source/NSCustomImageRep.m: Idem.
* Source/NSEPSImageRep.m: Idem.
* Source/NSFontManager.m: Idem.
* Source/Functions.m: Idem.
* Source/NSHelpManager.m: Idem.
* Source/NSMenu.m: Idem.
* Source/NSMenuItem.m: Idem.
* Source/NSMenuItemCell.m: Idem.
* Source/NSPopUpButtonCell.m: Idem.
* Source/NSResponder.m: Idem.
* Source/NSSpellChecker.m: Idem.
* Source/NSSplitView.m: Idem.
* Source/NSTableHeaderView.m: Idem.
* Source/NSText.m: Idem.
* Source/NSWindow.m: Idem, plus removed unused one.
* Source/NSInputManager.m: Include AppKit/NSGraphics.h, not
AppKit/NSApplication.h, for NSBeep ().
2002-04-01 Gregory Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m
Added methods to implement autosaving of expandedItems.
2002-04-01 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-init): Retain the server
and default context.
(-dealloc): Release server and context.
* Source/NSGraphicsContext.m (+restoreGraphicsState): Implement.
(+saveGraphicsState): Likewise.
( destroyContext): Remove.
(-restoreGraphicsState): Implement.
(-saveGraphicsState): Likewise.
Add some documentation.
* Source/NSWindow.m ([NSWindow -dealloc]): Check for context
before undefining gstate.
([NSWindow -miniaturize:]): Don't create miniwindow if server
can't handle it.
* Source/GSDisplayServer.m (-appOwnsMiniwindow): Implement.
2002-04-01 Gregory Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m
Replaced dictionaries w/ NSMapTable. NSDictionary required
items of the NSOutlineView to implement the NSCopying protocol
which is incorrect.
* Headers/gnustep/gui/NSOutlineView.h
Replaced dictionaries in class declaration.
2002-03-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/Window.m
[setFrame:display:] do nothing if the frame after all the
corrections did not change from its current extend.
In [makeKeyWindow] and [makeMainWindow] do nothing if the window
is already key/main.
2002-03-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSMatrix.m :
Use integer coordinates for _cellSize when autoresizing.
* Source/NSBox.m ([NSBox -calcSizesAllowingNegative:])
(case NSAtBottom & case NSAtTop):
Use integer coordinates and small cosmetic changes.
* Source/NSOutlineView.m ([NSOutlineView -initWithCoder:]):
Bugfix.
* Source/NSClipView.m ([NSClipView -constrainScrollPoint:]):
Make sure the difference between old position and new position
is an integer vector.
* Source/NSTableView.m ([NSTableView -initWithCoder:]):
Bugfix.
2002-03-30 Adam Fedor <fedor@gnu.org>
* gui/Model/GMAppKit.m (-encodeWithModelArchiver:): Encode an
empty array rather than crash.
* gui/Model/GMArchiveObjects.m (-colorSpaceName): Implement for
NSObject to to work around a bug in MacOSX 10.1.x
* gui/Model/GNUmakefile: Include libgmodel with building nib2gmodel.
* gui/Model/IBClasses.m: Fix debug for compiling on Darwin.
2002-03-29 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m ([NSTableView -encodeWithCoder:]):
([NSTableView -initWithCoder:]): encodes _allowsColumnReordering.
* Source/NSTableView.m (computeNewSelection):
fixed bug when updating selection.
* Source/NSTableColumn.m ([NSTableColumn -encodeWithCoder:]):
([NSTableColumn -initWithCoder:]): new encoding scheme
(fixes a bug when decoding a tableview)
Thu Mar 28 11:08:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patches by Jeff Teunissen <deek@d2dc.net>:
* Source/NSWorkspace.m ([-homeDirectoryImage]): New method.
([-iconForFile:]): Use the new method to return an image for
NSHomeDirectory().
* Images/GNUmakefile (IMAGE_FILES): Added Common_HomeDirectory.tiff.
* Images/common_HomeDirectory.tiff: New image created by simply
putting common_Home.tiff over common_Folder.tiff.
2002-03-27 Adam Fedor <fedor@gnu.org>
* Splitup backend into Server and Graphics Contexts. Revise list
of graphics operators for better functionality.
* Headers/gnustep/gui/GSDisplayServer.h: New file.
* Headers/gnustep/gui/DPSOperators.h: Revised set of operators.
* Headers/gnustep/gui/PSOperators.h: Likewise.
* Headers/gnustep/gui/GSMethodTable.h: Likewise.
* Headers/gnustep/gui/NSGraphics.h: Un-inline/revise functions.
* Headers/gnustep/gui/NSGraphicsContext.h: Update for MacOSX
compatibility, move server methods to GSDisplayServer, Revise list
of operators.
* Source/GSDisplayServer.m: New file.
* Source/Functions.m: Move uninlined functions from NSGraphics.h here.
* Source/NSAffineTransform.m (-set): Update to new method.
* Source/NSApplication.m: Load gnustep-back backend by default.
Update for new server class.
* Source/NSCursor: Use new methods from server.
* Source/NSEvent.m: Likewise.
* Source/NSFont.m: Likewise.
* Source/NSImageRep.m: Likewise.
* Source/NSScreen.m: Likewise.
* Source/NSView.m: Likewise.
* Source/NSWindow.m: Likewise.
* Source/NSWorkspace.m: Likewise.
* Source/NSGraphicsContext.m: Move server methods, revised list
of operators
Thu Mar 28 03:43:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/libgnustep-gui.def: Removed
__objc_class_name_GSTransparentView.
2002-03-27 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m make more efficient for large sets of
items
* Headers/gnustep/gui/NSOutlineView.h Added new ivar to cache
item level information.
2002-03-26 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSBundleAdditions.m
([NSNibOutletConnector -establishConnection]):
Only capitalize the first letter of the outlet in order to have
the accessor method's name.
* Source/NSTableView.m ([NSTableView initWithCoder:]):
Use @"NSTableView" insted of NSStringFromClass([self class]) when
looking for version. Call -tile to set up everything properly.
* Source/NSScrollView.m ([NSScrollView encodeWithCoder:] &
[NSScrollView initWithCoder:]):
Encode/decode _hasHeaderView, _hasCornerView & _headerClipView.
Don't recreate cornerView & headerView at decoding time, because
they are encoded by NSView anyway.
Tue Mar 26 14:33:24 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSTable.m: Removed GSTransparentView and replaced it with
a simple NSView.
* Headers/gnustep/gui/GSTable.h: Idem.
2002-03-24 Adam Fedor <fedor@gnu.org>
* Source/NSStringDrawing.m (drawRun): Use new unicode functions
for string conversion (patch from yjchen@ms7.url.com.tw).
Mon Mar 25 00:12:05 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m
([-setNeedsDisplayForLineRange:inTextContainer:]):
Fixed typo introduced by me in last change (reported by Alexander
Malmberg).
2002-03-23 Adam Fedor <fedor@gnu.org>
* Version: 0.7.6
Sat Mar 23 21:49:10 2002 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: Minor cleanup. Removed some unecessary
NSLog statements.
Sat Mar 23 11:34:10 2002 Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/gnustep/gui/NSOutlineView.h: Added dictionary to speed
up generation of the _items list. Also, this keeps the outline view
from being updated without an explicit call to reloadData.
* Source/NSOutlineView.m: Implemented -[NSOutlineView reloadItem:]
and -[NSOutlineView reloadItem:reloadChildren:] and improved
-[NSOutlineView reloadData]
Fri Mar 22 13:09:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSRulerView.h: Merged new code from Diego
Kreutz (kreutz@inf.ufsm.br).
* Source/NSRulerView.m: Class contributed by Diego Kreutz
(kreutz@inf.ufsm.br). I did some minor changes.
Fri Mar 22 11:40:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Model/IMLoading.m: Include AppKit/NSNibLoading.h for
awakeFromNib.
Fri Mar 22 11:35:20 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m ([GSSimpleLayoutManager
-setNeedsDisplayForLineRange:inTextContainer:]): Check that the
whole range of lines, not just the first one, is in the range we
know about (Suggestion from Alexander Malmberg).
2002-03-22 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/exampleInfo.plist: Fix illegal character in plist ...
use unicode escape. Bug reported by Yen-Ju Chen
2002-03-22 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSOutlineView.h
Moved NSOutlineViewDropOnItemIndex from enum to int.
* Source/NSOutlineView.m:
Drag'n'drop support.
* Source/NSTableView.m
([NSTableView -selectRow:byExtendingSelection:]):
rowIndex == _numberOfRows was not catched as invalid.
* Source/NSTableView.m ([NSTableView -draggingUpdated:sender]):
Less NSLog.
* Source/NSTableHeaderView.m ([NSTableHeaderView -mouseDown:]):
fixed drawing issue.
2002-03-21 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSEvent.m
([NSEvent +startPeriodicEventsAfterDelay:withPeriod:]):
([NSEvent +_registerRealTimer:]):
The first periodic event is sent after delay seconds.
It was incorrectly sent after delay+period seconds.
* Source/NSScroller.m ([NSScroller -drawParts]):
Set the scrollbuttons to send actions on mouseDown instead of
mouseUp. Changed the initial delay (to reflect NSEvent changes)
and the period so that it feels smoother.
2002-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.in: Use info from make package, and look in GNUstep
directories first for versions of libraries and headers to use.
* configure: regenerate
2002-03-19 Adam Fedor <fedor@gnu.org>
* Source/NSWindow.m ([NSWindow -sendEvent:]): In resize event, get
new origin from event location field.
* Source/GSFontInfo.m ([GSFontInfo
+encodingForRegistry:encoding:]): Handle big5 encoding (patch from
Yen-Ju Chen)
* Documentation/news.texi: Update.
Mon Mar 18 16:00:34 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTableView.m ([-draggingUpdated:sender]): Make the gui
compile again.
2002-03-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/GSTextStorage.m
([GSTextStorage -replaceCharactersInRange:withString:]):
Only keep attribute #0 when removing it would remove all attributes.
(patch by Alexander Malmberg)
* Source/NSTableView.m ([NSTableView -deselectAll:]):
Fix bug.
* Source/NSTableView.m : initial drag'n'drop support.
2002-03-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/AppKit/NSGraphicsContext.h: Add NSWindowDepth typedef and
reposition STRICT_OPENSTEP. Really needs someone who actually wants
to use this option to submit patches though.
Mon Mar 11 15:05:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/libgnustep-gui.def
(__objc_class_name_GSGlyphLocation,__objc_class_name_GSLineLayoutInfo,
__objc_class_name_GSRunStorage, __objc_class_name__GSRunSearchKey,
__objc_class_name_GSTextContainerLayoutInfo): Removed (Suggested
by Fred Kiefer).
2002-03-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPasteboard.m: Start gpbs for other server automatically.
Improve log messages.
* Tools/gpbs.m copied in fron gpbs.
2002-03-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPasteboard.m: Use NSHost to look for alternative servers.
* Tools/gpbs.m: Use -NSHost to specify alternative server names.
Sat Mar 9 12:22:05 2002 Adam Fedor <fedor@yogi.doc.com>
* Source/GSSimpleLayoutManager.m:
Check that object is not nil before asking for width (assigning
structs from nil objects crashes Solaris). Several locations.
2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScrollView.m: Go through adding checks to avoid crashes
where _contentView has been set to nil through removal of the
subview.
Thu Mar 7 08:29:25 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-dealloc]): Use DESTROY, not
TEST_RELEASE, fixing the segmentation fault on deallocating.
Thu Mar 7 08:15:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSCell.m ([-initTextCell:]): Use system font, not user
font. ([-initImageCell:]): Idem. ([-setType:]): Idem.
(Patch from Stefan Urbanek <stefanurbanek@yahoo.fr>).
2002-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTextStorage.m: Applied fix for left-over attributes
at end of string. Patch supplied by Alexander Malmberg
<alexander@malmberg.org>. Reformatting to conform to GNUstep
standards, and optimisation by me.
* Source/NSView.m: -dealloc remove subviews from this view as
suggested by Nicola.
2002-03-05 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m modified to the methods which
make calls to the datasource to retrieve children starting
from zero instead of one.
2002-03-04 Gregory John Casamento <greg_casamento@yahoo.com>
& Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m added methods to handle posting of
notifications as well as methods to handle making appropriate
delegate calls. Also made necessary changes in other methods
([NSTableView mouseDown:], [NSTableView selectAll], etc...)
to use them. (PYR)
* Source/NSOutlineView.m overrode notification methods and delegate
methods defined in NSTableView. (GJC) This was done as a
collaborative effort to ensure that NSOutlineView is more
maintainable and benefits from updates made to NSTableView.
Also made changes to increase spacing between "knob" and text
* Images/common_outlineUnexpandable.tiff lightened image to
make it stand out more when an item cannot be expanded. (GJC)
2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/AppKit/NSEvent.h: Modify to support MacOS-X documented API
(rather than just the currently implemented one).
* Source/NSEvent.m: ditto.
2002-03-04 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m ([NSTableView -superviewFrameChanged:]):
fix a bug when resizing a tableview with autoresizesAllColumnsToFit
set to YES.
Mon Mar 4 09:09:02 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSavePanel.m: Do not include AppKit/IMLoading.h.
2002-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSavePanel.m: Hack around accessory view addition/removal
code - fix a few bugs and simplify by relying more on autoresizing
and less on manual computation of resizing values. Now works with
ProjectCentre on my system.
2002-03-03 Gregory Casamento <greg_casamento@yahoo.com>
* Images/common_outlineUnexpandable.tiff added.
* Images/GNUmakefile modified to install images
* Source/NSOutlineView.m modified to use new images.
Also made several fixes which should now make NSOutlineView
usable. The graphics used are consistent with the look of
the outline view in the OPENSTEP Interface Builder classes
tab.
2002-03-02 Gregory Casamento <greg_casamento@yahoo.com>
* Images/common_outlineExpanded.tiff added.
* Images/common_outlineCollapsed.tiff added.
* Images/GNUmakefile modified to install images
* Source/NSOutlineView.m modified to use new images
2002-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/AppKit/NSEvent.h: Rename 'middle' mouse to 'other' as
MacOS-X has caught up with the functionality but not adopted our
names. Add -buttonNumber. Add conditional compilation for strict
openstep to exclude new methods.
* Headers/AppKit/NSResponder.h: ditto
* Source/Functions.m: ditto
* Source/GSComboSupport.m: ditto
* Source/NSApplication.m: ditto
* Source/NSCell.m: ditto
* Source/NSControl.m: ditto
* Source/NSEvent.m: ditto. Also added lots of documentation, a
couple of fixmes, and several bugfixes (wrong exceptions being
raised etc).
* Source/NSMenuView.m: ditto
* Source/NSResponder.m: ditto
* Source/NSTextView.m: ditto
* Source/NSWindow.m: ditto
2002-03-01 Michael Hanni <mhanni@yahoo.com>
First cut at improving NSPopUpButton/Cell.
* Source/NSMenuItemCell.m
([drawBorderAndBackgroundWithFrame:inView:]): Remove special
popupbutton case.
([drawInteriorWithFrame:inView:]): ditto.
* Headers/NSMenuView.h: added _leftBorderOffset int.
* Source/NSMenuView.m: added static function
_addLeftBorderOffsetToRect()
([initWithFrame:]): init left offset value to 1 (default for a
menu.)
([sizeToFit]): change left offset value to 0 if we are a
popup. Use this value to set the correct frame size. Before when
the menuview was sizeToFit'ed the menuWindow was resized by an
additional pixel when we were a popupbutton.
([innerRect]): use left offset value to return the correct rect.
([rectOfItemAtIndex:]): ditto.
([indexOfItemAtPoint:]): use _addLeftBorderOffsetToRect() to
correct the rect we use to calculate the event area for a
menuItemCell in a normal menu.
([setNeedsDisplayForItemAtIndex:]): ditto.
([drawRect:]): Modified to not draw a border line on the left side
if we are a popup.
* Source/NSPopUpButtonCell.m: added some comments for further
fixes.
([drawWithFrame:inView:]): removed all the code in favor of
having the NSMenuItemCell of the selected item draw the
popupbuttoncell.
([drawInteriorWithFrame:inView:]): removed everything but the
responder status code (this is still a FIXME).
2002-03-01 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSBundleAdditions.m
([GSNibItem -initWithCoder:]):
([GSNibItem -encodeWithCoder:]):
new encoding (support for autoresizingMask).
([GSNibItem +initialize]):
([GSCustomView +initialize]):
new methods, set the version number.
* Headers/gnustep/gui/NSNibLoading.h:
new autoresizingMask ivar in GSNibItem.
2002-02-28 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Headers/gnustep/gui/NSEvent.h:
new element in event_data union, provides support for deltaX, deltaY
and deltaZ.
* Source/NSEvent.m
([NSEvent +mouseEventWithType:location:modifierFlags:timestamp:
windowNumber:context:deltaX:deltaY:deltaZ:]):
new method : support for creating event with deltaX, deltaY and deltaZ.
([NSEvent -delta{X, Y, Z}]): methods implemented.
([NSEvent -description]):
([NSEvent -initWithCoder:]):
([NSEvent -encodeWithCoder:]):
suppor for deltaX, deltaY and deltaZ
* Source/NSResponder.m ([NSResponder -scrollWheel:]):
implementation.
* Source/NSScrollView.m ([NSScrollView -scrollWheel:]):
implementation, does scroll the document view.
Thu Feb 28 16:47:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Tools/make_services.m: Use 'Applications' not 'Apps'.
Thu Feb 28 16:02:09 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/Functions.m: Never include NSCStringText.h. Removed old
obsolete text string functions declared in NSCStringText.h.
* Source/libgnustep-gui.def: Removed
__objc_class_name_NSCStringText.
2002-02-27 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m ([NSApplication -init]): Create our
NSGraphicsContext here (moved from backend initialization) - much
more appealing.
Thu Feb 28 14:19:00 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Headers/gnustep/gui/NSText.h: Added the special key enum
containing NSBackspaceKey which used to be in NSCStringText.h.
Wed Feb 27 23:50:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Implemented
support for describing multi-stroke keybindings using arrays as
keys.
* Source/GSKeyBindingTable.h ([-bindKey:toAction:]): Now accepts
an id as key.
Wed Feb 27 23:27:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Modified so
that adding new multi-stroke keybindings with the same prefix
doesn't discard all previous keybindings with the same prefix.
Wed Feb 27 23:16:47 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-drawRect:]): Always clear the whole rect
using the the background color before drawing the new glyphs.
This makes sure we always clear away old glyphs. This fixes the
bug when deleting the last character in a text field.
2002-02-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSSimpleLayoutManager.m
[_relocLayoutArray:offset:floatTrift:Change a NSLog() call to
NSDebugLog().
* Source/NSLayoutManager.m
Implemented extra line fragment methods.
* Source/NSTextView.m
Implemented [moveToBeginningOfParagraph:] and [moveToEndOfParagraph:].
* KeyBindings/DefaultKeyBindings.dict
Uncommented HOME and END.
Wed Feb 27 19:58:12 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSCStringText.m: Obsolete file removed.
* Headers/gnustep/gui/NSCStringText.h: Obsolete file removed.
* Source/GNUmakefile (libgnustep-gui_OBJC_FILES): Removed
NSCStringText.m.
(libgnustep-gui_HEADER_FILES): Removed NSCStringText.h.
Wed Feb 27 18:59:54 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSInputManager.h (_insertControlKeystrokes):
New ivar.
* Source/NSInputManager.m ([-initWithName:host:]):
Read the user default GSInsertControlKeystrokes and save it.
* Source/NSInputManager.m ([-handleKeyboardEvents:client:]): When
inserting literally a keystroke, if GSInsertControlKeystrokes is
NO, and this is a control keystroke, beep but don't insert it.
Beep when a function key not bound to anything is pressed.
Wed Feb 27 18:57:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSResponder.m ([-insertText:]): Added.
Wed Feb 27 18:54:43 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Headers/gnustep/gui/NSTextStorage.h: Documented.
2002-02-27 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSSplitView.m ([NSSplitView -mouseDown:]):
Tweaked the drawing code and the event code, so that everything
is displayed more smoothly and faster.
2002-02-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
Added method [copySelection] and [pasteSelection] to put the
selected text in special pasteboard. The first gets called by
[setSelectedRange:affinity:stillSelecting:] while the later is
bound to [middleMouseUp:]. (This is hard coded, could the key
binding code handle this?)
2002-02-27 Fred Kiefer <FredKiefer@gmx.de>
Patch from Alexander Malmberg <alexander@malmberg.org>:
* Source/NSGraphicsContext.m
[graphicsContextWithAttributes] always autorelease the context.
Moved the unsetting of the current context from [dealloc] to
[destroyContext] otherwise the current context can never be freed.
* Source/NSApplication.m
Removed some now unneeded FIXME.
Wed Feb 27 01:03:58 2002 Gregory Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m implemented indentation and enabled
collapsing of items in the outline view.
Tue Feb 26 19:08:38 2002 Nicola Pero <nicola@brainstorm.co.uk>
Patch by Michael Hanni <mhanni@yahoo.com> modified -
* Source/NSTabView.m ([-selectTabViewItem:]): Set the frame of the
new selected view to content rect.
Tue Feb 26 18:26:53 2002 Nicola Pero <nicola@brainstorm.co.uk>
Patch from Alexander Malmberg <alexander@malmberg.org>:
* Source/NSFont.m ([+fontWithName:size:]): If size is 0, use
NSUserFontSize instead.
2002-02-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImage.m
[setSize:] recache representations if size changes.
[recache] throw old caches away as size may have changed.
* Source/NSCachedImageRep.m
[GSCacheW _initDefaults] set window not to be released when
closed. As NSApp now closes all windows on terminate.
* Source/NSApplication.m
[NSIconWindow orderWindow:relativeTo:] don't complain about order
out if application is closing.
Mon Feb 25 17:53:19 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSMenuItemCell.m ([-initWithCoder:]): Added code to decode old
version as well, since it is used by the popup button cell.
2002-02-25 Adam Fedor <fedor@gnu.org>
* Source/NSGraphicsContext.m (_postExternalEvent:) Removed, not used.
* Source/NSInterfaceStyle.m: Updated comments.
* Source/NSScroller.m (-setFloatValue:): Don't update
if the new float is the same as our current value.
(-setFloatValue:knobProportion:): Likewise.
2002-02-18 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* gui/Source/NSImage.m ([NSImage -initWithSize:]): removed the
round size down temporary fix.
([NSImage -setSize:]): removed the round size down temporary fix.
Mon Feb 25 14:51:56 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSSavePanel.m (createRowsForColumn:): Use
GSFileBrowserHideDotFiles rather than GSSavePanelHideDotFiles as
user defaults.
Mon Feb 25 13:58:49 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSWindow.m ([-sendEvent:]): Hand the NSFlagsChanged event
to the _firstResponder flagsChanged: method.
Mon Feb 25 13:04:12 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSInputManager.m ([+describeKeyStroke:withModifiers:]):
Output NumericPad-, not Numeric-, for a numeric pad key.
* Source/NSInputManager.m ([-handleKeyboardEvents:client:]): Do
not discard the NumericPad modifier flag when looking up
keystrokes. Remove shift from flags when the keystroke is not a
function key. Do not output function keys literally if they are
not bound to anything.
* Source/GSKeyBindingTable.m ([-bindKey:toAction:]): Simplified -
do not insert keybindings twice - with and without shift - if they
are not function keys. Simplified comparisons and updates for
this change. Fixed memory leak when overriding keybindings.
Mon Feb 25 02:16:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
Rewritten the input manager keybinding engine to be a full blown
keybinding engine - new features include actions composed of array
of selectors, multi-stroke keybindings, abort and quote
keybindings.
* Source/NSInputManager.m: Rewritten most of the engine to be much more
powerful.
* Headers/gnustep/gui/NSInputManager.h: Changes in ivars, lots of
comments, new public and private methods.
* Source/GSKeyBindingAction.h: New auxiliary file.
* Source/GSKeyBindingAction.m: New auxiliary file.
* Source/GSKeyBindingTable.h: New auxiliary file.
* Source/GSKeyBindingTable.m: New auxiliary file.
* GNUmakefile: Compile the new files.
Sun Feb 24 17:32:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSResponder.h: Put the optional methods in an
informal protocol.
Sun Feb 24 11:33:21 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSaverPanel.m: Do not assume that NSFileManager
-directoryContentsAtPath: returns a NSMutableArray.
Sun Feb 24 11:30:33 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSavePanel.m ([-browser:createRowsForColumn:inMatrix:]):
Do not display files starting with . if the user has set
GSSavePanelHideDotFiles to YES (Patch by Martin Brecher
<martin@mb-itconsulting.com> with lots of changes by myself).
2002-02-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLayoutManager.m: More changes to glyph code - store
glyphs and their attributes in the same array, store gaps as
ranges rather than simple indexs. Update comments. Still not
working and turned off using #if
Sat Feb 23 22:07:09 2002 Gregory Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: More improvements. Expansion of
items is now partially supported.
Sat Feb 23 20:51:31 2002 Georg Fleischmann <georg@vhf.de>
* Source/NSBezierPath.m ([+bezierPath]): Return autoreleased object.
Sat Feb 23 11:28:32 2002 Gregory Casamento <greg_casamento@yahoo.com>
* Headers/gnustep/gui/AppKit.h: Added NSOutlineView header
* Headers/gnustep/gui/NSOutlineView.h: Added additional ivars and
corrected methods for delegate and data source.
* Source/NSOutlineView.m: Added lots of new code to handle the
outline view.
* Source/externs.m: Added definitions for notifications.
Sat Feb 23 12:20:28 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patch by Alexander Malmberg <alexander@malmber.org> -
* Source/NSMenu.m ([-initWithTitle:]): Show torn off menus upon
receiving the NSApplicationDidFinishLaunching notification, not
the NSApplicationWillFinishLaunching one.
Sat Feb 23 12:11:44 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patches by Alexander Malmberg <alexander@malmber.org> with many
changes -
* Source/NSMenuView.m ([-setMenu:]): Do not retain menu.
([-dealloc]): Do not release menu.
* Source/NSMenuItemCell.m ([-setMenuView:]): Do not retain the
menu view.
([-dealloc]): Do not release the menu view.
([-copyWithZone:]): Set the menuView of the new cell to nil.
* Source/NSMenuItemCell.m ([+initialize]): Set version to 2.
([-encodeWithCoder:]): Do not encode the menu view.
([-initWithCoder:]): Do not decode the menu view. Retain the
decoded menu item. Do not bother with decoding old versions since
this is unused when encoding/decoding menus anyway. :-)
* Source/NSMenuView.m ([-dealloc]): Set the menuView of all the
menu item cells to nil before releasing them.
* Source/NSMenuView.m ([-initWithCoder:]): Set the menu view of
all the menu item cells to self after decoding.
Sat Feb 23 01:28:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTableView.m ([-editColumn:row:withEvent:select:]):
Call stringValue on the _editedCell before setting up _textObject,
not after, to prevent a spurious validation from messing up the
text to edit. This fixes the bug when moving with TAB between
different edited cells.
* Source/NSTableView.m ([-textDidEndEditing:]): Release the
_editedCell *before* setting it to nil :-).
Fri Feb 22 22:55:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
Patches by Alexander Malmberg <alexander@malmber.org>:
* Source/NSApplication.m ([-dealloc]): Set the main menu and the
window menu to nil, so that we don't try updating them later on in
the shutdown process.
* Source/NSWindow.m ([-dealloc]): Fixed so that it doesn't discard
the autosaved frame.
Fri Feb 22 21:03:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSApplication.h (_runLoopPool): Store the
main run loop autorelease pool in a ivar.
* Source/NSApplication.m ([-run]): Use the _runLoopPool rather
than a local pool. Also, check for recursive invocation, and
enclose into an autorelease pool the last instructions.
([-terminate:]): Destroy the _runLoopPool; enclose destruction
of NSApp into yet another autorelease pool.
Fri Feb 22 18:22:48 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSApplication.m ([-terminate:]): Use an autorelease pool.
Thu Feb 21 23:29:50 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSWindow.h (_originalResponder): Ivar removed.
* Source/NSWindow.m ([-sendEvent:]): Send key up to the first
responder, not to the original responder.
([-dealloc]): Do not release _originalResponder.
([-_initDefaults]): Do not set _originalResponder.
Thu Feb 21 11:01:43 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSApplication.m ([-changeWindowsItem:title:filename:]):
Only exit if the item exists with the same title as the one we
would add, otherwise, remove the old one and add it again to
permit changing window titles. Fixed case of window being changed
from having a title to having no title.
Wed Feb 20 20:57:32 2002 Michael Hanni <mhanni@yahoo.com>
* Source/NSApplication.m ([-changeWindowsItem:]): If the item in
question already exists we abort further processing.
* Source/NSTabView.m: ([-mouseDown:]): New method to fix problems
with NSSplitView interaction.
([-hitTest:]): Removed.
Wed Feb 20 19:15:58 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Headers/gnustep/gui/GSMemoryPanel.h: New file.
* Source/GSMemoryPanel.m: New file.
* Source/GNUmakefile: Compile, install the new files.
* Source/GSInfoPanel.m: If the user clicks on the application
icon, open the memory panel (idea by Richard Frith-Macdonald).
Wed Feb 20 12:36:05 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Model/GMAppKit.m ([NSBox -subviewsForModel]): New method fixing
problems with subviews of NSBox objects.
2002-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLayoutManager.m: Lots of changes to glyph code, including
new logging function ... still doesn't work though ... so turned off.
2002-02-19 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m ([-setAutosaveTableColumns:]):
sets the flag before trying to load from defaults.
(patch by Alexander Malmberg <alexander@malmberg.org>)
Tue Feb 19 11:46:31 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSTextView.m ([-dealloc]): RETAIN self before destroying
the text network. (Suggestion by Alexander Malmberg
<alexander@malmberg.org>).
2002-02-18 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSWindow.m ([NSWindow -close]): Changes made earlier
would not compile w/ gcc < 3.0.
2002-02-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableHeaderView.m ([NSTableHeaderView -mouseDown:]):
The tableHeaderCell is now redrawn when column reordering is on.
2002-02-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSWindow.m ([NSWindow -close]): ignore the call if the
window is already closed.
2002-02-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSApplication.m ([NSApplication -terminate:]): send a
close message to all the windows.
Thu Feb 14 10:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
Michael Hanni <mhanni@yahoo.com>
* Source/NSMenuItemCell.m ([-drawStateImageWithFrame:inView:]):
Exit as soon as possible if we have no state image to draw.
([-imageRectForBounds:]), ([-titleRectForBounds:]): Do not pad for
the state image if the state image has no width.
* Source/NSPopUpButtonCell.m ([-insertItemWithTitle:atIndex:]):
Set the On and Mixed image of the new menu item to nil.
([-selectItem:]): Do not call setChangesState: NO on the selected
menu item.
2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTextStoarge.m: Add GSIMap option for minor performance
improvement.
* Tools/make_services.m: Use correct user root. Noticed that this
tool needs fixing to use the correct paths as provided by the
NSSearchPathsForDirectoriesInDomains() function.
* Source/NSSpellServer.m: Use NSSearchPathsForDirectoriesInDomains()
2002-02-13 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableHeaderCell.m: New drawing code, support for
highlighted cells.
* Source/NSTableHeaderView.m: support for drawing highlighted
column, support for NSTableView mouseDownInHeaderOfTableColumn:
and didClickTableColumn: delegate messages.
* Source/NSTableView.m: rewrite of -mouseDown method.
rewrite of selection handling to fully support the specs
new tableView:didClickTableColumn: and
tableView:mouseDownInHeaderOfTableColumn delegate messages
[NSTableView -setHighlightedTableColumn:]
[NSTableView -highlightedTableColumn]: methods implemented.
* Headers/gnustep/gui/NSTableView.h:
new _highlightedTableColumn ivar.
2002-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundleAdditions.m: Fix dumb error in my last modification.
(bug report by Stephen brandon).
Mon Feb 11 14:39:03 2002 Nicola Pero <n.pero@mi.flashnet.it>
Updated for change in semantics of -string method of
NSMutableAttributedString.
* Source/NSButtonCell.m ([-setAttributedAlternateTitle:]):
Copy the string before using it.
* Source/NSCell.m ([-stringValue]): Copy the string before
returning it. ([-mnemonic]): Copy the string before using it.
* Source/NSMatrix.m ([-validateEditing]): Copy the text before
using it.
* Source/NSTableView.m ([-validateEditing]): Copy the text before
using it.
* Source/NSTextField.m ([-validateEditing]): Copy the text before
using it.
Mon Feb 11 14:30:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSLayoutManager.m ([-textContainerChangedTextView:]):
Update _firstTextView even if there is a single text view.
* Source/NSTextContainer.m ([-setTextView:]): Always inform the
layout manager that the textview is changed.
2002-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundleAdditions.m:
([loadNibFile:externalNameTable:withZone:]) fix so that, if given a
name with a .nib extension, try correctly to use a .gorm or .gmodel.
2002-02-10 Michael Hanni <mhanni@sprintmail.com>
* Source/NSMenuView.m ([-drawRect:]): make this more efficent,
only redraw cells that we clip.
Mon Feb 11 00:35:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSLayoutManager.m ([-dealloc]): Modified to work for
objects which have not been -init.
Sun Feb 10 23:53:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m
([-textContainerForGlyphAtIndex:effectiveRange:]): Return nil
if no text container was set.
* Source/NSLayoutManager.m ([-firstTextView]): Always return
_firstTextView. ([-removeTextContainerAtIndex:]): Set
_firstTextView to nil if we removed the last text container.
* Source/NSTextView.m ([-buildUpTextNetwork:]): Updated setup
sequence for the fixes in the layout manager - bound the layout
manager and the text storage before creating the text container.
2002-02-09 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/GSFontInfo.m: ([GSFontInfo -defaultLineHeightForFont]):
descender is substracted not added to ascender to give the lineHeight
2002-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([performMiniaturize:]) patch to check style
mask by Jeff Teunissen <deek@d2dc.net> added.
Method documented.
Fri Feb 8 02:46:15 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-moveWordBackward:]): Simplified.
([-moveWordForward:]): Simplified.
([-moveWordForwardAndModifySelection:]): New method, implemented.
([-moveWordBackwardAndModifySelection:]): New method, implemented.
* Source/NSAttributedString.m ([-nextWordFromIndex:forward:]):
Rewritten, fixing crashes.
* KeyBindings/DefaultKeyBindings.dict: Uncommented
Alternate-Shift-LeftArrow and Alternate-Shift-RightArrow, and
bound to moveWordBackwardAndModifySelection: and
moveWordForwardAndModifySelection:.
Wed Feb 6 17:12:35 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m
([-invalidateGlyphsForCharacterRange:changeInLength:
actualCharacterRange:]): Removed.
([-drawBackgroundForGlyphRange:atPoint:]): Moved to
NSLayoutManager.m.
([+setSelectionWordGranularitySet:]): Removed. Code moved into
+initialize.
Wed Feb 6 14:12:51 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSLayoutManager.m: Removed old unused unfinished layout
code.
* Headers/gnustep/gui/NSLayoutManager.h: Removed the corresponding
declarations.
2002-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([-sendEvent:]) handle mouse down in window if
no view accepts it. ([-mouseDown:]) implement to quietly ignore
event.
* Source/GSTextStorage.h: additional ivar
* Source/GSTextStorage.m: hand out a proxy to our internal storage,
to avoid either copying it (inefficient) or exposing the mutable
string (unsafe).
Wed Feb 6 02:30:09 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSSimpleLayoutManager.m
([-rebuildForRange:delta:inTextContainer:]): Removed workaround
for bug in NSString. Use a fake used rect width of 1 when
building the fake line fragment for no text, so that the insertion
point is displayed in that case. Build a fake line fragment at
the end of text if there is a newline ending the text. This hack
fixes the problems with typing enter at the end of text.
Tue Feb 5 10:26:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-moveBackwardAndModifySelection:]): New
method.
([-moveForwardAndModifySelection:]): New method.
* KeyBindings/DefaultKeyBindings.dict: Uncommented binding of the
new methods to Shift-LeftArrow and Shift-RightArrow.
Sun Feb 3 11:53:13 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-transpose:]): New method. Bound to
Control-t.
* Headers/gnustep/gui/NSTextView.h: Declare transpose:. Removed
category.
* KeyBindings/DefaultKeyBindings.dict: List rewritten to reflect
the OpenStep keybindings. Work in progress - many keybindings
commented out for now, but this is the list of keybindings we
eventually want to get to.
2002-02-03 Fred Kiefer <FredKiefer@gmx.de>, Richard <rfm@gnu.org>
* Source/NSView.m: ([removeSubview:]) call ([setNeedsDisplay:NO]) in
the subview so that, if subsequently added to another view, and marked
for display, the area needing display will be updated to parent views
correctly.
* Source/NSWindow.m: ([orderWindow:relativeTo:]) fix to restart
automatic update events correctly when a window which was ordered
out is ordered back in again.
2002-02-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSImage.m
Corrected [TIFFRepresentation], was calling the wrong
NSBitmapImageRep method.
* Source/NSFontManager.m
[orderFrontFontPanel:] no longer sets the selected font on the
panel, as this gets done by the panel itself.
* Headers/gnustep/gui/NSFontPanel.h
New ivars for traits, weight and a future preview string.
* Source/NSFontPanel.m
[reloadDefaultFontFamilies] load the family browser and redisplay
the selected font. [setPanelFont:isMultiple:] load the face
browser, store font weight and traits and display font name in
preview only if no preview string is set. [_initWithoutGModel]
made the set button the default button. Split most code from
[_togglePreview:] into separate method [_doPreview], which is
called, when the preview state should not change. In [_doPreview]
only display font name if preview string is not set.
[browser:selectRow:inColumn:], when selecting a family select a
face with the same weight and traits as the originaly
selected. When selecting a face, store its weight and traits.
2002-02-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBezierPath.m:
* Source/NSLayoutManager.m:
* Source/GSTextStorage.m: Use new GSI API from latest CVS base
* library.
2002-01-31 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSCell.m
* Headers/gnustep/gui/NSCell.h : new [NSCell -setHighlighted:]
method
2002-01-30 Adam Fedor <fedor@gnu.org>
* Version: 0.7.5
* Documentation/announce.texi: Update.
* Documentation/news.texi: Likewise.
2002-01-28 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* gui/Source/NSImage.m ([NSImage -initWithSize:]): round the size down
([NSImage -setSize:]): round the size down
Tue Jan 29 10:59:04 2002 Nicola Pero <nicola@brainstorm.co.uk>
* GNUmakefile.postamble (configure): Rule removed. It was causing
problems on systems without autoconf.
(gui.make, config.make): Do not depend on configure.
2002-01-25 Adam Fedor <fedor@gnu.org>
* Documentation/gsdoc/GNUmakefile: Remove autogsdoc processing
* Source/GNUmakefile: Moved to here.
* Headers/gnustep/gui/GSHbox.h, GSVbox.h, NSAffineTransform.h,
NSApplication.h, NSBezierPath.h, NSBitmapImageRep.h,
NSBrowser.h, NSBrowserCell.h, NSCell.h, NSColorWell.h, NSDataLink.h,
NSDataLinkManager.h, NSDataLinkPanel.h, NSForm.h, NSHelpPanel.h,
NSImage.h, NSLayoutManager.h, NSMatrix.h, NSParagraphStyle.h,
NSPasteboard.h, NSPopUpButtonCell.h, NSProgressIndicator.h,
NSSavePanel.h, NSSelection.h, NSStepperCell.h, NSText.h,
NSTextFieldCell.h: Sync interface/impl declarations for autogsdoc.
* Source/GSTable.m, NSAffineTransform.m, NSApplication.m,
NSBitmapImageRep.m, NSGraphicsContext.m, NSSlider.m,
NSTableHeaderView.m, NSText.m: Likewise.
* Headers/gnustep/gui/NSEvent.h: Two new AppKit events.
* Source/NSWindow.m ([NSWindow -sendEvent:]): Implement response
for GSAppKitWindowLeave event.
2002-01-24 Adam Fedor <fedor@gnu.org>
* Source/NSBundleAdditions.m ([NSBundle
+loadNibFile:externalNameTable:withZone:]): If file extension is
nib, replace it with gmodel.
* Documentation/announce.texi: Update.
* Documentation/install.texi: Likewise.
* Documentation/news.texi: Likewise.
* Documentation/todo.texi: Likewise.
2002-01-23 Adam Fedor <fedor@gnu.org>
* Source/NSInterfaceStyle.m (NSInterfaceStyleForKey): Use default
style if no key for style is located. Don't cache key in this case.
* Source/NSMenu.m (-nestedSetFrameOrigin:aPoint): Use
locationForSubmenu to get submenu location.
* Source/NSMenuView.m (-locationForSubmenu:): Fix
location of submenu for GSWindowMakerInterfaceStyle.
2002-01-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWorkspace.h: new ivar
* Source/NSWorkspace.m: Many tidyups and little fixes, major change
to -getBestApp... so that it picks the best available app rather
than just the one specifed by the user as 'best'. This means you can
always use it to get an app even if the user has set no preference.
Fixed uninitialised variable in first version of this mod and made
user preferences override declared types opened by apps.
Keep track of launched applications so we can tell whether we need
to launch a new one or just talk to an existing one.
2002-01-21 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-deactivate): Don't hide modal windows.
(-runModalSession:): Handle WM events (like resize) for any window
right away.
2002-01-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Appkit/NSGraphicsContext.h: new method to slide image
across screen between windows.
* Source/NSGraphicsContext.m: dummy implementation
* Source/NSWorkspace.m: Use new method.
Mon Jan 21 11:47:27 2002 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSMenuItem.m ([-setSubmenu:]): When raising an exception
that the submenu already has a supermenu, print titles of both
submenu and supermenu.
* Source/NSMenuItem.m: For the whole class: access variable
_title.
2002-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([-sendEvent:]) check to see that an old drag
view is still in the current window before sending a dragging message
to it ... if it has been removed, don't send the message.
2002-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSWindow.m: ([-sendEvent:]) use ASSIGN() and DESTROY() to
update _lastDragView so we don't run into problems if something
deallocates it. Added some debug logging. Fixed bug in logic of
drag entry/update. Restructured a little to improve readability.
Thu Jan 17 18:16:08 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-_blink:]): Fixed declaration - should take
a single NSTimer * argument.
Thu Jan 17 00:03:46 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSlider.m ([-mouseDown:]): Do nothing if the slider is
disabled.
Wed Jan 16 23:45:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m (NSAbortModalException): Removed
declaration - suggested by Stephen Brandon.
2002-01-15 Ludovic Marcotte <ludovic@Sophos.ca>
* Source/NSParagraphStyle.m ([NSParagraphStyle -encodeWithCoder:])
fixed the index used for our locations and type arrays from
count to it.
2002-01-15 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (-finishLaunching): Make main menu key
when there is no other key or main window.
(-runModalSession:): Update main menu.
(-targetForAction:): Search fixes. Return nil if in modal session
and key window does not respond to action.
* Source/NSWindow.m (-sendEvent:): Only check cursor rects
if isCursorRectsEnabled.
2002-01-10 Adam Fedor <fedor@gnu.org>
* Source/NSPopUpButton.m (-keyDown:): Handle obscure case of user
opening menu with key and selecting with mouse. Upon key selection,
get selected index from menuView highlightedItemIndex.
2002-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPasteboard.m: Improve handling of -NSHost user default
so we don't try to start a local pasteboard server when what we
actually want is to connect to a remote one.
* Source/NSWorkspace.m: Use -NSHost default to control connection
to a remote workspace application.
Should we use the remote application to launch new apps if possible?
For now, try to launch the apps locally but have them display on
the remote host by passing the -NSHost default to them.
2002-01-09 Adam Fedor <fedor@gnu.org>
* Source/NSApplication.m (_NSAppKitUncaughtExceptionHandler):
Use non-graphical handler when it is a WindowServer exception.
* Source/NSWindow.m (-orderWindow:relativeTo:): Constrain only
titled windows and only when not already visible.
* Source/NSWindow.m (-constrainFrameRect:toScreen:): Don't constrain
height less than minimum size.
(setFrame:display:): constrain frame on a resize.
* TextConverters/RTF/GNUmakefile.preamble: Look for library in Source.
Wed Jan 9 12:07:58 2002 Nicola Pero <n.pero@mi.flashnet.it>
* configure.in: Abort with an error if GNUSTEP_SYSTEM_ROOT is not
set. (AC_CONFIG_AUX_DIR): Call to set ac_aux_dir to
$GNUSTEP_SYSTEM_ROOT/Makefiles.
* configure: Regenerated.
* config.guess: Removed.
* config.sub: Removed.
* install-sh: Removed.
Tue Jan 8 16:23:08 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Resources/English.lproj/Localizable.strings: Removed 'Windows'.
* Resources/Italian.lproj/Localizable.strings: Idem.
Tue Jan 8 14:30:26 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSInputManager.m ([-bindKey:toAction:]): Allow a ""
action to specify no keybinding - can be used to disable a
previous keybinding.
Tue Jan 8 13:58:11 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Tools/exampleInfo.plist: Added German translation of service
strings (Patch by Martin Brecher <martin@mb-itconsulting.com>).
Mon Jan 7 17:35:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSApplication.h (_windows_menu): Changed to
be an NSMenu * instead of a NSMenuItem *. This is more logical
since often the windows menu is set before the main menu is
created.
* Source/NSApplication.m: Updated for change in ivar.
([-setWindowsMenu:]), ([-setMainMenu:]): Simplified a lot. All
code dependent on the name of the 'Windows' menu was removed as
too complex and unreliable when the application is translated.
All applications are now required to create the Windows menu
themselves, and to call setWindowsMenu: to have it used.
Mon Jan 7 16:05:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m ([-setMainMenu:]): Only manually set a
new windows menu if no one was already set. When looking manually
for a Windows menu, look both for translated and untranslated
'Windows' menu items. Translate it if not yet translated.
([-setWindowsMenu:]): If no translated 'Windows' menu item could
be found, try and look for an untranslated one. Translate it if
found.
Sun Jan 6 13:56:53 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSSpellChecker.m ([-_launchSpellCheckerForLanguage:]):
Updated for change in GSServicesManager's ivars.
Sun Jan 6 11:16:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/GSServicesManager.h: Prefixed all ivars with
underscores.
* Source/GSServicesManager.m: Idem.
Sun Jan 6 10:49:49 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/GSServicesManager.m ([-rebuildServicesMenu]): If the key
equivalent can not be found under the language used for the menu
item, use the default key equivalent if any.
* Tools/exampleInfo.plist: Added service names in Italian.
Thu Jan 3 07:35:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-mouseDown:]): Implemented activation of
links. (Patch written with Ludovic Marcotte <ludovic@sophos.ca>).
* Source/NSTextView.m ([-mouseDown:]): Only use the code for
clicks on attachments on the first click.
Tue Jan 1 21:06:32 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-tile]): Allocate space for the rulers
(Adapted from a patch from Diego Luis Kreutz <kreutz@inf.ufsm.br>).
Tue Jan 1 20:57:07 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-tile]): Rewritten to be simpler to
understand.
Tue Jan 1 13:36:56 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSView.m ([-resizeWithOldSuperviewSize:]): Removed all
traces of the obsolete code for managing the bounds. Tidied code.
2001-12-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSServicesManager.m: ([GSListener -forwardInvocation:])
method implemented to forward to service provider or app delegate.
Tue Dec 25 09:54:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSButtonCell.m ([-drawInteriorWithFrame:inView:]): Draw
the background color.
Tue Dec 25 09:23:24 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSScrollView.m ([-_doScroll:]): Mark the horizontal and
vertical ruler as needing redisplay if needed.
([-setHorizontalRulerView:]): Add/remove the new horizontal ruler
as a subview; set _hasHorizontalRule to NO if the new horizontal
ruler is nil; tile if rulers are visible.
([-setHasVerticalRuler:]): Similar changes.
([-setHasHorizontalRuler:]): Rewritten. In particular, use the
class specified in +rulerViewClass when creating the new ruler.
([-setVerticalRulerView:]): Similar changes.
(Patches from Diego Luis Kreutz <kreutz@inf.ufsm.br> modified).
2001-12-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
[dragOperationForDraggingInfo:type:] added NSDragOperationCopy to
the valid drag actions.
2001-12-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
Added some NSResponder methods with empty code to keep the
NSInputManager quiet.
* Source/NSApplication.m
[initialize] retain the gui bundle and added an auto release pool
as this might be called without one installed.
2001-12-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTextView.m
[writeSelectionToPasteboard:types:] corrected C binary operator
short cut logic that prevented us froam adding more than one
string type to the pasteboard. Remember that || wont evaluate the
second operand if the first is true.
Fri Dec 21 18:50:17 2001 Nicola Pero <nicola@brainstorm.co.uk>
* Headers/gnustep/gui/GSGuiPrivate.h: New file.
* GNUmakefile (SUBPROJECTS): Added Resources.
* Resources/GNUmakefile: New file.
* Resources/Italian.lproj/Localizable.strings: New file.
* Resources/English.lproj/Localizable.strings: New file.
* Source/NSApplication.m ([+initialize]): Create the gnustep-gui
bundle used for loading localized messages.
(GSGuiBundle): New function.
* Source/NSApplication: Localized most messages in this file.
This is experimental.
Fri Dec 21 14:37:45 2001 Nicola Pero <nicola@brainstorm.co.uk>
* GNUmakefile (SUBPROJECTS): Added KeyBindings.
2001-12-20 Adam Fedor <fedor@gnu.org>
* Images/common_noCursor.tiff: New image from deek@d2dc.net.
2001-12-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSView.m
Implemented dragFile:fromRect:slideBack:event:]. Moved code from
[dragImage:...slideBack:] to NSWindow and call this.
* Source/NSWindow.m
New Implemantion of [dragImage:...slideBack:]. Replaced call to
[NSGraphicContext _postExternalEvents:] with [NSDragInfo
postDragEvent:].
Replaced most [NSScreen mainScreen] with [self screen].
* Headers/gnustep/gui/NSGraphicContext.h
Removed method [_postExternalEvents:]. Added method
[GSResolutionForScreen:].
* Headers/gnustep/gui/NSGraphic.h
* Headers/gnustep/gui/GSMethodTable.h
Added GSResolutionForScreen.
* Source/NSGraphicContext.m
Implemented [GSResolutionForScreen:] with code from NSScreen.
* Source/NSScreen.m
[deviceDescription] call new function GSResolutionForScreen.
Wed Dec 19 17:55:25 2001 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSTextView.m ([NSTextView -moveToEndOfLine:]): Fixed typo
in my last commit.
Tue Dec 18 22:13:31 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSTextView.m ([-moveToEndOfLine:]): Fixed problems with
empty lines by carefully checking for special cases.
* Source/NSLayoutManager.m
([-lineFragmentRectForGlyphAtIndex:effectiveRange:]): Fixed setting
effective range.
([-lineFragmentUsedRectForGlyphAtIndex:effectiveRange:]): Idem.
([-textContainerForGlyphAtIndex:effectiveRange:]): Idem.
2001-12-19 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m
[setMainMenu:] set the title of the main menu window, so
the window manager can display it.We could do this also for all
other menus, but those wont show up in the window manager.
* Tools/gopen.m
Removed the redefinition of NSRunAlertPanel() as NSWOrkspace no
longer uses this,
2001-12-18 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSWindow.m ([NSWindow -setTitleWithRepresentedFilename:]):
([NSWindow -setTitle:]):
([NSWindow -_initBackendWindow:]):
changed cString into lossyCString during DPStitlewindow calls
* Source/NSBrowser.m:
NSBrowserColumn: new methods initWithCoder & encodeWithCoder, it now
complies to NSCoding
[NSBrowser -initWithCoder:] & [NSBrowser -encodeWithCoder:]: major
update to previous implementation. It is now usable with Gorm and
should not generate memory leaks anymore.
Mon Dec 17 23:54:35 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSInputManager.m: New class which loads key binding files
and process keys basing on loaded key bindings.
* Headers/gnustep/gui/NSInputManager.h: Updated. Removed methods
deprecated in apple doc - there is no point in trying to be
compatible with internal deprecated methods of a foreign system.
* Source/NSResponder.m ([-interpretKeyEvents:]): Pass the key
events to the current input manager.
([+initialize]): Added call to NSInputManager to have it init
itself.
* KeyBindings/: New directory.
* KeyBindings/GNUmakefile: New file.
* KeyBindings/DefaultKeyBindings.dict: New file.
* Documentation/gsdoc/GNUmakefile (Gui_GSDOC_FILES): Added
DefaultsSummary.gsdoc.
* Documentation/gsdoc/DefaultsSummary.gsdoc: Documented
the GSDefaultKeyBindings and GSCustomKeyBindings options.
* Documentation/gsdoc/DefaultsSummary.html: Regenerated.
2001-12-17 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSButtonCell.m ([NSButtonCell -drawInteriorWithFrame:inView:])
removed the code that drew the background (osx doesn't draw background)
* Source/NSProgressIndicator.m ([NSProgressIndicator +initialize]):
retain the fillColour.
2001-12-17 Adam Fedor <fedor@gnu.org>
* Source/*m: Add basic markup for autogsdoc generation.
(various locations): Remove semi-colon at end of method names.
NSSliderCell.m, NSSlider.m, NSTableColumn.m, NSView.m, NSWindow.m:
Add documentation formerly in gsdoc files to comments.
* Headers/gnustep/gui/NSColorList.h, NSPageLayout.h,
NSPrintInfo.h, NSPrintOperation.h, NSPrinter.h, NSView.h: Correct
method types, remove unused markup.
* Documentation/gsdoc/GNUmakefile: Add variables for autmatic
document generatation via autgsdoc.
* Documentation/gsdoc/*gsdoc, *html: Update.
Sat Dec 15 09:12:44 2001 Nicola Pero <n.pero@mi.flashnet.it>
Patches from Ludovic Marcotte modified by myself.
* Source/NSTextView.m ([-moveToBeginningOfDocument:]):
Implemented.
([-moveToBeginningOfLine:]): Idem.
([-moveToEndOfDocument:]): Idem.
([-moveToEndOfLine:]): Idem.
([-moveWordBackward:]): Idem.
([-moveWordForward:]): Idem.
([-selectLine:]): Idem.
2001-12-12 Adam Fedor <fedor@gnu.org>
* Source/NSCursor: New cache dictionary.
(-greenArrowCursor): New method.
(-initWithImage:foregroundColorHint:backgroundColorHint:hotSpot:):
Implement.
2001-12-09 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/NSWindow.m (GSPerformVoidDragSelector): rewritten to not
rely on category on NSObject
(GSPerformDragSelector): rewritten to not rely on category on
NSObject
([NSWindow -sendEvent:]): fixed bug in handling of informal
draggingDestination protocol
* Headers/AppKit/NSWindow.h (NSCoding>): added instance variable
_lastDragOperationMask
* Source/GNUmakefile (libgnustep-gui_OBJC_FILES): Removed obsolete
NSObjectProtocols.m file
Tue Dec 11 00:08:38 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSCell.m ([-setStringValue:]): Use a NSDebugMLLog to warn
for attempts to use nil value, not NSWarnLog, as suggested by Wim
Oudshoorn <woudshoo@sct.com>.
2001-12-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSApplication.m
[NSIconWindow _initDefaults] set the title of the icon window, so
the window manager can display it.
2001-12-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWorkspace.m
[_workspaceApplication] renamed defaults key for Workspace
application to GSWorkspaceApplication.
* Documentation/gsdoc/DefaultsSummary.gsdoc
Documented NSWorkspace defaults entry GSWorkspaceApplication
and the new xgps defaults entry GSFontMask.
2001-12-07 Adam Fedor <fedor@gnu.org>
* Source/NSImage.m (-drawRepresentation:inRect:): Draw
background even when alpha == 0.
* Source/NSApplication.m (-sendEvent:): Simplify NSDebugLog.
* Documentation/gsdoc/DefaultsSummary.gsdoc: Update
* Documentation/gsdoc/Gui.gsdoc: Remove NSDPSContext.
2001-12-07 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Headers/gnustep/gui/NSTableColumn.h:
* Source/NSTableColumn.m: changed the initWithIdentifier return
type from NSTableColumn* to id. It prevents warning when
subclassing and is consistent with the docs.
* Headers/gnustep/gui/NSTableView.h: renamed ivar _del_editable to
_dataSource_editable. Previously the delegate was responsible for
tableView:setObjectValue:forTableColumn:row:, whereas it is now the
dataSource that is responsible for it (it conforms with the docs)
* Source/NSTableView.m: [setDelegate:], [setDataSource:] and
[validateEditing] changed to conform to previous change
* Source/NSTableView.m (quick_sort_internal) : fixed typo
Wed Dec 5 11:04:14 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSPrintInfo.m ([+initPrintInfoDefaults]): Commented out
debugging log which wouldn't compile.
Wed Dec 5 10:55:13 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSClipView.m ([-setBackgroundColor:]): If the color is
changed, mark the clipview as needing redisplay.
([-setDrawsBackground:]): If the flag is changed, mark the
clipview as needing redisplay.
* Source/NSText.m ([-setBackgroundColor:]): Mark the text as
needing redisplay if the color is changed. If we are not a field
editor, change the background color of the enclosing scrollview
too.
([-setDrawsBackground:]): Mark the text as needing redisplay if
the flag is changed. If we are not a field editor, change the
flag for the enclosing scrollview too.
2001-12-02 Adam Fedor <fedor@gnu.org>
* Model/GMAppKit.m ([NSMenuItem -initWithModelUnarchiver:]): Check
if target is a menu.
* Source/NSCursor.m: Make class variables for arrow and ibeam
cursor.
2001-11-30 Willem Rein Oudshoorn <woudshoo@xs4all.nl>
* Source/NSCursor.m (backgroundColorHint:): added FIXME comment
* Images/GNUmakefile (IMAGE_FILES): added DnD cursors
* Headers/gnustep/gui/NSBitmapImageRep.h (NSImageRep): removed
unused instance variable
2001-12-03 Laurent Julliard <laurent@moldus.org>
* Source/NSTableHeaderView.m (-initWithCoder:, decodeWithCoder:):
minimal decoding/encoding methods
2001-12-02 Gregory Casamento <greg_casamento@yahoo.com>
* Source/NSTableView.m
-[NSTableView superviewFrameChanged:] Added a check to prevent
exception when column count is reduced to zero. This change is
consistent with behaviour observed on OPENSTEP4.2/Mach.
2001-12-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWorkspace.m
[findApplications] use hardcoded @GNUSTEP_INSTALL_PREFIX only for
non-GNUstep foundation library.
* Source/NSPasteboard.m
[_pbs] use hardcoded @GNUSTEP_INSTALL_PREFIX only for
non-GNUstep foundation library.
* Source/NSImage.m
[initialize] and [imageNamed:] use hardcoded
@GNUSTEP_INSTALL_LIBDIR only for non-GNUstep foundation library.
* Source/NSPrintInfo.m
[initPrintInfoDefaults] use hardcoded @GNUSTEP_INSTALL_LIBDIR only
for non-GNUstep foundation library.
Sun Dec 2 08:54:36 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSAttributedString.m ([NSMutableAttributedString
-fixParagraphStyleAttributeInRange:]): Fixes, particularly for
case in which a style is not found at the beginning of paragraph.
(Bug reported by Ludovic Marcotte <ludovic@Sophos.ca>).
2001-12-02 Gregory Casamento <greg_casamento@yahoo.com>
* Tools/gopen.m
Modified to eliminate the output of "No application for extension
'app'" when launching an application using gopen. The code now
checks to see if an app is being launched first, then, if not,
attempts to open the file. It's also slightly more efficient to
check for an app first before calling -[NSWorkspace openFile:].
2001-12-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSWorkspace.m
Moved all private methods into seperate category. New method
[_connectApplication:], use this in [openFile:...] and
[launchApplication:...]. Implemented [openTempFile:].
New method [_workspaceApplication] used to implement
[performFileOperation:...] and [selectFile:inFileViewerRootedAtPath:].
* Source/NSApplication.m
[finishLaunching] and [terminate:] send workspace notification
with the shared workspace as object.
Sat Dec 1 10:10:58 2001 Nicola Pero <n.pero@mi.flashnet.it>
* GNUmakefile.postamble (gui.make): Depend on configure.
(config.make): Idem.
Sat Dec 1 09:33:39 2001 Nicola Pero <n.pero@mi.flashnet.it>
* GNUmakefile.postamble (after-distclean): Remove gui.make as
well.
(gui.make): New target.
(config.make): New target.
(configure): New target.
Sat Dec 1 09:13:26 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSButtonCell.h (NSGradientType): Fixed typo
(Bug fix by Jay McCarthy <jay@kenyamountain.com>).
Fri Nov 30 12:58:45 2001 Nicola Pero <nicola@brainstorm.co.uk>
* Source/NSCell.m ([-setStringValue:]): Use NSWarnMLog to warn for
nil string values rather than raising an exception (Suggestion by
richard).
2001-11-28 Adam Fedor <fedor@gnu.org>
* Source/GSServicesManager.m (-rebuildServices): Use userLanguages
method rather than getting NSLanguages default.
* Documentation/gsdoc/DefaultsSummary.gsdoc: New file.
* Documentation/gsdoc/Gui.gsdoc: Include it.
2001-11-27 Adam Fedor <fedor@gnu.org>
* Source/NSClipView.m: Treat _documentView as a convienience
ivar. Don't release/retain or encode it.
(-initWithCoder:): Get _documentView from subview array.
* Source/NSTabView.m (-encodeWithCoder:): Conditionally encode
delegate.
(-initWithCoder:): Don't retain delegate.
2001-11-26 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSWindow.h
Added some new MacOSX methods and ivars to support them.
Changed order of methods.
* Source/NSWindow.m
Implemented new methods.
* Headers/gnustep/gui/NSWindowController.h
Added some new MacOSX methods.
* Headers/gnustep/gui/NSDocumentFrameworkPrivate.h
Removed methods now public.
* Source/NSWindowController.m
Implemented new methods and renamed some old which are now public.
* Source/NSDocument.m
Adopted to name changes of NSWindowController methods.
* Headers/gnustep/gui/NSNibLoading.h
New extension method [pathForNibResource:].
* Source/NSBundleAdditions.m
Extracted new method [pathForNibResource:] for NSWindowController.
* Headers/gnustep/gui/NSWorkspace.h
Added some new MacOSX methods. Changed order of methods. Made
ivars out of some class variables.
* Source/NSWorkspace.m
A lot of cleanup. Implemented the new methods. [openFile:XXX] no
longer show alert panels, as this should be done by the caller.
[launchApplication:XXX] now checks if the application is already
running.
2001-11-25 Gregory John Casamento <greg_casamento@yahoo.com>
* Tools/gopen.m made some enhancements to make the gopen tool
behave more like the "open" tool under OPENSTEP/MOSX.
2001-11-24 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSTextView.h
Added protocol NSTextInput to NSTextView. Added some new MacOSX
methods.
* Source/NSTextView.m
Corrected memory management in rulerview methods. Implemented
update ruler. Dummy implementation for new spell checking
methods. Implementation of new drag methods, use these in the
dragging protocol methods. Moved the NSTextInput methods into the
main category. Implemented some of them.
* Source/NSLayoutManager.m
Implemented [rulerMarkersForTextView:...ruler:].
* Headers/gnustep/gui/NSPasteboard.h
Added extension methods for NSURL.
* Source/NSPasteboard.m
Implemented extension methods for NSURL.
* Headers/gnustep/gui/NSView.h
Added some new MacOSX methods. Changed order of methods.
* Source/NSView.m
Implemented those new methods. Call new methods from the subview
handling methods.
2001-11-23 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSTableView.h
* Source/NSTableView.m
Added some additional MacOSX methods.
* Headers/gnustep/gui/NSTextField.h
* Source/NSTextField.m
Added and implemented some methods for the handling of richt text.
* Source/extern.m
Added notifications from NSTextStorage
* Headers/gnustep/gui/NSTextStorage.h
* Source/NSTextStorage.m
Added some new methods that allow for lazy fixing of attributes in
subclasses.
* Source/NSTextView.m
Added code to rulerview delegate methods.
Thu Nov 22 00:58:12 2001 Nicola Pero <n.pero@mi.flashnet.it>
* GNUmakefile (CVS_MODULE_NAME): Define.
2001-11-21 Laurent Julliard <laurent@julliard-online.org>
* Source/NSBrowser.m (-initWithCoder:): colCount and _firstVisible
Column must always be decoded. Bug fixed (thanks to Adam Fedor)
2001-11-20 Laurent Julliard <laurent@julliard-online.org>
* Source/NSComboBoxCell.m (-setNumberOfVisibleItems): max number
of items tested on wrong variable. Corrected
2001-11-19 Adam Fedor <fedor@gnu.org>
* Headers/gnustep/gui/NSGraphicsContext.h: Add usedFonts ivar.
New methods for caching used fonts.
* Source/NSGraphicsContect.m (-useFont): Moved from NSFont.
(-resetUsedFonts, -usedFonts): Likewise.
* Source/NSFont.m (+useFont:): Use them.
* Source/NSView.m (-endDocument): Likewise.
* Model/GMArchiver.m (-decodeSelectorWithName:): Use correct 0 value.
2001-11-18 Gregory John Casamento <greg_casamento@yahoo.com>
* Tools/gopen.m: added a tool which works like the OPENSTEP 4.2/Mach
"open" command to the tools directory.
2001-11-15 Laurent Julliard <laurent@julliard-online.org>
* Source/NSBrowser.m: NSBrowser encoder and decoder added
2001-11-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSFontManager.m
Reorganised the handling of the font enumerator. New
[_includeFont:] is only called from here. Corrected
[availableMembersOfFontFamily:] and [fontNamed:hasTraits:].
* Headers/gnustep/gui/GSFontInfo.h:
Adopted GSFontEnumerator to changes on NSFontManager.
* Source/GSFontInfo.m:
Changed GSFontEnumerator so that only [enumerateFontsAndFamilies]
must be subclassed.
2001-11-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTabView.m
In [selectTabViewItem:] corrected setting the first responder of
the tab view.
2001-11-09 Adam Fedor <fedor@gnu.org>
* Source/NSView.m (-addSubview:): Raise exception on adding nil
subview or superview of view.
(-addSubview:positioned:relativeTo:): Likewise.
(-beginDocument): Change NSLog to exception.
Thu Nov 8 23:30:47 2001 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSMatrix.m ([-sizeToFit]): Reverted last change.
* Source/NSBrowser.m ([-_performLoadOfColumn:]): Do not call
sizeToFit on the matrix, just set the cellSize to the result of
calling -cellSize on the first browsercell in the matrix.
2001-11-08 Adam Fedor <fedor@gnu.org>
* Simple printing/pagination implementation
* Headers/gnustep/gui/NSGraphicsContext.h: Add some constants
* Source/NSFont.m (+useFont:): Same font name in static NSSet
(+resetUsedFonts): Implement
(+usedFonts): Likewise.
* Source/NSGraphicsContext.m (+defaultContextWithInfo:) Depreciated,
calls +graphicsContextWithAttributes:.
(+graphicsContextWithAttributes:): Creates default context class.
(+useFont:): Removed.
* Source/NSPrintInfo.m (-setOrienatation:) Set paper size accordingly.
(-setPaperName:): Likewise.
(-setPaperSize:): Set orientation.
(+initPrintInfoDefaults): Rewrite.
* Source/NSPrintOperation.m (-_setupPrintInfo): New private.
(-_printPaginateWithInfo:knowsRange:): Likewise.
(-_rectForPage:info:): Likewise.
(-_adjustPagesFirst:last:info:): Likewise.
(-_print): Rewrite for pagination, printing.
([NSView -_displayPageInRect:atPlacement:withInfo:]): New private.
([NSView -_endSheet): Likewise.
* Source/NSPrintPanel.m: Fix layout settings.
* Source/NSView.m (-printJobTitle): Implement.
(-locationOfPrintRect:, beginPage:label:bBox:fonts:,
beginPageSetupRect:placement:, beginPrologueBBox:..., beginSetup,
beginTrailer, endHeaderComments, endPrologue, endSetup, endPage,
endTrailer, beginDocument, beginPageInRect:atPlacement:, endDocument):
Likewise.
2001-11-08 Laurent Julliard <laurent@julliard-online.org>
* Headers/gnustep/gui/NSGraphics.h
* Source/Functions.m
* Source/NSImageCell.m:
NSDrawFramePhoto added. Needed by the ImageView inspector in Gorm
2001-11-06 Pierre-Yves Rivaille <pyrivail@ens-lyon.fr>
* Source/NSTableView.m ([-sizeToFit]): replaced floorf with floor
suggestion from Stephen Brandon <stephen@brandonitconsulting.co.uk>
2001-11-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSMenu.m
In [performActionForItemAtIndex:] select the item of the popup
before sending the action.
* Headers/gnustep/gui/NSSplitView.h
Removed unused ivar _splitCursor. Added some MacOSX methods. Moved
extension methods to separate category.
* Source/NSSplitView.m
Adopted to changes in header. Dummy implementation of new
methods. Changed incudes. In [mouseDown:] also check for new delegate
methods. [_adjustSubviews:] now takes the old size as an argument
to hand it on to delegate. Changed all places that call
this. En-/decode the image instead of the cursor.
* Headers/gnustep/gui/NSTabView.h
Renamed all ivars and added some new MacOSX methods. Added two new
unsupported NSTabViewType values.
* Source/NSTabView.m
Adopted to changes in header. Use [insertTabViewItem:atIndex:] in
[addTabViewItem:]. Corrected [selectNextTabViewItem:] and
[selectPreviousTabViewItem:]. In [selectTabViewItem:] set the
first responder of the tab view. Other small cleanup.
2001-11-03 Fred Kiefer <FredKiefer@gmx.de>
* Headers/gnustep/gui/NSSpellChecker.h
Added [guessesForWord:].
* Source/NSSpellChecker.m
Implement [guessesForWord:] and use it in
[browser:createRowsForColumn:inMatrix:]. Don't create the server
in [init], but check it before each use. Check if ther server
proxy exists before all method calls that return a NSRange.
In [checkSpellingOfString:...wordCount:] don't call
[updateSpellingPanelWithMisspelledWord:]. Beep in this method,
when the string is empty. [_findNext:], [_ignore:] and [_correct:]
now use [[NSApp sendAction:to:from:] instead of explicit responder.
* Source/NSTextView.m
Adopted implemtantion of [checkSpelling:] to changes in
NSSpellChecker. [updateSpellingPanelWithMisspelledWord:] is now
called from here.
|