1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680 19681 19682 19683 19684 19685 19686 19687 19688 19689 19690 19691 19692 19693 19694 19695 19696 19697 19698 19699 19700 19701 19702 19703 19704 19705 19706 19707 19708 19709 19710 19711 19712 19713 19714 19715 19716 19717 19718 19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 19729 19730 19731 19732 19733 19734 19735 19736 19737 19738 19739 19740 19741 19742 19743 19744 19745 19746 19747 19748 19749 19750 19751 19752 19753 19754 19755 19756 19757 19758 19759 19760 19761 19762 19763 19764 19765 19766 19767 19768 19769 19770 19771 19772 19773 19774 19775 19776 19777 19778 19779 19780 19781 19782 19783 19784 19785 19786 19787 19788 19789 19790 19791 19792 19793 19794 19795 19796 19797 19798 19799 19800 19801 19802 19803 19804 19805 19806 19807 19808 19809 19810 19811 19812 19813 19814 19815 19816 19817 19818 19819 19820 19821 19822 19823 19824 19825 19826 19827 19828 19829 19830 19831 19832 19833 19834 19835 19836 19837 19838 19839 19840 19841 19842 19843 19844 19845 19846 19847 19848 19849 19850 19851 19852 19853 19854 19855 19856 19857 19858 19859 19860 19861 19862 19863 19864 19865 19866 19867 19868 19869 19870 19871 19872 19873 19874 19875 19876 19877 19878 19879 19880 19881 19882 19883 19884 19885 19886 19887 19888 19889 19890 19891 19892 19893 19894 19895 19896 19897 19898 19899 19900 19901 19902 19903 19904 19905 19906 19907 19908 19909 19910 19911 19912 19913 19914 19915 19916 19917 19918 19919 19920 19921 19922 19923 19924 19925 19926 19927 19928 19929 19930 19931 19932 19933 19934 19935 19936 19937 19938 19939 19940 19941 19942 19943 19944 19945 19946 19947 19948 19949 19950 19951 19952 19953 19954 19955 19956 19957 19958 19959 19960 19961 19962 19963 19964 19965 19966 19967 19968 19969 19970 19971 19972 19973 19974 19975 19976 19977 19978 19979 19980 19981 19982 19983 19984 19985 19986 19987 19988 19989 19990 19991 19992 19993 19994 19995 19996 19997 19998 19999 20000 20001 20002 20003 20004 20005 20006 20007 20008 20009 20010 20011 20012 20013 20014 20015 20016 20017 20018 20019 20020 20021 20022 20023 20024 20025 20026 20027 20028 20029 20030 20031 20032 20033 20034 20035 20036 20037 20038 20039 20040 20041 20042 20043 20044 20045 20046 20047 20048 20049 20050 20051 20052 20053 20054 20055 20056 20057 20058 20059 20060 20061 20062 20063 20064 20065 20066 20067 20068 20069 20070 20071 20072 20073 20074 20075 20076 20077 20078 20079 20080 20081 20082 20083 20084 20085 20086 20087 20088 20089 20090 20091 20092 20093 20094 20095 20096 20097 20098 20099 20100 20101 20102 20103 20104 20105 20106 20107 20108 20109 20110 20111 20112 20113 20114 20115 20116 20117 20118 20119 20120 20121 20122 20123 20124 20125 20126 20127 20128 20129 20130 20131 20132 20133 20134 20135 20136 20137 20138 20139 20140 20141 20142 20143 20144 20145 20146 20147 20148 20149 20150 20151 20152 20153 20154 20155 20156 20157 20158 20159 20160 20161 20162 20163 20164 20165 20166 20167 20168 20169 20170 20171 20172 20173 20174 20175 20176 20177 20178 20179 20180 20181 20182 20183 20184 20185 20186 20187 20188 20189 20190 20191 20192 20193 20194 20195 20196 20197 20198 20199 20200 20201 20202 20203 20204 20205 20206 20207 20208 20209 20210 20211 20212 20213 20214 20215 20216 20217 20218 20219 20220 20221 20222 20223 20224 20225 20226 20227 20228 20229 20230 20231 20232 20233 20234 20235 20236 20237 20238 20239 20240 20241 20242 20243 20244 20245 20246 20247 20248 20249 20250 20251 20252 20253 20254 20255 20256 20257 20258 20259 20260 20261 20262 20263 20264 20265 20266 20267 20268 20269 20270 20271 20272 20273 20274 20275 20276 20277 20278 20279 20280 20281 20282 20283 20284 20285 20286 20287 20288 20289 20290 20291 20292 20293 20294 20295 20296 20297 20298 20299 20300 20301 20302 20303 20304 20305 20306 20307 20308 20309 20310 20311 20312 20313 20314 20315 20316 20317 20318 20319 20320 20321 20322 20323 20324 20325 20326 20327 20328 20329 20330 20331 20332 20333 20334 20335 20336 20337 20338 20339 20340 20341 20342 20343 20344 20345 20346 20347 20348 20349 20350 20351 20352 20353 20354 20355 20356 20357 20358 20359 20360 20361 20362 20363 20364 20365 20366 20367 20368 20369 20370 20371 20372 20373 20374 20375 20376 20377 20378 20379 20380 20381 20382 20383 20384 20385 20386 20387 20388 20389 20390 20391 20392 20393 20394 20395 20396 20397 20398 20399 20400 20401 20402 20403 20404 20405 20406 20407 20408 20409 20410 20411 20412 20413 20414 20415 20416 20417 20418 20419 20420 20421 20422 20423 20424 20425 20426 20427 20428 20429 20430 20431 20432 20433 20434 20435 20436 20437 20438 20439 20440 20441 20442 20443 20444 20445 20446 20447 20448 20449 20450 20451 20452 20453 20454 20455 20456 20457 20458 20459 20460 20461 20462 20463 20464 20465 20466 20467 20468 20469 20470 20471 20472 20473 20474 20475 20476 20477 20478 20479 20480 20481 20482 20483 20484 20485 20486 20487 20488 20489 20490 20491 20492 20493 20494 20495 20496 20497 20498 20499 20500 20501 20502 20503 20504 20505 20506 20507 20508 20509 20510 20511 20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 20522 20523 20524 20525 20526 20527 20528 20529 20530 20531 20532 20533 20534 20535 20536 20537 20538 20539 20540 20541 20542 20543 20544 20545 20546 20547 20548 20549 20550 20551 20552 20553 20554 20555 20556 20557 20558 20559 20560 20561 20562 20563 20564 20565 20566 20567 20568 20569 20570 20571 20572 20573 20574 20575 20576 20577 20578 20579 20580 20581 20582 20583 20584 20585 20586 20587 20588 20589 20590 20591 20592 20593 20594 20595 20596 20597 20598 20599 20600 20601 20602 20603 20604 20605 20606 20607 20608 20609 20610 20611 20612 20613 20614 20615 20616 20617 20618 20619 20620 20621 20622 20623 20624 20625 20626 20627 20628 20629 20630 20631 20632 20633 20634 20635 20636 20637 20638 20639 20640 20641 20642 20643 20644 20645 20646 20647 20648 20649 20650 20651 20652 20653 20654 20655 20656 20657 20658 20659 20660 20661 20662 20663 20664 20665 20666 20667 20668 20669 20670 20671 20672 20673 20674 20675 20676 20677 20678 20679 20680 20681 20682 20683 20684 20685 20686 20687 20688 20689 20690 20691 20692 20693 20694 20695 20696 20697 20698 20699 20700 20701 20702 20703 20704 20705 20706 20707 20708 20709 20710 20711 20712 20713 20714 20715 20716 20717 20718 20719 20720 20721 20722 20723 20724 20725 20726 20727 20728 20729 20730 20731 20732 20733 20734 20735 20736 20737 20738 20739 20740 20741 20742 20743 20744 20745 20746 20747 20748 20749 20750 20751 20752 20753 20754 20755 20756 20757 20758 20759 20760 20761 20762 20763 20764 20765 20766 20767 20768 20769 20770 20771 20772 20773 20774 20775 20776 20777 20778 20779 20780 20781 20782 20783 20784 20785 20786 20787 20788 20789 20790 20791 20792 20793 20794 20795 20796 20797 20798 20799 20800 20801 20802 20803 20804 20805 20806 20807 20808 20809 20810 20811 20812 20813 20814 20815 20816 20817 20818 20819 20820 20821 20822 20823 20824 20825 20826 20827 20828 20829 20830 20831 20832 20833 20834 20835 20836 20837 20838 20839 20840 20841 20842 20843 20844 20845 20846 20847 20848 20849 20850 20851 20852 20853 20854 20855 20856 20857 20858 20859 20860 20861 20862 20863 20864 20865 20866 20867 20868 20869 20870 20871 20872 20873 20874 20875 20876 20877 20878 20879 20880 20881 20882 20883 20884 20885 20886 20887 20888 20889 20890 20891 20892 20893 20894 20895 20896 20897 20898 20899 20900 20901 20902 20903 20904 20905 20906 20907 20908 20909 20910 20911 20912 20913 20914 20915 20916 20917 20918 20919 20920 20921 20922 20923 20924 20925 20926 20927 20928 20929 20930 20931 20932 20933 20934 20935 20936 20937 20938 20939 20940 20941 20942 20943 20944 20945 20946 20947 20948 20949 20950 20951 20952 20953 20954 20955 20956 20957 20958 20959 20960 20961 20962 20963 20964 20965 20966 20967 20968 20969 20970 20971 20972 20973 20974 20975 20976 20977 20978 20979 20980 20981 20982 20983 20984 20985 20986 20987 20988 20989 20990 20991 20992 20993 20994 20995 20996 20997 20998 20999 21000 21001 21002 21003 21004 21005 21006 21007 21008 21009 21010 21011 21012 21013 21014 21015 21016 21017 21018 21019 21020 21021 21022 21023 21024 21025 21026 21027 21028 21029 21030 21031 21032 21033 21034 21035 21036 21037 21038 21039 21040 21041 21042 21043 21044 21045 21046 21047 21048 21049 21050 21051 21052 21053 21054 21055 21056 21057 21058 21059 21060 21061 21062 21063 21064 21065 21066 21067 21068 21069 21070 21071 21072 21073 21074 21075 21076 21077 21078 21079 21080 21081 21082 21083 21084 21085 21086 21087 21088 21089 21090 21091 21092 21093 21094 21095 21096 21097 21098 21099 21100 21101 21102 21103 21104 21105 21106 21107 21108 21109 21110 21111 21112 21113 21114 21115 21116 21117 21118 21119 21120 21121 21122 21123 21124 21125 21126 21127 21128 21129 21130 21131 21132 21133 21134 21135 21136 21137 21138 21139 21140 21141 21142 21143 21144 21145 21146 21147 21148 21149 21150 21151 21152 21153 21154 21155 21156 21157 21158 21159 21160 21161 21162 21163 21164 21165 21166 21167 21168 21169 21170 21171 21172 21173 21174 21175 21176 21177 21178 21179 21180 21181 21182 21183 21184 21185 21186 21187 21188 21189 21190 21191 21192 21193 21194 21195 21196 21197 21198 21199 21200 21201 21202 21203 21204 21205 21206 21207 21208 21209 21210 21211 21212 21213 21214 21215 21216 21217 21218 21219 21220 21221 21222 21223 21224 21225 21226 21227 21228 21229 21230 21231 21232 21233 21234 21235 21236 21237 21238 21239 21240 21241 21242 21243 21244 21245 21246 21247 21248 21249 21250 21251 21252 21253 21254 21255 21256 21257 21258 21259 21260 21261 21262 21263 21264 21265 21266 21267 21268 21269 21270 21271 21272 21273 21274 21275 21276 21277 21278 21279 21280 21281 21282 21283 21284 21285 21286 21287 21288 21289 21290 21291 21292 21293 21294 21295 21296 21297 21298 21299 21300 21301 21302 21303 21304 21305 21306 21307 21308 21309 21310 21311 21312 21313 21314 21315 21316 21317 21318 21319 21320 21321 21322 21323 21324 21325 21326 21327 21328 21329 21330 21331 21332 21333 21334 21335 21336 21337 21338 21339 21340 21341 21342 21343 21344 21345 21346 21347 21348 21349 21350 21351 21352 21353 21354 21355 21356 21357 21358 21359 21360 21361 21362 21363 21364 21365 21366 21367 21368 21369 21370 21371 21372 21373 21374 21375 21376 21377 21378 21379 21380 21381 21382 21383 21384 21385 21386 21387 21388 21389 21390 21391 21392 21393 21394 21395 21396 21397 21398 21399 21400 21401 21402 21403 21404 21405 21406 21407 21408 21409 21410 21411 21412 21413 21414 21415 21416 21417 21418 21419 21420 21421 21422 21423 21424 21425 21426 21427 21428 21429 21430 21431 21432 21433 21434 21435 21436 21437 21438 21439 21440 21441 21442 21443 21444 21445 21446 21447 21448 21449 21450 21451 21452 21453 21454 21455 21456 21457 21458 21459 21460 21461 21462 21463 21464 21465 21466 21467 21468 21469 21470 21471 21472 21473 21474 21475 21476 21477 21478 21479 21480 21481 21482 21483 21484 21485 21486 21487 21488 21489 21490 21491 21492 21493 21494 21495 21496 21497 21498 21499 21500 21501 21502 21503 21504 21505 21506 21507 21508 21509 21510 21511 21512 21513 21514 21515 21516 21517 21518 21519 21520 21521 21522 21523 21524 21525 21526 21527 21528 21529 21530 21531 21532 21533 21534 21535 21536 21537 21538 21539 21540 21541 21542 21543 21544 21545 21546 21547 21548 21549 21550 21551 21552 21553 21554 21555 21556 21557 21558 21559 21560 21561 21562 21563 21564 21565 21566 21567 21568 21569 21570 21571 21572 21573 21574 21575 21576 21577 21578 21579 21580 21581 21582 21583 21584 21585 21586 21587 21588 21589 21590 21591 21592 21593 21594 21595 21596 21597 21598 21599 21600 21601 21602 21603 21604 21605 21606 21607 21608 21609 21610 21611 21612 21613 21614 21615 21616 21617 21618 21619 21620 21621 21622 21623 21624 21625 21626 21627 21628 21629 21630 21631 21632 21633 21634 21635 21636 21637 21638 21639 21640 21641 21642 21643 21644 21645 21646 21647 21648 21649 21650 21651 21652 21653 21654 21655 21656 21657 21658 21659 21660 21661 21662 21663 21664 21665 21666 21667 21668 21669 21670 21671 21672 21673 21674 21675 21676 21677 21678 21679 21680 21681 21682 21683 21684 21685 21686 21687 21688 21689 21690 21691 21692 21693 21694 21695 21696 21697 21698 21699 21700 21701 21702 21703 21704 21705 21706 21707 21708 21709 21710 21711 21712 21713 21714 21715 21716 21717 21718 21719 21720 21721 21722 21723 21724 21725 21726 21727 21728 21729 21730 21731 21732 21733 21734 21735 21736 21737 21738 21739 21740 21741 21742 21743 21744 21745 21746 21747 21748 21749 21750 21751 21752 21753 21754 21755 21756 21757 21758 21759 21760 21761 21762 21763 21764 21765 21766 21767 21768 21769 21770 21771 21772 21773 21774 21775 21776 21777 21778 21779 21780 21781 21782 21783 21784 21785 21786 21787 21788 21789 21790 21791 21792 21793 21794 21795 21796 21797 21798 21799 21800 21801 21802 21803 21804 21805 21806 21807 21808 21809 21810 21811 21812 21813 21814 21815 21816 21817 21818 21819 21820 21821 21822 21823 21824 21825 21826 21827 21828 21829 21830 21831 21832 21833 21834 21835 21836 21837 21838 21839 21840 21841 21842 21843 21844 21845 21846 21847 21848 21849 21850 21851 21852 21853 21854 21855 21856 21857 21858 21859 21860 21861 21862 21863 21864 21865 21866 21867 21868 21869 21870 21871 21872 21873 21874 21875 21876 21877 21878 21879 21880 21881 21882 21883 21884 21885 21886 21887 21888 21889 21890 21891 21892 21893 21894 21895 21896 21897 21898 21899 21900 21901 21902 21903 21904 21905 21906 21907 21908 21909 21910 21911 21912 21913 21914 21915 21916 21917 21918 21919 21920 21921 21922 21923 21924 21925 21926 21927 21928 21929 21930 21931 21932 21933 21934 21935 21936 21937 21938 21939 21940 21941 21942 21943 21944 21945 21946 21947 21948 21949 21950 21951 21952 21953 21954 21955 21956 21957 21958 21959 21960 21961 21962 21963 21964 21965 21966 21967 21968 21969 21970 21971 21972 21973 21974 21975 21976 21977 21978 21979 21980 21981 21982 21983 21984 21985 21986 21987 21988 21989 21990 21991 21992 21993 21994 21995 21996 21997 21998 21999 22000 22001 22002 22003 22004 22005 22006 22007 22008 22009 22010 22011 22012 22013 22014 22015 22016 22017 22018 22019 22020 22021 22022 22023 22024 22025 22026 22027 22028 22029 22030 22031 22032 22033 22034 22035 22036 22037 22038 22039 22040 22041 22042 22043 22044 22045 22046 22047 22048 22049 22050 22051 22052 22053 22054 22055 22056 22057 22058 22059 22060 22061 22062 22063 22064 22065 22066 22067 22068 22069 22070 22071 22072 22073 22074 22075 22076 22077 22078 22079 22080 22081 22082 22083 22084 22085 22086 22087 22088 22089 22090 22091 22092 22093 22094 22095 22096 22097 22098 22099 22100 22101 22102 22103 22104 22105 22106 22107 22108 22109 22110 22111 22112 22113 22114 22115 22116 22117 22118 22119 22120 22121 22122 22123 22124 22125 22126 22127 22128 22129 22130 22131 22132 22133 22134 22135 22136 22137 22138 22139 22140 22141 22142 22143 22144 22145 22146 22147 22148 22149 22150 22151 22152 22153 22154 22155 22156 22157 22158 22159 22160 22161 22162 22163 22164 22165 22166 22167 22168 22169 22170 22171 22172 22173 22174 22175 22176 22177 22178 22179 22180 22181 22182 22183 22184 22185 22186 22187 22188 22189 22190 22191 22192 22193 22194 22195 22196 22197 22198 22199 22200 22201 22202 22203 22204 22205 22206 22207 22208 22209 22210 22211 22212 22213 22214 22215 22216 22217 22218 22219 22220 22221 22222 22223 22224 22225 22226 22227 22228 22229 22230 22231 22232 22233 22234 22235 22236 22237 22238 22239 22240 22241 22242 22243 22244 22245 22246 22247 22248 22249 22250 22251 22252 22253 22254 22255 22256 22257 22258 22259 22260 22261 22262 22263 22264 22265 22266 22267 22268 22269 22270 22271 22272 22273 22274 22275 22276 22277 22278 22279 22280 22281 22282 22283 22284 22285 22286 22287 22288 22289 22290 22291 22292 22293 22294 22295 22296 22297 22298 22299 22300 22301 22302 22303 22304 22305 22306 22307 22308 22309 22310 22311 22312 22313 22314 22315 22316 22317 22318 22319 22320 22321 22322 22323 22324 22325 22326 22327 22328 22329 22330 22331 22332 22333 22334 22335 22336 22337 22338 22339 22340 22341 22342 22343 22344 22345 22346 22347 22348 22349 22350 22351 22352 22353 22354 22355 22356 22357 22358 22359 22360 22361 22362 22363 22364 22365 22366 22367 22368 22369 22370 22371 22372 22373 22374 22375 22376 22377 22378 22379 22380 22381 22382 22383 22384 22385 22386 22387 22388 22389 22390 22391 22392 22393 22394 22395 22396 22397 22398 22399 22400 22401 22402 22403 22404 22405 22406 22407 22408 22409 22410 22411 22412 22413 22414 22415 22416 22417 22418 22419 22420 22421 22422 22423 22424 22425 22426 22427 22428 22429 22430 22431 22432 22433 22434 22435 22436 22437 22438 22439 22440 22441 22442 22443 22444 22445 22446 22447 22448 22449 22450 22451 22452 22453 22454 22455 22456 22457 22458 22459 22460 22461 22462 22463 22464 22465 22466 22467 22468 22469 22470 22471 22472 22473 22474 22475 22476 22477 22478 22479 22480 22481 22482 22483 22484 22485 22486 22487 22488 22489 22490 22491 22492 22493 22494 22495 22496 22497 22498 22499 22500 22501 22502 22503 22504 22505 22506 22507 22508 22509 22510 22511 22512 22513 22514 22515 22516 22517 22518 22519 22520 22521 22522 22523 22524 22525 22526 22527 22528 22529 22530 22531 22532 22533 22534 22535 22536 22537 22538 22539 22540 22541 22542 22543 22544 22545 22546 22547 22548 22549 22550 22551 22552 22553 22554 22555 22556 22557 22558 22559 22560 22561 22562 22563 22564 22565 22566 22567 22568 22569 22570 22571 22572 22573 22574 22575 22576 22577 22578 22579 22580 22581 22582 22583 22584 22585 22586 22587 22588 22589 22590 22591 22592 22593 22594 22595 22596 22597 22598 22599 22600 22601 22602 22603 22604 22605 22606 22607 22608 22609 22610 22611 22612 22613 22614 22615 22616 22617 22618 22619 22620 22621 22622 22623 22624 22625 22626 22627 22628 22629 22630 22631 22632 22633 22634 22635 22636 22637 22638 22639 22640 22641 22642 22643 22644 22645 22646 22647 22648 22649 22650 22651 22652 22653 22654 22655 22656 22657 22658 22659 22660 22661 22662 22663 22664 22665 22666 22667 22668 22669 22670 22671 22672 22673 22674 22675 22676 22677 22678 22679 22680 22681 22682 22683 22684 22685 22686 22687 22688 22689 22690 22691 22692 22693 22694 22695 22696 22697 22698 22699 22700 22701 22702 22703 22704 22705 22706 22707 22708 22709 22710 22711 22712 22713 22714 22715 22716 22717 22718 22719 22720 22721 22722 22723 22724 22725 22726 22727 22728 22729 22730 22731 22732 22733 22734 22735 22736 22737 22738 22739 22740 22741 22742 22743 22744 22745 22746 22747 22748 22749 22750 22751 22752 22753 22754 22755 22756 22757 22758 22759 22760 22761 22762 22763 22764 22765 22766 22767 22768 22769 22770 22771 22772 22773 22774 22775 22776 22777 22778 22779 22780 22781 22782 22783 22784 22785 22786 22787 22788 22789 22790 22791 22792 22793 22794 22795 22796 22797 22798 22799 22800 22801 22802 22803 22804 22805 22806 22807 22808 22809 22810 22811 22812 22813 22814 22815 22816 22817 22818 22819 22820 22821 22822 22823 22824 22825 22826 22827 22828 22829 22830 22831 22832 22833 22834 22835 22836 22837 22838 22839 22840 22841 22842 22843 22844 22845 22846 22847 22848 22849 22850 22851 22852 22853 22854 22855 22856 22857 22858 22859 22860 22861 22862 22863 22864 22865 22866 22867 22868 22869 22870 22871 22872 22873 22874 22875 22876 22877 22878 22879 22880 22881 22882 22883 22884 22885 22886 22887 22888 22889 22890 22891 22892 22893 22894 22895 22896 22897 22898 22899 22900 22901 22902 22903 22904 22905 22906 22907 22908 22909 22910 22911 22912 22913 22914 22915 22916 22917 22918 22919 22920 22921 22922 22923 22924 22925 22926 22927 22928 22929 22930 22931 22932 22933 22934 22935 22936 22937 22938 22939 22940 22941 22942 22943 22944 22945 22946 22947 22948 22949 22950 22951 22952 22953 22954 22955 22956 22957 22958 22959 22960 22961 22962 22963 22964 22965 22966 22967 22968 22969 22970 22971 22972 22973 22974 22975 22976 22977 22978 22979 22980 22981 22982 22983 22984 22985 22986 22987 22988 22989 22990 22991 22992 22993 22994 22995 22996 22997 22998 22999 23000 23001 23002 23003 23004 23005 23006 23007 23008 23009 23010 23011 23012 23013 23014 23015 23016 23017 23018 23019 23020 23021 23022 23023 23024 23025 23026 23027 23028 23029 23030 23031 23032 23033 23034 23035 23036 23037 23038 23039 23040 23041 23042 23043 23044 23045 23046 23047 23048 23049 23050 23051 23052 23053 23054 23055 23056 23057 23058 23059 23060 23061 23062 23063 23064 23065 23066 23067 23068 23069 23070 23071 23072 23073 23074 23075 23076 23077 23078 23079 23080 23081 23082 23083 23084 23085 23086 23087 23088 23089 23090 23091 23092 23093 23094 23095 23096 23097 23098 23099 23100 23101 23102 23103 23104 23105 23106 23107 23108 23109 23110 23111 23112 23113 23114 23115 23116 23117 23118 23119 23120 23121 23122 23123 23124 23125 23126 23127 23128 23129 23130 23131 23132 23133 23134 23135 23136 23137 23138 23139 23140 23141 23142 23143 23144 23145 23146 23147 23148 23149 23150 23151 23152 23153 23154 23155 23156 23157 23158 23159 23160 23161 23162 23163 23164 23165 23166 23167 23168 23169 23170 23171 23172 23173 23174 23175 23176 23177 23178 23179 23180 23181 23182 23183 23184 23185 23186 23187 23188 23189 23190 23191 23192 23193 23194 23195 23196 23197 23198 23199 23200 23201 23202 23203 23204 23205 23206 23207 23208 23209 23210 23211 23212 23213 23214 23215 23216 23217 23218 23219 23220 23221 23222 23223 23224 23225 23226 23227 23228 23229 23230 23231 23232 23233 23234 23235 23236 23237 23238 23239 23240 23241 23242 23243 23244 23245 23246 23247 23248 23249 23250 23251 23252 23253 23254 23255 23256 23257 23258 23259 23260 23261 23262 23263 23264 23265 23266 23267 23268 23269 23270 23271 23272 23273 23274 23275 23276 23277 23278 23279 23280 23281 23282 23283 23284 23285 23286 23287 23288 23289 23290 23291 23292 23293 23294 23295 23296 23297 23298 23299 23300 23301 23302 23303 23304 23305 23306 23307 23308 23309 23310 23311 23312 23313 23314 23315 23316 23317 23318 23319 23320 23321 23322 23323 23324 23325 23326 23327 23328 23329 23330 23331 23332 23333 23334 23335 23336 23337 23338 23339 23340 23341 23342 23343 23344 23345 23346 23347 23348 23349 23350 23351 23352 23353 23354 23355 23356 23357 23358 23359 23360 23361 23362 23363 23364 23365 23366 23367 23368 23369 23370 23371 23372 23373 23374 23375 23376 23377 23378 23379 23380 23381 23382 23383 23384 23385 23386 23387 23388 23389 23390 23391 23392 23393 23394 23395 23396 23397 23398 23399 23400 23401 23402 23403 23404 23405 23406 23407 23408 23409 23410 23411 23412 23413 23414 23415 23416 23417 23418 23419 23420 23421 23422 23423 23424 23425 23426 23427 23428 23429 23430 23431 23432 23433 23434 23435 23436 23437 23438 23439 23440 23441 23442 23443 23444 23445 23446 23447 23448 23449 23450 23451 23452 23453 23454 23455 23456 23457 23458 23459 23460 23461 23462 23463 23464 23465 23466 23467 23468 23469 23470 23471 23472 23473 23474 23475 23476 23477 23478 23479 23480 23481 23482 23483 23484 23485 23486 23487 23488 23489 23490 23491 23492 23493 23494 23495 23496 23497 23498 23499 23500 23501 23502 23503 23504 23505 23506 23507 23508 23509 23510 23511 23512 23513 23514 23515 23516 23517 23518 23519 23520 23521 23522 23523 23524 23525 23526 23527 23528 23529 23530 23531 23532 23533 23534 23535 23536 23537 23538 23539 23540 23541 23542 23543 23544 23545 23546 23547 23548 23549 23550 23551 23552 23553 23554 23555 23556 23557 23558 23559 23560 23561 23562 23563 23564 23565 23566 23567 23568 23569 23570 23571 23572 23573 23574 23575 23576 23577 23578 23579 23580 23581 23582 23583 23584 23585 23586 23587 23588 23589 23590 23591 23592 23593 23594 23595 23596 23597 23598 23599 23600 23601 23602 23603 23604 23605 23606 23607 23608 23609 23610 23611 23612 23613 23614 23615 23616 23617 23618 23619 23620 23621 23622 23623 23624 23625 23626 23627 23628 23629 23630 23631 23632 23633 23634 23635 23636 23637 23638 23639 23640 23641 23642 23643 23644 23645 23646 23647 23648 23649 23650 23651 23652 23653 23654 23655 23656 23657 23658 23659 23660 23661 23662 23663 23664 23665 23666 23667 23668 23669 23670 23671 23672 23673 23674 23675 23676 23677 23678 23679 23680 23681 23682 23683 23684 23685 23686 23687 23688 23689 23690 23691 23692 23693 23694 23695 23696 23697 23698 23699 23700 23701 23702 23703 23704 23705 23706 23707 23708 23709 23710 23711 23712 23713 23714 23715 23716 23717 23718 23719 23720 23721 23722 23723 23724 23725 23726 23727 23728 23729 23730 23731 23732 23733 23734 23735 23736 23737 23738 23739 23740 23741 23742 23743 23744 23745 23746 23747 23748 23749 23750 23751 23752 23753 23754 23755 23756 23757 23758 23759 23760 23761 23762 23763 23764 23765 23766 23767 23768 23769 23770 23771 23772 23773 23774 23775 23776 23777 23778 23779 23780 23781 23782 23783 23784 23785 23786 23787 23788 23789 23790 23791 23792 23793 23794 23795 23796 23797 23798 23799 23800 23801 23802 23803 23804 23805 23806 23807 23808 23809 23810 23811 23812 23813 23814 23815 23816 23817 23818 23819 23820 23821 23822 23823 23824 23825 23826 23827 23828 23829 23830 23831 23832 23833 23834 23835 23836 23837 23838 23839 23840 23841 23842 23843 23844 23845 23846 23847 23848 23849 23850 23851 23852 23853 23854 23855 23856 23857 23858 23859 23860 23861 23862 23863 23864 23865 23866 23867 23868 23869 23870 23871 23872 23873 23874 23875 23876 23877 23878 23879 23880 23881 23882 23883 23884 23885 23886 23887 23888 23889 23890 23891 23892 23893 23894 23895 23896 23897 23898 23899 23900 23901 23902 23903 23904 23905 23906 23907 23908 23909 23910 23911 23912 23913 23914 23915 23916 23917 23918 23919 23920 23921 23922 23923 23924 23925 23926 23927 23928 23929 23930 23931 23932 23933 23934 23935 23936 23937 23938 23939 23940 23941 23942 23943 23944 23945 23946 23947 23948 23949 23950 23951 23952 23953 23954 23955 23956 23957 23958 23959 23960 23961 23962 23963 23964 23965 23966 23967 23968 23969 23970 23971 23972 23973 23974 23975 23976 23977 23978 23979 23980 23981 23982 23983 23984 23985 23986 23987 23988 23989 23990 23991 23992 23993 23994 23995 23996 23997 23998 23999 24000 24001 24002 24003 24004 24005 24006 24007 24008 24009 24010 24011 24012 24013 24014 24015 24016 24017 24018 24019 24020 24021 24022 24023 24024 24025 24026 24027 24028 24029 24030 24031 24032 24033 24034 24035 24036 24037 24038 24039 24040 24041 24042 24043 24044 24045 24046 24047 24048 24049 24050 24051 24052 24053 24054 24055 24056 24057 24058 24059 24060 24061 24062 24063 24064 24065 24066 24067 24068 24069 24070 24071 24072 24073 24074 24075 24076 24077 24078 24079 24080 24081 24082 24083 24084 24085 24086 24087 24088 24089 24090 24091 24092 24093 24094 24095 24096 24097 24098 24099 24100 24101 24102 24103 24104 24105 24106 24107 24108 24109 24110 24111 24112 24113 24114 24115 24116 24117 24118 24119 24120 24121 24122 24123 24124 24125 24126 24127 24128 24129 24130 24131 24132 24133 24134 24135 24136 24137 24138 24139 24140 24141 24142 24143 24144 24145 24146 24147 24148 24149 24150 24151 24152 24153 24154 24155 24156 24157 24158 24159 24160 24161 24162 24163 24164 24165 24166 24167 24168 24169 24170 24171 24172 24173 24174 24175 24176 24177 24178 24179 24180 24181 24182 24183 24184 24185 24186 24187 24188 24189 24190 24191 24192 24193 24194 24195 24196 24197 24198 24199 24200 24201 24202 24203 24204 24205 24206 24207 24208 24209 24210 24211 24212 24213 24214 24215 24216 24217 24218 24219 24220 24221 24222 24223 24224 24225 24226 24227 24228 24229 24230 24231 24232 24233 24234 24235 24236 24237 24238 24239 24240 24241 24242 24243 24244 24245 24246 24247 24248 24249 24250 24251 24252 24253 24254 24255 24256 24257 24258 24259 24260 24261 24262 24263 24264 24265 24266 24267 24268 24269 24270 24271 24272 24273 24274 24275 24276 24277 24278 24279 24280 24281 24282 24283 24284 24285 24286 24287 24288 24289 24290 24291 24292 24293 24294 24295 24296 24297 24298 24299 24300 24301 24302 24303 24304 24305 24306 24307 24308 24309 24310 24311 24312 24313 24314 24315 24316 24317 24318 24319 24320 24321 24322 24323 24324 24325 24326 24327 24328 24329 24330 24331 24332 24333 24334 24335 24336 24337 24338 24339 24340 24341 24342 24343 24344 24345 24346 24347 24348 24349 24350 24351 24352 24353 24354 24355 24356 24357 24358 24359 24360 24361 24362 24363 24364 24365 24366 24367 24368 24369 24370 24371 24372 24373 24374 24375 24376 24377 24378 24379 24380 24381 24382 24383 24384 24385 24386 24387 24388 24389 24390 24391 24392 24393 24394 24395 24396 24397 24398 24399 24400 24401 24402 24403 24404 24405 24406 24407 24408 24409 24410 24411 24412 24413 24414 24415 24416 24417 24418 24419 24420 24421 24422 24423 24424 24425 24426 24427 24428 24429 24430 24431 24432 24433 24434 24435 24436 24437 24438 24439 24440 24441 24442 24443 24444 24445 24446 24447 24448 24449 24450 24451 24452 24453 24454 24455 24456 24457 24458 24459 24460 24461 24462 24463 24464 24465 24466 24467 24468 24469 24470 24471 24472 24473 24474 24475 24476 24477 24478 24479 24480 24481 24482 24483 24484 24485 24486 24487 24488 24489 24490 24491 24492 24493 24494 24495 24496 24497 24498 24499 24500 24501 24502 24503 24504 24505 24506 24507 24508 24509 24510 24511 24512 24513 24514 24515 24516 24517 24518 24519 24520 24521 24522 24523 24524 24525 24526 24527 24528 24529 24530 24531 24532 24533 24534 24535 24536 24537 24538 24539 24540 24541 24542 24543 24544 24545 24546 24547 24548 24549 24550 24551 24552 24553 24554 24555 24556 24557 24558 24559 24560 24561 24562 24563 24564 24565 24566 24567 24568 24569 24570 24571 24572 24573 24574 24575 24576 24577 24578 24579 24580 24581 24582 24583 24584 24585 24586 24587 24588 24589 24590 24591 24592 24593 24594 24595 24596 24597 24598 24599 24600 24601 24602 24603 24604 24605 24606 24607 24608 24609 24610 24611 24612 24613 24614 24615 24616 24617 24618 24619 24620 24621 24622 24623 24624 24625 24626 24627 24628 24629 24630 24631 24632 24633 24634 24635 24636 24637 24638 24639 24640 24641 24642 24643 24644 24645 24646 24647 24648 24649 24650 24651 24652 24653 24654 24655 24656 24657 24658 24659 24660 24661 24662 24663 24664 24665 24666 24667 24668 24669 24670 24671 24672 24673 24674 24675 24676 24677 24678 24679 24680 24681 24682 24683 24684 24685 24686 24687 24688 24689 24690 24691 24692 24693 24694 24695 24696 24697 24698 24699 24700 24701 24702 24703 24704 24705 24706 24707 24708 24709 24710 24711 24712 24713 24714 24715 24716 24717 24718 24719 24720 24721 24722 24723 24724 24725 24726 24727 24728 24729 24730 24731 24732 24733 24734 24735 24736 24737 24738 24739 24740 24741 24742 24743 24744 24745 24746 24747 24748 24749 24750 24751 24752 24753 24754 24755 24756 24757 24758 24759 24760 24761 24762 24763 24764 24765 24766 24767 24768 24769 24770 24771 24772 24773 24774 24775 24776 24777 24778 24779 24780 24781 24782 24783 24784 24785 24786 24787 24788 24789 24790 24791 24792 24793 24794 24795 24796 24797 24798 24799 24800 24801 24802 24803 24804 24805 24806 24807 24808 24809 24810 24811 24812 24813 24814 24815 24816 24817 24818 24819 24820 24821 24822 24823 24824 24825 24826 24827 24828 24829 24830 24831 24832 24833 24834 24835 24836 24837 24838 24839 24840 24841 24842 24843 24844 24845 24846 24847 24848 24849 24850 24851 24852 24853 24854 24855 24856 24857 24858 24859 24860 24861 24862 24863 24864 24865 24866 24867 24868 24869 24870 24871 24872 24873 24874 24875 24876 24877 24878 24879 24880 24881 24882 24883 24884 24885 24886 24887 24888 24889 24890 24891 24892 24893 24894 24895 24896 24897 24898 24899 24900 24901 24902 24903 24904 24905 24906 24907 24908 24909 24910 24911 24912 24913 24914 24915 24916 24917 24918 24919 24920 24921 24922 24923 24924 24925 24926 24927 24928 24929 24930 24931 24932 24933 24934 24935 24936 24937 24938 24939 24940 24941 24942 24943 24944 24945 24946 24947 24948 24949 24950 24951 24952 24953 24954 24955 24956 24957 24958 24959 24960 24961 24962 24963 24964 24965 24966 24967 24968 24969 24970 24971 24972 24973 24974 24975 24976 24977 24978 24979 24980 24981 24982 24983 24984 24985 24986 24987 24988 24989 24990 24991 24992 24993 24994 24995 24996 24997 24998 24999 25000 25001 25002 25003 25004 25005 25006 25007 25008 25009 25010 25011 25012 25013 25014 25015 25016 25017 25018 25019 25020 25021 25022 25023 25024 25025 25026 25027 25028 25029 25030 25031 25032 25033 25034 25035 25036 25037 25038 25039 25040 25041 25042 25043 25044 25045 25046 25047 25048 25049 25050 25051 25052 25053 25054 25055 25056 25057 25058 25059 25060 25061 25062 25063 25064 25065 25066 25067 25068 25069 25070 25071 25072 25073 25074 25075 25076 25077 25078 25079 25080 25081 25082 25083 25084 25085 25086 25087 25088 25089 25090 25091 25092 25093 25094 25095 25096 25097 25098 25099 25100 25101 25102 25103 25104 25105 25106 25107 25108 25109 25110 25111 25112 25113 25114 25115 25116 25117 25118 25119 25120 25121 25122 25123 25124 25125 25126 25127 25128 25129 25130 25131 25132 25133 25134 25135 25136 25137 25138 25139 25140 25141 25142 25143 25144 25145 25146 25147 25148 25149 25150 25151 25152 25153 25154 25155 25156 25157 25158 25159 25160 25161 25162 25163 25164 25165 25166 25167 25168 25169 25170 25171 25172 25173 25174 25175 25176 25177 25178 25179 25180 25181 25182 25183 25184 25185 25186 25187 25188 25189 25190 25191 25192 25193 25194 25195 25196 25197 25198 25199 25200 25201 25202 25203 25204 25205 25206 25207 25208 25209 25210 25211 25212 25213 25214 25215 25216 25217 25218 25219 25220 25221 25222 25223 25224 25225 25226 25227 25228 25229 25230 25231 25232 25233 25234 25235 25236 25237 25238 25239 25240 25241 25242 25243 25244 25245 25246 25247 25248 25249 25250 25251 25252 25253 25254 25255 25256 25257 25258 25259 25260 25261 25262 25263 25264 25265 25266 25267 25268 25269 25270 25271 25272 25273 25274 25275 25276 25277 25278 25279 25280 25281 25282 25283 25284 25285 25286 25287 25288 25289 25290 25291 25292 25293 25294 25295 25296 25297 25298 25299 25300 25301 25302 25303 25304 25305 25306 25307 25308 25309 25310 25311 25312 25313 25314 25315 25316 25317 25318 25319 25320 25321 25322 25323 25324 25325 25326 25327 25328 25329 25330 25331 25332 25333 25334 25335 25336 25337 25338 25339 25340 25341 25342 25343 25344 25345 25346 25347 25348 25349 25350 25351 25352 25353 25354 25355 25356 25357 25358 25359 25360 25361 25362 25363 25364 25365 25366 25367 25368 25369 25370 25371 25372 25373 25374 25375 25376 25377 25378 25379 25380 25381 25382 25383 25384 25385 25386 25387 25388 25389 25390 25391 25392 25393 25394 25395 25396 25397 25398 25399 25400 25401 25402 25403 25404 25405 25406 25407 25408 25409 25410 25411 25412 25413 25414 25415 25416 25417 25418 25419 25420 25421 25422 25423 25424 25425 25426 25427 25428 25429 25430 25431 25432 25433 25434 25435 25436 25437 25438 25439 25440 25441 25442 25443 25444 25445 25446 25447 25448 25449 25450 25451 25452 25453 25454 25455 25456 25457 25458 25459 25460 25461 25462 25463 25464 25465 25466 25467 25468 25469 25470 25471 25472 25473 25474 25475 25476 25477 25478 25479 25480 25481 25482 25483 25484 25485 25486 25487 25488 25489 25490 25491 25492 25493 25494 25495 25496 25497 25498 25499 25500 25501 25502 25503 25504 25505 25506 25507 25508 25509 25510 25511 25512 25513 25514 25515 25516 25517 25518 25519 25520 25521 25522 25523 25524 25525 25526 25527 25528 25529 25530 25531 25532 25533 25534 25535 25536 25537 25538 25539 25540 25541 25542 25543 25544 25545 25546 25547 25548 25549 25550 25551 25552 25553 25554 25555 25556 25557 25558 25559 25560 25561 25562 25563 25564 25565 25566 25567 25568 25569 25570 25571 25572 25573 25574 25575 25576 25577 25578 25579 25580 25581 25582 25583 25584 25585 25586 25587 25588 25589 25590 25591 25592 25593 25594 25595 25596 25597 25598 25599 25600 25601 25602 25603 25604 25605 25606 25607 25608 25609 25610 25611 25612 25613 25614 25615 25616 25617 25618 25619 25620 25621 25622 25623 25624 25625 25626 25627 25628 25629 25630 25631 25632 25633 25634 25635 25636 25637 25638 25639 25640 25641 25642 25643 25644 25645 25646 25647 25648 25649 25650 25651 25652 25653 25654 25655 25656 25657 25658 25659 25660 25661 25662 25663 25664 25665 25666 25667 25668 25669 25670 25671 25672 25673 25674 25675 25676 25677 25678 25679 25680 25681 25682 25683 25684 25685 25686 25687 25688 25689 25690 25691 25692 25693 25694 25695 25696 25697 25698 25699 25700 25701 25702 25703 25704 25705 25706 25707 25708 25709 25710 25711 25712 25713 25714 25715 25716 25717 25718 25719 25720 25721 25722 25723 25724 25725 25726 25727 25728 25729 25730 25731 25732 25733 25734 25735 25736 25737 25738 25739 25740 25741 25742 25743 25744 25745 25746 25747 25748 25749 25750 25751 25752 25753 25754 25755 25756 25757 25758 25759 25760 25761 25762 25763 25764 25765 25766 25767 25768 25769 25770 25771 25772 25773 25774 25775 25776 25777 25778 25779 25780 25781 25782 25783 25784 25785 25786 25787 25788 25789 25790 25791 25792 25793 25794 25795 25796 25797 25798 25799 25800 25801 25802 25803 25804 25805 25806 25807 25808 25809 25810 25811 25812 25813 25814
|
2025-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* ChangeLog:
* Version:
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Bugfix 1.31.1 release.
2025-02-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/weak.m: Comment out unnecessary code which does
not work on s390x machines (and broke weak references on them).
2025-01-18 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/ReleaseNotes.gsdoc: fix bad line break markup
* config/config.ffi.c: add some diagnostic logging
2025-01-14 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Makefile.postamble (after-install):
Don't install CoreFoundation header when installing base additions
on macOS.
2025-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSURL+GNUstepBase.h:
* Source/GSHTTPURLHandle.m:
* Source/NSURL.m:
* Source/NSURLProtocol.m:
* Tests/base/NSURL/basic.m:
Fix -pathWithEscapes to return the full path as documented.
Change NSURLHandle/NSURLConnection to use this method (rather than
-fullPath) so that %2f escape sequences are preserved in the path
in the outgoing request (and also when used as a cache key).
2025-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* ChangeLog: Update for new release
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.31.0 release.
2025-02-04 Hugo Melder <hugo@algoriddim.com>
* Source/NSKVOSupport.m:
* Tests/base/NSKVOSupport/legacy.m:
Implements the setKeys:triggerChangeNotificationsForDependentKey:
class method. Please do not use it. It is fundamentally broken, and
requires the object's meta class to hold additional state.
Keys from this class method are the last resort when retrieving
dependencies via keyPathsForValuesAffectingValueForKey:.
This aligns with the implementation in Foundation.
2025-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSRegularExpression.h:
* Source/NSRegularExpression.m:
* Tests/base/NSRegularExpression/bigSource.txt:
* Tests/base/NSRegularExpression/callbacks.m:
Restructure to allow enumeration of matches when using the classic
compiler/runtime (ie avoiding blocks) using a new primitive method
specifying a callback function and context. Also fix callback bug
spotted by git user sensetalkdoug and add testcases based on his
pull request (#476) - thanks.
2025-01-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueMutableArray.m: Fix mutable array support so that
we can remove items from multiple indices at the same time and avoid
problems where the array being accessed is set by copy rendering our
cached infromation invalid (issue #480).
* Tests/base/KVC/remove.m: adapted test by Rupert Daniel for removal
of items from mutable array.
2024-12-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Add GNUSTEP_BUILTIN_TZ environment variable to
force the use of the IANA standard based time zone files we provide
in the distribution rather than the system supplied time zone data.
This allows us to standardise test behavior across different systems.
* Tests/base/NSCalendarDate/TestInfo: set GNUSTEP_BUILTIN_TZ=1
* Tests/base/NSCalendarDate/test02.m: Change from using the MET zone
to using CET for tests since the IANA data has changed to make MET
behave aas CET.
* Tests/base/NSTimeZone/TestInfo: set GNUSTEP_BUILTIN_TZ=1
2024-12-27 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h:
* Headers/GNUstepBase/GSObjCRuntime.h:
* Source/GSPrivate.h:
* Source/NSConcreteHashTable.m:
* Source/NSConcretePointerFunctions.h:
* Source/NSMessagePort.m:
* Source/NSNotificationCenter.m:
* Source/NSObject.m:
* Source/NSSocketPort.m:
* Source/ObjectiveC2/GNUmakefile:
* Source/ObjectiveC2/README:
* Source/ObjectiveC2/weak.m:
* Tests/base/Functions/runtime.m:
* Tests/base/NSHashTable/weakObjects.m:
* Tests/base/NSMapTable/weakObjects.m:
* Tests/base/NSNotification/general.m:
* Tests/base/NSPointerArray/weakObjects.m:
Implement weak objects API support for classic/gnu runtime.
Use it to implement weak reference support in NSPointerFunctions
(for NSMapTable, NSHashTable, NSP{ointerArray) and to implement
safe observer support for NSNotificationCenter (if an observer is
deallocated then it is removed from the notification center the
next time a notification woudl be posted to it).
2024-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: fix leaks due to retain loops.
* Source/Additions/NSObject+GNUstepBase.m: fix issues in new
-trackOwnership mechanism to log tracked instances at exist and to
handle cases where we track instances of a class and instances of
its subclasses.
2024-11-26 Matvii Jarosh <matviijarosh@gmail.com>
* NSByteOrder.h: fix NSSwappedFloat and NSSwappedDouble
* MISSING:
2024-11-25 Matvii Jarosh <matviijarosh@gmail.com>
* NSInvocation.h: add enum _NSObjCValueType and
typedef structNSObjCValue. There are no functions not implemented
in NSInvocation.h left.
* MISSING:
2024-11-21 Matvii Jarosh <matviijarosh@gmail.com>
* NSValue: add valueWithEdgeInsets and edgeInsetsValue.
* typeEncodingHelper.h: add NSINSETS_ENCODING_PREFIX and
IS_NSINSETS_ENCODING and update comment.
* type_encoding.m: add test NSINSETS_ENCODING_PREFIX.
* GSConcreteValueTamplate.m: add GSEdgeInsetsValue.
* GSConcreteValue.m: add TYPE_ORDER 6.
2024-11-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m: fix leak of data object when establishing a
new connection.
2024-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSIndex: (-makeRefs:) process child nodes in loop rather
than recursively ... reduces the depth of recursion to the depth of
nesting children rather than the number of children, avoiding stack
overflow for large projects.
* Source/GSHTTPURLHandle.m: Fix leak of connection description strings
when reconnecting an existing handle.
2024-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* NSRegularExpression: avoid leaks in ICU code by calling more
primitive methods.
* NSAutoreleasePool: fix leaks with libobjc2 ARC methods when a pool
is in a context that we leave due to an exception.
* NSObject: add -trackOwnership to log the retain/release/dealloc of
in individual instance.
2024-11-19 Richard Frith-Macdonald <rfm@gnu.org>
* GSMime: fixed buffer overrun in rare circumstances when decoding
an encoded word in a header.
fix to cope with dealloc of uninitialised instances of GSMimeSMTPClient
* GSTLS: clean up used resources on exit
* NSCharacterSet: Fix retain count of cached character sets
* NSDateFormatter: fix to cope with dealloc of uninitialised instances
* NSFileManager: fix leak of enumerator when enumerating files at
a directory specified by URL
* NSHTTPCookie: fix buffer overrun parsing cookie header fields
* NSInvocation: fix leak of type information memory when passing
general struct argument/return values
* NSNumberFormatter: fix to cope with dealloc of uninitialised instances
* NSOperation: fix to cope with dealloc of uninitialised instances
* NSPredicate: fix leaks of keypath and set expressions
also fix leak of objects if exception occurs while scanning predicate
string
* NSPropertyList: fix leaks if exception occurs while parsing
* NSRegularExpression: fix leaks if exception occurs while parsing
* NSString: fix lead in dataUsingEncoding:allowLossyConversion:
* NSTimeZone: fix retain cycle in absolute time zones
fix leak of ICU calendar in -localizedName:locale:
* NSURL: fix leaks when initialising with unparseable string etc
* Testcases: fix many leaks so that most tests run to completion
without any leaked memory.
2024-11-19 Matvii Jarosh <matviijarosh@gmail.com>
* Header/Foundation/NSGeometry.h: fixed NSRectEdge and
NSAlignmentOptions enums.
2024-11-18 Matvii Jarosh <matviijarosh@gmail.com>
* Source/NSGeometry.m: added NSIntegralRectWithOptions function.
* Header/Foundation/NSGeometry.h: Fixed incompatible NSRectEdge,
added enum NSAlignmentOptions, added NSRectFromCGRect,
NSRectToCGRect, NSPointFromCGPoint, NSPointToCGPoint,
NSSizeFromCGSize and NSSizeToCGSizea functions.
* MISSING:
2024-11-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Restructure a bit to expose resource lookup
and info dictionary as GSPrivate... functions without needing full
NSBundle initialisation.
* Source/GSPrivate.h: declare new functions.
* Source/NSUserDefaults.m: use bundle identifier rather than process
name where it is available.
WARNING ... this brings behavior in line with MacOS but it means that
existing defaults databases will not be loaded. If your app is called
MyApp and its bundle identifier (stored as the CFBundleIdentifier
value in the Info-gnustep.plist or Info.plist file in your app) is
mydomain.MyApp then you can copy the information by saving the old
information to a file, editing the domain name in the file, and then
importing from that file using the 'defaults' command.
Or use sed to do the editing in a pipeline like this:
defaults read MyApp |\
sed -e 's/^MyApp /mydomain.MyApp/' |\
defaults write
Then remove the old information with 'defaults delete MyApp'.
2024-11-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationCenter.m:
Fix last update for case where we have a non-block notification.
2024-11-12 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h:
Change (and document) the 'clear' macros for removing keys and values
from map tables so they can be used properly. Change 'write' macros
to be 'store' macros, reflecting a roll of storing vvalues into the
map. Standardise macro names referring to values to end in 'VALUE'.
Tidy up and improve comments.
* Source/NSConcreteHashTable.m:
Replace macros with retain/release macros which do nothing and
store/clear macros which invoke the appropriate functions.
* Source/NSConcreteMapTable.m:
Replace macros with retain/release macros which do nothing and
store/clear macros which invoke the appropriate functions.
* Source/NSConcretePointerFunctions.h:
In pointerFunctionsReplace() fix bug setting the new value to zero
thather than the value supplied.
* Source/NSConcretePointerFunctions.m:
Set correct relinquish function for
NSPointerFunctionsObjectPointerPersonality
* Tests/base/NSHashTable/general.m:
Add tests for NSHashTableObjectPointerPersonality and
NSObjectHashCallBacks
* Tests/base/NSMapTable/general.m:
Add tests for NSMapTableObjectPointerPersonality and
NSObjectMapKeyCallBacks/NSObjectMapValueCallBacks
2024-11-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationCenter.m:
* Tests/base/NSNotification/general.m:
Rewrite mechanism for handling the behavior of observations using
blocks. Add simple testcase checking reference counts of observer.
2024-11-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileHandle.h:
* Source/GSFileHandle.m:
* Source/NSFileHandle.m:
Add OSX 10.15 file offset methods (issue 325, pull 446 and more)
2024-11-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Fix case where positive result of asking
handler whether to proceed was ignored.
2024-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDate.m: Fix returing receiver when earlier/later argument
is equal to the receiver. Various formatting fixes.
2024-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUndoManager.m: set zero/nil return value when forwarding
invocation ... in case calling code tries to use the result.
2024-10-28 Hugo Melder <hugo@algoriddim.com>
* Source/NSString.m:
-commonPrefixWithString:options: returns nil when string supplied as
first argument is nil. On macOS, the empty string is returned instead.
Align implementation with macOS.
2024-10-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Create an NSError object when we fail to
copy because the destination item already exists.
2024-10-10: Hugo Melder <hugo@algoriddim.com>
* Source/NSDate.m:
* Source/NSDatePrivate.h:
NSDate is now a small object in slot 6, when configuring GNUstep with the
clang/libobjc2 toolchain. This is done by compressing the binary64 fp
holding the seconds since reference date (because someone at Apple
thought it would be a good idea to represent a time interval as a fp).
Note that this assumes that IEEE 754 is used.
* Source/NSCalendarDate.m:
Remove access to the NSDate private concrete Class
and implement -timeIntervalSinceReferenceDate instead.
Previously, all methods of the concrete date class were
added to NSCalendarDate via GSObjCAddClassBehavior.
2024-23-09: Hugo Melder <hugo@algoriddim.com>
* Headers/Foundation/NSThread.h:
* Source/NSString.m:
* Source/NSThread.m:
Cache ICU collator in thread-local storage to avoid
expensive construction when comparing strings.
2024-08-13: Hugo Melder <hugo@algoriddim.com>
* Source/NSOperation.m:
* Headers/Foundation/NSOperation.h:
Give NSOperationQueue worker threads a proper thread
name for easy identification.
2024-08-12 Hugo Melder <hugo@algoriddim.com>
* Source/NSThread.m:
Fix threadPriority and setThreadPriority: on Android.
2024-08-08 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m:
Add protocols to the graphing.
2024-08-07 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m:
* Tools/GNUmakefile:
* config.mak.in:
* configure.ac:
* configure:
Preliminary changes add inheritance diagrams to class documentation.
Uses the graphviz 'dot' tool if it is available at configure time.
Just draws class/superclass relationship for now.
Should add protocols and prettify boxes later.
2024-07-25 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSMapTable.h:
* Headers/Foundation/NSPointerArray.h:
* Headers/Foundation/NSPointerFunctions.h:
* Headers/Foundation/NSZone.h:
* Headers/GNUstepBase/config.h.in:
* Source/GSSocketStream.m:
* Source/GSStream.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSConcretePointerFunctions.h:
* Source/NSConcretePointerFunctions.m:
* Source/NSConnection.m:
* Source/NSHashTable.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSKeyValueObserving.m:
* Source/NSMapTable.m:
* Source/NSPointerArray.m:
* Source/NSPort.m:
* Source/NSZone.m:
* Tests/base/NSHashTable/create.m:
* Tests/base/NSHashTable/weakObjects.m:
* Tests/base/NSIndexSet/enumerateRanges.m:
* Tests/base/NSMapTable/create.m:
* Tests/base/NSMapTable/weakObjects.m:
* Tests/base/NSPointerArray/weakObjects.m:
* Tests/base/NSPointerFunctions/basic.m:
* Tests/base/NSPointerFunctions/general.m:
* Tests/base/NSPointerFunctions/TestInfo:
General fixups for pointer functions, removing obsolete (non-working)
GC related internal code. There is probably still a little of that old
stuff lurking in the internals which should be removed when found, but
the vast majority is cleaned up.
2024-07-15 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSPointerFunctions.h: deprecate GC methods.
* Source/NSConcreteHashTable.m: add brackets around test.
* Source/NSConcreteMapTable.m: correct test for weak value and key.
* Source/NSConcretePointerFunctions.m: Obsolete GC code changes ...
Raise exception for setter of GC write barriers.
Log error for n getter of GC write barriers.
2024-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Implement regular expression search in replace
methods (github issue 424) by using -rangeOfString:options:range: in
place of obsolete optimisation function.
2024-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* config/codeset.m4:
* config/objc-con-autoload.m4:
* config/pathtls.m4:
* config/pathxml.m4:
* config/procfs.m4:
* configure.ac:
Changes to avoid the use of most obsolete/deprecated autoconf macros.
Change usage of AC_CONFIG_AUX_DIR() to deal with altered behavior in
autoconf-2.71 (shipped on many new systems) where the value we set
in CURRENT_GNUSTEP_MAKEFILES is not available. This should now use
the GNUSTEP_MAKEFILES environment variable or get the output of the
gnustep-config script directly.
2024-07-02 Hugo Melder <hugo@algoriddim.com>
* Source/GSEasyHandle.h:
* Source/GSEasyHandle.m:
* Source/GSHTTPURLProtocol.h:
* Source/GSHTTPURLProtocol.m:
* Source/GSMultiHandle.h:
* Source/GSMultiHandle.m:
* Source/GSNativeProtocol.h:
* Source/GSNativeProtocol.m:
* Source/GSTaskRegistry.h:
* Source/GSTaskRegistry.m:
* Source/GSTimeoutSource.h:
* Source/GSTimeoutSource.m:
* Source/GSTransferState.h:
* Source/GSTransferState.m:
* Source/GSURLPrivate.h:
* Source/GSURLSessionTaskBody.h:
* Source/GSURLSessionTaskBody.m:
* Source/GSURLSessionTaskBodySource.h:
* Source/GSURLSessionTaskBodySource.m:
Deleted old NSURLSession implementation.
* Headers/Foundation/NSURLSession.h:
* Source/NSURLSessionPrivate.h:
* Source/NSURLSession.m:
* Source/NSURLSessionConfiguration.m:
* Source/NSURLSessionTaskPrivate.h:
* Source/NSURLSessionTask.m:
* Source/NSURLSessionConfiguration.m:
The new NSURLSession implementation was reduced to just two main classes:
NSURLSession and NSURLSessionTask. URLSession manages a libcurl multi
handle and the required plumming via libdispatch. Timeout and socket actions
are handled in the libdispatch workqueue. Delegate messages and completion
handlers are submitted to a seperate serial NSOperationQueue.
* Headers/Foundation/NSUserDefaults.h:
* Source/externs.m:
Added GSCACertificateFilePath for custom CA certificate file configuration.
* Source/NSHTTPCookie.m:
Reworked cookie expiration date parsing.
* Source/NSOperation.m:
Clear all blocks in _executionBlocks after completion.
* Headers/Foundation/NSURLRequest.h:
* Source/NSURLRequest.m:
Implemented -[NSURLRequest assumesHTTP3Capable] and -[NSURLRequest
setAssumesHTTP3Capable:] respectively. The internal case-insensitive header
dictionary is now exposed for private usage with -[NSURLRequest
_insensitiveHeaders].
2024-06-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistantObject.m: Use standard method name conventions
* Tools/AGSOutput.m:
* Tools/AGSParser.m:
* Tools/autogsdoc.m:
* Tools/make_strings/make_strings.m:
* Tools/plutil.m:
Fix various memory leaks.
* Tools/NSObject.m:
* Documentation/Base.gsdoc:
Make GSLogZombie() an external function for debuggers which can't find
it as a static function. Add [NSZombie -logZombie:] method to call the
function in case there is a debugger which can set a breakpoint on the
method more easily than on the function.
2024-06-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
* Source/GSTLS.m:
* Source/NSDictionary.m:
* Source/NSThread.m:
* Source/NSURLSession.m:
* Tools/AGSHtml.m:
* Tools/AGSOutput.m:
* Tools/AGSParser.m:
Fix dead assignments.
2024-06-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLProtocol.m:
* Source/GSTLS.m:
* Source/NSConnection.m:
* Source/NSSpellServer.m:
* Tools/AGSParser.m
Fix dead initialisations.
* Source/GSAttributedString.m:
* Source/tzdb.h:
Fix dead assignments
* Source/NSTask.m:
Use fork() becuse vfork() behavior is undefined when we make assignments
to variables or system calls before exec().
* Source/GSArray.m:
Ignore nil values in collection (should never happen) possibly caused
by retain/release errors. Old code would have crashed.
* Source/NSException.m:
Avoid compiler warning about malloced memory type compatibility.
2024-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSInsensitiveDictionary.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSXMLParser.m:
Fix rare memory management issues.
* Source/NSURL.m: Fix C-string termination issues
and a few dead assignments
* Source/NSOrderedSet.m: Fix ranged initialisation index errors
* Source/GSDictionary.m: Avoid excess copies of dictionary keys
* Source/NSPropertyList.m: Fix potential leaks
* Source/NSSortDescriptor.m: Fix potential use after dealloc
2024-06-18 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSDebug.h: Remove deprecated function and add
new function to turn on tracing objects of a specific class.
* Source/NSDebug.m: Fix locking issues when recording object allocation.
Fix bug removing recoded objects. Implement tracing recorded object
allocation with stack trace (also option to veto recording of
individual objects).
* Source/GSFileHandle.m: Fix memory leak found using changes above.
2024-06-10 Marco Rebhan <me@dblsaiko.net>
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
Implement -[NSFileManager URLsForDirectory:inDomains:].
2024-06-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: debug log of closing a closed file handle
rather than raising exception (reported by Wolfgang).
2024-05-31 Hugo Melder <hugo@algoriddim.com>
* Source/NSPredicate.m:
* Tests/base/NSPredicate/basic.m:
Improve implementation of BETWEEN operator in NSPredicate
for data types other than NSNumber. Proper support
for constant values.
2024-05-18 Hugo Melder <hugo@algoriddim.com>
* Source/NSString.m:
* Headers/Foundation/NSString.h:
* Tests/base/NSString/enumerateLinesUsingBlock.m:
Implemented -[NSString enumerateLinesUsingBlock:].
2024-04-30 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h:
* Headers/GNUstepBase/GSLock.h:
* Headers/GNUstepBase/NSLock+GNUstepBase.h:
* Source/Additions/GNUmakefile:
* Source/Additions/GSLock.m:
* Source/Additions/NSError+GNUstepBase.m:
* Source/Additions/NSLock+GNUstepBase.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/Additions/Unicode.m:
* Source/DocMakefile:
* Source/GSLocale.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSFileManager.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSKeyValueObserving.m:
* Source/NSLog.m:
* Source/NSObject.m:
* Source/NSPortNameServer.m:
* Source/NSTask.m:
* Source/NSThread.m:
* Source/NSURLCache.m:
* Source/NSURLCredentialStorage.m:
* Source/ObjectiveC2/properties.m:
Remove deprecated locking code. Use lightweight and more fine-grained
locking for simple cases protecting short regions. Retain a global
lock for more complex siutations where there is a significant chance of
deadlock.
2024-04-26 Richard Frith-Macdonald <rfm@gnu.org>
* ChangeLog: Update for new release
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.30.0 release.
* Version: bump to 1.30.0
2024-04-29 Doug Simons <douglas.simons@keysight.com>
* NSXMLNode.m:
Fix execute_xpath() to return an NSError when xpath expression can't
be evaluated instead of just calling NSLog.
* NSXMLElement.m:
Fix setAttributes: and setAttributesWithDictionary: to remove previous
attributes.
2024-05-12 ethanc8R (github user)
* Headers/Foundation/NSRegularExpression.h:
* Headers/Foundation/NSString.h:
* Source/NSRegularExpression.m:
* Source/NSString.m:
* Tests/base/NSString/enumerateSubstringsInRange.m:
Added regular expression search methods.
2024-05-08 Hugo Melder <hugo@algoriddim.com>
* Source/NSIndexSet.m:
* Tests/base/NSIndexSet/enumerateRanges.m:
Implement enumerateRangesInRange convenience methods
and tests.
2024-05-07 Hugo Melder <hugo@algoriddim.com>
* Source/NSURLSession.m:
_NSURLProtocolClient did not call completion handlers
in task:didFailWithError:.
Removed extraneous runtime calls.
2024-04-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSLock.m:
* Source/NSPathUtilities.m:
Fix for bug #399 ... the problem occurred becaause gnustep_global_lock
does not exist until +initialize is called on NSObject so in the path
utilities function the -lock message as sent to nil and the -unlock
message as sent to the lock.
The change adds a new GSPrivateGlobalLock() function to reliably return
a recursive lock, and alters the NSPathUtilities code to use it instead
of gnustep_global_lock (we should probably do that elsewhere too).
2024-04-15 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSObject.m: add +[NSObject _TrivialAllocInit] to enable
fast-path alloc / init methods with libobjc2 2.2.
2024-04-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLSession.m: fix for #385
2024-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationCenter.m: Ensure class pointer is initialised
before use (git issue #381).
2024-03-10 Hugo Melder <service@hugomelder.com>
* Headers/Foundation/NSDate.h:
* Source/NSDate.m:
Added the +[NSDate now] constructor, which was introduced
in macOS 10.15.
2024-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m: Fix leak reported by Larry Campbell
git issue #377
2024-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Move posting of notification outside lock
protected region to avoid deadlock.
2024-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: fix for #361
2024-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
* Source/GSNetwork.h:
* Source/GSSocketStream.m:
* Source/GSStream.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
Improve handling of error responses from socket operations and tweak
behavior in windows to try to recognise end of connection more reliably.
2024-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSError.m: Make -description and -localizedDescription formats
2024-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Prefer objc_set_unexpected() to the older
_objc_unexpected_exception for setting handler. Should cure problem
where _objc_unexpected_exception exists in library but not header.
2024-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURLProtocol.h:
* Source/GSEasyHandle.m:
* Source/GSHTTPURLProtocol.m:
* Source/GSNativeProtocol.m:
* Source/NSURLProtocol.m:
* Source/NSURLSession.m:
Add +canInitWithTask: and altered code to differentiate between
protocols which can be used with NSURLConnection and those which
can be used with NSURLSession to fix #302
2024-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLocale.m: (+canonicalLocaleIdentifierFromString:)
Fix for #368 ... then check for presence of huphen...underscore script
identifier and delete it, as suggested by the existing comments.
Avoids the exception.
* Tests/base/NSLocale/general.m: Simple testcase
2024-02-02 Richard Frith-Macdonald <rfm@gnu.org>
Source/NSString.m: Return empty string of correct class when loading
from an empty file or URL.
Source/Additions/GSMime.m: minor optimisation usng more efficient
method to append headers to mutable data object.
2024-02-01 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSProcessInfo.m:
* Headers/Foundation/NSProcessInfo.h:
Initialize Android process with current locale and system time zone.
2024-02-01 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSLocale.m: Fix -countryCode incorrectly returning language
code.
2024-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
* Source/GSPrivate.h:
* Source/GSSocketStream.m:
* Source/GSStream.m:
* Source/unix/GSRunLoopCtxt.m:
Make GSTcpTune options available to streams as well as file handles.
Improve debug logging for streasm operations.
Schedule streams in run loop on conclusion of TLS handshake (so we get
events telling us to start again after a blocked write).
2024-01-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: patch for issue #366 by Larry Campbell.
2024-01-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m: Fix for issue #365 ... don't try to
create a string ending with the first half of a unicode surrogate pair.
2024-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationCenter.m: fix for memory leak should keep the
observer retained until removed.
2023-12-21 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Replace GS_GENERIC macros in method types etc
with the basic type name.
* Tools/AGSIndex.h:
* Tools/AGSIndex.m: Create index of all authors in the project
2023-12-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/objc-load.m:
* Source/GSPrivate.h:
In GSPrivateSymbolPath() check for dladdr returning argv[0] as the
file path, and map it to the path of the executable so bundle checks
for the location of the file containing the code can work consistently.
2023-12-09: Hugo Melder <contact@hugomelder.com>
* Source/NSNull.m:
Implement valueForUndefinedKey: and always return the NSNull singleton
object.
* Tests/base/KVC/nsnull.m:
Test for various KVC interactions with NSNull.
* Tests/base/NSPredicate/nsnull.m:
Test if predicate evaluation on collections with NSNull objects works.
2023-12-06 Daniel Boyd <danieljboyd@icloud.com>
* Source/NSDecimal.m:
For compare, handle the case where one or both operands are zero.
* Tests/base/NSNumber/test03.m: add tests
2023-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
Remove obsolete restriction on DO message length. Add exception handler
to invalidate port if we are unable to allocate more memory for a very
large port message.
2023-11-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/GSPrivate.h:
* Headers/Foundation/NSBundle.m:
Make +bundleForLibrary:version: behavior match documenation.
Make +bundleForClass: call new private method to get library name
and version, warnign if version cannot be determined.
Mark +bundleForLibrary: as deprecated since we want a version.
2023-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/objc-load.m: Fix to get library path in standardised form to
match code for getting executable path.
2023-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSVersionMacros.h: Added GS_UNIMPLEMENTED to
mark methods and functions as unimplemented for compiler warnings
and documentation. github #350
2023-11-14 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSURLRequest.m: Support deleting NSMutableURLRequest headers by
calling setValue:forHTTPHeaderField: with nil value.
* Headers/Foundation/NSURLRequest.h: Update method documentation.
* Tests/base/NSURLRequest/basic.m: Extended NSMutableURLRequest tests.
2023-11-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Fix issue #292
* Tests/base/NSFileManager/general.m: test for enumerator at URL
* Source/NSNotificationCenter.m: fix indentation/style errors
* Headers/GNUstepBase/GSBlocks.h: Add new macros for calling blocks
which return a value.
2023-11-14 Richard Frith-Macdonald <rfm@gnu.org> Riccardo Mottola <rm@gnu.org>
* Documentation/Base.gsdoc:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/install.texi:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSCalendar.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSMetadata.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSOperation.h:
* Headers/Foundation/NSRegularExpression.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSZone.h:
* Headers/GNUstepBase/GSObjCRuntime.h:
* Headers/GNUstepBase/GSVersionMacros.h:
* Headers/GNUstepBase/NSLock+GNUstepBase.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSObjCRuntime.m:
* Source/DocMakefile:
* Source/GSInvocation.h:
* Source/GSPrivate.h:
* Source/GSTLS.m:
* Source/NSAppleEventDescriptor.m:
* Source/NSAppleEventManager.m:
* Source/NSAppleScript.m:
* Source/NSCallBacks.h:
* Source/NSCountedSet.m:
* Source/NSDateComponentsFormatter.m:
* Source/NSDateInterval.m:
* Source/NSDateIntervalFormatter.m:
* Source/NSDictionary.m:
* Source/NSExtensionContext.m:
* Source/NSExtensionItem.m:
* Source/NSFileVersion.m:
* Source/NSHFSFileTypes.m:
* Source/NSItemProvider.m:
* Source/NSItemProviderReadingWriting.m:
* Source/NSLinguisticTagger.m:
* Source/NSMetadata.m:
* Source/NSMetadataAttributes.m:
* Source/NSNotificationCenter.m:
* Source/NSObjectScripting.m:
* Source/NSPathUtilities.m:
* Source/NSProgress.m:
* Source/NSRunLoop.m:
* Source/NSScriptClassDescription.m:
* Source/NSScriptCoercionHandler.m:
* Source/NSScriptCommand.m:
* Source/NSScriptCommandDescription.m:
* Source/NSScriptExecutionContext.m:
* Source/NSScriptKeyValueCoding.m:
* Source/NSScriptObjectSpecifiers.m:
* Source/NSScriptStandardSuiteCommands.m:
* Source/NSScriptSuiteRegistry.m:
* Source/NSUserActivity.m:
* Source/NSUserScriptTask.m:
* Source/NSXMLDocument.m:
* Source/NSXMLNode.m:
* Source/objc-load.h:
* Tools/AGSHtml.h:
* Tools/AGSHtml.m:
* Tools/AGSIndex.h:
* Tools/AGSIndex.m:
* Tools/AGSOutput.m:
* Tools/AGSPme.arser.h:
* Tools/AGSParser.m:
* Tools/DocMakefile:
* Tools/autogsdoc.m:
* Tools/gsdoc-1_0_4.dtd:
Autogsdoc changes to avoide parser being confused by ObjectiveC-2
features. Automatic generation for the setter/getter methods of
properties. Various fixes and cleanups in documentation generation.
Many tweaks to correct documentation errors in comments etc.
2023-11-14 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add check for closefrom()
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Source/NSTask.m: Use closefrom() to close descriptors in child
process if it is available.
2023-10-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSISO8601DateFormatter.m:
* Tests/base/NSDateFormatter/NSISO8601DateFormatter.m:
Add a couple of testcases, tidy up source code formatting, and make
fix for github issue #339 as suggested by kevinpeizner
2023-10-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: New method to set up system error information.
* Source/Additions/NSError+GNUstepBase.m: Implement method.
* Source/NSTask.m(launchAndReturnError:): Return an error if the
path to launch in does not exist, is not a directory or is not
accessible.
2023-10-09 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSTask.m(launchAndReturnError:): Use _exit instead of
exit to terminate the vfork'ed process. This avoids running the
atexit handlers, which could have visible side effects in the
parent process.
2023-10-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: fixup for array access keywords
* Tests/base/NSPredicate/basic.m: add simple testcases for array
2023-10-07 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSKeyValueObserving.h
* Source/NSKeyValueObserving.m: Add nethods
removeObserver:forKeyPath:context: and
removeObserver:forObjectsAtIndexes:forKeyPath:context:
* Tests/base/KVC/mutable.m: Add tests for the above
methods.
2023-08-18 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSCache.h: Add _lock ivar
* Source/NSCache.m: Protect cache operations with a lock for
thread safety.
2023-08-10 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSNumberFormatter.h:
* Source/NSNumberFormatter.m:
Change NSNumberFormatter minimum/maximum properties from
NSDecimalNumber to NSNumber to match Apple platforms.
2023-07-30 Yavor Doganov <yavor@gnu.org>
* Tools/HTMLLinker.1: Fix a groff warning.
2023-07-30 Yavor Doganov <yavor@gnu.org>
* Tools/gdnc.m ([GDNCServer init]):
* Tools/gspath.1: Fix spelling errors.
2023-07-26 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSData.m:
Fix NSData initWithContentsOfURL: caching data of file URLs.
2023-07-26 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSURL.m:
* Tests/base/NSURL/basic.m:
Fix NSURL path on Windows for UNC paths.
2023-07-25 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
Fixed NSFileManager thread safety.
2023-07-17 Yavor Doganov <yavor@gnu.org>
* Tests/base/NSTimeZone/localtime.m (testTZDB): Skip tests relying
on 64bit time_t on all 32bit architectures.
* Source/NSTimeZone.m: Move #include "tzdb.h" a bit earlier so
that the POSIX_TZONES preprocessor conditional is correct.
([GSTimeZoneDetail
initWithTimeZone:withAbbrev:withOffset:withDST:]): Retain abbrev.
([GSTimeZoneDetail dealloc]): Release abbrev.
([NSTimeZone timeZoneArray]): Skip files *.zi, *.list and
leapseconds which are not zone files.
2023-06-10 Riccardo Mottola <rm@gnu.org>
* Tests/base/NSURL/Helpers/Launch.h:
Declare method in interface to provide accurate signature fixing
bug on sparc 64
2023-06-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: close socket if we end loading with an
I/O operation in progress.
2023-06-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: Fix to reliably remove handle from run loop
when -dealloc is called without the handle having been closed first.
2023-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Add support for OSX version numbers up to 15
(and fix version 9).
2023-05-04 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSOrderedSet.m: Fix keyed encoding to match Apple platforms.
2023-05-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: Ignore notificaton that a descriptor is
writable if we have nothing to be written.
2023-04-26 Frederik Seiffert <frederik@algoriddim.com>
* Tests/base/NSFileManager/general.m:
* Source/NSFileManager.m:
Add test for and fix -[NSFileManager contentsOfDirectoryAtURL:...]
implementation not working correctly if directory did not match
current working directory.
2023-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m: set listening socket into non-blocking mode
if possible, so if multiple threads are using the same port we don't
get one thread blocked waiting for an accept which was handled by
another one.
2023-03-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimer.m: wrap call to block in exception handler (bug #289)
2023-01-13 Frederik Seiffert <frederik@algoriddim.com>
* Source/Additions/GSInsensitiveDictionary.m:
* Source/NSURLRequest.m:
* Source/NSURLResponse.m:
Fix NSURLSession header fields not always being matched case
insensitive.
2023-01-13 Frederik Seiffert <frederik@algoriddim.com>
* Source/GSEasyHandle.m:
* Source/GSMultiHandle.m:
* Source/GSTimeoutSource.h:
* Source/GSTimeoutSource.m:
* Source/NSURLSession.m:
Fix NSURLSession memory management of libdispatch objects.
* Source/GSHTTPURLProtocol.m:
Fix overrelease.
2023-01-13 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSURLSession.h:
* Source/NSURLSession.m:
Add missing NSURLSession APIs.
2022-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: ([GSMimeHeader setValue:]) do not set
type/subtype information if the content-type header value is not
in that format.
2022-01-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: fix incorrect close of socket at the end
of a successful request.
2022-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* ChangeLog: Update for new release
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.29.0 release.
* Version: bump to 1.29.0
2022-12-28 Richard Frith-Macdonald <rfm@gnu.org>
* ChangeLog: Update for new release
* ANNOUNCE:
* NEWS:
* NSTimeZones/NSTimeZones.tar: update
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.28.1 release.
* Version: bump to 1.28.1
2022-12-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: do not process end tag if parsing was aborted
while processing start tag.
2022-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Use the https_proxy and http_proxy
environment variables if no proxying is specified. Also support
those keys as properties in the request (overriding the environment
variables) and support the URL protection space if set.
2022-11-26 Fred Kiefer <fredkiefer@gmx.de>
* Source/Additions/GSXML.m: Remove usage of deprecated function
when a newer version of libxml is used.
2022-11-25 Florian Weimer
* config/config.poll-dev.c:
* config/config.proccmd.c:
* config/config.reuseaddr.c:
* config/config.vasprintf.c:
* config/config.vsprintf.c:
Make config tests work with C99 compiler
2022-11-21 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSFileManager.m:
Call NSDirectoryEnumerator's constructor with either YES or NO for
the BOOL arguments.
Really skip hidden files in enumerations if requested by the
options.
2022-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileHandle.h:
* Headers/GNUstepBase/GSTLS.h:
* Source/GSHTTPURLHandle.m:
* Source/GSSocketStream.m:
* Source/GSTLS.m:
* Source/NSURLProtocol.m:
* Source/externs.m:
Fixup to use strict rfc4514 for distinguished names of issuer and
owner of certificates. Add GSTLSIssuers and GSTLSOwners properties
to reject remote certificates which do not match distinguishd names
accepted. This allows encrypted DO to be configured to automatically
reject connection attempts which do not have trusted certificates.
2022-11-15 Richard Frith-Macdonald <rfm@gnu.org>
* GSSocketStream.m:
* NSFileHandle.m:
Use new -[GSTLS pending] method to trigger event handling immediately
rather than waiting for more data from the network layer.
2022-11-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSTLS.h:
* Source/GSTLS.m:
Add -pending method to return the number of bytes in the read bufffer.
* Source/NSSocketPort.m:
Use the new method to avoid a potential hang on an encrypted DO
connection.
2022-10-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Refactor a litle to avoid code duplication
and try to ensure that the connection is marked 'idle' as soon as we
have finished I/O (so its URL can be changed).
2022-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Resources/GSTLS/README:
* Source/GSTLS.m:
Honor the SSL_CERT_FILE environment variable (for OpenSSL
compatibility) if our own user default or environment variable
is not used.
2022-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Track whether we have read any data from
the server. If a connection is closed by the server while it is being
kept alive (ie we are not on first request) and no response data has
been read for a request we sent, we assume it was an intentional close
and try to establish a new connection to retry the request.
This is more tolerant of latency in the network (which could mean that
our test tthat the connection is still alive before sending a request
could be wrong) and also deals with perverse server implementations
which drop long standing connections when the server receives a
request rather than when a timeout occurred.
2022-09-15 Hugo Melder <contact@hugomelder.com>
* config/config.constant-string-class.m:
* Tests/base/NSObject/initialize.m:
* Tests/base/NSTask/launch.m:
C99 does not support implicit function declarations. Add string.h
and unistd.h when applicable.
2022-08-23 Hugo Melder <contact@hugomelder.com>
* Tests/base/NSURL/basic.m:
Fix URL description and resource specifier test value on win32.
* Tests/base/NSURL/test00.m:
* Tests/base/NSURL/test01.m:
* Tests/base/NSURL/test02.m:
* Tests/base/NSURLConnection/test01.m:
* Tests/base/NSURLConnection/test02.m:
* Tests/base/NSURLConnection/test03.m:
* Tests/base/NSURLConnection/test04.m:
* Tests/base/NSURLConnection/test05.m:
* Tests/base/NSURLConnection/test06.m:
* Tests/base/NSURLConnection/test07.m:
* Tests/base/NSURLHandle/test00.m:
* Tests/base/NSURLHandle/test01.m:
Skip all test cases using the GSInetServerStream class as
it is broken on win32.
2022-08-16 Hugo Melder <contact@hugomelder.com>
* Source/NSPredicate.m:
When parsing an NSArray in -expressionValueWithObject:context:,
check if the array entry is a NSExpression object.
* Tests/base/NSPredicate/basic.m:
Test filter operation.
2022-08-16 Hugo Melder <contact@hugomelder.com>
* Source/win32/GSFileHandle.m:
Support overlapped I/O on standard streams in GSFileHandle.
* Source/GSFileHandle.h:
Add the isStandardStream instance variable.
* Tests/base/NSRunLoop/performers.m:
Remove extraneous unistd header from unit test.
2022-08-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: Remove restriction (of 8) on the maximum
number of threads, and set that as the default value instead, so
the -setMaxConcurrentOperationCount: method can override it.
Thanks to https://github.com/wbardwel for the suggestion.
2022-08-11 Hugo Melder <contact@hugomelder.com>
* Tests/base/NSTimeZone/use.m:
Update NSTimeZone unit test to match macOS behaviour.
America/Sao_Paulo has no DST.
2022-08-07 Hugo Melder <contact@hugomelder.com>
* Source/NSTimeZone.m:
Windows to IANA time zone conversion: remove unsupported
TIME_ZONE_ID_DAYLIGHT conversion.
* Tests/base/NSTimeZone/use.m:
Fix test case to check for the correct standard time zone name.
2022-08-05 Hugo Melder <contact@hugomelder.com>
* Tests/base/NSTask/Helpers/GNUmakefile:
Fix compilation of NSTask helper test files on Windows MSVC.
* Tests/base/NSTask/general.m:
* Tests/base/NSTask/launch.m:
* Tests/base/NSTask/notify.m:
Conditionally use .exe suffix in executable paths.
2022-08-04 Hugo Melder <contact@hugomelder.com>
* Tests/base/GSTLS/basic.m:
Disable test completly if gnutls is not present.
* Tests/base/NSData/additions.m:
Check if dataWithContentsOfFile: returns an instance.
* Tests/base/NSString/tilde.m:
Skip tilde abbreviation test on Windows.
2022-08-04 Hugo Melder <contact@hugomelder.com>
* Tests/base/coding/basictypes.m:
Fetch the generated .type file directly to avoid size mismatches.
* .gitignore:
Ignore .type files in the coding unit test directory.
2022-08-03 Hugo Melder <contact@hugomelder.com>
* Tests/base/NSBundle/GNUmakefile.preamble
* Tests/base/NSBundle/resources2.m
Exclude framework loading on Windows, as Windows lacks support
for run-time search paths.
2022-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
Include body after masked headers in debug output.
2022-05-20 Richard Frith-Macdonald <rfm@gnu.org>
Changes to remove sensitive information from debug logs.
* Source/Additions/GSMime.m: Mask out sensitive information in the
-description method of the Authorization header. Add method to do
similar masking for debug output of HTTP requests.
* Source/GSHTTPURLHandle.m: Use new method to mask Authorization
header value in debug log of outgoing requests.
* Source/NSURLProtocol.m: Use new method to mask Authorization
header value in debug log of outgoing requests.
2022-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: If we get an exception in a packet from a
remote system to which we sent a oneway void message, decode the
exception and report it.
2022-04-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSeq.h: Fix normalisation to handle the case where combining
diacriticals are repeated in a composed character sequence. Those
repeats need to be reduced to a single instance.
2022-04-06 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSCalendar.h: Add documentation.
* Source/NSCalendar.m: Implement getEra:... and getHour:...
methods based on Keysight/TestPlant changes
* Tests/base/NSCalendar/basic.m: Minor cleanup.
* Tests/base/NSCalendar/component-diff.m: Add tests for
methods implemented above.
2022-03-07 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSIndexPath.h: Add declarations for new
methods to support collection and table view. New methods are
- item, - section, - row, - initWithItem:inSection:,
and - initWithRow:inSection:
* Source/NSIndexPath.m: Implementation of the methods mentioned
above.
2022-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m:
* Tests/base/NSPredicate/basic.m:
Fix for git #243
2022-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistantObject.m:
Check to see whether receiver responds to selector before asking the
remote object. Fixes bug in testing to see if distant object responds
to -connectionForProxy.
2022-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/manual/BaseLibrary.texi:
* Documentation/manual/WorkingWithObjects.texi:
* Documentation/manual/WritingNewClasses.texi:
* Headers/Foundation/NSGarbageCollector.h:
* Headers/Foundation/NSObject.h:
* Headers/GNUstepBase/GNUstep.h:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSData+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSDictionary.m:
* Source/GSFFIInvocation.m:
* Source/GSFTPURLHandle.m:
* Source/GSHTTPAuthentication.m:
* Source/GSInternal.h:
* Source/GSInvocation.h:
* Source/GSSocketStream.m:
* Source/NSArray.m:
* Source/NSAttributedString.m:
* Source/NSBundle.m:
* Source/NSCallBacks.m:
* Source/NSClassDescription.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSDateFormatter.m:
* Source/NSDistantObject.m:
* Source/NSFileHandle.m:
* Source/NSHost.m:
* Source/NSInvocation.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSNotificationCenter.m:
* Source/NSNumberFormatter.m:
* Source/NSObject.m:
* Source/NSPortCoder.m:
* Source/NSProcessInfo.m:
* Source/NSRunLoop.m:
* Source/NSScanner.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSSpellServer.m:
* Source/NSString.m:
* Source/NSTask.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSURLHandle.m:
* Source/NSURLProtocol.m:
* Source/NSURLResponse.m:
* Source/NSUnarchiver.m:
* Source/NSValueTransformer.m:
* Tools/AGSOutput.m:
* Tools/AGSParser.m:
* Tools/HTMLLinker.m:
* Tools/autogsdoc.m:
* Tools/sfparse.m:
Replaced IF_NO_GC() macro calls with the more descriptive IF_NO_ARC()
and deprecate it. Searched for and removed obsolete references to
garbage collection in comments and documentation.
2022-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSExpression.h:
* Source/NSPredicate.m:
Patched from git #237 by Larry Campbell.
2022-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Fix failure to log handle properly during
initialisation (set ivar containing handle earlier).
2022-01-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
Fix for git #235 reported by Sergei Golovin
Plus, make methods consistent in handling of clients.
Plus, make clientForHandle() thread-safe.
2022-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m:
* Documentation/manual/BaseLibrary.texi:
* Documentation/manual/WorkingWithObjects.texi:
* Documentation/manual/WritingNewClasses.texi:
* Headers/Foundation/NSGarbageCollector.h:
* Headers/Foundation/NSObject.h:
* Headers/GNUstepBase/GNUstep.h:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSData+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSDictionary.m:
* Source/GSFFIInvocation.m:
* Source/GSFTPURLHandle.m:
* Source/GSHTTPAuthentication.m:
* Source/GSInternal.h:
* Source/GSInvocation.h:
* Source/GSSocketStream.m:
* Source/NSArray.m:
* Source/NSAttributedString.m:
* Source/NSBundle.m:
* Source/NSCallBacks.m:
* Source/NSClassDescription.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSDateFormatter.m:
* Source/NSDistantObject.m:
* Source/NSFileHandle.m:
* Source/NSHost.m:
* Source/NSInvocation.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSNotificationCenter.m:
* Source/NSNumberFormatter.m:
* Source/NSObject.m:
* Source/NSPortCoder.m:
* Source/NSProcessInfo.m:
* Source/NSRunLoop.m:
* Source/NSScanner.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSSpellServer.m:
* Source/NSString.m:
* Source/NSTask.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSURLHandle.m:
* Source/NSURLProtocol.m:
* Source/NSURLResponse.m:
* Source/NSUnarchiver.m:
* Source/NSValueTransformer.m:
* Tools/AGSOutput.m:
* Tools/AGSParser.m:
* Tools/HTMLLinker.m:
* Tools/autogsdoc.m:
* Tools/sfparse.m:
Fix for git #233 by Larry Campbell
2022-01-15 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSPathUtilities.m:
Fix NSTemporaryDirectory() returning path with backslashes on
Windows.
2022-01-13 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSTimeZone.m:
Fix time zone lookup on Windows MSVC by converting Windows timezone
name to IANA identifier.
2022-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
Declare private method to avoid compiler warnings.
2022-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSString.h:
* Source/Additions/GSMime.m:
* Source/Additions/Unicode.m:
* Resources/English.lproj/Localizable.strings:
* Resources/Esperanto.lproj/Localizable.strings:
* Resources/French.lproj/Localizable.strings:
* Resources/German.lproj/Localizable.strings:
* Resources/Italian.lproj/Localizable.strings:
* Resources/Japanese.lproj/Localizable.strings:
* Resources/Korean.lproj/Localizable.strings:
* Resources/Polish.lproj/Localizable.strings:
* Resources/SimplifiedChinese.lproj/Localizable.strings:
* Resources/Spanish.lproj/Localizable.strings:
* Resources/TraditionalChinese.lproj/Localizable.strings:
Reinstate lost encoding constants (so that software using the
gnustep extenstions should work again). Also tidy some indentation
issues.
2021-12-21 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSOperation.m: fix handling of concurrent NSOperations
if isFinished KVO is triggered without the operation being finished,
and call completion block for concurrent operations. Also fixes
removing dependency observers more than once.
2021-12-14 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSBundle.m:
Default to UTF-8 when reading localized string files without BOM.
2021-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: (-disconnect:) try once if we are closing the TCP
connection, for up to 10 seconds if trying to keep it available.
* Source/NSFileHandle.m: (-sslDisconnect) operate in non-blocking
mode so that network issues should not cause a disconnect attempt
to hang. This should behave better on heavily loaded systems.
2021-11-23 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: check for zlib before bfd
* configure: regenerate
libbfd may need libz, so we must check for one before checking for
the other.
2021-11-21 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSURLConnection.h: Add
NSURLConnectionDataDelegate protocol.
* Headers/Foundation/NSURLRequest.h: Add enum for
NSURLNetworkServiceType.
2021-11-19 Richard Frith-Macdonald <rfm@gnu.org>
* Helpers/Launch.h:
* Helpers/capture.m:
* Helpers/keepalive.m:
* Helpers/respond.m:
* test00.m:
* test01.m:
* test02.m:
Rewrite helper launching so that the test process waits for up to
ten seconds for the helper to tell it that it's ready to accept
requests. This should make tests run a bit quicker (no longer
waiting a fixed interval for the helper to start) while allowing
longer for the helpers to start on slow systems, and thus making
the tests more reliable.
2021-11-11 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSBundle.h:
Annotate NSBundle localized string function with NS_FORMAT_ARGUMENT.
2021-09-20 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSFileManager.m:
Fix -[NSFileManager URLForDirectory:...] using incorrect NSURL
initializer and simplified implementation.
2021-09-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m:
* Source/NSURL.m:
Fix minor potential leaks.
2021-08-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/nstzfile.h: deleted (merged into tzdb.h)
* Source/tzdb.h: updated (includes nstzfile.h)
* Source/NSTimeZone.h: some cleanups
Tidies up as suggested by Fred
2021-08-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/nstzfile.h: Fix by Emmanuel Dreyfus - increase number of
transitions allowed, so that we can handle dates further into the
future (since v2+ files support that).
* Tests/base/NSTimeZone/ParisV1-noMagic.tzdb:
* Tests/base/NSTimeZone/ParisV1.tzdb:
* Tests/base/NSTimeZone/ParisV2-missingHeader.tzdb:
* Tests/base/NSTimeZone/ParisV2.tzdb:
* Tests/base/NSTimeZone/localtime.m:
Increase the range of testcases
2021-08-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/tzdb.h: Public domain time zone file parsing etc
* Source/NSTimeZone.m: Use code from tzdb.h
* Headers/Foundation/NSTimeZone.h: Remove some obsolete comments
* configure.ac: check for stdbool.h needed by tzdb.h
* configure: regenerate
* Headers/GNUstepBase/config.h.in: define for stdbool check
* Tests/base/NSTimeZone/Paris.tzdbv1: test timezone file (version 1)
* Tests/base/NSTimeZone/Paris.tzdbv2: test timezone file (version 2)
* Tests/base/NSTimeZone/localtime.m: Some testcases for v1/v2
Incorporate work by Emmanuel Dreyfus to use public domain tzfile
parsing code supporting times too large to fit in 32bit value.
The public domain code has some support for the Posix TZ environment
variable style string used by version2 to support times after the last
transition in the file, but I'm not convinced it works properly, so
this may need to be revisited.
2021-08-10 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSObject:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source:libgnustep-base-entry.m:
Initialize Windows Sockets in NSObject only and update to Windows
Socket version 2.2.
2021-08-03 Frederik Seiffert <frederik@algoriddim.com>
* Headers/GNUstepBase/config.h.in:
* configure:
* configure.ac:
Use pkgconfig to find libxslt.
2021-07-29 Frederik Seiffert <frederik@algoriddim.com>
* Headers/GNUstepBase/config.h.in:
* Source/Additions/Unicode.m:
* Source/GSICUString.h:
* Source/NSCalendar.m:
* Source/NSDateFormatter.m:
* Source/NSLocale.m:
* Source/NSNumberFormatter.m:
* Source/NSPredicate.m:
* Source/NSRegularExpression.m:
* Source/NSString.m:
* Source/NSTimeZone.m:
* configure:
* configure.ac:
Add support for using ICU DLL from Windows 10.
2021-07-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m:
* Headers/GNUstepBase/config.h.in:
* configure.ac:
* configure:
Always use builtin header for parsing posix time zone files, so we
know that the field names are consistent and so we knw we have a
define for the file magic number.
2021-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m:
Fix error caused by having methods in category for strict parser
overriding methods provided by sloppy parser.
2021-07-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/nstzfile.h:
* Source/NSTimeZone.m:
Changes to add support for 64bit transitions used by v2+ of the
timezone format.
2021-07-14 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSThread.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/config.h.in:
* Source/Additions/GCObject.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/Unicode.m:
* Source/GSAtomic.h:
* Source/GSFFCallInvocation.m:
* Source/GSFFIInvocation.m:
* Source/GSPThread.h:
* Source/NSArray.m:
* Source/NSCharacterSet.m:
* Source/NSDebug.m:
* Source/NSException.m:
* Source/NSLock.m:
* Source/NSObject.m:
* Source/NSScanner.m:
* Source/NSString.m:
* Source/NSThread.m:
* Source/NSTimeZone.m:
* Source/NSZone.m:
* Tests/base/NSThread/GNUmakefile.preamble:
* Tests/base/NSThread/late_unregister.m:
* Tests/base/NSThread/lazy_thread.m:
* config/config.initialize.m:
* configure:
* configure.ac:
Use native threading and locking APIs on Windows, removing dependency
on pthread library and using fast Slim Reader/Writer (SRW) locks for
NSLock/NSRecursiveLock/NSCondition/NSConditionLock as well as all
internal locks. Adds GS_MUTEX_*() macros in GSPThread.h, that are being
used for all internal locking instead of pthread APIs.
Also adds support for thread priorities on Windows, fixes method
signature of +[NSThread setThreadPriority:] to match Apple platforms,
and adds error handling in same method.
2021-07-16 Frederik Seiffert <frederik@algoriddim.com>
* Source/GSICUString.h:
* Source/GSICUString.m:
Fix possible memory corruption in string handling that occured
primarily when using NSRegularExpression with strings longer than
16 characters.
2021-07-02 Frederik Seiffert <frederik@algoriddim.com>
* Source/Additions/Unicode.m:
Fix possible heap corruption when converting to
NSNonLossyASCIIStringEncoding.
2021-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/Port.h:
* Source/NSSocketPort.m:
Extend the API for TLS support in Distributed Objects so that we have
separate settings for whether the port is acting as a client or
server.
2021-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m:
* Source/NSSocketPort.m:
Improve reporting of TLS handshake errors, fix a few leaks and
generally make encryption of DO connections better.
2021-06-17 Frederik Seiffert <frederik@algoriddim.com>
* Source/Additions/Unicode.m:
Fix lookup of string encodings with high numeric values in
encoding table when they are interpreted as negative numbers
for some platforms/compilers (pertains
NSUTF16*EndianStringEncoding and NSUTF32*StringEncoding).
2021-06-03 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSTLS.h: New session ivar for I/O handle.
* Source/GSTLS.m: Report the I/O handle in debug logs so we can
more easily track which logs refer apply to the objects using a
session.
* Source/NSSocketPort.m: debug improvements plus fixes to the code
for initiating connections so that the initial port information is
reliably written to the handle.
2021-06-02 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/Foundation.h: Add missing import for
NSByteCountFormatter.
2021-05-31 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSTLS.h: ([GSTLSCredentials selfSigned:])
* Source/GSTLS.m: Add new method to use certtool to generate a
key and a self-signed certificate. Use the new method to set up
server sessions if no certificate/key is configured.
* Headers/Foundation/NSPort.h: ([NSSocketPost setOptionsForTLS:])
* Source/NSSocketPort.m: New methods to configure socket ports to
use TLS so that inter-host distributed object connections can be
securely encrypted. The class method should turn on encryption
for all subsequent connections using socket ports (the instance
method can be used to override the effects of the class method
for an individual instance).
2021-05-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m:
When we get an event saying that there is space available, we should
change the stream status from writing to open (because the write
operation completed). This makes the -hasSpaceAvailable method return
the correct value when a callback routine is checking to see if it
can write.
2021-05-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandle.m:
Fixed bug preventing write of long data (failing to watch for write
completion when only part of the data is written). Added some debug
2021-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
* Source/win32/GSFileHandle.m:
When we receive an event telling us the handle is writable, repeatedly
write until either all the data we have is written or until the write
attempt doesn't write anything. On mswindows this copes with the case
of the gnutls write only writing 16KB chunks at a time.
2021-05-05 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for declaration of CURLOPT_MAXAGE_CONN
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Source/NSURLSession.m: Use HAVE_DECL_CURLOPT_MAXAGE_CONN to tell
whether -setHTTPMaximumConnectionLifetime: can be implemented. This
fixes a bug where the method was not implemented even though the
version of Curl available supported it.
* Tests/base/NSURLSession/test02.m: Add a testcase (hope) to see if
-setHTTPMaximumConnectionLifetime: is supported.
2021-04-26 Ivan Vucica <ivan@vucica.net>
* ChangeLog:
Update ChangeLog to release 1.28.0.
2021-04-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/DocMakefile:
Ignore GS_EXPORT_CLASS when generating documentation for
base/additions.
2021-04-22 Ivan Vucica <ivan@vucica.net>
* ChangeLog:
Formatting and email address fixes.
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for a future 1.28.0 release.
* Version:
Bump version to 1.28.0.
2021-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSString.h:
* Source/NSString.m:
* Source/NSString.m:
Fixes for BOM insertion when generating data from a string using one
of the unicode encodings. The BOM is inserted in the case where the
byte order is important in the specified encoding, but the encoding
does not specify which byte order is used. This is the case for
NSUnicodeStringEncoding, NSUTF16StringEncoding (which is a synonym
for NSUnicodeStringEncoding), and NSUTF32StringEncoding.
The bit of this that might impact existing code is that the BOM is
now placed at the start of the data even in the string is empty (as
on OSX).
2021-03-27 Frederik Seiffert <frederik@algoriddim.com>
* Headers/GNUstepBase/GSVersionMacros.h:
Add GS_IMPORT macro resolving to dllimport annonation on Windows.
* Source/NSObject.m:
Add support for libobjc2 runtime on Windows.
2021-03-27 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSConnection.h:
* Source/Additions/GSMime.m:
* Source/Additions/NSDebug+GNUstepBase.m:
* Source/Additions/NSStream+GNUstepBase.m:
* Source/GSPrivate.h:
* Source/GSTLS.m:
* Source/NSArchiver.m:
* Source/NSBundle.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSConnection.m:
* Source/NSDate.m:
* Source/NSDecimal.m:
* Source/NSError.m:
* Source/NSExtensionContext.m:
* Source/NSExtensionItem.m:
* Source/NSFileHandle.m:
* Source/NSFileManager.m:
* Source/NSHFSFileTypes.m:
* Source/NSHTTPCookie.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSInvocationOperation.m:
* Source/NSItemProvider.m:
* Source/NSKeyValueCoding.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSLocale.m:
* Source/NSMetadata.m:
* Source/NSMetadataAttributes.m:
* Source/NSNetServices.m:
* Source/NSObjCRuntime.m:
* Source/NSObject.m:
* Source/NSPathUtilities.m:
* Source/NSPersonNameComponentsFormatter.m:
* Source/NSPort.m:
* Source/NSSpellServer.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSURLCredentialStorage.m:
* Source/NSURLHandle.m:
* Source/NSURLProtectionSpace.m:
* Source/NSUserNotification.m:
* Source/NSXMLParser.m:
* Source/NSZone.m:
* Source/externs.m:
Export string constants and annotate exported function implementations.
Moves scattered string constants to externs.m, and removes obsolete
code replacing constant strings.
2021-03-12 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSFileManager.m:
* Source/NSProcessInfo.m:
* Source/win32/dirent.h:
Add NSFileManager support on Windows MSVC using dirent.h from:
https://github.com/tronkko/dirent/blob/master/include/dirent.h
Also unifies _CHAR in NSFileManager with GSNativeChar, as they are
internally required to be the same.
2021-03-09 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSRunLoop.m:
Fix libdispatch integration compilation error on Windows.
2021-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
Rewrite handling of tls handshake to operate asynchronously,
attempting continuation of the handshake when the socket becomes
readable. The point of this is to prevent recursive entry into the
runloop (and possible stack overflow) if the remote end fails to send
anything for a while.
2021-03-03 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSTimer.h:
* Source/NSTimer.m: add unscheduled NSTimer block initializer
2021-02-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m:
Fix potential deadlock found by Wolfgang
2021-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m:
Initialise XMLParser in main thread
2021-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
Fixes for SSL/TLS support using GNUTLS under MinGW.
Use send/recv rather than read/write in TLS push/pull functions
(works with winsock and unix) and perform mappings between winsock
error codes and unix/gnutls error codes so that we correctly repeat
operations whe they fail in non-blocking mode.
2021-02-12 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSNull.h: Add missing GS_EXPORT_CLASS.
* Tests/base/Functions/NSByteSwapping.m: Define M_PI if needed.
* configure:
* configure.ac: Add support for pthreadVC2 library variant and
tweak host OS check for Windows to be more specific.
2021-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m:
Fix failure to send large requests, when the write operation succeeds
but we have not written all the data we need to, we should write more
as long as the stream has space available.
2021-02-05 Fred Kiefer <fredkiefer@gmx.de>
* Tools/make_strings/StringsFile.m: Write the file in UTF8 format
if the string contains any non ASCII character.
2021-02-03 Frederik Seiffert <frederik@algoriddim.com>
* Tools/GNUmakefile: disable gdomap on Android (unsupported).
2021-02-02 Riccardo Mottola <rm@gnu.org>
* configure
* configure.ac
Add check for statbuf.st_mtim if available
* Source/NSFileManager.m
Use statbuf.st_mtim to get nanosecond precision in modification
date, also fix conversion of nanoseconds in creation date.
2021-01-29 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSAffineTransform.h:
* Headers/Foundation/NSAppleEventDescriptor.h:
* Headers/Foundation/NSAppleEventManager.h:
* Headers/Foundation/NSAppleScript.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSBackgroundActivityScheduler.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSByteCountFormatter.h:
* Headers/Foundation/NSCache.h:
* Headers/Foundation/NSCalendar.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSCharacterSet.h:
* Headers/Foundation/NSClassDescription.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSDateComponentsFormatter.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSDateInterval.h:
* Headers/Foundation/NSDateIntervalFormatter.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSDistantObject.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSEnergyFormatter.h:
* Headers/Foundation/NSEnumerator.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSExtensionContext.h:
* Headers/Foundation/NSExtensionItem.h:
* Headers/Foundation/NSFileCoordinator.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSFileVersion.h:
* Headers/Foundation/NSFileWrapper.h:
* Headers/Foundation/NSGarbageCollector.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSISO8601DateFormatter.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSInvocationOperation.h:
* Headers/Foundation/NSItemProvider.h:
* Headers/Foundation/NSItemProviderReadingWriting.h:
* Headers/Foundation/NSJSONSerialization.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSLengthFormatter.h:
* Headers/Foundation/NSLinguisticTagger.h:
* Headers/Foundation/NSLocale.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSMapTable.h:
* Headers/Foundation/NSMassFormatter.h:
* Headers/Foundation/NSMeasurement.h:
* Headers/Foundation/NSMeasurementFormatter.h:
* Headers/Foundation/NSMetadata.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSNotificationQueue.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSObjectScripting.h:
* Headers/Foundation/NSOperation.h:
* Headers/Foundation/NSOrderedSet.h:
* Headers/Foundation/NSOrthography.h:
* Headers/Foundation/NSPersonNameComponents.h:
* Headers/Foundation/NSPersonNameComponentsFormatter.h:
* Headers/Foundation/NSPointerArray.h:
* Headers/Foundation/NSPointerFunctions.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSPredicate.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSProgress.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSProxy.h:
* Headers/Foundation/NSRegularExpression.h:
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSScriptClassDescription.h:
* Headers/Foundation/NSScriptCoercionHandler.h:
* Headers/Foundation/NSScriptCommand.h:
* Headers/Foundation/NSScriptCommandDescription.h:
* Headers/Foundation/NSScriptExecutionContext.h:
* Headers/Foundation/NSScriptKeyValueCoding.h:
* Headers/Foundation/NSScriptObjectSpecifiers.h:
* Headers/Foundation/NSScriptStandardSuiteCommands.h:
* Headers/Foundation/NSScriptSuiteRegistry.h:
* Headers/Foundation/NSSerialization.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSTextCheckingResult.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSURLHandle.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSURLSession.h:
* Headers/Foundation/NSUUID.h:
* Headers/Foundation/NSUbiquitousKeyValueStore.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSUnit.h:
* Headers/Foundation/NSUserActivity.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSUserNotification.h:
* Headers/Foundation/NSUserScriptTask.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSValueTransformer.h:
* Headers/Foundation/NSXMLDTD.h:
* Headers/Foundation/NSXMLDTDNode.h:
* Headers/Foundation/NSXMLDocument.h:
* Headers/Foundation/NSXMLElement.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSXPCConnection.h:
* Headers/GNUstepBase/CXXException.h:
* Headers/GNUstepBase/GCObject.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSMime.h:
* Headers/GNUstepBase/GSTLS.h:
* Headers/GNUstepBase/GSVersionMacros.h:
* Headers/GNUstepBase/GSXML.h:
* Headers/GNUstepBase/NSStream+GNUstepBase.h:
* Source/Additions/GSXML.m:
* Source/Additions/Makefile.preamble:
* Source/CXXException.m:
* Source/GNUmakefile:
* Source/NSException.m:
* Source/NSFileManager.m:
* Source/NSPropertyList.m:
* Source/NSSocketPort.m:
* Source/ObjectiveC2/Makefile.preamble:
* Source/common.h:
* Source/externs.m:
* Source/inet_ntop.m:
* Source/inet_pton.m:
* Source/libgnustep-base-entry.m:
* Source/unix/Makefile.preamble:
* Source/win32/GSFileHandle.m:
* Source/win32/Makefile.preamble:
* Tools/GNUmakefile:
* Tools/Makefile.preamble:
* Tools/gdnc.m:
* Tools/make_strings/make_strings.m:
* Tools/pl2link.m:
* Tools/plutil.m:
* config/config.initialize.m:
* configure:
* configure.ac:
Added support for building on Windows with Clang MSVC target and
libobjc2. This requires using
a
standard(non - MinGW) Clang build that e.g.comes with Visual Studio
or is available as pre - built binary from the LLVM website,
and
requires passing a host to configure like
--host=x86_64-pc-windows.
The build is best done in an MSYS2 shell that does not have any
additional *-devel packages installed that might get picked up by
configure. Alternatively --disable-xxx flags can be used to prevent
these dependencies to be picked up.
Annotates all ObjC class interfaces with GS_EXPORT_CLASS for DLL
export/import declarations, and adds missing GS_DECLARE annotations
in externs.m, in order for these symbols to be correctly exported
in the DLL.
2021-01-21 Fred Kiefer <fredkiefer@gmx.de>
* Tools/pl2link.m (main): Set key StartupWMClass and allow file
parameters of the Exec key.
Idea by: Josh Freeman <gnustep_lists@twilightedge.com>
2021-01-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: Fix scanning of zero values.
Was checking incorrect variable to avoid assignment to nul pointer.
2021-01-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m: Fix leak of set
* Source/NSPredicate.m: Fix leak evaluating a cast
* Source/NSUnit.m: Fix memory leaks
* Source/NSData.m: Use NSZoneMalloc and NSZoneRealloc for memory
to ensure it is in the correct zone for the instance (and to avoid
complaints from static analyser).
2021-01-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
Remove stream from handler upon deallocation, to avoid handler
sending messages to deallocated stream.
2020-12-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m:
Fix failure to re-set flag to say whether a string is unicode
2020-12-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m:
Fix potential problem with new optimisation for direct access to
contents of 8bit strings ... when the decimal separator is not an
ascii character we may need to convert the 8bit value to unicode.
2020-12-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m:
* Source/NSString.m:
Use new private method to scan double values.
2020-12-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m:
Remove internal GSScanInt and GSScanDouble functions after moving
functionality into the -scanDouble: method. Add private class
method to support scanning a string for a double without having
to create a new scanner each time (use a shared lock-protected,
instance with resetting of the string being scanned).
2020-12-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m:
Remove unused header import
2020-12-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
Use superclass implementation of -doubleValue and -floatValue
2020-12-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m:
Change -scanDouble: to call GSScanDouble() to perform conversion.
Fix GSScanDouble to cope with leading zeros.
2020-12-15 Frederik Seiffert <frederik@algoriddim.com>
* configure:
* configure.ac:
Disable libcurl support when headers are not found
2020-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GNUstep.h:
* Headers/GNUstepBase/GSBlocks.h:
* Headers/ObjectiveC2/objc/blocks_runtime.h:
* Source/GSString.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSConnection.m:
* Source/NSDistantObject.m:
* Source/NSMethodSignature.m:
* Source/NSNumberMethods.h:
* Tools/gdomap.c:
Consistently use __typeof__() rather than typeof() or __typeof()
for compatibility (GCC and clang and, perhaps, other future
compilers) irrespective of -std= compilation options.
2020-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSUUID/basic.m:
Fix stupid mistake using wrong string value
2020-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUUID.m:
* Tests/base/NSUUID/basic.m:
Fix initialisation of NSUUID from string (permit mixed case hex digits)
2020-12-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m:
Fixup incorrect commit
2020-12-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.h:
* Source/GSStream.m:
Improve diagnostic logging
2020-12-09 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c:
Use correct definition for integer type in windows
2020-12-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
Fix unused variable on windows
2020-12-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m:
Add fake interface for NSUserDefaultsWin32 to avoid compiler warning
2020-12-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m:
Only declare variables for systems which use them.
2020-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUUID.m:
Fix typo in comment (incorrect RFC number)
2020-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileCoordinator.m:
* Source/NSItemProvider.m:
* Source/NSSortDescriptor.m:
* Source/NSTimer.m:
Avoid compiler warnings when we do not have real blocks
2020-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GNUstep.h:
Use casts to prevent many compiler warnings when using pseudo-blocks
2020-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBackgroundActivityScheduler.m:
Fixup to import local headers rather than installed versions
2020-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
Avoid compiler warnings on system with pseudo-blocks
2020-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
Fix format string error in -description
2020-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/GSStream.m:
Improve diagnostic output
2020-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
An error in a socketpair only applies to the other socket
if still opening
2020-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSOrderedSet.m:
Use unsigned long for fast enumeration version counter
2020-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSCountedSet.m:
fix typo
2020-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSInsensitiveDictionary.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSSet.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSUnarchiver.m:
Fix to make value pointed to by mutationsPtr be unsigned long.
2020-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
Fix range check for decoded 32bit integer
2020-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m:
Suppress warnings about use of 'private' functions from libdispatch
2020-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/blocks_runtime.m:
Declare external block as const void rather than void for
consistency and to avoid compiler warning
2020-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFastEnumeration.h:
Suppress dll import warnings for objc_enumerationMutation() on mingw
2020-12-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSValue.m:
* Source/NSBackgroundActivityScheduler.m:
Avoid compiler warning
2020-12-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
* Source/NSData.m:
* Source/NSUUID.m:
Use memcpy rather than strncpy/strncat to avoid compiler warnings
2020-12-03 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/NSPropertyList+PLUtil.m:
Import missing NSError header
2020-12-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m:
Use memcpy rather than strncpy to avoid compiler warnings
2020-12-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m:
Tweaks to avoid compiler warnings
2020-12-03 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSJSONSerialization/tests00.m:
Create temporary file in current directory and delete it when done.
This fixes testcase to work on windows.
2020-11-27 Frederik Seiffert <frederik@algoriddim.com>
* configure:
* configure.ac:
Detect objc.lib and add libdir to path on Windows.
2020-11-27 Frederik Seiffert <frederik@algoriddim.com>
* configure:
* configure.ac:
Prefer dispatch/dispatch.h over dispatch.h.
2020-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* .travis.yml:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSURLSession.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/config.h.in:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/Makefile.preamble:
* Source/GNUmakefile:
* Source/GSEasyHandle.h:
* Source/GSEasyHandle.m:
* Source/GSHTTPURLHandle.m:
* Source/GSHTTPURLProtocol.h:
* Source/GSHTTPURLProtocol.m:
* Source/GSMultiHandle.h:
* Source/GSMultiHandle.m:
* Source/GSNativeProtocol.h:
* Source/GSNativeProtocol.m:
* Source/GSTLS.m:
* Source/GSTaskRegistry.h:
* Source/GSTaskRegistry.m:
* Source/GSTimeoutSource.h:
* Source/GSTimeoutSource.m:
* Source/GSTransferState.h:
* Source/GSTransferState.m:
* Source/GSURLPrivate.h:
* Source/GSURLSessionTaskBody.h:
* Source/GSURLSessionTaskBody.m:
* Source/GSURLSessionTaskBodySource.h:
* Source/GSURLSessionTaskBodySource.m:
* Source/NSConcretePointerFunctions.m:
* Source/NSException.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSURLCache.m:
* Source/NSURLConnection.m:
* Source/NSURLProtocol.m:
* Source/NSURLRequest.m:
* Source/NSURLResponse.m:
* Source/NSURLSession.m:
* Source/NSXPCConnection.m:
* Tests/base/NSURL/Helpers/keepalive.m:
* Tests/base/NSURL/test00.m:
* Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.h:
* Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m:
* Tests/base/NSURLConnection/Helpers/TestCase.m:
* Tests/base/NSURLConnection/Helpers/TestWebServer.h:
* Tests/base/NSURLConnection/Helpers/TestWebServer.m:
* Tests/base/NSURLConnection/Helpers/testTestWebServer.m:
* Tests/base/NSURLConnection/test01.m:
* Tests/base/NSURLConnection/test02.m:
* Tests/base/NSURLConnection/test03.m:
* Tests/base/NSURLConnection/test04.m:
* Tests/base/NSURLConnection/test05.m:
* Tests/base/NSURLConnection/test06.m:
* Tests/base/NSURLConnection/test07.m:
* Tests/base/NSURLSession/GNUmakefile.preamble:
* Tests/base/NSURLSession/TestInfo:
* Tests/base/NSURLSession/delegate.g:
* Tests/base/NSURLSession/gdbinit:
* Tests/base/NSURLSession/test01.m:
* Tests/base/NSURLSession/test02.m:
* base.make.in:
* config.mak.in:
* config/addlibrarypath.m4:
* configure:
* configure.ac:
Merge changes for NSURLSession from EngageHub (formerly Brainstorm).
NB. NSURLSession is the third generation URL management API in OSX,
but the previous two generations still exist and are good for much
web-based programming. The NSURLSession code has more deependencies
on recent versions of external libraries (libcurl, http/2 support,
libdispatch) as well as the latest objective-c runtime and the use
of blocks (only available when built using clang and the ng runtime).
2020-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* configure:
* configure.ac:
Remove obsolete checks for garbage collecting runtime
(no longer supported)
2020-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSMutableString+GNUstepBase.m:
* Source/GSString.m:
Add optimisation for the use of GSImmutableString so that it
can make use of the layout of the underlying mutable string
that the GSImmutableString is a proxy for.
2020-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
Rewrite -replaceCharactersInRange:withString: to cope with the
case where the string argument is the receiver (or some proxy
to the receiver etc).
2020-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSMutableString+GNUstepBase.m:
Report YES for GSImmutableString being a proxy
2020-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
Fix for text storage objects setting their content to their
own immutable proxy.
2020-11-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Add casts to avoid compiler warnings
2020-11-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
Minor tidyup for clearer indentation
2020-11-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
Correct checks for validity of the second UTF16 value
in a surrogate pair
2020-11-18 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileHandle.h:
Declare NSURL before using it.
2020-11-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDictionary.m:
Be defensive about checking for key beginning with @
2020-11-17 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSFileHandle.h:
* MISSING:
* Source/NSFileHandle.m:
Add NSFileHandle URL initializers.
Also use "instancetype" for all initializers.
2020-11-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSMime.h:
* Source/Additions/GSMime.m:
Add methods to control size of in-memory queue os emails
2020-11-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m:
Fix bug in offset
2020-06-11 Frederik Seiffert <frederik@algoriddim.com>
* .travis.yml:
Output config.log if build fails on CI.
2020-11-13 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSOperation/threads.m:
Allow more time for operations thread to exit on slow machines
2020-11-12 Frederik Seiffert <frederik@algoriddim.com>
* Source/GSICUString.h:
Fix compilation with ICU 68.
2020-11-12 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/plutil.m:
Allow synonyms for help and print same message as OSX for
unrecognised options.
2020-11-12 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/plutil.m:
Fix missing semicolon
2020-11-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
Avoid building unused functions when new string API is used.
2020-11-07 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/NSPropertyList+PLUtil.h:
* Tools/NSPropertyList+PLUtil.m:
Trivial format fixes
2020-11-07 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/NSPropertyList+PLUtil.m:
* Tools/plutil.m:
Fix a check for a null pointer and add various whitespace/indentation
tidyups.
2020-11-07 Mingye Wang <arthur2e5@aosc.io>
* Tools/plutil.1:
* Tools/plutil.m:
plutil: Some documentation
2020-11-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/plutil.m:
Fixups for format and compilation
2020-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationCenter.m:
Improve logging of an exception when posting a notification so that,
if possible, we include the details of the notification being posted.
2020-10-27 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSRunLoop.h:
* Source/NSRunLoop.m:
fix for compilation error
2020-10-27 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSURLConnection.h:
Add guards for API version
2020-10-26 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSURLConnection.h:
* Source/NSRunLoop.m:
* Source/NSURLConnection.m:
Add methods for 10.5
2020-10-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m:
Fix use of potentially invalid value from heap
2020-10-13 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GNUstep.h:
Change the behavior of ENTER_POOL/LEAVE_POOL so that it no longer
wraps the enclosed section of code in a loop (this was causing
errors when people used the macros inside loops which contained
pre-existing break/continue/return statements). You should not break,
continue, or return from such a block of code (to do so could leak
an autorelease pool and give objects a longer lifetime than they
ought to have. If you wish to leave the block of code early,
you should ensure that doing so causes the autorelease pool outside
the block to be released promptly (since that will implicitly
release the pool created at the start of the block too).
2020-10-12 Adam Fox <adam.fox@eggplant.io>
* Headers/Foundation/NSData.h:
* Source/NSData.m:
* Tests/base/NSData/search.m:
Implementation of [NSData rangeOfData:options:range],
adapted from [NSString rangeOfString:options:range].
2020-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m:
Remove break whose use depends on ENTER_POOL/LEAVE_POOL behavior
2020-10-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
Fix retain/release error
2020-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m:
Improve comments
2020-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
Remove unnecessary retain/release
2020-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
Added autorelease pool around each operation to catch any
autoreleased objects produced by the operation being executed.
This should prevent objects living until the end of the thread.
2020-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSInvocationOperation.m:
Tidied indentation in code
2020-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSOperation.h:
whitespace tidyups
2020-09-23 Mingye Wang <arthur200126@gmail.com>:
* Tools/NSPropertyList+PLUtil.m:
* Tools/plutil.m:
plutil: Add plutil utility.
2020-09-23 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSDictionary/general.m:
Add test for array as key
2020-09-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
Tidied some whitespace/indentation and removed obsolete comment
2020-09-18 Riccardo Mottola <rm@gnu.org>
* .travis.yml:
fix typo
2020-09-17 Riccardo Mottola <rm@gnu.org>
* Source/NSObject.m:
Windows linker doesn't really support WEAK symbols, not even
with gcc10. binutils 2.3.5 fails to link because not all
symbols were exported
2020-09-17 Riccardo Mottola <rm@gnu.org>
* .travis.yml:
Use new option to disable unwind options in Travis build,
patch by Frederik Seiffert
2020-09-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSInsensitiveDictionary.m:
* Source/GSDictionary.m:
Implement fast enumeration for insensitive dictionary
2020-09-05 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSPersonNameComponentsFormatter.m:
Add missing break
2020-08-23 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c:
Avoid coverity warning by using memmove rather than strcpy
2020-08-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSData+GNUstepBase.m:
* Source/Additions/GSXML.m:
Avoid coverity warning
2020-08-30 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSDateComponentsFormatter.m: Fix use of wrong operator.
2020-08-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Improve -contentFile to check the content-type header
before content-disposition
2020-08-03 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSURL.h:
* MISSING:
* Source/NSURL.m:
Add NSURL methods:
2020-08-02 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSNotification.h:
Add NSNotificationName typedef
2020-08-02 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSAttributedString.h:
Add NSAttributedStringKey typedef
2020-07-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
Fix calls to utimensat() which were passing the wrong value
for the first argument, which needs to be the file descriptor
of the directory containing the file, or AT_FDCWD to use the
current directory.
2020-07-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
Set dates on copy ... it turns our OSX does not behave like Posix
2020-07-31 Richard Frith-Macdonald <richard@frithmacdonald.me.uk>
* Tests/base/NSFileManager/general.m:
Add checks for rewriting a file
2020-07-31 Richard Frith-Macdonald <richard@frithmacdonald.me.uk>
Add check for timestamp behavior when writing via NSData method
* Tests/base/NSFileManager/general.m:
2020-07-31 Richard Frith-Macdonald <richard@frithmacdonald.me.uk>
* Tests/base/NSFileManager/general.m:
Add delay to be clear file date is in past before we copy it
2020-07-30 Richard Frith-Macdonald <richard@frithmacdonald.me.uk>
* Tests/base/NSFileManager/general.m:
OSX, unlike Posix, sets the modification and creation dates of
a copy to be the same as the original (within floating point limits).
2020-07-29 Richard Frith-Macdonald <richard@frithmacdonald.me.uk>
* Tests/base/NSFileManager/general.m:
Add test that creation/modification dates of copy differ from original
2020-07-28 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/config.h.in:
* Source/NSException.m:
* configure:
* configure.ac:
Explicitely allow disabling unwind, test for header and function too
2020-07-13 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSURLRequest.h:
* Source/NSURLRequest.m:
Update NSURLRequest header to use "instancetype".
2020-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m:
Move deallocation of zombie map outside lock protected section
so that any exception while deallocating will not cause
unbalanced lock/unlock
2020-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
When copying objects we should not be attempting to set the
creation/modification date of the copy to that of the original.
2020-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLog.m:
Add casts to prevent compiler warnings, and comment to explain
the new change for android where there is no thread ID available
from the operating system.
2020-07-08 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSLog.m:
Don't log current thread if its identical to private thread ID.
This makes the log more succinct when GSLogThread is enabled and the
system doesn't provide an OS-level thread ID (i.e. GSPrivateThreadID()
returns GSCurrentThread()), which would previously cause the NSThread
pointer to be logged twice.
2020-07-08 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSLog.m:
* Source/NSProcessInfo.m:
Improve NSLog output on Android.
We now always set -GSLogSyslog, as stdout/stderr is not available on
Android. Also fixes log output containing extraneous date/time.
2020-07-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m:
We only need to set the ownership of a newly created file on
unix-like systems where the effective user ID may be different
from the real user ID.
2020-07-06 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSThread.m:
Fix possible deadlock when becoming multi-threaded.
2020-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
Replace temporary hack with a rewrite of whitespace checking to
use our own characterset data (derived from unicode data) on
which characters are counted as whitespace for the purpose of
capitalising strings.
2020-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m:
When overwriting a file, do not attempt to set creation date.
When creating a file, try to use the real uid when effective uid
is that of root.
2020-06-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
Simple fix to check for whitespace characters using strchr since
the old mechanism using characterset bitmap representations was
broken by the change to reduce waste in bitmaps (the code assumed
the bitmap was bigger than it really is).
2020-06-24 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSString/NSString_tests.h:
Add a few tests for capitalisation
2020-06-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
* Source/NSString.m:
Check for nil arugment to -isEqualToString:
2020-06-23 Richard Frith-Macdonald <richard@frithmacdonald.me.uk>
* Tests/base/NSString/basic.m:
an empty string is not equal to nil
2020-06-19 Riccardo Mottola <rm@gnu.org>
* Source/inet_ntop.m:
* Source/inet_pton.m:
define WSAAPI to empty if it is undefined, just for safety
2020-06-15 Riccardo Mottola <rm@gnu.org>
* Source/GSSocketStream.m:
* Source/NSHost.m:
* Source/inet_ntop.m:
* Source/inet_pton.m:
specify WSAAPI as return type too, needed for MSYS2-32bit
2020-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/GSTLS/basic.m:
Fix by Yavor Doganiv ... disable certificate expiry test except
on 64bit systems, because old 32bit systems can't cope with the
test certificate end date.
2020-06-11 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSValueTransformer.m:
Fix recursive creation of value transformers.
2020-06-11 Frederik Seiffert <frederik@algoriddim.com>
* Tests/base/NSValueTransformer/TestInfo:
* Tests/base/NSValueTransformer/basic.m:
Add tests for NSValueTransformer.
2020-06-10 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSBundle.m:
Fix Android assets support for bundle directories
2020-06-09 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/config.h.in:
* Source/GSSocketStream.m:
* Source/NSHost.m:
* configure:
* configure.ac:
Explicitely test for ws2tcpip.h header, fix library detection
on windows for inet_ntop with corrent library, guard includes
and definitions with configure results, cleanup header inclusion
2020-06-09 Riccardo Mottola <rm@gnu.org>
* Tools/gdomap.c:
Minor type cast to fix output for platforms where socket is unsigned
2020-06-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m:
Do not attempt to alter creation date of newly created file.
2020-06-03 Frederik Seiffert <frederik@algoriddim.com>
* configure:
* configure.ac:
Fix finding libiconv via cross.config.
2020-06-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
Fix leak of new operation in -blockOperationWithBlock: method.
Make -addExecutionBlock: ensure it works with an on-heap copy
of its argument. Tidy code to have NSBlockOperation methods
with normal formatting and alphabetical order. Tidy code to
use standard macros for memory management.
2020-06-05 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSConfig.h.in:
MSYS and MSYS2 differ in the tricks to include both windows.h
and winsock2.h, use __MINGW32_VERSION to differentiate them
2020-06-05 Riccardo Mottola <rm@gnu.org>
* Source/win32/GSFileHandle.m:
Remove unneeded window headers include, since common.h will
include GSConfig.h
2020-06-05 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSConcreteMapTable.m:
Fix replacing an existing value in a weak objects map table.
2020-06-05 Frederik Seiffert <frederik@algoriddim.com>
* Tests/base/NSMapTable/weakObjects.m:
Test replacing a weak value in NSMapTable.
2020-06-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m:
Change -objectForKey: method to get the contents into a buffer (on
the stack) and iterate through them rather than creating an
autoreleased enumerator.
This avoids allocation/autorelease/deallocation of the enumerator
(as well as retain/release of the search list by the enumerator)
which should give better performance generally and avoid excess
object creation when lots of defaults lookups are done in an
autorelease pool.
2020-05-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m:
Wrap code for posting of notifications (for becoming multithreaded
and for a thread being about to exit) in an autorelease pool.
This should avoid possible leakage of objects and warnings during
the notification process.
2020-05-29 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSThread/late_unregister.m:
tidy whitespace
2020-05-23 Frederik Seiffert <frederik@algoriddim.com>
* ChangeLog:
* Headers/GNUstepBase/GSConfig.h.in:
* Source/GSNetwork.h:
* Source/win32/GSFileHandle.m:
* config/config.reuseaddr.c:
Include winsock2.h before windows.h, as required by MSYS2/MinGW-w64.
2020-05-23 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSException.h:
Fix warning "setjmp" redefined on Windows.
2020-05-15 Frederik Seiffert <frederik@algoriddim.com>
* .travis.yml:
* travis-deps.sh:
Set up CI for Windows using MSYS2/MinGW-w64 and GCC.
2020-05-27 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSFilePresenter.h:
Fix optional NSFilePresenter methods not being declared as optional.
2020-05-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m:
On thread exit we must post the notification that it *will* exit
before setting the instance variable to say that it has finished.
This is tested as the order OSX does it, and makes sense to ensure
that, when -isFinished returns YES we can be sure the thread will
not do anything else.
2020-05-26 Richard Frith-Macdonald <richard@frithmacdonald.me.uk>
* Tests/base/NSThread/late_unregister.m:
Add tests for exactly when notification of thread exit occurs
2020-05-26 Frederik Seiffert <frederik@algoriddim.com>
* Tests/base/NSUserDefaults/general.m:
Extended general tests for NSUserDefaults.
2020-05-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
* Source/NSUnarchiver.m:
Remove excess whitespace and copy trick to NSPortCoder
2020-05-25 Riccardo Mottola <rm@gnu.org>
* Source/NSUnarchiver.m:
Rewrite lower negative bounds to avoid integer constants underflow
of literals
2020-05-25 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSUserDefaults.m:
Store NSNumber instead of NSString for NSUserDefaults -setBool:forKey:.
2020-05-19 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSBundle.m:
* Source/NSFileManager.m:
Android assets improvements to support directories
2020-05-15 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSKeyedArchiver.h:
* Source/NSKeyedUnarchiver.m:
Add set/get for requiresSecureCoding
2020-05-14 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSException.h:
Fix BASE_NATIVE_OBJC_EXCEPTIONS check with OBJC_ZEROCOST_EXCEPTIONS.
2020-05-13 Frederik Seiffert <frederik@algoriddim.com>
* Source/win32/GSFileHandle.m:
* Source/win32/NSMessagePort.m:
Fix building Win32 classes with nonfragile ABI.
2020-05-13 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSKeyedArchiver.h:
* Source/NSKeyedArchiver.m:
Add set/get method for requiresSecureCoding
2020-05-12 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSKeyedArchiver.h:
* Source/NSKeyedArchiver.m:
Fix fred's suggestions. Put guard and make more general method
the one which is called.
2020-05-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendar.m:
Casts to fix systems where the UCalendarDateFields enumeration
is unsigned.
2020-05-11 Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSKeyedArchiver.m:
Send error back
2020-05-11 niwatako <1546218+niwatako@users.noreply.github.com>
* Source/NSJSONSerialization.m:
Fix exponent validation
2020-05-10 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSISO8601DateFormatter.m:
* Source/NSOrthography.m:
Clean up some compiler warnings.
2020-05-09 Fred Kiefer <fredkiefer@gmx.de>
* Tests/base/NSLocale/general.m:
Mark more tests that depend on locale setting as hopes.
* Tests/base/NSURL/basic.m: Use PASS_EQUAL in the downlaod test
to get the actual http status reported.
* Tests/base/NSXMLParser/parse.m: Mark stream test as hopeful
as this isn't implemented at the moment.
2020-05-08 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSXMLParser.m: Fix small bug in last commit that broke
all gui applications when there was a commented out section in
the user default XML file.
2020-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m:
Use RELEASE macro for memory management
2020-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m:
Convert to using indexes into a buffer
2020-05-07 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSLocale.h:
* Source/NSLocale.m:
NSLocale improvements
2020-05-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m:
Reorganise to make the separation of the two parsers clearer.
NSXMLParser is the sloppy parser and can be selected using the
dummy subclass GSSloppyXMLParser while, if we have libxml2,
we can specifically select the strict parser using the
GSStrictXMLParser class.
2020-05-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSXMLParser/basic.m:
* Tests/base/NSXMLParser/parse.m:
Update testcases to cover both parsers
2020-05-05 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSXMLParser.h:
* Headers/GNUstepBase/GSXML.h:
* MISSING:
* Source/Additions/GSXML.m:
* Source/NSXMLParser.m:
* Tests/base/NSXMLParser/parse.m:
Implement -[NSXMLParser initWithStream:].
2020-05-05 Frederik Seiffert <frederik@algoriddim.com>
* Source/unix/NSStream.m:
Add NSInputStream support for reading Android assets from main bundle.
2020-05-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSet.m:
* Tests/base/NSCharacterSet/general.m:
Fix -[NSCharacterSet invertedSet] to work by calling -invert
on a mutable copy
2020-05-04 Riccardo Mottola <rm@gnu.org>
* Source/NSFileManager.m:
In changeFileAttributes implement setting of creation date also
for Unix, which needs to be done before setting the modification date.
Also, implement reading the creation (birth time) date if a supported
method was detected.
2020-05-04 alotorev <artem@lotoriev.com>
* Source/NSURL.m:
* Tests/base/NSURL/basic.m:
Improvements suggested by Fred Kiefer for the current pull request
2020-05-04 alotorev <artem@lotoriev.com>
* Source/NSURL.m:
OSX like behaviour for NSURLQueryItem initialisers
Fixed bugs leading to leaks, no autorelease in NSURLComponents
factory methods.
2020-05-04 alotorev <artem@lotoriev.com>
* Source/NSURL.m:
Fixed initialization NSURLComponents with NSURL, should treat
a query from NSURL as a percent-encoded string.
2020-05-04 alotorev <artem@lotoriev.com>
* Tests/base/NSURL/basic.m:
* Tests/base/NSURL/components.m:
Added tests to highlight some problems of the current
implementation of NSURLQueryItems and NSURLComponent.
The tests passed on OSX.
2020-05-01 niwatako <1546218+niwatako@users.noreply.github.com>
* Source/NSJSONSerialization.m:
Fix loss of buffer in NSJSONSerialization.
2020-05-01 Riccardo Mottola <rm@gnu.org>
* Source/NSFileManager.m:
fix log info
2020-05-01 Riccardo Mottola <rm@gnu.org>
* ChangeLog:
* Headers/GNUstepBase/config.h.in:
* Source/NSFileManager.m:
* configure:
* configure.ac:
Use utimensat() to set file modification date, if available.
2020-04-30 Artem Lotorev <artem@lotoriev.com>
* .gitignore:
* Tests/GNUmakefile:
Added param to run a test on a separate object or test file.
Added .DS_Store to .gitignore
2020-04-28 Artem Lotorev <artem@lotoriev.com>
* Tests/base/NSString/test09.m:
Fixed build issue due to wrong argument in the macro
2020-04-28 Artem Lotorev <artem@lotoriev.com>
* Tests/base/NSString/test09.m:
Added helper method for percent decoding/encoding tests
2020-04-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
Fixup -stringByAddingPercentEncodingWithAllowedCharacters:
to ignore membership of the supplied set if the character
is not in the ASCII range.
2020-04-27 Artem Lotorev <artem@lotoriev.com>
* Tests/base/NSString/test09.m:
Added test for [NSString stringByRemovingPercentEncoding],
updated percent-encoding tests with PASS_EQUAL
2020-04-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
Fix typo spotted by 'alotrev'
2020-04-26 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSLocale.m: Respect NSLocaleCalendarIdentifier if
NSLocaleCalendar isn't set.
* Headers/Foundation/NSCalendar.h,
* Source/NSCalendar.m: Add newer features for NSDateComponents and
started to clean up NSCalendar implementation.
* Tests/base/NSCalendar/features-10-7.m: Add test for different
time zone.
2020-04-25 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSCalendar.h:
* Source/NSCalendar.m:
Add missing NSDateComponents methods.
2020-04-24 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSKeyedArchiver.h:
* Source/NSKeyedArchiver.m:
Start implementing some secure coding methods.
2020-04-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotification.m:
* Tests/base/NSNotification/basic.m:
Override -hash and -isEqual: so that notifications with the same name,
object, and userInfo are considered equal. This is the OSX behavior.
Add tests for notification equality
2020-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLResponse.m:
Fix for NSURLResponse does not allow for multiple Set-Cookie
headers in the same response #85 ... combine multiple header
values as a comma separated list.
2020-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
Fix for Deadlock in NSOperationQueue #49:
If an exception occurs when trying to detach thread,
catch it and log it so that locking is not broken by
the exception breaking out of the lock protected region.
2020-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSHTTPCookie.m:
* Tests/base/NSHTTPCookie/basic.m:
Add testcase for multiple cookies in a header.
Fix error parsing a literal string (writing nul terminator
to read only memory)
2020-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSHTTPCookie.m:
Rewrite code for separating individual cookies from a
comma separated header so it better matches what OSX does
(and is hopefully a bit simpler).
2020-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure:
* configure.ac:
Fix use of OBJC_RUNTIME_LIB before it was initialised.
Thanks to johannes@brakensiek.info for spotting this.
2020-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSProcessInfo+GNUstepBase.m:
Add casts to avoid compiler warnings about types of method
2020-04-15 Richard Frith-Macdonald <richard@frithmacdonald.me.uk>
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSArray+GNUstepBase.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/Additions/NSProcessInfo+GNUstepBase.m:
* Source/Additions/NSPropertyList+GNUstepBase.m:
Fully type method implementation pointers to improve compile time
type checking.
2020-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSObject+GNUstepBase.m:
When building outside GNUstep (additions for apple), include the
runtime declarations and fix error in casting self.
2020-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSVersionMacros.h:
* configure:
* configure.ac:
Remove last vestiges of MIXED ABI support (it didn't really work), and
change code to assume that use of the apple runtime means we have the
nonfragile ABI (true for modern apple systems we may be interested in
using). Regenerate configure script.
2020-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m:
Fix line somehow missed from last commit
2020-04-13 Ivan Vučica <ivan@vucica.net>
* ANNOUNCE:
* Documentation/announce.texi:
Normalize the accompanying text for the release announcement across
core packages: standardize chapter name and GPG information.
2020-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
Remove custom code for percent escaping and replace it with
standard code using custom charactersets.
2020-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSURL/charsets.m:
test the URL component character sets
2020-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURLProtocol.h:
* Source/NSURLProtocol.m:
Fix [NSURLProtocol -initWithRequest:cachedResponse:client:] to retain
the client (up until the last message is sent to it) as OSX does.
2020-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* CharSets/URLFragmentAllowedCharSet.h:
* CharSets/URLHostAllowedCharSet.h:
* CharSets/URLPasswordAllowedCharSet.h:
* CharSets/URLPathAllowedCharSet.h:
* CharSets/URLQueryAllowedCharSet.h:
* CharSets/URLUserAllowedCharSet.h:
Removed character set data headers from non-standard location.
* NSCharacterSet.m:
Fixed to load URL characterset data from standard file.
Changed bitmap representation to use much less space for charsets
residing wholly in the base plane (in particular the URL charsets
which are purely ASCII characters).
* NSCharacterSetData.h:
Regenerated to contain the URL charactersets and to contain the
latest Unicode data (3rd Oct 2019).
2020-04-10 Richard Frith-Macdonald <richard@frithmacdonald.me.uk>
* Tests/base/NSURL/basic.m:
Use PASS_EQUAL for better diagnostics
2020-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GNUstep.h:
Add ASSIGNMUTABLECOPY() macro for consistency with ASSIGNCOPY()
Wolfgang pointed out that the lack of this macro was uninutitive.
2020-04-09 Riccardo Mottola <rm@gnu.org>
* Source/NSFileManager.m:
Implement read and set of File Creation Date attribute on Windows.
2020-04-09 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/config.h.in:
* configure:
* configure.ac:
Add tests for non-POSIX lstat() struct members
2020-04-07 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSOperation.m: Fix completion block memory management.
2020-04-05 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.27.0.
2020-03-29 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSThread.m: Use pthread_setname_np result instead of errno,
which fixes setting thread name on platforms where errno is not set.
2020-03-29 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSURLResponse.m: Fix parsing of NSURLResponse content type
header.
2020-03-29 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSString.m: Attempt to make calls to GSICUCollatorOpen()
more consistent and correct for ICU 65.
2020-03-26 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSError.h:
* Source/NSError.m: Added NSErrorDomain typedef.
2020-03-12 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSURL.m: Fix compiler warnings.
* Headers/Foundation/NSLocale.h:
* Source/NSLocale.m: Add a few convenience methods from MacOS 10.12.
2020-03-10 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSURL.m: fix –[NSURLComponents setURL:] throwing
exception for URLs that don't have all parts.
2020-03-01 Fred Kiefer <fredkiefer@gmx.de>
* Tests/base/NSBundle/TestInfo,
* Tests/base/NSBundle/GNUmakefile.preamble,
* Tests/base/NSBundle/resources2.m: Extend test to check for
framework resource loading.
2020-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Resources/Languages/Locale.canonical:
Backward compatibility fix for ICU 65 by Fred Kiefer
* Resources/Languages/README: Fix trivial typo
2020-02-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/objc-load.m: update GSPrivateSymbolPath() so that, on the
path where LINKER_GETSYMBOL is not available, we attempt to lookup
classes using the prefix ._OBJC_CLASS_ for the 2.0 ABI (earlier
ABIs use a prefix of __objc_class_name_ for the class definition.
2020-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: When building the list of hosts to be probed to see
if they have gdomap servers, fix code to include those explicitly
defined in the config file. Add -S option to list the addresses of
the known gdomap servers.
* Tools/gdomap.8: Document the new command line option.
2020-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSXPCConnection.h: remove unistd.h since
workaround broke blocks code. I guess we have to hope that
sys/types.h has gid_t, pid_t, and uid_t on all systems we target.
2020-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Examples/dictionary.m:
* Examples/nsconnection_client.m:
* Headers/GNUstepBase/GNUstep.h:
* Source/Additions/GSMime.m:
* Source/NSConnection.m:
* Source/NSDictionary.m:
* Source/NSException.m:
* Source/NSFileManager.m:
* Source/NSFileWrapper.m:
* Source/NSTask.m:
* Source/NSUserDefaults.m:
* Tools/AGSIndex.m:
* Tools/AGSOutput.m:
* Tools/cvtenc.m:
Switch various places away from deprecated CREATE_AUTORELEASE_POOL()
to use the ARC-compatible ENTER_POOL and LEAVE_POOL macros.
2020-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSXPCConnection.h: Workaround for clash between
unistd.h and clang's reserved word __block
2020-02-05 Fred Kiefer <fredkiefer@gmx.de>
* configure.ac: Use pkg-config to check for libxml.
* configure: regenerate
2020-01-23 Fred Kiefer <fredkiefer@gmx.de>
* Source/Additions/NSURL+GNUstepBase.m: Handle case where scheme
is missing from the URL.
2020-01-20 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSPredicate.m: Allow simple predicates on NSDate.
2020-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: remove certificate key password from hash key of
credentials since it's unnecessary there and we don't want it to be
logged when debug is on (for security, passwords shouldn't appear
in logs).
2020-01-12 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSPredicate.m: Add support for NSDate constants.
2020-01-12 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSKeyValueObserving.m: Implement two missing KVO methods
on NSArray.
2019-12-15 Fred Kiefer <fredkiefer@gmx.de>
* Headers/GNUstepBase/GSIMap.h: Use GSI_MAP_NODE_IS_EMPTY macros
when checking in enumerator.
* Source/NSConcreteHashTable.m,
* Source/NSConcreteMapTable.m: Revert part of the weak pointer change.
2019-10-17 Frederik Seiffert <frederik@algoriddim.com>
* Tests/base/NSHashTable/weakObjects.m:
* Tests/base/NSMapTable/weakObjects.m:
Added tests for [NSHashTable weakObjectsHashTable] and
[NSMapTable strongToWeakObjectsMapTable].
2019-11-26 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRunLoop.m:
* Tests/base/NSRunLoop/dispatch.m:
Fix runloop integration for libdispatch from swift-corelibs
* .travis.yml:
* travis-deps.yml:
Fix CI related to libdispatch.
2019-11-15 Frederik Seiffert <frederik@algoriddim.com>
* configure.ac: check for unwind.h
* configure: regenerate
* Source/NSException.m: Added support for backtrace symbolication
using libunwind, which will be used when backtrace() is unavailable.
2019-11-14 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSXPCConnection.h,
* Source/NSXPCConnection.m: Fix broken compilation on gcc.
2019-11-12 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: updated to latest info
2019-11-05 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSProcessInfo.h:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
Added support for NSTemporaryDirectory() on Android using subfolder
in folder returned by Context.getCacheDir(), as there is no official
temp dir prior to API level 26. Clean up temp dir on launch in
GSInitializeProcessAndroid(). Also use Context.getCacheDir()
as NSCachesDirectory (with NSUserDomainMask) on Android.
2019-10-27 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSUnit.h,
* Headers/Foundation/NSMeasurement.h,
* Headers/Foundation/NSMeasurementFormatter.h,
* Headers/Foundation/NSEnergyFormatter.h,
* Headers/Foundation/NSLengthFormatter.h,
* Headers/Foundation/NSMassFormatter.h,
* Source/NSUnit.m,
* Source/NSMeasurement.m,
* Source/NSMeasurementFormatter.m,
* Source/NSEnergyFormatter.m,
* Source/NSLengthFormatter.m,
* Source/NSMassFormatter.m,
* Source/NSUnit.m: More cleanup on the measurement code.
2019-10-29 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSStream.h,
* Source/GSStream.m,
* Source/GSSocketStream.m:
Use a more sane implementation to redirect event handling to the
TLS handler while in a handshake.
* Source/GSTLS.m:
Fall back to a sane default if the TLS priority setting is invalid.
2019-10-28 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSSocketStream.m:
Prevent premature deallocation when a socket is closed while in a
TLS handshake.
2019-10-27 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSUnit.h,
* Source/NSUnit.m: Clean up code and fix bugs.
2019-10-17 Frederik Seiffert <frederik@algoriddim.com>
* Source/GSDispatch.h:
* Source/NSArray.m:
* Source/NSDictionary.m:
* Source/NSIndexSet.m:
* Source/NSOrderedSet.m:
* Source/NSSet.m:
Perform non-concurrent block enumeration calls in place instead
of using serial queue to match Apple platforms.
2019-10-25 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSMapTable.h:
* Headers/Foundation/NSHashTable.h:
Added generics support to NSMapTable and updated NSMapTable and
NSHashTable to use "instancetype".
2019-10-02 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSDictionary.m: fixed mutable dictionary keyed subscript
behavior: assigning nil value via keyed subscript now correctly
removes object for key.
2019-09-25 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSProcessInfo.h:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
Added support for data directory on Android. This makes GNUstep use
the path returned by Context.getFilesDir() as the basis for storing
data (e.g. NSUserDefaults) and when querying system directory paths
(NSLibraryDirectory, NSApplicationSupportDirectory, etc.). Requires
calling a new GSInitializeProcessAndroid() initialization function.
2019-09-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: [-removeObjectsInArray:] add checks to prevent
possible crashes, particulary if the method argument is the receiver;
crash seen by Wolfgang.
* Source/GSSocketStream.m: Fix incorrect key when setting old security
level. Change internal API name to avoid confusion.
2019-09-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Re-order code to avoid setting session priority
twice.
* Source/NSFileHandle.m: Fix so that setting certificate information
does not discard any other options already set.
2019-09-16 Alan Jenkins <alan.christopher.jenkins@gmail.com>
* Tools/gdomap.c:
A couple of is_local_net() tests were wrong: they used "&&"
with masks, but that is the logical shortcut operator.
The correct bitwise operator is "&". The result was that
is_local_net() was always returning true!
Only allow local processes to send GDO_SERVERS requests.
This request is only useful locally. Do not allow remote
requests for the server list. Our response can be large,
so it would make a great UDP amplification attack.
2019-08-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Fix for hang when writing large https
requests.
* Source/GSStream.h: improve diagnostics
* Source/GSStream.m: improve diagnostics
* Source/NSURLProtocol.m: improve diagnostics
* Tests/base/NSURLConnection/Helpers/NSURLConnectionTest.m:
* Tests/base/NSURLConnection/test05.m:
Bugfix and new testcase for https request with large (over 64KB) body.
2019-08-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m:
* Source/NSThread.m:
Improve reporting of excess performers so that, when one thread
performs selectors in another, you can see the class of the receiver
and the selector involved.
2019-08-08 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: check for malloc_usable_sizer()
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Headers/Foundation/NSDebug.h: Add GSMemoryBytes()
* Headers/GNUstepBase/NSObject+GNUstepBase.h: Rework memory usage
reporting extensions API.
* Source/Additions/NSMutableString+GNUstepBase.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSData.m:
* Source/NSDebug.m:
* Source/NSDistantObject.m:
* Source/NSObject.m:
* Source/NSProxy.m:
* Source/NSRunLoop.m:
Updates for new memory reporting extensions API. The parts of this
dealing with the size of the contents of an object are now off by
default (trying to calculate the size of an object is problematic if
it is mutated while you are doing it) but classes can implement
-sizeOfContentExcluding: to turn it on if they are thread-safe.
Implementations provided for immutable container objects and for all
strings.
2019-08-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Implement
[NSMutableData+dataWithBytesNoCopy:length:freeWhenDone]
2019-07-28 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSByteCountFormatter.m: Fix to work in non fragile settings.
2019-07-19 Gregory Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSByteCountFormatter.h
* Source/NSByteCountFormatter.m
Implementation of NSByteCountFormatter as documented.
* Tests/base/NSByteCountFormatter
Add test for this class.
2019-07-10 Frederik Seiffert <frederik@algoriddim.com>
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSOrderedSet.h:
Fix generics definition of NSMutableArray and NSMutableOrderedSet.
Fix NSArray and NSOrderedSet KVC method types to not use generic type.
2019-07-14 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSUbiquitousKeyValueStore.m: Change to use GNUstep
formatting. Move simple methods into base class. Correct the usage
of long long NSNumber.
2019-07-10 Gregory Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSUbiquitousKeyValueStore.h
* Source/NSUbiquitousKeyValueStore.m: Implementation of
skeletal version of this class for compilation. Also put in
place a way to make concrete subclasses for various services.
2019-07-02 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tests/base/GSTLS/basic.m: Use fixed time zone.
2019-07-02 Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSOrderedSet.h: Added header for class cluster
implementation of NSOrderedSet.
* Source/NSOrderedSet.m: Implementation of NSOrderedSet and NSMutableOrderedSet
* Source/GSOrderedSet.m: Implementation of concrete class.
2019-07-01 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSXML.m (fatalErrorFunction): Use correct function to get
line number.
* Source/NSOperation.m (_execute): Surround with NS_DURING to free
lock on error.
2019-06-11 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIArray.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSSet.m:
* Source/NSArray.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSData.m:
* Source/NSDictionary.m:
* Source/NSDistantObject.m:
* Source/NSObject.m:
* Source/NSProxy.m:
* Source/NSSet.m:
* Source/NSString.m:
Revise mechanism for extention to report memory usage of individual
objects. This makes the inclusion of size of objects in ivars a
default, while allowing easy extension to include other heap memory.
API change not final.
2019-05-23 Frederik Seiffert <frederik@algoriddim.com>
* configure:
* configure.ac:
Link against libandroid on Android.
* Headers/Foundation/NSBundle.h:
* Source/NSBundle.m:
Added methods for passing Android asset manager from Java to GNUstep
and for getting AAsset/AAssetDir for given path in main bundle.
Skip app bundle suffix check on Android. Extended bundle resource
paths backbone to check for known paths directly on Android as we
can't enumerate directories.
Extended -localizations method to check for known localizations
directly (requires setting userLanguages in NSUserDefaults).
Extracted path cache cleaning into separate method.
* Source/GSFileHandle.h:
* Source/GSFileHandle.m:
Added file handle support for reading Android assets from main bundle.
* Source/NSData.m:
Added support for reading Android assets from main bundle in
readContentsOfFile(). This is also used by all other
-initWithContentsOfFile: and related methods from other classes.
* Source/NSFileManager.m:
Added support for Android assets from main bundle in
fileExistsAtPath:isDirectory:, isReadableFileAtPath:,
NSDirectoryEnumerator, and copying from assets. Extended
GSAttrDictionary with basic support for Android assets.
* Source/NSProcessInfo.m:
Added +initialize method to auto-initialize NSProcessInfo on Android
using fake executable path "/data/data/<app identifier>/exe" (Android
apps don't have a real executable path).
2019-05-20 Frederik Seiffert <frederik@algoriddim.com>
* Source/NSLog.m: Have all logs go to syslog on android.
* Source/NSThread.m: Spinlock implementation using builtins as
implemented by David in libobjc2
* Source/NSRunLoop.m
* Headers/GNUstepBase/config.h.in:
* configure.ac:
This updates the libdispatch runloop integration to be compatible with
the Swift corelibs libdispatch release at
(https://github.com/apple/swift-corelibs-libdispatch).
In that release, the main queue handle and drain functions have been
renamed with a "_4CF" (for CoreFoundation) suffix and have moved to
private.h, so we now check for the existance of this header and
function names.
Note that libdispatch must be compiled with
INSTALL_PRIVATE_HEADERS=YES.
Also fixes the checks for the HAVE_LIBDISPATCH_RUNLOOP define (was
inverted) and ensures that both the handle and drain functions are
available.
2019-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Removed public functions which could conflict
with application code. Rewrote percent unescaping to avoid possible
buffer overruns.
* Tests/base/NSString/test09.m: avoid excess logging (for readability
of test output).
2019-04-12 Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSCharacterSet.m: Added declarations/implementations for
URL*AllowedCharacterSet.
* Headers/NSCharacterSet.h: Added declarations here for
URL*AllowedCharacterSet
* Source/CharSets/*: Added headers to define new charactersets.
* Source/NSString.m: Added methods stringByRemovingPercentEncoding/
stringByAddingPercentEncodingWithAllowedCharacterSet:
* Header/NSString.h: Added declrations for methods mentioned above.
2019-03-29 Igor Zhukov <fsb4000@yandex.ru>
* Source/NSDateFormatter.m:
* configure:
* configure.ac:
Decrease ICU version requirements to 49 to support Windows 2000.
2019-03-25 Sergii Stoian <stoyan255@gmail.com>
* Resources/Lanuages/Ukrainian:
Fix wrong \U sequence for letter 'i' and short weekdays.
2019-03-18 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/gdomap.c:
Fix crash in donames() when getaddrinfo returns an error.
2019-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unidoce.m: comment-out left-over debug logging.
* Source/NSJSONSerialization.m: escape characters with codepoint
greater than 0x7f.
2019-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: When encoding quoted words in a header, ensure
we don't split multibyte utf-8 characters into separate words.
* Tests/base/GSMime/general.m: Add test for encode/decode folded
subject line wit a euro symbol at the fold point.
2019-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/objc-load.m:
GSPrivateSymbolPath() simplified by removing the unused argument
and consolidated code so that, if the class lookup via dladdr()
fails, we fall back to use __objc_dynamic_get_symbol_path().
2019-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Fix encoded word encoding specifier
to be uppercase ('B' or 'Q') as pere strict RFC specification.
* Tests/base/GSMime/build.m: Add testcase for correct encoding.
2019-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/GSTLS/basic.m: Update testcase to use correct guard.
2019-02-12 Ivan Vucica <ivan@vucica.net>
* Headers/GNUstepBase/GSTLS.h: Change guard to check for value of
GS_USE_GNUTLS and not for its defined state. This preprocessor
constant might be defined with a zero value indicating desire not to
use GnuTLS, which would still pass the old check.
2019-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Improve thread safety with NSZombie particularly
on startup/shutdown; be more careful about locking access to the
zombieMap and also ensuring we don't raise an exception inside the
locked sections (by passing a nil map to the functions).
2019-01-06 Armando Pesenti Gritti <armando.pesentigritti@theengagehub.com>
* Headers/GNUstepBase/GSTLS.h: Header moved to provide public
exposure of TLS classes giving ObjC interface to GNU TLS.
* Source/GSTLS.m: New methods to provide certificate expiry times.
* Source/DocMakefile: Make documentation from GSTLS.h
* Source/GNUmakefile: Install GSTLS.h
* Source/GSHTTPURLHandle.m: Adjust location of GSTLS header
* Source/GSSocketStream.m: Adjust location of GSTLS header
* Source/NSFileHandle.m: Adjust location of GSTLS header
* Source/NSURLProtocol.m: Adjust location of GSTLS header
* Tests/base/GSTLS: Add tests for certificate expiry
Patch by Armando, adjusted by RFM.
2019-01-06 Fred Kiefer <fredkiefer@gmx.de>
* Source/Additions/Unicode.m: Move variable u to the correct scope
and initialize it.
2019-01-06 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE:
* NEWS:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Update release notes for 1.26.0.
* Version:
Bump version to 1.26.0.
2019-01-06 Ivan Vucica <ivan@vucica.net>
* Tests/base/NSBundle/resources.m:
Fixed change in 2107c82ca4778e4cf9b8624d1bd1fd60fe104373 which made
NSArray *arr become invisible to the "NSBundle GNUstep resources"
test set.
2019-01-06 Ivan Vucica <ivan@vucica.net>
* config/icu.m4:
* configure.ac:
Merge the change to use pkg-config to detect ICU. Patch by Hugh
McMaster <hugh.mcmaster@outlook.com>.
Update PR #32 to require ICU 5.0+ and not 4.6+.
* configure:
Regenerated to incorporate the changes from PR #32. Regenerated with
autoconf 2.69.
2019-01-06 Fred Kiefer <fredkiefer@gmx.de>
* Documentation/news.texi: Update release notes for 1.26.0.
* ChangeLog: Fix typos in this document.
2019-01-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
Track the age of TLS sessions for server connections and, when
accepting an incoming connection, replace the current server
connection (if the existing one is more than 5 minutes old) so
that cached certificate information will be updated from file
(eg if a certificate needs to be updated while a server is running).
2018-12-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/Foundation/NSObject.h:
Remove reference to the copyWithZone: implementation of NSObject,
which was removed ages ago.
2018-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURLHandle.h:
* Source/NSURLHandle.m:
* Source/GSHTTPURLHandle.m:
Expose GNUstep specific methods for old code that depends on them.
Newer code should use the newer HTTP/HTTPS APIs
2018-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSURL+GNUstepBase.h:
* Source/NSURL.m:
Add [-cacheKey] method to return a key usable for caching HTTP URL
connections that go to the same scheme, host and port.
* Source/GSHTTPURLHandle.m:
New [-setURL:] method to change the URL used by a handle so that
a networek connection used by a handle can be re-used if possible
(ie if the scheme, host and port parts are unchanged).
2018-08-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Fixup for last modification ... still verify the
certificate (so we can find out who issued/owns it) even if we do
not have verification turned on ... the verification setting controls
whether we reject the connection. Also fixed off by one bug in
getting the issuer and owner distinguished names.
2018-08-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Change behavior so that when acting as a server we
always request that the client sends us a certificate (if it doesn't
have one, it should ignore the request). The 'verify' setting should
control only whether a request without a certificate is rejected.
2018-08-08 Riccardo Mottola <rm@gnu.org>
* configure.ac
* configure:
When checking for pthread_np.h include pthread.h if available or
it may fail (e.g. OpenBSD).
2018-08-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Update the cache on change of volatile
domain or search list, not just when perstistent domain values
change.
2018-07-19 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: Updated zone info and corrected preferred
abbreviation mappings to match OSX.
2018-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: improve utf8 validity checks,
switch to state machine based utf8 parsing for better performance.
* Tests/base/NSString/utf8.m: add a few tests for utf8 parsing.
2018-07-10 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
When using clang, we now supply -fobjc-runtime=gcc to target the
gnu/gcc runtime ABI.
2018-07-07 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSString.m: Add primitive implementation for
rangeOfComposedCharacterSequencesForRange:.
2018-07-06 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSString.m: Remove GSString copyWithZone:.
* Source/NSString.m: Raise exception when no data is provided for the
string. This brings our implementation closer to the Cocoa one.
* Source/GSString.m: Add similar exceptions.
2018-07-02 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSString/test00.m: : Move _unicodeString from here...
* Source/GSString.m: ... to here.
In order to reliably test the internal 16bit unicode implementation
we must have a method guaranteed to produce an instance of the correct
class.
2018-07-01 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSString.m: Small cleanup for printf registration.
* Tests/base/NSString/test00.m: Add David Chisnall's test from
newapi branch slightly reformatted.
* Source/GSString.m: Remove code that was identical to super class.
* Source/GSString.m: Move the method _unicodeString from here...
* Tests/base/NSString/test00.m: ...to here.
2018-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Fix conversion of numeric entities with large
values into UTF-16 surrogate pairs before returning them as string.
2018-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/Base.gsdoc:
* Source/GSPrivate.h:
* Source/NSException.m:
* Source/NSUserDefaults.m:
Add boolean GSExceptionStackTrace user default to turn on inclusion
of stack trace information in the -description of an exception
(like the GNUSTEP_STACK_TRACE environment variable). Useful for
diagnostic logs of a long running server process.
2018-04-30 Graham Lee <graham@iamleeg.com>
* Source/NSCalendar.m (calendarWithIdentifier:):
New convenience method implemented by Cocoa.
2018-05-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: avoid static initialisation macro for allocation
locks in case some systems implement it in a way that doesn't work
after static initialisation takes place.
2018-05-27 Fred Kiefer <fredkiefer@gmx.de>
* Tests/base/NSProcessInfo/general.m: Mark test for -systemUptime
as hopeful as it may fail in GNU Hurd.
Fixes bug #53941.
Based on idea by Yavor Doganov <yavor@gnu.org>
2018-05-21 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSConcreteValueTemplate.m: Add hack to make point and
size subclasses for NSValue interchangable.
2018-05-20 Ivan Vucica <ivan@vucica.net>
* Source/NSThread.m:
Fix typo in code branch for platforms without pthread_spin_lock().
Check for value of HAVE_PTHREAD_SPIN_LOCK instead of whether the
macro is defined.
2018-05-18 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdnc.m: Remove a little unused code
* Headers/Foundation/NSFileHandle.h:
* Source/GSHTTPURLHandle.m:
* Source/GSSocketStream.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSURLProtocol.m:
Add support for TLS SNI (Server Name Indication) and a new option
(GSTLSServerName) to control what name (if any) is passed in the TLS
handshake.
2018-05-17 Yavor Doganov <yavor@gnu.org>
* Tests/base/NSNumberFormatter/basic10_4.m: Avoid test failure on
big-endian platforms by converting unichar to an NSString.
2018-05-10 Fred Kiefer <fredkiefer@gmx.de>
* Tools/pl2link.m (main): Don't write deprecated fields to desktop
link file.
Patch by: Josh Freeman <gnustep_lists@twilightedge.com>
2018-04-24 Richard Frith-Macdonald <rfm@gnu.org>
* configure: regenerate
* NSObject.m: tiny cosmetic whitespace tidyup
* NSThread.m: move declarations to avoid compiler warning
2018-04-23 Riccardo Mottola <rm@gnu.org>
* Source/NSThread.m:
Detect if platform is missing spin locks and provide an dummy
implementation. Emit warning during compilation and runtime (in debug).
2018-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: ensure that the thread specific memory key is
initialised before use.
2018-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Improve -symbold method on platforms without
backtrace support (list addresses with a message to say the symbols
are not available).
2018-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: Using class_createInstance() to allocate locks
seems to be causing memory issues and crashes somehow. Temporarily
comment out that code to try to get things working again.
2018-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
* Source/NSArray.m:
* Source/NSCharacterSet.m:
* Source/NSString.m:
Use pthread mutex directly to try to avoid initialising NSLock too
early on during process startup.
2018-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Don't set the name of the global lock until
after we have make sure that strings and autorelease are set up.
2018-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
* Source/GSHTTPAuthentication.m:
* Source/GSHTTPURLHandle.m:
* Source/GSMDNSNetServices.m:
* Source/GSURLPrivate.h:
* Source/NSCalendar.m:
* Source/NSCharacterSet.m:
* Source/NSConnection.m:
* Source/NSCountedSet.m:
* Source/NSIndexPath.m:
* Source/NSKeyValueObserving.m:
* Source/NSLocale.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSUserDefaults.m:
* Source/NSValueTransformer.m:
Replace the obsolete GSLazyLock code with standard NSLocks now that
almost all significant software is multithreaded.
2018-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: When adding a new thread, set the thread specific
memory to point to the object before doing anything else which might
attempt to access the thread (causing recursive registration).
2018-04-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/unicode/cop.h: Add comment/fixme
* Source/Additions/Unicode.m:
* Source/NSString.m:
Move uni_isnonsp() to NSString.m and make it use nonBaseCharacterSet
so that it correctly copes with both surrogate pairs and traditional
composed character sequences. NB. David points out that this is not
full/correct unicode grapheme cluster handling (it's the main part
of the handling for 'legacy' grapheme clusters).
2018-04-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSThread.h:
* Source/GSPrivate.h:
* Source/NSException.m:
* Source/NSLock.m:
* Source/NSThread.m:
Revised code for efficient stack traces and for tracking the use of
locks and detecting deadlocks.
2018-03-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Fix second argument to backtrace()
2018-03-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Use pthread mutexes directly to avoid
recursive interactions with tracking NSL:ock activity.
2018-03-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSDebug.m:
* Source/NSException.m:
* Source/NSThread.m:
* Headers/Foundation/NSThread.h:
Move stack info code from NSDebug to NSException so its all in one
place and. Make thread call stack addresses method use windows code
as well as libbacktrace. Remove unused method.
* Source/NSTimeZone.m:
Simplify and optimise locking by using pthread_mutex functions
directly.
2018-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m:
Avoid recursion in lock tracing when using memory allocation stats.
* Source/NSObject.m:
Make gnustep_global_lock an untraced lock to avoid recursion issues
when tracing.
2018-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSThread.h:
* Source/GSPrivate.h:
* Source/NSLock.m:
* Source/NSThread.m:
Experimental code to add support for tracing locks held by different
threads and to report deadlock situations where threads have
obtained locks in the wrong order and can never proceed.
2018-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSOperation.m:
Give locks names to ease debugging
* Source/NSObject.m:
* Source/NSZone.m:
Updates to use pthread mutexes directly rather than NSLock objects
in key places for performance.
2018-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPThread.h:
* Source/GSException.m:
Optimise generation of stack traces to store them in a single simple
malloced buffer and only generate an NSArray of return addresses if
actually requested. Also adjust output of stack trace to exclude the
top few frames involved in generation of the trace, so we see only
the frames of interest.
2018-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSLock.h: Expose pointer to function handling
logging of deadlocks.
* Source/NSLock.m: Indirect via pointer so apps can intercept the
logging of deadlocks.
* Source/GSHTTPURLHandle.m: Provide more detailed debug logging.
* Source/NSURLProtocol.m: Provide more detailed debug logs.
2018-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSeq.h: Fixup error in last modification.
* Source/GSString.m: Add method to reliably get a GSUnicodeString
* Tests/base/NSString/test00.m: Fix tests to properly check range
searches using all combinations of 8bit and 16bit representation
strings.
2018-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSeq.h: Fix boundary checks searching for unicode strings.
2018-02-16 Yavor Doganov <yavor@gnu.org>
* Tests/base/NSNumberFormatter/basic10_4.m: Extend test expression
to fix test failure with ICU 60.2.
2018-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Fix strncat length limits.
2018-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: fix missing fieldwidth specified in fscanf call
2018-02-09 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSXMLElement.m(-addAttribute:): Correct linear list code
for name spaces. This fixes the last remaining Coverity issue.
2018-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.h
* Source/NSUnarchiver.h
Improve checks for loss of data converting sizes of scalar types.
2018-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAttributedString.m: remove a little dead code
* Tests/base/NSMutableAttributedString/test00.m: add sanity checks
* Tests/base/NSMutableAttributedString/test01.m: add sanity checks
* Source/GSString.m: raise exception on character conversion failure
* Source/NSNumberFormatter.m: remove dead code
* Source/NSPropertyList.m: avoid warnings using cast to void
* Source/NSMessagePortNameServer.m: added security checks
* Source/NSDecimal.m: tweak underflow setting for negative numbers
* Tools/AGSHtml.m: remove useless test
2018-02-07 Yavor Doganov <yavor@gnu.org>
* Source/NSPortMessage.m (sendBeforeDate:): Invoke
-sendBeforeDate:msgid:components:from:reserved: so that the value
of _msgid is taken into account.
(initWithSendPort:receivePort:components:): Set _msgid to 0.
2018-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h:
* Source/NSAssertionHandler.m:
* Documentation/manual/ExceptionHandling.texi:
Update NSAssert() and NSCAssert() to handle variable arguments
(as OSX has done) and mark the numbered macros as obsolete.
* Source/NSMessagePort.m:
* Source/NSSocketPort.m: Log if we fail to turn on keepalive
* Source/NSURL.m: fix possible nul pointer dereference
* Source/NSPropertyList.m: check step before use
* Source/NSDate.m: add comment that we are ignoring non-digits
* Source/NSCache.m: use double division for calcualting averrage
* Source/NSPredicate.m: check for termination of quoted strings
2018-02-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m: Remove redundant (always true) conditional.
Use cast to mask 64bit values.
* Source/NSUnarchiver.m: Remove redundant (always true) conditional.
* Source/NSPropertyList.m: Remove dead code
* Source/NSDecimal.m: Remove dead code, tweak underflow setting for
negated numbbers.
* Tools/gdnc.m: Remove dead code
2018-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: keep checker happy by using return value of
setsockopt.
* Source/Additions/Unicode.m: ensure iconv handle is closed
* Source/NSLocale.m: localeIdentifierFromComponents should cope with
collation alone being set.
* Source/GSString.m: better handling if character conversion fails.
* Source/NSRunLoop.m: suppress warning using cast.
* Source/NSTimeZone.m: check that time zone hour is in range 0 to 23
2018-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFTPURLHandle.m: change memcpy to memmove to avoid possible
problems with overlapping source and destination areas.
* Source/Additions/Unicode.m: ensure iconv handle is closed
* Source/NSXMLParser.m: fix incorrect type assignment
2018-02-01 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSFormat.m: Call va_end with the correct parameter.
* Source/NSObject+NSComparisonMethods.m: Add missing return.
* Source/GSString.m (-replaceCharactersInRange:withString:,
-initWithBytesNoCopy:...freeWhenDone:): Remove dead code.
* Source/NSDistantObject.m (-initWithCoder:): Remove dead code.
* Source/NSPredicate.m (_eval_avg:): Don't devide by zero.
Fix issues found by Coverity.
2018-01-26 Richard Frith-Macdonald <rfm@gnu.org>
* NSCharacterSets/GNUmakefile:
* NSCharacterSets/alphanumericCharSet.dat:
* NSCharacterSets/controlCharSet.dat:
* NSCharacterSets/dataToHeader.c:
* NSCharacterSets/decimalDigitCharSet.dat:
* NSCharacterSets/decomposableCharSet.dat:
* NSCharacterSets/illegalCharSet.dat:
* NSCharacterSets/letterCharSet.dat:
* NSCharacterSets/lowercaseLetterCharSet.dat:
* NSCharacterSets/newlineCharSet.dat:
* NSCharacterSets/nonBaseCharSet.dat:
* NSCharacterSets/punctuationCharSet.dat:
* NSCharacterSets/symbolAndOperatorCharSet.dat:
* NSCharacterSets/uppercaseLetterCharSet.dat:
* NSCharacterSets/whitespaceAndNlCharSet.dat:
* NSCharacterSets/whitespaceCharSet.dat:
Obsolete files deleted.
* NSCharacterSets/README.CharSet: updated
* Source/NSCharacterSetData.h: regenerated using the ucsdata library
and the charsets tools to take into account the fact that a unicode
zero width space should be counted as white space by us.
* Source/NSURL.m: A few OSX compatibility tweaks.
* Tests/base/NSURL/basic.m: A couple more OSX compatibility tests.
2018-01-25 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h:
* Source/NSException.m:
* Source/Additions/NSObject+GNUstepBase.m:
Mark exception raising methods with GS_NORETURN_METHOD.
Alter noreturn method implementations so the compiler knows
that they really don't return.
Use pragma to suppress warnings about noreturn methods whose
formal declaration says they return an id.
2018-01-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSNumber+GNUstepBase.m:
* Source/GSValue.m:
* Source/NSZone.m:
* Tools/gdomap.c:
Fix various small issues picked by automated checker.
2018-01-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Makefile.postamble: Restore optimisation flags (removed 18
years ago) for NSInvocation and NSConnection (and remove obsolete
mframe setting) as suggested by Yavor Doganov.
2018-01-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Improve exception message when performing a
selector on a finished thread.
* Source/NSTask.m: Do not try to notify task completion on a thread
that is not executing.
* configure.ac: Fix for older versions of pkg-config
* configure: regenerate
2018-01-14 Yavor Doganov <yavor@gnu.org>
* Tests/base/NSXMLDocument/basic.m:
* Tests/base/NSXMLDocument/cdata.m:
* Tests/base/NSXMLNode/basic.m:
* Tests/base/NSXMLElement/attributes.m:
* Tests/base/NSXMLElement/basic.m:
* Tests/base/NSXMLElement/children.m:
* Tests/base/NSXMLElement/transfer.m:
* Tests/base/NSXMLNode/children.m:
* Tests/base/NSXMLNode/description.m:
* Tests/base/NSXMLNode/kinds.m:
* Tests/base/NSXMLNode/namespaces.m: Skip tests if libxml2 is not
available.
* Tests/base/NSTimeZone/use.m: Skip one more test if
NSLOCALE_SUPPORTED is undefined.
* Tests/base/NSRegularExpression/basic.m: Skip all tests if ICU is
not available.
2018-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Remove explicit test for SAX2.h as we now assume
it is present based on the version of libxml2.
* configure: regenerate
* Source/GSXML.m: fix errors in loading/resolving of external entities
and fix the parsing methods to correctly return whether the xml was
validated against a DTD (when that feature is turned on).
* Tests/base/GSXML/basic.m: add a couple of tests for resolving
external references and validating against a DTD.
2018-01-14 Yavor Doganov <yavor@gnu.org>
* configure.ac: Use PKG_PROG_PKG_CONFIG instead of AC_PATH_PROG to
find pkg-config as it supports cross-compilation.
* configure.ac: Bump ICU requirement to >= 50 for UDAT_PATTERN.
2018-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: OSX compatibility tweaks and correction
for setting entity resolution flag in sloppy parser.
* Headers/GNUstepBase/GSXML.h: new [-resolveEntities:] method to
enable resolving of external entities (now off by default).
* Source/Additions/GSXML.m: Changes to turn off resolving of
external entity references my default (adding a new method to turn
the feature back on) as a security fix to prevent xml injection
attacks (eg where an attacker gets the local password file substituted
into an xml document).
* Tests/base/NSXMLParser/parse.m: external entity resolution test.
* Tests/base/GSXML/basic.m: external entity resolution test.
2018-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fix bug with one path to object allocation
failing to record the object for memory debuggin purposes.
2018-01-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
Tweaks for OSX compatibility ... treat a missing path in an http URL
as an empty string rather than as nil.
2018-01-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
* Tests/base/NSFileManager/general.m:
Added <graham@iamleeg.com> Graham Lee's fix for #51592 to not raise
an assertion, but rather call the handler if the source file being
copied does not exist.
2017-12-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m:
* Source/NSMessagePort.m:
* Source/win32/NSMessagePort.m:
There is a possible race condition when attempting to write a message
to a port; the port handle is added to the run loop and then the loop
is entered, but if an event occurs in the loop which invalidates the
handle and causes it to be removed from the loop before the lower
level code to wait for I/O is entered, the loop may never receive an
event on the handle and could wait indefinitely.
The solution is not to remove the handle from the loop when it is
invalidated or when an event occurs on an invalidated handle, but
only remove it in the method which added it. Of course, this means
we must make certain to remove it when we should, which means that
the loop must be run inside an exception handler which makes sure to
remove the handle from the loop before re-raising the exception.
2017-12-31 Ivan Vucica <ivan@vucica.net>
* ANNOUNCE
* NEWS
* Documentation/ReleaseNotes.gsdoc
* Documentation/news.texi: Update release notes for 1.25.1 to
take note of compatibility improvement changes since release
notes were written, and to fix a typo.
2017-12-21 Riccardo Mottola <rm@gnu.org>
* Source/NSObject.m:
Cleanup previous commit.
2017-12-21 Riccardo Mottola <rm@gnu.org>
* Source/NSObject.m:
Compatibility for OS/compiler not supporting weak symbols.
2017-12-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Remove obsolete --enable-objc-nonfragile-abi flag
when building for ng.
* configure: regenerate
2017-12-19 Richard Frith-Macdonald <rfm@gnu.org>
* Version: 1.25.1 release
* Documentation/ReleaseNotes.gsdoc: update for release
* Documentation/news.texi: update for release
* ANNOUNCE: regenerate
* INSTALL: regenerate
* NEWS: regenerate
* README: regenerate
2017-12-18 Graham Lee <graham@iamleeg.com>
* Source/NSJSONSerialization.m: Fix for bug #12 on github. This
makes sure that unsigned integer types are written as such,
avoiding a potential overflow.
* Tests/base/NSJSONSerialization/tests00.m: Test case for above.
2017-12-17 David Chisnall <theraven@sucs.org>
* Source/NSObject.m: Refactor refcount usage.
This makes it easier for the runtime to change how reference
counts are
stored by removing any refcount manipulation from -base when
the runtime
provides accessors. This should have no functionality
change with
existing runtimes, but will let newer runtimes drop in
alternative
representations easily.
2017-12-03 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m: Correct setting the delegate.
Add new symbolic link method.
2017-11-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Fix for bug reported on github by zneak.
2017-11-04 Fred Kiefer <fredkiefer@gmx.de>
* Source/GSLocale.m: Protect against
GSPrivateNativeCStringEncoding() corrupting the return value of
setlocale(). Bug #52331 reported by Jakub Wilk <jwilk@jwilk.net>.
2017-10-26 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Fix how UDateFormat is created. Fixes
bug #52011.
2017-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Improve handling in case where we try to perform
a method in a thread and it can't be woken (the pipe to awaken the run
loop is full). Instead of blocking forever, give up after a second.
Typically pipe buffers are from 4KB to 64KB so a full buffer almost
certainly indicates that the thread is hung.
2017-08-24 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Fix bug in ISO code methods.
2017-08-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: Fixed error where the presence of a
Location error was taken to indicate a redirect rather than looking
at the HTTP status code for a 3xx value.
2017-08-16 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLDownload.h:
As of macOS 10.7, NSURLDownloadDelegate is exposed formally as a
protocol. This adds the declaration to make this true for GNUstep.
2017-08-15 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSTextCheckingResult.h:
Define missing constants in the NSTextCheckingResult header.
2017-08-04 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSObjCRuntime.h:
Add empty definitions for OSX Availability macros for compatibility
purposes.
2017-07-10 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSString.m (lengthUTF8):
Characters outside the BMP cannot be converted to Latin 1 string
encoding either.
* Tests/base/NSString/pairs.m (main):
* Tests/base/NSString/unichar_const.m:
Add test cases.
2017-07-07 Riccardo Mottola <rm@gnu.org>
* Source/NSProcessInfo.m:
Fix GetTickCount()/GetTickCount64() for different Windows versions.
2017-07-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: When an object's retain count is incremented too
far, track it so that we only raise an exception about it once (and
make the exception message more informative so we can more easily
tell what object has been leaked).
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m:
Implement a method for getting attribytes of a file system path. Reuse
the implementation of -fileSystemAttributesAtPath: for this purpose but
export the last system errors to the caller. Make
-fileSystemAttributesAtPath: use the new implementation, without
exposing error info to the caller.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/Foundation.h
* Headers/Foundation/NSFileCoordinator.h
* Headers/Foundation/NSFilePresenter.h
* Headers/Foundation/NSFileVersion.h
* Headers/Foundation/NSURLSession.h
* Source/GNUmakefile
* Source/NSFileCoordinator.m
* Source/NSFileVersion.m
* Source/NSURLSession.m:
Generate class stubs (without any method definition) for
NSFileCoordinator, NSFilePresenter, NSFileVersion and NSURLSession.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLConnection.h:
Currently, NSURLConnectionDelegate methods were defined as a category of
an NSObject. The same definitions were copied over to a new
NSURLConnectionDelegate protocol, introduced in OSX 10.7.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLCredential.h
* Source/NSURLCredential.m:
Declare the NSURLCredentialPersistenceSynchronizable enumeration case to
NSURLCredential persistence options. Since GNUstep does not support
iCloud synchronization for credentials, this case will default to
NSURLCredentialPersistencePermanent.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLProtectionSpace.h
* Source/GSHTTPAuthentication.m
* Source/NSURLProtectionSpace.m:
Improve handling of NSURL authentication methods. Make "HTMLForm"
authentication a no-op as it should be instead of making it fall back to
Basic authentication.
Add stubs for NTLM and Negotiate IIS methods. They should be easily
implementable given the current framework for authentication methods.
Add stubs for ClientCertificate and ServerTrust authentication methods.
A blocker for supporting them is the lack of a Security.framework
implementation (since they rely on SecTrustRef). They would also require
additions to the current SSL handling code for GNUstep https requests.
Also stub the -distinguishedNames property of NSURLProtectionSpace,
which also deals with certificate-related authentication methods.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURLRequest.h:
Add new values for the NSURLCachePolicy enum. Although
NSURLRequestReloadIgnoringLocalAndRemoteCacheData and
NSURLRequestReloadRevalidatingCacheData have been left unimplemented,
the same applies for the reference platform, so not supporting it does
not break API compatibility.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSZone.h:
Implement NSMakeCollectable(), an interface which makes CoreFoundation
objects eligible for garbage collection.
Since garbage collection is a totally deprecated API, and support has
now been removed from GNUstep, its implementation is a no-op.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSProcessInfo.h
* Source/NSProcessInfo.m:
Add stubs for sudden termination APIs and for application activity
management methods.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSProcessInfo.h
* Source/NSProcessInfo.m
* Tests/base/NSProcessInfo/general.m:
Introduce the systemUptime property to NSProcessInfo, which can compute
platform-independently what is the uptime of the system.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Source/NSHTTPCookie.m
* Tests/base/NSHTTPCookie/basic.m:
Fix a bug in NSHTTPCookie's Set-Cookie parser where it would fail to
parse more than one key-only cookie (such as "Secure; HTTPOnly;") in a
header.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSHTTPCookie.h
* Source/NSHTTPCookie.m
* Tests/base/NSHTTPCookie/basic.m:
Add support for parsing HTTPOnly cookies (those that cannot be accessed
by clients). Implement -[NSHTTPCookie isHTTPOnly].
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSHTTPCookie.h:
Make -[NSHTTPCookie isSessionOnly] and -[NSHTTPCookie isSecure] methods
become properties if possible, so that they can be also queried as
`cookie.sessionOnly` and `cookie.secure`. This increases compatibility
with applications that rely on this notation.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m:
Create NSFileManagerDelegate, a more modern manner to verify whether to
proceed a file operation after an error or whether an operation should
actually be performed by NSFileManager.
No functionality using the delegate is yet implemented.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURL.h
* Source/NSURL.m
* Source/externs.m:
Create an unimplemented stub for NSURL's -getResourceValue:... method,
which can gather a numerous set of information about a URL.
Define the constants which are passed into -getResourceValue:... for
requiring information so that a build that relies on this method does
not break.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURL.h:
Create the NSURL.fileURL property to increase compatibility with
applications that rely on this.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURL.h
* Source/NSURL.m:
The OSX filesystem implements "aliases", a species of symlink which
tracks its source if it was moved. Create stubs for the NSURL functions
which handle these aliases.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSURL.h
* Source/NSURL.m:
Implement +[NSURL fileURLWithPath:isDirectory:], a class method added in
OSX 10.5, which was missing from the implementation.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSCoder.h
* Headers/Foundation/NSObject.h
* Source/NSCoder.m
* Source/NSKeyedUnarchiver.m:
Implement stubs for NSSecureCoding which do not break projects that rely
on it.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSDate.h
* Source/NSDate.m:
Declare a system clock change notification. Base still does not emit
this notification, but this allows applications that wait for it not to
have their build broken.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSObjCRuntime.h:
Create the NS_ROOT_CLASS macro, a wrapper around the objc_root_class
compiler attribute.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSObjCRuntime.h:
Make NS_AVAILABLE and NS_CLASS_AVAILABLE macros no-ops so that their
absence does not break projects that rely on it.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSCalendar.h:
Update NSCalendarUnit definitions with a newer specification from Cocoa.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSCalendar.h:
Add the NSCalendarOptions enum to NSCalendar for compatibility purposes.
While NSCalendar does not yet know how to handle them, it will not
generate build errors in projects that attempt to use them.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSCalendar.h
* Source/NSCalendar.m
* Source/NSLocale.m:
Add new calendar identifier constants to NSCalendar, to add
compatibility for newer OSX applications. Some identifiers do not hold
parity with the older equivalents and have been left unimplemented, with
the gregorian calendar as a fallback.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/NSGeometry.h
* Source/NSGeometry.m
* Tests/base/Functions/NSGeometry1.m:
Create the NSEdgeInsets struct in NSGeometry, introduced in OSX 10.7.
Add helper functions for creating these insets.
This struct is not used in Base. Rather, it is used as part of newer
APIs in GUI.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/Foundation/FoundationErrors.h:
Create a no-file-exists error to the FoundationErrors enums. No function
is yet implemented to throw this error, but it has been added for
compatibility with applications that handle it.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* Headers/GNUstepBase/GSVersionMacros.h:
To keep compatibility with compilers prior to Objective-C 2.0 support,
added in the GCC 4.6 series, we are unable to always declare @property
attributes in classes. However, compatibility with dot-syntax
applications require us to define properties if we can.
We already had some checks for the GS_HAS_DECLARED_PROPERTIES macro to
see whether we could or could not declare properties (or whether we
should fall back to manual getter/setter defining). However, it seems
this macro never got defined.
This commit adds this macro, checking whether we possess either GCC >=
4.6 or Clang.
2017-06-29 Daniel Ferreira <dtf@stanford.edu>
* .gitignore:
Create a .gitignore file to ease Base development using the Git version
control system. This stops object files, automake products and test
files from being accidentally inserted into the tree.
2017-06-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedLock.m: Revert recent changes to use O/S
specific system calls, and depend on new behavior of the
-createDirectoryAtPath:attributes: method instead. Add comment.
2017-06-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Make directory creation semantics match OSX
* Tests/base/NSFileManager/general.m: Add directory creation testcases
* Tests/base/NSDistributedLock/basic.m: Cleanup lock after tests
2017-06-17 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h: Fix GSI_MAP_NODE_IS_EMPTY macros as
suggested by Daniel Ferreira <bnmvco@gmail.com>
2017-06-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedLock.m: Change code to create lock directory
directly rather than via the NSFileManager methods since Wolfgang
pointed out that those methods consider a pre-existing directory to
have been successfully created, but the distributed locking logic
supposes that an attempt to create an existing directory will fail.
* Tests/base/NSDistributedLock:
* Tests/base/NSDistributedLock/TestInfo:
* Tests/base/NSDistributedLock/basic.m:
Add a few simple testcases for NSDistributedLock.
2017-05-19 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileHandle.h:
* Source/GSSocketStream.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
Add code to make the issuer and owner of a client certificate
available when we require/verify an incoming certificate.
2017-05-10 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/gdomap.c (nameServer, donames): Fix incorrect use
addresses returned from getaddrinfo.
2017-04-24 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSOutput.m: When generating class/method links, treat '['
as the start of a class/method only if it's the start of a comment
or is preceded by white space ... allows array syntax like foo[x] to
be used in a comment without attempting to link to a class named 'x'.
2017-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Version: 1.25.0 release
* Documentation/ReleaseNotes.gsdoc: update for release
* Documentation/news.texi: update for release
* ANNOUNCE: regenerate
* INSTALL: regenerate
* NEWS: regenerate
* README: regenerate
2017-04-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m:
* Tests/base/NSPredicate/basic.m:
Fixes for bug #47618.
2017-04-09 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSTask.h:
* Source/NSTask.m:
Apply OSX compatibility fix for NSTask notifications (bug #49021)
by Larry Campbell.
2017-04-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: Fix leak spotted by David Lobron.
2017-04-01 Riccardo Mottola <rm@gnu.org>
* Source/NSConnection.m
Correct format specifier to char*
2017-03-17 Riccardo Mottola <rm@gnu.org>
* Source/NSFileManager.m:(nextObject of Enumerator)
Skip file if no valid filename could be retrieved most probably due
to Charset mismatches, this is is more a last resort: probably a
lossy conversion should be attempted before.
2017-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZones/NSTimeZones.tar: Updated with latest information.
2017-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Implement NSNonLossyASCIIStringEncoding
in a manner compatible with OSX. Added regression tests.
2017-02-11 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSICUString.m (UTextNSStringAccess,
UTextInitWithNSMutableString, UTextInitWithNSString):
Fix a serious misunderstanding of the icu string access API: The
value of nativeIndexingLimit must not exceed the length of the
current chunk. Otherwise icu library macros could miss to properly
reinitialize chunks, which, for instance, could lead to returning
regular expression matches outside the selected range.
2017-01-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Use getaddrinfo rather than gethostbyname if
available (bug #50032).
2016-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Fix missing line preventing documentation of
enumeration constants.
2016-11-28 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Additions/NSCalendarDate+GNUstepBase.m (weekOfYear): Fix
an off by 1 calculation which meant that weekOfYear would return 2
for the first week of a year whenever the first Thursday of that
year is 7 Jan, for instance 2016.
2016-11-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
* Source/NSUnarchiver.m:
Fix for logic error decoding archives created by a machine with a
different word size. Was checking the size of the encoded scalar
item, but not against the *local* size of the same type.
2016-11-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fix error in last mod ... was calculating opbject
layout incorrectly when fast-ARC moce used on 64bit system.
Also simplified by removing special case optimising for single-threaded
programs and use inline decrement to improve performance of release.
2016-10-28 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSObject.m: Re-enable fast-ARC mode when memory layout
and atomic operations support permit. This changes the size of the
field where the reference count is stored to the size of a pointer
in some configurations.
The effective maximum reference count is still 2^24 - 1.
2016-10-27 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSObject.m: Comment out _ARCCompliantRetainRelease for
now because the retain count representation in gnustep-base and
libobjc2 differs causing space leaks on 64-bit architectures.
2016-10-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Only atempt to read regular files into NSData,
* Source/NSMessagePortNameServer.m: Ignore lock directories in the
'names' directory.
* Source/NSTask.m Increase files to close from 256 to 2048 to better
reflect typical modern system limits.
All changes for problems spotted by Wolfgang.
2016-10-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSDate.h: Add documentation
* Source/NSDate.m: Tidy up and remove a little redundant code.
* Source/NSRunLoop.m: Tidy up and empty autorelease pool more often.
* Source/NSTimer.m: Tidy a little and improvde -description
2016-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSTLS.h:
* Source/GSTLS.m:
Fix for double free issues when assigning certificat/key to
credentials fails.
2016-10-12 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRegularExpression.m: Fix crashes in libicu due to
* ignored error codes. Also fix a few memory leaks.
* Tests/base/NSRegularExpression/basic.m: Test cases for this.
2016-10-11 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTLS.m
* configure.ac
* Headers/GNUstepBase/config.h.in:
Check for gnutls_x509_privkey_import2() and use it if
available.
* configure: Regenerate
* Tests/base/GSTLS:
Test case for loading an OpenSSL encrypted private key.
2016-10-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Check for modification of source file
during copy.
2016-10-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Permit noncharacter unicode codepoints
* Source/GSString.m: Permit noncharacter unicode codepoints
* Source/NSNotificationQueue.m: Call GSPrivateCheckTasks()
* Source/NSRunLoop.m: Let GSPrivateNotifyASAP() check for task exit.
2016-09-19 Niels Grewe <niels.grewe@halbordnung.de>>
* Source/Additions/GSMime.m (charsetForXml):
Fix detection of charset in XML document.
* Tests/base/GSMime/xml-charset.m: Test case.
2016-09-16 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Additions/GSMime.m (convertTo7BitSafe):
Add missing checks to avoid calling caseInsensitiveCompare: with a
nil argument.
2016-09-16 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTLS.m: Fix bug removing mapped certificates.
2016-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSScanner.h:
* Source/NSScanner.m:
* Tests/base/NSScanner/test01.m:
Add support for scanHexLongLong method inspired/based on patch from
Abbas Raza, but with minor bugfixes, reduced code duplication, and
avoiding compiler warnings.
2016-08-30 Abbas Raza <abbas.raza.1707@gmail.com>
* Source/NSJSONSerialization.m: Generate NSError rather than raising
exception if the trailing '"' in the dsocument is missing.
2016-08-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: Fix typo which was causing premature termination of
long headers.
2016-08-19 Richard Frith-Macdonald <rfm@gnu.org>
* config/objc-common.g: Darwin patch by David Wetzel
* Source/CompatibilityHeaders.make: Delete obsolete file
* configure.ac: Check for libdispatch runloop integration functions
* Headers/GNUstepBase/GSConfig.h.in: New define for libdispatch
* config.mak.in: New define for libdispatch
* Tests/base/NSRunLoop/dispatch.m: Use new define
* configure: Regenerate
* Source/Additions/Makefile.preamble:
* Source/GNUmakefile:
* Source/Makefile.postamble:
* Source/Makefile.preamble:
* Source/ObjectiveC2/Makefile.preamble:
* Source/unix/Makefile.preamble:
* Source/win32/Makefile.preamble:
* Tools/Makefile.preamble:
* Tools/make_strings/GNUmakefile.preamble:
Mostly tweaks for building cleanly non-flattened and removal of a few
long deprecated directories/headers.
Configuration time change by David Wetzel for building on OSX
2016-07-27 Niels Grewe <niels.grewe@halbordnung.de>
* Header/Foundation/NSData.h
* Source/NSData.m:
Make the deallocator block a direct ivar of NSDataMalloc
(or NSMutableDataMalloc respectively). Breaks binary
compatibility but avoids reallocating objects based on
the initializer used.
2016-07-26 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSDictionary.m
* Tests/base/NSDictionary/general.m:
Fix -getObjects:andKeys:
2016-07-26 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSData.h
* Source/NSData.m
* Tests/base/NSData/general.m:
Implement OS X 10.9 method -initWithBytesNoCopy:length:deallocator:
that allows customising data deallocation based on a caller
supplied block. Also adds test cases for this functionality.
2016-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m:
* Source/GSSocketStream.m:
In -close we should close the underlying file descriptor (even if the
stream has not formally been opened yet) to ensure we don't leak it.
In -dealloc, if the file descriptor still exists, we should call the
-close method.
2016-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSObject+GNUstepbase.m: use separate lock to
protect at exit methods ... avoid conflict/deadlock with multithreaded
notification change.
2016-07-18 Larry Campbell <lcampbel@akamai.com>
* Source/NSThread.m: Send notification about becoming multithreaded
when the new thread is registered from outside our API.
2016-07-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: avoid sorting the queue ... keep the array of
waiting operations sorted by inserting new operations at the correct
position and observing the queuePriority of waiting operations (and
re-positiuoning them in the waiting array as necessary).
Fix for scalability problem (bug #47926)
2016-07-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSRunLoopCtxt.m: fix bug in return value when polling.
The poll method must return YES if any input source fired, including
handling of windows messages which are already available and require
no wait.
2016-07-15 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* Headers/GNUstepBase/config.h.in:
* Source/GSQuickSort.m:
* Source/GSShellSort.m:
* Source/GSSorting.h:
* Source/GSTimSort.m:
* Source/NSSortDescriptor.m:
Make sorting algorithms selectable at runtime rather than compile
time.
2016-07-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m (-acceptInputForMode:beforeDate:):
Closer to OSX behavior ... when accepting input we should fire all
timers (possibly repeatedly) since a timer is not counted as an
input source. Also simplify housekeeping timer so that it will
keep loops running as it does on OSX.
2016-07-12 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h
* Headers/GNUstepBase/GNUstep.h:
Add NS_DESIGNATED_INITIALIZER macro
2016-07-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSICUString.m (UTextNSStringAccess):
Fix to use signed integer variables so all the comparisons with zero
as a boundary actually work as intended etc (spotted by Wolfgang).
* Source/NSRunLoop.m: Closer to OSX behavior ... a nil date is treated
like a date in the distant past (ie loop terminates at once), and the
(-runUntilDate:) method fires any pending timers when given a date in
the past.
2016-07-12 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSICUString.m (UTextNSStringAccess): Fix unsigned
comparison to properly detect integer underflows.
2016-07-06 Niels Grewe <niels.grewe@halbordnung.de>
* Tests/base/NSRegularExpression/basic.m: Test for -pattern
double free.
2016-07-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSRegularExpression.m (-pattern): Fix bug where a UText
structure owned by the icu library is incorrectly closed, which
was causing a crash when -pattern is called more than once for the
same NSRegularExpression.
2016-07-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m: Remove some unnecessary locking
* Source/NSOperation.m: Simplify handling of finishing of operation
to avoid occasional deadlock if an operation finishes in one thread
while in another thread we are waiting for it.
2016-07-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSICUString.m: For immutable strings, cache the string
length in the UText structure to avoid repeated calls to -length
2016-06-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSICUString.m: Re-implement the function to let ICU access
the contents of an NSString. The original version looks like it was
broken for cases where an algorithm is moving backwards in the string
(reverse search and regular expression parsing).
I hope the new implementation is correct (or at least clearer); the
ICU documentation is minimal and I didn't find any reference/example
implementations to work from.
2016-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m: Yse setjmp/longjmp from NSException.h
* Headers/Foundation/NSException.h: On mingw-w64 use the builtin
setjmp/longjmp provided by gcc since the mingw version sometimes
crashes.
2016-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* SSL: Openssl bundle directory deleted
* GNUmakefile: Don't build openssl bundle
* Source/NSFileHandle.m: Don't load openssl bundle
* configure.ac: remove option to build bundle
* configure: regenerate
* Documentation/ReleaseNotes.gsdoc:
* Documentation/install.texi:
* Documentation/news.texi:
* Documentation/readme.texi:
Updates to note that the obsolete openssl bundle has been removed.
2016-06-26 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSTask.h:
* Source/NSTask.m:
* Tests/base/NSTask/general.m:
* Tests/base/NSTask/notify.m:
Add -terminationReason method from OSX10.5
2016-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePort.m:
* config/config.reuseaddr.c:
Hack to work around Hurd local domain socket bug.
Plus don't try to set SO_REUSEADDR on local domain sockets anyway.
2016-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/Base.gsdoc:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
* Source/Makefile.postamble:
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSTask.m:
* Source/NSThread.m:
* configure:
* configure.ac:
When using non-flattened environment, the subdirectory name for
libraries/binaries is changed for Debian compatibility (and simplicity)
to use a directory whose name is of the form architecture/library-combo
rather than nested directories of the form cpu/os-abi/library-combo.
The architecture name format is a sanitised triplet cpu-os-abi (where
previously we had cpu/os-abi).
These changes are the first step in making GNUstep work seamlessly
with Debian multiarch. To use them you will need to rebuild your
entire gnustep installation using a version of gnustep-make which
has correspoinding changes to know where to install bbinaries and
resources. However, the changes should have no effect on a flattened
installation (currently the default).
2016-06-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedNotificationCenter.m: Double timeout from five
to ten seconds when waiting for the server to become reachable.
* Tools/gdnc.m: Auto-stop 15 seconds after the last client disconnects
rather than immediately ... allowing other clients time to connect.
Changes to reduce the chance of gdnc failure on a slow system where
the server is not running as a daemon.
2016-06-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Optimise getting ascii or utf8 characters
from a literal string.
2016-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Make sure we treat the reference count as a
32bit integer everywhere, so that atomic operations operate on the
correct value on big endian CPUs with different word sizes.
* Source/NSOperation.m: When starting an operation, have it retain
itself in case it'ss removed from the queue and released while
running.
* Headers/Foundation/NSDistributedLock.h: Add lock ivar.
* Source/NSDistributedLock.m: Make class thread-safe using lock.
* Source/Tests/base/KVC/mutable.m: Fix 64bit error in method types.
2016-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/cifframe.m: Use sizeof(NSInteger) as the buffer size for
small scalars if we are on an LP64 machine.
* Source/NSOperation.m: Retain operation while taking it from queue,
releasing after it is finished. Prevent crash if the original owner
of the operation releases it while it's in the queue.
2016-06-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
* Source/NSURLprotocol.m:
When sending HTTP headers, use RFC2047 rules (as specified in HTTP/1.1
RFC2616) to encode non-ascii characters.
2016-06-17 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSRegularExpression.h
* Source/NSRegularExpression.m
* Tests/base/NSRegularExpression/basic.m:
Implement resource limits for regular expression evaluation. Tweaked
to roughly match the Cocoa behaviour, but can be changed through
the GSRegularExpressionWorkLimit user default.
2016-06-17 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRegularExpression.m: Implement -isEqual: and -hash
* Tests/base/NSRegularExpression/basic.m: Test NSCopying
2016-06-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Fix for failure of connect() call.
* Source/GSStream.m: Fix event handling for failed streams.
* Tests/NSURLConnection/test01.m: Add testcases, fix reset of delegate.
Fixes for kfreebsd network stack being clever enough to fail the
connect() call if the remote port is on the same machine and has
no process listening on it. Reported by Heintzmann
2016-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/Base.gsdoc:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
Documentation/release notes preparation for next release.
* Source/Makefile.postamble:
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSString.m:
* Source/NSTask.m:
* configure.ac:
Changes to use the new multiarch path component cpu-host rather
than a host subdirectory inside a cpu directory.
* configure: Regenerate
2016-06-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Fix output conversion to 7bit to work for quoted-printable.
Also, when generating headers, generate conventionally
capitalised names.
2016-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Conversion of multipart document between base64 and binary encoding
should use quoted-printable rather than base64 for text parts.
Rename -convertToBase64 to be -convertTo7BitSafe instead.
2016-05-27 Niels Grewe <niels.grewe@halbordnung.de>
* Tools/AGSParser.m: Ignore __asm__ directives
2016-05-19 Seong Gu Lee <sgleehd@gmail.com>
* GNUmakefile:
* Source/Additions/Makefile.preamble:
* Source/ObjectiveC2/Makefile.preamble:
* Source/unix/Makefile.preamble:
* Source/win32/Makefile.preamble:
mingw64 tweaks
2016-05-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: attempt fix for bug #47619
2016-05-18 Eric Heintzmann <heintzmann.eric@free.fr>
* ChangeLog.2:
* Documentation/news.texi:
* Headers/Foundation/NSAutoreleasePool.h:
* NEWS:
* Source/GSSocksParser/GSSocksParser.m:
* Source/NSAutoreleasePool.m:
* Source/NSConnection.m:
* Source/NSKeyedUnarchiver.m:
* Tools/AGSParser.m:
Fix typos andss spelling erros, including the setPoolCountThreshold:
method.
2016-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/manual/manual.texi:
* Source/GSSocksParser/GSSocks4Parser.m:
* Source/GSSocksParser/GSSocks5Parser.m:
* Tools/pldes.1:
Trivial fixes based on debian package.
2016-05-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/config.h.in:
* Source/NSException.m:
* configure.ac:
* configure:
Make USE_BFD control usage of libbfd and replace runtime warning with
a configure time warning about the license issue.
2016-05-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSZone.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Source/GSQuickSort.m:
* Source/GSString.m:
* Source/GSTimSort.m:
* Source/NSAutoreleasePool.m:
* Source/NSConcretePointerFunctions.h:
* Source/NSGarbageCollector.m:
* Source/NSNotificationCenter.m:
* Source/NSObject.m:
* Source/NSThread.m:
* Source/NSZone.m:
Completed(?) removal of GC support.
Plus various minor reorganisations to avoid compiler warnings.
2016-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Fix bug encoding very long headers with no whitespace to fold on.
* Source/NSThread.m:
Avoid use of autorelease pool when setting the name of the thread
(fix pointless warnings logs spotted by Wolfgang).
2016-05-06 18:03-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSString.h: Add containsString:
* Headers/GNUstepBase/GSVersionMacros.h: Add 10.10 and 10.11 macros.
* Source/NSString.m: Add containsString: implementation.
2016-04-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m:
Check for a pool being deallocated when it has already been
deallocated (and raise an exception).
2016-04-23 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/GSAvahiNetService.m: Avahi-based NSNetServices did crash
upon publishing if Avahi daemon did not run. Hardened code for this
case which also works correctly if daemon is started later on.
2016-04-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m:
Remove redundant code. Log domain names when debug is enabled.
2016-04-08 Riccardo Mottola <rm@gnu.org>
* Source/NSUserDefaults.m:
Skip nil domains explicitely and do not use nil values to look them up.
2016-04-04 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for runloop integration hooks in libdispatch
* configure
* Headers/GNUstepBase/config.h.in
* SSL/config.h.in
* SSL/configure:
Regenerate
* Source/NSRunLoop.m: If available, monitor the file descriptor for
the libdispatch main queue and drain it when it becomes readable.
* Tests/base/NSRunLoop/dispatch.m
* Tests/base/NSRunLoop/GNUmakefile.preamble:
Tests for libdispatch runloop integration
2016-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h:
* Headers/GNUstepBase/GNUstep.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSIArray.h:
* Headers/GNUstepBase/GSIMap.h:
* Source/Additions/GCDictionary.m:
* Source/Additions/GSLock.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/Unicode.m:
* Source/GSArray.m:
* Source/GSAttributedString.m:
* Source/GSConcreteValueTemplate.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSHTTPAuthentication.m:
* Source/GSRunLoopCtxt.h:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSArchiver.m:
* Source/NSArray.m:
* Source/NSAutoreleasePool.m:
* Source/NSCalendar.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSConcretePointerFunctions.h:
* Source/NSConcretePointerFunctions.m:
* Source/NSConnection.m:
* Source/NSCountedSet.m:
* Source/NSData.m:
* Source/NSDebug.m:
* Source/NSDictionary.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSFileManager.m:
* Source/NSGarbageCollector.m:
* Source/NSHashTable.m:
* Source/NSIndexSet.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSMapTable.m:
* Source/NSMessagePort.m:
* Source/NSNotificationCenter.m:
* Source/NSNotificationQueue.m:
* Source/NSObject.m:
* Source/NSPointerArray.m:
* Source/NSPortCoder.m:
* Source/NSProxy.m:
* Source/NSRunLoop.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
* Source/NSSocketPort.m:
* Source/NSString.m:
* Source/NSThread.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSURLConnection.m:
* Source/NSURLProtocol.m:
* Source/NSUnarchiver.m:
* Source/NSZone.m:
* Source/callframe.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopCtxt.m:
* Tools/AGSHtml.m:
* Tools/AGSOutput.m:
* Tools/AGSParser.m:
* Tools/autogsdoc.m:
* Tools/gdnc.m:
* Tools/make_strings/make_strings.m:
* configure.ac:
* macosx/config.h:
Removal of garbage collection support.
2016-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumber.m: Attempt to fix endianness archiving issue.
2016-03-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Remove unused function. Change binary
plist generation to return NO if our index table needs to grow,
rather than raising exceptions during normal operation.
2016-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
* ANNOUNCE:
* NEWS:
* NSTimeZones/NSTimeZones.tar:
* Tools/AGSParser.m:
* Version:
Update version for new release. Add short news/announce entries.
Update timezone information to latest IANA data.
Add simple support for generics to autogsdoc.
2016-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Wait longer for locks on slow systems
Improve tracking of changes in persistent domains.
2016-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSXML.h:
* Source/Additions/GSXML.m:
* Source/GSHTTPURLHandle.m:
* Source/NSConnection.m:
* Source/NSDistantObject.m:
* Source/NSURLHandle.m:
* Source/NSURLRequest.m:
Make -setDebug: consistently set/return an integer even if the
underlying meaning is boolean. Avoid compiler warnings when
calling the method on an id and signature is not known.
2016-03-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m:
* Source/NSTimeZone.m:
Use NSInteger conmsistently (don't mix with int).
2016-03-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Log if we break the lock.
* Source/NSDistributedLock.m: Unlock if dealloc'ed while locked.
2016-03-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Remove five year old code for converting
old style single defaults file to new style (one file per domain).
Add some thread safety locks for distriobuted locking in case some
thread issue is causing Riccardo's problem.
2016-03-11 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSPredicate.h:
Include NSString.h so that we the header knows about NSString
conforming to NSCopying.
2016-03-10 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSMime.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSDictionary.m:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSArray.m:
* Source/NSBundle.m:
* Source/NSFileManager.m:
* Source/NSJSONSerialization.m:
* Source/NSPointerArray.m:
* Source/NSPredicate.m:
* Source/NSPropertyList.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
* Source/NSSortDescriptor.m:
* Source/NSString.m:
* Source/NSTimeZone.m:
* Source/NSUserDefaults.m:
Deprecate -makeImmutableCopyOnFail: and replace with -makeImmutable.
The new method has the essential functionality of the old one,
but omits the confusing ownership semantics and is therefore less
likely to cause errors (and more amenable to use with ARC.)
2016-03-10 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/Foundation/NSLocale.h:
* Source/NSLocale.m (+localeWithLocaleIdentifier:):
Add trivial method introduced in OS X 10.6.
2016-03-09 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSPathUtilities.h
* Source/NSPathUtilities.m
Add some new path values.
2016-03-09 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSPredicate.h
* Source/NSPredicate.m
* Tests/base/NSPredicate/basic.m:
Implementation and tests for +predicateWithBlock: and
-evaluateWithObject:substitutionVariables:
2016-03-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m:
* Source/GSSocketStream.h:
* Source/NSTimeZone.m:
* Source/GSSocketStream.m:
* Source/NSCalendarDate.m:
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/GSRunLoopWatcher.m:
* Source/NSUserDefaults.m:
* Source/GSStream.m:
* Source/NSDebug.m:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
* Source/GSHTTPURLHandle.m:
* Source/NSPage.m:
* Source/GSRunLoopCtxt.h:
* Source/GSPrivate.h:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/objc-load.m:
* Source/NSException.m:
* Source/NSURL.m:
* Source/NSObject.m:
* Source/NSString.m:
* Source/cifframe.h:
* Source/Additions/NSData+GNUstepBase.m:
* Source/Additions/NSError+GNUstepBase.m:
* Source/Additions/NSTask+GNUstepBase.m:
* Source/NSConnection.m:
* Source/GSPortPrivate.h:
* Source/NSThread.m:
* Source/NSData.m:
* Source/NSHost.m:
* Source/GSNetwork.h:
* Source/NSPipe.m:
* Source/GSFileHandle.h:
* Source/NSLog.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
* Tests/base/NSTask/launch.m:
* Tests/base/NSURL/basic.m:
* Tests/base/NSURL/mystep.m:
* Tests/base/NSString/test02.m:
More changes to standardise on using _WIN32 define for windows.
2016-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendar.m: Fix 64bit issue with undefined components.
* Source/NSBundle.m:
* Source/NSFileManager.m:
* SSL/GSSSLHandle.m:
* Headers/GNUstepBase/GSConfig.h.in:
* macosx/GNUstepBase/preface.h:
Standardise on using _WIN32 and _WIN64 defines, following the
informal convention used by all the compilers we might be compiled with.
* Source/win32/GSFileHandle.m: Various network/file bugfixes.
2016-03-01 Richard Frith-Macdonald <rfm@gnu.org>
Modifications to last batch of changes in order to get the code to
build again on 32bit msys/mingw
2016-03-01 Seong Gu Lee <sgleehd@gmail.com>
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSTypeEncoding.h:
* Source/GSFileHandle.h:
* Source/win32/GSFileHandle.m:
Tweaks for WIN64 build
2016-02-29 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
* NSCalendar.m:
Don't require recent ICU just for the method
([-components:fromDate:toDate:options:]).
Leave the method as a no-op if older versions are used.
2016-02-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Based on testplant patch, fix bug with
ownership when copying subdirectories.
* Source/NSTask.m OSX compatibility tweak .. raise an exception if
the task can't be launched.
* Source/NSNumberFormatter.m: Fixes for symbol indexes.
2016-02-26 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h: Declare the FOUNDATION_EXPORT
macro as an alias for GS_EXPORT.
2016-02-24 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSArray.h:
* Source/NSArray.m:
Correct argument types in ([-objectAtIndexedSubscript:]) and
([setObject:atIndexedSubscript:]) to match OSX.
Apply patch by Patrick Laurent <plaurent@me.com> to fix bug setting
an object at the end of the array.
2016-02-22 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h: Add macros for backwards-
compatible generics annotations. Also define instancetype if necessary.
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSCache.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSEnumerator.h:
* Headers/Foundation/NSSet.h: Update interfaces for instancetype and
generics.
* Source/NSCache.m: Use NSMapTable instead of NSMutableDictionary.
The API contract for NSCache stipulates that keys are not copied, so
using a dictionary wasn't apropriate.
* Source/NSConnection.m:
* Source/NSData.m: Small type safety improvements (mostly to keep the
compiler happy).
* Source/NSDictionary.m: Change id to id<NSCopying> in a few places to
avoid compiler warnings.
* Tests/base/NSCache:
* Tests/base/NSCache/TestInfo:
* Tests/base/NSCache/basic.m:
* Tests/base/NSCache/cache.m:
Test cases eviction from NSCache. Turns out we currently only evict
NSDiscardableContent, while the API documentation seems to suggest
that cost and count based eviction without NSDiscardableContent is
also possible.
2016-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Fold using tabs between key=value tokens in structured headers
in the hope that it will improve compatibility with code which
doesn't cope well with a space as the folding character.
2016-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Use NSDebugLog for most debug warnings
* Source/NSUserDefaults.m: Restructure to cache flag information
from NSProcessInfo directly on initialization, so it can be used
when parsing property lists in the argument domain, avoiding any
recursion trying to parse arguments. Remove obsolete code for
for parsing -GS and --GS argument prefixes specially.
Make sure that argument parsiong behavior matches OSX apart from
The handling of a lone '-' used as key/value, and for this case
document the difference (since the GNUstep behavior is more useful
and changing it would have a real chance of breaking existing code).
2016-02-12 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h: Define macros for
non-null sections if available.
2016-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: In GSCurrentThread() the check for exiting
thread needs to NOT be wrapped in an exception handler, since the
exception handling code can attempt to get the current thread,
causing recursion.
2016-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m:
Remove dependency on NSUserDefaults in order to parse property list
in program arguments ... get boolean defaults settings from the
argument domain
2016-02-09 Larry Campbell <lcampbel@akamai.com>
* Source/NSUserDefaults.m: Fix for bug #46956
2016-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Use uint32_t rather than unsigned long ... we are
actually dealing with 4 byte values (from htonl), not native longs,
and this can result in buffer overrun when we try copying a 64bit
value into a 32bit buffer on a 64bit system.
2016-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Fix for decoding base64 with unknown characters
after a trailing '='
2016-01-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: keep key=value pairs in structured fields
on the same line if possible.
2016-01-29 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSThread.m: Automatic 'late' unregistration of thread objects:
When +exit is not called, we no longer log a warning and leak the
thread object.
Instead, we add it to a map table, keyed under the current thread ID,
and use that in GSCurrentThread() to find the correct NSThread object
if pthread_getspecific wont return it to us.
* Tests/base/NSThread/late_unregister.m: Test case for late
unregistration.
2016-01-21 Niels Grewe <niels.grewe@halbordnung.de>
* Source/Additions/GSMime.m: Fix folding of headers containing
a '_' character.
2016-01-21 Niels Grewe <niels.grewe@halbordnung.de>
* Tests/base/GSMime/general.m: Test case for quoted boundary
parameter failure.
2016-01-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix errors in conversion from a constant utf-8
string containing non-ascii characters to latin1 encoded data.
* Source/Additions/GSMime.m: Change line folding code to preserve
exact whitespace (using encoded words if necessary). Add support
for generating more readable 'q' encoded words rather than just
base64 encoded. Uses old behavior of folding with a tab character
if the GSMimeOldStyleFolding user default is set to YES, though
it's likely that this backward compatibility feature will be removed
in future.
2015-12-30 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/NSNumberFormatter.m: fixed a subtle off-by-one formatter
bug in conjunction with zero padding and NSNumberFormatterBehavior10_0.
* Tests/base/NSNumberFormatter/basic.m: added a test for this
particular issue
2015-12-29 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/NSUserNotification.m: "NSUserNotificationDefaultSoundName"
constant string was declared but missing, fixed
2015-12-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLElement.m: For OSX compatibility, raise an exception
it we attempt to insert an element which is already the child of
some other element.
2015-11-30: Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSCalendar.m:
* Headers/Foundation/NSCalendar.h:
Implement -components:fromDate:toDate:options:. (Not handling
NSWrapCalendarComponents yet.)
* Tests/base/NSCalendar/component-diff.m:
Test case for new functionality.
2015-11-22 Riccardo Mottola <rm@gnu.org>
* Source/NSFileManager.m (createDirectoryAtPath)
Should return success even if all path components do exist,
as by Apple spec.
2015-11-13 Riccardo Mottola <rm@gnu.org>
* Source/NSRange.m: (NSRangeFromString)
Parse length and location with scanInteger and not scanInt
(suggested by Fred Kiefer to fix 64bit)
2015-11-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLElement.m: (insertChild:atIndex:) if the child already
has a parent, detach from that before adding to the new parent.
OSX compatibility fix.
2015-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m: When libxml2 is not enabled, create a
stub class which will raise an exception on instantiation.
2015-10-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix for fastpath code for literal string
comparison which was ignoring the case insensititve option.
Problems spotted by Fred, triggered by a Testplant change.
2015-10-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: remove declaration of unused methods.
2015-10-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m: Fix retain/release error causing
crash on failure to launch gdomap.
2015-10-05 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/GNUstepBase/GNUstep.h: Define __has_extension() if the
compiler does not support it.
* Headers/Foundation/NSObjCRuntime.h: Provide definitions for
NS_ENUM and NS_OPTIONS.
2015-10-03 Fred Kiefer <fredkiefer@gmx.de>
* Source/NSPropertyList.m (GSBinaryPLGenerator-storeCount:): Use
0x12 instead of 0x13 for integer count.
* Source/NSPropertyList.m (GSBinaryPLParser-readCountAt:): Handle
0x12 correctly. Use same code for 0x13 to read old incorrect
written data.
Based on change by Josh Freeman <pikopixel@twilightedge.com>
2015-09-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSXMLParser.m:
* Tests/base/NSXMLParser/ParseData/quoted-entities.result
* Tests/base/NSXMLParser/ParseData/quoted-entities.xml
Turn on substitution of entities to match OSX behavior, add tests.
2015-09-22 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSData.h:
* Source/Additions/GSObjCRuntime.m:
* Source/GSFFCallInvocation.m:
* Source/GSFormat.m:
* Source/GSValue.m:
* Source/NSArchiver.m:
* Source/NSData.m:
* Source/NSDecimalNumber.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSMethodSignature.m:
* Source/NSPortCoder.m:
* Source/NSUnarchiver.m:
* Source/cifframe.m:
Implement support for C99 _Bool type.
2015-09-22 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSBlocks.h
Do not enable weak on mingw, because it works only with ELF.
2015-09-18 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSError.h
* Source/NSError.m
Add some 10.6 URL errors
2015-09-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: fix check for pthread setname to work with older
versions of clang which object to autoconf checking for the
existence of a function by calling it without args.
2015-09-16 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m
Add simple (files only and no keys handling) implementation
of 10.6 method contentsOfDirectoryAtURL.
2015-09-08 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSPropertyList.m: Fix writing base64 data.
2015-09-04 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSString.m: Optimisation for formatting strings that are
stored as UTF-16 (use memcpy instead of looping over the characters).
* Tests/base/NSString/unichar_format.m: Test cases for formatting.
2015-09-01 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRegularExpression.m: Fix handling of empty capture groups.
2015-08-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: Fix potential deadlock with adding observers.
* Source/NSPropertyList.m: Fix a few mutability errors. Improve
parsing NSData performance. Add support for parsing base64 encoded
data in text property lists (delimited by <[ and ]>).
2015-08-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Improve descriptions for debug.
* Source/Additions/NSData+GNUstepBase.m: Add escaped representation.
* Source/GSHTTPURLHandle.m: Use escaped text format for debug log
(and plist armored format) to ensure that we safely log binary data
2015-08-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandle.m: include winsock2.h earlier for msys2
2015-08-17 Fred Kiefer <fredkiefer@gmx.de>
* Resources/Korean.lproj/Localizable.string: Correct encoding
* Resources/Languages/Korean: Add missing quotes.
Patch by Seong-Gu Lee <sgleehd@gmail.com>
2015-08-17 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSData+GNUstepBase.h: Simple gzip API
* Source/Additions/NSData+GNUstepBase.m: Use zlib to zip/unzip data
* Tests/base/NSData/additions.m: tests for NSData additions (gzip)
* Tests/base/NSData/Lorum: Data file for compress/uncompress tests
2015-08-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Use the compiler provided by gnustep-make unless
it's specifically overridden in the environment.
2015-08-07 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSPropertyList.m: Cope with certain malformed binary
property lists.
* Tests/PropertyLists/test01.m
* Tests/PropertyLists/cyclic.plist:
Test case for binary plists.
2015-08-05 Riccardo Mottola <rm@gnu.org>
* Source/NSArray.m:
Minor cast fixes.
2015-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m: Fix failure to unschedule from run loop if a
stream is opened more than once.
2015-07-24 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h: add GSI_MAP_TABLE_S
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
Pass variable holding run time size calculation as GSI_MAP_TABLE_S
2015-07-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
Get instance size at run time, so we can compile using nonfragile-abi
2015-07-16 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSSet.m
* Source/GSCountedSet.m:
Fix a few more names.
2015-07-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSMime.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSPrivate.h:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSArray.m:
* Source/NSData.m:
* Source/NSDictionary.m:
* Source/NSObject.m:
* Source/NSSet.m:
* Source/NSString.m:
Rewriting naive implementations to improve efficiency and fix a few
bugs as well as renaming to avoid conflict with old GSCache.
2015-07-16 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/GNUstepBase/NSHashTable+GNUstepBase.h
* Source/Additions/GNUmakefile
* Source/Additions/NSHashTable+GNUstepBase.m
* Source/GNUmakefile
* Tests/base/NSHashTable/additions.m:
Implement -addObjectsFromArray: on NSHashTable.
2015-07-15 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSMime.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSPrivate.h:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSArray.m:
* Source/NSData.m:
* Source/NSDictionary.m:
* Source/NSObject.m:
* Source/NSSet.m:
* Source/NSString.m:
Extension API to interrogate object memory usage (stolen from
GSCache and modified a bit).
2015-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Write xml document headers referring to
the current location of Apple's property list dtd for compatibility
with software expecting to validate using that dtd.
Stefan Bidigaray pointed out that the heading we currently write is
very out of date.
* Source/NSThread.m: On premature thread exist, log native thread ID.
* Source/NSLog.m: Optimisations to make logging a little quicker.
2015-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m: List memory allocation statistics in alphabetical
order (by class name) for easier interpretation.
Fix bug where the counter for differences was updated when difference
listing was not requested.
2015-07-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSLock.h:
* Source/NSLock.m:
Add extension method -isLockedByCurrentThread for debug purposes.
Also make description report the OS thread id of the thread which
holds the lock (if any).
2015-07-08 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSConfig.h.in
On NetBSD, undefine the system __weak first.
2015-07-03 Niels Grewe <niels.grewe@halbordnung.de>
* Tests/base/NSXMLParser/ParseData/namespaced-attributes.xml:
* Tests/base/NSXMLParser/ParseData/namespaced-attributes.result:
Test case for attribute namespace prefixes.
2015-07-03 Niels Grewe <niels.grewe@halbordnung.de>
* Source/Additions/GSXML.m: Fix reporting namespace prefixes
of attributes when using the SAX2 parser.
2015-06-30 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
* Headers/GNUstepBase/config.h.in:
Add test for pthread_mutex_t.__data.__owner
Update various tests to silence autoconf warnings.
* Source/NSLock.m: If available, use pthread_mutex_t.__data.__owner
to print the owning thread ID in the -description method.
2015-06-26 Riccardo Mottola <rm@gnu.org>
* Source/NSMethodSignature.m
* Source/cifframe.m
Minor include fixes to avoid malloc.h warnings on OpenBSD.
* Source/NSScanner.m
Remove set but unused variable.
2015-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/Additions.h:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSVersionMacros.h:
Minor tweaks to build and avoid warnings in Yosemite
2015-06-14 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSData.h
* Source/NSData.m
base64EncodedDataWithOptions, base64EncodedStringWithOptions:
first implementation
2015-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: be strict about '=' padding only occurring at end
of base64 encoded data.
2015-06-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Use NSUInteger rather than unsigned, use memory
management macros.
* Source/NSConnection.m: Changes to avoid compiler warnings.
* Headers/Foundation/NSData.h:
* Source/NSData.m: add base64 initialisation methods (bug #45240)
2015-06-01 Riccardo Mottola <rm@gnu.org>
* Headers/Foundation/NSArray.h
* Source/NSArray.m
Add firstObject: method existing since 10.6
2015-05-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLConnection.m: Fix leak of limit date
* Source/NSXMLParser.m: Fix leak of string
2015-05-26: Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/Additions/Unicode.m
* Tools/AGSOutput.m
return NULL or nil instead of NO where pointers are to
be returned
2015-05-26 Richard Frith-Macdonald <rfm@gnu.org>
* GSString.m: Fix sign extension bug
* Source/NSXMLParser.m: Update to more exactly match OSX behavior
* Source/NSDateFormatter.m: attempt to fix functionality broken
by additional call to set date format during reset.
2015-05-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Use libxml2 if available.
2015-05-24 Richard Frith-Macdonald <rfm@gnu.org>
* GSString.m:
* NSDebug.m:
* NSZone.m:
Minor optimisations and tidyups
2015-05-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix failure to check free when done flag before
freeing memory.
2015-05-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
* Source/GSString.m:
Some optimisation. Fix -hasPrefix: and -hasSuffix: to use literal
search as on OSX.
2015-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/install.texi:
* ANNOUNCE:
* INSTALL:
* NEWS:
Final updates for 1.24.8 release
2015-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Tidy compiler and preprocessor detection and use
warning for potentially broken compiler selection.
* configure: regenerate
2015-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Version:
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
Update in preparation for release
* Source/Makefile.postamble:
* Makefile.postamble:
* GNUmakefile:
Apply Yavor Doganov's patch to avoid re-run of configure when we do
multiple 'make distclean' invocations (bug #29730).
2015-05-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZones/NSTimeZones.tar: updated
2015-05-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
Fix for 64bit systems using TinyString objects ... missing
implementations for common methods were making performance dire.
2015-05-02 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSSet.m
* Source/NSCountedSet.m
* Source/NSSet.m:
Implement a private method -_countForObject: that enables to correctly
check equality of NSSet and NSCountedSet (behaviour verified to match
OS X). Fixes bug #43915.
* Tests/base/NSCountedSet/equality.m: Test cases for equality behaviour.
2015-04-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Improve caching of common absolute timezones.
2015-04-28 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSDateFormatter.m: Properly reinstall the user provided
date format when we need to recreate the icu-based date formatter.
2015-04-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: If an exception occurs while performing a
selector in another thread, catch it and cleanup (and if the
caller is waiting, pass the exception back to it).
2015-04-01 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: Fix comment syntax and use standard operator in
test command.
* configure: Regenerated.
2015-03-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: Internal function to get OS thread ID
* Source/NSThread.m: Report thread name and ID in description
* Source/NSLog.m: Use new function for thread ID
* configure.ac: Detect getaddrinfo and bsd thread id extensions
* Headers/GNUstepBase/config.h.in: regenerate
* configure: regenerate
* Source/NSHost.m: Start of code to use getaddrinfo
2015-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m: Fix a bug leading to crashes on thread
exit in cases where deallocation of something in the thread dictionary
causes further use of the thread's autorelease pool (which has already
been deallocated).
2015-03-10 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTimSort.m: Fix a DoS vulnerability discovered in the
Timsort algorithm. For information about the problem please refer to
http://www.envisage-project.eu/proving-android-java-and-python-sorting
-algorithm-is-broken-and-how-to-fix-it/
2015-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileHandle.m: ([-sslHandshakeEstablished:outgoing:])
If we can't create a session, the handshake should fail rather
than being retried. Fix infinite loop establish session on closed
handle.
2015-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSDebug+GNUstepBase.h:
Define DLog() and ALog() as suggested by Amr Aboelela
2015-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for gettid availability
* configure: Regenerate
* Headers/GNUstepBase/config.h.in: Regenerate
* Source/GSPrivate.h: Update comment on GSLogThread
* Documentation/Base.gsdoc: Update doc of GSLogThread
* Source/NSLog.m: Change to log thread ID (to match OSX which now
logs the thread ID along with the process ID). Change the meaning
of the GSLogThread user default (which used to turn on logging of
the thread ID) so that it now turns on logging of the thread name
(where a thread name has been set) and the NSThread address if no
name has been set.
2015-02-16 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSData.m (writeToFile:options:error:): Fix leak of open
file descriptor on systems where mkstemp is defined.
2015-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* config/objc-sys-dynamic.m4: Check for windows before anything else
* configure: regenerate
Apparently recent mingw implements headers which folled configure
into using dlopen() with doesn't support native windows paths ...
change order of checks so we still use the native API.
2015-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Be more agressive about releasing thread
resources when a thread exists (in particular release the
thread's runloop repeatedly for bug #44240) in case of the
deallocation of objects causing re-population of thread data.
2015-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Simplify mingw/unixy ifdefs for writing a file.
* Source/NSThread.m: Simplify mingw/unixy ifdefs for sleeping.
2015-02-05 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTLS.m: Use path standardization when setting up TLS data
to be mapped to a specific filesystem location.
2015-01-13 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/Foundation/Foundation.h: added NSUUID.h
2014-12-28 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac:
* Source/NSThread.m (PTHREAD_SETNAME):
Fix detection of the proper pthread_setname_np and
pthread_set_name_np variants on FreeBSD, OpenBSD and Darwin.
* configure: Regenerated.
2014-12-28 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSSocketStream.m: Add necessary GSTLSHandler methods when
TLS is disabled.
* Source/GSTLS.m (standardizedPath): Define private function only
when TLS is enabled.
2014-12-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m:
* Source/nstzfile.h:
Remove unused include of (possibly) non existent file.
2014-12-23 Riccardo Mottola <rm@gnu.org>
* Source/GSSocketStream.m
Fix code-path for non AF_INET6
* Source/NSDate.m
Provide NAN constant for Solaris if not available.
2014-11-29 Sergei Golovin <Golovin.SV@gmail.com>
* Tests/base/NSURLConnection: Test helper tool plus a load of
tests for NSURLConnection.
2014-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: Fixup error in scanning doubles with excess
precision (bug #43722).
2014-11-28 johannes@brilliantservice.co.jp
* Source/NSThread.m: Set thread name visible to OS
* configure.ac: test for pthread_set_name_np()
Integrated Johannes patch with some changes to make things work if
we set the name before starting the thread. Commend out ms-windows
code which doesn't work yet.
2014-11-20 Sergei Golovin <Golovin.SV@gmail.com>
* Source/GSSocketStream.m:
* Tests/base/NSURL/Helpers/capture.m:
* Tests/base/NSURL/testKey.pem:
* Tests/base/NSURL/test02.m:
* Tests/base/NSURL/testCert.pem:
Implement TLS on server socket and make use of it in HTTPS URL helper
code. Also, permit NSStream zero length write (it seems OSX allows
it).
2014-11-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Avoind some unnecessary retain/release cycles.
2014-11-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: If a user default value is removed while running,
revert to the value from the environment or the hard coded fallback
rather than continuing to use the previous value from the defaults
system.
2014-11-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: When handling perform in another thread, check
more carefully for inter-thread communications (pipe on unix, event
on windows) and make sure we invalidate performers safely outside
the lock protected region when I/O is complete.
2014-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Fix leak of handle when starting a new
connection after an older one is dropped by the remote end.
2014-10-30 Sergei Golovin <Golovin.SV@gmail.com>
* Source/NSURLProtocol.m: Fix memory leak and possible hang on retry
(bug #43461).
2014-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
* Version: Bump subminor version for bugfix release
* NSTimeZones/NSTimeZones.tar: update
* Source/NSProcessInfo.m: Use separate lock for globally unique
string rather than sharing lock intended for other purposes.
* Source/GSTLS.m: Change default TLS 'priority' to disable SSLv3.0
as it renders things open to the 'POODLE' attack.
Also, print warning if it is expressly requested from the code
(though the use of the GSTLSPriority user default will still
allow complete control without warnings).
2014-10-11 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/GNUstepBase/GSVersionMacros.h: UNAVAILABLE_ATTRIBUTE added
2014-08-19 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac:
* Headers/GNUstepBase/config.h.in: Add test for grantpt function.
* configure: Regenerated.
2014-07-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Tools/gdomap.c: Unless running on windows, allow new -j
command-line argument to specify the path in which the process should
be jailed (chroot). The default remains to jail the process in /tmp
since there doesn't seem to be a general, portable alternative.
2014-07-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Fix handling TLS handshake in the case
where there is a network failure during the handshake (bug#42781).
* Source/GSTLS.m: Fix erroneous attempt to load revocation lists.
* Tests/base/NSURLConnection/test01.m: https test contributed by
Sergei Golovin.
2014-07-25 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Remove compiler charset options
* config.mak.in: Remove compiler charset options
* configure: regenerate:
Yavor pointed out that the gcc manual is wrong and gcc (all the
versions we support anyway) always uses utf-8 (as does clang),
so we can get rid of stuff intended to try to force it to use utf8
2014-07-13 Yavor Doganov <yavor@gnu.org>
Add large file support (LFS) for NSData.
* configure.ac: Call AC_FUNC_FSEEKO/AC_SYS_LARGEFILE.
* Source/NSData.m (readContentsOfFile): Use fseeko/ftello and
off_t as appropriate.
(-initWithContentsOfFile:): Define fileLength of type off_t.
* Source/GSFileHandle.m:
* Source/win32/GSFileHandle.m:
* Source/NSFileManager.m: Remove _FILE_OFFSET_BITS define (now
defined globally in config.h).
2014-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: ([-runMode:beforeDate:]) check performers as
well as notifications etc ... should fix bug #39107
2014-02-17 Larry Campbell <lcampbel@akamai.com>
* Source/NSJSONSerialization.m:
* Tests/base/NSJSONSerialization/tests00.m:
Fixes for bug #41628
2014-07-12 Yavor Doganov <yavor@gnu.org>
* Tests/GNUmakefile:
* Tests/base/Functions/NSGeometry1.m:
* Tests/base/NSRunLoop/performers.m:
Tweaks for running in sandbox (bug #42740)
2014-07-07 Yunqiang Su <wzssyqa@gmail.com> (tiny change)
* config/config.trampoline.c:
* Source/NSObject.m (GSAtomicIncrement, GSAtomicDecrement):
Use __mips64 to distinguish MIPS64.
2014-06-30 Yavor Doganov <yavor@gnu.org>
* Tools/GNUmakefile (CONFIG_SYSTEM_LIBS):
* Tools/make_strings/GNUmakefile (CONFIG_SYSTEM_LIBS): Define
to the empty string to avoid linking the tools against
external libraries.
2014-06-30 Yavor Doganov <yavor@gnu.org>
* base.make.in: make base dependencies explicit only when statically
linnking (bug #42423)
2014-06-30 Yavor Doganov <yavor@gnu.org>
* GNUmakefile: Use -include for deb.make (for backward compatibility
with old versions of gnustep-make).
* Documentation/GNUmakefile:
* Documentation/General/GNUmakefile:
* Source/DocMakefile:
* Tools/DocMakefile:
Flags alterations to build documentation before base/autogsdoc is
installed.
* configure.ac: Test whether gnutls needs libgcrypt
* Source/GSTLS.h: Use test
* Source/GSTLS.m: Use test
* configure: regenerate
2014-06-26 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSTypeEncoding.h
* Headers/GNUstepBase/GSVersionMacros.h
Substitute #import with #include so that the header can be used in
a pure C file without gcc warnings.
2014-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m:
* Source/NSMessagePortNameServer.m:
Maps of ports to names modified to treat the ports as non owned
pointers rather than non retained objects ... so we simply do
pointer comparisons (faster and also safer if we are removing
a port which is being deallocated).
2014-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Temporarily add -O0 to turn off optimisation while
checking for the need for shorts to be word-aligned ... should fix
the case where the optimiser breaks the test by 'correcting' the
misaligned access.
* configure: regenerate
2014-06-19 Riccardo Mottola <rm@gnu.org>
* Source/common.h
Include and do not import pure-C header, guard against re-inclusion
2014-06-18 Riccardo Mottola <rm@gnu.org>
* Source/unix/NSStream.m
Add missing includes (in correct order) for open() on most OS,
including Solaris.
2014-06-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Fix buffer overrun.
* Source/GSString.m: Fix uninitialised variable.
Cure for bug #42483
2014-05-28 Manuel Guesdon <mguesdon@orange-concept.com>
* Source/NSUndoManager.m
Assert sig is not null in registerUndoWithTarget:selector:object:
2014-05-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInvocation.h:
* Source/NSInvocation.m:
* Headers/Foundation/NSInvocation.h:
* Tests/base/NSInvocation/test02.m:
Reinstate lost code for NS_MESSAGE and NS_INVOCATION macros
2014-05-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
When creating the 'Host' header, omit the port part if the scheme is
http/https and the port is the normal 80/443. A workaround for buggy
software which doesn't understand the spec saying that the port is
'optional', not 'omitted' in these cases.
2014-05-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m:
* Headers/Foundation/NSDebug.h:
Add GSDebugAllocationRecordObjects()
and deprecate GSDebugAllocationActiveRecordingObjects()
so we can turn individual object tracking on and off.
Move documentation from source to header.
2014-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.m: Fix ifdefs for MINGW to avoid fork relatred code.
2014-05-05 Ivan Vucica <ivan@vucica.net>
* GNUmakefile: gnustep-make's Master/deb.make now included.
* Tests/GNUmakefile: gnustep-tests --clean is now permitted to
fail. This helps in case 'make {dist,}clean' is called by some
automation.
2014-05-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Set initial state of accepted incoming
connection streams to be open (otherwise we can't close them).
2014-04-26 Manuel Guesdon <mguesdon@orange-concept.com>
* Source/NSKeyValueCoding.m
Fix exception msg in setValue:forUndefinedKey:
2014-04-18 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSHost.h:
* Source/NSHost.m:
Add OSX 10.6 -localizedName method.
2014-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRegularExpression.m: Check for bad range from ICU and
flag an internal error if we see it; mimic OSX behavior when a
range limited match fails.
2014-04-11 Fred Kiefer <fredkiefer@gmx.de>
* Headers/Foundation/NSXMLNodeOptions.h: Add new 10.7 options.
* Source/NSXMLDocument.m: Use XML_PARSE_NONET as the default
option for xmlReadMemory. Add XML_PARSE_NOENT when
NSXMLNodeLoadExternalEntitiesNever is set.
2014-03-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: If parsing something which contains data
which can't be utf-8, generate a parse error.
2014-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: handle invalidation of connection while
getting root proxy.
2014-03-26 Riccardo Mottola <rm@gnu.org>
* Source/NSProcessInfo.m (determineOperatingSystem):
uname() on solaris may return a positive value on success, not just 0
2014-03-25 Fred Kiefer <fredkiefer@gmx.de>
* Tools/NSOperation.m: ([_finish]) fix logic of 'executing' flag.
2014-03-19 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Don't open syslog connection until after we have
forked and closed old descriptors .. fix for bug #41751
* Headers/Foundation/NSData.h:
* Source/NSData.m:
* Source/NSString.m:
Fix for bug #41626
* Source/Additions/GSObjCRuntime.m: patch by Mathias Bauer
for bool encoding/decoding.
2014-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
When generating document with a header containing adjacent non-ascii
words which need to be encoded, omit the space between those words
for consistency with the change on Fe 3rd.
2014-02-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDateFormatter.m
(-initWithDateFormat:allowNaturalLanguage:):
Use method -setDateFormat: to get correct behaviour.
* Source/NSDateFormatter.m (-setDateFormat:):
Use ASSIGNCOPY for _dateFormat.
2014-02-14 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSNotification.h
* Source/NSNotificationCenter.m
(-addObserverForName:selector:queue:usingBlock:):
Added new Mac OS X 10.6 method.
2014-02-14 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSSortDescriptor.h
* Source/Foundation/NSSortDescriptor.m
(+sortDescriptorWithKey:ascending:selector:,
+sortDescriptorWithKey:ascending,
-[NSSet sortedArrayUsingDescriptors:]): Added missing Mac OS X 10.6
methods.
2014-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: Fix to cope with cases where a format specifies
a field width larger than can reasonably fit on the strack ... use
the heap.
2014-02-13 Larry Campbell <lcampbel@akamai.com>
* Source/NSCalendarDate.m: Fixup millisecond formatting to match OSX
2014-02-12 Quentin Mathe <quentin.mathe@gmail.com>
* Tools/gsdoc-1_0_4.dtd: Added new DTD version that declares 'package'
visibility as a valid ivar qualifier.
* Tools/AGSParser.m: Added 'package' visibility parsing.
* Tools/AGSOutput.m:
* Tools/autogsdoc.m:
* Tools/GNUmakefile.m:
Updated to refer to the latest DTD version.
2014-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix standardising a path to use unix separators
consistently with appending a pathc component ... paths should be
(as far as possible) portable, and the filesystem representation
methods convert to backslashes as necessary on windows anyway.
2014-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
* Headers/GNUstepBase/GSMime.h:
Add support for stripping white space between encoded words (RFC2047)
2014-02-02 Yavor Doganov <yavor@gnu.org>
* configure.ac: Force use for fake main on kfreebsd to work around bug
handling large number of arguments.
* Documentation/coding-standards.texi:
* Documentation/manual/manual.texi:
* Tools/cvtenc.1:
* Tools/pldes.1:
* Tools/defaults.1:
* Tools/autogsdoc.1:
* Tools/gdomap.8:
Minor cosmetic tweaks
2014-02-02 Riccardo Mottola <rm@gnu.org>
* Source/NSString.m (stringByResolvingSymlinksInPath)
On GLIBC and FreeBSD use sysconf(_SC_SYMLOOP_MAX) instead of just
MAXSYMLINKS. For HURD this is necessary, since the latter is not
defined.
2014-01-31 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/NSUserNotification.m:
Implemented repetitions, moved "presented" flagging to the appropriate
method (subclassers may have different opinions about presentation,
i.e. gnustep-gui might want to prevent presentation if application
is already frontmost [the OSX behavior]). Improved -description
(similar to OSX's output, eases cross-platform debugging).
* Headers/Foundation/Foundation.h:
added NSUserNotification.h
2014-01-30 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/Foundation/NSUserNotification.h:
* Source/NSUserNotification.m:
Added default implementation which provides infrastructure but no real
transport mechanisms. An implementation utilizing DBus
(Desktop Notifications Specification) is provided via DBusKit.
2014-01-26 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSKeyValueObserving.h,
* Source/NSKeyValueObserving.m: Add method
-keyPathsForValuesAffectingValueForKey:.
2014-01-25 Frederik <ego@frederikseiffert.de>
* Source/NSKeyValueObserving.m: When using
(NSKeyValueObservingOptionInitial | NSKeyValueObservingOptionNew)
as option for observeValueForKeyPath:ofObject:change:context:,
we should use -valueForKeyPath: instead of -valueForKey: to retrieve
the current (initial) value.
2014-01-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFCallInvocation.m:
* Source/GSFFIInvocation.m:
* Source/Additions/GSTypeEncoding.c:
* Headers/GNUstepBase/GSIArray.h:
* Headers/GNUstepBase/GSTypeEncoding.h:
* Headers/GNUstepBase/GSIMap.h:
Fixup to use GS_STATIC_INLINE consistently.
* Tools/autogsdoc.m:
Set up default work map for public macros whose use in headers
would otherwise confuse documentation generation.
2014-01-21 Pirmin Braun <pb@intars.de>
* Source/NSDecimal.m: Fix for rounding precision.
2014-01-20 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSSet.m: Added missing ([-valueForKey:]) method.
2014-01-20 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSKeyValueMutableArray.m:
* Source/NSKeyValueMutableSet.m:
Don't post KVO notifications if +automaticallyNotifiesObserversForKey:
returns NO, this ensures we match Cocoa behavior.
2014-01-18 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSObject.m (-respondsToSelector,
+instancesRespondToSelector:): Fixed to check +resolveInstanceMethod:
and +resolveClassMethod: as documented in Cocoa NSObject API.
2014-01-16 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSScanner.m: Implement -scanInteger: by conditionally
calling -scanInt: or -scanLongLong: based on the pointer size
detected at configure time.
2014-01-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m:
Path info lifetime fixups to avoid crashes of the kind reported
by Mathias Bauer <mathias_bauer@gmx.net>
2014-01-14 Lubos Dolezel <lubos@dolezel.info>
* Source/NSBundle.m:
* Headers/Foundation/NSBundle.h: add -resourceURL
2014-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m:
* Documentation/Base.gsdoc:
Add GNUSTEP_DEVELOPER_DIR to allow definition of the native path
to the msys/mingw development tools on windows.
Also improve/fix lookup heuristics.
2014-01-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Revert last change to get -isAbsolutePath working
on mingw again ... need to analyse startup problem.
2014-01-13 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/NSString.m: absolute paths on __MINGW__ can also start
with "/" if GSPathHandlingRight() is YES, otherwise GNUstep config
paths can't be used during startup.
2014-01-11 Marcus Mueller <znek@mulle-kybernetik.com>
* Source/GSMDNSNetServices.m: minor fixes - does now properly compile
on Windows, too.
NOTE:
If you want to link against Apple's Bonjour SDK on Windows, you have
to convert the dnssd.lib from MSVC/__stdcall format to GCC/__cdecl
and provide the result as libdns_sd.a. Also, DNSSD_API in dns_sd.h
needs to be defined empty.
2014-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: The NSDeveloperDirectory key is deprecated
on OSX, but lets use it for the development system root.
On windows systems this should be the native windows path at which
the msys system is installed, found relative to the current process
if possible, but otherwise with the GNUstep packages installed,
found relative to the package installation directory.
In other cases (no specific development environment found) the
system root directory is returned.
2014-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
On mingw a file is executable if its extension is in the list
provided by the PATHEXT environment variable.
* Source/NSTask.m:
Simplification/clarification suggested by Riccardo
2014-01-08 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSValueTransformer (+valueTransformerForName:): Fixed to
automatically register any available NSValueTransformer subclass that
matches the given name and is not yet registered. This behavior is
described in the Cocoa API documentation.
2014-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUUID.m:
* Source/Additions/NSData+GNUstepBase.m:
* Headers/GNUstepBase/NSData+GNUstepBase.h:
Move random data generation out to the NSData(GNUstepBase) category.
2014-01-07 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSJSONSerialization.m (writeObject()): Fixed double number
serialization to encode 17 significant digits (this matches the max
number of significant digits in the double-precision floating point
format). This prevents a loss of precision, in case the number has
more than 3 digits after the decimal point.
* Tests/base/NSJSONSerialization/json.m: Updated to test double number
serialization.
2014-01-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: Make sure current queue is set for threads
owned by a queue (and return the main queue for the main thread).
Avoid needing to create the main queue in the main thread.
2014-01-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fixed logic error in David's libobjc2 integration
for deallocation; should use object_getClass() if the object is NOT a
small object, use isa otherwise.
2013-12-31 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/Foundation/NSMetadata.h: use GS_PROTOCOLS_HAVE_OPTIONAL for
NSMetadataQueryDelegate. Always define the protocol, even if it's empty
(so we don't have to adjust any headers), but fallback to the informal
protocol if OS version < 10.6 OR compiler doesn't support @optional
keyword in protocols.
2013-12-30 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/GNUstepBase/GSVersionMacros.h: added macros
GS_GCC_MINREQ(maj,min) and GS_CLANG_MINREQ(maj,min) to check for
minimum required versions of GCC and CLANG compilers. Changed several
occurrences of previous macros to improve readability.
Added GS_PROTOCOLS_HAVE_OPTIONAL to correctly mark all appropriate
declarations.
* Headers/Foundation/NSNetServices.h,
* Headers/Foundation/NSStream.h,
* Headers/Foundation/NSXMLParser.h,
* Headers/GNUstepBase/NSNetServices+GNUstepBase.h,
* Source/GSNetServices.h:
use GS_PROTOCOLS_HAVE_OPTIONAL macro where appropriate
2013-12-26 Marcus Mueller <znek@mulle-kybernetik.com>
* Headers/Foundation/NSNetServices.h:
* Source/GSAvahiNetService.m:
added NSNetServiceListenForConnections option (introduced in
OSX 10.9) and accompanying delegate method, currently implemented in
GSAvahiNetService.m only.
* Headers/Foundation/NSStream.h: fixed typo (_clang_ -> __clang__)
2013-12-24 Richard Frith-Macdonald <rfm@gnu.org>
* Version: make ready for 1.24.6 release
* Documentation/news.texi: 1.24.6 news
* Documentation/ReleaseNotes.gsdoc: 1.24.6 release notes
2013-12-20 Graham Lee <graham@iamleeg.com>
* Headers/Foundation/NSUUID.h:
* Source/NSUUID.m: implemented for unix
* Tests/base/NSUUID: testcases
2013-12-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: initialise defaults system at end of NSObject
initialisation, in the hope of preventing deadlocks if the +initialize
methods of other classes in different threads try to use defaults.
May fix #39125
2013-12-20 Marcus Müller <znek@mulle-kybernetik.com>
* Headers/Foundation/NSStream.h: OSX compatibilityy ... use formal
protocol if possible (bug #40925).
* Headers/GNUstepBase/GSVersionMacros.h: OSX 10.9 define added.
* Headers/Foundation/NSRunLoop.h:
* Source/NSRunLoop.m: Implement ([+mainRunLoop])
2013-12-13 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSArray.h,
* Source/NSArray.m: Move -setValue:forKey: from NSMutableArray to
NSArray.
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com>.
2013-12-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Additions/Unicode.m (GSPrivateDefaultCStringEncoding):
Use correct feature test for presence of ucnv functions.
2013-12-05 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSDictionary.h:
* Source/NSDictionary.m:
* Source/Additions/GCDictionary.m:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/GSDictionary.m:
Changed keys argument type to (const id <NSCopying>[]) in
-initWithObjects:forKeys:count: and
+dictionaryWithObjects:forKeys:count:,
to follow the current Cocoa API.
2013-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLCredential.m: ([-isEqual:]) needs to take the password
and persistence into account, not just the username.
2013-11-29 Riccardo Mottola <rm@gnu.org>
* Headers/ObjectiveC2/objc/runtime.h
* Headers/Foundation/NSObjCRuntime.h
Insert some kludge for PTR stuff on systems with fake C99
compatible headers.
2013-11-26 Riccardo Mottola <rm@gnu.org>
* Headers/GNUstepBase/GSConfig.h.in
* configure.ac
Detect broken PTR limits (notably solaris 8) and provide replacements
* configure
regenerated
2013-11-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUstepBase/GSConfig.h.in: temporarily redefine BOOL while
including windows headers, so we don't get conflict between windows
and objc booleans.
* base.make.in:
Add to CONFIG_SYSTEM_LIBS, CONFIG_SYSTEM_LIB_DIR, CONFIG_SYSTEM_INCL
So that the libraries/headers used to build base are available for
software using base.
2013-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m:
Set errno to EAGAIN if TLS layer fails in a non-fatal way during
read/write.
Add more/better debug logging.
2013-11-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Fix for bug 40620
Prevent recursion while parsing process arguments.
2013-11-19 Saso Kiselkov <skiselkov>
Releasing a GSTLSHandle (created from +[NSFileHandle sslClass]) after
the TLS handshake will result in a segfault. Fix it.
2013-11-18 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/GNUstepBase/NSCalendarDate+GNUstepBase.m:
* Source/Additions/NSCalendarDate+GNUstepBase.m:
Add -isoYear method for compatibility with -weekOfYear
2013-11-07 Riccardo Mottola <rm@gnu.org>
* Source/GSFormat.m
* Source/NSException.m
* Source/NSConnection.m
Openbsd malloc.h warning fix.
2013-11-05 German Arias <germanandre@gmx.es>
* Source/NSUndoManager.m (-undoActionName): Try first with the name
of current group. If not, with the name of last object in undo stack.
2013-11-03 German Arias <germanandre@gmx.es>
* Source/NSUndoManager.m (-redoMenuTitleForUndoActionName:):
* Source/NSUndoManager.m (-undoMenuTitleForUndoActionName:):
Return "Redo" and "Undo", respectively, if actionName is null.
If not, it removes the item title.
2013-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAttributedString.m: Use exact equality test when removing
attribute dictionary from cache. Prevents possibly removing the
wrong dictionary in cases where dictionary contents are mutated
while in the cache, such that two dictionaries become equal.
2013-10-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSDictionary.m: Add private class GSCachedDictionary which
will raise an exception if deallocated without being uncached.
* Source/GSAttributedString.m: Use GSCachedDictionary for attributes
to aid in detection of things improperly releasing them.
2013-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAttributedString.m:
Simplify dictionary caching code and add check to ensure we don't
uncache a dictionary which isn't cached.
2012-10-29 Riccardo Mottola <rm@gnu.org>
* configure.ac:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSTypeEncoding.h:
* Headers/GNUstepBase/GNUstep.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSObjCRuntime.h:
* configure: regenerate
Use inttypes.h rather than stdint.h as it's more inclusive and works
on Solaris where some defines are in the wrong place.
2013-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Implement -hash as the hash of the time zone
name so that we can find equal timezones in a set/dictionary as we
should, rather than onlyn finding identical time zones.
2013-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Add code to ignore NS_FORMAT_ARGUMENT and
NS_FORMAT_FUNCTION macros inside variable declarations.
2013-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: Fix retention of singletons and add exception
if an attempt is made to release too many times.
* Tools/make_strings/make_strings.m: fix minor coding standard errrors.
* Tests/base/NSFileHandle/basic.m:
* Tests/base/NSFileHandle/singleton.m:
Correct faulty tests.
* Source/NSPredicate.m: ([_evaluateLeftValue:rightValue:object:])
Add missing check for NSNotEqualToPredicateOperatorType spotted by Fred
2013-10-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: ([_evaluateLeftValue:rightValue:object:])
should return either YES or NO in all cases.
2013-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/make_strings/StringsFile.m:
Fix bogus space after semicolon.
2013-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/GSTLS.m:
Attempt to better handle TLS handshake failure.
2013-10-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
Close socket immediately on SSL handlshake failure, rather than
waiting for cleanup on dealloc.
2013-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: Fix faulty casts of immutable array to mutable.
2013-10-17 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSException.m:
* Headers/Foundation/NSThread.h: Add trivial implementation of
+[NSThread callStackSymbols] that uses GSStackTrace.
2013-10-15 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSDate.h,
* Source/NSDate.m:
Add 10.6 class method dateWithTimeInterval:sinceDate:
Patch by Marcian Lytwyn <marcian.lytwyn@advcsi.com>
2013-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Fix bug with byte swapping ... use NSByteOrder.h
2013-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.align.c: Try to more reliably detect whether word
alignment is needed.
* Source/NSUserDefaults.m: Fix failure to send notification when
defaults are updated.
2013-09-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
* Headers/Foundation/NSFileHandle.h:
Add mechanism to set the contents of TLS certificate and key files
in memory rather than reading from disk. Expose TLS property keys
in the NSFileHandle header to allow more control over certificates.
2013-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for another unicode header
* Headers/GNUstepBase/config.h.in: regenerate
* configure: regenerate
* Source/Additions/Unicode.m: If ICU is available, use it to obtain
default C-string encoding.
2013-09-09 Pirmin Braun <pb@intars.de>
* Source/Additions/GSMime.m: When creating a child parser, pass on
the flag to say we are parsing HTTP rather than MIME.
2013-09-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Add comments and a further fallback
mechanism for parsing HTTP when the default encoding is set.
* Source/NSUnarchiver.m: Fix integer size values to use constants
from stdint.h
2013-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Update cache when we synchronise a new
domain to disk (was only updating on changes to existing domains).
Should fix bug #39300
2013-08-30 Fred Kiefer <FredKiefer@gmx.de>
* Headers/GNUstepBase/GSVersionMacros.h: Fix usage of __APPLE__ macro.
Patch by Graham Lee <iamleeg@gmail.com>
2013-08-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: GSScanDouble() permit overlong mantissa (more
digits than can be represented in a double) and ignore excess digits
for compatibility with OSX. Inspired by testplant branch r37004
which tries to allow more digits at the cost of breaking parsing
in locales where the decimal point is a comma rather than a dot.
2013-08-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexPath.m:
* Source/NSMapTable.m:
* Source/NSSocketPortNameServer.m:
* Source/GSLocale.m:
* Source/NSNetServices.m:
* Source/NSTimeZone.m:
* Source/NSHashTable.m:
* Source/GSSocketStream.m:
* Source/NSValueTransformer.m:
* Source/NSBundle.m:
* Source/NSURLHandle.m:
* Source/NSPropertyList.m:
* Source/NSAffineTransform.m:
* Source/NSPathUtilities.m:
* Source/NSScanner.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSProcessInfo.m:
* Source/NSNotificationQueue.m:
* Source/NSSocketPort.m:
* Source/NSAttributedString.m:
* Source/NSRunLoop.m:
* Source/NSOperation.m:
* Source/NSObject+NSComparisonMethods.m:
* Source/NSFormatter.m:
* Source/NSUserDefaults.m:
* Source/NSArray.m:
* Source/NSMessagePortNameServer.m:
* Source/GSStream.m:
* Source/NSKeyedArchiver.m:
* Source/NSDebug.m:
* Source/NSXMLPrivate.h:
* Source/NSKeyedUnarchiver.m:
* Source/NSPortMessage.m:
* Source/NSFileHandle.m:
* Source/NSDistributedLock.m:
* Source/GSTLS.m:
* Source/NSPredicate.m:
* Source/NSKeyValueObserving.m:
* Source/NSAssertionHandler.m:
* Source/GSHTTPURLHandle.m:
* Source/GSDispatch.h:
* Source/NSPort.m:
* Source/NSSortDescriptor.m:
* Source/NSMessagePort.m:
* Source/win32/NSMessagePort.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/common.h:
* Source/NSURLProtocol.m:
* Source/NSURLCache.m:
* Source/NSNotificationCenter.m:
* Source/GSAttributedString.m:
* Source/externs.m:
* Source/NSCoder.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSURL.m:
* Source/NSString.m:
* Source/NSObject.m:
* Source/NSDecimalNumber.m:
* Source/NSConcreteMapTable.m:
* Source/NSPointerFunctions.m:
* Source/GSSorting.h:
* Source/NSPointerArray.m:
* Source/Additions/GCObject.m:
* Source/Additions/GSMime.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/Additions/GSXML.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSNotification.m:
* Source/NSNumber.m:
* Source/GSTimSort.m:
* Source/NSConnection.m:
* Source/GSString.m:
* Source/NSHTTPCookie.m:
* Source/NSData.m:
* Source/NSHost.m:
* Source/NSDate.m:
* Source/NSMetadata.m:
* Source/NSDictionary.m:
* Source/GSMDNSNetServices.m:
* Source/GSHTTPAuthentication.m:
* Source/NSClassDescription.m:
* Source/NSSerializer.m:
* Source/NSNull.m:
* Source/NSValue.m:
* Source/NSCountedSet.m:
* Source/GSFileHandle.h:
* Source/GSFileHandle.m:
* Source/NSLock.m:
* Source/NSSet.m:
* Source/NSLocale.m:
* Source/NSTask.m:
* Source/NSJSONSerialization.m:
* Source/NSCharacterSet.m:
* Source/NSPortNameServer.m:
* Source/NSXMLParser.m:
* Source/NSConcreteHashTable.m:
* Source/NSTextCheckingResult.m:
* Source/NSEnumerator.m:
* Source/GSFTPURLHandle.m:
Improve atExit/leak handling to be executed with a thread and an
autorelease pool in place.
Record as deliberately 'leaked', objects created in +initialize
methods and intended to persist until exit.
Fix a couple of bugs exposed by turning on clean up of leaked objects.
2013-08-14 Lubos Dolezel <lubos@dolezel.info>
* Source/NSBundle.m: add NSBundle pathForAuxiliaryExecutable: and
-privateFrameworksPath and their URL counterparts
* Headers/GNUstepBase/GSBlocks.h: Fixed the DEFINE_BLOCK_TYPE macro
for certain GCC versions
2013-08-12 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSThread.h:
* Source/NSThread.m:
Added ([-performSelectorInBackground:withObject:]) convenience method
from OSX 10.5
2013-08-10 Ivan Vucica <ivan@vucica.net>
* Source/NSPathUtilities.m:
Disabled check for secure temporary directories under Cygwin. Refer
to:
http://stackoverflow.com/q/9561759/39974
for a possible cause of problems.
* Source/objc-load.m:
Codepaths used for MinGW are now also used for Cygwin. Even in
case of some functionality that should be standard under UNIX systems,
it turns out that this functionality is, sadly, not present under
Cygwin (e.g. dladdr()).
2013-08-10 Lubos Dolezel <lubos@dolezel.info>
* Source/NSBundle.m: add NSBundle bundleURL, builtInPlugInsURL,
executableURL
2013-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Version: make ready for 1.24.5 release
* Documentation/news.texi: 1.24.5 news
* Documentation/ReleaseNotes.gsdoc: 1.24.5 release notes
* NSTimeZones/NSTimeZones.tar: new timezone data
* Source/NSTimeZone.m: fix error in zone directory name
2013-07-14 Wolfgang Lux <wolfgang.lux@gmail.com>
* config/objc-common.g: Add +initialize to fake NSObject class
when compiling with the Apple runtime, since it expects that
method to be defined.
2013-07-11 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/GNUstepBase/GSVersionMacros.h: Fix definition of
GS_OSX_ADJUST, which got things backward (converting a GNUstep
style version into an OS X version instead of the other way
around). Also make sure that MAC_OS_X_VERSION_MAX_ALLOWED gets
converted when used in the definition of GS_OPENSTEP_V.
2013-07-09 Graham Lee <iamleeg@gmail.com>
* Source/GNUmakefile:
* Source/NSInvocationOperation.m:
* Headers/Foundation/Foundation.h:
* Headers/Foundation/NSInvocationOperation.h:
New invocation operation class
2013-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m: Fix memory leak (credentials)
2013-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSVersionMacros.h:
Re-add define to set MAC_OS_X_VERSION_MAX_ALLOWED for OSX compatibility.
2013-07-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/cifframe.m: Fix possible incorrect free of non-malloc'ed
memory.
* Source/NSHost.m: fix uninitialised data warning
* Source/NSMethodSignature.m: fix uninitialised variable
* Source/NSPropertyList.m: avoid static analyser warning
* Tools/gdomap.c: fix uninitialised data warning
* Source/NSObject.m: fixup error in alignment calculation;
was assuming that the alignment of a double would do but that's
not good enough. On GCC we use the __BIGGEST_ALIGNMENT__ used on
the machine, but clang has no support for that, so if it's not
defined we now guess 16 rather than __alignof__(double).
2013-07-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fix error creating instasnce when using the
objc2 runtime and garbage collection.
* Source/ObjectiveC2/runtime.c: implement class_createInstance()
by calling NSAllocateObject() .. perhaps it should be the other
way round though.
configure.ac: Fix directory order error.
configure: regenerate
2013-07-05 Fred Kiefer <FredKiefer@gmx.de>
* Headers/GNUstepBase/GSTypeEncoding.h
Include objc.h otherwise __GNU_LIBOBJC__ isn't defined.
2013-07-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocksParser/GSSocksParser.h:
* Source/GSSocksParser/GSSocksParserPrivate.m:
* Source/GSSocksParser/GSSocks4Parser.m:
* Source/GSSocksParser/GSSocks5Parser.m:
More portability fixes ... this time for mswindows.
2013-07-04 Ibadinov Marat <ibadinov@me.com>
* GSSocksParser/GSSocks5Parser.m:
* GSSocksParser/GSSocks5Parser.h:
* GSSocksParser/GSSocksParserPrivate.h:
* GSSocksParser/GSSocksParser.m:
* GSSocksParser/GSSocksParserPrivate.m:
* GSSocksParser/GSSocksParser.h:
* GSSocksParser/GSSocks4Parser.m:
* GSSocksParser/GSSocks4Parser.h:
Parsing code for SOCKS versions 4 and 5.
2013-07-03 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/Additions/GSMime.m
2013-07-03 Ibadinov Marat <ibadinov@me.com>
* Source/Additions/GNUmakefile:
* Headers/GNUstepBase/GSTypeEncoding.c:
* Headers/GNUstepBase/GSTypeEncoding.h:
New type encoding parser.
2013-07-03 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSString.h:
* Headers/GNUstepBase/GSVersionMacros.h:
* Headers/GNUstepBase/NSString+GNUstepBase.h:
* Source/Additions/GCArray.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/GSArray.m:
* Source/GSHTTPURLHandle.m:
* Source/GSNetServices.h:
* Source/GSSocketStream.m:
* Source/GSStream.m:
* Source/GSString.m:
* Source/GSTLS.m:
* Source/NSAssertionHandler.m:
* Source/NSCalendarDate.m:
* Source/NSCallBacks.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSFileManager.m:
* Source/NSIndexPath.m:
* Source/NSIndexSet.m:
* Source/NSJSONSerialization.m:
* Source/NSKeyValueCoding.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSLog.m:
* Source/NSMessagePort.m:
* Source/NSNetServices.m:
* Source/NSNumber.m:
* Source/NSObject.m:
* Source/NSOperation.m:
* Source/NSPointerArray.m:
* Source/NSPortCoder.m:
* Source/NSPortMessage.m:
* Source/NSRange.m:
* Source/NSSocketPort.m:
* Source/NSSortDescriptor.m:
* Source/NSString.m:
* Source/NSThread.m:
* Source/NSTimeZone.m:
* Source/NSURLResponse.m:
* Source/NSUnarchiver.m:
* Source/NSXMLParser.m:
* Source/unix/GSRunLoopCtxt.m:
* Tools/AGSParser.m:
Fixes for errors in printf style formats, (mostly 64bit issues)
inspired by work done by Ibadinov Marat.
2013-07-01 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add test for another libicu header
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Source/NSString.m: Add decompose/precompose methods derived from
change in testplant branch.
* Headers/GNUstepBase/GSVersionMacros.h: OSX compatibility tweak ...
handle OSX style 4 digit versionn constants.
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSOperation.h:
* Headers/Foundation/NSPathUtilities.h:
* Headers/Foundation/NSPointerArray.h:
* Headers/Foundation/NSPointerFunctions.h:
* Headers/Foundation/NSPredicate.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSValueTransformer.h:
* Headers/Foundation/NSXMLElement.h:
* Headers/Foundation/NSXMLParser.h:
Replace numeric version constants with OSX compatibility macros.
2013-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcreteMapTable.m: attempt to fix double retain bug
introduced by clang/ARC changes.
2013-06-24 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tools/AGSIndex.m (mergeDictionaries): Fix typo in warning.
2013-06-23 Ivan Vucica <ivan@vucica.net>
* Source/NSFileManager.m: Fixed syntax error.
2013-06-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Don't attempt to set ownership of copied
file. The code was already doing this right for directories, but
not for other file types.
2013-06-21 Lubos Dolezel <lubos@dolezel.info>
* Headers/GSBlocks.h: weakly import _Block_copy and _Block_release
2013-06-08 Lubos Dolezel <lubos@dolezel.info>
* Source/NSTimeZone.m
Implement nextDaylightSavingTimeTransitionAfterDate:
2013-06-06 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/Additions/Unicode.m
Headers/Foundation/NSString.h
revert my change from 2013-05-29
breaks decoding of .gorm files in NSString for me on amd64
2013-05-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: ([-lockWhenCondition:beforeDate:])
Lock mutex using -lockBeforeDate: so that we can abandon the wait
for the condition at the spacified date in the case where we can't
even obtain a lock before that date.
Fix for bug #39126
2013-05-29 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Headers/Foundation/NSString.h
make NSStringEncoding enum typdef to NSUInteger
* Source/Additions/Unicode.m
fix format string to print out NSStringEncoding
2013-05-17 Ivan Vučica <ivan@vucica.net>
* Source/NSDate.m:
In case NAN macro is defined in math.h, prefer that over
using the nan() function call.
2013-05-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePortNameServer.m: fix error in line count check
in last change.
2013-05-16 Ivan Vučica <ivan@vucica.net>
* Source/GSLocale.m:
* configure.ac:
Added check for whether there is any useful information in
struct lconv. Android doesn't have anything there, despite
having locale.h, so it makes little sense to try to access
the nonexistent fields in GSLocale.m
2013-05-16 Ivan Vučica <ivan@vucica.net>
* configure.ac:
* cross.config:
When cross-compiling, obeying an additional setting for
Objective-C 2.0 support. Fixed a missing '$' in cross.config.
2013-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePortNameServer.m: fix for bug #38981
2013-05-13 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSKeyedArchiver.h,
* Source/NSKeyedUnarchiver.m: Add method
-replaceObject:withObject: from gui.
2013-05-13 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSArchiver/stringEncoding.m: Use PASS_EQUAL instead
of PASS.
2013-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c: when replacing a method, update the
cache so we don't use the old version.
* Source/NSNotificationCenter.m: trivial tweak to map release code
and remove method caching for OSX compatibility :-(
* Source/NSPropertyList.m: Fix bug byte swapping unicode in apple
binary plist generation.
* Tests/base/NSNotification/dynamic.m: Fix crash in testcase.
2013-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLConnection.m: Release delegate immediately after
failure or succeess of communicationm (bug #38955).
* Source/Additions/Unicode.m: Fix possible read beyond end of buf.
2013-04-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: ([GSMimeParser-parse:]) fix possible infinite
recursion when encountering a bad document.
2013-04-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: Fix memory management error with excess bytes
after parsing mime headers.
2013-04-18 Marcus Muller <znek@mulle-kybernetik.com>
* Source/NSMetadata.m: Fix to expose variables to compiler building
with non-fragile ABI.
2013-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile:
* Source/unix/GNUmakefile:
* Source/unix/NSMetadata.m:
* Source/win32/GNUmakefile:
* Source/win32/NSMetadata.m:
* Source/NSMetadata.m:
* Headers/Foundation/NSMetadata.h:
Move identical system specific metadata code to generic area so we
can have system specific subclasses inherit common functionality.
Fix instance variables so we won't break binrary compatibility in
future.
2013-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* cifframe.m:
* GSString.m:
* GSTLS.m:
* NSArchiver.m:
* NSCalendar.m:
* NSCoder.m:
* NSData.m:
* NSDecimal.m:
* NSDictionary.m:
* NSDistantObject.m:
* NSException.m:
* NSFileManager.m:
* NSHashTable.m:
* NSIndexPath.m:
* NSLocale.m:
* NSMethodSignature.m:
* NSNotificationCenter.m:
* NSNumberFormatter.m:
* NSObject.m:
* NSPortCoder.m:
* NSProcessInfo.m:
* NSProxy.m:
* NSRunLoop.m:
* NSSocketPort.m:
* NSString.m:
* NSURL.m:
* NSURLProtocol.m:
* NSValue.m:
* NSXMLDocument.m:
* NSXMLNode.m:
* NSXMLParser.m:
More changes to avoid static analyzer false-positives/non-issues so we
can see when real issues arise. Changes remove around 60 warnings and
include about half a dozen minor bugfixes.
2013-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/GSObjCRuntime.m:
* Source/GSFormat.m:
* Source/GSPrivate.h:
* Source/GSString.m:
* Source/NSBundle.m:
* Source/NSJSONSerialization.m:
* Source/NSKeyValueObserving.m:
* Source/NSScanner.m:
* Tools/gdomap.c:
Tweaks to keep static analyser happy.
2013-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GNUstep.h: NSInteger/NSUInteger cleanup.
* Source/NSAffineTransform.m: Fix -isEqual: for subclassing.
* Source/NSObject.m: Remove previously deprecarted function
* Source/NSProxy.m: Avoid compiler warning
* Source/NSDistantObject.m: Avoid compiler warning
2013-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
Fix bug looking up class version information.
2013-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: improve the algoritm for parsing double values
(new algorithm based on public domain pseudo code).. should be more
accurate (for bug #38640).
2013-04-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationCenter.m: Fix bug #38680
2013-04-05 Richard Frith-Macdonald <rfm@gnu.org>
* config/pathtls.m4: Try to guess gnutls flags if no config found
* configure: regenerate
* Tools/AGSHtml.m: Fix error when title index missing.
2013-04-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m: Improve/simplify invalidation.
* Source/NSXMLParser.m:
Fix (implement) parsing of entities inside quoted strings.
2013-03-28 Richard Frith-Macdonald <rfm@gnu.org>
Make release 1.24.4
* Documentation/ReleaseNotes.gsdoc:
* Documentation/news.texi:
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
Prepare documentation for release
2013-03-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendar.m:
* Headers/Foundation/NSCalendar.h:
Rewrite NSCalendar instance variable usage to avoid breaking binary
compatibility. Fix methods for setting the first week day and
the minimum number of days in the first week of a month.
2013-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAffineTransform.m:
Fix decoding of keyed archive containing identity transform.
* Source/NSString.m:
* Tests/base/NSString/tilde.m:
Fix to standardize string if necessary to determine whether it has
the home directory as a prefix.
2013-03-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Revert change I
made on 2012-12-01.
2013-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSCalendar/features-10-7.m:
* Source/NSCalendar.m:
* Headers/Foundation/NSCalendar.h:
New OSX 10.7 methods supplied by Lobos Dolezel and rewritten somewhat
to avoid breaking binary compatibility.
2013-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSet.m: Some optimisation for set intersection.
2013-03-16 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSLocale/general.m,
* Tests/base/NSTimeZone/use.m: Mark more tests that depend on
locale setting as hopes.
* Tests/base/GSXML/basic.m: Set the timezone of the GSXMLRPC to
get the same date string in the output.
2012-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar:
* Tools/gsdoc-1_0_0.dtd:
* Tools/gsdoc-1_0_1.dtd:
* Tools/gsdoc-1_0_2.dtd:
* Tools/gsdoc-1_0_3.dtd:
* Tools/gsdoc-0_6_5.dtd:
* Tools/gsdoc-0_6_6.dtd:
* Tools/gsdoc-0_6_7.dtd:
* Tools/plist-0_9.dtd:
Update/correct FSF address.
2012-03-16 reussandras@gmail.com
* base/Source/NSCalendar.m:
Add simple quarter calculation.
* base/Source/NSPathUtilities.m:
Fix bug handling defaults dir config (was treating absolute path
as relative).
2012-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: Update timezone information
2012-03-16 Emmanuel Maillard <mailing-lists@e-maillard.com>
* configure.ac: checks for pthread library and password structure
* Headers/GNUstepBase/config.h.in: new define for password field
* Source/NSPathUtilities.m: use new define
* configure: regenerate
Changes for Android build
2012-03-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: Change hash function args and add new functions
* for incremental hash.
* Source/NSString.m: Update to use the private hash function introduced
for NSSortdescriptor.
* Source/GSString.m: ditto.
* Source/NSSortDescriptor.m: Update for new function arguments.
* Source/GSPrivateHash.m: Add alternative version of hash functions
(old code plus new public domain murmurhash3 code).
* Source/GNUmakefile: Build alternative hash functions.
build with OLDHASH defined to 0 to get new alternatives.
2012-03-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
Fix some autorelease pool management issues.
2013-03-09 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Tests/base/NSFileManager/general.m
remove accidently snucked in header
2013-03-08 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
* Tests/base/NSFileManager/general.m:
Implement methods forcoping/moving file URLs
2013-03-05 Larry Campbell <lcampbel@akamai.com>
* Source/NSFileManager.m: Fix for ([-contentsEqualAtPath:andPath:])
compare contents of regular files in subdirectories.
2013-03-05 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/NSFileManager.m:
* Headers/Foundation/NSFileManager.h:
([createDirectoryAtURL:withIntermediateDirectories:attributes:error:])
implemented.
Also, for OSX compatibility, RFM 'fixed' the ...error: methods to
leave the error value unmodified in the case where no error occurs.
2013-03-03 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/NSKeyValueObserving.m
* Source/NSXMLParser.m
char is unsigned on macppc, so don't compare it
against negative values
2013-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Version ... bump subminor number in preparation for next release.
2013-02-28 Richard Frith-Macdonald <rfm@gnu.org>
Make release
* Version:
* Source/NSRegularExpression.m:
* Source/NSURLResponse.m:
* Source/NSString.m:
* Source/DocMakefile:
* Source/GSNetServices.h:
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
* Headers/GNUstepBase/GSVersionMacros.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSXMLDocument.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSXMLDTD.h:
* Headers/Foundation/NSXMLDTDNode.h:
* Headers/Foundation/NSXMLElement.h:
* Headers/Foundation/NSXMLParser.h:
* Tools/DocMakefile:
* Tools/AGSParser.m:
Bump version for new release, add release notes, clean up documentation.
2013-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base/NSString/test00.m: Add a few tests for searching subrange
of a string.
* Source/GSString.m: ([rangeOfCharacterFromSet:options:range:])
Fix for overrun when searching backwards ... spotted by Fred.
2013-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAvahiRunLoopIntegration.m: Remove code which was clearing
bitmask values needed to track whether watcher needed to be removed
from run loop.
2013-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: a data url ignores any base URL.
* Source/GSAvahiClient.m: remove self from runloop on dealloc.
2013-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: updates to output correct predicate format
for binary operators.
* Source/NSURL.m: unescape data for -relativePath
2013-02-10 Marcus Muller <znek@mulle-kybernetik.com>
* Source/GSMDNSNetServices.m: enable whether a delegate is set or not.
2013-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: For OSX compatibility, if we are creating a relative
URL and the base URL has a different scheme from the base, then we
ignore the base URL rather than raising an exception.
2013-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Fix error in check for perform on finished thread.
2013-01-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendar.m: (-[dateByAddingComponents:toDate:options:]),
([-dateFromComponents:]) add support for missing components.
2013-01-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPredicate.m: Fixup parsing of function expressions.
2013-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLocale.m: ([-_getExemplarCharacterSet]) Fix error in handling
returned range (bug #38118 reported by X Y <macgritsch>
* Source/NSPropertyList.m: Fix encoding of date objects when using the
OpenStep format to simply used the description of the3 date.
Fixes bug #38017
* Source/NSURLConnection.m: a synchronous download with no response
body should return an empty data item rather than nil ... fix for
bug #38043
* Source/GSTLS.m: Log a warning message if we load a certificate
which has expired or is not yet valid.
2013-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: ([stringByAppendingPathComponent:]) recalculate
root of patch correctly before stripping trailing separators.
2013-01-13 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSDistributedNotificationCenter.h,
* Source/NSDistributedNotificationCenter.m: Correct the return
types of the factory methods.
2013-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
When creating a substring (C) of a substring (B) or a string (A),
we now retain the (A) in (C) rather than having (C) retain (B)
which in turn retains (A). This has the advantage that it is
possible for the intermediate (B) to be released if nothing else
ues it.
2013-01-05 00:49-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadata.h: Add _ to delegate.
* Source/GNUmakefile: Remove reference to NSMetadata.m
* Source/NSMetadata.m: Remove from here and add OS specific
implementations.
* Source/unix/GNUmakefile: Add new file...
* Source/unix/NSMetadata.m: UNIX implementation...
* Source/win32/GNUmakefile: Add new file..
* Source/win32/NSMetadata.m: Windows implementation.
2012-12-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNetServices.m: patch by Marcus Muller to correctly check
that either the input or the output stream has been opened.
* Source/GSString.m: patch by Stefan Bidi to optimise utf-8 to
utf-16 conversion a little.
2012-12-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMime.m: Fix parsing of final boundary in a multipart
document so that the trailing '--' ends the boundary and no CRLF
is required. The grammar in RFC1341 says that the final boundary
does not need a CRLF terminator.
2012-12-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTLS.m:
* Source/NSNotificationCenter.m:
* Source/NSPropertyList.m:
Tweaks to avoid compiler warnings spotted by Fred.
2012-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSHTTPCookieStorage.m: Don't read store if it doesn't exist.
* Source/GSTLS.h: Use time interval for caching
* Source/GSTLS.m: More efficient caching
2012-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: remove a couple of useless debug logs.
* Source/GSTLS.h: Add credentials object
* Source/GSTLS.m: Implement caching of credentials so that they are
shared between different sessions (eg a web server accepting multiple
incoming connections can re-use the same credentials for each of them).
This is to address a performance issue due to decoding certificate
information from file to create new credentials when lots of incoming
connections occur.
2012-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileHandle: ([-sslHandshakeEstablished:outgoing:])
Set the connection into non-blocking mode so that the handshake
will not block if the other end refuses to talk to us.
2012-12-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Use macros for
versions of libxml2.
2012-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Fixup ICU test error
* configure: regenerate
Change tests so that we no longer ignore it when icu-config tells
us we have too old a version to use.
2012-11-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Set content-length header in outgoing
request if not already set.
* Headers/Additions/GNUstepBase/GSMime.h:
* Source/Additions/GSMime.m: Add methods to control line folding.
2012-11-25 14:39-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadata.h
* Source/NSMetadata.m: Add NSMetadataQueryAttributeValueTuple and
NSMetadataQueryResultGroup classes.
2012-11-21 12:10-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadata.h: Add ivars.
* Source/NSMetadata.m: Cleanup compilation error.
2012-11-20 12:50-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadata.h: Declaratioins for constants and
NSMetadataItem.
* Source/NSMetadata.m: Implementation of NSMetadataItem and definition
of constants.
2012-11-19 18:54-CET Ivan Vučica <ivan@vucica.net>
* Source/GSInvocation.h: Renamed GSFrameInvocation to
GSDummyInvocation, to match implementation in
Source/NSInvocation.m.
2012-11-18 11:47-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSMetadataQuery.h: Remove old file.
* Source/GNUmakefile: Change name to NSMetadata.[hm].
* Source/NSMetadata.m: Add new file with correct name.
* Source/NSMetadataQuery.m: Remove old file.
2012-11-18 11:29-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/Foundation.h: Add NSMetadataQuery.h to
include list.
* Headers/Foundation/NSMetadataQuery.h: New header for class.
* Source/GNUmakefile: Add NSMetadataQuery.[hm] to makefile.
* Source/NSMetadataQuery.m: Abstract implementation for
NSMetdataQuery. The idea is much like NSFileStream and other
classes which have operating system specific implementations.
On linux this will, most likely, interface with locate/slocate.
I'm not certain what it will talk to on Win32.
2012-11-15 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSAutoreleasePool.m (-emptyPool): Fixed not to push a pool to
the cache in the ARC_RUNTIME implementation, -dealloc does it already.
For the same current pool instance, the ARC_RUNTIME implementation was
calling push_pool_to_cache() twice, once in -emptyPool and another
-dealloc. Which meant a pool still in use could be reused, then it was
possible to get stuck in an infinite loop.
2012-11-05 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSFFIInvocation.m (GSFFIInvocationCallback): Generate
useful error message when no best typed selector can be found.
2012-11-02 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: Use AC_FUNC_STRERROR_R to check for presence and
version of the strerror_r function.
* Source/Additions/NSError+GNUstepBase.m (-_systemError:): Add
conditional code for glibc specific version of strerror_r.
* Source/common.h: No longer redefine feature test macros as this
could invalidate the autoconf results.
* configure:
* Headers/GNUstepBase/config.h.in:
* SSL/configure:
* SSL/config.h.in: Regenerated by autoreconf.
2012-10-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSError+GNUstepBase.m:
* Source/GSFileHandle.m:
* Source/GSMDNSNetServices.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSThread.m:
* Source/common.h:
Changes to try to get inclusion of system specific features right.
In particular, we want strerror_r() to be POSIX complient so that
we get correct system erorr messages.
2012-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSGeometry.m: Fix so that an empty rect can never
intersect any other (including itsself). Reported by Banly Kemiyatorn
and Fred Kiefer.
2012-10-26 Richard Frith-Macdonald <rfm@gnu.org>
* Instance/Documentation/texi.make:
Fix installation/clean of html documents generated from texi files.
2012-10-25 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/GNUstepBase/GSConfig.h.in: Prevent redefinition warnings for
__STDC_LIMIT_MACROS and __STC_CONSTANT_MACROS (both are ObjC++ related).
2012-10-22 Thomas Davie <tom.davie@gmail.com>
* Headers/Foundation/NSSet.h:
* Source/NSSet.m:
Add -objectsPassingTest:
2012-10-22 Rene Hexel <rhexel+savannah@mac.com>
* Source/Additions/GSXML.m:
In libxml2 the content and use fields have become private and are only
exposed through xmlBufContent() and xmlBufUse() since libxml-2.9.0.
Use those macros for newer versions of libxml2.
2012-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Use NSUInteger for array indexes/counters.
2012-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Try to fix entity parsing bug #37596
2012-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSCalendarDate.m:
* Source/NSFileManager.m:
* Source/NSJSONSerialization.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSPropertyList.m:
Avoid autoreleasing things in +initialize when there may be no
autorelease pool present ... we don't want to either leak or
cause recursive loops when we want to log any leaks.
2012-10-15 Eric Wasylishen <ewasylishen@gmail.com>
* Tests/base/NSArchiver/stringEncoding.m: add test for last commit
2012-10-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSPropertyList.m (-[GSBinaryPLGenerator storeString:):
Write unicode strings in big-endian instead of little-endian.
The resulting plists now load properly on OS X. Thanks to
rdemet for bug report.
2012-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSCharacterSet.h:
* Source/NSCharacterSet.m:
For a long time Apple's docs and headers said that the methods for
returning standard charactersets returned 'NSCharacterSet*', which
was annoying when they were called on NSMutableCharacterSet.
It seems they finally changed to returning id, so we can do the same.
2012-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSDebug+GNUstepBase.h:
Fix format of logs produced by two of the three method macros ...
a bug spotted by Fred.
2012-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: for C-string formatting, avoid reading to the
nul terminator ... limit to a number of bytes equal to the precision
(if any) given in the format. This may be the wrong thing to do when
handling multibyte encodings (where a natural expectation is to have
precision mean number of characters), but seems legitimate going by
current xopen printf documentation.
2012-10-03 Wolfgang Lux <wolfgang.lux@gmail.com>
* SSL/GSSSLHandle.m (-sslSetOptions): Apply string name change
missed during TLS reorganisation.
2012-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/GSTLS.m:
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
* Headers/Foundation/NSFileHandle.h:
Add GNUstep TLS/SSL options when loading HTTPS URLs.
2012-09-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Fix error synchronising from changes in
database ... was not sending the notification to say we had updated.
* Headers/Foundation/NSFileHandle.h:
* Source/GSSocketStream.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
* Source/NSFileHandle.m:
More TLS reorganisation and adding diagnostics
2012-09-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile:
* Source/GSSocketStream.m:
* Source/NSFileHandle.m:
* Headers/Foundation/NSFileHandle.h:
* SSL/GSSSLHandle.m:
* Source/GSTLS.h:
* Source/GSTLS.m:
Restructure to separate some of the tls functionality out.
2012-09-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Fix error spotted by Fred.
2012-09-24 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileHandle.h: deprecate old method for setting
certificate and add new one.
* SSL/GSSSLHandle.m: Support new method and move generic code to
NSFileHandle.m
* Source/GSSocketStream.m: Implement NSFileHandle SSL/TLS support
using GNUTLS.
* Source/NSFileHandle.m: Some ssl/tls restructuring, use GNUTLS if
available.
* configure.ac: Don't build SSL bundle if isupport is built-in.
* GNUmakefile: ditto
* base.make.in: ditto ... plus fix to define setting to show whether
ICU is avaiable.
* configure: regenerate
2012-09-23 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSSocketStream.m: Expose GSFileHandle ivars for compilation
with the non-fragile ABI.
* Headers/GNUstepBase/GSVersionMacros.h: Restore line that was
accidentally commented out.
2012-09-23 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTimSort.m: Fix typo.
2012-09-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m:
* Source/NSDate.m:
* Source/NSDictionary.m:
* Headers/Foundation/NSArray.h:
Comment/documentation fixups to avoid warnings etc.
* Tools/AGSParser.h:
* Tools/AGSParser.m:
Fix memory management error causing reference to deallocated object.
2012-09-20 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTimSort.m: A few more timsort bugfixes.
2012-09-20 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSTimSort.m: Fix bugs in the timsort implementation.
2012-09-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSQuickSort.m: Fixed this to compile and (apparently) work.
2012-09-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Change sort selection to use shellsort by default and
to make sort selection internal to gnustep-base rather than public.
* configure: regenerate
* Headers/GNUstepBase/config.h.in: regenerate
* Headers/GNUstepBase/GSConfig.h.in: Remove public sort selection info
* Source/GSQuickSort.m: Use config.h to control build/not-build.
* Source/NSSortDescriptor.m: Reference the selected sort class to
ensure that it is linked in and loaded at runtime.
* Source/GSShellSort.m: Fix bug in function arguments.
Use config.h to control build/not-build.
* Source/GSSorting.h: tidied a little
* Source/GSTimSort.m: Use config.h to control build/not-build.
The changes are basically to keep sort information internal to
base rather than exposing it and, more importantly, to get sorting
working again. This involves:
1. minor fix to shellsort to get it to work.
2. change configure script to select shellsort.
The problems with the other sorts are:
a. quicksort won't even compile
b. timsort does compile, but segfaults when you try to give it
real-world datasets to sort
Anyone wantng to fix these, please do (it would be really cool
to have timsort working).
2012-09-19 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSSorting.h
* Source/NSSortDescriptor.m:
Add new generic interface for sorting.
* Source/GSTimSort.m: Implement timsort sorting algorithm.
* Source/GSQuickSort.m
* Source/GSShellSort.m:
Factor out previously used sorting algorithms.
* Source/GSArray.m
* Source/NSArray.m:
Modify to use the new sorting interface for sorting using
functions, NSSortDescriptor, and NSComparator. Implement
NSComparator based sorting and insertion index searching
methods.
* Source/GNUmakefile: Connect new files to the build.
* configure.ac: Add configure switch to allow selection of sort
algorithm.
* Headers/GNUstepBase/GSConfig.h.in: Add defines for sort
algorithm selection.
* configure: Regenerate
* Headers/Foundation/NSObjCRuntime.h
* Headers/Foundation/NSArray.h:
Declarations for new NSComparator based sorting methods.
* Tests/base/NSArray/general.m
* Tests/base/NSArray/blocks.m:
Add tests for new functionality.
* Tests/base/NSArray/random.plist
* Tests/base/NSArray/sorted.plist:
Add sorting example data that is large enough to test more
sophisticated sorting algorithms.
Completely overhaul how we do sorting in -base. GSSorting.h now
defines an interface that can be used for all sorting tasks in
the library. The actual sort algorithms to use are now plugable.
Timsort is the new default sorting algorithm, the existing
algorithms, shellsort and quicksort can still be selected using
a configure switch, but they do not override timsort completely
because they are unstable.
Also implement the new NSComparator (blocks) based sorting and
insertion index searching methods for NSMutableArray and
NSArray.
2012-09-17 12:03-EDT Gregory John Casamento <greg.casamento@gmail.com>
Merged from the testplant branch.
* Headers/Foundation/Foundation.h
* Headers/Foundation/NSScriptWhoseTests.h
* Source/GNUmakefile
* Source/NSObject+NSComparisonMethods.m: Move the
comparison methods to the header for NSScriptWhoseTests.h,
but don't define the abstract class since we don't support
Apple script.
2012-09-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
* Tests/base/NSURL/basic.m:
Add support for data: URL
2012-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m:
Fix quoting of string output by copying code from WebServices library.
2012-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m:
* Source/NSPropertyList.m:
Improve serialisation of booleans.
2012-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSDate.h: Declare new OSX method to add time
interval to a date.
* Source/NSDate.m: Implement it
* Source/NSCalendarDate.m: Ditto
* Source/NSRunLoop.m: Add exception handling for run loop performer.
2012-09-10 Sergii Stoian <stoyan255@gmail.com>
* Source/NSFileManager.m:
[createDirectoryAtPath:withIntermediateDirectories:attributes:error:]:
Create directories only if it doesn't exist.
2012-09-09 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSPropertyList.m (-storeString): Add missing variable
declaration on big-endian systems.
2012-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m:
Don't ignore whitespace in keys and values when parsing XML ... the
DTD says everything apart from array and dict contains #PCDATA.
2012-09-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: Compatibility tweak reported by hns@computer.org
A string like '1.2eX' where X is not a numeric exponent, needs to be
scanned as a float/double up to (but not including) the 'e' (or 'E')
rather than being treated as a badly formatted float/double.
2012-09-04 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSXMLDocument/cdata.m: New test case for CDATA.
2012-09-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m:
* Source/NSBundle.m:
* Source/NSPropertyList.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDistributedLock.m:
* Source/GSHTTPURLHandle.m:
* Source/NSZone.m:
* Source/NSPage.m:
* Source/NSMessagePort.m:
* Source/NSUnarchiver.m:
* Source/win32/GSFileHandle.m:
* Source/NSFileManager.m:
* Source/common.h:
* Source/NSString.m:
* Source/Additions/NSData+GNUstepBase.m:
* Source/Additions/Unicode.m:
* Source/Additions/NSMutableString+GNUstepBase.m:
* Source/Additions/NSError+GNUstepBase.m:
* Source/Additions/GSMime.m:
* Source/Additions/NSString+GNUstepBase.m:
* Source/Additions/GCArray.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSNumber+GNUstepBase.m:
* Source/Additions/GSObjCRuntime.m:
* Source/GSString.m:
* Source/NSObjCRuntime.m:
* Source/GSFormat.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
On windows with mingw we can use strtoull() rather than _strtoui64().
Also, remove redundant header includes since string.h is in common.h
2012-09-03 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Fallback to the non icu-config check for ICU in
the general case.
* configure: Regenerate.
2012-09-01 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Implement `--disable-icu-config' switch to
configure for platforms that ship libicu but not icu-config.
* configure: Regenerate.
2012-08-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSstring.m: ([-stringByAppendingPathComponent:]) fix for
append to an empty string with a windows path as an argument.
2012-08-26 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for sys/filio.h and whether we need to
link libsocket (as on QNX).
* configure
* SSL/configure
* Headers/GNUstepBase/config.h.in:
Regenerate.
* Source/common.h
* Source/GSFileHandle.m
* Source/NSMessagePort.m
* Source/NSSocketPort.m
* Source/NSThread.m
* SSL/GSSSLHandle.m:
QNX compatibility tweaks.
* Tools/gdnc.m
* Tools/gdomap.c:
Use slog facility for logging on QNX.
Compatibility improvements for building for QNX.
2012-08-26 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for QNX slog facilities.
* Headers/GNUstepBase/config.h.in
* configure:
Regenerate
* Source/NSLog.m: Implement logging to the QNX slog.
Add support for logging to the QNX slog via NSLog().
2012-08-25 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Allow a cross-compilation configuration to be
specified using the `--with-cross-compilation-info=' switch.
Tweak configure script to behave gracefully when
cross-compiling.
* configure: Regenerate.
* cross.config: Add default values for cross-compilation.
Make the configure script behave more friendly when
cross-compiling.
2012-08-16 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for objc_root_class attribute
* configure: Regenerate
* config/objc-common.g: Annotate root classes.
* Headers/GNUstepBase/config.h.in: Regenerate
* Headers/GNUstepBase/GSConfig.h.in: Add macro for root class
attribute availability.
* Headers/GNUstepBase/GSVersionMacros.h: Define GS_ROOT_CLASS
depending on whether the compiler supports it.
* Headers/Foundation/NSObject.h: Mark NSObject as a root class.
* Headers/Foundation/NSProxy.h: Mark NSProxy as a root class.
* Source/NSDistantObject: Mark GSDistantObjectPlaceholder as a
root class.
* Source/NSObject.m: Mark NSZombie as a root class.
Changes to support clang's __attribute__((objc_root_class)).
2012-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: Fix error in comment
* Tools/pldes.m: Update to more modern APIs
* Tools/plser.m: Update to more modern APIs
* Source/NSPropertyList.m: Update for usigned long long
* Source/NSString.m: Make intValue, integerValue, longLongValue
return large unsigned values as negative.
Fixes to try to cope with property lists containing very large
unsigned integers (top bit set).
2012-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m:
Fix permissions on temporary directory rarther than just failing ...
suggestion by Wolfgang.
2012-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: ([-createDirectoryAtPath:attributes:])
OSX compatibility change to no longer create intermediate directories
(fixing bug #35672).
NB. Code depending on the original incorrect behavior should be
updated to use the new method:
-createDirectoryAtPath:withIntermediateDirectories:attributes:error:
2012-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSpellServer.m:
* Source/NSPropertyList.m:
* Source/NSPathUtilities.m:
* Source/NSUserDefaults.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDistributedLock.m:
* Source/NSMessagePort.m:
* Source/NSHTTPCookieStorage.m:
Use new method for creating intermediate directories rater than
depending on incorrect behavior of the old method.
2012-08-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m:
Fix problem considering a lack of whitespace at the end of the
list as an error.
* GSeq.h: Replace tolower() with uni_tolower() where using 8bit
strings and the internal coding is latin1 and may not be the same
as the native encoding.
2012-08-08 Riccardo Mottola <rm@gnu.org>
* Tools/AGSParser.m:
Add macro detection for MacOS version 10.1 to 10.6 and make
GS_API_LATEST the last in priority.
2012-08-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Simplify/remove upper and lower case conversion
to use superclass implementation avoiding toupper() and tolower().
Change other literal string methods to check that the content
is really utf8 in more places. Generally simplify/cleanup a bit.
2012-08-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSValue.m: ([-isEqualToValue:]) add check for self equality
and fix error checking tyep signature.
* Source/Additions/GSObjCRuntime.m: (GSSelectorTypesMatch) fix to
return a true BOOL value.
2012-07-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Optimisations for chunked encoding.
a. Don't resize the buffer for each chunk ... that's very inefficient
if the other end sends tiny chunks. Instead, make the buffer big
enough to handle all the available data, then shrink back to the
decoded size.
b. Move method call out of the loop handling individual bytes.
2012-07-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: ([setLength:]) increase size of buffer in chunks
proportional to the current size ... so if we add small amounts to a
buffer many, many times, we don't reallocate the memory for each tiny
increment. Should make accumulating large amounts of data into a
buffer much more efficient.
2012-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m:
Try fix for bug #36967
2012-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLNode.m: Just report string value as description ...
which appears to be what OSX does.
* Tests/base/KVC/mutable.m: Add tests based on code by Riccardo.
2012-07-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m:
* Source/GSFFIInvocation.m:
* Source/GSPrivate.h:
* Source/NSInvocation.m:
* Source/cifframe.h:
* Source/cifframe.m:
Initial attempt at implementing KVO for structure setter methods in
general via libffi.
2012-07-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-description): Remove trailing newline. This
should fix #36976.
2012-07-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFCallInvocation.m:
* Source/NSKeyValueObserving.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSProtocolChecker.m:
* Source/GSValue.m:
* Source/NSValue.m:
Use GSSelectorTypesMatch() for type comparisons.
2012-07-12 19:26-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSFileManager.m: Correct misspelled ASSIGN which was
causing link errors.
2012-07-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Don't accept documents where header lines
contain bytes which can't be converted to a string.
2012-07-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedArchiver.m:
* Source/NSCoder.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSArchiver.m:
* Headers/GNUstepBase/GSObjCRuntime.h:
Have leading type qualifiers and laout information skipped when
encoding a value of on ObjC type, rather than objecting that the
supplied type string is not a known type.
Fix for bug #36824
2012-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: Fix for bug #36706
* Source/NSObject.m: Also, apply patch by Niels Grewe with modsvn commit
2012-07-09 Sebastian Reitenbach <buzzdee>
* Source/NSThread.m: Fixes test for posix thread scheduling.
2012-07-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Fixes for bug #34815 ... map between old and
new style language names and use the best language specific
resource available.
* Resources/Languages/Locale.canonical: Add mappings from three
letter language names to two letter names where they exist.
2012-07-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSVersionMacros.h:
fix for bug #36650
* Source/NSFileManager.m: Apply rewritten patch by Sergey Golovin
* Source/NSBundle.m: Fix for bug #34815 ... we shoudl now move to
using ISO names.
2012-07-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
* Source/NSURLHandle.m:
Re-load a cached handle if the content has been invalidated.
Set the status of a file handle to not-loaded if the fiel is modified.
Should fix bug #36726
2012-07-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Don't assume that code loading won't be called
re-entrantly.
2012-07-05 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSPathUtilities.m: Fixed constant string comparison error
reported by Clang SVN trunk r158230 or more recent.
See http://llvm.org/viewvc/llvm-project?view=rev&revision=158230
This is a workaround for a Clang compiler bug ...
2012-07-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Attempted fix for bug #34191 ... change framework
class association to keep a map of loaded frameworks/bundles by class
for quick lookup and alter code to check the runtime for new frameworks
if we are asked for the bundle for a class and we can't find it.
2012-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: Fix missing 'else' which was causing a
memory leak and minor performance degradation.
2012-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Check for nil property list argument.
2012-06-07 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/unix/GSRunLoopCtxt.m (-pollUntil:within:): Fix previous
change to compile again when using select() instead of poll().
2012-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/NSMessagePort.m:
* Source/win32/GSRunLoopCtxt.m:
Modify code for getting file descriptors to cope with an unlimited
number (allocate buffer on heap if necessary) for server processes
with very large numbers of distributed object connections.
2012-04-30 Riccardo Mottola <rm@gnu.org>
* Source/NSString:
Do not include malloc on OpenBSD to avoid warning (and include
stdlib always).
2012-04-29 Riccardo Mottola <rm@gnu.org>
* Source/common.h:
Extend David's hack to all known non-glibc platforms
2012-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArchiver.m:
* Source/NSUnarchiver.m:
* Source/NSPortCoder.m:
* Source/Coder.m:
Updates to cope with the fact that some BSD ports of gnustep-base
used incorrect versioning, and that people have released Gorm
files with versioning incompatible with current releases.
1. dissociate coder -systemVersion from the actual system version,
so that if people mess with the gnustep-base version, their
non-standard releases will still interoperate with normal code.
2. Implement new array encoding/decoding compatible with earlier
versions (except if the array contains exactly 0xffffffff items).
3. Raise exception if decoding archives with an unsupported version.
4. Add GSCoderSystemVersion user default to override the system
version used for encoding ... for testing and tweaking to generate
archives in, or communicate with DO servers using an earlier version.
2012-04-23 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSAutoreleasePool/autorelease_eh.m:
Get new test to run with older compilers.
2012-04-23 12:47 theraven
* libs/base/trunk/Source/NSAutoreleasePool.m,
libs/base/trunk/Tests/base/NSAutoreleasePool/autorelease_eh.m:
Fix a bug in the new autorelease pool implementation when pools
are destroyed in the wrong order.
Test cast by Chris Armstrong!
2012-04-22 Riccardo Mottola <rm@gnu.org>
* Source/GSString.m
Do not include malloc on OpenBSD to avoid warning.
2012-04-18 Fred Kiefer <FredKiefer@gmx.de>
* Tools/pl2link.m (main): Get the category from a new entry named
FreeDesktopCategories.
Patch by Philippe Roussel <p.o.roussel@free.fr>.
2012-04-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c: Fi error calculating instance
variable offset size as reported/suggested by James Cook
<mokus@deepbondi.net>
2012-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add tests for lossy conversion using iconv and
provide options to disable use of iconv or allow use of iconv
where //TRANSLIT is missing.
* configure: regenerate.
2012-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
Fix test for availability of lossy conversion via iconv.
2012-04-10 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Tools/make_strings/StringsFile.m
* Tools/pl.m
some NSInteger -> NSUInteger changes to match return
values of methods
2012-04-07 13:54 theraven
* Source/NSMethodSignature.m: Fix NSMethodSignature
generating nonsense values when it encounters a type encoding
including blocks.
2012-04-07 10:45 theraven
* Source/GSSocketStream.m:
* Source/NSAffineTransform.m:
* Source/NSXMLDTDNode.m:
* Tools/xmlparse.m: Fix the remaining compiler
warnings.
2012-04-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDocument.m:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m: Remove compiler warnings for clang
reported by David Chisnall.
* Tests/base/NSAutoreleasePool/basic.m: Get to compile again
without -C99.
2012-04-06 12:37 theraven
* libs/base/trunk/Source/NSConnection.m,
libs/base/trunk/Source/NSData.m,
libs/base/trunk/Source/NSKeyValueObserving.m: Fix a few compiler
warnings caused by type mismatches in NSLog statements.
2012-04-06 12:23 theraven
* libs/base/trunk/Headers/Foundation/NSArray.h,
libs/base/trunk/Headers/Foundation/NSDictionary.h,
libs/base/trunk/Headers/GNUstepBase/GSVersionMacros.h,
libs/base/trunk/Source/NSArray.m,
libs/base/trunk/Source/NSDictionary.m,
libs/base/trunk/Tests/base/NSArray/basic.m,
libs/base/trunk/Tests/base/NSDictionary/basic.m: Support for
collection subscripting (NSArray and NSDictionary).
Yes, the syntax is ugly, but no doubt people will start using it
in June...
2012-04-06 12:02 theraven
* libs/base/trunk/Source/NSAutoreleasePool.m,
libs/base/trunk/Tests/base/NSAutoreleasePool,
libs/base/trunk/Tests/base/NSAutoreleasePool/TestInfo,
libs/base/trunk/Tests/base/NSAutoreleasePool/basic.m: Use the
runtime's ARC autorelease pools if available.
2012-04-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (+_objectForNode:): Don't create a document
object for a private document.
* Tests/base/NSXMLNode/transfer.m: New code for test case
contributed by Doug Simons.
2012-04-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Fix compiler error and warning for older
version of libxml2.
2012-04-01 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSNumber.m: Add special small object class for floats.
Previously, NSSmallRepeatableDouble would be used which resulted in
the float being printed as a double when calling -stringValue or
-description.
2012-03-27 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSObject.h (-error:): Declare return type.
Patch by Benoît Garrigues <bgarrigues@gmail.com>
2012-03-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (execute_xpath): Clean up.
2012-03-27 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac
* config.mak.in
* Headers/GNUstepBase/GSConfig.h.in
* Headers/GNUstepBase/config.h.in:
Implement configure check for libdispatch.
* configure: Regenerate
* Source/GSDispatch.h: Add portability header with macros for compiling
with or without libdispatch.
* Source/NSArray.m
* Source/NSDictionary.m
* Source/NSIndexSet.m
* Source/NSSet.m
* Headers/Foundation/NSIndexSet.h:
Implement libdispatch support for block enumeration methods.
* Tests/base/NSMutableIndexSet/blocks.m
* Tests/base/NSDictionary/blocks.m
* Tests/base/NSArray/blocks.m:
Test cases for new code.
Detect the presence of libdispatch and, if available, use it for
collection enumeration methods that take blocks as arguments. This
allows us to implement the NSEnumerationConcurrent option of those
methods with minimal effort.
2012-03-27 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSOperation.m: Remove leftover debugging statements.
2012-03-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
* Source/NSRegularExpression.m:
* Headers/GNUstepBase/GSBlocks.h:
* Headers/Foundation/NSOperation.h:
Get things compiling/linking again with gcc after blocks changes.
2012-03-27 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSOperation.h
* Headers/GNUstepBase/GSBlocks.h:
Fix definitions of blocks without arguments for GCC.
2012-03-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Better support for namespaces. Corrected
-_nodeFollowingInNaturalDirection:, -setStringValue:
and -XMLStringWithOptions:
2012-03-26 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSOperation.h
* Source/NSOperation.m:
Implement -setCompletionBlock: and -completionBlock.
* Headers/GNUstepBase/GSBlocks: Make blocks without arguments callable
* Tests/base/NSOperation/basic.m: Test whether completion blocks work.
2012-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLPrivate.h: Change order of includes to ensure libxml2
headers are seen early.
2012-03-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-rootDocument): Better test for private document.
* Source/NSXMLDTDNode.m (-initWithXMLString:): Use childAtIndex:
instead of rootElement.
2012-03-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-copyWithZone_): Use value 1 instead of 2
for deep copy. Bug found by Doug Simons <doug.simons@testplant.com>.
* Source/NSXMLNode.m (-rootDocument): Don't return the private document.
* Source/NSXMLNode.m (-nextSibling, -previousSibling): Protect
against namspace nodes.
* Tests/base/NSXMLNode/transfer.m: New test case for problem
reported by Doug Simons.
2012-03-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Fix memory leak for attribute private
documents found by valgrind.
* Tests/base/NSXMLNode/namespace.m: Use drain instead of release.
2012-03-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDocument.m (-URI, -setURI:): Specific implementation.
* Source/NSXMLPrivate.h: Remove URI ivar.
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Full support for namespaces.
* Tests/base/NSXMLNode/namespace.m: Test code borrowed from Google
data project.
2012-03-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDocument.m: Correct memory management.
* Source/NSXMLElement.m,
* Source/NSXMLNode.m: Add partial support for namespaces.
Try to bracket more libxml2 functions with version checks.
2012-03-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m:
Bracket everything in test of HAVE_LIBXML2
* configure.ac:
* configure:
Alter tests for major dependencies (ICU, XML, TLS) so that they all
abort configuration unless specifically disabled ... we want a
consistent build with all major features.
2012-03-20 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSDictionary.h
* Source/NSDictionary.m:
Implement blocks related enumeration methods.
* Tests/base/NSDictionary/blocks.m:
Test cases for blocks support.
2012-03-20 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSObjCRuntime.h: Define NS_REQUIRES_NIL_TERMINATION
macro.
2012-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h:
Try to make error message more helpful when building with incompatible
exception handling settings.
2012-03-18 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDTDNode.m: Correct node type, at least for entity nodes.
* Source/NSXMLDTD.m: Use predefined entities from libxml2.
* Source/NSXMLNode.m: Rewrite the ownership transfer to preserve
names in dictionaries.
2012-03-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLPrivate.h: Remvoe unused ivars.
* Source/NSXMLDocument.m: Get DTD from node and and validation in
init methods.
* Source/NSXMLDTD.m: Implement.
* Source/NSXMLNode.m: No children for attribute nodes.
* Tests/base/NSXMLNode/basic.m: Test empty attribute children
2012-03-16 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-XMLStringWithOptions:): Protect the
different format constants with version checks.
2012-03-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLDocument.m (-XMLDataWithOptions:): Correct convesion
to NSData. Add some comments.
2012-03-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLPrivate.h: Add comments on owner policy.
* Source/NSXMLNode.m (-XMLStringWithOptions:): Reimplement to
allow closer control over output.
* Source/NSXMLDocument.m (-XMLStringWithOptions:): Remove this method.
2012-03-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLPrivate.h:
* Source/NSXMLNode.m:
* Source/NSXMLElement.m:
Fixups to get the code to build on CentOS/RedHat linux.
2012-03-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-detach): Don't handle the namespace case.
* Source/NSXMLElement.m (-removeNamespaceForPrefix:): Implement.
* Tests/base/NSXMLNode/basic.m: Move tests from here ...
* Tests/base/NSXMLElement/basic.m: ... to here.
2012-03-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m: Correct used namespace field.
* Source/NSXMLNode.m: Implement special handling for namespace nodes.
* Tests/base/NSXMLNode/basic.m: Correct method name for namespace node.
2012-03-11 Richard Frith-Macdonald & Fred Kiefer
* Source/NSXMLNamespace.m:
* Source/GNUmakefile:
* Source/NSXMLPrivate.h:
* Source/NSXMLNode.m:
Revert most of my last change in favour of Fred's changes.
2012-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLNamespace.m: New class for namespaces
* Source/GNUmakefile: Build with new class
* Source/NSXMLDocument.m:
* Source/NSXMLPrivate.h:
* Source/NSXMLDTD.m:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m:
Use a new class for namespaces ... just a placeholder/skeleton so far.
Change other classes to know the correct type of their 'node' pointer.
2012-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLNode.m: Avoid crash when trying to get the parent of a
namespace ... namespaces don't have parents and in fact have a
completely different in-memory layout to other 'node' types.
2012-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLHandle.m:
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
* Headers/Foundation/NSURLProtocol.h:
Tweak handling of debug settings to consistently write debug output
using NSLog.
2012-03-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-copyWithZone:): Don't set object value of
copy if it is nil.
* Source/NSXMLNode.m (+_objectForNode:): Use correct sub class for
decl nodes.
* Tests/base/NSXMLNode/basic.m: More tests.
2012-03-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-detach, -_insertChild:atIndex:): Maintain
doc pointer.
* Source/NSXMLDTD.m: Implement a few methods.
2012-03-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (+_objectForNode:): Add a few more libxml2
node types.
2012-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m: Attempt to fix logic for event handling of data
streams.
2012-03-01 Jens Alfke <jens@mooseyard.com>
* Headers/GNUstepBase/NSURL+GNUstepBase.h:
* Source/Additions/NSURL+GNUstepBase.m:
* Source/NSURL.m:
New -pathWithEscapes method to enable differentiation between '/'
characters in the original path and '%2F' escapes in it.
2012-03-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (+initialize): Add workaround for Windows
xmlFree problem.
2012-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: check for parse complete explicitly and
remove case where complete is set to NO if using chunked coding ...
it seems to be jsut wrong.
2012-03-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-copyWithZone:): Use objectValue ivar
directly as the subclass NSXMLElement returns a different value.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSUserDefaults.m:
* Source/NSConnection.m:
* Source/NSCharacterSet.m:
* Tools/make_strings/StringsFile.m:
* Tools/pl.m: Fix instances where NSNotFound is stored in or
compared to an unsigned or int variable.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSString.m: Factor out code for opening an ICU collator
into static function GSICUCollatorOpen. Support
NSDiacriticInsensitiveSearch.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/Foundation/NSString.h (-compare:options:range:locale:):
Rename locale parameter from "dict" to "locale".
* Source/NSString.m (-compare:options:range:locale:): If locale
paramater is not nil and not an NSLocale instance, substitute
+[NSLocale currentLocale].
* Source/NSString.m: Clarify some locale related documentation.
2012-03-05 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSXMLElement/attributes.m: Test for changed
exception.
* Tests/base/NSXMLNode/basic.m: More tests.
* Source/NSXMLNode.m: Rewrite object value handling.
* Source/NSXMLElement.m (-objectValue): Return @"" when the value
is nil.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSString.m (-rangeOfString:options:range:locale:):
Correct result range with ICU codepath
2012-03-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m (-addAttribute:): Raise correct exception.
* Tests/base/NSXMLNode/children.m: Add test cases for attributes.
2012-03-05 Eric Wasylishen <ewasylishen@gmail.com>
* Tests/base/NSString/locale.m: Expand test of compare:
and rangeOfString:. Mark as hopeful for the moment. All pass
on Mac OS 10.7.
2012-03-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLPrivate.h: Move private method declarations for
NSXMLNode to here.
* Source/NSXMLDocument.m
* Source/NSXMLDTD.m
* Source/NSXMLDTDNode.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m: Clean up and add comments about missing code.
2012-03-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m: Remove all the extra reference handling code
and the special retain and release methods.
* Tests/base/NSXMLNode/basic.m,
* Tests/base/NSXMLNode/children.m: A few more test
cases. Validated on MacOSX 10.6.
2012-03-02 Eric Wasylishen <ewasylishen@gmail.com>
* Tests/base/NSString/locale.m: Add a simple test for locale sensitive
compare: and rangeOfString: methods.
2012-03-02 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSString.m: Fix for ICU anchored backwards search
2012-03-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSLocale.m (GSDefaultLanguageLocale): Add missing check
for LC_MESSAGES definition.
2012-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: fix for bug #35692
2012-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Compatribility fix ... copy strings implicitly
when taking a substring of a string whose buffer is not owned.
2012-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLConnection.m: Compatibility fix for bug #35686
In this case Cocoa breaks its own convention about delegates
not being retained, so we need to do the same.
2012-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/config.h.in: add missing ICU headers
* Source/NSString.m: fix minor coding standard violations.
2012-03-01 Jens Alfke <jens@mooseyard.com>
* Source/NSString.m:
* Source/NSURL.m:
Fix decoding of percent escapes with uppercase hex values
(bug #35685)
2012-03-01 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSString.m: Implement a codepath using ICU for
-compare:options:range:locale: and
-rangeOfString:options:range:locale: when a non-nil locale
is provided.
* Headers/Foundation/NSString.h (-compare:options:range:locale:):
Change type of locale parameter to id; it can be NSDictionary or
NSLocale.
* configure.ac: add some ICU headers used in NSString change
* configure: regenerate
2012-03-01 Graham Lee
* Source/GSNetworks.h: import GSPrivate.h
2012-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURLResponse.h:
* Source/NSURLResponse.m:
Implement new initialiser from 10.7
2012-03-01 Jens Alfke <jens@mooseyard.com>
* Source/NSJSONSerialization.m:
Use %g for numeric output format.
2012-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSRunLoopWatcher.h:
* Source/NSXMLPrivate.h:
* Source/GSRunLoopCtxt.h:
* Source/common.h:
* Source/Additions/NSError+GNUstepBase.m:
* Source/GSURLPrivate.h:
Include config.h via common.h ... and have that turn off _GNU_SOURCE
so GNU extensions aren't used and we stick to standard strerror_r
2012-03-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m: More cleanup.
2012-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLNode.m:
* Source/NSXMLElement.m:
Cleanup to conform to coding standards/conventions.
Fix lots of functions to be local in scope.
Add comments about needing to implement correct object ownership
model.
2012-02-27 Doug Simons <doug.simons@testplant.com>
* Source/NSXMLNode.m: Fix a crashing bug after an invalid xpath
expression is used.
2012-02-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSError+GNUstepBase.m: try to ensure we always get
the POSIX version of strerror_h.
2012-02-27 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSLocale.m:
- Deprecate GSSetLocale and GSSetLocaleC; they now do nothing
but print a warning.
- Introduce GSDefaultLanguageLocale(), which is a
substitute for GSSetLocale(LC_MESSAGES, nil), which just returns the
current setting of LC_MESSAGES.
* Source/NSObject.m (+initialize): Remove GSSetLocaleC call,
which was changing the libc locale.
* Source/NSUserDefaults.m: Use GSDefaultLanguageLocale() instead of
GSSetLocale(LC_MESSAGES, nil)
2012-02-27 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSArchiver.m (-resetArchiver): Write [self systemVersion] as
the archive version instead of 0, because this is what will be stored in
the archive if -encodeRootObject: is not called.
2012-02-27 Eric Wasylishen <ewasylishen@gmail.com>
* SSL/configure.ac: Change test for ssl2_clear in -lssl
to test for SSL_clear, which is a public function and
is acutally used by the SSL bundle. The test for ssl2_clear
was failing with OpenSSL 1.0.0e.
* SSL/configure: Regenerate
2012-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArchiver.m:
* Source/NSUnarchiver.m:
* Source/NSPortCoder.m:
* Version: Update to 12402
Bump subminor version as suggested by eric Wasylishen, in case there
are any archives which would be caugt by the new version number.
2012-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArchiver.m:
* Source/NSUnarchiver.m:
Revise archive format to allow for variable sized array counts ...
original versionallowed for variable encodings of integral types in
archived data, but not for the count of the nuymber of items in the
array :-(
* Source/NSPortCoder.m: Similar fixes for encoding/decoding arrays.
2012-02-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-copyWithZone:): Copy name spaces as well.
* Source/NSXMLDocument.m (-copyWithZone:): Rewrite copy method.
* Source/NSXMLElement.m: Remove copy method.
2012-02-27 Doug Simons <doug.simons@testplant.com>
Merged to trunk by: greg.casamento@gmail.com
* Source/NSXMLDocument.m: Fix bugs in setCharacterEncoding: and
copyWithZone: that cause a memory crash when tree is freed.
Doug Simons <doug.simons@testplant.com>
2012-02-27 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (+_objectForNode:): Get the actual class from
the document.
* Source/NSXMLNode.m (-description): Add a simple description method.
* Source/NSXMLDocument.m: Further cleanup. Exchange the contents of
-initWithData:... and initWithXMLString:...
2012-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArchiver.m:
* Source/NSUnarchiver.m:
Alter to support encoding and decoding arrays with NSUInteger counts
(ie more than 2^32 objects if on a 64bit system).
2012-02-26 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSData.m: Various 64-bit compatibility fixes, mostly changing
unsgined to NSUInteger.
2012-02-26 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (execute_xpath): Use correct node for
relative paths.
* Source/NSXMLNode.m (isEqualTree): Correct equality test to
ignore siblings.
* Source/NSXMLNode.m (+elementWithName:stringValue:): Correct
recursive call.
Patch by Ivan Vučica <ivucica@gmail.com>
* Source/NSXMLElement.m: Add FIXME comments for name space methods.
2012-02-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLElement.m: Implement namespace methods.
2012-02-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m (-_nodeFollowingInNaturalDirection:): Correct
this method.
* Source/NSXMLDocument.m,
* Source/NSXMLElement.m: Clean up children methods.
2012-02-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m: Further clean up.
* Source/NSXMLDTDNode.m (-initWithXMLString:): Move comment about
missing code to here.
* Source/NSXMLElement.m (-initWithName:stringValue:): Move subnode
creation to here.
2012-02-21 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSXMLNode.m: Clean up helper functions.
2012-02-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAffineTransform.m (-initWithCoder:, -encodeWithCoder:):
Add key coding and decoding for NSAffineTransform.
2012-02-19 22:37-EST Gregory John Casamento <greg.casamento@gmail.com>
Doug Simons <doug.simons@testplant.com>
* Source/NSXMLDocument.m
* Source/NSXMLDTD.m
* Source/NSXMLDTDNode.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m
* Source/NSXMLPrivate.h: Reimplementation of all DOM classes based on
libxml2. Implementation of all methods using libxml2 functions.
* Tests/base/NSXMLDocument/basic.m
* Tests/base/NSXMLElement/attributes.m
* Tests/base/NSXMLElement/children.m
* Tests/base/NSXMLNode/basic.m
* Tests/base/NSXMLNode/children.m
* Tests/base/NSXMLNode/kinds.m: Changes to test for new functionality.
2012-02-08 Lubomir Rintel <lubo.rintel@gooddata.com>
* Source/NSHTTPCookie.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSURLConnection.m:
* Source/NSURLProtocol.m:
* Source/NSURLRequest.m:
Enable the use of cookies by default ... addse setting of cookies
in requests and improves caching/storing. Original patches rewritten
by maintainer to conform to coding standards and for clarity.
2012-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSConcreteValueTemplate.m: Don't ask a non-retained object
to describe itsself (in case it has gon away) bug#35477
2012-02-07 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Check for threading library on QNX.
* configure: Regenerate.
2012-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Version: 1.24.1 ... still binary compatibile with 1.24.0
* Source/NSTextCheckingResult.m:
* Headers/Foundation/NSTextCheckingResult.h: coding style tidyups
2012-02-03 Adam Fedor <fedor@gnu.org>
* Bump version
2012-02-03 Adam Fedor <fedor@gnu.org>
* Version 1.24.0
* Update announcements
2012-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Fixup for bug #35437
2012-01-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m: bugfix for empty strings.
* Tests/base/NSJSONSerialization/json.m: add a few emtpy element
tests and fixup to be more readable
2012-01-31 Richard Frith-Macdonald <rfm@gnu.org>
* Version: revert last change as Fred pointed out I got it wrong and
we shoudl be updating version immediately *after* release.
2012-01-31 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSURLRequest/basic.m: Remove two astray @ characters.
2012-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Version: Bump version to 1.24.0 in preparation for release.
* NSTimeZones/NSTimeZones.tar: Update timezone information
2012-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m:
Fix buffer overrun reported by Lubomir Rintel <lubo.rintel@gooddata.com>
2012-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m:
* Source/NSAffineTransform.m:
* Source/NSNotificationCenter.m:
* Source/NSConnection.m:
* Source/GSString.m:
Avoid a few static analyser warnings.
2012-01-29 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* Headers/GNUstepBase/config.h.in:
* Source/GSFFIInvocation.m:
* Source/GSPrivate.h:
* Source/NSInvocation.m:
If modern ffi is available, use ffi_prep_closure_loc and ffi closure
memory management so we get the benefit of ffi library code to work
around restrictions of selinux etc.
2012-01-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Try to deal with the case where a language
has been set to the ISO standard name rather than an OpenStep name
by converting to an Openstep name as an alternative lookup key.
* Source/NSXMLNode.m: Add warning that the DOM classes are not really
functional in this release.
2012-01-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Fix copying for large files (issue #35381)
2012-01-25 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Call unum_format* only once.
2012-01-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: fix possible nul pointer dereference.
* Source/NSHost.m: cache failed lookup by name so that repeated
lookups for a band host name do not cause repeated DNS queries.
2012-01-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLRequest.m: be tolerant about missing URL on init.
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: Fix selector types comparison to use the
correct function for checking equivalent types.
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* config/pathtls.m4:
* config/pathxml.m4:
Remove incorrect sed call to tidy flags (as suggested by Felix Geyer
in bug #34835).
2012-01-16 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSBundle.m (addBundlePath): Handle nested subdirectories
(e.g.
[NSBundle pathForLibraryResource:
@"Generic-PostScript_Printer-Postscript" ofType: @"ppd"
inDirectory: @"PostScript/PPD"] was previously failing.)
2012-01-12 10:10 theraven
* libs/base/trunk/Headers/Foundation/NSException.h: Tweak the
exception mismatch handling so that if base is using native exceptions
and the user doesn't specify an exception mode then we just don't define
the NS_ macros, so code that uses @try etc. compiles without requiring
every cc line to specify a long -D flag just to be allowed to #import
Foundation.h.
2012-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Remove cached paths when the owning bundle is
deallocated. Use cache to determine which resource directories to
search.
2012-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Crude/simple caching of directory contents to
test impact on theme loading ... needs reverting or improving.
2012-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcretePointerFunctions.m:
* Source/NSSocketPort.m:
* Source/unix/NSStream.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSZone.m:
* Source/NSMessagePort.m:
* Source/win32/GSFileHandle.m:
* Source/NSInvocation.m:
* Source/NSURLProtocol.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSXML.m:
* Source/NSData.m:
* Source/GSAvahiNetService.m:
* Source/NSTextCheckingResult.m:
Use PRIdPTR and PRIuPTR rather than ld and lu for printf formatting
of NSInteger and NSUInteger values.
2012-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/ObjectiveC2/objc/capabilities.h:
* Headers/ObjectiveC2/objc/Availability.h:
* Headers/ObjectiveC2/objc/blocks_runtime.h:
* Headers/ObjectiveC2/objc/runtime.h:
Moved to subdirectory.
* Source/Makefile.postamble:
* Source/ObjectiveC2/runtime.c:
* Source/ObjectiveC2/caps.c:
* Source/ObjectiveC2/NSBlocks.m:
* Source/ObjectiveC2/blocks_runtime.m:
* Headers/GNUstepBase/GSObjCRuntime.h:
* Tests/GNUmakefile:
* base.make.in:
Move ObjectiveC2 headers to objc subdirectory so that we can refer
to them using the same objc/headername path as OSX, and use a -I
directive to point to the ObjectiveC2 directory to avoid installing
on top of the real objc2 library or vie versa. Should make it easier
to figure out how to cleanly swith between raeal/emulated objc2
runtimes. This should also mean that old emulated objc2 headers are
*not* found at configure time, so configure should be able to tell if
a real objc2 runtime has been installed on a system which previously
used the old objc runtime.
2012-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLPrivate.h:
* Source/NSXMLNode.m:
* Source/NSXMLElement.m:
Replace missing assertion (needed for OSX compatibility) also fix
several other issues in node hierarchy handling ... all rather
academic since greg's going to rewrite, but these fixes do mean
the current code passes the testsuite. It's a bad idea to leave
the code and testsuite in an inconsistent state, and the testsuite
represents accumulated information about OSX, so we want our code
to pass all tests rather than removing tests.
2012-01-06 17:57-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLElement.m: Removing assertion that
parent must not be nil per Cocoa documentation for
-(id)parent method in NSXMLNode.
2012-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLElement.m:
* Source/NSXMLNode.m:
* Source/NSXMLPrivate.h:
Rewrote node hierarchy handling to match OSX documentation and
behaviors. Also implemented -hash and -isEqual: to match OSX for
NSXMLNode.
2012-01-05 22:20-EST Doug Simons <doug.simons@testplant.com>
* Source/NSXMLDocument.m: Modify XMLStringWithOptions: to only include
the header when version, encoding, or standalone has been set.
2012-01-05 22:20-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLElement.m: in setChildren: set the childCount.
2012-01-05 22:07-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLElement.m: Correct warning in copyWithZone: added
return. Correct issue with childCount being out of sync.
2012-01-05 21:33-EST Gregory John Casamento <greg.casamento@gmail.com>
* ChangeLog
* Source/NSXMLDocument.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m: Implement copyWithZone:, correct issues
with previous revert.
2012-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLElement.m:
Replace a few lines accidentally lost.
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSXMLDocument.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSXMLDTD.h:
* Headers/Foundation/NSXMLDTDNode.h:
* Headers/Foundation/NSXMLElement.h:
* Source/NSXMLDocument.m:
* Source/NSXMLPrivate.h:
* Source/NSXMLDTD.m:
* Source/GSInternal.h:
* Source/NSXMLNode.m:
* Source/NSXMLDTDNode.m:
* Source/NSXMLElement.m:
The last revert still left lot's of ABI breakage, but reverting much
further would lose a lot of work ... so here's an attempt to fix the
ABI breakage by re-hiding instance variables again.
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSMDNSNetServices.m:
* Source/NSJSONSerialization.m:
Cosmetic tweaks (whitespace)
2012-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLDocument.m:
* Source/NSXMLNode.m:
* Source/NSXMLElement.m:
* Headers/Foundation/NSXMLDocument.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSXMLDTD.h:
* Headers/Foundation/NSXMLElement.h:
Revert latest changes to restore scheme for preventing ABI breakage
and supporting both fragile and non-fragile ABIs..
2012-01-04 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSXMLDocument.h,
* Headers/Foundation/NSXMLDTD.h: Comment out duplicate declaration of
ivars to get base to compile again.
2012-01-03 16:33-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLDocument.h
* Headers/Foundation/NSXMLElement.h
* Headers/Foundation/NSXMLNode.h: Move declarations.
* Source/NSXMLDocument.m: Correct parsing issues.
* Source/NSXMLElement.m: Remove local declaration of _children
* Source/NSXMLNode.m: Remove internal. Move all declarations here
directly.
2012-01-03 14:22-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLDocument.m: Implement XMLStringWithOptions:
2012-01-03 13:03-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLElement.h
* Headers/Foundation/NSXMLNode.h
* Source/NSXMLElement.m
* Source/NSXMLNode.m: Move _URI to NSXMLNode.
change dealloc accordingly.
2012-01-03 12:42-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLNode.m: Implement copyWithZone:
2012-01-03 12:17-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLNode.h: Add _stringValue
* Source/NSXMLNode.m: Change stringValue and setStringValue:
resolvingEntities: to assign to _stringValue instead of _objectValue.
2012-01-03 12:06-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLDocument.m: Change stack implementation to
use lastObject/removeLastObject to implement the stack instead
of inserting and deleting at index 0.
* Source/NSXMLElement.m: Implemented XMLStringWithOptions:
* Source/NSXMLNode.m: Implemented XMLStringWithOptions:,
skeletal implementation of setStringValue:resolvingEntities:
2012-01-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSException.m (-raise): Only set the stack when the
exception gets first raised. This fixes bug #35192
Patch by Larry Campbell <lcampbel@akamai.com>
2012-01-02 22:26-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLElement.h: Change _attributes to be
a NSMutableDictionary instead of an NSMutableArray.
* Source/NSXMLElement.m: Change implementation of some methods
to use an NSMutableDictionary instead of arrays. Initialize
ivars in initializer.
* Source/NSXMLPrivate.h: Remove redundant method.
2012-01-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSSocketStream.m (-initWithInput:output:): Attempt to
replace deprecated GNUTLS functions with newer ones for GNUTLS >= 2.12.
2012-01-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSArray.m (-objectsAtIndexes:): Fix comparision of
unsigned variable with NSNotFound.
2012-01-02 02:26-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSXMLNode.m: Minor correction. Move setName out of
private category.
* Tests/base/NSXMLNode/children.m: Update test.
2012-01-01 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSXMLDTDNode.h,
* Headers/Foundation/NSXMLDTD.h: Remove duplicate declaration of
ivar _name to get base to compile again.
2011-12-30 Doug Simons <doug.simons@testplant.com>
* Source/NSXMLElement.m: Set Elements to be NSXMLElementKind.
2011-12-30 14:22-EST Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSXMLDocument.h
* Headers/Foundation/NSXMLElement.h
* Headers/Foundation/NSXMLNode.h
* Source/NSXMLDocument.m
* Source/NSXMLElement.m
* Source/NSXMLNode.m
* Source/NSXMLPrivate.h
* Tests/base/NSXMLNode/children.m
* Tests/base/NSXMLNode/kinds.m: First cut at NSXMLDocument
implementation.
2011-12-29 Doug Simons <doug.simons@testplant.com>
* Source/NSCalendarDate.m: Fix -addTimeInterval: to copy calendarFormat
of original date.
2011-12-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Fix retain rount error spotted by
<rajendra@teamf1.com> (bug #35164)
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/Foundation/NSTextCheckingResult.h:
* Source/NSTextCheckingResult.m (-resultByAdjustingRangesWithOffset:):
Implement method.
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Headers/Foundation/NSTextCheckingResult.h:
* Source/NSTextCheckingResult.m: Add copyright notice.
* Source/NSTextCheckingResult.m(-result, -range): Raise exception
in abstract base class implementation. This is what OS X does.
* Source/NSTextCheckingResult.m(-rangeAtIndex): Implement in
abstract base class. Raise exception in both method
implementations when the index is too big.
* Source/NSTextCheckingResult.m(-numberOfRanges): Change incorrect
name rangeCount into numberOfRanges.
* Source/NSTextCheckingResult.m(-regularExpression): Implement
method in the concrete subclass where it was omitted.
2011-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSRegularExpression.m (-rangeOfFirstMatchInString:...):
Return range (NSNotFound, 0) when no match is found.
2011-12-22 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSRegularExpression.m (-initWithPattern:options:error:,
-pattern, setupRegex, -enumerateMatchesInString:options:range:,
FAKE_BLOCK_HACK, -replaceMatchesInString:options:range:,
-stringByReplacingMatchesInString:options:range:withTemplate:,
replacementStringForResult:inString:offset:template:): Introduce
support for libicu versions prior to 4.4, which don't provide the
UText interface to regular expressions.
2011-12-22 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSSocketPort.m (+portNumber:onHost:forceAddress:listener):
Fix an uninitialized variable bug, which could lead to returning
ports with an incorrect port number.
2011-12-19 Riccardo Mottola <rm@gnu.org>
* Source/GSString.m:
Fix blocking compiler warning (ggc 4.5.3)
2011-12-17 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Try to make detection of compilers which don't support
locale/characterset handling for string literals somewhat friendly.
* configure: regenerate
2011-12-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPortCoder.m (-versionForClassName:): Use NSInteger for
version to avoid compiler warning on 64-bit system.
2011-12-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m:
Whenever we synchronize in a state where we have changes to write,
but are in read-only mode (no database existed on startup, or we
couldn't create the lock file on startup), check to see if the
database is now writable (we can create the lock file).
Should fix problem where new defaults files were not getting created.
2011-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDebug.m:
* Source/NSDistributedLock.m:
* Source/GSHTTPURLHandle.m:
* Source/NSMessagePort.m:
* Source/NSFileManager.m:
* Source/NSString.m:
* Source/NSObject.m:
* Source/NSThread.m:
* Source/NSData.m:
* Source/GSNetwork.h:
* Source/GSFormat.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
* SSL/GSSSLHandle.m:
* SSL/configure.ac:
* SSL/configure:
* SSL/config.h.in:
* configure.ac:
* configure:
* Headers/GNUstepBase/config.h.in:
* Tools/gdnc.m:
Support fcntl.h and signal.h not being in the 'sys' subdirectory
(for android and any other systems with that header layout).
2011-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSObjCRuntime.h:
Move a few declarations between headers to match OSX, and update
NSNotFound to be NSIntegerMax for compatibility on 64bit platforms.
2011-12-13 Richard Frith-Macdonald <rfm@gnu.org>
* SSL/GSSSLHandle.m: Allow cipher list to be set using GSCipherList
default.
2011-12-08 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: Fix pkg-config configuration for libffi to make it
really work on systems where additional include options are
needed.
* configure: Regenerated.
2011-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Fix suggested by Daniel Santos (ifStack was
created with incorrect initial content).
2011-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: use pkg-config for libffi if/when available.
* configure: regenerate
2011-12-05 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSFileManager.m:
* Headers/Foundation/NSFileManager.h: Add removeItemAtPath:error:
method, as a simple wrapper around removeFileAtPath:handler: with
no handler.
2011-12-02 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.constant-string-encoding.c: test for string literal
encoding behavior ... irrespective of source encoding we need to put
utf-8 in the executable. Can't check all cases, so just check the
most common one ... that building latin1 source in a latin1 locale
produces a utf8 string literal in the executable.
* configure.ac: add check for encoding.
* config.mak.in: specify charset for string literal in source
* base.make.in: specify charset for string literal in executable
* configure: regenerate
Check compiler behavior ... if well behaved, that's OK, no action to
take. If well behaved when given specific options to control input
and output encodings, then note the options to be used when building.
If neither, then abort with an error message giving the option of
disabling unicode string literal checks.
2011-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: rewrite to store defaults in multiple files,
one for each persistent domain.
Probably needs lots of testing and performance tuning.
2011-11-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSJSONSerialization.m: Fix errors in BOM handling and tidy.
2011-11-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix to compile again (use ifdef to consistently
have/not-have tiny strings), and tidy use of whitespace for readability
and coding standards.
I like the experimental tiny strings idea... will definitely save
space, but will need a lot of optimisation (like that of literal
strings) to stop it being slow.
Until it's about as fast as literal strings, we should probably only
enable it on platforms where memory footprint is an issue.
Not sure how to do that though.
2011-11-16 20:48 theraven
* Source/GSString.m: Store tiny strings (up to 8
ASCII characters) inside the pointer. Strings of this length are
fairly common, and this makes them very cheap to store/copy/compare
(pointer comparisons test for equality). 8 characters seems to be
enough for quite a lot of common uses, such as path components and
tokens.
There are possibly still some things constructing tiny strings and not
using these.
2011-11-16 17:29 theraven
* Source/NSNumber.m: Implement the double boxing
techniques used by Smalltalk/X and Cincom Smalltalk. Now we can
conceal most doubles inside a pointer. This is most useful for
LanguageKit, but should save some memory / malloc overhead / heap
fragmentation in any code that uses a lot of NSNumbers (e.g.
anything that deals with big plists). OS X 10.7 employs a similar
trick.
2011-11-15 Adam Fedor <fedor@gnu.org>
* Source/win32/GSFileHandle.m: Fix include location
2011-11-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Deal with old FIXME saying that whether
we create the GNUstep/Library directory should be configurable.
Also, break long lines to confiorm to coding standards and for
consistency.
2011-11-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: ([-setObject:forKey:]) replace missing
return statement after removing object.
2011-11-07 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSXMLParser.h: Turn the
NSXMLParserDelegateEventAdditions informal protocol into the
protocol NSXMLParserDelegate.
2011-11-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSValueTransformer.m
([NSUnarchiveFromDataTransformer-reverseTransformedValue])
([NSUnarchiveFromDataTransformer-transformedValue]): Use archiver
instead of keyed archiver.
2011-11-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: ([+decodeBase64:]) tolerate missing
padding and also use of '-' and '_' rather than '+' and '/' as
permitted in the "URL and Filename safe" variation given in RFC 4648
2011-11-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDate.m: ([-timeIntervalSinceDate:]) return NaN if other
date is nil (OSX compatibility).
2011-11-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumber.m: Fix alignment error when encoding/decoding ...
buffer must be aligned so that any datatype can go in it.
* Source/cifframe.m: Fix buffer size for small scalar values on
64bit sparc
* Source/GSFileHandle.m: Modify read/write to cope with interrupts.
2011-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Partial restructuring suggested by Fred, plus
some more minor optimisation of equality checks for literal strings.
2011-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix error (spotted by Fred) in check of UTF-8
string length against fixed character size string length.
2011-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Implement more efficient equality tests for
utf-8 literal strings and strings in internal representation.
Implement rangeOfComposedCharacterSequenceAtIndex: for utf8 literal
strings.
2011-10-29 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSeq.h: Replace unsigned with NSUInteger.
2011-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix bug when widening mutable string in
replaceOccurrencesOfString:...range:
* Source/GSString.m: more efficient check to see if a literal string
can be converted to ascii or latin1. Remove unnecessary constraint
on when we need to widen strings.
2011-10-28 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSMutableString/basic.m: Add test for
replaceOccurrencesOfString:...range:
2011-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Do not redefine GNUSTEP_CONFIG_FILE in case it confuses
gnustep-config. Add check that gnustep-config returns something when
asked for the objc libraries.
* configure: Regenerate
* base.make.in: Add flag to tell compiler to use UTF-8 for literal
string constants.
2011-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: fix erroneous define of HAVE_GNUTLS to zero, and add
check for building with a different compiler from that used by make.
2011-10-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAffineTransform.m (-initWithCoder:, encodeWithCoder:):
Don't do anything for the keyed coding case.
* Source/NSDictionary.m (-initWithCoder:): Add another keyed
coding case.
2011-10-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSProcessInfo.m: Add includes needed for the HAVE_PROCFS
case.
* Source/common.h: Correct last commit, the #endif was placed
incorrectly.
2011-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/common.h: Attempt to workaround clang __block problem
2011-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m:
Fix for bug #34603
2011-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: fixes for gnutls detection and to use the objc
libraries provided by gnustep-config.
2011-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSFileHandle.h: remove
* Source/GSFileHandle.h: add
* Source/GNUmakefile: Don't install private header
* Source/NSFileHandle.m:
* Source/GSFileHandle.m:
* SSL/GSSSLHandle.m:
Update to make GSFileHandle.h: private as it should be.
2011-10-19 Sebastian Reitenbach
* configure.ac: fix typo on gnutls detection.
2011-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m:
Fix failure to load global defaults when system layout/config is
locked down (problem reported by Julian Mayer).
2011-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* standalone.conf: example configuration file for a standalone
package installation.
* Documentation/Base.gsdoc:
Documentation improvements for packaging
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Make sourcing of default config file more reliable.
* configure: regenerate.
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSPropertyList.m:
* Source/NSFileHandle.m:
* Source/NSString.m:
* Source/DocMakefile:
* Documentation/Base.gsdoc:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSBundle.h:
Documentation cleanups.
2011-10-17 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSXMLNode.h:
* Source/NSXMLNode.m:
Fixed NSXMLNode compilation when using the "pure" non-fragile ABI
(--disable-mixedabi was passed to Base configure).
2011-10-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSString.m (-initWithCoder:): In keyed coding the key
"NS.bytes" may contain either an NSData or an NSString object. Not
sure about the encoding, I am using UTF8.
2011-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* standalone.conf: First draft at a layout for standalone system
deployment.
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/common.h: Added Quentin's fix to get Clang to compile this
without warnings.
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/NSBlocks.m:
* Source/Additions/GSObjCRuntime.m:
Fixes to build with latest gcc.
2011-10-15 Gregory Casamento <greg.casamento@gmail.com>
* Documentation/GNUmakefile:
* Documentation/README.initialize: Documentation referred to by
NSThread warning.
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* config.mak.in:
Shift the responsibility for setting up macros controlling thread
safety to gnustep-make, and use the compiler -pthread option there.
2011-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/Makefile.preamble:
* Source/win32/Makefile.preamble:
* Source/ObjectiveC2/Makefile.preamble:
* Source/Additions/Makefile.preamble:
* Source/Makefile.preamble:
* config.mak.in:
It seems various BSD operating systems have bugs in their _XOPEN_SOURCE
implementation, so we can't generally use it. Try _POSIX_C_SOURCE
instead.
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/Makefile.preamble:
* Source/win32/Makefile.preamble:
* Source/ObjectiveC2/Makefile.preamble:
* Source/Additions/Makefile.preamble:
* Source/Makefile.preamble:
Define _REENTRANT as well as _XOPEN_SOURCE for maximum portability.
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/NSMessagePortNameServer.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/unix/NSStream.m:
* Source/GSHTTPURLHandle.m:
* Source/NSPage.m:
* Source/NSMessagePort.m:
* Source/win32/GSFileHandle.m:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/common.h:
* Source/NSString.m:
* Source/NSThread.m:
* Source/NSData.m:
* Source/NSHost.m:
* Source/GSNetwork.h:
* Source/NSPipe.m:
* Source/NSLog.m:
* Source/GSFormat.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
* SSL/GSSSLHandle.m:
* Tools/gdnc.m:
Move/wrap include of unistd.h to work around clang problem.
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
Fix test for availability of lossy conversion via iconv.
2011-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Implement -hash for literal UTF-8 performance.
* Source/NSScanner.m: Fix initialisation bug which could cause
scanning to fail on some strings.
* Source/inet_pton.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSUserDefaults.m:
* Source/unix/NSStream.m:
* Source/inet_ntop.m:
* Source/GSHTTPURLHandle.m:
* Source/NSMessagePort.m:
* Source/GSPrivate.h:
* Source/win32/GSFileHandle.m:
* Source/win32/NSMessagePort.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSFileManager.m:
* Source/Additions/Unicode.m:
* Source/Additions/NSError+GNUstepBase.m:
* Source/NSThread.m:
* Source/GSNetwork.h:
* Source/GSFileHandle.m:
* Source/NSLock.m:
* Source/Makefile.preamble:
Fix for thread-safe errno on solaris ... define _XOPEN_SOURCE to 600
2011-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSString.m:
* Source/GSString.m: Use UTF-8 literal constant strings now that we
require a compiler version which supports them.
* Tests/base/NSString/test07.m: Simple test for UTF-8 in literal.
* Tests/base/GNUmakefile.super: Ensure all tests are compiled with
UTF-8 set as the source code characterset.
Shuld fix bug #34486
2011-10-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix boundary error when getting cString into a
buffer. Fix floatValue and doubleValue to support arbitrary length
of leading white space.
* Source/GSNetwork.h: Check for EAGAIN on nonblocking socket.
2011-10-08 Niels Grewe <niels.grewe@halbordnung.de>
* Source/Additions/GSMime.m (GSMimeParser -scanToken:): Return an empty
string instead of nil when parsing an empty quoted string.
2011-10-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
* Source/GSNetwork.h:
* Source/GSSocketStream.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSURLProtocol.m:
Check for EALREADY as well as EINPROGRESS as an indicator of an
incomplete system call on a non-blocking descriptor.
2011-10-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
Be aggressive about checking for close n the 'connection' header
and shutting down the network connection immediately.
2011-10-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m:
* Source/NSURLConnection.m:
Ensure that a synchronous load returns the response.
* Tests/base/NSURLConnection/basic.m: add test for above change.
2011-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURL.h: Document that methods creating file URLs
raise an exception on being given a nil argument.
* Source/NSURL.m: Make file URL initialisers raise on nil argument.
* Source/NSBundle.m: Fix to check for nil path when reating file
URLs (fix for bug #34468).
2011-10-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPropertyList.m (GSBinaryPLParser -objectAtIndex:): Use
long long for all integer types. Before we used signed types which
resulted wrong values for negative integers.
* Source/NSKeyedUnarchiver.m (-_decodeObject:): Handle the string
"$null" as nil all the times.
2011-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSHost.m: Update to use inet_pton() and inet_ntop() and to
understand IPV6 addresses.
* Source/GSNetwork.h: New private functions to work with the internals
of a sockaddr irrespective of whether it's IP v4 or v6
* Source/GSSocketStream.h: Move a declaration to GSNetwork.h
* Source/GSSocketStream.m: Use new functions.
* Source/NSSocketPort.m: Change to be IP v4/v6 agnostic
* Source/NSMessagePort.m: Fix header include order.
* Source/GSFileHandle.m: Changes to be IP v4/v6 agnostic
* Headers/GNUstepBase/GSFileHandle.h: make setter use sockaddr type
rather than sockaddr_in so we can use it for ipv6
2011-10-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSData.m (-initWithCoder:, -encodeWithCoder): Correct
keyed encoding/decoding.
2011-10-02 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m
* Tests/base/NSFileManager/general.m
* Headers/Foundation/NSUserDefaults.h
* Source/NSUserDefaults.m
* Tests/base/NSUserDefaults/basic.m
Add a few newer OSX methods for compatibility.
2011-10-01 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSXMLNode.m: Properly implement -initWithKind: initializer.
Stub out some tree traversal stuff.
* Tests/base/NSXMLNode/basic.m: Fix test.
Initial work on NSXMLNode.
2011-10-01 Niels Grewe <niels.grewe@halbordnung.de>
* Tests/base/NSXMLNode/children.m: Test for child de-/re-attachment
behaviour.
2011-09-29 julian <julian@corecode.at>
* Source/NSBundle.m: ([objectForInfoDictionaryKey:])
Add missing one-line implementation.
2011-09-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumberFormatter.m: Check for _C_BOOL definition.
2011-09-07 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSUserDefaults.m:
- Refactoring of the code to read the system language list
into a separate function, systemLanguages().
- Add support for the LANGUAGE environment variable, a GNU extension.
It holds a colon-separated list of locales, and is intended to let
the user specify a list of their preferred languages in order.
For example, the language settings GUI in Ubuntu modifies the
LANGUAGE variable.
More info here:
http://www.gnu.org/software/gettext/manual/gettext.html#The-LANGUAGE-variable
- When populating NSLanguages, "expand" locales into a list of
related variants, formed by stripping off region suffixes. This
ensures that if a user's environment is set to a regional version
of a language (say CanadaFrench) but an application is only
traslated into French, the plain French translation will still be used.
e.g. if the system locales are {fr_CA, en_CA}, expand the list to
{fr_CA, fr, en_CA, en}.
* Headers/GNUstepBase/GSLocale.h:
* Source/GSLocale.m:
New functions GSLocaleVariants and GSLanguagesFromLocale
2011-09-28 Niels Grewe <niels.grewe@halbordnung.de>
* Tests/base/NSXMLNode/*: Some initial tests for NSXMLNode. Passes on
Mac OS X, marked as hopes until GNUstep implements this.
2011-09-19 Richard Frith-Macdonald <rfm@gnu.org>
* Version: Bump version and set required gcc to 4.0.0
2011-09-18 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
Update release notes for ...
Version 1.23.0
2011-09-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: When getting the local type information for
comparison with that supplied by the remote system, do so by sending
-methodSignatureForSelector: to the receiver of the message.
2011-09-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: Check that we have a typed selector
during invocation (copy types from method signature if necessary)
so that forwarding won't fail if the runtime does a callback to
us without providing the receiver for us to check ... workaround
for proxying issues with very old runtimes.
2011-08-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: Fix bug #34154 ... logic error locking before date.
2011-08-26 Richard Frith-Macdonald <rfm@gnu.org>
* libs/base/trunk/config/config.objc.m: If we don't assume Object
exists in libobjc, we must implement +initialize so that the runtime
won't crash when it tries to initialize our class.
2011-08-25 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSObject/test01.m: Only test for -isClass on GNUstep base.
* Tests/base/NSObject/initialize.m: Make test compile on MinGW.
2011-08-22 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSObject.m (__builtin_offsetof): Add
workaround for build in missing in old versions of gcc.
2011-08-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/Additions/GSMime.m,
* Source/unix/NSStream.m,
* Source/NSData.m,
* Source/NSDistantObject.m,
* Source/NSInvocation.m,
* Source/NSMessagePort.m,
* Source/NSNumber.m,
* Source/NSSocketPort.m,
* Source/NSURLProtocol.m,
* Tools/autogsdoc.m:
Temporary revert David's change to use PRIxPTR, PRIuPTR and
PRIdPTR. Old compilers don't handled these well. (That change
didn't have a ChangeLog entry)
2011-08-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/Additions/GSMime.m: Use specific IMP type for method
returning BOOL value.
2011-08-17 Niels Grewe <niels.grewe@halbordnung.de>
* config/objc-common.h: Include stdlib.h for the prototype of calloc().
2011-08-17 Riccardo Mottola <rm@gnu.org>
* Headers/GSIMap.h
Additional cast to void* to keep OpenBSD compiler happy.
2011-08-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Redo fix for incorrect handling of documents with empty headers.
2011-08-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Revert attempted fix for header end parsing error.
2011-08-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Attempt fix for recording of excess data in the case where we are
parsing mime headers only and the headers are incomplete.
2011-08-13 15:28 David Chisnall <theraven@gna.org>
* libs/base/trunk/Source/NSBundle.m,
libs/base/trunk/Source/NSDateFormatter.m,
libs/base/trunk/Source/NSLocale.m,
libs/base/trunk/Source/NSNumberFormatter.m,
libs/base/trunk/Source/NSRegularExpression.m: Fix the build with
the pure non-fragile ABI by declaring macros before using them.
2011-08-13 13:28 David Chisnall <theraven@gna.org>
* libs/base/trunk/config/config.objc.m: Don't assume Object exists
in libobjc.
2011-08-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAffineTransform.m (-appendTransform:)
(-prependTransform:): Fix bug in optimisation code by using a
local variable.
2011-08-09 08:43 David Chisnall <theraven@gna.org>
* libs/base/trunk/Source/NSConcreteHashTable.m,
libs/base/trunk/Source/NSConcreteMapTable.m: Replace the
implementations of NSFastEnumeration in NSConcrete{Hash,Map}Table
with ones that work and don't cause people to dereference
pointers that are set to random integer values.
2011-08-07 18:00 David Chisnall <theraven@gna.org>
* libs/base/trunk/Source/NSObject.m: In -finalize, we're pretending
to be the Objective-C runtime, so we need to
actually use isa directly, rather than the safe version. A better
solution
would be to call object_dispose(), but this only works for
objects created with
class_createInstance().
2011-08-07 16:56 David Chisnall <theraven@gna.org>
* libs/base/trunk/Source/NSObject.m: When calling -.cxx_dealloc,
look up the superclass before calling. This method
may destroy the receiver's class, if it's a user-generated one,
so we can't
guarantee that it is valid after the call.
2011-08-05 17:34 David Chisnall <theraven@gna.org>
* libs/base/trunk/Source/NSNumber.m: Bracket the runtime.h include
in a check.
2011-08-03 12:04 David Chisnall <theraven@gna.org>
* libs/base/trunk/Headers/Foundation/NSRegularExpression.h,
libs/base/trunk/Source/NSRegularExpression.m,
libs/base/trunk/Source/NSString.m,
libs/base/trunk/Tests/base/NSString/regex.m: Clean up
NSRegularExpression, so that it compiles without warnings with or
without ICU, but we don't pretend that we support things that we
don't and silently return nonsense results to make debugging
difficult for GNUstep users.
2011-08-03 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSMutableData/general.m
* Tests/base/NSData/general.m
* Tests/base/NSFileManager/unrepresentable_filenames.m
* Tests/base/NSDate/create.m
* Tests/base/GSMime/test01.m
* Tests/base/Functions/runtime.m
* Tests/base/NSInvocation/general.m
* Tests/base/KVC/mutable.m
* Tests/base/KVC/path.m
* Tests/base/KVC/array.m
* Tests/base/NSMapTable/create.m
* Tests/base/NSHashTable/create.m
* Tests/base/GenericTests/generic.m
* Tests/base/NSBundle/resources.m: Remove warnings generated by tests.
2011-08-02 Fred Kiefer <FredKiefer@gmx.de>
* Tests/base/NSJSONSerialization/json.m: Get it compile without
C99.
* Tests/base/NSString/regex.m: Use an autorelease pool.
2011-08-02 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSThread.m (GSCurrentThread): Use C string in assert, not
ObjC string.
* Headers/Foundation/NSRegularExpression.h: Add the pattern as ivar.
* Source/NSRegularExpression.m: Rewrite to compile with less
warnings on systems not supporting ICU.
2011-07-31 16:19 David Chisnall <theraven@gna.org>
* libs/base/trunk/Headers/Foundation/NSObject.h: Remove the
duplicate definition of the NSObject protocol methods in the
NSObject class (redundant since they are implicitly added by the
class adopting
the protocol, and stupid because there was already one
copy-and-paste error
where they differed slightly). Also replaced all of the
references to
nonexistent documentation with actual documentation.
2011-07-31 15:31 David Chisnall <theraven@gna.org>
* libs/base/trunk/Headers/Foundation/NSAutoreleasePool.h,
libs/base/trunk/Headers/Foundation/NSException.h,
libs/base/trunk/Headers/Foundation/NSObjCRuntime.h,
libs/base/trunk/Headers/Foundation/NSObject.h,
libs/base/trunk/Source/GSArray.m,
libs/base/trunk/Source/GSBlocks.m,
libs/base/trunk/Source/GSString.m,
libs/base/trunk/Source/NSBundle.m,
libs/base/trunk/Source/NSConnection.m,
libs/base/trunk/Source/NSDate.m,
libs/base/trunk/Source/NSIndexPath.m,
libs/base/trunk/Source/NSMessagePort.m,
libs/base/trunk/Source/NSNull.m,
libs/base/trunk/Source/NSNumber.m,
libs/base/trunk/Source/NSPort.m,
libs/base/trunk/Source/NSSocketPort.m,
libs/base/trunk/Source/NSTimeZone.m,
libs/base/trunk/Source/NSURLProtocol.m,
libs/base/trunk/Source/NSValue.m: Cleanup:
- (void)release;
to
- (oneway void)release;
so everything implementing -release actually implements the one
declared in the NSObject protocol.
Start marking things that are unavailable in ARC mode as
unavailable in ARC mode.
2011-07-26 David Chisnall <theraven@gna.org>
* Source/NSObject.m:
Change the order of the retain count and the padding, so the retain count
is always the word before isa.
Switch to using the correct kind of alignof (the ABI alignment in
structures, not the preferred alignment of the type - this stops us from
allocating 4 bytes of padding on x86-32 where there is no need for any)
* Source/NSNumber.m:
Use the small object support in libobjc2 trunk for 31 / 61-bit signed
NSNumbers on 32 / 64-bit platforms respectively. Still to do: add an
NSSmallFloat equivalent for 64-bit platforms, storing a float.
2011-07-26 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSProxy.h:
* Source/NSProxy.m:
Fixed missing oneway qualifier on -release return type. Recent Clang
trunk complains about it.
2011-07-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSJSONSerialization.m: Get this file to compile with
standard gcc settings fro GNUstep.
2011-07-25 15:50 David Chisnall <theraven@gna.org>
* libs/base/trunk/Headers/Foundation/Foundation.h,
libs/base/trunk/Headers/Foundation/NSJSONSerialization.h,
libs/base/trunk/Source/GNUmakefile,
libs/base/trunk/Source/NSJSONSerialization.m,
libs/base/trunk/Tests/base/NSJSONSerialization,
libs/base/trunk/Tests/base/NSJSONSerialization/TestInfo,
libs/base/trunk/Tests/base/NSJSONSerialization/json.m: Added
NSJSONSerialization (10.7) implementation. The code path reading
from an NSInputStream is not well tested - please try and break
it!
2011-07-25 Fred Kiefer <FredKiefer@gmx.de>
* libs/base/trunk/Headers/GNUstepBase/GSIMap.h
(GSIMapAddKeyNoRetain): Correct previous change.
2011-07-24 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAssertionHandler.m,
* Headers/GNUstepBase/GSConfig.h.in: Clean up after last commit.
* Headers/GNUstepBase/preface.h.in: Remove this obsolete file.
2011-07-24 13:09 David Chisnall <theraven@gna.org>
* Headers/Foundation/NSArray.h,
Headers/Foundation/NSDictionary.h,
Headers/Foundation/NSEnumerator.h,
Headers/Foundation/NSInvocation.h,
Headers/GNUstepBase/GSFileHandle.h,
Headers/GNUstepBase/GSIMap.h,
Headers/GNUstepBase/preface.h.in,
Source/Additions/GCDictionary.m,
Source/Additions/GSInsensitiveDictionary.m,
Source/Additions/GSLock.m,
Source/Additions/NSData+GNUstepBase.m,
Source/GSArray.m,
Source/GSDictionary.m,
Source/GSInvocation.h,
Source/NSArray.m,
Source/NSAssertionHandler.m,
Source/NSCharacterSet.m,
Source/NSConcreteHashTable.m,
Source/NSConcreteMapTable.m,
Source/NSConcretePointerFunctions.h,
Source/NSConnection.m,
Source/NSCountedSet.m,
Source/NSData.m, libs/base/trunk/Source/NSDate.m,
Source/NSDebug.m,
Source/NSDictionary.m,
Source/NSDistantObject.m,
Source/NSHost.m,
Source/NSIndexPath.m,
Source/NSInvocation.m,
Source/NSKeyValueObserving.m,
Source/NSPointerArray.m,
Source/NSProcessInfo.m,
Source/NSPropertyList.m,
Source/NSTimeZone.m,
Source/NSValue.m,
Source/unix/NSStream.m,
Tests/base/NSHashTable/weak.m,
Tests/base/NSPointerArray/weak.m: Lots of little
fixes to make -base compile with -Werror (now builds without
warnings).
Richard: I'm unsure about three of these, which were fixes in
memset() calls in:
- NSConcreteMapTable.m
- NSConcreteHashTable.m
- Additions/NSData+GNUstepBase.m
Please can you check them? I think they are intended to zero the
entire object
(rather than the first word), but the lack of comments makes me
unsure.
Most changes were just tweaks to variable types. I've also
removed some dead code from NSInvocation. This was small group of
things that were marked for internal use only, but not actually
referenced in the code anywhere.
Other improvements:
- NSArray / NSDictionary fixed up to use the 10.7 (ARC-friendly)
prototypes.
- getObjects:andKeys: implemented for NSDictionary (10.5 method)
- NSPointerArray and NSHashTable now properly support weak
objects.
- Tests for weak objects in collections.
2011-07-23 16:16 David Chisnall <theraven@gna.org>
* libs/base/trunk/Headers/GNUstepBase/GSIMap.h,
libs/base/trunk/Source/NSConcreteMapTable.m,
libs/base/trunk/Source/NSConcretePointerFunctions.h,
libs/base/trunk/Tests/base/NSMapTable/weak.m: Add support (and
test) for weak keys and values in NSMapTable. This support should
work in GC mode. It also works if the runtime supports ARC, even
if the compiler does not use this support.
2011-07-23 12:19 David Chisnall <theraven@gna.org>
* libs/base/trunk/Source/NSObject.m: Remove the zone pointer from
objects. Now we always query the zones to find the relevant
pointer. Zones are still supported, but we now optimise for the
case where they are not used.
To disable zone support completely, NSAllocateObject() should
ignore the zone and NSDeallocateObject() should skip the zone
lookup.
2011-07-22 16:07 David Chisnall <theraven@gna.org>
* libs/base/trunk/Headers/Foundation/NSArray.h,
libs/base/trunk/Source/GSArray.m,
libs/base/trunk/Source/NSArray.m: Change id* -> id[] for OS X
10.7 compatibility in NSArray. This change is required for ARC:
now, id* means pointer to a single object, id[] means array.
2011-07-22 14:38 David Chisnall <theraven@gna.org>
* Source/NSRegularExpression.m:
Added stub implementation for when GNUstep is built without ICU.
2011-07-20 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSNumberFormatter.m
(-attributedStringForObjectValue:withDefaultAttributes:):
Guard against initializing an NSAttributedString with a nil string.
2011-07-20 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSAttributedString.m: Throw an exception if the string object
passed to -initWithString:attributes: doesn't respond to -length, or if
it is nil. This is the same behaviour as OS X.
* Source/NSAttributedString.m (-init): Call -initWithString:attributes:
with @"" instead of nil, since passing nil now causes an exception
to be thrown.
2011-07-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Makefile.postamble:
Install ObjectiveC2 compatibility headers only if that is built (which
should be only if no 'real' objc2 library is available).
Also generate an objc/runtime.h header to include objectiveC2/runtime.h
so that people can just include objc/runtime.h to use the new runtime
API irrespective of whether the API is provided by the actual runtime
library or by the compatibility library.
2011-07-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile:
* Source/GSRunLoopWatcher.h:
* Source/NSXMLPrivate.h:
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSFileHandle.m:
* Source/win32/NSMessagePort.m:
* Source/win32/GSRunLoopCtxt.m:
* Source/win32/NSStream.m:
* Source/common.h:
* Source/Additions/GSXML.m:
* Source/Additions/GSFunctions.m:
* Source/Additions/GSObjCRuntime.m:
* Source/GSURLPrivate.h:
* SSL/GSSSLHandle.m:
* Makefile.postamble:
* configure.ac:
* Headers/GNUstepBase/GSConfig.h.in:
* Headers/GNUstepBase/GSFunctions.h:
* Headers/GNUstepBase/GSObjCRuntime.h:
* Headers/Foundation/NSZone.h:
* Tools/make_strings/make_strings.m:
* configure: regenerate
Remove references to obsolete header.
2011-07-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Fix faulty assert.
2011-07-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileHandle.m:
* SSL/GSSSLHandle.m:
* Headers/Foundation/NSFileHandle.h:
Fixup to let certificate information contain a chaing with intermediate
certificate authorities. Simplify handshake using common routine for
non-blocking handshake attempt.
2011-07-11 14:31 David Chisnall <theraven@gna.org>
* Source/NSAutoreleasePool.m,
Source/NSThread.m: Lazily initialize POSIX
threads, matching OS X behaviour and stopping us from crashing
when calling autorelease from a thread that was not previously
registered explicitly (yuck!)
Also do some quite hacky (and not totally correct) things to try
to make sure that we aren't confused into thinking that the first
NSThread is the main thread, if it's created on a separate
thread. Currently only supported on FreeBSD and OpenBSD.
2011-07-11 12:36 David Chisnall <theraven@gna.org>
* Source/NSNumber.m: [NSNumber -init] should not
destroy itself when called as [super init]. This behaviour was
breaking anything that subclassed NSNumber in user code (e.g.
PyObjC).
2011-07-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSLocale.m (GSLanguageFromLocale): Handle local "C.UTF-8"
correctly. Needed for Cygwin.
2011-07-11 Fred Kiefer <FredKiefer@gmx.de>
* config/config.ffi.c: Move declaration of g_dbl to begin of
function.
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
2011-07-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSTimeZone.m (+systemTimeZone): Support the OpenSuse key
TIMEZONE in /etc/sysconfig/clock.
2011-07-10 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSObject.m (+zone): Override to ensure that -zone returns
a valid zone pointer when it is called on a class object.
2011-07-05 Fred Kiefer <FredKiefer@gmx.de>
* macosx/gnustep.pbproj/project.pbxproj,
* Tools/make_strings/GNUmakefile.preamble: Remove references to
obsolete directory Headers/Additions.
2011-07-05 Fred Kiefer <FredKiefer@gmx.de>
* Headers/GNUstepBase/GNUstep.h: Define the __has_feature macro,
as this file may be used without preface.h being included first.
Fixes bug #33708. Patch by Tim Kack <timkack@gmail.com>.
2011-07-04 11:31 David Chisnall <theraven@gna.org>
* Source/NSObject.m:
Switch the order of the reference count and the zone so that the
reference count (in reference counted mode) is always immediately in
front of the object. Please test this!!
Opt NSObject into the fast path for ARC. ARC will now not call
the retain / release / autorelease methods on NSObject or any
classes that inherit their implementation of these methods from
NSObject. In quick and dirty testing, this gives about a 10-20%
speedup.
2011-06-30 14:44 David Chisnall <theraven@gna.org>
* Headers/Foundation/NSArray.h,
Headers/Foundation/NSProxy.h,
Headers/GNUstepBase/GSVersionMacros.h,
Headers/GNUstepBase/preface.h.in,
Source/NSProxy.m: Rewrote NSProxy's -retain /
-release to be the same as NSObject, not its own ad-hoc thing.
Added declaration of __bridge for use in non-ARC mode.
Tweaked arrayWithObjects:count: to take a const id* parameter, to
avoid ARC
treating it as a write-back parameter.
2011-06-29 15:21 David Chisnall <theraven@gna.org>
* Headers/Foundation/NSNotification.h,
Headers/Foundation/NSZone.h,
Headers/GNUstepBase/preface.h.in,
Tools/make_strings/make_strings.m: More ARC
fixes. We don't want to be using __strong void* in ARC mode (it
only makes sense in GC mode and is invalid in ARC mode).
2011-06-29 13:13 David Chisnall <theraven@gna.org>
* Source/NSObject.m: Add support to NSObject for
automatically zeroing __weak references when using ARC.
2011-06-29 11:50 David Chisnall <theraven@gna.org>
* Headers/Foundation/NSAutoreleasePool.h,
Headers/Foundation/NSEnumerator.h,
Headers/Foundation/NSException.h,
Headers/Foundation/NSZone.h,
Headers/GNUstepBase/preface.h.in:
ARC-compatibility tweaks in the headers. ARC will not track
objects inside structures and rejects code that uses object types
that are not __unsafe_unretained qualified inside structures.
This quick fix just added this type qualifier on all such
structures. Several of these should probably not be in headers at
all.
2011-06-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSString.m(-_getStart:end:contentsEnd:forRange:lineSep:,
-getLineStart:end:contentsEnd:forRange:,
-getParagraphStart:end:contentsEnd:forRange):
Fix implementation of getParagraphStart:end:contentsEnd:forRange:.
2011-06-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac:
* config/config.ffi.c (cls_struct_combined_fn): Fix the broken
test whether libffi works. The test program always failed, but
this failure was masked by an incorrect use of AC_TRY_RUN.
* configure: Regenerated.
2011-06-23 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSBundle.h,
* Source/NSBundle.m: Add a few 10.6 NSURL methods.
Based on patch by julian.
2011-06-20 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* SSL/GSSSLHandle.m:
* Headers/GNUstepBase/GSFileHandle.h:
Avoid compiler warnings
2011-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Keep zombie working until after atext stuff has
run.
* Source/NSUserDefaults.m: fix possible deref of nul pointer.
* Source/Additions/NSObject+GNUstepBase.m:
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
Make clanup code a bit more flexible by allowin different cleanup
methods to be registered.
2011-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/NSArray.m:
* Source/NSNotificationCenter.m:
* Source/NSObject.m:
* Source/NSString.m:
* Source/NSTimeZone.m:
* Source/NSUserDefaults.m:
* Source/NSValue.m:
More leak cleanup.
2011-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/NSObject+GNUstepBase.h:
* Source/Additions/NSObject+GNUstepBase.m:
Add new category with methods for cleanup of long-lived data structures
on process exit.
* Source/NSObject.m: Check GNUSTEP_SHOULD_CLEAN_UP environment variable
and call +shouldCleanUp: if it is set.
* Documentation/Base.gsdoc: Document new environment variable.
* Source/GSLocale.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSUserDefaults.m:
* Source/NSNotificationCenter.m:
* Source/GSPrivate.h:
* Source/externs.m:
* Source/NSString.m:
Add some cleanup support.
Classes may perform cleanup in a +atExit method which is automatically
called on process exit.
Classes may use [NSObject+leak:] to 'leak' an object so that it is
retained for the life of the process, but released immediately before
the +atExit methods are called if GNUSTEP_SHOULD_CLEAN_UP is YES.
See the NSObject(AtExit) category documentation for details.
2011-06-18 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/NSObject.m: fix for clang
* SSL/GNUmakefile: don't link libobjc ... depend on gnustep-make
2011-06-18 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURL.h:
* Source/NSURL.m: more 10.6 methods
2011-06-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Fix error with whitespace at end of attributes.
* Headers/GNUstepBase/NSURL+GNUstepBase.h: Add method to build a URL
from separate components.
* Headers/Foundation/NSURL.h: Add some OSX 10.6 methods for path
handling, and incorporate documentation from source file.
* Source/NSURL.m: Add some OSX 10.6 methods for path handling, fix
minor bug checking resource availability, and move documentation to
header.
* Source/Additions/NSURL+GNUstepBase.m: Add method to build a URL from
components.
We NEED testcases for these.
2011-06-13 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSAvahiRunLoopIntegration.m: Declare the local methods in
the interface.
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
2011-06-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDateFormatter.m,
* Source/NSTimeZone.m,
* Source/NSCalendar.m: Protect the name id.
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
2011-06-09 Richard Frith-Macdonald <rfm@gnu.org>
* configure: Regenerate
* config.mak.in:
* configure.ac:
* Source/Makefile.preamble:
* Tools/Makefile.postamble:
* Tools/Makefile.preamble:
Add --with-gdomap-port= to specify an alternative port
2011-06-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSLock.m:
Remove notification observation on dealloc.
2011-06-04 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSURL.h,
* Source/NSURL.m: Add -checkResourceIsReachableAndReturnError:
2011-06-03 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSString.m: [(-getLineStart:end:contentsEnd:forRange:)]
Fix off-by-one error in reported contents end for DOS style lines.
2011-06-02 Riccardo Mottola <rm@gnu.org>
* Source/NSTimeZone.m: Disable use of tzname on OpenBSD too.
2011-06-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Allow for quotes around zone name in
/etc/sysconfig/time on redhat/centos.
2011-06-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Disable use of tzname on FreeBSD as it's not
fully implemented there. Add a couple of new mechanisms for
guessing the timezone on debina and redhat.
2011-06-01 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSString.h: Add explicit warnings about OSX
compatible modifications to values returned by path methods.
* Source/NSTimeZone.m: Don't guess at tzname[0] if the value of
daylight shows it's not valid.
2011-05-31 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSCallBacks.h: Adjust callback prototypes to use
NSUInteger.
2011-05-31 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GNUstep.h:
Deprecate autorelease pool macros and make them always create the
pool.
2011-05-31 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSMapTable.h:
* Source/Additions/GSMime.m:
* Source/Additions/GSXML.m:
* Source/GSAvahiNetService.m:
* Source/NSCallBacks.m:
* Source/NSConcreteHashTable.m:
* Source/NSConcreteMapTable.m:
* Source/NSConnection.m:
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSTask.m:
* Source/NSTimeZone.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopCtxt.m:
Update to use new NSInteger... callback names rather than NSInt...
for compatibility with OSX
* Source/NSNotificationCenter.m: revert/rewrite recent GC changes to
simplify code and preprocessor conditionals and to avoid overheads
of using a class as an observation except for GC with cland/libobc2.
Is it really needed even then? I guess it would be if we weren't
using the Boehm GC library, and were stuck with a GC system which
didn't support zeroing weak pointers in unscanned memory.
2011-05-29 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Fix broken atomic ops again.
* configure: regenerate
2011-05-30 11:40 David Chisnall <theraven@gna.org>
* Source/NSData.m:
Add a couple of __strong annotations to pointers. Any non-id pointer
that can store GC'd memory must be __strong. Currently, this annotation
is largely ignored, because the runtime is a lot more lax about what
may store pointers than Apple's, but this will be tightened up in the
future.
2011-05-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSNotificationCenter.m,
* Source/NSUserDefaults.m: Remove compiler warnings.
2011-05-28 18:05 David Chisnall <theraven@gna.org>
* Source/NSPointerArray.m:
Make NSPointerArray insert the correct read / write barriers in GC mode.
* Source/NSConcretePointerFunctions.h:
Add some helper functions to NSConcretePointerFunctions.h that make it
easier to do this in the other collections that need to support GC.
2011-05-28 Eric Wasylishen <ewasylishen@gmail.com>
* configure.ac: Tweak atomic ops detection
* Sourcen/NSObject.m: Re-enable atomic ops
2011-05-28 14:51 David Chisnall <theraven@gna.org>
* Source/NSAutoreleasePool.m,
* Source/NSObject.m,
* Source/NSZone.m:
First pass at hybrid GC mode. This will try use retain-release mode if
the collector is not running. Code will run in retain/release mode
unless something compiled with -fobjc-gc-only is loaded.
2011-05-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSString.m (-initWithFormat:locale:): Make sure va_end()
gets called.
Patch by Stefan Bidigaray <stefanbidi@gmail.com>.
2011-05-28 12:49 David Chisnall <theraven@gna.org>
* Source/NSNotificationCenter.m:
__weak is only allowed on ivars and globals, so we need to turn the
Observation structure into a class.
2011-05-28 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSObject.m: Disable atomic ops detection for the time being.
2011-05-27 11:48 David Chisnall <theraven@gna.org>
* Source/NSAutoreleasePool.m:
Make -drain and -release in NSAutoreleasePool do the same thing (rather
than one calling the other) in non-GC mode.
* Source/Additions/GSMime.m,
* Source/Additions/GSObjCRuntime.m,
* Source/Additions/NSCalendarDate+GNUstepBase.m,
* Source/Additions/NSData+GNUstepBase.m,
* Source/NSBundle.m,
* Source/NSConnection.m,
* Source/NSDebug.m,
* Source/NSDistributedNotificationCenter.m,
* Source/NSException.m,
* Source/NSFileManager.m,
* Source/NSKeyedArchiver.m,
* Source/NSLog.m,
* Source/NSMessagePort.m,
* Source/NSMessagePortNameServer.m,
* Source/NSPort.m,
* Source/NSProcessInfo.m,
* Source/NSRunLoop.m,
* Source/NSTask.m,
* Source/NSTimeZone.m,
* Source/NSUserDefaults.m,
* Tools/AGSHtml.m,
* Tools/AGSIndex.m,
* Tools/AGSOutput.m,
* Tools/AGSParser.m,
* Tools/HTMLLinker.m,
* Tools/gspath.m
* Tools/pl.m:
Replace all -release messages sent to autorelease pools with -drain. In
non-GC mode, these are equivalent.
In GC mode, these trigger a collection.
2011-05-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Remove useless leftover #define.
* configure.ac: Get -march flag passed to build process
* configure: regenerate
2011-05-26 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Add test to check for availability of atomic builtins.
* configure: Regenerate.
* Headers/GNUstepBase/config.h.in: Regenerate.
* Source/NSObject.m: Fix typo.
Attempt to set the compiler and linker flags needed to enable compiler
intrinsics for atomic operations on platforms where those are available.
2011-05-26 18:29 David Chisnall <theraven@gna.org>
* Source/simple-load.h:
Use RTLD_NOLOAD, if it's supported.
2011-05-26 13:24 David Chisnall <theraven@gna.org>
* Headers/Foundation/NSNotification.h,
* Source/Additions/GSLock.m,
* Source/Additions/GSObjCRuntime.m,
* Source/Additions/Unicode.m,
* Source/GSString.m,
* Source/NSThread.m,
* Source/NSZone.m:
More GC fixes. Most notably,
mark the thread object as not collectable, since it's hidden away
in TLS where the GC can't find it.
2011-05-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m:
Further tweak of atomic assembly code ... don't really know what I'm
doing here ... perhaps theoriginal author (mostly David?) knows more
about this assmebly stuff and implementation of atomic primitives on
different architectures?
2011-05-25 11:15 David Chisnall <theraven@gna.org>
* Headers/Foundation/NSZone.h,
* Source/GSString.m,
* Source/NSData.m,
* Source/NSMethodSignature.m,
* Source/NSNotificationCenter.m,
* Source/NSObject.m,
* Source/NSZone.m:
More tweaks for garbage collection mode, including making
NSNotificationCenter use weak pointers (things are never removed if it
uses strong pointers because they remove themselves in the -dealloc
method, which is never called, and can't remove themselves in the
-finalize method because the -finalize method would not be called
until after they have been removed - this is consistent with Apple
behaviour).
Gorm now works correctly when built with GC enabled.
2011-05-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m:
Attempt fix for atomic assembler on x86 (bug #33392)
2011-05-24 David Chisnall <theraven@gna.org>
* Source/NSBundle.m
* Source/NSGarbageCollector.m
* Source/NSKeyValueObserving.m
* Source/NSZone.m
* Source/NSObject.m
* Source/NSAutoreleasePool.m
First pass at supporting fully Apple-compatible GC in -base.
Code sitting
on top of -base should not require modifying (in theory, at least, and
unless it does the sort of evil tricks that LanguageKit does for
performance).
2011-05-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m:
Try to better cope with bad code which leaks autorelease pools.
1. check number of pools in thread when creating a new one, and
raise an exception if too many are created.
2. when deallocating a pool, avoid recursively deallocating child
pools so that a large number of pools won't cause stack overflow.
2011-05-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
Fix to resolve links and standardize path to current executable.
2011-05-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Fixes for encoding quoted-printable document body content.
2011-05-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
* Source/NSMethodSignature.m:
* Source/GSFFCallInvocation.m:
* Source/GSFFIInvocation.m:
* Source/NSUnarchiver.m:
* Source/NSCoder.m:
* Source/cifframe.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSObjCRuntime.m:
* Source/NSArchiver.m:
Fixup objc header includes for gcc-4.6
2011-05-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
* Source/GSHTTPURLHandle.m:
* Source/win32/NSMessagePort.m:
* Source/win32/NSMessagePortNameServer.m:
Include/use errno.h for thread-safe errno support.
2011-05-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
* Source/GSConcreteValueTemplate.m:
* Source/GSFFCallInvocation.m:
* Source/NSKeyedUnarchiver.m:
* Source/GSFFIInvocation.m:
* Source/NSUnarchiver.m:
* Source/NSCoder.m:
* Source/NSURL.m:
* Source/cifframe.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSObjCRuntime.m:
* Source/GSValue.m:
* Source/NSValue.m:
* Source/NSArchiver.m:
updates for old/new objc api change.
2011-05-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSArray.m: Fix keyed decoding for GSMutableArray and
GSPlaceholderArray.
2011-05-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: treat unknown/undefined encodings as utf-8
so we tolerate bad xml documents better.
2011-05-02 Eric Wasylishen <ewasylishen@gmail.com>
* Source/Additions/GSObjCRuntime.m (GSSelectorFromNameAndTypes):
With gcc 4.6 libobjc, GSSelectorFromNameAndTypes was calling some
functions like sel_get_any_typed_uid that were not declared (they're
declared in objc/objc-api.h which cannot be imported). I had to copy
over these function declarations, otherwise incorrect function calls
are generated which corrupt selectors (at least on x86-64).
2011-05-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumberFormatter.m: Fix broken copying of formatters,
cleanup/simplify decoding, cleanup/simplify by removif macros.
2011-04-30 Quentin Mathe <quentin.mathe@gmail.com>
* Tools/autogsdoc.m: Fixed OrderedSymbolDeclarations.plist content to
take in account that existing .gsdoc files are usually not regenerated.
We now create the plist by merging it with the previously output plist
file.
2011-04-26 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSNumberFormatter.m: Move the body of -init to a method called
-_NSNumberFormatterInit, and call this in -initWithCoder: so that
instances created with -initWithCoder: are initialized correctly.
2011-04-26 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/Foundation/NSObjCRuntime.h: Add CGFLOAT_MIN and CGFLOAT_MAX
2011-04-14 Adam Fedor <fedor@gnu.org>
* VERSION: Bump version
2011-04-14 Adam Fedor <fedor@gnu.org>
* Version 1.22.0
2011-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m (GSSelectorFromNameAndTypes):
Comment out case for __GNU_LIBOBJC__ to avoid breakage with gcc-4.6
* Source/NSPathUtilities.m: Minor tweak for running testcases.
* Tests/base/NSBundle/resources.m:
* Tests/base/NSBundle/basic.m:
Skip gnustep library bundle tests if not installed.
* Tests/base/NSNumberFormatter/basic.m:
Changed a test to a hope for the next release
2011-04-10 Quentin Mathe <quentin.mathe@gmail.com>
* Tools/AGSOutput.m (-fitWords:from:to:maxSize:output:): Ensure all
paragraphs are output in the same way. Each paragraph starts on a new
line now, which results in a GSDoc output that looks a bit better and
is easier to parse.
2011-04-09 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/Additions/GSObjCRuntime.m (GSSelectorFromNameAndTypes):
Uncommented case for __GNU_LIBOBJC__.
2011-04-09 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Updated the checks to enable native Objective-C
exceptions. If native exceptions were enabled in gnustep-make -
because the compiler supports them -, but are disabled here
because there is no uncaught exception handler in the runtime,
print an explanation without aborting; we now disable them via
base.make.
* configure: Regnerated.
* base.make.in: Set USE_OBJC_EXCEPTIONS to no if we disabled
native exceptions when configuring.
2011-04-09 Nicola Pero <nicola.pero@meta-innovation.com>
* Tests/GNUmakefile: Updated comments.
2011-04-08 Nicola Pero <nicola.pero@meta-innovation.com>
* Tests/GNUmakefile: Include rules.make instead of test-tool.make.
(TOP_DIR): Define using ':=' instead of '='.
(TEST_TOOL_NAMES): Variable removed.
2011-04-08 Nicola Pero <nicola.pero@meta-innovation.com>
* Tools/pl2link.m (main): Fixed determining the installation
location with the current filesystem layout (Problem reported by
"Philippe Roussel" <p.o.roussel@free.fr>).
2011-04-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Fix failure to connect to mail server.
2011-04-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNmberFormatter.m: Tweak macros to avoid compiler warnings.
2011-04-07 Chris Armstrong <carmstrong@fastmail.com.au>
* Source/NSFileManager.m: Fix bug creating intermediary directories.
* Tests/base/NSFileManager/general.m: Add test for whether intermediary
directories are created.
2011-04-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSparser.m: ignore __attribute__ in declarator to fix bug
#33008
2011-04-05 Wolfgang Lux <wolfgang.lux@gmail.com>
* Tests/base/coding/decoding.m: Fix bogus byte swap code for
big-endian hosts.
2011-04-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Attempt to fixup C++ constructor/destructor
handling to work for all setups.
2011-04-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: on mingw release self and return nil if
initialiser can't find named timezone.
2011-04-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: ([+initialize]) change to use 'right' path
handling so that our core paths are established correctly even if
an app has set the wrong path handling mode for the currenty platform.
* Tests/base/NSURL/basic.m:
* Tests/base/NSString/test02.m:
Fix path portability bugs in tests.
2011-04-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: fix leak spotted by Fred.
2011-04-03 Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>
* Source/GNUmakefile:
* Source/NSObject.m:
* Source/NSTask.m:
Tweaks for OpenBSD build
2011-04-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopCtxt.m:
Fix pointer ownership issue in callbacks in GC environment so we let
the garbage collector handle watchers rather than trying to free them
explicitly when we shouldn't.
2011-04-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fix problem with finalization of proxies and
remove obsolete runtime call to see if a class respons to selector.
2011-03-31 Riccardo Mottola <rm@gnu.org>
* Source/ObjectiveC2/Makefile.preamble
Add directory of the local headers.
2011-03-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/unicode/gsm0338.h:
Fix error mapping capital C-cedilla.
2011-03-29 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSUnion.h: Remove problematic types.
* Source/unix/Makefile.preamble: Remove unused include directory
* Source/win32/Makefile.preamble: ditto
* Source/ObjectiveC2/Makefile.preamble: ditto
* Source/Additions/Makefile.preamble: ditto
* Source/Additions/Makefile.postamble: link to extra headers for apple
so we can build the additons library on a pure apple system again.
2011-03-29 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/GNUstepBase/GSIMap.h:
* Headers/GNUstepBase/GSUnion.h:
* Source/GSAttributedString.m:
* Source/NSArchiver.m:
* Source/NSConnection.m:
* Source/NSKeyedArchiver.m:
* Source/NSNotificationCenter.m:
* Source/NSPortCoder.m:
* Source/NSSerializer.m:
Fixes for problem spotted by David Chisnall ... on a 64bit system where
the size of an integer is not the same as the size of a pointer the
union holding map keys and values will have undefined content if we
assign an integer to it and then use it as a pointer!
So, we change to use the .nsu accessor for a pointer sized integer
throughout, and we remove all the odd sized union members.
2011-03-28 Riccardo Mottola <rm@gnu.org>
* Source/NSPathUtilities.m:
safer and more portable pointer access
* Headers/Foundation/NSNetServices.h
Remove forward protocol declarations as they break gcc 2.95.
2011-03-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m: Clarify/add to comments about linked
list operation and remove redundant/useless line of code.
2011-03-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSNumberFormatter.m (-stringForObjectValue:): Swapped a
few lines of fraction handling code to get the test suite to pass.
2011-03-22 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSObject.m (-methodSignatureForSelector:): Get method
right again in case the method is called on a class object and the
old runtime is used.
2011-03-21 Riccardo Mottola <rm@gnu.org>
* Tests/base/NSNumberFormatter/basic.m:
Added new test.
2011-03-18 Nicola Pero <nicola.pero@meta-innovation.com>
* Documentation/GNUmakefile (CODING-STANDARDS_TEXI_FILES,
CODING-STANDARDS_DOC_INSTALL_DIR, CODING-STANDARDS_TEXT_MAIN):
Removed.
(DOCUMENT_TEXT_NAME, TOP_DOC_FILES): Fixed names of files to
generate; for example, INSTALL instead of install.
2011-03-18 Riccardo Mottola <rm@gnu.org>
* Source/NSSortDescriptor.m:
Use Cocoa values for the coding keys.
2011-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: Use old API to work around bug in
current sel_registerTypedName().
* Source/GSFFIInvocation.m: Use sel_getTypedName() to safely get a
typed selector.
2011-03-17 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSProcessInfo.m (_gnu_process_args): Use C runtime system
functions to access command line arguments and the environment
under Darwin/Mac OS X.
* configure.ac: Add special case to disable fake-main by default
on Darwin/OS X.
* configure: Regenerated.
2011-03-17 15:02 David Chisnall <theraven@gna.org>
* Source/NSObject.m: Correctly call C++
constructors / destructors for C++ 'objects' in ObjC++ ivars.
2011-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: regenerated wityh latest zone info.
* Tests/base/NSCalendarDate: Updated to use standardised locale
2011-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Make +initialize thread safety warning optional
(disabled using GSSilenceInitializeWarning user default) and more
informative.
2011-03-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumberFormatter.m: Padding for fractional part comes at the
start rather than at the end.
2011-03-14 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m (-getObjectValue:forString:errorDescription:):
Add implementation.
2011-03-14 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m (-getObjectValue:forString:range:error:):
Added implementation.
* Headers/NSNumberFormatter.h: Fixed a couple of typos.
2011-03-14 Nicola Pero <nicola.pero@meta-innovation.com>
* Resources/GNUmakefile
(base-resources_RESOURCE_FILES_INSTALL_DIR): Removed.
2011-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
* Headers/Additions/GNUstepBase:
* Headers/Additions/GNUstepBase/Additions.h:
* Headers/Additions/GNUstepBase/config.h.in:
* Headers/Additions/GNUstepBase/.cvsignore:
* Headers/Additions/GNUstepBase/CXXException.h:
* Headers/Additions/GNUstepBase/DistributedObjects.h:
* Headers/Additions/GNUstepBase/GCObject.h:
* Headers/Additions/GNUstepBase/GNUstep.h:
* Headers/Additions/GNUstepBase/GSBlocks.h:
* Headers/Additions/GNUstepBase/GSConfig.h.in:
* Headers/Additions/GNUstepBase/GSFileHandle.h:
* Headers/Additions/GNUstepBase/GSFunctions.h:
* Headers/Additions/GNUstepBase/GSIArray.h:
* Headers/Additions/GNUstepBase/GSIMap.h:
* Headers/Additions/GNUstepBase/GSLocale.h:
* Headers/Additions/GNUstepBase/GSLock.h:
* Headers/Additions/GNUstepBase/GSMime.h:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Headers/Additions/GNUstepBase/GSUnion.h:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
* Headers/Additions/GNUstepBase/GSXML.h:
* Headers/Additions/GNUstepBase/NSArray+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSAttributedString+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSBundle+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSCalendarDate+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSData+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSDebug+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSFileHandle+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSLock+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSMutableString+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSNetServices+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSNumber+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSObject+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSProcessInfo+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSStream+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSString+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSTask+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSThread+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSURL+GNUstepBase.h:
* Headers/Additions/GNUstepBase/preface.h.in:
* Headers/Additions/GNUstepBase/Unicode.h:
* Headers/GNUstepBase:
* Headers/GNUstepBase/config.h.in:
* Headers/ObjectiveC2:
* Headers/ObjectiveC2/Availability.h:
* Headers/ObjectiveC2/blocks_runtime.h:
* Headers/ObjectiveC2/capabilities.h:
* Headers/ObjectiveC2/runtime.h:
* Makefile.postamble:
* Source/DocMakefile:
* Source/GNUmakefile:
* Source/Makefile.postamble:
* Source/Makefile.preamble:
* Source/ObjectiveC2/Availability.h:
* Source/ObjectiveC2/blocks_runtime.h:
* Source/ObjectiveC2/capabilities.h:
* Source/ObjectiveC2/caps.c:
* Source/ObjectiveC2/GNUmakefile:
* Source/ObjectiveC2/NSBlocks.m:
* Source/ObjectiveC2/runtime.h:
* SSL/Makefile.preamble:
* Tests/GNUmakefile:
* Tools/Makefile.preamble:
Simplify header layout.
2011-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/CXXException.m: fix error in include
* Tests/GNUmakefile: add info for testing local copy of library
2011-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
* config.mak.in:
* Source/GNUmakefile:
* Headers/Additions/GNUstepBase/config.h.in:
Add config check for blocks support.
* Source/NSObject.m:
* Source/ObjectiveC2/blocks_runtime.m:
Fixups for mingw
2011-03-12 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Cache property values and reset them
along with the formatter.
* Source/NSLocale.m: Add 2 missing unlocks.
2011-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSBlocks.m: Added header
* Headers/Additions/GNUstepBase/GSBlocks.h: Added header
* Headers/Foundation/NSRegularExpression.h: Added header
Added missing copyright headers etc.
2011-03-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Fix bug in resetting ... was ending up
with an immutable dictionary for the registration domain.
* Source/NSObject.m: fix references to isa.
* Source/NSPropertyList.m: Fix unused increments.
* Source/NSRunLoop.m: Remove unused code.
* Source/NSSocketPort.m: Remove unused code.
* Source/NSSocketPortNameServer.m: Remove unused code.
* Source/NSTimeZone.m: Fix unused increment.
* Source/NSUnarchiver.m: Fix unused assignment.
2011-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAttributedString.m: remove unused assignment
* Source/GSFormat.m: remove unused increments
* Source/GSHTTPAuthentication.m: remove unused assignment, fix possible
use of nil as a dictionary key.
* Source/GSHTTPURLHandle.m: remove unused assignment, check length.
* Source/GSSocketStream.m: remove unused assignments
* Source/GSString.m: remove unused assignments
* Source/NSAttributedString.m: (-description) fix leak
* Source/NSAutoreleasePool.m: tweak for clang static analyser
* Source/NSBundle.m: fix memory leak
* Source/NSCachedURLResponse.m: fix error in -copy
* Source/NSCalendarDate.m: remove unused increments.
* Source/NSDate.m: fix parsing string with ordering too long
* Source/NSHTTPCookie.m: remove unused assignments
* Source/GSMime.m: fix unused assignments
* Source/NSInvocation.m: remove unused code
* Source/unix/NSStream.m: remove unused ivar
* Tools/gdomap.c: remove unused code
2011-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInternal.h:
* Source/NSDateFormatter.m:
* Source/NSNumberFormatter.m:
Fix for object copying in non-fragile-ivar build spotted by
Chris Armstrong.
2011-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/GSXML.m:
* Source/Additions/NSData+GNUstepBase.m:
* Source/Additions/NSError+GNUstepBase.m:
* Source/Additions/Unicode.m:
* Source/dld-load.h:
* Source/GSFormat.m:
* Source/GSMDNSNetServices.m:
* Source/GSSocketStream.m:
* Source/GSValue.m:
* Source/NSArchiver.m:
* Source/NSCalendarDate.m:
* Source/NSData.m:
* Source/NSDebug.m:
* Source/NSFileManager.m:
* Source/NSHost.m:
* Source/NSInvocation.m:
* Source/NSKeyValueCoding.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSMethodSignature.m:
* Source/NSObject.m:
* Source/NSPathUtilities.m:
* Source/NSPortCoder.m:
* Source/NSProcessInfo.m:
* Source/NSString.m:
* Source/NSTask.m:
* Source/NSTimeZone.m:
* Source/NSUnarchiver.m:
* Source/NSURL.m:
* Tools/cvtenc.m:
* Tools/defaults.m:
* Tools/locale_alias.m:
Avoid strcpy and strcat to get rid if some bsd warnings.
2011-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.initialize.m: Correct formatting. Increase time
allowed for threads to do their job, to minimise the chance of a
heavily loaded machine giving a wrong result because threads
don't get scheduled in time.
* configure.ac: check for stck return address extraction
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Source/NSDebug.m: use function to get return address.
2011-03-06 Thomas Gamper <icicle@cg.tuwien.ac.at>
* config/config.initialize.m: add missing include to fix build.
Use correct thread handles, adapt sleep times to worst case.
Remove C99-ism.
2011-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: remove obsolete call to objc_set_thread_callback().
* Source/NSDebug.m: Try to improve getting return addresses from stack.
2011-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInternal.h:
* Source/NSDateFormatter.m:
* Source/NSNumberFormatter.m:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSCache.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSRegularExpression.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSPortMessage.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSLocale.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Additions/GNUstepBase/GSMime.h:
Tweaks for running in a garbage collecting environment.
2011-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: AbsolutePathOfExecutable() attempt to fix this
to return a fully standardised path without symbolic links.
* Source/NSFileManager.m:
* Headers/Foundation/NSFileManager.h:
Rudimentary implementation of a couple of new methods.
2011-03-05 Tom Davie <beelsebob2>
* Source/NSSet.m:
* Headers/Foundation/NSSet.h:
Add block enumeration.
2011-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Small optimisation suggested by Fred.
* config/config.initialize.m: Test for working +initialize
* configure.ac: Use test for +initialize thread safety
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* configure: regenerate
* Source/NSThread.m: Log warning when going multithreaded without
a reliable runtime.
2011-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumberFormatter.m: Make error text compatible with OSX
* Source/NSSpellServer.m: Use NSLanguages user default
* Source/NSBundle.m: Use NSLanguages user default
* Source/NSUserDefaults.m:
Revert recent attempt to avoid deadlocks (broke thread-safety).
Rewrite shared defaults initialisation and user language management
to break the complicated interrelationshp between methods which
made the initialisation fragile and incomprehensible.
Language information derived from operating system or environment
variables (rather than the defaults database) is now stored in a
new volatile domain.
The +userLanguages method just returns the NSLanguages default,
and +setUserLanguages: now sets NSLanguages in the new volatile domain.
Simplify setup of shared user defaults to avoid deadlocks.
2011-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: retain operation while finishing so that it
doesn't get deallocated too soon (when the queue removes it).
2011-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumberFormatter.m: Fix -setAllowsFloats to only operate
in input strings.
2011-03-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m: Fix possible thread race condition.
* Source/ObjectiveC2/runtime.c: Fix bogus warning messages.
2011-03-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: re-introduce per-queue thread pool.
2011-03-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: reorganise and simplify code, removing the
pool of threads for handling operations (need to re-add this at a
later point, but probably as a separate class) ... implement
support for 'concurrent' operations (ones which manage their own
executions rather than running in a thread provided by the queue.
2011-03-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Review memory management ... fix possible
free of non-heap memory.
2011-03-02 Riccardo Mottola <rm@gnu.org>
* base/NSNumberFormatter/basic.m:
Add test for checking leading zeroes in fractional part.
2011-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: ([-isMemberOfClass:]) test the class returned
by the -class method rather than using the runtime to get the actual
class pointer ... fixes for when one class is pretending to be
another (key value observing).
2011-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m:
Retain object while sending notifications so we don't get deallocated
during the process.
2011-03-01 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSNetServices.h
* Headers/Additions/GNUstepBase/NSNetServices+GNUstepBase.h:
Declare a protocol for GNUstep specific delegate methods in
NSNetServices.
2011-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m:
Implement dummy version for use with garbage collecting runtime.
2011-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m:
* Source/NSPortCoder.m:
* Source/NSBundle.m:
* Source/NSPropertyList.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSProcessInfo.m:
* Source/NSRunLoop.m:
* Source/NSOperation.m:
* Source/NSUserDefaults.m:
* Source/GSArray.m:
* Source/NSMessagePortNameServer.m:
* Source/NSKeyedArchiver.m:
* Source/NSDebug.m:
* Source/NSPort.m:
* Source/NSMessagePort.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSFileManager.m:
* Source/NSException.m:
* Source/NSString.m:
* Source/Additions/NSData+GNUstepBase.m:
* Source/Additions/GSMime.m:
* Source/Additions/NSCalendarDate+GNUstepBase.m:
* Source/Additions/GSXML.m:
* Source/Additions/GSObjCRuntime.m:
* Source/GSSet.m:
* Source/NSConnection.m:
* Source/NSThread.m:
* Source/GSeq.h:
* Source/NSLog.m:
* Source/NSTask.m:
Tweaks to avoid compiler warnings in garbage collecting environment.
2011-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/GNUmakefile: Use gnustep-make to supply targets.
2011-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFCallInvocation.m:
* Source/ObjectiveC2/runtime.c:
* Source/ObjectiveC2/runtime.h:
* Source/Additions/GSObjCRuntime.m:
Avoid messy runtime differences by using old runtime api for typed
selector features not in the Apple runtime.
2011-02-27 Banlu Kemiyatorn <object@gmail.com>
* Source/NSOperation.m: Fix error checking condition for dependencies.
2011-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Look for gc.h in gc subdirectory
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Source/GNUmakefile: Don't attempt to build GSBlocks.m until it works
without causing link failures.
* Source/NSPortCoder.m:
* Source/NSKeyedArchiver.m:
* Source/NSGarbageCollector.m:
* Source/NSZone.m:
* Source/GSDictionary.m:
* Source/GSCountedSet.m:
* Source/NSNotificationCenter.m:
* Source/GSAttributedString.m:
* Source/NSObject.m:
* Source/NSConcreteMapTable.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSObjCRuntime.m:
* Source/GSSet.m:
* Source/NSConnection.m:
* Source/NSThread.m:
* Source/NSConcreteHashTable.m:
Modify location of gc.h header.
2011-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c:
* Headers/Additions/GNUstepBase/preface.h.in:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Remove last vestiges of runtime specific memory allocation apart from
obsolete macros (marked as deprecated).
2011-02-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDecimal.m:
Fix NaN comparison in GSDecimalCompare()
* Source/NSNumber.m:
Better match OSX for double comparison.
2011-02-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumber.m:
Fix error in float comparison.
2011-02-24 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSUserDefaults.m
* Source/NSKeyValueObserving.m:
Fix typos.
2011-02-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m:
* Source/NSArray.m:
* Source/NSDebug.m:
* Source/NSCalendar.m:
* Source/NSURLResponse.m:
* Source/NSObject.m:
* Source/NSDecimalNumber.m:
* Source/Additions/GSMime.m:
* Source/NSDateFormatter.m:
* Source/NSDate.m:
* Source/NSDictionary.m:
* Source/NSSet.m:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSSet.h:
Tweaks to avoid compiler warnings on mingw and to make the
-descriptionWithLocale: method consistently take an id argument
as it now does on OSX.
2011-02-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix bugs in upper and lower casing of constant
strings.
* Source/NSTask.m: Force check of termination status when we call
-isRunning.
2011-02-22 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/GSFFIInvocation.m (gs_find_best_typed_sel): Implemented
for __GNU_LIBOBJC__. Tidied up documentation.
2011-02-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Make private executable path be an absolute path.
* Source/NSDateFormatter.m:
* Source/NSLocale.m:
* Source/NSNumberFormatter.m:
* Source/NSTimeZone.m:
Remove a few bogus underscores (pointed out by David) which could
potentially cause problems with compiler/linker etc.
2011-02-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Modified stringByStandardizingPath and
stringByDeletingLastPathComponent to better match OSX behavior.
2011-02-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumberFormatter.m:
* Headers/Foundation/NSNumberFormatter.h:
If we don't have ICU then the actual behavior is 10.0 style
irrespective of the formatter behavior setting.
2011-02-21 11:05 David Chisnall <theraven@gna.org>
* Source/GSFFIInvocation.m: Some changes to method
type lookup when forwarding. Alway use the compiler-supplied type
information if it exists - this is guaranteed to by the correct
type encoding for the call frame and lets us deconstruct it
correctly. We can then fail gracefully later on when trying to
invoke the selector if the types in the callee don't match,
rather than by reading nonsense from the stack now.
When using the GNUstep runtime, use the safe mechanism for
checking whether there is more than one typed selector, and only
use that as a guess if it is safe to do so. With the GCC runtime,
we are still stuck using the API that it is impossible to use
safely (we might be better off just giving up at this point), but
now we call this after -methodSignatureForSelector:, so the app
developer gets a chance to do the right thing before we do the
wrong thing.
Also changed the assert to throw an exception if no type
signature can be found. This behaviour is consistent with Mac OS
X.
2011-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMethodSignature.m:
* Source/GSArray.m:
* Source/NSKeyValueObserving.m:
* Source/GSPrivate.h:
* Source/GSDictionary.m:
* Source/NSURLProtocol.m:
* Source/NSURL.m:
* Source/NSObject.m:
* Source/NSDecimalNumber.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSLock.m:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Expose class pointer swizzling function in GSObjCRuntime.
Replace direct references to 'isa' pointer with objc_getClass() and
objcSetClass() calls (or occasionally calls to the -class method if
it seems more appropriate).
2011-02-20 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSNumberFormatter.m (-init): Only check the formatter in
the ICU case.
2011-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m:
* Source/NSCopyObject.m:
* Source/NSObject.m:
Replace old code directly referencing class_pointer ivar with calls
to the new runtime API treating objects as opaque pointers.
2011-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
* Source/common.h:
* Source/NSObject.m:
* Source/NSAutoreleasePool.m:
* Source/NSProxy.m:
* Source/NSSerializer.m:
Replace all calls to get_imp() with the new runtime API
class_getMethodImplementation().
2011-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedNotificationCenter.m:
* Source/GSFFCallInvocation.m:
* Source/GSFFIInvocation.m:
* Source/common.h:
* Source/NSConnection.m:
* Source/NSData.m:
Use GSObjCRuntime functions for selector types until/unless we can get
a standard runtime API that handles them.
2011-02-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSProcessInfo.m:
* Source/NSConcretePointerFunctions.m:
* Source/GSFFCallInvocation.m:
* Source/NSZone.m:
* Source/NSCallBacks.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSFileManager.m:
* Source/NSURLProtocol.m:
* Source/objc-load.m:
* Source/NSException.m:
* Source/cifframe.m:
* Source/NSLog.m:
* Tools/defaults.m:
* Tests/base/NSInvocation/Resources/InvokeProxy.m:
Remove obsolete calls to objc_malloc() in favour of NSZoneMalloc() or
malloc() where using zones is not appropriate.
2011-02-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFCallInvocation.m: Updated two obsolete runtime calls
* Source/common.h: Revert last change as it seemed pointless to
define macros within a private header which reproduce functions
we don't actually use (or want to use) within base. I think/hope
that the tiny change to GSFFcallInvocation.m is all that was needed.
2011-02-19 16:02 David Chisnall <theraven@gna.org>
* Source/common.h: Add some macros that map some
libobjc functions to their runtime-specific variants.
This avoids the need for ugly #ifdefs everywhere (the next commit
will try to clean up some of this mess), and lets us use the _np
function names everywhere to explicitly note that we are using
runtime functions that are not present on OS X - apparently the
new GCC runtime does not add this suffix for some reason.
2011-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDecimalNumber.m:
* Source/NSNumber.m:
Quick hacks to try to get NaN comparison working.
2011-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDateFormatter.m:
* Source/NSNumberFormatter.m:
Fix -initWithCoder: methods to create internal ivar storage.
2011-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
* Documentation/coding-standards.texi:
* Headers/Foundation/NSXMLParser.h:
Documentation tweaks.
2011-02-16 Jens Ayton <jens@ayton.se>
* Source/NSPropertyList.m: Fix to support 64bit integers when parsing
an XML property list.
2011-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Tests/base: import the testsuite here
* Tests/GNUmakefile: add trivial makefile to run tests
2011-02-16 Wolfgang Lux <wolfgang.lux@gmail.com>
* Resources/German.lproj/Localizable.strings: Add translation for
undo menu item strings.
2011-02-16 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSDateFormatter.m (-initWithCoder:, -initWithDateFormat:):
Add missing calls to super/self initialization.
2011-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/common.h:
* Headers/Additions/GNUstepBase/GNUstep.h:
Implement David's idea of allowing some generalisation of the _()
macro by using a preprocessor define to set the bundle to be used
to lookup localisation information.
2011-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInternal.h:
* Source/NSDateFormatter.m:
* Source/NSNumberFormatter.m:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSCache.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSRegularExpression.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSPortMessage.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSLocale.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Additions/GNUstepBase/GSMime.h:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
More work on clarifying the use of the reserved/private data
pointer. Reinstate accidentally lost '@private', and add the
GS_UNUSED_IVAR attribute as requested by David to avoid static
analyser warnings where the reserved pointer is not actually used
yet. Tidy up latest files to use GSInternal.h
2011-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSLocale.m:
* Source/NSTimeZone.m:
* Source/NSBundle.m:
* Source/NSProcessInfo.m:
* Source/NSUndoManager.m:
* Source/NSFileHandle.m:
* Source/NSSortDescriptor.m:
* Source/NSFileManager.m:
* Source/common.h:
* Source/externs.m:
* Source/NSException.m:
* Source/NSString.m:
* Source/Additions/Unicode.m:
* Source/Additions/GSXML.m:
* Source/NSLocale.m:
* Source/NSTask.m:
As suggested by Wolfgang, change the _() macro for localization when
used inside base to use the base library bundle rather than the main
bundle.
2011-02-14 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSDateFormatter.m:
* Source/NSDateFormatter.m: Changes for ABI compatibility.
* Source/NSNumberFormatter.m: Use unum_clone to copy formatter.
2011-02-14 German Arias <german@xelalug.org>
* Resources/Spanish.lproj/Localizable.strings: Added localized strings
for undo/redo.
* Source/NSUndoManager.m: Added GSBaseLocalizedString() function.
2011-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
* Source/GSInternal.h:
* Source/DocMakefile:
* Source/Additions/GSMime.m:
* Source/Additions/GSObjCRuntime.m:
* Source/NSConnection.m:
* Source/NSDateFormatter.m:
* Documentation/coding-standards.texi:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Additions/GNUstepBase/GSMime.h:
* Tools/DocMakefile:
* Tools/AGSParser.m:
Documentation cleanups and fixes ... add new macros to list of symbols
to ignore. Add support for @optional and @required. Add support for
method attributes.
2011-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSCache.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSXMLNode.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSRegularExpression.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSPortMessage.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSLocale.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Additions/GNUstepBase/GSMime.h:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
Make the presence of the pointer for reserved/private data clearer
and more explicit to try to ensure we actually remember to use it
to prevent ABI breakage.
* Source/NSNumberFormatter.m:
Modified to store new/extra ivars via the _reserved pointer so that
NSNumberFormatter can be safely subclassed by code outside the
library.
2011-02-13 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Moved 10.4+ functionality to a subclass.
2011-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: NSFullUserName() ... use short name if
no long one is available.
2011-02-13 Philippe Roussel <p.o.roussel@free.fr>
* Source/NSPointerArray.m: replace memcpy with memmove for safety.
2011-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSObject+GNUstepBase.m:
Use more runtime functions directly. Standardise exception formats.
* Source/ObjectiveC2/runtime.c: Fix some cases of dereferencing null
pointers.
2011-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Obtain NSZombie class pointer using
objc_lookUpClass() to avoid the use of NSString inside the NSObject
initialize method. Re-order code for safety. Add lots of comments.
2011-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
* Source/GSPrivate.h:
* Source/NSNotificationCenter.m:
* Source/NSConcreteMapTable.m:
* Source/NSThread.m:
* Source/NSSerializer.m:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
Update with new GS_CONSUMED macro to try to avoid static analyzer
false positives.
2011-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLocale.m: fix memory leak
* Source/NSThread.m:
* Source/NSNotificationCenter.m:
* Source/NSPortCoder.m:
* Source/NSSerializer.m:
* Source/NSUserDefaults.m:
* Source/GSPrivate.h:
* Source/Additions/NSObject+GNUstepBase.m:
Add code to try to prevent clang static analyser false warnings.
2011-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSObject.m:
* Source/Additions/NSObject+GNUstepBase.m:
Remove (unused) code for cleanup at program exit. Let's think of a
better way (eg runtime support to call a +atExit method).
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Avoid some unnecessary locking.
I think this completes recommitting of all the changes made with
bugfixes to get them all to at least compile/link on my centos and
windowsxp systems and to pass the testsuite on centos.
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: Fixed the new GS_BEGINITEMBUF()
code ... was causing hard-to-track-down memory corruption which
unfortunately didn't show up in the testsuite (or I'd not have
re-comitted this code in the first place).
2_011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m: Recommit
Reviewed and tested.
* Source/NAutoreleasePool.m: Make +initialize do nothing so that it
won't interfere with anythign else when called by [NSObject+initialize]
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLocale.m: Recommit
* Source/NSUnarchiver.m: Recommit
I have now test these two and recommited them as working.
* Source/NSPropertyList.m: Revert
These was quietly modified/broken since my last commit ...
reverting to the previous tested/working version.
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Recommit fixed version
* Source/GSICUString.h: Formatting fixups
* Source/GSICUString.m: Recommit
* Source/NSAttributedString.m: Recommit
* Source/NSData.m: Recommit
* Source/NSMethodSignature.m: Recommit
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Recommit with modification fixed and tested.
* Source/NSOperation.m: new tweak to avoid compiler warning.
* Source/GSPrivate.h: Recommit most recent version after testing.
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
Revert everything back from boken code at 32071 to wrking code at 32051
due to loads of commits of code which have been occurring to fast for
anyone to review, and either don't compile or fail the testsuite.
Lets go through things checking that they at least compile with gcc
and pass the testsuite before we recommit them!
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSICUString.m:
Fix leak spotted by static analyser.
* Source/NSArray.m:
Fix error in enumeration changes causing compile failure.
2011-02-11 12:06 David Chisnall <theraven@gna.org>
* Source/GSPrivate.h: Added exception-safe version
of the GS_BEGINITEMBUF() macro. As a side effect, this should
silence the zero-sized VLA warnings in the static analyser.
Note: This macro is currently only used on GCC 4+ and clang. It
depends on __attribute__((cleanup)), which was introduced some
time in the 3.x series, but I'm not sure exactly when (3.2 / 3.3
I think), so someone who cares about gcc 3.x can tweak this if
they want (not sure if anyone does - I think most people use
2.95, 4.x, or clang).
2011-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m:
* Source/NSString.m:
* Source/NSPointerArray.m:
* Source/NSAttributedString.m:
* Source/Additions/GSXML.m:
* Source/NSData.m:
* Tools/AGSParser.m:
Tweaks to try to avoid clang analyser warnings.
* Source/NSPropertyList.m:
Revert last change.
* Source/NSObject.m:
Rewrite zombie setup code to avoid crashes caused by latest change.
2011-02-11 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Avoid multiple memory copy operations.
2011-02-10 18:54 David Chisnall <theraven@gna.org>
* trunk/config/config.joinable.m,
trunk/config/objc-common.g: Don't use Object in
configure tests (not present in GNUstep runtime).
2011-02-10 18:53 David Chisnall <theraven@gna.org>
* Source/NSObject.m: Use NSClassFromString() to
look up NSZombie class. This has two advantages:
1) Doesn't rely on Apple-incompatible behaviour in the GCC
runtime that introduces fun heisenbugs.
2) Doesn't require constructing the dtable for NSZombie if we're
not actually using it.
2011-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSpellServer.m: Avoid compiler warning.
* Source/NSPathUtilities.m:
* Source/NSMessagePortNameServer.m:
* Source/NSKeyValueObserving.m:
* Source/NSURLProtocol.m:
* Source/NSString.m:
* Source/NSNumberFormatter.m:
* Source/NSXMLParser.m:
Fix memory leaks
2011-02-10 11:02 David Chisnall <theraven@gna.org>
* Headers/Additions/GNUstepBase/GSMime.h,
Headers/Additions/GNUstepBase/GSVersionMacros.h,
Headers/Foundation/NSArchiver.h,
Headers/Foundation/NSAutoreleasePool.h,
Headers/Foundation/NSBundle.h,
Headers/Foundation/NSCache.h,
Headers/Foundation/NSComparisonPredicate.h,
Headers/Foundation/NSDateFormatter.h,
Headers/Foundation/NSDecimalNumber.h,
Headers/Foundation/NSDistributedLock.h,
Headers/Foundation/NSDistributedNotificationCenter.h,
Headers/Foundation/NSError.h,
Headers/Foundation/NSFileHandle.h,
Headers/Foundation/NSFileManager.h,
Headers/Foundation/NSHost.h,
Headers/Foundation/NSIndexPath.h,
Headers/Foundation/NSInvocation.h,
Headers/Foundation/NSKeyedArchiver.h,
Headers/Foundation/NSLocale.h,
Headers/Foundation/NSNumberFormatter.h,
Headers/Foundation/NSPort.h,
Headers/Foundation/NSPortCoder.h,
Headers/Foundation/NSPortMessage.h,
Headers/Foundation/NSPortNameServer.h,
Headers/Foundation/NSProtocolChecker.h,
Headers/Foundation/NSRegularExpression.h,
Headers/Foundation/NSScanner.h,
Headers/Foundation/NSSortDescriptor.h,
Headers/Foundation/NSTask.h,
Headers/Foundation/NSThread.h,
Headers/Foundation/NSTimer.h,
Headers/Foundation/NSUndoManager.h,
Headers/Foundation/NSUserDefaults.h,
Headers/Foundation/NSXMLNode.h,
Headers/Foundation/NSXMLParser.h: Add a
GS_PADDING_IVAR macro. This defines the void *gs_unused; instance
variable with __attribute__((unused)) on clang so that the static
analyser only reports unused ivars that we expect to be used.
This also makes it slightly easier to add the padding ivar to new
classes.
Note: The padding ivar has been added to NSRegularExpression.
This will break the ABI for anyone subclassing
NSRegularExpression, but hopefully that's no one (done before the
next release, to make sure that we don't break the ABI between
releases, only for people following -trunk).
2011-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/NSPropertyList.m:
* Source/NSUserDefaults.m:
* Source/NSException.m:
* Source/NSURL.m:
* Source/NSDecimalNumber.m:
* Source/Additions/GSMime.m:
* Source/GSFileHandle.m:
* Source/NSNumberFormatter.m:
* Tools/gdomap.c:
* Tools/HTMLLinker.m:
Fix a couple of minor/theoretical memory leaks and make other code
alterations to try to avoid clang static analyser reporting some
issues.
* Source/GSPrivate.h:
* Source/NSObject.m:
* Source/Additions/NSObject+GNUstepBase.m:
New code to provide a single location to cache information which
should exist for the lifetime of the process, and a function to
clean it up on process exit. Just a placeholder so far.
2011-02-09 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSTimeZone.m: ([-daylightSavingTimeOffsetForDate:]) Implement.
2011-02-09 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSTimeZone.m: ([-localizedName:locale:]) Implemented method.
2011-02-09 Stefan Bidigaray <stefanbidi@gmail.com>
* configure:
* configure.ac:
* Headers/Additions/GNUstepBase/config.h.in:
* Source/NSDateFormatter.m: ([-dateFormatFromTemplate:options:locale:])
Fix completely broken method using unicode/udatpg.h.
2011-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLocale.m: Fix canonical identifiers to return the input
string if no other value is found. Refrain from putting nil locale
identifier in dictionary. Fix leak of components dictionary when
returning an existing locale by id.
2011-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcretePointerFunctions.m: objects with weak memory should
not be retained.
2011-02-03 Philippe Roussel <p.o.roussel@free.fr>
* Source/NSPropertyList.m: Fix memory leaks.
2011-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSNetServices.h:
* Source/GSMDNSNetServices.m:
* Headers/Foundation/NSNetServices.h:
Tweaks to get MDNS code to compile again.
2011-02-02 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: ([-doesRelativeDateFormatting])
([-setDoesRelativeDateFormatting:]) Implemented methods.
2011-02-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPointerArray.m: ([-allObjects]) implement missing method.
2011-01-29 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Handle current calendar updates.
2011-01-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Fix bug with notifications ... was not always
sending them when a domain was modified.
2011-01-29 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSLocale.h: Use GS_EXPOSE(NSLocale).
* Source/NSLocale.m: ([-autoupdatingCurrentLocale]) Handle locale
updates.
([-currentLocale]) Check Locale default for current user's locale.
([-preferredLanguages]) Do not add same language multiple times.
2011-01-28 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Fixed errors found by test suite.
2011-01-27 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Add -isEqual:.
2011-01-27 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Open UCalendar before use.
2011-01-27 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Set some sensible defaults.
2011-01-26 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Add currency code to locale identifier, if present.
* Source/NSDateFormatter.m: Fix crash on dealloc because of autoreleased
object.
2011-01-26 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Minor memory mgt fixes.
2011-01-24 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Fixes for formatter behavior.
2011-01-24 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Check ICU presence in private function.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSDateFormatter.h:
* Source/NSDateFormatter.m: Redo the calendar code.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSDateFormatter.h:
* Source/NSDateFormatter.m: Add calendar.
* Source/NSNumberFormatter.m: Compile again.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m:
* Source/NSNumberFormatter.m:
* Source/NSCalendar.m: Remove use of OS_API_VERSION() in .m files.
2011-01-23 15:42 David Chisnall <theraven@gna.org>
* Source/NSNumberFormatter.m: Some small fixes in
NSNumberFormatter. Mostly stop using == to compare C strings.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Initialize UDateFormat before using it.
* Source/NSCalendar.m: Implement -components:fromDate:.
2011-01-23 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSDateFormatter.m: Implemented a few more methods.
2011-01-22 Stefan Bidigaray <stefanbidi@gmail.com>
* configure:
* configure.ac:
* Headers/Additions/GNUstepBase/config.h.in: Added check for
unicode/udat.h.
* Headers/Foundation/NSDateFormatter.h:
* Source/NSDateFormatter.m: Implemented a few methods.
2011-01-22 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSDateFormatter.h:
* Source/NSDateFormatter.m: Added stub for 10.4 and above methods.
2011-01-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Add support for GlobalDefaults directory
* Source/NSUserDefaults.m: Document GlobalDefaults directory
* Documentation/Base.gsdoc: Document GlobalDefaults directory
Implement suggestion by David Chisnall.
New GlobalDefaults directory support ... if there are .plist files
in this subdirectory, merge them in before merging in the contents of the GlobalDefaults.plist file.
Deprecate use of the old GNUSTEP_EXTRA config file entry.
2011-01-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Fix to cope with NSXMLParser reporting
whitespace as character data.
2011-01-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: For OSX compatibility we now quote strings
in property lists of they contain non-alphanumerics. We also warn
when we parse a dictionary with a missing semicolon at the end.
* Source/NSXMLParser.m: For OSX compatibility we report all character
data as characters and never as ignorable whitespace, though this
seems perverse.
Implement insertion of default attribute values into elements if we
have parsed an !ATTLIST which defines them.
2011-01-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: Print '(null)' rather than '(nil)' for a nil
object as this seems to be what OSX does now.
* Source/NSXMLParser.m: Implement partial support for declarations.
2011-01-12 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Implemented more methods.
([-stringForObjectValue:]): Add code for NSNumberFormatterBehavior10_4.
2011-01-11 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Removed NSLog used for debugging.
* Source/NSNumberFormatter.m: Fixed decimal separator behavior
for OS X > 10.4.
2011-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: ([-stringByStandardizingPath]) Fix bug when
dealing with three or more separators at the start of a path ...
should condense them to a single separator. Thanks to Robert Slover
for pointing this out.
2011-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
2011-01-09 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSNumberFormatter.m: Implemented a few more methods.
* Source/NSLocale.m: Added code requiring NSNumberFormatter code.
2011-01-09 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Additions/GNUstepBase/config.h.in:
* Headers/Foundation/NSNumberFormatter.h:
* Source/NSNumberFormatter.m: Started adding code for new methods.
2011-01-08 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Fixed a few bugs exposed by testsuite.
2011-01-07 Stefan Bidigaray <stefanbidi@gmail.com>
* configure:
* configure.ac: Added check for unicode/unum.h.
* Headers/Foundation/NSNumberFormatter.h:
* Source/NSNumberFormatter.m: Added stub for 10.4+ methods.
2011-01-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Make zombie log message match current OSX.
* Source/NSURL.m: Fix -resourceSpecifier by removing incorrect
special handling for file URLs.
* Source/NSXMLParser.m: Maketolerant of whitespace around the '='
in an attribute. Fix check for xml header being at start of doc.
2011-01-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSObject.m (GSAtomicIncrement, GSAtomicDecrement): MIPS64
specific adjustment of atomic functions for mips.
Patch by Sebastian Reitenbach <sebastia@l00-bugdead-prods.de>.
2011-01-01 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSCalendar.h:
* Source/NSCalendar.m: Added NSCoding and NSCopying.
* Source/NSLocale.m: Implement -isEqual: and do a better job of copying.
2011-01-01 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSCalendar.h:
* Source/NSLocale.m: Minor fixes.
* Source/NSCalendar.m: Implemented +currentCalendar.
2011-01-01 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Fixed typos found by testsuite.
2010-12-31 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Implemented -dateByAddingComponents:toDate:options:
and -dateFromComponents:.
2010-12-31 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSCalendar.h:
* Source/NSCalendar.m: Added iOS 4.0 and later methods
to NSDateComponents.
2010-12-31 Stefan Bidigaray <stefanbidi@gmail.com>
* Resources/GNUmakefile:
* Resources/Languages/Locale.canonical: Added mapping to go from long
locale identifiers to the shorter identifiers used by ICU.
* Source/NSLocale.m: Implemented -canonical* and -preferredLanaguges
methods.
2010-12-31 14:03 David Chisnall <theraven@gna.org>
* Headers/Foundation/NSBundle.h: Add __attribute__
((format_arg)) to [NSBundle -localizedStringForKey:value:table:].
This informs the compiler that the output can be used anywhere
that the first argument can be used, and should silence all of
the non-constant format string warnings that we get anywhere that
_(@"foo") or similar is used.
2010-12-27 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/GSString.m ([GSCString -encodeWithCoder:]): Explicitly
encode NSStringEncoding variables as 'int' so that we can
read/write archives across compiler versions. "enum
_NSStringEncoding" is an unsigned int, but GCC <= 4.5 incorrectly
encodes all enums, regardless of the actual integer type they
represent, as a signed int.
([GSMutableString -encodeWithCoder:]): Same change.
([GSUnicodeString -encodeWithCoder:]): Same change.
* Source/NSString.m ([NSString -encodeWithCoder:]): Same change.
([NSString -initWithCoder:]): Same change.
2010-12-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSCalendarDate.m:
* Source/NSDate.m:
* Source/NSProcessInfo.m:
* Source/NSRunLoop.m:
Change GSTimeNow() to GSPrivateTimeNow() to indicate scope of function.
* Source/NSThread.m:
Remove duplicate declaration of obbjc thread callback.
* Source/NSXMLParser.m:
Try to duplicate OSX behavior in handling start of document.
2010-12-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
([-stringByReplacingCharactersInRange:withString:]) fix memory leak.
([-stringByReplacingOccurrencesOfString:withString:options:range:])
ditto.
2010-12-25 Quentin Mathe <quentin.mathe@gmail.com>
Improved autogsdoc to output symbols such as methods in their header
declaration order along the gsdoc files.
Useful for third-party tools that want to generate final documentation
from the GSDoc ouput and how the original headers were organized.
* Tools/autogsdoc.m:
Added OrderedSymbolDeclarations.plist file output and cleaning.
* Tools/AGSParser.h:
* Tools/AGSParser.m:
Added orderedSymbolDecls ivar.
(-addOrderedSymbolDeclaration:toUnit:,
-orderedSymbolDeclarationsByUnit): Added.
(-parseMethodsAsDeclarations:): Modified to call
-addOrderedSymbolDeclaration:toUnit:.
2010-12-25 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Foundation/NSString.h:
* Source/NSString.m:
Added -stringByReplacingCharactersInRange:withString: (Mac OS 10.5
method).
2010-12-25 12:13-EST Gregory John Casamento <greg.casamento@gmail.com>
* Tools/pl2link.m: Changes to better integrate with the GNOME
desktop. Removed dummy version number. Added code to
find the correct locations of the application and it's icon.
2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* Headers/Foundation/NSPropertList.h: Forward-declare the NSError
class if appropriate.
2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSObject.m ([+conformsToProtocol:]): Use the new code
only if __GNU_LIBOBJC__ is defined.
* Source/Additions/GSObjCRuntime.m (GSTypesFromSelector): Updated
usage of Modern typed selector API with __GNU_LIBOBJC__.
* Source/GSFFIInvocation.m (gs_find_best_typed_sel): Same.
(gs_objc_msg_forward2): Same.
(GSFFIInvocationCallback): Same.
2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSObject.m ([+conformsToProtocol:]): Fixed to iterate
over superclasses. Just calling class_conformsToProtcol() is not
enough as class_conformsToProtocol() does not iterate over
superclasses.
([-conformsToProtocol:]): Updated.
2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Check for objc_setUncaughtExceptionHandler().
* configure: Regenerated.
* Headers/Additions/GNUstepBase/config.h.in: Regenerated.
* config/config..setUncaughtExceptionHandler.m: New.
* Source/Additions/GSObjCRuntime.m (GSTypesFromSelector): Use
sel_getType, not sel_getType_np, if __GNU_LIBOBJC__.
(GSSelectorFromNameAndTypes): Use sel_registerTypedName, not
sel_registerTypedName_np, if __GNU_LIBOBJC__.
* Source/objc-load.h: Do not include objc-api.h.
* Source/NSBundle.m (_bundle_load_callback): Use the new API to
iterate over classes when __GNU_LIBOBJC__.
* Source/NSConnection.m ([NSConnection
-forwardInvocation:forProxy:]): Use sel_registerTypedName, not
sel_registerTypedName_np, if __GNU_LIBOBJC__.
* Source/NSData.m ([NSData
-deserializeDataAt:ofObjCType:atCursor:context:]): Use
sel_registerTypedName, not sel_registerTypedName_np, if
__GNU_LIBOBJC__. Use sel_registerName, not
sel_registerTypedName_np, if the type is 0.
([NSDataStatic -deserializeDataAt:ofObjCType:atCursor:context:]):
Use sel_registerTypedName, not sel_registerTypedName_np, if
__GNU_LIBOBJC__.
* Source/NSDistributedNotificationCenter.m
([NSDistributedNotificationCenter
-postNotificationName:object:userInfo:selector:to:]):
Use sel_registerTypedName, not sel_registerTypedName_np, if
__GNU_LIBOBJC__.
* Source/NSException.m: Include <objc/objc-exception.h> if
HAVE_SET_UNCAUGHT_EXCEPTION_HANDLER.
([NSException +initialize]): Use objc_setUncaughtExceptionHandler
if HAVE_SET_UNCAUGHT_EXCEPTION_HANDLER.
* Source/NSMethodSignature.m: Do not include objc/encoding.h when
__GNU_LIBOBJC__.
* Source/NSObject.m ([NSObject -methodSignatureForSelector:]): Use
method_getTypeEncoding instead of accessing directly the 'types'
field.
([NSObject +poseAsClass:]): Always throw an exception since
class_pose_as is now deprecated or unavailable in most Objective-C
runtimes. If you need pose-as, and your runtime supports it, call
class_pose_as directly.
([NSObject -error:]): Use vprintf and abort directly instead of
trying to call objc_verror.
* Source/NSThread.m: Define objc_thread_callback if we are later
using it.
* Source/objc-load.m: Never include objc-api.h or objc-list.h.
(GSPrivateLoadModule): Removed 'dynamic_handles' variable, no
longer used. Do not call __objc_resolve_class_links if
__GNU_LIBOBJC__.
* Source/GSFFIInvocation.m: Include <objc/message.h> when
__GNU_LIBOBJC__.
(gs_find_best_typed_sel): Use sel_getType instead of
sel_getType_np if __GNU_LIBOBJC__.
(gs_objc_msg_forward2): Same change.
(GSFFIInvocationCallback): Same change.
* Source/NSValue.m ([NSValue +valueFromString:]): Added missing
return for NSRange values.
2010-12-22 Nicola Pero <nicola.pero@meta-innovation.co>
* Headers/Additions/GNUstepBase/preface.h.in: When using the new
GNU Objective-C Runtime library, include <objc/runtime.h> instead
of <objc/objc-api.h> and <objc/encoding.h>.
* Headers/Additions/GNUstepBase/GSObjCRuntime.h: When
OBJC2RUNTIME, do not include <objc/objc-api.h>.
* Headers/Additions/GNUstepBase/GSVersionMacros.h: Added FIXME.
2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
* config/objc-common.g: Include the correct headers to use the new
API if using the GNU Objective-C Runtime library from GCC 4.6.
2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac (objc_thread_add): Check removed.
* configure: Regenerated.
* Headers/Additions/GNUstepBase/config.h.in: Regenerated.
* Source/NSThread.m (objc_thread_add): Unused static function removed.
2010-12-22 Adam Fedor <fedor@gnu.org>
* Headers/Foundation/NSCalendar.h: Add NSCopying protocol
* Source/NSCalendar.m: Retain ivar. Add copyWithZone:
* Source/NSURL.m (-resourceSpecifier): Separate behavior for
file scheme vs other schemes.
2010-12-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendar.m: Fix to build with ICU 4.0
* configure.ac: Permit ICU version as old as 4.0
* configure: regenerate
2010-12-16 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSCalendar.m: Added code for -maximumRangeOfUnit: and
-minimumRangeofUnit:.
2010-12-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRegularExpression.m: Move towards coding standards compliance
* Source/GSICUString.m: ditto
2010-12-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Remove redundant/incorrect define of HAVE_ICU.
Require ICU version 4.6 or later.
Add comments describing how external dependencies are handled.
* configure: Regenerate
* Headers/Additions/GNUstepBase/config.h.in: Regenerate
* config.mak.in: Update for consistency
* base.make.in: ditto
* Headers/Additions/GNUstepBase/GSConfig.h.in: ditto
* Source/GSHTTPURLHandle.m: Improve debug logging a little
* Source/NSXMLParser.m: Improve error handling. Use sloppy parser.
* Source/NSRegularExpression.m: Use GS_USE_ICU and nnever HAVE_ICU
* Source/NSCalendar.m: ditto
* Source/NSLocale.m: ditto
* Source/GSICUString.m: ditto
2010-12-15 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/GNUmakefile: Install NSCalendar.h.
* Headers/Foundation/NSCalendar.h:
* Source/NSCalendar.m: Started adding code to NSCalendar.
2010-12-15 Stefan Bidigaray <stefanbidi@gmail.com>
* configure: Regenerate.
* Headers/Additions/GNUstepBase/config.h.in: Update for unicode/ucal.h.
* Headers/Foundation/NSLocale.h: Added NSLocaleCalendarIdentifier key.
* Source/NSLocale.m: Added handling of locale keywords and a few other
minor changes.
2010-12-14 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Added NSCalendar dependent code.
2010-12-14 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/Foundation.h:
* Source/GNUmakefile: Include NSCalendar.
* configure.ac: Check for unicode/ucal.h.
* Headers/Foundation/NSCalendar.h:
* Source/NSCalendar.m: Add completely empty NSCalendar and
NSDateCompoennts classes.
2010-12-14 Stefan Bidigaray <stefanbidi@gmail.com>
* Source/NSLocale.m: Initialize _components before using it and initilize
allLocales class variable in +initialize. Also stop adding blank entries
to _components dictionary.
2010-12-12 Stefan Bidigaray <stefanbidi@gmail.com>
* Headers/Foundation/NSLocale.h: Added missing constant.
* Source/NSLocale.m: Implemented more functionality.
2010-12-06 Riccardo Mottola
* Source/NSPathUtilities.m:
Make the Desktop directory relative to the user home.
2010-12-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Fix possible memory corruption when asked
to base64 decode corrupt data with too many '=' characters.
2010-12-02 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSRegularExpression.m: Add a guard so this file isn't compiled
if the ICU version is older than 4.4.
2010-11-29 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSPropertyList.h,
* Source/NSPropertyList.m: Add a few OSX 10.6 methods.
2010-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Remove unnecessary include of Foundation.h
* Source/Additions/GCDictionary.m: ditto
* Source/Additions/GCObject.m: ditto
* Source/Additions/GCArray.m: ditto
* Source/Additions/GSXML.m: ditto
* Source/Additions/GSFunctions.m: ditto
* Source/Additions/GSObjCRuntime.m: ditto
* Headers/Foundation/Foundation.h.install: obsolete file ... removed
* Source/Makefile.postamble: Don't install obsolete Foundation.h.install
header ... we no longer include Foundation.h anywhere so there's no
need to protect against getting the installed version.
2010-11-19 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSRegularExpression.m: Rearrange for non-C99 compliant
compilers.
2010-11-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: Fixup use of preprocessor constants.
2010-11-17 Eric Wasylishen
* Source/NSPredicate.m: Implement MATCHES and LIKE using ICU
* configure.ac: Check for unicode/uregex.h in ICU checks
2010-11-13 Riccardo Mottola
* Source/NSPathUtilities.m:
Make NSDownloadDirectory and NSDocumentDIrectory relative to the
user home and for the user domain only. Behaviour checked on the Mac.
2010-11-05 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSIndex.m: ([-setUnitRef:type:]) Fix incorrect special
handling of category methods.
2010-11-02 Larry Campbell <lcampbel@akamai.com>
* Tools/make_strings/make_strings.m: Fix line missed in last patch.
* Source/NSPropertyList.m: Fixes for date serialization byte swaps.
2010-10-31 Larry Campbell <lcampbel@akamai.com>
* Tools/make_strings/make_strings.m: Permits tool to take nil as the
table name argument in NSLocalizedStringFromTable and
NSLocalizedStringFromTableInBundle (as does the corresponding OSX
utility, genstrings).
2010-10-30 German Arias <german@xelalug.org>
* Documentation/GNUmakefile: Changes in some files names to
correspond with the files provided in the Documentation directory.
2010-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSMime.h
* Source/Additions/GSMime.m: Add support for delivery receipts.
* Source/NSURLConnection.m: Fix simple leak in
([+sendSynchronousRequest:returningResponse:error:])
2010-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: Revert David's last change ,which caused
crashes by dereferencing a null pointer, even though I had put a
comment in the code warning that the pointer could be null!
2010-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Fix definition of HAVE_ICU
* configure:
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Headers/Additions/GNUstepBase/GSMime.h
* Source/Additions/GSMime.m: wrap long lines
* Source/NSLocale.m: Use HAVE_ICU
2010-10-26 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSLocale.m: Fix -displayNameForKey:value: to interact properly
with libicu for some common cases.
2010-10-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/GNUmakefile:
Do not set -march=i686 when on an x86 system as it breaks compilation
for other cpu types.
2010-10-19 Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
* Source/Additions/NSError+GNUstepBase.m: Prevent SegFault when
FormatMessageW doesn't return a string on Windows.
2010-10-19 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSURL.m (-absoluteURL): Fix test for an absolute URL,
which got things backward.
2010-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: When making a relative file URL copy the host from
the base URL for OSX compatibility.
2010-10-16 16:53-EDT Gregory John Casamento <greg.casamento@gmail.com>
* config/objc-common.g: Correct test. The previous version didn't
include the { and the } in the ivar section. This is not correct.
* Source/ObjectiveC2/sync.m: Correct license text.
2010-10-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Match OSX behavior with file scheme URLS (treat
them like http/https rather than accorinding to the RFCs).
2010-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: If we receive an attribute name with no
corresponding value, assume it's a minimised attribute in html ...
and we should set the value to be the same as the name.
2010-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: Add support for arbitrary struct
get/set since OSX has it at last (not just well-known structs).
2010-10-12 David Chisnall <theraven@gna.org>
* Source/Additions/GSObjCRuntime.m:
Add special case to KVC accessors for libobjc2: If there is a method
with the wrong types, try calling the method with the correct types.
This enables the TDD-fixup code to run and generate a KVC-compliant
version of an existing method.
2010-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Exactly match the percent escaping used by OSX.
2010-10-08 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSAvahiRunLoopIntegration.m: Fix some bugs:
- Remove an extra retain of the NSTimer which was leaking memory.
- When passed a NULL struct timeval * from avahi, invalidate
the timer and don't schedule a new one.
2010-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: Add simple implementation of
evalutedObjectExpression
2010-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: Revert to the working version
from the last release.
Can't see a changelog for the last change, I guess some local
hack was accidentally committed... it broke KVC, which showed up
when the testsuite was run.
2010-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile: Remove reference to non-existent behavior.h
* Source/Makefile.postamble: Don't make circular dependency on
common.h
2010-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/NSSocketPort.m:
* Source/NSMessagePort.m:
* Source/win32/GSFileHandle.m:
* Source/GSNetwork.h:
* Source/GSFileHandle.m:
Standardise the backlog parameter to listen() calls.
2010-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Fix for bug #31153 ... allow hash in path when
initialising.
* Source/NSURLProtocol.m: Fix thread related crash with deallocation
of placeholder object.
2010-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
Increase the backlog for the listen() call to allow more incoming
network connections.
2010-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: Remove excess release pointed out by
Sergey Golovin (bug 31168)
2010-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: restore standardisation of header name
lost in last optimisation. Fixes bug #31166
2010-09-28 Eric Wasylishen <ewasylishen@gmail.com>
* Source/objc-load.m: Don't include objc-list with libobjc2
2010-09-28 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSFFIInvocation.m: Remove dead code
(gs_find_by_receiver_best_typed_sel was static inline and never
called anywhere)
2010-09-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: implement lowercaseString and uppercaseString
for improved performance.
* Source/Additions/GSMime.m: optimise header searches
2010-09-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimer.m: ([-fire]) make firing more robust by retaining
the target so it cannot be deallocated while we are performing a
method on it. Do nothing if timer is already invalidated.
2010-09-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSet.m: Build using the faster but more memory
hungry implementation. Add comments to say why we are doing so.
2010-09-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/ObjectiveC2/runtime.c (method_getImplementation,
method_getName): Fix unchecked pointer dereferences, which could
cause crashes when attempting to invoke a selector which is not
implemented by the target.
2010-09-19 Quentin Mathe <quentin.mathe@gmail.com>
* Headers/Additions/GNUstepBase/preface.h.in:
Added standard C headers included by CoreFoundation.h.
2010-09-17 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSBundle.m (+bundleForLibrary:version:): Use proper
suffix for dynamic libraries on Darwin (.dylib instead of .so).
* Source/NSTask.m (-launch): Use fork instead of vfork on Darwin,
since setsid will fail while the child process is in the vfork.
2010-09-17 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSObject.m (-methodSignatureForSelector:): Fix bug were
this method would return an incorrect result or crash when asking
a class object for the signature of one of its class methods.
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/GSSocketStream.m:
* Source/NSPortCoder.m:
* Source/NSSocketPort.m:
* Source/NSAttributedString.m:
* Source/NSKeyValueMutableSet.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSUnarchiver.m:
* Source/GSAttributedString.m:
* Source/NSKeyValueMutableArray.m:
* Source/NSXMLParser.m: Fix more unsigned int / ints that should
be NSUInteger/NSInteger
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/objc-load.m: Don't compile the dynamic_handles code with
libobjc2.
Note that this appears to be dead code anyway, so maybe it should
be removed altogether?
2010-09-15 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSMessagePort.m:
* Source/NSFileManager.m:
* Source/NSCharacterSet.m: Fix some method type mismatches.
Generally when a private subclass overrides a public method
taking a NSUInteger with a method taking an "unsigned" parameter.
2010-09-12 Riccardo Mottola
* Source/GSAttributedString.m: Removed dead assignments and unused variable attrs.
* Source/GSFormant.m: Removed useless len recalculation.
2010-09-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSConcreteValueTemplate.m:
* Source/NSSocketPort.m:
* Source/NSSortDescriptor.m:
* Source/NSMessagePort.m:
* Source/GSAttributedString.m:
* Source/NSNumber.m:
* Source/GSString.m:
* Source/NSHost.m:
* Source/NSDate.m:
* Source/GSValue.m:
Fix return types.
2010-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/NSPort.m:
* Source/NSMessagePort.m:
* Source/win32/GSRunLoopCtxt.m:
Remove redundant check for responding to getFds:count: since it's
always true. Fix usage of method to correspond to prototype
(NSInteger arguments rather than int arguments).
* Source/ObjectiveC2/runtime.c: Fix class_getMethodImplementation()
and class_getMethodImplementation_stret() so that they don't cause
a crash when used with proxies.
* Source/NSKeyValueCoding.m:
* Source/cifframe.m:
* Source/Additions/GSLock.m:
* Source/NSDate.m:
Tweaks to avoid clang static analyser warnings.
2010-09-09 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSProtocolChecker.m: Replace a -[Protocol name] with
protocol_getName()
2010-09-09 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSDistantObject.m: #ifdef to disable category
on Object was forgotten around the interface
2010-09-09 Riccardo Mottola
* Source/unix/GSRunLoopCtxt.m: only access array if port responds
to selector, or it is not initialized
* Source/NSDate.m:
* Source/NSScanner.m: use init return value
2010-09-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix retain/release bugs spotted by clang.
* Source/GSFFIInvocation.m: Revert one line in order to get lookup
of types working again so that proxies can still be used.
2010-09-09 Adam Fedor <fedor@gnu.org>
* configure.ac: Check for dladdr without requiring -ldl
* configure, Headers/Additions/GNUstepBase/config.h.in: Regen
2010-09-09 Eric Wasylishen <ewasylishen@gmail.com>
* Source/ObjectiveC2/runtime.c: fix a typo
* Source/NSObject.m: c90 compatibliity
2010-09-09 Eric Wasylishen <ewasylishen@gmail.com>
* Source/ObjectiveC2/runtime.c:
Change sel_getUid to call sel_registerName, in line with OS X
behaviour since 10.0
2010-09-02 David Chisnall <theraven@gna.org>
* Source/NSBundle.m
* Source/NSMethodSignature.m
* Source/NSDebug.m
* Source/GSFFIInvocation.m
* Source/GSPrivate.h
* Source/NSInvocation.m
* Source/NSCopyObject.m
* Source/NSObject.m
* Source/Additions/GSXML.m
* Source/Additions/GSObjCRuntime.m
* Source/NSConnection.m
* Source/NSObjCRuntime.m
* Source/NSProxy.m
* Source/NSProtocolChecker.m
* Source/NSSerializer.m
* Source/NSDistantObject.m
* Headers/Foundation/NSInvocation.h
* Headers/Additions/GNUstepBase/DistributedObjects.h
A huge blob of changes to make -base build with libobjc2, without
using the old libobjc2 headers.
Most of these changes involve simply removing direct manipulation
of any runtime structures and replacing them with runtime function
calls. For example class->name becomes class_getName(class) and so on.
libobjc2, like the Apple runtime, the NeXT runtime, and every
version of the Objective-C spec, calls the class pointer in id isa.
A few files now have #define class_pointer isa at the top.
This line replaces class_pointer in the old GNU libobjc headers
with isa so either class_pointer or isa can be used for accessing
the class of an object. Note: object_getClass() should be used
in most cases because, in some future version of the runtime,
this will skip things like lock classes and other hidden classes
(e.g. KVO classes).
All of the old forwarding stuff has been removed. Most of this
stuff followed convoluted code paths that ended with an exception.
A few simply broke in exciting ways. Hopefully no one has used
them for the last ten years or so, but we can bring them back
with some #ifndef stuff if they're really needed by anyone.
There is currently a bug in configure, which prevents dladdr() from
being detected, so you need to manually tweak config.h to build -
I have not fixed the fall-back code in objc-load.m to work with
libobjc2, I just added a new version that uses the loader's
functionality directly.
Although -base now builds, it builds with a lot of warnings.
<string.h> is missing from a lot of files, so memcpy() and strlen()
generate implicit function declaration warnings.
Additionally, libobjc2 does still provide the sel_{get,register}_*()
functions, but they're wrappers around the newer API ones. These are
deprecated and are not exposed in the headers. Although they work,
we should be replacing them with the libobjc2 versions as soon as
possible.
This incorporates a patch by Eric.
2010-09-08 Eric Wasylishen <ewasylishen@gmail.com>
* Source/ObjectiveC2/runtime.h:
* Source/ObjectiveC2/runtime.m:
Implement protocol_copyMethodDescriptionList, protocol_copyProtocolList,
protocol_getMethodDescription, as well as a dummy version of
objc_copyProtocolList.
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Source/Additions/GSObjCRuntime.m:
Implement a convenience method, GSProtocolGetMethodDescriptionRecursive
2010-09-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h:
* Source/NSObject.m:
Remove old TypedStream methods
* Source/NSFileManager.m:
Warn if filesystem support is not available.
2010-09-07 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/Additions/GNUstepBase/preface.h.in: Remove include of
objc/sarray.h
2010-09-04 Niels Grewe <niels.grewe@halbordnung.de>
* config/config.non-fragile-ivars.m: Remove useless include of
objc-common.g (__has_feature is a built-in clang macro).
2010-09-02 David Chisnall <theraven@gna.org>
* Source/NSObject.m
Improve the efficiency of NSObject's methodSignatureForSelector by:
- Moving the linear search over all of the method lists in the class hierarchy to the end. If we found the type info in the protocol list, we were throwing this info away. Doing something expensive and then discarding the result is generally not a good idea.
- Replacing the linear search of the method lists with a dtable lookup on libobjc2. The type info for methods is part of the slot, so we only need to do the expensive search at all on the old runtime. With libobjc2, type info lookup costs as little as IMP lookup, so doing things the slow way is not required.
2010-08-31 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/cvtenc.m: Add -Unicode option. Fix to allow reading from stdin
* Tools/cvtenc.1: update
2010-08-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: try to make inter-thread notification via
pipe more robust.
* Source/NSTask.m: make windows thread waiting for task into an
NSThread so that any thread-dependent code can work.
2010-08-25 Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
* Source/Objective2/sync.m: Removed weak declarations
2010-08-24 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSFileHandle.m (-initWithStandardError,
-initWithStandardInput, -initWithStandardOutput): Restore lost
assignments which ensure that only one file handle exists for each
of the standard channels. This fixes a bug where a run loop might
unexpectedly stop watching the standard channels.
2010-08-23 Riccardo Mottola (patch by Yavor Doganov)
* configure.ac: Include pthread.h in check program
* configure: Regenerate
2010-08-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c: Made objc_disposeClassPair() a no-op
if the class pair is already registered .. to prevent it from causing
crashes. Made objc_registerClassPair() log error if there is already
a class of the name.
* Source/ObjectiveC2/sync.m: Replace with Greg's implementation
(reported as working though I haven't tested it).
2010-08-19 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check alignment of pthread types
* configure: Regenerate
* Headers/Additions/GNUstepBase/GSConfig.h.in: Record alignment
2010-08-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumber.m: Modifications to permit generation of NIBs that
OSX can read again ... functionality was lost in recent rewrite.
2010-08-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m:
* Source/NSDistantObject.m:
Return nil from (methodSignatureForSelector:) if the selector is null.
* Source/NSObjcRuntime.m:
Register new selector as needed.
2010-08-17 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSNotificationQueue.m: remove_from_queue_no_release()
Add assertions instead of existing hack when removing an item
from a corrupted list.
2010-08-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationQueue.m: notify() .. buffer notifications
and remove from list before posting them.
Prevents re-entrancy problems where another call to notify() could
post (and remove from the list) notifications.
2010-08-13 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/Foundation/NSLocale.h:
* Headers/Foundation/NSUserDefaults.h:
Fix typo (GSAPI_LAST -> GS_API_LATEST)
2010-08-12 Nicola Pero <nicola.pero@meta-innovation.com>
* Resources/Languages/Locale.aliases: Added many languages which
were missing from the list. Data taken from
gettext-0.18.1.1/gettext-tools/doc/ISO_639 and
gettext-0.18.1.1/gettext-tools/doc/ISO_639-2.
2010-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m: thread-safety fix.
2010-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m:
* Source/NSURLProtocol.m:
* Source/GSAttributedString.m:
* Source/ObjectiveC2/properties.m:
* Source/NSProtocolChecker.m:
* Source/NSDistantObject.m:
* Tools/gdomap.c:
Functionless changes to avoid compiler warnings reported by Fred.
2010-08-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Fix for %p AM/PM parsing to implicitly set
us to use twelve hour clock.
2010-08-06 Doug Simons <doug.simons@testplant.com>
* Source/NSCalendarDate.m: Fix to AM/PM parsing to recognize
12 AM as midnight, not noon. When format calls for a time zone,
return nil if no time zone is given (the same as Cocoa).
2010-07-31 Quentin Mathe <quentin.mathe@gmail.com>
* Tools/AGSParser.h:
* Tools/AGSParser.m:
(-canWrapWithParagraphMarkup:, -generateParagraphMarkupForString:):
Tweaked paragraph generation to ignore /n/n sequences inside <example>
markup.
(-parseDeclaration): Added enum documentation parsing.
2010-07-26 Nicola Pero <nicola.pero@meta-innovation.com>
* Documentation/GNUmakefile (REF_DOC_INSTALL_DIR): Use
GNUSTEP_DOC, not GNUSTEP_DOCUMENTATION, which has been deprecated
for over 3 years.
* Documentation/Makefile.postamble (after-uninstall): Rewritten to
be more accurate.
2010-07-26 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSBundle.m ([+_addFrameworkFromClass:]): Added support
for class lists of frameworks with a relative path. If the
framework path is relative, convert it to absolute by prepending
the launch directory to it, since that must be how the dynamic
linker located the framework to load it.
2010-07-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Change to use ([-isKindOfClass:]) in a couple
of places. Revert David's last change entirely ... in the svn log
he said: 'Do the same stupid thing Apple does (return NO), rather
than the stupid thing we were doing (segfault), when passing a proxy
as the argument to [NSString isEqualToString:]', but this comment
seems to be almost entirely wrong as:
1. we don't segfault (on my machines ... perhaps we do on other
systems but if so we should find the underlying bug and fix it)
2. Apple (OSX Snow Leopard) doesn't behave that way ... the testsuite
(NSProxy test00.m) shows it behaving the saem way as GNUstep.
3. The change also broke string subclasses (bug #30511)
2010-07-19 Niels Grewe <niels.grewe@halbordnung.de>
* Source/ObjectiveC2/runtime.c:
* Source/ObjectiveC2/runtime.h:
Add sel_getType_np(), which just calls sel_get_type().
2010-07-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: User domain handling improvements.
Match gnustep-make in allowing absolute paths to be specified for the
user domain directories rather than always treating user domain paths
as being within the user's home directory.
Also, add support for simple field substitution into the path:
'%u' --> user name
'%i' --> user id
'%%' --> '%'
* Documentation/Base.gsdoc: Document the new behavior.
2010-07-19 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Additions/GNUstepBase/GSConfig.h: Define GS_USE_ICU when
the configure script indicates libicu availablity.
* Headers/Foundation/Foundation.h: Import NSLocale.h
* Source/NSLocale.m: Change tests to use GS_USE_ICU.
Make sure that the parts of NSLocale relying on ICU actually get built
when libicu is available.
2010-07-17 Quentin Mathe <quentin.mathe@gmail.com>
* Tools/autogsdoc.m:
* Tools/AGSParser.m:
Added the ability to generate paragraph markup. Turned off by default.
For each paragraph break ('/n/n' sequence) and when no incompatible
elements exist in the scanned paragraph, <p> tags can be automatically
inserted (more explanations in -canWrapWithParagraphMarkup: doc).
2010-07-13 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSNetServices.h:
* Source/GSAvahiClient.h:
* Source/GSNetServices.h:
* Source/GSAvahiNetService.m:
Attempt to get ahavi code working without breaking ABI.
2010-07-13 Niels Grewe <niels.grewe@halbordnung.de>
* Headers/Foundation/NSNetServices.h: Update to a version working with
both mDNSResponder and Avahi.
* Source/GSAvahiNetService.m: Fix leftover duplicate variables.
* Source/GSNetServices.h: Revert to r30954, but add padding ivars to
the Avahi classes.
Make Avahi-NSNetServices work again.
2010-07-13 Niels Grewe <niels.grewe@halbordnung.de>
* Source/NSNetServices.m: Replace with the new version.
* Source/GSNetServices.h: Add missing header.
Add code missing from the previous patch.
2010-03-27 Niels Grewe <niels.grewe@halbordnung.de>
* configure.ac: Add check for avahi-client.
* configure: Regenerate
* base.make.in: Add build-variables for Avahi.
* Source/GNUmakefile: Add avahi-based NSNetServices to build
* Source/GSAvahiRunLoopIntegration.h:
* Source/GSAvahiRunLoopIntegration.m:
* Source/GSAvahiClient.h:
* Source/GSAvahiClient.m:
* Source/GSAvahiNetService.m:
* Source/GSAvahiNetServiceBrowser.m: Add avahi-based NSNetServices
implementation
* Source/GSMDNSNetServies.m: Move mDNS-implementation to this file
* Source/GSNetServices.h: New private header for NSNetServices
* Source/NSNetServices.m: Abstract superclasses
* Headers/Foundation/NSNetServices.h: Adopt to new class structure
* Headers/Additions/GNUstepBase/GSConfig.h.in: Add zeroconf related
variables.
* Header/Additions/GNUstepBase/Additions.h:
* Headers/Additions/GNUstepBase/NSNetServices+GNUstepBase.h: Add header
with extensions for the avahi-based NSNetService class.
Implement NSNetService and NSNetServiceBrowser on top of the
avahi-client API. Both classes are now abstract superclasses of the
concrete implementations based on the mDNSResponder or avahi-client
APIs. The API to be used can be configured with the
--with-zeroconf-api=API (mdns, avahi, or any) configure-switch. If both
APIs are available, the avahi API will be preferred.
2010-07-12 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Fix logic error in recnt mod. Add some debug.
2010-07-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Addictions/NSError+GNUstepBase.m:
Declare _XOPEN_SOURCE so that glibc gives us the correct version of
the strerror_r function.
2010-01-07 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GNUmakefile
* Source/Makefile.postamble:
Fix makefile to copy common.h into $GNUSTEP_TARGET_DIR so that it is
found when building with a non-flattened namespace.
2010-07-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/CXXException.m: Fixup to get base to compile again.
I think this API needs improving ... this should be an NSException
subclass or category, and catching it should be transparent to the
developer.
2010-06-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedUnarchiver.m: Workaround for buggy inttypes.h on older
Solaris systems.
2010-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSet.m: Fix incorrect return value in NSMutableSet's
-classForCoder method.
2010-06-28 Quentin Mathe <quentin.mathe@gmail.com>
* Tools/autogsdoc.m: Improved to search for .m files among the
command-line arguments in addition to the current directory and
documentation directory.
2010-06-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Remove the Object(NSObjectCompat) category as the
use of the Object class is *really* obsolete, and also there appears
to be an objc runtime bug whaich adds the category methods to NSZombie
even though NSZombie is not a subclass of Object.
* Tools/gdomap.c: Avoid strange hang when trying to register on port 0
2010-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Implement keyed coding
* Source/NSBundle.m: When fetching a localised resource for a specific
language, ignore the language list in the user preferences, and just
look for that language asn for unlocalised data.
2010-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
Implement NSInteger methods and add range checking when decoding.
2010-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLocale.m
* Headers/Additions/GNUstepBase/config.h.in
* config/icu.m4
* configure.ac
* configure
* config.mak.in
Autoconf support for ICU
2010-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/Foundation.h: add NSLocale
* Headers/Foundation/NSLocale.h: rewrite/document
* Source/GNUmakefile: add NSLocale
* Source/NSLocale.m: fixup headers and disable temporarily (so that
base will still build)
2010-06-25 Stef Bidi <stefanbidi@gmail.com>
* Headers/Foundation/NSLocale.h
* Source/NSLocale.m
Partial NSLocale implementation wrapping ICU
2010-06-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: When looking up paths, if no extension is provided
then try to obtain it from the name. Mimics OSX behavior.
2010-06-22 David Wetzel <dave@turbocat.de>
* Headers/Foundation/NSFileManager.h
* Source/NSFileManager.m
add attributesOfItemAtPath:error:
2010-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
Include header for ObjC2 blocks support if the compiler had that.
2010-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* Version 1.21.1
2010-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* Version 1.20.1
2010-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Remove inappropriate warning (when library
used without resources).
2010-06-16 Sergey Golovin
* Source/NSTimeZone.m: find timezone from localtime file when it's
a copy rather than a link to a file whose name is a timezone name.
2010-06-16 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: better control over constant string class
* configure: regenerate
Don't allow build if compiler doesn't let us set the constant string
class ... unless explicitly overridden (add warning).
Explicitly deprecate ffcall
2010-06-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSInvocation: For portability, use NSPageSize() to find
size for page alignment.
* Source/NSString.m: Raise exception on pul pointer passed to
+stringWithCString:encoding: as per OSX.
* Source/Additions/GSXML.m: Fix minor memory leak
* Source/NSArray.m: ([-valueForKey:]) for for @count
2010-06-15 Riccardo Mottola
* Source/NSInvocation:
Protect page-aligned and unprotect before freeing.
2010-06-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Fix indirect through null pointer.
2010-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumber.m: Fix breakage of +numberWith... in subclasses.
2010-06-12 Yavor Doganov
* Source/NSZone.m:
* Source/GSPThread.h:
* Source/objc-load.h:
* Source/objc-load.m:
* Source/NSException.m:
* Source/ObjectiveC2/sync.m:
* Source/NSString.m:
* Source/NSDecimalNumber.m:
* Source/NSDecimal.m:
* Source/NSLock.m:
* configure.ac: Use autoconf AC_USE_SYSTEM_EXTENSIONS
* configure: Regenerate
* Headers/Additions/GNUstepBase/config.h.in: Regenerate
Simplification of source code by using autoconf to enable extensions
for Unix98 thread handling etc.
2010-06-11 Riccardo Mottola
* Source/NSZone.m
* Source/GSPThread.h
* Source/NSLock.m
* Source/ObjectiveC2/sync.m: Attempt of fixing test for defining
_XOPEN_SOURCE again
2010-06-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m: Improve automated gdomap startup log
* configure.ac: Don't install gdomap setuid by default.
* configure: regenerate
2010-06-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Raise exception if a null pointer is passed to
+stringWithUTF8String: for compatibility with OSX.
* Source/Additions/GSMime.m: Alter hash and isEqual implementations
for headers and document so that copies are equal to the original
and can be stored and looked up in maps.
2010-06-09 David Wetzel <dave@turbocat.de>
* Source/Additions/GSXML.m:
check for NULL string
stringWithUTF8String: raises on OSX if you feed it with a NULL string.
2010-06-09 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for gcrypt library for TLS
* configure: Regenerate
* Headers/Additions/GNUstepBase/GSConfig.h.in: Remove unused declaration
* Source/NSProcessInfo.m: log and exit rather than raising exception on
failure to call internal method to set up argv/envp.
* Source/Additions/GSMime.m: Rewrite header parsing to avoid copying
email body unnecessarily. Also attempt to parse multipart body
without copying too much.
2010-06-09 Yavor Doganov
*Source/ObjectiveC2/sync.m: Fix test for defining _XOPEN_SOURCE
2010-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: When encoding OSX binary property list,
try to differentiate between integer and float items which have the
same numeric value (bug #30040).
2010-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
Return nil for -path if initialised with empty string ... OSX compat.
2010-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m:
Further fixup to earlier invocation breakage ... my previous attempt
didn't cover all cases.
2010-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m:
* Source/cifframe.h:
* Source/cifframe.m:
Removed distinction between GC and non-GC code.
2010-06-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInvocation.h:
* Source/GSFFIInvocation.m:
* Source/NSInvocation.m:
* Source/cifframe.h:
* Source/cifframe.m:
Rework memory management for frame used in FFI invocation so that
the memory has a retain count and multiple invocations can use the
same frame since it looks like the way FFI works, if you cache the
method implementation of a proxy, the same frame memory is re-used
in multiple invocations.
2010-06-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: Fix breakage caused by David's changes.
* Source/ObjectiveC2/runtime.m: Fix handling of nul arguments in
class_sespondsToSelector().
2010-06-05 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/Makefile.postamble: Fix breakage of instalation of gdomap
(was installing setuid to wrong user ID!).
2010-06-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: revert change of order of sources for zone
info since tzname does not appear to be more reliable than filename.
Allof timezone to be specified as an abbreviation rather than a name.
2010-06-02 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Added --disable-setuid-gdomap option to disable
installing gdomap as setuid.
* configure: Regenerated.
* config.mak.in (GNUSTEP_INSTALL_GDOMAP_AS_SETUID): New variable.
* Tools/Makefile.postamble:
(after-install): Instal gdomap as setuid only if
GNUSTEP_INSTALL_GDOMAP_AS_SETUID is set to 'yes'. Updated
messages for the changes and generally tidied messages up.
2010-06-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: add diagnostic to report the source of the
timezone name when we can't create the local timezone.
Use tzset()/tzname in preference to the name of the default timezone
file ... in case of evil systems where the file has the wrong name.
2010-06-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSPropertyList+GNUstepBase.m:
New category to replace property list write functionality no longer
present in OSX.
* base.make.in: Link with base additions library on OSX
2010-05-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: ([+encodingFromCharset:])
Experimental extension to support NSStringEncoding symbolic constants
in string form, in addition to more common characterset names
(primarily for gdl2/gsweb).
2010-05-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
* Source/Additions/NSString+GNUstepBase.m:
* Headers/Foundation/NSString.h:
* Headers/Additions/GNUstepBase/NSString+GNUstepBase.h:
Revert last change ... there's no such method as +encodingNamed:
in OSX/OpenStep, so it definitely shouldn't be in NSString.[hm]
I think we can debate whether to add it to the additions library,
though I'm not sure that it's actually a generally useful addition
(if I understand correctly, it's used only in gdl2/gsweb and ought
probably to be a category there ... assuming that there's really
no existing/standard mechanism to do the job).
2010-05-30 David Wetzel <dave@turbocat.de>
* Source/NSString.m
* Source/Additions/NSString+GNUstepBase.m
* Headers/Foundation/NSString.h
* Headers/Additions/GNUstepBase/NSString+GNUstepBase.h
added encodingNamed:
2010-05-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.h:
Floating point fix for openbsd suggested by Sebastian Reitenbach
2010-05-30 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSAttributedString.m (-initWithCoder:, -encodeWithCoder:):
Fix keyed archiving and unarchiving of (mutable) attributed
strings with multiple attribute ranges.
2010-05-30 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: Update to latest zone info.
2010-05-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Attempted fix for bug #29920
2010-05-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcreteHashTable.m:
* Source/NSHashTable.m: In ([-allObjects]) fix buf overrun (bug #29980).
* Source/NSXMLParser.m: Fix off-by-one error handling whitespace.
* Headers/Additions/GNUstepBase/GSMime.h: Revert xml charset method.
* Source/NSURL.m: Allow a URL made from an empty string (OSX compat).
2010-05-28 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSKeyValueCoding.m: Added missing support to ValueForKey() as
described in Apple Key-Value-Coding guide. -isKey is now treated as a
KVC-compliant getter, and _isKey and isKey as KVC-compliant ivars.
2010-05-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: ([-parser:foundCharacters:]) don't trim
the supplied string ... we need to retain whitespace around entities
in value test. If inside a <string> element, treat ignorable
whitespace as normal whitespace.
* Source/NSXMLParser.m: Add support for ignorable whitespace so that
it doesn't get handed to the delegate as normal characters.
2010-05-22 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObjCRuntime.h:
Remove include of stdint.h ... already included by GSConfig.h
* Source/ObjectiveC2/runtime.h:
Revert 'guarding' of stdint.h inclusion to get things to compile
again ... we *require* stdint.h to be present.
I guess on any system old enough not to have it, the solution
would be to generate and install our own version.
2010-05-21 Riccardo Mottola <rmottola@users.sf.net>
* Source/ObjectiveC2/runtime.h:
correctly import config.h
2010-05-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSMime.h: Expose xml charset method.
* Source/NSXMLParser.m: Determine correct charset when parsing.
2010-05-21 Riccardo Mottola <rmottola@users.sf.net>
* Source/inet_pton.c
Source/ObjectiveC2/runtime.h
Headers/Foundation/NSObjCRuntime.h:
Guarded stdint.h inclusion.
2010-05-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: GSObjCMethodNames() fix for
bug #29910
2010-05-10 Adam Fedor <fedor@gnu.org>
* Fix typos, clarify unstable release documentation
2010-05-08 Adam Fedor <fedor@gnu.org>
* Unstable Version 1.21.0
2010-05-08 Adam Fedor <fedor@gnu.org>
* Version 1.20.0
2010-05-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Limit config files to containing a thousand entries
for safety/security.
2010-05-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
Fix for bug #29764 ... add percent escapes to the path when generating
the URI in the HTTP request.
2010-05-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Tools/gdomap.c: security updates.
* Tools/Makefile.postamble: make warning messages a bit clearer and
more informative about gdomap being best started at system boot.
2010-05-03 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSString.h,
* Source/NSString.m: Add 10.4 write methods.
Fixes part of bug report #29736.
2010-05-02 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSString.h,
* Source/NSString.m: Add a few missing 10.4 initWithContentsOfXXX:
methods. Fixes part of bug report #29736.
2010-05-01 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Additions/GSObjCRuntime.m (GSObjCAllSubclassesOfClass):
Fix bug in previous change that made GSObjCAllSubclassesOfClass
return all superclasses instead of all subclasses.
2010-04-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m:
Attempt fix for bug #29720
2010-04-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSObject.m (GSAtomicIncrement, GSAtomicDecrement): Use
local labels in PowerPC assembler code to avoid a compile error
when this code is inlined more than once. In addition, use the
optimized assembler definitions also on PowerPC machines running
Darwin/Mac OS X.
2010-04-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSFileHandle+GNUstepBase.m: fix to only build on OSX
2010-04-22 David Wetzel <dave@turbocat.de>
* Source/Additions/Unicode.m: replace objc_malloc with NSZoneMalloc
and objc_free with NSZoneFree
* Source/Additions/NSFileHandle+GNUstepBase.m: should work with ipv6
(The old code does fail on Snow Leopard, even with ipv4 addresses.)
* Source/Additions/GSXML.m: added GSObjCRuntime.h
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
replace objc_malloc with NSZoneMalloc and objc_free with NSZoneFree
2010-04-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: ([mainBundle]) Fix error determining whether
the bundle is an app or not ... was breaking lookup of tool resources.
2010-04-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/cifframe.m (cifframe_type): Fix the cached information
for the NSRange type. Was causing incorrect forwarding of NSRange
arguments on 64bit systems.
2010-04-18 Nicola Pero <nicola.pero@meta-innovation.com>
Fixed inefficiencies in building the SSL bundle.
* SSL/Makefile.postable: Do not create GNUSTEP_TARGET_DIR/config.h
from config.h; do not depend on config.status.
* SSL/Makefile.preamble: Corresponding updates to includes.
2010-04-18 Nicola Pero <nicola.pero@meta-innovation.com>
Fixed bug 25356 ("make ignoring installation domain configuration
on windows").
* configure.ac: Moved the path configuration here so that it is
executed at the right time. Removed duplicated code for all the
path config options. (AC_CONFIG_SUBDIRS): Removed
Source/pathconfig.
* configure: Regenerated.
* config.mak.in: Merged code from
Source/pathconfig/pathconfig.mak.in.
* Source/pathconfig: Removed.
* GNUmakefile: Do not include
Source/pathconfig/pathconfig.mak.
* Documentation/GNUmakefile: Same change.
* NSTimeZones/GNUmakefile: Same change.
* Source/GNUmakefile: Same change.
* SSL/GNUmakefile: Same change.
* Tools/GNUmakefile: Same change.
* Source/Makefile.postamble (after-distclean): Do not remove
files in pathconfig/.
* Source/NSPathUtilities.m: Do not include pathconfig.h.
* GNUmakefile: Include config.mak after common.make.
* configure.ac: Exit immediately if GNUSTEP_MAKEFILES can not be
determined.
* configure.ac: Fixed determining GNUSTEP_LOCAL_HEADERS and
GNUSTEP_LOCAL_LIBRARIES when adding them to CPPFLAGS and LDFLAGS.
Add GNUSTEP_NETWORK_HEADERS and GNUSTEP_NETWORK_LIBRARIES as well.
2010-04-18 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac (AC_CONFIG_SUBDIRS): Fixed list of subdirs by
removing Source/mframe, which no longer exists.
* configure: Regenerated.
2010-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Fix unregistering of threads to properly clean
up and deallocate, avoiding descriptor and memory leak.
2010-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: when decoding a pointer to an object,
autorelease the object to avoid a leak.
2010-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c: work around buggy objc_skip_argspec()
* Source/NSConnection.m: work around buggy objc_skip_argspec()
* Source/NSObjCRuntime.m: Fix NSGetSizeAndAlignment() so it's OSX
compatible and can be used to replace objc_skip_argspec() (as that
function calls objc_skip_offset() which can skip a character too far).
2010-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: ([-initWithContentsOfFile:]) added ugly OSX
compatibility hack ... return the mutable array deserialized from
the property list rather than an instance of the same class as
the receiver. The original GNUstep behavior made more sense.
2010-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationQueue.m: Fix error traversing queue.
Reverse direction of links in queue to be intuitive/consistent
with other linked lists.
2010-04-12 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Rewritten test for -Wdeclaration-after-statement
to be more accurate.
* configure: Regenerated.
2010-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m:
* Headers/Foundation/NSObject.h: Document behavior of +load and
+initialize to preserve information I'm sure I once knew but had
forgotten. Obscure details.
2010-04-07 Doug Simons <doug.simons@testplant.com>
* Source/NSPathUtilities.m: Prefer USERPROFILE for the
NSHomeDirectory() on Windows if HOMEPATH is set to '/'.
2010-04-07 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Fix for bug #29291 based on suggestion by Niels Grewe
* Source/GSFileHandle.m: Fix possible descriptor leak.
2010-04-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/cifframe.m (cifframe_type): Fix the defunct test for the
standard structure types. The failure to detect those types was
causing a substantial space leak in some gui applications.
2010-03-29 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.ffi.c: add test for libffi functionality
* configure.ac: use new test
* configure: regenerate
Greg had the good idea of testing libffi version to make sure it
works ... unfortunately I couldn't see an easy way to test the
version, so I added a test for functionality adapted from the
test case I made for the libffi people to demonstrate a bug in
passing floats on 64bit intel.
2010-03-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDecimalNumber.m: override getter methods of superclass
2010-03-27 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h:
Fix typos in last change (spotted by Eddie McCreary).
2010-03-03 Doug Simons <doug.simons@testplant.com>
* Source/ObjectiveC2/sync.m: Avoid crash on Windows.
2010-03-25 Riccardo Mottola <rmottola@users.sf.net>
* Source/GSPThread.h
* Source/NSZone.m
* Source/ObjectiveC2/sync.m
* Source/NSLock.m:
change defines for GNU/HURD
2010-03-23 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSObject.m: Atomic increment and decrement functions for mips
2010-03-19 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.reuseaddr.c:
* Examples/nsconnection_client.m:
* Examples/nsconnection_server.m:
* Headers/Additions/GNUstepBase/GSConfig.h.in:
* Headers/Additions/GNUstepBase/GSFileHandle.h:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
* Headers/Additions/GNUstepBase/preface.h.in:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSRunLoop.h:
* Source/Additions/NSError+GNUstepBase.m:
* Source/Additions/NSTask+GNUstepBase.m:
* Source/cifframe.h:
* Source/GSFileHandle.m:
* Source/GSHTTPURLHandle.m:
* Source/GSNetwork.h:
* Source/GSPortPrivate.h:
* Source/GSPrivate.h:
* Source/GSRunLoopCtxt.h:
* Source/GSRunLoopWatcher.m:
* Source/GSSocketStream.m:
* Source/GSStream.m:
* Source/NSBundle.m:
* Source/NSCalendarDate.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSDebug.m:
* Source/NSException.m:
* Source/NSFileManager.m:
* Source/NSHost.m:
* Source/NSInvocation.m:
* Source/NSLog.m:
* Source/NSObject.m:
* Source/NSPage.m:
* Source/NSPathUtilities.m:
* Source/NSPipe.m:
* Source/NSProcessInfo.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSString.m:
* Source/NSTask.m:
* Source/NSThread.m:
* Source/NSTimeZone.m:
* Source/NSURL.m:
* Source/NSUserDefaults.m:
* Source/objc-load.m:
* Source/ObjectiveC2/blocks_runtime.m:
* SSL/GSSSLHandle.m:
* Tools/gdnc.m:
* Tools/gdomap.c:
* Tools/gspath.m:
Use __MINGW__ rather than __MINGW32__ for windows tests.
2010-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
* Headers/Additions/GNUstepBase/GSMime.h:
GSMimeSMTPClient code to send emails now working ... but still very
experimental.
2010-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* config.mak.in:
* Source/ObjectiveC2/GNUmakefile:
Only build objc synchronisation compatibility code if it is not
already in runtime.
2010-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m:
Added preliminary/experimental code for SMTP send.
2010-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* configure:
* configure.ac:
* Headers/Additions/GNUstepBase/GSConfig.h.in:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
Add experimental --enable-mixedabi configure option for building
with the nonfragile abi, but able to link with other code which
is built with the fragile abi.
2010-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Fix for memory leak ... autorelease
objects returned by method in remote process because the invocation
won't do it for us (we call -setReturnValue: which will have the
invocation retain the object, so when it releases it again later
the retain count is the same as at the point when we decoded the
object, and another release is needed).
I'm not certain this fix is right, but it seems ok.
2010-03-13 Yavor Doganov <yavor@gnu.org> (tiny change)
* Source/NSCalendarDate.m (outputValueWithFormat)
([-initWithString:calendarFormat:locale:]): Recognize %k as
conversion format specifier.
([-descriptionWithCalendarFormat:locale:]): Update docstring.
2010-03-17 Anibal Rindisbacher <anibal784@gmail.com>
* Headers/Additions/GNUstep/GNUstep.h: Tidy up casts
2010-03-16 Vincent Richomme <forumer@smartmobili.com>
* Source/Additions/NSFileHandle+GNUstepBase.m:
* Tools/gdomap.c:
Minor tweaks porting to mingw64
2010-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSet.m: Optimise for cases when huge ranges of
characters are added to a set (as suggested by Fred).
2010-03-15 Adam Fedor <fedor@mallory>
Source/Additions/NSFileHandle+GNUstepBase.m: Define INADDR_NONE
for Solaris.
2010-03-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSString.m (-initWithCoder:): Handle format used for
XIB encoding.
2010-03-14 Adam Fedor <fedor@mallory>
* Source/NSHTTPCookie.m (+requestHeaderFieldsWithCookies:):
Correct format syntax.
2010-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Note use of nonfragile abi
* configure: regenerate
* Headers/Additions/GNUstepBase/GSConfig.h.in: save nonfragile abi state
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
Fix check for nonfragile-abi state, and raise an error if the current
compile doesn't atch the state used to build the base library.
2010-03-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedArchiver.m:
Create _+clsMap lazily so it's there for subclasses even if the
initialiser was not called.
2010-03-11 12:14-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/GNUmakefile: Remove reference to synchonization.m.
* Source/synchronization.m: Remove, since ObjectiveC2 has been
merged.
2010-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* configure:
* config.mak.in:
* NSCharacterSets/GNUmakefile:
* Source/unix/Makefile.preamble:
* Source/win32/Makefile.preamble:
* Source/ObjectiveC2/Makefile.preamble:
* Source/Additions/Makefile.preamble:
* Source/Makefile.preamble:
* SSL/Makefile.preamble:
* configure.ac:
* Documentation/manual/GNUmakefile:
* Resources/GNUmakefile:
* Examples/Makefile.preamble:
* Examples/GNUmakefile:
* Tools/Makefile.preamble:
* Tools/make_strings/GNUmakefile.preamble:
Improve setting of warning flags.
2010-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m:
* configure.ac:
* configure:
* Headers/Foundation/NSException.h:
* Headers/Additions/GNUstepBase/GSConfig.h.in:
Improve checks for native-objc-exception support and try to ensure that
user code is build with the same settings as base.
2010-03-10 Adam Fedor <fedor@mallory>
* Source/NSURLProtocol.m ([_NSHTTPURLProtocol -stream:stream:event]):
Add default Content-Type to POST methods if none is present.
2010-03-09 Adam Fedor <fedor@gnu.org>
* Source/NSHTTPCookie.m: Finish off implementation
* Source/HSHTTPCookieStorage.m: Finish off implementation.
2010-03-10 Riccardo Mottola <rmottola@users.sf.net>
* /Source/ObjectiveC2/sync.m,
* /Source/NSZone.h,
* /Source/GSPThread.h : use proper _XOPEN_SOURCE
instead of __USE_UNIX98 to enable needed thread features on glibc
2010-03-08 Roland Schwingel <roland.schwingel@onevision.de>
* Source/NSFileManager.m: implement fileSystemNumber for mswindows.
2010-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m:
* Source/Additions/GSObjCRuntime.m:
* Documentation/Base.gsdoc:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Add GNUSTEP_BEHAVIOR_DEBUG enovironment variable to turn on logging
of the use of behaviors/overrides of class methds by a list of
methods from another class.
2010-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSArray.m: Re-remove [GSMutableArray count] (GSMutableArray
uses the GSArray implementation).
* Source/GSDictionary.m:
* Source/GSCountedSet.m:
* Source/GSSet.m:
Add the same sort of NSUInteger fixups that Fred added to GSArray.m
* Headers/Additions/GNUstepBase/GSUnion.h:
Add support for NSInteger and NSUInteger (so GSCountedSet can use them).
2010-03-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/GSArray.m: Re-add [GSMutableArray count]. Change all
method parameters from int or unsigned to NSUInteger to match
super classes.
2010-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Add function to add 'overrides' as a form of programmatically
controlled category similar to behaviors, giving an app control
over the order in which methods are added to a class.
2010-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSCompatibility.h:
* Source/Additions/GSCompatibility.m:
* Source/Additions/GSNextRuntime.m:
Remove obsolete OSX compatibility files.
2010-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSArray.m:
* Source/GSDictionary.m:
* Source/NSURLProtocol.m:
* Source/NSNotificationCenter.m:
* Source/GSAttributedString.m:
* Source/NSURL.m:
* Source/NSObject.m:
* Source/NSString.m:
* Source/Additions/NSAttributedString+GNUstepBase.m:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/GSString.m:
* Source/NSData.m:
* Source/GSValue.m:
* Source/NSValue.m:
* Source/NSArchiver.m:
* Source/NSURLConnection.m:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Remove reference to GSObjCZone and use -zone instead.
2010-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Source/Additions/GSObjCRuntime.m:
Old 'experimental/work-in-progress' functions mostly removed ...
GSAllocMethodList() GSAppendMethodToList() GSRemoveMethodFromList()
GSMethodListForSelector() GSMethodFromList() GSAddMethodList()
GSRemoveMethodList()
Other functions rewritten in terms of the new runtime API and marked
as deprecated if they add nothing.
2010-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m: use class_addMethod() to add setters
to replacement class.
2010-03-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDate.m: Fix last change to conform to coding standards.
* Source/NSCalendarDate.m: Fix last change to avoid attempts to
access beyond the end of the format string.
2010-03-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c: Fix class data copying functions to
match OSX.
* Source/Additions/GSObjCRuntime.m: Implement adding classes using
new runtime functions.
2010-03-03 Doug Simons <dpsimons@testplant.com>
* Source/NSDate.m: Fix natural language date parsing to handle AM/PM.
* Source/NSCalendarDate.m: Fix to %I (12-hour clock) to show midnight
hour as 12, not 00. Skip over field widths while parsing in init.
2010-03-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c: Bugfixes for getting superclass and
for adding ivars to a class.
* Source/Additions/GSObjCRuntime.m: Rewrite class creation code in
terms of the new runtime api.
2010-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/behavior.h:
* Source/Additions/behavior.m:
* Source/Additions/GNUmakefile:
Remove obsolete, unused, and long deprecated code.
The functionality is still present in GSObjCRuntime.[hm]
2010-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObjCRuntime.h:
* Source/NSObjCRuntime.m:
Fix NSGetSizeAndAlignment() update argument types to match lates OSX
2010-02-28 Richard Frith-Macdonald <rfm@gnu.org>
Update header files with further changes for non-fragile-abi.
Also fixup some GSObjCRuntime.m functions for using the new runtime
API.
2010-02-28 Thomas Gamper <icicle@cg.tuwien.ac.at>
* runtime.c:
Backport another one of David's fixes for @synchronize(class), all
necessary flags now are set in objc_allocateMetaClass.
2010-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* runtime.c:
* sync.m:
* runtime.h:
Backport David's fixes for @synchronize(class), suitably modified to
build with older compilers.
2010-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: ([methodSignatureForSelector:]) remote the check
(and exception) to see if the sel types are the same as the signature
types, since this method is used precisesly when we think we may have
a selector with the wrong type information (eg we are using KVC and
generated the selector name to access an ivar and the runtime gave us
a selector with the type infor for accessing an ivar of another class).
Should fix bug #29015
2010-02-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Apply suggested fix for bug #29012
2010-02-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m:
* Source/GSInternal.h:
* Source/NSConnection.m:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSOperation.h:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
Rework hiding of instance variables for big classes (lots of ivars)
where we expect the class lifetime to be long enough that it makes
sense to hod the ivars in a private subclass.
2010-02-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNetServices.m:
* Source/NSURLHandle.m:
* Source/NSMethodSignature.m:
* Source/NSInvocation.m:
* Source/NSURL.m:
* Source/Additions/Makefile.preamble:
* Source/Additions/NSObject+GNUstepBase.m:
* Source/Additions/GSFunctions.m:
* Source/Additions/NSAttributedString+GNUstepBase.m:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/NSConnection.m:
* Source/NSLock.m:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Alterations to build additions with NO_GNUSTEP defined ... after all,
they should be able to build like that on OSX with the Apple Foundation.
2010-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexPath.m:
* Source/NSTimeZone.m:
* Source/NSURLCredential.m:
* Source/GSSocketStream.m:
* Source/NSURLHandle.m:
* Source/NSTimer.m:
* Source/NSScanner.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSSocketPort.m:
* Source/NSAttributedString.m:
* Source/NSRunLoop.m:
* Source/NSMethodSignature.m:
* Source/GSRunLoopWatcher.m:
* Source/GSArray.m:
* Source/GSFFCallInvocation.m:
* Source/NSKeyValueMutableSet.m:
* Source/GSStream.m:
* Source/NSKeyedArchiver.m:
* Source/unix/NSStream.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSDistributedLock.m:
* Source/NSKeyValueObserving.m:
* Source/GSHTTPURLHandle.m:
* Source/NSURLCredentialStorage.m:
* Source/NSPort.m:
* Source/GSFFIInvocation.m:
* Source/NSMessagePort.m:
* Source/GSDictionary.m:
* Source/win32/GSFileHandle.m:
* Source/win32/NSMessagePort.m:
* Source/win32/NSStream.m:
* Source/GSCountedSet.m:
* Source/NSUnarchiver.m:
* Source/NSInvocation.m:
* Source/NSURLProtocol.m:
* Source/GSAttributedString.m:
* Source/NSKeyValueMutableArray.m:
* Source/NSException.m:
* Source/NSCopyObject.m:
* Source/NSURL.m:
* Source/NSObject.m:
* Source/NSString.m:
* Source/Additions/NSFileHandle+GNUstepBase.m:
* Source/Additions/GCDictionary.m:
* Source/Additions/GCArray.m:
* Source/Additions/GSXML.m:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSLock.m:
* Source/GSSet.m:
* Source/NSNotification.m:
* Source/NSNumber.m:
* Source/GSString.m:
* Source/NSConnection.m:
* Source/NSAutoreleasePool.m:
* Source/NSThread.m:
* Source/NSData.m:
* Source/NSHost.m:
* Source/NSDate.m:
* Source/GSValue.m:
* Source/NSValue.m:
* Source/NSCountedSet.m:
* Source/GSFileHandle.m:
* Source/NSLock.m:
* Source/NSSet.m:
* Source/NSCharacterSet.m:
* SSL/GSSSLHandle.m:
Always DESTROY(self) rather than RELEASE(self) so that the pointer
is nil if/when another method is called from the method where self
was potentially deallocated. This is so that the libobjc2 runtime
doesn't try dereferencing self when it points to a deallocated
object.
2010-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
* Headers/Additions/GNUstepBase/config.h.in:
* Source/NSString.m:
Update printf handling for very latest glibc
2010-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add test for socklen_t type
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Source/GSNetwork.h:
* Source/NSSocketPort.m: Fix for socklen_t
* Source/NSMapTable.m:
* Source/GSHTTPURLHandle.m:
* Source/NSConcreteMapTable.m:
* Source/NSConcreteHashTable.m:
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSMapTable.h:
Use NSUInteger values for OSX API compatibility
2010-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/ObjectiveC2/runtime.c:
* Source/ObjectiveC2/blocks_runtime.m:
Avoid compiler warnings.
2010-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAssertionHandler.m:
* Source/NSObject.m:
* Source/Additions/NSDebug+GNUstepBase.m:
* Source/Additions/GSMime.m:
* Source/Additions/NSObject+GNUstepBase.m:
* Headers/Foundation/NSObject.h:
* Headers/Additions/GNUstepBase/NSObject+GNUstepBase.h:
Remove a few old deprecated methods and move others to the
additions library.
Make GSMime build on OSX
2010-02-23 Riccardo Mottola <rmottola@users.sf.net>
* Source/ObjectiveC2/runtime.h: provide gcc-style macros
* Source/ObjectiveC2/sync.m: removed c99-ism
2010-02-23 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSNumber.m: Autorelease the values returned by the
numberWithXXX: methods.
2010-02-22 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSSpellServer.m (-isWordInUserDictionaries:caseSensitive:):
Make sure word is checked against the current list of ignored
words regardless of whether the user (already) has a set of
learned words in the current language.
2010-02-22 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Additions/Unicode.m (GSToUnicode): Fix my own bug fix to
avoid potential null pointer dereferences, as that fix could lead
to attempts to free() memory on the stack.
2010-02-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexPath.m:
* Source/NSPortCoder.m:
* Source/NSCalendarDate.m:
* Source/NSPropertyList.m:
* Source/GSConcreteValueTemplate.m:
* Source/NSScanner.m:
* Source/GSFFCallInvocation.m:
* Source/NSKeyValueObserving.m:
* Source/NSSortDescriptor.m:
* Source/GSFFIInvocation.m:
* Source/NSUnarchiver.m:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/NSString.m:
* Source/NSObject.m:
* Source/NSConcreteMapTable.m:
* Source/Additions/GSObjCRuntime.m:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSConnection.m:
* Source/NSAutoreleasePool.m:
* Source/NSData.m:
* Source/NSDate.m:
* Source/NSProxy.m:
* Source/NSObjCRuntime.m:
* Source/NSProtocolChecker.m:
* Source/GSValue.m:
* Source/NSSerializer.m:
* Source/NSCountedSet.m:
* Source/NSSet.m:
* Source/NSDistantObject.m:
* Source/NSArchiver.m:
* Source/NSCharacterSet.m:
* Source/NSConcreteHashTable.m:
* Headers/Additions/GNUstepBase/NSDebug+GNUstepBase.h:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Deprecate some GS... runtime wrappers in favour of using the new
ObjC2 API where we have emulation for systems which are actually
usig the old API. Work in progress.
2010-02-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix incorrectly initialized zone ivar.
Foixes bug #28939
2010-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSTask.h:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Modified the sense of the 'NO_GNUSTEP' preprocessor constant slightly.
It is now always defined (GSVersionMacros.h defines it to zero if it
was not defined externally). A sbefore, defining it to 1 should prevent
the inclusion of GNUstep specific headers.
This change should make it easy for us to change the default behavior
at a later date.
2010-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Makefile.postamble:
* Source/GNUmakefile:
* configure.ac:
* configure:
* Headers/Additions/GNUstepBase/GSConfig.h.in:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Make runtime.h objc2 compatibility header available in installed
headers if we are using objc2 compatibility in base.
2010-02-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcreteNumber.h: Remove unused file
* Source/NSNumberMethods.h:
* Source/NSNumber.m:
* Source/GSNumberTypes.h:
Updates to match OSX behavior.
2010-02-19 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add check for ObjC2 support in runtime.
* config.mak.in: define OBJC2RUNTIME to yes or no
* configure: regenerate
* Source/GNUmakefile: Build/link ObjectiveC2 compat code if needed
* Source/ObjectiveC2/Availability.h:
* Source/ObjectiveC2/runtime.c:
* Source/ObjectiveC2/GNUmakefile:
* Source/ObjectiveC2/properties.m:
* Source/ObjectiveC2/sync.m:
* Source/ObjectiveC2/blocks_runtime.m:
Attempt to build in ObjectiveC2 compatibility functions when we don't
have an ObjC2 runtime.
2010-02-19 Richard Frith-Macdonald <rfm@gnu.org>
Simplify header imports with common headers handled in the correct
order.
2010-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/NSDebug+GNUstepBase.h:
* Headers/Additions/GNUstepBase/NSThread+GNUstepBase.h:
* Source/Additions/NSDebug+GNUstepBase.m:
* Source/Additions/NSThread+GNUstepBase.m:
* Headers/Additions/GNUstepBase/Additions.h:
* Headers/Foundation/Foundation.h:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSThread.h:
* Source/Additions/GNUmakefile:
* Source/DocMakefile:
* Source/GNUmakefile:
* Source/NSDebug.m:
* Source/NSOperation.m:
Move some gnustep specific extensions into additions library so they
can be used to port apps to OSX in future (when the additions library
builds on OSX again).
2010-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* SSL/configure.ac: Check for latest thread ID callback
* SSL/configure: regenerate
* SSL/GSSSLHandle.m: Add thread-safety support callbacks.
2010-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/Foundation.h.install:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSTask.h:
* Tools/GNUmakefile:
Have standard foundation headers include any corresponding GNUstep
extension headers unless NO_GNUSTEP is defined (building code with
strict OSX compatibility) or GNUSTEP_BASE_INTERNAL is defined
(building the base library etc itsself, and needing to ensure we
don't accidentally include installed headers from a previous version).
2010-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSpellServer.m:
* Source/NSMethodSignature.m:
* Source/NSString.m:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSObjCRuntime.h:
Fix minor 64bit compatribility errors spotted by Fred.
2010-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: remove obsolete checks for integer limits constants
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* configure: regenerate
* Source/NSScanner.m:
* Source/NSNumber.m:
* Source/GSFormat.m:
New code to define LLONG_MAX,LLONG_MIN,ULLONG_MAX in terms of
__LONG_LONG_MAX__ where they are not found in the normal location.
2010-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSXML.h:
* Source/Additions/GSXML.m: new method to allow an additional DTD
directory to be set for the parser.
* Tools/autogsdoc.m: Add flag to allow command line setting of extra
DTD directory.
* Source/DocMakefile: Set extra DTD directory to the Tools directory
so that gsdoc DTDs can be found even when they haven't been installed.
2010-02-16 Niels Grewe <niels.grewe@halbordnung.de>
* Source/Additions/GSXML.m:
Modify to use default catalog when GNUstep specific information
cannot be found.
2010-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistantObject.m:
Cache method signatures to avoid asking remote end for them
repeatedly.
2010-02-16 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/Additions/Unicode.m (GSToUnicode): Fix bug where
GSToUnicode attempted to read from a null pointer.
2010-02-15 Richard Frith-Macdonald <rfm@gnu.org>
Various reorganisation tweaks.
Enable NSInteger/NSUInteger/CGFloat support at last.
2010-02-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAttributedString.m: Implement keyed decoding for
multiple attributes correctly.
Based on code by Nikolaus Schaller <hns@computer.org>.
2010-02-14 David Chisnall <theraven@sucs.org>
Rewrote NSNumber implementation.
2010-02-14 Richard Frith-Macdonald <rfm@gnu.org>
Major change merge back of 'reorg' branch into trunk.
The gross changes are:
1. reorganisation of categories for additional non OSX methods into
separate files in the Additions library.
2. changes to headers to hide instance variables if we are using
the non-fragile-abi with clang.
3. additions of a void* instance variable for future expansion to
almost all classes (avoid the fragile ivar issue).
4. various code changes to support the nonfragile-abi (the use of
@defs is no longer allowed).
NB. This revision breaks binary compatibility ... all code using base
needs to be rebuilt. However, future releases of the base library
should all maintain abi compatibility with the first release based
on these changes (at least, as far as class instance size issues
are concerned).
2010-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Remove a couple of obsolete tests and add a couple for
new runtime features.
* config/config.objc_condition_timed_wait.c: remove
* config/config.non-fragile-ivars.m: add
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
2010-02-11 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/Makefile.postamble: Removed obsolete manual dependency
rules. Dependencies of object files on header files are
automatically computed by gnustep-make, so these rules were
superfluous.
* Source/GNUmakefile: Compile Additions as a subproject before the
two libraries that are built on top of it. This will prevent
problems when libraries from the same GNUmakefile are built in
parallel.
* Source/GNUmakefile (GNUmakefile.local): Do not try including
this non-existing file.
* Examples/GNUmakefile: Same change.
* NSTimeZones/GNUmakefile: Same change.
* Resources/GNUmakefile: Same change.
* SSL/GNUmakefile: Same change.
* Tools/GNUmakefile: Same change.
2010-02-11 07:37-EST Gregory John Casamento <greg.casamento@gmail.com>
* install.sh: Removed configure.
2010-02-09 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSOperation.m: Move declaration upwards to fix compile error.
2010-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSAttributedString.m:
* Source/Additions/GSCategories.m:
* Headers/Foundation/NSString.h:
* Headers/Additions/GNUstepBase/GSCategories.h:
Re-instated the immutableProxy mathod, but as a clean category on
NSMutableString in the additions library.
Use for the -string method of NSAttributedString
2010-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAttributedString.m: minor cosmetic change
* Source/GSAttributedString.m: Re-introduce proxy for -string
and comment to try to avoid it being accidentally removed again.
* Source/GSString.m: Fixups to work properly with string proxies.
* Source/NSException.m: Re-instate correct behavior and make the
comment about it more emphatic.
2010-02-08 Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
* Source/NSException.m
* Removed redundant call to _NSFoundationUncaughtExceptionHandler
and added else blocks to allow a set uncaught exception handler
to NOT exit if capable of recovering.
2010-02-08 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSOperation.h:
* Source/NSOperation.m:
Complete implementation of NSOperationQueue (OSX 10.6 apart from the
methods using objc2 blocks).
2010-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSOperation.h:
* Source/NSOperation.m:
Partial implementation of NSOperationQueue (OSX Leopard functionality
plus a little of Snow Leopard).
2010-02-05 Riccardo Mottola <rmottola@users.sf.net>
* Headers/Additions/GNUstepBase/GSIMap.h: fixed c99-ism
* Headers/Additions/GNUstepBase/GSBlocks.h : provide gcc 2.95
variadic macro
2010-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSOperation.h:
* Source/NSOperation.m:
Implement and document the NSOperation class.
As OSX 10.6 minus the objc2 specific 'block' methods.
2010-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: cleanup indentation etc, and apply fix suggested
by David Ayers
2010-02-04 Jonathan Gillaspie <jonathan.gillaspie@testplant.com>
* Source/NSLock.m:
([lockWhenCondition:beforeDate:])
Switched to use timeIntervalSince1970.
added a loop to lockWhenCondition since pthread_cond_timedwait can
return to delay expiring. Hold the lock on a delayed acquire
(and YES return).
([tryLockWhenCondition:]) No longer reports a deadlock when we
already have the lock, now just returns NO.
2010-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m:
Don't use usleep() on windows .. it performas a busy wait so the
Sleep() function is better.
2010-02-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m:
* Source/NSThread.m:
Tweaks to try and get default thread correctly terminated on exit.
2010-01-30 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPropertyList.m (GSBinaryPLParser -rootObject,
-initWithData:mutability:): Get root index from the binary
property list data and use this to return the root object.
2010-01-24 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Option for using libbfd for stack traces
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Source/NSException.m: Re-instate code for using libbfd to provide
symbolic stack traces (because the backtrace_symbols function doesn't
work on most platforms). Add warning about the fact that this alters
the license of the library.
2010-01-23 Niels Grewe <niels.grewe@halbordnung.de>
* Source/GSFFCallInvocation.m:
* Source/NSZone.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/GCObject.m:
* Source/synchronization.m:
* Source/GSPThread.h:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Updates for switch to using pthreads
2010-01-21 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/Foundation/NSObjCRuntime.h: define CGFLOAT_DEFINED when
defining CGFloat.
Also check that NSINTEGER_DEFINED and CGFLOAT_DEFINED are undefined
before defining NSInterger and CGFloat.
2010-01-21 16:20-EST Gregory John Casamento <greg.casamento@gmail.com>
* install.sh: Add --with-installation-domain=SYSTEM to the script
to allow automated build on Windows.
2010-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m:
Always remove task from controlling terminal, not just when using
pseudo-terminals. This is compatible with OSX behavior
(testcase added to the testsuite).
Also remove some redundant/duplicate code
2010-01-11 Quentin Mathe <quentin.mathe@gmail.com>
* Source/NSFormatter.m (-copyWithZone:, -initWithCoder:,
-encodeWithCoder:): Removed the subclass responsibility,
in order to have subclasses automatically coding and copying
compliant as Cocoa does.
You can also now safely call [super copyWithZone:/initWithCoder:] in a
subclass.
2010-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMapTable.m:
* Source/NSHashTable.m:
* Source/NSPropertyList.m:
* Source/GSStream.m:
* Source/NSURLResponse.m:
* Source/NSPointerArray.m:
* Source/Additions/GSMime.m:
* Source/NSURLRequest.m:
Fix mistaken strategy for avoiding clang warnings.
2010-01-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSConcreteMapTable.m (NSCreateMapTableWithZone): Set the
concreteClass, when this isn't already set.
2010-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMapTable.m:
* Source/NSHashTable.m:
* Source/NSPropertyList.m:
* Source/NSScanner.m:
* Source/GSArray.m:
* Source/GSStream.m:
* Source/NSPredicate.m:
* Source/GSHTTPURLHandle.m:
* Source/NSURLResponse.m:
* Source/NSPointerArray.m:
* Source/Additions/GSCategories.m:
* Source/Additions/GSMime.m:
* Source/NSData.m:
* Source/NSSerializer.m:
* Source/NSURLRequest.m:
* Source/GSFormat.m:
* Source/NSXMLParser.m:
* SSL/GSSSLHandle.m:
* Tools/sfparse.m:
* Tools/gdnc.m:
* Tools/gdomap.c:
* Tools/pl.m:
* config/config.loadtest.m:
Tweaks towards making base build/work better with clang
2010-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSetData.h:
* NSCharacterSets/newlineCharSet.dat:
Add VT ad FF as newline characters for OSX compatibility as suggested
by Eric.
2010-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* Source/NSException.m:
* Headers/Additions/GNUstepBase/config.h.in:
* config/config.unexpected.m:
* config/config.set_unexpected.m:
* configure:
Modified to suppport native exceptions with libobjc2 which is missing
the objc_set_unexpected() function and just uses direct assignment of
a function pointer.
2010-01-05 Eric Wasylishen <ewasylishen@gmail.com>
* Headers/Foundation/NSCharacterSet.h
* Source/NSCharacterSet.m
* Source/NSCharacterSetData.h:
Implement +[NSCharacterSet newlineCharacterSet]. This includes
rebuilding NSCharacterSetData as described in the mkcharsets
README.
Note that the Apple docs count 0x000B (vertical tab) and 0x000C
(form feed) as newline characters, and include them in
newlineCharacterSet and whitespaceAndNewlineCharacterSet, while
GNUstep does not at the moment.
2009-12-29 David Chisnall <theraven@gna.org>
* Source/GSDictionary.m
* Source/NSDictionary.m
* Headers/Foundation/NSDictionary.h
Added fast enumeration support to GSDictionary, and GSMutableSet.
* Source/GSSet.m
* Source/GSCountedSet.m
* Source/NSSet.m
* Headers/Foundation/NSSet.h
Added fast enumeration support to GSSet, GSMutableSet, and GSCountedSet
* Headers/Additions/GNUstepBase/GSIMap.h
Added function for implementing fast enumeration with GSIMaps.
2009-12-27 David Chisnall <theraven@gna.org>
* Source/NSArray.m
* Headers/Foundation/NSArray.h
Added some block method implementations.
* Headers/Foundation/NSObjCRuntime.h
Added constants for enumeration.
2009-12-27 David Chisnall <theraven@gna.org>
* Source/GSFastEnumeration.h: Added macros implementing for..in loops.
2009-12-27 David Chisnall <theraven@gna.org>
* Headers/Additions/GNUstepBase/GSBlocks.h: Added block macros.
2009-12-23 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSUndoManager.m (_canCoalesceUndoWithTarget:selector:object):
Auxiliary method to support coalescing undo operations in
NSTextView.
2009-12-22 17:15-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSObject.m: Conditionally compile weak attribute for
Windows since it is not supported by the win32 linker.
2009-12-20 David Chisnall <theraven@gna.org>
* Source/NSObject.m: Set block superclass.
2009-12-19 13:53-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/GNUmakefile: Add synchronization.m to GNU_MFILES
and correct some formatting.
* Source/synchronization.m: Fix @synchronize support on
Windows. The __weak__ attribute doesn't work on Windows.
2009-12-11 01:44-EST Gregory John Casamento <greg.casamento@gmail.com>
* Source/synchronization.m: Corrected header text.
2009-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Use -hash from GSString rather than from NSString
to optimise hashing. Fix string comparison error as pointed out by
Doug Simons.
2009-12-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePortNameServer.m:
* Source/NSMessagePort.m:
On initialisation, remove any old ports/names for the current process
idntifier. Also remove ports/names for processes which don't exist.
Avoids any possibility of nameserver confusion between two processes
with the same ID.
2009-12-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePortNameServer.m: Tolerate '*' host name.
* Source/NSConnection.m: Clarify documentation slightly.
* NSSocketPort.m:
* win32/GSFileHandle.m:
Fixup missing notification changes.
2009-11-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationQueue.m: Rewrite queue handling to attempt to
fix bug #28104 by posting notifications matching the current run loop
mode and leaving others queued.
Also, change the meanining of a nil modes argument when enqueing a
notification to match OSX and assume NSDefaultRunLoopMode.
* Source/Additions/GSXML.m: Fix minor sax callback bug.
* Source/NSConnection.m: Don't send a response packet if the method
is oneway void return type and has no output parameters.
2009-11-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: When serializing 'xml' style property lists
call -description to ensure that dictionary keys are strings since no
other option is permitted in the dtd.
2009-11-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationQueue.m:
* Source/NSRunLoop.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopCtxt.m:
* Source/GSPrivate.h:
Pass current runloop mode to notification functions. Next we need
to add code to use this information.
2009-11-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Revert last change, which broke XML
generation by placing illegal character entities in the output.
Fix menu position problem by adding missing code to unescape
the /U escapes we put in the output when we read back in again.
NB. should check that we use character entities for all legal
characters and only use the escape mechanism for *really* illegal
ones (such as the menu location key).
2009-11-26 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSPropertyList.m (XString): Write out proper XML encoding
for control characters. Fixes a bug where menu positions in GUI
programs would appear not persistent.
2009-11-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m: make better guess when forward2 is not
available in runtime.
2009-11-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Remove spurious semicolons
* Source/NSConnection.m: autogsdoc ignore confusing section
* Source/NSLock.m: autogsdoc ignore (just use header)
* Tools/AGSParser.m: add feature to ignore sections
* Tools/autogsdoc.m: document new ignore markup
2009-11-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m: ([-drain]) Copy undocumented OSX behavior
calling -release (suggested by Christopher James Elphinstone Chandler).
2009-10-26 Adam Fedor <fedor@gnu.org>
* Source/Makefile.postamble: Add flag filter for
libgnustep-base-entry.m (for GCC 4.4 on MinGW).
2009-10-20 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSObject.m (NSIncrementExtraRefCount): Properly release
allocation lock.
2009-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m:
* Headers/Foundation/NSProcessInfo.h:
* Tools/gspath.m:
* Tools/plmerge.m:
* Tools/xmlparse.m:
* Tools/sfparse.m:
* Tools/plparse.m:
* Tools/pldes.m:
* Tools/defaults.m:
* Tools/plget.m:
* Tools/pl2link.m:
* Tools/gdnc.m:
* Tools/plser.m:
* Tools/autogsdoc.m:
* Tools/HTMLLinker.m:
* Tools/cvtenc.m:
Add function for easy process initialisation when the automatic
mechanisms don't work (eg calling ObjC code from within a C or C++
application).
2009-10-11 Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSKeyValueObserving.m: add setters for common structures.
2009-10-10 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSString.h:
* Source/NSString.m:
* Source/GSString.m:
Remove obsolete immutable proxy method.
* Source/NSIndexPath.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSAttributedString.m:
* Source/GSArray.m:
* Source/GSFFCallInvocation.m:
* Source/GSFFIInvocation.m:
* Source/GSAttributedString.m:
* Source/NSConnection.m:
* Source/NSThread.m:
Replace unnecessary calls to NSDeallocateObject().
2009-10-07 Adam Fedor <fedor@gnu.org>
* configure.ac: Add librt for sched_yield on solaris.
2009-10-05 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: enable ffcall if ffi is disabled
* configure: Regenerate
* Source/mframe:delete
* Source/mframe.m: delete
* Source/GSInvocation.h:
* Source/GNUmakefile:
* Source/NSMethodSignature.m:
* Source/GSFFCallInvocation.m:
* Source/NSKeyValueObserving.m:
* Source/GSFFIInvocation.m:
* Source/NSInvocation.m:
* Source/cifframe.m:
* Source/NSConnection.m:
* Source/callframe.m:
* Source/NSDistantObject.m:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSInvocation.h:
Update for removal of mframe code.
2009-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile:
* Source/NSMethodSignature.m:
* Source/GSFFCallInvocation.m:
* Source/mframe/mframe.head:
* Source/GSFFIInvocation.m:
* Source/NSInvocation.m:
* Source/cifframe.h:
* Source/mframe.m:
* Source/cifframe.m:
* Source/NSConnection.m:
* Source/callframe.h:
* Source/NSObjCRuntime.m:
* Source/callframe.m:
* Headers/Additions/GNUstepBase/DistributedObjects.h:
* Headers/Additions/GNUstepBase/preface.h.in:
Remove lots of obsolete code as part of the ong term process of
scrapping the old mframe stuff.
2009-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/cifframe.h: Remove unused code
* Source/cifframe.m: ditto
* Source/callframe.h: ditto
* Source/callframe.m: ditto
* Source/NSConnection.m: Use NSInvocation functionality directly
rather than duplicated versions of the code in ffi/ffcall/mframe
specific files. Should simplify things and make maintenance easier.
2009-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInvocation.h:
* Source/GSFFIInvocation.m:
* Source/NSInvocation.m:
Fix to always store return value in memory owned by the GSFFIInvocation
object. Fix for bug #27233
2009-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m:
Don't allow the root object of a connection to be released simply
because the remote proxy is released ... the connection itsself
may have been retained at the remote end, and the code there may
call the -rootProxy method and start sending messages to it again.
Fix for bug #27128
2009-10-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
* Source/NSKeyedArchiver.m:
* Source/NSConcreteMapTable.m:
* Source/NSConnection.m:
* Source/NSSerializer.m:
* Source/NSArchiver.m:
* Source/NSConcreteHashTable.m:
* Headers/Additions/GNUstepBase/GSIMap.h:
Explicitly specify types present in GSIUnion
2009-09-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: Fix BOOL methods to return YES or NO.
* Source/win32/GSFileHandle.m: Implement nul device handle.
* Source/NSTask.m: Try to avoid annoying colsole window with mingw32
* Source/GSLocale.m: Try to handle locale setup in non-utf8 locales.
2009-09-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandle.m:
* Source/win32/NSMessagePort.m:
* Source/win32/GSRunLoopCtxt.m:
* Source/win32/NSStream.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSPipe.m:
* Source/NSTask.m:
Fixes to try and improve subtask handling on windows.
1. change scheme to create all handles as not inheritable, and
just make the handles we want the child to have inheritable while
we are launching the child.
2. peek the data on pipes and refrain from notifying about data
availability if the pipe doesn't really have data. This is horrid and
means we poll pipes ... I guess we really need to be doing async
reads instead ... perhaps someone can do that based on the code in
Source/win32/NSMessagePort.m which already does it.
2009-09-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: OSX compatibility tweaks ... allows initialisation
using a string containing a simple path without any scheme.
2009-09-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexSet.m:
([-shiftIndexesStartingAtIndex:by:]) fix to properly merge index
ranges when shifting left.
2009-09-15 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSMime.h:
* Source/Additions/GSMime.m:
Add new -excess method to return any excess data left over from parsing.
Previously the code just used to NSLog() this data as a warning.
2009-09-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Workaround for bug in some linux SMP systems
* Source/NSConnection.m: fix for bug #27446
2009-09-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Add optional diagnostics to detect system
time changes and warn about them.
* Source/NSException.m: Clean up to match coding standards.
Fix uninitialised variable bug.
* Source/NSObject.m: clean up and fix missing dealloc.
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSValueTransformer.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
Fix up errors in version of feature addition to GNUstep. Some
GNUstep version constants had leading zeros so they were interpreted
as octal rather than decimal.
2009-09-11 David Chisnall <csdavec@swan.ac.uk>
* Source/NSException.m:
*Headers/Foundation/NSException.h:
Rewrote exception callstack generation to use the backtrace() and
backtrace_symbols() code. Implemented the -callStackSymbols method from
10.5 using this. For this to be enabled, the configure script will
require a small modification, which Gregory will add later.
2009-09-10 David Chisnall <csdavec@swan.ac.uk>
* Source/GSFFIInvocation.m:
* Source/NSObject.m:
* Headers/Foundation/NSObject.h:
Added implementations of the hooks provided by the new runtime. This
brings NSObject up to feature-parity with the OS X 10.5 implementation
when using the new runtime and up to feature-parity with the 10.6
implementation if you are using the new runtime and compiling with
clang.
Also removes the objc_mutex_wibble stuff from NSObject in favour of just
using NSLocks (which, with the new implementation, are now faster than
using objc_mutex_stuff).
2009-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: ([-limitDateForMode:]) on OSX it seems that only
one timer fires each time this method is invoked ... so I rewrote this
method to only fire one timer (excluding the private housekeeping one).
Changing to only fire one timer actually allows the code to be simpler
so it's a good update in its own right, not just a OSX compatibility
tweak. I also made incrementing repeated timers a bit more robust,
checking that they provide a valid increment time interval and
removing them from the loop if they don't.
* Source/NSTimer.m: slightly tidy/clarify initialisation code and
documentation.
2009-09-08 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
* config.mak.in:
* Source/GNUmakefile:
Attempt to tidy up config now that pthreads are mandatory.
* Source/NSThread.m:
Fix various bugs related to thread exit, Prevent crashes at program
termination ...nastily obvious on mingw.
* Source/Additions/GSLock.m:
Remove -dealloc implementations which called -finalize, since the
superclass implementationd does that too, and finalizing twice is
a bad, bad thing.
2009-09-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSConnection.h:
* Source/NSConnection.m:
Remove ivars from public header.
Improve debug by reporting the connections's registered name and/or
the name of the remote port it is connecting to.
2009-09-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m:
* Source/GSRunLoopCtxt.h:
Add some logging to help debug problems where code is adding too
many events into a run loop.
2009-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: Fix the ([-tryLock]) and [(-lockBeforeDate:])
implementations for NSLock and NSCondictionLock to return NO for
recursive locking. Fix to only initialise mutex attributes once
(to avoid leaking a set of attributes with every lock created on
platforms where attributes need to be destroyed when no longer used).
Reorganise to make it easy to replace method implementations.
Fix for bug #25444 ... OSX compatibility change.
2009-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Fix for rare problem if someone changes the
system time backwards.
* configure.ac: Check for pthread.h and type sizes. Insist on having
pthread.h in order to build, now that it is a requirement.
* configure: Regenerate
* Headers/Additions/GNUstepBase/GSConfig.h.in: Declare abstract types.
* Source/NSLock.m: including pthread.h
* Headers/Foundation/NSLock.h: Avoid including pthread.h
Basically, insist on finding pthread.h at configure time, and get size
of essential types so we can avoid exposing them directly in our
public headers. This should discourage developers from using things
they shouldn't, but it does not solve the issue that copies of the base
library built with different pthread implementations on the same
platform may have binary incompatible NSLock classes (with respect to
subclassing as the pthread specific ivars differ in size). However
this is *really* unlikely to be an issue in practice.
2009-09-05 David Chisnall <csdavec@swan.ac.uk>
* Source/NSEnumeration.m: Added enumeration mutation callback.
2009-09-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: Fix a few variable declarations to work with older
compilers. Fix indentation/whitespace for coding standards consistency.
* Source/NSURLProtocol.m: Fix attempt to use deallocated stream.
2009-09-01 David Chisnall <csdavec@swan.ac.uk>
* Source/NSLock.m
* Headers/Foundation/NSLock.h
Completely rewritten implementations of NSLock.h classes. These are now
faster, more complete, OS X-compatible, and most importantly actually
work. The old ones, for example, called functions that were not
implemented on Windows.
* Source/NSThread.m
Call pthread functions directly in NSThread instead of via the libobjc
abstraction layer. Also fixed a few issues, such as GC not being
initialized properly for NSThread subclasses that override -main
(Javaism supported by OS X) and tidies up the code in several places,
removing premature optimizations, especially those that introduce a
test for an unlikely case at the start of a method and thus slow
everything down.
As a result of this change, GNUstep now depends on an implementation of
POSIX threads. This is included as standard on all modern UNIX systems,
and as an option on less-modern UNIX systems and non-UNIX systems,
including Windows. If you are building GNUstep on Windows,
please install the pthreads-win32 package, available from:
http://sourceware.org/pthreads-win32/
PLEASE TEST THIS! There may be some code that depended on the old
behaviour. I have been running the new NSLock implementation on FreeBSD
for a few weeks without issue; please report to me any problems that you
have on your platform.
2009-09-01 Richard Frith-Macdonald <rfm@gnu.org>
* Version: bump to 1.19.3
* Documentation/news.texi: update
* Documentation/ReleaseNotes.gsdoc: update
Make 1.19.3 release.
2009-09-01 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSCache.h:
* Source/NSCache.m:
Great additions... tweaked with whitespace changes to conform to
coding standards, addition of copyright headers, addition of standard
prevention of multiple inclusion, include changes to build independant
of any existing installation.
2009-08-31 David Chisnall <csdavec@swan.ac.uk>
* Headers/Foundation/NSCache.h:
* Headers/Foundation/Foundation.h:
* Source/NSCache.m:
* Source/GNUmakefile:
Added NSCache implementation.
2009-08-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSConnection.m:
Improve -description to include the registered names (if any) of ports.
Include full port description in connection description.
2009-08-30 David Chisnall <csdavec@swan.ac.uk>
* Headers/Foundation/NSObject.h: Added NSDicardableContent protocol from
Snow Leopard.
2009-08-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSCategories.m:
* Source/Additions/GSCompatibility.m:
Move -fullPath to correct place to build on OSX
2009-08-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAttributedString.m: ([-string]) was returning proxy to
mutable string ... bad if calling code does not expect it.
2009-08-26 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURL.h:
* Headers/Additions/GNUstepBase/GSCategories.h:
* Source/NSURL.m:
* Source/Additions/GSCategories.m:
Add new -fulPath method to do what -path used to do, because for OSX
compatibility the -path method now returns a path without any
trailing slash, making it impossible to reconsitute a URL string
from its individual parts :-(
* Source/GSHTTPURLHandle.m:
* Source/NSURLProtocol.m:
Use the new -fullPath method to build the request line sent to the
remote web server.
2009-08-25 Richard Frith-Macdonald <rfm@gnu.org>
* Version: bump to 1.19.2
* Documentation/news.texi: update
* Documentation/ReleaseNotes.gsdoc: update
* Source/DocMakefile: Avoid warning about WINAPI
* Source/NSURLDownload.m: Documentation cleanups
* Source/NSFileManager.m: ditto
* Source/Additions/GSCategories.m: ditto
* Source/Additions/GSMime.m: ditto
* Source/NSURLConnection.m: ditto
* Headers/Foundation/NSTimeZone.h: ditto
* Headers/Foundation/NSURLDownload.h: ditto
Make 1.19.2 release
2009-08-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
* Source/GSString.m:
* Headers/Foundation/NSString.h:
Tweak boolValue behavior to better match OSX and document exact
behavior.
2009-08-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandle.m: Fix for write in background on windows
if a write is not already in progress, do it immediately because
winsock won't tell us when we can write. Also, improve the test to
see if a handle is a socket, as the previous code was not working for
incoming connections, resulting in a busy poll rather than a blocking
poll, and thus loading the system unnecessarily.
2009-08-21 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSConnection.m: Joined split-line string constant
2009-08-21 Doug Simons <dpsimons@testplant.com>
* Source/NSUserDefaults.m: Remove one of the locks in +userLanguages
to avoid a deadlock.
Patch applied by: Gregory Casamento <greg.casamento@gmail.com>
2009-08-21 Doug Simons <dpsimons@testplant.com>
* Source/NSUserDefaults.m: Changes to bulletproof NSUserDefaults from
deadlocks when it is accessed by more than one thread.
Patch applied by: Gregory Casamento <greg.casamento@gmail.com>
2009-08-19 Eric Wasylishen <ewasylishen@gmail.com>
* Source/Additions/GSObjCRuntime.m:
Behave consistently with MacOS-X when a getter or setter method
returns a type of data which is not supported by KVC.
2009-08-15 David Chisnall <theraven@gna.org>
* Source/NSObject:
- Tweaked NSObject to use atomic ops with LLVM as well as gcc (this
probably isn't actually needed)
- Fixed SIGFPE problem on FreeBSD using proper interfaces instead of
an asm hack.
* Removes various mframe things from being compiled when ffcall/libffi
is used (mframe.m, NSConnection.m, NSInvocation.m)
* Turned a nested function in make_strings.m into a macro.
2009-08-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Remove some redundant methods and add checks for
attempts to use a null pointer to set bytes in the data.
* Source/NSCharacterSet.m: Save mem with index set rather than
bitmap set
2009-08-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAttributedString.m: Fix keyeded encodgin decoding for
both NSAttributedString and NSMutableAttributedString.
2009-08-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Fix memory leak introduced with GC changes.
* Source/Additions/GSMime.m: Use memmove() as fix for bug #27224
2009-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Fix memory leak introduced with GC changes.
2009-08-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
* Headers/Foundation/NSFileManager.h:
Updated comments/documentation to say that directory enumeration order
is undefined.
2009-08-04 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m: Escape non-ascii characters etc in author.
2009-08-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Fix for handling empty key values in
XML property lists.
2009-08-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Fix error in memory allocation debug when
swizzling a class.
2009-07-30 Quentin Mathe <qmathe@club-internet.fr>
* Headers/Foundation/Foundation.h: Included NSKeyValueObserving.h.
2009-07-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Correct the text in exception when attempting
to read a response on an invalidated connection.
* Source/Additions/GSMime.m:
Fixup incorrect declaration of method in wrong class implementation.
2009-07-27 David Ayers <ayers@fsfe.org>
* Source/Additions/GSCompatibility.m ([-boolValue]): Only compile
for OS X Versions below 10.5 and sync implementation with -base.
Reported by: Georg Fleischmann
2009-07-23 Richard Frith-Macdonald <rfm@gnu.org>
* GSHTTPURLHandle.m:
* NSURLProtocol.m:
Include the port in the 'Host' header if it's specified in the URL.
2009-07-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSInternal.h: New macros for CLANG/non-fragile ivar compat.
* Source/NSOperation.m: Use new macros.
2009-07-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSOperation.m: Fix includes and text of comments at start
of document.
2009-07-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSOperation.h:
* Source/NSOperation.m:
Various changes for maintainability and coding standards ... nothing
which should effect functionality.
2009-07-14 20:02-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/NSOperation.h
* Source/NSOperation.m: Added initial implementation of
NSOperationQueue.
2009-07-13 14:15-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Headers/Foundation/Foundation.h
* Headers/Foundation/NSOperation.h
* Source/GNUmakefile
* Source/NSOperation.m: Initial implementation of NSOperation
class.
2009-07-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcreteMapTable.m: Add some comments.
* Source/NSConcreteHashTable.m: Dito
* Headers/Additions/GNUstepBase/GSIMap.h: Make explicit that fields in
enumerator are all big enough to hold pointers.
2009-07-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m: Add daignostic check.
* Source/NSSocketPort.m: Make sure socklen_t is defined.
Shoudl fix bug #26856
2009-06-30 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac:
* configure:
* config/config.poll-dev.c: Add test to configure to avoid using
the broken poll implementation on Mac OS X 10.4 and later, which
does not support devices.
2009-06-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: ([-parse]) don't split whitespace strings
at newline.
2009-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSRunLoopCtxt.m: Fix error sending received event
handle to watcher. Had broken TCP/IP ports.
2009-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Fix incorrect attempt to free memory
we shouldn't. Should fix bug #26843
2009-06-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePort.m: Don't use NSLog() to report error
when writing to mailslot ... it's usually just that the remote
end has terminated, so invalidating the port silently is better.
* Source/GSFileHandle.m: Adjust code to deal with fstat() returning
a failure on windows if the descriptor is a pipe/socket.
2009-06-13 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSArchiver.h:
Fix error cleaning up a define.
2009-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedNotificationCenter.m: add explicit size casts
to avoid compiler warnings.
* Source/NSUserDefaults.m: Save defaults in xml format and add some
error checking.
* Source/NSPropertyList.m: tolerate NSNumber values used as dictionary
keys, by using their string representation.
2009-06-09 Richard Frith-Macdonald <rfm@gnu.org>
* SSL/Source/GSSSLHandle.m: Disable v2 by default due to
security issues. GSPermitSSLv2 user default can enable it again.
2009-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Optimise somewhat for converting
from unicode (UTF-2) to UTF-8
* Source/GSString.m: Optimise 8 bit string equality tests a little.
2009-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Optimise case where we are converting
from unicode to latin1 or ascii.
* Source/GSString.m: Optimise -hash method of NXConstantString too.
2009-06-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/GSFFIInvocation.m
(-initWithCallback:returnp:values:frame:signature:): Fix bug
#26419 by removing bogus code which was used on targets where
MFRAME_STRUCT_BYREF is defined.
2009-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: When converting from a characterset
to unicode, and we know that there is a one to one correspondence
between the characterset values and unicode values, shift the
buffer sizing outsize the loop through the characters to avoid
unnecessary checks for the end of the buffer in each iteration.
Optimisation suggested by Fred Kiefer
2009-06-05 18:12-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSDistantObject.m: NSProxy subclasses must override -init
or an exception will be thrown. This change calls the forwarding
mechanism to invoke -init on the remote object.
Patch by David Chisnall <theraven@sucs.org>
2009-06-04 Georg Fleischmann <G.Fleischmann@vhf.de>
* Source/Additions/unicode/nextstep.h: Fixups for encoding mapping.
2009-06-02 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSUndoManager.m (-undo, -redo): Call -_begin instead of
-beginUndoGrouping to avoid creation of a spurious top-level group
while performing undo or redo operations, which was causing the
recorded actions to be dropped silently.
* Source/NSUndoManager.m (-beginUndoGrouping): Post
NSUndoManagerCheckpointNotification also during undo as on OS X.
* Source/NSUndoManager.m (-endUndoGrouping): Post
NSUndoManagerWillCloseUndoGroupNotification before changing the
group so that clients see the same grouping level as on OS X.
2009-05-29 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSObject.m: Atomic increment and decrement functions for m68k
2009-05-29 Nicola Pero <nicola.pero@meta-innovation.com>
* GNUmakefile: Use $(warning ...) instead of $(info ...) since
$(info ...) exists only in GNU make >= 3.81.
* NSCharacterSets/GNUmakefile: Same change.
* Source/GNUmakefile: Same change.
* SSL/GNUmakefile: Same change.
* Documentation/GNUmakefile: Same change.
* Resources/GNUmakefile: Same change.
* NSTimeZones/GNUmakefile: Same change.
* Examples/GNUmakefile: Same change.
* Tools/GNUmakefile: Same change.
2009-05-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Updates to match latest MacOS-X behavior.
The +new and -init methods now return nil.
Timers are now treated like input sources for purposes of deciding
whether the loop will block and whether performerds will execute.
* Source/NSTimer.m: Updates to match latest MacOS-X behavior.
The +new and -init methods now return nil.
2009-05-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: Use lock to prevent race condition setting up
runloop info for thread.
2009-05-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m:
Permit setters which return values.
2009-05-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m:
* Source/NSBundle.m:
Try to get the path right for loading dynamic library code on windows
when NSExecutable doesn't have the .dll path extension.
2009-05-16 Doug Simons <doug@riverrock.org>
* Source/NSCalendarDate.m:
Implement field widths for numeric fields in a date format for
MacOS-X compatibility.
2009-05-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Add support for file URLs on mswindows. The path
may be of the form C:/... rather than /... (and the colon might be
a vertical bar).
Also makefile fixes for bug #26446
2009-05-11 Adam Fedor <fedor@gnu.org>
* Source/NSXMLParser.m: Fix include location
2009-05-10 Adam Fedor <fedor@gnu.org>
* Version 1.19.1
2009-05-06 Adam Fedor <fedor@gnu.org>
* Documentation/news.texi, Documentation/releasenotes.texi: Update.
2009-05-04 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSObject.m: Correct asm for PPC.
Patch by Eric Wasylishen <ewasylishen@gmail.com>
* Source/NSObject.m: Add support for new gcc atomic build
ins. Currently still disabled.
Patch by David Chisnall <theraven@sucs.org>
2009-05-04 Richard Frith-Macdonald <rfm@gnu.org>
* NSCharacterSets/GNUmakefile:
* Source/GNUmakefile:
* SSL/GNUmakefile:
* Documentation/GNUmakefile:
* Resources/GNUmakefile:
* Examples/GNUmakefile:
* NSTimeZones/GNUmakefile:
* GNUmakefile:
* Tools/GNUmakefile:
Add help info for the case when gnustep-config can't tell us the
location of the makefiles.
2009-05-03 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSURLProtocol.m: Removed c99-ism
2009-05-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile.postamble: remove generated files from pathconfig
subdirectory on distclean.
2009-04-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Fix bug #26360 plus optimise a little.
* Source/NSURL.m: Send over DO bycopy as default.
2009-04-27 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSData.h:
* Source/NSData.m:
Implement new MacOS-X methods for writing data (no support for
returning NSError objects yet).
2009-04-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFTPURLHandle.m: Implement full support for multiline
responses. Fix for bug #26348
2009-04-26 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSZone.h:
* Source/NSHashTable.m:
* Source/NSZone.m:
* Source/NSDecimal.m:
Fix errors generating documentation.
2009-04-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: ([changeFileAttributes:atPath:]) optimise
to avoid unnecessary creation of NSNumber objects as suggested by
Greg.
2009-04-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Reinstate incorrectly reverted changes.
Fix actual bug in Fred's patched version ... some code incorrectly
returning an integer when it should return an NSNumber.
2009-04-25 08:35-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/NSFileManager.m: Partial reversion of previous patch.
The calls in the method changeAttribues:atPath: to the GSAttrDictionary
which is used there were erroneously changed to assume an NSNumber.
This was causing a crash in various applications.
2009-04-24 Fred Morcos <fred.morcos@gmail.com>
* Headers/Foundation/NSFileManager.h:
* Source/NSFileManager.m:
Fix -fileOwnerAccountID and -fileGroupOwnerAccountID to return the
correct type. Also fix return type of HFS methods (though these are
Apple filesystem specific and do nothing in GNUstep).
2009-04-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSHashTable.m:
* Source/NSConcreteHashTable.m:
* Source/NSMapTable.m:
* Source/NSConcreteMapTable.m:
* Headers/Additions/GNUstepBase/GSIMap.h:
Changes for GC zeroing weak pointers. Implement enumeration stuff for
new classes. Add code to support subclassing.
2009-04-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Implement the
([countByEnumeratingWithState:objects:count:]) method.
2009-04-18 10:15-EDT Gregory John Casamento <greg.casamento@gmail.com>
* Source/GSURLPrivate.h: Addition of private method to NSURLProtocol
category.
* Source/NSURLConnection.m: Changes to use the new method and to correct
bug #26107. Patch by: doug@riverrock.org
* Source/NSURLProtocol.m: Addition of static method to look up class
which can handle the given connection protocol.
Patch by: doug@riverrock.org
2009-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSHasTable.h: new OSX 10.5 API
* Source/NSHashTable.m: New abstract class
* Source/NSConcreteHashTable.m: concrete implementation
* Source/NSKeyValueObserving.m: Fix incorrect hash table references.
2009-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Change placeholder string initialisation so that,
in a GC world, it checks to see if the buffer passed to it is
collectable and forces a copy if it isn't. This prevents memory leaks
when a malloc'ed buffer is passed to the initialiser.
2009-04-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: New private functions.
* Source/NSObject.m: Add function to swizzle isa pointer safely.
* Source/NSZone.m: Add function to check for collectable memory.
* Source/NSData.m: Add finalisation for shared memory and mapped
files. Add finalized subclasses to deal with memory which must be
freed when the NSData is collected.
2009-04-11 01:12-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSLock.m: Move the warning to a debug log.
2009-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/cifframe.m:
* Source/callrame.m:
Update for GC to use scanned memory to hold pointers we got from
the stack so that memory will persist as long as the invocation
needs it.
2009-04-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/NSString.m:
* Source/NSObject.m:
* Source/GSString.m:
* Source/NSZone.m:
GC tweaks ... Improve realloc when in gc world.
2009-04-03 Adam Fedor <fedor@gnu.org>
* Source/NSObject.m: Revert previous patch (David to fix up later).
2009-03-31 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSInvocation.h:
* Source/NSInvocation.m:
Remove unused private method pointed out by David Chisnall.
2009-03-31 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSDebug.h:
* Source/mframe.m:
* Source/NSObject.m:
Cleanups for building with other compilers as suggested/provided
by David Chisnall.
2009-03-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix error in parsing root of UNC path
2009-03-28 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSSocketPort.m (-receivedEvent:...forMode:): Fix usage of
ET_WDESC for MINGW32.
2009-03-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.h:
* Source/GSSocketStream.m:
Avoid unnecessary memory allocation.
Use weak pointers to break finalisation cycles.
* Source/NSZone.m: Use GC debug unless built with 'debug=no'
Allocate memory ignoring pointers into the allocated data.
2009-03-21 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac:
* configure:
* Headers/Additions/GNUstepBase/config.h.in:
* Source/NSDebug.m:
Try using sigsetjmp for dealing with signals during stack trace,
in case it helps work arouns bugs in signal handling.
2009-03-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
Fix to treat exceptional (out of band) event as meaning a readable
rather than a writable descriptor.
2009-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLCredential.m:
* Source/NSURLAuthenticationChallenge.m:
* Source/NSURLDownload.m:
* Source/NSURLCredentialStorage.m:
* Source/NSURLResponse.m:
* Source/NSURLProtocol.m:
* Source/NSURLCache.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSCachedURLResponse.m:
* Source/NSHTTPCookie.m:
* Source/NSURLProtectionSpace.m:
* Source/GSHTTPAuthentication.m:
* Source/NSURLRequest.m:
* Source/NSXMLParser.m:
* Source/NSURLConnection.m:
Fix some errors in header comments.
2009-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationQueue.m: Fix dealloc bug pointed out by
Larry Campbell.
2009-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandle.m:
* Source/win32/NSMessagePort.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSConcreteMapTable.m:
* Source/Additions/GSCompatibility.m:
* Source/Additions/GSCategories.m:
* Source/NSData.m:
Fixes for windows and changes to GC code, plus changes for old
compilers which don't support anonymous unions, plus improvement
to error reporting on windows, plus fix to correctly rename
protected files if possible.
2009-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcretePointerFunctions.h: Minor GC tweaks
* Source/NSMessagePortNameServer.m: Fix map table declaration
* Source/NSKeyedUnarchiver.m: ditto
* Source/NSKeyValueObserving.m: ditto
* Source/NSObject.m: ditto
* Source/GNUmakefile: Add NSConcreteMapTable.m
* Source/NSConcreteMapTable.m: New file for new class
* Source/NSMapTable.m: Change to be an abstract class
* Headers/Foundation/NSMapTable.h: Add new MacOS-X 10.5 API
* Headers/Additions/GNUstepBase/GSIMap.h: Some changes for
new map table API.
2009-03-12 Bernard Cafferelli <voyageursp@gmail.com>
* configure.ac: Add --disable-zeroconf option to control whether
NSNetServices (and a dependency on libdns_sd) is enabled.
2009-03-10 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSIArray.h:
* Source/NSNotificationCenter.m:
* Source/NSRunLoop.m:
* Source/NSZone.m:
Various small GC bugfixes to get more of testsuite passing.
2009-03-09 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSIArray.h:
* Headers/Additions/GNUstepBase/GSIMap.h:
* Headers/Foundation/NSZone.h:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/Unicode.m:
* Source/GSAttributedString.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSPrivate.h:
* Source/GSSet.m:
* Source/NSArchiver.m:
* Source/NSConnection.m:
* Source/NSHashTable.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSMapTable.m:
* Source/NSNotificationCenter.m:
* Source/NSPortCoder.m:
* Source/NSRunLoop.m:
* Source/NSSerializer.m:
* Source/NSURL.m:
* Source/NSZone.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopCtxt.m:
More moves towards OSX 10.5 GC compatibility.
With GC add some use of typed memory and remove the old
GNUstep specific GSAtomicMallocZone() from public API.
Still needs new NSHashTable and NSMaptable implementations.
2009-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m:
* Source/GSStream.m:
* Source/NSConnection.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSObject.m:
* Source/NSPort.m:
* Source/NSXMLParser.m:
GC tweaks to use new API.
2009-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Remove unused code for holding reference counts
in an external map.
2009-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Implement new mechanism for handling
SOAP responses with HTTP status 500. Interim measure lntil the
NSURLConnection family of class is more complete.
2009-03-01 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSBundle.m (-localizedStringForKey:value:table): Correct
output when NSShowNonLocalizedStrings is YES.
2009-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m:
Fix for retry with authentication based on patch by Philippe Roussel
2009-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m:
Fix for bug #25720 as suggested by Michael Johnston
2009-02-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSetData.h:
* Source/GSRunLoopWatcher.h:
* Source/GSRunLoopWatcher.m:
* Source/GSRunLoopCtxt.h:
Add missing copyright/license comments.
2009-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUndoManager.m: Revert last change (to match OSX 10.5)
Also rework a little to recreate undocumented OSX behavior of
implicitly creating a top-level undo group if -beginUndoGroup
is called for a manager configured with groupByEvent.
2009-02-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexPath.m:
* Source/GSSocketStream.h:
* Source/NSTimeZone.m:
* Source/NSNetServices.m:
* Source/NSURLCredential.m:
* Source/GSSocketStream.m:
* Source/NSURLAuthenticationChallenge.m:
* Source/NSCalendarDate.m:
* Source/NSPropertyList.m:
* Source/GSConcreteValueTemplate.m:
* Source/NSAffineTransform.m:
* Source/NSConcretePointerFunctions.h:
* Source/NSPathUtilities.m:
* Source/NSScanner.m:
* Source/NSProcessInfo.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSNotificationQueue.m:
* Source/NSGeometry.m:
* Source/NSConcretePointerFunctions.m:
* Source/NSRunLoop.m:
* Source/NSAttributedString.m:
* Source/NSUndoManager.m:
* Source/NSMethodSignature.m:
* Source/NSUserDefaults.m:
* Source/NSArray.m:
* Source/GSStream.h:
* Source/GSStream.m:
* Source/NSKeyedArchiver.m:
* Source/NSDebug.m:
* Source/unix/NSStream.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSURLDownload.m:
* Source/NSPredicate.m:
* Source/NSAssertionHandler.m:
* Source/NSZone.m:
* Source/NSPort.m:
* Source/GSPrivate.h:
* Source/win32/NSStream.m:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/NSURLResponse.m:
* Source/NSURLCache.m:
* Source/NSCoder.m:
* Source/NSException.m:
* Source/NSCopyObject.m:
* Source/NSURL.m:
* Source/NSString.m:
* Source/NSObject.m:
* Source/NSDecimalNumber.m:
* Source/cifframe.m:
* Source/Additions/GCArray.m:
* Source/Additions/GSXML.m:
* Source/Additions/GCDictionary.m:
* Source/Additions/GSCategories.m:
* Source/Additions/GSMime.m:
* Source/NSNumber.m:
* Source/NSDecimal.m:
* Source/GSString.m:
* Source/NSThread.m:
* Source/NSHTTPCookie.m:
* Source/NSData.m:
* Source/NSProxy.m:
* Source/NSURLProtectionSpace.m:
* Source/NSError.m:
* Source/NSDictionary.m:
* Source/NSURLRequest.m:
* Source/NSValue.m:
* Source/NSCountedSet.m:
* Source/NSIndexSet.m:
* Source/GSFileHandle.m:
* Source/NSLock.m:
* Source/NSSet.m:
* Source/NSArchiver.m:
* Source/NSXMLParser.m:
* Source/GSURLPrivate.h:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSURLHandle.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSAffineTransform.h:
* Headers/Foundation/NSPathUtilities.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSGeometry.h:
* Headers/Foundation/NSNotificationQueue.h:
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSDecimal.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSProxy.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSZone.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Additions/GNUstepBase/GSXML.h:
* Headers/Additions/GNUstepBase/GSCategories.h:
* Headers/Additions/GNUstepBase/GSMime.h:
* Headers/Additions/GNUstepBase/GSFileHandle.h:
* Tools/gdnc.h:
* Tools/gdnc.m:
Conversion of everything to use the new MacOS-X 10.5 API where return
values and arguments use the NSInteger, NSUInteger, and CGFloat types.
For now, as suggesed by David, the proper 10.5 behavior is turned off
and those types are equivalent to the types used by the old API.
Edit Headers/Foundation/NSObjCRuntime.h to turn on the new behavior
where the integer types are the same size as a pointer, and the float
type is actually a double on 64bit processors.
2009-02-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m:
make float and double interchangable to cope with MacOS-X 10.5
API which can use either for CGFloat.
2009-02-23 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSGeometry.h:
* Source/NSGeometry.m:
Inspired by Matt Rice's comments on NSEqualRects(), moved the
equality testing functions from the header to the implementation
file and added conditionally compiled code to allow us to do a
fuzzy equality test. Still need to decide whether this is actually
the correct thing to do though.
2009-02-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUnarchiver.m:
make float and double interchangable to cope with MacOS-X 10.5
API which can use either for CGFloat.
* Source/NSXMLParser.m: optimize sloppy parser somewhat.
2009-02-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/mframe/i386/linux:
* Source/mframe/i386/sysv4.2MP:
* Source/mframe/i386/linux-gnu:
* Source/mframe/i386/sysv4.2uw2.1.3:
* Source/mframe/i386/freebsd:
* Source/mframe/i386/openbsd:
* Source/mframe/i386/generic:
Update/fix macro to build method signature information.
2009-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add checks for backtrace() function
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* configure: regenerate
* Source/NSDebug.m: Use backtrace() to get stack if possible ...
it's more reliable than gcc's __builtin_frame_address() function.
* Source/cifframe.m: Allocate a slightly larger buffer when
processing invocations ... somehow this fixes a write outside
allocated memory by the ffi library on my 64bit debian system.
2009-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUndoManager.m: Don't post checkpoint notification when
beginning top level group. Fix for #25607
2009-02-16 Adam Fedor <fedor@gnu.org>
* configure.ac: Look in LOCAL for headers/libs
* Headers/Foundation/NSObjCRuntime.h: Define NSINTEGER_DEFINED.
* Headers/Additions/GNUstepBase/GSCategories.h,
Headers/Additions/GNUstepBase/GSUnion.h: Additional definitions to compile
with apple-apple-apple.
2009-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/pathconfig/configure.ac: Warn if gnustep-config not found.
* Source/pathconfig/configure: regenerate
* Headers/Foundation/NSPointerArray.h: Add more comments.
2009-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPointerArray.m: Initial implementation. Untested.
No coding/decoding support.
2009-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPointerFunctions.m: Add some more functions to be set by
options.
2009-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPortCoder.m: Use scanned memory to hold array
* Source/NSKeyedUnarchiver.m: ditto
* Source/NSFileManager.m: ditto
2009-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUnarchiver.m:
* Source/NSString.m:
* Source/Additions/GSMime.m:
* Source/NSData.m:
* Source/GSHTTPAuthentication.m:
* Source/NSSerializer.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopCtxt.m:
Various changes to use unscanned collectable memory with GC.
2009-02-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationCenter.m: Fix bug removing observations for
collected observers.
* Headers/Foundation/NSGarbageCollector.h:
* Source/NSGarbageCollector.m:
* Source/NSObject.m:
Update the behavior of the -zone method to match MacOS-X 10.5 and
always return the default zone when used with GC.
2009-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConcretePointerFunctions.h:
* Source/NSConcretePointerFunctions.m:
* Source/NSPointerFunctions.m:
* Source/NSPointerArray.m:
* Source/GNUmakefile:
Partial implementation of concrete pointer functions class.
2009-02-09 Xavier Glattard <xavier.glattard@online.fr>
* Headers/Foundation/NSPredicate.h:
* Source/NSPredicate.m: Declare and implement two new methods for
filtering NSSet:
* [-filterUsingPredicate:]
* [+filteredSetUsingPredicate:]
2009-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePortNameServer.m: Fix GC error on windows
as reported by Ly Liyi
* configure.ac: Check for new GC_allow_register_threads() function.
* Source/NSThread.m: Attempt to fix thread registration for GC.
* Source/NSObject.m: Initialise finalize on mingw as well as unix.
* Source/NSZone.m: Remove unnecessary casts.
2009-02-09 Matt Rice <ratmice@gmail.com>
* Headers/Foundation/NSZone.h (GSMakeWeakPointer): Rename class
variable to theClass for objc++.
2009-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Implement new methods for inserting and replacing
objects at indexes in an NSIndexSet.
* Headers/Foundation/NSObject.h: Minor whitespace fix
* Source/NSNetServices.m: Mark unimplemented method.
* Headers/Foundation/NSXMLDocument.h: new class
* Headers/Foundation/NSXMLNode.h: new class
* Headers/Foundation/NSXMLNodeOptions.h: new class
* Headers/Foundation/NSXMLDTD.h: new class
* Headers/Foundation/NSXMLDTDNode.h: new class
* Headers/Foundation/NSXMLElement.h: new class
* Headers/Foundation/Foundation.h: Add new class headers
* Source/NSXMLDocument.m: skeleton of class
* Source/NSXMLDTD.m: skeleton of class
* Source/NSXMLNode.m: skeleton of class
* Source/NSXMLDTDNode.m: skeleton of class
* Source/NSXMLElement.m: skeleton of class
* Source/NSXMLPrivate.h: Private header for all NSXMLNode based stuff.
* Source/GNUmakefile: Add new NSXML classes
* Source/DocMakefile: ditto
Mostly, add the (unimplemented) XML classes introduced in the latest
version of MacOS-X. Currently the classes are unimplemented method
stubs, but the idea is to wrap libxml2 in a similar way to that in
which GSXML does it.
NB. The current ivar layout is reverse engineered from MacOS-X on the
assumption that we will try to be extremely compatible and use the
same (inferred) mechanism of having the libxml2 tree be the master
data and only using the objc ivars to cache information when we
retrieve it in the form of NSStrings etc. Maybe we will chose to
do something different later.
2009-02-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: Correct error comparing method
signatures. Fixes bug #25520
2009-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Use pointerValue rather than
nonretainedObjectValue to hold classes ... because the garbage
collector might collect the latter, and we really just need to
hold references to classes without sending messages to them.
* Headers/Additions/GNUstepBase/GSIArray.h: Alterations for noe
Apple GC API
* Source/NSIndexSet.m: Use scanned memory for arrays.
2009-02-04 15:00-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUnarchiver.m: Correct issue with printing class name
when the unarchiver can't find the class.
2009-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMapTable.m:
* Source/NSHashTable.m:
* Source/NSPortCoder.m:
* Source/NSKeyedArchiver.m:
* Source/NSGarbageCollector.m:
* Source/NSZone.m:
* Source/GSDictionary.m:
* Source/GSCountedSet.m:
* Source/GSAttributedString.m:
* Source/NSNotificationCenter.m:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/GSSet.m:
* Source/NSConnection.m:
* Source/NSSerializer.m:
* Source/NSArchiver.m:
* Headers/Foundation/NSZone.h:
* Headers/Additions/GNUstepBase/GSIMap.h:
Scrap GSScannedMallocZone().. not really needed.
2009-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: Add some diagnostics and ensure that
delegates are removed from streams.
* Source/NSURLConnection.m: Add diagnostics for redirect.
* Source/GSStream.m: Set delegate to nil after failure.
2009-02-04 David Chisnall <csdavec@swansea.ac.uk>
* Source/GSArray.m: Further fast enumeration bugfixes.
* Source/GSEnumerator.m: ditto.
2009-02-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSZone.m: Restore binary compatibility with earlier code.
Thanks to David Chisnall for the idea.
2009-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: For file URL, make relative path absolute.
* Source/GSHTTPURLHandle.m:
* Source/Additions/GSMime.m:
Change HTTP status code to be an NSNumber rather than NSString
for MacOS-X compatibility
2009-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/readme.texi:
* README: Remove reference to Testing
* Examples/nsconnection_server.m:
* Examples/diningPhilosophers.m:
* Examples/nsconnection_client.m:
* Examples/nsconnection.m: Transferred from Testing
* Testing: removed
Removed Testing subdirectory. Now that locking tests are in the
testsuite all the code here is probably obsolete. If we find any
cases where that's not the case, we should recover anything we
need from svn and add it to the testsuite.
2009-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: Fixed last change to match MacOS-X behavior.
2009-01-29 17:49-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSLock.m: Change to correct documented/tested and observed
inconsistency between Cocoa (and OpenStep) and GNUstep.
Reinstatement of correction for bug #25307. Testing on both OpenStep
and on Cocoa clearly illustrates that throwing an exception in this
case was incorrect. It now emits a warning when the lock is attempted
again, but does not throw an exception.
* Testing/locktest/locktest.m: Change to test to correctly test
[NSConditionLock lock]
2009-01-28 21:48-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Testing/locktest/GNUmakefile
* Testing/locktest/GNUmakefile.preamble
* Testing/locktest/locktest.1
* Testing/locktest/LockTestInfo.plist
* Testing/locktest/locktest.m
* Testing/locktest/locktest_Prefix.pch
* Testing/locktest/locktest.xcodeproj/project.pbxproj
* Testing/locktest/PC.project: Test which confirms the behavior
observed on Mac OS X/Cocoa.
2009-01-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSEnumerator.m: Fix bug in fast enumeration code.
* Source/GSArray.m: Fix bug in array insertion introduced by last
patch.
2009-01-28 David Chisnall <csdavec@swansea.ac.uk>
* Headers/Foundation/NSEnumerator.h:
* Source/NSEnumerator.m:
* Source/GSArray.m:
* Source/GSprivate.h:
Add Apple's fast enumeration protocol.
2009-01-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Fix problem preventing stack traccces from
being generated.
2009-01-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSValue.m: ([valueWithNonretainedObject:]) zero the reference
when the object is collected.
2009-01-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Compatibility tweaks for a few MacOS-X oddities...
Initialise file URLs with a host of 'localhost' even though they
should really have none.
Return paths without a trailing slash, even when they were set
with one.
2009-01-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Fix for bug #25400
* Tools/gdnc.m: Fix failure to log exception (bug #25396)
* Tools/gdomap.c: Use snprintf for paranoid double check
of data in log buffer.
2009-01-23 Riccardo Mottola <rmottola@users.sf.net>
* Source/NSPointerFunctions.m,
* Headers/Foundation/NSPointerFunctions.h: Fix return pointer type
2009-01-23 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GNUstep.h:
Optimise retain/release management macros for the case where they
are dealing with none-nil values.
* Headers/Additions/GNUstepBase/GSIMap.h:
Some changes moving towards use of typed memory for gc.
* Headers/Foundation/NSPointerArray.h: New class header.
* Source/NSPointerArray.m: Skeletal (non-working) implementation
2009-01-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
Improve debug logging by including the address of the actual
handle concerned so that you can see which handle is doing what
when there are multiple handles in use.
* Source/NSGarbageCollector.m: Implement last methods.
* Headers/Foundation/NSGarbageCollector.h: Improve documentation.
* Source/NSAutoreleasePool.m: ([-drain[) Implemented.
* Headers/Foundation/NSAutoreleasePool.m: ([-drain]) fix comment.
* Source/NSPointerFunctions.m: New class implementation
* Headers/Foundation/NSPointerFunctions.h: Fix some declarations
* Headers/Foundation/Foundation.h: Include NSPointerFunctions.h
* Source/GNUmakefile: Build and install NSPointerFunctions
2009-01-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: ([setObject:forKey:]) copy the object
rather than just retaining it. Fixes bug #23570
2009-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/manual/ExceptionHandling.texi: Fix error in
example of use of NS_VALUERETURN spotted by David Chisnall.
2009-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m: Automtically remove collected observers
In a garbage collecting environment.
* Headers/Foundation/NSZone.h:
* Source/NSZone.m:
Add new functions for handling weak pointers. This allows all code
which uses the boehm garbage collector header to be localised in
NSZone.m and NSGarbageCollector.m
* Source/NSNotificationCenter.m:
Update to use new functions.
* Source/Additions/GSInsensitiveDictionary.m:
Fix to use scanned memory in a garbage collecting environment.
2009-01-19 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add options from pathconfig
* configure: regenerate
2009-01-19 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSZone.h:
* Source/NSZone.m:
Add NSAllocateCollectable() and NSReallocateCollectable() functions.
Move inline stuff from header to source fle so that GC differences
are hidden. Change behavior under GC so that the default malloc
zone is non-collectable (as under MacOS-X).
* Headers/Additions/GNUstepBase/GSIMap.h:
Use scanned collectable memory for map.
* Source/Additions/GSObjCRuntime.m:
Use NSAllocateCollectable() for fast buffer.
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSDictionary.m:
* Source/GSSet.m:
* Source/NSArchiver.m:
* Source/NSConnection.m:
* Source/NSHashTable.m:
* Source/NSKeyedArchiver.m:
* Source/NSMapTable.m:
* Source/NSNotificationCenter.m:
* Source/NSObject.m:
* Source/NSPortCoder.m:
* Source/NSSerializer.m:
* Source/NSPropertyList.m:
Use scanned collectable memory in places where we allocate memory to
hold pointers. This change is needed because of the switch to have
the default zone use unscanned uncollectable memory as in MacOS-X.
These changes probably just scratch the surface ... we need to review
all memory allocation as, anywhere we allocate memory now will need
to be done differently under GC. This does mean that all existing
code needs more work to port to GC than it otherwise would. On the
other hand, a switch to GC is really quite a major design change.
2009-01-17 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/unix/GSRunLoopCtxt.m (+awakenedBefore): Fix typo.
2009-01-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: Revert last change.
The Cocoa documentation actually says nothing about exceptions either
way. I recall there was some discussion about lock behavior a few
years ago, which concluded that the GNUstep behavior was the best
available ... it returns NO if the lock is unavailable, but raises an
exception if you try to lock the lock twice from the same thread,
since locking twice from the same thread is almost guaranteed to be
a programming error.
If we want to remove this check, we need to do it consistently for
all locks and document the new behavior.
2009-01-16 17:26-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSLock.m: Correction for bug #25307. According to Cocoa
documentation, NSConditionLock should return NO, if the lock is
unavailable. No exception should be thrown.
2009-01-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Revert temporary hack to work around bug in
NSAnimation, hopefully fixed in NSAnimation now.
2009-01-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Cleaned up a little and added hack as a temporary
fix for #25327, though I'm suspecting that the actual problme is in the
NSAnimation code.
2009-01-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/GSRunLoopCtxt.h:
* Source/win32/GSRunLoopCtxt.m:
Introduce new method to quickly check for notification of methods
to perform in the current loop.
2009-01-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSGarbageCollector.m: Avoid compiler warning
* Source/pathconfig/pathconfig.mak.in: Fix syntax error in warning
* Headers/Additions/GNUstepBase/GSCategories.h: remove obsolete methods
* GNUmakefile: Fix order of includes
* Source/GSArray.m: Remove unused line from last change
* Source/NSNotificationCenter.m: Remove unused line
2009-01-13 18:35-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GSArray.m
* Source/NSNotificationCenter.m: Quick fixes for two compiler
errors introduced by previous change.
2009-01-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSGarbageCollector.m: Mark the two unimplemented methods.
* Source/NSNotificationCenter.m: Automatically remove observers if
they are collected by the GC system.
* Source/NSThread.m: Make the GC system aware of each thread if poss.
* Source/GSArray.m: Don't use inline array class with GC.
* configure.ac: Add check for GC_register_my_thread
2009-01-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile:
* Headers/Foundation/NSGarbageCollector.h:
* Source/NSGarbageCollector.m:
* Headers/Foundation/Foundation.h:
Add new MacOS-X class.
2009-01-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/NSMessagePort.m:
* Source/NSNotificationCenter.m:
* Source/GSAttributedString.m:
* Source/NSObject.m:
* Source/Additions/GSLock.m:
* Source/NSConnection.m:
* Source/GSFileHandle.m:
* Source/NSLock.m:
* Source/NSDistantObject.m:
* Source/NSTask.m:
* SSL/GSSSLHandle.m:
* Documentation/Base.ispell:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSTask.h:
* Headers/Additions/GNUstepBase/GSFileHandle.h:
Change GC finalization API to match MacOS-X ... abandon libFoundation
compatibility in GC behavior.
2009-01-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexPath.m:
* Source/NSSocketPortNameServer.m:
* Source/NSTimeZone.m:
* Source/GSInvocation.h:
* Source/GSSocketStream.m:
* Source/NSValueTransformer.m:
* Source/NSPortCoder.m:
* Source/NSSpellServer.m:
* Source/NSBundle.m:
* Source/NSURLHandle.m:
* Source/NSPropertyList.m:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
* Source/NSDistributedNotificationCenter.m:
* Source/GNUmakefile:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/NSUserDefaults.m:
* Source/NSArray.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDebug.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSKeyValueObserving.m:
* Source/GSHTTPURLHandle.m:
* Source/GSFFIInvocation.m:
* Source/NSMessagePort.m:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/NSURLResponse.m:
* Source/NSURLProtocol.m:
* Source/NSException.m:
* Source/NSURL.m:
* Source/NSString.m:
* Source/NSObject.m:
* Source/NSDecimalNumber.m:
* Source/Additions/GSXML.m:
* Source/Additions/GNUmakefile:
* Source/Additions/GSCategories.m:
* Source/Additions/GCDictionary.m:
* Source/Additions/GSMime.m:
* Source/GSString.m:
* Source/NSConnection.m:
* Source/NSThread.m:
* Source/NSHost.m:
* Source/NSProtocolChecker.m:
* Source/GSHTTPAuthentication.m:
* Source/NSSerializer.m:
* Source/NSClassDescription.m:
* Source/GSFileHandle.m:
* Source/NSSet.m:
* Source/NSDistantObject.m:
* Source/NSTask.m:
* Source/NSNumberFormatter.m:
* Source/GSFTPURLHandle.m:
* SSL/GSSSLHandle.m:
* configure.ac:
* configure:
* base.make.in:
* Tools/sfparse.m:
* Tools/plget.m:
* Tools/AGSParser.m:
* Tools/autogsdoc.m:
* Tools/AGSOutput.m:
* Tools/HTMLLinker.m:
Tweaks to get things to compile with garbage collection again
and (mostly) compile without warnings.
2009-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimer.m: ([invalidate]) release target and user info.
2009-01-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Revert last change. Remove undocumented code
which looked for operating system specific files. Also changed
behavior when given a nil/empty extension to match MacOS-X.
Also optimised and simplified code and changed a private method
which was missing the leading underscore.
2009-01-07 16:33-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundle.m: Correct issue where *-gnustep.* is not
searched for when explicitly calling pathForResource:...
2009-01-06 Richard Frith-Macdonald <rfm@gnu.org>
* configure:
* config.mak.in:
* Source/NSPathUtilities.m:
* Source/GNUmakefile:
* Source/pathconfig:
* Source/pathconfig/configure:
* Source/pathconfig/configure.ac:
* Source/pathconfig/pathconfig.h.in:
* Source/pathconfig/pathconfig.mak.in:
* SSL/GNUmakefile:
* configure.ac:
* Documentation/GNUmakefile:
* NSTimeZones/GNUmakefile:
* GNUmakefile:
* Tools/GNUmakefile:
* Testing/GNUmakefile:
Move path configuration stuff into separate subdirectry/file so that
we can hack it more easily and so that only the code that needs it
will include it.
2009-01-06 Nicola Pero <nicola.pero@meta-innovation.com>
* config.mak.in: Check here if GNUSTEP_BASE_DOMAIN and
GNUSTEP_INSTALLATION_DOMAIN do not match when using relative
paths. If they do not match, print a long explanation of how to
fix the problem, and abort. If relative paths are not used,
automatically set GNUSTEP_INSTALLATION_DOMAIN to the domain that
was chosen at configure time - unless overridden on the command
line.
* Makefile.postamble: Removed before-all rule that was doing the
check now in config.mak.in.
* SSL/Makefile.postamble (config.mak): Touch config.mak after
running config.status to prevent spurious invocations of
config.status.
(config.h): Always touch config.h after running config.status for
the same reason.
2009-01-06 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Detect relative paths in the paths that we
hardcode into gnustep-base, and set the
GNUSTEP_BASE_RELATIVE_PATHS variable if any is found.
* configure: Regenerated.
* config.mak.in: Added GNUSTEP_BASE_RELATIVE_PATHS.
* Makefile.postamble: Only do the automatic reconfiguration at
install time if GNUSTEP_BASE_RELATIVE_PATHS is set. Make the
message printed when we reconfigure more prominent.
2009-01-05 17:58-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSBundle.m: Use CFBundleExecutable if NSExecutable isn't
present when loading the bundle object code.
2009-01-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSKeyValueObserving.m (-overrideSetterFor:): Only output
a NSDebugLLog() not an NSLog() when the class has no setter for
the key.
2009-01-05 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSString.m (-paragraphRangeForRange:,
-getParagraphStart:...): Basic implementation of these methods.
2009-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: check for performers in thread even if there are
no input sources available.
* Source/unix/GSRunLoopCtxt.m: Add diagnostics
* Source/win32/GSRunLoopCtxt.m: Add diagnostics
* Testing/thread.m: Change to allow perform in maion thrad to take
place and program to terminate.
2009-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/mframe/sparc64/generic: guess at a config
* Source/mframe/sparc64/openbsd: guess at a config
* Source/mframe/configure.ac: add sparc64
* Source/mframe/configure: regenerate
Guess at config for sparc64 openbsd
2009-01-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: ([+bundleForLibrary:]) return nil if the
supplied library name is empty.
2008-12-31 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDecimalNumber.m (-initWithBytes:objCType:): Avoid
memory leak and memory corruption by retaining notANumber before
returning it.
2008-12-29 Richard Frith-Macdonald <rfm@gnu.org>
* Makefile.postamble (before-all): Remove test for mingw on situation
which can occur on all systems, not just mingw.
2008-12-25 11:10-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/GNUmakefile: Add new NSObjectNSComparisonMethods.m
category to the makefile.
* Source/NSObject+NSComparisonMethods.m: Added to implement
Mac OS X specific methods for comparison of objects. On Cocoa these
are in NSScriptWhoseTests.h, but since GNUstep doesn't support
Apple Script I've put them in a separate category for now. Some
applications use these to do comparisons (even though they are for
scripting). The location of these may change in the future depending
on if we implement scripting.
2008-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Improved help for --with-installation-domain=xxx.
If no --with-installation-domain=xxx option is used, and
gnustep-config supports the new option
--installation-domain-for=gnustep-base, use it to determine the
installation domain as accurately as possible (including
supporting the environment variable GNUSTEP_INSTALLATION_DOMAIN
and the installation-domains.conf file). Otherwise fall back to
LOCAL. If an invalid installation domain is provided on the
command-line, abort with an error.
* configure: Regenerated.
* GNUmakefile: Set PACKAGE_NAME before importing common.make. Do
not try to set GNUSTEP_BASE_DOMAIN or GNUSTEP_INSTALLATION_DOMAIN.
* Makefile.postamble (before-all): Only check that
GNUSTEP_BASE_DOMAIN matches GNUSTEP_INSTALLATION_DOMAIN on MinGW.
Quote GNUSTEP_BASE_DOMAIN and GNUSTEP_INSTALLATION_DOMAIN to catch
the case when one of them is empty. Added ECHO_NOTHING to the
rule to suppress ugly code output. Print an error message when
reconfiguring automatically.
2008-12-22 Richard Frith-Macdonald <rfm@gnu.org>
* Version 1.19.0
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
Update for new release.
* configure.ac: Fix error checking for objc_set_unexpected
* configure: regenerate
2008-12-22 Richard Frith-Macdonald <rfm@gnu.org>
* config.mak.in:
* configure:
* Makefile.postamble:
* configure.ac:
* GNUmakefile:
Update from stable branch.
2008-12-21 Adam Fedor <fedor@gnu.org>
* Update documentation for version 1.18.0
2008-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
* All GNUmakefiles: removed GNUSTEP_CORE_SOFTWARE=YES and
added PACKAGE_NAME=gnustep-base.
* GNUmakefile: Export PACKAGE_NAME to reduce chances of a problem
if a GNUmakefile in a subdirectory is missing it.
* Tools/make_strings/GNUmakefile: Do not set PACKAGE_NAME to
make_strings.
* Testing/synctest/GNUmakefile: Do not set PACKAGE_NAME to Synctest.
2008-12-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Merge in bugfixes from stable branch.
2008-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
* All GNUmakefiles: added GNUSTEP_CORE_SOFTWARE=YES at the
beginning.
* GNUmakefile: Export GNUSTEP_CORE_SOFTWARE to reduce chances of a
problem if a GNUmakefile in a subdirectory is missing it.
* Documentation/General/GNUmakefile: Removed setting
GNUSTEP_INSTALLATION_DOMAIN to SYSTEM.
2008-12-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m:
* Tools/gdnc.m:
Enable keepalive only on mswindows and for server connections using
NSMessagePort.
2008-12-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLock.m: Tiny cleanup of lock finalisation process.
2008-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: When initialising with schem, host and path, allow
the host to contain username, password and port as well as just the
host. Document this change (which seems to be how MacOS-X works).
2008-12-09 Wolfgang Lux <wlux@uni-muenster.de>
* Source/unix/GSRunLoopCtxt.m (-pollUntil:within): Add missing
local variable declaration and fix incorrect arguments for some
receivedEvent:type:extra:forMode: messages in the select based
implementation.
2008-12-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedUnarchiver.m: ([versionForClassName:]) implement
* Source/NSUnarchiver.m:
* Source/NSCoder.m:
* Headers/Foundation/NSCoder.h:
Update method to return NSInteger.
2008-12-07 Adam Fedor <fedor@gnu.org>
* configure.ac: Add custom objc library check from gnustep-make
(So we can find libobjc in LOCAL domain).
2008-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSConnection.h:
* Source/NSConnection.m:
Fix keepalive bugs.
2008-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/NSTask+GS.h: NSTask category
* Headers/Additions/GNUstepBase/GSCategories.h: remove NSTask
* Source/NSDistributedNotificationCenter.m: Use new header
* Source/NSSocketPortNameServer.m: Use new header
Reorganise so we have a lightweight header for the category of
NSTask containing additional gnustep specific methods.
2008-12-06 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSBundle.m (+bundleForLibrary:version:): Fix infinite
loop in code dropping the extension from the library name.
2008-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m:
Hack to avoid issues on systems where the xml headers use the reserved
word 'id'.
2008-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSCategories.m: ([+launchPathForTool:])
Convenience method to locate a tool in the standard locations or in the
PATH so that it can be used as the launch path of a task.
2008-12-05 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: On mingw32, set GNUSTEP_BASE_PATH to
GNUSTEP_LOCAL_TOOLS by default to match the new default
installation domain. Added new option --with-installation-domain
allowing to override this setting.
* configure: Regenerated.
2008-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: ([bundleForLibrary:version:]) extract version
from end of library name if possible.
([_addFrameworkFromClass:]) find the framework directory from path to
the dll on windows.
2008-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: Fix minor thread-safety issue
with behaviors ... lock the runtime while modifying method lists.
* Source/NSDictionary.m: Fix initialisation order so that if two
threads are initialising the cached class info should always be
set up in the correct order.
* Source/NSSet.m: ditto.
2008-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Implement ipv6 addresses as per RFC2732
Fixes #25003
2008-12-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m:
Add class for caching pairs of socket streams so we can eventually
implement connection keepalive.
2008-12-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m:
* Source/NSURLProtocol.m:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Testing/nsconnection_client.m:
When working with abstract selectors, try to use untyped ones so that
we don't confuse checks we put into the method signature code.
2008-11-30 Wolfgang Lux <wolfgang.lux@gmail.com>
* install.sh: Fix header syntax and provide default for make
command argument.
2008-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.unexpected.m: Add check for objc_set_unexpected
* configure.ac: Use new check
* configure: Regenerate
* Headers/Additions/GNUstepBase/config.h.in: Regenerate
* Source/GSSocketStream.m: Fix reliabce on expression evaluation order
* Source/NSException.m: Implement uncaught exception handler for
when native objc exceptions are enabled.
2008-11-27 Fred Kiefer <FredKiefer@gmx.de>
* configure.ac: Correct typing error in last change.
* configure: regenerate
2008-11-27 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: check for native exceptions use.
* configure: regenerate
Disable the use of ffcall with native exceptions as the two are
incompatible (ffcall changes the stack so that throwing an exception
will crash the process).
2008-11-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedNotificationCenter.m:
* Tools/gdnc.h:
* Tools/gdnc.m:
Use NSUInteger for the observer ID.
2008-11-27 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/GNUmakefile:
* GNUmakefile:
* NSCharacterSets/GNUmakefile:
* NSTimeZones/GNUmakefile:
* Resources/GNUmakefile:
* Source/GNUmakefile:
* SSL/GNUmakefile:
* Tools/GNUmakefile:
Removed GNUSTEP_INSTALLATION_DOMAIN.
NB. This means that gnustep-base will now install in the local domain
by default, and to get the old behavior you will need to do
'make GNUSTEP_INSTALLATION_DOMAIN=SYSTEM install'
The rationale for this change is that the system domain is for
resources installed by the operating system packagers, but the
local domain is for add-ons you install yourself (to be used by
all users of the system), and you don't normally want to overwrite
the operating system supplied version by accident.
2008-11-26 10:09-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/Additions/GNUstepBase/GSVersionMacros.h: Add
defines for earlier version of Mac OS X back to 10.0.
* Source/synchronization.m: Correct a problem found during testing.
* Testing/synctest/main.m: Updated test.
2008-11-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: ([methodSignatureForSelector:]) Check that the
types of the selector (if known) and the types of the actual method
match. Raise an NSInternalInconsistencyException if they don't.
2008-11-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/unicode/gsm0338.h: Add more mappings from unicode
characters representing accented letters to simple letters in the gsm
alphabet for lossy conversion.
2008-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* re-bump version to 1.17.0 for next release when we make a new
unstable branch.
2008-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Version: set to 1.15.4 for new release on unstable branch.
* Documentation/ReleaseNotes.gsdoc: Document the 1.15.4 release
Make new release on unstable branch to that it's keeping up with
the bugfixes in the stable branch.
2008-11-20 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSConnection.h: New ivars
* Source/NSConnection.m: Add diuagnostic information and implement
private mechanism for keepalive (for mswindows, where the NSMessagePort
implementation doesn;t know if the remote end has gone away until it
attempts to send to it).
* Tools/gdnc..m: Use private keepalive mechanism.
2008-11-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Fix bug #24883
* Headers/Foundation/NSRange.h: Update to use NSUInteger
2008-11-19 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Changes to tolerate older version of gnutls
* configure: regenerate
* config/pathtls.m4: Fix typos
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Source/GSSocketStream.m: Fix to send required events to handler
after SSL or SOCKS module has dealt with them.
* Source/GSStream.h: New method to reset sent events mask
* Source/GSStream.m: ditto
* Source/GSString.m: Fix nil pointer reference
2008-11-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Check class of arguments to designated initialiser
* configure.ac: Warn about bug in libkvm
* configure: Regenerate
* Source/NSProcessInfo.m: Report problem in libkvm and suggest
workarounds.
2008-11-17 Roland Schwingel <roland.schwingel@onevision.de>
* Source/GSSocketStream.m:
* Source/NSPropertyList.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/GSFFCallInvocation.m:
* Source/NSArray.m:
* Source/inet_ntop.c:
* Source/NSDebug.m:
* Source/NSPredicate.m:
* Source/GSHTTPURLHandle.m:
* Source/GSFFIInvocation.m:
* Source/NSMessagePort.m:
* Source/win32/GSFileHandle.m:
* Source/win32/NSUserDefaults.m:
* Source/win32/NSMessagePort.m:
* Source/win32/GSRunLoopCtxt.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSKeyValueMutableArray.m:
* Source/NSURL.m:
* Source/mframe.m:
* Source/NSObject.m:
* Source/NSString.m:
* Source/NSDecimalNumber.m:
* Source/cifframe.m:
* Source/Additions/GSXML.m:
* Source/GSString.m:
* Source/NSConnection.m:
* Source/NSProxy.m:
* Source/GSFormat.m:
* Source/NSSet.m:
* Source/NSTask.m:
* Source/NSCharacterSet.m:
* Source/NSNumberFormatter.m:
Cosmetic changes plus a couple of fixes for 64bit mswindows.
2008-11-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m: Remove useless sysctl command.
* Source/NSMessagePort.m: Ensure port is not deallocated while
being invalidated. Fix memory leak of port lock.
* Source/NSSocketPort.m: ditto
2008-11-15 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSMessagePort.m (-invalidate, -removeHandle:): Fix
potential crash while closing a message port.
2008-11-14 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSProcessInfo.m (-processorCount, -activeProcessorCount):
Improve portability.
* Source/NSPathUtilities.m (NSTemporaryDirectory): Use /var/tmp on
Darwin since /tmp is cleaned regularly.
2008-10-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPage.m: Update to use NSUInteger and to cope with large
address space in windows.
* Headers/Foundation/NSObjCRuntime.h: typedef NSUInteger earlier
* Headers/Foundation/NSZone.h: Update to use NSUInteger.
* Source/NSProcessInfo.m; implement new MacOS-x 5 methods based on
Fred's suggestion and Scotts code as fallback and wiht a version
for mswindows too.
2008-10-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: implement KVC methods to get and set values
as these appear to be an undocumented feature of MacOS-X (bug #24807).
2008-11-05 17:27-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Testing/synctest/GNUmakefile
* Testing/synctest/GNUmakefile.postamble
* Testing/synctest/GNUmakefile.preamble
* Testing/synctest/main.m
* Testing/synctest/PC.project
* Testing/synctest/PC.project.backup
* Testing/synctest/SyncTestInfo.plist: Added test tool for
@synchronize.
2008-10-30 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Improve error messages and information about
the -a option.
* Source/NSPredicate.m: parse literal strings
2008-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Fix stacktrace to be available when built
without DEBUG=YES. Check environment variable to activate/deactivate.
* Documentation/Basegsdoc: Improve documentation of stack trace.
2008-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Cope with loads of leading space in
intValue and doubleValue.
2008-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: Fix possible problem when current unix locale
does not use '.' as the decimal separator.
2008-10-27 Nicola Pero <nicola.pero@meta-innovation.com>
* Headers/Foundation/NSFileManager.h: Fixed typo - declare NSError
class before referencing it.
2008-10-26 20:59-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/Foundation/NSFileManager.h: Added declaration for new method
here.
* Source/NSFileManager.m: Added implementation for the method
-(BOOL)createDirectoryAtPath:withIntermediateDirectories:attributes:
error:.
2008-10-19 Wolfgang Lux <wolfgang.lux@gmail.com>
* configure.ac: fix test for sychronization in objc runtime.
2008-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/synchronization.m: make internal functions private.
2008-10-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Fix typo (bug #24573)
2008-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Fix for #24564
* Source/inet_pton.c: Fix for #24563
* Source/inet_ntop.c: Fix for #24563
2008-10-12 Larry Campbelln
* Source/NSDate.m: Add keyed archiving support.
2008-10-11 Eric Wasylishen
* Source/NSBundle.m: fix bug #24320
2008-10-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZones/NSTimeZones.tar: updated.
2008-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Ensure that we always return NO when we
need mo more data to complete parsing.
* Source/GSHTTPURLHandle.mL: Fix check for response parse completion.
2008-10-01 Adam Fedor <fedor@gnu.org>
* Source/DocMakefile: Add NSAffineTranform
2008-09-29 22:54-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/synchronization.m: Remove uneeded objc_sync_remove_node
function.
2008-09-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Fix compilation problem on systems
without iconv.
2008-09-25 00:18-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/synchronization.m: Correct issue in objc_sync_remove_node()
method where it could do a NULL dereference. Also moved the locks on
the tables to the highest level so to reduce the possibility of
threading issues.
2008-09-24 17:26-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUserDefaults.m: Corrected previous change.
2008-09-24 08:25-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUserDefaults.m: -addSuiteNamed change so that we don't
rely on the value of NSNotFound being -(2^32)-1 and a rollover to
0.
2008-09-23 20:31-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* config.mak.in: Added reference to HAVE_OBJC_SYNC_ENTER
* configure: Recompiled script
* configure.ac: Changed configure to check for objc_sync_enter
function.
* Headers/Additions/GNUstepBase/config.h.in: Added #define here for
HAVE_OBJC_SYNC_ENTER
* Source/GNUmakefile: Added check for the value, if no, then compile
synchronization.m
* Source/synchronization.m: Implementation for @synchronize support.
2008-09-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: add a couple of checks to ensure correct
initialisation of class.
* Source/NSDate.m:
* Source/NSCalendarDate.m: Check for time interval since reference
date being NaN, and raise an exception.
2008-09-21 00:05-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* COPYINGv3: Adding back in.
2008-09-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedLock.m: Standardise the path we are given for
the lock file.
2008-09-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSThread.m: try to make firing of thread performers
more robust.
* Source/Additions/GSMime.m: make some NSLog() calls be debug only.
2008-09-14 13:20-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* install.sh: Install script for use by compile-all.
2008-08-25 18:55-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* COPYINGv3: Remove since GNUstep is now GPLv2 again.
* Headers/Foundation/NSNumberFormatter.h
* Source/NSNumberFormatter.m: Added methods missing from GNUstep
that are present in 10.4 (stringFromNumber:, numberFromString:)
2008-08-25 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSAutoreleasePool.m (-drain): Implement.
* Source/NSAutoreleasePool.m (-dealloc): Reset _parent and _child.
* Source/NSAutoreleasePool.m (-_endThread:): Free cache of ended
thread not of current.
2008-08-20 Yavor Doganov <yavor@gnu.org> (tiny change)
* config/procfs.m4: Check for `proc' in /proc/mounts rather than
relying on the output of `mount'; fixes build issue in
chroots. Reported by Funda Wang (bug #23876).
2008-07-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSCategories.m: littleEndian() fix to work on
systems with other word sizes.
2008-07-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h: New private function to get range of string func.
* Source/NSString.m: Optimise replacing string in string.
* Source/GSString.m: New function to return range getting function.
* Source/GSeq.h: Fixup comment
* Testing/string.m: Add trival check.
Optimise ([replaceOccurrencesOfString:withString:options:range:])
2008-07-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Add support for byte order specific
unicode (including 32bit) via iconv. Change encoding lookup
mechanism to cope with new Mac-OS-X encoding values.
2008-07-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m:
* Source/NSArray.m:
* Source/NSSortDescriptor.m:
* Source/Additions/GSCompatibility.m:
* Source/NSDictionary.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
Wherever ([-getObjects:]) is called, check to see if the receiver is
a proxy, and if so we populate the buffer by calling ([-objectAtIndex:])
instead. This because a proxy via DO does not know how many itesm are
in the buffer and assumes it's only one.
2008-07-06 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: use libffi in preference to ffcall as it doesn't mess
up the stack.
* configure: regenerate
2008-07-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexSet.m: Implement ([-countOfIndexesInRange:])
2008-06-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFIInvocation.m:
* Source/NSInvocation.m:
* Source/cifframe.h:
* Source/cifframe.m:
Tweaks to get NS_MESSAGE and NS_INVOCATION working on my 64bit
system.
2008-06-28 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for sys/mman.h and mprotect
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Source/GSFFIInvocation.m: Use mmap and mprotect to ensure that
closure memory is executable.
2008-06-27 17:22-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUnarchiver.m: Issue a warning when the class can't be
resolved by the runtime in decodeValueOfObjCType:at:.
2008-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: sort dictionary keys only if they are
strings. This is the new MacOS-X behavior (old behavior was to sort
if all responded to compare:).
Fixes bug #23727
2008-06-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSException.h
* Source/NSException.h
Change macros for setting uncaught handler to be functions (to match
MacOS-X) and make the pointer itsself be private.
2008-06-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Fix error getting run loop for current
thread when it has not already been set.
2008-06-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSUnion.h: add NSUInteger type as addr
* Headers/Additions/GNUstepBase/GSIMap.h: use addr for
GSIMapNodeForSimpleKey() so that it works for pointers on machines
where sizeof(int) != sizeof(void*)
2008-06-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Be more tolerant of illegal data in
quoted printable words.
2008-06-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Fix incorrect adjustment of buffer
when handling large string containing multibyte utf-8 data.
2008-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Update timezones, bump version to 1.17.0 for next release.
2008-06-12 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/ReleaseNotes.gsdoc: Add information about movement
to MacOS-X compatibility.
2008-06-11 David Ayers <ayers@fsfe.org>
* Source/NSNumberFormatter.m ([-stringForObjectValue:]): Implement
handling of localizesFormat.
Return string value of attributedStringForZero if applicable so that
formatting for the common case is not short circuted for zero.
2008-06-10 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m: if something is scheduled for removal, mark it as
'Likely to be changed/moved/removed' rather than 'deprecated'.
2008-06-10 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSSerialization.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/NSInvocation.h:
Fix typo in macro name
2008-06-10 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for stdlib.h
* Headers/Additions/GNUstepBase/config.h.in: add stdlib.h
* configure: Regenerate
* Source/NSString.m: Don't use realpath unless PATH_MAX is known
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSSerialization.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/NSInvocation.h:
Mark non-OSX methods as deprecated so we can move them to the
additions library or delete them if we want to.
2008-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* COPYINGv3:
* NSCharacterSets/GNUmakefile:
* Source/NSIndexPath.m:
* Source/NSSocketPortNameServer.m:
* Source/NSMapTable.m:
* Source/GSLocale.m:
* Source/GSSocketStream.h:
* Source/NSTimeZone.m:
* Source/NSNetServices.m:
* Source/hpux-load.h:
* Source/NSHashTable.m:
* Source/GSInvocation.h:
* Source/NSURLCredential.m:
* Source/GSSocketStream.m:
* Source/NSValueTransformer.m:
* Source/NSPortCoder.m:
* Source/NSURLAuthenticationChallenge.m:
* Source/Makefile.postamble:
* Source/NSSpellServer.m:
* Source/NSCalendarDate.m:
* Source/NSBundle.m:
* Source/NSKeyValueCoding.m:
* Source/NSURLHandle.m:
* Source/NSTimer.m:
* Source/NSPropertyList.m:
* Source/libgnustep-base-entry.m:
* Source/GSConcreteValueTemplate.m:
* Source/NSAffineTransform.m:
* Source/CompatibilityHeaders.make:
* Source/NSPathUtilities.m:
* Source/NSScanner.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSProcessInfo.m:
* Source/NSGeometry.m:
* Source/NSNotificationQueue.m:
* Source/GNUmakefile:
* Source/thr-mach.h:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/NSAttributedString.m:
* Source/NSUndoManager.m:
* Source/NSMethodSignature.m:
* Source/thr-mach.m:
* Source/NSFormatter.m:
* Source/NSUserDefaults.m:
* Source/GSArray.m:
* Source/GSFFCallInvocation.m:
* Source/mframe/configure.ac:
* Source/mframe/mframe.head:
* Source/mframe/README:
* Source/NSKeyValueMutableSet.m:
* Source/NSArray.m:
* Source/GSStream.h:
* Source/NSMessagePortNameServer.m:
* Source/objc-gnu2next.m:
* Source/GSStream.m:
* Source/NSKeyedArchiver.m:
* Source/NSDebug.m:
* Source/unix/Makefile.preamble:
* Source/unix/GNUmakefile:
* Source/unix/NSStream.m:
* Source/NSKeyedUnarchiver.m:
* Source/GSConcreteValue.m:
* Source/NSPortMessage.m:
* Source/NSURLDownload.m:
* Source/NSDistributedLock.m:
* Source/NSFileHandle.m:
* Source/NSPredicate.m:
* Source/simple-load.h:
* Source/preface.m:
* Source/NSKeyValueObserving.m:
* Source/NSAssertionHandler.m:
* Source/GSHTTPURLHandle.m:
* Source/NSConcreteNumberTemplate.m:
* Source/win32-load.h:
* Source/NSCallBacks.h:
* Source/NSZone.m:
* Source/NSPage.m:
* Source/NSCallBacks.m:
* Source/NSURLCredentialStorage.m:
* Source/NSPort.m:
* Source/NSSortDescriptor.m:
* Source/GSFFIInvocation.m:
* Source/NSMessagePort.m:
* Source/GSPrivate.h:
* Source/GSDictionary.m:
* Source/win32/GSFileHandle.m:
* Source/win32/Makefile.preamble:
* Source/win32/NSMessagePort.m:
* Source/win32/GNUmakefile:
* Source/win32/NSStream.m:
* Source/win32/NSMessagePortNameServer.m:
* Source/NSUnarchiver.m:
* Source/GSCountedSet.m:
* Source/NSConcreteNumber.h:
* Source/NSInvocation.m:
* Source/dld-load.h:
* Source/NSFileManager.m:
* Source/NSConcreteNumber.m:
* Source/NSURLResponse.m:
* Source/thr-pthread.m:
* Source/objc-load.h:
* Source/NSURLProtocol.m:
* Source/NSURLCache.m:
* Source/externs.m:
* Source/NSNotificationCenter.m:
* Source/GSAttributedString.m:
* Source/objc-load.m:
* Source/NSRange.m:
* Source/NSCoder.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSException.m:
* Source/NSKeyValueMutableArray.m:
* Source/NSCopyObject.m:
* Source/NSURL.m:
* Source/cifframe.h:
* Source/NSString.m:
* Source/NSObject.m:
* Source/mframe.m:
* Source/DocMakefile:
* Source/NSDecimalNumber.m:
* Source/NSCachedURLResponse.m:
* Source/cifframe.m:
* Source/null-load.h:
* Source/Additions/Unicode.m:
* Source/Additions/GCArray.m:
* Source/Additions/GSXML.m:
* Source/Additions/GNUmakefile:
* Source/Additions/behavior.m:
* Source/Additions/GSFunctions.m:
* Source/Additions/GSCompatibility.m:
* Source/Additions/Makefile.preamble:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/GSNextRuntime.m:
* Source/Additions/GCDictionary.m:
* Source/Additions/GSCategories.m:
* Source/Additions/GCObject.m:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSLock.m:
* Source/GSSet.m:
* Source/NSNotification.m:
* Source/NSNumber.m:
* Source/NSDecimal.m:
* Source/GSString.m:
* Source/NSConnection.m:
* Source/NSDateFormatter.m:
* Source/GSPortPrivate.h:
* Source/NSAutoreleasePool.m:
* Source/NSThread.m:
* Source/NSData.m:
* Source/NSHTTPCookie.m:
* Source/NSDate.m:
* Source/NSHost.m:
* Source/GSNetwork.h:
* Source/callframe.h:
* Source/NSProxy.m:
* Source/NSObjCRuntime.m:
* Source/NSURLProtectionSpace.m:
* Source/callframe.m:
* Source/NSProtocolChecker.m:
* Source/NSError.m:
* Source/GSeq.h:
* Source/NSPipe.m:
* Source/GSValue.m:
* Source/NSDictionary.m:
* Source/Makefile.preamble:
* Source/GSHTTPAuthentication.m:
* Source/NSClassDescription.m:
* Source/NSSerializer.m:
* Source/NSNull.m:
* Source/NSURLRequest.m:
* Source/NSValue.m:
* Source/NSCountedSet.m:
* Source/NSLog.m:
* Source/GSFormat.m:
* Source/NSIndexSet.m:
* Source/GSFileHandle.m:
* Source/NSLock.m:
* Source/NSSet.m:
* Source/NSDistantObject.m:
* Source/NSTask.m:
* Source/NSArchiver.m:
* Source/win32-def.top:
* Source/NSCharacterSet.m:
* Source/NSPortNameServer.m:
* Source/NSNumberFormatter.m:
* Source/NSXMLParser.m:
* Source/GSFTPURLHandle.m:
* Source/NSEnumerator.m:
* Source/GSURLPrivate.h:
* Source/NSURLConnection.m:
* SSL/GSSSLHandle.m:
* SSL/Makefile.postamble:
* SSL/Makefile.preamble:
* SSL/configure.ac:
* SSL/GNUmakefile:
* SSL/COPYING.LIB:
* Makefile.postamble:
* configure.ac:
* COPYING:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSRange.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSByteOrder.h:
* Headers/Foundation/NSValueTransformer.h:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSKeyValueCoding.h:
* Headers/Foundation/NSPointerFunctions.h:
* Headers/Foundation/NSSerialization.h:
* Headers/Foundation/NSURLHandle.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSAffineTransform.h:
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSPathUtilities.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSNotificationQueue.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSGeometry.h:
* Headers/Foundation/NSDecimal.h:
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSFormatter.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSProxy.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSPortMessage.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSPredicate.h:
* Headers/Foundation/FoundationErrors.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSErrorRecoveryAttempting.h:
* Headers/Foundation/NSClassDescription.h:
* Headers/Foundation/NSNull.h:
* Headers/Foundation/NSZone.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSDistantObject.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/Foundation.h:
* Headers/Foundation/NSCharacterSet.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSUtilities.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSEnumerator.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSMapTable.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Additions/GNUstepBase/GSLocale.h:
* Headers/Additions/GNUstepBase/GSXML.h:
* Headers/Additions/GNUstepBase/DistributedObjects.h:
* Headers/Additions/GNUstepBase/behavior.h:
* Headers/Additions/GNUstepBase/GSFunctions.h:
* Headers/Additions/GNUstepBase/GSConfig.h.in:
* Headers/Additions/GNUstepBase/preface.h.in:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Headers/Additions/GNUstepBase/GSCategories.h:
* Headers/Additions/GNUstepBase/GSIMap.h:
* Headers/Additions/GNUstepBase/GCObject.h:
* Headers/Additions/GNUstepBase/GSMime.h:
* Headers/Additions/GNUstepBase/GSIArray.h:
* Headers/Additions/GNUstepBase/GSUnion.h:
* Headers/Additions/GNUstepBase/GSLock.h:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
* Headers/Additions/GNUstepBase/GSFileHandle.h:
* Headers/Additions/GNUstepBase/GNUstep.h:
* Headers/Additions/GNUstepBase/objc-gnu2next.h:
* Headers/Additions/GNUstepBase/Unicode.h:
* Makefile:
* GNUmakefile:
* macosx/config.h:
* base.make.in:
* Tools/gspath.m:
* Tools/AGSHtml.h:
* Tools/plmerge.m:
* Tools/xmlparse.m:
* Tools/AGSIndex.h:
* Tools/AGSHtml.m:
* Tools/AGSIndex.m:
* Tools/sfparse.m:
* Tools/gdnc.h:
* Tools/plparse.m:
* Tools/pldes.m:
* Tools/defaults.m:
* Tools/Makefile.postamble:
* Tools/locale_alias.m:
* Tools/Makefile.preamble:
* Tools/DocMakefile:
* Tools/gsdoc-1_0_0.dtd:
* Tools/plget.m:
* Tools/pl2link.m:
* Tools/gdnc.m:
* Tools/gsdoc-1_0_1.dtd:
* Tools/gsdoc-1_0_2.dtd:
* Tools/gsdoc-1_0_3.dtd:
* Tools/AGSParser.h:
* Tools/gsdoc-1_0_1.rnc:
* Tools/gsdoc-0_6_5.dtd:
* Tools/gsdoc-0_6_6.dtd:
* Tools/plser.m:
* Tools/gsdoc-0_6_7.dtd:
* Tools/AGSOutput.h:
* Tools/AGSParser.m:
* Tools/autogsdoc.m:
* Tools/make_strings/StringsFile.h:
* Tools/make_strings/StringsEntry.h:
* Tools/make_strings/make_strings.m:
* Tools/make_strings/StringsFile.m:
* Tools/make_strings/StringsEntry.m:
* Tools/make_strings/GNUmakefile:
* Tools/make_strings/SourceEntry.h:
* Tools/make_strings/make_strings.h:
* Tools/make_strings/GNUmakefile.preamble:
* Tools/make_strings/SourceEntry.m:
* Tools/AGSOutput.m:
* Tools/GNUmakefile:
* Tools/gdomap.c:
* Tools/plist-0_9.dtd:
* Tools/gdomap.h:
* Tools/HTMLLinker.m:
* Tools/pl.m:
* Tools/cvtenc.m:
* config/config.constant-string-class.m:
* Testing/Makefile.postamble:
* Testing/exported-strings.m:
* Testing/gslock.m:
* Testing/GNUmakefile:
* Testing/nsattributedstring.m:
* Testing/nsmethodsignature.m:
* Testing/diningPhilosophers.m:
* Testing/gsbehavior.m:
* Testing/Makefile.preamble:
* Testing/benchmark.m:
* COPYING.LIB:
Temporarily revert library and essential tools to LGPLv2 so that
developers have longer to get used to LGPLv3.
Keep non-essential tools and examples at GPLv3
2008-06-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m:
Fix possible deadlock reported by Larry Campbell, and improve
optimisation a little.
2008-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Monitor to see if the time zone specified in
the user defaults system changes. If so, we update the system zone.
2008-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSLocale.m:
* Source/NSTimeZone.m:
* Source/NSNetServices.m:
* Source/NSSpellServer.m:
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSScanner.m:
* Source/NSProcessInfo.m:
* Source/NSArray.m:
* Source/externs.m:
* Source/NSCoder.m:
* Source/NSString.m:
* Source/NSConnection.m:
* Source/NSAutoreleasePool.m:
* Source/NSData.m:
* Source/NSObjCRuntime.m:
* Source/NSIndexSet.m:
* Source/NSLock.m:
* Source/NSSet.m:
* Documentation/ReleaseNotes.gsdoc:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSNetServices.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSSpellServer.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSPathUtilities.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSSet.h:
Lots of small OSX10.5 compatibility updates:-
Some new enumerations and constant strings.
Some new method implementations.
Some new empty method stubs.
Change NSLocale constant string to GSLocale in preparation for adding
the new NSLocal class.
2008-05-25 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: For now, only use ffi for sparc64 on solaris as
it doesn't appear to work on bsd.
2008-05-24 Nicola Pero <nicola.pero@meta-innovation.com>
* Tools/Makefile.postamble: Use GNUSTEP_DOC_MAN instead of
GNUSTEP_DOCUMENTATION_MAN. This requires gnustep-make version 2,
but that was already a requirement. (Suggestion by Chris Vetter
<chris.vetter@gmail.com>).
2008-05-23 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for systems which need -lnsl (solaris)
Reintroduce use of ffi by default on sparc64 as I just couldn't
get ffcall to work at all and the latest ffi seems to work atr
least for all the common cases.
* Tools/gdnc.m: Fix incorrectly sized instance variable.
2008-05-22 Richard Frith-Macdonald <rfm@gnu.org>
* SSL/GSSSLHandle.m: Attempt to improve error logging.
2008-05-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Fix reference to uninitialised variable.
2008-05-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSArray.m: Fix bug allowing nil to be placed in array.
2008-05-01 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: try to use libffi on sparc64 as libffcall does not
work. Warn if user tries to enable libffcall.
2008-04-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m:
Use more memory efficient bitmaps for old style property list parsing
where we know we are only using 8bit characters.
2008-03-20 David Chisnall <csdavec@swansea.ac.uk
* Source/NSObject.m: Changed atomic increment/decrement for intel
to simpler (perhaps marginally faster) code, also added atomic
increment/decrement for PPC.
2008-03-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSRunLoopCtxt.m: Fix bad function call (bug #22676)
2008-03-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m: Use get_imp() to fetch the
implementation of the release method.
2008-03-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/DocMakefile: include GNUstep.h
* Headers/Foundation/NSObject.h: include GNUstep.h for macros
* Headers/Foundation/NSBundle.h: move gnustep specific macros out
* Headers/Additions/GNUstepBase/GSFunctions.h: undeprecate and add
GSLocalizedStringFromTableInFramework from NSBundle.h
* Headers/Additions/GNUstepBase/GNUstep.h: Add comments etc.
Code changes to avoid duplication of macro definitions, make
GNUstep.h usable anywhere, and rename a couple of GNUstep specific
extensions to use the GS prefix rather than the (reserved by Apple)
NS prefix.
2008-03-18 Riccardo Mottola <rmottola@users.sf.net>
* Source/GNUMakefile: Added FoundationErrors.h
2008-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Add a couple of new MacOS-X methods.
* Headers/Foundation/NSString.h: ditto
* Headers/Foundation/FoundationErrors.h: New list of error codes
* Headers/Foundation/Foundation.h: include error codes
More MacOS-X compatibility tweaks
2008-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSThread.h:
* Source/NSThread.m: Add ([+isMainThread]) and ([-isFinished]).
Also check that we are not trying to perform a selector on an invalid
thread finished.
2008-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/GSRunLoopCtxt.h:
* Source/GSPrivate.h:
* Source/win32/GSRunLoopCtxt.m:
* Source/NSConnection.m:
* Source/NSThread.m:
* Headers/Foundation/NSThread.h:
Got round to committing the thread changes held back for last release.
Beware ... this code is not properly tested yet. The idea is that it
should provide the new (in MacOS-X 10.5) methods to support performing
of selectors in other threads.
2008-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPort.m:
* Source/NSException.m:
* Source/NSConnection.m:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSPort.h:
Update exceptions to match those in MacOS-X for compatibility.
2008-03-16 Matt Rice <ratmice@gmail.com>
* Source/NSException.m: Add NSObjectNotAvailableException.
* Headers/Foundation/NSException.h: Ditto.
2008-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m: Trap sigbus if gcc functions to get stack frame
info run off the end of the stack.
* Source/NSString.m: Implement ([-decimalValue]) ... undocumented
feature of MacOS-X foundation.
2008-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m:
* Source/NSSet.m:
Add ([-valueForKeyPath:]) to implement KVC aggregate operators.
* Source/NSKeyValueCoding.m: When accessing instance variable directly
look for _var before var as in MacOS-X
2008-03-14 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSDictionary.m ([-initWithObjectsAndKeys:],
[+dictionaryWithObjectsAndKeys:]): Improved documentation: tell
people to terminate the list with nil.
2008-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m; use ([+instanceMethodForSelector:])
to cache release method implementation for a class.
2008-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m:
Make all keypath methods perform recursive evaluation of the path
for compatibility with MacOS-X and to permit classes to effectively
override the keypath methods.
2008-03-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSInsensitiveDictionary.m:
Include GSCategories.h for NSWarnMLog
2008-03-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSInsensitiveDictionary.m:
Don't do gnustep specific debug if building apple-apple-apple
2008-03-11 Adam Fedor <fedor@gnu.org>
* Version 1.15.3
2008-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPage.m: Removed obsolete includes (see bug #22479)
2008-03-05 Matt Rice <ratmice@gmail.com>
* Source/NSKeyValueCoding.m ([-setValue:forKey:]): Pass value
to takeValue:forKey:.
2008-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m Make better guess at what the caller meant when
they give us a non-absolute path name on mingw.
2008-03-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNull.m: Make result of description method match MacOSX
* Headers/Foundation/NSKeyValueObserving.h: Add new MacOSX features.
* Source/NSKeyValueObserving.m: Rewrite code for handling observations
and notifications. Fix various bugs and add new options from
version 10.5 of MacOS-X
2008-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m: Avoid calling deprecated methods as a
result of KVO overriding them.
* Source/NSKeyValueObserving.m: Minor tidyups
2008-02-25 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h: Moved some headers to NSObjCRuntime.h
* Headers/Foundation/NSObjCRuntime.h: Added NSInteger and NSUInteger
for MacOSX compatibiulity.
* Headers/Additions/GNUstep/GSVersionMacros.h: Don't declare constants
which should be set by the user to say which MacOSX version they want.
* Headers/Foundation/NSPointerFunctions.h: New MacOSX declarations ...
no definitions yet.
2008-02-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m:
Don't calculate KVO info in cases where there is no observer.
2008-02-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/mframe/mframe.head: Change function arguments
* Source/mframe.m: Support nul termination of type strings
* Source/NSMethodSignature.m: nul terminate type strings
* Source/NSObjCRuntime.m: update for changed function args
2008-02-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSKeyValueCoding.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Additions/GNUstepBase/GSXML.h:
Documentation fixes.
2008-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additiuons/GSObjCRuntime.m: Add support for NSPoint, NSRange,
NSSize and NSRect for bug #22277
2008-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add convoluted checks to cope with interdependency
os some system headers on FreeBSD.
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: Regenerate
* Source/NSFileManager.m: Include sys/cdefs.h when available
(for FreeBSD).
2008-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
* Headers/Additions/GNUstepBase/GSVersionMacros.h:
Minor tweaks for building under leopard.
* Source/NSPathUtilities.m: minor thread safety fix.
* Source/NSSocketPort.m: remove bogus comment
* Source/NSMessagePort.m: remove bogus comment
* Source/Additions/Unicode.m: add lockign for nl_langinfo
* Source/Additions/GSMime.m: New method to parse headers
* Headers/Additions/GNUstepBase/GSMime.h: ditto
* Source/NSString.m: Change ([-boolValue]) to match new MacOS-X method.
* Source/GSString.m: ditto
2008-02-19 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/GNUmakefile (libgnustep-base_NEEDS_GUI): Set to NO
(libgnustep-baseadd_NEEDS_GUI): Set to NO.
* SSL/GNUmakefile (SSL_NEEDS_GUI): Set to NO.
2008-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedNotificationCenter.m: Remove delay and change
code to immediately release resources used while trying to connect
to server.
* Source/NSConnection.m: When creating a connection and getting its
proxy, release the connection immediately if the proxy is nil, so
that repeated calls don't use more resources.
* Source/NSMessagePortNameServer.m: Implement distributed locking
of names directory.
* Source/NSNSAutoreleasePool.m: When emptying pool, add diagnostic
message and exceptions where an object we are releasing is bad in
some way.
* Headers/Foundation/NSPropertyList.h: Clarify/fix documentation of
date format.
2008-02-17 19:21-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSDistributedNotificationCenter.m: Added a short wait to the
_connect method when starting GDNC to correct bug#22351.
Worked with Riccardo Motolla to test this (riccardo@kaffe.org).
2008-02-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Fix errors in code for folding header
lines.
2008-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Remove self as observer of socket
while ssl connection is in progress.
2008-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSArray.m: Minor optimisation ...use a subarray when
returning all objects from an array enumerator.
2008-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Fix retain/release error.
2008-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Fix bug in sloppy parser, failing
to skip space at end of tag and therefore missing the trailing
'/' in a collapsed element.
2008-01-28 Adam Fedor <fedor@gnu.org>
* configure.ac: Add option to disable bfd.
* Source/inet_pton.c, Source/inet_ntop.c: Add includes to
compile on Solaris
2008-01-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXMLParser.m: Implement reporting of namespace
prefixes with libxml2 based parser and with sloppy parser.
2008-01-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSXML.m: Fixup SAX interface to pass namespace
information separately (retain old method for binary backward
compatibility).
* Source/NSXMLParser.m: Implement handing of namespaces with libxml2
based parser.
2008-01-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/NSXML.m: In SAX count namespace declarations
in element start as attributes.
2008-01-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSHost.m: Fix minor thread safety issue ... could get
release host if another thread clears cache at same time as lookup.
2008-01-21 Fred Kiefer <FredKiefer@gmx.de>
* Resources/Languages/Spanish: Quoting corrections by Matias
Adrian <matiasasb@gmail.com>.
2008-01-18 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/autogsdoc.m: Fix bug recording sources and outputs in
index and dependencies.
* Source/NSTimeZone.m: Fix coding style errors and buffer overrun
on mswindows reported by Roland Schwingel.
2008-01-14 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Do not read obsolete GNUSTEP_USER_DIR and do not
substitute GNUSTEP_TARGET_USER_DIR.
* configure: Regenerated.
* Headers/Additions/GNUstepBase/config.h.in: Regenerated.
* Source/NSPathUtilities.m: Do not read obsolete GNUSTEP_USER_DIR
from the configuration. Ignore it if found. It is never used
anywhere.
* Documentation/Base.gsdoc: Removed or slightly updated some
obsolete documentation on filesystem configuration.
2008-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/inet_pton.c:
* Source/inet_ntop.c:
* Source/GSNetwork.h:
* Source/GNUmakefile:
* configure.ac:
* configure:
Avoid using mswindows getnameinfo function as it doesn't work for
Riccardo for some reason ... perhaps older mingw32 doesn't have it.
2008-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Allow '../' to indicate a relocatable
resource. Add support for GlobalDefaults.plist.
* Source/NSUserDefaults.m: Improve documentation
* Documentation/ReleaseNotes.gsdoc: Note recent changes.
* Documentation/Base.gsdoc: Improve documentation
* Headers/Foundation/NSUserDefaults.h: Improve comments.
2008-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: tweak TLS code
* Source/GSStream.m: simplify socket code
* configure.ac: enable gnu tls by default
* configure: regenerate
2008-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.h:
* Source/GSSocketStream.m:
* Source/unix/NSStream.m:
* Source/GSNetwork.h:
Further reorganisation and simplification for socks support.
2008-01-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.h: simplify socket address handling
* Source/GSSocketStream.m: ditto + more work on socks
* Source/GSStream.h: minor tweaks
* Source/GSStream.m:minor tweaks
* Source/unix/NSStream.m: simplified socket address handling
* Source/GSNetwork.h: add macro to get socket address length
* Source/GSHTTPAuthentication.m: Handle arg classh check in init
* Source/NSURLRequest.m: ditto
* Source/NSURLProtocol.m: attempt to add support for authentication
2008-01-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSFileManager.m (-fileSystemAttributesAtPath:): Correct
block size for systems using statvfs().
2008-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.m: Try to honor protocol requested.
* Source/NSURLProtocol.m: Add https
2008-01-05 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/Additions/GSXML.m ([GSXPathContext
-registerNamespaceWithPrefix:href:]): Added new method to support
namespaces in XPath expressions.
* Headers/Additions/GNUstepBase/GSXML.h: Same.
2008-01-05 Richard Frith-Macdonald <rfm@gnu.org>
* config/pathtls.m4: fixup form mingw32
* configure: regenerate
* Source/GSSocketStream.m: Fix missing ifdefs
2008-01-04 Riccardo Mottola <riccardo@kaffe.org>
* Source/NSKeyValueObserving.m: fixed cc99ism
2008-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.h:
* Source/GSSocketStream.m:
Add rudimentary gnutls support. Client sockets only,
no checking of certificates etc.
2007-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* config/pathtls.m4: New checks for gnu tls
* configure.ac: Add checks for gnu tls.
* config.mak.in: Take note of tls availability
* Headers/Additions/GNUstepBase/config.h.in: ditto
* base.make.in: ditto
* configure: regenerate
Preparatory checks for using gnu tls.
2008-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSSocketStream.h: derived from GSStream.h
* Source/GSSocketStream.m: derived from GSStream.m
* Source/GNUmakefile: use new files
* Source/GSStream.h: remove code to GSSocketStream.h
* Source/GSStream.m: remove code to GSSocketStream.m
* Source/unix/NSStream.m: include GSSocketStream.h
* Source/win32/NSStream.m: include GSSocketStream.h
Minor restructuring for clarity.
2008-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSStream.h: Tweak comments.
* Source/GSNetwork.h: New file for common networking declarations.
* Source/GSStream.h:
* Source/GSStream.m:
* Source/unix/NSStream.m:
* Source/win32/NSStream.m:
Extract socket networking code for both unix and windows into
semi-abstract superclasses for input/output/server streams so
that we avoid huge duplication of code and can maintain the
socket code more easily.
Alter the behavior of the code on windows so that when the
other end closes the connection we should be able to read all
data in transit in the same way as on unix (ie don't close
the local end until a read/write actually fails).
2008-01-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/inet_pton.c: Add mswindows implementation of
inet_ntop() as well.
2008-01-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandle.m: rename to GSFileHandleWin32.m
* Source/win32/NSUserDefaultsWin32.m: rename to NSUserDefaults.m
* Source/win32/NSMessagePortWin32.m: rename to NSMessagePort.m
* Source/win32/NSStreamWin32.m: rename to NSStream.m
* Source/win32/NSMessagePortNameServerWin32.m: rename to
NSMessagePortNameServer.m
* Source/win32/GNUmakefile: Rename source files for consistency.
2008-01-01 Adam Fedor <fedor@gnu.org>
* Tools/HTMLLinker.gsdoc: Readded
2008-01-01 Adam Fedor <fedor@gnu.org>
* Version 1.15.2
2007-12-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
Fix error sending NSPortMessage objects which have not reserved
space in their first component.
2007-12-26 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.joinable.m: test for joinable threads.
* configure.ac: Add test for setrlimit and joinable threads
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Source/NSThread.m: implement setting stack size for new
threads. Hack in workaround for versions of libobjc which
leak thread resource memory.
2007-12-24 Adam Fedor <fedor@gnu.org>
* configure.ac: Don't fail if ffcall trampolines don't work.
* configure: regnerate.
2007-12-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Perhaps a bit paranoid, but alter to recheck
all timers after any timer is fired, so we ar sure to pick up any
changes done to timer fire dates during the firing of a timer.
* Source/NSThread.m: Fix memory leak and correct thread startup
semantics to be like MacOS-X I hope.
2007-12-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Fix error finding earliest timer for limit date.
2007-12-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSLocale.m: protect locale access with locks.
2007-12-21 David Ayers <ayers@fsfe.org>
* Source/NSPathUtilities.m (_POSIX_PTHREAD_SEMANTICS): Define to expose
POSIX compliant signatures for get(pw/gr)(nam/uid)_r.
* Headers/Additions/GNUstepBase/config.h.in, configure.ac (alloca.h):
Check for header.
* configure: Regenerate.
* Source/mframe.m, Source/cifframe.m, Source/NSConnection.m,
Source/callframe.m, Source/GSFormat.m: Include alloca.h where available.
2007-12-20 David Ayers <ayers@fsfe.org>
* Headers/Additions/GNUstepBase/GSLock.h: Include GSObjCRuntime.h for
GS_EXPORT declaration.
* Source/NSFileManager.m (_POSIX_PTHREAD_SEMANTICS): Define to expose
POSIX compliant signatures for get(pw/gr)(nam/uid)_r.
2007-12-19 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add checks for thread-safe versions of some standard
library functions.
* Headers/Additions/GNUstepBase/config.h.in: Regenerate
* configure: Regenerate
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
* Source/NSFileManager.m:
* Source/externs.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/GSCategories.m:
* Source/Additions/GSLock.m:
* Headers/Foundation/NSObject.h:
* Headers/Additions/GNUstepBase/GSLock.h:
* Tools/defaults.m:
Use thread-safe variants of system functions or pretect unsafe ones
using gnustep_global_lock.
Fixes part (but not all) of bug #21320
2007-12-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSKeyValueObserving.m
(-setKeys:triggerChangeNotificationsForDependentKey:): Correct the
key strategy of the map.
2007-12-17 Adam Fedor <fedor@gnu.org>
* Source/Makefile.postamble: Use DESTDIR over obsolete INSTALL_ROOT_DIR
* configure.ac, config/objc-con-autoload.m4, config/procfs.m4: Some
improvements for cross-compiling.
2007-12-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSKeyValueObserving.m (-keyPathChanged:): Correct
forwarding of changes.
2007-12-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSValueTransformer.m,
* Source/externs.m: Moved name of standard NSValueTransformers to
externs and corrected strings.
2007-12-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSKeyValueObserving.m (-overrideSetterFor:): Replace
exception with log message.
* Source/NSKeyValueObserving.m (-addObserver:...context:): Use
original class as key for replacement.
2007-12-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSKeyValueObserving.m (-overrideSetterFor:): Manually
capitalize the string, as the NSString method capitalizedString
lowers all other characters.
2007-12-14 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSKeyValueObserving.m (-overrideSetterFor:): Made aware
of dependent key mapping.
2007-12-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueObserving.m: Rewrite code for the subclass which
handles overriding of setters. Should only override the setters for
the keys which have been observed. Compiles but untested!
2007-12-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: catch any exception if som eone breaks our
lock on the defaults file.
2007-12-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexSet.m: Test and debug ([-initWithCoder:])
and ([-encodeWithCoder:]) methods for keyed archiving of sets
with multiple index ranges.
Implement old-style coding/decoding as well.
2007-12-10 Chris Farber <chris@chrisfarber.net>
* Source/NSKeyValueObserving.m: implement methods needed for gui
bindings.
2007-12-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Deal with mutation of timers array during
firing of a timer.
2007-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSConfig.h.in:
* Headers/Foundation/NSString.h:
declare unichar as uint16_t
2007-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Keep timers unordered and check all of them
each time round ... to avoid bug where a timer is added to more
than one run loop mode and firing in one mode could result in badly
ordered timers in another mode.
Handle resetting of time for repeating timers.
Allow timeout handler callbacks to use ([-setFireDate:]) and have
it honoured.
* Source/NSTimer.m: Remove resetting of fire date from ([-fire])
and move it to the run loop for MacOS-X compatibility.
2007-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Report the current mode when producing detailed
debug output, for better tracking of problems.
2007-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: fix error reporting module containing code
and limit the length of the stack trace.
2007-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Increase detail of information about bad URL string
on initialisation. Only output debug info if --GNU-Debug=dflt
2007-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: honour environment variable for displaying
stack trace.
2007-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexSet.m (-initWithCoder:): Implement guessed algorithm
for keyed archiving of sets with multiple index ranges.
2007-12-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSIndexSet.m (-initWithCoder:): Fix wrong method in last
change.
2007-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Add new MacOS-X method and improve stack trace
code.
* Source/NSXMLParser.m Add include for NSDictionary.
* Documentation/Base.gsdoc: Improve documentation of stack trace.
* Headers/Foundation/NSException.h: Add new MacOS-X method.
2007-12-05 David Ayers <ayers@fsfe.org>
* Source/NSDecimalNumber.m: (isinf,isnan,isinff,isnanf): Remove.
(GSIsNAN,GSIsInf): Attempt a more portable approach with using
_ISOC99_SOURCE which is also supported by some BSD's and possibly
Solaris.
2007-12-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.h: move includes around to fix bug #21718
2007-12-03 David Ayers <ayers@fsfe.org>
* Source/NSDecimalNumber.m: (isinf,isnan,isinff,isnanf):
Temporary empty definitions of C99 macros for environments
which do not define them.
2007-12-03 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSIndexSet.m (-initWithCoder:, -encodeWithCoder)
* Source/NSData.m (NSMutableData-initWithCoder:,
-encodeWithCoder): Add some keyed encoding/decoding.
2007-12-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDebug.m:
* Source/GSPrivate.h:
* Source/NSException.m:
* Source/NSThread.m:
Rewrite some stackframe handling code for greater efficiency.
When raising an exception, just get the current stack and don't
bother translating addresses to method/function information until
needed by the -description method. Improves performance of
exception handling and eliminates the possibility of a recursive
exception due to a problem in the stacktrace code.
2007-12-02 David Ayers <ayers@fsfe.org>
* Source/NSDecimal.m (GSDecimalDouble): Use NAN when available.
* Source/NSDecimalNumber.m ([initWithBytes:objCType:]): Implement
initialization with scalar types. Use GSPrivateDefaultLocale
to initialze intermediate string to match expectations of
initWithString.
(NSDecimalNumberClass): Added local class cache.
([+initialize]): Initialize new cache.
([-compare]): Test for all subclasses instead of only NSDecimalNumber
instances.
* Source/NSCalendarDate.m: Add explicit include of NSDictionary.h.
* Source/NSNotification.m: Ditto.
* Source/NSURLResponse.m: Ditto. Use available dictionary declartion.
* Source/NSURLProtocol.m: Add explicit import of NSData.h.
* Source/NSSerializer.m: Add explicit import of NSEnumerator.h.
* Source/NSURLConnection.m
([-initWithResponsePointer:andErrorPointer:]): Add declaration.
* Source/NSKeyValueMutableArray.m: Various non-functional variable
and parameter renames to avoid bogus compiler warnings.
* Source/NSKeyValueMutableSet.m: Ditto.
2007-11-30 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.h: fix typo
2007-11-29 Marcus Muller <znek@mulle-kybernetik.com>
* Source/NSKeyValueCoding.m: Make backward compatibility work with
situations where we have classes using both new and old APIs in the
same executable.
2007-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSLocale.m:
* Source/NSTimeZone.m:
* Source/NSNetServices.m:
* Source/NSURLCredential.m:
* Source/NSPortCoder.m:
* Source/NSURLAuthenticationChallenge.m:
* Source/NSKeyValueCoding.m:
* Source/NSBundle.m:
* Source/NSURLHandle.m:
* Source/NSPropertyList.m:
* Source/NSAffineTransform.m:
* Source/GSRunLoopWatcher.m:
* Source/NSUserDefaults.m:
* Source/GSArray.m:
* Source/GSFFCallInvocation.m:
* Source/NSArray.m:
* Source/GSStream.m:
* Source/NSDebug.m:
* Source/unix/NSStream.m:
* Source/NSKeyedUnarchiver.m:
* Source/GSConcreteValue.m:
* Source/NSURLDownload.m:
* Source/GSHTTPURLHandle.m:
* Source/NSURLCredentialStorage.m:
* Source/GSFFIInvocation.m:
* Source/GSDictionary.m:
* Source/GSCountedSet.m:
* Source/NSUnarchiver.m:
* Source/win32/NSStreamWin32.m:
* Source/NSURLResponse.m:
* Source/NSURLProtocol.m:
* Source/NSURLCache.m:
* Source/GSAttributedString.m:
* Source/NSException.m:
* Source/NSURL.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/GSInsensitiveDictionary.m:
* Source/GSSet.m:
* Source/NSConnection.m:
* Source/GSString.m:
* Source/NSHost.m:
* Source/NSURLProtectionSpace.m:
* Source/GSValue.m:
* Source/NSDictionary.m:
* Source/GSHTTPAuthentication.m:
* Source/NSURLRequest.m:
* Source/NSCountedSet.m:
* Source/GSFormat.m:
* Source/GSFileHandle.m:
* Source/NSSet.m:
* Source/NSArchiver.m:
* Source/NSPortNameServer.m:
* Source/GSFTPURLHandle.m:
* Source/NSEnumerator.m:
* Source/GSURLPrivate.h:
* Source/NSURLConnection.m:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSUtilities.h:
* Tools/defaults.m:
* Tools/make_strings/make_strings.m:
* Tools/make_strings/StringsEntry.m:
* Testing/nstimezone.m:
* Testing/nsarray.m:
* Testing/nsprocessinfo.m:
* Testing/nsdictionary.m:
* Testing/nsset.m:
* Testing/nsarchiver.m:
* Testing/call.m:
* Testing/benchmark.m:
* Testing/nsbundle.m:
Remove use of deprecated NSUtilities.h header, and add explicit
includes of NSDictionary.h, NSEnumerator.h etc.
2007-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m: Remove erroneous check for nil argument
in obsolete method ([takeValue:forKey:]).
2007-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Improve code for folding header lines
to try to make sure long values don't go beyond the 78 character
limit.
2007-11-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Make check for apple property lists
more tolerant.
2007-11-25 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSThread.h: Add new methods from MacOS 10.5
Add new ivars to match. Add _reserved to preserve binary
compatibility over future changes. Make all ivars private.
* Source/NSThread.m: Implement some new MacOS-5 stuff and add stubs
for stack size and thread cancellation.
* Source/NSException.m Implement ([NSThread+callStackReturnAddresses])
Restructure a little to avoid problems when building without debug.
2007-11-09 Adam Fedor <fedor@gnu.org>
* Version 1.15.1
2007-11-06 Roland Schwingel <roland.schwingel@onevision.de>
* Source/NSTimeZone.m: In windows use wide (unichar) API
2007-11-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSXML.m: Make sloppy parser available for internal use when
parsing bad xml produced by Apple tools.
* Source/NSPropertyList.m: Use GSSloppyXMLParser if normal xml2 based
parsing fails due to Ap[ple4's inclusioon of illegal characters in
the XML.
2007-10-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: ([setBoolForKey:]) changed to store YES
or NO as a string for MacOS-X compatibility.
2007-10-30 Adam Fedor <fedor@gnu.org>
* gnustep-base.spec.in: Change Copyright to License.
2007-10-11 Wolfgang Lux <wolfgang.lux@gmail.com>
* Source/NSUndoManager: Prevent incorrect posting of notifications
during undo/redo and avoid unnecessary creation of undo
groups.
2007-10-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSDecimal.m (NSDecimalMultiplyByPowerOf10): Move check of
over/underflow after copy.
Patch by Mark Tracy <tracy454@concentric.net>.
2007-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Fix ([-classForCoder:]) to return base class of
cluster (bug #21133)
* Source/cifframe.m: avoid compiler warnings (bug #16996)
2007-09-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Decode headers as latin1 by default if
parsing http rather than mime.
2007-09-14 Richard Frith-Macdonald <rfm@gnu.org>
Update files to use LGPL3 and GPL3 licenses.
2007-09-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNotificationCenter.m: Wrap posting of notification in
exception handler to log exceptions.
2007-08-24 23:53-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Headers/Foundation/NSPort.h: Removed commented out declaration
in the header.
2007-08-04 David Ayers <ayers@fsfe.org>
* Source/GSHTTPURLHandle.m (writeKeyCallBacks): Use retained
callbacks for keys.
2007-08-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m: Private method to check existence of
process.
2007-07-31 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSRange.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSGeometry.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Additions/GNUstepBase/preface.h.in:
* macosx/GNUstepBase/preface.h:
Use __typeof__ rather than typeof so that if the header is included
in user code which is compiled with a flag to disalow typeof, the
code will still work.
2007-07-25 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSErrorRecoveryAttempting.h: Add new file.
* Source/GNUmakefile: Install this file.
2007-07-22 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSOutput.m: escape angle brackets in types of function
arguments.
2007-07-19 Riccardo Mottola <riccardo@kaffe.org>
* Source/NSKeyValueCoding.m:
* Source/NSKeyValueMutableSet.m:
Code cleanup and C99-ism fixes
2007-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m:
* Source/NSKeyValueMutableSet.m:
* Source/NSArray.m:
* Source/NSKeyValueMutableArray.m:
Whitespace and initialisation tidyups.
2007-07-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: For MacOS-X compatibility, alter -propertyList
to have the undocumented behavior of parsing strings file format
too.
2007-07-10 Chris Farber <chris@chrisfarber.net>
* Source/NSArray.m ([NSArray -objectsAtIndexes:]): New method.
([NSMutableArray -removeObjectsAtIndexes:]): New method.
* Headers/Foundation/NSArray.h: Added the new methods.
* Source/NSKeyValueCoding.m ([-mutableArrayValueForKey:]): New
method. ([-mutableArrayValueForKeyPath:]): New method.
([-mutableSetValueForKey:]): New method.
([-mutableSetValueForKeyPath:]): New method.
([-valueForUndefinedKey:]): Include key and object in the reason
of an NSUndefinedKeyException.
* Headers/Foundation/NSKeyValueCoding.h: Added the new methods.
* Source/NSKeyValueMutableSet.m: New file.
* Source/NSKeyValueMutableArray.m: New file.
2007-07-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandleWin32.m: Fixup for pipes as suggested by
Matthew Jiminez.
2007-06-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
Implement support for arrays of objc types to fix bug #20268
2007-06-21 Richard Frith-Macdonald <rfm@gnu.org>
Rewrite code to support parsing of predicates containing
all the '%' format strings (as suggested by Fred).
2007-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: Fix bug #20215 ... scanning of greater than
and less than operators.
Add code to attempt to support parsing of predicates containing
all the '%' format strings ... untested.
2007-06-15 Adam Fedor <fedor@gnu.org>
* Source/NSTimeZone.m ([NSTimeZone +timeZoneArray]): Skip .tab
files when looking for zones.
2007-06-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumber.m: Implement ([isEqualToValue:])
* Source/NSPredicate.m: Fix bug #20169
2007-06-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLHandle.m: ([loadInForeground]) return as soon as load
is complete, rather than waiting for up to a second.
2007-06-12 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPredicate.m: Fake like and matches by using
compare:options: and reverted change for string equality.
2007-06-11 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPredicate.m: Improved predicate parsing. Handle more
alternate key strings, implemented BETWEEN, use compare:options:
for string equality test and handle in for collections.
2007-06-09 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPredicate.m: Improved predicate parsing.
2007-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m Fix bug getting cString from literal string
with illegal (non-ascii) characters.
* Source/NSKeyValueCoding.m: Fix backward compatibility issue with
NSUnknownKeyException.
2007-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m: Use UTF8 rather than ASCII
2007-06-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: define MSG_DONTWAIT as zero if it's not
defined ... it should not be needed anyway if the socket is already
non-blocking.
2007-06-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandleWin32.m: Clean up indentation issues etc.
2007-06-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Fix problem where any header starting
with 'http' would be mangled.
2007-05-31 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/NSKeyValueCoding.m: Minor fix for backward compatibility in
([setNilValueForKey:]).
2007-05-30 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.m: Don't trap abort signal.
2007-05-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: when unable to open a file, log should be debug
level rather than warn level.
2007-05-23 Fred Kiefer <FredKiefer@gmx.de>
* Headers/Foundation/NSCompoundPredicate.h: Add some common ivars.
* Headers/Foundation/NSExpression.h:Add some common ivar.
* Source/NSPredicate.m: Implement a lot of missing functionality
for the predicate and expression classes. Clean up formatting.
2007-05-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSNetServices.h: fix bug #19872
2007-05-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLConnection.m: Cancel when deallocating.
* Source/NSURLProtocol.m: Make sure load is stopped if an error
occurs.
2007-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Permit some recursion in handling uncaught
exceptions so that different exception handlers can be tried ...
in particular, so that the gui library exception handler can
fall back to using the base library handler and get a printout of
the exception details when the program terminates.
2007-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLConnection.m: Minor simplifications.
* Source/NSURLProtocol.m: Perform automatic redirect from
http://host to http://host/ to standardise URL used for caching as
noted in Apple documentation.
* Source/NSURLRequest.m: use case insensitive dictionary for headers.
* Source/Additions/GSMime.m: fix error makeing tokens lowercase.
2007-05-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSInsensitiveDictionary.m: For internal use storing
values on case insensitive keys.
* Source/Additions/GNUmakefile: Build insensitive dictionaries.
* Source/GSPrivate.h: Make insensitive dictionaries available.
* Source/NSURLResponse.m: Use insensitive dictionaries.
* Source/NSURLProtocol.m: Clean up.
* Source/Additions/GSMime.m: New stuff to retain case information.
* Headers/Additions/GNUstepBase/GSMime.h: ditto.
2007-05-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m:
* Source/NSURLRequest.m:
* Source/NSURLConnection.m:
Added tweaks for redirection andvarious comments.
2007-05-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m:
Avoid using NSString while printing warning about iconv problems ...
try to avoid possible recursion etc.
2007-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: Replace mystep response parsing code with
more reliable/standard-compliant stuff adapted from NSURLHandle.m
2007-05-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.h: New runloop management
* Source/GSStream.m: Support scheduling in multiple runloops to match
documented MacOS-X behavior. Trigger instant event on error or eof.
* Source/unix/NSStream.m: Don't send error and eof events asap, defer
until the runloop runs as this is how MacOS-X behaves.
* Source/win32/NSStreamWin32.m: ditto.
* Source/unix/GSRunLoopCtxt.m: Fix failure to trigger immediate events
when there are no non-immediate input sources in th loop. Fix busy
poll when there are no non-immediate sources in the loop.
* Source/win32/GSRunLoopCtxt.m: ditto
2007-05-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLProtocol.m: Fix multiple release of headers.
2007-05-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m:
* Source/unix/NSStream.m:
* Source/win32/NSStreamWin32.m:
* Headers/Foundation/NSStream.h:
First hack at extensions to get address and port properties for
network streams. Use localhost if no host is given for connect.
* Source/GSFFIInvocation.m:
Attempt to use forward2 if available.
* Source/NSURLProtocol.m:
Fixup some problems with incorporation of code from mySTEP.
2007-05-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLResponse.m:
* Source/NSURLProtocol.m:
* Source/NSURLRequest.m:
* Source/GSURLPrivate.h:
* Source/NSURLConnection.m:
Changes accidentally missed from update on 27th april.
2007-05-02 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Set GNUSTEP_MAKEFILES to CURRENT_GNUSTEP_MAKEFILES
before sourcing GNUstep.sh. Fixes building when paths to hardcode
in the library are different from paths used when building,
typically a case when packaging.
* configure: Regenerated.
2007-04-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/thr-pthread.m: Set thread attributes detached to avoid memory
leak as suggested by Chris Ball <cball@borderlinetech.ca>
2007-04-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Reformat for coding standards. Alter library
resource lookup to find correct version when multiple versions of
the base library are installed and the old unversioned api is used.
* Source/NSURLHandle.m: Scheduling tweak.
* Source/GSFFCallInvocation.m: Use forward2 if available.
* Source/GSFFIInvocation.m: Use forward2 if available.
* Source/NSURLRequest.m: Tidyups
* Source/NSURLConnection.m: Tidyups
* Source/NSURLProtocol.m: Incorporate some concrete protocols from
mySTEP ....needs rewriting and then testing.
* Headers/Foundation/NSURLRequest.h: Fix typos and improve comments.
2007-04-16 Richard Frith-Macdonald <rfm@gnu.org>
* config/config.forward2.m: Test for forward2 function in runtime.
* configure.ac: Run forward2 test
* Headers/Additions/GNUstepBase/config.h.in: record forward2 test.
* configure: regenerate
2007-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: check for wide character support in printf
* config/config.wprintf.c: ditto
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Source/NSString.m: Don't use wide char support if we don't have it.
Should fix bug #19587
2007-04-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
([+pathForResource:ofType:inRootPath:inDirectory:withVersion:])
Tolerate nil/empty resource name for compatibility with MacOS-X
and to fix bug #19588
* Source/NSPredicate.m: Implement ([-filterUsingPredicate:]) for
NSMutableArray.
* Headers/Foundation/NSPredicate.h: Add the
([-filterUsingPredicate:]) method and document it.
* config/config.printf.c: use 'wide' field in info structure to
check that it exists.
2007-04-13 Ricccardo Mottola <riccardo@kaffe.org>
* Source/NSSortDescriptor.m : removed C99-ism
2007-04-13 Ricccardo Mottola <riccardo@kaffe.org>
* Source/GSHTTPURLHandle.m : removed C99-ism
2007-04-13 Adam Fedor <fedor@gnu.org>
* Version: Fix matching numeric version
2007-04-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: ([-readDataOfLength:]) fix bug which could
cause short reads.
2007-04-12 Adam Fedor <fedor@gnu.org>
* Tool/HTMLLinker.m: Re-add.
* Documentation/coding-standards.texi: Add info section
* Documentation/manual/manual.texi: Likewise (patch from
Marco Bardelli).
* gnustep-base-debug.spec.in: Remove
* gnustep-base.spec.in, Documentation/install.texi: Document
that gnustep-make 2.0.0 is required.
2007-04-12 Adam Fedor <fedor@gnu.org>
* Version 1.15.0
2007-04-12 Adam Fedor <fedor@gnu.org>
* Version 1.14.0
2007-04-11 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/news.texi:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/manual/Compliance.texi:
Add new stable release information and fixx a couple of documentation
errors.
2007-04-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m:
* Source/Additions/GSCompatibility.m:
* Source/Additions/GSMime.m:
* Headers/Foundation/NSString.h:
* Headers/Additions/GNUstepBase/GSCategories.h:
* Headers/Additions/GNUstepBase/Unicode.h:
More macos-x portability fixups.
2007-04-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSLocale.m:
* Source/Additions/Unicode.m:
* Headers/Foundation/NSString.h:
* Headers/Additions/GNUstepBase/Unicode.h:
Header/include fixups for macosx portability.
2007-03-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: ([-parseOr]) Use orPredicateWithSubpredicates
rather than andPredicateWithSubpredicates. Fix for bug #19446.
* Source/unix/NSStream.m: Fix memory leak.
* Source/NSPathUtilities.m: NSSearchPathForDirectoriesInDomains()
Don't include empty paths.
2007-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimer.m: minor optimisation ... avoid unnecessary use of
autorelease by doing explicit release instead.
2007-03-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: NSTemporaryDirectory() don't raise
exception on error, just log a warning and return nil.
* Source/NSDateFormatter.m: When given an empty string to convert to
a date, just skip the conversion.
2007-03-21 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSBundle.m ([+initialize]): Removed unused check.
2007-03-20 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSUserDefaults.m ([+standardUserDefaults]): Fixed bug
were the same enumerator variable was reused in the two nested
loops and language resources wouldn't be found. Optimized a
little by factoring some variables out of the inner loop.
Reorganized usage of information from the C locale so that we use
it whenever a language resource lookup can not be found and the C
locale information is precisely for that language, but not
otherwise.
2007-03-19 Nicola Pero <nicola.pero@meta-innovation.com>
* Tools/gsdoc.gsdoc: Removed reference to GNUSTEP_SYSTEM_ROOT; use
up-to-date variables such as GNUSTEP_SYSTEM_LIBRARY and
GNUSTEP_SYSTEM_DOC.
* Tools/gsdoc-1_0_1.rnc: Same change.
* Tools/gsdoc.7: Same change.
* Tools/gdomap.8: Same change.
* INSTALL: Updated.
2007-03-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDictionary.m: Correct errors in documentation about keys
being retained when they are in fact copied.
2007-03-17 Adam Fedor <fedor@gnu.org>
* config/config.trampoline.c: Check for proper CPU macro for Darwin
* configure.ac: Don't enable libffi by default on Darwin
(patches from Wolfgang Lux).
2007-03-17 Nicola Pero <nicola.pero@meta-innovation.com>
* SSL/GNUmakefile: Install the SSL bundle in the versioned
gnustep-base resource directory.
* Source/NSFileHandle.m ([+sslClass]): Load the SSL bundle from
the versioned gnustep-base resource directory.
2007-03-17 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/Makefile.postamble (before-uninstall): Remove GSConfig.h.
2007-03-17 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSBundle.m ([+bundleForLibrary:version:]): Fixed looking
up library resource bundle when no version is provided.
2007-03-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/NSStream.m:
* Source/win32/NSStreamWin32.m:
Try to ensure that end of stream events are sent reliably.
2007-03-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: ([GSBinaryPLParser-readCountAt:])
Handle counts for objects larger than 64KB correctly.
2007-03-14 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: By default disable the GNUSTEP_CONFIOG_FILE
environment variable on windows so that we don't accidentally
use the development config file (with unix style paths) when
we want to be using runtime config (with windows paths).
* configure: Regenerate
* Source/GSPrivate.h: New private function to determine native
C-string encoding.
* Source/Additions/Unicode.m: ditto
* Source/GSLocale.m: Use native C-String encoding to handle locale
information strings.
2007-03-14 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSUserDefaults.m ([+standardUserDefaults]): Manually
lookup gnustep-base language resources without using NSBundle to
break the bootstrap chicken-and-egg problem between NSBundle and
NSUserDefaults.
2007-03-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Fix memory leak caused by url handle
retaining xmlrpc object as a client.
2007-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSLocale.m: Expect locale information (nl_langinfo) to be in
default c-string encoding ... though it's debatable how one knows what
that should be.
2007-03-12 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: regenerated.
* Source/GSString.m: getCString_c() Fix error freeing unallocated
memory when converting a zero length constant string to external
cstring representation.
2007-03-09 Nicola Pero <nicola.pero@meta-innovation.com>
Implemented library resource bundle versioning. Updated
gnustep-base to use versioned resources.
* Source/NSBundle ([+bundleForLibrary:version]): New method.
Allow to request the resource bundle for a specific version.
Changed bundle resource location to be
GNUSTEP_LIBRARY/Libraries/<libraryName>/Versions/<interfaceVersion>/Resources
to allow versioned resources and be similar to framework resources
- will be handy in the future. Fall back to the old unversioned
bundle at GNUSTEP_LIBRARY/Libraries/Resources/<libraryName> if no
specific version is required and no versioned bundle can be found.
([+bundleForLibrary:]): Implemented in terms of
+bundleForLibrary:version:. Should be backwards compatible if
you're not using resource versioning yet.
([+initialize]): When creating _gnustep_bundle, use
[+bundleForLibrary:version:] to get the appropriate version of the
bundle.
* Headers/Foundation/NSBundle.h ([+bundleForLibrary:version:]):
New method; updated documentation for this method and for
[+bundleForLibrary:].
* Resources/GNUmakefile: Include ../Version and install into the
new versioned directory.
* NSTimeZones/GNUmakefile: Same changes.
* Source/GNUmakefile: Same changes.
* Source/NSBundle.m ([+bundleForClass:]): If we are asked for the
bundle for NSObject, return _gnustep_bundle (prepared during
+initialize) immediately.
* Source/NSTimeZone.m (_time_zone_path): Use bundleForClass:
NSObject to get the gnustep-base bundle immediately and safely.
* Source/NSUserDefaults.m ([+standardUserDefaults]): Same change.
* Source/GNUmakefile (libgnustep-base_INTERFACE_VERSION,
libgnustep-baseadd_INTERFACE_VERSION): Use more standard makefile
syntax.
2007-03-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m: On mswindows, don't count a '.exe'
extension as part of the process name.
* Source/NSUserDefaults.m: Revert last change ... now done in
NSProcessInfo.m
2007-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Addictions/GSXML.m: Cope with cancellation of load from URL
in XMLRPC better.
2007-03-08 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSPathUtilities.h (GSAdminToolsDirectory): New directory
key.
* Source/NSPathUtilities.m: Implemented it.
2007-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Mimic MacOS-X behavior and cancel loading
if http status code is not in the 200-299 (success) range.
2007-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/objctidy.m: Removed ... should not have been added really as
it's very unreliable ... better remove before it accidentally gets
into a stable release.
2007-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSpellServer.m: Use Library directory in user domain for
local dictionaries.
* Source/NSDistributedNotificationCenter.m: autolaunch gdnc with the
--auto option.
* Tools/gdnc.m: Understand --auto to mean that we should shut down
automatically when all connections in to us are dropped.
2007-03-06 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Added GNUSTEP_SYSTEM_USERS_DIR,
GNUSTEP_NETWORK_USERS_DIR and GNUSTEP_LOCAL_USERS_DIR.
* configure: Regenerated.
* Headers/Additions/GNUstepBase/config.h.in: Regenerated.
* Source/NSPathUtilities.m: Read and process the new variables;
fixed NSUserDirectory to return the proper GNUSTEP_*_USERS_DIR
instead of the user's home directory.
2007-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: On mswindows, don't count a '.exe'
extension as part of the process name when fetching defaults.
2007-03-05 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Fixed setting default GNUSTEP_*_ADMIN_APPS and
GNUSTEP_*_ADMIN_TOOLS when none is found in the config file.
* configure.ac: Print out the entire filesystem layout that is
hardcoded into gnustep-base. It makes it easier to debug
filesystem layout issues.
* configure.ac: Read, process and output the new
GNUSTEP_*_WEB_APPS variables.
* configure.ac: Do not output GNUSTEP_CONFIG_FILE variable which
is used nowhere.
* configure: Regenerated.
* Headers/Additions/GNUstepBase/config.h.in: Added definitions of
GNUSTEP_*_WEB_APPS.
* Headers/Foundation/NSPathUtilities.h (NSSearchPathDirectory):
Added GSWebApplicationsDirectory.
* Source/NSPathUtilities.m: Implemented
GSWebApplicationsDirectory.
2007-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Try using atomic increment/decrement to get
performance of retain/release improvement in multithreaded programs.
2007-03-05 Adam Fedor <fedor@gnu.org>
* configure.ac, config/config.trampoline.c: Add trampoline test.
2007-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSAffineTransform.h: Add flags to allow
optimisation of identity and flipped coordinates(from mySTEP)
* Source/NSAffineTransform.m: Add code from mySTEP for, optimising
common cases. Fixup optimised code to use B and B consistently.
Fixup bug in optimised code for prepending matrix.
Add optimised cases for flipped transforms in appand and prepend.
Fix bug in ([-transformSize:]) which was causing problems with
negative values (MacOS-X allows negative values here, and any issues
need to be dealt with by the calling code).
2007-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSSpellServer.h: Moved from appkit
* Source/NSSpellServer.m: Moved from appkit
* Source/GNUmakefile: Add NSSpellServer
* Headers/Foundation/Foundation.h: Add NSSpellServer
Moved NSSpellServer in from gui/appkit for MacOS-X compatibility
2007-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Cope with nil authentication info
* Source/GSHTTPAuthentication.m: Cope with nil credential and
catch exceptions in lock protected areas (there shouldn't be
any, but best to be safe).
2007-03-01 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSBundle.m ([NSBundle +bundleForLibrary:]): Fixed paths
to lookup; it wouldn't work with the new filesystem layout
changes.
* configure.ac: Raise an error if we're asked to import a config
file but no such file is found.
* configure: Regenerated.
2007-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSZone.m: tidy indentation
* Source/NSURLCredential.m:
* Source/NSURLAuthenticationChallenge.m:
* Source/NSURLCredentialStorage.m:
* Source/NSURLResponse.m:
* Source/NSURLProtocol.m:
* Source/NSURLCache.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSHTTPCookie.m:
* Source/NSURLProtectionSpace.m:
* Source/NSURLRequest.m:
Use standard function to initialise and clear memory, fixing some
potential uninitialised memory errors.
2007-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Restore last reversion and fix actual bug (I hope)
which was an incorrect setting of GNUSTEP_SYSTEM_TOOLS to the
Admin subdirectory, causing relative path calculations to be wrong.
* configure: regenerated.
2007-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Headers/Foundation/NSBundle.h:
* Headers/Additions/GNUstepBase/config.h.in:
* gnustep-base.script.spec.in:
Remove internal GNUSTEP_..._ROOT variables which are no longer used.
* configure.ac:
Refrain from defining GNUSTEP_..._ROOT default values in config.h
* configure: regenerated.
2007-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Revert part of change which guaranteed use of bad
paths on mingw ... we allow a fallback to ./GNUstep.conf instead.
of using paths from make (which is guaranteed to be wrong as the
paths it uses are for msys and we need runtime paths for the
win32 api).
* configure: Regenerated.
2007-02-28 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: If no config file to import is specified, then
load the gnustep-make one in preference to the runtime config
file, which might be a relative path such as ./GNUstep.conf. On
mingw, do not set just GNUSTEP_xxx_ROOT and similar variables to
relative paths, but set all of the GNUSTEP_xxx_yyy variables by
computing relative paths using gnustep-make's scripts.
* configure: Regenerated.
2007-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Update suggested by Larry Campbell to use 32
locks for managing retain counts rather than just one, so reducing
lock contention when there are lots of threads running.
He reports a 50% performance improvement in his program.
2007-02-27 Nicola Pero <nicola.pero@meta-innovation.com>
* GNUmakefile (CVS_MODULE_NAME): Do not set (exports should be
done from subversion now).
2007-02-26 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Updated for new (shorter) GNUSTEP_SYSTEM_DOC_MAN
variable names in GNUstep.conf (and similar for other DOC variable
names).
* Headers/Additions/GNUstepBase/config.h.in: Same change.
* Source/NSPathUtilities.m: Same change.
* configure: Regenerated.
2007-02-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSetData.h:
* Source/NSIndexSet.m:
* Source/NSCharacterSet.m:
Experimental modifications to allow an NSCharacterSet implementation
based on NSIndexSet rather than a bitmap representation. The idea is
that such an implementation, while often slower, should use much
less memory in most cases and may be a better option on handheld
devices for instance.
To enable the new code, edit to define GNUSTEP_INDEX_CHARSET near
the start of NSCharacterSet.m and build.
2007-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Fixup to locate headers and libraries installed in
system root subdirectories again.
* configure: Regenerated.
* Source/NSNumber.m: Chance description and stringValue methods to
return 1/0 rather than YES/NO for compatibility with undocumented
MacOS-X implementation detail (bug #19010)
2007-02-19 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Updated gnustep-config calls for new/final syntax.
Do not source GNUstep.sh at the beginning.
* configure: Regenerated.
* GNUmakefile: Updated gnustep-config calls, plus set
GNUSTEP_MAKEFILES properly using :=, not =.
* Documentation/GNUmakefile: Same changes.
* Examples/GNUmakefile: Same changes.
* NSTimeZones/GNUmakefile: Same changes.
* NSTimeZones/GNUmakefile: Same changes.
* Resources/GNUmakefile: Same changes.
* Source/GNUmakefile: Same changes.
* SSL/GNUmakefile: Same changes.
* Testing/GNUmakefile: Same changes.
* Tools/GNUmakefile: Same changes.
2007-02-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: ([performSelector:target:argument:order:modes:])
Alter to retain target and arguments to match MacOS-X (bug #19099)
* Source/NSString.m: Fixup removal of leading path separator when
appending path componet.
* Source/NSPropertyList.m: If parsing of xml property list fails,
try again with more tolerant parser which accepts illegal characters.
Might fix bug #17112 (illegal character in nib)
2007-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Use gnustep-config if available.
* configure: Regenerate
* Source/Makefile.postamble
* Source/GNUmakefile
* Source/Makefile.preamble
* SSL/GSSSLHandle.m
* SSL/GNUmakefile
* GNUmakefile
2007-02-17 Sergii Stoian <stoyan255@gmail.com>
* Headers/GNUstepBase/GSFileHandle.h: Fix GSConfig.h include.
2007-02-17 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/NSBundle.m (_find_main_bundle_for_tool): New inline
function to locate tools resources in the new gnustep-make v2
location for them.
([NSBundle +mainBundle]): (tool resource lookup) Fixed detecting
case of an uninstalled tool to work with the gnustep-make v2 as
well. Manage the case separately so we always lookup resources
only locally for non-installed tools. For installed tools, first
use _find_main_bundle_for_tool to look in the new location for
tool resources, falling back to the old gnustep-make v1 location
if nothing is found in the new one.
2007-02-16 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Added GNUSTEP_*_ADMIN_APPS and GNUSTEP_*_ADMIN_TOOLS
variables.
* configure: Regenerated.
* Headers/Additions/GNUstepBase/config.h.in: Regenerated.
* Source/NSPathUtilities.m: Read the new config variables.
Updated NSAdminApplicationDirectory and NSAllApplicationsDirectory
for it.
2007-02-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m:
* Source/Makefile.postamble:
* Source/NSProcessInfo.m:
* Source/GNUmakefile:
* Source/NSConcreteNumber.m:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSByteOrder.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSDecimal.h:
* Headers/Foundation/Foundation.h:
Move GSConfig.h to the GNUstepBase subdirectory so that it doesn't
appear at the top level when FHS layout is used, thus avoiding any
possible conflict with another file of the same name in /usr/include
2007-02-15 Nicola Pero <nicola.pero@meta-innovation.com>
Important: do not update from trunk if you need stability.
* Source/NSPathUtilities.m: Updated all the path routines to work
with the new filesystem support, reading and managing the new
variables.
* configure.ac: Updated for the new filesystem support: prepare
for NSPathUtilities.m default values for all the new variables.
Make sure to avoid config files overwriting our current
GNUSTEP_MAKEFILES variable.
* configure: Regenerated.
* Headers/Additions/GNUstepBase/config.h.in: Regenerated using
autoheaders to get all the new filesystem default variable
definitions.
2007-02-14 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac (GNUSTEP_MAKE_CONFIG): Output errors to config.log
rather than printing them out.
* configure.ac: Source GNUstep.sh when we need to get the current
makefile setup. Use GNUSTEP_SYSTEM_HEADERS and
GNUSTEP_SYSTEM_LIBRARIES (with backwards compatibility settings)
to compile.
* SSL/configure.ac: Same changes.
* configure: Regenerated.
* SSL/configure: Regenerated.
2007-02-14 Nicola Pero <nicola.pero@meta-innovation.com>
We're installing gnustep-base using the new
GNUSTEP_INSTALLATION_DOMAIN mechanism, so GNUSTEP_INSTALLATION_DIR
will not even be defined in makefiles and should never be
referenced.
* Tools/Makefile.postamble (after-install): Use GNUSTEP_TOOLS, not
GNUSTEP_INSTALLATION_DIR/Tools.
2007-02-14 Nicola Pero <nicola.pero@meta-innovation.com>
* Resources/GNUmakefile (base-resources_INSTALL_DIR): New variable
to get it working with new gnustep-make. Keep the old one around
for older gnustep-makes.
* Source/GNUmakefile (libbase-resources_INSTALL_DIR): Same change.
2007-02-14 Roland Schwingel <roland.schwingel@onevision.de>
* Source/NSTimeZone.m: windows bugfix for daylight savings time.
2007-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Don't treat leading '~' in path component or
extension as a root when appending that component or extension.
2007-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: Only initialise modLock where stack module
symbol handling is supported (fix bug #18938)
2007-02-06 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/manual/manual.texi: fix format errors
* Headers/Foundation/NSException.h: document stack trace
* Documentation/Base.gsdoc: document stack trace
* Source/NSException.m: control stack trace with environment variable
Rewrite module loading code to be thread safe.
Use dladdr where available, to get offsets for dynamic library
symbols so bfi based lookup of function/method name and line
number information can work for libraries as well as the main
executable.
2007-02-05 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: minor tweak to avoid possible inconsistency in
environment used to check LLOGN_MAX and LONG_LONG_MAX presence.
* configure: regenerate
* Source/GSHTTPURLHandle.m: always remove self as observer for all
notifications on a socket when closing it.
2007-02-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSExpression.h:
Fixup version macros
* Source/NSDebug.m: Make frame functions safe.
* Source/NSException.m: Use non-symbolic stack trace if symbols
are not available.
* Source/NSIndexSet.m: Add private method for minternal use.
* Source/NSMessagePort.m: Fix error releasing uninitialised instance.
2007-01-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m: Fix bug reporting autorlease count.
2007-01-28 Richard Frith-Macdonald <rfm@gnu.org>
* unix/NSStream.m:
* win32/NSStreamWin32.m:
Send event if an error occurs in the -open method.
2007-01-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: fix failure to unlock thread lock when
unabel to obtain filesystem lock.
2007-01-23 Adam Fedor <fedor@gnu.org>
* Source/NSObject.m ([NSObject +initialize]): Apply BSD FPU fix
only on x86 machines.
2007-01-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePortNameServerWin32.m:
* Source/win32/NSMessagePortWin32.m:
Bugfixes to try to make win32 nameserver operation more reliable.
2007-01-19 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/defaults.m: Make errors go to stderr and be more informative.
2007-01-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLHandle.m: ([resourceData]) make sure value returned
is autoreleased.
* Source/NSURL.m: Parse string a bit more strictly according to RFC
2007-01-16 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Fixed url of build guide given in error message
when ffcall/ffi is not found.
2007-01-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNetServices.m: Locking fix pointed out by Chris.
Fixes for documentation generation.
* Source/DocMakefile: Generate documentation for new classes.
* Source/NSXMLParser.m: Fix erroneous semicolons and other
autogsdoc warnings.
2007-01-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: (initialize) tiny cleanup to avoid compiler
warnings if compiled for NeXT runtime.
2006-12-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix keyed archiving error.
2006-12-27 Chris B. Vetter
* Headers/Foundation/NSNetServices.h: New class
* Source/NSNetServices.m: New class
* Source/GNUmakefile: Build NSNetServices if dns_sd is available.
* configure.ac: Check for usability of dns_sd
* Headers/Foundation/Foundation.h: Include NSNetServices.h
* Headers/Additions/GNUstepBase/config.h.in: add dns_sd availability
* base.make.in: add dns_sd availability
* configure: regenerate
Support for NSNetServices implemented by Chris.
Integrated by Richard (untested).
2006-12-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: remove old defaults as housekeeping
observer when we reset.
* Source/NSXMLParser.m: deactivate some log messages
* Source/NSPropertyList.m: add proplist parser using NSXMLParser
to support parsing of MacOS-X property lists even when libxml2
is not available.
2006-12-26 Dr. H. Nikolaus Schaller, Richard Frith-Macdonald
* Source/NSXMLParser.m: Implement reduced functionality parser if
LIBXML2 is not available.
2006-12-26 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSValueTransformer.h:
* Source/NSValueTransformer.m:
Complete implementation.
Make thread-safe.
Document.
2006-12-25 Dr. H. Nikolaus Schaller
* Headers/Foundation/NSValueTransformer.h:
* Headers/Foundation/Foundation.h:
* Source/NSValueTransformer.h:
* Source/GNUmakefile:
Initial implementation of NSValueTransformer.
2006-12-25 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstep/GSVersionMacros.h:
Added MacOS-X compatibility version constants.
2006-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumberFormatter.m:
Changes to match coding standards.
Small fix to get it to compile with older versions of gcc.
Various changes to avoid compiler warnings with newer gcc.
Fix problems of assigning immutable string instances to variables
typed as mutable strings.
2006-12-15 Graham J Lee <leeg@thaesofereode.info>
* Source/NSNumberFormatter.m:
Implement -stringForObjectValue:
2006-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/mframe.m:
* Source/cifframe.m:
* Source/callframe.m:
Fix error testing whether object is an instance.
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSNotificationQueue.h:
* Headers/Foundation/NSGeometry.h:
* Headers/Foundation/NSDecimal.h:
Audit all headers and make more MacOS-X enumeration constant fixups
so that we shouldn't need to break binary compatibility for additions
to the enumeration constants in future (we hope) there is stll the
possibility of apple adding constants which conflict with gnustep
extensions, though I've left a big gap between apple and gnu
values so that conflict should be unlikely unless they specifically
try to do it.
2006-12-14 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSPathUtilities.h:
* Source/NSPathUtilities.m:
Update constants to be MacOS-X compatible, including addition of a
few more keys added in recent versions.
WARNING ... change of constants to match MacOS0X introduces binary
incompatibility, so full recompile is required.
Fix bug/misfeature of only returning paths which exist on the
filesystem ... which broke MacOS-X applications which were correctly
expecting to find a non-existent path and create it as a location
to store their resources in.
2006-12-13 David Ayers <ayers@fsfe.org>
* Source/mframe.m (mframe_do_call),
* Source/cifframe.m (cifframe_do_call),
* Source/callframe.m (callframe_do_call): Simplify by using
GSObjCRuntime functions. Add fallback selector search for invocations
passed to proxies. Add debug diagnostics.
2006-12-05 Matt Rice <ratmice@gmail.com>
* Source/NSBundle.m (+initialize): Remove usage of classes local array.
2006-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* NSURL.m: Check for missing scheme and return nil.
* NSString.m: Check for character conversion failure when
getting a CString.
2006-11-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Limit size of handle cache to 16 to
avoid increasing memory usage indefinitely if a program keeps
loading different URLs.
2006-11-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/win32/GSFileHandleWin32.m:
* Source/Additions/GSCategories.m:
* Source/GSFileHandle.m:
Improve error checking and reporting when establishing a tcp/ip
connection.
2006-11-27 Matt Rice <ratmice@gmail.com>
* Source/NSObject.m: Fix typo.
* Headers/Foundation/NSException.h: Export
NSObjectInaccessibleException.
2006-11-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Fix buffer oiveflow vulnerability when
parsing string ... really needs major rewrite for better locale
use and full unicode support though.
* Source/GSHTTPURLHandle.m: add a little more debug.
2006-11-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m:
Fix potential double load of URL data.
* unix/NSStream.m:
* win32/NSStreamWin32.m:
Re-use socket ports so that programs can start up again immediately
after they have shut down.
2006-11-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Fix to parse timezone names as being
whitespace delimited.
2006-11-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAffineTransform.m: Adapted from old gui code
* Headers/Foundation/NSAffineTransform.h: ditto
* Source/GNUmakefile: Add NSAffineTransform.
* Headers/Foundation/Foundation.h: ditto
Add NSAffineTransform for MacOS-X compatibility ... gui specific
code is added using a category in the gui library.
2006-11-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: ([setRootNode:]) Add checks for invalid
argument and improve documentation.
* Source/GSHTTPURLHandle.m: don't keep unecessary read operation in
progress on idle connection.
2006-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
Notice: you should now use 'make DESTDIR=/tmp/xxx install' if you
want to relocate all the installation into /tmp/xxx/
* Makefile.postamble: Use DESTDIR instead of INSTALL_ROOT_DIR
everywhere.
2006-11-15 Nicola Pero <nicola.pero@meta-innovation.com>
* Documentation/GNUmakefile (GNUSTEP_INSTALLATION_DOMAIN): Use
GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR.
* Documentation/General/GNUmakefile: Same change.
* NSCharacterSets/GNUmakefile: Same change.
* NSTimeZones/GNUmakefile: Same change.
* Resources/GNUmakefile: Same change.
* Source/GNUmakefile: Same change.
* SSL/GNUmakefile: Same change.
* Tools/GNUmakefile: Same change.
2006-11-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: fix bug detecting eof in read.
Add code to check for eof immediately before writing.
2006-11-14 Adam Fedor <fedor@gnu.org>
* Headers/Additions/GNUstepBase/GSCategories.h: Add GSOnce macros.
* Source/Additions/GSFunctions.m: Add GSCategories.h
2006-11-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Fix a few string parsing errors (check that
string matches format in MacOS-X compatible manner).
* Source/GSHTTPURLHandle.m: try to detect socket being closed by
remote end of connection before we try writing to it.
2006-11-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Clear pageInfo before load.
Improve checking for dropped connections.
2006-11-08 Richard Frith-Macdonald <rfm@gnu.org>
Source/NSIndexSet.m: ([addIndexesInRange:])
Fix for case when added range lies within existing range.
2006-11-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: ([stringByEscapingXML]) Fix bug causing
newline characters to be removed from escaped strings.
2006-11-07 David Wetzel <dave@turbocat.de>
* Source/Additions/GSXML.m:
Fix error setting start and end element for SAX.
2006-11-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSObject.m: Use %p to print address in description.
* Documentation/General/OpenStepCompliance.gsdoc:
* Documentation/General/Debugging.gsdoc:
* Tools/gsdoc.gsdoc:
* Tools/gdomap.gsdoc:
* Tools/gsdoc-1_0_1.dtd:
* Tools/gsdoc-1_0_1.rnc:
* Tools/autogsdoc.m:
* Tools/AGSOutput.m:
* Tools/autogsdoc.1:
* Tools/BaseTools.gsdoc:
Minor documentation version fixups.
2006-11-03 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: ([stringByAddingPercentEscapesUsingEncoding:])
Improved documentation.
* Source/Additions/GSMime.m: Add more charset mappings for where the
hyphen after the 'iso' has been omitted.
2006-11-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: ([stringByAddingPercentEscapesUsingEncoding:])
Make the set of characters escaped compatible with MacOS-X (10.4).
2006-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSortDescriptor.m; minor tidyups
* Headers/Foundation/NSSortDescriptor.h: add documentation
* Headers/Foundation/NSKeyValueCoding.h: improve version macros
* Headers/Foundation/NSKeyValueObserving.h: add include for NSArray
2006-10-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSocketPortNameServer.m:
* Source/NSRunLoop.m:
* Source/NSDebug.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/NSPort.m:
* Source/NSConcreteNumber.h:
* Source/win32/GSRunLoopCtxt.m:
* Source/NSThread.m:
* Source/NSSerializer.m:
* Documentation/Base.gsdoc:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSRange.h:
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSByteOrder.h:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSKeyValueCoding.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSSerialization.h:
* Headers/Foundation/NSURLHandle.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSPathUtilities.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSNotificationQueue.h:
* Headers/Foundation/NSGeometry.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSDecimal.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSFormatter.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSProxy.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSPortMessage.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSPredicate.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSClassDescription.h:
* Headers/Foundation/NSNull.h:
* Headers/Foundation/NSZone.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSDistantObject.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/Foundation.h:
* Headers/Foundation/NSCharacterSet.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSUtilities.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSEnumerator.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSMapTable.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Additions/GNUstepBase/GSXML.h:
* Headers/Additions/GNUstepBase/behavior.h:
* Headers/Additions/GNUstepBase/GSFunctions.h:
* Headers/Additions/GNUstepBase/GSConfig.h.in:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Headers/Additions/GNUstepBase/GSCategories.h:
* Headers/Additions/GNUstepBase/GSIMap.h:
* Headers/Additions/GNUstepBase/GSIArray.h:
* Headers/Additions/GNUstepBase/GSMime.h:
* Headers/Additions/GNUstepBase/Unicode.h:
Ensure all headers have up to date version macros included.
Update to remove obsolete version macro information.
Tidy FSF address for consistency.
Tidy per-heaader inclusion guard preprocessor definitions.
2006-10-30 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSUserDefaults.h:
* Source/NSUserDefaults.m:
Update comments into headers and tag methods with API version
information.
2006-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSPrivate.h:
* Source/Additions/Unicode.m:
* Source/GSeq.h:
* Headers/Additions/GNUstepBase/Unicode.h:
runi_cop should be private in future.
remove some redundant code.
* Source/Additions/GSMime.m: Add support for some more character
encodings.
Fix uninitialised variable compiler failed to warn about.
2006-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m: GSPrivateCheckTasks() retain terminated task
while handling termination process and notification to prevent
possible thread safety issue spotted by Wim.
2006-10-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: use declaration of GSArray from GSPrivate.h
* Source/GSArray.m: ditto
* Source/NSArray.m: ditto
* Source/NSSerializer.m ditto
* Source/NSConcreteNumberTemplate.m: Use private function to get hash.
* Source/NSConcreteNumber.m: ditto
* Source/NSNumber.m: ditto
* Source/GSPrivate.h: Add hash functions.
* Headers/Foundation/NSSortDescriptor.h: Add a little documentation.
* Source/NSSortDescriptor.m: Implement better hash/isEqual as
suggested by David. Complete rewrite of sorting to avoid lots of
heap memory operations ... should be much much faster.
2006-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Define HAVE_VISIBILITY_ATTRIBUTE if gcc's visibility
attribute is both present in the version being used and working on
the current platform.
* configure: Regenerate
* Headers/Additions/GNUstepBase/config.h.in: Regenerate
* Source/GSPrivate.h: Only use the visibility attribute if it is
available. Avoids warnings (and link errors in at least one case)
on systems where it is not fully supported by gcc yet.
* Headers/Foundation/NSSortDescriptor.h: Tidy and fix macros marking
macos compatibility.
* Source/NSSortDescriptor.m: Fix to have usable hash and isEqual
(bug #18107).
2006-10-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate: when adding offset to a date, work in
the timezone for the date rather than in GMT ... fixes bug #18088
* Source/NSBundle.m:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
* Source/preface.m:
* Source/NSCallBacks.h:
* Source/GSPrivate.h:
* Source/NSFileManager.m:
* Source/objc-load.h:
* Source/objc-load.m:
* Headers/Additions/GNUstepBase/preface.h.in:
More cleanups hiding private functions and removing a few unused bits.
2006-10-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSPrivate.m:
* Source/GSFormat.h:
Deleted unused files.
* Headers/Foundation/NSError.h:
* Source/NSError.m:
Updated to current MacOS-X spec.
* Source/NSIndexPath.m:
* Source/NSSocketPortNameServer.m:
* Source/NSTimeZone.m:
* Source/NSHashTable.m:
* Source/NSBundle.m:
* Source/NSPropertyList.m:
* Source/libgnustep-base-entry.m:
* Source/GSConcreteValueTemplate.m:
* Source/NSScanner.m:
* Source/NSProcessInfo.m:
* Source/NSGeometry.m:
* Source/NSSocketPort.m:
* Source/NSUndoManager.m:
* Source/NSMethodSignature.m:
* Source/NSFormatter.m:
* Source/NSUserDefaults.m:
* Source/NSArray.m:
* Source/NSMessagePortNameServer.m:
* Source/objc-gnu2next.m:
* Source/GSStream.m:
* Source/NSDebug.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/GSConcreteValue.m:
* Source/NSDistributedLock.m:
* Source/NSFileHandle.m:
* Source/preface.m:
* Source/NSAssertionHandler.m:
* Source/NSConcreteNumberTemplate.m:
* Source/GSHTTPURLHandle.m:
* Source/NSZone.m:
* Source/NSCallBacks.m:
* Source/NSMessagePort.m:
* Source/GSDictionary.m:
* Source/GSPrivate.h:
* Source/GSCountedSet.m:
* Source/win32/GSFileHandleWin32.m:
* Source/win32/GSRunLoopCtxt.m:
* Source/win32/NSMessagePortWin32.m:
* Source/win32/NSStreamWin32.m:
* Source/NSFileManager.m:
* Source/NSConcreteNumber.m:
* Source/NSNotificationCenter.m:
* Source/externs.m:
* Source/NSRange.m:
* Source/NSException.m:
* Source/NSCopyObject.m:
* Source/mframe.m:
* Source/NSObject.m:
* Source/NSString.m:
* Source/Additions/Unicode.m:
* Source/Additions/GNUmakefile:
* Source/Additions/GSCompatibility.m:
* Source/Additions/GSCategories.m:
* Source/GSSet.m:
* Source/GSString.m:
* Source/NSThread.m:
* Source/NSData.m:
* Source/NSHost.m:
* Source/NSProxy.m:
* Source/NSProtocolChecker.m:
* Source/NSPipe.m:
* Source/GSValue.m:
* Source/NSDictionary.m:
* Source/NSClassDescription.m:
* Source/NSSerializer.m:
* Source/NSNull.m:
* Source/NSValue.m:
* Source/NSCountedSet.m:
* Source/NSLog.m:
* Source/GSFormat.m:
* Source/NSIndexSet.m:
* Source/GSFileHandle.m:
* Source/NSLock.m:
* Source/NSDistantObject.m:
* Source/NSTask.m:
* Source/NSPortNameServer.m:
* Source/NSNumberFormatter.m:
* Source/NSXMLParser.m:
* Source/GSFTPURLHandle.m:
* Source/NSEnumerator.m:
* Source/GSURLPrivate.h:
* SSL/GSSSLHandle.m:
Move from GSPrivate class to GSPrivate functions as majority prefer
that. Make some more private functions use GSPrivate prefix and be
unlinkable outside base. Rationalise error string generation.
Tidy up FSF address in comments.
2006-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/manual/DistributedObjects.texi: Update for current API
* Source/NSNotificationQueue.m:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/NSUserDefaults.m:
* Source/NSMessagePortNameServer.m:
* Source/NSDebug.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/GSPrivate.h:
* Source/win32/GSFileHandleWin32.m:
* Source/win32/GSRunLoopCtxt.m:
* Source/NSCoder.m:
* Source/Additions/GSPrivate.m:
* Source/NSAutoreleasePool.m:
* Source/NSTask.m:
* Headers/Foundation/NSCoder.h:
Remove long deprecated coder extensions (old libobjects
compatibility).
Hide some internal functions.
Make some values static.
Make function to obtain locale dictionary thread safe.
2006-10-19 Matt Rice <ratmice@yahoo.com>
* Source/NSBundle.m (_find_framework): initialize file_name variable.
2006-10-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Strip path extension from main bundle name on
cygwin.
* Headers/Foundation/NSPortNameServer.h: Improve documentation
2006-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Makefile.postamble:
Remove use of UNICODE_HEADERS which appears to beave been breaking
solaris build.
2006-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSPrivate.m:
* Source/Additions/Unicode.m:
* Source/GSPrivate.h:
* Source/NSArray.m:
* Source/NSCalendarDate.m:
* Source/NSDate.m:
* Source/NSDecimalNumber.m:
* Source/NSDictionary.m:
* Source/NSNotification.m:
* Source/NSObject.m:
* Source/NSProcessInfo.m:
* Source/NSScanner.m:
* Source/NSString.m:
* Source/NSUserDefaults.m:
Experiments with gcc attribute for making functions inaccessible
outside the library ... new experimental function
GSPrivateDefaultLocale() declared in GSPrivate.h, implemented in
Additions/GSPrivate.m seems to work and to be invisible to the linker
for external apps.
2006-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m:
Fix error writing negative numbers to property list.
2006-10-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFCallInvocation.m:
* Source/GSFFIInvocation.m:
* Source/GSPrivate.h:
* Source/Additions/GNUmakefile:
* Source/Additions/GSPrivate.m:
* Source/Additions/GSCategories.m:
Minor further work simplifying and getting rid of unnecessary
external symbols etc.
2006-10-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileHandle.m: Look for SSL bundle in any domain.
* Source/NSTimer.m: Fix minor documentation error.
2006-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
* GNUmakefile (GNUSTEP_INSTALLATION_DOMAIN): Use
GNUSTEP_INSTALLATION_DOMAIN instead of GNUSTEP_INSTALLATION_DIR.
2006-10-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/externs.m:
* Source/Additions/Unicode.m:
* Source/NSDecimal.m:
* Source/GSFormat.m:
* Testing/tcpport-server.m:
* Testing/exported-strings.m:
Make many globals static, remove some obsolete variables etc.
2006-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
* SSL/Makefile.postamble (after-distclean): Remove all configure
generated files.
(config.mak): Run config.status, not ../config.status.
($(GNUSTEP_TARGET_DIR)/config.h): Run config.status first. Do not
try to move config.h into a target specific dir if the target dir
is '.'.
(config.status): New rule to recreate it.
2006-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
* Source/Additions/Makefile.preamble (ADDITIONAL_INCLUDE_DIRS):
Added -I.. so that the compiler finds GSPrivate.h when it's using
the non-flattened layout, and it compiles again.
* SSL/Makefile.preamble (ADDITIONAL_INCLUDE_DIRS): Added
-I../Source for the same reason.
2006-10-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDecimalNumber.m: Implement coding/decoding
2006-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
* GNUmakefile: Do not include GNUmakefile.local.
2006-10-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSCompatibility.m: Removed ... no longer used
* Source/GNUmakefile: Remove GSCompatibility.m
* Source/NSGeometry.m:
* Source/NSArray.m:
* Source/NSDictionary.m:
Update to get rid of a couple of functions which were not really
needed, slimming down global symbols a bit more.
2006-10-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
Remove previously deprecated functionality.
* Documentation/TypesAndConstants.gsdoc:
* Documentation/ReleaseNotes.gsdoc:
* Documentation/Functions.gsdoc:
* Documentation/BaseAdditions.gsdoc:
* Documentation/Base.gsdoc:
* ChangeLog:
* Tools/AGSHtml.m:
* Tools/AGSParser.m:
* Tools/autogsdoc.m:
* Tools/AGSOutput.m:
Update/improve version/deprecation reporting.
2006-10-09 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/unicode:
Moved to Source/Additions/unicode
* Source/NSSocketPortNameServer.m:
* Source/GSLocale.m:
* Source/NSTimeZone.m:
* Source/GSCompatibility.m:
* Source/NSCalendarDate.m:
* Source/NSBundle.m:
* Source/NSPropertyList.m:
* Source/NSPathUtilities.m:
* Source/NSScanner.m:
* Source/NSProcessInfo.m:
* Source/GNUmakefile:
* Source/NSSocketPort.m:
* Source/NSUserDefaults.m:
* Source/GSFFCallInvocation.m:
* Source/NSArray.m:
* Source/GSStream.m:
* Source/NSKeyedArchiver.m:
* Source/NSDebug.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/NSDistributedLock.m:
* Source/GSHTTPURLHandle.m:
* Source/NSMessagePort.m:
* Source/GSPrivate.h:
* Source/win32/NSMessagePortNameServerWin32.m:
* Source/win32/GSFileHandleWin32.m:
* Source/win32/NSUserDefaultsWin32.m:
* Source/win32/GSRunLoopCtxt.m:
* Source/win32/NSMessagePortWin32.m:
* Source/win32/NSStreamWin32.m:
* Source/NSInvocation.m:
* Source/NSFileManager.m:
* Source/objc-load.m:
* Source/NSException.m:
* Source/NSString.m:
* Source/NSObject.m:
* Source/NSDecimalNumber.m:
* Source/Additions/Unicode.m:
* Source/Additions/GSXML.m:
* Source/Additions/GSFunctions.m:
* Source/Additions/GSCompatibility.m:
* Source/Additions/GSCategories.m:
* Source/NSDecimal.m:
* Source/GSString.m:
* Source/NSDateFormatter.m:
* Source/NSThread.m:
* Source/NSData.m:
* Source/NSHost.m:
* Source/NSDate.m:
* Source/NSObjCRuntime.m:
* Source/NSPipe.m:
* Source/NSDictionary.m:
* Source/NSLog.m:
* Source/GSFormat.m:
* Source/GSFileHandle.m:
* Source/NSTask.m:
* Source/NSArchiver.m:
* Source/GSFTPURLHandle.m:
* SSL/GSSSLHandle.m:
* Headers/Foundation/NSException.h:
* Headers/Additions/GNUstepBase/GSFunctions.h:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Headers/Additions/GNUstepBase/Unicode.h:
* Tools/xmlparse.m:
* Tools/defaults.m:
* Tools/locale_alias.m:
* Tools/Makefile.preamble:
* Tools/AGSParser.m:
* Tools/make_strings/make_strings.m:
* Tools/pl.m:
* Testing/tcpport-server.m:
* Testing/exported-strings.m:
* Testing/call.m:
* Testing/nsconnection_server.m:
* Testing/benchmark.m:
* Testing/tcpport-client.m:
Continuing effort to reduce global namespace pollution ... made many
external variables static (particuarly unicode tables). Changed
several global functions to be methods of a private internal class.
Also updated several usages of deprecated cString methods to use
either UTF8 methods or cString...encoding methods as seemed most
appropriate and/or simplest.
2006-10-06 Fred Kiefer <FredKiefer@gmx.de>
* Source/Additions/GSMime.m(GSMimeDocument +initialize): Corrected
small bug in last patch.
2006-10-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Add a couple more charset mappings.
* Source/NSRunLoop.m: Move some variables to GSRunLoopCtxt.m
* Source/GSHTTPURLHandle.m: Make a global static
* Source/NSPort.m: Make two globals static
* Source/unix/GSRunLoopCtxt.m: Make variable static.
* Source/win32/GSRunLoopCtxt.m: Make variable static.
2006-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
* Source/NSHTTPCookieStorage.m:
* Source/GSHTTPAuthentication.m: Add a little checking for nil/invalid
arguments. Make parsing of authentication a little more tolerant.
2006-10-03 Richard Frith-Macdonald <rfm@gnu.org>
* Version: Bump to version for next release.
* configure.ac: Check for utsname
* configure: Regenerate
* Headers/Additions/GNUstepBase/config.h.in: Regenerate
* Headers/Foundation/NSObject.h: Small documentaion improvement
* Headers/Foundation/NSProcessInfo.h: Add documentation and update.
* Source/NSProcessInfo.m: Moved documentation to header, clean up
and complete operating system code.
* Testing/nsprocessinfo.m: Trivial test updates. Avoid use of cString
2006-10-02 Nicola Pero <nicola.pero@meta-innovation.com>
More work on having the default flattened gnustep build with just
GNUSTEP_MAKEFILES set. Non-flattened builds will still require
sourcing GNUstep.sh before configure instead.
* configure.ac: Use new variable GNUSTEP_IS_FLATTENED instead
of GNUSTEP_FLATTENED, defaulting now to 'yes'. To build
non-flattened you have to source GNUstep.sh first.
* configure.ac (config.make): When determining objc threading
flags in non-flattened mode, look for config.make in a
library-combo subdir since that's where it is installed by
gnustep-make now.
* configure.ac: Extended the error message when the GNUstep conf
file is not found.
* configure: Regenerated.
* SSL/configure.ac: Use GNUSTEP_IS_FLATTENED instead of
GNUSTEP_FLATTENED.
* SSL/configure: Regenerated.
* Source/GNUmakefile: Renamed -DGNUSTEP_FLATTENED to
-DGNUSTEP_IS_FLATTENED. This is just for consistency
with the new gnustep-make variable name.
* Source/NSPathUtilities.m: Same changes.
2006-09-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Fix for buffer resize error when registering
framework info, as suggested by Andreas Hoschler.
2006-09-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: ([stringByAddingPercentEscapesUsingEncoding:])
Fix to escape '@' (in fact anything not unreserved acording to
RFC2396)
* Source/NSPathUtilities.m: Fix missing include.
2006-09-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m: ([-operatingSystemName]) conform to
MacOS-X and return NSMACHOperatingSystem rather than darwin etc.
2006-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac (GNUSTEP_MAKE_CONFIG): Get this config from
config-noarch.make (requires gnustep-make > 1.13.0). If failing,
fall back to taking it from $GNUSTEP_MAKEFILES/config.make as it
was done before (works with gnustep-make < 1.13.0 only though).
* configure: Regenerated.
2006-09-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Add hack to recognize apple plist info
and use the GNUstep plist DTD instead if necessary.
2006-09-13 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSRange.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSByteOrder.h:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSKeyValueCoding.h:
* Headers/Foundation/NSSerialization.h:
* Headers/Foundation/NSURLHandle.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSPathUtilities.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSNotificationQueue.h:
* Headers/Foundation/NSGeometry.h:
* Headers/Foundation/NSStream.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSDecimal.h:
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSFormatter.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSProxy.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSPortMessage.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSPredicate.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSClassDescription.h:
* Headers/Foundation/NSNull.h:
* Headers/Foundation/NSZone.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSDistantObject.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSArchiver.h:
* Headers/Foundation/NSCharacterSet.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSEnumerator.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSIndexPath.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSMapTable.h:
* Headers/Foundation/NSURLCache.h:
* Headers/Additions/GNUstepBase/GSLocale.h:
* Headers/Additions/GNUstepBase/GSXML.h:
* Headers/Additions/GNUstepBase/DistributedObjects.h:
* Headers/Additions/GNUstepBase/behavior.h:
* Headers/Additions/GNUstepBase/GSFunctions.h:
* Headers/Additions/GNUstepBase/GSObjCRuntime.h:
* Headers/Additions/GNUstepBase/GSCategories.h:
* Headers/Additions/GNUstepBase/GCObject.h:
* Headers/Additions/GNUstepBase/GSIMap.h:
* Headers/Additions/GNUstepBase/GSIArray.h:
* Headers/Additions/GNUstepBase/GSMime.h:
* Headers/Additions/GNUstepBase/GSUnion.h:
* Headers/Additions/GNUstepBase/GSLock.h:
* Headers/Additions/GNUstepBase/GSFileHandle.h:
* Headers/Additions/GNUstepBase/GNUstep.h:
* Headers/Additions/GNUstepBase/objc-gnu2next.h:
* Headers/Additions/GNUstepBase/Unicode.h:
Bracket with 'extern "C"' for inclusion in Objective-C++ programs.
* Source/NSNotificationCenter.m: Remove deprecated method.
2006-09-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: When decoding a corrupt encoded word
in a header, abandon processing of the header without appending
any decoded data.
* Headers/Foundation/NSBundle.h:
* Source/NSBundle.m:
([pathForResource:ofType:inDirectory:forLocalization:]) implement.
2006-09-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m: Remove unnecessary check on file name as
Roland Schwingel reported that it caught legitimate files on windows.
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
* Source/NSIndexPath.m:
* Source/NSBundle.m:
Protect -release with lock and remove object from global table within
protected region, to avoid possible double deallocation in a
multithreaded process.
* Source/unix/NSStream.m: If socklen_t is not defined, assume uint32_t
2006-09-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePortWin32.m: Restructure to try to avoid
deadlock reported by Wim. Also implement -release to remove port
from name table so that another thread can't find it in the window
between checking the refcount end deallocation.
2006-09-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h: Fix incorrect backward compatibility
setting for openstep version.
* Source/NSObject.m: minor tweak ... put debugging code in the object
reference counting function rather than the release method.
* Source/NSConnection.m: Change release implementation for better
protection of global connection table management.
2006-09-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: ([release]) protect with connection table
lock to prevent an other thread grabbing the connection while we
are deallocating it. Bug reported by Wim Oudshoorn.
2006-08-28 Adam Fedor <fedor@gnu.org>
* Version 1.13.0
2006-08-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m: Fix passing int variable to printf format
expecting long.
* Source/NSTask.m: create windows task as detached process.
* NSTimeZones/NSTimeZones./tar: regenerated
2006-08-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSScanner.m: initialisation fix pointed out by David Ayer
* Source/NSBundle.m: fix for getting class from gnustep bundle
* Source/NSConnection.m: thread deadlock fix based on probelm and
solution supplied by Wim Oudshoorn
* Source/NSArchiver.m:
* Source/NSKeyedArchiver.m:
* Source/NSPortCoder.m: Fix possible problem on 64bit CPUs reported
by Wim.
2006-08-16 Richard Frith-Macdonald <rfm@gnu.org>
* NSCharacterSets/letterCharSet.dat:
* NSCharacterSets/symbolAndOperatorCharSet.dat:
* NSCharacterSets/lowercaseLetterCharSet.dat:
* NSCharacterSets/uppercaseLetterCharSet.dat:
* NSCharacterSets/alphanumericCharSet.dat:
* NSCharacterSets/punctuationCharSet.dat:
* NSCharacterSets/illegalCharSet.dat:
* NSCharacterSets/decimalDigitCharSet.dat:
* NSCharacterSets/nonBaseCharSet.dat:
* NSCharacterSets/decomposableCharSet.dat: Update for chinese etc.
* Source/NSCharacterSetData.h: Update with ranges in UnicodeData.txt
* Source/GSStream.m: Add partial implemenmtation of socks5
* Source/Additions/GSMime.m: improve fault tolerance when parsing
headers.
2006-08-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: substring_c(), substring_u() move structure type
declaration out of function to help old (pre-gcc-3) compiler, as
suggested by Adam.
* Source/NSString: ([dataUsingEncoding:allowLossyConversion:]}
replace implementation with call to concrete subclass so that we only
have one version of this large, complex method to maintain, as
suggested by David.
2006-08-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedArchiver.m: make a guess at how MacOS-X decides to
encode objects directly ... if the classForKeyedArchiver method
returns a property list class (other then array and dictionary
which contain other objects) we try direct coding.
2006-08-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: optimise a bit and fix bug where utf8 (and other
multibyte encodings) strings could be truncated at the wrong
precision.
* Source/NSIndexPath.m: ([indexAtPosition:]) return NSNotFound if
given a bad position. ([compare:]) fix to match MacOS-X
* Source/NSObject.m: implement CRASH_ON_ZOMBIE
* Documentation/Base.gsdoc: document it.
* Source/NSArray.m: Fix error in decoding from keyed archive.
2006-08-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: getCString_c() call getCString_u() to do the
work if external encoding != internal encoding.
* Source/NSScanner.m: Fix for utf8
* Source/GSFormat.m: remove call to deprecated method.
* Source/NSString.m: remove calls to deprecated methods.
Fix getCstring... by using concrete class implementation.
2006-08-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m: Fixup for path validation error on mingw32
* Headers/Foundation/NSStream.h: improve documentation.
* Source/GSStream.h:
* Source/GSStream.m:
* Source/unix/NSStream.m:
* Source/win32/NSStreamWin32.m:
Add lots of error checking, simplify a little, get local streams on
mingw to close down properly.
2006-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.m:
* Source/win32/NSStreamWin32.m:
Fix error in pipe read offset. Imitial implementation of local
'unix domain sockets' (actually named pipe) stream.
2006-08-10 Nicola Pero <nicola.pero@meta-innovation.com>
* configure.ac: Fixed typo in help of --with-default-config option.
* configure: Regenerated
2006-08-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.h:
* Source/GSStream.m:
* Source/unix/NSStream.m:
* Source/win32/NSStreamWin32.m:
Ensure all events are posted. Fixup for winsock write signalling.
2006-08-09 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/Base.gsdoc: Improve links to macros.
* Headers/Foundation/NSObject.h: Improve versioning documentation
* Headers/Foundation/NSNotificationQueue.h: tidied
* Headers/Foundation/NSUndoManager.h: ditto
* Headers/Foundation/NSAutoreleasePool.h: ditto
Documentation improvements and header tidyups.
2006-08-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSStream.h:
* Source/GSStream.m:
* Source/win32/NSStreamWin32.m:
* Source/unix/NSStream.m:
If a connection attempt fails, propagate error to sibling stream so
both streams in the pair get a failure.
Try to make behavior of socket streams MacOs-X like, avoiding repeated
notifications of events.
2006-08-07 00:13-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSData.m: Correct issue in initWithCoder: and encodeWithCoder:
with encoding data using keyed archiver.
2006-08-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: Reorganize initialisation of scanner to avoid
implicit cast of zero to a va_listt (fix bug #17336)
* Source/Additions/GSObjCRuntime.m: GSObjCMakeClass() fix incorrect
calculation of ivar size/offset information as reported in bug #17069
2006-08-04 23:26-EDT Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSKeyedArchiver.m: in _encodeObject:forKey: use replacement
if it exists.
* Source/NSKeyedUnarchiver.m: in unarchiveObjectWithFile: remove
autorelease pool, since the unarchiveObjectWithData: object is
already autoreleased, this was causing a crash when unarchiving the
object.
2006-07-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Remove a couple of comments
* Headers/Additions/GNUstepBase/GSMime.h: Add improved documentation
for the bas64 conversion methods.
2006-07-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedUnarchiver.m: Reinstate fix of 2006-07-14 which was
erroneously reverted on 2006-07-15.
2006-07-19 Jeremy Bettis <jeremy@deadbeef.com>
* Source/win32/NSUserDefaultsWin32.m:
The method wantToReadDefaultsSince:
was always returning YES. Fixed to work as intended.
2006-07-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Only queue a new read on a handle if there
is not one in progress. Where a connection has been kept alive, we
can have an outstanding read intended to determine when the connection
is dropped by the remote end.
2006-07-15 17:00 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSKeyedUnarchiver.m: Partial fix for bug#17112.
2006-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedUnarchiver.m: ([-dealloc]) release objects in array
to fix bug #17097
2006-07-07 Richard Frith-Macdonald <rfm@gnu.org>
* Resources/Languages/README: describe how to deal with files where
the BOM is missing.
* Resources/Languages/Korean: update supplied by YunSong Hwang
2006-07-06 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: remove unnecessary include of config.h
2006-07-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m: On mingw32 create subtask with CREATE_NO_WINDOW
* Source/GSURLPrivate.h: Generalise GSHTTPAuthentication
* Source/GSHTTPAuthentication.m: Generalise to support Basic auth
* Source/NSURLProtectionSpace.m: Optimise a little.
* Source/GSHTTPURLHandle.m: Changes for GSHTTPAuthentication update.
Don't send basic authentication info unless challenged by server.
2006-07-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Keep count of challenge/authentication
to avoid recycling the same authentucation repeatedly.
2006-06-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Tools/gdnc.m: Don't try to trap SIGPROF
* Source/GSString.m: fix bug getting Cstring.
* Source/NSNotificationQueue.m: fix mem leak in multithreaded apps.
2006-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Fix spelling in comment
* Source/NSPathUtilities.m: Add GNUSTEP_EXTRA to allow extra info
in GSConfigDomain without producing an error message.
* Documentation/Base.gsdoc: Document GNUSTEP_EXTRA
2006-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: small optimisation for initialisation with
unicode data which happens to be just ascii.
2006-06-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPDigest.m: deleted
* Source/GSHTTPAuthentication.m: added
* Source/GNUmakefile: build GSHTTPAuthentication
* Source/GSHTTPURLHandle.m: use GSHTTPAuthentication
Change class name to something more intuitive and add class methods
for mapping domains/URLs to protection space objects.
Update code to used cache protection space info to put digest
authorisation in place without waiting for challenge.
2006-06-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSURLPrivate.h: Add GSHTTPDigest interface.
* Source/GSHTTPDigest.m: Add GSHTTPDigest implementation.
* Source/GNUmakefile: Build GSHTTPDigest.
* Source/NSURLProtectionSpace.m: Implement ([-hash]) and ([-isEqual:])
* Headers/Foundation/NSURLAuthenticationChallenge.h: Improve comments.
Add GSHTTPDigest class to handle HTTP digest authentication.
* Source/GSHTTPURLHandle.m: Perform rudimentary digest authentication.
2006-06-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix memory leak.
* Source/NSAutoreleasePool.m: Optimise -emptyPool method.
* Source/NSRunLoop.m: Empty autorelease pool after firing each
timer/event so that huge memory footprints are less likely to occur.
2006-06-16 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSURLCredential.h:
* Headers/Foundation/NSHTTPCookieStorage.h:
* Headers/Foundation/NSURLAuthenticationChallenge.h:
* Headers/Foundation/NSHTTPCookie.h:
* Headers/Foundation/NSURLError.h:
* Headers/Foundation/NSURLProtectionSpace.h:
* Headers/Foundation/NSURLDownload.h:
* Headers/Foundation/NSURLRequest.h:
* Headers/Foundation/NSURLCredentialStorage.h:
* Headers/Foundation/Foundation.h:
* Headers/Foundation/NSURLResponse.h:
* Headers/Foundation/NSURLConnection.h:
* Headers/Foundation/NSURLProtocol.h:
* Headers/Foundation/NSURLCache.h:
Headers for Apple's new URL loading scheme (including documentation).
* Source/NSMapTable.m:
* Source/NSURLCredential.m:
* Source/NSURLAuthenticationChallenge.m:
* Source/NSURLHandle.m:
* Source/GNUmakefile:
* Source/NSURLDownload.m:
* Source/NSURLCredentialStorage.m:
* Source/NSURLResponse.m:
* Source/NSURLProtocol.m:
* Source/NSURLCache.m:
* Source/NSHTTPCookieStorage.m:
* Source/NSURL.m:
* Source/DocMakefile:
* Source/NSHTTPCookie.m:
* Source/NSURLProtectionSpace.m:
* Source/NSURLRequest.m:
* Source/NSSet.m:
* Source/NSURLConnection.m:
Skeleton code for Apple's new URL loading scheme (plus minor
tweaks to comments in other files). This code is not expected
to work yet. Major lacks are ...
1. concrete implementations of protocols
2. on disk cache/storage management
3. thread safety (locking) for shared objects
However, I hope it will provide a good starting framework.
2006-06-15 Richard Frith-Macdonald <rfm@gnu.org>
* Additions/GNUstepBase/GSXML.h: New XMLRPC settings to control
timezone and to produce compact output.
* Source/Additions/GSXML.m: New methods and bugfix for handling
string data with no 'string' element markup.
* Additions/GNUstepBase/GSMime.h: Fix possible cases of parsing
saying that it needs more data when you have passed it an empty
data item to terminate parsing.
2006-06-06 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: ([initWithScheme:host:path:]) escape characters in
path as required.
2006-06-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexPath.m:
* Source/NSSocketPortNameServer.m:
* Source/NSTimeZone.m:
* Source/NSPortCoder.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSAttributedString.m:
* Source/GSArray.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSKeyValueObserving.m:
* Source/NSUnarchiver.m:
* Source/GSAttributedString.m:
* Source/Additions/GCArray.m:
* Source/Additions/GCDictionary.m:
* Source/Additions/GCObject.m:
* Source/NSNumber.m:
* Source/GSString.m:
* Source/NSConnection.m:
* Source/NSAutoreleasePool.m:
* Source/NSThread.m:
* Source/NSData.m:
* Source/NSDate.m:
* Source/NSNull.m:
* Source/NSValue.m:
* Source/NSPortNameServer.m:
* Headers/Additions/GNUstepBase/preface.h.in:
Fixups to avoid spurious compiler warnings.
2006-06-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Fix uninitialised variable problem.
2006-06-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix position of external function declaration.
Fix use gf getCString methods for length error.
* Headers/Foundation/NSGeometry.h: Tweaks for stuff reported as
problematic with objective-c++ compile.
2006-05-30 David Ayers <d.ayers@inode.at>
* Source/GSPrivate.h (GSCharPtr): New union type to handle
alignment issues.
(GSString): Use it.
* Source/GSString.m
([-initWithBytesNoCopy:length:encoding:freeWhenDone:]): Use GSCharPtr
instead of casts to avoid alignment issues. Fix typo's.
* Source/NSString.m
([-initWithBytesNoCopy:length:encoding:freeWhenDone:]): Correct grammar
in comment.
2006-05-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Use 'goto' to jump to 'done' label on
failure to grow buffer, rather than 'break' ... because the GROW()
macro is not aways called where a break gets you to the right place.
Fixes bug spotted by David Ayers, and is also clearer code.
2006-05-26 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/objctidy.m: Crude utility to help importing code into
GNUstep by trying to reformat common style differences to something
like iour coding standards.
2006-05-25 Andrew Ruder <andy@aeruder.net>
* Source/NSConcreteNumberTemplate.m (from NSConcreteNumber.m):
* Source/GSConcreteValueTemplate.m (from GSTemplateValue.m):
* Source/GNUmakefile:
* Source/Makefile.postamble:
* Source/GSConcreteValue.m (added):
* Source/NSConcreteNumber.m (added):
Get rid of use of sed to generate concrete NSNumber/NSValue classes.
Use preprocessor to get around generation of additional files.
2006-05-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPredicate.m: Restore last changes with varargs rewrite
using va_copy to try to make code portable. This version compiles
on systems where va_list is not a simple pointer, but is untested.
* Source/GSString.m: Use GSIsByteEncoding() to test whether an
encoding can hold ascii data.
2006-05-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m:
* Source/NSBundle.m:
* Source/NSPropertyList.m:
* Source/NSProcessInfo.m:
* Source/NSPage.m:
* Source/NSCallBacks.m:
* Source/NSSortDescriptor.m:
* Source/NSFileManager.m:
* Source/objc-load.m:
* Source/NSException.m:
* Source/NSString.m:
* Source/mframe.m:
* Source/cifframe.m:
* Source/Additions/Unicode.m:
* Source/Additions/GSXML.m:
* Source/Additions/GSNextRuntime.m:
* Source/NSConnection.m:
* Source/callframe.m:
Tidy up uses of malloc etc to all go through objc_malloc and friends.
2006-05-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Fix some cases where parse was saying
it needed more data even though it had actually completed.
* Source/NSException.m: Don't add stacktrace information if we are
not building with debug on.
* Source/GSString.m: Minor optimisation ... return @"" for all
substrings with a zero length range.
2006-05-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSerializer.m: Fix longstanding deserialisation problem ...
is not retaining cross-referenced items... which is not a problem unless
the item happens to be a dictionary key which is copied/released
when the corresponding value is added to the dictionary.
* Source/GSString.m: Make sure inline strings have 'free' flag set and
add comments to say we use it to indicate ownership of buffer rather
than whether to free the data. Maybe we should change the flag name?
* Source/Additions/Unicode.m: Fix missing brackets in byte order
handling for UTF-16. Problem pointed out by David Ayers
2006-05-20 Richard Frith-Macdonald <rfm@gnu.org>
Restore reversions with a bugfix for deserialising ascii strings
2006-05-20 Richard Frith-Macdonald <rfm@gnu.org>
Revert last changes ... passed regression tests but broke some
software :-(
2006-05-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m:
* Source/NSSerializer.m:
Commit more string tidyups and simplifications made while I was
travelling. Changed private internal string subclasses so that
they can't be re-initialised ... all instances are initialised
'manually' rather than through a method that could be called by
other code outside this file ... thus all initialisation by external
code goes through ([-initWithBytesNoCopy:length:encoding:shouldFree])
method of the placeholder string.
2006-05-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Fix error when parsing response with no
content.
* Source/NSPredicate.m: Revert to previous version as last change
contained broken code and wouldn't compile.
* Source/NSKeyValueCoding.m:
* Source/GSArray.m:
* Source/GSFFCallInvocation.m:
* Source/NSInvocation.m:
* Source/NSCoder.m:
* Source/NSObject.m:
* Source/Additions/GSCategories.m:
* Headers/Foundation/NSLock.h:
* Tools/AGSHtml.m:
* Tools/autogsdoc.m:
Use casts to avoid spurious warnings from gcc-4.1
2006-05-15 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPredicate.m:
Extracted all the parsing into a speparate class
GSPredicateScanner. This change is based on code by Nikolaus
Schaller <hns@computer.org>, but extends this.
2006-05-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m:
* Source/GSString.m:
Change to use ([initWithBytesNoCopy:length:encoding:freeWhenDone:])
as the primary/designated initialiser for strings and update code
to fix character encoding errors when copying mutable strings in
a UTF8 locale (ie where the internal encoding for 8bit strings is
not the same as the external encoding).
WARNING ... this is a restructuring of functionality which is core
to the library. Please use with care and report any bugs found.
2006-05-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: validate UTF-16 data when producing a Cstring
* Source/NSCharacterSetData.h: Add code plane 16 (private use)
* Source/NSCharacterSet.m: Fix to support code plane 16
* Source/GSString.m: Attempt to fix error making a mutable copy of
an 8bit string when the external Cstring encoding is not the same as
the internal one. Use new initWithBytes... method specifying the
encoding used in those cases.
2006-05-11 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSBundle.h: add ([bundleWithIdentifier:])
* Source/NSBundle.m: implement ([bundleWithIdentifier:]) and prevent
loading of multiple bundles with the same non-nil identifier.
Use standardised path as cache key to prevent same bundle being
loaded multiple times via symlinks etc.
* Source/NSMessagePortNameServer.m: Fixup for names which contain bad
characters for in a filename.
* Source/win32/NSMessagePortNameServerWin32.m: ditto
2006-05-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Check for content-length specified as
zero, and mark parsing as complete without attempting to read body.
2006-05-09 Nicolas Roard <nicolas@roard.com>
* Source/NSSortDescriptor.m: use -valueForKeyPath: instead
of -valueForKey:. Patch from Saso Kiselkov <diablos@manga.sk>.
2006-05-09 Dr. H. Nikolaus Schaller
* Source/GNUmakefile:
* Source/NSPredicate.m:
* Headers/Foundation/NSCompoundPredicate.h:
* Headers/Foundation/NSComparisonPredicate.h:
* Headers/Foundation/NSPredicate.h:
* Headers/Foundation/NSExpression.h:
* Headers/Foundation/Foundation.h:
Basic implementation of NSPredicate and related classes.
2006-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Check for bfd stuff for stacktrace support.
* Source/NSException.m: incorporate code by Lloyd Dupont and Wim
Oudshoorn to add a stack trace to a raised exception. Cleaned up
and made to conform to coding standards. Rewrote code to build
list of binary files from NSBundle.
EXPERIMENTAL! Turn this on by building with STACKTRACE defined
2006-05-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: ignore profile/debug extensions in library name
when looking for library bundles.
2006-05-06 Fred Kiefer <FredKiefer@gmx.de>
* Resources/Languages/Esperanto: New language file.
* Resources/Esperanto.lproj/Localizable.string: New string
translations. Patch by Ingolf Jandt <i.jandt@web.de>.
* Resources/Languages/Korean: New language file.
* Resources/Korean.lproj/Localizable.string: New string
translations. Patch by Hwang YunSong <hys545@dreamwiz.com>.
* Resources/GNUmakefile: Added new languages.
2006-05-05 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSBundle.h: fix type of _bundleClasses
* Source/NSBundle.m: Try to make bundles for libraries behave as
well as possible with respect to the code in the libraries.
Rather depends on the Info.plist in the resource directory
specifying an NSPrincipalClass so that we can look up that
class at runtime and determine the file it came from.
Added documentation to mmake it clear that this is not
reliable (eg impossible for static or non-existent libraries).
2006-04-30 David Ayers <d.ayers@inode.at>
* Source/NSString: Define _GNU_SOURCE to make protoype of fwprintf
visible.
2006-04-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedUnarchiver.m: Fix decoding of NSNull objects.
* Source/Additions/GSXML.m: Ensure that calls to parse documents
handle the success/failure value returned. Improve exception info.
2006-04-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURL.m: Fix error unescaping uppercase hex digits.
2006-04-26 Saso Kiselkov
* Headers/Foundation/NSException.h: Support native exceptions.
2006-04-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Correction to millisecond fix ... for
bug #16426
* Resources/GNUmakefile: Fix installation of Ukrainian language.
* Source/NSProcessInfo.m: Always use UTF16 args on mingw32.
2006-04-26 Hubert Chan
* config/config.align.c: force compiler not to optimise away the
code being tested ... fixes bug #16342
2006-04-26 Marcus Muller
* Source/NSKeyValueCoding.m: Fix bug #16386
2006-04-26 Sergii Stoian <stoyan255@ukr.net>
* Resources/Languages/Russian: Updates and fixes
* Resources/Languages/Ukrainian: New file
* Resources/Languages/UkrainianRussian: Removed wrong file
2006-04-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Avoid a couple of minor rounding errors
by using floating point constants for millisecond multipliers.
2006-04-24 Alex Perez <aperez@alexperez.com>
* Source/NSProcessInfo.m: Elaborated upon the
GNU_MISSING_MAIN_FUNCTION_CALL error message, adding a section about
the most common cause of the error being mismatched gui and base
library versions. Feel free to make more clear or re-word.
2006-04-17 Adam Fedor <fedor@gnu.org>
* Source/NSTimeZone.m: Remove space in @ string define (causes
problems with gcc 2.95).
2006-04-14 Jeremy Bettis <jeremy@deadbeef.com>
* Source/win32/GSFileHandleWin32.m: Fix background reading of pipes.
Several changes for Openstep compatiblity: Don't queue notification,
don't raise exception when asked to read while a background operation
is in progress.
* Source/win32/GSRunLoopCtxt.m: If there are no handles to block on
but there is a timer, sleep until the timer needs to wake up.
2006-04-12 Jeremy Bettis <jeremy@deadbeef.com>
* Source/NSTimeZone.m: Use native time zone files under Solaris.
* Source/GSFFCallInvocation.m: If the returning context is expecting
a void* but we have a different return type just cast it. This
normally is because the method was not declared and has defaulted
to returning id.
* Source/win32/NSUserDefaultsWin32.m: Write defaults to registry as
unicode strings, read in either unicode(REG_SZ) or ascii(REG_BINARY).
* Source/win32-load.h: In mingw, fileSystemRepresentation is unicode
* Source/objc-load.m: In mingw, fileSystemRepresentation is unicode
* Source/NSPropertyList.m (propertyListFromData:mutabilityOption:format:errorDescription:):
Don't call memcmp if the data is smaller than 8 bytes.
* Source/NSFileManager.m (isExecutableFileAtPath:):
Added a comment
* Source/NSBundle.m (objc_executable_location):
A cast was obsuring a misuse of fileSystemRepresentation
2006-04-10 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPropertyList.m (BinaryPLGenerator - storeCount:):
Corrected line forgotten when applying last patch.
2006-04-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: ([GSSAXHandler-dealloc]) fix memory leak.
2006-04-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: When loading localisation striong files, check
the character encoding used and warn if it's not portable and may
be producing incorrect messages due to the current default C string
encoding not being the same as the one the file was created in.
2006-04-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSetData.h: Updated to version with comments.
2006-03-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSObjCRuntime.m: Add a class for autoreleased
memory so it is clearer when using object allocation debugging.
2006-03-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSString.m: Fix error initialising mutable string from
unicode char array conmtaining ascii characters.
Fix a few memory mleaks.
2006-03-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSStreamWin32.m: Various tidyups for pipe streams.
* Source/NSDictionary.m: Avoid compiler warning.
* Headers/Additions/GNUstepBase/Unicode.h: Add validation function.
* Source/Additions/Unicode.m: Add unicode validation function and
alter UTF8 handling to be stricter.
* Source/GSString.m: validate unicode when initialising a string.
Also create 8bit data strings rather than 16bit where possible.
2006-03-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSRunLoopCtxt.h:
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopCtxt.m:
Tidy/improve removal of triggered watchers from outer contexts.
* Source/NSDictionary.m: ([valueForKey:]) conform to MacOS spec
2006-03-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/GSRunLoopWatcher.m: deleted
* Source/win32/GSRunLoopWatcher.m: deleted
* Source/GSRunLoopWatcher.m: combine drom subdirectories.
* Source/GNUmakefile:
* Source/NSSocketPort.m:
* Source/NSRunLoop.m:
* Source/GSRunLoopWatcher.h:
* Source/GSStream.h:
* Source/GSStream.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/unix/GNUmakefile:
* Source/unix/NSStream.m:
* Source/GSRunLoopCtxt.h:
* Source/NSMessagePort.m:
* Source/win32/GSRunLoopCtxt.m:
* Source/win32/GNUmakefile:
* Source/win32/NSStreamWin32.m:
* Source/NSThread.m:
* Source/GSFileHandle.m:
* Headers/Foundation/NSRunLoop.h:
* Headers/Additions/GNUstepBase/GSFileHandle.h:
Remove timeout facility for runloop watchers ... can use standard
timers instead. This simplifies api/code somewhat.
Added new watcher type ET_TRIGGER to count as an input source for
the runloop but work by polling rather than waiting for I/O events.
This allows NSStream objects to be added to the runloop even if
they don't do real I/O (eg memory streams).
Added private internal API to allow watchers to adjust how the loop
deals with them for each iteration... needed to simulate unix like
level-triggered events on windows where events are edge triggered.
Rewrote NSStream code to put handling of runloop scheduling in the
abstract classes rather than repeat in every subclass.
Rewrote NSStream stuff to use new runloop mechanisms to support
memory and file streams in runloops.
Implemented pipe base NSStream for windows.
2006-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSOutput.m: Get rid of bogus ' '
* Tools/AGSHtml.m: Fix error in display of category method index.
2006-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/cifframe.h: Add code to try to get ffi muld to work on
mingw32
* GNUmakefile: Don't build SSL subproject for mingw32 as it
doesn't work.
2006-03-17 Andrew Sveikauskas <asveikau@mail.rochester.edu>
* Source/thr-mach.h: include objc/objc-api.h
* Source/thr-pthread.m: use pthread_yield() except for apple
* Source/GNUmakefile: link pthread library on openbsd where it isn't
linked to the objc runtime.
2006-03-13 Adam Fedor <fedor@gnu.org>
* Version 1.12.0
2006-03-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m: Attempt to fix problems introduced into
keypath code and reported by Helge ... ensure kvc mnethods are called
for each element in the path.
* Source/inet_pton.c: fixup for mingw32
* Source/NSTimeZone.m: add missing include
2006-03-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Allow for quoting of numeric/date values
in property lists. Fixes bug #16068
2006-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSXML.h: clarify documentation of
xml entity escaping methods.
* Headers/Foundation/NSInvocation.h: don't use 'class' as macro
argument ... should be hermless but is confusing to C++ programmers.
2006-03-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTimeZone.m:
* Source/NSCalendarDate.m:
* Source/GSPrivate.h:
* Source/NSDate.m:
Reorganise/tidy to avoid making some private symbols external.
2006-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/GSRunLoopCtxt.m: Don't hanlde windows messages unless
required.
* Source/win32/NSStreamWin32.m: Use fileSystemRepresentation rather
than cStringUsingEncoding:
* Source/NSCalendarDate.m: Support '%T' and '%t' in description.
* Source/NSFileManager.m: don't abort directory copy just because
we can't set attributes of destination directory. Don't try to
copy directories with their old owners.
* Source/Additions/GSXML.m: Support #x and #X unescaping.
* Source/NSSocketPortNameServer.m:
* Source/NSBundle.m:
* Source/NSProcessInfo.m:
* Source/NSAttributedString.m:
* Source/NSArray.m:
* Source/NSMessagePortNameServer.m:
* Source/GSPrivate.h:
* Source/NSInvocation.m:
* Source/NSNotificationCenter.m:
* Source/NSCoder.m:
* Source/mframe.m:
* Source/Additions/GSCategories.m:
* Source/NSConnection.m:
* Source/GSPortPrivate.h:
* Source/NSThread.m:
* Source/NSNull.m:
* Source/NSDistantObject.m:
* Source/NSTask.m:
* Source/NSPortNameServer.m:
* Headers/Foundation/NSTimeZone.h:
* Headers/Foundation/NSHashTable.h:
* Headers/Foundation/NSRange.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSException.h:
* Headers/Foundation/NSByteOrder.h:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSKeyValueCoding.h:
* Headers/Foundation/NSBundle.h:
* Headers/Foundation/NSSerialization.h:
* Headers/Foundation/NSURLHandle.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSTimer.h:
* Headers/Foundation/NSNotification.h:
* Headers/Foundation/NSScanner.h:
* Headers/Foundation/NSProcessInfo.h:
* Headers/Foundation/NSDistributedNotificationCenter.h:
* Headers/Foundation/NSGeometry.h:
* Headers/Foundation/NSAttributedString.h:
* Headers/Foundation/NSDecimal.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSUndoManager.h:
* Headers/Foundation/NSDateFormatter.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSAutoreleasePool.h:
* Headers/Foundation/NSFormatter.h:
* Headers/Foundation/NSUserDefaults.h:
* Headers/Foundation/NSThread.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSDate.h:
* Headers/Foundation/NSHost.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSProxy.h:
* Headers/Foundation/NSObjCRuntime.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSProtocolChecker.h:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSPortMessage.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSDistributedLock.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSDictionary.h:
* Headers/Foundation/NSClassDescription.h:
* Headers/Foundation/NSNull.h:
* Headers/Foundation/NSZone.h:
* Headers/Foundation/NSValue.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSSortDescriptor.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSSet.h:
* Headers/Foundation/NSDistantObject.h:
* Headers/Foundation/NSTask.h:
* Headers/Foundation/NSCharacterSet.h:
* Headers/Foundation/NSInvocation.h:
* Headers/Foundation/NSUtilities.h:
* Headers/Foundation/NSPortNameServer.h:
* Headers/Foundation/NSNumberFormatter.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSEnumerator.h:
* Headers/Foundation/NSMapTable.h:
* Headers/Additions/GNUstepBase/DistributedObjects.h:
* Headers/Additions/GNUstepBase/GSCategories.h:
Tidied a bit ... wrap some long lines.
Remove some old deprecated API.
Move some internal API out of external headers.
Deprecate a few non-standard API features.
Move a bit of non-standard API to the additions library.
2006-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m:
* Source/unix/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopWatcher.m:
* Source/win32/GSRunLoopCtxt.m:
* Headers/Foundation/NSRunLoop.h:
Add initial attempt at code for adding streams to runloops ...
as yet untested and not integrated into the NSStream code.
Remove documentation for GNUstep specific loop watcher API and
add comments to say that it may be deprecated in a later
release if/when we move to using NSStream throughout.
* configure.ac: minor documentation corrections.
Don't allow environment variable to confuse setup of file location.
* configure: regenerated
2006-03-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Optimise timer handling a little and fix very
minor bug which would cause runloop to run an extra time on some
occasions.
* Tools/gdomap.c: Include config.h
* configure.ac: Support config file environment variable by default
* configure: Regenerate
* Documentation/Base.gsdoc: Document default setting for env variable
2006-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSRunLoop.m: Rewrite housekeeping timer.
* Source/GSRunLoopCtxt.h: Remove obsolete message/selector.
* Source/win32/GSRunLoopCtxt.m: Add housekeeping timer.
* Source/win32/NSRunLoopWin32.m: remove unused code.
* Source/win32/GNUmakefile: remove /NSRunLoopWin32.m
* Source/win32/NSStreamWin32.m: minor tidyups
* Source/NSThread.m: Use new internal API for housekeeping timer.
* Headers/Foundation/NSRunLoop.h: Remove deprecated mingw api
Basically, remove deprecated mingw32 specific api, and change
housekeeper to try to make it as invisible as possible in terms of
side effects.
* Source/NSFileManager.m: Fix mingw determination of the ownership
of a directory.
2006-03-03 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: Check for HAVE_STDINT_H for safety of include
2006-03-01 Adam Fedor <fedor@gnu.org>
* configure.ac: Add check for inet_pton. Also check for make-
specified GNUstep.conf file
* config.make.in: Add variable for inet_pton
* Source/inet_pton.c: New file
* GNUmakefile: Use it if needed.
2006-03-01 Derek Zhou <dzhou@nvidea.com>
* Source/GSStream.m: Typo fixes
* Source/win32/NSStreamWin32.m: rewrite
2006-03-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/NSStream.m: Final (hopefully) ifdef to disable ipv6
so systems which don't have it can compile.
2006-02-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/unix/NSStream.m: More portability fixups ... use
AF_UNIX and PF_UNIX if AF_LOCAL and PF_LOCAL are not avaulable.
Check for PF_INET6
* Tools/gdomap.c: include stdint.h for uint32_t on systems
where it's not included by other headers.
2006-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Helge spotted thread safety issues with
the code controlling warnings and the external entity loader.
Changed code to modify internals of the parser context and SAX
context to set the values in there directly rather than using the
global setter mechanism (strangely recommended in the libxml2 docs),
so that all setup is made to the individual parser and should not
effect other parsers in other threads.
* Source/NSUndoManager.m: ([-removeAllActions]) fixed to remove any
grouping in progress.
2006-02-27 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSString.h: Correct return type for
([getCString:maxLength:encoding])
* Source/NSString.m: ([getCString:maxLength:encoding]) make
implementation match MacOS-X implementation rather than their docs.
Change API for setting path handling mode to be a function we can
call before any string/path operations. Maybe final API to be made
public?
Path handling tweaks based on discussion at FOSDEM
* Source/GSString.m: ([getCString:maxLength:encoding]) implemented.
* Source/unix/NSStream.m: Portabiulity fixups ... use EPROTO only
if defined and use dummy implementations of inet6 cclasses if AF_INET6
is not defined.
* Source/NSKeyValueCoding.m: Some optimisation suggested by Helge ...
rewrite key path methods to loop rather than recurse.
* Source/GSFFIInvocation.m: Avoid compiler warning
* Source/NSURL.m: use new getCString... method
* Source/NSSerializer.m: ditto
* Documentation/Base.gsdoc: Remove env variable to set path handling.
* Headers/Additions/GNUstepBase/GSObjCRuntime.h: Slight change to
functions for KVC to allow faster implementation.
* Source/Additions/GSObjCRuntime.m: ditto
2006-02-24 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZone.m: Fix bug in GMT+/-NNNN timezone initialisation so that
negative offsets work. Implement GMT and synonyms as internal
absolute timezones. Implement GMT-14 to GMT+14 as absolute timezones.
2006-02-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Restructure for lazy creation of defaults
database ... only create when we attempt to write.
* Source/NSSocketPort.m: Include GSPrivate.h
* Source/NSRunLoop.m: ditto
* Source/unix/GSRunLoopCtxt.m: ditto
* Source/GSPrivate.h: ditto
* Source/win32/GSFileHandleWin32.m: ditto
* Source/win32/GSRunLoopCtxt.m: ditto
* Headers/Foundation/NSNotificationQueue.h: Move library internal
function declarations to GSPrivate.h, thanks to Lloyd Dupont for
spotting problem.
2006-02-23 Sheldon Gill <sheldon@westnet.net.au>
* Source/Additions/GSXML.m: URL munging for local DTD cache fixed for
Win32 filesystems
2006-02-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Fix parsing error .. was not recognising
base64 elements.
* Headers/Foundation/NSPathUtilitites.h: Expand config documentation
* NSTimeZone.m:
* NSPathUtilities.m:
* NSPage.m:
* NSException.m:
* NSLog.m:
Fix some MINGW32 conditional compilation to use __MINGW32__
2006-02-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Ensure that NSBundle is initialised before
changing the current directory.
* Source/NSBundle.m: Restructure for lazy evaluation of path to
executable ... lots of apps never need it.
* Source/NSTimeZone.m: Protect some class methods using locking, and
provide (slow) fallback mechanisms if some of the files are missing,
including fallback to posix stuff in zoneinfo directory if we really
have to.
2006-02-20 Richard Frith-Macdonald <rfm@gnu.org>
* NSTimeZones/NSTimeZones.tar: regenerated.
2006-02-19 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Make config functions public.
* Headers/Foundation/NSPathUtilities.h: Declare config functions.
* Source/NSUserDefaults.m: Use config functions and add support
for new option to turn off external config file.
2006-02-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Fix bug dereferencing nul pointer under
some conditions.
2006-02-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Implement method to get name of files
owner on mingw32.
* Source/NSPathUtilities.m: Check that user specific config file
is owned by user, as suggested by Sheldon.
2006-02-16 Derek Zhou <dzhou@nvidea.com>
* Source/GSStream.h:
* Source/GSStream.m:
* Source/unix/NSStream.m:
* Source/win32/NSStreamWin32.m:
* Headers/Foundation/NSStream.h:
Add server side and pipe stream extensions along with a few fixes.
2006-02-15 Andrew Ruder <aeruder@ksu.edu>
* Headers/Foundation/NSStream.h: NSRunLoop was not defined in
the NSStream header file. (Added @class NSRunLoop;)
2006-02-15 Derek Zhou <dzhou@nvidea.com> Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSStream.h: New NSStream, NSInputStream and
NSOutputStream classes and constants.
* Headers/Foundation/Foundation.h: include NSStream.h
* Source/GSStream.h: Internal headers for GSStream and subclasses
* Source/GSStream.m: System independent parts of NSStream
* Source/unix/NSStream.m: Unix specific class implementations
* Source/unix/GNUmakefile: Build NSStream.m
* Source/win32/NSStreamWin32.m: Win32 placeholders
* Source/win32/GNUmakefile: Build NSStreamWin32.m
* Source/GNUmakefile: Build GSStream.m
* Source/DocMakefile: Build NSStream documentation
Partial implementation of NSStream ... missing SSL, SOCKS, and
Win32 (apart from memory streams).
2006-02-15 Andrew Ruder <aeruder@ksu.edu>
* Headers/Foundation/NSString.h: Fixing the oldest bug in GNUstep?
The header has says NSObject since Andrew McCallum added the file
on March 18th, 1995 (Just short of 11 years ago).
2006-02-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: ([-availabledata]) fix error in last change
as we should block, but not for more than a single byte.
2006-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSCategories.m: Fix MD5 digest for 64bit CPU
2006-02-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSIndexPath.m: new
* Headers/Foundation/NSIndexPath.h: new
* Headers/Foundation/Foundation.h: include NSIndexPath.h
* Source/GNUmakefile: build NSIndexPath
* Source/DocMakefile: document NSIndexPath
2006-02-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandleWin32.m: Ignore extraneous write events.
* Source/NSString.m: Don't insert native path separators by default.
* Source/NSProcessInfo.m: Report correct operating system on windows.
2006-02-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: ([-availabledata])a fix logic of non-blocking
I/O setting.
* Source/NSBundle.m: ([-pathForResource:ofType:inDirectory:])
ignore versioning on windows.
2006-02-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: (handle_printf_atsign()) extend to support wprintf.
2006-02-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: Try to use iconv transliteration for
lossy conversion. When handling unconvertable characters in lossy
conversion, substitute a question mark rather than an asterisk for
consistency with iconv and other implementations.
2006-01-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDistributedLock.m: ([description]) implemented
2006-01-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m: ([addObject:]) fix error in check for
missing pool during thread exit.
2006-01-19 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/plget.m: remove unused variable
* Source/GGSString.m: optimise ([canBeConvertedToEncoding:])
* Source/NSURL.m: correct misleading/wrong exception text.
* Source/NSString.m: mingw path handling tweaks ... build new
paths using native separator by default.
2006-01-19 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSThread.h:
* Source/NSAutoreleasePool.m:
* Source/NSThread.m:
Mimic MacOS-X behavior and create an autorelease pool if necessary
to catch any autorelease objects during thread exit.
As suggested by Wim Oudshoorn..
2006-01-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/Unicode.m: fix for rare case where we could corrupt
the stack ... spotted by Wim Oudshoorn.
2006-01-18 Andrew Ruder <aeruder@ksu.edu>
* config/addlibrarypath.m4: new file
* configure.ac: Use new function to set library paths for netbsd
* configure: regenerate
2006-01-17 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/plget.m: New file to extract a string from a plist.
* Tools/pldes.1: Include plget
* Tools/GNUmakefile: build/install plget.
2006-01-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePortNameServerWin32.m:
* Source/win32/NSMessagePortWin32.m:
Add hack to cope with bug reading registry ... better solution welcome
if anyone knows one.
Add security attributes to message port stuff ... should only let
current user on current machine access message ports I hope.
2006-01-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Fix possible read off end of buffer
when parsing config file.
2006-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/GNUmakefile:
* Documentation/General/GNUmakefile:
Fix path to autogsdoc for mingw where the 'obj' symlink doesn't work.
2006-01-11 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSUnion.h:
* Headers/Foundation/NSByteOrder.h:
* Headers/Foundation/NSPort.h:
* Source/GSFileHandle.m:
* Source/GSFormat.m:
* Source/NSData.m:
* Source/NSDistantObject.m:
* Source/NSMessagePort.m:
* Source/NSPortCoder.m:
* Source/NSSerializer.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSString.m:
* Source/NSTimeZone.m:
* Source/NSUnarchiver.m:
* Source/win32/GSFileHandleWin32.m:
* Source/win32/NSMessagePortWin32.m:
Update to use sized datatypes from stdint.h now that almost all
operating systems support it.
* Source/NSCalendarDate.m:
Support '%T' and '%t' as supplied by unix date/time locale info.
* configure.ac: Ensure uintptr_t and intptr_t exist
* configure: regenerate
2006-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/mframe.m:
When calculating info about a structure, make sure its alignment is
that of its most strictly aligned field and make sure its size is a
multiple of its alignment.
* Source/NSData.m: ([initWithCoder:]) Fix bug decoding unsigned long
into unsigned int variable ... breaks on amd64
2006-01-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
* Source/NSAutoreleasePool.m:
* Source/NSCallBacks.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSDictionary.m:
* Source/NSDistantObject.m:
* Source/NSMessagePort.m:
* Source/NSObject.m:
* Source/NSProtocolChecker.m:
* Source/NSProxy.m:
* Source/NSSocketPort.m:
* Source/NSTask.m:
* Source/NSThread.m:
* Source/NSZone.m:
* Source/Additions/GSXML.m:
* Source/unix/GSRunLoopCtxt.m:
Add explicit casts to avoid compiler warnings where we are on a
processor where the size of an integer is not the same as the size
of a pointer.
* Tools/gdomap.c:
Add type casts to fix comparisons on 64bit processor
2006-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSRunLoopCtxt.m: Apply patch by Jeremy Bettis with
fixups for intentation/formatting and minor correction to avoid waiting
for an event when we have handled one in the current run of the loop.
2006-01-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: When generating binary plist, fix bug
in case where we have to increase table size.
* Source/NSKeyedArchiver.m: Update to use binary plist format
by default rather than xml format ... MacOS-X compatible and
works when libxml2 is not available.
* Source/NSKeyedUnarchiver.m: Print NSLog error if attempting to
decode an xml archive when no libxml2 is available.
2006-01-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: be more consistent in use of defined values
from config file.
* configure.in: Improve comments/help. Fix error in config where we
were attempting OS based decisions before we had determined the OS.
Improve default paths on mingw to be relative to the DLL.
Load information from make package config fo use during build of
base library.
Generally try to improve user experience on mingw to make build/install
really simple with new config files.
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate
* Documentation/Base.gsdoc: Attempt to clarify config file operation.
2006-01-07 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPropertyList.m (BinaryPLGenerator - storeCount:) Handle
count > 256*256. Patch by Derek Zhou <dzhou@nvidia.com>.
2006-01-04 David Ayers <d.ayers@inode.at>
Bug #15353
* Source/NSProcessInfo.m (fallbackInitialisation): Move
initialization to avoid compiler error. Reported by
Stefan van den Oord (stefan.vandenoord@gmail.com).
2005-12-21 Adam Fedor <fedor@gnu.org>
* Version 1.11.2
2005-12-21 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m: Partial update for use of CSS ... as provided by
Fabien Vallon. Need to decide where the stylesheet file should come
from and where it should be installed. Probably need a new autogsdoc
flag for this and some internal api changes.
2005-12-20 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Deal with C++ declaration of external C/ObjC libs.
* Tools/AGSHtml.m: Add changes to avoid colons in references to allow
dumb windows help system to use our output. Same idea as patch #4569
but (hopefully) doesn't break anything.
* Source/DocMakefile: A couple of fixes for building documentation of
the additions library.
2005-12-20 Adam Fedor <fedor@gnu.org>
* SSL/configure.ac: Check for GNUSTEP_MAKEFILES not
GNUSTEP_SYSTEM_ROOT.
2005-12-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
Increase maximum supported message size from 10MB to 32MB in
recognition of the fact that everything is faster/bigger nowadays
and people might actually want to send single messages with
that much data in them.
2005-12-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: Fix error parsing date/time in xmlrpc
Remove bad characters when escaping string for xml.
2005-12-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Get paths of system directories
(for linux FHS support) from config file.
* Documentation/Base.gsdoc: update
2005-12-06 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: On mingw, don't get the location of the config file
from the make package. Assume ./GNUstep.conf instead, so that the
base library is built for distribution (relocatable relative to the
library).
* configure: regenerate
2005-12-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m: Allow
([+initializeWithArguments:count:environment:]) to override the real
environment on mingw32.
* Source/NSPathUtilities.m: Ignore config files named
.GNUstep.conf-ignore (so we can safely disable config file reading
and ensure inbuilt defaults are used)
* configure.ac: By default, disallow use of GNUSTEP_CONFIG_FILE
environment variable. Remove some redundant code. Document better.
* configure: regenerate
* Documentation/Base.gsdoc: Update for config changes
* Tools/autogsdoc.m: add any gsdoc files explicitly specified on
command line to generated dependency file for make.
2005-12-02 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Fix bug configuring whether GNUstep.conf can be
set in the environment
* configure: regenerate
2005-12-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Add more checks/warnings about improper
configuration.
* Headers/Foundation/NSException.h: clarify/extend documentation.
* Source/NSException.m: move some documentation to header.
2005-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSConfig.h.in:
* Headers/Additions/GNUstepBase/GSXML.h:
* Headers/Foundation/NSCoder.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSKeyValueObserving.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSPortCoder.h:
* Headers/Foundation/NSProxy.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSXMLParser.h:
* Source/NSArray.m:
* Source/NSAttributedString.m:
* Source/NSCoder.m:
* Source/NSConnection.m:
* Source/NSDictionary.m:
* Source/NSFileHandle.m:
* Source/NSFileManager.m:
* Source/NSKeyValueObserving.m:
* Source/NSKeyedArchiver.m:
* Source/NSKeyedUnarchiver.m:
* Source/NSObject.m:
* Source/NSPortCoder.m:
* Source/NSPortNameServer.m:
* Source/NSRunLoop.m:
* Source/NSString.m:
* Tools/AGSOutput.m:
* Tools/gdnc.m:
* Tools/gsdoc.gsdoc:
Documentation tweaks and minor simplificiations.
2005-11-28 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSOutput.m:
* Tools/AGSParser.h:
* Tools/AGSParser.m:
* Tools/AGSHtml.m:
* Tools/autogsdoc.m:
* Tools/gsdoc-1_0_3.dtd:
* Toold/gsdoc.gsdoc:
Added override=dummy attribute for methods which have dummy
implementations intendeed to be ocerridden in subclasses.
Update to log warning about unimplemented methods which are not
tagged as intended to be overridden.
2005-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Restructure so that GNUstepConfig() can
be used to set/get the global configuration as suggested by
Jeremy Bettis
2005-11-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPort.m:
* Source/NSMessagePort.m:
* Source/NSDistributedNotificationCenter.m:
* Tools/gdnc.m:
Use the NSPortIsMessagePort user default consistently to control
whether socket or message ports are used by default. Remove mingw32
specific GSMailslot user default.
Source/NSPathUtilities.m: Check for illegal paths (ones which don't
appear to be absolute paths) specified in config file ... warn about
the bad config, but try to guess what they shjould be for mingw32
2005-11-20 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Add flags to allow detection of headers/libraries
installed in the System domain of the GNUstep hierarchy.
* configure: regenerate
* Source/win32/GSRunLoopCtxt.m: Intercept windows WM_QUIT messages
and tell the application to terminate cleanly (or raise an exception
if the NSApplication class is not linked). Should allow ms-windows
to get a mingw32-based GNUstep app to shut down cleanly.
* Source/NSDistributedNotificationCenter.m: Rewrite code for connecting
to and starting up daemon to handle the process more quickly and
smoothly. Only complain if we can't to connect to it even after
launching it and retrying the connection for five seconds.
2005-11-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m:
* Source/NSUserDefaults.m:
Restore reverted changes for code where class initialisation order
is not a factor.
* Source/NSUser.m: Delete unused file
* GNUmakefile: Don't try to build NSUser.m
2005-11-15 Richard Frith-Macdonald <rfm@gnu.org>
Revert last changes ... discovered some apps where ordering of
class initialisation caused failures.
2005-11-15 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdnc.m:
* Source/GSPrivate.h:
* Source/NSException.m:
* Source/NSObject.m:
* Source/NSProcessInfo.m:
* Source/NSString.m:
* Source/NSUserDefaults.m:
Be consistent and access environment variables only via the
NSProcessInfo class ...so a program which uses a category to
override it can effectively change the environment safely.
* Source/NSPathUtilities.m:
Restructure code for gatting config, so that a single function
can be used to get/set config information for the system or a
user. Decrease code duplication.
2005-11-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/GSFileHandleWin32.m: Move mingw32 implementation of
file handle code here.
* Source/GSFileHandle.m: Remove mingw32 code.
* Source/NSPathUtilitires.m: Fix handling of user config file for
when the user name is changed.
2005-11-12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: NSOpenStepRootDirectory() remove
deprecated status in documentation. Try to clarify doc.
Get rid of environment variable. Use native path for mingw32
* Tools/gsdoc.7: Fix obsolete reference to environment variable.
* Tools.gsdoc.gsdoc: ditto
2005-11-11 Richard Frith-Macdonald <rfm@gnu.org>
* Applied Willem Rein Oudshoorn's fix for bug #11055, having tested it
and found it OK on windows-xp as well as the windows-2003 system he
was using.
2005-11-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePortNameServerWin32.m: fix port lookup in case
where named port does not exist. Correct debug logging by class name.
* Testing/nsconnection_client.m: don't run large structure test on
mingw32 at present ... it crashes (something wrong with the invocation
stuff for ffcall and some large structures on mingw32)
* Tools/gdnc.m: Obey GSMailslot default on mingw32.
* Source/NSDistributedNotificationCenter.m: ditto.
* Source/win32/NSMessagePortWin32.m: Fixes for cases where requests
we wanted to be async actually complete synchronously. Moves the
state of this code from pre-alpha to alpha/beta quality I guess.
* Source/preface.m: Change declaration of variables to be pointer to
char rather than array of char ... more usual/safe.
2005-11-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePortWin32.m: more changes
* Source/win32/NSMessagePortNameServerWin32.m: ditto
Working at least in part (pre-alpha I guess) ... enable with the
GSMailslot user default. Known problems -
1. no way of telling if the other end of a connection has gone until
we try to write to it.
2. hangup in my testing comms between three threads.
2005-11-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePortWin32.m: more changes
* Source/win32/NSMessagePortNameServerWin32.m: ditto
* Source/Tools/AGSOutput.m: search for C/ObjC types in text, and
render them as <strong> automatically as suggested by Fabien Vallon.
2005-11-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/win32/NSMessagePortWin32.m: Lots of work towards implementing
this, but nothing usable yet (compiles but won't run).
* Source/win32/NSMessagePortNameServerWin32.m: ditto
* Source/win32/NSUserDefaultsWin32.m: fix value type problem.
* Source/win32/GNUmakefile: build NSMessagePortNameServer.
* Source/NSMessagePortNameServer.m: fix minor memory leak.
2005-11-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/Win32Support.h: removed
* Headers/Additions/GNUstepBase/Win32_Utilities.h: removed
* Source/NSPathUtilities.m: Don't include unused files.
* Source/win32/GNUmakefile: Don't build removed files.
* Source/win32/NSUserDefaultsWin32.m: fix '%s' to '%S'
* Source/win32/Win32Support.m: removed
* Source/win32/Win32_Utilities.m: removed
Cleanup ... remove some unused win32 cruft.
2005-11-06 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/Base.ispell: words from base reference documentation
* Documentation/Base.gsdoc:
* Headers/Additions/GNUstepBase/GSMime.h:
* Headers/Additions/GNUstepBase/GSXML.h:
* Headers/Foundation/NSArray.h:
* Headers/Foundation/NSCalendarDate.h:
* Headers/Foundation/NSCharacterSet.h:
* Headers/Foundation/NSConnection.h:
* Headers/Foundation/NSData.h:
* Headers/Foundation/NSDebug.h:
* Headers/Foundation/NSDecimalNumber.h:
* Headers/Foundation/NSError.h:
* Headers/Foundation/NSFileHandle.h:
* Headers/Foundation/NSFormatter.h:
* Headers/Foundation/NSIndexSet.h:
* Headers/Foundation/NSKeyValueCoding.h:
* Headers/Foundation/NSKeyedArchiver.h:
* Headers/Foundation/NSLock.h:
* Headers/Foundation/NSMethodSignature.h:
* Headers/Foundation/NSObject.h:
* Headers/Foundation/NSPathUtilities.h:
* Headers/Foundation/NSPortMessage.h:
* Headers/Foundation/NSPropertyList.h:
* Headers/Foundation/NSRunLoop.h:
* Headers/Foundation/NSString.h:
* Headers/Foundation/NSURL.h:
* Headers/Foundation/NSURLHandle.h:
* Headers/Foundation/NSXMLParser.h:
* Headers/Foundation/NSZone.h:
* Source/GSCompatibility.m:
* Source/GSCountedSet.m:
* Source/GSString.m:
* Source/GSTemplateValue.m:
* Source/NSArchiver.m:
* Source/NSArray.m:
* Source/NSCalendarDate.m:
* Source/NSClassDescription.m:
* Source/NSConnection.m:
* Source/NSData.m:
* Source/NSDate.m:
* Source/NSDebug.m:
* Source/NSDictionary.m:
* Source/NSDistantObject.m:
* Source/NSDistributedLock.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSFileHandle.m:
* Source/NSFileManager.m:
* Source/NSHashTable.m:
* Source/NSInvocation.m:
* Source/NSLock.m:
* Source/NSMapTable.m:
* Source/NSObject.m:
* Source/NSPathUtilities.m:
* Source/NSPortMessage.m:
* Source/NSProxy.m:
* Source/NSScanner.m:
* Source/NSSocketPortNameServer.m:
* Source/NSString.m:
* Source/NSTask.m:
* Source/NSTimeZone.m:
* Source/NSTimer.m:
* Source/NSURL.m:
* Source/NSURLHandle.m:
* Source/NSUnarchiver.m:
* Source/NSUndoManager.m:
* Source/NSUserDefaults.m:
* Source/NSValue.m:
* Source/Additions/GSCategories.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/GSXML.m:
* Source/Additions/Unicode.m:
* Source/win32/NSUserDefaultsWin32.m:
* Tools/AGSParser.m:
* Tools/autogsdoc.m:
* Tools/gdomap.h:
Fix typo/spelling mistakes manifesting in reference documentation.
I spent half a day going through the tedious process of running
all gsdoc output through ispell.
2005-11-05 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/Win32_Utilities.h:
* Headers/Foundation/NSFileManager.h:
* Headers/Foundation/NSString.h:
* Source/NSBundle.m:
* Source/NSData.m:
* Source/NSFileManager.m:
* Source/NSLog.m:
* Source/NSPathUtilities.m:
* Source/NSProcessInfo.m:
* Source/NSString.m:
* Source/NSTimeZone.m:
* Source/objc-load.m:
* Source/win32-load.h:
* Source/Additions/GSObjCRuntime.m:
* Source/win32/NSMessagePortWin32.m:
* Source/win32/NSUserDefaultsWin32.m:
* Source/win32/Win32_Utilities.m:
Attempt to rationalise mingw32 unicode support, use explicit unicode
methods throughput, fix several bugs where APIs were not using
unicode when they should have been doing.
2005-11-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSCompatibility.m: don't generate macos-x (xml) property
lists if we can't parse them.
* Source/GSHTTPURLHandle.m: debug fix for mingw32
* Headers/Foundation/NSFileManager.h: add mingw32 conditionals.
* Headers/Foundation/NSString.h: add mingw32 conditionals.
* Source/NSMessagePort.m: remove mingw32 stuff
* Source/win32/NSMessagePort.m: added partial implementation
* Source/win32/NSMessagePortNewServer.m: added skeleton
* Source/win32/GNUmakefile: build message port classes
2005-11-04 Richard Frith-Macdonald <rfm@gnu.org>
* configure.ac: Cope with backslashes in values from GNUstep.conf
* configure: Regenerated.
Improvements for mingw32 systems
* Source/NSConnection.m: update obsolete methods.
* Source/NSMessagePort.m: start mingw32 implementation
2005-11-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSMessagePort.m: If a socket file already exists when trying
to bind to it, try connecting to it to see if there is a program
using it, and unlin/retry if there isn't. This is an attempt to
handle situations where an old process was not killed cleanly and
the new process tries to use the same name.
* Source/Additions/GSCategories.m: ([uuencodeInto:name:mode:]) fix
error encoding the termination marker of the uuencoded data.
* Headers/Foundation/NSPort.h: Declare missing category of NSObject
Remove some of the subclass stuff that should be private.
* Source/GSPortPrivate.h: Put private port stuff here ... needs
more to be moved out of NSPort.h
* Source/NSMessagePort.m: Hide instance variables. Use GSPortPrivate.h
Add bugfix for possible deadlock situation reported by Wim.
* Source/NSSocketPort.m: ditto
* Source/NSMessagePortNameServer.m: Use GSPortPrivate.h
* Source/NSPort.m: Implement missing informal protocol method.
2005-10-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: retain self for the duration of I/O
handler methods where we may make callbacks to clients. In case
the client owns the handle, and decides to release it.
* Source/GSFileHandle.m: Increase backlog size in listen() to improve
perfromance of server objects accepting lots of connections.
* Source/NSSocketPort.m: ditto ... though unlikely to be needed.
* Source/NSMessagePort.m: ditto
* Source/GSTcpPort.m: remove obsolete file
* Tools/gstcpport_client.m: ditto
* Tools/gstcpport_server.m: ditto
2005-10-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLog.m: Apply patch #5399 from Jeremy Bettis.
Tidy indentation. Fix variable declaration not at start of block
(broke compile for older gcc versions). Avoid repeated system
calls to get process ID.
* Headers/Additions/GNUstepBase/GSRunLoopCtxt.h: Move private header to
Source directory.
* Headers/Additions/GNUstepBase/GSRunLoopWatcher.h: ditto
* Headers/Foundation/NSRunLoop.h: Add event type for handling windows
messages.
* Source/GNUmakefile: Don't install private headers in public area.
* Source/win32/GSRunLoopCtxt.m: Add code to handle windows messages.
Check number of handles waited for. Avoid unnecessary heap memory
allocation/release.
* Source/win32/GSRunLoopWatcher.m: update header path.
* Source/win32/NSRunLoopWin32.m: update header path.
Deprecate addMsgTarget:withMethod:forMode: as our code for the original
addEvent:type:watcher:forMode: can be much more efficient if we don't
support that extension. We need to use addEvent:type:watcher:forMode:
if we want to implement NSMessagePort using windows messages.
if we don't support that as well as the o
* Source/win32/NSUserDefaultsWin32.m: update header path.
2005-10-29 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m: Revert last change ... it looked OK but it broke
internal checking of references.
2005-10-28 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdomap.c: standardise on __MINGW32__
* Source/win32/NSUserDefaultsWin32.m: patch #4567 fix a few typos
* Source/DocMakefile: get right path for autogsdoc on mingw
* Tools/DocMakefile: ditto (patch #4568)
* Tools/AGSHtml.m: work round isssues with windows help (patch #4569)
Mostly fixes by Jeremy Bettis
2005-10-27 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSParser.m: Fix error setting version numbers for the
various standards. Was causing generation of html erroneously
saying that things were in neither openstep nor macos-x
* configure.ac: Add code to initialise default path/config file
information by loading GNUstep.conf config file from the location
specified by config.make in the makefiles directory.
Add --with-config-file= option to specify the name of the config
file to be hard-coded into the library. Overrides the value from
the make system if desired.
Add --with-default-config= option to specify the config file from
which default path values are loaded (at configuration time). This
overrides the default behavior of loading values from the file
specified by --with-config-file= or in $GNUSTEP_MAKEFILES/config.make
Add --disable-importing-config-file for consistency with makefiles
package ... not sure we need to keep this option.
Add --disable-environment-config-file to prevent use of the
GNUSTEP_CONFIG_FILE enviropnment variable.
* configure: regenerate
* Headers/Additions/GNUstepBase/config.h.in: regenerate to include
new path definitions produced by configure script.
* Source/GNUmakefile: Ignore variables specifying default paths,
these are now set at configure time and can't be changed at make
time.
* SSL/GNUmakefile: ditto.
* Source/NSPathUtilities.m: Remove windows-specific hack which
got a few values from the registry ... we want to make use of
the GNUstep.conf file simple/consistent across all platforms.
Get default values from those defined in config.h
2005-10-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Drop 'make' style config file parsing
and setting on 'sh' style (so we can source the config file).
* Source/NSCalendarDate.m: Fix millisecond printing (bug #14863)
2005-10-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Try to ensure that user root and
user library directories exist, so that tools/apps have somewhere
to store any resources they don't want to put in the defaults
database.
2005-10-23 Jeremy Bettis
* Source/NSException.m: Added a few debugging checks in the
exception handler code.
The handler struct that needs to be removed is passed to
_NSRemoveHandler. Therefore, instead of starting at
thread->_exception_handler and working your way down through
the frames, you can just use the passed in struct. This way,
if some bonehead called return in an NS_DURING block,
perhaps you can still remove the exception handler without
accessing memory that is on a freed section of the stack.
2005-10-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: remove test method for path handling setup,
add environment variable (at least for a while until we are even
more sure that there are no problems with do-the-right-thing mode).
Remove previously deprecated path methods.
* Source/NSFileManager.m: remove previously deprecated path method.
* Headers/Foundation/NSString.h: Add missing information about
windows peculiarities to comments.
* Source/NSUserDefaults.m: More tweaks to use windows registry.
also remove test user default for path handling setup.
* Source/win32/NSUserDefaultsWin32.m: Rewrite
* Source/NSPathUtilities.m: Tweaks for windows.
Updates to (optionally) use windows registry to store defaults
when GNUSTEP_USER_DEFAULTS_DIR is set to ':REGISTRY:'
Based on patch #4299 by Jeremy Bettis, but with rewrites to make use
of the code configurable in the GNUstep configuration file, to fix
some bugs, and to conform to coding standards, Probably still has
bugs to fix, but seems usable now.
2005-10-20 Adam Fedor <fedor@gnu.org>
* Source/NSBundle.m (+pathsForResourcesOfType:inDirectory:,
-pathsForResourcesOfType:inDirectory:forLocalization:):
Implement.
2005-10-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUserDefaults.m: Begin applying registry patch.
* Source/win32/NSUserDefaultsWin32.m: Registry patch with
some work done towards conforming to gnustep coding standards.
2005-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* SSL/GSSSLHandle.m: Don't output log/warning on accept/connect
failure if it's just a timeout or disconnect.
2005-10-17 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSNumberFormatter.m
(-getObjectValue:forString:errorDescription:,
stringForObjectValue:): Respect the settings for decimal and
thousands separators. Still a very basic implementation.
2005-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Simplify by removing options for
redefining user home directories. Add code to use gnumake format
rather than shell format for config files. Fix error in default
setup of local root.
2005-10-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Changes to support relocation of the
entire system simply by copying the directory containing it around.
2005-10-16 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Set default value for defaults directory
(lost in last set of changes).
2005-10-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Fix retain/release error exposed by recent
changes. Rewrite config handling (work in progress ... keeping in
sync with make package changes).
* Documentation/base.gsdoc: update somewhat.
* configure.ac: use GNUSTEP_CONFIG_FILE rather than
GNUSTEP_CONFIGURATION_FILE ... for consistency with make.
* Headers/Additions/GNUstepBase/config.h.in: ditto
* configure: regenerate
2005-10-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Complete rewrite of config file parsing
to try to make it consistent with the escaping and quoting conventions
of shells, so the same file can be source'ed by /bin/sh
2005-10-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Remove some useless functions to clarify
code. Add some explanatory comments, make config file parsing a lot
more robust.
2005-10-12 Nicola Pero <n.pero@mi.flashnet.it>
* configure.ac (config_file): Get the location of the
configuration file from gnustep-make rather than from a
--with-config-file option. Everything works exactly as before,
but the --with-config-file option was moved to gnustep-make.
* configure: Regenerated.
2005-10-12 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSPathUtilities.h: Remove deprecated functions.
* Source/NSPathUtilities.m: Remove backward compatibility hacks for
old GNUsteprc support.
Remove deprecated functions.
Permit specification of config file
Simplify code a little.
Fix a retain/release bug.
Fix per-user .GNUsteprc parsing to work as documented (ie override
the system-window config, not just fill in undefined values).
Deprecate use of '~' in per-user .GNUsteprc ... it adds complexity
for little utility that I can see ... we can undeprecate it if I'm
wrong.
* Documentation/Base.gsdoc: Update to remove references to old config
scheme. Remove documentation for deprecated '~' in per-user file
Clarify how relative/absolute paths in config are treated.
2005-10-10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSURLHandle.m: alter file handle to nitice if a file has
changed.
2005-10-09 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSFileHandle.h:
* Headers/Additions/GNUstepBase/GSRunLoopCtxt.h:
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSRunLoop.h:
* Source/GSFileHandle.m:
* Source/NSData.m:
* Source/NSFileManager.m:
* Source/NSLog.m:
* Source/NSRunLoop.m:
* Source/NSSocketPort.m:
* Source/NSTimeZone.m:
Be consistent in usage of __WIN32__ and __MINGW__
2005-10-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSLog.m: We had complaints about the new code to log output
to the windows event log on microsoft ... so this has been changed to
be activated by the GSLogSyslog user default (as the windows event
log is roughly analogous to syslog on unix) rather than being done
by default.
* Source/NSTimeZone.m:
* Source/NSPathUtilities.m:
Fix a few cases where 16bit chartacter strings were being used as 8bit
under windows.
2005-10-07 Chris Vetter <cbv@gmx.net>
* Source/NSPropertyList.m: Remove bogus newline generated for BOOL.
2005-10-06 Adam Fedor <fedor@gnu.org>
* Source/NSPage.m: Add include for Cygwin (patch from
Tom MacSween).
2005-10-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTcpPort.m:
* Source/NSCallBacks.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSSocketPort.m:
* Source/win32/GSRunLoopCtxt.m:
Attempt to deal with systems where sizeof(int) < sizeof(void*)
2005-10-01 David Ayers <d.ayers@inode.at>
* Source/NSString: (dataUsingEncoding:allowLossyConversion:):
Use buffer returned by NSZoneRealloc to create the data object.
2005-09-29 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/unicode/gsm0338.h: Map unicode
no-break-space character to gsm space rather than to gsm escape
character.
2005-09-28 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: (-convertToBinary, -convertToBase64)
new convenience methods for making documents compact or 7bit safe.
2005-09-25 David Ayers <d.ayers@inode.at>
* Testing/benchmark.m: Add some NSMapTable tests.
2005-09-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: (-rawMimeData) tolerate nil content of
document ... should produce output with empty body.
2005-09-18 Adam Fedor <fedor@gnu.org>
* Version 1.11.1
2005-09-17 Saso Kiselkov <diablos@manga.sk>
* Headers/Foundation/NSInvocation.h:
* Source/NSInvocation.m:
(-targetRetained, -retainArgumentsIncludingTarget:):
Added new methods which allow target to be not retained when arguments
are and to check whether it is retained or not (-retainsArguments code
moved in -retainArgumentsIncludingTarged and simplified by removing a
redundant nested branch statement).
* Source/NSUndoManager.m (-forwardInvocation:,
-registerUndoWithTarget:selector:object:): Fixed bug #14488 by relying
on previous new methods to retain undo invocation (taking in account
the fact arguments may have been released before it is called).
Patch committed by Quentin Mathe.
2005-09-01 Adam Fedor <fedor@gnu.org>
* Source/NSSortDescriptor.m ([NSArray
-sortedArrayUsingDescriptors:sortDescriptors]): Use
makeImmutableCopyOnFail:.
2005-08-31 Adam Fedor <fedor@gnu.org>
* Source/GNUmakefile: Install NSSortDescriptor.h
2005-08-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSNumber.m: Improve poor hash function.
* Source/NSConcreteNumber.m: Improve poor hash function.
* Testing/benchmark.m: Add some NSNumber tests.
2005-08-30 Saso Kiselkov <diablos@manga.sk>
* Headers/Foundation/NSSortDescriptor.h, Source/NSSortDescriptor.m:
New files
* Headers/Foundation/Foundation.h, Source/GNUmakefile: Add them to
list.
2005-08-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendarDate.m: Fix bug subtracting minute interval.
* SSL/GSSSLHandle.m: Put handle in non-blocking mode before call
to SSL_accept() or SSL_connect() so that we can be interrupted
if the remote end doesn't respond (older code can hang waiting
for the remote end).
2005-08-22 Adam Fedor <fedor@gnu.org>
* Source/NSGeometry.m (NSStringFromPoint, NSStringFromRect,
NSStringFromSize): Add spaces around '='. (Based on suggestion
from Matthias Hengartner).
2005-08-12 Adam Fedor <fedor@gnu.org>
* configure.ac: Check if we can read the psinfo struct from
/proc (Solaris).
* config/procfs.m4: Add psinfo check
* config/config.psinfo.c: New file.
* Source/NSProcessInfo.m (+load): Read from psinfo if we can.
(Based on patch #4234 from Jeremy Bettis, with some modifications).
2005-07-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GNUmakefile: Pass GNUSTEP_FLATTENED as preprocessor
definitions when building.
* Source/NSPathUtilities.m: Use GNUSTEP_FLATTENED and other
definitions to fix bug in returning paths for non-flattened
systems (code was previously returneing flattened paths
irrespective of whether the system was configured flattened
or not).
2005-07-30 Jeremy Bettis
* Source/NSData.m: Support write to file for windows9x users.
2005-07-27 Adam Fedor <fedor@gnu.org>
* Source/Makefile.postamble (Info-gnustep.plist): Depend on
../Version.
2005-07-24 Jeremy Bettis
* Source/NSCalendarDate.m: Fix bug adding interval to date.
* Source/NSDebug.m: Implemented _NSNewStringFromCString() for gdb.
* Source/GSFormat.m: Fix %S format.
* Source/NSObject.m: ([conformsToProtocol:]) return NO if passed nul.
* Source/NSBundle.m: be more tolerant.
* Source/objc-load.m: Implemented objc_get_symbol_path() for windows.
* Source/NSLog.m: On mingw write to debugger and event viewer.
2005-07-24 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Fix to avoid duplicate paths.
Fix bug in order of application paths.
* Tools/gspath.m: new utility to display paths/directories
* Tools/gspath.1: man page for gspath
* Tools/GNUmakefile: build and install gspath
2005-07-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: fix typo in contributed code for when
the additions library is built standalone on MacOS-X
* Source/GNUmakefile: Don't build base subprojects when only building
additions library!
* Headers/Foundation/NSRunLoop.h: Tidy up enumerated type, simplifying
mingw ifdefs
* Tools/AGSHtml.h: Added defines for building without the gnustep
base library.
* Tools/gdnc.m: Fix minor documentation error.
* Tools/gdnc.1: Fix minor documentation error and add documentation
of flags to set public/network servers running.
2005-07-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSDate.m: ([isEqual:]),([isEqualToDate:]) change behavior to
match current MacOS-X rather than OpenStep spec, as the old version
was confusing and prevented dates being used as dictionary keys or
stored in sets properly.
2005-07-21 Adam Fedor <fedor@gnu.org>
* Version 1.11.0
2005-07-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSUnarchiver.m:
* Source/NSPortCoder.m: Relax checking of decoded types information
to allow int/long/longlong types to be decoded using 'i/l/q'
interchangably and 'I/L'Q' interchangably because the compiler may
use different encodings on different machines.
2005-07-15 Adam Fedor <fedor@gnu.org>
* ChangeLog, ChangeLog.1, ChangeLog.2, GNUmakefile, Makefile,
Makefile.postamble, config.mak.in, configure.ac,
Documentation/Base.gsdoc, Documentation/BaseAdditions.gsdoc,
Documentation/Functions.gsdoc, Documentation/GNUmakefile,
Documentation/Makefile.postamble, Documentation/ReleaseNotes.gsdoc,
Documentation/TypesAndConstants.gsdoc, Documentation/announce.texi,
Documentation/gnustep-base.texi, Documentation/install.texi,
Documentation/news.texi, Documentation/readme.texi,
Documentation/General/Debugging.gsdoc,
Documentation/General/GNUmakefile,
Documentation/General/OpenStepCompliance.gsdoc,
Documentation/HtmlNav/docs-web.html, Documentation/HtmlNav/index.html,
Documentation/manual/GNUmakefile, Documentation/manual/index.html,
Examples/GNUmakefile, Examples/Makefile.postamble,
Examples/Makefile.preamble, Examples/custom-zone.m,
Examples/dictionary.m,
Headers/Additions/GNUstepBase/unicode/*,
Source/dld-load.h, Source/hpux-load.h, Source/null-load.h,
Source/simple-load.h, Source/win32-load.h,
Testing/*,
Tools/BaseTools.gsdoc, Tools/DocMakefile, Tools/GNUmakefile,
Tools/Makefile.postamble, Tools/Makefile.preamble, Tools/autogsdoc.1,
Tools/cvtenc.1, Tools/defaults.1, Tools/gdnc.1, Tools/gdnc.h,
Tools/gdomap.c, Tools/gdomap.gsdoc, Tools/gsdoc.gsdoc, Tools/pl.m,
Tools/pldes.1, Tools/sfparse.1, Tools/xmlparse.1,
Tools/make_strings/GNUmakefile,
Tools/make_strings/GNUmakefile.preamble,
Tools/make_strings/README, Tools/make_strings/Using.txt,
config/*: Further copyright/license updates.
2005-07-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSProcessInfo.m: ([+initialize]) always check to see if
things have already been initialised before doing the initialisation
here. Based on suggestion by Lloyd Dupont.
2005-07-14 Richard Frith-Macdonald <rfm@gnu.org>
* SSL/GSSSLHandle.m: Retains self when running runloop to allow
ssl connect and accept operations. If the connect/accept takes
a long time, the caller might give up and release the handle,
causing resources to be freed and the ssl operation to crash.
Retaining self (and noticing when a disconnect has taken place)
prevents that.
* Source/Additions/GSXML.m: Fix bug escaping emtities in fault
message.
2005-07-13 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSBundle.m: When building paths inside framework
directories on Mingw (win32), don't add /Versions/%@; the new
pseudo-framework support for Mingw does not support framework
versioning.
2005-07-12 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSBundle.m ([+_addFrameworkFromClass:]),
([-executablePath]): Mangle/demangle framework names so that we
can support '-' (and '+') in framework names. Requires latest
gnustep-make if you have a framework with '_', '-' or '+' in the
name.
2005-07-08 Adam Fedor <fedor@gnu.org>
* Testing/GNUmakefile, Testing/nsfilehandle.m: Minor fixes.
2005-07-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/objc-load.m: Under mingw print filenames for debug using
%S rather than %s
2005-07-08 Richard Frith-Macdonald <rfm@gnu.org>
Recommit all gcc-4 changes ... I was unable to find a problem
in them and have been running lots of stuff ok with them for several
days now ... perhaps I made a mistake in thinking there was an issue.
2005-07-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m: Fix bug #13685 ... raise exception on an attempt
to re-launch a task.
2005-07-04 Adam Fedor <fedor@gnu.org>
* Documentation/ReleaseNotes.gsdoc: Update.
2005-07-01 Adam Fedor <fedor@gnu.org>
* Documentation/Base.gsdoc, Documentation/BaseAdditions.gsdoc,
Documentation/Functions.gsdoc, Documentation/ReleaseNotes.gsdoc,
Documentation/TypesAndConstants.gsdoc,
Documentation/General/Debugging.gsdoc,
Documentation/manual/GNUmakefile,
Source/NSMessagePortNameServer.m,
Testing/NSData-test.m, Testing/awake.m, Testing/basic.m,
Testing/coder.m, Testing/containers.m, Testing/fref.m,
Testing/gstcpport-client.m, Testing/gstcpport-server.m,
Testing/heap.m, Testing/nsarchiver.m, Testing/nsarray.m,
Testing/nscharacterset.m, Testing/nsconnection.m,
Testing/nsconnection_client.m, Testing/nsconnection_server.m,
Testing/nsdata.m, Testing/nsdate.m, Testing/nsdictionary.m,
Testing/nsfilehandle.m, Testing/nsfilemanager.m,
Testing/nshashtable.m, Testing/nshost.m, Testing/nsindexset.m,
Testing/nsinvocation.m, Testing/nsmaptable.m,
Testing/nsnotification.m, Testing/nspathutilities.m,
Testing/nsprocessinfo.m, Testing/nsscanner.m, Testing/nsset.m,
Testing/nstask.m, Testing/nstimer.m, Testing/nstimezone.m,
Testing/nsundomanager.m, Testing/nsxmlparser.m, Testing/nxst.m,
Testing/oldserver.h, Testing/prepend.m, Testing/randoms.m,
Testing/release.m, Testing/server.h, Testing/string.m,
Testing/tcpport-client.m, Testing/tcpport-server.m,
Testing/thread-except.m, Testing/thread.m, Testing/values.m,
Testing/wgetopt.h, Tools/BaseTools.gsdoc, Tools/autogsdoc.1,
Tools/cvtenc.1, Tools/defaults.1, Tools/gdnc.1,
Tools/gdomap.8, Tools/gsdoc.7, Tools/locale_alias.m,
Tools/pldes.1, Tools/plist-0_9.dtd, Tools/sfparse.1,
Tools/xmlparse.1: Add/fix copyright/licenses.
2005-07-01 Richard Frith-Macdonald <rfm@gnu.org>
* Bad day ... accidentally updated makefiles to build KVO stuff
in last change ... so I might as well commit the partial
implementation of NSKeyValueObserving.[hm]
2005-07-01 Richard Frith-Macdonald <rfm@gnu.org>
* The last change passed regression tests etc, but one program
I have has stopped working, so there is a bug somewhere.
Reverted change until I can isolate the problem and fix it.
2005-07-01 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSUserDefaults.h: Fix bad return type
* Source/GSArray.m:
* Source/GSCountedSet.m:
* Source/GSFileHandle.m:
* Source/GSSet.m:
* Source/GSString.m:
* Source/GSeq.h:
* Source/NSArchiver.m:
* Source/NSArray.m:
* Source/NSAttributedString.m:
* Source/NSCalendarDate.m:
* Source/NSCharacterSet.m:
* Source/NSConnection.m:
* Source/NSCountedSet.m:
* Source/NSData.m:
* Source/NSDictionary.m:
* Source/NSDistributedNotificationCenter.m:
* Source/NSFileManager.m:
* Source/NSMessagePort.m:
* Source/NSMessagePortNameServer.m:
* Source/NSMethodSignature.m:
* Source/NSNotification.m:
* Source/NSObject.m:
* Source/NSPipe.m:
* Source/NSPortCoder.m:
* Source/NSPropertyList.m:
* Source/NSRange.m:
* Source/NSScanner.m:
* Source/NSSerializer.m:
* Source/NSSet.m:
* Source/NSSocketPort.m:
* Source/NSSocketPortNameServer.m:
* Source/NSString.m:
* Source/NSThread.m:
* Source/NSTimeZone.m:
* Source/NSTimer.m:
* Source/NSURLHandle.m:
* Source/NSUnarchiver.m:
* Source/NSUserDefaults.m:
* Source/NSValue.m:
* Source/mframe.m:
* Source/Additions/GSCategories.m:
* Source/Additions/GSMime.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/GSXML.m:
* Source/Additions/Unicode.m:
* Tools/AGSHtml.m:
* Tools/AGSIndex.m:
* Tools/AGSOutput.m:
* Tools/gdomap.c:
* Tools/gdomap.h:
* Tools/make_strings/make_strings.m:
Tweaks to avoid compiler warnings with gcc-4. Mostly signed pointer
casts and bogus interface declarations to allow +class to be called
on a class for which we don't have the real interface visible.
2005-07-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSException.m: ([-raise]) Fix behavior to be the same as in
MacOS-X (ie call the default uncaught exception handler after
whatever handler is set, in case the set handler does not terminate).
Ensures that the -raise method cannot return.
* Testing/basic.m: Add test for uncaught exception handler.
2005-06-30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSSerializer.m: deserializeFromInfo() check that cross
reference indices are valid and raise an exception if not ... should
fix bug reported by Roland Schwingel, where trying to deserialize a
corrupt file could cause a crash.
2005-06-28 Adam Fedor <fedor@gnu.org>
* Source/NSInvocation.m (-getReturnValue:, -setReturnValue:): Only
muck with size of buffer if we're using (deprecated) mframe.
2005-06-27 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyedArchiver.m: Fix typo ... superClass should be
superclass
2005-06-25 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m:
Preserve case of http headers when writing remote request, so that
they can be tailored for remote servers which are buggy in having
case sensitivity.
When creating default http headers, capitalize the words in the
header name, as this is the most common way headers are presented
and documented, and thus the least likely to tickle case sensitivity
bugs at the remote end of a connection.
2005-06-23 Adam Fedor <fedor@gnu.org>
* Source/mframe.m (mframe_decode_return): Change return struct
to fixed size to avoid gcc bug.
2005-06-23 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h:
* Documentation/coding-standards.texi:
Minor documentation fixes.
2005-06-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSKeyValueCoding.m:
* Headers/Foundation/NSKeyValueCoding.h:
Change NSUnknownKeyException to NSUndefinedKeyException for
MacOSX compatibility.
Fixes bug #13842
2005-06-21 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: ([-initWithPath:]) expand paths with tildes.
2005-06-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m: Removed bogus
NSConnection(ConnectionDelegate) category .. these methods must not be
implemented in NSObject. I hope that removing the concrete
implementation of the category from the Object class will not cause
problems (I believe there used to be problems with older versions of
the compiler if we tried to use @selector(NN) where NN was not
implemented in the same code unit, but I can't remember what the
problems were and when they occurred).
* Headers/Foundation/NSConnection.h: Added comments/documentation from
NSConnection.h
2005-06-17 Adam Fedor <fedor@gnu.org>
* Remove objc/Protocol.h include from NSObject to avoid warnings
with conflicting method signatures.
* Headers/Foundation/NSConnection.h: Change Object categories
to NSObject.
* Source/NSConnection.m: Idem.
* Headers/Foundation/NSObject.h: Don't include objc/Protocol.h
add a few missing things.
* Source/NSDate.m ([NSDate -isEqual:]): Use isKindOfClass.
* Source/NSDistantObject.m, Source/NSProtocolChecker.m:
Include objc/Protocol.h
* Source/NSSerializer.m: Add method sig for performv::
2005-06-15 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/manual/WorkingWithObjects.texi: Correct errors in
the summary of memory management conventions.
* Documentation/manual/WritingNewClasses.texi: Correct examples of
memory management in constructor methods.
2005-06-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
* Source/NSSocketPort.m:
* Source/NSMessagePort.m:
Enable KEEPALIVE on stream sockets, so we will notice if the remote
end drops the connection.
2005-06-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCalendardate.m: Fix crash when a nil string is passed to
initWithString... methods.
2005-06-06 Adam Fedor <fedor@gnu.org>
* Source/Makefile.preamble: Add objc lib on all platforms
Fixes bug #9920.
2005-06-05 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h: Add a versioning constant and
document a bit better.
* Tools/AGSParser.m: Support new version constant and fix version
comparison for minor and subminor numbers.
* Tools/AGSHtml.m: ditto
* Headers/Foundation/NSArchiver.h: convert o new versioning as test.
* Documentation/Base.gsdoc: Document version constants.
2005-06-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSObject.h: Add subminor number to versioning
macros as apple sometimes add/remove things at subminor versions.
Add some constants for versions.
* Tools/AGSParser.m: Support subminor version info
* Tools/AGSHtml.m: ditto
2005-06-04 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileManager.h: hide private method in enumerator,
swap one ivar for a new one keeping size the same.
* Headers/Foundation/NSString.h: Mark some deprecated methods.
* Source/GSFileHandle.m: Merge in win32 simplifications
* Source/NSBundle.m: ditto
* Source/NSData.m: ditto
* Source/NSFileManager.m: ditto
* Source/NSPathUtilities.m: ditto
* Source/NSProcessInfo.m: ditto
* Source/NSString.m: ditto
* Source/NSTask.m: ditto
* Source/win32-load.h: ditto
Merge in simplifications from the win32 path handling branch
and all changes/fixes since.
2005-06-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m:
* Source/NSFileManager.m:
Define _FILE_OFFSET_BITS to be 64 so that, on unix-like systems which
support large file handling (>2GB) the large file handling routines
are used.
* Source/NSTask.m: Try to deal with pipes properly when launching under
windows.
* Source/GSString.m: Fix bug returning unicode string from cString.
2005-05-21 Adam Fedor <fedor@gnu.org>
* Update FSF Address.
2005-05-20 Matt Rice <ratmice@yahoo.com>
* Source/NSArray.m (NSArray -removeObject:): Fix macro conditional
so we release the object.
2005-05-15 19:57 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSPropertyList.m: Changes to include limits.h rather
than explicitly define UINT_MAX.
2005-05-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Minor improvement to detail of failure
reason.
2005-05-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFileHandle.m: Increase size of buffer for incoming data ...
on modern systems we have more memory and a bugger buffer can make
a significant performance improvement when reading large amounts of
streamed data. New define of READ_SIZE for this buffer ... easily
adjusted in one place.
2005-05-10 Sheldon Gill <sheldon@westnet.net.au>
* Resources/GNUmakefile
* Resources/Languages/Locale.aliases
* Resources/Spanish
* Resources/Spanish.lproj/Localizable.strings
Spanish language localisation from diemyr@yahoo.es
2005-05-10 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.h:
* Tools/AGSHtml.m:
* Tools/AGSParser.m:
* Tools/gsdoc-1_0_2.dtd:
Support deprecation version as well as addition/removal.
2005-05-09 David Ayers <d.ayers@inode.at>
* Source/NSPropertyList.m (OAppend): Revert patch from
2005-02-28. It seems to fix the issue in the wrong place.
Further investigation is necessary.
2005-05-09 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.m: Output 'Releases' rather than 'Standards' as it
seems a better term for API version information.
* Tools/AGSParser.h:
* Tools/AGSParser.m: Parse OS_API_VERSION() and GS_API_VERSION() to
produce detailed version information.
* Headers/Foundation/NSObject.h: defines of the two version macros for
proof of concept.
2005-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/AGSHtml.h: Support versioning info instead of standards
* Tools/AGSHtml.m: ditto
* Tools/AGSOutput.m: ditto
* Tools/AGSParser.m: ditto
* Tools/GNUmakefile: Add new dtd and remove old tool.
* Tools/autogsdoc.m: ditto
* Tools/gsdoc-1_0_2.dtd: ditto
* Tools/gsdoc.m: Remove obsolete tool.
* Tools/gsdoc.gsdoc: Updated
Changes to support OpenStep/OPENSTEP/MacOS-X versioning and
GNUstep versioning, using add/rem attributes to specify the
version at which a feature was added to or removed from the
API. Drop the old 'standards' mechanism which was too rigid
for detailed versioning.
2005-05-08 14:11 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSPropertyList.m: Corrected setup so that compilation
works on Solaris 9.
2005-05-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: nul terminate properly when a returned 'C string'
is actually unicode.
* Source/GSString.m: ditto.
2005-05-08 Fred Kiefer <FredKiefer@gmx.de>
* Source/NSPropertyList.m: Added class BinaryPLGenerator to export
property lists in Apple binary format.
(+ dataFromPropertyList:format:errorDescription:) Use this new class.
(+ propertyList:isValidForFormat:) Report
NSPropertyListBinaryFormat_v1_0 as a supported format.
(GSBinaryPLParser -initWithData:mutability:) Read table start correctly.
(GSBinaryPLParser -objectAtIndex:) Better support for numbers.
2005-05-07 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Improve handling of text/xml without
a charset. Add new method to determine the correct charset in the
case where it has to be inferred from the actual data. Follow the
instructions in http://www.w3.org/TR/REC-xml/ but be a bit more
tolerant. (ebcdic not supported).
* Headers/Foundation/GSString.m: Add a few new methods from macosx.
* Source/NSString.m: ditto.
* Source/GSString.m: ditto.
2005-05-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: If given content of type text/xml without
a charset, try to get the charset from the encoding="..." part of the
header.
2005-04-29 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: Remove self as an observer of our file
handle on deallocation ... prevent notfications being sent to
deallocated object.
2005-04-28 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/coding-standards.texi: Added what appear to be the
generally accepted parts of Sheldon's suggested coding standards
additions.
* Source/GSHTTPURLHandle.m: Modified to keep watching idle connections
and handle things properly when the remote end drops the connection.
Should fix occasional trouble when connectioin keepalive is used but
the remote host drops the connection between requests.
2005-04-26 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSHTTPURLHandle.m: remove wProperties and wData from
handle in sync.
2005-04-25 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/defaults.m: Fix bug writing defaults whose values should be
quoted strings.
2005-04-23 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSData.m: Fix bug in memory management when serializing an
object over 65K in length.
2005-04-20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m:
* Source/NSDistributedNotificationCenter.m:
* Tools/gdnc.m:
mingw tweaks
2005-04-19 Adam Fedor <fedor@gnu.org>
* Tools/gdomap.c (init_iface): Round size to make sure we don't violate
pointer alignment boundaries.
2005-04-14 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Add tweak to cope with buggy mailers
which insert space after the boundary in a multipart document.
2005-04-13 Adam Fedor <fedor@gnu.org>
* ANNOUNCE, NEWS, Documentation/news.texi,
Documentation/ReleaseNotes.gsdoc: Merge in release info from
1.10.3 release branch.
2005-04-12 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSDistributedNotificationCenter.h:
Added GSPublicNotificationCenterType and changed documentation for
NSLocalNotificationCenterType to say it's private to the current user.
* Source/NSDistributedNotificationCenter.m: Changed so that
NSLocalNotificationCenterType is MacOS-X compatible and the new
GSPublicNotificationCenterType works like our old implementation.
* Source/NSPortNameServer.m: Add detailed message about forthcoming
change to make the default port name server deal with message ports
rather than socket ports ... for MacOS-X compatibility and security.
* Source/externs.m: Added GSPublicNotificationCenterType
* Tools/gdnc.m: Changes for new NSDistributedNotificationCenter
behavior.
Overview ... updated distributed notifications to be private to the
owner of the processes by default. Added one-time warning message
for developers that NSConnection will be changing the same way.
These changes discussed a year or two ago (mostly with Alexander),
but nobody ever actually implemented them.
* Source/NSPathUtilities.m: Make temporary directory name based on
uid so that it is consistent on a unix system where there are
multiple named accounts with the same user id (essentially all
aliases for a single account).
2005-04-05 Adam Fedor <fedor@gnu.org>
* gnustep-base.spec.in: Update make dependancy
2005-04-05 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: ([sttringByAppendingPathComponent:]) Fix bug
eliding multiple slashes in path.
2005-04-02 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m: Fix missing nul terminator to arguments under win32
2005-04-01 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSBundle.m: Minor debug/warning log tweaks.
* Headers/Foundation/NSBundle.h: Document differences between GNUstep
and MacOS-X when initialising using a relative path.
* Headers/NSString.h: Fix typo in comment.
2005-03-31 Adam Fedor <fedor@gnu.org>
* ANNOUNCE, NEWS, Documentation/news.texi,
Documentation/ReleaseNotes.gsdoc: Merge in release info from
1.10.2 release branch.
2005-03-31 Adam Fedor <fedor@gnu.org>
* Source/NSBundle.m (_find_framework): New function.
([NSBundle +_addFrameworkFromClass:]): Use it. Based on patch
from Sheldon Gill.
2005-03-31 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: (isAbsolutePath) always treat a path beginning
with '/' as absolute except when in windows mode or on windows and
not in unix mode. Treat all UNC paths as absolute ... a change made
after a lot of trawling the web and looking at examples of UNC path
usage.
2005-03-23 Richard Frith-Macdonald <rfm@gnu.org>
* config/pathxml.m4: Fix to get --with-xml-prefix= to work for
xml2-config
* configure: regenerated
2005-03-22 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Fix some charset-encoding mappings.
Add utf-7 and utf-16.
Add all aliases for ascii and latin1
Document mapping methods better.
2005-03-21 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSFileManager.h: Add path handling documentation.
* Headers/Foundation/NSString.h: Add path handling methods
documentation and new method to set global path handling mode.
* Source/NSUserDefaults.m: Update path handling mode when defaults
are read in.
* Source/NSString.m: Implement selectable path handling mode ...
gnustep/unix/windows. In the default gnustep mode we try to
handle paths in any format and just do the right thing.
Also updated handling of path extensions to match MacOSX behavior.
* Source/Additions/GSMime.m: Remove deprecated method.
Optimise a little by avoiding class lookups.
2005-03-18 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Use fprintf rather than NSLog to try to
avoid possible recursion when errors occur.
2005-03-17 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPathUtilities.m: Tidy variable and function names to fit
GNUstep conventions. Simplify code a little. Don't attempt to parse
per-user config file if its name is nil or empty string.
Support parsing old config options for backward compatibility.
2005-03-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Ensure last line of base64 encoded data
is terminated with crlf for clients which have buggy base64 decodedrs.
2005-03-15 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSMime.m: Mark ([setDefaultEncoding:]) as deprecated
rather than just removing it ... in case someone has started using it.
* Source/NSPathUtilities.m: Tidied a little ... moved a function.
* Headers/Additions/GNUstepBase/GSFunctions.h: New header for functions
* Headers/Foundation/NSPathUtilities.h: Moved function
* Source/DocMakefile: Include GSFunctions.h
* Source/GNUmakefile: ditto
* Source/Additions/GNUmakefile: Build GSFunctions.m
* Source/Additions/GSFunctions.m: New file for extra functions.
* Source/NSString.m: ([stringByExpandingTildeInPath]) Improve handling
of paths containing mingw drives.
* Source/NSDate.m: Use same values for distant past/future as MacOSX
* Source/NSCalendarDate.m: Support output of extreme year values.
2005-03-14 Adam Fedor <fedor@gnu.org>
* Continuation of NSPathUtilities patches
* configure.ac: Add config-file option
* Headers/Foundation/NSPathUtilities.h: Add GSFindNamedFile, more
NSSearchPathDirectory enums.
* Source/GNUmakefile: Don't install Win32 headers.
* Source/NSPathUtilities.m (InitializePathUtilities, ...): Add
support for reading standard path locations from a configuration
file. Various support functions added/removed to fit.
(GSFindNamedFile): New function.
(GSSetUserName): Do nothing if the user is the same.
(NSHomeDirectoryForUser): Use Windows utilities to get user name
(on Windows, of course).
(NSFullUserName): Default to NSUserName on Windows.
(GSSystemRootDirectory): Mark as deprecated.
(GSDefaultsRootForUser): Correctly return the actual defaults
directory, not the user directory.
(GSStandardPathPrefixes): Mark as deprecated.
(NSSearchPathForDirectoriesInDomains): Add platform paths and
additional search directories.
* Source/NSUserDefaults (pathForUser): Correct use of
GSDefaultsRootForUser. Remove obsolete path checking and
defaults location checking. (Patches from Sheldon Gill
with some modifications).
* Documentation/Base.gsdoc: Update documentation.
* Headers/Additions/GNUstepBase/Win32_Utilities.h,
Source/win32/Win32_Utilities.m: Fix function arguments.
2005-03-12 Sungjin Chun <chuns@embian.com>
* Source/Additions/GSXML.m: Port to MacOS-X
2005-03-11 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSPropertyList.m: Handle null object passed to OAppend()
* Source/Additions/GSMime.m: Optimise setDefaultCharset: a little
Add error checking to setDefaultEncoding: to make sure it sets a
valid characterset encoding. Should almost certainly remove this
method though ... as it duplicates setDefaultCharset: functionality
in a somewhat less useful form.
2005-03-11 David Wetzel <dave@turbocat.de>
* Source/Additions/GSMime.m:
* Headers/Additions/GNUstepBase/GSMime.h
Added setDefaultEncoding:
This is needed in GSWeb if you use utf-8 and faster than using a
String as encoding name.
2005-03-09 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSet.m: Fix bug in forming union ... was using
wrong length.
2005-03-08 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSCharacterSetData.h: Add data outside unicode base plane.
* Source/NSCharacterSet.m: Change to support all unicode characters
rather than just UTF16. The current implementation is still based
on (often much larger than before) bitmaps. It may be that the size
of the bitmap data is too large for real world use, and we may have
to introduce a different storage mechanism. The current mechanism
is good for cases where the number of characters in the set is large
and those characters are scattered, or where characters are only
present in the base plane. Another implementation might be better
for cases where characters are clustered into contiguous groups
and the groups are scattered through the full range.
2005-03-07 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSConfig.h.in: Extra types
* configure.ac: Added types for GSConfig.h.in
* configure: regenerated
* Headers/Foundation/NSCharacterSet.h: New MacOS-X methods
* Headers/Foundation/NSIndexSet.h: Remove bogus comment.
* Source/GNUmakefile: Don't build NSBitmapCharSet.m
* Source/NSBitmapCharSet.h: Removed ... merege into NSCharacterSet.m
* Source/NSBitmapCharSet.m: ditto
* Source/NSCharacterSet.m: Optimise a few methods.
Add new MacOS-X methods (naive implementations)
Merge in NSBitmapCharSet as private class
2005-03-06 Matt Rice <ratmice@yahoo.com>
* Headers/Foundation/NSRunLoop.h: Reorder RunLoopEventType for binary
compatibility.
2005-03-06 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSCharacterSet.h: Add documentation and method
([-capitalizedLetterCharacterSet]) Change name of symbol set to
match MacOS-X
* Source/NSCharacterSet.m: Add new method and move documentation to
header. Include local NSCharacterSetData.h for bitmap data.
* Source/NSCharacterSetData.h: New file containing the bitmap data
for the standard charactersets. Generated by dev-apps/charsets
tools using the latest unicode characterset data today.
* Source/NSCharacterSets/README.CharSet: mark as obsolete.
* Source/GNUmakefile: No longer build/install NSCharacterSets
The standard bitmap data for charactersets is now built in to
NSCharacterSet.
* Headers/Foundation/NSBitmapChar.h: Moved nonstandard header
to private source directory.
* Source/NSAutoreleasePool.m: Rewrite deallocation to cause the pool
to remain as the current pool during the deallocation process ...
Requires deallocation to be done in a loop to avoid possible leaks
etc if an object which is being deallocated decides to autorelease
something.
Also removed a few private methods for simplification.
2005-03-04 Richard Frith-Macdonald <rfm@gnu.org>
* Source/Additions/GSXML.m: GSXMLRPC integrated.
* Headers/Additions/GSUstepBase/GSXML.h: GSXMLRPC integrated.
2005-03-03 Adam Fedor <fedor@gnu.org>
* Source/NSFileManager.m (-createFileAtPath:...): Define var at
beginning to work on gcc 2.x compilers.
2005-03-03 Adam Fedor <fedor@gnu.org>
* Start on integrating Sheldon Gills NSPathUtilities patches.
* Headers/Foundation/NSPathUtilities.h: Depreciate
GSSystemRootDirectory, GSStandardPathPrefixes. Add
GSPreferencesDirectory to NSSearchPathDirectory enum. Enumerate
NSSearchPathDomainMask values.
* Headers/Additions/GNUStepBase/Win32Support.h,
Headers/Additions/GNUStepBase/Win32_Utilites.h: New files.
* Source/GNUmakefile: Add NSPathUtilities.m
* Source/NSUser.m: Move everything in here...
* Source/NSPathUtilities.m: to here.
* Source/win32/GNUmakefile: Add Win32Support.m, Win32_Utilities.m
* Source/win32Win32Support.m, Win32_Utilities.m: New files
* Testing/nspathutilites.m: New file.
(Files and patches from Sheldon Gill with minor modifications).
2005-03-02 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Foundation/NSKeyValueCoding.h:
* Source/NSArray.m:
* Source/NSKeyValueCoding.m:
* Source/Additions/GSObjCRuntime.m:
On the way back from FOSDEM I updated tje key-value-coding stuff to
match the lastest version from Apple/MacOS-X panther.
I don't use KVC in my code, and have not testcases for it, so would
appreciate it if anyone who does could try this out and get bug
reports back to me ASAP.
2005-03-01 Adam Fedor <fedor@gnu.org>
* Source/NSBundle.m (+gnustepBundle,
+pathForGNUstepResource:ofType:inDirectory:]): Add deprecated
log message.
* Source/NSNotificationQueue.m, Source/null-load.h:
Fix copyright message.
2005-03-01 02:50 Nicola Pero <n.pero@mi.flashnet.it>
* Source/Makefile.preamble (ADDITIONAL_LIB_DIRS): When building a
shared library, depend on all TARGET_SYSTEM_LIBS, not just
CONFIG_SYSTEM_LIBS.
* Headers/Additions/GNUstepBase/GSObjCRuntime.h: Do not use
__declspec(dllexport) on mingw. Use extern instead.
2005-02-28 17:45 Richard Frith-Macdonald <rfm@gnu.org>
* NSCharacterSets/GNUmakefile: Use GNUSTEP_OBJ_DIR_NAME to run
data conversion tool, since Tom Koelman points out that the 'obj'
subdirectory does not work on windoze due to lack of symlinks.
2005-02-28 17:10 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m:
* Source/NSCharacterSet.m:
* Source/NSproxy.m:
Damn ... when I ran the testsuite for the stuff I did at fosdem, it
all worked ... but now I find that it was linking to an older version
of the base library and actually the changes were broken.
The new modifications should (hopefully) fix all breakage.
The changes exposed rare bugs in the existing code ...
NSCharacterSet was returning immutable copies of the standard
character sets when it should return mutable ones, it was also
being a bit bad about allocating new instances. NSProxy was
failing to implement instanceMethodForSelector:, and NSAutoreleasePool
had a bug which could mess up a bit if the objects being deallocated
by it autoreleased anything.
2005-02-28 David Ayers <d.ayers@inode.at>
* Source/NSPropertyList.m (OAppend): Attempt to transform
description of non-proporty-list objects into property list
before recursing for OPENSTEP compatibility.
2005-02-27 13:20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSConnection.m:
Set default timeouts to maximum timeouts for MacOS-X compatibility.
2005-02-27 08:45 Richard Frith-Macdonald <rfm@gnu.org>
* NSCharacterSets/dataToheader.c: new file to convert data files to
constant values in a new header (NSCharacterSetData.h).
* NSCharacterSets/GNUmakefile: build header from data files, and
don't create resource set, since we no longer use the files at runtime.
* Source/NSCharacterSet.m: include NSCharacterSetData.h and use it to
create the standard charactersets rather than reading from data files.
This has two advantages - It avoids the need to install characterset
data files with the library, and it means that we have characterset
data available immediately (before we need to access the filesystem)
so we can use charactersets and NSString methods which depend upon them
earlier on in the system initialisation.
2005-02-27 00:50 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSAutoreleasePool.m: ([-dealloc]) cache method implementations
for release calls on the assumption that many of the objects in the
pool will be of the same class.
Optimisation suggested by Georg Wallmann
2005-02-23 Adam Fedor <fedor@gnu.org>
* configure.ac: Add test to check for poll emulation
* Source/NSRunLoop.h: Don't use poll if we're just emulating.
* Source/unix/GSRunLoopCtxt.m: Idem.
2005-02-23 14:00 Richard Frith-Macdonald <rfm@gnu.org>
* Headers/Additions/GNUstepBase/GSFileHandle.h: Add windows event
* Headers/Foundation/NSPort.h:
* Headers/Foundation/NSRunLoop.h:
* Source/GNUmakefile:
* Source/GSFileHandle.m:
* Source/GSLocale.m:
* Source/NSMessagePort.m:
* Source/NSPipe.m:
* Source/NSRunLoop.m:
* Source/NSSocketPort.m:
* Source/NSThread.m:
* Source/NSUser.m:
* Source/unix/GNUmakefile:
* Source/unix/GSRunLoopCtxt.m:
* Source/unix/GSRunLoopWatcher.m:
* Source/unix/Makefile.preamble:
* Source/win32/GNUmakefile:
* Source/win32/GSRunLoopCtxt.m:
* Source/win32/GSRunLoopWatcher.m:
* Source/win32/Makefile.preamble:
* Source/win32/NSRunLoopWin32.m:
Applied patch by Luis Cabellos to use native win32 event handling
rather than unix style select/poll on a win32 system.
Rewrote various chunks to simplify, conform to coding standards,
work for me etc. In particular, replaced code for thread
synchronisation to use win32 Event rather than pipe.
2005-02-22 Adam Fedor <fedor@gnu.org>
* Branched freeze-1_10_2 for Version: 1.10.2
2005-02-22 14:00 Richard Frith-Macdonald <rfm@gnu.org>
* Documentation/Base.gsdoc:
* Source/GSPrivate.h:
* Source/NSDebug.m:
* Source/NSLog.m:
* Source/NSUserDefaults.m:
Add GSLogThread to include thread id in NSLog() and debug output.
* Source/NSMessagePort.m:
* Source/NSSocketPort.m:
Remove thread reporting in some debug statements as it can be
done universally using GSLogThread.
2005-02-22 11:12 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFFCallInvocation.m:
* Source/GSFormat.m:
* Source/GSString.m:
* Source/GSTemplateValue.m:
* Source/NSAutoreleasePool.m:
* Source/NSData.m:
* Source/NSDebug.m:
* Source/NSDecimal.m:
* Source/NSInvocation.m:
* Source/NSMethodSignature.m:
* Source/NSScanner.m:
* Source/NSThread.m:
* Source/NSTimeZone.m:
* Source/NSUserDefaults.m:
* Source/libgnustep-base-entry.m:
* Source/thr-mach.m:
* Source/thr-pthread.m:
* Source/Additions/GSCategories.m:
* Source/Additions/GSObjCRuntime.m:
* Source/Additions/Unicode.m:
* Source/Additions/behavior.m:
Tidy up use of white space a little.
2005-02-21 20:30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m: Modified code to rewrite output to use correct
decimal separator for locale (hopefully). Also made a small
performance improvement in processing digits for output.
2005-02-21 14:30 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSFormat.m:
* Source/NSConnection.m:
* Source/callframe.m:
* Source/cifframe.m:
Include malloc.h for systems where it is needed for alloca()
* Tools/gdomap.c: Avoid some warnings on mingw32
2005-02-21 14:10 Stefan Urbanek <stefan@agentfarms.net>
* Source/NSAttributedString.m: Fix loop decoding from archive.
2005-02-18 06:20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: Tidy up some of last patch for unicode filesystem
support.
* Source/NSFileManager.m: Complete rewrite of unicode filesystem
support to make code more readable and to allow it to easily be
turned off by commenting out the 'UNICODE' and '_UNICODE'
definitions at the start of the file.
There is a bug in the mingw runtime which is (currently) still
distributed in the 'current' complete mingw distribution ... which
breaks unicode filesystem support very badly.
So ... you can now either revert to 8bit charset filesystem support,
or download a more recent version of the mingw runtime from the
mingw site.
* Source/NSTask.m: Fix setting environment for mingw ... use own
method to get environment rather than examining instance variable,
as the variable may not be set. Sort variables because windows needs
them in alphabetical order. Fix conversion to unicode.
2005-02-16 14:40 Richard Frith-Macdonald <rfm@gnu.org>
* config/patchxml.m4: Try to detect libxml2 in standard directories
exen if xml2-config is not present.
* configure.ac: Detect libxml2 becore iconv, in case libxml2
requires iconv (which it usually will on a system where iconv is
not built into the standard c library).
* confingure: Regenerate
* Source/Additions/GSXML.m: Set memory allocation functions to be
used by libxml2, so we can use objc_free() to release strings returned
by the library, and avoid linker problem with xmlFree() on mingw.
2005-02-15 08:00 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m: Fix incorrect version comitted.
2005-02-14 08:00 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSTask.m: Pass environment settings for mingw based on
anonymous bug submission (bug #11360)
* Source/NSUser.m: Fix bug #11378
* Tools/gdomap.c: Quote mingw arguments toi fix bug #11854
* Documentation/manual/Introduction.texi: Apply patch by pupeno
(bug #11814)
2005-02-10 01:05 Alexander Malmberg <alexander@malmberg.org>
* Tools/gdnc.m (main): Remove the program name from the arguments
given to the new task.
2005-02-08 11:20 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSString.m: (unicodeString) rewrite to conform to coding
standards and to be more efficient.
2005-02-08 10:10 Richard Frith-Macdonald <rfm@gnu.org>
* Tools/gdnc.m: Rewrite startup code to create a daemon using NSTask
rather than calling fork()/spawn() etc.
Make arguments more consistent with gpbs
* Source/NSTask.m: Minor code layout/indentation tweaks.
2005-02-02 09:40 Richard Frith-Macdonald <rfm@gnu.org>
* Source/NSFileManager.m: Restructure last patch to conform to
gnustep coding standards.
(localFromOpenStepPath:) for unix paths, expand '~' abbreviations.
2005-01-31 Adam Fedor <fedor@gnu.org>
* Documentation/coding-standards.texi: Add section of documentation.
2005-01-29 03:46 Matt Rice <ratmice@yahoo.com>
* Source/NSUndoManager.m (-registerUndoWithTarget:selector:object:):
Have the invocation to retain it's arguments. (Fixes bug #4692.)
2005-01-21 22:08 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUndoManager.m: [NSUndoManager redo] and
[NSUndoManager undoNestedGroup] moved the call to actionName
to a later point in both methods to get the name from the
"groupToRedo" or the "groupToUndo" respectively. This
corrects the issue with the wrong name sometimes appearing
in the redo/undo menu items.
2005-01-16 07:59 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUndoManager.m: Added code to properly set the
name of the action when undo/redo is called.
2005-01-16 06:37 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUndoManager.m: Check if the group is nil in
endUndoGrouping before checking the count.
2005-01-15 06:17 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUndoManager.m: Undid previous change here.
2005-01-15 06:13 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUndoManager.m: Localized undo/redo menu title.
2005-01-14 06:50 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUndoManager.m: Correction for redo.
2005-01-14 05:43 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSUndoManager.m: Fix forward invocation to not add
a group when it doesn't contain any actions.
2005-01-08 Adam Fedor <fedor@gnu.org>
* Source/NSCalendarDate.m: fix time zone for %z format with
only 2 digits in -initWithString:calendarFormat:locale:
2005-01-07 Adam Fedor <fedor@gnu.org>
* Source/NSTimeZone.m (+abbreviationDictionary): Retain dictionary
(Fixes bug #11516).
Copyright @copyright{} 2005 Free Software Foundation
Copying and distribution of this file, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
|