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
|
2009-04-14 Behdad Esfahbod <behdad@gnome.org>
* gconf/gconf-client.c (gconf_client_key_is_writable): Also trace
if key is in cache. Don't trace the writable result, that's not
interesting.
* gconf/gconf-client.c (gconf_client_set_bool): Trace this function.
Somehow it was missing the trace line that other set_* functions
have.
2009-04-14 Behdad Esfahbod <behdad@gnome.org>
* gconf/gconf-client.c: Consistently surround string parameters in
single-quotes in trace output.
2009-04-13 Behdad Esfahbod <behdad@gnome.org>
* gconf/gconf-client.c (trace): Use g_message for printing trace
output, such that G_MESSAGES_PREFIXED=all can be used to print process
name and id.
=========================== 2.26.0 ===========================
2009-03-16 Ray Strode <rstrode@redhat.com>
* NEWS: Updates
* configure.in: 2.26.0
2009-02-26 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-internals.c: (gconf_activate_server):
Correct the URL to the website.
2009-02-23 Matthias Clasen <mclasen@redhat.com>
Bug 572402 – Potential memory leak in markup backend
* backends/markup-backend.c (tree_lookup_entry): Free parent
before checking for error. Pointed out by Tommi Rantala.
2009-02-23 Matthias Clasen <mclasen@redhat.com>
Bug 572187 – Remove deprecated GTK+ symbols
* gconf/gnome-testclient.c:
* gconf/testgconfclient.c:
* doc/intro-article.sgml: Remove deprecated GTK+ api.
2009-02-16 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
=========================== 2.25.2 ===========================
2009-02-16 Ray Strode <rstrode@redhat.com>
* gconf/default.path.in: move the directory used by the
defaults mechanism, so that its effects are mandatory
(bug 558490).
2009-02-15 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
=========================== 2.25.1 ===========================
2009-02-15 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-02-15 Matthias Clasen <mclasen@redhat.com>
Bug 566716 – Update the projects URL
* README:
* gconf/gconf-internals.c: Update project website url.
String change. Requested by Leonardo Ferreira Fontenelle
2009-02-15 Matthias Clasen <mclasen@redhat.com>
Bug 569258 – Use send_destination in dbus policy
* defaults/org.gnome.GConf.Defaults.conf: Use send_destination.
Pointed out by Vincent Untz
2009-02-15 Matthias Clasen <mclasen@redhat.com>
Bug 565312 – Use g_timeout_add_seconds
* backends/xml-backend.c: Trivial: Use g_timeout_add_seconds.
Patch by Paul Kishimoto.
2009-02-15 Matthias Clasen <mclasen@redhat.com>
Bug 558490 – New policykit mechanism uses hard-coded gconf path
* gconf/default.path.in: Add the directory that is used by the
defaults mechanism
* defaults/Makefile.am: Define SYSGCONFDIR
* defaults/gconf-defaults.c: Use SYSGCONFDIR instead of hardcoding
/etc/gconf. Pointed out by Vincent Untz
2009-02-12 Michael Meeks <michael.meeks@novell.com>
* backends/markup-tree.c (parse_value_element): turn off a
bogus error message for missing types, which we don't use,
saves creating, l10n'ing & destroying 11k bogus messages on
login.
2009-02-10 Michael Meeks <michael.meeks@novell.com>
* backends/markup-tree.c (write_value_element): close empty
value elements immediately to save parsing time.
* backends/markup-tree.c: instead of indenting with spaces, use
tabs for a 50% size saving in the generated XML, and a nice
parsing speedup. Also accelerate writing by avoiding lots of
un-necessary memory allocation.
2009-01-27 Tor Lillqvist <tml@novell.com>
* gconf/Makefile.am (gconfd_2_LDFLAGS): Use the -mwindows flag
when linking on Windows, so that we build a "GUI" executable.
* gconf/gconfd.c (main): On Windows, with GCONF_DEBUG_OUTPUT set,
make sure stdout and stderr go somewhere. Use the parent's console
window if possible, otherwise open an own console window. If we
had to open an own console window, give the user a chance to read
the output when exiting. Same idea that has been successfully used
in GIMP for a while.
2009-01-23 Vincent Untz <vuntz@gnome.org>
* backends/xml-backend.c: cygwin needs the same stuff as mingw, so use
G_PLATFORM_WIN32
Patch by <yselkowitz@users.sourceforge.net>
Fix bug #563801.
2009-01-23 Vincent Untz <vuntz@gnome.org>
* gconf/gconftool.c: (do_toggle): return value at the end of the
function.
Patch by Magnus Boman <captain.magnus@gmail.com>. Fix bug #567334
2009-01-09 Matthias Clasen <mclasen@redhat.com>
* configure.in: Bump version
=========================== 2.25.0 ===========================
2009-01-09 Matthias Clasen <mclasen@redhat.com>
* NEWS: Updates
2009-01-09 Matthias Clasen <mclasen@redhat.com>
Bug 560559 – GNOME Goal: Remove deprecated GLib symbols
* gconf/testclient.c: Replace deprecated GLib calls. Patch by
Travis Veralrud.
* gconf/Makefile.am: Remove commented-out mentions of testclient.c
2008-12-30 Matthias Clasen <mclasen@redhat.com>
Bug 565297 – a --toggle option for gconftool
* gconf/gconftool.c: Add --toggle option
2008-12-08 Ray Strode <rstrode@redhat.com>
* gconf/gconfd.c: (logfile_save):
Use fsync instead of fdatasync for portability
(bug 563401).
* backends/markup-tree.c (save_tree_with_locale):
Also flush and sync here before closing (Patch
from Richard Hult, bug 562976)
2008-12-02 Ray Strode <rstrode@redhat.com>
* gconf/gconfd.c: (logfile_save):
sync saved state file to disk before closing
(bug 562976)
2008-10-22 Christian Persch <chpe@gnome.org>
* gconf/gconftool-2.c: Add --search-key-regex; bug #557489.
2008-10-22 Christian Persch <chpe@gnome.org>
* defaults/gconf-defaults.c: (do_copy),
(gconf_defaults_unset_mandatory): Fix some 'format not a string
literal and no format arguments' warnings.
2008-10-22 Christian Persch <chpe@gnome.org>
* gconf/gconf-backend.c: (gconf_backend_unref): Fix one 'format not a
string literal and no format arguments' warning.
2008-09-25 Tor Lillqvist <tml@novell.com>
* gconf/dllmain.c (setup): Drop the Win9x code path. There is no
Win9x support any more lower in the stack anyway.
=========================== 2.24.0 ===========================
2008-09-22 Kjartan Maraas <kmaraas@gnome.org>
* NEWS: Updated
* configure.in: Release 2.24.0.
2008-08-21 Saleem Abdulrasool <compnerd@compnerd.org>
reviewed by: kmaraas
* configure.in: Check for polkit-policy-file-validate if
policykit is neede to allow configure to pass on systems
without PolicyKit
=========================== 2.23.2 ==========================
2008-08-19 Kjartan Maraas <kmaraas@gnome.org>
* defaults/Makefile.am: Add distclean rule.
* gconf/gconfd.c: (get_on_system_bus):
* gconf/gconfd.h: Fix some warnings.
2008-08-19 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Check for polkit-policy-file-validate
to fix make distcheck.
2008-07-11 Matthias Clasen <mclasen@redhat.com>
* NEWS: Add noteworthy new features
2008-07-11 Matthias Clasen <mclasen@redhat.com>
Bug 531169 – A mechanism for setting defaults
The cache-clearing part of this patch is thanks
to Behdad Esfahbod.
* defaults/*: A DBus system bus service that can copy a
subtree of GConf values from the callers db to a system-wide
db, using PolicyKit to control access.
* configure.in: Add --enable-defaults-service to optionally
build the defaults service.
* gconf/gconf-database.[hc]: Add
gconf_database_clear_cache_for_sources.
* gconf/gconf-sources.[hc]: Add gconf_sources_clear_cache_for_sources.
* gconf/gconfd.c: Listen for changes in the system-wide
databases by the defaults service, and clear the cache.
* po/POTFILES.in: Glue
* Makefile.am: Glue
2008-07-04 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconfd.c: (main): Use g_chdir() instead of plain
chdir()
2008-06-28 Kjartan Maraas <kmaraas@gnome.org>
* backends/evoldap-backend.c:
* backends/gconf-merge-tree.c:
* backends/markup-backend.c:
* backends/markup-tree.c:
* backends/markup-tree.h:
* backends/xml-backend.c:
* backends/xml-cache.c:
* backends/xml-cache.h:
* backends/xml-dir.c:
* backends/xml-dir.h:
* backends/xml-entry.c:
* backends/xml-entry.h:
* backends/xml-test.c:
* gconf/Makefile.am:
* gconf/gconf-backend.c:
* gconf/gconf-backend.h:
* gconf/gconf-changeset.c:
* gconf/gconf-changeset.h:
* gconf/gconf-client.c:
* gconf/gconf-client.h:
* gconf/gconf-database.c:
* gconf/gconf-engine.h:
* gconf/gconf-error.c:
* gconf/gconf-glib.c:
* gconf/gconf-internals.c: (gconf_get_daemon_dir),
(gconf_activate_server):
* gconf/gconf-internals.h:
* gconf/gconf-listeners.c:
* gconf/gconf-locale.c:
* gconf/gconf-sanity-check.c:
* gconf/gconf-schema.c:
* gconf/gconf-schema.h:
* gconf/gconf-sources.c:
* gconf/gconf-value.c:
* gconf/gconf.h:
* gconf/gconftool.c:
* gconf/testclient.c:
* gconf/testgconfclient.c:
Clean up includes and fix a couple compiler warnings.
2008-06-04 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Bump version after tagging.
* examples/complex-gconf-app.c:
(configurable_widget_destroy_callback),
(create_configurable_widget), (prefs_dialog_destroyed),
(prefs_clicked), (create_main_window),
(prefs_dialog_get_change_set), (prefs_dialog_update_sensitivity),
(prefs_dialog_apply), (update_entry), (prefs_dialog_revert),
(config_entry_destroy_callback), (config_entry_changed_callback),
(create_config_entry), (prefs_dialog_destroy_callback),
(create_prefs_dialog):
* gconf/testgconfclient.c: (entry_notify_func),
(entry_destroyed_callback), (entry_changed_callback),
(entry_attached_to), (addsub_callback), (removesub_callback),
(addmain_callback), (removemain_callback), (create_controls):
Remove uses of deprecated gtk_signal* and gtk_object* functions.
2008-06-03 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Bump again.
* gconf/Makefile.am: Dist the right file.
2008-06-02 Kjartan Maraas <kmaraas@gnome.org>
* NEWS: Update this.
* configure.in: Bump version to 2.23.0
* gconf-2.0.pc.in: Add dbus-1 to Requires.private.
2008-05-22 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-internals.c: Plug a leak.
2008-05-21 Ray Strode <rstrode@redhat.com>
* gconf/gconftool.c (main): Fall back to local
database access if not in active session. (bug 533494)
* gconf/gconf-internals.c (get_ior):
Don't bother trying to autolaunch bus if DISPLAY isn't
set.
2008-05-14 Ray Strode <rstrode@redhat.com>
* configure.in: bump glib require to 2.14
* backends/markup-backend.c (cleanup_timeout),
(ms_new), (ms_destroy): remove some if 0'd code,
and drop g_source_remove on non-existant timeout
to prevent warning
2008-05-12 Ray Strode <rstrode@redhat.com>
* gconf/gconf-internals.c (get_ior):
Don't auto launch session bus if we aren't going to
auto start gconfd.
2008-05-09 Ray Strode <rstrode@redhat.com>
* gconf/gconf-internals.c: (get_ior):
s/errnoneous/erroneous/ (bug 532435)
2008-05-09 Ray Strode <rstrode@redhat.com>
Tie gconf daemon to session bus and drop use daemon
GetIOR() method instead of /tmp/something/ior to
tell clients about ior (bugs 141138 and 507310)
* configure.in: depend on dbus
* gconf/gconfd.c (get_introspection_xml),
(bus_message_handler), (get_on_d_bus), (main):
Connect to message bus, take org.gnome.GConf name,
and export GetIOR() method. Quit, when session quits.
* Makefile.am:
* gconf/org.gnome.GConf.server.in: new service file to
support session bus activation
* gconf/gconf-sanity-check.c (offer_delete_locks):
Daemon doesn't have a lock anymore, so need to try to
blow it away.
* gconf/gcon-internals.c (read_current_server_and_set_warning),
(read_current_server), (gconf_get_current_lock_holder),
(gconf_daemon_blow_away_locks), (set_cloexec),
(close_fd_func): dropped functions dealing with files in /tmp
(get_ior), (gconf_get_server), (gconf_get_lock_or_current_holder),
(gconf_activate_server: call GetIOR method instead of of reading
/tmp/gconf-$USER/ior
2008-05-07 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-internals.c: (gconf_get_daemon_dir):
* gconf/gconf-sanity-check.c: (check_file_locking):
Patch from Frederic Crozat to allow override $TMPDIR.
Closes bug #497113.
2008-05-07 Richard Hult <richard@imendio.com>
* gconf/gconf-database.c (gconf_database_notify_listeners): Get
rid of critical warning (and crash when built with
--disable-debug), when unsetting a key that has no writable
sources.
2008-05-07 Kjartan Maraas <kmaraas@gnome.org>
* backends/markup-backend.c: (cleanup_timeout), (ms_new):
* gconf/gconf-database.c: (gconf_database_schedule_sync):
* gconf/gconfd.c: (gconf_main), (open_append_handle):
Use new glib api to batch timeouts. Patch from Matthias
Clasen. Closes bug #531063.
2008-05-07 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-internals.c: (gconf_log):
* gconf/gconf-sources.c: (gconf_sources_new_from_addresses):
* gconf/gconfd.c: (main): Merge the desyslogification patch
from Debian. Also used in Fedora now. Closes bug #126468.
2008-03-17 Sven Herzberg <sven@imendio.com>
* gconf-2.m4.in: use AC_HELP_STRING for help strings (so they get
proper line breaks and consistent indentation)
2008-03-19 Vincent Untz <vuntz@gnome.org>
Unblock signals when starting gconfd, since we might inherit some
blocked signals from the parent process.
Fix bug #505488.
Patch by Javier Uruen Val <juruen@warp.es>
* gconf/gconfd.c: (main): unblock all signals
2008-03-10 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Post release version bump
=========================== gconf 2.22.0 ===========================
2008-02-19 Josselin Mouette <joss@malsain.org>
reviewed by: Mark McLoughlin.
* backends/evoldap-backend.c: (get_variable),
(get_ldap_connection), (lookup_values_from_ldap): replace
functions that have been deprecated in OpenLDAP 2.4 by
up-to-date ones. Closes bug#516877.
2008-01-28 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Bump version to 2.21.90.
2008-01-28 Christian Persch <chpe@gnome.org>
* gconf/gconf-internals.c: (gconf_value_from_corba_value),
(gconf_fill_corba_value_from_gconf_value), (gconf_value_decode):
* gconf/gconf.c: (gconf_engine_all_entries):
* wrappers/guile/scm-gconf.c: (gconf_value_to_scm): Use G_STRFUNC
instead of the deprecated G_GNUC_FUNCTION.
2008-01-22 Tor Lillqvist <tml@novell.com>
* gconf-zip.in: Look for catalogs in share/locale first, as that
is where they will be with a properly built GNU gettext.
* gconf/gconf-internals.c: Map pipe() to _pipe() on Win32.
2008-01-21 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Bump to 2.21.3 after release.
================================= 2.21.2 ============================
2008-01-10 Kjartan Maraas <kmaraas@gnome.org>
* backends/evoldap-backend.c: (parse_server_info),
(destroy_source):
* backends/markup-tree.c: (markup_entry_set_value):
* backends/xml-dir.c: (create_fs_dir):
* backends/xml-entry.c: (entry_destroy), (entry_set_schema_name),
(entry_set_mod_user):
* examples/simple-view.c: (main):
* gconf/gconf-schema.c: (gconf_schema_free), (gconf_schema_copy):
* gconf/gconf-sources.c: (gconf_sources_query_value):
* gconf/gconf-value.c: (set_string), (gconf_value_free),
(gconf_entry_unref), (gconf_entry_set_schema_name):
* gconf/gconf.c: (gconf_engine_get_string):
g_free and friends handles NULL just fine.
Closes bug #371087 reported by Morten Welinder.
2008-01-10 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Bump version
* backends/xml-dir.c:
* examples/basic-gconf-app.schemas:
* examples/simple-controller.c:
* examples/simple-view.c:
* gconf/gconf-changeset.c:
* gconf/gconf.c:
Mark some functions and variables static.
Closes bug #142295.
2008-01-09 Kjartan Maraas <kmaraas@gnome.org>
* gconf-2.0.pc.in: glib-2.0, not glib. Thanks
To Alex Larsson.
============================= 2.21.1 ===========================0
2008-01-08 Kjartan Maraas <kmaraas@gnome.org>
* NEWS: Update more.
* doc/gconf/tmpl/gconf-client.sgml: Docs adjustment.
* gconf-2.0.pc.in: Move orbit-2.0 to Requires.private
and add glib under Requires instead.
2008-01-08 Kjartan Maraas <kmaraas@gnome.org>
* NEWS: Update some.
* gconf/gconf.c: (gconf_valid_key):
Fix some more strings. Closes bug #429679.
2008-01-08 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-database.c: (gconf_database_sync):
* gconf/gconf-internals.c:
* gconf/gconf-listeners.c:
* gconf/gconf-sources.c: (gconf_sources_new_from_addresses):
* gconf/gconf.c: (gconf_engine_unref), (gconf_shutdown_daemon):
* gconf/gconfd.c: (gconf_server_load_sources),
(gconfd_check_in_shutdown), (parse_listener_entry):
* gconf/gconftool.c: (main), (do_spawn_daemon), (do_sync):
More string reviews from Christian Rose and Adam Weinberger.
Closes bug #318600.
2008-01-08 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-backend.c: (gconf_backend_verify_vtable):
* gconf/gconf-database.c: (gconf_database_add_listener):
* gconf/gconfd.c: (logfile_save), (restore_client):
* gconf/gconftool.c: (hash_install_foreach):
String review by Clytie Siddall. Closes bug #315212
configure.in: Bump version to 2.21.1 because of the string changes
above.
2007-12-02 Ray Strode <halfline@gnome.org>
Plug a few leaks found and fixed by Matthias Clasen
(bug 475970)
* gconf/gconf-database.c (gconf_database_notify_listeners):
Clean up list of dead listeners
* backends/xml-cache.c (cache_sync): clean up temporary list
of syncs when we're done with it.
* backends/markup-tree.c (markup_dir_free): free markup dir's
list of entries before freeing the markup dir
2007-11-22 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-internals.c (gconf_key_key): Add check
for NULL. Patch from Kimmo Hämäläinen. Bug #492342.
2007-11-08 Brian Cameron <brian.cameron@sun.com>
* gconf/gconfd.c: Remove calls to gconf_log from signal_handler
function since it is not safe to print debug messages in
non-reentrant signal handler functions. This fixes problems we
were seeing on Solaris where GConf would hang on exit. Reviewed
by Havoc Pennington and Ray Strode. Refer to bug #466745.
2007-10-22 Owen Taylor <otaylor@redhat.com>
* gconf/Makefile.am (install-data-local): If there is an existing
path configuration file, don't overwrite it, to make it possible,
for example, to have a jhbuild that properly deals with
system-installed schemas. (#489193)
2007-10-23 Lucas Rocha <lucasr@gnome.org>
* gconf/gconf-sanity-check.c (main): fix regression that requires a
defined default DISPLAY in order to run sanity check program when it
shouldn't.
2007-10-15 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Post release bump.
============================ 2.20.1 ==========================
2007-10-02 Kjartan Maraas <kmaraas@gnome.org>
* examples/Makefile.am: Dist basic-gconf-app.schemas too.
2007-10-02 Kjartan Maraas <kmaraas@gnome.org>
* doc/gconf/tmpl/gconf-client.sgml: Note that the dir passed
to gconf_client_add_dir() must not end with a slash. (Stefan Kost)
Closes bug #301298.
============================= 2.20.0 ==========================
2007-09-19 Kjartan Maraas <kmaraas@gnome.org>
* Release 2.20.0
2007-07-18 Jaap Haitsma <jaap@haitsma.org>
Reviewed by: Ray Strode
* backends/xml-dir.c: (dir_load_doc), (dir_make_new_entry),
(dir_fill_cache_from_doc):
* backends/xml-entry.c: (node_set_schema_value), (node_set_value),
(find_schema_subnode_by_locale), (schema_subnode_extract_data),
(schema_node_extract_value), (node_extract_value), (my_xmlSetProp),
(my_xmlGetProp):
* gconf/gconftool.c: (get_list_value_from_xml),
(get_car_cdr_value), (get_pair_value_from_xml),
(get_values_from_xml), (process_entry), (extract_global_info),
(process_locale_info), (get_schema_from_xml), (process_list),
(do_load_file): Remove a bunch of compiler warnings by performing casts.
Fixes bug #452372
2007-07-05 Sven Herzberg <herzi@gnome-de.org>
Reviewed by Christian Persch.
* autogen.sh: require the same version of automake as configure.in
does
2007-06-23 Christian Persch <chpe@gnome.org>
* configure.in: Re-add AM_MAINTAINER_MODE for now until there's
concensus about removing it. Bug #450450.
2007-06-23 Christian Persch <chpe@gnome.org>
* configure.in: Post-release version bump.
======= 2.19.1 ============================================
2007-06-23 Christian Persch <chpe@gnome.org>
* configure.in:
* NEWS: Updated for release.
R acconfig.h:
* autogen.sh:
* configure.in: Updated for automake 1.9.
* configure.in:
* gconf/Makefile.am: Don't define directories in configure.
* po/LINGUAS: Updated.
2007-06-23 Christian Persch <chpe@gnome.org>
* gconf/gconftool.c: (main), (search_key_in_dir),
(recurse_subdir_search), (do_search_key): Add --search-key argument.
Bug #406329, patch by Richard Hult.
2007-06-21 Christian Persch <chpe@gnome.org>
* gconf/gconf-sanity-check.c: (main):
* gconf/gconftool.c: (main): Init GThread. Bug #432923.
* gconf/gconftool.c: (main): Make --help* output translated. Bug
#432925.
2007-04-17 Christian Persch <chpe@gnome.org>
* gconf/gconf.c: (gconf_key_check), (gconf_valid_key): Fix strings
used for errors about invalid keys. Bug #406251.
2007-03-31 Loïc Minier <lool@dooz.org>
* configure.in: Check for the lber lib and append it to LDAP_LIBS if
present since the evoldap backend calls ber_free() directly; fixes
build failure with -z defs in LDFLAGS; bug #409221.
2007-03-05 Ray Strode <rstrode@redhat.com>
* configure.in: Post release bump
============================= 2.18.0.1 ====================
2007-03-05 Ray Strode <rstrode@redhat.com>
* configure.in: drop release number to 2.18.0.1
* NEWS: update for release
2007-03-05 Ray Strode <rstrode@redhat.com>
Patch from Loïc Minier to take care of fallout from
bug 314343.
* gconf/backends/markup-tree.c (save_tree):
Rename markup file to its final destination, even if
there wasn't an original file to copy file attributes
from (bug 414916).
2007-03-02 Ray Strode <rstrode@redhat.com>
* configure.in: Post release bump
============================= 2.18.0 ======================
2007-03-02 Ray Strode <rstrode@redhat.com>
* configure.in: bump release number
* NEWS: update for release
* README: remove mention of popt and
add mention of evoldap and older libxml backend
2007-03-02 Christian Persch <chpe@svn.gnome.org>
* gconf/gconf.c: (utf8_make_valid), (gconf_key_check),
(gconf_valid_key): Make sure error strings are UTF-8. Bug #406251.
2007-03-02 Kjartan Maraas <kmaraas@gnome.org>
* backends/xml-dir.c: Don't include xml-entry.h twice.
2007-03-02 Ray Strode <rstrode@redhat.com>
* gconf/gconf-value.c (gconf_meta_info_free):
free schema and mod_user fields before freeing
struct. Based on patch by
Richard Hult <richard@imendio.com>
2007-03-02 Ray Strode <rstrode@redhat.com>
* configure.in:
* gconf/gconf.c:
drop as much of the legacy popt stuff as we can,
while remaining compatible (bug 396071). Based on
patch from Chris Wilson <chris@chris-wilson.co.uk>
2007-03-02 Ray Strode <rstrode@redhat.com>
Patch from
Laszlo (Laca) Peter <laszlo.peter@sun.com>
* gconf/gconftool.c (do_makefile_install):
don't bail on first error when multiple schemas are
installed in one go (bug 385142).
2007-03-02 Ray Strode <rstrode@redhat.com>
Patch from
Padraig O'Briain <padraig.obriain@sun.com>
* configure.in:
* gconf/gconf-internals.c (close_fd_func):
use fdwalk() to only close open file descriptors
if available (bug 357206)
2007-03-02 Ray Strode <rstrode@redhat.com>
Patch from
Paolo Borelli <pborelli@katamail.com>
* backends/markup-tree.c:
* backends/xml-dir.c:
* doc/gconf/gconf-sections.txt:
* doc/gconf/tmpl/gconf-internals.sgml:
* gconf/gconf-backend.c:
* gconf/gconf-internals.[ch]:
* gconf/gconfd.c:
use g_file_test instead of home brew gconf_file_test
and gconf_file_exists functions (bug 341828)
2007-03-02 Ray Strode <rstrode@redhat.com>
Patch from
Paolo Borelli <pborelli@katamail.com>
* gconf/gconf.c (gconf_clear_cache):
Drop dead code (coverity 2208, bug 341724)
2007-03-02 Ray Strode <rstrode@redhat.com>
Patch from
Narayana Pattipati <narayana.pattipati@wipro.com>
* backends/markup-tree.c (save_tree):
transfer the file permissions and ownership after
rename (bug 314343).
2007-03-02 Ray Strode <rstrode@redhat.com>
* gconf/gconf-value.c (gconf_value_new_from_string):
Check that type isn't a container type, since there
would be no way to know what the type of its elements
would be. Based on patch from
Kjartan Maraas <kmaraas@gnome.org> (bug 309016).
============================= 2.16.1 ======================
2007-01-30 Kjartan Maraas <kmaraas@gnome.org>
* backends/evoldap-backend.c: (subst_variables): Fix a couple
compiler warnings.
2007-01-25 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-client.c: (gconf_client_get_float),
(gconf_client_get_int), (gconf_client_get_string),
(gconf_client_get_bool), (gconf_client_get_schema),
(gconf_client_get_list), (gconf_client_get_pair):
Fix up the error handling again. Noticed by Richard Hult.
Closes bug #360224 for good.
2007-01-24 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Bump version so we differ from the last released
tarball.
2007-01-04 Tom Tromey <tromey@redhat.com>
* gconf/gconf-internals.c (gconf_activate_server): Close write end
of pipe in parent process. Bug #365416.
2006-11-23 Pascal Terjan <pterjan@linuxfr.org>
* backends/evoldap-backend.c: Fix small leak (#345297, coverity #2742)
2006-10-07 Matthias Clasen <mclasen@redhat.com>
* gconf/gconf-client.c: Fix error handling in the
getters. (#102050, #360224)
============================= 2.16.0 ======================
2006-08-15 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Fix intltool req.
2006-08-08 Kjartan Maraas <kmaraas@gnome.org>
* doc/gconftool-2.1: Add missing newline (Loïc Minier,
Jan Kratochvil) Closes bug #304143.
2006-08-07 Alexander Larsson <alexl@redhat.com>
* configure.in:
Don't link to libpopt. (#336307)
Patch from William Jon McCann.
2006-06-14 Michael Meeks <michael.meeks@novell.com>
* gconf/GConfX.idl: declare that we raise the
exception we raise - fixes debug issue in sabayon &
kills syslog spew:
gconfd (sabayon-admin): Some clown returned
undeclared exception 'IDL:ConfigException:1.0'
cf. gconfd_get_database.
2006-05-12 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.in:
* gconf/Makefile.am:
* gconf/default.path.in: Generate the default.path file during the
build instead of doing it from configure.ac so that we get the correct
expanded value for sysgconfdir. According to Autoconf documentation
this is the canonical way to access *dir variables. Addresses
problems introduced by #336019.
2006-05-07 Kjartan Maraas <kmaraas@gnome.org>
* Makefile.am: Add intltool files to EXTRA_DIST and
DISTCLEANFILES.
* autogen.sh: Run intltoolize.
* configure.in: Fix the po/LINGUAS stuff.
2006-05-06 Kjartan Maraas <kmaraas@gnome.org>
* backends/xml-dir.c: (dir_sync): Fix a potential use after free
reported by the coverity checker - #1239. Closes bug #338196.
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* configure.in:
* gconf/Makefile.am:
* gconf/gconf-sanity-check.c: (main):
* gconf/gconftool.c: (main):
Migrate to GOption. Patch by Vincent Vuntz. Closes
bug #336307.
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Reinstate the previous patch.
* po/LINGUAS: Same.
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Revert the LINGUAS patch until we have branched.
* po/LINGUAS: Remove temporarily.
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-internals.c: (read_current_server): Fix a
NULL pointer deref reported by Coverity. Patch from Pascal
Terjan. Closes bug #338617.
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Move to the new LINGUAS handling.
* po/LINGUAS: Patch from Luis Menina. Closes bug #338036.
2006-05-05 Julio M. Merino Vidal <jmmv@NetBSD.org>
* configure.in: Fix staged installation if sysconfdir is overriden
from the command line. Closes bug #336019.
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* doc/gconf/gconf-sections.txt: Add GConfSchema functions.
* doc/gconf/tmpl/gconf-schema.sgml: Add docs for GConfSchema.
Patch from <kaiw at itee.uq.edu.au>. Closes bug #147758.
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-changeset.h:
* gconf/gconf-client.h:
* gconf/gconf-database.h:
* gconf/gconf-engine.h:
* gconf/gconf-error.h:
* gconf/gconf-listeners.h:
* gconf/gconf-locale.h:
* gconf/gconf-schema.h:
* gconf/gconf-value.h:
* gconf/gconf.h:
* gconf/gconfd.h: Use G_BEGIN/END_DECLS instead
of a lot of #ifdef __cplusplus stuff. Closes bug 306313.
Patch from FabrÃcio Barros Cebral.
2006-05-05 Kjartan Maraas <kmaraas@gnome.org>
* backends/markup-tree.c: (parse_value_element):
Use the right variable in test. Closes coverity #1238
and GNOME bug #338195.
2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Remove obsolete entry for no_NO.
* po/no.po: And the translation.
2006-03-18 Guilherme de S. Pastore <gpastore@gnome.org>
* NEWS: updated.
* configure.in: version 2.14.0.
2006-03-10 Kjartan Maraas <kmaraas@gnome.org>
* backends/markup-tree.c: (parse_tree): Patch from
Matthias Clasen to fix my leak fix to not crash.
Closes bug #334047.
2006-03-06 Kjartan Maraas <kmaraas@gnome.org>
* backends/markup-tree.c: (parse_tree): Free the parse context in
some more cases. Fixes bug #332528.
2006-03-06 Mark McLoughlin <mark@skynet.ie>
Based on patch from Josselin Mouette <joss@debian.org>
in bug #333353 to speed up the install of multiple
schem files
* gconf/gconftool.c:
(do_load_file): split do_sync() out of here
(main), (do_makefile_install): call do_sync()
after calling do_load_file()
2006-03-06 Mark McLoughlin <mark@skynet.ie>
Patch from Christopher.Hanna@sun.com
* doc/gconftool-2.1: improved man page
2006-02-17 Benoît Dejean <benoit@placenet.org>
* configure.in:
* gconf/gconf-value.c: (gconf_value_new), (gconf_value_free),
(gconf_entry_new_nocopy), (gconf_entry_unref): Use new g_slice API.
2006-01-28 Benoît Dejean <benoit@placenet.org>
* gconf/gconf-schema.c:
* gconf/gconf-value.c: Got rid of padding members in private structs.
2006-01-27 Tor Lillqvist <tml@novell.com>
* gconf-zip.in: Include backend DLLs only in the runtime zipfile.
* gconf/gconfd.c (main): Don't call closelog() unless we HAVE_SYSLOG_H.
2006-01-15 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.13.6.
==================== 2.13.5 ====================
2006-01-15 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.13.5.
2006-01-10 Thomas Vander Stichele <thomas at apestaart dot org>
* backends/Makefile.am:
don't use top_builddir to link in library from current directory;
fixes parallel make
2006-01-05 Vincent Untz <vuntz@gnome.org>
* gconf/gconf-client.c: (clear_dir_cache_foreach): new, clears a cache
entry if it matches the directory
(gconf_client_real_remove_dir): remove from cache all entries that are
in this directory
Fix bug #127285.
2006-01-05 Tor Lillqvist <tml@novell.com>
* gconf-zip.in: Include the backend DLLs in the runtime zipfile.
2006-01-03 Mark McLoughlin <mark@skynet.ie>
Switch on "subtree merging" by default in the defaults
database.
* gconf/gconftool.c: (do_get_default_source): add the
"merged" flag to the default target for
--makefile-install-rule
* backends/markup-backend.c:
(resolve_address), (ms_new): add a new "merged" flag
signalling that the entire tree should be saved as
a subtree.
* backends/markup-tree.[ch]:
(markup_tree_get): add "merged" param and set flag
on MarkupTree struct
(recursively_load_subtree): copy function from
gconf-merge-tree.c
(markup_dir_sync): when saving the tree, save it as a
merged subtree if the "merged" flag is set
* backends/gconf-merge-tree.c: (recursively_load_subtree):
remove; it's in markup-tree.c now
* configure.in: remove --enable-gconf-source option which
was only used when we installed standard-schemas
* standard-schemas: remove old cruft
2006-01-03 Mark McLoughlin <mark@skynet.ie>
Pointed out by Nicolas Peninguy <npeniguy@gmail.com>
in bug #323509
* gconf/gconf-internals.c: (gconf_value_decode): fix crasher
with previous fix for decoding schemas
2005-12-30 Abel Cheung <maddog@linuxhall.org>
* configure.in: Added "is" "zh_HK" to ALL_LINGUAS.
2005-12-11 Mark McLoughlin <mark@skynet.ie>
* backends/markup-tree.c:
(markup_entry_get_value): re-work the logic for finding
the best schema for the given locales.
2005-12-11 Mark McLoughlin <mark@skynet.ie>
* backends/markup-tree.c:
- Introduce the concept of a "subtree root" - a point
in the tree where we save a subtree in a merged file.
- When loading a subtree (%gconf-tree.xml), take note of
any available translations (%gconf-tree-$(locale).xml)
- When getting/setting/unsetting a schema, ensure that
the appropriate translations are loaded
- When parsing a translations file, allow for missing
attributes and elements and read the translations of
descriptions
- When syncing a subtree, write out all translations
of descriptions which are currently cached in memory
to separate files.
* backends/gconf-merge-tree.c: (merge_tree): update for
markup_dir_build_file_path() change
2005-12-09 Jorn Baayen <jorn@openedhand.com>
* gconf/gconf-internals.h:
* gconf/gconf-value.h:
Publicize gconf_value_compare() and gconf_entry_equal().
Closes bug #322832.
2005-12-09 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-branch bump to 2.13.1
2005-12-08 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-internals.c: (gconf_value_decode): Make
this function work for schemas too. Patch from Nicolas Peninguy
<npeniguy@gmail.com>. Closes bug #323509.
2005-12-08 Dan Williams <dcbw@redhat.com>
* gconf/gconf.c: (gconf_unescape_string): Don't stomp on
the function-level scoped 'end' from deep in the function.
Fixes a segfault.
2005-11-11 Dinoop Thomas <dinoop.thomas@wipro.com>
* gconf/gconf.c: (gconf_debug_shutdown): Corrected documentation.
* doc/gconf/gconf-sections.txt: Included the functions for which doc was
newly added.
* doc/gconf/tmpl/gconf-changeset.sgml,
doc/gconf/tmpl/gconf-client.sgml,
doc/gconf/tmpl/gconf-engine.sgml,
doc/gconf/tmpl/gconf-error.sgml,
doc/gconf/tmpl/gconf-internals.sgml,
doc/gconf/tmpl/gconf-listeners.sgml,
doc/gconf/tmpl/gconf-value.sgml,
doc/gconf/tmpl/gconf.sgml: Included documentation for all the missing
functions exported by gconf library.
2005-11-08 Mark McLoughlin <mark@skynet.ie>
Patch from Jens Granseuer <jensgr@gmx.net> in bug #320852
* gconf/gconf-listeners.c: (ltable_insert): remove C99
usage.
2005-11-03 Alexander Larsson <alexl@redhat.com>
* configure.in:
Post release version bump
==================== 2.12.1 ====================
2005-11-03 Alexander Larsson <alexl@redhat.com>
* NEWS:
Update for release
2005-11-01 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-backend.c: (gconf_get_backend): Use
G_MODULE_BIND_LAZY in g_module_open().
* gconf/gconf-internals.c: (gconf_value_from_corba_value),
(gconf_value_type_to_string), (gconf_unquote_string_inplace),
(type_byte), (byte_type), (gconf_value_encode),
(gconf_get_lock_or_current_holder): Remove unused and
unreachable code.
* gconf/gconf-listeners.c: (ltable_insert): Warning fix.
* gconf/gconf-value.c: (gconf_value_compare): Same here.
* gconf/gconf.c: (gconf_unescape_key),
(corba_errno_to_gconf_errno), (gconf_server_broken),
(gconf_handle_corba_exception): And here.
* gconf/gconfd.c: (main): Missing closelog() call.
2005-10-28 Erdal Ronahi <erdal.ronahi@gmail.com>
* configure.in: Added ku (Kurdish) to ALL_LINGUAS
2005-10-27 Alexander Larsson <alexl@redhat.com>
* gconf/gconf-sources.c (gconf_sources_is_affected):
Correctly handle the case where the modified source
is not in the sources list.
2005-10-18 Tor Lillqvist <tml@novell.com>
* gconf/gconf-backend.c (invalid_chars[]): Do allow space in
configuration source addresses on Windows, as space is common in
user names, and thus home directories (i.e., profile folders).
2005-10-09 Mark McLoughlin <mark@skynet.ie>
Based on patch from Lorenzo Colitti <lorenzo@colitti.com>
in bug #316673
* backends/markup-tree.c: (parse_tree): read and process
the xml file incrementally in 4k chunks.
2005-09-13 Stepan Kasal <kasal@ucw.cz>
* gconf-2.m4.in (AM_GCONF_SOURCE_2): Simplify the handling of
--enable-schemas-install.
* Makefile.am (EXTRA_DIST): Remove sources for files gnerated at
config time; they are distributed automatically.
(DISTCLEANFILES): Deleted; we don't use intltool here.
* .cvsignore: Add mkinstalldirs.
2005-09-10 Tor Lillqvist <tml@novell.com>
* gconf/gconf-backend.c (gconf_address_resource): On Win32, do
_gconf_win32_replace_prefix() on the return value so that we
change configure-time prefix pathnames in the path file into
corresponding end-user installation prefix pathnames.
* gconf/gconf-sanity-check.c: Use gstdio wrappers here, too.
* backends/markup-backend.c (get_dir_from_address): Use
G_IS_DIR_SEPARATOR().
2005-09-06 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.12.1.
==================== 2.12.0 ====================
2005-09-06 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.12.0.
2005-08-29 Tor Lillqvist <tml@novell.com>
* gconf-zip.in: Use correct capitalization of GConf in the zipfile
names.
2005-08-22 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.11.93.
==================== 2.11.92 ====================
2005-08-22 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.11.92.
2005-08-10 Adam Weinberger <adamw@gnome.org>
* backends/evoldap-backend.c: Minor spelling fix
and capitalization tweak (fixes bug #301133)
2005-07-25 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.11.91.
==================== 2.11.90 ====================
2005-07-25 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.11.90.
2005-07-14 Aivars Kalvans <aivars.kalvans@inbox.lv>
Reduce number g_string_append_c() calls (bug#309760)
* configure.in: flockfile is not used anymore
* gconf/gconf.c (gconf_escape_key): join two
g_string_append_c() and g_string_append_printf() call
* gconf/gconfd.c (read_line): use fgets() instead of getc_unlocked()
to read a line
2005-07-13 Gustavo J. A. M. Carneiro <gjc@inescporto.pt>
* gconf/gconf-client.c (gconf_client_notify):
s/g_entry_unref/gconf_entry_unref (a typo).
2005-07-13 Aivars Kalvans <aivars.kalvans@inbox.lv>
* gconf/gconf-client.c (gconf_client_notify): unref GConfEntry
after notifying client. Fixes bug #158756
2005-06-21 Mark McLoughlin <mark@skynet.ie>
* configure.in: require glib 2.7.0
2005-06-21 Mark McLoughlin <mark@skynet.ie>
Patch from Marcus Meissner <meissner@suse.de> in
bug #308448
* gconf/gconf-changeset.h,
gconf/gconf-client.h: use G_GNUC_NULL_TERMINATED for
gconf_(client|engine)_change_set_from_current()
2005-06-18 Aivars Kalvans <aivars.kalvans@inbox.lv>
* gconf/gconf-sources.c (gconf_source_free): free ->address
Fixes bug #307887
2005-06-17 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Added 'th' (Thai) to ALL_LINGUAS.
2005-06-13 Mark McLoughlin <mark@skynet.ie>
Fixes bug #306937 - gconfd-2 not shutting down when its
no longer in use.
* gconf/gconfd.c: (no_databases_in_use): account for the
fact that the default database is on the global list of
databases now too.
2005-06-08 Tor Lillqvist <tml@novell.com>
* configure.in: Require GLib 2.6.0 so we can use the "gstdio
wrappers".
* backends/*.c
* gconf/*.c: Use gstdio wrappers and gdir for better support of
non-ASCII pathnames on Windows. Use g_strerror() consistently in
error messages, as g_printerr() etc want UTF-8.
* gconf/Makefile.am: Append EXEEXT to gconfd's name.
* gconf/gconf-internals.h: Use functions instead of variables to
access the run-time pathnames on Win32. This enables us to have a
cleaner DllMain(). Add underscore prefix to the internal
Win32-only functions.
* gconf/dllmain.c (DllMain): Use minimalistic DllMain() that only
stores the handle to the DLL.
(setup): Do the real work here instead.
(_gconf_win32_get_locale_dir, etc): Functions to return the
run-time pathnames.
* gconf/gconf-internals.c (_gconf_win32_get_home_dir):
As g_get_home_dir() has now been fixed to never return NULL on
Windows, we don't have to bother checking that here.
2005-05-17 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.11.2.
==================== 2.11.1 ====================
2005-05-17 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.11.1.
2005-05-17 Mark McLoughlin <mark@skynet.ie>
* backends/README.evoldap: update.
2005-05-17 Mark McLoughlin <mark@skynet.ie>
Re-work a bit so it now supports putting the addressbook,
calendar and task sources in LDAP.
* backends/evoldap-backend.c:
(get_evolution_uid), (get_variable): renamed the $(ACCOUNT_UID)
variable to $(EVOLUTION_UID)
(parse_conf_file): upd to lookup the new templates.
(subst_variables_into_template): allow substituing into
any template.
(build_value_from_entries): split out; constructs a list value
by munging the LDAP entries with a template.
(lookup_values_from_ldap): lookup the addressbook, calendar
and tasks sources too.
(query_value), (all_entries), (all_subdirs),
(dir_exists): upd. to handle addressbook, calendar and tasks.
(destroy_source): free new stuff.
* backends/evoldap.conf: change the format slightly to add
templates for addressbook, calendar and tasks.
* backends/evoldap.schema: add new schema.
2005-05-09 Mark McLoughlin <mark@skynet.ie>
Update to use GNOME OIDs as assigned by
Jochen Friedrich <jochen@scram.de>
* backends/evoldap.schema: use GNOME OIDs.
2005-05-06 Mark McLoughlin <mark@skynet.ie>
Small fix for previous commit.
* gconf/gconfd.c: (gconfd_notify_other_listeners):
Don't try and free a NULL GConfValue.
2005-05-06 Mark McLoughlin <mark@skynet.ie>
Fix for crasher based on patch from Josselin Mouette <joss@debian.org>
in bug #158917
* gconf/gconfd.c: (gconfd_notify_other_listeners): if the
value is unset, create an InvalidVal ConfigValue.
2005-04-27 Mark McLoughlin <mark@skynet.ie>
* backends/Makefile.am: link the evoldap backend with libxml.
2005-04-25 Mark McLoughlin <mark@skynet.ie>
Pointed out by Gustavo Carneiro <gjc@inescporto.pt> in
bug #300804
* gconf/gconf-enum-types.[ch]: run "make regenerate-built-sources"
so that we get GCONF_TYPE_UNSET_FLAGS.
* gconf/gconf-error.h,
gconf/gconf-value.h: remove unneccessary glib-mkenums options
from C comment.
* gconf/regenerate-enum-footer.sh,
gconf/regenerate-enum-header.sh: tweak the arguments to glib-mkenums
so that we get the same output that we were getting before and the
command line is a wee bit more readable.
2005-04-18 Mark McLoughlin <mark@skynet.ie>
* backends/evoldap-backend.c, backends/evoldap.conf,
backends/evoldap.schema, backends/README.evoldap:
Add Evolution mail account LDAP backend.
* configure.in, backends/Makefile.am: build the backend
if we can find the openldap library and header.
2005-05-07 Gareth Owen <gowen72@yahoo.com>
* po/en_GB.po: Updated British English translation.
2005-04-04 Mark McLoughlin <mark@skynet.ie>
Patch from Stepan Kasal <kasal@ucw.cz>
* gconf-2.m4.in (AM_GCONF_SOURCE_2): Use "--enable-schemas-install",
not "--disable-schemas-install", in the error message; one has to
give "--enable-schemas-install=foo" to get here, the form
"--disable-schemas-install=*" is refused immediately by the init
code of the configure script.
2005-03-30 Steve Murphy <murf@e-tools.com>
* configure.in: Added "rw" to ALL_LINGUAS.
2005-03-27 Tor Lillqvist <tml@novell.com>
* configure.in: Apparently AC_LIBTOOL_WIN32_DLL isn't deprecated
after all, and in fact necessary with HEAD libtool.
2005-03-23 Tor Lillqvist <tml@novell.com>
* gconf/gconfd.c (test_safe_tmp_dir): Nah, stat() isn't useful for
permission checking on Win32. Bypass for now on Win32.
2005-03-18 Tor Lillqvist <tml@novell.com>
Port to Windows:
* gconf-zip.in: New file, script to build zipfile-based
distribution for Windows.
* Makefile.am
* configure.in: Distribute and expand it.
* configure.in: Check for Win32, Define automake conditional
OS_WIN32. Force shared library (DLL) build on Windows. Check for
some more headers and functions.
* */*.c: Conditionalize on HAVE_SYSLOG_H, HAVE_SYS_WAIT_H,
HAVE_GETUID, HAVE_FSYNC, HAVE_FCHMOD, HAVE_SIGACTION, F_GETFD,
FD_CLOEXEC, F_SETLK, SIGBUS, SIGPIPE, SIGHUP, SIGUSR1, and ELOOP.
* backends/Makefile.am: Explicitly link with INTLLIBS.
* backends/markup-tree.c (save_tree): Can't rename or remove open
files on Win32.
* backends/xml-backend.c: Don't use G_MODULE_EXPORT on Win32. If
we use it, only the functions thus marked will be exported, and
xml-test uses also other ones. Instead rely on the auto-export
feature.
* gconf/Makefile.am: Pass -DPREFIX=$(prefix). Include dllmain.c
on Win32.
* gconf/dllmain.c: New file. Used for installation location
independence.
(DllMain) DLL entry point. Automatically called when the DLL is
attached to a process. Deduce the run-time installation location
and construct run-time pathnames.
(gconf_win32_replace_prefix): New funcion. Replaces a
configure-time prefix in a pathname with the corresponding
end-user run-time installation prefix.
* gconf/gconf-internals.c (gconf_win32_get_home_dir): New
function, returns the home directory with forward
slashes. Guaranteed to return non-NULL, unlike GLib's
g_get_home_dir().
(get_variable, gconf_get_daemon_dir): Use gconf_win32_get_home_dir().
(gconf_load_source_path): Use gconf_win32_replace_prefix().
(create_new_locked_file, open_empty_locked_file,
gconf_release_lock): Use _sopen() to open file with locking on
Win32.
(close_fd_func): Not used on Win32, where there is no FD_CLOEXEC,
and a gspawn child setup function is run in the parent process
anyway.
* gconf/gconf-internals.h: mkdir() takes only one parameter on
Win32. S_IRWX{U,G,O} aren't in mingw's sys/stat.h. Use run-time
installation prefix instead of configure-time. Redefine the
GCONF_*DIR macros to refer to the variables from the dllmain.c
file. Use NUL: on Windows instead of /dev/null.
* gconf/gconf-sanity-check.c
* gconf/gconftool.c: Use POPT_AUTOHELP.
* gconf/gconf.c: Use g_get_current_time() instead of gettimeofday().
* gconf/gconfd.c (gconf_server_load, get_log_names): Use
gconf_win32_get_home_dir().
(signal_handler): If we don't HAVE_SIGACTION, use signal(), and
re-arm the signal handler.
(test_safe_tmp_dir): Can't open() a directory on Win32.
(get_log_names): Use g_build_filename() instead of
gconf_concat_dir_and_key() on all platforms.
2005-03-14 Mark McLoughlin <mark@skynet.ie>
* acinclude.m4: remove - we don't use anything from
it anymore. Fixes bug #153049
2005-03-14 Mark McLoughlin <mark@skynet.ie>
* configure.in: bump version to 2.11.1 after branching.
2005-03-07 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.10.1.
==================== 2.10.0 ====================
2005-03-07 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.10.0.
2005-02-16 Adi Attar <aattar@cvs.gnome.org>
* configure.in: Added "xh" to ALL_LINGUAS.
2005-02-07 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.9.92.
==================== 2.9.92 ====================
2005-02-07 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.9.91.
2005-02-06 Mark McLoughlin <mark@skynet.ie>
Fix bug #154005 - "preload breaks saved state", caused
by a bug in the way the listeners tree was constructed.
* gconf/gconf-listeners.c:
(ltable_entry_new): take a list of path elements
and index to the entry and construct the full
path for that entry.
(ltable_insert): update for above so that we
don't pass use the wrong path for full_name.
2005-01-18 Mark McLoughlin <mark@skynet.ie>
Fixes problem where a path file which only includes
another path file wouldn't work.
* gconf/gconf-internals.c: (gconf_load_source_path):
assign the return value of g_slist_concat() to something.
2005-01-17 Mark McLoughlin <mark@skynet.ie>
Fix double free with gconf_client_clear_cache()
* gconf/gconf-client.c: (clear_cache_foreach): don't
free the key explicitly - the key is owned by the
GConfEntry.
2005-01-12 Vincent Untz <vincent@vuntz.net>
* gconf-value.c: (gconf_value_validate): add sanity check
2004-11-30 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.9.3.
==================== 2.9.2 ====================
2004-11-30 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.9.2.
Tue Nov 16 12:24:26 2004 Jonathan Blandford <jrb@redhat.com>
* doc/gconf/gconf-docs.sgml: add a title/name instead of [Insert
name here]
2004-11-02 Fernando Herrera <fherrera@onirica.com>
* backends/markup-tree.c: (markup_entry_get_value): Read the schema
file until a matching locale is found and the C one. This solves
bug #152175 when current locale is before the C.
2004-11-02 Fernando Herrera <fherrera@onirica.com>
* gconf/gconf-sources.c: (gconf_sources_all_entries): Get schema_name
also if we got a value from a previous source. Fix #131011
2004-10-12 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.8.2.
==================== 2.8.1 ====================
2004-10-12 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.8.1.
2004-10-04 Mark McLoughlin <mark@skynet.ie>
GConf part of fix for gconf-editor spewing warnings
on startup. See bug #144833.
* backends/markup-backend.c: (resolve_address): if the
toplevel directory isn't writable, mark the whole source
as non-writable.
2004-09-30 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-internals.c: (gconf_activate_server):
Fix pipe misuse reported by valgrind. Suggested fix
by Mark McLoughlin. Closes bug #153929.
2004-09-28 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-sanity-check.c: (main): Plug a leak.
* gconf/gconfd.c: (main): Plug a couple of leaks.
Ref bug #153929. Still one to go.
2004-09-28 Mark McLoughlin <mark@skynet.ie>
Leak identified by Kjartan in bug #153891.
* gconf/gconfd.c: (gconf_server_load_sources):
Plug leak.
* gconf/gconf-internals.c:
(gconf_load_source_path): remove some crufty code,
don't unneccessarily copy strings.
2004-09-14 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.8.1.
==================== 2.8.0.1 ====================
2004-09-13 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.8.0.1.
2004-09-14 Mark McLoughlin <mark@skynet.ie>
* autogen.sh: use automake 1.7 and run gtkdocize.
* configure.in: check for glib-genmarshal and use
GTK_DOC_CHECK.
* Makefile.am: add --enable-gtk-doc to
DISTCHECK_CONFIGURE_FLAGS.
* gconf/Makefile.am: re-do how the marshallers
are generated.
* doc/gconf/Makefile.am: use gtk-doc.make.
* doc/gconf/gconf.sgml: tweak to validate.
* backends/Makefile.am: make xml-test link
against the backend rather than rebuilding
the sources.
* gconf-2.m4.in: rename from gconf.m4.in.
2004-09-13 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.8.1.
==================== 2.8.0 ====================
2004-09-13 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.8.0.
2004-08-30 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.7.93.
==================== 2.7.92 ====================
2004-08-30 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.7.92.
2004-08-30 Mark McLoughlin <mark@skynet.ie>
Fix problem with schemas install. Bug #151334.
* gconf/gconftool.c: (process_locale_info): install the
global default in the C locale only.
2004-08-30 Mark McLoughlin <mark@skynet.ie>
Lots of debugging info from Mickey Stein <yekkim@pacbell.net>
narrowed this one down in bug #150779.
* gconf/gconfd.c: (drop_old_databases): don't drop the default
database here, we do that later. Hangover from the fact that
the default database didn't use to be on db_list.
2004-08-30 Mark McLoughlin <mark@skynet.ie>
Patch from Josselin Mouette <joss@debian.org> in bug #148028
* gconf/gconfd.c: (periodic_cleanup_timeout): save and reload
~/.gconfd/saved_state so we don't drop listeners when reloading
the database.
2004-08-27 Mark McLoughlin <mark@skynet.ie>
* gconf/gconftool.c: (process_locale_info): don't explicitly
install the global default in a schema for every locale since
we happily fall back to the C locale anyway. Fixes bug #131488.
2004-08-25 Mark McLoughlin <mark@skynet.ie>
* backends/markup-tree.c: (markup_entry_get_value): don't
abort if we find no local schema to match any locales - there
may not be a "C" local schema at all. See bug #147522 for a
test case from Caio Begotti <caio1982@gmail.com >
2004-08-19 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.7.92.
==================== 2.7.91.1 ====================
2004-08-19 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.7.91.1.
2004-08-19 Mark McLoughlin <mark@skynet.ie>
Revert the patch to make use of the merge-subtree feature at
specific points in the tree. Not clear that it solves the
problems we thought it solved. Patch archived in bug #138498
* backends/markup-tree.[ch]:
(markup_tree_get): remove try_merge flag.
(markup_dir_sync): don't try and save as a merged subtree.
* backends/markup-backend.c: (resolve_address), (ms_new):
Remove the "nomerge" backend flag.
* backends/gconf-merge-tree.c:
(recursively_load_subtree): add back.
(merge_tree): upd. for markup_tree_get() change.
2004-08-16 Christian Rose <menthos@menthos.com>
* configure.in: Added "bs" to ALL_LINGUAS.
2004-08-16 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.7.92.
==================== 2.7.91 ====================
2004-08-16 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.7.91.
2004-08-11 Kjartan Maraas <kmaraas@gnome.org>
* backends/xml-cache.c: (cache_clean): Use NULL in place of 0.
* configure.in: Added nb to ALL_LINGUAS.
* gconf/gconf-internals.c: (gconf_invalid_corba_value): ANSI
parameter list warning.
* gconf/gconf-sanity-check.c: (ensure_gtk): NULL vs. 0
* gconf/gconfd.c: (main): Same. Closes bug #149843.
2004-08-10 Mark McLoughlin <mark@skynet.ie>
* gconf/gconftool.c: (main): set the umask for
--makefile-install-mode so we always install the
schemas with the correct permissions. bug #145041.
2004-08-07 Danilo Å egan <dsegan@gmx.net>
Fixes bug #149518.
* gconf/gconftool.c (options): s/dir/directory/ s/standard out/standard output/.
* gconf/gconfd.c (main): s/fd/file descriptor/.
* gconf/gconf-sources.c (gconf_sources_new_from_addresses): s/config/configuration/.
* backends/markup-tree.c (parse_value_element): s/car_type/first-element/.
2004-08-03 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.7.91.
==================== 2.7.90 ====================
2004-08-03 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.7.90.
2004-08-03 Mark McLoughlin <mark@skynet.ie>
Patch from Carlos Daniel Ruvalcaba Valenzuela <clsdaniel@yahoo.com.mx>
in bug #148973.
* gconf/gconf-internals.[ch]: (gconf_escape_percents): remove unused
(and internal) function.
2004-07-09 Mark McLoughlin <mark@skynet.ie>
Patch from Kai Willadsen <kaiw@itee.uq.edu.au> in
bug #120349.
* doc/gconf/gconf.sgml,
doc/gconf/tmpl/gconf-client.sgml,
doc/gconf/tmpl/gconf.sgml,
doc/intro-article.sgml,
gconf/gconf-client.h,
gconf/gconf-listeners.h: bring the docs up to
date with the patch that we're using GObject instead
of GtkObject.
2004-07-07 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.7.4.
==================== 2.7.3.1 ====================
2004-07-07 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.7.3.1.
2004-07-07 Mark McLoughlin <mark@skynet.ie>
* gconf/gconftool.c: (process_key_list): one character
fix to make the schema actually be applied.
2004-07-07 Fernando Herrera <fherrera@onirica.com>
* gconf/default.path.in: Removed outdated comment.
2004-07-07 Mark McLoughlin <mark@skynet.ie>
* gconf/gconftool.c: (do_makefile_uninstall): merge with
do_makefile_install() by adding a "unload" flag.
2004-07-05 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.7.4.
==================== 2.7.3 ====================
2004-07-05 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.7.3.
2004-07-05 Mark McLoughlin <mark@skynet.ie>
Patch from Josselin Mouette <joss@debian.org> to handle
SIGHUP by reloading all databases. Intended to be used
in package's postinst scripts to get all running gconfds
to reload schemas.
* gconf/gconfd.c:
(signal_handler): handle SIGHUP by setting flag.
(periodic_cleanup_timeout): reload all databases when
the reload flag is set.
2004-07-04 Mark McLoughlin <mark@skynet.ie>
Patch from Julio M. Merino Vidal <jmmv@menta.net> in bug #134517
to add a --sysconfsubdir configure argument which allows the
sub-directory GConf uses under $sysconfdir to be change.
* configure.in: add --sysconfsubdir argument and subst $sysgconfdir
which contains the full sysconf path GConf uses.
* Makefile.am,
examples/Makefile.am,
gconf/Makefile.am,
gconf/default.path.in,
gconf/gconftool.c,
standard-schemas/Makefile.am,
wrappers/cxx/Makefile.am: use $sysgconfdir.
2004-07-02 Mark McLoughlin <mark@skynet.ie>
Fixup some bugs with the merge files support which was
causing unset entries not to be completely wiped out.
* backends/markup-tree.c:
(clean_old_local_schemas): rename.
(clean_old_local_schemas_recurse): if we're saving as a subtree,
recurse down the tree.
(delete_useless_subdirs): ignore the some_subdir_needs_sync and
entries_need_save flags on the subdir - they're irrelevant if
there's no entries or subdirs. Also, check whether the subdir
is in a subtree file rather than current dir.
(delete_useless_subdirs_recurse): correctly recurse over subdirs.
(delete_useless_entries_recurse): implement recursively deleting
entries too.
(recursively_load_subtree): set the not_in_filesytem flag if we're
going to be saving as a subtree.
(markup_dir_sync): recusively clean schemas and delete entries
if we're saving as a subtree.
2004-07-02 Mark McLoughlin <mark@skynet.ie>
Based on a patch to add --unload option from
Julio M. Merino Vidal <jmmv@menta.net> in bug #130129.
* gconf/gconftool.c:
(main): add --unload option.
(do_load_file): add an 'unload' flag.
(set_values), (process_entry),
(process_key_list), (hash_install_foreach), (process_schema),
(process_list): pass the flag about and unset/unassociate
things as appropriate.
(do_makefile_uninstall): pass the unload flag to do_load_file().
2004-07-02 Mark McLoughlin <mark@skynet.ie>
Fix for bug #145141.
* backends/markup-tree.c: (load_subdirs): recognise
subdirs which don't contain a %gconf.xml file but do
contain a %gconf-tree.xml file.
2004-07-01 Pawan Chitrakar <pawan@nplinux.org>
* configure.in: Added "ne" Nepali in ALL_LINGUAS
2004-06-27 Ross Burton <ross@burtonini.com>
* doc/Makefile.am: Distribute the incredibly useful FAQ and DTD.
2004-06-22 Mark McLoughlin <mark@skynet.ie>
* backends/markup-tree.c: fix tiny typo which was causing
/schemas/apps to be saved as one gigantic file.
2004-06-21 Mark McLoughlin <mark@skynet.ie>
Fix for bug #138498 - turn on "subtree-in-a-file" for the
subdirectories of the following directories:
/apps/evolution",
/apps/panel/profiles",
/apps
/desktop/gnome
/system
/schemas/apps
/schemas/desktop/gnome
/schemas/system
/schemas
/
You can turn this of by passing the "nomerge" flag to the
backend - e.g. xml:readwrite,nomerge:$(HOME)/.gconf
* backends/markup-tree.[ch]:
(markup_tree_get): pass in the nomerge path.
(markup_dir_build_file_path),
(markup_dir_build_dir_path): simple wrappers for build_path().
(load_subtree), (load_entries), (load_subdirs),
(delete_useless_subdirs): upd. for above change.
(recursively_load_subtree): impl. recursively loading the tree
below a given dir.
(should_save_as_subtree): logic to figure out which dirs should
be saved as merged files.
(markup_dir_sync): save the dir in a merged file if neccessary.
(markup_dir_build_path): allow building a non-filesystem path.
(parse_tree), (save_tree): upd.
(write_dir): set the "not_in_filesystem" flag.
* backends/markup-backend.c:
(resolve_address), (ms_new): parse and use the "nomerge" flag.
* backends/gconf-merge-tree.c: (merge_tree): upd.
2004-06-21 Mark McLoughlin <mark@skynet.ie>
* gconf/gconfd.c: (shutdown_databases): don't free the
default database twice. Its on the databases list now
so it doesn't need to freed explicitly.
2004-06-21 Mark McLoughlin <mark@skynet.ie>
Patch from Leonardo Quijano Vincenzi <lquijano@hotpop.com>
in bug #144502.
* doc/gconf/tmpl/gconf-client.sgml: warn the g_type_init()
must be called before using GConfClient.
2004-06-12 Mark McLoughlin <mark@skynet.ie>
Patch from Daniel Elstner <daniel.elstner@gmx.net>
in bug #143679.
* gconf.m4.in (AM_GCONF_SOURCE_2): Use $(sysconfdir)/gconf/schemas
as the default value of GCONF_SCHEMA_FILE_DIR, without the trailing
slash. Also get rid of the pointless else branch.
2004-06-12 Mark McLoughlin <mark@skynet.ie>
Patch from Julio M. Merino Vidal <jmmv@menta.net>
in bug #134247.
* doc/gconf/Makefile.am: don't create a directory if
its not needed.
2004-06-12 Mark McLoughlin <mark@skynet.ie>
Patch from Mariano Suárez-Alvarez <msuarezalvarez@arnet.com.ar>
in bug #122958 to change the encoding logic so as to produce
shorter encoded keys when encoding non-ascii characters. Does
not require changes to the decoder.
* gconf/gconf.c: (gconf_escape_key): use a shorter encoding
for non-ascii characters.
2004-06-12 Mark McLoughlin <mark@skynet.ie>
64-bit fix from Joe Marcus Clarke <marcus@freebsd.org>
* backends/markup-tree.c: (parse_tree): the length
returned from g_file_get_contents() is a gsize
not an int.
2004-06-09 Kjartan Maraas <kmaraas@gnome.org>
* gconf/gconf-internals.c: (gconf_activate_server):
Plug a small leak. Fixes bug #143941.
2004-05-31 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.7.2.
==================== 2.7.1 ====================
2004-05-31 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.7.1.
2004-05-04 Morten Welinder <terra@gnome.org>
* gconf/gconf-internals.c (gconf_activate_server): Delete stray
";" aka null statement. (Valid only in C99 where it had no
effect.)
2004-04-23 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-sources.c: (gconf_sources_new_from_addresses): return
NULL and the last error if we failed to resolve any of the addresses.
2004-04-21 Richard Hult <richard@imendio.com>
* gconf/gconf-database.c (gconf_database_unset): Init
modified_sources to NULL since we access it later. Fixes random
crashes.
2004-04-19 Mark McLoughlin <mark@skynet.ie>
Based on a patch from Julio Merino <jmmv@hispabsd.org>
in bug #102825
* configure.in: add a --enable-gtk=yes/no/auto (defaults to auto)
2004-04-19 Mark McLoughlin <mark@skynet.ie>
Patch Elijah Newren <bugsqueesher@yahoo.com> in bug #138009
* examples/basic-gconf-app.c: (config_entry_commit):
return a boolean so we don't crash.
2004-04-19 Mark McLoughlin <mark@skynet.ie>
Based on a patch from Ryan Lovett <ryan@ocf.berkeley.edu>
in bug #95198.
* backends/markup-backend.c: (resolve_address):
backends/xml-backend.c: (resolve_address): check to see
if the dir exists before trying to create it rather than
relying on EEXIST from mkdir.
2004-04-19 Mark McLoughlin <mark@skynet.ie>
* backends/dir-utils.[ch],
backends/val-encode.[ch]: remove last remenants
of the BDB backend.
2004-04-19 Mark McLoughlin <mark@skynet.ie>
Tracked down by Gustavo Giráldez <gustavo.giraldez@gmx.net>
in bug #139170
* gconf/gconfd.c: (logfile_save): don't save default_db explicitly
since its now stored in the same list as the other dbs - but do
make sure that it gets saved as "def" rather than using its full
address list.
2004-04-16 Colin Walters <walters@redhat.com>
* gconf/gconf-internals.c (gconf_activate_server): Move temporary
directory creation into daemon code, so that we play better with
SELinux. Patch reviewed by (and several improvements suggested by)
Mark McLoughlin <mark@skynet.ie>.
2004-04-13 Mark McLoughlin <mark@skynet.ie>
Fix pointed out by Frédéric L. W. Meunier <1@pervalidus.net>.
* gconf.m4.in: add quotes around AM_GCONF_SOURCE_2 to
quell autoconf's rudeness.
2004-04-08 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
2004-04-08 Adam Weinberger <adamw@gnome.org>
* configure.in: Added en_CA to ALL_LINGUAS.
2004-04-05 Mark McLoughlin <mark@skynet.ie>
Revert the --dump behaviour change (not dumping schema defaults)
and add a --ignore-schema-defaults argument which applies to
all arguments which get the value of a key.
* gconf/gconftool.c:
(main): check that --ignore-schema-defaults is being used with
an option which gets a value.
(list_pairs_in_dir), (dump_entries_in_dir):
respect --ignore-schema-defaults.
(get_maybe_without_default): helper function.
(do_get), (do_get_type), (do_get_list_size), (do_get_list_element):
respect --ignore-schema-defaults.
2004-04-02 Mark McLoughlin <mark@skynet.ie>
* gconf/gconftool.c: (set_values), (process_entry): handle
an <entry> with only a <schema_name> correctly.
2004-04-01 Mark McLoughlin <mark@skynet.ie>
* gconf/gconftool.c: (dump_entries_in_dir): don't dump
the value if its the schema default.
2004-04-01 Mark McLoughlin <mark@skynet.ie>
* gconf/default.path.in: fix the position of the
local-defaults.path include. Bug #137578.
2004-03-31 Mark McLoughlin <mark@skynet.ie>
Fix last remaining obvious issue I'm seeing with the previous
patches. gconfd was crashing when removing objects from the
panel.
* gconf/gconf-database.c: (gconf_database_recursive_unset):
Don't try and propogate a NULL error.
* gconf/gconf-sources.c:
(gconf_sources_unset_value): create modified_sources when
they it doesn't exist.
(prepend_unset_notify): add a couple of assertions.
(recursive_unset_helper): unset modified_sources between
unsets so that we don't append to the same source list.
2004-03-30 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-backend.c: (gconf_backend_verify_vtable):
Return TRUE if the vtable is okay.
2004-03-30 Mark McLoughlin <mark@skynet.ie>
* doc/gconf/tmpl/gconf-backend.sgml: add some documentation
for set_notify_func().
2004-03-30 Mark McLoughlin <mark@skynet.ie>
* tests/testbackend.c: (foreach_recursive), (sync_and_clear),
(check_unset), (set_value), (get_value): upd. for the fact
we have a copy of the vtale now rather than a pointer to it.
2004-03-30 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-backend.h: actually add the vtable_size
vtable member.
2004-03-29 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-database.c:
(safe_g_hash_table_insert): remove - no hash table here.
2004-03-29 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-engine.h: add gconf_engine_get_for_addresses()
and gconf_engine_get_local_for_addresses().
* gconf/gconf.c:
(gconf_engine_connect): implement setting up a database from
an arbitrary stack of sources.
(register_engine): use the concatenation of addresses for the key.
(unregister_engine): free the persistent address and address list on
unregistering.
(lookup_engine): use the concatenation of addresses for the key.
(gconf_engine_get_local_for_addresses): add.
(gconf_engine_get_for_address): update for register_engine change.
(gconf_engine_get_for_addresses): impl support for remote composite dbs.
(update_listener): update for the fact that listeners are now saved using
the persistent name.
* gconf/GConfX.idl: extend the ConfigServer interface
by adding ConfigServer2 inherting from ConfigServer.
Add ConfigServer2::get_database_for_addresses().
* gconf/gconf-backend.c:
(gconf_address_valid), (gconf_get_backend): check the backend
address doesn't contain any special characters.
* gconf/gconf-database.[ch]:
(source_notify_cb): don't notify unless this change could
actually cause a change for the client.
(gconf_database_notify_listeners): impl. notifying "other"
listeners - clients listening on other stacks which contains
any of the modified sources.
(gconf_database_set), (gconf_database_unset): keep track of
the sources modified by the change and update for the
notify_listeners change.
(gconf_database_recursive_unset): ditto and upd. for the
change in the listeners list returned by
gconf_sources_recursive_unset().
(gconf_database_get_persistent_name): make the persistent
name a concatenation of the individual addresses instead
of the first address.
* gconf/gconf-internals.[ch]:
(gconf_address_list_get_persistent_name): impl method similar
to gconf_database_get_persistent_name, except concatenate
the addresses from a GSList.
(gconf_persistent_name_get_address_list): do the reverse.
(gconf_address_list_free): free the list of strings.
* gconf/gconf-sources.[ch]:
(gconf_sources_new_from_source): allow creating an empty source
list.
(gconf_sources_set_value),
(gconf_sources_unset_value): return the sources modified by
the change.
(prepend_unset_notify), (recursive_unset_helper),
(gconf_sources_recursive_unset): return a list of GConfUnsetNotifys
which contains both the key and the modified source.
(get_address_resource): copy and paste of gconf_address_resource
except it doesn't dup the return value.
(gconf_sources_is_affected): figure out if a change to a particular
key in one source affects the key with a particular stack of sources.
* gconf/gconfd.[ch]: impl ConfigServer2 inheritance.
(gconfd_get_database): upd for obtain_database change.
(gconfd_get_composite_database): implement.
(init_databases): rename dbs_by_address to dbs_by_addresses.
(set_default_database): register the default db like the others.
(register_database): use the persistent name as the key.
(unregister_database): ditto.
(lookup_database): ditto.
(obtain_database): use a list of addresses, not a single one.
(gconfd_notify_other_listeners): impl notifying listeners
on GConfDatabases other than the one which was changed.
(listener_logentry_restore_and_destroy_foreach): restore by
splitting the address list string.
* gconf/gconftool.c: (main): enable --config-source without
--direct as it works better now. Also allow --config-source
to be an address list.
2004-03-29 Mark McLoughlin <mark@skynet.ie>
* backends/markup-backend.c,
backends/xml-backend.c: initialize the set_notify_func
vtable member.
2004-03-29 Mark McLoughlin <mark@skynet.ie>
Re-work the notifications-from-backends patch so that the
backend doesn't have to keep track of a callback per
listener as suggested by Cyrille.
* gconf/gconf-backend.h: add a set_notify_func() member to
the vtable and remove the callback arg from add_listener().
* gconf/gconf-database.c:
(gconf_database_new): set the notification callback here.
(gconf_database_readd_listener): upd.
* gconf/gconf-sources.[ch]:
(gconf_source_set_notify_func): add.
(gconf_source_add_listener): upd.
(gconf_sources_set_notify_func): add.
(gconf_sources_add_listener): upd.
2004-03-26 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-database.c: (source_notify_cb): don't leak
the schema name.
* gconf/gconf-sources.c:
(gconf_sources_add_listener),
(gconf_sources_remove_listener): fix mistake pointed out
by Cyrille.
2004-03-25 Mark McLoughlin <mark@skynet.ie>
Allow backends to notify the daemon of changes to entries.
Based on a patch from Cyrille Moureaux <Cyrille.Moureaux@Sun.COM>
in bug #07692.
* gconf/gconf-backend.h: add add_listener() and
remove_listener() members to the vtable.
* gconf/gconf-database.c:
(source_notify_cb): re-compute the value and notify
listeners when the backend reports the key has changed.
(gconf_database_readd_listener),
(gconf_database_remove_listener): add/remove backend
listeners.
* gconf/gconf-sources.[c]:
(gconf_source_add_listener),
(gconf_source_remove_listener),
(gconf_sources_add_listener),
(gconf_sources_remove_listener): impl. the glue.
* doc/gconf/tmpl/gconf-backend.sgml: update the backend
documentation.
* backends/markup-backend.c,
backends/xml-backend.c: set the add_listener() and
remove_listener() members to NULL.
2004-03-24 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-backend.h: add a vtable_size member to
the vtable.
* gconf/gconf-backend.c:
(gconf_backend_verify_vtable): impl. copying handling
mismatches in vtable sizes and also refuse to use the
backend if any of the functions we require are NULL.
(gconf_get_backend): fixup error handling a bit.
* gconf/gconf-sources.c: update to take into account
that the we have a copy of the vtable now rather than
just a pointer to it.
* doc/gconf/tmpl/gconf-backend.sgml: upd.
* backends/markup-backend.c,
backends/xml-backend.c: add sizeof (GConfBackendVTable) to
the vtable.
2004-03-24 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-database.c: (impl_ConfigDatabase_set): don't
convert the value into a string and then do nothing with it.
2004-03-30 Mark McLoughlin <mark@skynet.ie>
* configure.in: bump to 2.7.1. 2.6.x development is on
the gnome-2-6 branch now.
2004-03-24 Mark McLoughlin <mark@skynet.ie>
* configure.in: kill the message-of-doom.
2004-03-22 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "pa" (Punjabi) to ALL_LINGUAS.
2004-03-22 Mark McLoughlin <mark@skynet.ie>
* configure.in: post-release bump to 2.6.1.
2004-03-22 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.6.0
2004-03-18 Ross Burton <ross@burtonini.com>
* doc/FAQ.txt:
Added a FAQ, based upon the old FAQ and updated for the new
locking policy.
2004-03-16 Gareth Owen <gowen72@yahoo.com>
* configure.in: Added "en_GB" (British) to ALL_LINGUAS
2004-03-02 Dinesh Nadarajah <dinesh_list@sbcglobal.net>
* ta.po: Started Tamil Translation.
2004-02-24 Mark McLoughlin <mark@skynet.ie>
* configure.in: Version 2.5.90.
2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
* configure.in: Added "hr" (Croatian) to ALL_LINGUAS.
2003-12-14 Havoc Pennington <hp@redhat.com>
* configure.in: 2.5.1
2003-12-03 Ross Burton <ross@burtonini.com>
* tmpl/gconf.sgml: lamest patch *ever*, remove a newline.
Tue Nov 4 17:17:07 2003 Jonathan Blandford <jrb@redhat.com>
* gconf/gconf-changeset.h: register GConfChangeSet as a boxed type.
2003-11-02 Havoc Pennington <hp@pobox.com>
* ChangeLog: ascii-ize various people's names; Emacs can't handle
UTF-8, sadly
* backends/Makefile.am: cut over to the new backend implementation
* configure.in: change to 2.5.0, add "this is the unstable
branch" warning.
2003-10-28 Ghee Teo <ghee.teo@sun.com>
* gconf/default.path.in: added hooks for paths to preserve
local configuration gconf values as in bug #107481.
2003-10-28 Mark McLoughlin <mark@skynet.ie>
* backends/gconf-merge-tree.c: include locale.h - patch
from Damien Carbery <damien.carbery@sun.com> in bug #125688.
2003-10-27 Mark McLoughlin <mark@skynet.ie>
Patch to allow a single XML file to represent an arbitrary
GConf tree rather than a single directory. Also fixes
many little bugs with the markup backend. See bug #116948.
* backends/Makefile.am: install the markup backend and
build gconf-merge-tree.
* backends/markup-tree.c: if a %gconf-tree.xml file exists
in a given directory, load that and ignore any %gconf.xml
files in the directory and any sub-directories. Also,
fix many little buglets to make this work compatibly with
the XML backend.
* gconf/gconftool.c:
(recurse_subdir_dump), (do_dump_values): sort the directories
before dumping.
(print_schema_in_xml): don't add extra whitespace to schema
descriptions.
(print_value_in_xml): dump " " strings as empty strings.
(compare_entries), (dump_entries_in_dir): dump entries
sorted by the key name.
* backends/markup-backend.c: (cleanup_timeout): fixup.
* backends/gconf-merge-tree.c: utility to merge a GConf
tree into a single markup backend %gconf-tree.xml file.
Doing this to a tree means that any changes you make
to that tree using the markup backend will not be reflected
if you go back to the XML backend.
* tests/testbackend.c: include stdio.h to fix warnings.
Wed Oct 22 22:59:47 2003 Matthias Clasen <maclas@gmx.de>
* doc/gcnf/Makefile.am:
* doc/gconf/gconf.sgml:
* doc/gconf/tmpl/gconf-backend.sgml:
* doc/gconf/tmpl/gconf-client.sgml:
* doc/gconf/tmpl/gconf-engine.sgml:
* doc/gconf/tmpl/gconf.sgml: Use gtk-doc in xml mode. (#111791)
2003-10-22 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c, gconf/gconfd.c: use g_string_new (NULL)
rather than g_string_new ("") #106974 Morten Welinder
* gconf/gconfd.c (gconf_main): change cleanup/exit timeout to 30
seconds, bug #97361
* backends/xml-cache.c (cache_clean): whack string that needed
ngettext, as it was dumb debug spew. #123866 Danilo Segan
* gconf/gconf.c (gconf_handle_corba_exception): fix to avoid
passing arbitrary data as printf format, #123556 Dan Winship
* backends/markup-backend.c (resolve_address): remove unused
variables, #122734 Kjartan Maraas
* gconf.spec.in: remove, not maintained
* gconf/gconf-error.c (gconf_error_new_valist): don't put a
newline in error messages, bug #111845 Morten Welinder
* throughout: s/dir/directory/ bug #111822 Christian Rose
* gconf/gconfd.c (gconf_server_load_sources): avoid string
concatenation with #defines, confuses gettext, #111821
Christian Rose
* gconf/gconfd.h: fix gconf_get_poa() declaration, #110186
Morten Welinder
* gconf/gconf-internals.c (read_current_server_and_set_warning):
fix a warning, bug #110179
* gconf/gconfd.c (test_safe_tmp_dir): fix warning
2003-10-22 Havoc Pennington <hp@redhat.com>
* gconf/gconf-client.c: patch from Ray Strode to avoid breaking
the schema name cache, bug #94412
* doc/rationales.txt: add file to track bugzilla numbers to refer
to later
2003-10-22 Vincent Untz <vincent@vuntz.net>
* backends/xml-dir.c (dir_load_doc): don't mark "%s" as translatable.
Fix bug #84893.
2003-10-09 Ross Burton <ross@burtonini.com>
* doc/Makefile.am:
* doc/gconftool-2.1:
Added a basic man page.
2003-10-07 Aygimantas Beru?ka <uid0@tuxfamily.org>
* configure.in: Added "lt" to ALL_LINGUAS
2003-09-26 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_engine_all_dirs): fix crash calling this
with --direct (local source), the list contains strings not
GConfEntry
Wed Sep 10 15:23:17 2003 Jonathan Blandford <jrb@redhat.com>
* configure.in: Rerelease 2.4.0.1 to fix glib-gettext problem.
2003-09-08 Havoc Pennington <hp@redhat.com>
* configure.in: 2.4.0
2003-09-05 Taneem Ahmed <taneem@bengalinux.org>
* configure.in: Added "bn" to ALL_LINGUAS.
2003-08-30 Laurent Dhima <laurenti@alblinux.net>
* configure.in: Added "sq" (Albanian) to ALL_LINGUAS.
2003-08-18 Muktha <muktha.narayan@wipro.com>
* gconf/gconftool.c (main) : Print usage message when no options are
passed to gconftool-2. Fixes #70316.
2003-08-11 Christophe Fergeau <teuf@gnome.org>
* doc/gconf/tmpl/gconf-client.sgml:
* doc/gconf/tmpl/gconf.sgml: Update API documentation (in particular
the gconf_client doc). Fixes #89348.
2003-08-11 Frederic Crozat <fcrozat@mandrakesoft.com>
* gconf/gconf-client.c: (gconf_client_real_unreturned_error),
(gconf_client_real_error), (cache_pairs_in_dir):
* gconf/gconf-internals.c: (gconf_log):
* gconf/gconf-listeners.c: (ltable_insert), (ltable_remove),
(spew_func), (ltable_spew):
* gconf/gconfd.c: (main):
* gconf/gconftool.c: (main), (recurse_subdir_list),
(do_recursive_list), (do_dump_values), (list_pairs_in_dir),
(print_schema_in_xml), (print_pair_in_xml), (print_list_in_xml),
(print_value_in_xml), (dump_entries_in_dir), (do_dir_exists),
(do_spawn_daemon), (do_get), (read_value_type), (do_set),
(do_get_type), (do_get_list_size), (do_get_list_element),
(do_schema_info), (do_associate_schema), (do_dissociate_schema),
(do_set_schema), (do_all_entries), (do_unset),
(do_recursive_unset), (do_all_subdirs), (get_list_value_from_xml),
(get_pair_value_from_xml), (get_schema_values_from_xml),
(get_values_from_xml), (set_values), (fill_default_from_string),
(extract_global_info), (process_locale_info), (process_key_list),
(get_schema_from_xml), (hash_install_foreach),
(hash_uninstall_foreach), (process_schema), (process_list),
(do_load_file), (do_makefile_install), (do_makefile_uninstall),
(check_err), (key_breakage), (do_break_key), (do_break_directory),
(do_get_default_source):
* gconf/gnome-testclient.c: (notify_func), (main):
* gconf/testclient.c: (main), (notify_func):
use g_print/g_printerr instead of printf/fprintf(strerr). It
fixes UTF-8 being displayed on command line with non-UTF-8 locales.
2003-08-09 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "hi" in ALL_LINGUAS.
2003-03-16 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #108574
* backends/xml-dir.c (gconf_xml_doc_dump): Replacement for
xmlDocDump() which is not reliable. While we're at it, also dump
formatted xml.
(dir_sync): Call the new gconf_xml_doc_dump() rather than
xmlDocDump() because we don't want to risk losing user settings.
2003-07-19 Havoc Pennington <hp@pobox.com>
* doc/gconf/gconf.sgml: doc fixes from Samuel Stringham
#117830
2003-07-17 Havoc Pennington <hp@redhat.com>
* gconf/gconftool.c (do_recursive_unset): do a suggest_sync after
do_recursive_unset() (which shouldn't be necessary except that we
suck). Patch from Greg Hudson #117713
* gconf/gconf-value.h: flags can't be 0, patch from
Greg Hudson, #117712
2003-07-07 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-client.c:
(recurse_subdir_list): the subdir list contains full
paths, so don't append it to the full path. Fixes
recursive preloading.
(gconf_client_preload): don't get (and leak) the list
of subdirs if we're only doing onelevel preloading.
2003-06-28 Dafydd Harries <daf@parnassus.ath.cx>
* gconf/gconftool.c (main): Slight extra option tweaking.
2003-06-26 Dafydd Harries <daf@parnassus.ath.cx>
* gconf/gonftool.c (main): Tidied up "--foo option must be used by
itself" messages.
2003-06-26 Ross Golder <ross@golder.org>
* gconf/gconftool.c (do_dissociate_schema): Fixed a misleading
string (#116042)
* gconf/gconftool.c (do_associate_schema): Prevent segfault when
no args supplied (#116040)
* gconf/gconftool.c (do_dissociate_schema): Prevent segfault when
no args supplied (#116040)
2003-06-26 Abel Cheung <maddog@linux.org.hk>
* configure.in: Added "am" "mk" to ALL_LINGUAS.
2003-06-26 Abel Cheung <maddog@linux.org.hk>
* configure.in: Added "am" "mk" to ALL_LINGUAS.
2003-06-23 Havoc Pennington <hp@redhat.com>
* NEWS: update
* configure.in: 2.3.3
2003-06-22 James M. Cape <jcape@ignore-your.tv>
* gconf/gconf-database.c: Fix for GCC 3.3 warning (fixes #115722).
2003-06-18 Mohammad DAMT <mdamt@bisnisweb.com>
* po/id.po: Added Indonesian translation
* configure.in: Added "id" to ALL_LINGUAS
2003-06-18 Rodrigo Moya <rodrigo@ximian.com>
Fixes #73323
* gconf/gconf-sources.h: moved GConfUnsetFlags enum...
* gconf/gconf-value.h: ...to here.
* gconf/gconf-client.[ch] (gconf_client_recursive_unset):
implemented new function for calling the unrecursive_unset
method on the engine.
2003-06-12 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "ml" in ALL_LINGUAS.
2003-06-06 Michael Meeks <michael@ximian.com>
* configure.in: remove the explicit linc module.
2003-05-31 Michael Meeks <michael@ximian.com>
* backends/markup-tree.c: include <stdio.h>
2003-05-19 Ross Burton <ross@burtonini.com>
* gconf/gconftool.c: Implement uninstalling GConf schemas, closing
#104487. Patch based on work by jmmv@hispabsd.org <Julio Merino>.
2003-05-19 Telsa Gwynne <hobbit@aloss.ukuu.org.uk>
* configure.in: Add cy (Welsh) to ALL_LINGUAS
2003-05-09 Mark McLoughlin <mark@skynet.ie>
* gconf/gconftool.c:
(print_value_in_xml): escape the string text before
outputting it in the XML.
(dump_entries_in_dir): ouput the keyname relative to
the base directory rather than the current directory.
2003-05-08 Ross Burton <ross@burtonini.com>
* gconf/gconf-client.[ch]: Add gconf_client_notify(), to fake a
notification from a monitored key. Fixes #70553.
2003-05-07 Danilo Egan <dsegan@gmx.net>
* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2003-05-03 Havoc Pennington <hp@pobox.com>
* configure.in: 2.3.2
* NEWS: update
2003-04-26 Masahiro Sakai <sakai@tom.sfc.keio.ac.jp>
* configure.in: call AC_LIBTOOL_WIN32_DLL.
* backends/Makefile.am: add -no-undefined to *_la_LDFLAGS.
add $(top_builddir)/gconf/libgconf-$(MAJOR_VERSION).la to *_la_LIBADD.
* gconf/Makefile.am (libgconf_2_la_LDFLAGS): add -no-undefined.
* gconf/gconfd.c (main): use g_strdup_printf() instead of strlen() +
g_malloc() + g_snprintf().
03-04-23 Muktha <muktha.narayan@wipro.com>
* gconf/gconfd.c
When reading the saved_state file, gconfd will not log message if
the saved_state file is not present. Fixes bug #110944.
2003-03-27 Brian Cameron <brian.cameron@sun.com>
* gconf/gconf-sanity-check.c
Updated text of the lock question to more clear text that was
approved by the docs team. Havoc reviewed/approved this
change.
2003-03-27 Ross Burton <ross@burtonini.com>
* gconf/gconftool.c:
Added --get-type, --get-list-size and --get-list-element. Patch
from TODO, closing #91349.
(do_dump_values): Return an int as the prototype says we do.
Applied patch from Jeff Franks <jcf@tpg.com.au> with a extensions,
closing #97205.
* gconf/gconf-schema.h:
* gconf/gconf-value.h: Wrapped both header files in an extern "C"
for C+compilation.
* gconf/gconf-internals.h:
* gconf/gconf-value.h: Exported gconf_entry_copy(), _ref and
_unref. Moved declaration from gconf-internals.h to
gconf-value.h. Also deprecated gconf_entry_free().
* doc/gconf/tmpl/gconf-value.sgml: Fixed typo, GCONF_VALUE_DOUBLE,
in the description for gconf_value_get_float(). Changed the value
type to GCONF_VALUE_FLOAT.
* gconf/gconf-client.h: Added missing GCONF_CLIENT_GET_CLASS
macro.
2003-03-26 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.c (gconf_get_daemon_dir): we need
giop_tmpdir_init(), linc_get_tmpdir() isn't helpful. Revert to
/tmp/gconfd-foo for now.
2003-03-26 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.c (gconf_get_daemon_dir): call
linc_set_tmpdir() to maybe make it work
2003-03-26 Havoc Pennington <hp@redhat.com>
* configure.in: bump to 2.3.1
Apply "local locks" patch with linc_get_tmpdir modification from
Michael, and the default changed to local locks. Now to
get global locks you must set GCONF_GLOBAL_LOCKS=1.
* gconf/gconf-internals.c (gconf_log): convert to locale encoding
to pass stuff to syslog
2003-03-26 Christian Rose <menthos@menthos.com>
* configure.in: Added "yi" to ALL_LINGUAS.
2003-03-14 Mark McLoughlin <mark@skynet.ie>
Basically the same patch as the previous one .. but
for the markup backend.
* backends/markup-backend.c:
(resolve_address): update.
(clear_cache): use markup_tree_rebuild() instead of
re-creating the tree.
(ms_new): remove the read_only arg and s/markup_tree_new/
markup_tree_get/
(ms_destroy): s/markup_tree_free/markup_tree_unref/
* backends/markup-tree.[ch]:
(markup_tree_get), (markup_tree_unref): rename these
from new()/free() and share caches for sources with
the same root directory.
(markup_tree_rebuild): impl.
(markup_dir_needs_sync): we don't keep the read_only
flag per-tree anymore so don't check it here.
2002-07-16 Mark McLoughlin <mark@skynet.ie>
Use the same cache for multiple sources with the same
root directory.
* backends/xml-cache.[ch]:
(cache_get): rename from cache_new and return and existing
cache for this root dir if one exists. Also use g_free
as a key destroy handler for the nonexistant hash instead
of doing it manually.
(cache_unref): rename from cache_destroy and only destroy
when refcount drops to zero.
(cache_set_nonexistent), (cache_destroy_nonexistant_foreach):
don't free the key here.
* backends/xml-backend.c:
(xs_new): s/cache_new/cache_get/
(xs_destroy): s/cache_destroy/cache_unref/.
2003-03-14 Mark McLoughlin <mark@skynet.ie>
* backends/Makefile.am: kill unused bdb SOURCES.
2003-03-13 Mark McLoughlin <mark@skynet.ie>
Implement --load and --dump options for gconftool. e.g.:
gconftool-2 --dump /apps/metacity > metacity.dump
gconftool-2 --config-source blah --load metacity.dump
or
gconftool-2 -load metacity.dump /apps/other_metacity
* gconf/gconftool.c:
(recurse_subdir_dump), (do_dump_values),
(print_schema_in_xml), (print_pair_in_xml),
(print_list_in_xml), (print_value_in_xml), (get_key_relative),
(dump_entries_in_dir): impl dumping to XML.
(get_list_value_from_xml), (get_car_cdr_value),
(get_pair_value_from_xml), (get_schema_values_from_xml),
(get_values_from_xml), (get_first_value_from_xml), (set_values):
impl loading entries from XML.
(hash_listify_foreach), (process_entry), (fill_default_from_string),
(extract_global_info), (process_locale_info), (get_schema_from_xml),
(hash_install_foreach), (process_schema), (process_list),
(do_load_file), (do_makefile_install): munge the entries loading
code with schemas loading code.
2003-03-05 Havoc Pennington <hp@pobox.com>
* backends/Makefile.am: remove BDB backend
* configure.in: remove BDB backend support
2003-03-04 Mark McLoughlin <mark@skynet.ie>
Fixes weird bug where a directory appears to not exist when
you create subdirectories of it.
* backends/xml-cache.c:
(cache_lookup): use unset_nonexistent.
(cache_unset_nonexistent): unset the existent flag not
only on this directory but all parent directories.
2003-02-25 Havoc Pennington <hp@redhat.com>
* configure.in: bump to 2.3.0 unstable version number to avoid
confusion
2003-02-22 Roozbeh Pournader <roozbeh@sharif.edu>
* configure.in: Added "fa" to ALL_LINGUAS.
2003-02-12 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf.c: (gconf_engine_set),
(gconf_engine_associate_schema): don't rely on
caller passing in a valid GError** in assertions.
2003-02-12 Mark McLoughlin <mark@skynet.ie>
* backends/xml-dir.c: (listify_foreach): set the schema
name even when the key is set.
2003-01-21 Ross Burton <ross@burtonini.com>
* doc/gconf-1.0.dtd: Add comments to the DTD.
2003-01-21 Christian Rose <menthos@menthos.com>
* configure.in: Added "mn" to ALL_LINGUAS.
2003-01-12 Havoc Pennington <hp@pobox.com>
* configure.in: 2.1.90
2002-12-04 Havoc Pennington <hp@pobox.com>
* backends/markup-tree.c (markup_entry_get_value): fix
a logic error causing us to deref a null pointer, reported
by Brian Alexander Quistorff
2002-11-22 Dan Mills <thunder@ximian.com>
* configure.in: fix gtk-doc version check.
2002-11-09 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS
2002-11-02 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.c
(gconf_value_list_to_primitive_list_destructive): fix using the
wrong type (value->type not value->list_type) in an error message,
#96210
2002-10-18 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.c (subst_variables): patch from
Benn Vosseteig fixing a crash with a long path to $HOME
2002-09-30 Yanko Kaneti <yaneti@declera.com>
* doc/gconf/gconf.sgml:
* doc/gconf-1.0.dtd: Some additions to match the full range of schema
elements curently accepted by gconftool. Supposedly complete now.
2002-09-18 Yanko Kaneti <yaneti@declera.com>
* doc/Makefile.am: change the gconf-1.0.dtd install location to
$(datadir)/sgml/gconf which sounds more standards compliant.
2002-09-18 Havoc Pennington <hp@pobox.com>
* backends/markup-backend.c (resolve_address): add FIXME about
GCONF_LOCAL_LOCKS
2002-09-18 Havoc Pennington <hp@pobox.com>
Merge gconf-markup-hacking branch
* tests/testbackend.c: add a test for backends
* gconf/gconftool.c (extract_global_info): add more error
checking, adding more error strings
* gconf/gconf-schema.c (gconf_schema_validate): do some more
validation with error strings that couldn't be added to stable
branch
* backends/xml-dir.c: fix quoting in error string
* backends/xml-backend.c (resolve_address): fix quoting in error
string
* backends/markup-tree.c: make it work
* backends/markup-backend.c: make it work
* backends/Makefile.am (libgconfbackend_markup_la_SOURCES): add
markup-backend.c
2002-09-18 Yanko Kaneti <yaneti@declera.com>
* gconf.m4.in: Introduce --disable-schemas-install and the
GCONF_SCHEMAS_INSTALL conditional, which allows disabling
the schemas installation given the package decides to support it.
* doc/Makefile.am:
* doc/gconf/gconf.sgml:
* doc/gconf-1.0.dtd (ADDED): formal dtd for the schema files.
Not yet complete. Installed in $(pkgdatadir)/xml/gconf/ for now.
2002-09-18 Havoc Pennington <hp@pobox.com>
* configure.in: bump to 2.1.0, to get in sync with gnome and allow
identifying HEAD
2002-09-09 jacob berkman <jacob@ximian.com>
* gconf/GConf.idl:
* gconf/GConfX.idl:
* gconf/Makefile.am:
* gconf/gconf-database.h:
* gconf/gconf-internals.h:
* gconf/gconf.c:
* gconf/gconfd.c:
* gconf/gconfd.h: rename GConf.idl to GConfX.idl in order to build
on non-case-sensitive file systems
2002-09-06 Peteris Krisjanis <peteris.krisjanis@os.lv>
* configure.in: Added Latvian (lv) to ALL_LINGUAS
2002-08-04 Havoc Pennington <hp@redhat.com>
* configure.in: 1.2.1
2002-07-12 Brian Cameron <Brian.Cameron@sun.com>
* gconf/gconfd.c
Removed reference to gnome_segv2 since it was not used.
2002-07-11 Brian Cameron <Brian.Cameron@sun.com>
* gconf-2.0.pc.in
* gconf.spec.in
* gconf/Makefile.am
* gconf/gconfd.c
* gconf/gconf-internals
Now install gconfd-2 and gconf-sanity-check-2 in libexec
2002-07-09 Mark McLoughlin <mark@skynet.ie>
* gconf/gconfd.c: (obtain_database): fix
silly with addresses list.
2002-07-04 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (logfile_read): close our FILE* when we're done.
Reported by Michael.
2002-07-03 Yanko Kaneti <yaneti@declera.com>
* configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
2002-06-16 Havoc Pennington <hp@pobox.com>
* gconf/gconf-sources.c (gconf_sources_recursive_unset): don't
propagate nonexistent errors, fixes a warning.
Fri Jun 14 13:24:42 2002 HideToshi Tajima <hidetoshi.tajima@sun.com>
* gconf/gconfd.c: include <locale.h> for setlocale.
2002-06-11 Havoc Pennington <hp@pobox.com>
* configure.in: version 1.2.0
* README, NEWS, AUTHORS: update
2002-06-02 Havoc Pennington <hp@pobox.com>
* gconf/gconftool.c: add --version argument, #79555, involves a
help string but it should be OK if this string isn't translated.
* gconf/gconf-client.c (gconf_client_get): add some
g_return_if_fail, #74984
(gconf_client_key_is_writable): handle NULL entry,
#75503
* gconf/gconfd.c (gconf_handle_segv): disable bug-buddy for now,
too much recursion danger.
* gconf/gconf-internals.c, gconf/gconfd.c: replace isspace() with
g_ascii_isspace, bug #70945
* gconf/gconf-value.c (gconf_value_new): init i18n here
* gconf/gconf.c (gconf_engine_blank): init i18n here
* gconf/gconftool.c (main): init i18n here, call textdomain
* gconf/gconfd.c (main): init i18n here, and call setlocale and
textdomain
* gconf/gconf-internals.c (_gconf_init_i18n): function to call
from various places
(gconf_orb_get): init i18n here
* configure.in: require ORBit 2.4.0, linc 0.5.0,
bump version to 1.1.11
fix setting of gconflocaledir (there was a typo,
gtklocaledir instead of gconflocaledir)
check for bind_textdomain_codeset
* backends/Makefile.am (noinst_LTLIBRARIES): make markup lib
noinst for now, until we merge back the gconf-markup-hacking
branch post-string-freeze
2002-06-02 Havoc Pennington <hp@pobox.com>
* backends/xml-cache.c (cache_sync): avoid zombie directory cruft by
aggressively redoing the resync anytime we delete a subdir, which
might enable a parent dir to also be deleted.
2002-06-02 Havoc Pennington <hp@pobox.com>
* backends/xml-cache.c (cache_lookup): don't leave a dir marked
nonexistent after creating it
(cache_set_nonexistent): remove hash entry _before_ freeing
the current key. Should fix assorted "gconf loses my settings"
kind of bugs.
* backends/xml-dir.c (dir_sync): don't try to delete the root dir,
should fix some warnings.
2002-05-27 Hasbullah Bin Pit <sebol@ikhlas.com>
* configure.in: Added Malay (ms)to ALL_LINGUAS.
* po/ms.po: Added Malay Translation.
2002-05-27 Havoc Pennington <hp@pobox.com>
* backends/markup-tree.c: implement all the tree reading stuff,
need to implement modification/writing and implement
markup-backend.c. (Backend is totally unused and unusable
until post-GNOME2, don't worry.)
* gconf/gconf-internals.h (gconf_value_set_string_nocopy):
new function
2002-05-15 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Added Vietnamese (vi) to ALL_LINGUAS
2002-05-10 Shivaram U <shivaram.upadhyayula@wipro.com>
* doc/gconf/Makefile.am: Honouring CFLAGS and LDFLAGS passed by the user
Ensures successful 64bit build on Solaris.
2002-05-09 Michael Meeks <michael@ximian.com>
* backends/xml-entry.c (entry_get_value): ensure we
don't print a NULL.
2002-04-29 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Added Basque (eu) to ALL_LINGUAS
2002-04-29 Havoc Pennington <hp@pobox.com>
* configure.in: 1.1.10
2002-04-26 Havoc Pennington <hp@pobox.com>
* gconf/gconf-changeset.c: make the internal functions static
* gconf/gconf-internals.c (byte_type): make static
(get_hostname): remove
* gconf/gconfd.c (add_client): set the maximum connection buffer
to a reasonable-size value in order to handle locked-up clients.
* backends/xml-entry.c (node_set_schema_value): opacity fixes
* gconf/gconftool.c (list_pairs_in_dir): opacity fixes
* gconf/gconf.c: opacity fixes
(gconf_engine_get_for_address): remove the g_warning about using
this function; the change notification is a bit broken but maybe
it's still useful.
* gconf/gconf-sources.c: opacity fixes
* gconf/gconf-database.c: namespace fixes
* gconf/gconf-internals.h: namespace some things
* gconf/gconf-internals.c: opacity fixes
(fill_corba_schema_from_gconf_schema):
make static
(corba_schema_from_gconf_schema): make static
* gconf/gconf-schema.c: do groundwork to make GConfSchema opaque,
and fix some lack of spaces before parens
* gconf/gconf-value.c: do groundwork to make GConfEntry mostly
opaque (implement with GConfRealEntry)
2002-04-19 Abel Cheung <maddog@linux.org.hk>
* configure.in: Added "zh_TW" to ALL_LINGUAS.
2002-04-10 jacob berkman <jacob@ximian.com>
* backends/xml-dir.c (my_xml_parse_file): g_file_get_contents()
takes gsize, not int
2002-03-29 Havoc Pennington <hp@pobox.com>
* configure.in: 1.1.9
* gconf/gconf-client.c (gconf_client_get_string): clean up some
weird cruft
* gconf/gconf-internals.c (primitive_value): steal the schema,
avoids a copy.
* gconf/gconf-value.h, gconf/gconf-value.c: Hide private fields,
suggested by Michael. But then make them public again
for now due to libgnome/eel being broken.
* configure.in (PKGCONFIG_MODULES): require the right versions of
various things
2002-03-24 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.c (gconf_activate_server): save a bit more
data about the errors that occurred for the error message,
and shorten the message in favor of a link to the new
gconf web page.
2002-03-23 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (gconf_main): change exit timeout to 2 minutes
2002-03-22 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (gconf_set_exception): change "returning
exception" message to DEBUG priority
2002-03-20 Havoc Pennington <hp@pobox.com>
* tests/testpersistence.c: remove the -G_MAXFLOAT test, since
it didn't work and probably shouldn't
* gconf/gconf-internals.c (gconf_double_to_string): use
g_ascii_dtostr()
(gconf_string_to_double): use g_ascii_strtod()
2002-03-21 Havoc Pennington <hp@redhat.com>
* configure.in: fuck, Martin apparently deleted -Wall last March.
* gconf/gconftool.c (main): don't pass unused arg to do_get_default_source
* backends/xml-test.c: include all headers we use
* backends/xml-backend.c (remove_dir): fix unused variable
* backends/xml-dir.c (dir_rescan_subdirs): return a value in all
cases
* gconf/gconf-sanity-check.c (check_gconf): remove unused variables
* gconf/gconfd.c: include sys/wait.h
* gconf/gconf-client.c: remove unused function
2002-03-21 Havoc Pennington <hp@redhat.com>
* backends/xml-entry.c (schema_node_extract_value): be sure
we use only NODE elements as a fallback, and that we
always use a NODE if possible
(schema_node_extract_value): fix bug that would fail to fall back
to a less-well-matched locale value if a better matched locale had
no value. Should fix Galeon. And the world rejoiced! Assuming
it actually fixes it. ;-)
2002-03-21 Havoc Pennington <hp@redhat.com>
* gconf/gconf-schema.c: move schema accessors to be functions not
macros.
2002-03-20 Havoc Pennington <hp@redhat.com>
* gconf/gconf-internals.c
(gconf_value_list_to_primitive_list_destructive): don't call
gconf_value_get_int on a bool. WTF.
* gconf/gconfd.c (main): enable the signal handler for USR1
* backends/xml-dir.c (dir_load_doc): do our own file reading, only
use libxml to parse, so we can return an error on I/O problems
(as opposed to the current behavior, nuking the file contents,
which only makes sense for corrupt files)
2002-03-20 Havoc Pennington <hp@redhat.com>
* gconf/gconf-value.c: change all the "getters" to be functions
not macros, so we can add g_return_if_fail and be typesafe and
generally suck less. Suggested most recently by Jody.
2002-03-19 Havoc Pennington <hp@pobox.com>
* backends/xml-cache.c (dircmp): fix bad assertion reported
by lunarbard on #gnome
2002-03-14 Havoc Pennington <hp@redhat.com>
* gconf/gconf-sanity-check.c (check_gconf): beef up the sanity
checker to detect stuck locks, missing config files, and other
screwups.
2002-03-10 Havoc Pennington <hp@pobox.com>
* gconf/gconf-sources.c (gconf_sources_query_metainfo): fix
obnoxious typo (s/mi/this_mi/), also needed to fix bug
reported by Kristian.
* backends/xml-backend.c (query_metainfo): make key relative prior
to looking up metainfo. Fixes bug where schema defaults would
mysteriously get lost in some cases, reported by Kristian
Rietveld.
2002-03-07 Havoc Pennington <hp@pobox.com>
* backends/xml-test.c: test program for XML backend code
* configure.in: add a "minimum" debug mode and compile with it
by default.
* gconf/gconftool.c (main): call setlocale()
* tests/runtests.sh: run tests in various locales
* gconf/gconf-value.h: add more padding to GConfEntry
* gconf/gconf-internals.c (gconf_CORBA_Object_equal):
(gconf_CORBA_Object_hash): remove stupid inlining of these
functions
2002-02-26 Havoc Pennington <hp@redhat.com>
* gconf/gconf-client.c (notify_one_entry): protect notify callback
with a reference count around the entry, for reentrancy. Reported
by Rodrigo Moya and Alex Larsson.
* gconf/gconf-value.c (gconf_entry_unref, gconf_entry_ref): new
internal (for now) functions
(gconf_entry_free): just call gconf_entry_unref
Sat Feb 16 01:27:29 2002 Jonathan Blandford <jrb@redhat.com>
* gconf/gconftool.c (read_value_type): fix typo in reading args.
2002-02-14 Dave Camp <dave@ximian.com>
* gconf/gconf.c: (gconf_string_to_enum): Use g_ascii_strcasecmp
instead of g_strcasecmp.
* gconf/gconfd.c: (gconf_main), (gconf_main_quit): Replace
g_main_* with g_main_loop_*.
* examples/simple-controller.c: (main): Use g_signal_connect
instead of gtk_signal_connect.
* examples/simple-view.c: (key_changed_callback): Use
gtk_label_set_text instead of gtk_label_set.
2002-02-12 Havoc Pennington <hp@pobox.com>
* configure.in: version 1.1.8
2002-02-10 Jody Goldberg <jody@gnome.org>
* gconf/gconftool.c : Include libxml/globals to get xmlFree
Without it we call a NULL function pointer.
* backends/xml-entry.c : ditto.
2002-02-10 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (signal_handler): run gnome_segv if DISPLAY is
set. Why not. may turn it off for production.
2002-02-10 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (CHECK_OWNER_USE): put name of function in the
warning
(gconf_engine_associate_schema): remove warning from this
function, it has no GConfClient equivalent and won't mangle the
cache
2002-02-10 Zbigniew Chyla <cyba@gnome.pl>
* configure.in (ALL_LINGUAS): Added pl (Polish).
2002-02-08 jacob berkman <jacob@ximian.com>
* gconf.m4.in: revert some stuff i didn't mean to commit
yesterday. Fixes problems when building with DESTDIR set.
2002-02-07 jacob berkman <jacob@ximian.com>
* gconf/Makefile.am (install-exec-local): don't install gconftool
symlink
* gconf.m4.in (AM_GCONF_SOURCE_2): call gconftool-2 rather than
gconftool
2002-02-05 Havoc Pennington <hp@redhat.com>
* gconf/gconf-sanity-check.c (main): add gconf-sanity-check-2 app,
which either exits sucessfully and does nothing, or pops up a
dialog explaining a gconf problem and exits with a failure code.
Could be placed in gnome-session, or at least we can tell users
to run it as a diagnostic tool.
Only catches very simple problems so far.
* configure.in: define XML_AND_GTK_CFLAGS
2002-02-05 Michael Meeks <michael@ximian.com>
* gconf/gconf.h: move (gconf_debug_shutdown) out of
the internals guard - doh.
* gconf/gconf-client.c (gconf_client_get_default):
ensure we still own the reference we keep around.
2002-02-04 Havoc Pennington <hp@redhat.com>
* gconf/Makefile.am (regenerate-built-sources): give up and check
stupid enum sources in to CVS and require manual rebuild.
* configure.in: bump to 1.1.7, do library versioning.
Default bdb backend to disabled, since I don't think
it's being actively used/tested.
* autogen.sh: use automake-1.4 aclocal-1.4 if found
2002-02-02 jacob berkman <jacob@ximian.com>
* gconf/Makefile.am: re-enable explicit dependency on built
sources, as it doesn't build otherwise.
2002-02-01 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am: include the *.sh scripts
* gconf/regenerate-enum-footer.sh: fix screwup that broke build
2002-02-01 Havoc Pennington <hp@redhat.com>
* gconf/Makefile.am: move the complicated enum rules into small
shell scripts (regenerate-enum-*.sh), rename CORBA_SOURCES to
CORBA_SOURCECODE
2002-01-28 Michael Meeks <michael@ximian.com>
* gconf/gconf-database.c: warning cleans.
(impl_ConfigDatabase3_add_listener_with_properties):
init name.
(gconf_database_add_listener): right args for format.
* gconf/gconf-client.c: warning cleans.
* gconf/gconf-internals.c (gconf_orb_release):
return shutdown status.
* gconf/gconf.c (gconf_detach_config_server):
privatize again, and split out ORB shutdown into
(gconf_debug_shutdown): here.
2002-01-25 Michael Meeks <michael@ximian.com>
* gconf/gconf.c (try_to_contact_server): release the
server reference, if it's to a duff object.
(gconf_get_config_listener): strip local 'listener',
since we have a static module global for that.
(gconf_detach_config_server): release the listener.
(gconf_get_config_listener): release the poa & manager
references.
* tests/testgconf.c (main): add
gconf_detach_config_server
* gconf/gconf-internals.c
(gconf_orb_get): remove bonobo activation
worries, kill bogus fiddling with the default
context.
(gconf_orb_release): impl.
* gconf/gconf.c (gconf_detach_config_server):
publicise & destroy engines_by_cb.
(database_rec_release): impl.
(gconf_engine_set_database): use g_hash_table_new_full
(gconf_engine_detach): just remove from the hash.
(try_to_contact_server): release the server reference,
if it's to a duff object.
2002-01-28 Ross Golder <ross@golder.org>
* configure.in: Updated popt URL.
2002-01-27 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am: don't use BUILT_SOURCES, might fix annoying
build problems
(CLEANFILES): put stamp files in CLEANFILES
(s-enum-types-h): make enum stamps depend on Makefile
2002-01-20 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am: add gconf-enum-types.h/gconf-enum-types.c
files, thanks to Johan Dahlin
* gconf-2.0.pc.in (Libs): oops, we had Requires: bonobo-activation
still
2002-01-16 Anders Carlsson <andersca@gnu.org>
* gconf/gconf-client.c (gconf_client_get_full): Plug a leak.
2002-01-14 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_key_is_below): fix to handle root dir
* gconf/gconftool.c (main): add --unapply-schema mode
* gconf/gconf-database.c (impl_ConfigDatabase_set_schema): allow
unset schema if we get an empty schema name
* gconf/gconf.c (gconf_engine_associate_schema): allow NULL
schema name to unset the schema
* gconf/gconftool.c (do_recursive_unset): use new
gconf_engine_recursive_unset internal function to do the unset
* backends/xml-cache.c, backends/xml-dir.c: rearrange things
to try and make directories auto-disappear when empty
* backends/xml-backend.c (remove_dir): make this do nothing
* backends/xml-dir.c (dir_all_subdirs): cache subdir names in the
directory so we can cheaply check if we have subdirectories
* gconf/gconf-sources.c (gconf_sources_set_value): enhance the
other giant error message
* gconf/gconf-internals.c (gconf_activate_server): improve error
message to cover stale locks and explain how to active TCP for
ORBit
* gconf/gconf-sources.c (gconf_sources_recursive_unset): implement
* gconf/gconf.c (gconf_key_check): handle NULL key
* gconf/gconf-sources.c (gconf_sources_set_schema): allow NULL
schema name
* gconf/GConf.idl: add flags to recursive_unset
* gconf/gconf.c (gconf_engine_recursive_unset): Add this internal
API to use in gconftool etc.
2002-01-14 Havoc Pennington <hp@redhat.com>
* gconf/gconf-client.c (gconf_client_get_full): fix segfault on
missing entry
2002-01-12 Havoc Pennington <hp@pobox.com>
* examples/basic-gconf-app.c (main): remove unused variable,
fix from Markus Bertheau
* gconf/gconf-client.c (get): fix to always store the same
semantic thing in the cache, regardless of whether
user wanted the schema default (always pass use_default = TRUE
to GConfEngine)
(gconf_client_key_is_writable): avoid pointless copies if
possible, to make this fast
* gconf/gconf-schema.h: add padding to GConfSchema
* gconf/gconf-value.h: add padding to GConfEntry
* gconf/gconf-value.c (gconf_entry_equal): new internal function
* gconf/gconf-client.c: queue notifies to an idle handler, replace
CacheEntry with GConfEntry
* gconf/gconf-client.h (struct _GConfClientClass): add padding
(struct _GConfClient): add padding
2001-12-11 Havoc Pennington <hp@redhat.com>
* tests/testgconf.c (check_unset): fixes
2002-01-10 Havoc Pennington <hp@pobox.com>
* configure.in: version to 1.1.6
(GCONF_REVISION): increment
2002-01-08 Mark McLoughlin <mark@skynet.ie>
* backends/xml-dir.c:
(struct _Dir): kill unused subdir_cache.
(dir_sync): move incorrect assertion.
2002-01-07 Mark McLoughlin <mark@skynet.ie>
* gconf/gconf-database.c: (gconf_database_new):
* gconf/gconf.c: (gconf_get_config_listener):
* gconf/gconfd.c: (main): no need to explicitly activate CORBA objects,
the RootPOA has the IMPLICIT_ACTIVATION policy.
2002-01-05 Havoc Pennington <hp@pobox.com>
* gconf/gconf-client.c (gconf_client_cache): return bool for
whether the value in the cache changed
(notify_from_server_callback): short-circuit notification if a
value hasn't actually changed. would be better to do this
server-side, but that's a bit complicated for now.
* gconf/gconf-value.c (gconf_value_compare): new function,
internal for now to avoid API addition
* gconf/gconf-client.c (cache_entry_list_destructively): new
static function
(gconf_client_all_entries): cache the requested entries, if
we are monitoring the dir we get the values from.
* gconf/gconf-value.c (gconf_entry_copy): new function, internal
for now to avoid API addition
2002-01-04 Havoc Pennington <hp@pobox.com>
* gconf/gconf-client.c (gconf_client_class_init): add
GCONF_DEBUG_TRACE_CLIENT setting, to debug spew about
what's going on
(gconf_client_real_unreturned_error): also ignore
GCONF_ERROR_NO_WRITABLE_DATABASE since it's typically not
an error to report.
2002-01-04 Havoc Pennington <hp@pobox.com>
* gconf/gconf-client.c (gconf_client_preload): allow preloading
directories that are below directories being monitored, not just
the exact directory being monitored.
2002-01-04 Havoc Pennington <hp@pobox.com>
* gconf/gconf-database.c: support storing names of clients
and new ConfigDatabase3
(client_alive_predicate): fix backward predicate; we were removing
all live clients, and keeping all dead clients. Doh! Doh! Doh!
* gconf/gconf.c (gconf_engine_notify_add): use
add_listener_with_properties if available to send name of client
to the server
* gconf/GConf.idl: put in ConfigDatabase3 with a couple of new
methods, just to make this file more horrible
2002-01-04 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (main): if GCONF_DEBUG_OUTPUT is set,
enable gconf_log_debug_messages
2002-01-03 Havoc Pennington <hp@pobox.com>
* gconf/gconftool.c (main): honor
GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL to do nothing for
--makefile-install-mode
* backends/xml-cache.c (cache_sync): fill in the error if we
return a failure code.
2002-01-03 Havoc Pennington <hp@pobox.com>
* gconf.m4.in: Add quotes to
GCONF_SCHEMA_FILE_DIR='$(sysconfdir)/gconf/schemas' so that "make
install sysconfdir=/foo" will work. May break some conceivable
usage of this variable.
2001-12-22 Duarte Loreto <happyguy_pt@hotmail.com>
* configure.in: Added portuguese (pt) to ALL_LINGUAS
2001-12-17 Havoc Pennington <hp@pobox.com>
* gconf/gconf-listeners.c: reference count the listeners, make a
copy of listener lists and ref all listeners prior to doing the
notifies, to minimize reentrancy screwups.
2001-12-17 Josh Barrow <drleary@mac.com>
* examples/basic-gconf-app.c:
s/GLIB_DISABLE_DEPRECATED/G_DISABLE_DEPRECATED/
2001-12-17 Darin Adler <darin@bentspoon.com>
* doc/gconf/.cvsignore:
* examples/.cvsignore:
Update.
2001-12-11 Havoc Pennington <hp@redhat.com>
* gconf/gconfd.c (drop_old_clients): fix this
* gconf/gconf-database.c (client_alive_predicate): fix spelling in
log message
2001-12-11 Havoc Pennington <hp@redhat.com>
* gconf/gconfd.c (drop_old_clients): use
CORBA_Object_non_existent() instead of ConfigListener_ping
* gconf/gconf-database.c (client_alive_predicate): use
CORBA_Object_non_existent() instead of ConfigListener_ping
2001-12-11 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_engine_get_default): change to not start
gconfd immediately, so we can avoid starting it if
we're just going to shut it down, and just generally do
things lazily.
(gconf_shutdown_daemon): ignore NO_SERVER error code
* backends/xml-dir.c (dir_get_value): always get schema name, not
just if value is unset
* gconf/gconfd.c (main): don't free logname since there are atexit
handlers for now
* gconf/gconf-sources.c (gconf_sources_query_value): don't look
for a default value for the schema. Useless and adds a bit of
inefficiency.
* gconf/gconfd.c (main): set log handler for GLib
(log_handler): mask extra flags out of log level
* gconf/gconf-sources.c (gconf_sources_query_value): Fix this so
Gergo's bug doesn't happen; hope no other semantic gets broken.
* tests/testschemas.c: do some unbreaking, and put in a test that
exposes Gergo's bug (failure to read schema name if a key is set)
* tests/*: put in a big comment saying don't use these as example
code since they are ugly-ass and broken.
Sun Dec 9 18:22:50 2001 Jonathan Blandford <jrb@redhat.com>
* gconf.m4.in: Just when I think I understand the depths of the
bogosity autoconf, something else comes up to impress me.
2001-12-09 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.c (gconf_load_source_path): for fuck's
sake - we've been reading the config source backward forever -
this has never fricking worked. Dammit.
* gconf/gconf-sources.c (gconf_sources_set_value): make huge error
message even more so
(gconf_sources_new_from_addresses): add debug log about config
source writability
2001-12-08 Havoc Pennington <hp@pobox.com>
* gconf/gconf-client.c: fix some warnings
* gconf/gconf-internals.h: try to fix gettext issues
2001-12-08 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.c (gconf_value_validate): take const arg
* gconf/gconf.c: add internal API to check that GConfEngine isn't
being used "underneath" its owning GConfClient, thus causing
cache inconsistencies. Bad hack, yay.
* gconf/gconf-client.c: Use new internal GConfEngine "exclusive
owner" API
(gconf_client_real_unreturned_error):
silently ignore GCONF_ERROR_OVERRIDDEN, because if the system
is "locked down" most apps will probably call gconf_client_set
anyway.
* gconf/gconf-client.h: fix comment to be accurate about how
overlaps are handled
2001-12-06 Havoc Pennington <hp@pobox.com>
* autogen.sh: fix up check for gettext to do glib-gettext instead
* configure.in: add gtk-doc checks and remove --docs-only
since I don't think --docs-only works and don't see how it could.
* doc/gconf/Makefile.am: make makefile use snazzy canonical
gtk-doc makefile from gtk
* doc/gconf/gconf.sgml: make it reflect current reality a bit
more.
* examples/basic-gconf-app.c: Update the example
* examples/complex-gconf-app.c: Move the old basic-gconf-app.c
into here.
* gconf/gconf-listeners.c (gconf_listeners_remove): remove
g_return_if_fail on 0 ID, since that will probably end up
happening from time to time
2001-12-04 Havoc Pennington <hp@redhat.com>
* gconf/gconf-internals.c (open_empty_locked_file): improve error
* gconf/gconftool.c (main): complain about using --config-source
but not --direct
* backends/xml-backend.c (resolve_address): don't try to lock
readonly sources; fixes the case where users install to a prefix
that they can write to, was causing problems for people using
build scripts.
* gconf/gconfd.c (gconf_set_exception): add missing value to case
statement so we don't crash
* examples/basic-gconf-app.c: update comment to say that the
example isn't really right anymore
* gconf/gconftool.c (process_schema_list): make sure we have an
element instead of a text node before we try to process it; kills
a bunch of irritating warnings.
* Makefile.am (SUBDIRS): remove standard-schemas subdir, should
have long ago
2001-12-04 jacob berkman <jacob@ximian.com>
* gconf/Makefile.am: add an explicit dependency on the built files
2001-12-03 Laszlo Peter <laca@ireland.sun.com>
* gconf/gconf-internals.c: oops, s/ulong_t/gulong/
2001-12-03 Laszlo Peter <laca@ireland.sun.com>
* gconf/gconf-internals.c (get_hostname): fix memory alignment
problem on Solaris.
2001-12-02 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.h: put casts in the accessor macros, so they
can accept void pointers. Doh.
2001-11-26 Havoc Pennington <hp@redhat.com>
* configure.in: version to 1.1.5
Tue Nov 20 15:37:58 2001 Owen Taylor <otaylor@redhat.com>
* gconf/gconf-client.c: Remove extraneous gobject/* includes.
2001-11-18 Miles Lane <miles@megapathdsl.net>
* gconf/gconf-client.h: replace include of gobject/gobject.h
with glib-object.h, due to a change in gobject/gobject.h
that forces an #error for all direct includes.
This checkin was approved by Havoc.
2001-10-31 Havoc Pennington <hp@pobox.com>
* configure.in: bump version to 1.1.4, and set revision to 1
* doc/gconf/Makefile.am: fix this
* doc/gconf/gconf.types: update
2001-10-31 Havoc Pennington <hp@pobox.com>
* gconf/gconftool.c: add --recursive-unset command line option
2001-10-31 Zbigniew Chyla <cyba@gnome.pl>
* gconf/gconf-internals.c (gconf_activate_server): Plug leak.
2001-10-30 Frederic Crozat <fcrozat@mandrakesoft.com>
* backends/val-encode.c: add missing headers to remove
some warnings.
2001-10-29 jacob berkman <jacob@ximian.com>
* gconf-editor/gconf-editor.c (main): bind to GETTEXT_PACKAGE
rather than PACKAGE
* autogen.sh: call glib-gettextize
* configure.in: set the GETTEXT_PACKAGE to be more like the gnome
1 one
2001-10-30 Abel Cheung <maddog@linux.org.hk>
* configure.in: When probing for db3, check libdb-3.3, libdb-3.2 and
libdb-3.1 in addition to libdb-3 .
2001-10-16 Ross Golder <ross@golder.org>
* gconf.spec.in: updated installation paths
2001-10-15 Havoc Pennington <hp@redhat.com>
* gconf/gconftool.c (main): don't create config daemon for
--get-default-source
(main): shut down daemon in makefile install mode
2001-10-14 Havoc Pennington <hp@redhat.com>
* configure.in: bump version, increment GCONF_CURRENT
and GCONF_AGE due to API additions
2001-10-13 Jaka Mocnik <jaka@gnu.org>
* configure.in: allow for db3 headers/includes installed in a
strange location.
* backends/Makefile.am: add BDB_CFLAGS to INCLUDES.
2001-10-12 Havoc Pennington <hp@redhat.com>
Merge from stable.
* gconf/gconf.c (gconf_engine_set): check UTF-8 validity here,
instead of at the higher levels
* gconf/gconf-value.c (gconf_value_validate): new internal function
2001-10-12 Havoc Pennington <hp@redhat.com>
Merge from stable.
* tests/testschemas.c (check_schema_storage): add some UTF-8
* tests/testpersistence.c: UTF-8 test
* tests/testgconf.c: add a UTF-8 test
* gconf/gconf.c: UTF-8 checks, and some indentation
* gconf/gconf-schema.c: UTF-8 checks
* gconf/gconf-value.c: add some UTF-8 robustness
2001-10-12 Havoc Pennington <hp@redhat.com>
Merging from stable.
* backends/xml-entry.c (entry_unset_value): don't translate "%s"
* backends/xml-cache.c (cache_sync_foreach): printf string screwup
* backends/xml-backend.c (query_value): fix printf string derived
from untrusted data
(query_value): ditto
* configure.in: ensure we find the right bdb headers, if we find
the library, error if not. Reported by Samuel Stringham
* gconf/gconf-internals.c (gconf_double_to_string): use g_snprintf
not plain snprintf for Solaris 2.5.1 friendliness
* doc/gconf/tmpl/gconf-value.sgml: fix docs to mention that pairs
contain only primitive types; pointed out by Gregory Merchan
* configure.in (BDB_CFLAGS): patch from Nils Philippsen to detect
DB 3.1 if available.
2001-10-11 Havoc Pennington <hp@redhat.com>
* tests/testgconf.c (check_utils): add test for the key
escaper/unescaper thingy
* gconf/gconf.c (gconf_escape_key): new function
(gconf_unescape_key): new function
2001-10-10 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_valid_key): disallow non-ASCII characters
in key names
2001-10-10 Havoc Pennington <hp@redhat.com>
* backends/xml-dir.c (dir_sync): fix to reflect bizarre behavior
of xmlSaveFile() (it tries to unescape the filename as a URI,
resulting in mangling my filename!)
2001-10-04 Havoc Pennington <hp@redhat.com>
* gconf/gconf-internals.c (gconf_release_lock): do wack-ass juju
to avoid .nfs23344534543 files appearing in the lock directory
and causing warnings.
2001-10-04 Havoc Pennington <hp@redhat.com>
* backends/xml-dir.c (dir_fill_cache_from_doc): remove an
extra warning
2001-10-04 Havoc Pennington <hp@redhat.com>
* gconf/gconf-internals.c (open_empty_locked_file): include
strerror in the error message on lock failure
2001-10-01 Michael Meeks <michael@ximian.com>
* gconf/gconf.h: fix deprecated guard.
* gconf/gconf.c (ctable_remove_by_client_id): remove unused.
2001-09-29 Carlos Perello Marin <carlos@gnome-db.org>
* gconf/gconf.h (GCONF_DISABLE_DEPRECATED): closed a comment.
2001-09-28 Havoc Pennington <hp@redhat.com>
* gconf/gconfd.c (main): fix write_byte_fd to always be initialized
* gconf/gconf-internals.c (gconf_get_current_lock_holder): read
IOR file, not directory it's inside
2001-09-26 Havoc Pennington <hp@redhat.com>
* gconf/gconf.h: mark gconf_init() deprecated
* gconf/Makefile.am (INCLUDES): libxml cflags
* gconf/gconf.c (gconf_init): make this a no-op, instead init on
demand.
Merge from stable
* gconf.m4.in: patch from Yanko Kaneti to have AM_GCONF_SOURCE
define a GCONF_SCHEMA_FILE_DIR variable for the directory where
schema files should be installed
* gconf/Makefile.am (install-data-local): don't install oafinfo
* configure.in: don't generate oafinfo
* gconf/gconftool.c (main): remove error message about running
gconfd while installing schemas, instead we'll fail to get a lock.
* gconf/gconfd.c (main): redirect stdin/out/err to /dev/null
instead of just closing them, saves ORBit some confusion
* backends/xml-cache.c (cache_clean): change the "items remain in
cache" message to DEBUG level
* gconf/gconf-internals.c (gconf_get_lock_or_current_holder):
rearrange locking to just use fcntl()
* gconf/gconf.c (gconf_engine_connect): fix error message in
default daemon case
* gconf/gconfd.c (gconf_main): reduce exit-after-unused timeout to
2 minutes
* gconf/Makefile.am (INCLUDES): add -DGCONF_BINDIR
* gconf/gconf-internals.c: delete nanosleep junk
2001-09-27 Havoc Pennington <hp@redhat.com>
* backends/Makefile.am (INCLUDES): srcdir != builddir fixage
* configure.in: increment version for release
(ORBIT_IDL): look for orbit-idl-2 using pkg-config
2001-09-17 Havoc Pennington <hp@redhat.com>
* configure.in: look for orbit-idl-2 not orbit-idl,
add option to explicitly enable/disable bdb backend
2001-09-08 Wang Jian <lark@linux.net.cn>
* configure.in(ALL_LINGUAS): Renamed zh_CN.GB2312 to zh_CN.
2001-08-25 Darin Adler <darin@bentspoon.com>
* backends/Makefile.am:
* examples/Makefile.am:
* gconf-editor/Makefile.am:
* tests/Makefile.am:
* wrappers/guile/Makefile.am:
Got rid of extra unneeded -I directives.
* examples/basic-gconf-app.c:
* examples/simple-controller.c:
* examples/simple-view.c:
Changed includes to use the normal <gconf/*> format, because
that is both better for examples, and works fine when building
gconf too, without any special -I trickery.
2001-08-19 Jesus Bravo Alvarez <jba@pobox.com>
* configure.in: Added gl (Galician) to ALL_LINGUAS.
2001-08-17 Maciej Stachowiak <mjs@noisehavoc.org>
* gconf/gconf-internals.c: (gconf_handle_oaf_exception): Handle
rename for ParseFailed exception.
2001-08-15 Havoc Pennington <hp@redhat.com>
Merge from stable.
* backends/xml-backend.c (x_shutdown): ditto
(resolve_address): ditto
* backends/bdb-backend.c (vtable_bdb_shutdown): ditto
(vtable_bdb_resolve_address): ditto
* gconf/gconf-internals.c (gconf_load_source_path): ditto
* gconf/gconfd.c (gconf_server_load_sources): change to DEBUG
level
* backends/xml-backend.c (g_module_check_init): change a log
message to DEBUG level
2001-08-14 Michael Meeks <michael@ximian.com>
* configure.in: depend on bonobo-activation >= 0.9.1
* gconf/Makefile.am: Update to install GNOME_Config.server.
* configure.in: update to GNOME_Config.server
* gconf/Makefile.am (-DIID): rename to GNOME_Config_Daemon
to fit with the bonobo namespace guidelines.
* gconf/GNOME_Config.server.in: update & indent.
2001-08-13 Marco Pesenti Gritti <mpeseng@tin.it>
* doc/gconf/gconf.sgml: small explanation about
AM_GCONF_SOURCE_2 macro
2001-08-13 Havoc Pennington <hp@redhat.com>
Merge from stable.
* gconf/gconf-internals.c (gconf_load_source_path): patch from
Adam Spiers to honor variables in include lines
* gconf/gconf-database.c (notify_listeners_cb):
indentation/whitespace changes
* backends/xml-entry.c (entry_fill_from_node): Only print a
warning if there's no schema name. Avoids spurious warnings
on nodes that only have a schema name.
2001-08-13 Michael Meeks <michael@ximian.com>
* gconf/gconf-internals.c: remove nano_sleep; it's unused.
* configure.in: remove nanosleep check.
2001-08-07 Marco Pesenti Gritti <mpeseng@tin.it>
* configure.in: remove the chmod on gconf-config,
the file has been removed
* gconf.m4.in: rename AM_GCONF_SOURCE to AM_GCONF_SOURCE_2
to not break parallel installs
2001-08-07 Marco Pesenti Gritti <mpeseng@tin.it>
* gconf/gconf.m4.in: remove duplicate macro
2001-08-07 Marco Pesenti Gritti <mpeseng@tin.it>
* gconf/gconf.m4.in: New file. GCONF_SCHEMA_CONFIG_SOURCE macro
* configure.in: add gconf.m4 to AC_OUTPUT
* Makefile.am: add gconf.m4 to EXTRA_DIST and install-data-local
Setup a default gconf source on make install.
* galeon.spec.in: Distribute also the path file and
the directories for the default source.
* gconf/Makefile.am: install the default path as "path" instead
of "path.example". Add GCONF_ETCDIR define.
* gconf/gconftool.c: Add --get-default-source option.
2001-08-03 Martin Baulig <baulig@suse.de>
* gconf/gconfd.oafinfo.in: Renamed -> gconfd.server.in.
* Makefile.am: Install gconfd.server into the correct dir
for bonobo-activation.
2001-08-03 Abel Cheung <maddog@linux.org.hk>
* configure.in: Added "zh_CN.GB2312" to ALL_LINGUAS.
2001-08-02 Havoc Pennington <hp@pobox.com>
* configure.in: version 1.1.1
* autogen.sh: don't search for subdirs to autogen, that's just
annoying if you have a make dist directory laying around
2001-08-01 Michael Meeks <michael@ximian.com>
* port to bonobo-activation from oaf.
2001-07-28 Yanko Kaneti <yaneti@declera.com>
* gconf/gconftool.c (main): s/all-pairs/all-entries/ in the error
messages
2001-07-24 Darin Adler <darin@bentspoon.com>
Merge from stable.
* acinclude.m4: Set BUILD_INCLUDED_LIBINTL for compatibility
with newer versions of gettext.
2001-07-23 Havoc Pennington <hp@redhat.com>
Merge from stable.
* gconf/gconfd.c (main): don't warn about failure to create
~/.gconfd if EEXIST
* gconf/gconf.c (gconf_engine_all_entries): convert empty string
to NULL
* gconf/gconf-database.c
(impl_ConfigDatabase2_all_entries_with_schema_name): don't give
ORBit any NULL strings in the array, avoids a core dump
* gconf/gconftool.c (list_pairs_in_dir): put a newline after the
error message
2001-07-16 Havoc Pennington <hp@redhat.com>
Merge from stable.
* gconf/gconfd.c (main): add super-lame hack to
pass currently-running gconfd to oafd if oafd has lamely leaked it
due to lame-assness
* gconf/gconf-internals.c (gconf_get_lock): fix leak of object
reference belonging to server that held the lock
(gconf_get_lock_or_current_holder): add function to get current
owner of a lock
* gconf/GConf.idl: add subclass of ConfigDatabase for some
exciting new hacky functions.
So an extensible IDL interface would probably have simply passed
XML messages. But then what's the point of an IDL interface, if
it's just going to be parse_string() get_string()? Hmm. Cosmic
question. ;-)
* gconf/gconf.c (try_to_contact_server): make the error on
OAF-did-not-set-exception really, really verbose, and explicitly
say "do not file a GConf bug report." But with fixed OAF this
shouldn't happen anymore anyhow.
* gconf/gconf-sources.c (gconf_sources_set_value): lengthy verbose
error message about possible causes of lack of a config database.
But my lame-ass hack above should keep this from happening so
much.
2001-07-18 Anders Carlsson <andersca@gnome.org>
* configure.in: Remove gconf-config and gconf.m4 from AC_OUTPUT
2001-07-17 Anders Carlsson <andersca@gnome.org>
* Makefile.am: Remove gconf-config and gconf.m4 from EXTRA_DIST
and do not try to install them.
* gconf.m4.in: Remove this file.
* gconf-config.in: Remove this file.
2001-07-17 Darin Adler <darin@bentspoon.com>
* gconf/gconf.c: (gconf_postinit):
Let CORBA generate the ID instead of providing one ourselves.
2001-07-17 Laszlo Peter <laca@ireland.sun.com>
* gconf/Makefile.am: remove the -Wno-unused flag; not portable.
2001-07-14 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Added "nn" to ALL_LINGUAS.
2001-07-13 Darin Adler <darin@bentspoon.com>
Fix a bunch of warnings.
* backends/bdb-backend.c: (vtable_bdb_set_value): Add const.
* backends/bdb.c: (bdb_put_value): Add const.
* backends/bdb.h: Add const.
* backends/val-encode.c: (bdb_serialize_value): Add const.
* backends/val-encode.h: Add const.
* backends/xml-backend.c: (set_value): Add const.
* backends/xml-dir.c: (dir_set_value): Add const.
* backends/xml-dir.h: Add const.
* backends/xml-entry.h: Add const.
* gconf/gconf-backend.c: (gconf_get_backend): Add const.
* gconf/gconf-backend.h: Add const.
* gconf/gconf-internals.c: (fill_corba_value_from_gconf_value),
(corba_value_from_gconf_value),
(fill_corba_schema_from_gconf_schema),
(corba_schema_from_gconf_schema): Add const.
* gconf/gconf-internals.h: Add const.
* gconf/gconf-sources.c: (gconf_source_set_value),
(gconf_sources_set_value): Add const.
* gconf/gconf-sources.h: Add const.
* gconf/gconf.c: (gconf_engine_set): Add const.
* gconf/gconf.h: Add const.
* gconf/gconf-value.h:
* gconf/gconf-value.c: (gconf_value_set_list): Remove const,
because const GSList * doesn't do anything useful.
* backends/xml-entry.c: (entry_get_value), (entry_set_value),
(entry_sync_if_needed), (entry_fill_from_node): Got rid of
unused GValue * parameter to entry_sync_if_needed. Also, add
const in one place.
* gconf/gconftool.c: (main): Add cast.
2001-07-07 Peter Williams <peter@beta.newton.cx>
* backends/bdb*: s,uint32_t,guint32,g
2001-07-11 Michael Meeks <michael@ximian.com>
* gconf/Makefile.am (CLEANFILES): add stamps so we can
clean & make.
2001-07-03 Michael Meeks <michael@ximian.com>
* configure.in: add ORBIT_IDL check.
2001-07-02 Carlos Perello Marin <carlos@gnome-db.org>
* gconf/gconf-client.c: /s/g_signal_newc/g_signal_new to reflect
the changes at glib2 module. Now It compiles.
2001-06-29 Laszlo Peter <laca@ireland.sun.com>
* gconf/Makefile.am: Fix the marshaller rules to avoid looping.
2001-06-20 Peter Williams <peterw@ximian.com>
* configure.in (ACLOCAL): Save flags to aclocal -- life
easier when configure.in changes.
2001-06-15 Havoc Pennington <hp@redhat.com>
* configure.in: remove library versioning for
no-longer-existing gconf-gtk lib and Guile wrapper
2001-06-01 Peter Williams <peterw@ximian.com>
* configure.in: Check if DB3 headers are in db3/db.h as well.
* acconfig.h: Add HAVE_DB3_DB_H
* backends/bdb.c: #include config.h to get HAVE_DB3_DB_H
* backends/bdb.h: Include the proper db.h
2001-05-11 Tomas O Connor <tomas.oconnor@ireland.sun.com>
* gconf/gconf-internals.h, gconf/gconf-value.h: move
gconf_value_new_from_string to make it a public API
2001-05-11 Havoc Pennington <hp@redhat.com>
Merge from stable.
* gconf/gconfd.c (signal_handler): on SIGUSR1, enable/disable
debug spew.
* gconf/gconf-internals.c (gconf_log): use a runtime variable to
decide whether to log debug messages
* gconf/gconf-database.c, gconf/gconfd.c, gconf/gconf-internals.c:
Change some GCL_WARNING to GCL_DEBUG to chill out logging of
fairly normal events
2001-05-09 Havoc Pennington <hp@redhat.com>
* gconf/Makefile.am: remove testgconfclient from build, should
now be made nongraphical and stuck in tests/
* Makefile.am (SUBDIRS): remove "wrappers" from subdirs
* configure.in: remove Guile cruft, fix up pkg-config usage
* acinclude.m4: Use the pkg-config macros, remove gnome-common
dependency. Requires CVS pkg-config, need a pkg-config release.
(Since OAF doesn't build against ORBit1 anyway, I figured why not
check this in too...)
2001-04-28 Murray Cumming <murrayc@usa.net>
* gconf/gconf-client.c, gconf/gconf-client.h,
gconf/gconf-schema.c, gconf/gconf-schema.h,
gconf/gconf-value.c, gconf/gconf-value.h,
gconf/gconf.c, gconf/gconf.h: Use of const with function
args. e.g. gconf_value_copy(const GConfValue* src).
2001-04-17 Michael Meeks <michael@ximian.com>
* gconf/Makefile.am (dist-hook): don't distribute built
sources.
Wed Apr 11 08:07:11 2001 George Lebl <jirka@5z.com>
* gconf/gconf.c (gconf_engine_unref): If unreffing the default engine
set the default_engine pointer to NULL
2001-04-02 Federico Mena Quintero <federico@ximian.com>
* acinclude.m4: "sourceforge.net", not "sourceforce.net".
2001-03-24 Anders Carlsson <andersca@gnu.org>
* configure.in (REBUILD): Add gconf-2.0.pc to AC_OUTPUT files.
2001-03-23 Marius Andreiana <mandreiana@yahoo.com>
* configure.in: Added ro (Romanian) to ALL_LINGUAS
2001-03-18 Martin Baulig <baulig@suse.de>
* gconf/gthreadpool.[ch]: Removed.
* gconf/gconf-glib-private.h: Removed.
* gconf/gconf-glib-public.h: Removed.
* gconf/gconf-client.[ch]: Moved here from wrappers/gtk/
and migrated to use GObject.
* gconf/testgconfclient.c: Moved here from wrappers/gtk/.
* gconf/gconf-internals.h
(gconf_CORBA_Object_hash, gconf_CORBA_Object_equal):
New static inline functions.
* gconf/gconfmarshal.list: New file.
* gconf/gconftool.c: Use libxml 2.
* backends/xml-backend.c, backends/xml-cache.h,
backends/xml-dir.c, backends/xml-dir.h,
backends/xml-entry.c, backends/xml-entry.h: Use libxml 2.
* wrappers/gtk/*: Moved to gconf/.
2001-03-18 Martin Baulig <baulig@suse.de>
We're now on the GNOME 2.0 platform.
* configure.in: Set MAJOR_VERSION to 2, use pkg-config to
check for stuff; GTK+ is now optional and only used for
the examples; depend on ORBit2.
* acinclude.m4: Add the contents of
gnome-common/macros2/gnome-pkgconfig.m4 here.
* Makefile.am: Install gconf-2.0.pc.
* gconf-2.0.pc.in: New file.
2001-03-13 Kjartan Maraas <kmaraas@gnome.org>
* backends/xml-entry.c: Merge from branch. Use xmlFree().
* gconf/gconftool.c: Merge from branch. Use xmlFree() and
don't free until after referencing stuff.
2001-03-12 Timur Bakeyev <timur@gnu.org>
* Makefile.am: Made warning printing a bit nicer.
2001-03-06 Havoc Pennington <hp@redhat.com>
Merge from stable.
* gconf/gconfd.c (gconf_main): change the periodic timeout to 15
minutes, to be a bit more aggressive about cleanup.
(open_append_handle): add a timeout to close the
saved_state filehandle after a short time, to avoid keeping
descriptors open.
(gconfd_need_log_cleanup): new internal function used to control
whether the periodic cleanup function needs to save a log file
2001-02-27 Havoc Pennington <hp@redhat.com>
* gconf.spec.in: %define prefix %{_prefix} instead of @prefix@
2001-02-27 Havoc Pennington <hp@redhat.com>
Merge from stable.
* gconf/gconfd.c (main): Close stdin/stdout/stderr. Also, set the
log handler, so we don't need stdout/stderr to see GLib messages,
they go to syslog.
* gconf/Makefile.am (INCLUDES): set the log domain
* gconf/gconftool.c (recurse_subdir_list): the list contains full
directory paths to start with, fix from Colm
* gconf/gconfd.c (register_database): bugfix from Colm
* gconf/gconf.c (lookup_engine): fix from Colm to check that we
have an engines hash
(gconf_engine_get_for_address): improve warning message, fix from
Colm
(gconf_engine_remove_dir): new function from Colm, this was
implemented on the server side but somehow never exported.
* gconf/gconf-database.c (gconf_database_get_persistent_name): Fix
from Colm to handle the case of empty databases (no sources).
2001-02-05 Havoc Pennington <hp@redhat.com>
File permissions fixes, problem pointed out by Steve Fox.
* backends/xml-dir.c (dir_sync): chmod() the XML file after
xmlSaveFile creates it
* gconf/gconfd.c (main): following Stevens advice for daemons, we
were calling umask(0), change to umask(022). We need a predictable
umask, but a safer one would be good since this is a per-user
daemon not a system daemon.
* backends/dir-utils.c (mode_t_to_mode): make this more portable,
for paranoia
* backends/xml-dir.c (dir_load): We were getting directory
permissions from the %gconf.xml file, instead of from the XML root
directory. Fix.
2001-01-23 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* configure.in: Add 'sk' to ALL_LINGUAS
2001-01-21 Havoc Pennington <hp@pobox.com>
* configure.in: change version to 1.1
Sync from stable
* backends/xml-entry.c (schema_subnode_extract_data): don't warn
about <local_schema> with no locale field, because that's normal
for the default case
(schema_node_extract_value): use <local_schema> with no locale
if it exists and we don't find anything better
* tests/testschemas.c (check_schema_use): fix indentation and mem
leaks
* gconf/gconftool.c (do_get): print default value from schema
2000-12-19 Rebecca Schulman <rebecka@eazel.com>
* gconf/gconfd.c: (gconf_server_load_sources):
Added a return value to a g_slist_append that would
cause a segfault in some cases.
Fri Dec 01 00:54:33 2000 George Lebl <jirka@5z.com>
* gconf/gconf-locale.c (gconf_split_locale): When inserting "C"
into a list, dup it first to avoid a possible crash later.
2000-11-30 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_engine_unset): Fix dereference of NULL GError**
2000-11-20 Havoc Pennington <hp@redhat.com>
* doc/gconf/Makefile.am: Fix "make scan" to actually work, so
you can build the docs
2000-11-11 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.c (gconf_entry_set_is_writable): Add this
function
2000-11-05 Havoc Pennington <hp@pobox.com>
* gconf/gconf-glib.c, gconf/gconf-glib-private.h: Remove the
GMarkup and Unicode stuff, turned out to be unnecessary.
Left only GError.
2000-11-05 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (parse_listener_entry): fix strtoul error
checking
* gconf/gconf-internals.c (gconf_string_to_gulong): Fix error
checking on strtoul
2000-11-05 Havoc Pennington <hp@pobox.com>
* gconf/gconf-glib.c (g_propagate_error): Sync from GLib,
should fix one very minor memory leak in GConf
2000-10-31 Almer S. Tigelaar <almer1@dds.nl>
* configure.in: Add 'nl' to ALL_LINGUAS
2000-10-26 Havoc Pennington <hp@pobox.com>
* configure.in: Bump version to 0.11
2000-10-25 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c: remove get_nocopy, since it can't
be implemented since we don't cache everything. Oops.
2000-10-16 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c
(gconf_client_real_unreturned_error): implement default error
handler that prints to stderr
(gconf_client_key_is_writable): hmm, this function didn't compile
very cleanly
* wrappers/gtk/gconf-client.h: Remove the ParentWindowFunc
concept. Two reasons: a) it was really hard for users to implement
such a thing, and if they did then implementing an error dialog
function was pretty trivial also b) decided to make the default
error handler use fprintf(stderr) since GConfClient is going to
move into the main GConf library and thus not depend on GTK.
So, this is mild API breakage (but hopefully no one was using the
feature anyway).
2000-10-10 Christophe Merlet <christophe@merlet.net>
* backends/Makefile.am: Added README.bdb in EXTRA_DIST.
* gconf/gconf-glib.c: Corrected mispelling string.
2000-10-10 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.c (gconf_value_to_string): fix segfault when
pair contains unset car or cdr
(gconf_value_set_car): allow setting car or cdr of a pair to
NULL. I'm not sure if this is the normal thing in the code
right now, but, hmm.
* gconf/gconf-sources.c (gconf_sources_all_entries): fix
cut-and-paste error resulting in NULL pointer dereference.
2000-10-08 Havoc Pennington <hp@pobox.com>
gconfd should now exit when not in use.
* gconf/gconf-database.c (gconf_database_drop_dead_listeners):
function to drop any listeners with dead clients.
* gconf/gconfd.c (drop_old_databases): before checking
whether the listener count is 0, clean up listeners belonging
to dead clients.
* gconf/gconf-listeners.c (gconf_listeners_remove_if): New
function removes listeners matching some predicate
(ltable_remove): fix some indentation
2000-10-08 Havoc Pennington <hp@pobox.com>
* configure.in: version to 0.10
2000-10-06 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c: indentation/formatting
* gconf/gconfd.c (parse_listener_entry): extra paranoia error
check. Also, make log messages level DEBUG, not WARNING.
2000-10-06 Havoc Pennington <hp@pobox.com>
* configure.in: check for flockfile.
Check for BDB, but don't make it fatal; do an AM_CONDITIONAL and
don't build the BDB backend if it's not found.
* gconf/gconfd.c (main): unregister with OAF after all shutdown is
complete.
(signal_handler): do the full, clean shutdown on SIGTERM; should
reduce the damage caused by those pesky killall gconfd scripts ;-)
Try to do the same on FPE and PIPE, though it's not likely to
work, it doesn't hurt to try.
(logfile_read): rewrite the logfile reading code; somewhat more
robust, possibly.
* gconf/gconf-database.c, gconf/gconfd.c: Make all CORBA
implementation return immediately with an error if we're currently
shutting down. We'd just unregister with OAF, or deactivate our
objects, but then another gconfd would start up before we finish
cleaning up our stuff and introduce a mess of race
conditions. Instead clients will automatically retry lots of times
if they get the IN_SHUTDOWN error. Actually this possibly
shouldn't even happen, since we aren't normally in the main loop
once we start to shut down, I don't think - not sure.
* gconf/gconfd.c (gconf_set_exception): add ConfigInShutdown
* gconf/GConf.idl: add ConfigInShutdown error
* gconf/gconf.c (corba_errno_to_gconf_errno): add ConfigInShutdown
* gconf/gconf-error.h: two error codes had the same integer value.
Also, add GCONF_ERROR_IN_SHUTDOWN
* gconf/gconfd.c (gconfd_in_shutdown): Add a flag
to indicate we're shutting down; all operations will
return an error at that point.
* gconf/gconf.c (gconf_server_broken): treat ConfigInShutdown
as a broken server.
2000-10-06 Colm Smyth <colm.smyth@sun.com>
* Committed BerkeleyDB back-end:-
backends/bdb.c backends/bdb.h backends/bdb-backend.c
backends/val-encode.c backends/val-encode.h
backends/dir-utils.c backends/dir-utils.h backends/README.bdb
* Changes to make GConf build with an ISO C compiler:-
configure.in backends/Makefile.am backends/xml-cache.c
gconf/gconf-database.c gconf/gconf-sources.c gconf/gconfd.c
tests/testchangeset.c tests/testencode.c tests/testgconf.c
tests/testlisteners.c tests/testpersistence.c
tests/testschemas.c
2000-10-03 Robin * Slomkowski <rslomkow@eazel.com>
* gconf.spec.in:/etc/etc is not a directory
OK I am less foolish now
2000-10-03 Robin * Slomkowski <rslomkow@eazel.com>
* gconf.spec.in: updated the spec file again
if you are interested we are trying to track it
http://tinderbox.eazel.com
2000-10-03 Havoc Pennington <hp@redhat.com>
* gconf/gconfd.c (close_append_handle): set invalid FILE* to
NULL afterward, avoid segfaults.
* Makefile.am: add install-schemas target here which recurses
into standard-schemas and runs install-schemas
* standard-schemas/Makefile.am (install-schemas): Move schema
installation to a special target install-schemas which must be
run manually _after_ make install. This should resolve problems
people are having with RPMs and such. However it means spec files
have to explicitly add a 'make install-schemas'
2000-09-29 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (drop_all_caches): don't spew warnings here for
now.
(invalidate_cached_values): no spew
(update_listener): remove more spew
2000-09-29 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (ctable_reinstall): we were overwriting the hash
key before trying to remove the old server ID from the hash, so
the removal failed, leading to an assertion failure later (this
hopefully fixes one of the bugs reported by Ramiro, if not then
I'll keep looking)
2000-09-26 Havoc Pennington <hp@pobox.com>
* gconf/gconf-locale.c (gconf_locale_cache_expire): fix a
static initialization with non-const value
2000-09-25 Havoc Pennington <hp@pobox.com>
Bug fixes and portability issues reported by Colm Smyth
* gconf/gconf-sources.c (gconf_sources_query_value): fix NULL
pointer dereference
* s/__FUNCTION__/G_GNUC_FUNCTION/g;
* configure.in: Add check for GCC before using -Wall (can't
believe no one has _ever_ tried building GConf without gcc,
but it appears so...)
* gconf/gconftool.c: use N_ not _ with static strings.
* tests/testschemas.c: Don't include locale.h
* gconf/gconf-internals.h: Remove some of the #defines from
the non-ENABLE_NLS case.
2000-09-24 Havoc Pennington <hp@pobox.com>
* NEWS: Put release notes for 0.9 in here.
2000-09-24 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (gconf_main): With debugging turned on, use
obscenely short timeout for periodic cleanups, to ensure bugs
get triggered.
* gconf/gconf-database.c (impl_ConfigDatabase_all_dirs): Set
_release to TRUE for sequences
(impl_ConfigDatabase_all_entries): ditto
* gconf/gconfd.c (half_hour_timeout): exit only if client count is
0 after dropping all dead clients.
* gconf/gconf-database.c (impl_ConfigDatabase_all_dirs): Don't
put memory in the out param if we set an exception
(impl_ConfigDatabase_all_entries): Ditto
* backends/xml-dir.c (dir_all_subdirs): Fix a memory leak
* gconf/gconfd.c: Implement client list logging
* gconf/gconf.c: Add self to the server's client list
whenever we get a new server objref
2000-09-23 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c: Implement add/remove client methods;
still need to log these to disk, and on restart tell the
logged clients to drop their caches.
* gconf/GConf.idl: Add methods on ConfigServer to maintain
a list of active clients; this allows us to invalidate client
caches on daemon restart.
2000-09-21 Havoc Pennington <hp@pobox.com>
* configure.in: remove intl/Makefile
* Makefile.am: remove intl subdir
2000-09-17 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c: Update to reflect IDL change
* gconf/GConf.idl: Change invalidate_cached_values() to take
multiple keys to invalidate; better efficiency that way
2000-09-17 Havoc Pennington <hp@pobox.com>
* gconf/gconf-database.c: Add new methods on ConfigDatabase
* gconf/gconf.c: Add new methods on ConfigListener, but they
do nothing at the moment
* gconf/GConf.idl: Add some methods to ConfigListener to tell
clients when they need to drop cached values Add batch_lookup()
and batch_change() methods to ConfigDatabase so we can implement
them later
2000-09-16 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_engine_key_is_writable): And actually
implement it here. Doh.
* wrappers/gtk/gconf-client.c (gconf_client_key_is_writable): Gee,
forgot to actually implement this function after implementing all
the backend work for it...
* gconf/gconf.c (corba_errno_to_gconf_errno): add
NO_WRITABLE_DATABASE handling here also
* gconf/gconfd.c (gconf_set_exception): handle
NO_WRITABLE_DATABASE error
* gconf/GConf.idl: Add NoWritableDatabase to error type enum
* wrappers/gtk/testgconfclient.c (entry_attached_to): Update
to properly handle writability
* examples/simple-controller.c (main): set entry sensitivity
properly
* examples/basic-gconf-app.c (main): Remove ref/sink and destroy,
just use plain refcounting
(create_config_entry): Set entry sensitivity according to key
writability
* wrappers/gtk/gconf-client.c (gconf_client_finalize): Move all
cleanup to finalize, remove destroy handler
2000-09-16 Havoc Pennington <hp@pobox.com>
* doc/gconf/tmpl/gconf-value.sgml: Update some docs
* wrappers/gtk/gconf-client.c (notify_listeners_callback): Update
to reflect new callback signature for GConfClientNotifyFunc
* gconf/gconf-sources.c (gconf_sources_set_value): Make it an
error to if we try to write a value for a non-writable source.
This is new; it used to silently fail.
* gconf/gconf-database.c (gconf_database_notify_listeners): Add
is_writable here
* gconf/GConf.idl: Add writable flag to notification
* gconf/gconf.h: Update GConfNotifyFunc to have fewer args, and
a GConfEntry is just passed in (since I was going to have
to add an is_writable arg, and passing in a GConfEntry
gives us future extensibility against this sort of thing)
BREAKS USER CODE, many apologies.
* wrappers/gtk/gconf-client.c (gconf_client_get_entry): Update
to reflect GConfEngine changes
* gconf/gconf.c (gconf_engine_all_entries): Get the writability
stuff
(gconf_engine_get_full): rename to gconf_value_get_entry
and return an entry; drop the is_default argument.
* gconf/gconf-sources.c (gconf_sources_query_value): Implement
finding out if a value is writable
(gconf_sources_all_entries): Implement setting is_writable
flag on the entries
* gconf/gconf-value.c (gconf_entry_new_nocopy): Default to
the entry being writable
* gconf/gconf-database.c: Change to match IDL changes
* gconf/GConf.idl (lookup_with_locale): Add out param for
writability
(all_entries): Add out param for writability
* gconf/gconf-value.h: Add is_writable field to GConfEntry
(gconf_entry_get_is_writable): Add this
* wrappers/gtk/gconf-client.c (gconf_client_key_is_writable): Add
the matching stub here
* gconf/gconf.c (gconf_engine_key_is_writable): Go ahead and add
this function so we can implement it later, but it always returns
TRUE at the moment.
* gconf/gconf-changeset.c (gconf_change_set_set_user_data,
gconf_change_set_get_user_data): Add user data for language
bindings
* gconf/gconf.c (gconf_engine_set_user_data,
gconf_engine_get_user_data): Add user data for language
bindings
2000-09-15 Havoc Pennington <hp@redhat.com>
* s/gconf_concat_key_and_dir/gconf_concat_dir_and_key/g
2000-09-14 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_engine_all_dirs): Update to
return fully qualified name in GConfEntry
(gconf_engine_all_entries): missed the local case
earlier when adapting it to use fully-qualified name
* acinclude.m4: Add never-use-included-gettext macro
* configure.in: Bump version to 0.9
2000-09-14 Darin Adler <darin@eazel.com>
* backends/xml-dir.c: (dir_load): Fixed code that set up file mode
to always be 0600 to instead inherit from parent directory as
intended.
* gconf/gconf-sources.c: (gconf_sources_new_from_addresses):
Removed unused variable.
* tests/.cvsignore: Added some generated files.
2000-09-13 Havoc Pennington <hp@redhat.com>
* More renaming:
s/gconf_meta_info_schema/gconf_meta_info_get_schema/g;
s/gconf_meta_info_mod_user/gconf_meta_info_get_mod_user/g;
s/gconf_meta_info_mod_time/gconf_meta_info_mod_time/g;
s/gconf_entry_key/gconf_entry_get_key/g;
s/gconf_entry_value/gconf_entry_get_value/g;
s/gconf_entry_schema_name/gconf_entry_get_schema_name/g;
s/gconf_entry_is_default/gconf_entry_get_is_default/g;
s/gconf_value_string/gconf_value_get_string/g;
s/gconf_value_int/gconf_value_get_int/g;
s/gconf_value_float/gconf_value_get_float/g;
s/gconf_value_list_type/gconf_value_get_list_type/g;
s/gconf_value_list/gconf_value_get_list/g;
s/gconf_value_car/gconf_value_get_car/g;
s/gconf_value_cdr/gconf_value_get_cdr/g;
s/gconf_value_bool/gconf_value_get_bool/g;
s/gconf_value_schema/gconf_value_get_schema/g;
s/gconf_schema_type/gconf_schema_get_type/g;
s/gconf_schema_list_type/gconf_schema_get_list_type/g;
s/gconf_schema_car_type/gconf_schema_get_car_type/g;
s/gconf_schema_cdr_type/gconf_schema_get_cdr_type/g;
s/gconf_schema_locale/gconf_schema_get_locale/g;
s/gconf_schema_short_desc/gconf_schema_get_short_desc/g;
s/gconf_schema_long_desc/gconf_schema_get_long_desc/g;
s/gconf_schema_owner/gconf_schema_get_owner/g;
s/gconf_schema_default_value/gconf_schema_get_default_value/g;
2000-09-13 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_engine_all_entries): Put full key in
GConfEntry (but we only get the relative key over the
CORBA wire)
* wrappers/gtk/gconf-client.c (cache_pairs_in_dir): Change to
reflect fact that GConfEntry now contains full key
* gconf/gconftool.c (list_pairs_in_dir): Change to reflect full
key in GConfEntry
* doc/gconf/tmpl/gconf-value.sgml: updated GConfEntry docs on this
matter.
2000-09-11 Havoc Pennington <hp@redhat.com>
* Actually use gettext. Involves checking in configure.in, linking
to it in Makefile.am, making _() do the right thing.
I have gettext in libc instead of -lintl though, so I'm not going
to see Makefile bugs - maybe someone can check on it.
2000-09-10 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.c (gconf_entry_new): New function
(gconf_entry_set_value): New function
2000-09-10 Havoc Pennington <hp@pobox.com>
* Another rename fest:
#!/usr/bin/perl -pi.bak
## note that this regexp could affect non-GConf stuff
s/writeable/writable/g;
s/gconf_meta_info_destroy/gconf_meta_info_free/g;
s/gconf_database_destroy/gconf_database_free/g;
s/gconf_source_destroy/gconf_source_free/g;
s/gconf_sources_destroy/gconf_sources_free/g;
s/gconf_locale_cache_destroy/gconf_locale_cache_free/g;
2000-09-10 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.c (gconf_value_new): don't use
GCONF_INTERNAL_VALUE_TYPE_VALID
* gconf/gconf-internals.h, gconf/gconf-error.h:
(gconf_error_new)
(gconf_set_error)
(gconf_compose_errors):
Move these to gconf-internals.h, now they aren't needed due
to GError
* gconf/gconf.c: Get rid of GConfEnginePrivate, just define struct
_GConfEngine in the private .c file, like a sane person.
* gconf/gconf-value.h: remove GCONF_INTERNAL_VALUE_TYPE_VALID
* gconf/gconf.h: #ifdef the GNOME module system and popt stuff for
GNOME 1.4. This stuff is tied to GNOME 2.0 and still unstable in
that respect; should not be used before GNOME 2.0
(gconf_get_string): forgot to rename this earlier
2000-09-09 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (half_hour_timeout): Convert one_hour_timeout to
half_hour_timeout() to more agressively prune resources. In the
half hour timeout, if we have no connected listeners on any
database, shut down gconfd. (We might want to make the timeout
length configurable; and for laptops people might not want any
timeouts at all, since it will wake up their laptop.)
(fast_cleanup): Remove comment about getting incoming connections
after shutting things down; this is no longer a problem because
we deactivate databases in the POA
2000-09-09 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am (libgconf_1_la_SOURCES): Move gconf-backend.h
here, I don't see why it was in the public headers
Throughout, rename a bunch of stuff:
#!/usr/bin/perl -pi.bak
s/gconf_notify_add/gconf_engine_notify_add/g;
s/gconf_notify_remove/gconf_engine_notify_remove/g;
s/gconf_get_without_default/gconf_engine_get_without_default/g;
s/gconf_get_full/gconf_engine_get_full/g;
s/gconf_get_with_locale/gconf_engine_get_with_locale/g;
s/gconf_get_default_from_schema/gconf_engine_get_default_from_schema/g;
s/gconf_unset/gconf_engine_unset/g;
s/gconf_associate_schema/gconf_engine_associate_schema/g;
s/gconf_all_entries/gconf_engine_all_entries/g;
s/gconf_all_dirs/gconf_engine_all_dirs/g;
s/gconf_suggest_sync/gconf_engine_suggest_sync/g;
s/gconf_dir_exists/gconf_engine_dir_exists/g;
s/gconf_get_float/gconf_engine_get_float/g;
s/gconf_get_int/gconf_engine_get_int/g;
s/gconf_get_bool/gconf_engine_get_bool/g;
s/gconf_get_schema/gconf_engine_get_schema/g;
s/gconf_get_list/gconf_engine_get_list/g;
s/gconf_get_pair/gconf_engine_get_pair/g;
s/gconf_set_float/gconf_engine_set_float/g;
s/gconf_set_int/gconf_engine_set_int/g;
s/gconf_set_string/gconf_engine_set_string/g;
s/gconf_set_bool/gconf_engine_set_bool/g;
s/gconf_set_schema/gconf_engine_set_schema/g;
s/gconf_set_list/gconf_engine_set_list/g;
s/gconf_set_pair/gconf_engine_set_pair/g;
s/gconf_commit_change_set/gconf_engine_commit_change_set/g;
s/gconf_create_reverse_change_set/gconf_engine_reverse_change_set/g;
s/gconf_create_change_set_from_currentv/gconf_engine_change_set_from_currentv/g;
s/gconf_create_change_set_from_current/gconf_engine_change_set_from_current/g;
s/gconf_schema_destroy/gconf_schema_free/g;
s/gconf_value_destroy/gconf_value_free/g;
s/gconf_listeners_destroy/gconf_listeners_free/g;
s/gconf_entry_destroy/gconf_entry_free/g;
s/gconf_client_create_change_set_from_current/gconf_client_change_set_from_current/g;
s/gconf_client_create_change_set_from_currentv/gconf_client_change_set_from_currentv/g;
s/gconf_client_create_reverse_change_set/gconf_client_reverse_change_set/g;
## These require some care, since they can be the prefix for unrelated stuff.
s/gconf_get /gconf_engine_get /g;
s/gconf_set /gconf_engine_set /g;
s/gconf_get\(/gconf_engine_get (/g;
s/gconf_set\(/gconf_engine_set (/g;
2000-09-09 Havoc Pennington <hp@pobox.com>
* gconf/gconf-database.c (gconf_database_add_listener)
(gconf_database_remove_listener): immediately log the addition
or removal to the saved state file, which is now in a streaming
format
(gconf_database_get_persistent_name): abstraction for getting
the address of the database, of "def" if it's the default one
(gconf_database_log_listeners_to_string): replaces conversion
from database to markup node; no longer using GMarkup here
* gconf/gconf-listeners.c (gconf_listeners_get_data):
new function to get listener data for a connection ID
* gconf/gconfd.c (one_hour_timeout): save the logfile in the
timeout, to compress it since we have just been appending over the
last hour
(logfile_read, logfile_save): rewrite to use new format, not the
GMarkup format
* gconf/gconf-internals.c (gconf_object_to_string): Add
this function
2000-09-04 Havoc Pennington <hp@pobox.com>
* doc/gconf/Makefile.am (LDFLAGS): libs have been renamed
2000-08-31 Havoc Pennington <hp@redhat.com>
* Massive rename from GConfError to GError
* gconf/gconf-error.h, gconf/gconf-error.c: Remove
redundant-with-GError stuff; add GCONF_ERROR domain
macro
2000-08-30 Havoc Pennington <hp@redhat.com>
* gconf/gconfd.c (restore_listener): use gconf_string_to_gulong
instead of atoi for reading a ulong out of the log file
* gconf/gconf.c (gconf_engine_get_default): assign to the
default_engine variable, so we don't keep creating new default
engines.
* gconf/gconf-listeners.c (ltable_next_cnxn): Start "uniqueness
bits" at a different location depending on pid
2000-08-30 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c: Change client to new system (use object
references to ConfigDatabase instead of the integer context ID).
* gconf/gconf-backend.c: Fix path to uninstalled modules, and
put the whole uninstalled modules thing in GCONF_ENABLE_DEBUG
* gconf/gconf-database.c: add some missing includes, and fix
a typo bug
* gconf/gconfd.c: CORBA_Object_duplicate() the ConfigDatabase
objrefs before passing them back out to ORBit. Remove
some bogus assertions.
* TODO: Updates, added notes from Colm
2000-08-30 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c, gconf/gconf-database.h, gconf/gconf-database.c,
gconf/gconfd.h: Completed the server-side implementation of
the new system where a ConfigServer_Context becomes
a ConfigDatabase object. Client side doesn't even compile
yet. Will get it compiling in the morning.
2000-08-29 Havoc Pennington <hp@redhat.com>
* gconf/gconfd.c: Add logfile load/save; not really working
yet.
* gconf/gconf.c: Remove reinstall-listeners stuff and implement
update_listeners() from the server. Most of this is about to get
removed again when I fix context ID's to be object references
instead.
* gconf/gconf-listeners.c: #include <string.h>,
store full key name on tree nodes, add connection ID to
foreach callback
* gconf/GConf.idl: Add update_listener method on ConfigListener,
so the daemon can tell a client that a listener's ID has changed
* gconf/gconf-glib-public.h,
gconf/gconf-glib-private.h,
gconf/gconf-glib.c: Put in gmarkup.[hc], gunicode stuff,
and gerror.[hc] from GLib 2.0. The Unicode char tables are
causing big bloat; may be able to get rid of them
before GNOME 1.4 if we are lucky.
2000-08-27 Havoc Pennington <hp@pobox.com>
* gconf/gconf-glib-public.h,
gconf/gconf-glib-private.h,
gconf/gconf-glib.c: Place to put cut-and-paste code from
GLib 2.0
* gconf/gconf.c (notify): Only print warnings on bogus notifies
if debugging is enabled; without debugging, silently ignore
the notifies, it just means gconfd got confused.
2000-08-26 Havoc Pennington <hp@pobox.com>
* gconf/gconf-listeners.c (gconf_listeners_foreach): Add a foreach
function, will use that to dump the daemon's listener table to
a file.
2000-08-26 Havoc Pennington <hp@pobox.com>
* TODO: Created a TODO file
2000-08-09 Havoc Pennington <hp@pobox.com>
* configure.in: 0.8
* fixes from Ralph Loader for DESTDIR support (hopefully
got them all in)
* gconf.spec: fix description (the G is just a G, doesn't stand
for anything)
2000-08-09 Robin * Slomkowski <rslomkow@eazel.com>
* gconf.spec.in: made it so the specfile worked for rpm builds
2000-08-07 Robin * Slomkowski <rslomkow@eazel.com>
* gconf/Makefile.am: use top_build instead of build
and some beautification.
Wed Aug 02 18:11:37 2000 George Lebl <jirka@5z.com>
* backends/xml-entry.c (node_set_schema_value) (node_unset_value)
(schema_node_extract_value): Set the list_type and car_type and
cdr_type from the schema. Unset these on clear. Also get these
on extraction.
* gconf/GConf.idl: Add value_list_type, value_car_type,
value_cdr_type to the ConfigSchema struct
* gconf/gconf-internals.c (fill_corba_schema_from_gconf_schema)
(gconf_schema_from_corba_schema) (corba_type_from_gconf_type)
(gconf_type_from_corba_type) (gconf_string_to_double)
(gconf_double_to_string) (gconf_unquote_string_inplace)
(gconf_value_decode) (gconf_value_encode): When passing schema
to/from corba, pass the list_type and car/cdr_type fields as well.
When converting to/from doubles guard the printf/scanf with
setlocale(LC_NUMERIC, "C"). When encoding/decoding the lists
encode their type, for schemas encode/decode the list/car/cdr_type
* gconf/gconf-internals.h: For gconf_value_new_list_from_string
and gconf_value_new_pair_from_string add an GConfError field
* gconf/gconf-schema.[ch] (gconf_schema_new) (gconf_schema_copy):
Add the list/car/cdr_type fields to the schema structure and
support it when creating and copying. Also add accessors for
these fields.
* gconf/gconf-value.c (escape_string)
(gconf_value_new_list_from_string)
(gconf_value_new_pair_from_string)
(gconf_value_to_string): Implement the list and pair_from_string
functions. In to_string escape the characters that would cause
problems.
* gconf/gconf.c (gconf_unique_key): use GPOINTER_TO_UINT to
avoid warning on alpha
* gconf/gconftool.c (do_get) (do_set) (do_set_schema)
(fill_default_from_string) (extract_global_info)
(process_locale_info) (process_schema): Add support for
setting lists and pairs by supporting the list/car/cdr_type.
Add these to setting schemas as well. Also add support for
these in reading/setting schemas from .schema files and support
defaults of lists/pairs using this information.
2000-07-27 Havoc Pennington <hp@redhat.com>
* backends/Makefile.am (backenddir): backenddir is
pkglibdir/MAJOR_VERSION, not plain VERSION
* configure.in: Bump to 0.7
Wed Jul 26 12:40:45 2000 George Lebl <jirka@5z.com>
* gconf/gconf.c (gconf_key_is_below): Make sure that the segment
above is a complete directory and not just partial directory.
so that /foo is not taken as above /foobar/blah
Tue Jul 25 23:48:24 2000 George Lebl <jirka@5z.com>
* wrappers/gtk/gconf-client.c: || doesn't mean && :). It would
consider as an above directory every directory that had a notify_id
2000-07-25 James Henstridge <james@daa.com.au>
* Makefile.am, gconf/Makefile.am: make relative symlinks rather than
absolute path symlinks. Again to help packagers.
* configure.in (GCONF_CONFIG_SOURCE): don't use
EXPANDED_SYSCONFDIR hack. Instead just escape the dollar sign in
${sysconfdir}. This fixes build root installs used when building
packages.
Mon Jul 24 16:39:01 2000 George Lebl <jirka@5z.com>
* wrappers/gtk/gconf-client.[ch]: Allow adding overlapping
subdirectories. What happens is that the real gconf notify
is not added for subdirectories. When directories are added
or removed the hash is traversed and fixed up. This is
done in a simple and incredibly inefficent manner and needs
to be fixed. Also this change adds an "err" argument to
the _remove_dir call as errors can now happen. Also
fix a minor warning by casting.
* wrappers/gtk/testgconfclient.c: Add some testing of overlapping
directories. Add buttons to add/remove the main directory and
the subdirectory. This way you can see if things get proper
notifications.
2000-07-24 Yukihiro Nakai <nakai@gnome.gr.jp>
* configure.in: Add Japanese (ja)
2000-07-21 Robin * Slomkowski <rslomkow@eazel.com>
* gconf.spec.in: just fixed up some filename stuff
2000-07-14 Havoc Pennington <hp@pobox.com>
* gconf/gconf-sources.c (gconf_sources_query_value): Fix memleak
of schema_name in case where we return a value
(hash_lookup_defaults_func): Fix bug where we returned the schema
instead of the default value stored in the schema, when returning
default values for a directory listing, which GConfClient did in
order to preload its cache. (Upshot: GConfClient with preloading
was broken if you had schemas.)
2000-07-13 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (shutdown_contexts): fix cheesy race condition
(context_list may not exist at this point)
2000-07-12 Havoc Pennington <hp@pobox.com>
* gconf.spec.in: Change spec file to reflect my fooling with
names of things
* configure.in: Some files converted to .in files, so we can
do versioning
* gconf-config.in: output versioned names for libs and includes
* gconf/Makefile.am: version all installed files
* wrappers/gtk/Makefile.am: put version in the name of
everything
* wrappers/gtk/testgconfclient.c (main): remove ref/sink to
reflect change to GConfClient
2000-07-13 Havoc Pennington <hp@pobox.com>
* backends/xml-entry.c (schema_node_extract_value): fix a
double-free
2000-07-12 Havoc Pennington <hp@pobox.com>
* configure.in: Bump library versions, bump to 0.6
* gconf/gconf.c (gconf_engine_get_local): Rename from
gconf_engine_new_local
(gconf_engine_get_default): rename from gconf_engine_new
(gconf_engine_get_for_address): rename from
gconf_engine_new_from_address
* wrappers/gtk/gconf-client.c (gconf_client_get_default): rename
from gconf_client_new. Always sink the client, so we are strictly
refcounted, no floating state (for future GObject compatibility)
(gconf_client_get_for_engine): rename from
gconf_client_new_with_engine
2000-07-11 Havoc Pennington <hp@redhat.com>
* Makefile.am: spew messages about needing to create
prefix/etc/gconf/path, should make things easier for users.
2000-07-05 Eskil Heyn Olsen <eskil@eazel.com>
* gconf-config.in:
adds output of oaf-config, since gconf uses oaf.
2000-07-05 Eskikl Heyn Olsen <eskil@eazel.com>
* gconf.spec.in:
Fixed som typos.
2000-06-22 Dan Winship <danw@helixcode.com>
* wrappers/gtk/gconf-client.c (gconf_client_set_pair): Pass both
car and cdr to gconf_set_pair rather than passing car twice. Oops.
2000-06-12 Eskil Heyn Olsen <eskil@eazel.com>
* gconf.spec.in: Removed the .a libs from the base package, but
added them to -devel.
2000-06-11 Eskil Heyn Olsen <eskil@eazel.com>
* gconf.spec.in: Req oaf >= 0.3.0
2000-06-11 Eskil Heyn Olsen <eskil@eazel.com>
* gconf.spec.in: Added a .spec file.
* configure.in: Generate gconf.spec.
* Makefile.am: Added gconf.spec.in and gconf.spec to the
EXTRA_DIST.
2000-06-07 Pavel Cisler <pavel@eazel.com>
* wrappers/gtk/gconf-client.c: (gconf_client_get_string):
Fix a storage leak -- a g_strdup and an string ownership
swapping optimization were working against each other.
Removed the g_strdup that is not needed.
2000-06-04 Mathieu Lacage <mathieu@gnome.org>
* gconf-config.in: add gtk-config --cflags and --libs
output to the gconf-gtk --cflags and --libs output.
2000-06-01 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (lookup_engine): check whether the hash is NULL
before looking up the engine.
2000-06-01 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_engine_new): If there's an existing engine
for a given context, return that engine instead of creating a new
one.
(gconf_engine_new_from_address): ditto
* wrappers/gtk/gconf-client.c (gconf_client_finalize): remove
client from client registration table
(gconf_client_new): register newly-created client in hash from
engines to clients; return an existing client if there's already
a client for the default engine
(gconf_client_new_with_engine): register newly-created client,
and try to return existing client.
2000-05-07 Havoc Pennington <hp@pobox.com>
* gconf/gconf-listeners.c: Move struct _GConfListeners
into the .c file, eventually need to simply get rid of this.
2000-04-24 Fatih Demir <kabalak@gmx.net>
* configure.in : Added tr to ALL_LINGUAS .
2000-04-19 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in (ALL_LINGUAS): Added Catalan language
2000-04-19 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
* gconf/gconftool.c (main): Don't g_free the result of g_getenv ().
Tue Apr 18 01:37:51 2000 George Lebl <jirka@5z.com>
* gconf/gconf.c: make the default path sane by adding the flag
field with readwrite
* gconf/gconf.path: add readwrite flag field to make the path legal
2000-03-30 Matthias Warkus <mawa@iname.com>
* configure.in (ALL_LINGUAS): Added German translation.
2000-03-13 Alastair McKinstry <mckinstry@computer.org>
* configure.in (ALL_LINGUAS): Added Irish translation.
2000-03-09 Havoc Pennington <hp@redhat.com>
* configure.in (absolute_top_srcdir): don't do makefile for Guile
stuff.
* Makefile.am: create DIST_SUBDIRS with tests directory
2000-03-09 Elliot Lee <sopwith@redhat.com>
* gconf/gconf-internals.c: Don't syslog things.
* gconf/examples/Makefile.am: Fix for builddir != srcdir.
2000-03-08 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_init): exit on error.
* examples/simple-controller.c (main): fix gconf_init() error
* examples/simple-view.c (main): fix gconf_init() error
2000-03-06 Havoc Pennington <hp@redhat.com>
* doc/intro-article.sgml: Add the examples
* examples/simple-view.c: Change include to work before
we install.
* examples/simple-controller.c: ditto
2000-02-29 Havoc Pennington <hp@redhat.com>
* configure.in: Add goofy "--enable-docs" option to bypass all
library checks, we just want to generate sufficient makefile
for the doc-building targets to run on developer.gnome.org
2000-02-26 Havoc Pennington <hp@pobox.com>
* examples/Makefile.am: Add new examples
* examples/simple-view.c, examples/simple-controller.c:
Two simple new examples
2000-02-23 Havoc Pennington <hp@redhat.com>
* configure.in: Bump version and libtool versions,
and try to fix the prefix mess. Update required OAF version.
* doc/gconf/Makefile.am: srcdir != builddir fix
* standard-schemas/Makefile.am: add schemas to EXTRA_DIST
2000-02-22 Elliot Lee <sopwith@redhat.com>
* tests/Makefile.am: srcdir != builddir fix.
* wrappers/gtk/Makefile.am: Add libgconf-gtk.la to testgconfclient
deps so that 'make -j' builds will work correctly.
2000-02-19 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (try_to_contact_server): Make sure we always set
an error
2000-02-15 Havoc Pennington <hp@redhat.com>
* gconf/gconf-changeset.c (gconf_change_set_set): apply patch from
Rusty Conover <rconover@zootweb.com> fixing an infinite recursion
typo
* gconf/gconfd.c (fast_cleanup): Don't bother to unregister with
OAF
2000-02-01 Havoc Pennington <hp@redhat.com>
* configure.in (GCONF_CONFIG_SOURCE): update default schema
install source
(XML_LIBS): add better check that we actually ran xml-config
successfully
* gconf/gconf-backend.c (gconf_backend_resolve_address): Honor the
"readonly" flag in address names
* gconf/gconf-sources.c (SOURCE_WRITEABLE): convert to a function,
source_is_writeable
* gconf/gconf-sources.h: add GCONF_SOURCE_NEVER_WRITEABLE flag
* tests/testaddress.c: new test to verify the functions that break
up a configuration source address
* gconf/gconf-backend.c (gconf_address_flags): function to extract
configuration source flags
* doc/gconf/gconf.sgml: note new configuration source URL format
* gconf/gconf.c: Add space, tab, carriage return, newline to the
invalid characters in a gconf key
2000-01-31 Havoc Pennington <hp@redhat.com>
* wrappers/gtk/gconf-client.c (check_type): include name of the
key with the wrong type in the error message
2000-01-31 Havoc Pennington <hp@redhat.com>
* wrappers/gtk/gconf-client.c
(gconf_client_real_unreturned_error): only handle the error if the
mode is GCONF_CLIENT_HANDLE_UNRETURNED
(gconf_client_real_error): only handle if GCONF_CLIENT_HANDLE_ALL
(gconf_client_init): change default error handling to
GCONF_CLIENT_HANDLE_UNRETURNED
* wrappers/gtk/gconf-client.h: don't pass error handling mode to
the error handler function
2000-01-28 Havoc Pennington <hp@redhat.com>
* wrappers/gtk/gconf-client.c
(gconf_client_set_global_default_error_handler): New function so
gnome-libs can install a Gnomized error dialog
2000-01-27 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c (check_overlap): fix the no-debug
case
2000-01-24 Havoc Pennington <hp@redhat.com>
* backends/xml-backend.c (resolve_address): base mode for creating
files and directories on the permissions of the root XML directory
* gconf/gconf.h: Clean up indentation
2000-01-27 Elliot Lee <sopwith@redhat.com>
* gconf/Makefile.am, standard-schemas/Makefile.am: Fix builddir != srcdir
2000-01-24 Havoc Pennington <hp@redhat.com>
* gconf/gconf-sources.c (gconf_sources_new_from_addresses):
never return errors, just log them.
* gconf/gconf-backend.c (gconf_get_backend): fix mem leak (free
"name" if we don't create a new backend to use it in)
* gconf/gconf-internals.c (gconf_get_lock): fix mem leak
* backends/xml-entry.c (schema_node_extract_value): fix a mem leak
* gconf/gconfd.c (main): keep a pointer to the object ID returned
from PortableServer_POA_activate_object()
* backends/xml-backend.c (resolve_address): fix a mem leak on
error
2000-01-24 Havoc Pennington <hp@redhat.com>
* gconf/gconf-internals.c (gconf_get_lock): Use a long enough
buffer to read in the IOR
2000-01-24 Havoc Pennington <hp@redhat.com>
* gconf/gconftool.c (do_load_schema_file): Apply patch from Mirko,
properly locates the root node instead of assuming it is the only
node at the toplevel (handles comments, etc).
(process_schema): Report error if a schema has no <locale>
tags.
2000-01-23 Havoc Pennington <hp@pobox.com>
* backends/xml-entry.c (node_set_value): Store strings in a
sub-node and use xmlEncodeEntitiesReentrant() to encode it
(node_extract_value): Extract string from the subnode
2000-01-23 Havoc Pennington <hp@pobox.com>
* doc/gconf/gconf.sgml: Add schema file DTD from Mirko
* backends/xml-dir.c (dir_sync): pass the XML filename in to
create_fs_dir()
(dir_load): This was broken; bug reported by Mirko Streckenbach.
The Dir object was created even if %gconf.xml file didn't exist,
so we didn't get around to actually creating %gconf.xml
(create_fs_dir): Make %gconf.xml the thing this function is
primarily creating, with the directory containing it as a side
effect only.
* gconf/Makefile.am (install-data-local): Install default path to
path.example, so we don't override someone's existing setup.
* gconf/tests/testdirlist.c: test program that detects dir listing
bugs.
2000-01-22 Havoc Pennington <hp@pobox.com>
* backends/xml-dir.c (dir_all_subdirs): If we can't open the
directory it's not an error, just return NULL.
2000-01-21 Havoc Pennington <hp@redhat.com>
* backends/xml-cache.c (cache_clean_foreach): remove everything
older than or the same age as the older_than time value (i.e.
put >= instead of >)
(cache_destroy_foreach): debug check to be sure we aren't
destroying unsynced directories
* gconf/gconfd.c (context_synchronous_sync): remove sync
timeout/idle handlers when we do a synchronous sync
2000-01-21 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.c (gconf_value_new_from_string): use new
double conversion
(gconf_value_to_string): use new conversion
* gconf/gconf-internals.c (gconf_double_to_string)
(gconf_string_to_double): new functions to go from string
to double, we had precision problems with this and maybe
still do, these functions encapsulate it. For now
copied code from gnumeric/src/xml-io.c
* gconf/gconftool.c (main): improve gconfd-is-running error
message
* gconf/gconf.c (gconf_synchronous_sync): internal-only API
for the synchronous sync
* gconf/gconfd.c (gconfd_synchronous_sync): implement a way to
force _immediate_ sync for testing purposes
2000-01-21 Havoc Pennington <hp@pobox.com>
* tests/Makefile.am (testpersistence_SOURCES): add new test
* tests/testpersistence.c: New test, clears the cache after every
set, to see if the get() function can properly load stuff off of
disk. Right now we fail this test. Blah.
2000-01-21 Havoc Pennington <hp@pobox.com>
* backends/xml-cache.c (cache_clean): oops, this was broken
before; we need to check that the dir doesn't need a sync before
we destroy it.
* backends/xml-dir.c (dir_sync_pending): new function
* backends/xml-backend.c (clear_cache): implement clearing cache
for XML backend
* gconf/gconf.c (gconf_clear_cache): implement API here
* gconf/GConf.idl: add clear_cache method
* gconf/gconfd.c (context_clear_cache): add code to implement
clear_cache IDL
* gconf/gconf-sources.c (gconf_sources_clear_cache): New function
for debugging purposes
2000-01-20 Havoc Pennington <hp@pobox.com>
* backends/xml-entry.c (node_extract_value): Detect case where a
pair is missing car and/or cdr and do an error instead of
returning an invalid pair.
* gconf/gconf-internals.c (gconf_get_lock): remove IOR debug spew
* gconf/gconftool.c: Add --break-key and --break-directory, these
allow you to easily torture test your application and see if
you're robust against users setting your config keys to stupid
stuff.
* tests/testgconf.c: Include the empty string in the list
of strings we test. I know this is currently broken if you
exit gconfd or purge the cache between set and get.
2000-01-20 Havoc Pennington <hp@redhat.com>
* gconf/Makefile.am (EXTRA_DIST): fix EXTRA_DIST to have
default.path.in in it
2000-01-20 Havoc Pennington <hp@redhat.com>
* gconf/default.path: remove, replace with gconf/default.path.in
which is set up properly to go in $sysconfdir
* gconf/gconftool.c (main): Always unref the engine when we're
done, to ensure we cleanly give up locks on local sources.
* configure.in (GCONF_CONFIG_SOURCE): --enable-gconf-source option
* gconf/gconftool.c (main): add an --makefile-install-rule option,
which does the right thing in makefile install rules.
* Makefile.am: add standard-schemas subdir
* configure.in (absolute_top_srcdir): create standard-schemas Makefile
* standard-schemas/desktop.schemas: Schemas that any desktop can use
* standard-schemas/Makefile.am: install schemas
2000-01-19 Havoc Pennington <hp@redhat.com>
* gconf/gconfd.c (gconf_set_exception): warn if the error is set
to GCONF_ERROR_SUCCESS
* gconf/gconf-error.h: Prefix all errno values with GCONF_ERROR as
Owen suggested
2000-01-15 Havoc Pennington <hp@pobox.com>
* tests/testlisteners.c (check_immediate_remove_after_add): update
to match change to gconf-listeners.c
* gconf/gconf-listeners.c: Use only 24 bits for the array index,
and put a variable value in the top 8 bits, so recycling array
indices doesn't create the possibility of clients clashing with
each other (i.e. to clients it doesn't appear that indexes are
being recycled).
2000-01-15 Havoc Pennington <hp@pobox.com>
* backends/xml-dir.c (dir_unset_value): check entries for
uselessness on unset, even if they are unchanged by the unset.
Allows us to delete useless crap we loaded from disk.
If you unset, the entry should no longer appear in all_entries
unless there's a schema name to remember.
* backends/xml-entry.c (entry_unset_value): Fix this to properly
unset value for all locales if the locale passed in to "unset" is
NULL
(entry_sync_to_node): Remember to unset the value if necessary
* gconf/gconftool.c (list_pairs_in_dir): handle entries with no
value.
2000-01-15 Havoc Pennington <hp@pobox.com>
* backends/xml-dir.c (dir_destroy): destroy entries before the xml
doc, since they hold pointers into the xml doc.
* backends/xml-entry.c (entry_sync_to_node): if no cached value,
blow away the value in the node.
2000-01-14 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (gconfd_all_entries): remove bad assertion that
the value in an entry was non-NULL
* gconf/gconf.c (gconf_set): check for invalid list type
* gconf/gconf-internals.c (gconf_value_from_corba_value): Be more
paranoid about list types coming from gconfd
2000-01-13 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_unique_key): function to generate
a pseudo-random very-very-likely-to-be-unique key name.
2000-01-13 Havoc Pennington <hp@redhat.com>
* gconf/gconf-internals.c (gconf_concat_key_and_dir): move
declaration to public header
* doc/gconf/tmpl/gconf-client.sgml: Document the changed
dir add/remove behavior
2000-01-13 Havoc Pennington <hp@redhat.com>
* backends/xml-dir.c (dir_load): arguments to this were backward
* wrappers/gtk/gconf-client.c: keep a count of the number of times
a directory has been added/removed from the dir list, so we only
remove it from the list after that number of removals.
Perhaps somewhat unintuitive, but we'll document it, and it's
really necessary if multiple code sections are going to share the
same GConfClient.
(gconf_client_destroy): move a bunch of stuff to finalize
so we remain "safe" before last unref
2000-01-12 Havoc Pennington <hp@redhat.com>
* gconf/gconfd.c (main): don't use custom object ID
2000-01-12 Jonathan Blandford <jrb@redhat.com>
* wrappers/gtk/gconf-client.c: #include <stdio.h>
2000-01-11 Havoc Pennington <hp@pobox.com>
* gconf.m4: separate $4 from gconf_config_args
* gconf-config.in (af_libs): -lgconf, not -lgconf-client
(Libraries): add gconf-gtk lib
2000-01-11 Andreas Hyden <andreas.hyden@telia.com>
* configure.in : added sv (swedish)
2000-01-08 Havoc Pennington <hp@pobox.com>
* gconf/gconftool.c (main): had local and non-local cases backward
so you got the opposite of what you requested
* gconf/gconf-internals.c (gconf_release_lock): include strerror()
in "can't open lock file" message
(gconf_get_lock): actually write the PID to the lock file,
and use ConfigServer_ping() instead of CORBA_Object_is_nonexistent()
2000-01-07 Havoc Pennington <hp@redhat.com>
* gconf/gconf-internals.c (gconf_get_lock): totally rewrite the
locking stuff
* backends/xml-dir.c (dir_load): if errno == ENOENT don't make
dir_load() fail
* gconf/gconfd.c (main): check return value of
oaf_active_server_register() and act accordingly.
* gconf/gconf.c (try_to_contact_server): use new
OAF_FLAG_EXISTING_ONLY when appropriate
* gconf/gconf-internals.c (gconf_set_daemon_ior): allow setting
IOR to a global var
* gconf/gconfd.c (main): set the IOR so it can be used in lockfiles
2000-01-03 Havoc Pennington <hp@redhat.com>
* gconf/gconftool.c (main): add support for direct config source access
1999-12-31 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.c (gconf_log): in non-daemon mode, use
fprintf() when it's an error and printf() when not
(gconf_in_daemon_mode): new function
* gconf/gconfd.c (signal_handler): special-case some more signals;
do more thorough cleanup when we can.
(main): fix which signals we add an action for
* gconf/gconf-internals.h: Remove server_info* functions
* gconf/gconf-error.h: add GCONF_LOCK_FAILED
* gconf/gconf.c (corba_errno_to_gconf_errno): lock failed error
* gconf/gconf-internals.c (gconf_nanosleep): Add utility function
to portably sleep a little while (we should really stick one of
these in glib)
(gconf_release_lock, gconf_get_lock): Lock directory functions
2000-01-02 Timur Bakeyev <mc@bat.ru>
* doc/gconf/Makefile.am: Replace unportable install -d with $MKINSTALLDIRS.
install -m 0644 - with $(INSTALL_DATA).
2000-01-02 Timur Bakeyev <mc@bat.ru>
* po/uk.po: Add missed "\n" in 2 strings. Things sholud be checked
before commit :)
* backends/Makefile.am, wrappers/gtk/Makefile.am: Add $(top_builddir)/gconf
to INCLUDES to make GConf.h visiable.
* gconf/gconf-internals.c: If LC_MESSAGE doesn't exist, use value of
LC_CTYPE (is this correct?)
1999-12-31 Yuri Syrota <rasta@renome.rovno.ua>
* configure.in: Added "uk" to ALL_LINGUAS
1999-12-30 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c: Complete cleanup of XML backend,
all test suite passes, code is much more manageable.
1999-12-21 Havoc Pennington <hp@redhat.com>
* doc/gconf/tmpl/gconf-backend.sgml: Documented the methods in the
backend vtable.
* backends/xml-dir.[hc], backends/xml-entry.[hc]: fixed up some
code, mostly done.
1999-12-20 Havoc Pennington <hp@redhat.com>
* gconf/gconf-sources.c (gconf_sources_new_from_addresses): const
correctness
* gconf/gconfd.c: Massive const-correctness changes to match
latest ORBit
* gconf/gconf.c (notify): "in string" seems to be const again now.
* wrappers/gtk/gconf-client.c (cache_pairs_in_dir): store the
is_default parameter when preloading
* gconf/gconf.c (gconf_all_entries): receive the is_default
parameter
* gconf/gconfd.c (gconfd_all_entries): pass the is_default
parameter over the CORBA link
* backends/xml-backend.c (listify_foreach): Add the schema name to
the entry if appropriate (if value is unset)
* gconf/gconf-sources.c (gconf_sources_all_entries): Change to
match new semantics of all_entries in the backend; get all entries
that have a schema set on them, and the corresponding default
value if appropriate.
* gconf/gconf-value.c (gconf_entry_set_is_default): new function
(gconf_entry_set_schema_name): new function
* backends/xml-backend.c (listify_foreach): Include keys that
exist but have no value set in the list of returned entries.
1999-12-20 Havoc Pennington <hp@redhat.com>
* tests/testlisteners.c: fix include
* wrappers/gtk/gconf-client.c (gconf_client_preload): Actually
implement preloading. We have some "issues" here to resolve I
think, because of the defaults stuff and schemas.
1999-12-14 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_engine_new_from_address): Add a g_warning()
that people probably don't want to use this.
1999-12-14 Havoc Pennington <hp@redhat.com>
* doc/gconf/tmpl/gconf-client.sgml: fix a typo, add additional
explanation to the introduction.
* doc/gconf/tmpl/gconf.sgml: Document the string-to-enum functions.
Update some other docs too.
* doc/gconf/gconf-sections.txt: add new functions
* gconf/gconf.c (gconf_string_to_enum): new function
(gconf_enum_to_string): new function
* gconf/gconf-engine.h: Put gconf_engine_new_local() here instead
of gconf-internals.h
* gconf/gconf-internals.h: added a new GCONF_ENABLE_INTERNALS
define, to allow us to have internal stuff in headers other than
gconf-internals.h
* gconf/gconf.c (gconf_unset): local version
(gconf_associate_schema): local version
(gconf_all_entries): local version
(gconf_all_dirs): local version
(gconf_suggest_sync): local version
(gconf_dir_exists): local version
* gconf/gconf-internals.h (gconf_engine_new_local): Declare this
function here, though it's defined in gconf.c
* gconf/gconf.c (gconf_set): local version
* gconf/gconfd.c (context_query_default_value): use
gconf_sources_query_default_value()
* gconf/gconf-sources.c (gconf_sources_query_default_value): New
function
* gconf/gconf-sources.h: egtk-format-protos the function
prototypes.
* gconf/Makefile.am (libgconf_la_SOURCES): move gconf-locale.[hc]
into the library, bah
* gconf/gconf.c (gconf_get_full): Add local (no gconfd) version
* gconf/gconf-locale.c (gconf_split_locale): locale splitter
function.
* gconf/gconf-sources.c (gconf_sources_new_from_source): new function
* examples/basic-gconf-app.c (create_prefs_dialog): Move keys from
/apps/gnome to plain /apps
* doc/gconf/gconf.sgml: Add an initial stab at namespace
splitting.
1999-12-09 Havoc Pennington <hp@redhat.com>
* gconf/gconf.c (gconf_init): Safety check to ensure we don't
initialize OAF a second time.
1999-12-06 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_notify_add): Backward assertion
1999-12-02 Havoc Pennington <hp@pobox.com>
* examples/basic-gconf-app.c (create_configurable_widget): use
gconf_client_get_string() instead of gconf_client_get()
(update_entry): Check for the default value if we have an unset
value in the change set.
* wrappers/gtk/gconf-client.c
(gconf_client_create_change_set_from_currentv): use without_default
(revert_foreach): use without_default
* gconf/gconf-changeset.c (gconf_create_change_set_from_currentv):
use gconf_get_without_default()
(revert_foreach): use gconf_get_without_default()
* wrappers/gtk/testgconfclient.c (entry_notify_func): fix to compile
* examples/basic-gconf-app.c (configurable_widget_config_notify):
fix to compile
* wrappers/gtk/gconf-client.c
(gconf_client_get_default_from_schema): New function
* gconf/gconf.c (gconf_get_without_default): renamed from
gconf_get_no_default(), so that gconf_get_default_from_schema()
won't be as confusing maybe.
(gconf_get_default_from_schema): new function to read the default
setting in the schema
* backends/xml-backend.c (xentry_extract_value): remove ignore_subsequent
(xentry_set_value): ditto
* gconf/gconf-sources.c (gconf_sources_query_value): Remove ignore
subsequent
* gconf/gconf-value.c (gconf_value_new_from_string): remove
ignore_subsequent
(gconf_value_to_string): remove ignore_subsequent
(gconf_value_copy): Remove ignore_subsequent
* gconf/gconfd.c (context_unset): add is_default to notification
(context_set): add is_default to notification
* gconf/gconf-internals.c (gconf_value_type_to_string): Remove
ignore_subsequent.
* gconf/gconf.c (gconf_cnxn_notify): add is_default
(notify) add is_default
* gconf/gconf-value.h: Remove GCONF_VALUE_IGNORE_SUBSEQUENT
* gconf/gconf-sources.c (gconf_sources_unset_value): don't do that
weird IGNORE_SUBSEQUENT goo
* wrappers/gtk/Makefile.am (INCLUDES): add top_builddir to include
search to get the built sources
* gconf/gconf-engine.h: fix includes
* gconf/gconf-changeset.h: fix includes
* gconf/Makefile.am (gconfd_SOURCES): add gconf-sources.h here
instead of installing it.
* wrappers/gtk/Makefile.am (INCLUDES): remove -I$(top_builddir)/gconf
* wrappers/gtk/gconf-client.c (gconf_client_get_full): Add this,
etc.
* gconf/gconf-sources.c (gconf_sources_query_value): Set a flag
indicating whether the retrieved value was the default or not.
* gconf/GConf.idl: add value_is_default out flag to
lookup_with_locale()
1999-12-02 Havoc Pennington <hp@pobox.com>
* gconf/gconf-error.c: Was missing an element in the err_msgs
array and the array had the wrong size.
* gconf/gconf-sources.c (gconf_sources_query_value): Add
use_schema_default flag here (and in the other stuff that calls
it, I'm skipping some layers in the changelog)
(gconf_sources_query_value): If we find an IGNORE_SUBSEQUENT, we
should return immediately, rather than checking the schema default.
* gconf/gconfd.c (gconfd_lookup_with_locale): fix
* gconf/gconf.c (gconf_get_no_default): new function to get
a value, but not fall back to the schema default.
* gconf/GConf.idl: lookup_with_locale() needs to raise
ConfigException. Also, add a "use schema default" flag.
1999-12-01 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c: Add local "direct mode" engine; mildly bad hack.
This file could use some modularization. Still have to make
all the methods support the local version.
* gconf/Makefile.am (libgconf_la_SOURCES): move gconf-sources.c to
the library instead of gconfd (again).
* gconf/gconf-internals.c (gconf_handle_oaf_exception): set the
GCONF_OAF_ERROR errno
* gconf/gconf-error.c: add strerror stuff for those errors.
* gconf/gconf-error.h: add oaf error and "this is not a gconfd
engine" error.
1999-12-01 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (try_to_contact_server): handle OAF exceptions
* gconf/gconf-internals.c (gconf_handle_oaf_exception): new
function to handle OAF CORBA exceptions, now I have to find all
the places that I need to use this function...
1999-12-01 Havoc Pennington <hp@pobox.com>
* doc/gconf/gconf-sections.txt: Add new create_change_set
functions for GConfClient and GConfEngine
* doc/gconf/Makefile.am (LDFLAGS): Use proper cflags/ldflags
for gtk and OAF when doing 'make scan'
* wrappers/gtk/testgconfclient.c (entry_attached_to): change for
new get_string() thing
* gconf/gconf-changeset.h: fix the "" vs. <> issue on an #include
* wrappers/gtk/gconf-client.c (gconf_client_get_bool): remove
"default" argument
(gconf_client_get_string): ditto
(gconf_client_get_int): ditto
(gconf_client_get_float): ditto
* gconf/gconf.c (gconf_get_bool): Remove "default" argument.
(gconf_get_string): ditto
(gconf_get_int): ditto
(gconf_get_float): ditto
1999-11-30 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (resolve_address): s/dir/root_dir/
1999-11-29 Havoc Pennington <hp@pobox.com>
* gconf/gconftool.c (do_load_schema_file): Use new syntax for
attaching schema names to key names
* backends/xml-backend.c (resolve_address): Create the XML root
directory if necessary.
1999-11-29 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c (gconf_client_get): sheesh, this
stupid function didn't work at all. fix it
(get): properly check whther val is NULL before copying it.
* gconf/gconf-internals.c (gconf_set_daemon_mode): Function to set
daemon mode, for now changes gconf_log behavior
(gconf_log): handle daemon vs. non-daemon mode, and with syslog do
syslog(pri, "%s", msg) instead of syslog(pri, msg) to avoid
unwanted printf magic.
(gconf_value_from_corba_value): more robust for list types, add an assertion
* gconf/gconfd.c (gconfd_set): return if the conversion from
GConfValue doesn't fly
* gconf/gconf-value.c (gconf_value_new): add a check for valid type
* gconf/gconf-value.h (GCONF_VALUE_TYPE_VALID): Add macro to check the
a value type is valid
* gconf/gconf-changeset.c (change_set): return if the value being
set is the same as the existing value.
* examples/Makefile.am (EFENCE): add EFENCE var
* wrappers/gtk/gconf-client.c (gconf_client_commit_change_set):
add checks
* gconf/gconf-changeset.c (gconf_commit_change_set): add checks
* gconf/gconf-listeners.c (gconf_listeners_remove): Robust against
bad notify_id
* gconf/gconf-changeset.c (gconf_create_change_set_from_current):
New function to create a change set which will restore the current
values of a list of keys.
(gconf_create_change_set_from_currentv): Vector version of the
same function.
(gconf_change_set_check_value): new function to check for and get
the value of a key in a change set.
* wrappers/gtk/gconf-client.h: Add client analogues for the above
two set-creation functions.
1999-11-28 Havoc Pennington <hp@pobox.com>
* gconf.m4: add the "" around the $4, seems to work - the problem
here seems to have something to do with aclocal or autoconf
doing the wrong thing, rather than a shell issue. I don't
understand it yet.
1999-11-23 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (query_value): Don't return errors here;
this is somewhat wrong, we actually need to discriminate between
errors and report the "abnormal" ones, but for now I think all of
them are ignorable.
* gconf/gconf-internals.c (gconf_log): If the log string contains
a % escape it with another percent so we don't get printf()
effects (was causing a segfault) - however it's still broken if
unintentional percents exist in the initial format string. Will
fix later by adding a "printf()-formatting" arg I think
* wrappers/gtk/gconf-client.c (gconf_client_commit_change_set):
put some casts in to chill warnings
* gconf/gconf-changeset.c (gconf_change_set_size): new function
* wrappers/gtk/gconf-client.c (gconf_client_destroy): Destroy the
directory list.
* Makefile.am (SUBDIRS): add "examples" directory
* examples/Makefile.am, examples/basic-gconf-app.c: Examples;
write nice example program.
* gconf/gconfd.c (notify_listeners_cb): error message improvement
(set_default_context): Set the "context" field of the default
context, I don't get how that was working before.
1999-11-23 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/testgconfclient.c: remove GNOME dependency
* configure.in: don't build gconf-editor makefile.
* Makefile.am (SUBDIRS): never build gconf-editor, it will have to
go in a separate module (somewhat inconveniently, since I'll
probably end up installing gconf-internals.h for its use, blah)
* configure.in (GCONF_AGE): Check for plain GTK not GNOME
* wrappers/Makefile.am (SUBDIRS): change GNOME conditional to GTK
1999-11-23 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am (libgconf_la_LDFLAGS): split off LIBADD
* wrappers/gtk/Makefile.am (libgconf_gtk_la_LIBADD): set shared
lib version
(libgconf_gtk_la_LDFLAGS): split LIBADD and LDFLAGS maybe properly.
* configure.in: remove gnorba cflags/libs
* gconf/Makefile.am (install-data-local): Create the
$(sysconfdir)/gconf directory.
* wrappers/Makefile.am: For now, always disable Guile wrapper
build.
1999-11-22 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (resolve_address): Check whether the XML
directory is readable/writeable and report an error if neither;
set readable/writeable flags properly.
* gconf/gconfd.c (gconf_server_load_sources): log decision to use
default config source
1999-11-22 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (gconf_server_load_sources): Fall back to
xml:~/.gconf if no config file is found
1999-11-22 Havoc Pennington <hp@pobox.com>
* gconf/default.path: default configuration file
* gconf/Makefile.am (install-data-local): Install default.path to
sysconfdir/gconf/path (theoretically)
1999-11-22 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (gconf_set_exception): lots of assertions
(gconf_server_load_sources): Install the default context even if
we don't find any configuration sources in the path
* gconf/gconf.c (gconf_get_config_server): always return an error
if the server isn't available. This is still not doing the right
thing; for shutdown and ping we need to be able to get the object
if and only if it already exists. This feature is also needed for
something like magicdev-patched gtcd.
* gconf/gconfd.c (gconf_server_load_sources): #ifdef the
debug-only search for debugging path file.
1999-11-19 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (gconf_server_load_sources): Give actual
sysconfdir in the error message, not just /etc;
include liboaf.h
* gconf/gconf.c: include liboaf.h
(gconf_postinit): fix a bunch of missing semicolons
1999-11-20 Havoc Pennington <hp@pobox.com>
* wrappers/gtk/gconf-client.c
(gconf_client_create_reverse_change_set): new function
(gconf_client_commit_change_set): new function
1999-11-20 Havoc Pennington <hp@pobox.com>
* gconf/gconf-changeset.c (gconf_create_reverse_change_set): New
function creates a change set which will revert another change set
on commit.
1999-11-19 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (gconf_server_load_sources): Give actual
sysconfdir in the error message, not just /etc;
include liboaf.h
* gconf/gconf.c: include liboaf.h
(gconf_postinit): fix a bunch of missing semicolons
1999-11-19 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_server_broken): don't need to set the
server to NIL here, it gets set in gconf_detach_config_server()
* doc/gconf/gconf-sections.txt: Add preinit, postinit
* doc/gconf/gconf.sgml: Remove gconf-orbit entity
* doc/gconf/gconf-sections.txt: Remove gconf-orbit stuff
* tests/*.c: Fix to not include gconf-orbit.h, call gconf_init()
properly
* gconf-editor/gconf-editor.c: don't include gconf-orbit.h
* wrappers/gtk/testgconfclient.c (main): remove "orb" variable
* gconf/gconftool.c: don't include gconf-orbit.h
* gconf/gconfd.c: don't include gconf-orbit.h
* gconf/gconf.c: don't include gconf-orbit.h
* gconf/gconf.h: don't include gconf-orbit.h
* gconf/Makefile.am (gconfinclude_HEADERS): remove gconf-orbit.h
(libgconf_la_SOURCES): remove gconf-orbit.c
* gconf/gconfd.c (main): fix error message if oaf_init() returns FALSE
* gconf/gconf.c (try_to_contact_server): Use the IID macro
(gconf_postinit): Change all the error checks to assertions; if
these errors can really happen they need to be reported as before
(not sure how to do this with the pre/post init setup), if they
can't happen then they should be asserted, not error-checked.
* gconf/gconfd.c (fast_cleanup): Unregister with OAF in order to
clean up.
* gconf/Makefile.am: add -DIID to INCLUDES
* gconf/gconfd.c (main): Use a macro for the IID
* gconf/gconf-internals.c: Remove gconf_read_server_ior(),
gconf_info_dir(), gconf_info_file(), etc. since we use OAF instead.
* gconf/gconfd.c (main): Remove "nodaemon" flag since we don't run
as a daemon anymore.
(main): After oaf_init(), don't try to use "err" since oaf_init()
won't set it.
* gconf/gconf-orbit.h, gconf/gconf-orbit.c: Delete these, we
are using OAF now.
* gconf/gconf.c (gconf_get_config_server): Change this to only
call try_to_contact_server() if start_if_not_found is TRUE,
since with OAF any attempt to contact the server will
automatically restart it. Now we keep the server variable
up-to-date locally (set it to NULL on any system exception).
1999-11-19 Elliot Lee <sopwith@redhat.com>
* Make it all use OAF, and redo the initialization routine(s) to
fit better into the GnomeModuleInfo system.
1999-11-18 Elliot Lee <sopwith@redhat.com>
* gconf.m4: AM_PATH_GCONF macro.
* wrappers/gtk/Makefile.am, autogen.sh, backends/Makefile.am: Work with builddir != srcdir
* Makefile.am: Distribute gconf.m4 & gconf-config.in, install gconf.m4
1999-11-18 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (gconf_server_load_sources): fix the message
about writeable sources
1999-11-18 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (find_schema_subnode_by_locale): Check
that locale && this_locale before strcmp()'ing them
(entry_unset): take a NULL locale in unset to mean "unset all locales"
* tests/testschemas.c (check_one_schema): fix the locale-related tests
* gconf/gconf.c (gconf_set_schema): remove debug spew
* gconf/gconf-internals.c (gconf_schema_from_corba_schema): parse
the encoded default value
(fill_corba_schema_from_gconf_schema): encode the default value to
ship to the server.
* gconf/GConf.idl: Add encoded default value string to
ConfigSchema struct
* gconf/gconf-internals.c (gconf_value_decode): implement
(gconf_value_encode): implement
* gconf/gconf-value.c (gconf_value_to_string): Use
g_strdup_printf() to create int/float strings, rather than
guessing at the needed string size.
1999-11-17 Havoc Pennington <hp@pobox.com>
* tests/testencode.c: new test for string quoting
* gconf/gconf-internals.c (gconf_unquote_string_inplace): new
function unquotes a string
(gconf_quote_string): quotes a string
(gconf_unquote_string): unquotes a const string
1999-11-16 Havoc Pennington <hp@pobox.com>
* gconf/gconf-schema.c (gconf_schema_copy): copy locale, and
handle NULL fields. Sheesh this was broken.
(gconf_schema_destroy): destroy default value and locale
1999-11-16 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.c (gconf_value_to_string): print more info
about schemas
* backends/xml-backend.c (xentry_set_schema_value): Set the schema
type on the toplevel node, not the localized node.
(xentry_set_schema_value): Set the owner on the toplevel node
(schema_node_extract_value): Do better at falling back to any
schema if the locale we want isn't found.
(my_xmlSetProp): Replace xmlSetProp with this, deletes the prop
if setting to NULL or ""
(my_xmlGetProp): Replace xmlGetProp with this, returns NULL if the
prop has an empty value.
* gconf/gconf-internals.c (gconf_value_type_to_string): Add case
for GCONF_VALUE_INVALID
* backends/xml-backend.c (entry_unset): refill cached_value if
other locale values still exist. Also, mark the Entry dirty.
(entry_value): add a sync_if_needed here
(entry_sync_if_needed): just always sync if it's a schema; this
code is so broken we may as well not try to be clever.
1999-11-15 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (entry_fill): handle locale by syncing
cached value if necessary
* wrappers/gtk/gconf-client.c (gconf_client_get_string):
g_strdup() the retval if necessary
(gconf_client_get_pair): fix one of the checks
* backends/xml-backend.c (xentry_extract_value): use "C" locale if
none is given.
* gconf/gconftool.c (do_load_schema_file): check type of nodes
(process_key_list): check node type
(process_schema): check node type
(process_locale_info): check node type
(extract_global_info): check node type
* backends/xml-backend.c (entry_unset): deal with locales
(entry_set): deal with locales
(entry_value): locales
(schema_node_extract_value): handle locales
* gconf/gconf-internals.c (gconf_log): move the check for debug
messages to the top of the function, before g_strdup_vprintf(),
and if GCONF_ENABLE_DEBUG isn't defined return immediately (ignore
the GCL_DEBUG messages).
1999-11-15 Havoc Pennington <hp@pobox.com>
* doc/gconf/tmpl/gconf-client.sgml: write GConfClient docs.
* wrappers/gtk/gconf-client.c (gconf_client_new_with_engine):
change this to increment the #GConfEngine reference count.
* doc/gconf/gconf.sgml: Add GConfClient entity
* doc/gconf/gconf-sections.txt: Add GConfClient stuff, add
set_list and set_pair for GConfChangeSet
* doc/gconf/gconf.types: New file gtk-doc requires
* doc/gconf/Makefile.am (scan): Scan GConfClient as well.
Uses a bad, probably nonportable hack, but this stuff isn't
built by default anyway.
* wrappers/Makefile.am: Build GConfClient if we have GNOME
1999-11-15 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_get): Fix it to use the current
locale as documented.
* gconf/gconf-internals.c
(gconf_value_list_to_primitive_list_destructive): new function
takes most code from gconf_get_list()
(gconf_value_pair_to_primitive_pair_destructive): new function
* wrappers/gtk/gconf-client.c (get): Return a copy of the cached
value, should save us some segfaults.
(gconf_client_get_list): new function
(gconf_client_get_pair): new function
(gconf_client_set_list): new function
(gconf_client_set_pair): new function
* gconf/gconf-internals.c (gconf_value_pair_from_primitive_pair):
new function removes guts of gconf_set_pair()
* gconf/gconf.c (gconf_set_list): change to use
gconf_value_list_from_primitive_list()
* gconf/gconf-changeset.c (gconf_change_set_set_list): new
convenience function
(gconf_change_set_set_pair): new function
* gconf/gconf-internals.c (gconf_value_list_from_primitive_list):
new function, takes most of the code from gconf_set_list() to
share with other list-set wrappers
1999-11-14 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (listify_foreach): s/gconf_entry_new/gconf_entry_new_nocopy/
* gconf/gconf.c (gconf_all_entries): s/gconf_entry_new/gconf_entry_new_nocopy/
* gconf/doc/*: tons of documentation updates.
* gconf/gconf-changeset.c: Add an "in_foreach" flag and warn if
you do bad things during a foreach operation.
(gconf_change_set_remove): check that we aren't in a foreach
(gconf_change_set_unref): if refcount == 0 check that we aren't in
a foreach
* gconf/gconf-changeset.h: try to spell "committed" right.
* gconf/gconf-value.h (gconf_entry_value): add accessor macros
to GConfEntry.
* gconf/gconf-value.c (gconf_entry_new_nocopy): Rename
gconf_entry_new() to gconf_entry_new_nocopy() to reflect its
actual behavior.
1999-11-13 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.h: move the value-from-string constructors
here
* gconf/gconf-value.h: moved from here
1999-11-13 Havoc Pennington <hp@pobox.com>
* gconf/gconf-value.h (gconf_meta_info_schema): Add const cast to
this macro.
* gconf/gconf.c (gconf_set_list): allow list of schemas
(from_primitive): handle schemas
(primitive_value): handle schemas
(gconf_get_list): handle schemas
* doc/gconf/tmpl/gconf-value.sgml: docs!
* doc/gconf/tmpl/gconf.sgml: docs!
* doc/gconf/gconf-sections.txt: add set/get list/pair
* gconf/gconf.c (gconf_set_list): Fix dumb bug (assign back to the
original list!)
1999-11-13 Havoc Pennington <hp@pobox.com>
* tests/testgconf.c (check_list_storage): Use the new list
convenience wrappers, to be sure they are tested. (the test
reveals that right now they don't work ;-)
* gconf/gconf.c (error_checked_set): destroy the error if it isn't
passed out to the user, to avoid a mem leak
(gconf_set_float): checks
(gconf_set_int): checks
(gconf_set_string): checks
(gconf_set_bool): checks
(gconf_set_bool): canonicalize the boolean value with !!
(gconf_set_schema): checks
* gconf/gconf-value.h (gconf_value_string): add const cast to this
macro
* gconf/gconf.c (gconf_get_schema): add checks
(gconf_get_bool): checks
(gconf_get_string): checks
(gconf_get_int): checks
(gconf_get_float): checks
(gconf_get_with_locale): checks
(gconf_set): more checks
(gconf_unset): checks
(gconf_associate_schema): checks
(gconf_all_dirs): checks
(gconf_dir_exists): checks
(gconf_get_list): New function, gets a list of native types
and avoids GConfValue.
(gconf_get_pair): New function, gets a pair of native types
(gconf_set_list): New function, sets a list of native types
(gconf_set_pair): New function, sets a pair of native types
1999-11-12 Havoc Pennington <hp@pobox.com>
* doc/gconf/gconf.sgml: Set up the gtk-doc system. Added all the
files for that.
1999-11-12 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c: Change all comments starting with /** to
not start with that (for gtkdoc)
1999-11-12 Havoc Pennington <hp@pobox.com>
* gconf/gconftool.c (main): Add the ability to specify a
configuration source other than the default configuration source
stack.
Add the ability to install a schema file.
* gconf/Makefile.am (INCLUDES): add XML_CFLAGS
(gconftool_LDADD): add XML_LIBS
* backends/Makefile.am (INCLUDES): add XML_CFLAGS
1999-11-11 Havoc Pennington <hp@pobox.com>
* tests/testchangeset.c: test for the changeset stuff
* gconf/gconf.c (gconf_set): add check that string values don't
contain a NULL string
* gconf/gconf-changeset.c (gconf_change_set_unset): fix typo
* doc/gconf.sgml: tweaks
* gconf/gconf-changeset.c, gconf/gconf-changeset.h: ChangeSet data
structure stores a bunch of changes to be committed in a block.
For now the gconf_commit_change_set() function is really naive
(iterates over the change set and sets each value)
* backends/xml-backend.c: Throughout, use accessor functions to
access the "value" field in the cache entries; we're going to
have to update the value field to match the proper locale
before supplying it via the entry_value() accessor.
1999-11-11 Havoc Pennington <hp@pobox.com>
* tests/runtests.sh: Enhance to detect missing tests.
* gconf/gconf-internals.c (gconf_log): don't log DEBUG level stuff
if built without GCONF_ENABLE_DEBUG
* backends/xml-backend.c (safe_g_hash_table_insert): Same, use
GCONF_ENABLE_DEBUG
Add locales stuff throughout this file, but do nothing with it for
now.
* gconf/gconfd.c (safe_g_hash_table_insert): Make this dependent
on GCONF_ENABLE_DEBUG setting.
* gconf/gconf-sources.c (gconf_sources_query_value): fix locale
(gconf_sources_unset_value): locale
(gconf_sources_all_entries): locales
* gconf/gconfd.c (context_query_value): Use locale list
(context_unset): locale argument
(context_all_entries): locale argument
(gconfd_unset_with_locale): locale
* gconf/gconf-sources.c (gconf_source_query_value): Pass an array
of locales to look for
(gconf_source_all_entries): ditto
(gconf_source_unset_value): pass locale to unset
* gconf/gconf-backend.h: Add locale args to the backend functions
that need it
* gconf/gconf-internals.c (gconf_current_locale): Use setlocale()
again, not guess_category_value from gnome-i18n
1999-11-10 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am (gconfd_SOURCES): Move the locale stuff here;
decided not to use it in backends, so it can be in gconfd not the
library.
* gconf/gconfd.c (one_hour_timeout): Expire old locale cache stuff
(locale_cache_lookup): New function to look stuff up in the locale
cache.
(main): free the locale cache on exit
1999-11-10 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (free_childs): function to free children
of a node.
(xentry_set_value): free_childs() in a couple places we weren't
* tests/testschemas.c: Add new schema test to check for storing a
blank schema
* gconf/gconf-locale.c, gconf/gconf-locale.h: New module, creates
and caches the list of locales to search for given an environment
variable value
* gconf/gconf-internals.c (gconf_current_locale): We want
LC_MESSAGES not LC_ALL
1999-11-07 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (reinstall_listeners_for_all_engines): Function to
iterate over all engines and do the context
reinstallation. However, it's not used yet because we also need
to regenerate the context IDs.
* gconf/gconfd.c: Add a ConfigServer_Context field to GConfContext
(register_context): fill in the ConfigServer_Context field
(context_new): init context field to invalid context
* gconf/gconf.c (register_engine): Keep a hash from context ID's
to GConfEngine, because we no longer have the global connection
table (that table was broken anyway).
(gconf_engine_blank): new function shared by the GConfEngine
constructors (contains previous contents of gconf_engine_new,
separate function required by registration stuff)
(gconf_engine_new): Create blank engine, then register it
(gconf_engine_new_from_address): register the engine
(gconf_engine_unref): unregister the engine
* gconf/GConf.idl: Add a context ID to the argument
list of the notification.
* gconf/gconf.c (gconf_server_broken): New predicate, asks if an
exception is set indicating that our server is hosed.
(gconf_detach_config_server): Function to release the server
object reference and set it to nil
(gconf_engine_new_from_address): Detach server and retry if
appropriate.
(gconf_notify_add): Detach and respawn if needed
(gconf_notify_remove): ditto
(gconf_set): ditto
(gconf_associate_schema): ditto
(gconf_unset): ditto
(gconf_all_entries): ditto
(gconf_all_dirs): ditto
(gconf_suggest_sync): ditto
(gconf_notify_add): remove debugging spew
(gconf_cnxn_new): Add namespace_section to GConfCnxn struct
(gconf_cnxn_destroy): free namespace_section
(GConfEnginePrivate): Put the connection table in here, it is
per-context (and thus per-GConfEngine), should not be global.
(gconf_init): don't create CnxnTable here, create it for each engine.
(gconf_engine_new_from_address): remove redundant refcount
initialization
(gconf_engine_unref): Destroy CnxnTable, and free the engine
struct itself.
(notify): remove debug spew, reflect new signature of notify function
1999-11-07 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.c: #include <locale.h>, oops
1999-11-07 Havoc Pennington <hp@pobox.com>
* tests/testschemas.c (check_schema_storage): Properly consider
that schema fields can be NULL
* backends/xml-backend.c (entry_value): Properly consider that
a schema can have a NULL locale
* gconf/gconf.c (gconf_get_with_locale): New function
(gconf_get): just calls get_with_locale() with a NULL locale
(gconf_get_schema): Use get_with_locale()
* gconf/gconf-internals.c (gconf_current_locale): So I don't have
to think about setlocale()
* tests/testschemas.c: New test program for schema stuff
1999-11-06 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_associate_schema): Add function to associate
a schema name with a key.
1999-10-28 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (query_value): Add locale
(dir_get_value): add locale
(entry_value): new function gets the value from an entry,
looking up a new value by locale if necessary.
(xentry_extract_value): locale argument added, but needs to
be implemented.
* gconf/gconf-backend.h: Add locale to query_value in vtable
* gconf/gconf-sources.c (gconf_source_query_value): Add locale
(gconf_sources_query_value): Add locale
* gconf/gconfd.c (gconfd_lookup_with_locale): Implement new
IDL method
(context_query_value): Add locale
* gconf/GConf.idl: Add lookup_with_locale() method
* gconf/gconf-internals.c (fill_corba_schema_from_gconf_schema):
Handle case where some schema fields are NULL, handle locale field.
(gconf_schema_from_corba_schema): Handle locale field.
* gconf/gconf-schema.c (gconf_schema_set_locale): New function
* gconf/gconftool.c: Clean up so it is easier to deal with
1999-10-28 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c: Rework the sync code; now, any change queues a
sync in 1 minute. If a client calls suggest_sync(), we sync in an
idle (as soon as the event loop quiets down). Also, we now sync
on shutdown.
* tests/testgconf.c: Fix to compile
* tests/Makefile.am (testgconf_LDADD): Fix Makefile.am to use new
library name
1999-10-27 Havoc Pennington <hp@pobox.com>
* configure.in: Add --enable-debug option to G_DISABLE_CHECKS as needed
* gconf/wrappers/gtk/testgconfclient.c: Test program for the GTK+
client wrapper.
* gconf/gconf-sources.c (gconf_sources_query_value):
Wasn't handling errors; now we report errors. The bad thing is,
it might be better to go ahead and do our best despite the error.
* gconf/gconf.c (gconf_init): Actually set the have_initted variable.
* wrappers/gtk/Makefile.am (libgconf_gtk_la_LIBADD): Don't try to
link with libgconf;
Add testgconfclient target.
* wrappers/gtk/gconf-client.h, wrappers/gtk/gconf-client.c: Make
it compile
* configure.in: Generate Makefile for GtkObject wrapper
1999-10-27 Havoc Pennington <hp@pobox.com>
* gconf-editor/Makefile.am (gconf_editor_LDADD):
link to libgconf.la
* gconf/Makefile.am: Renamed the shared lib to libgconf instead of
libgconf-client.
* wrappers/gtk/Makefile.am: Renamed gconf-gtk.[hc] to
gconf-client.[hc] via CVS surgery, then updated Makefile.
1999-10-21 Havoc Pennington <hp@pobox.com>
* gconf/gconf.c (gconf_key_is_below): New function, tells you if a
key is below another key in the directory hierarchy.
1999-10-20 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c, gconf/gconf-sources.c: Finish stuff from the
17th (use GConfError throughout, etc.)
* gconf/gconfd-error.h, gconf/gconfd-error.c: Remove the broken
old error stuff, even gconfd no longer uses it.
1999-10-17 Havoc Pennington <hp@pobox.com>
* gconf/gconf-sources.c: Use GConfError** throughout, make the
_source_ functions static
(gconf_sources_query_value): Use the new flags and readable
function
(gconf_sources_set_value): use the new flags and writeable
function
* gconf/gconf-error.c (gconf_error_copy): new function
(gconf_compose_errors): new function
* backends/xml-backend.c: Throughout, use a GConfError** argument
instead of the global errno thing
* gconf/gconf-error.c (gconf_set_error): New function properly
handles a GConfError** by setting error or ignoring if NULL,
also warns if you "stack" two errors on top of each other.
(gconf_clear_error): New function clears a GConfError**
* gconf/gconfd.c: don't include gconfd-error.h
* backends/xml-backend.c: Remove inclusion of gconfd-error.h
* gconf/gconf-backend.h: Add lock/unlock and readable/writeable
functions to the backend vtable, and add error arguments to
all functions in the vtable.
* gconf/gconfd.c (safe_g_hash_table_insert): priority GCL_WARNING
* backends/xml-backend.c (safe_g_hash_table_insert): make
it priority GCL_WARNING.
* gconf/gconf-sources.h: GCONF_SOURCE_ALL_WRITEABLE,
GCONF_SOURCE_ALL_READABLE flags to short-circuit calls to the new
writeable/readable vtable functions.
1999-10-17 Havoc Pennington <hp@pobox.com>
* gconf/gconf-orbit.h: Include orb/orbit.h instead of GConf.h
1999-10-17 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c: Use %gconf.xml instead of .gconf.xml
for the magic files.
1999-10-17 Havoc Pennington <hp@pobox.com>
* tests/runtests.sh: Make this script work
* gconf/gconftool.c: Don't use -s for --spawn, since it's used for
--set.
* gconf/gconf.c (gconf_get_config_server): Clear the error
from the initial ping if we're asked to start the server.
(gconf_engine_unref): No error spew if server is down when
the engine is destroyed.
Throughout: Make sure error is set but don't require a
specific error type
* gconf/gconf-internals.c (gconf_read_server_ior): Set error
if the server info file doesn't exist
* gconf/gconf.c (try_to_contact_server): Add a check for setting
the error properly
* gconf/gconftool.c (main): Switch to gconf_suggest_sync()
instead of gconf_sync()
* gconf/gconfd.c: Add a GConfContext::sync_idle field, to
store the source ID of an idle function that performs a sync.
(context_destroy): Remove the sync idle
(context_hibernate): Check that sync idle is 0
(context_sync): Add the sync idle if it doesn't exist
* gconf/gconf.c (gconf_suggest_sync): gconf_sync() renamed to
gconf_suggest_sync(), because a sync is for all clients;
suggest_sync() means "I just finished a large block of operations,
so I'm suggesting that it would be efficient and data-preserving
to schedule a sync in the near future." gconf_sync() didn't
make much sense because it was global, not per-client.
1999-10-17 Havoc Pennington <hp@pobox.com>
* For all files, s/G_CONF/GCONF
1999-10-12 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c: Use GConfListeners to handle listener
registration and notification
1999-10-12 Havoc Pennington <hp@pobox.com>
* gconf/gconf-listeners.c (ltable_insert): Was failing to init
the node in the flat array of nodes if the listener location
was NULL.
(gconf_listeners_count): new function reports number of listeners
(ltable_new): init next_cnxn to 1 instead of 0
(ltable_remove): Do a better job of cleaning up dead
tree nodes (go up looking for empty parent nodes)
(ltable_destroy): type error, was calling listener_destroy()
on the GNodes. Oops. fixed, now use g_node_traverse() to
destroy the node contents.
(ltable_new): don't create the root node until it's needed
(ltable_insert): add root node here if needed
(ltable_remove): zero lt->tree if we destroy it
* tests/testlisteners.c: New test program for GConfListeners,
fairly comprehensive
* tests/Makefile.am: add testlisteners, put EFENCE at the end of
the link line
1999-10-12 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am: Fixes - remove some public headers from
libgconf_client_SOURCES, look for GConf.idl in $(srcdir) (bug from
Wichert Akkerman)
* gconf/gconf-listeners.h, gconf/gconf-listeners.c: New files,
compile but are not tested. Moves listener tree interface into
a public header to re-use in GTK+ wrapper.
1999-10-11 Havoc Pennington <hp@pobox.com>
* For all files, s/g_conf/gconf
1999-10-05 Havoc Pennington <hp@pobox.com>
* tests/testgconf.c (check_list_storage): Add checks for empty
lists, and all the various list types.
* gconf/gconf-value.c (g_conf_value_to_string): Fix a segfault
(not always allocating a large enough buffer)
1999-10-05 Havoc Pennington <hp@pobox.com>
* configure.in: 0.3, bump soname
1999-10-04 Havoc Pennington <hp@pobox.com>
* tests/testgconf.c (main): Add checks for getting/setting lists,
bools, floats, and ints
* gconf/gconf-internals.c (fill_corba_value_from_g_conf_value): We
have to set the release flag on a sequence inside a union, since
the sequence isn't default initialized as it normally would be.
Plugs a big memory leak (all sequence buffers).
* backends/xml-backend.c (dir_fill_cache_from_doc): Plug a leak
where we set entry->name and then reset it in entry_fill()
(entry_destroy): Free entry->mod_user
(x_shutdown): Renamed shutdown() to x_shutdown() to avoid
namespace clash with some libcs. Bug report from Bjorn Andersson
<ban@lifix.fi>.
* gconf/gconf-internals.c (g_conf_log): Plug memory leak (not
freeing log string)
* gconf/gconfd.c (gconfd_set): Plug memory leak (not freeing the GConfValue)
* tests/Makefile.am: Make testgconf noinst
* gconf/gconfd.c (main): check GCONFD_NO_DAEMON environment
variable to run in no-daemon mode for debugging. Needless to say
this does NOT work if you are trying to use gconf for real.
* gconf/gconf-internals.c (fill_corba_value_from_g_conf_value):
Fill in the list type in the CORBA value
(g_conf_value_from_corba_value): Fill in the list type in the
GConfValue
* gconf/GConf.idl: Create ConfigList type to past the list type
along with the sequence of values
* gconf/gconf-value.c (g_conf_value_set_list): New function, list
setter that copies the list
* gconf/gconf.c (g_conf_unset, g_conf_set): return boolean to
indicate success
* gconf/gconf-value.c (g_conf_value_new_from_string): Rewrite the
bool string parser with switch, accept y/n as values.
1999-10-01 Havoc Pennington <hp@pobox.com>
* gconf/gconf-sources.c (g_conf_sources_query_value): Check for
errors when we query the default value from the schema.
* backends/xml-backend.c (entry_fill): If the schema key for a key is
invalid, don't load it.
1999-09-30 Havoc Pennington <hp@pobox.com>
* gconf/gconf-sources.c (g_conf_key_check_hack): Clear error
before we check the key
* backends/xml-backend.c (dir_unset_value): Actually set the
entry's value to NULL
(entry_destroy): check whether Entry::value is NULL. Not sure
why I didn't check; I think NULL is allowed, but if not
we will have problems I guess.
* tests/testgconf.c: Easiest to just write the test suite in
C. Tests set/get and unset for strings so far.
1999-09-29 Havoc Pennington <hp@pobox.com>
* gconf/gconf.sgml: Update docs
1999-09-29 Havoc Pennington <hp@pobox.com>
* gconf/gconf-conf.h: Replaced with gconf-engine.h
* gconf/Makefile.am: use gconf-engine.h
* gconf/gconf.c, gconf/gconf.h, gconf/gconftool.c,
gconf-editor/app.c, wrappers/guile/scm-gconf.c:
Use GConfEngine name instead of GConf
1999-09-29 Rodrigo Stulzer Lopes <rodrigo@conectiva.com.br>
* configure.in: added pt_BR to ALL_LINGUAS
1999-09-29 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c: include gconfd-error.h and gconf.h,
change error checking to new system as needed
* gconf/Makefile.am: Put more stuff in gconfd_SOURCES instead of
client lib, add new files
* gconf/gconf-backend.h: include gconf-sources.h
* gconf/gconf-conf.h: add error arg to g_conf_new_from_address
* gconf/gconf-error.c: move strerror in here, fixups,
preconditions
* gconf/gconf-internals.c, gconf/gconf-sources.c: move all sources
stuff to new gconf-sources file
* gconf/gconf-orbit.c: Check for failure to get lock
* All the rest of this giant diff: Move to new error-handling
scheme
1999-09-26 Havoc Pennington <hp@pobox.com>
* gconf/Makefile.am: add gconf-error.h, gconf-conf.h headers,
gconf-value.c file
* gconf/gconf-error.h, gconf/gconf-conf.h, gconf/gconf-value.c:
New files, just rearranging old files, no new code (well, there is
a new GConfError object but it's unused)
* gconf/gconf-internals.c: Move the value, metainfo, and entry
datatypes to gconf-value.c
* gconf/gconf.c, gconf/gconf.h: Remove appname argument from
g_conf_init(), remove g_conf_global_appname() function.
* gconf/gconftool.c: don't pass appname to g_conf_init()
* gconf-editor/gconf-editor.c: Ditto
1999-09-25 Kjartan Maraas <kmaraas@online.no>
* configure.in: Added "da" to ALL_LINGUAS.
1999-09-19 Havoc Pennington <hp@pobox.com>
* NEWS, README: put something in here
* Makefile.am: conditionally include gconf-editor if we have
GNOME
* autogen.sh: make it more like "macros" autogen.sh
* configure.in: manually check for GNOME instead of using
"macros"
* macros, intl: remove these subdirs, autogen.sh now
generates intl
* gconf/gconf.c: fix array size for strerror messages
* gconf-editor/Makefile.am: use new GNOME variables
* gconf-editor/gconf-editor.c: use new g_conf_init()
signature
* gconf-editor/menus.h, gconf-editor/menus.c: These
hadn't been added
1999-09-19 Havoc Pennington <hp@pobox.com>
* gconf/gconf.h: Add G_CONF_OVERRIDDEN error if you try to
set a value which will have no effect due to a read-only
setting earlier in the path.
* gconf/gconf.c: Add G_CONF_OVERRIDDEN to strerror, etc.
* gconf/GConf.idl: add ConfigOverridden to pass it across the
CORBA link
* doc/gconf.sgml: Add more stuff to docs
1999-09-17 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.c (subst_variables): Add a new function to
perform variable substitution on addresses in the path file.
Supports $(HOME), $(USER), and $(ENV_ANYENVVARNAME)
* Makefile.am: Add "doc" subdir
* doc/Makefile.am: Added
* doc/gconf.sgml: write more docs
1999-09-03 Havoc Pennington <hp@pobox.com>
* configure.in: Set library version info variables, and locate
Guile libraries, etc.
* wrappers/Makefile.am: conditionally build Guile subdir if we
found guile.
* wrappers/guile: new subdir with the basic files/build for Guile
bindings, will add the actual bindings later.
1999-09-03 Havoc Pennington <hp@pobox.com>
* configure.in: set POPT_LIBS instead of adding -lpopt to generic
LDFLAGS; this was causing libtool to fail to generate the .so
file for the XML backend module.
* gconf/Makefile.am: use POPT_LIBS
* gconf/gconf-backend.c: change some g_warning to g_conf_log
1999-09-03 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c: Every hour or so, hibernate all contexts that
haven't been accessed in 45 minutes. Make some assorted changes
to support that.
1999-09-02 Havoc Pennington <hp@pobox.com>
* gconf/gconf-internals.h, gconf/gconf-internals.c: Add a new
g_conf_log() function for logging errors in backends;
for now this wraps syslog() but if we eventually have non-daemon
direct access to backends, we will need to change it. Use
g_conf_log() throughout this file instead of printf() and
g_warning().
* gconf/backends/xml-backend.c: Install a timeout which cleans
old stuff out of the cache every 5 minutes; use g_conf_log
to report problems.
* gconf/gconfd.c: Use g_conf_log(); log "exiting" later than we
had been, after shutting everything down.
1999-09-02 Havoc Pennington <hp@pobox.com>
* backends/Makefile.am: Install backends in $(libdir)/gconf
* gconf/Makefile.am: Look for backends in $(libdir)/gconf
* gconf/gconf-backend.c (g_conf_backend_file): Use
g_module_build_path() to build the module path
* gconf/gconf-orbit.c (g_conf_get_cookie_reliably): Make the
~/.gconfd directory if necessary.
Lots of error-checking added.
* gconf/gconfd.c: Mark a lot of strings for translation; include
username in the syslog spew.
1999-09-02 Havoc Pennington <hp@pobox.com>
* gconf/gconfd.c (main): If the orb init fails, syslog the
GConf error.
* gconf/gconf-orbit.c: Add tons of error checks/reports
1999-09-01 Tim P. Gerla <timg@means.net>
* configure.in: Added test for popt.
1999-09-01 Havoc Pennington <hp@pobox.com>
* backends/xml-backend.c (dir_get_value): Fix a segfault, check
that an Entry != NULL before dereferencing it
* GConf.idl: Add ConfigException and ConfigErrorType to pass
errors from server to client
* gconf.c (g_conf_handle_corba_exception): set the GConf error
based on CORBA error, if any, and free the exception.
Use throughout the file to receive server errors.
* gconfd.c (g_conf_set_exception): set the CORBA exception based
on the GConf error, if any. Use this function throughout the file
to send errors to clients.
(g_conf_nuke_dir): Remove this obsolete function
(context_set): don't notify listeners of a change if an error
occurred
1999-09-01 Havoc Pennington <hp@pobox.com>
* configure.in: add gmodule check to AM_PATH_GLIB, add an error if
glib isn't found, use detected $XML_CONFIG to instead of
xml-config, AC_PATH_PROG orbit-config, check for C++ compiler
(since we'll have a C++ wrapper soon)
* gconf/Makefile.am: Assume GMODULE_CFLAGS are now included in
GLIB_CFLAGS since we fixed configure.in
* gconf/gconf.c, gconf/gconf.h: Reference count the GConf object,
add extern "C" when using C++
* gconf/gconftool.c: unref instead of destroying the GConf object
1999-08-31 Dave Camp <campd@oit.edu>
* gconf/gconf.c (g_conf_is_initialized): New function.
1999-08-31 Dave Camp <campd@oit.edu>
* gconf/gconftool.c (main): Changed --dir-exists to return 0 if
the dir exists, and 2 if it does not.
1999-08-31 Dave Camp <campd@oit.edu>
* gconf/gconftool.c (options): Added "--dir-exists".
(main): If dir_exists is on the command line, check if the argument dir
exists.
* gconf/gconfd.c (server_epv): Added gconfd_dir_exists.
(gconfd_dir_exists): New function.
(context_dir_exists): New function.
* gconf/gconf.c (g_conf_dir_exists): New function.
* gconf/gconf-internals.c (g_conf_sources_dir_exists): New function.
(g_conf_source_dir_exists): New function.
* gconf/gconf-backend.h (GConfBackendVTable): Added a dir_exists
entry.
* gconf/GConf.idl (dir_exists): New function.
* backends/xml-backend.c (dir_exists): New function.
(xml_vtable): Added dir_exists.
1999-08-30 Dave Camp <campd@oit.edu>
* gconf/gconf.h: #include gconf-orbit.h.
* gconf/Makefile.am (gconfinclude_HEADERS): Install gconf-orbit.h,
GConf.h
1999-08-29 Dave Camp <campd@oit.edu>
* Makefile.am (bin_SCRIPTS): Install gconf-config.
* configure.in (AC_OUTPUT): Create gconf-config.
* gconf/Makefile.am: Install gconf.h and gconf-schema.h.
1999-08-29 Dave Camp <campd@oit.edu>
* configure.in (XML_LIBS): Use xml-config.
1999-08-29 Kjartan Maraas <kmaraas@online.no>
* configure.in: Added "no" to ALL_LINGUAS
|