1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513
|
commit 96a014af254c90e8077516125184402bd9b8ed1a
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Nov 24 21:32:55 2020 +0100
Release 0.7.2
NEWS | 8 ++++++++
1 file changed, 8 insertions(+)
commit e8650dd3f22e0f28a4b45f3175c0f6353bbc99a5
Author: Philipp Kern <pkern@google.com>
Date: Sun Nov 15 19:41:56 2020 +0100
test/Makefile.am: Do not build inf-test-traffic-reply on WIN32
test/Makefile.am | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
commit bd546d043d67324200a2d0f3a8cbf7b01ce7a4a6
Author: Sunil Mohan Adapa <sunil@medhas.org>
Date: Thu Jun 11 15:00:34 2020 -0700
Iterate user table in a sorted way, fix tests with latest glib
This is primarily to help test cases which assume that the adopted
algorithm
prioritizes the users in the exact reverse order they appear in the test
cases (and get inserted into the session in reverse order). With
older glib
version, the five users being inserted happened to return the order
expected by
the tests. With latest glib, due to a minor tweak in hashing strategy,
the
insertion leads to unsorted list leading to failed tests.
In addition, GHashTable makes no guarantees about the stability of
items when
iterating multiple times. Since the algorithm is sensitive to order
of users, it
is best to return users in an order that is consistent over multiple
calls and
stable over insert/remove operations.
This patch maintains a sorted list of user ids and uses it for iteration.
Closes: #22.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
libinfinity/common/inf-user-table.c | 51 +++++++++++++++++++----------------
1 file changed, 28 insertions(+), 23 deletions(-)
commit e09c5b7a955fdfab74eaee28edab575e14860962
Merge: 67eb3ce 84e1a06
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Mar 23 08:29:43 2018 +0100
Merge pull request #19 from jrtc27/patch-1
Add missing null terminator to inf_browser_status_values
commit 84e1a065f1d8256bd0d2276d186809c3a4017b6d
Author: James Clarke <jrtc27@jrtc27.com>
Date: Fri Mar 23 03:13:32 2018 +0000
Add missing null terminator to inf_browser_status_values
This fixes a segmentation fault when running g-ir-scanner on macOS.
libinfinity/common/inf-browser.c | 4 ++++
1 file changed, 4 insertions(+)
commit 67eb3cecdf65e9cb53d5270c2cf4dc89ce2f1cdf
Author: Philipp Kern <phil@philkern.de>
Date: Thu Nov 2 16:18:59 2017 +0100
Add auto-detected support for libsystemd.
systemd has a service readiness protocol in which the daemon sends
a message
over a Unix socket when it set up the listeners and is ready to serve.
libsystemd abstracts this away to be a simple call to sd_notify. Hence
hook up infinoted to signal systemd just before it enters the I/O
main loop.
Signed-off-by: Philipp Kern <phil@philkern.de>
configure.ac | 24 ++++++++++++++++++++++++
infinoted/Makefile.am | 3 ++-
infinoted/infinoted-run.c | 10 ++++++++++
libinfinity/inf-config.h.in | 3 +++
4 files changed, 39 insertions(+), 1 deletion(-)
commit 61aa1dfe0de8627d693575d99d7c7644e9d839b9
Author: Philipp Kern <phil@philkern.de>
Date: Sun Mar 26 15:58:41 2017 +0200
Fix a bunch of typos.
* refering -> referring
* occured -> occurred
* requsted -> requested
* agument -> argument
* permanantly -> permanently
Thanks to Debian Lintian for auto-detecting these.
infinoted/infinoted-options.c | 4 +-
libinfinity/adopted/inf-adopted-algorithm.c | 4 +-
libinfinity/adopted/inf-adopted-session.c | 2 +-
libinfinity/adopted/inf-adopted-state-vector.c | 6 +-
libinfinity/client/infc-browser.c | 8 +-
libinfinity/client/infc-request-manager.c | 8 +-
libinfinity/common/inf-cert-util.c | 2 +-
libinfinity/common/inf-chat-session.c | 4 +-
libinfinity/common/inf-discovery-avahi.c | 12 +--
libinfinity/common/inf-error.c | 14 +--
libinfinity/common/inf-error.h | 4 +-
libinfinity/common/inf-io.h | 6 +-
libinfinity/common/inf-sasl-context.h | 2 +-
libinfinity/common/inf-session.c | 6 +-
libinfinity/common/inf-standalone-io.c | 4 +-
libinfinity/common/inf-tcp-connection.c | 8 +-
libinfinity/common/inf-user.c | 2 +-
libinfinity/common/inf-xml-connection.c | 6 +-
libinfinity/common/inf-xmpp-connection.c | 12 +--
libinfinity/common/inf-xmpp-connection.h | 2 +-
libinfinity/server/infd-account-storage.c | 6 +-
libinfinity/server/infd-storage.c | 2 +-
libinfinity/server/infd-tcp-server.c | 4 +-
po/ca.po | 105 +++++++++++-----------
po/de.po | 106 +++++++++++------------
po/libinfinity-0.7.pot | 105 +++++++++++-----------
test/inf-test-tcp-connection.c | 2 +-
test/inf-test-tcp-server.c | 2 +-
test/inf-test-xmpp-connection.c | 2 +-
test/inf-test-xmpp-server.c | 4 +-
30 files changed, 226 insertions(+), 228 deletions(-)
commit f976baf6d7eaea054be0c20ee4db1db4b99b6561
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Feb 27 21:56:04 2017 -0800
Post-release bump to 0.7.2
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9d828b4c8b8e64e33ebd8fffff1bf0b2b3fe35f0
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Feb 27 21:51:03 2017 -0800
Release 0.7.1
NEWS | 6 ++++++
1 file changed, 6 insertions(+)
commit 67467468be4c8f44d54d69951bb9e5066e93db17
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Feb 27 21:35:47 2017 -0800
Fix use-after-free in infinoted when uploading a document (gobby#142)
libinfinity/server/infd-directory.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit 2929c31573d0c80456565983f20d492e14dbc673
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Feb 15 22:19:56 2017 -0800
Add reference to the wiki on Github to the man page
Thanks to Kardan for the patch.
infinoted/infinoted-0.7.man | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
commit fdd7d51b04c4144630badb7eae90b306bfcd31bd
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 12 21:43:36 2017 -0800
Fix two instances of possible format string injection (#17)
infinoted/infinoted-config-reload.c | 2 +-
test/inf-test-traffic-replay.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 15721326e415264294466952e802bbe6a1ee2f68
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 12 21:43:11 2017 -0800
Post-release bump to 0.7.1
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9658eb6968a3161d6c752d5e2185dd24359af12a
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 7 20:51:05 2017 -0800
Update NEWS for 0.7.0
NEWS | 62 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
commit 39757f7bd82a48008b29dc8fd08937ebb6d40df9
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 8 11:35:05 2017 -0800
Various fixes to make building from distribution tarball work
Mostly problems related to builddir != srcdir, `make distcheck` is happy
now.
infinoted/Makefile.am | 5 +++--
libinfgtk/Makefile.am | 10 ++++++++--
libinfinity/Makefile.am | 12 ++++++++++--
libinftext/Makefile.am | 2 ++
libinftextgtk/Makefile.am | 2 ++
test/Makefile.am | 3 +++
test/certs/Makefile.am | 2 +-
test/inf-test-certificate-validate.c | 10 +++++++++-
8 files changed, 38 insertions(+), 8 deletions(-)
commit 1bfb45c623fb310f4a3bb4bf981740654006242a
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 7 20:33:39 2017 -0800
Update translations and po template
po/POTFILES.in | 12 +-
po/ca.po | 1018 ++++++++++++++++++++++++---------------------
po/de.po | 1019 +++++++++++++++++++++++++---------------------
po/libinfinity-0.7.pot | 1017 ++++++++++++++++++++++++---------------------
4 files changed, 1650 insertions(+), 1416 deletions(-)
commit 6c461a34568d40dc1cfcaa6863817e70101873c8
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 5 15:38:25 2016 -0700
Fix crash when disposing certificate manager while certificate
dialog open
libinfgtk/inf-gtk-certificate-manager.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
commit 76984a186ba62ad26a59328c80a7b68569ddd985
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jun 4 20:49:05 2016 -0700
InfGtkConnectionView: update view if TLS properties change
Connection info might be displayed before the TLS handshake occurred,
so we
want to update the info display after the handshake.
libinfgtk/inf-gtk-connection-view.c | 316 +++++++++++++++++++++-------------
1 file changed, 194 insertions(+), 122 deletions(-)
commit 5091b1420ef0b48675a86f29fa3dadf82e12d8de
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon May 30 17:26:16 2016 -0700
Simplify travis CI configuration
.travis.yml | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
commit 8eb9560de3ef5f0d7aa7f9f48ea9e3b55af24933
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon May 30 13:22:52 2016 -0700
Fix warning in usage of gtk_label_set_xalign
libinfgtk/inf-gtk-certificate-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2c6ca5d6995e2464297f5fa45eca3ff441263785
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon May 30 13:22:41 2016 -0700
Add missing return type declaration
infinoted/plugins/infinoted-plugin-dbus.c | 1 +
1 file changed, 1 insertion(+)
commit ffbfe5b9422389af10ca8948684dc2e3afa1c219
Author: Hanno Heinrichs <hanno.heinrichs@rwth-aachen.de>
Date: Sun May 8 14:50:33 2016 +0200
Create private key file with restrictive permissions
.../libinfinity/libinfinity-0.7-sections.txt | 1 +
libinfinity/common/inf-cert-util.c | 5 +-
libinfinity/common/inf-file-util.c | 72 +++++++++++++++++++++
libinfinity/common/inf-file-util.h | 6 ++
4 files changed, 82 insertions(+), 2 deletions(-)
commit 05dc6ef69a04199f5e385c574a736a04a61f92db
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 10 22:04:58 2016 -0700
Fail config reload if listen address changes
This is not so easy to support with the current mechanism because we open
the new sockets before closing the old ones.
infinoted/infinoted-config-reload.c | 43 +++++++++++++++++++++++++++++++----
1 file changed, 38 insertions(+), 5 deletions(-)
commit 6822c4539ff7c4f67bb85aa106b42533a4ae7c33
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 10 22:04:50 2016 -0700
Add NULL check for freeing listen address
infinoted/infinoted-options.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 8f8c1611e6df3d5747e58c5c58efe416e9acc277
Author: Lukas Kupczyk <lukas.kupczyk@gmail.com>
Date: Sun May 1 13:11:38 2016 +0200
Add listen-address parameter
.../libinfinoted-plugin-manager-0.7-sections.txt | 1 +
infinoted/infinoted-0.7.man | 3 ++
infinoted/infinoted-options.c | 11 +++++
infinoted/infinoted-options.h | 1 +
infinoted/infinoted-parameter.c | 46 +++++++++++++++++++++
infinoted/infinoted-parameter.h | 15 +++++--
infinoted/infinoted-run.c | 34 ++++++++++++---
7 files changed, 102 insertions(+), 9 deletions(-)
commit 594c44642730bb14448ced9b668ec6e8bc9bb7d5
Merge: 4f36255 ebe18aa
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Mar 21 20:40:29 2016 -0700
Merge remote-tracking branch 'hph86/rel-path-root'
commit ebe18aa02d9238f47ee8ff9765db3d015765b3b7
Author: Hanno Heinrichs <hanno.heinrichs@rwth-aachen.de>
Date: Wed Mar 16 17:51:22 2016 +0100
Initialize root_directory with absolute path
libinfinity/server/infd-filesystem-storage.c | 8 ++++++++
1 file changed, 8 insertions(+)
commit 4f3625534db3d7dbcfb8f4a40546444149641242
Author: Till Maas <opensource@till.name>
Date: Fri Mar 18 19:00:32 2016 +0100
Automatically select config files in travis
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c074c317225f3a679c47562d5dc365ceb4dff5a5
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Dec 8 22:24:53 2015 -0800
Fix g_return_val_if_fail on uninitialized memory
libinfinity/server/infd-directory.c | 1 -
1 file changed, 1 deletion(-)
commit b4924152a839012e0b0ed0f1107c33630b7bb6e7
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Oct 12 21:21:20 2015 -0400
Remove duplicate certificate tests
test/inf-test-certificate-validate.c | 20 --------------------
1 file changed, 20 deletions(-)
commit 21319ad8f2647081d6571981d4bb8935b4040dde
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Oct 12 21:20:04 2015 -0400
Fix certificate validation test
One of the test certificates was issued for only 30 days when it should
virtually never expire. Re-create the certificate with an expiration date
in 3014.
test/certs/test-expire-good-crt.pem | 56 +++++++++++++++++------------------
1 file changed, 28 insertions(+), 28 deletions(-)
commit 6721b411590488b5131264118dd47396413a31bd
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Oct 12 19:54:58 2015 -0400
Remove some unused variables in InfTextFixlineBuffer
libinftext/inf-text-fixline-buffer.c | 3 ---
1 file changed, 3 deletions(-)
commit 42064f3a4db4e42db68c222641dd117d8da371f3
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Oct 12 19:51:50 2015 -0400
InfTextChunk: fix segment lookup for offset=0 (#10)
This used to work with glib 2.42, but it seems that the semantics of
g_sequence_search() have changed with respect to what item is returned
when the comparison function returns 0. The behavior in that case is not
documented. Fix this by passing a different comparison function that
never returns 0, so that there is no ambiguity in which segment is
returned.
libinftext/inf-text-chunk.c | 29 ++++++++++++++++++++++++++++-
1 file changed, 28 insertions(+), 1 deletion(-)
commit 669b3589760ea74312fa2ab7efbfcd4faed2c744
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Oct 12 19:51:40 2015 -0400
Fix integrity check in inf_text_chunk_get_byte_index_utf8()
libinftext/inf-text-chunk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0d619e54bd8c351c7e6278bdab3e0cf4a57e8488
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 9 22:54:20 2015 -0400
Replace GtkBox by GtkGrid
Where possible -- GtkDialog still has some internal GtkBox children
libinfgtk/inf-gtk-acl-sheet-view.c | 2 +-
libinfgtk/inf-gtk-acl-sheet-view.h | 4 +-
libinfgtk/inf-gtk-certificate-manager.c | 7 ++
libinfgtk/inf-gtk-chat.c | 2 +-
libinfgtk/inf-gtk-chat.h | 4 +-
libinfgtk/inf-gtk-connection-view.c | 2 +-
.../resources/ui/infgtkaccountcreationdialog.ui | 58 +++++++-------
libinfgtk/resources/ui/infgtkaclsheetview.ui | 13 ++--
libinfgtk/resources/ui/infgtkcertificatedialog.ui | 61 ++++++++-------
libinfgtk/resources/ui/infgtkchat.ui | 35 +++++----
libinfgtk/resources/ui/infgtkconnectionview.ui | 17 +++--
libinfgtk/resources/ui/infgtkpermissionsdialog.ui | 84 ++++++++++-----------
12 files changed, 148 insertions(+), 141 deletions(-)
commit 4e3c752f1e3c2e1d8c61c22bf56657c3f34c517e
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 9 21:23:01 2015 -0400
Remove some dead code in InfXmppManager
libinfinity/common/inf-xmpp-manager.c | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
commit 869bf91b5e760eec12b21b0ac859acb164d1132b
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 9 21:20:23 2015 -0400
Fix uninitialized variable when suggesting a SASL mechanism
libinfinity/common/inf-xmpp-connection.c | 1 +
1 file changed, 1 insertion(+)
commit f00d234951b61fac37873194cc58448fd5f65e17
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 7 21:33:13 2015 -0400
Update copyright years in source files for 2015
infinoted/infinoted-config-reload.c | 2 +-
infinoted/infinoted-config-reload.h | 2 +-
infinoted/infinoted-dh-params.c | 2 +-
infinoted/infinoted-dh-params.h | 2 +-
infinoted/infinoted-log.c | 2 +-
infinoted/infinoted-log.h | 2 +-
infinoted/infinoted-main.c | 2 +-
infinoted/infinoted-options.c | 2 +-
infinoted/infinoted-options.h | 2 +-
infinoted/infinoted-pam.c | 2 +-
infinoted/infinoted-pam.h | 2 +-
infinoted/infinoted-parameter.c | 2 +-
infinoted/infinoted-parameter.h | 2 +-
infinoted/infinoted-plugin-manager.c | 2 +-
infinoted/infinoted-plugin-manager.h | 2 +-
infinoted/infinoted-run.c | 2 +-
infinoted/infinoted-run.h | 2 +-
infinoted/infinoted-signal.c | 2 +-
infinoted/infinoted-signal.h | 2 +-
infinoted/infinoted-startup.c | 2 +-
infinoted/infinoted-startup.h | 2 +-
infinoted/infinoted-util.c | 2 +-
infinoted/infinoted-util.h | 2 +-
infinoted/plugins/infinoted-plugin-autosave.c | 2 +-
infinoted/plugins/infinoted-plugin-certificate-auth.c | 2 +-
infinoted/plugins/infinoted-plugin-dbus.c | 2 +-
infinoted/plugins/infinoted-plugin-directory-sync.c | 2 +-
infinoted/plugins/infinoted-plugin-document-stream.c | 2 +-
infinoted/plugins/infinoted-plugin-linekeeper.c | 2 +-
infinoted/plugins/infinoted-plugin-logging.c | 2 +-
infinoted/plugins/infinoted-plugin-note-chat.c | 2 +-
infinoted/plugins/infinoted-plugin-note-text.c | 2 +-
infinoted/plugins/infinoted-plugin-record.c | 2 +-
infinoted/plugins/infinoted-plugin-traffic-logging.c | 2 +-
infinoted/plugins/infinoted-plugin-transformation-protection.c | 2 +-
infinoted/plugins/util/infinoted-plugin-util-navigate-browser.c | 2 +-
infinoted/plugins/util/infinoted-plugin-util-navigate-browser.h | 2 +-
libinfgtk/inf-gtk-account-creation-dialog.c | 2 +-
libinfgtk/inf-gtk-account-creation-dialog.h | 2 +-
libinfgtk/inf-gtk-acl-sheet-view.c | 2 +-
libinfgtk/inf-gtk-acl-sheet-view.h | 2 +-
libinfgtk/inf-gtk-browser-model-filter.c | 2 +-
libinfgtk/inf-gtk-browser-model-filter.h | 2 +-
libinfgtk/inf-gtk-browser-model-sort.c | 2 +-
libinfgtk/inf-gtk-browser-model-sort.h | 2 +-
libinfgtk/inf-gtk-browser-model.c | 2 +-
libinfgtk/inf-gtk-browser-model.h | 2 +-
libinfgtk/inf-gtk-browser-store.c | 2 +-
libinfgtk/inf-gtk-browser-store.h | 2 +-
libinfgtk/inf-gtk-browser-view.c | 2 +-
libinfgtk/inf-gtk-browser-view.h | 2 +-
libinfgtk/inf-gtk-certificate-dialog.c | 2 +-
libinfgtk/inf-gtk-certificate-dialog.h | 2 +-
libinfgtk/inf-gtk-certificate-manager.c | 2 +-
libinfgtk/inf-gtk-certificate-manager.h | 2 +-
libinfgtk/inf-gtk-certificate-view.c | 2 +-
libinfgtk/inf-gtk-certificate-view.h | 2 +-
libinfgtk/inf-gtk-chat.c | 2 +-
libinfgtk/inf-gtk-chat.h | 2 +-
libinfgtk/inf-gtk-connection-view.c | 2 +-
libinfgtk/inf-gtk-connection-view.h | 2 +-
libinfgtk/inf-gtk-io.c | 2 +-
libinfgtk/inf-gtk-io.h | 2 +-
libinfgtk/inf-gtk-permissions-dialog.c | 2 +-
libinfgtk/inf-gtk-permissions-dialog.h | 2 +-
libinfinity/adopted/inf-adopted-algorithm.c | 2 +-
libinfinity/adopted/inf-adopted-algorithm.h | 2 +-
libinfinity/adopted/inf-adopted-no-operation.c | 2 +-
libinfinity/adopted/inf-adopted-no-operation.h | 2 +-
libinfinity/adopted/inf-adopted-operation.c | 2 +-
libinfinity/adopted/inf-adopted-operation.h | 2 +-
libinfinity/adopted/inf-adopted-request-log.c | 2 +-
libinfinity/adopted/inf-adopted-request-log.h | 2 +-
libinfinity/adopted/inf-adopted-request.c | 2 +-
libinfinity/adopted/inf-adopted-request.h | 2 +-
libinfinity/adopted/inf-adopted-session-record.c | 2 +-
libinfinity/adopted/inf-adopted-session-record.h | 2 +-
libinfinity/adopted/inf-adopted-session-replay.c | 2 +-
libinfinity/adopted/inf-adopted-session-replay.h | 2 +-
libinfinity/adopted/inf-adopted-session.c | 2 +-
libinfinity/adopted/inf-adopted-session.h | 2 +-
libinfinity/adopted/inf-adopted-split-operation.c | 2 +-
libinfinity/adopted/inf-adopted-split-operation.h | 2 +-
libinfinity/adopted/inf-adopted-state-vector.c | 2 +-
libinfinity/adopted/inf-adopted-state-vector.h | 2 +-
libinfinity/adopted/inf-adopted-undo-grouping.c | 2 +-
libinfinity/adopted/inf-adopted-undo-grouping.h | 2 +-
libinfinity/adopted/inf-adopted-user.c | 2 +-
libinfinity/adopted/inf-adopted-user.h | 2 +-
libinfinity/client/infc-browser.c | 2 +-
libinfinity/client/infc-browser.h | 2 +-
libinfinity/client/infc-note-plugin.h | 2 +-
libinfinity/client/infc-progress-request.c | 2 +-
libinfinity/client/infc-progress-request.h | 2 +-
libinfinity/client/infc-request-manager.c | 2 +-
libinfinity/client/infc-request-manager.h | 2 +-
libinfinity/client/infc-request.c | 2 +-
libinfinity/client/infc-request.h | 2 +-
libinfinity/client/infc-session-proxy.c | 2 +-
libinfinity/client/infc-session-proxy.h | 2 +-
libinfinity/common/inf-acl.c | 2 +-
libinfinity/common/inf-acl.h | 2 +-
libinfinity/common/inf-async-operation.c | 2 +-
libinfinity/common/inf-async-operation.h | 2 +-
libinfinity/common/inf-browser-iter.c | 2 +-
libinfinity/common/inf-browser-iter.h | 2 +-
libinfinity/common/inf-browser.c | 2 +-
libinfinity/common/inf-browser.h | 2 +-
libinfinity/common/inf-buffer.c | 2 +-
libinfinity/common/inf-buffer.h | 2 +-
libinfinity/common/inf-cert-util.c | 2 +-
libinfinity/common/inf-cert-util.h | 2 +-
libinfinity/common/inf-certificate-chain.c | 2 +-
libinfinity/common/inf-certificate-chain.h | 2 +-
libinfinity/common/inf-certificate-credentials.c | 2 +-
libinfinity/common/inf-certificate-credentials.h | 2 +-
libinfinity/common/inf-certificate-verify.c | 2 +-
libinfinity/common/inf-certificate-verify.h | 2 +-
libinfinity/common/inf-chat-buffer.c | 2 +-
libinfinity/common/inf-chat-buffer.h | 2 +-
libinfinity/common/inf-chat-session.c | 2 +-
libinfinity/common/inf-chat-session.h | 2 +-
libinfinity/common/inf-discovery-avahi.c | 2 +-
libinfinity/common/inf-discovery-avahi.h | 2 +-
libinfinity/common/inf-discovery.c | 2 +-
libinfinity/common/inf-discovery.h | 2 +-
libinfinity/common/inf-error.c | 2 +-
libinfinity/common/inf-error.h | 2 +-
libinfinity/common/inf-file-util.c | 2 +-
libinfinity/common/inf-file-util.h | 2 +-
libinfinity/common/inf-init.c | 2 +-
libinfinity/common/inf-init.h | 2 +-
libinfinity/common/inf-io.c | 2 +-
libinfinity/common/inf-io.h | 2 +-
libinfinity/common/inf-ip-address.c | 2 +-
libinfinity/common/inf-ip-address.h | 2 +-
libinfinity/common/inf-keepalive.c | 2 +-
libinfinity/common/inf-keepalive.h | 2 +-
libinfinity/common/inf-local-publisher.c | 2 +-
libinfinity/common/inf-local-publisher.h | 2 +-
libinfinity/common/inf-name-resolver.c | 2 +-
libinfinity/common/inf-name-resolver.h | 2 +-
libinfinity/common/inf-native-socket.c | 2 +-
libinfinity/common/inf-native-socket.h | 2 +-
libinfinity/common/inf-protocol.c | 2 +-
libinfinity/common/inf-protocol.h | 2 +-
libinfinity/common/inf-request-result.c | 2 +-
libinfinity/common/inf-request-result.h | 2 +-
libinfinity/common/inf-request.c | 2 +-
libinfinity/common/inf-request.h | 2 +-
libinfinity/common/inf-sasl-context.c | 2 +-
libinfinity/common/inf-sasl-context.h | 2 +-
libinfinity/common/inf-session-proxy.c | 2 +-
libinfinity/common/inf-session-proxy.h | 2 +-
libinfinity/common/inf-session.c | 2 +-
libinfinity/common/inf-session.h | 2 +-
libinfinity/common/inf-simulated-connection.c | 2 +-
libinfinity/common/inf-simulated-connection.h | 2 +-
libinfinity/common/inf-standalone-io.c | 2 +-
libinfinity/common/inf-standalone-io.h | 2 +-
libinfinity/common/inf-tcp-connection-private.h | 2 +-
libinfinity/common/inf-tcp-connection.c | 2 +-
libinfinity/common/inf-tcp-connection.h | 2 +-
libinfinity/common/inf-user-table.c | 2 +-
libinfinity/common/inf-user-table.h | 2 +-
libinfinity/common/inf-user.c | 2 +-
libinfinity/common/inf-user.h | 2 +-
libinfinity/common/inf-xml-connection.c | 2 +-
libinfinity/common/inf-xml-connection.h | 2 +-
libinfinity/common/inf-xml-util.c | 2 +-
libinfinity/common/inf-xml-util.h | 2 +-
libinfinity/common/inf-xmpp-connection.c | 2 +-
libinfinity/common/inf-xmpp-connection.h | 2 +-
libinfinity/common/inf-xmpp-manager.c | 2 +-
libinfinity/common/inf-xmpp-manager.h | 2 +-
libinfinity/communication/inf-communication-central-factory.c | 2 +-
libinfinity/communication/inf-communication-central-factory.h | 2 +-
libinfinity/communication/inf-communication-central-method.c | 2 +-
libinfinity/communication/inf-communication-central-method.h | 2 +-
libinfinity/communication/inf-communication-factory.c | 2 +-
libinfinity/communication/inf-communication-factory.h | 2 +-
libinfinity/communication/inf-communication-group-private.h | 2 +-
libinfinity/communication/inf-communication-group.c | 2 +-
libinfinity/communication/inf-communication-group.h | 2 +-
libinfinity/communication/inf-communication-hosted-group.c | 2 +-
libinfinity/communication/inf-communication-hosted-group.h | 2 +-
libinfinity/communication/inf-communication-joined-group.c | 2 +-
libinfinity/communication/inf-communication-joined-group.h | 2 +-
libinfinity/communication/inf-communication-manager.c | 2 +-
libinfinity/communication/inf-communication-manager.h | 2 +-
libinfinity/communication/inf-communication-method.c | 2 +-
libinfinity/communication/inf-communication-method.h | 2 +-
libinfinity/communication/inf-communication-object.c | 2 +-
libinfinity/communication/inf-communication-object.h | 2 +-
libinfinity/communication/inf-communication-registry.c | 2 +-
libinfinity/communication/inf-communication-registry.h | 2 +-
libinfinity/inf-config.h.in | 2 +-
libinfinity/inf-define-enum.h | 2 +-
libinfinity/inf-dll.c | 2 +-
libinfinity/inf-dll.h | 2 +-
libinfinity/inf-i18n.c | 2 +-
libinfinity/inf-i18n.h | 2 +-
libinfinity/inf-signals.c | 2 +-
libinfinity/inf-signals.h | 2 +-
libinfinity/server/infd-account-storage.c | 2 +-
libinfinity/server/infd-account-storage.h | 2 +-
libinfinity/server/infd-chat-filesystem-format.c | 2 +-
libinfinity/server/infd-chat-filesystem-format.h | 2 +-
libinfinity/server/infd-directory.c | 2 +-
libinfinity/server/infd-directory.h | 2 +-
libinfinity/server/infd-filesystem-account-storage.c | 2 +-
libinfinity/server/infd-filesystem-account-storage.h | 2 +-
libinfinity/server/infd-filesystem-storage.c | 2 +-
libinfinity/server/infd-filesystem-storage.h | 2 +-
libinfinity/server/infd-note-plugin.h | 2 +-
libinfinity/server/infd-progress-request.c | 2 +-
libinfinity/server/infd-progress-request.h | 2 +-
libinfinity/server/infd-request.c | 2 +-
libinfinity/server/infd-request.h | 2 +-
libinfinity/server/infd-server-pool.c | 2 +-
libinfinity/server/infd-server-pool.h | 2 +-
libinfinity/server/infd-session-proxy.c | 2 +-
libinfinity/server/infd-session-proxy.h | 2 +-
libinfinity/server/infd-storage.c | 2 +-
libinfinity/server/infd-storage.h | 2 +-
libinfinity/server/infd-tcp-server.c | 2 +-
libinfinity/server/infd-tcp-server.h | 2 +-
libinfinity/server/infd-xml-server.c | 2 +-
libinfinity/server/infd-xml-server.h | 2 +-
libinfinity/server/infd-xmpp-server.c | 2 +-
libinfinity/server/infd-xmpp-server.h | 2 +-
libinftext/inf-text-buffer.c | 2 +-
libinftext/inf-text-buffer.h | 2 +-
libinftext/inf-text-chunk.c | 2 +-
libinftext/inf-text-chunk.h | 2 +-
libinftext/inf-text-default-buffer.c | 2 +-
libinftext/inf-text-default-buffer.h | 2 +-
libinftext/inf-text-default-delete-operation.c | 2 +-
libinftext/inf-text-default-delete-operation.h | 2 +-
libinftext/inf-text-default-insert-operation.c | 2 +-
libinftext/inf-text-default-insert-operation.h | 2 +-
libinftext/inf-text-delete-operation.c | 2 +-
libinftext/inf-text-delete-operation.h | 2 +-
libinftext/inf-text-filesystem-format.c | 2 +-
libinftext/inf-text-filesystem-format.h | 2 +-
libinftext/inf-text-fixline-buffer.c | 2 +-
libinftext/inf-text-fixline-buffer.h | 2 +-
libinftext/inf-text-insert-operation.c | 2 +-
libinftext/inf-text-insert-operation.h | 2 +-
libinftext/inf-text-move-operation.c | 2 +-
libinftext/inf-text-move-operation.h | 2 +-
libinftext/inf-text-operations.h | 2 +-
libinftext/inf-text-remote-delete-operation.c | 2 +-
libinftext/inf-text-remote-delete-operation.h | 2 +-
libinftext/inf-text-session.c | 2 +-
libinftext/inf-text-session.h | 2 +-
libinftext/inf-text-undo-grouping.c | 2 +-
libinftext/inf-text-undo-grouping.h | 2 +-
libinftext/inf-text-user.c | 2 +-
libinftext/inf-text-user.h | 2 +-
libinftextgtk/inf-text-gtk-buffer.c | 2 +-
libinftextgtk/inf-text-gtk-buffer.h | 2 +-
libinftextgtk/inf-text-gtk-hue-chooser.c | 2 +-
libinftextgtk/inf-text-gtk-hue-chooser.h | 2 +-
libinftextgtk/inf-text-gtk-view.c | 2 +-
libinftextgtk/inf-text-gtk-view.h | 2 +-
libinftextgtk/inf-text-gtk-viewport.c | 2 +-
libinftextgtk/inf-text-gtk-viewport.h | 2 +-
test/inf-test-browser.c | 2 +-
test/inf-test-certificate-request.c | 2 +-
test/inf-test-certificate-validate.c | 2 +-
test/inf-test-chat.c | 2 +-
test/inf-test-chunk.c | 2 +-
test/inf-test-daemon.c | 2 +-
test/inf-test-gtk-browser.c | 2 +-
test/inf-test-mass-join.c | 2 +-
test/inf-test-reduce-replay.c | 2 +-
test/inf-test-set-acl.c | 2 +-
test/inf-test-state-vector.c | 2 +-
test/inf-test-tcp-connection.c | 2 +-
test/inf-test-tcp-server.c | 2 +-
test/inf-test-text-cleanup.c | 2 +-
test/inf-test-text-fixline.c | 2 +-
test/inf-test-text-operations.c | 2 +-
test/inf-test-text-quick-write.c | 2 +-
test/inf-test-text-recover.c | 2 +-
test/inf-test-text-replay.c | 2 +-
test/inf-test-text-session.c | 2 +-
test/inf-test-traffic-replay.c | 2 +-
test/inf-test-xmpp-connection.c | 2 +-
test/inf-test-xmpp-server.c | 2 +-
test/util/inf-test-util.c | 2 +-
test/util/inf-test-util.h | 2 +-
293 files changed, 293 insertions(+), 293 deletions(-)
commit 7921fd451db3cce7fd962080bbedc7b8648be4e9
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 7 21:28:28 2015 -0400
Include pam_appl.h from security/ also on OS X
Recent versions of OS X seem to have that header in security/ instead
of pam/
infinoted/infinoted-pam.c | 4 ----
1 file changed, 4 deletions(-)
commit 2c96b4edf8c1a51c07b097e21f941bf7b040c42a
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 7 21:27:23 2015 -0400
InfXmppConnection: Fix strncmp invocation when suggesting SASL mechanism
libinfinity/common/inf-xmpp-connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 041b0839861de32774f15df6deeaaeb2bc484d98
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 7 21:25:58 2015 -0400
inf_keepalive_apply: fix parentheses in comparison of bitwise operation
libinfinity/common/inf-keepalive.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 452c72aa9544199c51101d94e26e33e51ebc5bc2
Author: hgrundy <harrison.grundy@astrodoggroup.com>
Date: Sun Jun 7 11:34:04 2015 -0700
Update AUTHORS
Touch years again.
AUTHORS | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit bef26888297375caac232fff244284cb0abfcdf2
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jun 3 21:51:17 2015 -0400
Add some spacing between "View certificate" expander and certificate list
libinfgtk/resources/ui/infgtkcertificatedialog.ui | 1 +
libinfgtk/resources/ui/infgtkconnectionview.ui | 1 +
2 files changed, 2 insertions(+)
commit 817639b633e611ce04d8f42ed614408734b7427b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 31 19:14:07 2015 -0400
Make InfGtkChat expand horizontally and vertically
This becomes relevant when the widget is attached to a GtkGrid.
libinfgtk/resources/ui/infgtkchat.ui | 4 ++++
1 file changed, 4 insertions(+)
commit 11e7fb29eaded2748b739d290a5d26bb8e588e39
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed May 27 22:25:07 2015 -0400
inf-test-traffic-replay: Improve mismatch output format
test/inf-test-traffic-replay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 6d69aa5a97d72460cd6f0d9de866cfcb46230bb5
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed May 27 22:24:49 2015 -0400
inf-test-traffic-replay: Parse microseconds from replay
test/inf-test-traffic-replay.c | 26 +++++++++++++++++++++++---
1 file changed, 23 insertions(+), 3 deletions(-)
commit 5914b9adf5c9aeb238c78669f2869f365c41c6b8
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed May 27 22:21:22 2015 -0400
Fix g_free / g_slice_free mismatch
libinfinity/server/infd-directory.c | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
commit e55819bc7dd2a2b1581eaa01ba321de6a36956c4
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed May 27 21:12:28 2015 -0400
InfdDirectory: Fix error reply to client when session proxy cannot
be created
libinfinity/server/infd-directory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 42c55330a4c327e4db3c45a7c08cdd92068bdf9a
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 24 13:11:02 2015 -0400
Make sure to prefer DHE-RSA over RSA
Recent versions of GnuTLS prefer RSA over DHE-RSA for comatibility
reasons. If a server negotiates a DH group with a low number of prime
bits, the handshake will inevitably fial and there is no way to fall
back to RSA. However, the DH groups that Gobby and infinoted generate
have 2048 bits, so we don't expect this to be a problem in practise,
and can therefore benefit from DHE-RSA. This might become a problem
in the future, and we can re-visit then.
Note that when Gobby and infinoted are used with recent versions of
GnuTLS, they also prefer ECDHE over DHE, in which case this is not
an issue anyway.
This change basically fixes PFS when a client with a recent GnuTLS
version connects to a server with a not-so-recent GnuTLS version
(such as 2.12). We can do this because we know that the DH group that
that server will have is strong enough.
libinfinity/common/inf-xmpp-connection.c | 44 ++++++++----------------------
1 file changed, 12 insertions(+), 32 deletions(-)
commit 24b0ce6d986ad399b16ee695c8d15a1cd83e73de
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat May 23 18:30:58 2015 -0400
Add InfGtkConnectionView
docs/reference/libinfgtk/libinfgtk-0.7-docs.sgml | 1 +
.../libinfgtk/libinfgtk-0.7-sections.txt | 21 +
libinfgtk/Makefile.am | 3 +
libinfgtk/inf-gtk-connection-view.c | 624 ++++++++++++++++++++
libinfgtk/inf-gtk-connection-view.h | 79 +++
libinfgtk/resources/infgtk.gresources.xml | 1 +
libinfgtk/resources/ui/infgtkconnectionview.ui | 263 +++++++++
7 files changed, 992 insertions(+)
commit 32e7feba2be355a40287d410c3efe31a86ef3e32
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat May 23 22:07:44 2015 -0400
Add public API to obtain TLS parameters
.../libinfinity/libinfinity-0.7-sections.txt | 5 +
libinfinity/common/inf-xmpp-connection.c | 129 ++++++++++++++++++++
libinfinity/common/inf-xmpp-connection.h | 15 +++
3 files changed, 149 insertions(+)
commit 54a681d204036b8e263d672681b2f3d7a0b43707
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat May 23 18:30:29 2015 -0400
Small fixes to InfGtkCertificateDialog and InfGtkCertificateView
libinfgtk/inf-gtk-certificate-dialog.h | 2 --
libinfgtk/inf-gtk-certificate-view.h | 4 ++--
2 files changed, 2 insertions(+), 4 deletions(-)
commit e4f2618d2d9c6e90c11b505182c8b79487fb47ca
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat May 23 17:26:03 2015 -0400
Add signature algorithm information in certificate dialog
libinfgtk/inf-gtk-certificate-view.c | 26 ++++++++++++++++
libinfgtk/resources/ui/infgtkcertificateview.ui | 38 +++++++++++++++++++++++
2 files changed, 64 insertions(+)
commit 5b88b02e379dd692b1ec85a787a1647fe21b19af
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat May 23 16:52:12 2015 -0400
Add a test which writes text into an infinote document very quickly
test/Makefile.am | 9 +-
test/inf-test-text-quick-write.c | 644 +++++++++++++++++++++++++++++++++++++
2 files changed, 652 insertions(+), 1 deletion(-)
commit e2a25a38429bed21bcf7cdca25e3bce209eeb671
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat May 23 14:39:59 2015 -0400
Fix session becoming inconsistent with active local users during
subscription
When the server sends the vector time of local users during subscription,
it now sends the last send vector instead of the real value of the
user time,
so that subsequent state vector diffs are consistent for the newly joined
client.
libinfinity/adopted/inf-adopted-session.c | 34 ++++++++++++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
commit ea5b55f8e3e3d8478f91429b8ca2bd0cff21d9b4
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri May 22 19:22:26 2015 -0400
Fix a possible crash when removing a browser entry
libinfgtk/inf-gtk-browser-store.c | 5 +++++
libinfgtk/inf-gtk-browser-view.c | 11 +++++++++++
2 files changed, 16 insertions(+)
commit a3dff98887c973d9452d0d97785a50fd7c20a60c
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon May 18 21:08:37 2015 -0400
Initialize libinfinity in certificate validate test
Otherwise GnuTLS will not work in old GnuTLS versions.
test/inf-test-certificate-validate.c | 9 +++++++++
1 file changed, 9 insertions(+)
commit 5b2e89b98ca4887392f4ee36850225d316f0f32b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 17 22:57:42 2015 -0400
Fix variable initialization in inf-test-certificate-validate
test/inf-test-certificate-validate.c | 1 +
1 file changed, 1 insertion(+)
commit 1eda108268adb5cd5216f207be71675434e82cb1
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 17 22:56:20 2015 -0400
Fix buffer underrun in memrchr implementation
libinfinity/common/inf-cert-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 05f8baeab2f07de72648eeed00723890edd31d4e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 17 20:19:22 2015 -0400
Enhance the certificate verification unit test
Check whether we would query the user or not, and whether the certificate
would be pinned afterwards or not.
test/certs/Makefile.am | 6 +-
test/certs/test-expire-good-crt.pem | 32 +++
test/certs/test-expire-good-key.pem | 51 ++++
test/certs/test-good-crt.pem | 32 +++
test/certs/test-good-key.pem | 51 ++++
test/inf-test-certificate-validate.c | 432 +++++++++++++++++++++++++++++++--
6 files changed, 577 insertions(+), 27 deletions(-)
commit 254eaec3c6fadd63c0ffeeeedb11e11c786a4f1e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 17 18:36:43 2015 -0400
Make the certificate validation test not depend on GTK+
test/Makefile.am | 3 +--
test/inf-test-certificate-validate.c | 38 +++++++++++++++-------------------
2 files changed, 18 insertions(+), 23 deletions(-)
commit ff46d6cda9b784bcf5c0243d031a0eb9b74a41d7
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 17 20:28:28 2015 -0400
Move the function to compare fingerprints to inf-cert-util
.../libinfinity/libinfinity-0.7-sections.txt | 1 +
libinfinity/common/inf-cert-util.c | 60 +++++++++++++++++++++
libinfinity/common/inf-cert-util.h | 13 +++--
libinfinity/common/inf-certificate-verify.c | 53 +-----------------
4 files changed, 72 insertions(+), 55 deletions(-)
commit f31b75343c93bff1e14d87904c52d6a82a714f36
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 17 17:37:46 2015 -0400
Refactor certificate verification
The non-UI dependent parts are now in the InfCertificateVerify class.
.../libinfgtk/libinfgtk-0.7-sections.txt | 3 -
.../libinfinity/libinfinity-0.7-docs.sgml | 1 +
.../libinfinity/libinfinity-0.7-sections.txt | 20 +
libinfgtk/inf-gtk-certificate-dialog.c | 144 +--
libinfgtk/inf-gtk-certificate-dialog.h | 31 +-
libinfgtk/inf-gtk-certificate-manager.c | 836 ++++-------------
libinfgtk/inf-gtk-certificate-manager.h | 6 +-
libinfgtk/resources/ui/infgtkcertificatedialog.ui | 6 +-
libinfinity/Makefile.am | 2 +
libinfinity/common/inf-certificate-verify.c | 943 ++++++++++++++++++++
libinfinity/common/inf-certificate-verify.h | 110 +++
11 files changed, 1325 insertions(+), 777 deletions(-)
commit 080b0e992cc68d96e181f767e46db48bd962571d
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 17 15:30:39 2015 -0400
Move writing of pinned certificates to inf-cert-util
TODO | 8 +-
.../libinfinity/libinfinity-0.7-sections.txt | 2 +
libinfgtk/inf-gtk-certificate-manager.c | 255 +-----------------
libinfinity/common/inf-cert-util.c | 274 +++++++++++++++++++-
libinfinity/common/inf-cert-util.h | 9 +
5 files changed, 295 insertions(+), 253 deletions(-)
commit 2e065b3cfd1769ae256573747ad4dbc1f5db2a59
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 12 20:55:41 2015 -0400
Fix make distcheck for recent automake versions
Recent automake versions run with a more restrictive umask, so that the
version.xml files are created with read-only permissions. This fails when
trying to override them, so remove them explicitly before.
docs/reference/Makefile.am | 2 ++
1 file changed, 2 insertions(+)
commit c97f870f5ae13112988d9f8ad464b4f679903706
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon May 11 22:59:34 2015 -0400
Fix expired certificate validation (gobby #61)
libinfgtk/inf-gtk-certificate-manager.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit 3be299585a2fbf44811e27190435c87a4388c725
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon May 11 23:00:00 2015 -0400
Add a unit test for certicate validation
At the moment this only includes one test that checks an expired
certificate,
but we should add more in the future.
.gitignore | 1 -
configure.ac | 1 +
test/Makefile.am | 17 +-
test/certs/Makefile.am | 5 +
test/certs/ca-crt.pem | 34 +++
test/certs/ca-key.pem | 51 ++++
test/certs/test-expire-crt.pem | 32 +++
test/certs/test-expire-key.pem | 51 ++++
test/inf-test-certificate-validate.c | 428 +++++++++++++++++++++++++++++++++
9 files changed, 616 insertions(+), 4 deletions(-)
commit f321334dd28a23699069767c892811e5522f8e20
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon May 11 22:57:58 2015 -0400
InfdXmppServer: Unref own SASL context when setting a new connection
The TODO comment above is valid no matter whether we do this or not,
and this
prevents an assertion to trigger in dispose() when unsetting the TCP
connection and an own SASL context is in place.
libinfinity/server/infd-xmpp-server.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit bdf0e9ccd914430e2eb835a3ffddd89eb3766a56
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon May 11 22:57:02 2015 -0400
Make inf_xmpp_connection_error_quark public
.../libinfinity/libinfinity-0.7-sections.txt | 1 +
libinfinity/common/inf-xmpp-connection.c | 38 +++++++++++++--------
libinfinity/common/inf-xmpp-connection.h | 3 ++
3 files changed, 27 insertions(+), 15 deletions(-)
commit 753bdcecf7e0a055c10a2cb0950ba8abb3953bf6
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 5 20:45:45 2015 -0400
Update caret position when only updating fixline state
When the user inserts some newlines that are "swallowed" by the fixline
buffer, then still advance the user's cursor such that newly
to-be-written
text is inserted after the imaginary newline.
libinftext/inf-text-fixline-buffer.c | 54 ++++++++++++++++++++++++++++++++++
1 file changed, 54 insertions(+)
commit 2bcf03391e626bb7b69ea1e2c50ea10f2a56eb22
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed May 6 18:22:55 2015 -0400
Allow multi-line chat messages (#gobby 58)
libinfgtk/inf-gtk-chat.c | 45 ++++++++++++++++++++++++++++------
libinfgtk/resources/ui/infgtkchat.ui | 2 +-
2 files changed, 38 insertions(+), 9 deletions(-)
commit 117bd0b4279ab3d4ac6d374e05d7d1edd65c3355
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed May 6 18:22:16 2015 -0400
InfGtkChat: Handle chat messages that are not null-terminated
libinfgtk/inf-gtk-chat.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit ff6b3a23c15d426cdcb2a3d48df296f170adb9c9
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon May 4 20:31:12 2015 -0400
fixline buffer: Fix crash when iterating backwards through empty
base buffer
libinftext/inf-text-fixline-buffer.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 7785d613a191a23f7e2340a372ed19862bde15de
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 3 17:07:46 2015 -0400
Fix insert/erase notifications in InfTextFixlineBuffer
The notifications were missing when the fixline buffer was modified
directly
with the API, and not in response to modifications to the underlying base
buffer.
libinftext/inf-text-fixline-buffer.c | 10 ++++++++++
1 file changed, 10 insertions(+)
commit c774fc97b5aa3414084f82e6d85faad60e23b2af
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Apr 30 21:37:23 2015 -0400
Fix create_end_iter() implementation in InfTextFixlineBuffer
libinftext/inf-text-fixline-buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f8d3cf5049b2bf6dd75fb51398df4ba0bd96ec9a
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 25 18:49:58 2015 -0400
Make Ctrl+C work in the chat box (gobby #53)
We allow the chat box to receive focus, and the focus is directly
transferred to the text entry. When Ctrl+C is pressed with the text entry
focused, and no text selected in the entry, the selected text in the chat
box is copied.
libinfgtk/inf-gtk-chat.c | 70 ++++++++++++++++++++++++++++++++++
libinfgtk/resources/ui/infgtkchat.ui | 3 +-
2 files changed, 72 insertions(+), 1 deletion(-)
commit a638bf48a01bf34660fa4b1eb29cbb922243eb01
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Apr 3 13:32:01 2015 -0400
Fix crash after unloading dbus plugin
Loading the dbus plugin also loads libgio-2.0.so, and when the plugin is
unloaded, both are unloaded again. However, unloading libgio-2.0.so does
not really work because it registers static memory with the gobject type
system. Therefore, make sure that libgio stays loaded even after the dbus
plugin gets unloaded.
infinoted/plugins/infinoted-plugin-dbus.c | 42 +++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
commit ddd81af0933deab83c09c3d95a679489818053da
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Apr 3 13:05:29 2015 -0400
Add infinoted-plugin-dbus.c to POTFILES
po/POTFILES.in | 1 +
1 file changed, 1 insertion(+)
commit f2d8c87de90f3fa78baa71a65dd3349731b93c1e
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Apr 3 13:04:24 2015 -0400
Fix a crash when the server explicitly changes client account to default
libinfinity/client/infc-browser.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 4c5c4c62f57b3751042bddd8f662903b55babf56
Author: Jochen Müller <mail@jnmr.de>
Date: Wed Jan 28 15:46:10 2015 +0100
Fixed some minor mistakes in Windows-specific code for keepalives.
libinfinity/common/inf-keepalive.c | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
commit c425b60d0549b898ce378db922d8926ddcffa044
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jan 14 15:28:16 2015 -0500
Check whether we need -lresolv for res_query() (gobby #23)
Some systems such as FreeBSD have res_query() within libc, and passing
-lresolv to the linker makes it fail because libresolv does not exist.
configure.ac | 36 +++++++++++++++++++++++++++++++++++-
1 file changed, 35 insertions(+), 1 deletion(-)
commit d243a3cb81ad55ae2fca6625566dc0625301d38f
Author: Philipp Kern <pkern@debian.org>
Date: Wed Jan 7 00:09:55 2015 +0100
Travis CI: Ensure the presence of a current Ubuntu signing key.
.travis.yml | 1 +
1 file changed, 1 insertion(+)
commit a85ffdea80236172ece23b7ab6751b2e0e0a1a61
Author: Philipp Kern <pkern@debian.org>
Date: Tue Jan 6 23:39:51 2015 +0100
Travis CI: Upgrade zlib to trusty due to libxml2.
libxml2 in trusty seems to require trusty's zlib without declaring this
dependency. Attempt to upgrade it first.
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 09531b5830ebad0d6fda82a91b4ad4a8df6b59ac
Author: Philipp Kern <pkern@debian.org>
Date: Tue Jan 6 23:39:01 2015 +0100
Revert "Travis CI: attempt a dist-upgrade first"
This reverts commit 8231b949b4a41e420646a7d4e6a4e51af8516d3f.
.travis.yml | 1 -
1 file changed, 1 deletion(-)
commit d8d4d723a5f06f8288237990f0309c811d6de030
Author: Philipp Kern <pkern@debian.org>
Date: Tue Jan 6 23:38:40 2015 +0100
Revert "Travis CI: handle conffile prompts on dist-upgrade correctly"
This reverts commit 7fc1aa2454d46588d37596636fbe710bb01100da.
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9acdde9b656110beb23aac72ef295f31121f8629
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jan 6 16:48:10 2015 +0100
Fix a crash when sending unsubscribe message causes connection failure
libinfinity/client/infc-session-proxy.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit dd85786081ae65ea1afab3737076d5f1cbe2506d
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jan 6 14:13:38 2015 +0100
InfdDirectory: Fail add-subdirectory request if name already exists
libinfinity/server/infd-directory.c | 74 +++++++++++++++++++++--------------
1 file changed, 45 insertions(+), 29 deletions(-)
commit 847c089267494de8dcef304885094bea6c3226f5
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jan 6 13:30:37 2015 +0100
Fix assertion failure when directory without storage is disposed
libinfinity/server/infd-directory.c | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
commit 7fc1aa2454d46588d37596636fbe710bb01100da
Author: Philipp Kern <phil@philkern.de>
Date: Tue Dec 23 13:32:41 2014 +0100
Travis CI: handle conffile prompts on dist-upgrade correctly
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 8231b949b4a41e420646a7d4e6a4e51af8516d3f
Author: Philipp Kern <phil@philkern.de>
Date: Tue Dec 23 13:18:08 2014 +0100
Travis CI: attempt a dist-upgrade first
.travis.yml | 1 +
1 file changed, 1 insertion(+)
commit 0469f348ae90922dd83e0998ad8b7a31895e9c1c
Author: Philipp Kern <phil@philkern.de>
Date: Tue Dec 23 13:03:08 2014 +0100
Travis CI: install libexpat1-dev as required by gtk+3.0
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit fb4817ed8da337b79257d72ef186cfe66a81d9f0
Author: Philipp Kern <phil@philkern.de>
Date: Tue Dec 23 12:56:41 2014 +0100
Travis CI: Pull build-dependencies from trusty.
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 29b58e0f9b0166be93b5878a530b3b2f7272b25c
Author: Philipp Kern <phil@philkern.de>
Date: Tue Dec 23 12:52:22 2014 +0100
Travis CI: install gobject-introspection
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f17572de2cf601586ece6023d6c79267d85c2b6c
Author: Philipp Kern <phil@philkern.de>
Date: Tue Dec 23 12:46:15 2014 +0100
Travis CI: make trusty available
.travis.yml | 1 +
1 file changed, 1 insertion(+)
commit 8b8ba82b2d587adb2de73d7592eacfb4c3271840
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Nov 25 10:48:10 2014 -0500
Add inf_io_add_watch_from_fd() (#8)
This function is only available on Unix, and primarily intended for
language
bindings, since InfNativeSocket is not a managed type.
.../libinfinity/libinfinity-0.7-sections.txt | 1 +
libinfinity/common/inf-io.c | 64 +++++++++++++++++++++
libinfinity/common/inf-io.h | 12 +++-
3 files changed, 76 insertions(+), 1 deletion(-)
commit 3048b6c3faf088787691501f112e883780395924
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Oct 27 14:40:47 2014 -0400
Also support traffic replay on a server with the traffic replay tool
test/inf-test-traffic-replay.c | 968 +++++++++++++++++++++++++++++++--------
1 file changed, 781 insertions(+), 187 deletions(-)
commit 050e26b7f6a15b616302942d34d2c35610815b13
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Oct 28 13:40:42 2014 -0400
Fix a memory leak in the dbus plugin
infinoted/plugins/infinoted-plugin-dbus.c | 2 ++
1 file changed, 2 insertions(+)
commit dd37b5a53f929565a785104c7a2de7f8da0df280
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Oct 28 13:39:53 2014 -0400
Fix a memory leak in the plugin manager
infinoted/infinoted-plugin-manager.c | 2 ++
1 file changed, 2 insertions(+)
commit cb63d072f30f3cb9768235a05d7f6f0b73501790
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Oct 28 13:28:10 2014 -0400
Fix possible crash when a connection goes down while broadcasting data
.../inf-communication-central-method.c | 167 ++++++++++----------
1 file changed, 85 insertions(+), 82 deletions(-)
commit 705844df34ae9afd4c2664f075e800862f689610
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Oct 28 10:27:55 2014 -0400
Make sure messages are not attempted to be sent on closed connections
.../inf-communication-central-method.c | 7 +++++-
.../communication/inf-communication-registry.c | 24 +++++++++++++++------
2 files changed, 24 insertions(+), 7 deletions(-)
commit 09d040575ac650beee3eaf4d5107107fdb6fc16e
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Oct 28 10:27:21 2014 -0400
Add a missing status notify in InfXmppConnection
libinfinity/common/inf-xmpp-connection.c | 3 +++
1 file changed, 3 insertions(+)
commit 631d0396631c4f155cfeddaa60f68fc5f96654d3
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Oct 27 15:54:17 2014 -0400
Fix error message in server log when a client certificate is not trusted
infinoted/plugins/infinoted-plugin-certificate-auth.c | 2 +-
libinfinity/common/inf-error.c | 2 ++
2 files changed, 3 insertions(+), 1 deletion(-)
commit 7fcb1435b7d241b37ba1a31d5cb3c56812f74f8c
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Oct 26 10:37:56 2014 -0400
Store timestamp of messages in microsecond resolution in traffic logs
This will allow for a more accurate replay of multiple streams on
the same
server.
infinoted/plugins/infinoted-plugin-traffic-logging.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit bcc3748742b8ba1c6bb0cd5487a0f5b3ef706287
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Oct 22 13:44:03 2014 -0400
Fix possible memory corruption on insert in fixline buffer
Also, add a test which reproduces this problem. While the test might well
run through even with the buggy version, valgrind will uncover the memory
corruption, and in some cases it can lead to a crash or otherwise
undesired
behaviour.
libinftext/inf-text-fixline-buffer.c | 6 +++++-
test/inf-test-text-fixline.c | 2 ++
2 files changed, 7 insertions(+), 1 deletion(-)
commit 17d1c4ca5cd063f3dcbfb026dd282fc6aeae36e3
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Oct 22 11:51:01 2014 -0400
Add a debug tool to replay a traffic log on a client
test/Makefile.am | 9 +-
test/inf-test-traffic-replay.c | 516 +++++++++++++++++++++++++++++++++++++++
2 files changed, 524 insertions(+), 1 deletion(-)
commit 096634c70bf9bb0c466df2f4cd4fea02cf8f3c96
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Oct 22 12:37:37 2014 -0400
Fix crash on an add-node request for a non-explored subdirectory
libinfinity/client/infc-browser.c | 12 ++++++++++++
libinfinity/common/inf-error.c | 2 ++
libinfinity/common/inf-error.h | 3 +++
3 files changed, 17 insertions(+)
commit c361c7042732499b0cc39e9bbf1f5e331d0791a9
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Oct 18 13:39:57 2014 -0400
infinoted-plugin-document-stream: Only use MSG_NOSIGNAL if available (#7)
This is a build fix for Mac OS X.
infinoted/plugins/infinoted-plugin-document-stream.c | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
commit addc7ea864f111837324805e41ec5efab7267532
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Oct 18 13:39:06 2014 -0400
inf-name-resolver: Include <arpa/nameser.h> and <arpa/nameser_compat.h>
(#7)
This fixes the build on Mac OS X.
libinfinity/common/inf-name-resolver.c | 2 ++
1 file changed, 2 insertions(+)
commit 799dab8dea1bc6f267171b2f6b1b288bdb6cc419
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Oct 9 13:19:14 2014 -0400
Use length-independent string compare for password check
Thanks to Jann Horn for pointing this out.
infinoted/infinoted-options.c | 4 ++++
infinoted/infinoted-options.h | 1 +
infinoted/infinoted-startup.c | 20 +++++++++++++++++++-
3 files changed, 24 insertions(+), 1 deletion(-)
commit d4a53299ee2fbc1ce65c0638a0945f84a75f9169
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Oct 9 12:53:46 2014 -0400
Fix possible warning when session could not be created
libinfinity/server/infd-directory.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit a32706cb48ab2237c1d31eda9207575898fb7833
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Oct 9 12:53:32 2014 -0400
Fix sheet set verification when no account storage is set
libinfinity/server/infd-directory.c | 48 ++++++++++++++++++++++++++---------
1 file changed, 36 insertions(+), 12 deletions(-)
commit 9ef618ba96dd59a3c54bfc56eac2aa7fc6602085
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Oct 9 12:51:49 2014 -0400
Fix possible deadlock in dbus plugin
Apparently g_main_loop_quit() cannot be used from one thread to quit the
main loop in another thread. Instead, an idle source is added now.
Unfortunately, there is some strange crash happening inside a glib
thread when
the plugin is unloaded. That thread seems to do some more
deinitialization,
but we don't have a possibility to wait for it. We might need to use
some more
low-level dbus API to fix that properly.
infinoted/plugins/infinoted-plugin-dbus.c | 45 +++++++++++++++++++++++++++--
1 file changed, 43 insertions(+), 2 deletions(-)
commit e95c4668f539f3876889e47e26d42f1f164d7d90
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Oct 9 11:16:39 2014 -0400
Fix check for empty path component in InfdFilesystemStorage
Thanks to Jann Horn for reporting this. At the moment I don't think there
are any security implications because of this.
libinfinity/server/infd-directory.c | 17 ++++++++++++-----
libinfinity/server/infd-filesystem-account-storage.c | 2 +-
libinfinity/server/infd-filesystem-storage.c | 16 +++++++++++++---
3 files changed, 26 insertions(+), 9 deletions(-)
commit 84332bab84749f461d167e66f60cb892f3a83e41
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Oct 6 18:05:52 2014 -0400
Change the mode parameter for directory creation to 0777 (#6)
This especially affects the directory-sync plugin. If other modes
are desired,
the umask of the process should be set accordingly. This change
allows the
plugin to create directory that are readable or writable by other
users than
the process owner.
infinoted/infinoted-util.c | 2 +-
infinoted/plugins/infinoted-plugin-directory-sync.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 8ee092630f84541f00b94bb71bbab45bbb6d8bdc
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Oct 4 20:49:28 2014 -0400
infinoted-plugin-document-stream: Don't join a user if username is empty
infinoted/plugins/infinoted-plugin-document-stream.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit 3430961b51ea6ad75eea7302495d5c1a8d9b3292
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Oct 1 14:39:53 2014 -0400
Add dbus API to explore, add and remove nodes
infinoted/plugins/infinoted-plugin-dbus.c | 274 +++++++++++++++++++-
.../plugins/infinoted-plugin-document-stream.c | 1 +
.../util/infinoted-plugin-util-navigate-browser.c | 17 +-
.../util/infinoted-plugin-util-navigate-browser.h | 1 +
4 files changed, 287 insertions(+), 6 deletions(-)
commit c10300f6a4d24655c14bb230801baf897d349303
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Oct 1 12:49:32 2014 -0400
dbus plugin: Fix missing variable initialization
infinoted/plugins/infinoted-plugin-dbus.c | 2 ++
1 file changed, 2 insertions(+)
commit 920bbbafb5307d365d64ef6faf2bed50a2a23c7d
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Sep 20 22:02:24 2014 -0400
Make InfinotedLog thread-safe
InfinotedPluginLogging should now be made thread-safe, too.
infinoted/infinoted-log.c | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
commit 00d1c2f3a160ffb4b60b22c038cd1a3318f8ac2d
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Sep 20 17:44:26 2014 -0400
Add the dbus infinoted plugin
This plugin can at some point export an extensive interface to the
infinoted server via d-bus. At the moment, only three calls to query
and set ACLs are provided.
In the long term, this plugin can also replace the document-stream
plugin,
by serving a file-descriptor over d-bus which would then be used
to stream
the actual payload.
configure.ac | 23 +
infinoted/plugins/Makefile.am | 29 +-
infinoted/plugins/infinoted-plugin-dbus.c | 889 ++++++++++++++++++++++++++++
3 files changed, 939 insertions(+), 2 deletions(-)
commit e43df07b37dc2a109cb476367173530e4b7917e9
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Sep 20 17:41:49 2014 -0400
Write certificate to known hosts file also if it was not present before
Regression caused by 37afb068e89fc1aed45f795581904c3aaec34e36.
libinfgtk/inf-gtk-certificate-manager.c | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
commit 5004929579e2eae88294969bb72baa94fe9cbb9e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Sep 20 17:35:22 2014 -0400
InfGtkAclSheetView: Fix crash when changing a permission to "No"
This bug was introduced by the recent refactorings
libinfgtk/inf-gtk-acl-sheet-view.c | 1 +
1 file changed, 1 insertion(+)
commit 65c02c286a34c75112549566615d4484d4378590
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Sep 20 17:34:36 2014 -0400
Check sheet set for invalid accounts on set-acl before writing to disk
libinfinity/server/infd-directory.c | 86 +++++++++++++++++++++++++++++++++--
1 file changed, 82 insertions(+), 4 deletions(-)
commit fc691035f2fbe629b67ea4d1d8dc1d039f13a5c6
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Sep 20 17:33:58 2014 -0400
Fix initialization of InfXmppConnection
This is a bug introduced by changing constructor to constructed
libinfinity/common/inf-xmpp-connection.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
commit e9cd4639c6f98b6f8c3244b2d8281fa487bf06d0
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 12 20:03:21 2014 -0400
Use g_get_real_time() and g_get_monotonic_time() where appropriate
TODO | 5 -----
libinfinity/adopted/inf-adopted-algorithm.c | 20 ++++----------------
libinfinity/adopted/inf-adopted-session-record.c | 11 +----------
libinftext/inf-text-session.c | 15 +++------------
test/inf-test-text-replay.c | 18 ++----------------
5 files changed, 10 insertions(+), 59 deletions(-)
commit 3d616208ea4c505327a75a4f25b9ea22efeb658a
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 12 19:46:33 2014 -0400
Use G_TYPE_ERROR and G_TYPE_ARRAY in signal definitions
Before, we used G_TYPE_POINTER, for lack of a better GType. The
above GTypes
have been introduced in more recent glib versions.
TODO | 2 --
libinfinity/adopted/inf-adopted-algorithm.c | 2 +-
libinfinity/common/inf-browser.c | 4 ++--
libinfinity/common/inf-name-resolver.c | 4 ++--
libinfinity/common/inf-request.c | 2 +-
libinfinity/common/inf-session.c | 4 ++--
libinfinity/common/inf-tcp-connection.c | 2 +-
libinfinity/common/inf-xml-connection.c | 4 ++--
libinfinity/server/infd-session-proxy.c | 2 +-
libinfinity/server/infd-tcp-server.c | 4 ++--
libinfinity/server/infd-xmpp-server.c | 4 ++--
11 files changed, 16 insertions(+), 18 deletions(-)
commit 23aec76417aef64318d560246149d1ba7949f0c9
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 12 18:56:36 2014 -0400
Don't remove InfGnutls-3.0.gir and InfGsasl-1.0.gir on make clean
libinfinity/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ae12ba76a5c67a8d6778e726d5f1db8dad93b8aa
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 12 18:53:37 2014 -0400
Replace marshal generation by glib's generic marshaller
TODO | 1 -
infinoted/infinoted-log.c | 3 +--
libinfgtk/inf-gtk-account-creation-dialog.c | 3 +--
libinfgtk/inf-gtk-acl-sheet-view.c | 4 +--
libinfgtk/inf-gtk-browser-model.c | 3 +--
libinfgtk/inf-gtk-browser-store.c | 1 -
libinfgtk/inf-gtk-browser-view.c | 7 +++--
libinfinity/Makefile.am | 18 +------------
libinfinity/adopted/inf-adopted-algorithm.c | 9 +++----
libinfinity/adopted/inf-adopted-request-log.c | 3 +--
libinfinity/adopted/inf-adopted-session.c | 3 +--
libinfinity/adopted/inf-adopted-undo-grouping.c | 3 +--
libinfinity/client/infc-browser.c | 1 -
libinfinity/client/infc-request-manager.c | 5 ++--
libinfinity/common/inf-browser.c | 21 +++++++--------
libinfinity/common/inf-chat-buffer.c | 3 +--
libinfinity/common/inf-chat-session.c | 5 ++--
libinfinity/common/inf-discovery.c | 5 ++--
libinfinity/common/inf-name-resolver.c | 3 +--
libinfinity/common/inf-request.c | 3 +--
libinfinity/common/inf-session.c | 13 +++++----
libinfinity/common/inf-simulated-connection.c | 1 -
libinfinity/common/inf-tcp-connection.c | 7 +++--
libinfinity/common/inf-user-table.c | 13 +++++----
libinfinity/common/inf-user.c | 3 +--
libinfinity/common/inf-xml-connection.c | 7 +++--
libinfinity/common/inf-xmpp-connection.c | 1 -
libinfinity/common/inf-xmpp-manager.c | 5 ++--
.../communication/inf-communication-group.c | 5 ++--
.../communication/inf-communication-method.c | 6 ++---
libinfinity/inf-marshal.in | 30 ---------------------
libinfinity/server/infd-account-storage.c | 5 ++--
libinfinity/server/infd-directory.c | 5 ++--
libinfinity/server/infd-session-proxy.c | 7 +++--
libinfinity/server/infd-tcp-server.c | 5 ++--
libinfinity/server/infd-xml-server.c | 3 +--
libinfinity/server/infd-xmpp-server.c | 3 +--
libinftext/inf-text-buffer.c | 5 ++--
libinftext/inf-text-user.c | 3 +--
libinftextgtk/inf-text-gtk-hue-chooser.c | 5 ++--
40 files changed, 75 insertions(+), 161 deletions(-)
commit 37afb068e89fc1aed45f795581904c3aaec34e36
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 12 15:02:29 2014 -0400
Fix a crash when a certificate is added into the known hosts file
Typically this crash only happened at the point when the connection that
presented that certificate was closed.
libinfgtk/inf-gtk-certificate-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 61f8eb8ce4a1da94b2e6d270d72ad56490d3e73b
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 12 10:14:14 2014 -0400
Replace copied HSV/RGB conversions by GTK+ functions
These have been added in GTK+ 2.14 and can be safely used now.
TODO | 1 -
libinftextgtk/inf-text-gtk-buffer.c | 81 +------------
libinftextgtk/inf-text-gtk-hue-chooser.c | 89 +-------------
libinftextgtk/inf-text-gtk-view.c | 189 ++---------------------------
libinftextgtk/inf-text-gtk-viewport.c | 161 +-----------------------
5 files changed, 19 insertions(+), 502 deletions(-)
commit 7b3862a4abdbc166c34c0053e7a2293fcadf527b
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Sep 11 18:54:40 2014 -0400
Replace g_set_error by g_set_error_literal where appropriate
TODO | 1 -
infinoted/infinoted-options.c | 15 ++--
infinoted/infinoted-pam.c | 4 +-
infinoted/infinoted-parameter.c | 6 +-
infinoted/infinoted-plugin-manager.c | 6 +-
infinoted/infinoted-util.c | 3 +-
.../plugins/infinoted-plugin-certificate-auth.c | 9 +--
.../plugins/infinoted-plugin-document-stream.c | 7 +-
libinfinity/adopted/inf-adopted-session-record.c | 12 +--
libinfinity/adopted/inf-adopted-session-replay.c | 36 +++------
libinfinity/adopted/inf-adopted-session.c | 20 ++---
libinfinity/adopted/inf-adopted-state-vector.c | 5 +-
libinfinity/client/infc-browser.c | 86 +++++++--------------
libinfinity/client/infc-request-manager.c | 19 ++---
libinfinity/client/infc-session-proxy.c | 9 +--
libinfinity/common/inf-acl.c | 3 +-
libinfinity/common/inf-chat-session.c | 6 +-
libinfinity/common/inf-discovery-avahi.c | 6 +-
libinfinity/common/inf-file-util.c | 6 +-
libinfinity/common/inf-init.c | 4 +-
libinfinity/common/inf-name-resolver.c | 15 ++--
libinfinity/common/inf-native-socket.c | 6 +-
libinfinity/common/inf-protocol.c | 12 +--
libinfinity/common/inf-session.c | 48 ++++--------
libinfinity/common/inf-xmpp-connection.c | 19 ++---
libinfinity/server/infd-account-storage.c | 21 ++---
libinfinity/server/infd-chat-filesystem-format.c | 3 +-
libinfinity/server/infd-directory.c | 83 +++++++-------------
.../server/infd-filesystem-account-storage.c | 9 +--
libinfinity/server/infd-filesystem-storage.c | 9 +--
libinfinity/server/infd-session-proxy.c | 26 +++----
libinftext/inf-text-default-delete-operation.c | 3 +-
libinftext/inf-text-default-insert-operation.c | 3 +-
libinftext/inf-text-filesystem-format.c | 3 +-
libinftext/inf-text-move-operation.c | 3 +-
libinftext/inf-text-remote-delete-operation.c | 3 +-
libinftext/inf-text-session.c | 8 +-
37 files changed, 189 insertions(+), 348 deletions(-)
commit 0b933ff98317fc1b1984dd5d8c38c52ee65ec07b
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Sep 11 18:18:48 2014 -0400
Replace calls to constructor by constructed
TODO | 1 -
libinfgtk/inf-gtk-account-creation-dialog.c | 18 ++++----------
libinfgtk/inf-gtk-browser-model-filter.c | 18 ++++----------
libinfgtk/inf-gtk-browser-model-sort.c | 18 ++++----------
libinfgtk/inf-gtk-permissions-dialog.c | 17 ++++---------
libinfinity/adopted/inf-adopted-algorithm.c | 27 ++++++---------------
libinfinity/adopted/inf-adopted-session.c | 21 +++++-----------
libinfinity/adopted/inf-adopted-user.c | 16 +++---------
libinfinity/client/infc-browser.c | 25 -------------------
libinfinity/common/inf-chat-session.c | 22 +++++------------
libinfinity/common/inf-discovery-avahi.c | 16 +++---------
libinfinity/common/inf-session.c | 17 +++----------
libinfinity/common/inf-xmpp-connection.c | 18 ++++----------
.../inf-communication-joined-group.c | 27 +++++++++------------
libinfinity/server/infd-directory.c | 16 +++---------
libinfinity/server/infd-session-proxy.c | 19 ++++-----------
libinfinity/server/infd-xmpp-server.c | 26 --------------------
libinftext/inf-text-session.c | 17 +++----------
18 files changed, 82 insertions(+), 257 deletions(-)
commit 463d7298eb26999c94193a5fc7a9285b28d090e1
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Sep 11 14:30:59 2014 -0400
Enable TCP keepalives
This commit also adds API to configure keepalive on a InfTcpConnection.
In infinoted, the settings are set such that a keepalive probe is
sent after
60s of inactivity, with an interval of 5s between probes. The number of
probes sent before the connection is closed is system-dependent.
TODO | 1 -
.../libinfinity/libinfinity-0.7-docs.sgml | 1 +
.../libinfinity/libinfinity-0.7-sections.txt | 22 +
infinoted/infinoted-run.c | 2 +
infinoted/infinoted-startup.c | 6 +
infinoted/infinoted-startup.h | 2 +
libinfinity/Makefile.am | 2 +
libinfinity/common/inf-discovery-avahi.c | 74 ++-
libinfinity/common/inf-discovery-avahi.h | 7 +
libinfinity/common/inf-keepalive.c | 478 ++++++++++++++++++++
libinfinity/common/inf-keepalive.h | 106 +++++
libinfinity/common/inf-tcp-connection-private.h | 2 +
libinfinity/common/inf-tcp-connection.c | 217 ++++++---
libinfinity/common/inf-tcp-connection.h | 9 +
libinfinity/server/infd-tcp-server.c | 63 ++-
libinfinity/server/infd-tcp-server.h | 7 +
16 files changed, 926 insertions(+), 73 deletions(-)
commit 1f548d86f750794f222def5f69cdbc13a9b6a35e
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Sep 11 12:34:59 2014 -0400
Restore accidentally removed G_END_DECLS
libinfinity/client/infc-note-plugin.h | 2 ++
1 file changed, 2 insertions(+)
commit 3401dede9e7e17f27f1289bbb0c0f4ff73696da2
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Sep 11 12:28:12 2014 -0400
Fix installation path of header files
libinfinity/Makefile.am | 30 +++++++++++++++++++-----------
1 file changed, 19 insertions(+), 11 deletions(-)
commit 9bee2543a503fdeee5cebb48d994f4d0bba6100f
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Sep 10 13:12:10 2014 -0400
Add some GObject introspection annotations
Also, make the API a tiny bit more binding-friendly at some places.
.gitignore | 3 +-
.../libinfinity/libinfinity-0.7-sections.txt | 1 -
.../libinfinoted-plugin-manager-0.7-sections.txt | 4 +
.../libinftext/libinftext-0.7-sections.txt | 4 +
infinoted/.gitignore | 1 +
infinoted/infinoted-log.c | 12 +-
infinoted/infinoted-parameter.c | 81 +++++--
infinoted/infinoted-parameter.h | 12 +-
infinoted/infinoted-plugin-manager.c | 26 ++-
infinoted/infinoted-startup.c | 3 +-
infinoted/infinoted-util.c | 4 +-
.../plugins/infinoted-plugin-certificate-auth.c | 4 +-
libinfgtk/.gitignore | 1 +
libinfgtk/Makefile.am | 3 +-
libinfgtk/inf-gtk-account-creation-dialog.c | 6 +-
libinfgtk/inf-gtk-acl-sheet-view.c | 15 +-
libinfgtk/inf-gtk-browser-model-filter.c | 4 +-
libinfgtk/inf-gtk-browser-model-sort.c | 4 +-
libinfgtk/inf-gtk-browser-model.c | 4 +-
libinfgtk/inf-gtk-browser-store.c | 236 ++++++++++----------
libinfgtk/inf-gtk-browser-view.c | 12 +-
libinfgtk/inf-gtk-certificate-dialog.c | 7 +-
libinfgtk/inf-gtk-certificate-manager.c | 11 +-
libinfgtk/inf-gtk-certificate-view.c | 9 +-
libinfgtk/inf-gtk-chat.c | 11 +-
libinfgtk/inf-gtk-io.c | 5 +-
libinfgtk/inf-gtk-permissions-dialog.c | 20 +-
libinfinity/.gitignore | 3 +
libinfinity/InfGnutls-3.0.gir | 31 +++
libinfinity/InfGsasl-1.0.gir | 21 ++
libinfinity/Makefile.am | 22 +-
libinfinity/adopted/inf-adopted-algorithm.c | 29 +--
libinfinity/adopted/inf-adopted-no-operation.c | 4 +-
libinfinity/adopted/inf-adopted-operation.c | 16 +-
libinfinity/adopted/inf-adopted-operation.h | 4 +-
libinfinity/adopted/inf-adopted-request-log.c | 43 ++--
libinfinity/adopted/inf-adopted-request-log.h | 2 +-
libinfinity/adopted/inf-adopted-request.c | 31 +--
libinfinity/adopted/inf-adopted-session-record.c | 6 +-
libinfinity/adopted/inf-adopted-session-replay.c | 10 +-
libinfinity/adopted/inf-adopted-session.c | 16 +-
libinfinity/adopted/inf-adopted-split-operation.c | 9 +-
libinfinity/adopted/inf-adopted-state-vector.c | 28 +--
libinfinity/adopted/inf-adopted-undo-grouping.c | 7 +-
libinfinity/adopted/inf-adopted-user.c | 4 +-
libinfinity/client/infc-browser.c | 39 ++--
libinfinity/client/infc-note-plugin.h | 4 -
libinfinity/client/infc-request-manager.c | 37 +--
libinfinity/client/infc-request-manager.h | 2 +-
libinfinity/client/infc-session-proxy.c | 4 +-
libinfinity/common/inf-acl.c | 3 +-
libinfinity/common/inf-async-operation.c | 14 +-
libinfinity/common/inf-async-operation.h | 2 +-
libinfinity/common/inf-browser-iter.c | 2 +-
libinfinity/common/inf-browser.c | 143 ++++++------
libinfinity/common/inf-cert-util.c | 140 ++++++------
libinfinity/common/inf-certificate-chain.c | 4 +-
libinfinity/common/inf-chat-buffer.c | 10 +-
libinfinity/common/inf-chat-session.c | 6 +-
libinfinity/common/inf-discovery-avahi.c | 29 ++-
libinfinity/common/inf-discovery.c | 20 +-
libinfinity/common/inf-discovery.h | 19 +-
libinfinity/common/inf-file-util.c | 18 +-
libinfinity/common/inf-io.c | 10 +-
libinfinity/common/inf-ip-address.c | 30 +--
libinfinity/common/inf-local-publisher.c | 4 +-
libinfinity/common/inf-name-resolver.c | 17 +-
libinfinity/common/inf-request-result.c | 156 ++++++++-----
libinfinity/common/inf-request.c | 3 +-
libinfinity/common/inf-sasl-context.c | 56 +++--
libinfinity/common/inf-sasl-context.h | 5 +-
libinfinity/common/inf-session-proxy.c | 10 +-
libinfinity/common/inf-session.c | 22 +-
libinfinity/common/inf-simulated-connection.c | 8 +-
libinfinity/common/inf-standalone-io.c | 6 +-
libinfinity/common/inf-tcp-connection.c | 26 ++-
libinfinity/common/inf-user-table.c | 12 +-
libinfinity/common/inf-user.c | 14 +-
libinfinity/common/inf-xml-connection.c | 7 +-
libinfinity/common/inf-xml-util.c | 59 ++---
libinfinity/common/inf-xmpp-connection.c | 51 +++--
libinfinity/common/inf-xmpp-connection.h | 3 +-
libinfinity/common/inf-xmpp-manager.c | 16 +-
.../inf-communication-central-factory.c | 4 +-
.../communication/inf-communication-factory.c | 2 +-
.../communication/inf-communication-group.c | 8 +-
.../inf-communication-joined-group.c | 2 +-
.../communication/inf-communication-manager.c | 18 +-
.../communication/inf-communication-method.c | 4 +-
.../communication/inf-communication-registry.c | 2 +-
libinfinity/server/infd-account-storage.c | 45 ++--
libinfinity/server/infd-account-storage.h | 4 +-
libinfinity/server/infd-directory.c | 37 +--
libinfinity/server/infd-directory.h | 33 ++-
.../server/infd-filesystem-account-storage.c | 4 +-
libinfinity/server/infd-filesystem-storage.c | 18 +-
libinfinity/server/infd-server-pool.c | 6 +-
libinfinity/server/infd-server-pool.h | 21 ++
libinfinity/server/infd-storage.c | 29 +--
libinfinity/server/infd-storage.h | 4 +-
libinfinity/server/infd-xmpp-server.c | 7 +-
libinftext/.gitignore | 1 +
libinftext/Makefile.am | 5 +-
libinftext/inf-text-buffer.c | 43 ++--
libinftext/inf-text-buffer.h | 2 +-
libinftext/inf-text-chunk.c | 78 +++++--
libinftext/inf-text-chunk.h | 10 +
libinftext/inf-text-default-buffer.c | 4 +-
libinftext/inf-text-default-delete-operation.c | 6 +-
libinftext/inf-text-default-insert-operation.c | 6 +-
libinftext/inf-text-delete-operation.c | 8 +-
libinftext/inf-text-fixline-buffer.c | 4 +-
libinftext/inf-text-fixline-buffer.h | 2 +-
libinftext/inf-text-insert-operation.c | 8 +-
libinftext/inf-text-move-operation.c | 22 +-
libinftext/inf-text-remote-delete-operation.c | 4 +-
libinftext/inf-text-session.c | 29 +--
libinftext/inf-text-undo-grouping.c | 5 +-
libinftext/inf-text-user.c | 12 +-
libinftextgtk/.gitignore | 1 +
libinftextgtk/Makefile.am | 3 +-
libinftextgtk/inf-text-gtk-buffer.c | 35 +--
libinftextgtk/inf-text-gtk-hue-chooser.c | 8 +-
libinftextgtk/inf-text-gtk-view.c | 12 +-
libinftextgtk/inf-text-gtk-viewport.c | 12 +-
125 files changed, 1375 insertions(+), 993 deletions(-)
commit 4c3032c820b9cdb23c2fbb064a78f6b0be1d264a
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Sep 8 21:35:41 2014 -0400
Build gobject-introspection repositories
.gitignore | 3 +
configure.ac | 12 +-
infinoted/Makefile.am | 44 +++++-
libinfgtk/Makefile.am | 39 +++++
libinfinity/Makefile.am | 262 +++++++++++++++++++++++++++++++-
libinfinity/adopted/Makefile.am | 36 -----
libinfinity/client/Makefile.am | 23 ---
libinfinity/common/Makefile.am | 85 -----------
libinfinity/common/inf-acl.c | 84 +++++-----
libinfinity/communication/Makefile.am | 36 -----
libinfinity/server/Makefile.am | 39 -----
libinftext/Makefile.am | 39 +++++
libinftextgtk/Makefile.am | 43 ++++++
13 files changed, 470 insertions(+), 275 deletions(-)
commit d1fa9e120bfce1b55f0ef949bfab3cc1e20aa4e5
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Sep 8 16:56:45 2014 -0400
Fix compiler warnings and deprecations in tests
test/inf-test-browser.c | 10 +++++++---
test/inf-test-chat.c | 10 +++++++---
test/inf-test-daemon.c | 10 +++++++---
test/inf-test-gtk-browser.c | 11 ++++++-----
test/inf-test-mass-join.c | 1 +
test/inf-test-reduce-replay.c | 1 +
test/inf-test-state-vector.c | 2 --
test/inf-test-tcp-connection.c | 2 --
test/inf-test-tcp-server.c | 9 +++++++--
test/inf-test-text-cleanup.c | 11 ++++++++---
test/inf-test-text-operations.c | 2 --
test/inf-test-text-recover.c | 1 +
test/inf-test-text-replay.c | 1 +
test/inf-test-text-session.c | 9 +++++++--
test/inf-test-xmpp-connection.c | 11 +++++++----
test/inf-test-xmpp-server.c | 10 +++++++---
16 files changed, 67 insertions(+), 34 deletions(-)
commit 24fe1b32a69f72f5d781d84e845bba464f8f94af
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Sep 8 16:56:03 2014 -0400
Replace deprecated GTK+ API calls by non-deprecated API
TODO | 3 --
libinfgtk/inf-gtk-browser-view.c | 2 +-
libinftextgtk/inf-text-gtk-hue-chooser.c | 7 +--
libinftextgtk/inf-text-gtk-view.c | 72 +++++++++++++++++-------------
libinftextgtk/inf-text-gtk-viewport.c | 27 ++++++-----
5 files changed, 61 insertions(+), 50 deletions(-)
commit 42269d8860861cec557ff8a8bc9ca336713b5996
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Sep 8 11:59:44 2014 -0400
Enable silent rules and quiet some automake compatibility warnings
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit ccf903ad0f058a08ad4160c247c79d00c5019ba1
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Sep 8 09:32:52 2014 -0400
Fix crash in inf_gtk_browser_store_tree_model_iter_has_child()
(gobby #13)
This happened if the browser was not open.
libinfgtk/inf-gtk-browser-store.c | 5 +++++
1 file changed, 5 insertions(+)
commit fa03e5beab7a13950744a5c0d8177189d0128cd1
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Sep 7 21:54:10 2014 -0400
Documentation fixes
docs/reference/libinfgtk/Makefile.am | 2 +-
docs/reference/libinfgtk/libinfgtk-0.7-docs.sgml | 4 ++++
docs/reference/libinfinity/Makefile.am | 4 ++--
.../libinfinity/libinfinity-0.7-docs.sgml | 4 ++++
.../libinfinity/libinfinity-0.7-sections.txt | 1 -
.../libinfinoted-plugin-manager-0.7-docs.sgml | 4 ++++
.../reference/libinftext/libinftext-0.7-docs.sgml | 4 ++++
.../libinftextgtk/libinftextgtk-0.7-docs.sgml | 4 ++++
infinoted/infinoted-parameter.c | 2 +-
infinoted/infinoted-util.c | 5 +++--
.../resources/ui/infgtkaccountcreationdialog.ui.h | 6 +++---
libinfgtk/resources/ui/infgtkaclsheetview.ui.h | 8 +++----
.../resources/ui/infgtkcertificatedialog.ui.h | 6 +++---
libinfgtk/resources/ui/infgtkcertificateview.ui.h | 24 ++++++++++-----------
libinfgtk/resources/ui/infgtkchat.ui.h | 2 +-
.../resources/ui/infgtkpermissionsdialog.ui.h | 2 +-
libinfinity/adopted/inf-adopted-algorithm.c | 14 ++++++------
libinfinity/adopted/inf-adopted-request.c | 6 +++---
libinfinity/adopted/inf-adopted-session.c | 6 ++----
libinfinity/client/infc-browser.c | 14 ++++++------
libinfinity/common/inf-browser.c | 6 +++---
libinfinity/common/inf-protocol.c | 2 +-
libinfinity/common/inf-session.c | 5 ++---
libinfinity/server/infd-storage.c | 2 +-
update-potfiles | 3 ++-
25 files changed, 78 insertions(+), 62 deletions(-)
commit 1150dfc5a69d931e7f796ea304a233501ed5eec6
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Sep 7 20:42:34 2014 -0400
Add the verification-flags option for the certificate-auth plugin
.../plugins/infinoted-plugin-certificate-auth.c | 69 +++++++++++++++++++--
1 file changed, 64 insertions(+), 5 deletions(-)
commit 42460de4e637aef690f534317924577aaab5f92b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Sep 7 20:41:45 2014 -0400
Add infinoted_parameter_convert_flags()
.../libinfinoted-plugin-manager-0.7-sections.txt | 1 +
infinoted/infinoted-parameter.c | 76 +++++++++++++++++++++
infinoted/infinoted-parameter.h | 9 +++
3 files changed, 86 insertions(+)
commit 82a31180d770b2f1dd6601e49b90a33d4ccd52da
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Sep 7 18:43:56 2014 -0400
Update translations
po/ca.po | 805 ++++++++++-----------
po/de.po | 810 +++++++++++-----------
po/{libinfinity-0.6.pot => libinfinity-0.7.pot} | 786 ++++++++++-----------
3 files changed, 1222 insertions(+), 1179 deletions(-)
commit 193d576366a5efc2dd346bf213fd6c0fd182db2e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Sep 7 18:43:12 2014 -0400
Make .ui files translatable
TODO | 1 -
libinfgtk/resources/ui/infgtkaccountcreationdialog.ui.h | 3 +++
libinfgtk/resources/ui/infgtkaclsheetview.ui.h | 4 ++++
libinfgtk/resources/ui/infgtkcertificatedialog.ui.h | 3 +++
libinfgtk/resources/ui/infgtkcertificateview.ui.h | 12 ++++++++++++
libinfgtk/resources/ui/infgtkchat.ui.h | 1 +
libinfgtk/resources/ui/infgtkpermissionsdialog.ui.h | 1 +
po/.gitignore | 1 +
po/POTFILES.in | 7 +++++++
update-potfiles | 5 +++++
10 files changed, 37 insertions(+), 1 deletion(-)
commit f8a8edd17271d31aed357c418a02e152c722cf6b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Sep 7 18:23:22 2014 -0400
Make InfGtkPermissionsDialog use a template
libinfgtk/Makefile.am | 3 +-
libinfgtk/inf-gtk-permissions-dialog.c | 462 +++++++-------------
libinfgtk/resources/infgtk.gresources.xml | 1 +
libinfgtk/resources/ui/infgtkcertificatedialog.ui | 2 +-
libinfgtk/resources/ui/infgtkpermissionsdialog.ui | 232 ++++++++++
5 files changed, 384 insertions(+), 316 deletions(-)
commit c4132254be2f9b58e620dd277d0d5477d4fba7ca
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Sep 7 17:35:54 2014 -0400
Make InfGtkAclSheetView use a template
libinfgtk/Makefile.am | 1 +
libinfgtk/inf-gtk-acl-sheet-view.c | 283 +++++++++----------------
libinfgtk/resources/infgtk.gresources.xml | 1 +
libinfgtk/resources/ui/infgtkaclsheetview.ui | 83 ++++++++
4 files changed, 186 insertions(+), 182 deletions(-)
commit caaddc3d32a062cd0e43f3df65a638dd6a3e2946
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Sep 6 22:39:04 2014 -0400
Make InfGtkCertificateDialog use a template
libinfgtk/Makefile.am | 1 +
libinfgtk/inf-gtk-certificate-dialog.c | 302 +++++---------------
libinfgtk/inf-gtk-certificate-manager.c | 2 +-
libinfgtk/resources/infgtk.gresources.xml | 1 +
libinfgtk/resources/ui/infgtkcertificatedialog.ui | 198 +++++++++++++
libinfgtk/resources/ui/infgtkcertificateview.ui | 1 +
6 files changed, 277 insertions(+), 228 deletions(-)
commit efa352f9715c1cbbb129c12b7ccc09c505a22ebb
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Sep 6 20:56:36 2014 -0400
Make InfGtkCertificateView use a template
TODO | 1 +
libinfgtk/Makefile.am | 1 +
libinfgtk/inf-gtk-certificate-view.c | 287 ++++++-------------
libinfgtk/resources/infgtk.gresources.xml | 3 +-
libinfgtk/resources/ui/infgtkcertificateview.ui | 330 ++++++++++++++++++++++
5 files changed, 423 insertions(+), 199 deletions(-)
commit be3bdc117b3f15b84c6c7843a9731ab0d44e3791
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 5 20:12:11 2014 -0400
Create the account creation dialog from a template
libinfgtk/Makefile.am | 1 +
libinfgtk/inf-gtk-account-creation-dialog.c | 117 +++++----------
libinfgtk/resources/infgtk.gresources.xml | 1 +
.../resources/ui/infgtkaccountcreationdialog.ui | 152 ++++++++++++++++++++
4 files changed, 193 insertions(+), 78 deletions(-)
commit cbd77892abd5a71bd904f93d3d8fc0171ea35fe0
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 5 15:26:25 2014 -0400
Construct InfGtkChat from a template
This simplifies the widget construction code a lot. The other composite
widgets will soon be migrated as well.
This also raises the minimum GTK+ version required to 3.10.
README.md | 4 +-
configure.ac | 2 +-
libinfgtk/.gitignore | 2 +
libinfgtk/Makefile.am | 22 ++-
libinfgtk/inf-gtk-chat.c | 275 +++++++++++++---------------
libinfgtk/resources/infgtk.gresources.xml | 5 +
libinfgtk/resources/ui/infgtkchat.ui | 100 ++++++++++
7 files changed, 255 insertions(+), 155 deletions(-)
commit b34869b0f047a29b551027af3108ac892af076f1
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 5 15:17:39 2014 -0400
Clean up .gitignore in docs a bit
docs/reference/libinfgtk/.gitignore | 1 +
docs/reference/libinfgtk/libinfgtk-0.6-overrides.txt | 0
docs/reference/libinfinity/.gitignore | 1 +
docs/reference/libinfinity/libinfinity-0.6-overrides.txt | 0
docs/reference/libinfinoted-plugin-manager/.gitignore | 1 +
docs/reference/libinftext/.gitignore | 1 +
docs/reference/libinftext/libinftext-0.6-overrides.txt | 0
docs/reference/libinftextgtk/.gitignore | 1 +
docs/reference/libinftextgtk/libinftextgtk-0.6-overrides.txt | 0
9 files changed, 5 insertions(+)
commit 5e8db2eb8599e67cd2ac46690535907e4c3ba09c
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Sep 5 14:20:42 2014 -0400
Raise required glib version to 2.38
This is needed for G_ADD_PRIVATE.
README.md | 4 ++--
configure.ac | 6 +++---
libinfinity.pc.in | 2 +-
libinfinity/common/inf-init.c | 3 ---
libinfinity/inf-define-enum.h | 2 ++
5 files changed, 8 insertions(+), 9 deletions(-)
commit fa698233b88a081307e6dd9f5982c2cdf5a944ee
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Sep 3 11:10:59 2014 -0400
Use G_DEFINE_TYPE and friends to define GTypes
This makes the _get_type() functions threadsafe.
TODO | 4 +-
.../libinfgtk/libinfgtk-0.7-sections.txt | 2 +-
.../libinfinity/libinfinity-0.7-sections.txt | 30 +-
.../libinftext/libinftext-0.7-sections.txt | 6 +-
infinoted/infinoted-log.c | 54 +-
infinoted/infinoted-plugin-manager.c | 53 +-
libinfgtk/inf-gtk-account-creation-dialog.c | 63 +-
libinfgtk/inf-gtk-acl-sheet-view.c | 55 +-
libinfgtk/inf-gtk-browser-model-filter.c | 83 +--
libinfgtk/inf-gtk-browser-model-sort.c | 81 +--
libinfgtk/inf-gtk-browser-model.c | 187 ++----
libinfgtk/inf-gtk-browser-model.h | 8 +-
libinfgtk/inf-gtk-browser-store.c | 94 +--
libinfgtk/inf-gtk-browser-view.c | 92 +--
libinfgtk/inf-gtk-certificate-dialog.c | 120 +---
libinfgtk/inf-gtk-certificate-manager.c | 58 +-
libinfgtk/inf-gtk-certificate-view.c | 51 +-
libinfgtk/inf-gtk-chat.c | 51 +-
libinfgtk/inf-gtk-io.c | 70 +-
libinfgtk/inf-gtk-permissions-dialog.c | 54 +-
libinfinity/Makefile.am | 1 +
libinfinity/adopted/inf-adopted-algorithm.c | 57 +-
libinfinity/adopted/inf-adopted-no-operation.c | 64 +-
libinfinity/adopted/inf-adopted-operation.c | 158 ++---
libinfinity/adopted/inf-adopted-operation.h | 8 +-
libinfinity/adopted/inf-adopted-request-log.c | 67 +-
libinfinity/adopted/inf-adopted-request.c | 114 +---
libinfinity/adopted/inf-adopted-session-record.c | 74 +--
libinfinity/adopted/inf-adopted-session-replay.c | 76 +--
libinfinity/adopted/inf-adopted-session.c | 181 ++----
libinfinity/adopted/inf-adopted-split-operation.c | 84 +--
libinfinity/adopted/inf-adopted-state-vector.c | 21 +-
libinfinity/adopted/inf-adopted-undo-grouping.c | 57 +-
libinfinity/adopted/inf-adopted-user.c | 58 +-
libinfinity/client/infc-browser.c | 96 +--
libinfinity/client/infc-progress-request.c | 54 +-
libinfinity/client/infc-request-manager.c | 58 +-
libinfinity/client/infc-request.c | 71 +-
libinfinity/client/infc-session-proxy.c | 100 +--
libinfinity/common/inf-acl.c | 211 ++----
libinfinity/common/inf-browser-iter.c | 17 +-
libinfinity/common/inf-browser.c | 684 +++++++++-----------
libinfinity/common/inf-browser.h | 8 +-
libinfinity/common/inf-buffer.c | 68 +-
libinfinity/common/inf-buffer.h | 8 +-
libinfinity/common/inf-certificate-chain.c | 19 +-
libinfinity/common/inf-certificate-credentials.c | 19 +-
libinfinity/common/inf-chat-buffer.c | 199 ++----
libinfinity/common/inf-chat-session.c | 71 +-
libinfinity/common/inf-discovery-avahi.c | 99 +--
libinfinity/common/inf-discovery.c | 144 ++---
libinfinity/common/inf-discovery.h | 8 +-
libinfinity/common/inf-io.c | 98 +--
libinfinity/common/inf-io.h | 8 +-
libinfinity/common/inf-ip-address.c | 69 +-
libinfinity/common/inf-local-publisher.c | 46 +-
libinfinity/common/inf-local-publisher.h | 8 +-
libinfinity/common/inf-name-resolver.c | 70 +-
libinfinity/common/inf-request-result.c | 19 +-
libinfinity/common/inf-request.c | 136 ++--
libinfinity/common/inf-request.h | 8 +-
libinfinity/common/inf-sasl-context.c | 19 +-
libinfinity/common/inf-session-proxy.c | 66 +-
libinfinity/common/inf-session-proxy.h | 8 +-
libinfinity/common/inf-session.c | 145 ++---
libinfinity/common/inf-simulated-connection.c | 138 ++--
libinfinity/common/inf-standalone-io.c | 69 +-
libinfinity/common/inf-tcp-connection.c | 114 +---
libinfinity/common/inf-user-table.c | 56 +-
libinfinity/common/inf-user.c | 154 ++---
libinfinity/common/inf-xml-connection.c | 374 +++++------
libinfinity/common/inf-xml-connection.h | 8 +-
libinfinity/common/inf-xmpp-connection.c | 197 ++----
libinfinity/common/inf-xmpp-manager.c | 54 +-
.../inf-communication-central-factory.c | 67 +-
.../inf-communication-central-method.c | 75 +--
.../communication/inf-communication-factory.c | 42 +-
.../communication/inf-communication-factory.h | 8 +-
.../communication/inf-communication-group.c | 56 +-
.../inf-communication-hosted-group.c | 57 +-
.../inf-communication-joined-group.c | 61 +-
.../communication/inf-communication-manager.c | 59 +-
.../communication/inf-communication-method.c | 137 ++--
.../communication/inf-communication-method.h | 8 +-
.../communication/inf-communication-object.c | 86 +--
.../communication/inf-communication-object.h | 8 +-
.../communication/inf-communication-registry.c | 59 +-
libinfinity/inf-define-enum.h | 59 ++
libinfinity/server/infd-account-storage.c | 252 +++-----
libinfinity/server/infd-account-storage.h | 8 +-
libinfinity/server/infd-directory.c | 103 +--
.../server/infd-filesystem-account-storage.c | 82 +--
libinfinity/server/infd-filesystem-storage.c | 75 +--
libinfinity/server/infd-progress-request.c | 54 +-
libinfinity/server/infd-request.c | 75 +--
libinfinity/server/infd-server-pool.c | 52 +-
libinfinity/server/infd-session-proxy.c | 97 +--
libinfinity/server/infd-storage.c | 122 +---
libinfinity/server/infd-storage.h | 6 +-
libinfinity/server/infd-tcp-server.c | 106 +--
libinfinity/server/infd-xml-server.c | 156 ++---
libinfinity/server/infd-xml-server.h | 6 +-
libinfinity/server/infd-xmpp-server.c | 78 +--
libinftext/inf-text-buffer.c | 128 ++--
libinftext/inf-text-buffer.h | 8 +-
libinftext/inf-text-chunk.c | 19 +-
libinftext/inf-text-default-buffer.c | 93 +--
libinftext/inf-text-default-delete-operation.c | 94 +--
libinftext/inf-text-default-insert-operation.c | 97 +--
libinftext/inf-text-delete-operation.c | 54 +-
libinftext/inf-text-delete-operation.h | 8 +-
libinftext/inf-text-fixline-buffer.c | 93 +--
libinftext/inf-text-insert-operation.c | 54 +-
libinftext/inf-text-insert-operation.h | 6 +-
libinftext/inf-text-move-operation.c | 70 +-
libinftext/inf-text-remote-delete-operation.c | 93 +--
libinftext/inf-text-session.c | 104 +--
libinftext/inf-text-undo-grouping.c | 68 +-
libinftext/inf-text-user.c | 52 +-
libinftextgtk/inf-text-gtk-buffer.c | 93 +--
libinftextgtk/inf-text-gtk-hue-chooser.c | 84 +--
libinftextgtk/inf-text-gtk-view.c | 50 +-
libinftextgtk/inf-text-gtk-viewport.c | 50 +-
123 files changed, 2454 insertions(+), 6952 deletions(-)
commit 604241c4fbc385191743b8646d53f9383271ff3b
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Sep 3 18:34:13 2014 -0400
Use new threading API in InfNameResolver
libinfinity/common/inf-name-resolver.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
commit 69bb095ae3f07f384838fcf8699a7f2024e06a65
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Sep 3 18:29:58 2014 -0400
Switch to non-deprecated threading API in InfStandaloneIo and InfGtkIo
libinfgtk/inf-gtk-io.c | 115 +++++++++++++++----------------
libinfinity/common/inf-standalone-io.c | 104 ++++++++++++++--------------
2 files changed, 109 insertions(+), 110 deletions(-)
commit d3b14a40cd1f38f1455f7f0fa6da006aa83bb8cc
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Sep 3 11:10:25 2014 -0400
Fix a typo in InfAsyncOperation
libinfinity/common/inf-async-operation.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit f709632c87d29c934c5c0a7159c7e2f4e565e699
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Sep 3 11:09:50 2014 -0400
Fix a crash when a TCP connection while a hostname is being resolved
libinfinity/common/inf-tcp-connection.c | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
commit 514c3cbc0731f14ea72359c3407bed86b24dfdc0
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Sep 3 09:24:41 2014 -0400
Reduce the glib dependency to 2.32
This allows libinfinity to be built still with ubuntu precise.
The call to g_type_init() is put back for glib versions below 2.36.
README.md | 4 ++--
configure.ac | 6 +++---
libinfinity.pc.in | 2 +-
libinfinity/common/inf-init.c | 3 +++
4 files changed, 9 insertions(+), 6 deletions(-)
commit 986046339109346739362702ae5ce4219b4cac35
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Sep 2 22:28:19 2014 -0400
travis CI: Install more recent version of glib
So that travis has a chance to meet the new glib dependency.
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 68b67a9aa19014e9cfc50342a3532d3a31a19e7f
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Sep 2 22:20:23 2014 -0400
Remove use of stock icons in favor of icon names
Stock icons have been deprecated by GTK+
TODO | 2 +-
libinfgtk/inf-gtk-browser-view.c | 86 +++++++++----------------------
libinfgtk/inf-gtk-certificate-dialog.c | 4 +-
libinfgtk/inf-gtk-certificate-manager.c | 16 +-----
libinfgtk/inf-gtk-chat.c | 2 +-
libinfgtk/inf-gtk-permissions-dialog.c | 61 +++-------------------
6 files changed, 36 insertions(+), 135 deletions(-)
commit 576ff061faec3b82c12c2c155116403be937a4ec
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Sep 2 21:47:20 2014 -0400
Replace use of deprecated GThread API
Also remove the call to g_type_init(), which is deprecated and no longer
needed since glib 2.36. The thread functions have been deprecated in
glib 2.32. We therefore raise the required glib version to 2.36.
README.md | 5 +-
configure.ac | 6 +-
libinfinity.pc.in | 2 +-
libinfinity/common/inf-async-operation.c | 47 +++++++---------
libinfinity/common/inf-init.c | 5 +-
libinfinity/common/inf-sasl-context.c | 88 +++++++++++++++---------------
6 files changed, 72 insertions(+), 81 deletions(-)
commit 6a0791cfcf0ff8a91f12b76a02f090c3b0da625c
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Sep 2 21:22:04 2014 -0400
Update the requirements in the README.md file
README.md | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 59e6cf736d34088a544be141f0edad15473caf33
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Sep 2 21:18:38 2014 -0400
Remove the background parameter in inf_text_gtk_buffer_set_fade()
Instead, we just set the alpha value of the GdkRGBA object. This
simplifies
the code and it possible because we now depend on GTK+ > 3.2.
TODO | 2 +-
configure.ac | 2 +-
libinftextgtk/inf-text-gtk-buffer.c | 73 ++++++-----------------------------
libinftextgtk/inf-text-gtk-buffer.h | 3 +-
4 files changed, 15 insertions(+), 65 deletions(-)
commit d04e500795f787445f0bdbdd9d8c8825acd1cc93
Merge: 100254e 22be6f9
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Sep 1 20:03:35 2014 -0400
Merge pull request #5 from dev-zero/master
Build documentation conditionally
commit 22be6f9d57d6476c7407007ccccc1702936fb53b
Author: Tiziano Müller <tm@dev-zero.ch>
Date: Mon Sep 1 17:55:37 2014 +0200
Build documentation conditionally
Building documentation for disabled libraries fails with the
following error:
```
libtool: link: cannot find the library
`../../../libinfgtk/libinfgtk-0.6.la' or unhandled argument
`../../../libinfgtk/libinfgtk-0.6.la'
Linking of scanner failed:
Makefile:609: recipe for target 'scan-build.stamp' failed
```
docs/reference/Makefile.am | 14 +++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)
commit 100254ecbfc5cea4363829b6eeb2d348149942c5
Author: Sven Brauch <svenbrauch@googlemail.com>
Date: Sat Aug 31 14:01:15 2013 +0200
Provide the node path to session_new
infinoted/plugins/infinoted-plugin-note-chat.c | 1 +
infinoted/plugins/infinoted-plugin-note-text.c | 1 +
libinfinity/adopted/inf-adopted-session-replay.c | 1 +
libinfinity/client/infc-browser.c | 8 +++++++
libinfinity/client/infc-note-plugin.h | 1 +
libinfinity/server/infd-directory.c | 28 ++++++++++++++++++----
libinfinity/server/infd-note-plugin.h | 1 +
7 files changed, 37 insertions(+), 4 deletions(-)
commit e234f8dfdc2c1f704ea8f23bb6545d011b591b7d
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 29 10:43:37 2014 -0400
Update .gitignore
.gitignore | 2 ++
test/.gitignore | 5 +++++
2 files changed, 7 insertions(+)
commit 4a5bd2c22458240b9be99e363fc407bf7600054f
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 29 10:02:15 2014 -0400
Add two items to the TODO list
TODO | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
commit 70948c67290736cd217353cde27db7d247a2afe0
Merge: 7a34a42 1e54001
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 29 09:46:13 2014 -0400
Merge pull request #4 from pkern/master
infinoted man page: correct the usage of --plugins
commit 1e540018518dd37db55ac5189112131603121c9c
Author: Philipp Kern <pkern@debian.org>
Date: Thu Aug 28 22:08:35 2014 +0200
infinoted man page: correct the usage of --plugins
infinoted/infinoted-0.7.man | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 7a34a422cb477c2efcfcf0c09b5faeae2bee0b5d
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Aug 26 22:26:30 2014 -0400
infinoted: Load default account storage only after loading plugins
This allows a plugin to override the account storage without the default
account storage having been loaded first, wasting resources and
potentially removing permissions for non-matching users.
infinoted/infinoted-run.c | 69 ++++++++++++++++++++++++++++-----------------
1 file changed, 43 insertions(+), 26 deletions(-)
commit 4f9dc2f47987bd2739e59c2f1e82ef8816fabec1
Author: Philipp Kern <pkern@debian.org>
Date: Wed Aug 27 01:11:12 2014 +0200
infinoted/infinoted-options.c: Fix a grammar mistake.
infinoted/infinoted-options.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit ec57016a31e99d9065afbc77e9575cfdd9411185
Author: Philipp Kern <pkern@debian.org>
Date: Wed Aug 27 00:57:01 2014 +0200
infinoted man page: correct a grammar mistake, escape hyphens
infinoted/infinoted-0.7.man | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit eae469370dcefdc5be0f08b3c083a5d5b79bfb77
Author: Philipp Kern <pkern@debian.org>
Date: Mon Aug 25 04:43:13 2014 +0200
Makefile.am: ship the new markdown formatted README
Makefile.am | 2 ++
1 file changed, 2 insertions(+)
commit 23afbe1e3d8a6692b4cf962d384ff2ee98b4d42e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 24 12:31:36 2014 -0400
Remove support for GTK+ 2.x
Makefile.am | 4 +-
TODO | 3 +-
configure.ac | 33 +----
docs/reference/libinfgtk/Makefile.am | 2 +-
docs/reference/libinftextgtk/Makefile.am | 4 +-
libinfgtk.pc.in | 6 +-
libinfgtk/Makefile.am | 14 --
libinfgtk/inf-gtk-account-creation-dialog.c | 13 --
libinfgtk/inf-gtk-browser-view.c | 31 +---
libinfgtk/inf-gtk-certificate-dialog.c | 11 --
libinfgtk/inf-gtk-certificate-manager.c | 9 --
libinfgtk/inf-gtk-chat.c | 8 -
libinfgtk/inf-gtk-permissions-dialog.c | 40 +----
libinftextgtk.pc.in | 6 +-
libinftextgtk/Makefile.am | 14 --
libinftextgtk/inf-text-gtk-hue-chooser.c | 201 +-------------------------
libinftextgtk/inf-text-gtk-view.c | 126 +---------------
libinftextgtk/inf-text-gtk-viewport.c | 54 -------
test/Makefile.am | 4 +-
19 files changed, 25 insertions(+), 558 deletions(-)
commit b79893e2186046e5e92f875e9d3b7ebc8300e918
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 24 09:57:21 2014 -0400
Explicitly link against libresolv (libinfinity #3)
configure.ac | 2 ++
1 file changed, 2 insertions(+)
commit a114b6590d2511bd994ed3e7b1c8e44f059c98c1
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Aug 23 13:40:08 2014 -0400
Post-release bump to 0.7.0
configure.ac | 4 +--
docs/reference/libinfgtk/.gitignore | 20 +++++++--------
...fgtk-0.6-docs.sgml => libinfgtk-0.7-docs.sgml} | 0
....6-sections.txt => libinfgtk-0.7-sections.txt} | 0
docs/reference/libinfinity/.gitignore | 20 +++++++--------
...ty-0.6-docs.sgml => libinfinity-0.7-docs.sgml} | 0
...-sections.txt => libinfinity-0.7-sections.txt} | 0
.../libinfinoted-plugin-manager/.gitignore | 22 ++++++++--------
... => libinfinoted-plugin-manager-0.7-docs.sgml} | 0
... libinfinoted-plugin-manager-0.7-sections.txt} | 0
docs/reference/libinftext/.gitignore | 20 +++++++--------
...ext-0.6-docs.sgml => libinftext-0.7-docs.sgml} | 0
...6-sections.txt => libinftext-0.7-sections.txt} | 0
docs/reference/libinftextgtk/.gitignore | 20 +++++++--------
...-0.6-docs.sgml => libinftextgtk-0.7-docs.sgml} | 0
...ections.txt => libinftextgtk-0.7-sections.txt} | 0
infinoted/.gitignore | 2 +-
infinoted/Makefile.am | 24 +++++++++---------
.../{infinoted-0.6.man => infinoted-0.7.man} | 0
libinfgtk/Makefile.am | 28 ++++++++++-----------
libinfinity/Makefile.am | 14 +++++------
libinftext/Makefile.am | 14 +++++------
libinftextgtk/Makefile.am | 28 ++++++++++-----------
po/libinfinity-0.6.pot | 8 +++---
24 files changed, 112 insertions(+), 112 deletions(-)
commit 9952497a8d6ce591cc77cc7cc9a3f8e350870a30
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Aug 23 13:06:03 2014 -0400
Release libinfinity 0.6.0
NEWS | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
commit 85dbbc473ce05f4c2c13b7baff33fc46e1458afe
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Aug 23 13:05:31 2014 -0400
Fix compilation with GTK+ versions below 2.18
libinfgtk/inf-gtk-account-creation-dialog.c | 4 ++++
1 file changed, 4 insertions(+)
commit 1cfaa3085a3029b7ae46de407bc2fd2474c964cb
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Aug 23 13:05:09 2014 -0400
Fix GError pointer error in infinoted-plugin-traffic-logging
infinoted/plugins/infinoted-plugin-traffic-logging.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 7fb92feac55fa14a606c80fe9f8bbe408eed0cd5
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 22 15:15:17 2014 -0400
Add some compatibility fixes for older systems
configure.ac | 13 +++++++++++++
infinoted/infinoted-plugin-manager.c | 7 ++++---
libinfinity/common/inf-file-util.c | 4 ++++
test/inf-test-text-replay.c | 18 ++++++++++++++++--
4 files changed, 37 insertions(+), 5 deletions(-)
commit b2bd6fc0f93b609e16be6d9b24c5d58691bba7dd
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 22 12:58:37 2014 -0400
Fixes for "make dist"
configure.ac | 2 +-
infinoted/plugins/Makefile.am | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
commit 416d010b9ed29bf034164d31f2f7a77c2d73608a
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 22 11:40:06 2014 -0400
Update translations for 0.6 release
po/POTFILES.in | 37 +-
po/ca.po | 2097 +++++++++++++++++++++++++++++++++---------
po/de.po | 2277 +++++++++++++++++++++++++++++++++++-----------
po/libinfinity-0.6.pot | 2070 ++++++++++++++++++++++++++++++++---------
4 files changed, 5085 insertions(+), 1396 deletions(-)
commit 34232a2c4c597c94d715aa0c39666d205a71464d
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 21 22:10:27 2014 -0400
Fix several undeclared functions
infinoted/infinoted-log.c | 5 +++++
infinoted/infinoted-parameter.c | 2 ++
infinoted/infinoted-plugin-manager.c | 1 +
infinoted/infinoted-util.c | 2 +-
infinoted/plugins/infinoted-plugin-autosave.c | 1 +
infinoted/plugins/infinoted-plugin-certificate-auth.c | 6 ++++--
infinoted/plugins/infinoted-plugin-directory-sync.c | 2 ++
infinoted/plugins/infinoted-plugin-document-stream.c | 8 +++++---
infinoted/plugins/infinoted-plugin-linekeeper.c | 2 ++
infinoted/plugins/infinoted-plugin-logging.c | 1 +
infinoted/plugins/infinoted-plugin-record.c | 1 +
infinoted/plugins/infinoted-plugin-traffic-logging.c | 3 +++
.../plugins/infinoted-plugin-transformation-protection.c | 1 +
.../plugins/util/infinoted-plugin-util-navigate-browser.c | 4 ++++
libinfgtk/inf-gtk-account-creation-dialog.c | 3 +++
libinfgtk/inf-gtk-certificate-manager.c | 6 ++++--
libinfgtk/inf-gtk-permissions-dialog.c | 3 +++
libinfinity/server/infd-filesystem-account-storage.c | 1 +
libinftext/inf-text-filesystem-format.c | 2 ++
libinftext/inf-text-fixline-buffer.c | 1 +
test/inf-test-certificate-request.c | 2 ++
test/inf-test-chat.c | 1 +
test/inf-test-gtk-browser.c | 3 ++-
test/inf-test-mass-join.c | 5 ++++-
test/inf-test-set-acl.c | 2 ++
test/inf-test-tcp-connection.c | 3 ++-
test/inf-test-text-recover.c | 12 ++++++------
27 files changed, 66 insertions(+), 17 deletions(-)
commit c89bcafccf5a971e8435b5d65167dc6bf4f25205
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 21 20:27:50 2014 -0400
Various small build fixes
libinfinity/common/inf-file-util.c | 3 +++
libinfinity/common/inf-tcp-connection.c | 1 +
libinfinity/common/inf-xmpp-manager.c | 6 +++---
libinfinity/server/infd-chat-filesystem-format.c | 2 ++
libinfinity/server/infd-directory.c | 12 ++++++------
5 files changed, 15 insertions(+), 9 deletions(-)
commit 1604ff38b5fd64394c0264fa7af45a6594c696c4
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 21 18:41:11 2014 -0400
Fix use-after-free in Win32 implementation of InfStandaloneIo
libinfinity/common/inf-standalone-io.c | 34 ++++++++++++++++----------------
1 file changed, 17 insertions(+), 17 deletions(-)
commit a87f0ed6fc5b423e55f725d44791376588d653fb
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 21 18:29:06 2014 -0400
Fix infinoted shutdown procedure on Windows
It is run concurrently with the program, so instead of just shutting
infinoted
down (which did not seem to be a problem when InfStandaloneIo could
not handle
calls from another thread), now we dispatch a message to the main
thread, to
shut infinoted down.
infinoted/infinoted-signal.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
commit 00c4322842600f429c74eddfde2c36ef9f014d04
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 21 17:58:45 2014 -0400
Fix infinoted not starting when accounts file is not available
libinfinity/server/infd-filesystem-account-storage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b6b0b404480fd7610fb24a728ec5d513b1af911b
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 21 16:30:37 2014 -0400
Initialize libinfinity in inf-test-tcp-connection
So that on Windows WinSock is initialized
test/inf-test-tcp-connection.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
commit 365fa90ab4b9ff7698b11455c60859f3368663ea
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 21 16:30:21 2014 -0400
Fix compilation of InfGtkPermissionsDialog with GTK+ 2
libinfgtk/inf-gtk-permissions-dialog.c | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
commit 943254a96d448d2faa43cebc037c0dbc99868ce2
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 21 16:29:05 2014 -0400
Fix a small typo when creating the serial number of a certificate
libinfinity/common/inf-cert-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit a81a5b5cf93e323721e6054c593d8e67ae91bef7
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 20 14:28:17 2014 -0400
Fix a memory leak in InfTextUndoGrouping
The behaviour was also not correct, since the function took the position
from the original request, and not from the translated one.
libinftext/inf-text-undo-grouping.c | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
commit 7873c4f019b5a81ad088997e04ce34e5d75f6884
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 20 14:13:36 2014 -0400
Fix a memory leak in InfAdoptedUndoGrouping
libinfinity/adopted/inf-adopted-undo-grouping.c | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
commit 56d6c679c4bb737ea1dedc29a35cca3d659be4ef
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 20 13:27:33 2014 -0400
InfGtkCertificateManager: Read known hosts file correctly with IPv6
addresses
libinfgtk/inf-gtk-certificate-manager.c | 25 ++++++++++++++++++++++++-
1 file changed, 24 insertions(+), 1 deletion(-)
commit 5257f0f9f8dc80f8f9eb6397d843cc95ce313082
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 20 13:27:07 2014 -0400
Fix a resource leak in InfUser
The connection object was not released.
libinfinity/common/inf-user.c | 9 +++++++++
1 file changed, 9 insertions(+)
commit b40d04d93fd7c94eb52c2553f07e384ae7fa4220
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 20 11:54:44 2014 -0400
Fix a memory leak in InfGtkBrowserView
The browser variable could be leaked in
inf_gtk_browser_view_progress_data_func().
libinfgtk/inf-gtk-browser-view.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit c290f6d8e84654e3826f75337279a47013cc33c4
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 20 09:58:37 2014 -0400
Add support to InfXmppManager for hostname-based TCP connections
.../libinfinity/libinfinity-0.6-sections.txt | 4 +
libinfgtk/inf-gtk-certificate-manager.c | 10 +-
libinfinity/common/inf-name-resolver.c | 45 +
libinfinity/common/inf-name-resolver.h | 9 +
libinfinity/common/inf-xmpp-manager.c | 873 +++++++++++++++-----
libinfinity/common/inf-xmpp-manager.h | 25 +-
6 files changed, 743 insertions(+), 223 deletions(-)
commit 8401d29051448f4f2590d5d691bd15906f800356
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 22:25:06 2014 -0400
Add the resolver property to InfTcpConnection
This allows InfTcpConnection to resolve a hostname by itself before it
connects to it, with the advantage that it can try all available
addresses for the hostname in question.
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/common/inf-tcp-connection.c | 753 ++++++++++++++------
libinfinity/common/inf-tcp-connection.h | 5 +
test/inf-test-tcp-connection.c | 114 ++-
4 files changed, 651 insertions(+), 222 deletions(-)
commit ee3e24849ef65f658fddf45f16bdef104544937d
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 22:23:52 2014 -0400
Add the InfNameResolver class
This class allows to do asynchronous host name lookups with support for
SRV records. SRV lookups are only implemented on Linux at the moment.
configure.ac | 2 +-
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 22 +
libinfinity/common/Makefile.am | 2 +
libinfinity/common/inf-name-resolver.c | 1444 +++++++++++++++++++
libinfinity/common/inf-name-resolver.h | 104 ++
6 files changed, 1574 insertions(+), 1 deletion(-)
commit 0fe67f9b9be5ed9fa5918ee9cd324894bd8aedf3
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Aug 19 11:08:05 2014 -0400
InfXmppConnection: Make notification callbacks when properties can
be changed
libinfinity/common/inf-xmpp-connection.c | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
commit 1bb4690ab9061e1c8cd128ce14414f1ccad00017
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 22:24:38 2014 -0400
Fix a typo in the documentation
libinfinity/server/infd-filesystem-account-storage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0cb6099eb0601edc8dd8160635cf4ab9585ae8d1
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 18:10:59 2014 -0400
Make InfdDirectory use the InfdAccountStorage interface
.../libinfinity/libinfinity-0.6-docs.sgml | 3 +-
.../libinfinity/libinfinity-0.6-sections.txt | 23 +-
infinoted/infinoted-config-reload.c | 131 +-
infinoted/infinoted-run.c | 28 +-
.../plugins/infinoted-plugin-certificate-auth.c | 18 +-
libinfinity/common/inf-acl.c | 17 +
libinfinity/common/inf-acl.h | 4 +
libinfinity/server/Makefile.am | 2 -
libinfinity/server/infd-acl-account-info.c | 686 ----
libinfinity/server/infd-acl-account-info.h | 105 -
libinfinity/server/infd-directory.c | 3560 +++++++++++++------
libinfinity/server/infd-directory.h | 14 +-
libinfinity/server/infd-filesystem-storage.c | 126 -
libinfinity/server/infd-storage.c | 61 -
libinfinity/server/infd-storage.h | 23 -
15 files changed, 2574 insertions(+), 2227 deletions(-)
commit 0f5c5a88bf35113035fafee5b33f64fb8a46f2c4
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 18:10:34 2014 -0400
infinoted: Fix crash when reloading options without command line args
infinoted/infinoted-options.c | 18 +++++++++++-------
1 file changed, 11 insertions(+), 7 deletions(-)
commit 2dc5846b243b10cb556ab5a6a6858ba7c755916a
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 17:25:33 2014 -0400
Fix delicate warnings and crashes in InfGtkPermissionsDialog
libinfgtk/inf-gtk-permissions-dialog.c | 68 ++++++++++++++++++++++++++------
1 file changed, 56 insertions(+), 12 deletions(-)
commit 01eb49a842d5e3fb292c1b51cb71a0bb0573648c
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 15:59:04 2014 -0400
Don't remove ACL-queried flag when query-account-list permission
was dropped
The can-query-acl-account-list permission is no longer required to query
the ACL of a node.
libinfinity/client/infc-browser.c | 11 ++---------
libinfinity/server/infd-directory.c | 14 --------------
2 files changed, 2 insertions(+), 23 deletions(-)
commit c666b95a8e4c8f124291c9f8f83321a80ac81cc7
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 15:58:02 2014 -0400
Permissions dialog: Lookup account names after query-acl-account-list
This updates the dialog when the query-acl-account-list permission has
been granted while the dialog is open, and some un-lookupped names are
lingering in the list.
libinfgtk/inf-gtk-permissions-dialog.c | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
commit 45449b2931861e67695a2d8ad1d1e046394222ef
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 15:29:40 2014 -0400
Permissions dialog: Lookup unknown accounts from cache before querying
browser
libinfgtk/inf-gtk-permissions-dialog.c | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
commit 6c7f4017adab1fb4b605f4b416f25983f4fc48fa
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 15:28:51 2014 -0400
Correctly remove outdated user accounts when client updates account list
libinfinity/client/infc-browser.c | 104 ++++++++++++++++++++++++++++++++++--
1 file changed, 101 insertions(+), 3 deletions(-)
commit e07d9978e89b7da673ebf8b3265f6a5d8cc5808b
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 11:38:49 2014 -0400
Don't require client certificates to be signed by a CA
The server only requires that it is signed by one of the certificates in
its list. The client does not verify the signer of the retrieved client
certificate, since it has to trust the server anyway.
.../plugins/infinoted-plugin-certificate-auth.c | 6 +-
libinfinity/client/infc-browser.c | 107 +++++++++++---------
libinfinity/server/infd-directory.c | 37 +++----
3 files changed, 82 insertions(+), 68 deletions(-)
commit fdc74988a414e526c7065574fcd2e06a86288b62
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 12:49:56 2014 -0400
Don't trust every certificate where the issuer is not found
The code was written under the assumption that when asking GnuTLS to
verify a certificate, it always fills the verification result fully.
However, when the issuer is not found, it immediately returns and does
not report other reasons why the certificate might be invalid.
However, we need to do at least a certificate verification even if the
signer of the certificate is not found, because in the latter case, we
use trust-on-first-use, and if the user decides so, still accept the
certificate. This is now fixed by running the certificate validation a
second time when the signer is not found, where we explicitly provide
the signer sent by the server.
libinfgtk/inf-gtk-certificate-dialog.c | 2 +-
libinfgtk/inf-gtk-certificate-manager.c | 44 ++++++++++++++++++++++---------
2 files changed, 33 insertions(+), 13 deletions(-)
commit 742ff4e1a9cf1337701c13a18b9d9c989252a063
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 12:49:32 2014 -0400
Set a title for the account creation window
libinfgtk/inf-gtk-account-creation-dialog.c | 2 ++
1 file changed, 2 insertions(+)
commit 3c6c896fd0d1341ad4d7b3ad4932dce41246d8a9
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 11:37:29 2014 -0400
Add inf_cert_util_write_certificate_mem()
This also changes the internal certificate writing proceduces from
GIOchannel to GString, which allows to write the files with
g_file_set_contents(). This has better error checking, and more
importantly, it writes files atomically.
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/common/inf-cert-util.c | 150 +++++++++++++-------
libinfinity/common/inf-cert-util.h | 5 +
3 files changed, 104 insertions(+), 52 deletions(-)
commit 569ad7d5efc7e43bbcc0ea9659b078929431e2ee
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 18 10:11:36 2014 -0400
infinoted: Make sure startup errors also show in log file
This allows system administrators to only filter the log file for
errors, and they don't have to keep also an eye on stderr.
However, early startup errors are still only logged to stderr, in case
they happen before the log file could be opened, for example when the
configuration file is incorrectly formatted.
infinoted/infinoted-main.c | 24 +++++++++++++++++++++---
1 file changed, 21 insertions(+), 3 deletions(-)
commit c0d104245c0585a22e6ebc3f0d6b9c2e0d540d2b
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 15 16:43:46 2014 -0400
Update button sensitivity after pending realization in permissions dialog
libinfgtk/inf-gtk-permissions-dialog.c | 4 ++++
1 file changed, 4 insertions(+)
commit 7e6b3b17c8f5f7e6cf38b1b090beea0f78e8f18b
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 15 16:42:54 2014 -0400
Fix a warning in the permissions dialog
This could happen when the default sheet of a node was empty and a new
account was added to the sheet in the dialog.
libinfgtk/inf-gtk-permissions-dialog.c | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
commit e687fd618f0dda417560ab5da2cb5fb03b49d194
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 15 16:24:28 2014 -0400
Fix a possible warning when the permissions dialog is closed
It can happen that dispose() is called twice.
libinfgtk/inf-gtk-permissions-dialog.c | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
commit efed7ba453e652d300545b0aee2d377d0ca8d2b6
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 15 16:24:14 2014 -0400
Add inf_acl_sheet_set_sink()
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/common/inf-acl.c | 28 +++++++++++++++++++++
libinfinity/common/inf-acl.h | 3 +++
3 files changed, 32 insertions(+)
commit c98ebb4086ef09203308a5da383b98a71f71b89e
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 15 15:01:46 2014 -0400
Implement InfdFilesystemAccountStorage
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 19 +-
libinfinity/server/Makefile.am | 2 +
libinfinity/server/infd-account-storage.c | 4 +-
.../server/infd-filesystem-account-storage.c | 1771 +++++++++++++++++++
.../server/infd-filesystem-account-storage.h | 101 ++
libinfinity/server/infd-filesystem-storage.c | 36 +-
libinfinity/server/infd-filesystem-storage.h | 2 -
8 files changed, 1917 insertions(+), 19 deletions(-)
commit c68194a97d5ddb45aff01cb2d9f7011f3a7eadeb
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 15 13:09:57 2014 -0400
InfdFilesystemStorage: Make the XML reading/writing functions public
This can help to simplify InfChatFilesystemFormat and
InfTextFilesystemFormat, and it allows external code to alter XML files
in the storage.
.../libinfinity/libinfinity-0.6-sections.txt | 2 +
libinfinity/server/infd-filesystem-storage.c | 469 +++++++++++---------
libinfinity/server/infd-filesystem-storage.h | 16 +
3 files changed, 284 insertions(+), 203 deletions(-)
commit c8a0358d529b8a99168703bb37496212341c262e
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 11 21:50:33 2014 -0400
Add the InfdAccountStorage interface
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 28 +
libinfinity/common/inf-acl.h | 1 +
libinfinity/server/Makefile.am | 2 +
libinfinity/server/infd-account-storage.c | 742 ++++++++++++++++++++
libinfinity/server/infd-account-storage.h | 251 +++++++
6 files changed, 1025 insertions(+)
commit 0dbaea2420ee278fd4b63e93720b20c1cfb2acaa
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 14 23:07:37 2014 -0400
InfGtkPermissionsDialog: Skip warning account listing is unsupported
libinfgtk/inf-gtk-permissions-dialog.c | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
commit 8c04cf744e1b54d6a3a50ea44d6850461b57fd6f
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 13 21:54:48 2014 -0400
Fix certificate-auth plugin loading failure
On success, gnutls_certificate_set_x509_trust() returns the number
of added
certificates instead of 0 in some gnutls versions.
infinoted/plugins/infinoted-plugin-certificate-auth.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 58d9a57fa27356b124bb714a81eb893884025c2c
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 13 21:45:24 2014 -0400
Impose fewer constraints on the server, protocol-wise
For example, the server does no longer need to be able to provide a full
list of accounts, or to provide notifications when accounts are added or
removed.
This is preparation work for a new interface that allows to provide the
user accounts from an external source such as a database, LDAP, pam, or
other means.
.../libinfinity/libinfinity-0.6-sections.txt | 15 +-
.../plugins/infinoted-plugin-certificate-auth.c | 18 +-
libinfgtk/inf-gtk-account-creation-dialog.c | 5 +-
libinfgtk/inf-gtk-acl-sheet-view.c | 1 +
libinfgtk/inf-gtk-browser-view.c | 36 +-
libinfgtk/inf-gtk-permissions-dialog.c | 1981 ++++++++++++++++---
libinfinity/client/infc-browser.c | 1098 +++++++---
libinfinity/common/inf-acl.c | 98 +-
libinfinity/common/inf-acl.h | 64 +-
libinfinity/common/inf-browser.c | 218 +-
libinfinity/common/inf-browser.h | 66 +-
libinfinity/common/inf-request-result.c | 96 +-
libinfinity/common/inf-request-result.h | 21 +-
libinfinity/server/infd-acl-account-info.c | 7 +-
libinfinity/server/infd-acl-account-info.h | 2 +-
libinfinity/server/infd-directory.c | 796 +++++---
libinfinity/server/infd-directory.h | 2 +-
libinfinity/server/infd-filesystem-storage.c | 2 +-
test/inf-test-set-acl.c | 55 +-
19 files changed, 3541 insertions(+), 1040 deletions(-)
commit b83655140face899a87287f47af9284a5c4e4fbb
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 13 10:51:24 2014 -0400
Fix a crash when there is an empty directory and a plugin is unloaded
infinoted/infinoted-plugin-manager.c | 20 +++++++++++---------
1 file changed, 11 insertions(+), 9 deletions(-)
commit 650a6207ee994b464f710ea28beda6d3ffa4d2f7
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Aug 12 21:11:00 2014 -0400
inf-test-set-acl: Bail out if file does not contain a certificate
Instead of crashing.
test/inf-test-set-acl.c | 6 ++++++
1 file changed, 6 insertions(+)
commit b96eef880fe8a98d551c46607a05675ed20ef40e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Aug 9 23:01:51 2014 -0400
Update infinoted man page
infinoted/infinoted-0.6.man | 45 ++++++++++++++++---------------------------
1 file changed, 17 insertions(+), 28 deletions(-)
commit 12e9a8e6274f386cffb147a35b1b560d52ac530c
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Aug 9 12:10:37 2014 -0400
Print the final buffer in inf-test-text-replay to stdout
test/inf-test-text-replay.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 200840eb93229aa2e6b5be3de29bdcd3108519d1
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 8 22:52:12 2014 -0400
Add a TODO comment about smarter transformation of text with newlines
TODO | 13 +++++++++++++
1 file changed, 13 insertions(+)
commit 82f991d26f15d644720d512b3949af1439168919
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 7 18:33:32 2014 -0400
Complete libinfinoted-plugin-manager documentation
.../libinfinoted-plugin-manager-0.6-sections.txt | 45 ++++----
infinoted/infinoted-log.c | 10 +-
infinoted/infinoted-parameter.c | 18 ++++
infinoted/infinoted-parameter.h | 107 ++++++++++++++++++--
infinoted/infinoted-plugin-manager.h | 65 +++++++++++-
infinoted/infinoted-util.c | 29 ++++--
infinoted/infinoted-util.h | 2 -
7 files changed, 227 insertions(+), 49 deletions(-)
commit b3035a108ebb6db7e224c2604fc6215a2e25eb7b
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 7 17:26:57 2014 -0400
Build documentation for libinfinoted-plugin-manager
configure.ac | 1 +
docs/reference/Makefile.am | 2 +-
.../libinfinoted-plugin-manager/.gitignore | 13 +++
.../libinfinoted-plugin-manager/Makefile.am | 110 ++++++++++++++++++++
.../libinfinoted-plugin-manager-0.6-docs.sgml | 25 +++++
.../libinfinoted-plugin-manager-0.6-sections.txt | 79 ++++++++++++++
6 files changed, 229 insertions(+), 1 deletion(-)
commit ba2f8635767671ebaa29377e988c2ce9a5ec22a4
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 7 17:04:54 2014 -0400
Turn InfinotedPluginManager into a GObject
infinoted/infinoted-config-reload.c | 13 +-
infinoted/infinoted-plugin-manager.c | 656 +++++++++++++++++++++++++--------
infinoted/infinoted-plugin-manager.h | 61 ++-
infinoted/infinoted-run.c | 12 +-
4 files changed, 569 insertions(+), 173 deletions(-)
commit 086fc2f4f0265760e1db94f6ceb4ba4a014e7f39
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 7 15:03:41 2014 -0400
Move chat filesystem format from infinoted plugin to libinfinity
This way other note plugins can share the code.
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 7 +
infinoted/plugins/infinoted-plugin-note-chat.c | 149 ++----------
libinfinity/client/infc-browser.c | 7 +-
libinfinity/common/inf-chat-session.c | 21 +-
libinfinity/common/inf-chat-session.h | 2 +-
libinfinity/server/Makefile.am | 2 +
libinfinity/server/infd-chat-filesystem-format.c | 255 ++++++++++++++++++++
libinfinity/server/infd-chat-filesystem-format.h | 58 +++++
libinfinity/server/infd-directory.c | 7 +-
libinftext/inf-text-filesystem-format.c | 10 +-
11 files changed, 366 insertions(+), 153 deletions(-)
commit 66360a1e45eeb3930988ba44f21f2bab2e903c6f
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 7 14:31:49 2014 -0400
Provide functions to operate on InfdFilesystemStorage-provided stream
This avoids potential problems when the the stream is opened in a DLL
that uses a different C runtime library than the code that is trying to
read from it or close it. This can especially happen on Windows.
.../libinfinity/libinfinity-0.6-sections.txt | 3 ++
infinoted/plugins/infinoted-plugin-note-chat.c | 19 ++++---
libinfinity/server/infd-filesystem-storage.c | 59 +++++++++++++++++++++
libinfinity/server/infd-filesystem-storage.h | 13 +++++
libinftext/inf-text-filesystem-format.c | 17 +++---
5 files changed, 96 insertions(+), 15 deletions(-)
commit fb4ba8d7fee8d0466b209809e32c11773363b815
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 7 14:12:16 2014 -0400
Add infd_filesystem_storage_get_path()
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/server/infd-filesystem-storage.c | 62 ++++++++++++++++-----
libinfinity/server/infd-filesystem-storage.h | 6 ++
3 files changed, 55 insertions(+), 14 deletions(-)
commit 95ad52800ada168f818210664e04e34bde6265cf
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 7 11:24:06 2014 -0400
Don't require a "seq" attribute for set-acl requests
The client handling of set-acl was incorrect; if no "seq" attribute was
provided it set an error but never actually checked for the error.
libinfinity/client/infc-browser.c | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
commit 684bdf5ee8b003f0c4a12149446858b378cdec1f
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 7 11:23:13 2014 -0400
Avoid crash on destruction when non-fatal error is set in
InfGtkBrowserStore
libinfgtk/inf-gtk-browser-store.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
commit 2cf867636d684b00493bdfa4b006cd9922fd7854
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 6 21:20:02 2014 -0400
Emit "subscribe-session" when enabling the server chat
The same for "unsubscribe-session" when the chat is disabled
libinfinity/server/infd-directory.c | 160 +++++++++++++++++++---------------
1 file changed, 92 insertions(+), 68 deletions(-)
commit f90baa048556c8dbfcb9c07cb110cfe00b951c06
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Aug 5 22:25:56 2014 -0400
Several documentation fixes
.../libinfgtk/libinfgtk-0.6-sections.txt | 4 +-
docs/reference/libinfinity/Makefile.am | 4 +-
.../libinfinity/libinfinity-0.6-sections.txt | 111 +++++------
.../libinftext/libinftext-0.6-sections.txt | 2 -
libinfgtk/inf-gtk-account-creation-dialog.c | 22 +--
libinfgtk/inf-gtk-account-creation-dialog.h | 5 +-
libinfinity/adopted/inf-adopted-algorithm.h | 8 +-
libinfinity/adopted/inf-adopted-request-log.c | 6 +-
libinfinity/adopted/inf-adopted-user.c | 2 +-
libinfinity/client/infc-request-manager.c | 42 ++++-
libinfinity/client/infc-request-manager.h | 32 +++-
libinfinity/client/infc-session-proxy.c | 2 +-
libinfinity/common/inf-acl.c | 4 +-
libinfinity/common/inf-acl.h | 5 +-
libinfinity/common/inf-browser-iter.h | 8 +
libinfinity/common/inf-browser.c | 42 ++---
libinfinity/common/inf-browser.h | 8 +-
libinfinity/common/inf-cert-util.h | 2 +-
libinfinity/common/inf-certificate-chain.c | 2 +-
libinfinity/common/inf-error.h | 3 +
libinfinity/common/inf-file-util.h | 2 +
libinfinity/common/inf-io.h | 23 +++
libinfinity/common/inf-native-socket.c | 6 +
libinfinity/common/inf-request-result.c | 8 +-
libinfinity/common/inf-request.c | 2 +-
libinfinity/common/inf-sasl-context.c | 5 +-
libinfinity/common/inf-session-proxy.c | 2 +-
libinfinity/common/inf-session.c | 8 +-
libinfinity/common/inf-session.h | 1 +
libinfinity/common/inf-tcp-connection.c | 42 ++++-
libinfinity/common/inf-tcp-connection.h | 31 +++
libinfinity/common/inf-user.h | 4 +-
libinfinity/common/inf-xmpp-connection.c | 24 ++-
libinfinity/common/inf-xmpp-connection.h | 198 ++++++++++++++++++--
.../inf-communication-group-private.h | 2 +-
libinfinity/server/infd-acl-account-info.c | 7 +-
libinfinity/server/infd-acl-account-info.h | 4 +-
libinfinity/server/infd-directory.c | 2 +-
libinfinity/server/infd-progress-request.c | 2 +-
libinfinity/server/infd-server-pool.c | 2 +-
libinfinity/server/infd-storage.c | 6 +-
libinftext/inf-text-buffer.h | 8 +-
libinftext/inf-text-filesystem-format.h | 2 +-
libinftextgtk/inf-text-gtk-hue-chooser.c | 27 +++
libinftextgtk/inf-text-gtk-hue-chooser.h | 18 ++
45 files changed, 574 insertions(+), 176 deletions(-)
commit 571df75d2ae995983984214d1588cab80eddd339
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 4 22:23:47 2014 -0400
Remove outdated HACKING file
HACKING | 10 ----------
1 file changed, 10 deletions(-)
commit 7fccfd56a7816dc488e354f0d852e5d5652e3800
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 4 22:23:02 2014 -0400
Add libinfinoted-plugin-manager to README.md
README.md | 2 ++
1 file changed, 2 insertions(+)
commit 921fd26e896b225034296732f8db485ffcec4fac
Author: Philipp Kern <pkern@debian.org>
Date: Sun Jul 20 22:15:41 2014 +0200
Ignore missing README.
Not shipping with a README does not comply with GNU standards. But that's
ok, we ship with a README.md. Tell autoconf that the package is foreign
to GNU.
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 8154fa4a2020843ed397b4b29f17f4dfd47c1d14
Author: Philipp Kern <pkern@debian.org>
Date: Sun Jul 20 22:09:35 2014 +0200
Convert the README to Markdown and update it.
Markdown is rendered as HTML on GitHub. Add build status from Travis CI.
Reference the GitHub issue tracker instead of the old Trac. Update
dependencies using the actual checks in configure.ac.
README | 56 ----------------------------------------------------
README.md | 65 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 65 insertions(+), 56 deletions(-)
commit 04c3483b5088e9acbf1c288b2c43872b1bd2243b
Author: Philipp Kern <pkern@debian.org>
Date: Sun Jul 20 21:56:08 2014 +0200
Use g_return_val_if_fail in inf_sasl_context_session_is_processing.
Fixes a build failure with clang because an empty return is invalid in a
non-void function.
libinfinity/common/inf-sasl-context.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 67a08838002bf6b490d9156e9b90d54799f54bea
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 16 16:55:06 2014 +0200
InfGtkBrowserView: Redraw also recursively on ACL change
This is necessary since when for example the "can-subscribe-session"
ACL is changed on a subdirectory, the icons for many nodes within the
subdirectory might need to be changed.
libinfgtk/inf-gtk-browser-view.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
commit c55870103984ff3800c29e56dc3f740c78678cf6
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 16 16:38:39 2014 +0200
InfXmppConnection: Allow to change credentials after construction
But only as long as the credentials are not in use.
libinfinity/common/inf-xmpp-connection.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit 29fe913257c1ec4c1c53b509b4e0f89cb2c0e6f5
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 16 16:09:59 2014 +0200
Fix a warning when the root ACL sheetset is empty
libinfinity/server/infd-directory.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
commit a32f2da88f15d0dae6132f6d6410410daf345eed
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 16 16:02:34 2014 +0200
Associate certificates to users by DN instead of by key fingerprint
This allows easier transition when a user gets a new certificate, without
serious security degradations.
libinfinity/server/infd-acl-account-info.c | 22 ++++-----
libinfinity/server/infd-directory.c | 72 +++++++++++++++++++++-------
2 files changed, 67 insertions(+), 27 deletions(-)
commit 5b2ae5bff7bbb031d7c58b25cc40d62cc8c16eb5
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 16 15:37:50 2014 +0200
Add the gnutls_x509_crt_get_dn() function
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/common/inf-cert-util.c | 36 +++++++++++++++++++++
libinfinity/common/inf-cert-util.h | 3 ++
3 files changed, 40 insertions(+)
commit c6c7dc67fa27905a26e2ec54e943a5f2defed75f
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jul 14 18:42:47 2014 +0200
Don't show subdirectory-only ACLs for leaf node in permissions dialog
libinfgtk/inf-gtk-permissions-dialog.c | 33 +++++++++++++++++++-------------
libinfinity/common/inf-acl.c | 19 ++++++++++++++++++
libinfinity/common/inf-acl.h | 4 +++-
3 files changed, 42 insertions(+), 14 deletions(-)
commit 3a612c3ce077cf2f49b1f5c51416d308e9c4a0f8
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jul 14 18:14:59 2014 +0200
Don't allow the CAN_CREATE_ACCOUNT permission when server has no
private key
In this situation, the server does not support creating accounts, because
it cannot generate client certificates.
libinfinity/server/infd-directory.c | 170 +++++++++++++++++++++++++++++++++-
1 file changed, 168 insertions(+), 2 deletions(-)
commit a4e9db590f2dd94db6eaaecbea1977adbe402c05
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 13 17:18:21 2014 +0200
Fix plugin manager cleanup when unloading a plugin causes unsubscriptions
The connection to the "unsubscribe-session" signal was removed too
early, so
that the cleanup of the plugin manager session hash table was not
properly
performed when a plugin's on_deinitialize() callback causes sessions
to be
unsubscribed. This can happen when the "note-text" plugin is
deinitialized on
server shutdown, and lead to an assertion failure at time of plugin
manager
destruction.
infinoted/infinoted-plugin-manager.c | 38 +++++++++++++++++-----------------
1 file changed, 19 insertions(+), 19 deletions(-)
commit fc6b7bcf57701cb7ae2fb4aec133fb97fe72a891
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 13 17:10:35 2014 +0200
Fix assertion failure when removing a note plugin while a session
is weak-refed
libinfinity/server/infd-directory.c | 1 +
1 file changed, 1 insertion(+)
commit 135ac641c2a2d0e500f69294666ec1579588adea
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 13 16:46:36 2014 +0200
Don't create InfTextSession object in InfTextFilesystemFormat
This allows to re-use the filesystem format functions when inheriting
a class
from InfTextSession.
infinoted/plugins/infinoted-plugin-note-text.c | 25 ++++++++--
libinftext/inf-text-filesystem-format.c | 63 ++++++++----------------
libinftext/inf-text-filesystem-format.h | 7 ++-
3 files changed, 44 insertions(+), 51 deletions(-)
commit fd249542ebe7d07784301bccef16d0006d3b07c4
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 13 13:31:28 2014 +0200
Install header and pkg-config files for infinoted-plugin-manager
This allows developing infinoted plugins outside of the libinfinity tree.
Makefile.am | 1 +
configure.ac | 1 +
infinoted/Makefile.am | 13 +++++++++----
libinfinoted-plugin-manager.pc.in | 11 +++++++++++
4 files changed, 22 insertions(+), 4 deletions(-)
commit 581a8b4377f0d3e73a5def62b60805137b0bbdca
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jul 12 21:24:08 2014 +0200
Fix g_return_if_fail usage in inf_async_operation_start()
libinfinity/common/inf-async-operation.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
commit c1a24fb73b2fe0cc3e79207e21e13d48ac54ab8f
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jul 5 22:53:18 2014 +0200
Add InfGtkAccountCreationDialog
docs/reference/libinfgtk/libinfgtk-0.6-docs.sgml | 1 +
.../libinfgtk/libinfgtk-0.6-sections.txt | 17 +
libinfgtk/Makefile.am | 2 +
libinfgtk/inf-gtk-account-creation-dialog.c | 949 ++++++++++++++++++++
libinfgtk/inf-gtk-account-creation-dialog.h | 86 ++
libinfinity/inf-marshal.in | 1 +
6 files changed, 1056 insertions(+)
commit cad668dd5b51bddc7d84fd07cd94650eb43fd370
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jul 3 17:27:06 2014 +0200
Add framework to run simple tasks asynchronously in a worker thread
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 11 +
libinfinity/common/Makefile.am | 2 +
libinfinity/common/inf-async-operation.c | 301 ++++++++++++++++++++
libinfinity/common/inf-async-operation.h | 80 ++++++
5 files changed, 395 insertions(+)
commit 4bef6174b6801a02e5997577fb983801f08d299d
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jul 5 22:30:48 2014 +0200
InfcBrowser: reset account-list-queried flag on disconnection
libinfinity/client/infc-browser.c | 1 +
1 file changed, 1 insertion(+)
commit ca3eb03e1caa2ad9efb817eca6ab0b08e2938316
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jul 5 22:30:20 2014 +0200
InfcBrowser: report error properly when sheet set could not be decoded
libinfinity/client/infc-browser.c | 3 +++
1 file changed, 3 insertions(+)
commit 08e06015be1d76304f80dd12028ed93619d47c7d
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jul 5 22:07:41 2014 +0200
Fix crash when changing ACL on unknown note type
libinfinity/server/infd-directory.c | 31 +++++++++++++++++--------------
1 file changed, 17 insertions(+), 14 deletions(-)
commit 29e5351cbcacb0a0469e97d4f92fa03c2157ac0e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jul 5 21:59:47 2014 +0200
Update TODO statements
TODO | 2 +-
libinfinity/server/infd-directory.c | 2 --
2 files changed, 1 insertion(+), 3 deletions(-)
commit 8bbb19df0bb5eb1c75a07377729439fb6d21f657
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jul 5 21:59:17 2014 +0200
Fix a crash when certificate-auth plugin fails to initialize
infinoted/plugins/infinoted-plugin-certificate-auth.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
commit 3f776966a1ef79c206b5e44b3b59910c02fa6d72
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jul 3 14:38:31 2014 +0200
InfGtkBrowserView: Allow initial root expansion in multiple views
With the change that initial root expansion is performed by default in
commit ef1ccbe5492e0d086e618ce323f3910b837bcf60, the current assumption
that there is at most one view per request that expands the root node
after initial exploration is no longer valid. The code is now changed
such
that the root node can be expanded in multiple views at the same time.
libinfgtk/inf-gtk-browser-view.c | 48 ++++++++++++++++++++++++--------------
1 file changed, 30 insertions(+), 18 deletions(-)
commit 7bb34e741a4d8c4d88530331db7714384fe5fcc7
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 2 14:56:12 2014 +0200
Replace InfStandaloneIo by GAsyncQueue in InfSaslContext
This simplifies the code a bit, and probably involves less overhead
in the
message passing.
libinfinity/common/inf-error.h | 2 +-
libinfinity/common/inf-sasl-context.c | 61 +++++++++++++++++++--------------
2 files changed, 36 insertions(+), 27 deletions(-)
commit 5da56cc674dc2a43c32d83e5becb5407b0345ec8
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 2 14:52:35 2014 +0200
Fix assertion failure on double-challenge in SASL authentication
This can not normally happen, however if a client sends a response
before the server having asked for it, an assertion was hit in
InfSaslContext.
This behaviour is not allowed by SASL which follows a strict
challenge -> response -> challenge -> response etc. pattern.
Therefore, in this case the authentication is aborted now.
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/common/inf-sasl-context.c | 26 ++++++++++++++++++
libinfinity/common/inf-sasl-context.h | 3 +++
libinfinity/common/inf-xmpp-connection.c | 30 ++++++++++++++++-----
4 files changed, 53 insertions(+), 7 deletions(-)
commit 5e9fdc5c9a79cd455618d336a33d67af81d3afca
Merge: 687617b 27ef5d4
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jun 30 19:46:14 2014 +0200
Merge remote-tracking branch 'polarina/master'
commit 687617baa4fbdb79d599a993183686ce09b2fd7b
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jun 30 19:42:24 2014 +0200
Fix g_return_val_if_fail in infd_directory_remove_plugin()
libinfinity/server/infd-directory.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 27ef5d4a8e0c5be5899155f56374cd2988f93b35
Author: GabrÃel Arthúr Pétursson <gabriel@system.is>
Date: Mon Jun 23 13:04:09 2014 +0000
Implement inf_gtk_browser_store_remove_browser
.../libinfgtk/libinfgtk-0.6-sections.txt | 1 +
libinfgtk/inf-gtk-browser-store.c | 22 +++++++++++++++++++++
libinfgtk/inf-gtk-browser-store.h | 4 ++++
3 files changed, 27 insertions(+)
commit ef1ccbe5492e0d086e618ce323f3910b837bcf60
Author: GabrÃel Arthúr Pétursson <gabriel@system.is>
Date: Fri Jun 13 22:45:39 2014 +0000
Expand server's document list on connect
libinfgtk/inf-gtk-browser-view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2f9298920a647d671db59c9bce6149f27fad3db9
Author: GabrÃel Arthúr Pétursson <gabriel@system.is>
Date: Thu Jun 12 21:10:26 2014 +0000
Fix use of uninitialized variable in
inf_text_gtk_view_user_invalidate_user_area
The bug manifests itself when show_remote_cursors and
show_remote_selections
evaluate to FALSE and show_remote_current_lines evaluates to TRUE.
Usual symptoms are crashes.
libinftextgtk/inf-text-gtk-view.c | 37 +++++++++++++++++++------------------
1 file changed, 19 insertions(+), 18 deletions(-)
commit 6bcf72500046a5f7c11f83e256cf534a56e70058
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 29 14:11:57 2014 +0200
Turn note plugins into regular plugins
configure.ac | 3 -
infinoted/Makefile.am | 7 +-
infinoted/infinoted-note-plugin.c | 208 ------------
infinoted/infinoted-note-plugin.h | 49 ---
infinoted/infinoted-options.c | 6 +-
infinoted/infinoted-plugin-manager.c | 16 +-
infinoted/infinoted-run.c | 35 --
infinoted/note-plugins/Makefile.am | 1 -
infinoted/note-plugins/chat/Makefile.am | 20 --
.../note-plugins/chat/infd-note-plugin-chat.c | 235 --------------
infinoted/note-plugins/text/Makefile.am | 23 --
.../note-plugins/text/infd-note-plugin-text.c | 116 -------
infinoted/plugins/Makefile.am | 22 ++
infinoted/plugins/infinoted-plugin-note-chat.c | 333 ++++++++++++++++++++
infinoted/plugins/infinoted-plugin-note-text.c | 214 +++++++++++++
libinfinity/common/inf-error.c | 2 +
libinfinity/common/inf-error.h | 3 +
libinfinity/server/infd-directory.c | 10 +-
18 files changed, 601 insertions(+), 702 deletions(-)
commit 9c6504ba5ae13d5b5a29608e4342dfda4714df9d
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 29 13:50:13 2014 +0200
Add infd_directory_remove_plugin() function
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/server/infd-directory.c | 119 +++++++++++++++++++-
libinfinity/server/infd-directory.h | 4 +
3 files changed, 122 insertions(+), 2 deletions(-)
commit 9fd77a7295e5395ec02118971937e8fd28266839
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 29 13:20:58 2014 +0200
Add support for unknown notes in InfdDirectory
libinfinity/server/infd-directory.c | 267 +++++++++++++++++++++++++---------
1 file changed, 196 insertions(+), 71 deletions(-)
commit 6401fb586ec9102287e350880ea678ed23a5990b
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jun 27 14:30:04 2014 +0200
Fix erase-text propagation in InfTextFixlineBuffer
libinftext/inf-text-fixline-buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 208c40e6d8f21007f113932030fbbc44bb29ab35
Author: GabrÃel Arthúr Pétursson <gabriel@system.is>
Date: Mon Jun 9 16:18:42 2014 +0000
Include GDK headers in inf-gtk-permissions-dialog.c
libinfgtk/inf-gtk-permissions-dialog.c | 3 +++
1 file changed, 3 insertions(+)
commit e43c20849d4c9a1397ff60d3c3b7ab9ac95e74b2
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 3 21:42:40 2014 +0200
Add missing include file
This fixes the build on Windows
libinfgtk/inf-gtk-permissions-dialog.c | 1 +
1 file changed, 1 insertion(+)
commit 1288cdf8f8a16f31689977e4cf70f54fc1a9520e
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jun 2 21:28:11 2014 +0200
Fix a crash when server does not support a permission that the
client does
The client would then mask out the root node permission of the
"default account", which is not allowed: the default account needs
to have
the full mask set on the root node. This patch fixes the problem
by making
sure the full mask is set in handle_set_acl. Unsupported permissions
are then
assumed to correspond to the default ones.
libinfinity/client/infc-browser.c | 52 ++++++++++++++++++++++++++++++++-----
1 file changed, 46 insertions(+), 6 deletions(-)
commit 8b9df18a3a49ccedce26ffa6b81339964aa78625
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri May 16 16:09:01 2014 +0200
Add functionality in InfGtkPermissionDialog to remove accounts
libinfgtk/inf-gtk-permissions-dialog.c | 442 +++++++++++++++++++++++++++++++
1 file changed, 442 insertions(+)
commit 0b35ee51e0d808c956420cea9f8061218a449e4a
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri May 16 16:07:19 2014 +0200
Fix authorization check in infd_directory_handle_query_acl()
libinfinity/server/infd-directory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b344804d3584bc860d60431142b6453505ec8ac7
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 15 19:32:39 2014 +0200
Implement remaining ACL permissions
libinfinity/common/inf-acl.c | 43 ++++++++-
libinfinity/common/inf-acl.h | 23 +++++
libinfinity/server/infd-directory.c | 174 +++++++++++++++++++++++++++-------
3 files changed, 207 insertions(+), 33 deletions(-)
commit adb4cb3c8045e5784b38dcfa0926dcdfd1d110fd
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 15 16:41:31 2014 +0200
Fix the cleanup tests
This change involves making the function inf_adopted_algorithm_cleanup()
public, so that it can be called by InfAdoptedSession at the appropriate
time.
Another nice benefit of this is that now it is up to the user of
InfAdoptedAlgorithm to decide when to remove no longer used
requests. This
can for example be used to keep a full history by not calling the
function at
all, or to cleanup in regular intervals.
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/adopted/inf-adopted-algorithm.c | 252 ++++++++++----------
libinfinity/adopted/inf-adopted-algorithm.h | 3 +
libinfinity/adopted/inf-adopted-session.c | 22 +-
4 files changed, 154 insertions(+), 124 deletions(-)
commit 30af3fc4b0c57cce4f349cfd80d1f216fe1eb8b0
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed May 14 17:42:33 2014 +0200
Fix possible memory leak in inf_session_communication_object_received()
libinfinity/common/inf-session.c | 2 ++
1 file changed, 2 insertions(+)
commit 6be10da6ac0f130deff03a3e85d3a651f97b1e17
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed May 14 17:38:41 2014 +0200
Improve error messages in inf-test-text-cleanup
test/inf-test-text-cleanup.c | 36 ++++++++++++++++++++++++++++++++----
1 file changed, 32 insertions(+), 4 deletions(-)
commit d7d5c6cdf0ed5f890d5eb14c13be4d466b615f29
Author: Philipp Kern <pkern@debian.org>
Date: Sun May 11 12:33:48 2014 +0200
Travis CI: Do not call configure twice.
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e6919ac6b4246e964a5648e1bc24e5955e1e8b20
Author: Philipp Kern <pkern@debian.org>
Date: Sun May 11 12:24:03 2014 +0200
Add Travis CI support.
.travis.yml | 8 ++++++++
1 file changed, 8 insertions(+)
commit 3ca30b3e2bd8881368c586a7dfa828251c39a1ab
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri May 9 16:18:26 2014 +0200
Change logic of certificate checking to be SSH-like
The "known hosts" file is changed to contain mappings from hostname to
certificate. This technique is also known as "certificate pinnng". The
certificate check is then performed as follows:
If the certificate is valid, then connect, and remove any entry in
the known
hosts file.
If the certificate is invalid for a reason other than a hostname
mismatch or
the CA not being trusted, then disconnect.
Otherwise, look up the name of the host in the "known hosts" file:
* If the certificate that is saved for this host is equal to the
one that
was presented, then proceed.
* If there is no entry, or if the certificate saved in the known
hosts file
is expired or revoked, then show a dialog asking whether to trust the
connection (showing what the problem is (either hostname or CA
untrusted)),
and if yes, add it to the known hosts file
* If the stored certificate is not the same as the one presented,
then also
show a dialog with a "this is strange, please make sure you only
proceed
if you expect this message otherwise contact the server
administrator".
Replace the certificate in the known hosts file if proceeding.
If the hostname matches the one in the certificate and if the certificate
is issued by a trusted CA, then proceed with the connection. If the
certificate is invalid
libinfgtk/inf-gtk-certificate-dialog.c | 160 ++----
libinfgtk/inf-gtk-certificate-dialog.h | 30 +-
libinfgtk/inf-gtk-certificate-manager.c | 840 +++++++++++++++++++-----------
3 files changed, 613 insertions(+), 417 deletions(-)
commit 9879d21e64d73d007b56e75a4cbcac9eadac33e0
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 6 21:17:52 2014 +0200
Allow to specify reason for certificate rejection
.../plugins/infinoted-plugin-certificate-auth.c | 17 +++++-
libinfgtk/inf-gtk-certificate-manager.c | 9 ++-
libinfinity/common/inf-xmpp-connection.c | 61 ++++++++++++++++-----
libinfinity/common/inf-xmpp-connection.h | 3 +-
4 files changed, 70 insertions(+), 20 deletions(-)
commit 4ea815cccb2b3388a5f33d72b42ba47a93038c80
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 6 21:02:41 2014 +0200
Add INF_GNUTLS_CERTIFICATE_VERIFICATION_ERROR domain
.../libinfinity/libinfinity-0.6-sections.txt | 2 +
libinfinity/common/inf-error.c | 57 +++++++++++++++++++++
libinfinity/common/inf-error.h | 7 +++
3 files changed, 66 insertions(+)
commit 1e2edf642135ee87ec0cbb582d3763b17086548b
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 6 16:17:18 2014 +0200
Add additional assert statements
These avoid false positives of the clang static analyzer.
libinfinity/adopted/inf-adopted-state-vector.c | 8 +++++---
test/inf-test-reduce-replay.c | 5 +++++
2 files changed, 10 insertions(+), 3 deletions(-)
commit 67be1478d72b139937d95098326ce31ba2e99dd5
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 6 16:54:36 2014 +0200
Fix missing return values in infinoted_plugin_document_stream_io_in()
infinoted/plugins/infinoted-plugin-document-stream.c | 13 +++++--------
1 file changed, 5 insertions(+), 8 deletions(-)
commit 2d907b7eea831a4d79095cee03d62a7bfd8d8d43
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 6 16:41:45 2014 +0200
Fix cleanup order of InfdDirectory
libinfinity/server/infd-directory.c | 101 ++++++++++++++++++++--------------
1 file changed, 59 insertions(+), 42 deletions(-)
commit 33b90bf92d17d121cf9cac5a829f7e0f20446be0
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 6 16:16:35 2014 +0200
Fix an invalid pointer dereference in inf_text_chunk_get_segment()
libinftext/inf-text-chunk.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 8ab8c9bd841011ef7c7b119a27743b1ffe1f4800
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 6 14:18:10 2014 +0200
Fix g_return_if_fail / g_return_val_if_fail occurences
libinfgtk/inf-gtk-browser-store.c | 4 ++--
libinfgtk/inf-gtk-certificate-manager.c | 2 +-
libinfinity/adopted/inf-adopted-algorithm.c | 19 +++++++++++--------
libinfinity/adopted/inf-adopted-operation.c | 10 +++++-----
libinfinity/common/inf-acl.c | 2 +-
libinfinity/server/infd-directory.c | 6 +++---
6 files changed, 23 insertions(+), 20 deletions(-)
commit 7bdda5389027559f10c708aa68e35a755b7a7b68
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 19:31:44 2014 +0200
Add the certificate-auth plugin
This plugin enables client authentification with client certificates. The
functionality has already been available in the infinoted server
itself and
is now moved into a plugin.
The has additional features compared to the previous functionality,
including
the accept-unauthenticated-clients option and the feature to create a
short-lived super account that can be used to set up the initial
permissions.
infinoted/infinoted-options.c | 12 -
infinoted/infinoted-options.h | 1 -
infinoted/infinoted-run.c | 87 ---
infinoted/infinoted-startup.c | 47 --
infinoted/infinoted-startup.h | 3 -
infinoted/plugins/Makefile.am | 10 +
.../plugins/infinoted-plugin-certificate-auth.c | 602 ++++++++++++++++++++
7 files changed, 612 insertions(+), 150 deletions(-)
commit 4d8093bad8c3bf526e6c7f93483f69eae71c4b88
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 19:31:13 2014 +0200
Remove an outdated assertion that is no longer true with transient
accounts
libinfinity/server/infd-directory.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
commit af92d0d91e4cf692bb2ed6db4d88f7239605b753
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 19:20:45 2014 +0200
Fix two memory leaks in infinoted
infinoted/infinoted-log.c | 2 ++
infinoted/infinoted-parameter.c | 3 +++
2 files changed, 5 insertions(+)
commit 85bffce83cfe8880dbc1febf4c4af31c6ac107ed
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 19:19:30 2014 +0200
Fix assertion failure when browser is disconnected while waiting
for welcome
libinfinity/client/infc-browser.c | 6 ++++++
1 file changed, 6 insertions(+)
commit 53ebb250c396ad4a0de492fdd34c933459f33bb8
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 17:24:55 2014 +0200
Remove an obsolete TODO item
libinfinity/server/infd-directory.c | 4 ----
1 file changed, 4 deletions(-)
commit 54e839839f2caa165edd58585c56da26c28254c2
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 16:56:49 2014 +0200
InfXmppConnection: Allow to specify gnutls_certificate_request_t
This allows to reject clients that do not present a certificate already
on the TLS level.
infinoted/infinoted-run.c | 1 +
libinfgtk/inf-gtk-certificate-manager.c | 1 +
libinfinity/common/inf-xmpp-connection.c | 7 ++++++-
libinfinity/common/inf-xmpp-connection.h | 1 +
4 files changed, 9 insertions(+), 1 deletion(-)
commit d8a306e8cbc0a5028a7950efb4f1e196ed9fc314
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 16:43:42 2014 +0200
Add certificate credentials to the plugin manager
This allows plugin to access the credentials and to possibly alter
them. The
upcoming certificate authentication plugin needs to do this in order to
set the trusted CA certificates that client certificates need to
be signed
with.
infinoted/infinoted-config-reload.c | 1 +
infinoted/infinoted-plugin-manager.c | 27 ++++++++++++++++++++++++++-
infinoted/infinoted-plugin-manager.h | 5 +++++
infinoted/infinoted-run.c | 1 +
4 files changed, 33 insertions(+), 1 deletion(-)
commit e95548e32d86c4769a19b860138d5f54ae539280
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 15:05:26 2014 +0200
infinoted plugin manager: Call on_deinitalize if on_initialize fails
This simplifies makes the cleanup routines in the plugins.
infinoted/infinoted-plugin-manager.c | 3 +++
infinoted/plugins/infinoted-plugin-directory-sync.c | 4 ----
infinoted/plugins/infinoted-plugin-document-stream.c | 8 --------
3 files changed, 3 insertions(+), 12 deletions(-)
commit 02ca7b677894164ca1c202b164797402d1445727
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 13:58:08 2014 +0200
Raise key strength when creating private key with --create-key
Going up from 2048 bit to 4096 bit.
infinoted/infinoted-startup.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 054a6d88054e04185dcce1d8c332b1f6c811f5b4
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 13:45:35 2014 +0200
Rename inf_cert_util_check_certificate_signature to
_check_certificate_key
docs/reference/libinfinity/libinfinity-0.6-sections.txt | 2 +-
libinfinity/common/inf-cert-util.c | 10 +++++-----
libinfinity/common/inf-cert-util.h | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
commit fbfc23a38364417c48db36c92f8b0f4c0ba3c66a
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun May 4 13:42:59 2014 +0200
Add more flexibility when creating certificates with inf-cert-util
.../libinfinity/libinfinity-0.6-sections.txt | 3 +
infinoted/infinoted-startup.c | 8 +-
libinfinity/common/inf-cert-util.c | 176 +++++++++++++++-----
libinfinity/common/inf-cert-util.h | 34 ++++
4 files changed, 180 insertions(+), 41 deletions(-)
commit 8b781bcf8511d6e7107fcd6e0e1b8a8c6e39e065
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat May 3 21:20:35 2014 +0200
Add API and protocol handling for creating and removing ACL accounts
.../libinfinity/libinfinity-0.6-sections.txt | 18 +-
libinfinity/client/infc-browser.c | 705 +++++++++-------
libinfinity/client/infc-browser.h | 8 -
libinfinity/common/inf-browser.c | 73 ++
libinfinity/common/inf-browser.h | 28 +
libinfinity/common/inf-error.c | 2 +
libinfinity/common/inf-error.h | 3 +
libinfinity/common/inf-request-result.c | 190 +++--
libinfinity/common/inf-request-result.h | 29 +-
libinfinity/server/infd-acl-account-info.c | 10 +-
libinfinity/server/infd-acl-account-info.h | 6 +-
libinfinity/server/infd-directory.c | 849 ++++++++++++++------
libinfinity/server/infd-directory.h | 9 +
test/inf-test-certificate-request.c | 19 +-
14 files changed, 1308 insertions(+), 641 deletions(-)
commit c187c67d86449688b61fa2c1ffd4e763876c9037
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat May 3 20:35:00 2014 +0200
Fix PEM output in inf-test-certificate-request.c
test/inf-test-certificate-request.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit f8edd98b0984ccc870d04b2ad7f6ef29d690d13c
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat May 3 20:34:35 2014 +0200
Fix a memory leak in infc_request_manager_get_request_by_xml()
libinfinity/client/infc-request-manager.c | 1 +
1 file changed, 1 insertion(+)
commit 287c722099e8a9d44381ed6516eca477f18f7dc8
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri May 2 12:23:33 2014 +0200
Add possibility to the protocol to remove ACL accounts
libinfinity/client/infc-browser.c | 163 +++++++++++++++++++++++++++
libinfinity/common/inf-error.c | 2 +
libinfinity/common/inf-error.h | 3 +
libinfinity/server/infd-directory.c | 206 +++++++++++++++++++++++++++++++++-
4 files changed, 371 insertions(+), 3 deletions(-)
commit ea3893a6b73ea4d4dbf06c8f4eacbb22a67d51b2
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri May 2 11:18:39 2014 +0200
Bail if an inconsistent change-acl-account message arrives
libinfinity/client/infc-browser.c | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
commit 3cbe8c6b6113f92213800d1777599c237174ecc8
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 1 21:15:49 2014 +0200
Fix possible read-after-end in
inf_text_fixline_buffer_buffer_insert_text()
libinftext/inf-text-fixline-buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 5a7157e75e583bce88a1805be7cae63da0bb5810
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 1 21:15:12 2014 +0200
Fix an allocation problem in inf_text_fixline_buffer_buffer_insert_text()
libinftext/inf-text-fixline-buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e1fdb9c87e1db1f6df18dc0897657ab651b9e9dd
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 1 20:15:38 2014 +0200
Fix build of inf-native-socket.c on Windows
libinfinity/common/inf-native-socket.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit c49d3e29c538030179eeb494732e4f185d72cd0a
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Apr 30 23:18:25 2014 +0200
Re-use some low level socket code in inf-native-socket.[hc]
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 8 ++
libinfinity/common/Makefile.am | 2 +
libinfinity/common/inf-io.h | 18 +--
libinfinity/common/inf-native-socket.c | 97 +++++++++++++++
libinfinity/common/inf-native-socket.h | 72 ++++++++++++
libinfinity/common/inf-tcp-connection.c | 123 +++++---------------
libinfinity/server/infd-tcp-server.c | 71 +++--------
8 files changed, 227 insertions(+), 165 deletions(-)
commit f0d448a8807af1d7814a537a7a404ea104cdf211
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 27 23:12:38 2014 +0200
Allow the account of a client to be changed at runtime
.../libinfinity/libinfinity-0.6-sections.txt | 5 +-
libinfinity/client/infc-browser.c | 192 ++++++++++++++++----
libinfinity/common/inf-acl.c | 23 +++
libinfinity/common/inf-acl.h | 3 +
libinfinity/common/inf-browser.c | 52 ++++++
libinfinity/common/inf-browser.h | 9 +
libinfinity/server/infd-directory.c | 100 +++++++++-
libinfinity/server/infd-directory.h | 5 +
8 files changed, 348 insertions(+), 41 deletions(-)
commit d1a7c0852b6f723cc943bf98deb1d0e098b54fc1
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 27 20:42:24 2014 +0200
Support can-subscribe-session and can-explore-nodes in InfGtkBrowserView
libinfgtk/inf-gtk-browser-view.c | 148 ++++++++++++++++++++++++++++++++-----
1 file changed, 129 insertions(+), 19 deletions(-)
commit a717abf035ffc06de3389f060b8f1bb9651b28fe
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 27 19:52:52 2014 +0200
Add INF_ACL_CAN_EXPLORE_NODE permission
libinfinity/client/infc-browser.c | 4 ++--
libinfinity/common/inf-acl.c | 5 +++++
libinfinity/common/inf-acl.h | 3 +++
libinfinity/server/infd-directory.c | 9 +++++++--
4 files changed, 17 insertions(+), 4 deletions(-)
commit 9f0236e5e4a8447e977470bcbfdf5295df4cf1db
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 27 20:52:41 2014 +0200
Fix return value of infd_directory_enforce_single_acl()
libinfinity/server/infd-directory.c | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
commit f946a63a101743c6b29d8ba3ca9ebe1f275ed3f2
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 27 20:44:44 2014 +0200
Fix a crash when enforcing ACL on the server side
libinfinity/server/infd-directory.c | 17 +++++++++--------
1 file changed, 9 insertions(+), 8 deletions(-)
commit 3395af5ca3c68bd81479d3597f9c3bd92ed0acb6
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 26 21:57:41 2014 +0200
Enforce ACLs on all connections on ACL change
.../libinfinity/libinfinity-0.6-sections.txt | 3 +-
libinfgtk/inf-gtk-acl-sheet-view.c | 2 +-
libinfgtk/inf-gtk-permissions-dialog.c | 77 +++-
libinfinity/client/infc-browser.c | 349 +++++++++++++++
libinfinity/common/inf-browser.c | 55 ++-
libinfinity/common/inf-browser.h | 9 +
libinfinity/server/infd-directory.c | 451 ++++++++++++++++++--
7 files changed, 904 insertions(+), 42 deletions(-)
commit e940fcbc46f3b400ecb2265bc83a79da54930235
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 26 21:31:26 2014 +0200
Update autogen.sh to latest version of gnome-common
This enables running it with the latest automake
INSTALL | 12 ++--
autogen.sh | 184 ++++++++++++++---------------------------------------------
2 files changed, 48 insertions(+), 148 deletions(-)
commit a50ed511c754c5d23cca185eb54548dd9176b080
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 26 20:26:29 2014 +0200
Fix crash in inf_acl_sheet_set_from_xml when account id cannot be found
libinfinity/common/inf-acl.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
commit 5ca0e84462bbe471d91eee00660a28a60a500b29
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 26 10:09:24 2014 +0200
Remove ACLs from disk when removing a node
libinfinity/server/infd-filesystem-storage.c | 24 ++++++++++++++++++++++--
1 file changed, 22 insertions(+), 2 deletions(-)
commit 61fc849a575bb93a3fecc70478c98b3f80e6a5a1
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 19 19:26:23 2014 +0200
Add two-way chat support to document-stream
.../plugins/infinoted-plugin-document-stream.c | 379 +++++++++++++++++---
1 file changed, 335 insertions(+), 44 deletions(-)
commit 598ed69384c91e4636c9bbb649d1b4ff8ea4f558
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 19 19:24:45 2014 +0200
Fix resurrection of weak-refed session in InfdDirectory
libinfinity/server/infd-directory.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 1171093ea96156d092a45924635b3cd7769d1ec6
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Apr 10 17:16:06 2014 +0200
infinoted: Also log CN of certificate at connection attempts and errors
infinoted/plugins/infinoted-plugin-logging.c | 179 +++++++++++++++++++++----
libinfinity/common/inf-xmpp-connection.c | 40 +++++-
2 files changed, 191 insertions(+), 28 deletions(-)
commit ff19814b2a91e3442f3f536978dfc65e5132ffc6
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Apr 9 19:32:00 2014 +0200
Send a "request-invalid" back to the remote site if execute-request
failed
This is currently not handled, but can help to diagnose problems
libinfinity/adopted/inf-adopted-session.c | 80 ++++++++++++++++++++++++++---
1 file changed, 72 insertions(+), 8 deletions(-)
commit ce068a20618772726ccc20f3751f04114307f474
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 5 23:04:17 2014 +0200
Add document-stream infinoted plugin
configure.ac | 4 +-
infinoted/infinoted-plugin-manager.c | 14 +
infinoted/infinoted-plugin-manager.h | 3 +
infinoted/plugins/Makefile.am | 23 +-
.../plugins/infinoted-plugin-document-stream.c | 1215 +++++++++++++++++++
.../util/infinoted-plugin-util-navigate-browser.c | 310 +++++
.../util/infinoted-plugin-util-navigate-browser.h | 60 +
7 files changed, 1627 insertions(+), 2 deletions(-)
commit e49eb90e6f53ffb96c54d2fa2c98b7e4ff6254e7
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 5 23:03:41 2014 +0200
Fix win32 build failure in directory-sync infinoted plugin
infinoted/plugins/infinoted-plugin-directory-sync.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit 0cf4bd7934024673dbd4ebc4490889432b27fb84
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Feb 28 16:02:13 2014 +0100
Simplify the request API
Instead of having many classes and interfaces for the different parameter
types of request results, we have now one new type, InfRequestResult,
which
combines the various signatures of a request result. This allows to keep
only one interface, InfRequest, which provides the "finished" signal
itself.
There are four implementations, two on the client and two on the
server side.
One is the basic "request" object, and the other is a request object with
progress information for node exploration and user list query.
.../libinfinity/libinfinity-0.6-docs.sgml | 19 +-
.../libinfinity/libinfinity-0.6-sections.txt | 262 ++-----
.../plugins/infinoted-plugin-directory-sync.c | 2 +-
infinoted/plugins/infinoted-plugin-linekeeper.c | 11 +-
libinfgtk/inf-gtk-browser-store.c | 44 +-
libinfgtk/inf-gtk-browser-view.c | 74 +-
libinfgtk/inf-gtk-permissions-dialog.c | 44 +-
libinfinity/client/Makefile.am | 18 +-
.../client/infc-acl-account-list-request.c | 357 ---------
.../client/infc-acl-account-list-request.h | 75 --
libinfinity/client/infc-browser.c | 603 ++++++++-------
libinfinity/client/infc-browser.h | 17 +-
libinfinity/client/infc-certificate-request.c | 312 --------
libinfinity/client/infc-certificate-request.h | 98 ---
libinfinity/client/infc-chat-request.c | 305 --------
libinfinity/client/infc-chat-request.h | 90 ---
libinfinity/client/infc-explore-request.c | 273 -------
libinfinity/client/infc-explore-request.h | 76 --
libinfinity/client/infc-node-request.c | 314 --------
libinfinity/client/infc-node-request.h | 66 --
libinfinity/client/infc-progress-request.c | 286 +++++++
libinfinity/client/infc-progress-request.h | 76 ++
libinfinity/client/infc-request-manager.c | 24 +
libinfinity/client/infc-request-manager.h | 6 +
libinfinity/client/infc-request.c | 255 +++++-
libinfinity/client/infc-request.h | 20 +-
libinfinity/client/infc-session-proxy.c | 25 +-
libinfinity/client/infc-user-request.c | 272 -------
libinfinity/client/infc-user-request.h | 64 --
libinfinity/common/Makefile.am | 10 +-
libinfinity/common/inf-acl-account-list-request.c | 164 ----
libinfinity/common/inf-acl-account-list-request.h | 82 --
libinfinity/common/inf-browser.c | 125 ++-
libinfinity/common/inf-browser.h | 136 ++--
libinfinity/common/inf-explore-request.c | 117 ---
libinfinity/common/inf-explore-request.h | 58 --
libinfinity/common/inf-node-request.c | 141 ----
libinfinity/common/inf-node-request.h | 87 ---
libinfinity/common/inf-request-result.c | 808 ++++++++++++++++++++
libinfinity/common/inf-request-result.h | 157 ++++
libinfinity/common/inf-request.c | 94 ++-
libinfinity/common/inf-request.h | 36 +-
libinfinity/common/inf-session-proxy.c | 10 +-
libinfinity/common/inf-session-proxy.h | 16 +-
libinfinity/common/inf-user-request.c | 143 ----
libinfinity/common/inf-user-request.h | 87 ---
libinfinity/server/Makefile.am | 10 +-
libinfinity/server/infd-directory.c | 260 ++++---
libinfinity/server/infd-explore-request.c | 258 -------
libinfinity/server/infd-explore-request.h | 73 --
libinfinity/server/infd-node-request.c | 310 --------
libinfinity/server/infd-progress-request.c | 272 +++++++
libinfinity/server/infd-progress-request.h | 73 ++
libinfinity/server/infd-request.c | 302 ++++++++
.../{infd-node-request.h => infd-request.h} | 34 +-
libinfinity/server/infd-session-proxy.c | 26 +-
libinfinity/server/infd-user-request.c | 242 ------
libinfinity/server/infd-user-request.h | 64 --
libinftext/inf-text-session.c | 8 +-
libinftext/inf-text-session.h | 4 +-
test/inf-test-certificate-request.c | 8 +-
test/inf-test-chat.c | 12 +-
test/inf-test-gtk-browser.c | 32 +-
test/inf-test-mass-join.c | 14 +-
test/inf-test-set-acl.c | 16 +-
65 files changed, 3227 insertions(+), 5150 deletions(-)
commit 1e7fabfa776854711035825271e06f5c6ce4a52d
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Feb 24 22:15:14 2014 +0100
infinoted: Set umask to system value instead of 0077
This is only relevant when infinoted is started in daemonized mode.
libdaemon resets the umask, but we don't want that, so that the system
administrator can specify the permissions to use for the root directory
with the umask. See #617.
infinoted/infinoted-main.c | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
commit 12d4e363692fa352d31aee65143af885a61da90f
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Feb 24 22:12:47 2014 +0100
Allow group and other access to files created in the storage
If this is not wanted, it can be prevented by setting the umask
appropriately.
libinfinity/server/infd-filesystem-storage.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit cecf5112459ce7f93c354b9f80831720e31d88f6
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Feb 24 21:55:59 2014 +0100
Make sure infinoted properly depends on infinoted-plugin-manager
It looks like the dependency tracking works when specifying the relative
path in infinoted_0_6_LDADD, but not the absolute path based on
${top_srcdir}. It seems strange to me, but it seems to work.
infinoted/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit af955a3e1ef7cd7753b594e72bd5446a25d1ef61
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Feb 23 22:25:02 2014 +0100
Add missing LIBADD to infinoted-plugin-traffic-logging
infinoted/plugins/Makefile.am | 8 ++++++++
1 file changed, 8 insertions(+)
commit bb7e1741413a97c30359d0aeee32b83f3ef5d438
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Feb 22 22:30:22 2014 +0100
Add workaround for inconsistent cursor position with InfTextFixlineBuffer
This should be treated as a temporary solution until a proper
propagation of
cursor position and selection through the InfTextBuffer interface is
in place.
libinftext/inf-text-session.c | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
commit 264b71eac40d00ab3643060b77a71f3d216181eb
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Feb 17 22:42:43 2014 +0100
infinoted: flush the log file after writing to it
infinoted/infinoted-log.c | 1 +
1 file changed, 1 insertion(+)
commit a8fea1c61cf03e994b3bff072ef1a8d3ba019650
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Feb 14 19:18:24 2014 +0100
Fix return value check of gnutls_certificate_set_x509_trust()
Since some version of gnutls, this function seems to return the number of
read certificates instead of 0, in case of success.
infinoted/infinoted-startup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 687fb2556da44926a7a4051131f53861faea278f
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Feb 14 19:00:40 2014 +0100
Add missing include file to inf-file-util.c
libinfinity/common/inf-file-util.c | 1 +
1 file changed, 1 insertion(+)
commit 8e5854b462001e3ca2501b3402df466bee942ba9
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Feb 14 15:52:10 2014 +0100
Fix iter_get_length implementation in InfTextGtkBuffer
The problem was that the begin and end iterators were swapped.
libinftextgtk/inf-text-gtk-buffer.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 5356b8395e1333b628017c2f102f97e2332dfccc
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Feb 14 15:51:51 2014 +0100
Fix an off-by-one assertion in InfTextFixlineBuffer
libinftext/inf-text-fixline-buffer.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 9addbcbda6660c72377513535699a764decb5f24
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Feb 8 23:21:14 2014 +0100
Add InfTextFixlineBuffer
This class allows to keep a fixed number of empty trailing lines on the
client side, without making any change to the actual document that
is kept
synchronized in the session.
.../reference/libinftext/libinftext-0.6-docs.sgml | 1 +
.../libinftext/libinftext-0.6-sections.txt | 16 +
libinftext/Makefile.am | 2 +
libinftext/inf-text-fixline-buffer.c | 1831 +++++++++++++++++++
libinftext/inf-text-fixline-buffer.h | 72 +
test/Makefile.am | 12 +-
test/inf-test-text-fixline.c | 310 ++++
7 files changed, 2243 insertions(+), 1 deletion(-)
commit 6902b68b49a94681d380d56abd18993e09ae131e
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Feb 6 18:18:26 2014 +0100
Fix two minor documentation issues
libinftext/inf-text-buffer.c | 2 +-
libinftext/inf-text-filesystem-format.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 4f03719e33e988d86e4c7482e4ca14f21532940b
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Feb 6 15:32:49 2014 +0100
Add inf_text_buffer_iter_get_offset()
.../libinftext/libinftext-0.6-sections.txt | 2 ++
libinftext/inf-text-buffer.c | 26 +++++++++++++++++++++
libinftext/inf-text-buffer.h | 9 +++++++
libinftext/inf-text-chunk.c | 20 ++++++++++++++++
libinftext/inf-text-chunk.h | 3 +++
libinftext/inf-text-default-buffer.c | 8 +++++++
libinftextgtk/inf-text-gtk-buffer.c | 8 +++++++
7 files changed, 76 insertions(+)
commit 21bbc30c617425fe4c2f488c760af2529bf02f15
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jan 29 16:11:09 2014 +0100
Add inf_cert_util_write_certificate_with_key()
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/common/inf-cert-util.c | 252 ++++++++++++++------
libinfinity/common/inf-cert-util.h | 7 +
3 files changed, 184 insertions(+), 76 deletions(-)
commit 69da25cd114438a478ce6d9c66fe84a014a3c957
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 27 23:15:21 2014 +0100
Convert the infinoted traffic logger into a plugin
infinoted/Makefile.am | 6 +-
infinoted/infinoted-config-reload.c | 35 --
infinoted/infinoted-options.c | 15 -
infinoted/infinoted-options.h | 2 -
infinoted/infinoted-run.c | 16 -
infinoted/infinoted-run.h | 3 -
infinoted/infinoted-traffic-logger.c | 357 --------------------
infinoted/infinoted-traffic-logger.h | 52 ---
infinoted/plugins/Makefile.am | 4 +
.../plugins/infinoted-plugin-traffic-logging.c | 351 +++++++++++++++++++
10 files changed, 357 insertions(+), 484 deletions(-)
commit 8931c8b560af87c3ed11472f1c09d5074f0303a2
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 27 11:15:30 2014 +0100
Turn the session recording functionality into a infinoted plugin
infinoted/Makefile.am | 2 -
infinoted/infinoted-record.c | 283 --------------------------
infinoted/infinoted-record.h | 50 -----
infinoted/infinoted-run.c | 5 -
infinoted/infinoted-run.h | 3 -
infinoted/plugins/Makefile.am | 12 ++
infinoted/plugins/infinoted-plugin-record.c | 236 +++++++++++++++++++++
7 files changed, 248 insertions(+), 343 deletions(-)
commit 9fcac38543d6f58829309608c3ad5dc3671479e8
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 27 10:40:16 2014 +0100
linekeeper plugin: Only join local user if other users are available
This allows to session to go idle when no remote users are connected,
so that
InfdDirectory unloads the session into the background storage.
infinoted/plugins/infinoted-plugin-linekeeper.c | 241 +++++++++++++++++++---
1 file changed, 212 insertions(+), 29 deletions(-)
commit 46d69bbad760689fa6df0f224fbdc3d2df98f7f9
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 27 10:40:01 2014 +0100
Add the add-available-user and remove-available-user signals to
InfUserTable
libinfinity/common/inf-user-table.c | 144 +++++++++++++++++++++++++++++++---
libinfinity/common/inf-user-table.h | 10 +++
2 files changed, 141 insertions(+), 13 deletions(-)
commit 6983bf41ccc35ff0b1adce211ad1ba45dbb18eff
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 27 09:35:35 2014 +0100
Keep the session subscribed to the directory if it has local users
libinfinity/server/infd-session-proxy.c | 39 +++++++++++++++++++++++++++----
1 file changed, 35 insertions(+), 4 deletions(-)
commit f5411ac85be89c6ff62f62e8877c8dfc9ead930e
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 27 09:07:29 2014 +0100
Add request parameter for the InfBrowser::unsubscribe-session signal
TODO | 5 ----
infinoted/infinoted-plugin-manager.c | 1 +
infinoted/infinoted-record.c | 1 +
libinfinity/client/infc-browser.c | 27 ++++++++++++++-------
libinfinity/common/inf-browser.c | 20 +++++++++++-----
libinfinity/common/inf-browser.h | 6 +++--
libinfinity/server/infd-directory.c | 43 +++++++++++++++++++++++++++-------
7 files changed, 72 insertions(+), 31 deletions(-)
commit 5c6096c612214685fed13afa5b772152571fa391
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 26 21:36:59 2014 +0100
Fix notification order on node removal in InfcBrowser
Make sure that "unsubscribe-session" is emitted before "node-removed"
libinfinity/client/infc-browser.c | 46 +++++++++++++++++++++++++++++++++----
1 file changed, 41 insertions(+), 5 deletions(-)
commit c7c5a5d2c86f34bc1e9557e85d47a8368aeadd0b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 26 12:43:06 2014 +0100
Fix InfChatBuffer structure when prepending a message
This caused an entry to be overwritten and an invalid entry at the
end to be
used. This typically lead to a crash on destruction of the chat buffer.
libinfinity/common/inf-chat-buffer.c | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
commit 9faedb7ccf0a00849b077febda9521a68718aa19
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 24 21:06:01 2014 +0100
Fix an uninitialized variable in InfGtkPermissionsDialog
This can happen when the root node is being displayed and the
selection is
reset, so that no entry is selected. In that case the account
variable was
uninitialized but still used.
libinfgtk/inf-gtk-permissions-dialog.c | 2 ++
1 file changed, 2 insertions(+)
commit 945f60127a1c05ef48c4f62e3996e50d2450ffaf
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 24 12:06:09 2014 +0100
Make local users unavailable in InfdSessionProxy when session is closed
TODO | 5 +++++
libinfinity/client/infc-session-proxy.c | 3 ++-
libinfinity/server/infd-session-proxy.c | 10 ++++++++++
3 files changed, 17 insertions(+), 1 deletion(-)
commit 7aae6e67a8c7e93a588c157c10a51bdac0fd8dc5
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 24 10:47:49 2014 +0100
Keep communication method alive in
inf_communication_central_method_received()
This fixes a problem when the inf_communication_object_received()
callback
would delete the method, since afterwards the method checks whether the
message needs to be forwarded to the other group members.
.../communication/inf-communication-central-method.c | 13 +++++++++++++
1 file changed, 13 insertions(+)
commit 74ffdc70417721a587a90868323868ef8063a0a0
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 23 17:29:38 2014 +0100
Fix inf_browser_add_note implementation in InfdDirectory with nonzero
session
libinfinity/server/infd-directory.c | 44 +++++++++++------------------------
1 file changed, 13 insertions(+), 31 deletions(-)
commit c2c8b645f970b1507e9b70b74eb3420dc70a8616
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jan 21 21:04:32 2014 +0100
inf_gtk_io_io_watch_free(): Do not use the watch after it is destroyed
libinfgtk/inf-gtk-io.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit b8340029bdd95a9535bc7264d5a9c09784f29251
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 20 22:18:49 2014 +0100
Make sure that sessions are running when "subscribe-session" is emitted
Before the InfdDirectory would emit the subscribe-session signal for a
synced-in session before the session status was changed to RUNNING.
This makes infinoted plugin development easier, since plugins do not
need to
wait for the session to switch to the running state before for example a
InfAdoptedAlgorithm becomes available.
libinfinity/server/infd-directory.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit f3eb7a88b54a1077d618738b2c6a3d748f68e8c6
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 20 20:36:49 2014 +0100
Fix some warnings during destruction in InfTextGtkView and
InfTextGtkViewport
libinftextgtk/inf-text-gtk-view.c | 2 +-
libinftextgtk/inf-text-gtk-viewport.c | 25 +++++++++++++++++--------
2 files changed, 18 insertions(+), 9 deletions(-)
commit 37ec211d0fe9694d9cad1e62823ce6b7b32e6a30
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 20 17:11:53 2014 +0100
Add is_local vfunc for InfRequest
This allows to check whether the request was made by a local API call or
by a remote user over the network.
.../client/infc-acl-account-list-request.c | 12 ++++++++
libinfinity/client/infc-certificate-request.c | 14 ++++++++-
libinfinity/client/infc-chat-request.c | 12 ++++++++
libinfinity/client/infc-node-request.c | 14 ++++++++-
libinfinity/client/infc-user-request.c | 12 ++++++++
libinfinity/common/inf-request.c | 33 +++++++++++++++++----
libinfinity/common/inf-request.h | 10 ++++++-
libinfinity/server/infd-node-request.c | 12 ++++++++
libinfinity/server/infd-user-request.c | 12 ++++++++
9 files changed, 123 insertions(+), 8 deletions(-)
commit 5d22c0e3bc563c395203a02d8863a91bd8496a3b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 19 22:54:59 2014 +0100
Add request parameters to most InfBrowser signals
This is basically to provide more convenience in the API. One could
always
subscribe to the "begin-request" signal, and then connect to the
"finished"
signal of the newly started request.
The request parameter can for instance be used to check whether the
action was due
to some local request. In InfcBrowser this would basically be all
actions that
have a request set. In InfdDirectory, this would be all actions
whose request
does have the "requestor" property set to NULL.
A future commit will introduce a convenience API call for this check.
TODO | 4 +
infinoted/infinoted-plugin-manager.c | 1 +
infinoted/infinoted-record.c | 1 +
.../plugins/infinoted-plugin-directory-sync.c | 1 +
libinfgtk/inf-gtk-browser-store.c | 4 +
libinfgtk/inf-gtk-browser-view.c | 1 +
libinfgtk/inf-gtk-permissions-dialog.c | 3 +
libinfinity/client/infc-browser.c | 110 +++++++---
libinfinity/common/inf-browser.c | 92 +++++---
libinfinity/common/inf-browser.h | 30 ++-
libinfinity/inf-marshal.in | 3 +-
libinfinity/server/infd-directory.c | 226 +++++++++++---------
test/inf-test-gtk-browser.c | 1 +
13 files changed, 307 insertions(+), 170 deletions(-)
commit 55657f00ab027cf45798f77f747acb455b6f7339
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 19 18:23:01 2014 +0100
Allow to specify external user table for
inf_text_filesystem_format_read()
This allows to use buffer implementations that need a user table, such as
InfTextGtkBuffer.
infinoted/note-plugins/text/infd-note-plugin-text.c | 5 +++++
libinftext/inf-text-filesystem-format.c | 19 ++++++++-----------
libinftext/inf-text-filesystem-format.h | 1 +
3 files changed, 14 insertions(+), 11 deletions(-)
commit fb49eccb5a02c4cb5f4aa85ce31c47caf75bcba0
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 19 18:21:25 2014 +0100
Set the type of the synchronization group in the note plugins to the
base type
This way the same function can be used for InfcNotePlugin::session_new
and InfdNotePlugin::session_new.
infinoted/note-plugins/chat/infd-note-plugin-chat.c | 2 +-
infinoted/note-plugins/text/infd-note-plugin-text.c | 5 +++--
libinfinity/adopted/inf-adopted-session-replay.c | 2 +-
libinfinity/client/infc-browser.c | 2 +-
libinfinity/client/infc-note-plugin.h | 2 +-
libinfinity/server/infd-directory.c | 2 +-
libinfinity/server/infd-note-plugin.h | 2 +-
test/inf-test-gtk-browser.c | 4 ++--
test/inf-test-mass-join.c | 4 ++--
test/inf-test-reduce-replay.c | 4 ++--
test/inf-test-text-replay.c | 4 ++--
11 files changed, 17 insertions(+), 16 deletions(-)
commit 104c7233aff6061ffb596d47f9def8238feb9813
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 19 01:16:52 2014 +0100
Move filesystem storage code for text sessions to libinftext
.../reference/libinftext/libinftext-0.6-docs.sgml | 1 +
.../libinftext/libinftext-0.6-sections.txt | 7 +
.../note-plugins/text/infd-note-plugin-text.c | 458 +-------------
libinftext/Makefile.am | 2 +
libinftext/inf-text-filesystem-format.c | 623 ++++++++++++++++++++
libinftext/inf-text-filesystem-format.h | 66 +++
6 files changed, 716 insertions(+), 441 deletions(-)
commit 505d78c5e7bb197fffdea9052f9cd9329801e468
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 18 12:42:54 2014 +0100
Add full_path output parameter to infd_filesystem_storage_open()
infinoted/note-plugins/chat/infd-note-plugin-chat.c | 2 ++
infinoted/note-plugins/text/infd-note-plugin-text.c | 2 ++
libinfinity/server/infd-filesystem-storage.c | 18 ++++++++++++++----
libinfinity/server/infd-filesystem-storage.h | 1 +
4 files changed, 19 insertions(+), 4 deletions(-)
commit e9d692ea2708dfc51ee3f29fd7980d49c56c1986
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 17 21:15:56 2014 +0100
Fix small issues when using InfdDirectory in a InfGtkBrowserStore
libinfgtk/inf-gtk-browser-model.c | 2 +-
libinfgtk/inf-gtk-browser-store.c | 2 +-
libinfgtk/inf-gtk-browser-view.c | 26 +++++++++++++++++++-------
3 files changed, 21 insertions(+), 9 deletions(-)
commit aa3f1a6dc368fa260b64aeda2f64743773afed45
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 17 23:37:15 2014 +0100
Set node explored flag before announcing nodes in InfdDirectory
This allows to iterate through the node already in the handler of the
node-added signal.
libinfinity/server/infd-directory.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 57d29a48259e96e121f38659036f55573dc982ad
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 17 23:15:17 2014 +0100
Emit row-has-child-toggled for the root node if it has children
libinfgtk/inf-gtk-browser-store.c | 14 ++++++++++++++
1 file changed, 14 insertions(+)
commit db2e520d0138c400c41b7edbe517ae9897a25b88
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 17 22:36:27 2014 +0100
Allow the account parameter in inf_browser_check_acl to be NULL.
libinfinity/common/inf-browser.c | 15 +++++++++++++--
1 file changed, 13 insertions(+), 2 deletions(-)
commit 21a6106cddc8340962ce94c377232072396114eb
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 17 22:22:02 2014 +0100
Handle name collisions in inf_discovery_avahi_entry_group_add_service
This can happen when two services with the same name are being published
on the same host. In this case we catch the error and use an alternative
name.
libinfinity/common/inf-discovery-avahi.c | 47 +++++++++++++++++++++---------
1 file changed, 33 insertions(+), 14 deletions(-)
commit 3ba66e643d470c7973f729fc78a71c3b29403bf0
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 17 20:03:53 2014 +0100
Fix an uninitialized variable in
infd_directory_browser_list_pending_requests
libinfinity/server/infd-directory.c | 1 +
1 file changed, 1 insertion(+)
commit de433fe31e320ca546279acc10110b0bfecb2b6f
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 16 19:37:09 2014 +0100
Make sure that browser is set when emitting "browser-set" signal
This affects InfGtkBrowserModelFilter and InfGtkBrowserModelSort. We now
connect to the browser-set signal of the child model after its default
handler
is run, so that when we emit our own browser-set signal the browser is
actually accessible via the GtkTreeModel API.
The InfGtkBrowserView implementation is now also changed such that it
is no
longer required that before the default handler run the old browser
is still
available in the model. Before, it assumed that after the default
handler ran
the new browser would be available, which was not true for
InfGtkBrowserModelFilter and InfGtkBrowserModelSort.
The semantic now is that, when connecting after the default handler
of the
set-browser signal, the browser is set in the model. When connecting
before
the default handler, the old or the new browser might be set in
the model.
In order to make sure that both the old and the new browser are available
at all times both browsers are now parameters of the signal.
libinfgtk/inf-gtk-browser-model-filter.c | 8 ++--
libinfgtk/inf-gtk-browser-model-sort.c | 8 ++--
libinfgtk/inf-gtk-browser-model.c | 36 +++++++++------
libinfgtk/inf-gtk-browser-model.h | 6 ++-
libinfgtk/inf-gtk-browser-store.c | 13 +++---
libinfgtk/inf-gtk-browser-view.c | 72 +++++++++---------------------
libinfinity/inf-marshal.in | 2 +-
7 files changed, 68 insertions(+), 77 deletions(-)
commit dd3919c8b54e1ab44aca3a1a53bc7dc244c97ccf
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 16 19:09:11 2014 +0100
Add the inf_gtk_browser_store_add_browser() function
.../libinfgtk/libinfgtk-0.6-sections.txt | 1 +
libinfgtk/inf-gtk-browser-store.c | 120 +++++++++++++++-----
libinfgtk/inf-gtk-browser-store.h | 5 +
3 files changed, 99 insertions(+), 27 deletions(-)
commit 52c7b6e0f9ee80743cdf18f02f4b37e6ab0d572e
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 16 17:41:54 2014 +0100
InfDiscoveryAvahi: Do not discover what we published ourselves
libinfinity/common/inf-discovery-avahi.c | 31 +++++++++++++++++-------------
1 file changed, 18 insertions(+), 13 deletions(-)
commit 67b7aaf13b708f90ada9d41e2b133bfa0a3e8e32
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 16 12:45:45 2014 +0100
Allow to add and remove connections in infd_directory_foreach_connection
libinfinity/server/infd-directory.c | 20 ++++++++++++--------
1 file changed, 12 insertions(+), 8 deletions(-)
commit ecc63ecec84d3a8a7bacbdece8e0f587de32603c
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 16 12:20:44 2014 +0100
Fix warnings when changing a directory's storage
The semantics are also slightly changed now, so that when a directory
had a
storage set and the storage is removed without setting a new one,
then the
directory keeps all nodes intact until another storage is set.
libinfinity/server/infd-directory.c | 57 +++++++++++++++++++++++------------
1 file changed, 38 insertions(+), 19 deletions(-)
commit fc08baf7a4d8f2bcbd108eacffadcb06dbd8ac5b
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jan 14 17:03:31 2014 +0100
Add inf_cert_util_check_certificate_signature() function
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/common/inf-cert-util.c | 36 +++++++++++++++++++++
libinfinity/common/inf-cert-util.h | 4 +++
3 files changed, 41 insertions(+)
commit 5b9ad636f4e63ff5e042546b9a0b4b0e3ec3c10e
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 13 14:07:11 2014 +0100
Fix a crash when accepted connection is immediately closed by remote
In this case, getpeername() would fail, with an error of
ENOTCONN. However,
the code assumed getpeername() would never fail.
This has been fixed in two ways now. First, the result of getpeername()
is
checked for errors. Second, in the case of accepting a connection, we use
the result from accept() to find the peer's address, and no longer call
getpeername(). This way, we avoid an error during getpeername()
failing, and
should receive a proper socket closure with the normal mechanism of
send() or
recv() returning 0.
This bug was trigged by nmap scanning the infinoted port. Thanks to
Rainer Rehak <rainer@laryllian.de> for spotting this!
libinfinity/common/inf-tcp-connection-private.h | 2 +
libinfinity/common/inf-tcp-connection.c | 126 ++++++++++++++--------
libinfinity/server/infd-tcp-server.c | 25 ++++-
3 files changed, 108 insertions(+), 45 deletions(-)
commit d9d279084ce54c6491590f5990a0aa8e642a37d7
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 12 22:11:55 2014 +0100
Fix return value on success in inf_file_util_delete_single_directory()
libinfinity/common/inf-file-util.c | 3 +++
1 file changed, 3 insertions(+)
commit 08e62706db5bfad35f26b09458c78f68e325f030
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 12 16:34:11 2014 +0100
Move infinoted-directory-sync into a plugin
In addition, the plugin now also handles documents or directories
removed on
the server. Such files are now also removed from the sync-directory
(#608).
infinoted/Makefile.am | 3 -
infinoted/infinoted-config-reload.c | 31 -
infinoted/infinoted-directory-sync.c | 571 -----------------
infinoted/infinoted-directory-sync.h | 63 --
infinoted/infinoted-options.c | 90 ---
infinoted/infinoted-options.h | 6 -
infinoted/infinoted-run.c | 19 -
infinoted/infinoted-run.h | 2 -
infinoted/plugins/Makefile.am | 14 +-
.../plugins/infinoted-plugin-directory-sync.c | 651 ++++++++++++++++++++
10 files changed, 664 insertions(+), 786 deletions(-)
commit dacaafd736f4e6c5f4630cbd462cc99a6b1b239e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 11 21:18:20 2014 +0100
Add file utility functions in inf-file-util
These provide a platform abstraction for common file and directory
operations,
with convenient GError-based error reporting.
.../libinfinity/libinfinity-0.6-docs.sgml | 3 +-
.../libinfinity/libinfinity-0.6-sections.txt | 14 +
infinoted/infinoted-util.c | 24 +-
libinfinity/common/Makefile.am | 2 +
libinfinity/common/inf-file-util.c | 511 ++++++++++++++++++++
libinfinity/common/inf-file-util.h | 99 ++++
libinfinity/server/infd-filesystem-storage.c | 363 +++-----------
7 files changed, 705 insertions(+), 311 deletions(-)
commit 440356d89938ae028b221e8b1fdeeb49206df2ee
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 12 15:08:19 2014 +0100
Remove an entry from the TODO list
This has been implemented by now.
TODO | 3 ---
1 file changed, 3 deletions(-)
commit bd3be83625164fdd84f82d57a4384193d9a9fb21
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 11 21:18:32 2014 +0100
Fix missing return value in infinoted plugin initialize functions
infinoted/plugins/infinoted-plugin-autosave.c | 4 +++-
infinoted/plugins/infinoted-plugin-linekeeper.c | 2 ++
infinoted/plugins/infinoted-plugin-logging.c | 2 ++
infinoted/plugins/infinoted-plugin-transformation-protection.c | 2 ++
4 files changed, 9 insertions(+), 1 deletion(-)
commit 1982804c22d53a58f19d64be5768ae7b9bf4456f
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 9 15:47:49 2014 +0100
Fix a crash when receiving cursor updates in quick succession
In this case InfTextGtkView would install an idle handler for actual
determination of the new cursor and selection areas without checking
whether there was already an idle handler installed, leading to a
possible crash on the second occasion when the user has been set
inactive meanwhile, for example by the server unsubscribing the client.
This can be artifically provoked by Ctrl+Zing infinoted with enabled
transformation-protection plugin, making a couple of edits or cursor
movements in a 2nd gobby, then making another edit in the first gobby,
and then reviving the infinoted, so that it sends all updates immediately
to the first gobby and unsubscribing it directly afterwirds because its
own request exceeds the vdiff threshold of the transformation-protection
plugin.
libinftextgtk/inf-text-gtk-view.c | 19 ++++++++++++-------
1 file changed, 12 insertions(+), 7 deletions(-)
commit 027d4227963f014f8be841c1e9b5ff1f588649c2
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jan 9 15:05:08 2014 +0100
Turn the infinoted transformation protector into a plugin
infinoted/Makefile.am | 6 +-
infinoted/infinoted-config-reload.c | 26 --
infinoted/infinoted-options.c | 15 -
infinoted/infinoted-options.h | 1 -
infinoted/infinoted-run.c | 16 -
infinoted/infinoted-run.h | 2 -
infinoted/infinoted-transformation-protector.c | 334 --------------------
infinoted/infinoted-transformation-protector.h | 56 ----
infinoted/plugins/Makefile.am | 14 +-
.../infinoted-plugin-transformation-protection.c | 251 +++++++++++++++
10 files changed, 266 insertions(+), 455 deletions(-)
commit 69ce937baff1860de371fd1bac099c595f097eab
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jan 7 22:00:25 2014 +0100
Handle errors in input requests gracefully
This handles the case when we receive an undo or redo request on
the network
without any request to be undone or redone, or if we receive a
request which
after transformation cannot be applied to the buffer, for example
writing past
the end of the document.
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
.../libinftext/libinftext-0.6-sections.txt | 1 +
libinfinity/adopted/inf-adopted-algorithm.c | 236 +++++++++++++++++---
libinfinity/adopted/inf-adopted-algorithm.h | 23 +-
libinfinity/adopted/inf-adopted-no-operation.c | 6 +-
libinfinity/adopted/inf-adopted-operation.c | 49 ++--
libinfinity/adopted/inf-adopted-operation.h | 18 +-
libinfinity/adopted/inf-adopted-session.c | 152 +++++++++----
libinfinity/adopted/inf-adopted-split-operation.c | 60 +++--
libinftext/inf-text-default-delete-operation.c | 36 ++-
libinftext/inf-text-default-insert-operation.c | 35 ++-
libinftext/inf-text-move-operation.c | 39 +++-
libinftext/inf-text-operations.h | 21 ++
libinftext/inf-text-remote-delete-operation.c | 54 +++--
libinftext/inf-text-session.c | 11 +-
test/inf-test-text-operations.c | 135 ++++++++---
test/inf-test-text-replay.c | 4 +-
17 files changed, 678 insertions(+), 203 deletions(-)
commit 20ceb27ad613c7cc3d4611a8b244bd76f20b4cd2
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jan 7 22:23:39 2014 +0100
Add some notes into the TODO file and InfTextChunk
TODO | 1 +
libinftext/inf-text-chunk.c | 9 ++++++---
2 files changed, 7 insertions(+), 3 deletions(-)
commit 6c282aa94e40f6606ba64454163c12c8d9a8d895
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 6 22:55:20 2014 +0100
Change InfAdoptedAlgorithm API such that execute_request is public
This commit also gets rid of the obsolete "backward translation"
option in
InfAdoptedAlgorithm.
.../libinfinity/libinfinity-0.6-sections.txt | 6 +-
libinfinity/adopted/inf-adopted-algorithm.c | 970 +++++---------------
libinfinity/adopted/inf-adopted-algorithm.h | 19 +-
libinfinity/adopted/inf-adopted-session.c | 194 +++-
libinftext/inf-text-session.c | 15 +-
5 files changed, 423 insertions(+), 781 deletions(-)
commit d4f209dff4208ea990acbd683772939825cb59fe
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jan 7 10:30:14 2014 +0100
Fix a missing '\' in infinoted/Makefile.am
infinoted/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 11f43d660095f58255ee999f9849bb4452fc9d80
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 5 15:02:30 2014 +0100
Replace execute-request by begin-execute-request and end-execute-request
This allows to run the request execution not in the default signal
handler
of the execute-request signal, which we need for error reporting
from request
exeuction. However, we still need a possibility to hook into request
execution both before and after the request was transformed. Therefore
the two
new signals have been introduced. This also allows to provide a different
set of parameters for the two; in end-execute-request we now provide the
result of the request execution, and also the reversible original
request.
There is also an error parameter already which will be used later
when error
reporting is implemented.
infinoted/plugins/infinoted-plugin-logging.c | 95 ++--
libinfinity/adopted/inf-adopted-algorithm.c | 508 +++++++++++----------
libinfinity/adopted/inf-adopted-algorithm.h | 18 +-
libinfinity/adopted/inf-adopted-session-record.c | 29 +-
libinfinity/adopted/inf-adopted-session.c | 69 +--
libinfinity/adopted/inf-adopted-undo-grouping.c | 26 +-
libinfinity/inf-marshal.in | 1 +
test/inf-test-text-replay.c | 78 ++--
8 files changed, 446 insertions(+), 378 deletions(-)
commit bf7733152505e8b64ec3779b1508f1fada328c5c
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 5 13:34:32 2014 +0100
Remove the InfAdoptedAlgorithm::apply-request signal
This is a first step for proper error reporting from the algorithm. The
resulting operation might not be applicable to the buffer if the
input was
invalid, and in order to report this the function should eventually
be able
to report the error. However, this is problematic if it only runs as a
signal handler.
Therefore, the signal has been removed. The signal was used in three
places.
In InfTextSession it was used to detect whether a buffer change was
caused by
an executed request or externally. This use has been replaced by the new
inf_adopted_algorithm_get_execute_request() function.
inf_adopted_algorithm_execute_request() is not re-entrant anyway,
so that the
introduction of this function does not cause a loss of generality.
The other two cases are in the libinfinity test suite where they
can easily
be replaced by connecting to text-inserted and text-erased of the
underlying
buffer instead.
libinfinity/adopted/inf-adopted-algorithm.c | 224 ++++++++++++--------------
libinfinity/adopted/inf-adopted-algorithm.h | 3 +
libinftext/inf-text-session.c | 112 +++----------
test/inf-test-text-recover.c | 67 ++++----
test/inf-test-text-replay.c | 172 ++++++--------------
5 files changed, 212 insertions(+), 366 deletions(-)
commit c0e42798c7cae2802ec17de5b461adf78a2aecf6
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 6 21:15:35 2014 +0100
Make the infinoted plugin building work on Windows
Unfortunately LIBADD does not seem to cause proper linking for all
targets.
Therefore, duplicate some code with the correct linking flags for
each target
until we find a better solution.
infinoted/plugins/Makefile.am | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
commit e6a8723811525a43b2d12b85df06ce6b57fdf5b1
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 6 21:15:06 2014 +0100
Add infinoted-util to libinfinoted-plugin-manager
infinoted/Makefile.am | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
commit 91e86f0e57e3c9c955bbd52979ad0b1c471197a4
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jan 6 21:14:37 2014 +0100
Fix the build without libdaemon
infinoted/infinoted-options.c | 4 ++++
1 file changed, 4 insertions(+)
commit fbb0bb5f96d211cf38d6149589bab4f8d92c34fa
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 5 12:50:33 2014 +0100
Make infinoted-transformation-protector use the check-request signal
This avoids using the g_signal_stop_emission_by_name(), which is a rather
rough method, and interferes with other users of the signal which rely on
both the before and after handlers to run, such as
InfinotedPluginLogging.
infinoted/infinoted-transformation-protector.c | 43 ++++++++++--------------
1 file changed, 18 insertions(+), 25 deletions(-)
commit bc2fd7ec1de1862ae178b5094881e94d6e6d40d9
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 5 12:41:17 2014 +0100
Add the InfAdoptedSession::check-request signal
libinfinity/adopted/inf-adopted-session.c | 92 ++++++++++++++++++++++++++++-
libinfinity/adopted/inf-adopted-session.h | 10 +++-
2 files changed, 98 insertions(+), 4 deletions(-)
commit 7fe494a28fbb34d3a8424face7c5cc216a4b5507
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 5 12:18:35 2014 +0100
Document the by_request parameter of inf_text_user_set_selection()
libinftext/inf-text-user.c | 10 +++++++++-
1 file changed, 9 insertions(+), 1 deletion(-)
commit 8c283cb64598ef7164b0b613a8379b1f7c0e6e6f
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 4 17:43:19 2014 +0100
Add 2014 to copyright years
AUTHORS | 2 +-
infinoted/infinoted-config-reload.c | 2 +-
infinoted/infinoted-config-reload.h | 2 +-
infinoted/infinoted-dh-params.c | 2 +-
infinoted/infinoted-dh-params.h | 2 +-
infinoted/infinoted-directory-sync.c | 2 +-
infinoted/infinoted-directory-sync.h | 2 +-
infinoted/infinoted-log.c | 2 +-
infinoted/infinoted-log.h | 2 +-
infinoted/infinoted-main.c | 2 +-
infinoted/infinoted-note-plugin.c | 2 +-
infinoted/infinoted-note-plugin.h | 2 +-
infinoted/infinoted-options.c | 2 +-
infinoted/infinoted-options.h | 2 +-
infinoted/infinoted-pam.c | 2 +-
infinoted/infinoted-pam.h | 2 +-
infinoted/infinoted-parameter.c | 2 +-
infinoted/infinoted-parameter.h | 2 +-
infinoted/infinoted-plugin-manager.c | 2 +-
infinoted/infinoted-plugin-manager.h | 2 +-
infinoted/infinoted-record.c | 2 +-
infinoted/infinoted-record.h | 2 +-
infinoted/infinoted-run.c | 2 +-
infinoted/infinoted-run.h | 2 +-
infinoted/infinoted-signal.c | 2 +-
infinoted/infinoted-signal.h | 2 +-
infinoted/infinoted-startup.c | 2 +-
infinoted/infinoted-startup.h | 2 +-
infinoted/infinoted-traffic-logger.c | 2 +-
infinoted/infinoted-traffic-logger.h | 2 +-
infinoted/infinoted-transformation-protector.c | 2 +-
infinoted/infinoted-transformation-protector.h | 2 +-
infinoted/infinoted-util.c | 2 +-
infinoted/infinoted-util.h | 2 +-
infinoted/note-plugins/chat/infd-note-plugin-chat.c | 2 +-
infinoted/note-plugins/text/infd-note-plugin-text.c | 2 +-
infinoted/plugins/infinoted-plugin-autosave.c | 2 +-
infinoted/plugins/infinoted-plugin-linekeeper.c | 2 +-
infinoted/plugins/infinoted-plugin-logging.c | 2 +-
libinfgtk/inf-gtk-acl-sheet-view.c | 2 +-
libinfgtk/inf-gtk-acl-sheet-view.h | 2 +-
libinfgtk/inf-gtk-browser-model-filter.c | 2 +-
libinfgtk/inf-gtk-browser-model-filter.h | 2 +-
libinfgtk/inf-gtk-browser-model-sort.c | 2 +-
libinfgtk/inf-gtk-browser-model-sort.h | 2 +-
libinfgtk/inf-gtk-browser-model.c | 2 +-
libinfgtk/inf-gtk-browser-model.h | 2 +-
libinfgtk/inf-gtk-browser-store.c | 2 +-
libinfgtk/inf-gtk-browser-store.h | 2 +-
libinfgtk/inf-gtk-browser-view.c | 2 +-
libinfgtk/inf-gtk-browser-view.h | 2 +-
libinfgtk/inf-gtk-certificate-dialog.c | 2 +-
libinfgtk/inf-gtk-certificate-dialog.h | 2 +-
libinfgtk/inf-gtk-certificate-manager.c | 2 +-
libinfgtk/inf-gtk-certificate-manager.h | 2 +-
libinfgtk/inf-gtk-certificate-view.c | 2 +-
libinfgtk/inf-gtk-certificate-view.h | 2 +-
libinfgtk/inf-gtk-chat.c | 2 +-
libinfgtk/inf-gtk-chat.h | 2 +-
libinfgtk/inf-gtk-io.c | 2 +-
libinfgtk/inf-gtk-io.h | 2 +-
libinfgtk/inf-gtk-permissions-dialog.c | 2 +-
libinfgtk/inf-gtk-permissions-dialog.h | 2 +-
libinfinity/adopted/inf-adopted-algorithm.c | 2 +-
libinfinity/adopted/inf-adopted-algorithm.h | 2 +-
libinfinity/adopted/inf-adopted-no-operation.c | 2 +-
libinfinity/adopted/inf-adopted-no-operation.h | 2 +-
libinfinity/adopted/inf-adopted-operation.c | 2 +-
libinfinity/adopted/inf-adopted-operation.h | 2 +-
libinfinity/adopted/inf-adopted-request-log.c | 2 +-
libinfinity/adopted/inf-adopted-request-log.h | 2 +-
libinfinity/adopted/inf-adopted-request.c | 2 +-
libinfinity/adopted/inf-adopted-request.h | 2 +-
libinfinity/adopted/inf-adopted-session-record.c | 2 +-
libinfinity/adopted/inf-adopted-session-record.h | 2 +-
libinfinity/adopted/inf-adopted-session-replay.c | 2 +-
libinfinity/adopted/inf-adopted-session-replay.h | 2 +-
libinfinity/adopted/inf-adopted-session.c | 2 +-
libinfinity/adopted/inf-adopted-session.h | 2 +-
libinfinity/adopted/inf-adopted-split-operation.c | 2 +-
libinfinity/adopted/inf-adopted-split-operation.h | 2 +-
libinfinity/adopted/inf-adopted-state-vector.c | 2 +-
libinfinity/adopted/inf-adopted-state-vector.h | 2 +-
libinfinity/adopted/inf-adopted-undo-grouping.c | 2 +-
libinfinity/adopted/inf-adopted-undo-grouping.h | 2 +-
libinfinity/adopted/inf-adopted-user.c | 2 +-
libinfinity/adopted/inf-adopted-user.h | 2 +-
libinfinity/client/infc-acl-account-list-request.c | 2 +-
libinfinity/client/infc-acl-account-list-request.h | 2 +-
libinfinity/client/infc-browser.c | 2 +-
libinfinity/client/infc-browser.h | 2 +-
libinfinity/client/infc-certificate-request.c | 2 +-
libinfinity/client/infc-certificate-request.h | 2 +-
libinfinity/client/infc-chat-request.c | 2 +-
libinfinity/client/infc-chat-request.h | 2 +-
libinfinity/client/infc-explore-request.c | 2 +-
libinfinity/client/infc-explore-request.h | 2 +-
libinfinity/client/infc-node-request.c | 2 +-
libinfinity/client/infc-node-request.h | 2 +-
libinfinity/client/infc-note-plugin.h | 2 +-
libinfinity/client/infc-request-manager.c | 2 +-
libinfinity/client/infc-request-manager.h | 2 +-
libinfinity/client/infc-request.c | 2 +-
libinfinity/client/infc-request.h | 2 +-
libinfinity/client/infc-session-proxy.c | 2 +-
libinfinity/client/infc-session-proxy.h | 2 +-
libinfinity/client/infc-user-request.c | 2 +-
libinfinity/client/infc-user-request.h | 2 +-
libinfinity/common/inf-acl-account-list-request.c | 2 +-
libinfinity/common/inf-acl-account-list-request.h | 2 +-
libinfinity/common/inf-acl.c | 2 +-
libinfinity/common/inf-acl.h | 2 +-
libinfinity/common/inf-browser-iter.c | 2 +-
libinfinity/common/inf-browser-iter.h | 2 +-
libinfinity/common/inf-browser.c | 2 +-
libinfinity/common/inf-browser.h | 2 +-
libinfinity/common/inf-buffer.c | 2 +-
libinfinity/common/inf-buffer.h | 2 +-
libinfinity/common/inf-cert-util.c | 2 +-
libinfinity/common/inf-cert-util.h | 2 +-
libinfinity/common/inf-certificate-chain.c | 2 +-
libinfinity/common/inf-certificate-chain.h | 2 +-
libinfinity/common/inf-certificate-credentials.c | 2 +-
libinfinity/common/inf-certificate-credentials.h | 2 +-
libinfinity/common/inf-chat-buffer.c | 2 +-
libinfinity/common/inf-chat-buffer.h | 2 +-
libinfinity/common/inf-chat-session.c | 2 +-
libinfinity/common/inf-chat-session.h | 2 +-
libinfinity/common/inf-discovery-avahi.c | 2 +-
libinfinity/common/inf-discovery-avahi.h | 2 +-
libinfinity/common/inf-discovery.c | 2 +-
libinfinity/common/inf-discovery.h | 2 +-
libinfinity/common/inf-error.c | 2 +-
libinfinity/common/inf-error.h | 2 +-
libinfinity/common/inf-explore-request.c | 2 +-
libinfinity/common/inf-explore-request.h | 2 +-
libinfinity/common/inf-init.c | 2 +-
libinfinity/common/inf-init.h | 2 +-
libinfinity/common/inf-io.c | 2 +-
libinfinity/common/inf-io.h | 2 +-
libinfinity/common/inf-ip-address.c | 2 +-
libinfinity/common/inf-ip-address.h | 2 +-
libinfinity/common/inf-local-publisher.c | 2 +-
libinfinity/common/inf-local-publisher.h | 2 +-
libinfinity/common/inf-node-request.c | 2 +-
libinfinity/common/inf-node-request.h | 2 +-
libinfinity/common/inf-protocol.c | 2 +-
libinfinity/common/inf-protocol.h | 2 +-
libinfinity/common/inf-request.c | 2 +-
libinfinity/common/inf-request.h | 2 +-
libinfinity/common/inf-sasl-context.c | 2 +-
libinfinity/common/inf-sasl-context.h | 2 +-
libinfinity/common/inf-session-proxy.c | 2 +-
libinfinity/common/inf-session-proxy.h | 2 +-
libinfinity/common/inf-session.c | 2 +-
libinfinity/common/inf-session.h | 2 +-
libinfinity/common/inf-simulated-connection.c | 2 +-
libinfinity/common/inf-simulated-connection.h | 2 +-
libinfinity/common/inf-standalone-io.c | 2 +-
libinfinity/common/inf-standalone-io.h | 2 +-
libinfinity/common/inf-tcp-connection-private.h | 2 +-
libinfinity/common/inf-tcp-connection.c | 2 +-
libinfinity/common/inf-tcp-connection.h | 2 +-
libinfinity/common/inf-user-request.c | 2 +-
libinfinity/common/inf-user-request.h | 2 +-
libinfinity/common/inf-user-table.c | 2 +-
libinfinity/common/inf-user-table.h | 2 +-
libinfinity/common/inf-user.c | 2 +-
libinfinity/common/inf-user.h | 2 +-
libinfinity/common/inf-xml-connection.c | 2 +-
libinfinity/common/inf-xml-connection.h | 2 +-
libinfinity/common/inf-xml-util.c | 2 +-
libinfinity/common/inf-xml-util.h | 2 +-
libinfinity/common/inf-xmpp-connection.c | 2 +-
libinfinity/common/inf-xmpp-connection.h | 2 +-
libinfinity/common/inf-xmpp-manager.c | 2 +-
libinfinity/common/inf-xmpp-manager.h | 2 +-
libinfinity/communication/inf-communication-central-factory.c | 2 +-
libinfinity/communication/inf-communication-central-factory.h | 2 +-
libinfinity/communication/inf-communication-central-method.c | 2 +-
libinfinity/communication/inf-communication-central-method.h | 2 +-
libinfinity/communication/inf-communication-factory.c | 2 +-
libinfinity/communication/inf-communication-factory.h | 2 +-
libinfinity/communication/inf-communication-group-private.h | 2 +-
libinfinity/communication/inf-communication-group.c | 2 +-
libinfinity/communication/inf-communication-group.h | 2 +-
libinfinity/communication/inf-communication-hosted-group.c | 2 +-
libinfinity/communication/inf-communication-hosted-group.h | 2 +-
libinfinity/communication/inf-communication-joined-group.c | 2 +-
libinfinity/communication/inf-communication-joined-group.h | 2 +-
libinfinity/communication/inf-communication-manager.c | 2 +-
libinfinity/communication/inf-communication-manager.h | 2 +-
libinfinity/communication/inf-communication-method.c | 2 +-
libinfinity/communication/inf-communication-method.h | 2 +-
libinfinity/communication/inf-communication-object.c | 2 +-
libinfinity/communication/inf-communication-object.h | 2 +-
libinfinity/communication/inf-communication-registry.c | 2 +-
libinfinity/communication/inf-communication-registry.h | 2 +-
libinfinity/inf-dll.c | 2 +-
libinfinity/inf-dll.h | 2 +-
libinfinity/inf-i18n.c | 2 +-
libinfinity/inf-i18n.h | 2 +-
libinfinity/inf-signals.c | 2 +-
libinfinity/inf-signals.h | 2 +-
libinfinity/server/infd-acl-account-info.c | 2 +-
libinfinity/server/infd-acl-account-info.h | 2 +-
libinfinity/server/infd-directory.c | 2 +-
libinfinity/server/infd-directory.h | 2 +-
libinfinity/server/infd-explore-request.c | 2 +-
libinfinity/server/infd-explore-request.h | 2 +-
libinfinity/server/infd-filesystem-storage.c | 2 +-
libinfinity/server/infd-filesystem-storage.h | 2 +-
libinfinity/server/infd-node-request.c | 2 +-
libinfinity/server/infd-node-request.h | 2 +-
libinfinity/server/infd-note-plugin.h | 2 +-
libinfinity/server/infd-server-pool.c | 2 +-
libinfinity/server/infd-server-pool.h | 2 +-
libinfinity/server/infd-session-proxy.c | 2 +-
libinfinity/server/infd-session-proxy.h | 2 +-
libinfinity/server/infd-storage.c | 2 +-
libinfinity/server/infd-storage.h | 2 +-
libinfinity/server/infd-tcp-server.c | 2 +-
libinfinity/server/infd-tcp-server.h | 2 +-
libinfinity/server/infd-user-request.c | 2 +-
libinfinity/server/infd-user-request.h | 2 +-
libinfinity/server/infd-xml-server.c | 2 +-
libinfinity/server/infd-xml-server.h | 2 +-
libinfinity/server/infd-xmpp-server.c | 2 +-
libinfinity/server/infd-xmpp-server.h | 2 +-
libinftext/inf-text-buffer.c | 2 +-
libinftext/inf-text-buffer.h | 2 +-
libinftext/inf-text-chunk.c | 2 +-
libinftext/inf-text-chunk.h | 2 +-
libinftext/inf-text-default-buffer.c | 2 +-
libinftext/inf-text-default-buffer.h | 2 +-
libinftext/inf-text-default-delete-operation.c | 2 +-
libinftext/inf-text-default-delete-operation.h | 2 +-
libinftext/inf-text-default-insert-operation.c | 2 +-
libinftext/inf-text-default-insert-operation.h | 2 +-
libinftext/inf-text-delete-operation.c | 2 +-
libinftext/inf-text-delete-operation.h | 2 +-
libinftext/inf-text-insert-operation.c | 2 +-
libinftext/inf-text-insert-operation.h | 2 +-
libinftext/inf-text-move-operation.c | 2 +-
libinftext/inf-text-move-operation.h | 2 +-
libinftext/inf-text-operations.h | 2 +-
libinftext/inf-text-remote-delete-operation.c | 2 +-
libinftext/inf-text-remote-delete-operation.h | 2 +-
libinftext/inf-text-session.c | 2 +-
libinftext/inf-text-session.h | 2 +-
libinftext/inf-text-undo-grouping.c | 2 +-
libinftext/inf-text-undo-grouping.h | 2 +-
libinftext/inf-text-user.c | 2 +-
libinftext/inf-text-user.h | 2 +-
libinftextgtk/inf-text-gtk-buffer.c | 2 +-
libinftextgtk/inf-text-gtk-buffer.h | 2 +-
libinftextgtk/inf-text-gtk-hue-chooser.c | 2 +-
libinftextgtk/inf-text-gtk-hue-chooser.h | 2 +-
libinftextgtk/inf-text-gtk-view.c | 2 +-
libinftextgtk/inf-text-gtk-view.h | 2 +-
libinftextgtk/inf-text-gtk-viewport.c | 2 +-
libinftextgtk/inf-text-gtk-viewport.h | 2 +-
test/inf-test-browser.c | 2 +-
test/inf-test-certificate-request.c | 2 +-
test/inf-test-chat.c | 2 +-
test/inf-test-chunk.c | 2 +-
test/inf-test-daemon.c | 2 +-
test/inf-test-gtk-browser.c | 2 +-
test/inf-test-mass-join.c | 2 +-
test/inf-test-reduce-replay.c | 2 +-
test/inf-test-set-acl.c | 2 +-
test/inf-test-state-vector.c | 2 +-
test/inf-test-tcp-connection.c | 2 +-
test/inf-test-tcp-server.c | 2 +-
test/inf-test-text-cleanup.c | 2 +-
test/inf-test-text-operations.c | 2 +-
test/inf-test-text-recover.c | 2 +-
test/inf-test-text-replay.c | 2 +-
test/inf-test-text-session.c | 2 +-
test/inf-test-xmpp-connection.c | 2 +-
test/inf-test-xmpp-server.c | 2 +-
test/util/inf-test-util.c | 2 +-
test/util/inf-test-util.h | 2 +-
283 files changed, 283 insertions(+), 283 deletions(-)
commit 85ff3057f03a3106095ef5bc7fa7a0c328e68294
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 4 17:38:34 2014 +0100
Simplify plugin initialize function
Only pass the plugin manager itself to the initialize function, and add
functions in the plugin manager to retrieve the InfinotedLog and the
InfdDirectory. This way plugins only need to store one pointer to access
all functionality.
infinoted/infinoted-plugin-manager.c | 37 ++++++++++++++++++-----
infinoted/infinoted-plugin-manager.h | 8 +++--
infinoted/plugins/infinoted-plugin-autosave.c | 30 ++++++++----------
infinoted/plugins/infinoted-plugin-linekeeper.c | 32 +++++++++++---------
infinoted/plugins/infinoted-plugin-logging.c | 28 ++++++-----------
5 files changed, 74 insertions(+), 61 deletions(-)
commit bf5d68e03ed84a8886b2619e4b20c6284e041195
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 4 17:12:56 2014 +0100
Add logging plugin
This adds back the functionality removed when InfinotedLog was
refactored, as
a plugin.
infinoted/infinoted-record.c | 2 +
infinoted/plugins/Makefile.am | 13 +-
infinoted/plugins/infinoted-plugin-logging.c | 645 +++++++++++++++++++++++++
3 files changed, 657 insertions(+), 3 deletions(-)
commit 7a4f805e3e1781222756dff0fb2421121f7f5af9
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 4 17:25:08 2014 +0100
Fix a typo in infinoted_plugin_manager_get_session_info()
infinoted/infinoted-plugin-manager.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit b59fda0f3da2d764c76b6e681ff4967dacb89a20
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 4 16:30:03 2014 +0100
Add boolean type for InfinotedParameterInfo
infinoted/infinoted-options.c | 53 +++++++++++++++++++++++++++++++++++++++
infinoted/infinoted-options.h | 1 +
infinoted/infinoted-parameter.c | 36 ++++++++++++++++++++++++++
infinoted/infinoted-parameter.h | 7 ++++++
4 files changed, 97 insertions(+)
commit 8a9cebbe4865f027229119135e67da744cba12c7
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jan 4 16:29:54 2014 +0100
Add generic infinoted_log_log function
infinoted/infinoted-log.c | 35 ++++++++++++++++++++++++++++++++---
infinoted/infinoted-log.h | 6 ++++++
2 files changed, 38 insertions(+), 3 deletions(-)
commit 2a87f288d0ee45b4da3fa932d85a90dcc4566b4e
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 3 23:51:54 2014 +0100
Use InfinotedLog for logging messages from plugins
infinoted/infinoted-config-reload.c | 1 +
infinoted/infinoted-plugin-manager.c | 6 ++++++
infinoted/infinoted-plugin-manager.h | 10 +++++++---
infinoted/infinoted-run.c | 1 +
infinoted/plugins/infinoted-plugin-autosave.c | 16 ++++++++++++----
infinoted/plugins/infinoted-plugin-linekeeper.c | 11 ++++++++---
6 files changed, 35 insertions(+), 10 deletions(-)
commit 7c7a99494eee88a93f841de3d0d7c2378ca89a0c
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 3 23:41:49 2014 +0100
Build InfinotedLog as part of libinfinoted-plugin-manager
So that plugins are able to use InfinotedLog
infinoted/Makefile.am | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 64fa02f0dd84ba6a727daf62c8497bb7df2379a5
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jan 3 22:27:19 2014 +0100
Turn InfinotedLog into a GObject with only basic functionality
The plan is to add the additional functionality (logging when connections
come in and on connection and session errors) as plugins.
infinoted/infinoted-config-reload.c | 4 -
infinoted/infinoted-log.c | 1009 +++++++---------------
infinoted/infinoted-log.h | 87 +-
infinoted/infinoted-run.c | 10 -
infinoted/infinoted-startup.c | 6 +-
infinoted/infinoted-transformation-protector.c | 4 +
libinfinity/common/inf-session.c | 2 +-
libinfinity/inf-marshal.in | 1 +
8 files changed, 381 insertions(+), 742 deletions(-)
commit b3b9d9c86eccd51b0722c584be0d93dfb3181912
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Dec 30 22:31:28 2013 +0100
Move infinoted autosave support into a plugin
infinoted/Makefile.am | 2 -
infinoted/infinoted-autosave.c | 475 ------------------------
infinoted/infinoted-autosave.h | 52 ---
infinoted/infinoted-config-reload.c | 22 --
infinoted/infinoted-options.c | 39 --
infinoted/infinoted-options.h | 2 -
infinoted/infinoted-run.c | 15 -
infinoted/infinoted-run.h | 2 -
infinoted/plugins/Makefile.am | 11 +-
infinoted/plugins/infinoted-plugin-autosave.c | 364 ++++++++++++++++++
10 files changed, 371 insertions(+), 613 deletions(-)
commit 7f3023a36586c155df63f2fb312d67235bf4b606
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Dec 30 22:12:25 2013 +0100
Rename "interval" convert func to "nonnegative", add "positive"
infinoted/infinoted-options.c | 6 +--
infinoted/infinoted-parameter.c | 48 +++++++++++++++++++++--
infinoted/infinoted-parameter.h | 7 +++-
infinoted/plugins/infinoted-plugin-linekeeper.c | 2 +-
4 files changed, 54 insertions(+), 9 deletions(-)
commit d80defa2fb532fd2d4fe83ad41990bb11cdeecd1
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Dec 30 21:40:50 2013 +0100
Add InfBrowserIter parameter to session callbacks in infinoted plugins
infinoted/infinoted-plugin-manager.c | 25 ++++++++++++++++++++---
infinoted/infinoted-plugin-manager.h | 6 ++++--
infinoted/plugins/infinoted-plugin-linekeeper.c | 6 ++++--
3 files changed, 30 insertions(+), 7 deletions(-)
commit 914595e2096196522c76a0c7c94124265e82c325
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Dec 28 23:30:31 2013 +0100
Add the "linekeeper" infinoted plugin
This plugin makes sure that at the end of the document there is always a
fixed number of empty lines.
configure.ac | 1 +
infinoted/Makefile.am | 2 +-
infinoted/plugins/Makefile.am | 22 ++
infinoted/plugins/infinoted-plugin-linekeeper.c | 379 ++++++++++++++++++++++
4 files changed, 403 insertions(+), 1 deletion(-)
commit 1b1ff9424bba1b58dba6a4f8ebbd8d943fb62f60
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Dec 28 21:48:28 2013 +0100
Add the possibility to get an iterator at the end of the buffer
.../libinftext/libinftext-0.6-sections.txt | 6 ++--
.../note-plugins/text/infd-note-plugin-text.c | 2 +-
libinftext/inf-text-buffer.c | 39 ++++++++++++++++++---
libinftext/inf-text-buffer.h | 9 +++--
libinftext/inf-text-chunk.c | 37 +++++++++++++++++--
libinftext/inf-text-chunk.h | 14 +++++---
libinftext/inf-text-default-buffer.c | 27 ++++++++++++--
libinftext/inf-text-session.c | 6 ++--
libinftext/inf-text-undo-grouping.c | 2 +-
libinftextgtk/inf-text-gtk-buffer.c | 35 ++++++++++++++++--
test/inf-test-text-replay.c | 4 +--
11 files changed, 151 insertions(+), 30 deletions(-)
commit c13c9d9a65e25257615b0912e3006a4894bcad35
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Dec 28 21:47:49 2013 +0100
Fix a crash when checking can-join-user ACL for local user join
libinfinity/server/infd-directory.c | 34 +++++++++++++++++++---------------
1 file changed, 19 insertions(+), 15 deletions(-)
commit c167cda81ec35cf57bfac5dea6e430bec0f04ad3
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Dec 28 16:35:21 2013 +0100
Fix a stray reference in InfSession
This would add an extra reference that is never unreferenced if the
communication manager was set after sync connection and sync group, which
practically never happens. Basically it was a bug in dead code.
libinfinity/common/inf-session.c | 20 --------------------
1 file changed, 20 deletions(-)
commit 4892fb8d20262ce5e6f0e9fe82c1ed72c8dc7875
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Dec 18 16:51:35 2013 +0100
Move infinoted-parameter.c to libinfinoted-plugin-manager
This allows plugins to use parameter parsing. Also, add a flags field
for InfinotedParameterInfo, allowing individual options to be required,
i.e.
error out on loading if the parameter is not specified.
infinoted/Makefile.am | 4 ++--
infinoted/infinoted-options.c | 24 +++++++++++++++++++-
infinoted/infinoted-parameter.c | 31 +++++++++++++++++++-------
infinoted/infinoted-parameter.h | 11 +++++++---
infinoted/infinoted-plugin-manager.c | 40 ++++++++++++++++++++++++++++++++--
infinoted/infinoted-plugin-manager.h | 15 +++++++++++--
6 files changed, 107 insertions(+), 18 deletions(-)
commit d3a56cbbb63e339de77615aa72c594630eb40784
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Dec 18 15:28:13 2013 +0100
Add generic plugin system
This allows to implement some special not-so-common functions as plugins,
mostly helping in keeping the core infinoted code clean and maintainable.
Features I have in mind for changing into a plugin are: autosave,
directory-sync, transformation-protector, session recording,
directory logging, traffic logging, and maybe also password, PAM
and/or certificate authentication.
infinoted/Makefile.am | 35 +-
infinoted/infinoted-config-reload.c | 46 +++
infinoted/infinoted-options.c | 127 +++++-
infinoted/infinoted-options.h | 9 +
infinoted/infinoted-plugin-manager.c | 696 +++++++++++++++++++++++++++++++++
infinoted/infinoted-plugin-manager.h | 115 ++++++
infinoted/infinoted-run.c | 45 ++-
infinoted/infinoted-run.h | 3 +
8 files changed, 1064 insertions(+), 12 deletions(-)
commit ee7284589a1c7701093a67a98a8b0b75753c3526
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Dec 19 12:05:54 2013 +0100
Allow request functions to finish synchronously
This adds two additional arguments to all functions, which is the
callback
function for the finished signal. The functions now work such that they
either return a request object with the given function connected to the
finished handler, or they return NULL in which case they must have called
the given function during their invocation.
This simplifies the implementation on the server side a lot, since
requests
do not need to be artificially delayed any longer.
Also, using the API is a a bit simpler since in many cases one does
not need
to use the request object anymore at all.
libinfgtk/inf-gtk-browser-view.c | 59 +-
libinfgtk/inf-gtk-permissions-dialog.c | 86 +-
libinfinity/client/infc-browser.c | 88 +-
libinfinity/client/infc-browser.h | 10 +-
libinfinity/client/infc-certificate-request.c | 2 +-
libinfinity/client/infc-certificate-request.h | 14 +
libinfinity/client/infc-chat-request.h | 12 +
libinfinity/client/infc-request-manager.c | 30 +-
libinfinity/client/infc-request-manager.h | 4 +
libinfinity/client/infc-session-proxy.c | 6 +-
libinfinity/common/inf-acl-account-list-request.h | 12 +
libinfinity/common/inf-browser.c | 115 +-
libinfinity/common/inf-browser.h | 65 +-
libinfinity/common/inf-node-request.c | 2 +-
libinfinity/common/inf-node-request.h | 18 +-
libinfinity/common/inf-session-proxy.c | 16 +-
libinfinity/common/inf-session-proxy.h | 8 +-
libinfinity/common/inf-user-request.h | 14 +
libinfinity/server/infd-directory.c | 1392 ++++++-------------
libinfinity/server/infd-session-proxy.c | 212 +--
libinftext/inf-text-session.c | 14 +-
libinftext/inf-text-session.h | 4 +-
test/inf-test-browser.c | 15 +-
test/inf-test-certificate-request.c | 15 +-
test/inf-test-chat.c | 36 +-
test/inf-test-gtk-browser.c | 85 +-
test/inf-test-mass-join.c | 48 +-
test/inf-test-set-acl.c | 31 +-
28 files changed, 1050 insertions(+), 1363 deletions(-)
commit dde5cc2ae929f148d38834cd4d48e0ac11c597e2
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Dec 17 15:56:46 2013 +0100
Update autogen.sh from current gnome-autogen.sh
autogen.sh | 97 ++++++++++++++++++++++++++++++++++++++--------------------
configure.ac | 1 +
2 files changed, 65 insertions(+), 33 deletions(-)
commit 1abf4945a9309b4ee896f604e78a47e7abd4708e
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Dec 17 15:54:27 2013 +0100
Factor out some common API from InfinotedOptions to InfinotedParameter
This is another preparation step for the plugin system. This provides
a common
API for plugins to read their configuration values from the infinoted
configuration file.
infinoted/Makefile.am | 2 +
infinoted/infinoted-options.c | 555 +++++++-------------------------------
infinoted/infinoted-options.h | 3 -
infinoted/infinoted-parameter.c | 508 ++++++++++++++++++++++++++++++++++
infinoted/infinoted-parameter.h | 126 +++++++++
5 files changed, 731 insertions(+), 463 deletions(-)
commit ea3daa87be97aa2cbabb5e28911c96326e5dd18b
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Dec 17 14:11:14 2013 +0100
Refactor infinoted option parsing
This was made having in mind introduction of generic infinoted
plugins. The
parsing is now arranged such that in the end there is one GKeyFile
from which
all options are read. Also, the configuration file to load can now be
specified on the command line, and the --help output is more useful.
infinoted/infinoted-options.c | 1532 ++++++++++++++++++++++++---------------
infinoted/infinoted-options.h | 7 +-
infinoted/infinoted-run.h | 1 +
infinoted/infinoted-startup.c | 4 +-
4 files changed, 935 insertions(+), 609 deletions(-)
commit 7472ca0763386af8d6ebc38cfd8d377be7ec64c3
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Dec 11 11:54:41 2013 +0100
Fix restoring of ACLs after server restart
libinfinity/server/infd-directory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 2a872f06e336a707e48b999ed85bff902aea6d79
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Dec 11 11:35:33 2013 +0100
Do not evaluate account and ACL files when reading subdirectory from disk
libinfinity/server/infd-filesystem-storage.c | 42 ++++++++++++++++----------
1 file changed, 26 insertions(+), 16 deletions(-)
commit b1eb1dc5113e3f7c9cfd0ceae749b09a25781e02
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Nov 17 15:39:46 2013 +0100
inf_adopted_request_log_original_request: Return given request for
DO requests
This fixes transforming the move request that InfTextUndoGrouping uses to
determine whether to group two requests or not with the new algorithm.
libinfinity/adopted/inf-adopted-request-log.c | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
commit d1ded09f5c266f18ddfffcc678c0fc878e5c369d
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Nov 17 16:03:26 2013 +0100
Use "forward translation" in InfAdoptedAlgorithm
This makes it possible to apply the mirror operation as late as possible
during a translation. Also, add a test case which failed before due to
this not being the case (test-55.xml).
This also simplifies the implementation of the adOPTed algorithm quite
a bit.
At the moment the old implementation is still available and can
be switched
back on. This is mostly for reference -- one of the new tests will
fail with
the old implementation.
Unfortunately, there is also a performance impact with the new algorithm.
inf-test-text-session runs 30-40% slower. I hope this can be optimized
more
later, and is another reason to keep the old algorithm still in place, so
that the two can easily be benchmarked against each other.
Also, replay-09.xml has been removed. This replay will fail with the new
algorithm. However, this is not an issue of the new algorithm, but rather
that the record was taken with the old algorithm, and therefore
transformations have been carried out incorrectly. The new algorithm
carries
them out correctly, ends up in a different document state, and
cannot play
the rest of the record.
libinfinity/adopted/inf-adopted-algorithm.c | 181 +-
test/replay/replay-09.record.xml | 26366 ------------------------
test/session/test-55.xml | 34 +
test/session/test-56.xml | 34 +
test/session/test-57.xml | 24 +
5 files changed, 271 insertions(+), 26368 deletions(-)
commit 68c9d3c6aad7f3ce106211253dc2e92b83e36e00
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Nov 17 15:39:20 2013 +0100
Use inf_adopted_request_get_index() in InfTextUndoGrouping
It makes the code a bit more readable.
libinftext/inf-text-undo-grouping.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 0a9981042cd494b982982a65db528fef788cd20f
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Nov 17 12:32:11 2013 +0100
inf-test-reduce-replay: also catch SIGTRAP of the child process
test/inf-test-reduce-replay.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
commit 562e3fcacb3e44d6aa47aa714a9be62d56a29379
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Nov 17 12:03:33 2013 +0100
Don't assert at unknown operation type in inf_test_util_print_operation()
test/util/inf-test-util.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 5e6ad16039595d1062e6c04b044ed500adafc1a6
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Nov 17 12:01:13 2013 +0100
Fix a typo in documentation of inf_adopted_request_log_prev_associated()
libinfinity/adopted/inf-adopted-request-log.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 3aa1e7d3b9be3c7fe81eff66bb3520588b57890c
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 30 16:43:02 2013 +0200
Make InfAdoptedSplitOperation fulfill the C2 transformation property
libinfinity/adopted/Makefile.am | 4 -
libinfinity/adopted/inf-adopted-algorithm.c | 20 +-
.../adopted/inf-adopted-concurrency-warning.c | 41 ---
.../adopted/inf-adopted-concurrency-warning.h | 35 ---
libinfinity/adopted/inf-adopted-no-operation.c | 12 +-
libinfinity/adopted/inf-adopted-operation.c | 102 +++-----
libinfinity/adopted/inf-adopted-operation.h | 12 +-
libinfinity/adopted/inf-adopted-request.c | 161 +++++-------
libinfinity/adopted/inf-adopted-request.h | 7 +-
libinfinity/adopted/inf-adopted-split-operation.c | 160 +++++++++---
libinfinity/adopted/inf-adopted-split-operation.h | 2 +
libinftext/inf-text-default-delete-operation.c | 23 +-
libinftext/inf-text-default-insert-operation.c | 28 +-
libinftext/inf-text-delete-operation.c | 37 +--
libinftext/inf-text-delete-operation.h | 10 +-
libinftext/inf-text-insert-operation.c | 98 +++----
libinftext/inf-text-insert-operation.h | 9 +-
libinftext/inf-text-move-operation.c | 13 +-
libinftext/inf-text-remote-delete-operation.c | 23 +-
test/inf-test-text-operations.c | 272 +++++---------------
20 files changed, 373 insertions(+), 696 deletions(-)
commit 2fe9d50775196be4152460678d745637957ca76c
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 21 17:28:13 2013 +0200
Operations in InfAdoptedSplitOperation are now one after each other
This defines the two operations in an InfAdoptedSplitOperation to
be executed
one after each other, not anymore both operations at the same state. This
makes applying the split operation to the buffer straight forward, and no
internal concurrency ID would be needed to decide what to do when
there are
two insert operations at the same position.
This fixes #610. Also, add a test and a replay reproducing the problem.
libinfinity/adopted/inf-adopted-split-operation.c | 87 +-
libinftext/inf-text-default-delete-operation.c | 2 +-
libinftext/inf-text-remote-delete-operation.c | 12 +-
test/inf-test-text-operations.c | 37 +-
test/inf-test-text-replay.c | 10 +-
test/replay/replay-13.record.xml | 6916 +++++++++++++++++++
test/session/test-54.xml | 37 +
7 files changed, 7040 insertions(+), 61 deletions(-)
commit d346e7af637892bb7f1bf72b40424b3c3347e512
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Aug 23 12:57:16 2013 +0200
Replace make_reversible vfunc by apply_transformed vfunc
This is another step for fixing #610. The two proceduces of making an
operation reversible and applying it to the buffer are now performed
by a single function, inf_adopted_operation_apply_transformed().
libinfinity/adopted/inf-adopted-algorithm.c | 34 ++---
libinfinity/adopted/inf-adopted-no-operation.c | 4 +-
libinfinity/adopted/inf-adopted-operation.c | 133 +++++++++++++-------
libinfinity/adopted/inf-adopted-operation.h | 34 ++---
libinfinity/adopted/inf-adopted-split-operation.c | 108 +++++++++++-----
libinftext/inf-text-default-delete-operation.c | 3 +-
libinftext/inf-text-default-insert-operation.c | 3 +-
libinftext/inf-text-move-operation.c | 22 +---
libinftext/inf-text-remote-delete-operation.c | 27 ++--
9 files changed, 215 insertions(+), 153 deletions(-)
commit 4f666fee58db3fa2463d16aa62aac2214058965d
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 22 16:01:49 2013 +0200
Make the original operation reversible inside apply-request
This is a first step to fix #610. For the fix I have in mind we will need
to create the reversible operation when applying the operation to
the buffer.
libinfinity/adopted/inf-adopted-algorithm.c | 183 ++++++++++++++++----------
libinfinity/adopted/inf-adopted-algorithm.h | 3 +-
libinfinity/inf-marshal.in | 1 +
libinftext/inf-text-session.c | 2 +
test/inf-test-text-recover.c | 7 +-
test/inf-test-text-replay.c | 2 +
6 files changed, 128 insertions(+), 70 deletions(-)
commit a89ea37e3520207035a4030ffee1a6a4feee61da
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 21 16:58:52 2013 +0200
Test split operations explicitely in inf-test-text-operations
Right now, one of them fails the undo test, and another one causes
a crash.
test/inf-test-text-operations.c | 37 +++++++++++++++++++++++++++++++++----
1 file changed, 33 insertions(+), 4 deletions(-)
commit 8bd3e23d0bde5b054e3956b8121c7774d79edb10
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 21 16:58:14 2013 +0200
Perform a basic Undo test in inf-test-text-operations
This checks whether the example document remains the same when applying
the operation and its inverse consecutively.
test/inf-test-text-operations.c | 103 +++++++++++++++++++++++++++++++++++++-
1 file changed, 101 insertions(+), 2 deletions(-)
commit 60c42982bd04ecc0d53fbc00b4f84aa280ce5945
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Aug 21 11:54:41 2013 +0200
Validate correctly concurrency situations in inf-test-reduce-replay
Since we are deleting all sync requests, it can happen that remaining
session requests would depend on deleted ones in concurrent situations.
This situation is now detected as invalid.
test/inf-test-reduce-replay.c | 264 ++++++++++++++++++++++++++++++++++------
1 file changed, 224 insertions(+), 40 deletions(-)
commit dca689aeadf0b18c1d09d14df95d66cb0d49a59d
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Aug 20 12:14:14 2013 +0200
Add some more TODO notes
TODO | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
commit a8719920ce827361f1f8a118ac79ee6fc13ee02d
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Aug 20 12:13:21 2013 +0200
Break the codeflow when a server sent a certificate the client did
not request
libinfinity/client/infc-browser.c | 2 ++
1 file changed, 2 insertions(+)
commit 57b19fcd016e6b385314a302936f61e225cb7be5
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Aug 20 12:08:22 2013 +0200
Fix possible undefined behaviour in inf_cert_util_copy_certificate()
libinfinity/common/inf-cert-util.c | 1 +
1 file changed, 1 insertion(+)
commit 58f0f1b8f9e37be5e60cf20a794cdcd96c287058
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 18 21:31:54 2013 +0200
Set the activation time of newly generated certificate a bit in the past
This is so that if the client verifies the certificate immediately
and has
its clock slightly offset it does not find the certificate invalid
because
its activation time has not started yet.
libinfinity/server/infd-directory.c | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
commit 4ae6d7267075e52a82dceb022da38d8b90175398
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 18 13:33:43 2013 +0200
Document InfAdoptedUser and InfStandaloneIo
libinfinity/adopted/inf-adopted-user.c | 17 +++++++++++++++++
libinfinity/common/inf-standalone-io.c | 22 ++++++++++++++++++++++
libinfinity/common/inf-standalone-io.h | 13 +++++++++++++
libinfinity/common/inf-user.c | 1 -
4 files changed, 52 insertions(+), 1 deletion(-)
commit 210a7ade528e0ec119bf4c740ab3989e00f69b35
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 18 13:17:17 2013 +0200
Fix uninitialized variables in infinote server code
infinoted/note-plugins/chat/infd-note-plugin-chat.c | 2 ++
libinfinity/server/infd-directory.c | 1 +
2 files changed, 3 insertions(+)
commit 380beb0c5700c031f554e750816c220ccc8f41a3
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 12 12:06:14 2013 +0200
Watch notify::subscription-group instead of close for session detach
The reason is that when the session is closed, the subscription group is
reset as well in any case. This is being done by the default handler of
the InfSession::close signal. However, there are other occurences where
the subscription can be lost, for example if the server forcibly removes
the subscription with infd_session_proxy_unsubscribe(). If that happens,
we also want to detach the session from the browser, so that the
client can
try to re-subscribe. The old session with lost subscription is kep alive,
however, so that it can be used for other purposes, such as for a sync-in
on another node.
The documentation of the InfBrowser::unsubscribe-session has also been
changed to describe its meaning more explicitly.
libinfinity/client/infc-browser.c | 125 +++++++++++++++++++-----------------
libinfinity/common/inf-browser.c | 16 ++++-
2 files changed, 80 insertions(+), 61 deletions(-)
commit ccb2a691554741f92951762f23aeb14f7e5ffd26
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 12 12:05:10 2013 +0200
Keep the InfcSessionProxy object always consistent when releasing
connection
libinfinity/client/infc-session-proxy.c | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
commit 511a81f3f81ed5dffbc447dffec17c0cd8b20cf9
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 11 22:25:58 2013 +0200
Fix a memory leak when reading text sessions from disk
The buffer and user table were not unref'ed either at failure or
at success.
Even at success the session makes a new reference on the objects,
so we have
to unref them for the buffer and user table to be finalized eventually.
infinoted/note-plugins/text/infd-note-plugin-text.c | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
commit 7ed7f593f5db2a6e5c0cccefee26e8aebfa7fc02
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 11 22:20:45 2013 +0200
Fix a couple of compiler warnings
infinoted/infinoted-run.c | 3 +--
libinfinity/adopted/inf-adopted-request.c | 2 +-
libinfinity/common/inf-browser.c | 2 ++
libinfinity/communication/inf-communication-registry.c | 1 +
4 files changed, 5 insertions(+), 3 deletions(-)
commit 5ff938541b828de03fa37032eac06020669d168b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 11 22:10:37 2013 +0200
Add InfChat note plugin for infinoted
configure.ac | 1 +
infinoted/note-plugins/Makefile.am | 2 +-
infinoted/note-plugins/chat/Makefile.am | 20 ++
.../note-plugins/chat/infd-note-plugin-chat.c | 231 ++++++++++++++++++++
4 files changed, 253 insertions(+), 1 deletion(-)
commit 0af3d3d83a3031cff71eecfe91b33e678aed6530
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 11 15:57:27 2013 +0200
Rework the ACL implementation
It is now possible to associate more than one certificate to an account,
and some basic functionality for other login procedures, such as
password-based authentication.
There are also some other internal reworkings.
.../libinfinity/libinfinity-0.6-docs.sgml | 7 +-
.../libinfinity/libinfinity-0.6-sections.txt | 109 +-
libinfgtk/inf-gtk-acl-sheet-view.c | 92 +-
libinfgtk/inf-gtk-acl-sheet-view.h | 6 +-
libinfgtk/inf-gtk-permissions-dialog.c | 150 +--
libinfinity/client/Makefile.am | 4 +-
.../client/infc-acl-account-list-request.c | 345 +++++
.../client/infc-acl-account-list-request.h | 75 ++
libinfinity/client/infc-acl-user-list-request.c | 344 -----
libinfinity/client/infc-acl-user-list-request.h | 74 --
libinfinity/client/infc-browser.c | 396 +++---
libinfinity/common/Makefile.am | 10 +-
...t-request.c => inf-acl-account-list-request.c} | 84 +-
libinfinity/common/inf-acl-account-list-request.h | 70 +
libinfinity/common/inf-acl-sheet.c | 701 ----------
libinfinity/common/inf-acl-sheet.h | 209 ---
libinfinity/common/inf-acl-table.c | 901 -------------
libinfinity/common/inf-acl-table.h | 146 ---
libinfinity/common/inf-acl-user-list-request.h | 70 -
libinfinity/common/inf-acl.c | 1282 +++++++++++++++++++
libinfinity/common/inf-acl.h | 289 +++++
libinfinity/common/inf-browser.c | 240 ++--
libinfinity/common/inf-browser.h | 70 +-
libinfinity/common/inf-error.c | 6 +-
libinfinity/common/inf-error.h | 9 +-
libinfinity/server/Makefile.am | 2 +
libinfinity/server/infd-acl-account-info.c | 680 ++++++++++
libinfinity/server/infd-acl-account-info.h | 101 ++
libinfinity/server/infd-directory.c | 915 ++++++++-----
libinfinity/server/infd-directory.h | 7 +-
libinfinity/server/infd-filesystem-storage.c | 93 +-
libinfinity/server/infd-storage.c | 57 +-
libinfinity/server/infd-storage.h | 42 +-
test/inf-test-set-acl.c | 62 +-
34 files changed, 4205 insertions(+), 3443 deletions(-)
commit bc1b8f41cc3b8d3e26681e9f86240248a71337be
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Aug 11 13:59:57 2013 +0200
Ignore everything the remote side sends while waiting for
</stream:stream>
Since the communication channel is full-duplex, it can happen that the
remote side sends more data before it receives our request to close the
connection and eventually acknowledges it.
libinfinity/common/inf-xmpp-connection.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit 5b68ef7efd453670435739c997af3cd50ea89e99
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Aug 6 09:27:35 2013 +0200
Add INF_ACL_CAN_JOIN_USER permission
libinfinity/adopted/inf-adopted-session-replay.c | 13 ++-
libinfinity/client/infc-session-proxy.c | 16 ++-
libinfinity/common/inf-acl-sheet.c | 4 +
libinfinity/common/inf-acl-sheet.h | 8 +-
libinfinity/common/inf-session.c | 37 +++----
libinfinity/common/inf-session.h | 3 +-
libinfinity/inf-marshal.in | 1 +
libinfinity/server/infd-directory.c | 55 +++++++++++
libinfinity/server/infd-session-proxy.c | 108 +++++++++++++++++----
libinfinity/server/infd-session-proxy.h | 7 ++
10 files changed, 205 insertions(+), 47 deletions(-)
commit e0e2cb1c3243f52767bd9a7ba9b1389d416e38e4
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 5 17:38:40 2013 +0200
Add documentation for InfcSessionProxy and InfdSessionProxy
libinfinity/client/infc-session-proxy.c | 21 +++++++++++++++++++++
libinfinity/client/infc-session-proxy.h | 20 ++++++++++++++++++++
libinfinity/server/infd-session-proxy.c | 22 ++++++++++++++++++++++
libinfinity/server/infd-session-proxy.h | 20 ++++++++++++++++++++
4 files changed, 83 insertions(+)
commit 4b4df45bd24d6b3136702f1e20b05a157b618e20
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 5 15:58:26 2013 +0200
Add InfcChatRequest to libinfinity-0.6-sections.txt
.../reference/libinfinity/libinfinity-0.6-sections.txt | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
commit b0b628fbd6de907ebd2c751334f91d214ee7a823
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Aug 5 15:16:18 2013 +0200
Move the NOT_AUTHORIZED error from directory to the request domain
libinfinity/common/inf-error.c | 4 ++--
libinfinity/common/inf-error.h | 6 +++---
libinfinity/server/infd-directory.c | 4 ++--
3 files changed, 7 insertions(+), 7 deletions(-)
commit 6a5f7a42436fa04f1544af59ee837fb74389a2c9
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Aug 3 19:10:49 2013 +0200
Remove two unused marshallers
libinfinity/inf-marshal.in | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
commit 9219688f98c1c84e515fd5ef456057f57b378b6c
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Aug 1 12:30:23 2013 +0200
Make key algorithm and length parameters of
inf_cert_util_create_private_key()
infinoted/infinoted-startup.c | 2 +-
libinfinity/common/inf-cert-util.c | 12 +++++++++---
libinfinity/common/inf-cert-util.h | 4 +++-
3 files changed, 13 insertions(+), 5 deletions(-)
commit 62fea70e983e8ac4a937a57a84cb147c88409404
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 19:15:50 2013 +0200
Add infd_directory_get_acl_user_for_connection()
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/server/infd-directory.c | 32 +++++++++++++++++++++
libinfinity/server/infd-directory.h | 4 +++
3 files changed, 37 insertions(+)
commit 014da3537e2fd7c740e2e9348f728f290ae32858
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 15:46:44 2013 +0200
Change INF_ACL_CAN_SET_ACL so it works on the node rather than its
children
libinfgtk/inf-gtk-permissions-dialog.c | 34 ++++++++++--------------------
libinfinity/common/inf-acl-sheet.h | 4 ++--
libinfinity/server/infd-directory.c | 36 +++++++++++++++-----------------
3 files changed, 30 insertions(+), 44 deletions(-)
commit 3f34da0256495a5f435eecc6e00cdc217c4cfa39
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 15:37:50 2013 +0200
InfGtkPermissionsDialog: Apply line wrap to the status label
libinfgtk/inf-gtk-permissions-dialog.c | 3 +++
1 file changed, 3 insertions(+)
commit bf767b90abe607c7a0c1263dddfb382465165eb2
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 14:11:44 2013 +0200
Use the new InfGtkAclSheetView properties in InfGtkPermissionsDialog
libinfgtk/inf-gtk-permissions-dialog.c | 50 ++++++++++++++++++++++++++++++--
libinfinity/common/inf-acl-sheet.h | 6 ++++
2 files changed, 54 insertions(+), 2 deletions(-)
commit 4ece31ca272992c7234341912895fa6c183374ad
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 13:54:58 2013 +0200
Add "show-default" and "permission-mask" properties to InfGtkAclSheetView
.../libinfgtk/libinfgtk-0.6-sections.txt | 4 +
libinfgtk/inf-gtk-acl-sheet-view.c | 218 ++++++++++++++++++--
libinfgtk/inf-gtk-acl-sheet-view.h | 14 ++
3 files changed, 219 insertions(+), 17 deletions(-)
commit e24b4ac5b691066a191c92a7733799ed0188ca5d
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 11:30:37 2013 +0200
Some more cosmetics to the InfGtkPermissionsDialog
Add two images, and show some informational text when no node is
selected.
libinfgtk/inf-gtk-permissions-dialog.c | 108 ++++++++++++++++++++++++-------
1 file changed, 83 insertions(+), 25 deletions(-)
commit a4b56505a5ea3471b70822354d89c388f5d5d0ae
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 11:01:38 2013 +0200
Fix double slash in inf_browser_get_path()
inf_browser_get_path() was returning paths beginning with two slashes for
non-root nodes.
libinfinity/common/inf-browser.c | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
commit bac7c1367f36422f596d72ba31f5902d1f993027
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 08:40:20 2013 +0200
Fix masking logic in inf_browser_check_acl
It was wrong in the sense that all masked permissions were revoked,
instead
of being left untouched.
libinfinity/common/inf-browser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 6e1f7f0276b4bfe88cf5994b3e48284ea5541135
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 08:04:59 2013 +0200
Fix a server crash when announcing non-root ACL
libinfinity/server/infd-directory.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 146050dceccc9245b778c0be3836883c2f293308
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 08:04:09 2013 +0200
InfGtkPermissionsDialog: Fix a warning when connection drops while
changing ACL
libinfgtk/inf-gtk-permissions-dialog.c | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
commit b2893f118fca6fdb14132d362620563ab5a890bf
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 31 08:03:46 2013 +0200
InfGtkAclSheetView: Sort ACLs in ascending order, not descending
libinfgtk/inf-gtk-acl-sheet-view.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 71f8057dee37081cc09ef6df4b0f12ab9d7f95eb
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 30 17:56:49 2013 +0200
Add the InfGtkPermissionsDialog widget
TODO | 2 +
docs/reference/libinfgtk/libinfgtk-0.6-docs.sgml | 1 +
.../libinfgtk/libinfgtk-0.6-sections.txt | 17 +
libinfgtk/Makefile.am | 6 +-
libinfgtk/inf-gtk-permissions-dialog.c | 1246 +++++++++++++++++++
libinfgtk/inf-gtk-permissions-dialog.h | 80 ++
6 files changed, 1350 insertions(+), 2 deletions(-)
commit 341ee453b8d58a19153796ebfe1065ad0baa400d
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jul 29 21:20:20 2013 +0200
Add the inf_browser_is_ancestor() function
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/common/inf-browser.c | 34 +++++++++++++++++++++
libinfinity/common/inf-browser.h | 5 +++
3 files changed, 40 insertions(+)
commit 8ae97cb6997b83351977c9d6cb0a0b19c525d645
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 28 21:52:25 2013 +0200
Add INF_ACL_CAN_QUERY_USER_LIST and INF_ACL_CAN_QUERY_ACL permissions
libinfinity/common/inf-acl-sheet.c | 8 ++++++++
libinfinity/common/inf-acl-sheet.h | 10 ++++++++--
libinfinity/server/infd-directory.c | 12 ++++++++++--
3 files changed, 26 insertions(+), 4 deletions(-)
commit 29e50230fe0f471c69f2851472c7b1d55f454c01
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jul 22 21:41:11 2013 +0200
Add the InfGtkAclSheetView widget
docs/reference/libinfgtk/libinfgtk-0.6-docs.sgml | 1 +
.../libinfgtk/libinfgtk-0.6-sections.txt | 20 +
libinfgtk/Makefile.am | 2 +
libinfgtk/inf-gtk-acl-sheet-view.c | 775 ++++++++++++++++++++
libinfgtk/inf-gtk-acl-sheet-view.h | 92 +++
5 files changed, 890 insertions(+)
commit b3b600717b4902e42e805b828745094262aa2ff0
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jul 22 21:51:33 2013 +0200
Document InfTextGtkView and InfTextGtkViewport
libinftextgtk/inf-text-gtk-view.c | 31 ++++++++++++++++++++++++++++++-
libinftextgtk/inf-text-gtk-view.h | 13 +++++++++++++
libinftextgtk/inf-text-gtk-viewport.c | 20 ++++++++++++++++++++
libinftextgtk/inf-text-gtk-viewport.h | 13 +++++++++++++
4 files changed, 76 insertions(+), 1 deletion(-)
commit 4f254e05c114f0f6e4835f7c7d475d8b9a3f8c75
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 21 21:36:50 2013 +0200
InfGtkBrowserStore: Handle correctly when the missing node is a root node
libinfgtk/inf-gtk-browser-store.c | 55 +++++++++++++++++++++++++++++++++----
1 file changed, 49 insertions(+), 6 deletions(-)
commit d17cacbd8a30c99dea25af3e926a2f7237cc8b66
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 21 21:22:01 2013 +0200
Fix a warning in infinoted when a document is being synced in
This causes a session to be created but the InfAdoptedAlgorithm does
not exist yet, so the signal handlers cannot be installed. Instead,
wait for
the synchronization to finish before installing the signal handlers
on the
algorithm.
infinoted/infinoted-log.c | 87 +++++++++++++++++++++++++++++++++++++--------
1 file changed, 72 insertions(+), 15 deletions(-)
commit 33985ea64af638f22c6478437f9d8c90b01caf0f
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 21 21:21:30 2013 +0200
Fix crashes when creating a node with empty ACL
Due to missing NULL checks for the ACL sheet set.
libinfinity/server/infd-directory.c | 68 ++++++++++++++++++++---------------
1 file changed, 40 insertions(+), 28 deletions(-)
commit ef3472ebb546e1648932574e7a7747a8c7cdf84b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 21 21:20:01 2013 +0200
Make sure adOPTed algorithm is available at session status notify
This makes the two events "synchronization complete" and "notify::status"
atomic in the sense that when one happens in any signal handler the
other one
will have changed, too, and the adOPTed algorithm is created in
every case.
libinfinity/adopted/inf-adopted-session.c | 4 ++++
1 file changed, 4 insertions(+)
commit 2c7e860872b6fc3bbc8e76a83c1bd301452c1051
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 21 17:51:42 2013 +0200
Only declare protocol versions incompatible if the major number changes
The current version is perfectly capable to talk to a 0.5 infinoted. It
will even handle replies to ACL-related messages gracefully.
libinfinity/client/infc-browser.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d11e38b6ee66644bff67f4c0e3fc6302c1afb8f7
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 21 17:43:50 2013 +0200
Allow iter to be NULL in
inf_gtk_browser_model_browser_iter_to_tree_iter()
This is necessary to since now the root iterator is not always available,
namely for non-open browsers. In that case one can call the function with
a NULL iterator to obtain the toplevel item.
libinfgtk/inf-gtk-browser-model.c | 8 +++++---
libinfgtk/inf-gtk-browser-store.c | 17 ++++++++++++-----
2 files changed, 17 insertions(+), 8 deletions(-)
commit c5b04ebca407cbdbd0f60d6ab1c43f3bb352ab9b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 21 12:12:24 2013 +0200
Make the inf_tcp_connection_new*() functions take a const InfIpAddress
libinfinity/common/inf-tcp-connection.c | 4 ++--
libinfinity/common/inf-tcp-connection.h | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
commit 63c939f88dc1e2921ae07540f98ee521f541d29b
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 21 12:10:00 2013 +0200
Make inf_xmpp_manager_lookup_connection_by_address() take a const
InfIpAddress
libinfinity/common/inf-xmpp-manager.c | 6 +++---
libinfinity/common/inf-xmpp-manager.h | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
commit a6130fc6caef93a65c051e036f8ce159f0b93d34
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 21 12:06:49 2013 +0200
Make inf_gtk_browser_store_add_connection() return a InfBrowser
libinfgtk/inf-gtk-browser-store.c | 14 +++++++++++---
libinfgtk/inf-gtk-browser-store.h | 2 +-
2 files changed, 12 insertions(+), 4 deletions(-)
commit 7107d534107bcdc5b4cdf1cf5af35733e0e4f5fc
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Jul 20 23:33:35 2013 +0200
Document the InfTextGtkBuffer class
libinftextgtk/inf-text-gtk-buffer.c | 33 +++++++++++++++++++++++++++++++++
libinftextgtk/inf-text-gtk-buffer.h | 13 +++++++++++++
2 files changed, 46 insertions(+)
commit effd8971f72e73dba248749634ee581490f17ca1
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jul 19 16:37:53 2013 +0200
Do not return a group that is larger than what can be undone in
UndoGrouping
This could lead to submission of too many undo or redo requests if
one would
blindly generate as many undo or redo requests as the size of the
corresponding undo group. Since it is not trivial to figure out the
number of
requests allowed before no more requests can be made due to an excess
of the
max total log size, this functionality has been added to
InfAdoptedUndoGrouping.
This would also lead to a crash in the server which cannot handle invalid
undo requests gracefully at the moment.
libinfinity/adopted/inf-adopted-undo-grouping.c | 58 ++++++++++++++++++++++-
1 file changed, 56 insertions(+), 2 deletions(-)
commit 781a9f540e1cb8e15d6ad55b895305d38d2d4269
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jul 18 23:44:08 2013 +0200
inf_adopted_request_log_upper_related(): Allow n to be anywhere in
the set
Also, add inf_adopted_request_log_lower_related(), which comes for free
with the new implementation
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/adopted/inf-adopted-request-log.c | 194 +++++++++++++-------
libinfinity/adopted/inf-adopted-request-log.h | 4 +
3 files changed, 135 insertions(+), 64 deletions(-)
commit d0b540a1ffdd4c74133d09651d3ffefcd17848c7
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jul 18 23:38:11 2013 +0200
Add inf_adopted_request_get_index()
This function returns the vector time component of the user that
issued the
request itself. This value is needed often, and should allow to
simplify more
code through libinfinity's adOPTed implementation. It could later also be
optimized by caching that quantity.
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/adopted/inf-adopted-request.c | 20 ++++++++++++++++++++
libinfinity/adopted/inf-adopted-request.h | 3 +++
3 files changed, 24 insertions(+)
commit 930367a41762c454819596bac419a72d0ca87290
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jul 18 20:02:47 2013 +0200
Keep a reference to requests in the undo grouper
Otherwise requests could be removed before the cleanup would
happen. Also,
add a replay which exhibits the problem.
libinfinity/adopted/inf-adopted-undo-grouping.c | 6 +
test/replay/replay-12.record.xml | 6599 +++++++++++++++++++++
2 files changed, 6605 insertions(+)
commit cdf4f978df6275c9228c87cb765d30c36f81fee1
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jul 17 12:02:21 2013 +0200
Remove the trust-file property from InfGtkCertificateManager
Instead, give the gnutls_session_t to the certificate callback. The
callback
can then call gnutls_certificate_verify_peers2() in order to check the
certificate with the trusted CAs stored in the certificate credentials.
infinoted/infinoted-run.c | 1 +
libinfgtk/inf-gtk-certificate-manager.c | 86 +++---------------------------
libinfgtk/inf-gtk-certificate-manager.h | 1 -
libinfinity/common/inf-xmpp-connection.c | 1 +
libinfinity/common/inf-xmpp-connection.h | 1 +
5 files changed, 10 insertions(+), 80 deletions(-)
commit 2c6ccbd4b7a03176b188da2e41c5e1b38fde6596
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 19:42:14 2013 +0200
Fix FSF address in COPYING file
Bug report #609, http://gobby.0x539.de/trac/ticket/609
COPYING | 68 ++++++++++++++++++++++++++++-----------------------------------
1 file changed, 30 insertions(+), 38 deletions(-)
commit cab8f0779006d86a4931ed6762bcfba326c6e765
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 17:37:14 2013 +0200
Fix a crash in infd_directory_handle_subscribe_session()
Due to two uninitialized pointers.
libinfinity/server/infd-directory.c | 3 +++
1 file changed, 3 insertions(+)
commit de9cf1d34a75bb511e4dff85d82ea7f192d7fa84
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 17:25:39 2013 +0200
Fix inf_browser_check_acl() for non-root nodes
The tree was correctly propagated, but the ACL sheet was only queried
from
the original (bottommost) node.
libinfinity/common/inf-browser.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit 0ae099912608da1d24c95c0310bdde1af421f899
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 17:25:00 2013 +0200
Fix a warning when receiving an add_node request by the server
If the request has no ACL sheets set, a inf_acl_sheet_set_free() was
attempted on a NULL variable.
libinfinity/client/infc-browser.c | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
commit 25058fafbcd28c53daa62b3674382f8510183620
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 17:19:51 2013 +0200
Avoid a warning when adding a note without ACL sheets
Due to a missing NULL check in infc_browser_node_new_common()
libinfinity/client/infc-browser.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
commit 7b0034e3f7fb663f86ebb8f8eb4767e17383cda7
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 17:16:50 2013 +0200
Fix a crash when sending explored nodes to a client
There was a NULL check missing when adding the ACL sheets of the
explored nodes to the server reply.
libinfinity/server/infd-directory.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)
commit e1039666e8cc35af6967087a5ee82277cf6ae256
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 17:16:31 2013 +0200
Fix a crash when exploring nodes from background storage
Due to an uninitialized variable
libinfinity/server/infd-directory.c | 2 ++
1 file changed, 2 insertions(+)
commit 60c9b1172ca3ea5b13652266ab3beb8789b32d6d
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 17:16:00 2013 +0200
Add g_return_if_fail() checks into InfdExploreRequest public functions
libinfinity/server/infd-explore-request.c | 6 ++++++
1 file changed, 6 insertions(+)
commit 3dc6cb3a5cbdb85f7735e0655e16d014b71096a1
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 17:07:37 2013 +0200
Fix a crash when exploring nodes in the background storage
libinfinity/server/infd-directory.c | 2 ++
1 file changed, 2 insertions(+)
commit 514ee584b700da5ab1ee12b2495e47b5bdac485b
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 17:07:08 2013 +0200
Adapt InfGtkBrowserStore to modified root node handling in InfcBrowser
The root node is now only available when the browser is open.
libinfgtk/inf-gtk-browser-store.c | 172 ++++++++++++++++++++++--------------
1 file changed, 105 insertions(+), 67 deletions(-)
commit d2e0e937a5c19af22731b26ca8636389ec7f2433
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 15:56:29 2013 +0200
Add 2013 to copyright years
AUTHORS | 2 +-
infinoted/infinoted-autosave.c | 2 +-
infinoted/infinoted-autosave.h | 2 +-
infinoted/infinoted-config-reload.c | 2 +-
infinoted/infinoted-config-reload.h | 2 +-
infinoted/infinoted-dh-params.c | 2 +-
infinoted/infinoted-dh-params.h | 2 +-
infinoted/infinoted-directory-sync.c | 2 +-
infinoted/infinoted-directory-sync.h | 2 +-
infinoted/infinoted-log.c | 2 +-
infinoted/infinoted-log.h | 2 +-
infinoted/infinoted-main.c | 2 +-
infinoted/infinoted-note-plugin.c | 2 +-
infinoted/infinoted-note-plugin.h | 2 +-
infinoted/infinoted-options.c | 2 +-
infinoted/infinoted-options.h | 2 +-
infinoted/infinoted-pam.c | 2 +-
infinoted/infinoted-pam.h | 2 +-
infinoted/infinoted-record.c | 2 +-
infinoted/infinoted-record.h | 2 +-
infinoted/infinoted-run.c | 2 +-
infinoted/infinoted-run.h | 2 +-
infinoted/infinoted-signal.c | 2 +-
infinoted/infinoted-signal.h | 2 +-
infinoted/infinoted-startup.c | 2 +-
infinoted/infinoted-startup.h | 2 +-
infinoted/infinoted-traffic-logger.c | 2 +-
infinoted/infinoted-traffic-logger.h | 2 +-
infinoted/infinoted-transformation-protector.c | 2 +-
infinoted/infinoted-transformation-protector.h | 2 +-
infinoted/infinoted-util.c | 2 +-
infinoted/infinoted-util.h | 2 +-
infinoted/note-plugins/text/infd-note-plugin-text.c | 2 +-
libinfgtk/inf-gtk-browser-model-filter.c | 2 +-
libinfgtk/inf-gtk-browser-model-filter.h | 2 +-
libinfgtk/inf-gtk-browser-model-sort.c | 2 +-
libinfgtk/inf-gtk-browser-model-sort.h | 2 +-
libinfgtk/inf-gtk-browser-model.c | 2 +-
libinfgtk/inf-gtk-browser-model.h | 2 +-
libinfgtk/inf-gtk-browser-store.c | 2 +-
libinfgtk/inf-gtk-browser-store.h | 2 +-
libinfgtk/inf-gtk-browser-view.c | 2 +-
libinfgtk/inf-gtk-browser-view.h | 2 +-
libinfgtk/inf-gtk-certificate-dialog.c | 2 +-
libinfgtk/inf-gtk-certificate-dialog.h | 2 +-
libinfgtk/inf-gtk-certificate-manager.c | 2 +-
libinfgtk/inf-gtk-certificate-manager.h | 2 +-
libinfgtk/inf-gtk-certificate-view.c | 2 +-
libinfgtk/inf-gtk-certificate-view.h | 2 +-
libinfgtk/inf-gtk-chat.c | 2 +-
libinfgtk/inf-gtk-chat.h | 2 +-
libinfgtk/inf-gtk-io.c | 2 +-
libinfgtk/inf-gtk-io.h | 2 +-
libinfinity/adopted/inf-adopted-algorithm.c | 2 +-
libinfinity/adopted/inf-adopted-algorithm.h | 2 +-
libinfinity/adopted/inf-adopted-concurrency-warning.c | 2 +-
libinfinity/adopted/inf-adopted-concurrency-warning.h | 2 +-
libinfinity/adopted/inf-adopted-no-operation.c | 2 +-
libinfinity/adopted/inf-adopted-no-operation.h | 2 +-
libinfinity/adopted/inf-adopted-operation.c | 2 +-
libinfinity/adopted/inf-adopted-operation.h | 2 +-
libinfinity/adopted/inf-adopted-request-log.c | 2 +-
libinfinity/adopted/inf-adopted-request-log.h | 2 +-
libinfinity/adopted/inf-adopted-request.c | 2 +-
libinfinity/adopted/inf-adopted-request.h | 2 +-
libinfinity/adopted/inf-adopted-session-record.c | 2 +-
libinfinity/adopted/inf-adopted-session-record.h | 2 +-
libinfinity/adopted/inf-adopted-session-replay.c | 2 +-
libinfinity/adopted/inf-adopted-session-replay.h | 2 +-
libinfinity/adopted/inf-adopted-session.c | 2 +-
libinfinity/adopted/inf-adopted-session.h | 2 +-
libinfinity/adopted/inf-adopted-split-operation.c | 2 +-
libinfinity/adopted/inf-adopted-split-operation.h | 2 +-
libinfinity/adopted/inf-adopted-state-vector.c | 2 +-
libinfinity/adopted/inf-adopted-state-vector.h | 2 +-
libinfinity/adopted/inf-adopted-undo-grouping.c | 2 +-
libinfinity/adopted/inf-adopted-undo-grouping.h | 2 +-
libinfinity/adopted/inf-adopted-user.c | 2 +-
libinfinity/adopted/inf-adopted-user.h | 2 +-
libinfinity/client/infc-acl-user-list-request.c | 2 +-
libinfinity/client/infc-acl-user-list-request.h | 2 +-
libinfinity/client/infc-browser.c | 2 +-
libinfinity/client/infc-browser.h | 2 +-
libinfinity/client/infc-certificate-request.c | 2 +-
libinfinity/client/infc-certificate-request.h | 2 +-
libinfinity/client/infc-chat-request.c | 2 +-
libinfinity/client/infc-chat-request.h | 2 +-
libinfinity/client/infc-explore-request.c | 2 +-
libinfinity/client/infc-explore-request.h | 2 +-
libinfinity/client/infc-node-request.c | 2 +-
libinfinity/client/infc-node-request.h | 2 +-
libinfinity/client/infc-note-plugin.h | 2 +-
libinfinity/client/infc-request-manager.c | 2 +-
libinfinity/client/infc-request-manager.h | 2 +-
libinfinity/client/infc-request.c | 2 +-
libinfinity/client/infc-request.h | 2 +-
libinfinity/client/infc-session-proxy.c | 2 +-
libinfinity/client/infc-session-proxy.h | 2 +-
libinfinity/client/infc-user-request.c | 2 +-
libinfinity/client/infc-user-request.h | 2 +-
libinfinity/common/inf-acl-sheet.c | 2 +-
libinfinity/common/inf-acl-sheet.h | 2 +-
libinfinity/common/inf-acl-table.c | 2 +-
libinfinity/common/inf-acl-table.h | 2 +-
libinfinity/common/inf-acl-user-list-request.c | 2 +-
libinfinity/common/inf-acl-user-list-request.h | 2 +-
libinfinity/common/inf-browser-iter.c | 2 +-
libinfinity/common/inf-browser-iter.h | 2 +-
libinfinity/common/inf-browser.c | 2 +-
libinfinity/common/inf-browser.h | 2 +-
libinfinity/common/inf-buffer.c | 2 +-
libinfinity/common/inf-buffer.h | 2 +-
libinfinity/common/inf-cert-util.c | 2 +-
libinfinity/common/inf-cert-util.h | 2 +-
libinfinity/common/inf-certificate-chain.c | 2 +-
libinfinity/common/inf-certificate-chain.h | 2 +-
libinfinity/common/inf-certificate-credentials.c | 2 +-
libinfinity/common/inf-certificate-credentials.h | 2 +-
libinfinity/common/inf-chat-buffer.c | 2 +-
libinfinity/common/inf-chat-buffer.h | 2 +-
libinfinity/common/inf-chat-session.c | 2 +-
libinfinity/common/inf-chat-session.h | 2 +-
libinfinity/common/inf-discovery-avahi.c | 2 +-
libinfinity/common/inf-discovery-avahi.h | 2 +-
libinfinity/common/inf-discovery.c | 2 +-
libinfinity/common/inf-discovery.h | 2 +-
libinfinity/common/inf-error.c | 2 +-
libinfinity/common/inf-error.h | 2 +-
libinfinity/common/inf-explore-request.c | 2 +-
libinfinity/common/inf-explore-request.h | 2 +-
libinfinity/common/inf-init.c | 2 +-
libinfinity/common/inf-init.h | 2 +-
libinfinity/common/inf-io.c | 2 +-
libinfinity/common/inf-io.h | 2 +-
libinfinity/common/inf-ip-address.c | 2 +-
libinfinity/common/inf-ip-address.h | 2 +-
libinfinity/common/inf-local-publisher.c | 2 +-
libinfinity/common/inf-local-publisher.h | 2 +-
libinfinity/common/inf-node-request.c | 2 +-
libinfinity/common/inf-node-request.h | 2 +-
libinfinity/common/inf-protocol.c | 2 +-
libinfinity/common/inf-protocol.h | 2 +-
libinfinity/common/inf-request.c | 2 +-
libinfinity/common/inf-request.h | 2 +-
libinfinity/common/inf-sasl-context.c | 2 +-
libinfinity/common/inf-sasl-context.h | 2 +-
libinfinity/common/inf-session-proxy.c | 2 +-
libinfinity/common/inf-session-proxy.h | 2 +-
libinfinity/common/inf-session.c | 2 +-
libinfinity/common/inf-session.h | 2 +-
libinfinity/common/inf-simulated-connection.c | 2 +-
libinfinity/common/inf-simulated-connection.h | 2 +-
libinfinity/common/inf-standalone-io.c | 2 +-
libinfinity/common/inf-standalone-io.h | 2 +-
libinfinity/common/inf-tcp-connection-private.h | 2 +-
libinfinity/common/inf-tcp-connection.c | 2 +-
libinfinity/common/inf-tcp-connection.h | 2 +-
libinfinity/common/inf-user-request.c | 2 +-
libinfinity/common/inf-user-request.h | 2 +-
libinfinity/common/inf-user-table.c | 2 +-
libinfinity/common/inf-user-table.h | 2 +-
libinfinity/common/inf-user.c | 2 +-
libinfinity/common/inf-user.h | 2 +-
libinfinity/common/inf-xml-connection.c | 2 +-
libinfinity/common/inf-xml-connection.h | 2 +-
libinfinity/common/inf-xml-util.c | 2 +-
libinfinity/common/inf-xml-util.h | 2 +-
libinfinity/common/inf-xmpp-connection.c | 2 +-
libinfinity/common/inf-xmpp-connection.h | 2 +-
libinfinity/common/inf-xmpp-manager.c | 2 +-
libinfinity/common/inf-xmpp-manager.h | 2 +-
libinfinity/communication/inf-communication-central-factory.c | 2 +-
libinfinity/communication/inf-communication-central-factory.h | 2 +-
libinfinity/communication/inf-communication-central-method.c | 2 +-
libinfinity/communication/inf-communication-central-method.h | 2 +-
libinfinity/communication/inf-communication-factory.c | 2 +-
libinfinity/communication/inf-communication-factory.h | 2 +-
libinfinity/communication/inf-communication-group-private.h | 2 +-
libinfinity/communication/inf-communication-group.c | 2 +-
libinfinity/communication/inf-communication-group.h | 2 +-
libinfinity/communication/inf-communication-hosted-group.c | 2 +-
libinfinity/communication/inf-communication-hosted-group.h | 2 +-
libinfinity/communication/inf-communication-joined-group.c | 2 +-
libinfinity/communication/inf-communication-joined-group.h | 2 +-
libinfinity/communication/inf-communication-manager.c | 2 +-
libinfinity/communication/inf-communication-manager.h | 2 +-
libinfinity/communication/inf-communication-method.c | 2 +-
libinfinity/communication/inf-communication-method.h | 2 +-
libinfinity/communication/inf-communication-object.c | 2 +-
libinfinity/communication/inf-communication-object.h | 2 +-
libinfinity/communication/inf-communication-registry.c | 2 +-
libinfinity/communication/inf-communication-registry.h | 2 +-
libinfinity/inf-dll.c | 2 +-
libinfinity/inf-dll.h | 2 +-
libinfinity/inf-i18n.c | 2 +-
libinfinity/inf-i18n.h | 2 +-
libinfinity/inf-signals.c | 2 +-
libinfinity/inf-signals.h | 2 +-
libinfinity/server/infd-directory.c | 2 +-
libinfinity/server/infd-directory.h | 2 +-
libinfinity/server/infd-explore-request.c | 2 +-
libinfinity/server/infd-explore-request.h | 2 +-
libinfinity/server/infd-filesystem-storage.c | 2 +-
libinfinity/server/infd-filesystem-storage.h | 2 +-
libinfinity/server/infd-node-request.c | 2 +-
libinfinity/server/infd-node-request.h | 2 +-
libinfinity/server/infd-note-plugin.h | 2 +-
libinfinity/server/infd-server-pool.c | 2 +-
libinfinity/server/infd-server-pool.h | 2 +-
libinfinity/server/infd-session-proxy.c | 2 +-
libinfinity/server/infd-session-proxy.h | 2 +-
libinfinity/server/infd-storage.c | 2 +-
libinfinity/server/infd-storage.h | 2 +-
libinfinity/server/infd-tcp-server.c | 2 +-
libinfinity/server/infd-tcp-server.h | 2 +-
libinfinity/server/infd-user-request.c | 2 +-
libinfinity/server/infd-user-request.h | 2 +-
libinfinity/server/infd-xml-server.c | 2 +-
libinfinity/server/infd-xml-server.h | 2 +-
libinfinity/server/infd-xmpp-server.c | 2 +-
libinfinity/server/infd-xmpp-server.h | 2 +-
libinftext/inf-text-buffer.c | 2 +-
libinftext/inf-text-buffer.h | 2 +-
libinftext/inf-text-chunk.c | 2 +-
libinftext/inf-text-chunk.h | 2 +-
libinftext/inf-text-default-buffer.c | 2 +-
libinftext/inf-text-default-buffer.h | 2 +-
libinftext/inf-text-default-delete-operation.c | 2 +-
libinftext/inf-text-default-delete-operation.h | 2 +-
libinftext/inf-text-default-insert-operation.c | 2 +-
libinftext/inf-text-default-insert-operation.h | 2 +-
libinftext/inf-text-delete-operation.c | 2 +-
libinftext/inf-text-delete-operation.h | 2 +-
libinftext/inf-text-insert-operation.c | 2 +-
libinftext/inf-text-insert-operation.h | 2 +-
libinftext/inf-text-move-operation.c | 2 +-
libinftext/inf-text-move-operation.h | 2 +-
libinftext/inf-text-operations.h | 2 +-
libinftext/inf-text-remote-delete-operation.c | 2 +-
libinftext/inf-text-remote-delete-operation.h | 2 +-
libinftext/inf-text-session.c | 2 +-
libinftext/inf-text-session.h | 2 +-
libinftext/inf-text-undo-grouping.c | 2 +-
libinftext/inf-text-undo-grouping.h | 2 +-
libinftext/inf-text-user.c | 2 +-
libinftext/inf-text-user.h | 2 +-
libinftextgtk/inf-text-gtk-buffer.c | 2 +-
libinftextgtk/inf-text-gtk-buffer.h | 2 +-
libinftextgtk/inf-text-gtk-hue-chooser.c | 2 +-
libinftextgtk/inf-text-gtk-hue-chooser.h | 2 +-
libinftextgtk/inf-text-gtk-view.c | 2 +-
libinftextgtk/inf-text-gtk-view.h | 2 +-
libinftextgtk/inf-text-gtk-viewport.c | 2 +-
libinftextgtk/inf-text-gtk-viewport.h | 2 +-
test/inf-test-browser.c | 2 +-
test/inf-test-certificate-request.c | 2 +-
test/inf-test-chat.c | 2 +-
test/inf-test-chunk.c | 2 +-
test/inf-test-daemon.c | 2 +-
test/inf-test-gtk-browser.c | 2 +-
test/inf-test-mass-join.c | 2 +-
test/inf-test-reduce-replay.c | 2 +-
test/inf-test-set-acl.c | 2 +-
test/inf-test-state-vector.c | 2 +-
test/inf-test-tcp-connection.c | 2 +-
test/inf-test-tcp-server.c | 2 +-
test/inf-test-text-cleanup.c | 2 +-
test/inf-test-text-operations.c | 2 +-
test/inf-test-text-recover.c | 2 +-
test/inf-test-text-replay.c | 2 +-
test/inf-test-text-session.c | 2 +-
test/inf-test-xmpp-connection.c | 2 +-
test/inf-test-xmpp-server.c | 2 +-
test/util/inf-test-util.c | 2 +-
test/util/inf-test-util.h | 2 +-
275 files changed, 275 insertions(+), 275 deletions(-)
commit 0c304bcc6e9d57f0e6fd13fe2201866313a368c3
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 15:04:25 2013 +0200
Increase protocol version to 1.1
The support for Access Control Lists adds new functionality to the
protoc,l
however backwards compatibility is preserved. The new protocol version
can be
used by clients to find out whether a server supports ACLs or not. If
a client
does not check explicitely, corresponding requests would either fail
(e.g. query-user-list) or silently be ignored (e.g. initial ACL for new
nodes) by a server which does not support ACLs.
libinfinity/common/inf-protocol.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d24be134740bbfabba275a9c4bd77a38e916ff90
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 15:07:19 2013 +0200
Implement support for Access Control Lists (ACL)
This feature allows apply sets of permissions for different users on
individual nodes. Nodes which don't have an explicit setting for
a permission
inherit the setting from their parent node. The default user for the
root node
must have all permissions defined for the default user.
The user authentication currently works only with client side
certificates.
This requires to run infinoted with the --ca-list-file option,
since otherwise
clients are not requested to send a certificate. This behaviour needs
yet to
be documented.
Users are identified by the SHA256 fingerprint of their certificate. This
means that, currently, a new certificate for a user would lead to
a different
user account. This is not optimal. There should be fixed accounts to
which one
or more certificates can be mapped, and which should also be able to be
associated to a SASL username, so that after successful SASL
authentication
one has access to the account, without requiring client side
certificates.
Right now, only two permissions are implemented, can-subscribe-session
and
can-set-acl. With the can-subscribe-session permission certain users
can be
allowed or denied to subscribe to particular sessions in the tree,
and with
can-set-acl they can be allowed or denied to change the ACL for nodes. Of
course, more permissions will be added in the future. This commit
is mostly
meant to provide the basic ACL framework, including ACL storage on
the server
side, the API and the protocol layer to query, change and check ACLs.
.../libinfinity/libinfinity-0.6-docs.sgml | 3 +
.../libinfinity/libinfinity-0.6-sections.txt | 90 +
libinfinity/client/Makefile.am | 2 +
libinfinity/client/infc-acl-user-list-request.c | 344 ++++
libinfinity/client/infc-acl-user-list-request.h | 74 +
libinfinity/client/infc-browser.c | 1027 ++++++++--
libinfinity/common/Makefile.am | 6 +
libinfinity/common/inf-acl-sheet.c | 689 +++++++
libinfinity/common/inf-acl-sheet.h | 191 ++
libinfinity/common/inf-acl-table.c | 901 +++++++++
libinfinity/common/inf-acl-table.h | 146 ++
libinfinity/common/inf-acl-user-list-request.c | 164 ++
libinfinity/common/inf-acl-user-list-request.h | 70 +
libinfinity/common/inf-browser.c | 437 ++++-
libinfinity/common/inf-browser.h | 124 +-
libinfinity/common/inf-error.c | 8 +
libinfinity/common/inf-error.h | 14 +
libinfinity/inf-marshal.in | 1 +
libinfinity/server/infd-directory.c | 1902 +++++++++++++++++--
libinfinity/server/infd-filesystem-storage.c | 537 ++++++
libinfinity/server/infd-filesystem-storage.h | 2 +
libinfinity/server/infd-storage.c | 212 ++-
libinfinity/server/infd-storage.h | 63 +-
test/Makefile.am | 15 +-
test/inf-test-browser.c | 2 +-
test/inf-test-set-acl.c | 343 ++++
26 files changed, 7016 insertions(+), 351 deletions(-)
commit 84a7fc87acfda9225f07662612e16b4ae5e37dbc
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 15:01:28 2013 +0200
Run the callback last in infc_request_manager_fail_request
Otherwise it can happen that the callback deletes the request manager
itself,
and the following attempt to remove the request from the manager
would fail.
libinfinity/client/infc-request-manager.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
commit 88960c34bcff2781282d51f2292874c523941bb0
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 15:00:00 2013 +0200
Some cosmetic improvements to InfcExploreRequest
libinfinity/client/infc-explore-request.c | 12 ++++++++----
1 file changed, 8 insertions(+), 4 deletions(-)
commit 477337982cb7d9bf9780314302bae9172ea4ffa0
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 14:47:06 2013 +0200
Update the TODO list
TODO | 44 +++++++++++++++++++++++---------------------
1 file changed, 23 insertions(+), 21 deletions(-)
commit 05e0f3384518ecac69a4333c3aa085fc8d2ab78e
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 14:12:26 2013 +0200
Add a general inf_browser_get_pending_request() function
This function replaces inf_browser_get_pending_explore_request() and
inf_browser_get_pending_subscribe_request(). The rationale for this
change is that more similar requests might be introduced shortly, and
one helper function for each request type would be a bit too much
code duplication.
.../libinfinity/libinfinity-0.6-sections.txt | 3 +-
libinfgtk/inf-gtk-browser-view.c | 46 +++++++-----
libinfinity/client/infc-browser.c | 10 ++-
libinfinity/common/inf-browser.c | 78 ++++++---------------
libinfinity/common/inf-browser.h | 12 ++--
test/inf-test-gtk-browser.c | 10 ++-
6 files changed, 68 insertions(+), 91 deletions(-)
commit e04e2b3a11a753b855a263f44c167531fe779be0
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 16 14:03:23 2013 +0200
Fix a parameter name in InfNodeRequest::finished documentation
libinfinity/common/inf-node-request.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e95a83f8160a9901054150ab3942e6e3118cb94c
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 2 11:15:36 2013 +0200
Add certificate properties to InfXmlConnection
This allows InfcBrowser and InfdDirectory to access the certificates
in a generic way, without making assumptions about whether the connection
at hand is a InfXmppConnection or not.
InfSimulatedConnection always returns NULL at this point for the
certificates,
but API could be added later to supply proper certificates.
libinfinity/client/infc-browser.c | 20 +-------
libinfinity/common/inf-simulated-connection.c | 22 ++++++++-
libinfinity/common/inf-xml-connection.c | 22 +++++++++
libinfinity/common/inf-xmpp-connection.c | 62 ++++++++++---------------
libinfinity/server/infd-directory.c | 15 ------
5 files changed, 70 insertions(+), 71 deletions(-)
commit 5dd52dd9494fafb696dd9fe15a0a334d82c8fe8f
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jun 26 16:46:33 2013 +0200
infinoted: Add --ca-list-file option to check client certificates
This option allows infinoted to request clients to send a certificate. If
no certificate is sent or the certificate is not issued by one of the CAs
in the given list the connection is rejected.
infinoted/infinoted-0.6.man | 12 +++--
infinoted/infinoted-options.c | 17 ++++++-
infinoted/infinoted-options.h | 1 +
infinoted/infinoted-run.c | 80 ++++++++++++++++++++++++++++++
infinoted/infinoted-startup.c | 51 ++++++++++++++++++-
infinoted/infinoted-startup.h | 3 ++
libinfinity/common/inf-xmpp-connection.c | 10 ++++
7 files changed, 168 insertions(+), 6 deletions(-)
commit fdce67d94c5112fe503bd9edecffa5abe4bbc9c7
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jun 26 18:07:18 2013 +0200
Also call the certificate callback when no certificate was sent
This allows the user to choose whether to accept or reject the
connection in
case it does not have a certificate. For example, the connection might be
temporarily accepted and further authentication being performed at
a different
layer of the protocol.
libinfinity/common/inf-xmpp-connection.c | 39 +++++++++++++++++++++---------
1 file changed, 28 insertions(+), 11 deletions(-)
commit e1cc01a950f69cea73d23b995524c63430f5a94c
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jun 26 16:29:12 2013 +0200
Add functionality for the client to ask for a certificate signed by
the server
The client will reject the generated certificate if the server
certificate is
not a CA.
This also increases the required GnuTLS version to 2.12.0. This
makes sure
that all the functions we use are available, especially
gnutls_x509_crq_verify
is only available since 2.12.0.
configure.ac | 2 +-
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 17 ++
libinfinity/client/Makefile.am | 2 +
libinfinity/client/infc-browser.c | 283 +++++++++++++++++-
libinfinity/client/infc-browser.h | 9 +
libinfinity/client/infc-certificate-request.c | 300 ++++++++++++++++++++
libinfinity/client/infc-certificate-request.h | 84 ++++++
libinfinity/common/inf-error.c | 6 +
libinfinity/common/inf-error.h | 7 +
libinfinity/server/infd-directory.c | 270 ++++++++++++++++++
test/Makefile.am | 16 +-
test/inf-test-certificate-request.c | 282 ++++++++++++++++++
13 files changed, 1273 insertions(+), 6 deletions(-)
commit 2d60f182f48c873122cdd27992206b045c315595
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 25 13:26:28 2013 +0200
infinoted: Set the server certificate as the directory certificate
infinoted/infinoted-run.c | 6 ++++++
infinoted/infinoted-startup.c | 23 +++++++++++------------
infinoted/infinoted-startup.h | 3 +--
3 files changed, 18 insertions(+), 14 deletions(-)
commit abaaa91c0efb2a78ba085a6233fda4291aa0b68b
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 25 13:23:26 2013 +0200
Add infd_directory_set_certificate
This will be used for issuing certificates signed with the directory
certificate, in response to a new request-certificate message.
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/server/infd-directory.c | 91 +++++++++++++++++++++
libinfinity/server/infd-directory.h | 8 ++
3 files changed, 100 insertions(+)
commit 01106696ac768a49ad173a40433ffa55f23a9d0d
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jun 21 14:39:31 2013 +0200
Don't require an InfNodeRequest in inf_browser_begin_request()
This fixes the precondition in inf_browser_begin_request() and makes use
of it with chat subscription in InfcBrowser.
libinfinity/client/infc-browser.c | 4 +---
libinfinity/common/inf-browser.c | 2 +-
2 files changed, 2 insertions(+), 4 deletions(-)
commit be886df7763e99d744f578a688884e5f1e143ba1
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jun 21 14:38:12 2013 +0200
Add API to query certificates from InfXmppConnection
This allows to ask both for the local certificate that was presented
to the
peer and to ask for the certificate of the peer itself.
.../libinfinity/libinfinity-0.6-sections.txt | 2 +
libinfinity/common/inf-xmpp-connection.c | 262 +++++++++++++++++---
libinfinity/common/inf-xmpp-connection.h | 6 +
3 files changed, 230 insertions(+), 40 deletions(-)
commit 9e78707f9a48092a70483c5ba4a556e3b70df3f0
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 14 21:32:46 2013 +0200
Document the InfTextDeleteOperation interface
.../libinfgtk/libinfgtk-0.6-sections.txt | 20 ++++++++---------
.../reference/libinftext/libinftext-0.6-docs.sgml | 1 -
.../libinftext/libinftext-0.6-sections.txt | 24 +++++++++------------
.../libinftextgtk/libinftextgtk-0.6-sections.txt | 8 +++----
libinftext/inf-text-delete-operation.c | 20 +++++++++++++++++
libinftext/inf-text-delete-operation.h | 19 ++++++++++++++++
libinftext/inf-text-operations.h | 14 ++++++++++++
7 files changed, 77 insertions(+), 29 deletions(-)
commit 05cc23f6051fc9c408e636a9261343b72bbe78ea
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 14 20:52:59 2013 +0200
Fix a warning in case the connection goes down at sending
</stream:stream>
This is a similar fix to the previous one: The connection can go down
in </stream:stream>, and then gnutls_bye would try to send more data on a
closed connection.
libinfinity/common/inf-xmpp-connection.c | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
commit e0ce7364cfaf7ad5c1f202850f6d6a4b6ee17cfe
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jul 14 17:40:01 2013 +0200
Fix a runtime warning when connection goes down during gnutls_bye()
If that happens the XMPP status would have been "revived" from
CLOSED to CLOSING, since the code didn't handle the case that the
connection
could go down during gnutls_bye().
libinfinity/common/inf-xmpp-connection.c | 25 ++++++++++++++++---------
1 file changed, 16 insertions(+), 9 deletions(-)
commit bed81c1bab1e161a5ac715b719c36411810de877
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jul 1 22:16:05 2013 +0200
More documentation fixes and updates
libinfinity/common/inf-protocol.c | 2 +-
libinfinity/common/inf-session.c | 8 +++----
libinfinity/common/inf-user.c | 2 +-
libinfinity/common/inf-xml-connection.c | 40 +++++++++++++++++++++++++++++++
libinfinity/common/inf-xml-connection.h | 32 +++++++++++++++++++++++++
libinfinity/server/infd-directory.c | 2 +-
6 files changed, 79 insertions(+), 7 deletions(-)
commit 5242b2f332cf25069328b9abd5c67cb365f35a8e
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jul 2 21:39:51 2013 +0200
Add the InfdDirectory implementation of InfBrowser
This was supposed to included already in the original merge,
b7f4ae3d3a50664bfdb16e403ccc1675139475cc, but went missing somehow.
libinfinity/server/infd-directory.c | 404 ++++++++++++++++++++++++++++++----
1 file changed, 364 insertions(+), 40 deletions(-)
commit 568c89e3a68266ad5c9991cfda7c6347c1b23fcc
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 30 22:33:40 2013 +0200
Miscellaneous documentation fixes and updates
.../libinfgtk/libinfgtk-0.6-sections.txt | 2 +-
.../libinfinity/libinfinity-0.6-sections.txt | 2 +-
libinfgtk/inf-gtk-browser-model.c | 20 ++++++
libinfgtk/inf-gtk-browser-model.h | 69 +++++++++++++++++++--
libinfgtk/inf-gtk-certificate-dialog.c | 19 +++++-
libinfgtk/inf-gtk-certificate-dialog.h | 36 +++++++++++
libinfgtk/inf-gtk-chat.c | 3 +-
libinfgtk/inf-gtk-chat.h | 2 -
libinfinity/common/inf-user.c | 14 +++++
libinfinity/common/inf-user.h | 31 +++++++++
libinftext/inf-text-buffer.c | 21 +++++++
libinftext/inf-text-buffer.h | 48 ++++++++++++++
libinftext/inf-text-chunk.c | 28 +++++++++
libinftext/inf-text-chunk.h | 29 +++++----
libinftextgtk/inf-text-gtk-buffer.c | 8 +--
libinftextgtk/inf-text-gtk-view.c | 4 +-
libinftextgtk/inf-text-gtk-viewport.c | 2 +-
17 files changed, 308 insertions(+), 30 deletions(-)
commit 0d5bf73be3a4a460404cf52881fadbb8853e72e5
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jun 28 19:52:39 2013 +0200
Terminate connection gracefully when rejecting a certificate
Instead of brutally closing the TCP connection, terminate it properly by
sending a </stream:stream> before.
libinfinity/common/inf-xmpp-connection.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 635d7e77f4d80baf864dbc0f216356512f91f8f0
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jun 28 19:51:15 2013 +0200
Fix a crash when data was received immediately after the TLS handshake
InfXmppConnection expected the data to arrive in another bunch, i.e. in a
separate call of the IO function.
libinfinity/common/inf-xmpp-connection.c | 39 +++++++++++++++---------------
1 file changed, 20 insertions(+), 19 deletions(-)
commit a14f6fa51f5ac9c6a24f62e84b49dd5cdcf79473
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 25 09:40:09 2013 +0200
Properly quote XML in documentation comments
libinfinity/common/inf-error.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit c34f4fdf9656460c60ca9f94bbd1a35671d8f684
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jun 24 17:18:47 2013 +0200
Add missing files for infinoted-traffic-logger
infinoted/infinoted-traffic-logger.c | 357 +++++++++++++++++++++++++++++++++
infinoted/infinoted-traffic-logger.h | 52 +++++
2 files changed, 409 insertions(+)
commit c402de91beb688413967d725df6eb1facf27ef4e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 28 22:58:41 2013 +0200
Move functions from infinoted-creds.c to inf-cert-util.c
Conflicts:
infinoted/infinoted-startup.c
.../libinfinity/libinfinity-0.6-sections.txt | 17 +-
infinoted/Makefile.am | 2 -
infinoted/infinoted-creds.c | 416 ------------
infinoted/infinoted-creds.h | 69 --
infinoted/infinoted-dh-params.c | 8 +-
infinoted/infinoted-run.c | 1 -
infinoted/infinoted-startup.c | 34 +-
libinfgtk/inf-gtk-certificate-manager.c | 14 +-
libinfinity/common/inf-cert-util.c | 670 ++++++++++++++++++--
libinfinity/common/inf-cert-util.h | 50 +-
libinfinity/common/inf-xml-util.c | 2 +-
11 files changed, 698 insertions(+), 585 deletions(-)
commit 629a5c091c876b8ea9fa30c920181d43f5858ff6
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jun 21 15:23:52 2013 +0200
Improve infinoted man pages a bit
After suggestions from Rainer Rehak:
http://permalink.gmane.org/gmane.network.obby.user/407
infinoted/infinoted-0.6.man | 23 ++++++++++++++++++-----
1 file changed, 18 insertions(+), 5 deletions(-)
commit 6e6d99d5eddc4779ffd9a37b6cd6043da3677b60
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Jun 19 15:21:01 2013 +0200
Fix a warning when the browser is disconnected in the explore request
callback
libinfinity/client/infc-browser.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit b7f4ae3d3a50664bfdb16e403ccc1675139475cc
Merge: 8838bf2 706fb1a
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 18 09:25:52 2013 +0200
Add InfBrowser interface, implemented by InfcBrowser and InfdDirectory
This is a merge of a rather old branch that I have finished working on
recently. The idea is to unify the interface of InfcBrowser and
InfdDirectory,
getting rid of some duplicate code and eventually allowing handling them
as interchangeably as possible, and as transparently as possible for
a user.
The interface now allows to do most operations of InfcBrowser or
InfdDirectory in a unified way, so that it is not necessary to know
whether
one is working locally on a directory or remotely on a server.
I feel this branch is ready to merge now, even though the new
possibilities
have not yet been fully exploited. What is yet to come is full
support for
InfdDirectory browsers in InfGtkBrowserStore/InfGtkBrowserView. This
would
allow easy combination of working with both local and remote documents
and
is a step toward self-hosting support in Gobby.
Merge branch 'inf-browser'
Conflicts:
ChangeLog.manual
infinoted/infinoted-record.c
libinfinity/client/infc-browser.c
libinfinity/inf-marshal.in
libinfinity/server/infd-directory.c
libinfinity/server/infd-directory.h
commit 8838bf272946116372272e4740593c5330b842ef
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jun 14 18:08:41 2013 +0200
infinoted: Add --traffic-log-directory option
This allows to specify a directory into which infinoted will write all
network traffic, with one file per connection. This is mainly meant for
debugging purposes.
infinoted/Makefile.am | 2 ++
infinoted/infinoted-config-reload.c | 35 ++++++++++++++++++++++++++++
infinoted/infinoted-options.c | 43 +++++++++++++++++++++++------------
infinoted/infinoted-options.h | 1 +
infinoted/infinoted-run.c | 16 +++++++++++++
infinoted/infinoted-run.h | 2 ++
6 files changed, 85 insertions(+), 14 deletions(-)
commit 535e36654ad3f20a12fdda8ba9494725d8641861
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Jun 14 18:07:29 2013 +0200
Communication registry: Handle received and sent signals after default
handler
This allows other signal handlers to reliably run before libinfinity
actually handles the signal, for example to stop the signal emission,
or to
write sent and/or received messages into a log.
libinfinity/communication/inf-communication-registry.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
commit f94c882be6405ec47ab8b3c4a85c2cb94947405b
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jun 6 22:03:13 2013 +0200
Generate ChangeLog from git log
ChangeLog => ChangeLog.manual | 0
Makefile.am | 25 +++++++++++++++++++++++++
2 files changed, 25 insertions(+)
commit 7fd13237ea7cfbe2ea3ea57a8e008e836dd67fbe
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jun 6 21:28:00 2013 +0200
Move transformation cache into InfAdoptedRequestLog
This is mainly an optimization of the algorithm cleanup routine.
Until now, every request made would trigger a traverse through the whole
request cache in order to see whether a request needs to be cleaned up
or not. This is optimized by instead of maintaining one big cache,
maintain for each user which only contains requests made by that user.
The requests are primarily sorted by the vector component of that user.
The actual cleanup is then done only when requests are removed from the
request log itself, instead of for processed request. Also, the tree is
only traversed until the first request is found that does not need to be
removed -- since the requests are sorted by the user component all other
requests would not be removed either.
.../libinfinity/libinfinity-0.6-sections.txt | 2 +
libinfinity/adopted/inf-adopted-algorithm.c | 182 ++----------------
libinfinity/adopted/inf-adopted-request-log.c | 202 +++++++++++++++++++-
libinfinity/adopted/inf-adopted-request-log.h | 8 +
4 files changed, 228 insertions(+), 166 deletions(-)
commit d4b8c608e5a7527253e663e55f0b707523c2bccf
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu Jun 6 21:26:55 2013 +0200
Make InfAdoptedStateVector const-correct
libinfinity/adopted/inf-adopted-state-vector.c | 37 ++++++++++++------------
libinfinity/adopted/inf-adopted-state-vector.h | 31 ++++++++++----------
2 files changed, 35 insertions(+), 33 deletions(-)
commit 68c65807482ec5465f71c7cbbcda373c5daac9fb
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 4 16:56:51 2013 +0200
Add InfinotedTransformationProtector
This is a utility for infinoted that rejects requests that would require
transformation over many requests by other users. This allows to
protect the
infinoted from users that are many requests behind and keep sending own
requests which would put a heavy load on the server.
The implementation is a bit hacky at this point. A cleaner solution would
be to add a query-execute-request signal to InfAdoptedAlgorithm,
or to reject
the request on a lower level before execute-request is actually called.
infinoted/Makefile.am | 2 +
infinoted/infinoted-config-reload.c | 26 ++
infinoted/infinoted-options.c | 32 ++-
infinoted/infinoted-options.h | 5 +-
infinoted/infinoted-run.c | 16 ++
infinoted/infinoted-run.h | 2 +
infinoted/infinoted-transformation-protector.c | 319 +++++++++++++++++++++++
infinoted/infinoted-transformation-protector.h | 56 ++++
8 files changed, 454 insertions(+), 4 deletions(-)
commit 6abb08e27276e6b6549b1fdb2bb87bc97c190ba1
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 4 16:51:30 2013 +0200
Add infd_session_proxy_unsubscribe()
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/server/infd-session-proxy.c | 103 ++++++++++++++------
libinfinity/server/infd-session-proxy.h | 4 +
3 files changed, 77 insertions(+), 31 deletions(-)
commit c986056a8c793063370c372f9d2f12202c96ed81
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue Jun 4 16:45:37 2013 +0200
Add inf_session_cancel_synchronization()
.../libinfinity/libinfinity-0.6-sections.txt | 1 +
libinfinity/common/inf-session.c | 173 ++++++++++++--------
libinfinity/common/inf-session.h | 4 +
3 files changed, 114 insertions(+), 64 deletions(-)
commit 26870147969794199aba23ec863682bec5c2cbb5
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jun 3 14:38:38 2013 +0200
infinoted: Log session errors into log file
infinoted/infinoted-log.c | 296 ++++++++++++++++++++++++++++++++------------
1 file changed, 218 insertions(+), 78 deletions(-)
commit e4a978e2c94942556d98fd60c4ef50de64eaef7d
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Jun 3 14:38:25 2013 +0200
Remove unused includes and variables in
inf-communication-central-method.c
libinfinity/communication/inf-communication-central-method.c | 4 ----
1 file changed, 4 deletions(-)
commit 65e8f0f271705849b8133be2adc66459d65175d4
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 2 22:35:06 2013 +0200
Remove error parameter from inf_communication_object_received()
Implement this by adding the InfSession::error signal in InfSession.
This allows client code to handle the error in whatever way is
approriate, instead of just logging it to stderr. InfSession itself does
not know about the nature of the error, or whether it is fatal or not.
For example, if a request cannot be processed it would be fatal for a
client (or a peer-to-peer participant) but not for a server (infinoted).
In the server case, it would simply ignore the request, not forward it
to the other clients, keeping the session consistent for everyone but
the client sending the erroneous request.
libinfinity/client/infc-browser.c | 7 +-
libinfinity/client/infc-session-proxy.c | 13 ++-
libinfinity/common/inf-session.c | 88 +++++++++++++++++++--
libinfinity/common/inf-session.h | 4 +
.../inf-communication-central-method.c | 37 +--------
.../communication/inf-communication-object.c | 6 +-
.../communication/inf-communication-object.h | 6 +-
libinfinity/inf-marshal.in | 1 +
libinfinity/server/infd-directory.c | 5 +-
libinfinity/server/infd-session-proxy.c | 11 +--
test/inf-test-text-cleanup.c | 6 +-
test/inf-test-text-session.c | 4 +-
12 files changed, 108 insertions(+), 80 deletions(-)
commit 61011af0388de99e9a38bfb71aecd0f0b3b16141
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 2 22:34:56 2013 +0200
Fix return value in infc_session_proxy_communication_object_received()
libinfinity/client/infc-session-proxy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit e940f939d71efe74924371858d82882314583dce
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 2 17:26:54 2013 +0200
Add timestamps into records for when a request was received end executed
libinfinity/adopted/inf-adopted-session-record.c | 33 ++++++++++++++++++++++
1 file changed, 33 insertions(+)
commit 792af0c44b5f81a4e92ae045b12e3983737cc739
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 2 17:26:31 2013 +0200
Add reception and execution times times to InfAdoptedRequest
.../libinfinity/libinfinity-0.6-sections.txt | 3 +
libinfinity/adopted/inf-adopted-algorithm.c | 44 +++++-
libinfinity/adopted/inf-adopted-request.c | 163 +++++++++++++++++++-
libinfinity/adopted/inf-adopted-request.h | 19 ++-
libinftext/inf-text-session.c | 28 +++-
libinftext/inf-text-undo-grouping.c | 7 +-
6 files changed, 243 insertions(+), 21 deletions(-)
commit 9035666dfce4a8466c8545cbde2c66ab20c6bcc0
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jun 2 17:21:50 2013 +0200
inf_adopted_request_fold(): Fix missing NULL terminator to g_object_new
libinfinity/adopted/inf-adopted-request.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
commit 827a5f09eaa29b0601c835faa02413e9183db03d
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 30 17:19:40 2013 +0200
inf-test-text-replay: Print warnings before making large transformations
Also, warn if executing a specific request has taken very long. This
can help
in finding problematic requests in a record, or point out when
something is
worthwhile to optimize.
test/inf-test-text-replay.c | 123 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 123 insertions(+)
commit 189d9d11893f519ca87e3ea5c068304ac83ed5a5
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 30 17:17:18 2013 +0200
InfTextUndoGrouping: Don't get stuck with transforming too old requests
It could happen that a request was transformed over tens of thousands of
other requests if a user waits a long time between two keystrokes, and
there was much activity by others between the two keystrokes. In such
a case,
simply do not group two requests which are very far apart from each
other.
libinftext/inf-text-undo-grouping.c | 33 +++++++++++++++++++++++++--------
1 file changed, 25 insertions(+), 8 deletions(-)
commit 55a9a324a6c4a78a592ad5d0d521c78d2e6e68fd
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 30 12:13:09 2013 +0200
Implement skip parameter for inf-test-reduce-replay
this allows, instead of going forward one-by-one, to go in steps of
more than one request. This is useful for very big records, where
one first
needs to get close to where the problem is and then one can carry on in
smaller steps to get the most minimal record possible.
test/inf-test-reduce-replay.c | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
commit 949264595f1622a948e8d46e15fc8d53f0c477cd
Author: Armin Burgmeier <armin@arbur.net>
Date: Tue May 28 20:57:10 2013 +0200
Add inf_text_gtk_buffer_set_fade()
along with the "alpha" and "background" properties
.../libinftextgtk/libinftextgtk-0.6-sections.txt | 1 +
libinftextgtk/inf-text-gtk-buffer.c | 140 ++++++++++++++++++--
libinftextgtk/inf-text-gtk-buffer.h | 5 +
3 files changed, 138 insertions(+), 8 deletions(-)
commit dc63ce63d82be5442822b54bf1c9146bfd6360e4
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 9 15:55:43 2013 +0200
infinoted: Log extra information during InfAdoptedAlgorithm execute
infinoted/infinoted-log.c | 301 +++++++++++++++++++++++++++++++++++++++++
infinoted/infinoted-log.h | 13 ++
infinoted/infinoted-record.c | 34 ++++-
infinoted/infinoted-record.h | 5 +
infinoted/infinoted-run.c | 10 +-
5 files changed, 359 insertions(+), 4 deletions(-)
commit 5837910c043dc77a567648cc84471303a273325f
Author: Armin Burgmeier <armin@arbur.net>
Date: Thu May 9 15:55:32 2013 +0200
Add "filename" property to InfAdoptedSessionRecord
libinfinity/adopted/inf-adopted-session-record.c | 23 +++++++++++++++++++++-
1 file changed, 22 insertions(+), 1 deletion(-)
commit 706fb1a98d0dc9cda1d0635b7f5a15749a7a5c30
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Apr 19 00:55:55 2013 +0200
Implement the InfBrowser interface in InfdDirectory
.../libinfinity/libinfinity-0.6-docs.sgml | 2 +
.../libinfinity/libinfinity-0.6-sections.txt | 54 +-
infinoted/infinoted-autosave.c | 75 +-
infinoted/infinoted-directory-sync.c | 84 +-
infinoted/infinoted-record.c | 30 +-
libinfinity/server/Makefile.am | 4 +
libinfinity/server/infd-directory.c | 3113 +++++++++++--------
libinfinity/server/infd-directory.h | 67 +-
libinfinity/server/infd-explore-request.c | 252 ++
libinfinity/server/infd-explore-request.h | 73 +
libinfinity/server/infd-node-request.h | 66 +
11 files changed, 2432 insertions(+), 1388 deletions(-)
commit 72e1d9d7725fe638b096596b4b3258e1df201bd8
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Apr 19 00:55:39 2013 +0200
Add a requestor property to InfdNodeRequest
libinfinity/server/infd-node-request.c | 298 +++++++++++++++++++++++++++++++
1 file changed, 298 insertions(+)
commit 73e605a34c0b44bb65ad7c04a60b216584cb04bb
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Apr 19 00:54:09 2013 +0200
Add INF_DIRECTORY_ERROR_SUBSCRIPTION_REJECTED error
libinfinity/common/inf-error.c | 2 ++
libinfinity/common/inf-error.h | 3 +++
2 files changed, 5 insertions(+)
commit 991f5e61a3f227cafd1e0d86500cfec5789e6dc0
Author: Armin Burgmeier <armin@arbur.net>
Date: Fri Apr 19 00:53:36 2013 +0200
Fix signature of inf_browser_(un)subscribe_session()
libinfinity/client/infc-browser.c | 14 +++++++++-----
libinfinity/common/inf-browser.c | 4 ++--
libinfinity/common/inf-browser.h | 4 ++--
3 files changed, 13 insertions(+), 9 deletions(-)
commit 587e14df08878164b06d831ddaa654651e93c9e1
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Apr 15 21:48:04 2013 +0200
Initialize node_id variable in infc_node_request_init()
libinfinity/client/infc-node-request.c | 1 +
1 file changed, 1 insertion(+)
commit 83b1de1efb199552ee2f8fae8791ae4f63e4d2c7
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Apr 15 21:47:39 2013 +0200
Add missing declaration of infc_explore_request_get_initiated()
libinfinity/client/infc-explore-request.h | 3 +++
1 file changed, 3 insertions(+)
commit 204a552875adae2a4644ce3333dcf595942baa94
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Apr 15 21:46:53 2013 +0200
Fix a typo in InfcExploreRequest documentation
libinfinity/client/infc-explore-request.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit d19d7f343b56bd35b11c170b08c853549d92d2ae
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 14 20:13:48 2013 +0200
Make InfdSessionProxy implement InfSessionProxy
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 16 ++
infinoted/infinoted-autosave.c | 99 ++++---
infinoted/infinoted-directory-sync.c | 92 +++---
infinoted/infinoted-record.c | 18 +-
libinfinity/client/infc-user-request.c | 4 +-
libinfinity/server/Makefile.am | 2 +
libinfinity/server/infd-directory.c | 95 +++++--
libinfinity/server/infd-session-proxy.c | 292 +++++++++++++++-----
libinfinity/server/infd-session-proxy.h | 9 -
libinfinity/server/infd-user-request.c | 230 +++++++++++++++
libinfinity/server/infd-user-request.h | 64 +++++
12 files changed, 740 insertions(+), 182 deletions(-)
commit 20ad04f34c3fd09395462077490e2d12339f8be2
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 14 17:50:40 2013 +0200
Make InfBrowser use InfSessionProxy instead of GObject
libinfgtk/inf-gtk-browser-view.c | 45 ++++++++++++++-----------------------
libinfinity/client/infc-browser.c | 7 +++---
libinfinity/common/inf-browser.c | 7 +++---
libinfinity/common/inf-browser.h | 11 ++++-----
4 files changed, 30 insertions(+), 40 deletions(-)
commit 9b607bf5daaccf6442a32740a0dd077cbdd756ae
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 14 17:21:37 2013 +0200
Implement InfSessionProxy interface in InfcSessionProxy
libinfgtk/inf-gtk-browser-view.c | 51 ++++-----
libinfinity/client/infc-browser.c | 63 ++++++++---
libinfinity/client/infc-session-proxy.c | 171 ++++++++++++++----------------
libinfinity/client/infc-session-proxy.h | 11 --
libinftext/inf-text-session.c | 39 +++----
libinftext/inf-text-session.h | 10 +-
test/inf-test-chat.c | 22 ++--
test/inf-test-gtk-browser.c | 144 +++++++++++++------------
8 files changed, 256 insertions(+), 255 deletions(-)
commit 9f57d335ac7d2f6759be3793041da4261ff3219e
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 14 16:15:15 2013 +0200
Add InfSessionProxy interface
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 14 +++
libinfinity/common/Makefile.am | 2 +
libinfinity/common/inf-session-proxy.c | 127 ++++++++++++++++++++
libinfinity/common/inf-session-proxy.h | 75 ++++++++++++
5 files changed, 219 insertions(+)
commit 27ba6a2520f542b29f8b7327780c0b1ecfa3b279
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 14 15:34:33 2013 +0200
Remove the infc_browser_get_status() function
If anything it belongs to InfBrowser. For now, simply ask people to
query the "status" property of the browser instead.
.../libinfinity/libinfinity-0.6-sections.txt | 1 -
libinfinity/client/infc-browser.c | 18 ------------------
libinfinity/client/infc-browser.h | 3 ---
test/inf-test-gtk-browser.c | 9 +++++++--
4 files changed, 7 insertions(+), 24 deletions(-)
commit 92f00f5fa337c432660309645b12d3f7e66f17e3
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 14 15:31:18 2013 +0200
Add InfUserRequest interface
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 14 ++
libinfinity/client/infc-session-proxy.c | 9 +-
libinfinity/client/infc-user-request.c | 82 ++++-------
libinfinity/client/infc-user-request.h | 18 +--
libinfinity/common/Makefile.am | 2 +
libinfinity/common/inf-user-request.c | 143 ++++++++++++++++++++
libinfinity/common/inf-user-request.h | 73 ++++++++++
8 files changed, 262 insertions(+), 80 deletions(-)
commit 689ee214c855c6b259362cc40e2104abd1cf2a51
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 14 13:54:01 2013 +0200
Add InfExploreRequest interface
.../libinfinity/libinfinity-0.6-docs.sgml | 3 +-
.../libinfinity/libinfinity-0.6-sections.txt | 13 ++
libinfgtk/inf-gtk-browser-view.c | 102 ++++++------
libinfinity/client/infc-browser.c | 9 +-
libinfinity/client/infc-explore-request.c | 163 +++++---------------
libinfinity/client/infc-explore-request.h | 13 +-
libinfinity/client/infc-node-request.c | 14 +-
libinfinity/common/Makefile.am | 2 +
libinfinity/common/inf-browser.c | 14 +-
libinfinity/common/inf-browser.h | 13 +-
libinfinity/common/inf-explore-request.c | 117 ++++++++++++++
libinfinity/common/inf-explore-request.h | 58 +++++++
libinfinity/common/inf-node-request.c | 20 +--
13 files changed, 294 insertions(+), 247 deletions(-)
commit 28bb206521cd4ec8c20239faaf81ac34aa9d1276
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 14 11:48:48 2013 +0200
Make iter argument of inf_gtk_browser_model_browser_iter_to_tree_iter
const
libinfgtk/inf-gtk-browser-model-filter.c | 4 ++--
libinfgtk/inf-gtk-browser-model-sort.c | 4 ++--
libinfgtk/inf-gtk-browser-model.c | 13 ++++---------
libinfgtk/inf-gtk-browser-model.h | 4 ++--
libinfgtk/inf-gtk-browser-store.c | 10 +++++-----
5 files changed, 15 insertions(+), 20 deletions(-)
commit 83018965592d093992c378220cabeed730f2686f
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 13 21:31:41 2013 +0200
Rename InfBrowserRequest to InfNodeRequest
TODO | 1 -
.../libinfinity/libinfinity-0.6-docs.sgml | 2 +-
.../libinfinity/libinfinity-0.6-sections.txt | 20 +++---
libinfgtk/inf-gtk-browser-store.c | 20 +++---
libinfgtk/inf-gtk-browser-view.c | 10 +--
libinfinity/client/infc-browser.c | 42 +++++------
libinfinity/client/infc-node-request.c | 28 ++++----
libinfinity/common/Makefile.am | 4 +-
libinfinity/common/inf-browser.c | 46 ++++++------
libinfinity/common/inf-browser.h | 30 ++++----
.../{inf-browser-request.c => inf-node-request.c} | 78 ++++++++++-----------
.../{inf-browser-request.h => inf-node-request.h} | 40 +++++------
12 files changed, 159 insertions(+), 162 deletions(-)
commit 6fd14122a7502cfc46331a60f28e0acd0e78395d
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 13 21:11:04 2013 +0200
Make InfcBrowser implement InfBrowser
TODO | 27 +-
.../libinfinity/libinfinity-0.6-docs.sgml | 4 +-
libinfgtk/inf-gtk-browser-model-filter.c | 6 +-
libinfgtk/inf-gtk-browser-model-sort.c | 6 +-
libinfgtk/inf-gtk-browser-model.c | 14 +-
libinfgtk/inf-gtk-browser-model.h | 12 +-
libinfgtk/inf-gtk-browser-store.c | 423 ++--
libinfgtk/inf-gtk-browser-view.c | 377 +--
libinfinity/client/Makefile.am | 4 +-
libinfinity/client/infc-browser-iter.c | 98 -
libinfinity/client/infc-browser-iter.h | 49 -
libinfinity/client/infc-browser.c | 2346 ++++++++-----------
libinfinity/client/infc-browser.h | 201 +-
libinfinity/client/infc-chat-request.c | 293 +++
libinfinity/client/infc-chat-request.h | 78 +
libinfinity/client/infc-explore-request.c | 293 +--
libinfinity/client/infc-explore-request.h | 29 +-
libinfinity/client/infc-node-request.c | 193 +-
libinfinity/client/infc-node-request.h | 26 +-
libinfinity/client/infc-request-manager.c | 45 +-
libinfinity/client/infc-request.c | 283 +--
libinfinity/client/infc-request.h | 44 +-
libinfinity/client/infc-session-proxy.c | 14 +-
libinfinity/client/infc-user-request.c | 198 +-
libinfinity/client/infc-user-request.h | 28 +-
test/inf-test-browser.c | 73 +-
test/inf-test-chat.c | 162 +-
test/inf-test-gtk-browser.c | 225 +-
28 files changed, 2540 insertions(+), 3011 deletions(-)
commit f61334b08604948a49028f50fb9fedcc9fd34d8d
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Apr 10 22:30:09 2013 +0200
Allow sessions and requests to be global in the InfBrowser interface
libinfinity/common/inf-browser.c | 49 ++++++++++++++++++++++----------------
libinfinity/common/inf-browser.h | 5 ++--
2 files changed, 31 insertions(+), 23 deletions(-)
commit 7006e0eb6474ffd90b576ba647dcb99ec44e9aff
Author: Armin Burgmeier <armin@arbur.net>
Date: Wed Apr 10 22:29:41 2013 +0200
Fix a typo in InfBrowserRequest::finished signal declaration
libinfinity/common/inf-browser-request.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit 82ea7ffed0fb31c617a58c3918fe56ecd2a9bd1a
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Apr 8 21:14:32 2013 +0200
Make the type property in InfRequest construct-only
libinfinity/common/inf-request.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
commit af894f1e60d2ec35f1bcec74b5957d4457a42f14
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Apr 8 21:14:22 2013 +0200
Add INF_DIRECTORY_ERROR_NOT_INITIATED error
libinfinity/common/inf-error.c | 5 ++++-
libinfinity/common/inf-error.h | 7 +++++--
2 files changed, 9 insertions(+), 3 deletions(-)
commit 9d37b1cd8737a839c5ebed50b099c71de1865f31
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Apr 8 21:13:50 2013 +0200
Make the InfBrowserIter argument in InfBrowser signals const
libinfinity/common/inf-browser.c | 10 +++++-----
libinfinity/common/inf-browser.h | 20 ++++++++++----------
2 files changed, 15 insertions(+), 15 deletions(-)
commit 1571ddd27941daa30a56e138583de8361f034b07
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Apr 8 21:13:16 2013 +0200
Expand a bit on the inf_browser_add_note() documentation
Also, add some extra sanity checks
libinfinity/common/inf-browser.c | 44 +++++++++++++++++++++++++++++++++++++-
1 file changed, 43 insertions(+), 1 deletion(-)
commit 2bc2544ccac6c4cb4e60c43f34b20621bacd21b3
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Apr 8 21:08:32 2013 +0200
Remove a useless prerequisite in InfBrowserRequest
libinfinity/common/inf-browser-request.c | 1 -
1 file changed, 1 deletion(-)
commit 840c752e76eaf2f776e60e8fde76b650423a8911
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Apr 8 21:06:43 2013 +0200
Make inf_browser_iter_copy() take a const InfBrowserIter
libinfinity/common/inf-browser-iter.c | 2 +-
libinfinity/common/inf-browser-iter.h | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
commit 42fedd0706d9ae74adddc14ebe734994fbb3d4f7
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Apr 7 11:48:29 2013 +0200
Add InfRequest interface
.../libinfinity/libinfinity-0.6-docs.sgml | 1 +
.../libinfinity/libinfinity-0.6-sections.txt | 13 +++
libinfinity/common/Makefile.am | 2 +
libinfinity/common/inf-browser-request.c | 15 +--
libinfinity/common/inf-request.c | 119 ++++++++++++++++++++
libinfinity/common/inf-request.h | 66 +++++++++++
6 files changed, 204 insertions(+), 12 deletions(-)
commit 3cb4273c325ed8199da14ec1133acabba1029fa6
Author: Armin Burgmeier <armin@arbur.net>
Date: Sat Apr 6 19:36:52 2013 +0200
Add inf_browser_is_subdirectory()
And check that a node is (not) a subdirectory in the other browser
functions.
libinfinity/common/inf-browser.c | 64 +++++++++++++++++++++++++++++++-------
libinfinity/common/inf-browser.h | 14 +++++----
2 files changed, 61 insertions(+), 17 deletions(-)
commit 6150df688133f2671cd5b89c9bbfc92af57e370a
Author: Armin Burgmeier <armin@arbur.net>
Date: Mon Feb 6 23:11:13 2012 +0100
Add unsubscribe-session signal to InfBrowser
libinfinity/common/inf-browser.c | 54 ++++++++++++++++++++++++++++++++++++++
libinfinity/common/inf-browser.h | 9 +++++++
2 files changed, 63 insertions(+)
commit 2b79c904bbec4219557487b1a908e0b91cc11cd3
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 22 23:22:33 2012 +0100
Add the InfBrowser interface
ChangeLog | 18 +-
.../libinfinity/libinfinity-0.6-docs.sgml | 3 +
.../libinfinity/libinfinity-0.6-sections.txt | 65 ++
libinfinity/common/Makefile.am | 6 +
libinfinity/common/inf-browser-iter.c | 98 ++
libinfinity/common/inf-browser-iter.h | 48 +
libinfinity/common/inf-browser-request.c | 165 ++++
libinfinity/common/inf-browser-request.h | 73 ++
libinfinity/common/inf-browser.c | 957 ++++++++++++++++++++
libinfinity/common/inf-browser.h | 291 ++++++
libinfinity/common/inf-discovery.h | 2 +-
libinfinity/inf-marshal.in | 1 +
12 files changed, 1723 insertions(+), 4 deletions(-)
commit c53f28a28c740ef187a864d2b00e40079c2a993d
Author: Armin Burgmeier <armin@arbur.net>
Date: Sun Jan 20 23:07:55 2013 +0100
Make infinoted log glib errors
Such as failed assertions or preconditions.
infinoted/infinoted-log.c | 44 ++++++++++++++++++++++++++++++++++++++++++++
infinoted/infinoted-log.h | 2 ++
2 files changed, 46 insertions(+)
2012-11-26 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_send_xml): Don't crash when the connection is
deleted during the sent callback.
2012-11-26 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.c: Fix assertion fail at drawing selection
of not yet fully synchronized document.
2012-11-11 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-log.c: Log an info message when a connection is
added or removed.
2012-11-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added connection-added and
connection-removed signals.
2012-11-10 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-log.h:
* infinoted/infinoted-log.c:
* infinoted/Makefile.am: Add a new object which encapsulates the
logging facilities in a class. It can additionally log to a file, and
it has an interface to monitor a InfdDirectory for "interesting"
events to happen that can then be logged (not implemented yet).
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c: Add a --log-path (-l) parameter
which, if given, specifies the path to a log file that is written to
in addition to logging to syslog and/or stderr.
* infinoted/infinoted-util.h:
* infinoted/infinoted-util.c: Remove logging functions from
infinoted-util.
* infinoted/infinoted-config-reload.c:
* infinoted/infinoted-dh-params.h:
* infinoted/infinoted-dh-params.c:
* infinoted/infinoted-directory-sync.h:
* infinoted/infinoted-directory-sync.c:
* infinoted/infinoted-note-plugin.h:
* infinoted/infinoted-note-plugin.c:
* infinoted/infinoted-main.c:
* infinoted/infinoted-pam.h:
* infinoted/infinoted-pam.c:
* infinoted/infinoted-run.c:
* infinoted/infinoted-signal.c:
* infinoted/infinoted-startup.h:
* infinoted/infinoted-startup.c: Migrate to new API.
2012-10-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Fix a crash that could
occur when it is noticed at send time that a connection is down.
* test/inf-test-mass-join.c:
* test/Makefile.am: Add a test which connects 128 users
simultaneously to an infinote server. Disconnecting all these users at
once is a way to reproduce the crash the above change fixes.
2012-10-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c (infc_browser_handle_explore_end):
Allow the browser to be disconnected during the request callback.
2012-06-09 Philipp Kern <phil@0x539.de>
* libinfinity/communication/inf-communication-method.c
(inf_communication_method_received): Do not return without a value
from a non-void function.
2012-06-02 Philipp Kern <phil@0x539.de>
* test/Makefile.am: Add non-interactive tests to `make check'.
(Except for text-replay, which takes a long time to complete and
needs additional CLI parameters.)
2012-06-02 Philipp Kern <phil@0x539.de>
* configure.ac: Check for libm for libinftextgtk (uses atan2, floor
and sin/cos).
2012-05-30 Colomban Wendling <ban@herbesfolles.org>
* libinfgtk/inf-gtk-browser-model.c:
* libinfinity/client/infc-browser.c:
* libinfinity/common/inf-xml-connection.c: InfXmlConnectionStatus,
InfcBrowserStatus and InfGtkBrowserModelStatus GType registration code
missed an array sentinel leading to GType reading invalid memory paste
the end of the array.
2012-05-13 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-simulated-connection.c
(inf_simulated_connection_set_property): Allow the value for PROP_IO
to be NULL. This is especially important to avoid a warning when the
connection is created without an InfIo object at all, since
set_property is called by GObject in this case with a NULL InfIo. This
is because PROP_IO is a G_PARAM_CONSTRUCT_ONLY property.
2012-05-13 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-recover.c:
* test/Makefile.am: Add inf-test-text-recover, a tool similar to
inf-test-text-replay which aims at recovering text from a record which
was, accidentally or not, deleted by a user.
2012-03-18 Philipp Kern <phil@0x539.de>
* libinfgtk.pc.in:
* libinftextgtk.pc.in: Reference the correct lib when built with Gtk3
support.
2012-03-18 Philipp Kern <phil@0x539.de>
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Reference the correct lib
when built with Gtk3 support.
2012-03-18 Philipp Kern <phil@0x539.de>
* test/Makefile.am: Reference the correct lib when built with Gtk3
support.
2012-03-17 Philipp Kern <phil@0x539.de>
* Makefile.am:
* configure.ac:
* libinfgtk/Makefile.am:
* libinftextgtk/Makefile.am: Rework Gtk3 support. libinfgtk and
libinftextgtk are renamed to libinfgtk3 and libinftextgtk3 when
Gtk3 support is requested. This is reflected in the library
names, pkg-config files, but not in the header subdirs. This does
mean that old binaries linked against a Gtk3 libinf(text)?gtk
will break. On the other hand this seems to be the better way
than breaking old binaries linked against a Gtk2 libinfgtk when
libinfinity is (re)built with Gtk3 support, given that Gtk3 support
is optional. Reverse dependencies also need to specify the Gtk3
variant explicitly by using the right pkg-config names.
2012-03-17 Philipp Kern <phil@0x539.de>
* INSTALL: Boilerplate content updated.
2012-02-07 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-manager.c
(inf_gtk_certificate_manager_certificate_func): Fix a crash when the
certificate has no hostname set.
2012-01-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-discovery.c: Indicate title and stability in
docs comment block.
2012-01-09 Dominique Leuenberger <dimstar@opensuse.org>
* infinoted/infinoted-creds.h:
* infinoted/infinoted-util.h:
* libinfinity/common/inf-xml-util.h: Fix compilation with glib 2.31.
2011-10-24 Fabian Henze <flyser42@gmx.de>
* infinoted/infinoted-autosave.h:
* infinoted/infinoted-autosave.c:
* infinoted/infinoted-directory-sync.h:
* infinoted/infinoted-directory-sync.c:
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c:
* infinoted/infinoted-run.c:
* infinoted/infinoted-config-reload.c: Added the autosave-hook and
sync-hook options.
2011-10-13 Philipp Kern <phil@0x539.de>
* infinoted/infinoted-0.6.man:
* infinoted/infinoted-options.c: State that sync interval is
in seconds.
2011-08-28 Philipp Kern <phil@0x539.de>
* infinoted/infinoted-0.6.man: Update whatis entry to be
actually useful.
2011-08-09 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c (inf_text_session_join_user): Set
caret position property correctly as given, and avoid a warning.
2011-08-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Fix a crash when the
initial message contains invalid UTF-8.
2011-08-01 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-config-reload.c (infinoted_config_reload):
Update directory sync on config reload.
2011-08-01 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-directory-sync.c
(infinoted_directory_sync_remove_session): Do not run into an
assertion failue if the removed session had a timeout running.
2011-08-01 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-standalone-io.c
(inf_standalone_io_iteration_impl): Wait for the earliest timeout, not
for the latest one.
2011-07-17 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-pam.c: Fix pam_appl.h include on MacOS X (#563,
nairboon).
2011-06-27 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-chunk.c: Use g_utf8_offset_to_pointer() instead
of iconv to determine the byte offset in a segment when the chunk is
UTF-8 encoded. This is a significant perforamnce improvement for long
segments.
2011-06-23 Philipp Kern <phil@0x539.de>
* configure.ac: Print if PAM support is enabled or not.
2011-06-19 Benjamin Herr <ben@0x539.de>
* libinfinity/server/infd-directory.c
(infd_directory_node_is_name_available): Disallow node names
containing non-printable or only space characters.
2011-06-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c
(infd_directory_node_is_name_available): Enable localization of two
error messages.
2011-06-14 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.h:
* libinftext/inf-text-session.c: Add inf_text_session_join_user()
convenience function.
2011-06-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c: When unlinking a session that
keep a weak reference to the session around, in order to re-use it
when it is needed again.
2011-06-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c (infd_directory_add_note): Do
not leak a reference on the subscription group.
2011-05-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c
(infd_directory_node_get_and_link_session): Only call
infd_directory_node_link_session() if the session is not yet linked,
otherwise an assertion fails. This could happen if the
infd_directory_iter_get_session() public API function was called
when the session existed already.
2011-03-27 Armin Burgmeier <armin@arbur.net>
* configure.ac: Post-release bump to 0.6.0
* docs/reference/libinfgtk/libinfgtk-0.6-docs.sgml:
* docs/reference/libinfgtk/libinfgtk-0.6-overrides.txt:
* docs/reference/libinfgtk/libinfgtk-0.6-sections.txt:
* docs/reference/libinfinity/libinfinity-0.6-docs.sgml:
* docs/reference/libinfinity/libinfinity-0.6-overrides.txt:
* docs/reference/libinfinity/libinfinity-0.6-sections.txt:
* docs/reference/libinftext/libinftext-0.6-docs.sgml:
* docs/reference/libinftext/libinftext-0.6-overrides.txt:
* docs/reference/libinftext/libinftext-0.6-sections.txt:
* docs/reference/libinftextgtk/libinftextgtk-0.6-docs.sgml:
* docs/reference/libinftextgtk/libinftextgtk-0.6-overrides.txt:
* docs/reference/libinftextgtk/libinftextgtk-0.6-sections.txt:
* infinoted/infinoted-0.6.man:
* infinoted/Makefile.am:
* libinfgtk/Makefile.am:
* libinfinity/Makefile.am:
* libinftext/Makefile.am:
* libinftextgtk/Makefile.am: Bump API version to 0.6.
2011-03-27 Armin Burgmeier <armin@arbur.net>
* === Released 0.5.0 ===
* NEWS: Update for release.
* infinoted/Makefile.am: Distribute the manpage since it is not
generated.
* docs/reference/Makefile.am:
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinfinity/Makefile.am;
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Fix make distcheck with
recent gtk-doc.
2011-02-23 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-note-plugin.h:
* libinfinity/server/infd-note-plugin.h: Add typedefs for the function
pointers used to be more friendly to binding generators.
2011-02-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-undo-grouping.c
(inf_adopted_undo_grouping_class_init): Fix struct offset of the
group_requests signal.
2011-01-30 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c (inf_text_session_get_xml_user_props):
If the "selection" attribute is not set, default to zero. Otherwise an
invalid selection might arise if the selection-length of a rejoined
user is kept but caret-position is set to another value.
2011-01-30 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.c
(inf_text_gtk_view_expose_event_after_cb): Add a few assertions to
make sure our internal state is OK.
2011-01-30 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-viewport.c
(inf_text_gtk_viewport_remove_user): Remove remote cursor position
indicator when the corresponding client leaves.
2011-01-30 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-viewport.c: Adapt remote cursor position
indicator when the scrollbar's adjustment changes. This happens for
example when GtkTextView lazily computes the height of the text.
2011-01-29 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-viewport.c: Fix display of remote cursor
position in scrollbar with GTK+ 3, and make the marker a bit nicer.
2011-01-29 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.c
(inf_text_gtk_view_expose_event_after_cb): With GTK+ 3, fix remote
cursors not being drawn if remote selections are not activated to be
drawn.
2011-01-23 Armin Burgmeier <armin@arbur.net>
* all source files: Add 2011 to copyright years.
2011-01-23 Armin Burgmeier <armin@arbur.net>
* configure.ac:
* libinfgtk.pc.in:
* libinftextgtk.pc.in: Add a gtk_version variable for pkg-config and
request the correct GTK+ version in the pkg-config file.
2011-01-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-group-private.h:
* libinfinity/communication/inf-communication-group.c: Add a private
_inf_communication_group_foreach_method() function.
* libinfinity/communication/inf-communication-method.h:
* libinfinity/communication/inf-communication-method.c:
* libinfinity/communication/inf-communication-central-method.c: Change
the return type of the _received vfunc to InfCommunicationScope,
returning the scope given by the InfCommunicationObject target.
* libinfinity/communication/inf-communication-registry.c
(inf_communication_registry_received_cb): Relay any received messages
with INF_COMMUNICATION_SCOPE_GROUP to connections in other networks of
the same group.
2011-01-17 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-undo-grouping.c: Fix two typos in comments.
2011-01-17 Armin Burgmeier <armin@arbur.net>
* README: Add new gthread-2.0 dependency to the README file.
2011-01-14 Philipp Kern <phil@0x539.de>
* infinoted/Makefile.am:
* infinoted/infinoted-0.5.man: add a manpage for infinoted
2011-01-01 Elliot Kroo <elliot.kroo@gmail.com>
* libinfinity/server/infd-filesystem-storage.c
(infd_filesystem_storage_remove_rec): If g_unlink fails with EPERM
then this can also mean that the file being unlinked is a directory,
so also try to recurse in this case. This fixes node removal on Mac OS
X.
2010-12-25 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-standalone-io.c: Don't confuse dispatch list
with timeout list on dispatch invocation.
* libinfinity/common/inf-sasl-context.h:
* libinfinity/common/inf-sasl-context.c:
* libinfinity/common/Makefile.am: Add InfSaslContext, which provides
a wrapper for Gsasl. It provides an asynchronous callback mechanism,
implemented via an extra thread for each authentication session.
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c:
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c:
* infinoted/infinoted-startup.h:
* infinoted/infinoted-startup.c:
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c:
* infinoted/infinoted-pam.h:
* infinoted/infinoted-config-reload.c: Replace Gsasl usage by
InfSaslContext and adapt to API changes.
2010-12-25 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_terminate): If sending an authentication abort,
then free the corresponding XML node afterwards.
* libinfinity/server/infd-directory.c (infd_directory_dispose): Free
the connections hash table.
* libinfinity/server/infd-filesystem-storage.c
(infd_filesystem_storage_storage_read_subdirectory): Close the DIR*
returned by fdopendir().
* infinoted/infinoted-run.c (infinoted_run_start): If the IPv6 server
could start but the IPv4 server couldn't (or vice versa), then still
free the error from the failing server.
2010-12-25 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-io.c: Fix a possible race condition.
2010-12-25 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.c
(inf_gtk_browser_view_browser_added): Remove two unused variables.
2010-12-25 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-standalone-io.c (inf_standalone_io_wakeup):
Make this actually work by writing to the writing end of the pipe, not
to the reading end.
2010-12-14 Felix Kaser <f.kaser@gmx.net>
* libinftextgtk/inf-text-gtk-hue-chooser.c: Use get_preferred_width
and get_preferred_height instead of size_request when building against
recent enough GTK+ 3, fixing the build.
2010-11-27 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-io.c (inf_gtk_io_dispatch_func): Fix a crash when
a dispatch handler is supposed to be called (Felix Kaser).
2010-11-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-simulated-connection.h:
* libinfinity/common/inf-simulated-connection.c: Add
INF_SIMULATED_CONNECTION_IO_CONTROLLED mode.
2010-11-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-simulated-connection.c
(inf_simulated_connection_connect): Improve the docs to make it clear
that the function needs only to be called once for both connections to
be connected to each other.
2010-11-24 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.c
(inf_gtk_browser_view_browser_added): Check for browser status to be
connected instead of connection status before doing initial root
exploration. Otherwise it can happen that the browser is not yet ready
for exploration in case it is still waiting for the server's welcome
message (Felix Kaser).
2010-11-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-certificate-chain.h:
* libinfinity/common/inf-chat-session.c:
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-io.h:
* libinfinity/common/inf-io.c:
* libinfinity/common/inf-local-publisher.h:
* libinfinity/common/inf-protocol.c:
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c:
* libinfinity/common/inf-xmpp-manager.c:
* libinfinity/communication/inf-communication-factory.h:
* libinfinity/communication/inf-communication-object.h:
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c:
* libinfinity/client/infc-explore-request.h:
* libinfinity/client/infc-explore-request.c:
* libinfinity/server/infd-directory.c:
* libinfinity/server/infd-session-proxy.c:
* libinfinity/adopted/inf-adopted-algorithm.c:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/adopted/inf-adopted-state-vector.c:
* libinfinity/adopted/inf-adopted-undo-grouping.c: Some documentation
fixes.
2010-11-01 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_sasl_error): Don't assert that sasl session is
set since it can happen that it isn't in case the SASL session cannot
be initiated.
2010-11-01 Armin Burgmeier <armin@arbur.net>
* libinfinity.pc.in:
* configure.ac: Require and link against gthread-2.0.
2010-10-31 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-record.c (infinoted_record_new): Initialize
the record->records list to NULL.
2010-10-31 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-io.h:
* libinfinity/common/inf-io.c: Change the watch interface slightly,
add inf_io_add_dispatch() and inf_io_remove_dispatch() and require
implementations to be thread-safe.
* libinfinity/common/inf-standalone-io.c:
* libinfgtk/inf-gtk-io.c: Adapt, and provide thread-safety.
* libinfinity/common/inf-init.c: Call g_thread_init as a part of the
libinfinity startup procedure.
* libinfinity/common/inf-discovery-avahi.c:
* libinfinity/common/inf-tcp-connection.c:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/client/infc-browser.c:
* libinfinity/server/infd-directory.c:
* libinfinity/server/infd-tcp-server.c:
* libinftext/inf-text-session.c:
* libinftextgtk/inf-text-gtk-view.c:
* infinoted/infinoted-signal.h:
* infinoted/infinoted-signal.c:
* infinoted/infinoted-autosave.c:
* infinoted/infinoted-directory-sync.c:
* test/inf-test-browser.c:
* test/inf-test-chat.c:
* test/inf-test-tcp-connection.c: Adapt to the API changes.
2010-10-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c (infc_browser_disconnected):
Discard the browser's chat session on disconnection.
2010-10-09 Armin Burgmeier <armin@arbur.net>
* test/inf-test-gtk-browser.c: Add a missing include.
2010-10-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_sax_end_element): Fix an assertion so that the
ending top-level tag is allowed not to be stream:stream if the
connection is going to be terminated. This can happen if the opening
and closing XML tag is sent in one go so that both are processed by
the parser. The XML handler for the start element will then terminate
the connection. Bug #546.
2010-10-03 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-central-method.c
(inf_communication_central_method_send_all): Make the code aware of
the send callback modifying the connection list.
2010-10-03 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-remote-delete-operation.c
(inf_text_remote_delete_operation_transform_split): When a remote
delete operation is splitted, make sure to keep the recon order in the
splitted operations. Also fix recon position index in the second
operation.
* test/session/test-53.xml:
* test/replay/replay-11.record.xml: Add a test and a record which make
libinfinity run into a failed assertion when reconstructing the delete
operation without this being fixed.
2010-10-02 Armin Burgmeier <armin@arbur.net>
* test/inf-test-gtk-browser.c (main): Allow to open connections via
their IP address when given as commandline arguments.
2010-10-02 Jesse van den Kieboom <jessevdk@gnome.org>
* libinfgtk/inf-gtk-browser-view.c:
* libinftextgtk/inf-text-gtk-hue-chooser.c:
* libinftextgtk/inf-text-gtk-view.c:
* libinftextgtk/inf-text-gtk-viewport.c: Adapt for latest GTK+3.
2010-09-21 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.h:
* libinftextgtk/inf-text-gtk-view.c: Add
inf_text_gtk_view_set_show_remote_cursors(),
inf_text_gtk_view_set_show_remote_selections() and
inf_text_gtk_view_set_show_remote_current_lines().
* libinftextgtk/inf-text-gtk-viewport.h:
* libinftextgtk/inf-text-gtk-viewport.c: Add
inf_text_gtk_viewport_set_show_user_markers().
2010-09-19 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.c:
* libinfgtk/inf-gtk-certificate-dialog.c:
* libinfgtk/inf-gtk-certificate-manager.c:
* libinfgtk/inf-gtk-chat.c:
* libinftextgtk/inf-text-gtk-hue-chooser.c: Fix the GTK+2 build (#545).
2010-09-19 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-main.c: Include <sys/types.h> and <sys/stat.h>,
so that umask() is available (fixes the build on Ubuntu).
2010-09-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-tcp-server.c (infd_tcp_server_io): Fix a
compiler warning.
2010-09-17 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.c:
* libinfgtk/inf-gtk-certificate-dialog.c:
* libinfgtk/inf-gtk-certificate-manager.c:
* libinfgtk/inf-gtk-chat.c:
* libinftextgtk/inf-text-gtk-hue-chooser.c: Adapt to recent changes in
GTK+ 3.
2010-08-22 Jesse van den Kieboom <jessevdk@gnome.org>
* libinfinity/common/inf-protocol.h:
* libinfinity/common/inf-protocol.c: Add
inf_protocol_get_default_port().
* infinoted/infinoted-options.c:
* test/inf-test-browser.c:
* test/inf-test-chat.c:
* test/inf-test-daemon.c: Make use of the new function instead of
hardcoding the port value.
2010-08-22 Jesse van den Kieboom <jessevdk@gnome.org>
* libinftextgtk/inf-text-gtk-hue-chooser.c
(inf_text_gtk_hue_chooser_realize): Set correct user_data for correct
window, fixing the behavior of the hue chooser.
2010-08-15 Armin Burgmeier <armin@arbur.net>
* configure.ac: Added a --with-gtk3 switch which makes libinfgtk and
libinftexgtk build against GTK+ 3.
* libinfgtk/inf-gtk-browser-model-filter.h:
* libinfgtk/inf-gtk-browser-model-sort.h:
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-store.h:
* libinfgtk/inf-gtk-browser-store.c:
* libinfgtk/inf-gtk-browser-view.h:
* libinfgtk/inf-gtk-browser-view.c:
* libinfgtk/inf-gtk-certificate-dialog.c:
* libinfgtk/inf-gtk-certificate-manager.c:
* libinfgtk/inf-gtk-certificate-view.c:
* libinfgtk/inf-gtk-chat.c:
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-hue-chooser.h:
* libinftextgtk/inf-text-gtk-hue-chooser.c:
* libinftextgtk/inf-text-gtk-view.h:
* libinftextgtk/inf-text-gtk-view.c:
* libinftextgtk/inf-text-gtk-viewport.h:
* libinftextgtk/inf-text-gtk-viewport.c: Make libinfgtk and
libinftextgtk compile with GTK+ 3. This involves adhering to the
single include policy and replacing some sealed struct member accesses
with their corresponding accessor functions.
2010-08-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-session.c (inf_chat_session_user_join,
inf_chat_session_user_part): Set correct flags for userjoin and
userpart messages.
2010-08-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-session.c
(inf_chat_session_to_xml_sync): Fix sending chat backlog to clients
which was broken since 2010-03-12.
2010-08-15 Armin Burgmeier <armin@arbur.net>
* test/inf-test-gtk-browser.c: Fixed a crash when closing the chat
or session window while joining. Also do not attempt to rejoin with
the same user name all the time if the user name is in use already.
2010-08-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-tcp-server.c: Add debugging code to observe
badly-behaving accept(). There was a case where accept() returned a
valid but non-connected socket which brought down the infinoted server
due to getpeername failing. I want to find out more about when exactly
this happens and how this can be catched instead of just fixing the
symptoms.
2010-06-25 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added
inf_text_gtk_buffer_get_user_for_tag().
2010-06-05 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-move-operation.c
(inf_text_move_operation_transform_insert,
inf_text_move_operation_transform_delete): Make the delete
transformation work correctly when deleting characters from within the
selection, make the insert transformation not expand the selection
when inserting at the selection bounds.
2010-06-05 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.c:
* libinftextgtk/inf-text-gtk-viewport.c: Avoid use of symbols not
available in GTK+ 2.12.
2010-06-04 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Remove the VOID:UINT,UINT,OBJECT
marshaller.
* libinftext/inf-text-buffer.h:
* libinftext/inf-text-buffer.c: Rename the insert-text and erase-text
signals to text-inserted and text-erased, and make them RUN_FIRST
signals. This does not require the signal to be emitted to insert or
remove text, but if a modification to the buffer happens externally
then the signal can (and should!) still be emitted afterwards. Also,
turn the lengeth parameter of the text-erased signal to a
InfTextChunk* chunk parameter, so that it is still possible to find
out what text was deleted afterwards.
* libinftextgtk/inf-text-gtk-buffer.c: Do not stop emission of
GtkTextBuffer's insert-text and delete-range signals in our signal
handlers. This allows other signal handlers to rely on proper signal
emission and makes us handle recursive emissions correctly.
* libinftext/inf-text-default-buffer.c:
* libinftext/inf-text-session.c:
* infinoted/infinoted-directory-sync.c: Adapt for the API change.
2010-05-21 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-util.h:
* infinoted/infinoted-util.c: Replaced
infinoted_util_set_daemon_pid_file_proc() by
infinoted_util_daemon_set_global_pid_file_proc(),
infinoted_util_daemon_set_local_pid_file_proc(). Also add
infinoted_util_daemon_pid_file_kill().
* infinoted-main.c:
* infinoted-options.c: Instead of setting the PID file directory
directly, first try the global one and if that fails use the local
one. This avoids a race condition which resulted from the previous use
of access() to check whether the PID file directory is writable.
These changes also fix a bug which prevented infinoted to launch in
daemonized mode when the global PID file directory did not exist.
2010-05-08 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-options.c: Include signal.h to fix the build on
Debian Lenny (#537).
2010-03-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-buffer.h:
* libinfinity/common/inf-chat-buffer.c: Added a flags field to
InfGtkChatBufferMessage indicating whether a message is a backlog
message or not.
* libinfgtk/inf-gtk-chat.c: Show backlog messages also if chat session
is attached to widget after synchronization.
* libinfinity/common/inf-chat-session.c:
* test/inf-test-chat.c: Adapt for API changes.
2010-03-12 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-chat.c (inf_gtk_chat_init): Fix a typo in a
comment.
2010-03-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/comon/inf-chat-buffer.c (inf_chat_buffer_get_message):
Reversed the order in which messages are returned, so that the
function does what the docs say.
* libinfinity/common/inf-chat-session.c
(inf_chat_session_to_xml_sync): Adapt to the API change.
2010-03-05 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-main.c: Call umask(077) explicitly after
forking since libdaemon < 0.14 sets the mask to 0777.
2010-03-02 Eike Siewertsen <e.siew@londeroth.org>
* autogen.sh: Check for glibtoolize from OSX in addition to libtoolize
* libinfinity/server/infd-filesystem-storage.c: use fdopendir
work-around on Apple systems, too
2010-02-27 Armin Burgmeier <armin@arbur.net>, Benjamin Herr <ben@0x539.de>
* libinftextgtk/inf-text-gtk-view.c: Fix rendering multi-selections
far down a document, slightly increased minimum value of selection
colors.
2010-02-26 Armin Burgmeier <armin@arbur.net>
* test/inf-test-reduce-replay.c: Make this compile on Windows (but
not work yet).
2010-02-26 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-viewport.c: Fix redraw bugs.
2010-02-25 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/Makefile.am:
* libinftextgtk/inf-text-gtk-viewport.h:
* libinftextgtk/inf-text-gtk-viewport.c: Added InfTextGtkViewport,
showing remote users' cursor positions in the scrollbar.
* test/inf-test-gtk-browser.c: Show the functionality in
inf-test-gtk-browser.
2010-02-21 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.c: Highlight current line of remote
users.
2010-02-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-session-proxy.c: Improved docs for
infc_session_proxy_join_user().
2010-02-19 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.c: Take TextView's left and right
margin into account when drawing remote selections.
2010-02-19 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-replay.c: Don't play the first argument N times
but every argument once.
2010-02-18 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.c: Show remote selections.
2010-02-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in:
* libinftext/inf-text-user.h:
* libinftext/inf-text-user.c: Added a by_request parameter to the
selection-changed signal.
* libinftext/inf-text-move-operation.c:
* libinftext/inf-text-session.c:
* libinftextgtk/inf-text-gtk-buffer.c:
* libinftextgtk/inf-text-gtk-view.c: Adapt for the API change.
2010-02-15 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.c
(inf_text_gtk_view_user_invalidate_cursor_rect): Convert to window
coordinates before invalidating.
2010-02-15 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.c
(inf_text_gtk_view_set_active_user): Readd previously active user
correctly to list of users to track.
2010-02-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Added
inf_xmpp_connection_get_tls_enabled() and the "tls-enabled" property.
2010-02-14 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added
inf_text_gtk_buffer_is_author_toggle(),
inf_text_gtk_buffer_forward_to_author_toggle() and
inf_text_gtk_buffer_backward_to_tag_toggle().
2010-02-14 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added the "show-user-colors"
property and accessor functions.
2010-02-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-session-proxy.c
(infc_session_proxy_unsubscribe_connection): Only send the
"session-unsubscribe" message if the connection is still open.
We might get to this point with a closed connection if a
status::notify signal handler closes the session explicitely before
our own signal handler ran (Jesse van den Kieboom).
2010-02-13 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c
(inf_text_session_validate_user_props): Fix error domain for the
"'caret' attribute is missing" error.
2010-02-13 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-view.h:
* libinftextgtk/inf-text-gtk-view.c:
* libinftextgtk/Makefile.am: Added InfTextGtkView, a class which draws
remote cursors in a GtkTextView.
* test/inf-test-gtk-browser.c: Make this show remote cursors.
2010-02-13 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-store.c: When emitting
"has_child_toggled" after the last node has been removed from a
directory make sure that gtk_tree_model_iter_has_child() returns
FALSE, and also that the other tree model functions skip the node to
be removed.
2010-02-13 Jesse van den Kieboom <jessevdk@gnome.org>
* libinfgtk/inf-gtk-browser-store.c:
* libinfgtk/inf-gtk-browser-store.h: Added
inf_gtk_browser_store_set_connection_name() and
inf_gtk_browser_store_clear_connection_error().
2010-02-13 Jesse van den Kieboom <jessevdk@gnome.org>
* libinfgtk/inf-gtk-browser-store.c:
* libinfgtk/inf-gtk-browser-store.h: Added
inf_gtk_browser_store_remove_connection().
2010-02-13 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c:
* infinoted/infinoted-pam.c: Fixed compiler warnings.
2010-02-12 Armin Burgmeier <armin@arbur.net>
* all source files: Added 2010 to copyright years.
2010-02-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added
infd_directory_foreach_connection().
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added
INF_AUTHENTICATION_DETAIL_ERROR_TRY_AGAIN.
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Added
inf_xmpp_connection_reset_sasl_authentication(), implement gracefully
abort of authentication.
* infinoted/infinoted-config-reload.c: Set new SASL context and
mechanisms for existing connections.
2010-02-11 Armin Burgmeier <armin@arbur.net>
* configure.ac: Use AC_USE_SYSTEM_EXTENSIONS, bump autoconf
requirement to 2.60 to be able to make use of it. Check whether
dirent.d_type and PAM_FAIL_DELAY exist.
* libinfinity/server/infd-directory.c: Include config.h instead of
defining _GNU_SOURCE manually, do lstat if d_type does not exist.
* infinoted/infinoted-pam.c: Only set fail delay if
HAVE_PAM_FAIL_DELAY is set.
2010-02-11 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.c
(inf_gtk_browser_view_status_icon_data_func,
inf_gtk_browser_view_status_data_func): Handle
INF_GTK_BROWSER_MODEL_DISCONNECTED in switch, to avoid a crash when
adding disconnected connections to the browser (Jesse van den
Kieboom).
2010-02-10 Benjamin Herr <ben@0x539.de>, Armin Burgmeier <armin@arbur.net>
* configure.ac: Check for SO_REUSEADDR.
* libinfinity/server/infd-tcp-server.c: Set SO_REUSEADDR before
calling bind() on server sockets. Also do not call
infd_tcp_server_close() on error in infd_tcp_server_open() if the
socket was bound already.
* infinoted/infinoted-run.c: Only log errors on server startup if
neither ipv4 nor ipv6 servers could be started. This is because
SO_REUSEADDR apparently makes bind() work for both variants on the
same port even though a later listen() call will definitely fail.
2010-02-09 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-options.c:
* infinoted/infinoted-startup.c: Fix stupid compilation errors without
LIBINFINITY_HAVE_PAM.
2010-02-09 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c: Properly set GError in for invalid
authentication-related options in infinoted_options_validate() so
that for example config-reloading knows what is up.
2010-02-09 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-config-reload.c: Properly require authentication
mechanism specified from newly loaded configuration.
2010-02-09 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-startup.c: Changed sasl callback to provide
proper authentication error detail for server password authentication.
2010-02-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added
INF_DIRECTORY_ERROR_NO_STORAGE.
* libinfinity/server/infd-directory.c: Allow to pass NULL storage to
directory in which case all nodes are kept in memory.
2010-02-07 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-replay.c
(inf_test_text_replay_apply_operation_to_string): Handle the operation
being a split operation, and apply both parts of it to the string in
that case.
* test/replay/replay-10.record.xml: Added a replay which requires this
functionality.
2010-02-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-operation.c
(inf_adopted_operation_get_concurrency_id): If the second operation is
a split operation, then call the function on it, and reverse the
result. This prevents every subclass to have to take that case into
account.
* libinfinity/adopted/inf-adopted-split-operation.c
(inf_adopted_split_operation_get_concurrency_id): If both parts of the
split operation agree, then return that. If one is none and the other
has a decision, then return that decision. Only error out if the two
IDs are contradictory.
* test/replay/replay-08.record.xml:
* test/replay/replay-09.record.xml: Added two records where
get_concurrency_id for InfAdoptedSplitOperation is required (08 is a
cut-down version of 09).
2009-12-28 Armin Burgmeier <armin@arbur.net>
* test/inf-test-reduce-replay.c:
* test/Makefile.am: Added a tool to reduce a erroneous replay to a
minimal testcase.
2009-12-27 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-replay.c: Reimplement using
InfAdoptedSessionReplay.
2009-12-26 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session-replay.h:
* libinfinity/adopted/inf-adopted-session-replay.c:
* libinfinity/adopted/Makefile.am: Added the InfAdoptedSessionReplay
class, which can be used to replay a session recorded with
InfAdoptedSessionRecord.
* libinfinity/adopted/inf-adopted-session-record.c: Add a reference to
InfAdoptedSessionReplay in the docs.
2010-01-31 Benjamin Herr <ben@0x539.de>, Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Rename InfPostAuthenticationError to
InfAuthenticationDetailError, added
INF_AUTHENTICATION_DETAIL_ERROR_AUTHENTICATION_FAILED.
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c: Removed user-authenticated
signals. Instead, allow the gsasl callback to use the new function
inf_xmpp_connection_set_sasl_error() to provide further information
regarding the failed authentication, which is sent to the clientside
and can be queried, for example in error callbacks, on either side
with inf_xmpp_connection_get_sasl_error(). The callback now needs to
explicitly use inf_xmpp_connection_retry_sasl_authentication() to
restart the authentication process. To make that possible, the client
will now remember what sasl mechanisms are supported by the server.
* infinoted/infinoted-config-reload.c:
* infinoted/infinoted-pam.h:
* infinoted/infinoted-pam.c:
* infinoted/infinoted-run.c:
* infinoted/infinoted-startup.c: Adapt to the above API changes.
2010-01-29 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-pam.c: Abort checking all groups early when an
error happens even if the caller does not care, also localise strings
properly and use proper quotation marks.
2010-01-29 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c:
* infinoted/infinoted-pam.c: When an error happens while checking on
a user after authentication, log it and also let the user know that
something went wrong.
2010-01-28 Benjamin Herr <ben@0x539.de>
* libinfinity/server/infd-xmpp-server.c: Properly disconnect the
post-auth signal handler when the server goes away before the
connection either goes away or is done authenticating.
2010-01-27 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-xmpp-connection.c: Handle post-auth error
separately from auth error and emit it instead of generic auth error.
2010-01-27 Benjamin Herr <ben@0x539.de>
* infinoted/Makefile.am:
* infinoted/infinoted-startup.c:
* infinoted/infinoted-pam.h:
* infinoted/infinoted-pam.c: Shuffled pam functions into their own
header and translation unit.
* infinoted/infinoted-config-reload.c:
* infinoted/infinoted-run.c: Connect the pam postauthentication
callback to each new InfdXmppServer so that it might disallow clients
that have been authenticated.
2010-01-27 Benjamin Herr <ben@0x539.de>
* libinfinity/inf-marshal.in:
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Added user-authenticated
signal that is emitted right before sasl authentication is finished
successfully to give a last chance to interrupt it.
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c: Added
connection-user-authenticated signal that is emitted whenever the
above signal is emitted for any connection to this server.
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added PostAuthentication error
domain for authentication failures that happen during the above
signals.
2010-01-23 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c:
* infinoted/infinoted-startup.c: Added support for specifying a
limited set of system users or groups that will be accepted after
pam authentication.
* libinfinity/common/inf-xmpp-connection.c: Added a todo comment that
should probably be taken care of for the above changes not to suck.
2010-01-20 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-config-reload.c:
* infinoted/infinoted-startup.c:
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c: --pam is now --pam-service and
requires an argument instead of using a gentoo-specific default; added
the password pam options to config reloading.
2010-01-20 Benjamin Herr <ben@0x539.de>
* configure.ac:
* libinfinity/inf-config.h.in:
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c:
* infinoted/infinoted-startup.c: Add option to use pam to check
passwords instead of providing a server-wide one. No support for only
allowing certain users yet.
2010-01-27 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-xml-util.h:
* libinfinity/common/inf-xml-util.c: Added
inf_xml_util_new_{error,node}_from_{node,error}() functions for
[de]serializing GErrors to xml.
* libinfinity/common/inf-session.c:
* libinfinity/server/infd-directory.c:
* libinfinity/server/infd-session-proxy.c: Partially replaced manual
[de]serializing of GErrors to xml with the above functions.
2010-01-22 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-run.c (infinoted_run_free): Avoid a runtime
warning when freeing the InfinotedRun without having started it.
2010-01-11 Armin Burgmeier <armin@arbur.net>
* test/inf-test-browser.c:
* test/inf-test-chat.c: Check the result of fgets(). Bug #523 (Philipp
Kern).
2010-01-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added
infc_browser_iter_is_valid(). Initial patch by Simon Veith.
2010-01-02 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-user.h:
* libinftext/inf-text-user.c: Added inf_text_user_new(), to ease
language bindings.
2009-12-25 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-undo-grouping.c
(inf_adopted_undo_grouping_execute_request_cb): Also do cleanup if the
request does not affect the buffer, but it was issued by the undo
grouping's user. In that case that user's vector time increases, which
might cause requests being dropped from its request log.
* test/replay/replay-07.record.xml: Added a replay in which this
caused a problem.
2009-12-24 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-undo-grouping.c
(inf_adopted_undo_grouping_cleanup): Don't throw away requests
prematurely, which might result in a failed assertion later when they
are needed. This happened when undoing a large number of requests.
* test/replay/replay-06.record.xml: Added a replay in which this
scenario occurs.
2009-12-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-cert-util.h:
* libinfinity/common/inf-certificate-chain.h:
* libinfinity/common/inf-certificate-credentials.h:
* libinfinity/common/inf-error.c:
* libinfinity/common/inf-init.c:
* libinfinity/common/inf-ip-address.c:
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/server/infd-xmpp-server.h:
* libinfgtk/inf-gtk-certificate-view.h: Include <unistd.h> before
including <gnutls.h>, to make sure the definition of ssize_t is
available also when compiling with MSVC.
* libinfinity/common/inf-tcp-connection.c:
* libinfinity/server/infd-tcp-server.c:
* libinfinity/server/infd-filesystem-storage.c: #ifdef-out some
variables not needed on Windows.
* win32/libinfinity/libinfinity.def:
* win32/libinftext/libinftext.def:
* win32/libinfgtk/libinfgtk.def:
* win32/libinftextgtk/libinftextgtk.def: Added module definition files
to create proper import libraries with MSVC.
* win32/libinfinity/inf-config.h:
* win32/libinfinity/inf-marshal.h:
* win32/libinfinity/inf-marshal.c:
* win32/config.h: Add static versions of files that would otherwise be
generated at the configure step, in order to be able to build
libinfinity with MSVC.
* win32/unistd.h: Added fake unistd.h, declaring ssize_t.
* win32/libinfinity/libinfinity.vcproj:
* win32/libinftext/libinftext.vcproj:
* win32/libinfgtk/libinfgtk.vcproj:
* win32/libinftextgtk/libinftextgtk.vcproj: Added MSVC project files
for libinfinity.
* win32/inf-test-browser/inf-test-browser.vcproj:
* win32/inf-test-chat/inf-test-chat.vcproj:
* win32/inf-test-chunk/inf-test-chunk.vcproj:
* win32/inf-test-daemon/inf-test-daemon.vcproj:
* win32/inf-test-gtk-browser/inf-test-gtk-browser.vcproj:
* win32/inf-test-state-vector/inf-test-state-vector.vcproj:
* win32/inf-test-tcp-connection/inf-test-tcp-connection.vcproj:
* win32/inf-test-tcp-server/inf-test-tcp-server.vcproj:
* win32/inf-test-text-cleanup/inf-test-text-cleanup.vcproj:
* win32/inf-test-text-operations/inf-test-text-operations.vcproj:
* win32/inf-test-text-replay/inf-test-text-replay.vcproj:
* win32/inf-test-text-session/inf-test-text-session.vcproj:
* win32/inf-test-xmpp-connection/inf-test-xmpp-connection.vcproj:
* win32/inf-test-xmpp-server/inf-test-xmpp-server.vcproj: Added MSVC
project files for its tests.
* win32/libinfinity.sln: Added a MSVC solution file containing all the
project files mentioned above.
2009-12-22 Armin Burgmeier <armin@arbur.net>
* test/Makefile.am: Added inf-test-xmpp-server to build.
* test/inf-test-xmpp-server.c: Adapt to latest libinfinity API.
2009-12-20 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-replay.c: Set connection for users that joined
later in the replay, to avoid the request being rejected.
2009-12-19 Armin Burgmeier <armin@arbur.net>
* configure.ac: Post-release bump to 0.5.0.
* docs/reference/libinfinity/libinfinity-0.5-docs.sgml:
* docs/reference/libinfinity/libinfinity-0.5-overrides.txt:
* docs/reference/libinfinity/libinfinity-0.5-sections.txt:
* docs/reference/libinftext/libinftext-0.5-docs.sgml:
* docs/reference/libinftext/libinftext-0.5-overrides.txt:
* docs/reference/libinftext/libinftext-0.5-sections.txt:
* docs/reference/libinfgtk/libinfgtk-0.5-docs.sgml:
* docs/reference/libinfgtk/libinfgtk-0.5-overrides.txt:
* docs/reference/libinfgtk/libinfgtk-0.5-sections.txt:
* docs/reference/libinftextgtk/libinftextgtk-0.5-docs.sgml:
* docs/reference/libinftextgtk/libinftextgtk-0.5-overrides.txt:
* docs/reference/libinftextgtk/libinftextgtk-0.5-sections.txt:
* infinoted/Makefile.am:
* libinfgtk/Makefile.am:
* libinfinity/Makefile.am:
* libinftext/Makefile.am:
* libinftextgtk/Makefile.am: Bump API version to 0.5.
2009-12-19 Armin Burgmeier <armin@arbur.net>
* === Released 0.4.0 ===
* NEWS: Update for release.
2009-12-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Track used SASL mechanism,
instead of using gsasl_mechanism_name(), since the latter is only
available since gsasl 0.2.28.
2009-12-19 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-util.c (infinoted_util_logv): On Windows,
convert the output from UTF-8 to the character set of the console.
2009-12-19 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-directory-sync.c
(infinoted_directory_sync_add_session): Fix the build on Windows.
2009-12-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-session.c
(inf_chat_session_receive_message): Accept messages not issued from
the corresponding's user's connection on synchronization.
2009-12-19 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-manager.c: Change the wording of the
check button in the certificate dialog, to make clear that it only
affects whether to trust the certificate.
2009-12-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-session.c:
* libinfinity/adopted/inf-adopted-session.c: Deny operation if the
user has not joined from the connection from which the request is
received.
2009-12-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c: Added a TODO comment
about not considering translation against inactive users.
2009-12-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-filesystem-storage.c
(infd_filesystem_storage_open): Specify O_CREAT when opening the file
in writing mode.
2009-12-18 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-directory-sync.h:
* infinoted/infinoted-directory-sync.c:
* infinoted/Makefile.am: Added a new object which synchronizes the
document tree to disk.
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c: Added the --sync-directory and
--sync-interval command line and config file options.
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Create a InfinotedDirectorySync in case
the corresponding options were provided. Bug #428.
2009-12-18 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-buffer.c (inf_text_buffer_create_iter): Fixed a
typo in a documentation string.
2009-12-18 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added
inf_text_gtk_buffer_show_user_colors().
2009-12-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-filesystem-storage.c
(infd_filesystem_storage_storage_read_subdirectory): If readdir_r does
not report the type of the enumerated file, then find it out via
lstat().
2009-12-18 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-signal.c: Replace C++ style comments by C style
comments.
* infinoted/infinoted-option.c: Fix #ifdef check, to avoid a warning.
2009-12-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c:
* libinfinity/server/infd-xmpp-server.c: #undef ERROR on Windows. Some
crazy Windows header defines it, but we want to use it as an
identifier.
* infinoted/infinoted-options.c:
* infinoted/infinoted-signal.c:
* infinoted/infinoted-util.c: Fix the build on Windows.
2009-12-16 Benjamin Herr <ben@0x539.de>
* libinfinity/server/infd-filesystem-storage.c: Try to ignore symlinks
when reading directories or opening files.
2009-12-15 Benjamin Herr <ben@0x539.de>
* ChangeLog:
* infinoted/infinoted-config-reload.c:
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c:
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c:
* infinoted/infinoted-startup.h:
* infinoted/infinoted-startup.c: Enable requiring authentication via
SASL PLAIN, giving a server-wide password via startup options.
* libinfinity/common/inf-xmpp-connection.c: Perform multiple
authentication attempts.
2009-12-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_notify_status_cb): Reset priv->position when the
TCP connection was closed.
(inf_xmpp_connection_clear): Reset priv->pull_data and priv->pull_len.
2009-12-14 Armin Burgmeier <armin@arbur.net>
* infinoted/Makefile.am: Create PID file directory via an empty _DATA
variable, for make distcheck to pass.
2009-12-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c: Reset exploration flag for root
node.
* libinfinity/common/inf-xmpp-manager.h:
* libinfinity/common/inf-xmpp-manager.c: Keep closed connections,
handle changing addresses or ports.
* libinfinity/common/inf-xml-connection.h:
* libinfinity/common/inf-xml-connection.c: Added
inf_xml_connection_open(), and a corresponding vfunc.
* libinfinity/common/inf-xmpp-connection.c: Implement
inf_xml_connection_open().
* libinfinity/common/inf-discovery-avahi.c: Reopen existing
connections, if any, instead of opening new connections.
* libinfgtk/inf-gtk-browser-view.c: Reconnect when double-clicking an
item with a disconnected browser.
* libinfgtk/inf-gtk-browser-store.c: Keep undiscovered items if they
have browser or error set.
2009-12-14 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-manager.c: Don't complain about a
certificate having changed if the new certificate was issued by a CA.
2009-12-12 Benjamin Herr <ben@0x539.de>
* configure.ac: Added AM_SILENT_RULES, defaulting to off.
* docs/reference/libinfinity/Makefile.am:
* infinoted/infinoted-autosave.c:
* infinoted/infinoted-note-plugin.c:
* infinoted/infinoted-options.c:
* infinoted/infinoted-record.c:
* infinoted/infinoted-startup.c:
* infinoted/note-plugins/text/infd-note-plugin-text.c:
* libinfgtk/inf-gtk-browser-model-filter.c:
* libinfgtk/inf-gtk-browser-model-sort.c:
* libinfgtk/inf-gtk-browser-store.c:
* libinfgtk/inf-gtk-browser-view.c:
* libinfgtk/inf-gtk-certificate-dialog.c:
* libinfgtk/inf-gtk-certificate-manager.c:
* libinfgtk/inf-gtk-chat.c:
* libinfinity/Makefile.am:
* libinfinity/adopted/inf-adopted-algorithm.c:
* libinfinity/adopted/inf-adopted-request-log.c:
* libinfinity/adopted/inf-adopted-session-record.c:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/adopted/inf-adopted-split-operation.c:
* libinfinity/adopted/inf-adopted-state-vector.c:
* libinfinity/adopted/inf-adopted-undo-grouping.c:
* libinfinity/client/infc-browser.c:
* libinfinity/client/infc-request-manager.c:
* libinfinity/client/infc-session-proxy.c:
* libinfinity/common/Makefile.am:
* libinfinity/common/inf-chat-buffer.c:
* libinfinity/common/inf-chat-session.c:
* libinfinity/common/inf-session.c:
* libinfinity/common/inf-tcp-connection-private.h:
* libinfinity/common/inf-tcp-connection.c:
* libinfinity/common/inf-user-table.c:
* libinfinity/common/inf-user.h:
* libinfinity/common/inf-user.c:
* libinfinity/common/inf-xml-util.c:
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/common/inf-xmpp-manager.c:
* libinfinity/inf-communication-central-method.c:
* libinfinity/communication/inf-communication-group.c:
* libinfinity/communication/inf-communication-joined-group.c:
* libinfinity/communication/inf-communication-manager.c:
* libinfinity/communication/inf-communication-registry.c:
* libinfinity/inf-i18n.c:
* libinfinity/inf-signals.h:
* libinfinity/inf-signals.c:
* libinfinity/server/infd-directory.c:
* libinfinity/server/infd-filesystem-storage.c:
* libinfinity/server/infd-server-pool.c:
* libinfinity/server/infd-session-proxy.c:
* libinfinity/server/infd-tcp-server.c:
* libinfinity/server/infd-xmpp-server.c:
* libinftext/inf-text-chunk.c:
* libinftext/inf-text-default-buffer.c:
* libinftext/inf-text-default-delete-operation.c:
* libinftext/inf-text-default-insert-operation.c:
* libinftext/inf-text-move-operation.c:
* libinftext/inf-text-remote-delete-operation.c:
* libinftext/inf-text-session.c:
* libinftext/inf-text-undo-grouping.c:
* libinftextgtk/inf-text-gtk-buffer.c:
* libinftextgtk/inf-text-gtk-hue-chooser.c:
* test/inf-test-browser.c:
* test/inf-test-chat.c:
* test/inf-test-gtk-browser.c:
* test/inf-test-tcp-connection.c:
* test/inf-test-xmpp-connection.c:
* test/util/inf-test-util.c: Fixed warnings.
To that effect, introduced wrappers for glib functions with funny
types and did a lot of casting-const-away or casting between object
pointers and function pointers with more indirection, so that gcc
would not notice it, and a few other minor changes. Also some
whitespace. Everything appears to build with -Werror now for at least
the following CFLAGS: -pedantic -ansi -Wall -Wextra -Wwrite-strings
-Wpointer-arith -Wcast-qual -Wno-missing-field-initializers
-Wdeclaration-after-statement -Wbad-function-cast -Wstrict-prototypes
-Wmissing-prototypes -Wmissing-declarations -Wnested-externs
-Waggregate-return -Wno-unused-parameter.
2009-12-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-method.h:
* libinfinity/communication/inf-communication-method.c:
* libinfinity/communication/inf-communication-group.h:
* libinfinity/communication/inf-communication-group.c: Removed the
except parameter for sending a message to the whole group.
* libinfinity/communication/inf-communication-central-method.c: Adapt.
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Removed the except parameter for
inf_session_send_to_subscriptions().
* libinfinity/common/inf-chat-session.c:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/server/infd-session-proxy.c:
* libinftext/inf-text-session.c:
* test/inf-test-text-replay.c: Adapt.
2009-12-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:OBJECT,UINT marshaller.
* libinfinity/server/infd-session-proxy.h:
* libinfinity/server/infd-session-proxy.c:
* libinfinity/server/infd-directory.c: Send seqs in the form
"seq-id/seq-num". This allows to send the same message to the whole
group, not requiring an extra message for the host which issued the
request. Added the seq_id parameter to InfdSessionProxy's
add-subscription signal.
* libinfinity/client/infc-request-manager.h:
* libinfinity/client/infc-request-manager.c:
* libinfinity/client/infc-session-proxy.h:
* libinfinity/client/infc-session-proxy.c:
* libinfinity/client/infc-browser.c: Correctly deal with this kind of
seqs; pass sequence-id from welcome message to request manager and
session proxy and added the sequence-id property for
InfcRequestManager.
2009-12-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added
INF_DIRECTORY_ERROR_NO_WELCOME_MESSAGE and
INF_DIRECTORY_ERROR_VERSION_MISMATCH error codes.
* libinfinity/common/inf-protocol.h:
* libinfinity/common/inf-protocol.c:
* libinfinity/common/Makefile.am: Added this new file containing
common protocol properties used by both client and server. Currently
contains a function returning the Infinote protocol version
implemented by libinfinity, and a function to split the version
string.
* libinfinity/server/infd-directory.c: Send a welcome message to the
client, telling it the protocol version the server uses and a sequence
identifier.
* libinfinity/client/infc-browser.c: Only activate itself after the
welcome message was received, produce an error if it did not arrive
after 5 seconds. Remember the sequence identifier which will be used
in a followup patch.
2009-12-10 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-error.c: Include gsasl.h so that
gsasl_strerror() is not assumed to return int and consequently works
on non-32bit platforms, fixing a crash.
2009-12-10 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-config-reload.c:
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c:
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c:
* infinoted/infinoted-startup.h:
* infinoted/infinoted-startup.c: Added --password/-P option to require
a password from clients via GNU SASL 'PLAIN' authentication.
2009-12-10 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Add public inf_gsasl_error_quark(),
inf_gsasl_set_error() for error codes returned from GNU GSASL
functions.
* libinfinity/common/inf-xmpp-connection.c: Use
inf_gsasl_error_set_error() instead of manually setting errors for
gsasl error codes.
2009-12-10 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-tcp-connection.h:
* libinfinity/common/inf-tcp-connection.c: Add functions to create new
connections: inf_tcp_connection_new(),
inf_tcp_connection_new_and_open().
* libinfinity/common/inf-discovery-avahi.c:
* test/inf-test-browser.c:
* test/inf-test-chat.c:
* test/inf-test-tcp-connection.c:
* test/inf-test-xmpp-connection.c:
* libinfinity/common/inf-tcp-connection.c: Use
inf_tcp_connection_new(), inf_tcp_connection_new_and_open() instead of
manually creating new InfTcpConnection objects.
2009-12-08 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c (inf_text_session_remove_local_user):
Fix a crash a user's selection changes after it becomes non-local.
2009-12-08 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c
(inf_text_gtk_buffer_set_modified): Notify the "modified" property.
2009-12-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c: Move root node destruction to
finalize.
2009-12-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added the "status" property,
infc_browser_get_status() and the "error" signal. Keep connection
around if it is closed, to allow easy reconnections.
* libinfgtk/inf-gtk-browser-model.h: Added
INF_GTK_BROWSER_MODEL_DISCONNECTED status.
* libinfgtk/inf-gtk-browser-store.c: Drop connection bookkeeping, keep
browser alive when it reaches INFC_BROWSER_DISCONNECTED status.
* test/inf-test-browser.c:
* test/inf-test-gtk-browser.c: Simplify the code by making use of the
new API.
* libinfinity/communication/inf-communication-manager.c: Added a
TODO comment questioning whether we should continue to allow joining
groups with connections with status INF_XML_CONNECTION_OPENING.
2009-12-07 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-replay.c: Added an Undo Grouping for each user in
the replay, to test that undo grouping can at least handle all cases.
* libinfinity/adopted/inf-adopted-undo-grouping.c: Fixed some bugs
which showed up when replaying test/replays/.
2009-12-07 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-replay.c: Allow UTF-8 input files.
2009-12-05 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added a BOOL:OBJECT,OBJECT marshaller.
* libinfinity/adopted/inf-adopted-undo-grouping.h:
* libinfinity/adopted/inf-adopted-undo-grouping.c:
* libinfinity/adopted/Makefile.am: Added the #InfAdoptedUndoGrouping
class. It allows to group requests to be undone at the same time.
* libinftext/inf-text-undo-grouping.h:
* libinftext/inf-text-undo-grouping.c:
* libinftext/Makefile.am: Added a specialization of that class for
text operations.
2009-12-05 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.h: Removed INF_TEXT_TYPE_SESSION_STATUS
define as it's not used.
* libinftext/inf-text-chunk.c: Removed commented-out code to serialize
a chunk to/from XML.
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_class_init): Fixed a typo in the signal
documentation.
2009-12-02 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c
(inf_text_gtk_buffer_active_user_notify_status_cb): Added a TODO
comment about unsetting active-user when it gets unavailable.
2009-12-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-request-log.c: Added the
"add-request" signal.
2009-12-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/adopted/inf-adopted-algorithm.c: Made
inf_adopted_algorithm_translate_request() public.
2009-12-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session.h:
* libinfinity/adopted/inf-adopted-session.c: Allow repetitive requests
by sending a num="n" attribute in the <request/> message. Add a guint
parameter to inf_adopted_session_undo() and inf_adopted_session_redo()
to undo or redo multiple requests at once.
* test/inf-test-gtk-browser.c: Adapt to the API change.
2009-12-01 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-config-reload.c: Properly wrap reference to
startup->options->daemonize in #ifdef LIBINFINITY_HAVE_LIBDAEMON.
2009-11-30 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c: Immediately write an empty
session to disk on sync-in, and refuse sync-in if that fails.
2009-11-30 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Added INF_SESSION_PRESYNC status,
and the inf_session_synchronize_from() function. Require setting
status at construction.
* libinfinity/common/inf-chat-session.h:
* libinfinity/common/inf-chat-session.c (inf_chat_session_new): Added
status parameter.
* libinfinity/server/infd-note-plugin.h:
* libinfinity/client/infc-note-plugin.h: Added a status parameter to
the session_new function.
* libinftext/inf-text-session.h:
* libinftext/inf-text-session.c: Added a status parameter to
inf_text_session_new() and inf_text_session_new_with_user_table().
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/server/infd-directory.c:
* libinfinity/client/infc-browser.c:
* libinftext/inf-text-session.c:
* test/inf-test-gtk-browser.c:
* test/inf-test-text-replay.c:
* test/inf-test-text-session.c: Adapt to the API change.
2009-11-30 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-autosave.c (infinoted_autosave_remove_session):
Disconnect from the notify::modified signal handler, preventing a
crash when the autosaver is disabled at runtime.
2009-11-29 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-config-reload.h:
* infinoted/infinoted-config-reload.c:
* infinoted/Makefile.am: Added a new file which handles reloading
infinoted's configuration at runtime.
* infinoted/infinoted-signal.c: Call it on SIGHUP (#509).
* infinoted/infinoted-main.c (infinoted_main_run): After InfinotedRun
terminates, check run->startup->options->daemonize, not
startup->options->daemonize, since config reload might have
invalidated the latter.
2009-11-29 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-autosave.c (infinoted_autosave_walk_directory):
Make this actually work, by initializing child before using it. This
is used only when adding an autosaver at runtime.
2009-11-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-server-pool.h:
* libinfinity/server/infd-server-pool.c: Added
infd_server_pool_remove_server() and
infd_server_pool_foreach_server(). Changed semantics so that when a
server is closed it is no longer removed automatically from the pool.
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Adapt to that, and remove a server from
the pool if infd_tcp_server_open() failed (which it normally does not
since we have bound it already, but just to be sure).
2009-11-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-discovery-avahi.c:
* libinfinity/server/infd-xmpp-server.c: Allow changing credentials,
SASL context and SASL mechanisms at runtime.
* libinfinity/server/infd-directory.c: Allow setting a new storage
backend at runtime.
2009-11-29 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-creds.c (READ_FUNC_IMPL): Fixed a memory leak:
Don't leak the data variable.
2009-11-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-certificate-credentials.h:
* libinfinity/common/inf-certificate-credentials.c:
* libinfinity/common/Makefile.am: Added a wrapper for
gnutls_certificate_credentials_t which does reference counting.
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c:
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c: Use InfCertificateCredentials
instead of gnutls_certificate_credentials_t.
* infinoted/infinoted-creds.h:
* infinoted/infinoted-creds.c:
* infinoted/infinoted-dh-params.h:
* infinoted/infinoted-dh-params.c:
* infinoted/infinoted-startup.h:
* infinoted/infinoted-startup.c: Adapt to the changed API.
2009-11-29 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-util.h: Added a TODO comment about moving the
logging functions to an extra file.
* infinoted/infinoted-dh-params.h:
* infinoted/infinoted-dh-params.c:
* infinoted/Makefile.am: Renamed infinoted_run_ensure_dh_params() to
infinoted_dh_params_ensure() and moved this to an extra file.
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Adapt.
2009-11-28 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-util.h:
* infinoted/infinoted-util.c: Added infinoted_util_set_errno_error()
and infinoted_util_set_daemon_pid_file_proc().
* infinoted/infinoted-options.c: Added the -D option to kill a
daemonized process.
* infinoted/infinoted-main.c: Use
infinoted_util_set_daemon_pid_file_proc().
2009-11-28 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-main.c: Tell parent process whether PID file
creation failed or not.
2009-11-28 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-main.c: Change the location of the PID file to
localstatedir/run, append libinfinity API version to PID file name.
* infinoted/Makefile.am: Create directory for PID file on install.
2009-11-28 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-util.c (infinoted_util_logv): Put an extra
newline after the log message.
* infinoted/infinoted-note-plugin.c:
* infinoted/infinoted-run.c:
* infinoted/infinoted-signal.c:
* infinoted/infinoted-startup.c:
* infinoted/infinoted-main.c: Remove newline from calls to
infinoted_util_log_*() to prevent it from appearing in the syslog.
2009-11-28 Benjamin Herr <ben@0x539.de>
* infinoted-util.h:
* infinoted-util.c: Added infinoted_util_log_{error,warning,info} that
delegate to either fprintf(stderr, ...), or daemon_log with the proper
priority when building with libdaemon.
* infinoted-main.c:
* infinoted-note-plugin.c:
* infinoted-signal.c:
* infinoted-startup.c: Use infinoted_util_log_{error,warning,info}
instead of fprintf(stderr, ...).
2009-11-28 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-signal.c (infinoted_signal_terminate): Fixed
indentation.
2009-11-28 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Added infinoted_run_ensure_dh_params(),
take ownership of startup.
* infinoted/infinoted-startup.c (infinoted_startup_load): Fixed
documentation comment stating that this takes care about generating DH
params. It does not anymore, the code has moved to InfinotedRun.
* infinoted/infinoted-main.c: Adapt to startup ownership change in
InfinotedRun.
2009-11-28 Benjamin Herr <ben@0x539.de>
* infinoted/infinoted-main.c: When daemonizing, write the pid file to
$HOME/.infinoted/infinote.pid if the default location is not writable.
2009-11-28 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-options.c: Allow passing NULL argc and argv in
which case options are only read from config file.
2009-11-28 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-signal.h:
* infinoted/infinoted-signal.c: Implemented serial signal handling
via libdaemon, handle SIGQUIT and SIGHUP signals. Bug #507 (Yarek
"Fx3" Tyshchenko).
2009-11-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-discovery-avahi.c
(inf_discovery_avahi_create_client): Pass the error variable to the
avahi_client_new() call, not NULL.
2009-11-25 Armin Burgmeier <armin@arbur.net>
* configure.ac: Check for libdaemon presence.
* libinfinity/inf-config.h.in: Add a LIBINFINITY_HAVE_LIBDAEMON entry.
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c: Added a daemonize option.
* infinoted/infinoted-main.c: Fork and create a PID file if the
daemonize option is given, and libdaemon support is present. Bug
#507 (Yarek "Fx3" Tyshchenko).
* infinoted/Makefile.am: Link against libdaemon.
* docs/reference/libinfinity/compiling.sgml:
* README: Mention libdaemon as an optional dependency for the package.
2009-11-25 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-note-plugin.c: Fixed the build, broken by my
last commit.
2009-11-24 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-note-plugin.c: Fixed some strings.
2009-11-23 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-record.h:
* infinoted/infinoted-record.c:
* infinoted/Makefile.am: Moved the session recording code to this new
source file.
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Use the new file, removed the equivalent
code from this file.
2009-11-23 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-util.h:
* infinoted/infinoted-util.c:
* infinoted/Makefile.am: Added this new source file, containing
infinoted_util_create_dirname(), moved from infinoted-startup.
* infinoted/infinoted-creds.h:
* infinoted/infinoted-creds.c (infinoted_creds_create_credentials):
Don't set DH params.
* infinoted/infinoted-startup.h:
* infinoted/infinoted-startup.c: Don't load DH params in startup.
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Load DH params in run instead, and set
them for the credentials after loading. Also bind the server sockets
in _new() before starting the server. Create DH params just before
starting it. This prepares for the upcoming daemonizing; the server
should do all non-blocking work that might fail before fork()ing (so
that an error message can be reported), and potentially blocking
work (DH params generation) after fork()ing (so that it does not the
block boot process).
* infinoted-main.c: Adapt to infinoted_run_start() not taking an error
argument anymore.
2009-11-23 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-tcp-server.h:
* libinfinity/server/infd-tcp-server.c: Added infd_tcp_server_bind(),
and a INFD_TCP_SERVER_BOUND state.
* libinfinity/server/infd-xmpp-server.c: Treat INFD_TCP_SERVER_BOUND
the same as INFD_TCP_SERVER_CLOSED.
2009-11-23 Armin Burgmeier <armin@arbur.net>
* test/session/test-52.xml:
* test/session/Makefile.am: Added one more test which requires recon
in remote delete operations.
2009-11-22 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-chat-buffer.c
(inf_chat_buffer_reserve_message): Properly set offset into allocated
messages when prepending a new message.
2009-11-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-buffer.c
(inf_chat_buffer_reserve_message): Return the new message in case we
wrap around, not another one.
2009-11-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-user.h:
* libinfinity/common/inf-user.c: Added the set-status signal which
allows to access the previous user status.
* libinfinity/common/inf-chat-session.c: Don't emit a new message
userjoin message for each active->inactive and inactive->active user
status change.
2009-11-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session.c:
* libinftext/inf-text-session.c: Made some clarifying comments about
implicit user activation and flushing pending requests.
2009-11-18 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-chat.c (inf_gtk_chat_commit_message): Fixed
parantheses so that an emote message is only triggered when there is
/me at the beginning, not when the fourth character is whitespace.
2009-11-17 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-chat.c (inf_gtk_chat_commit_message): Send
messages beginning with /me as emote messages.
(inf_gtk_chat_init): Fix a compiler warning.
2009-11-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-filesystem-storage.h:
* libinfinity/server/infd-filesystem-storage.c: Fixed directory
deletion on Windows. Bug #501.
2009-11-13 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c
(infd_directory_node_name_equal): Don't always return TRUE.
(infd_directory_handle_subscribe_ack): Use existing session and
session proxy to notify client about cancellation in case the parent
node was removed, instead of creating a new proxy.
2009-11-13 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added
INF_DIRECTORY_ERROR_INVALID_NAME error code.
* libinfinity/server/infd-directory.c
(infd_directory_node_name_equal): Use Unicode-aware case-insensitive
comparison.
(infd_directory_node_is_name_available): Don't allow nodes with '/' in
the name.
* libinfinity/server/infd-filesystem-storage.c: Don't allow empty path
components.
2009-11-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xml-util.c: Added documentation comments.
2009-11-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c: Check for non-NULL iter in
infc_browser_return_if_iter_fail() and
infc_browser_return_val_if_iter_fail().
2009-11-11 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-chat.c: Avoid the use of
gtk_entry_get_text_length() because this is only available since GTK+
2.14.
2009-11-11 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added the "saturation" and
"value" properties, and the
inf_text_gtk_buffer_set_saturation_value(),
inf_text_gtk_buffer_get_saturation(), inf_text_gtk_buffer_get_value().
2009-11-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-buffer.c (inf_chat_buffer_finalize):
Take into account that we may have preallocated space at the beginning
of the buffer, so don't try to free the text of all entries from the
beginning, avoiding a crash.
2009-11-10 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-chat.c (inf_gtk_chat_init): Set indentation of
wrapped lines to 12 pixels.
2009-11-10 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-chat.c (inf_gtk_chat_init): Wrap text in the chat
widget.
2009-11-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c
(infd_directory_handle_subscribe_ack): Fix a crash in the ADD_NODE
case introduced by my last change.
2009-11-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c: Fix crash when session could
not initially be saved in response to an add-node request with
initial-subscribe set. This fixes a crash on creating documents with
names '.', '..'. Still not handled properly for sync-in.
2009-11-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-buffer.c: Added missing paranthesis to
constructs like (priv->first_message + n) % priv->size, fixing a crash
when the buffer starts to wrap around.
2009-11-08 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-chat.c: Make sure to scroll to bottom initially,
and keep bottom row in viewport visible on size change, instead of top
row.
2009-11-08 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-chat-session.c
(inf_chat_session_message_from_xml): Fixed bytes/chars mixup.
2009-11-08 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-run.c: Enable chat.
2009-11-07 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-chat.h:
* libinfgtk/inf-gtk-chat.c: Added inf_gtk_chat_get_active_user() as a
complement to inf_gtk_chat_set_active_user().
2009-11-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c (inf_tcp_connection_open):
Fix the condition for closing an existing socket. Spotted by GabrÃel
A. Pétursson.
2009-11-07 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-store.c
(inf_gtk_browser_store_tree_model_get_column_type): Handle the case
when index is INF_GTK_BROWSER_MODEL_COL_NAME.
2009-11-07 Armin Burgmeier <armin@arbur.net>
* docs/reference/libinfinity/compiling.sgml: Added a chapter about
compiling libinfinity.
* docs/reference/libinfinity/libinfinity-0.4-docs.sgml: Added it to
the documentation.
* docs/reference/libinfinity/Makefile.am: Added it to the build.
2009-11-07 Armin Burgmeier <armin@arbur.net>
* configure.ac: Removed the --enable-traffic-output option.
* libinfinity/common/inf-xmpp-connection.c: Add a global boolean
variable called INF_XMPP_CONNECTION_PRINT_TRAFFIC instead of a #define
with the same name.
* libinfinity/common/inf-init.c: Set that variable in inf_init() based
on the presence of the environment variable
LIBINFINITY_DEBUG_PRINT_TRAFFIC. Bug #502.
2009-11-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_initiate): Removed commented-out try to allow
non-printable characters via XML entities.
2009-11-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection (inf_tcp_connection_error):
Fix a typo in a comment.
2009-11-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Don't crash if the
underlying TCP connection goes down in an XML parser callback. This
also involved simplifying the code a bit by introducing an additional
state variable that tracks whether we are currently in an XML
parser callback or not.
2009-11-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-session-proxy.c
(infd_session_proxy_set_property): When connecting to the "close"
signal of a new session, connect before the default signal handler,
not after, so that our signal handler can still figure out the
synchronization status of the subscribed connections, to avoid sending
"session-close" if the sync is/was in progress. Bug #499.
2009-11-06 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-xml-util.c: In inf_xml_util_add_child_text,
only escape the characters which are actually forbidden by XML, not
newlines and friends.
2009-11-06 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-xml-util.h:
* libinfinity/common/inf-xml-util.c:
* docs/reference/libinfinity/libinfinity-0.4-sections.txt: Added
inf_xml_util_add_child_text and inf_xml_util_get_child_text which get
the text content of an xml element while encoding or decoding
unprintable characters as child elements.
* infinoted/note-plugins/text/infd-note-plugin-text.c:
* libinfinity/common/inf-chat-session.c:
* libinftext/inf-text-chunk.c:
* libinftext/inf-text-session.c:
* test/util/inf-test-util.c:
Use inf_xml_util_add_child_text and inf_xml_util_get_child_text
instead of using the libxml2 calls directly. Bug #499.
2009-10-26 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-manager.c
(inf_gtk_certificate_manager_certificate_func): Don't crash if a
certificate of a known host does not have a hostname set. Ignore the
certificate instead, because we can't identify it with a host
properly. Bug #484.
2009-10-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-standalone-io.c
(inf_standalone_io_io_watch): Update event pointers after realloc.
This fixes sporadic disconnections when there are more than two
clients on a Windows infinoted.
2009-10-12 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-chat.h:
* libinfgtk/inf-gtk-chat.c: Added the InfGtkChat class, a widget to
show the conversation of an InfChatSession and to write messages if a
local user has joined the session.
* libinfgtk/Makefile.am: Added the new files to the build.
* test/inf-test-gtk-browser.c: When connecting to a host, subscribe to
its chat and open a window showing a InfGtkChat to make use of it.
2009-10-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-user.c:
* libinfinity/server/infd-session-proxy.c:
* libinfgtk/inf-gtk-io.c: Minor documentation fixes.
2009-10-09 Armin Burgmeier <armin@arbur.net>
* test/inf-test-chat.c: Added simple command-line based chat client
as a test for InfChatSession.
* test/inf-test-daemon.c: Enable the chat on the server.
* test/Makefile.am: Added the file to the build.
2009-10-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-buffer.c
(inf_chat_buffer_reserve_message): Fixed logic for first inserted
message and fixed return value when the first message is reordered in
memory.
* libinfinity/common/inf-chat-session.c
(inf_chat_session_message_from_xml): Don't require the "type"
attribute being set but default to INF_CHAT_BUFFER_MESSAGE_NORMAL if
it isn't. This is compatible to the way the inverse function,
inf_chat_session_message_to_xml(), generates XML messages.
* libinfinity/client/infc-browser.c
(infc_browser_communication_object_sent): Handle correctly the case
when the outgoing message has no ID set (chat subscription).
2009-10-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-buffer.c (inf_chat_buffer_get_size):
Added a formal description of the return type in the documentation
comment.
2009-10-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-session.c: Make InfChatSession's
description appear in the documentation.
2009-10-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added
infc_browser_subscribe_chat(),
infc_browser_get_subscribe_chat_request() and
infc_browser_get_chat_session(). This handles the client-side part of
subscribing to a server's global chat.
* libinfgtk/inf-gtk-browser-store.c:
* libinfgtk/inf-gtk-browser-view.c: Ignore chat subscriptions in
begin-subscribe and subscribe-session signal handlers.
2009-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added the
INFD_DIRECTORY_ERROR_CHAT_DISABLED error code which is generated when
a client tries to subscribe to a chat that is disabled on the server.
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added
infd_directory_enable_chat(), infd_directory_get_chat_session() and
handle <subscribe-chat/> requests from clients.
2009-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-chat-buffer.h:
* libinfinity/common/inf-chat-buffer.c: Added the InfChatBuffer class.
This is an InfBuffer-implementing class that holds chat messages in a
ring-like structure (new messages replace old ones when a certain
message size has been exceeded).
* libinfinity/common/inf-chat-session.h:
* libinfinity/common/inf-chat-session.c: Added the InfChatSession
class which is a session allowing joined users to exchange messages.
* libinfinity/common/Makefile.am: Added the new files to the build.
2009-10-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-manager.c: Fixed a typo
in a comment.
2009-10-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c: Declared the iter member in the
InfcBrowserIterGetSyncInRequestsForeachData,
InfcBrowserIterGetNodeRequestForeachData and
InfcBrowserIterGetExploreRequestForeachData structs as const to avoid
compiler warnings.
2009-10-08 Armin Burgmeier <armin@arbur.net>
* autogen.sh: Updated autogen.sh from gnome-common. Bug #476.
2009-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-session-proxy.c: Fixed the documentation
comment of the infd_session_proxy_get_session() function.
2009-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c
(infd_directory_handle_remove_node): Fixed the error domain of the
error generated when attempting to remove the root node.
2009-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-manager.c:
* libinfinity/common/inf-init.c:
* libinfinity/common/inf-standalone-io.c:
* libinfinity/common/inf-xmpp-manager.c:
* libinfinity/adopted/inf-adopted-state-vector.c:
* libinfinity/client/infc-browser.c:
* libinfinity/client/infc-explore-request.c:
* libinfinity/server/infd-directory.c:
* libinfinity/server/infd-filesystem-storage.c:
* libinfinity/server/infd-tcp-server.c: Fixed a few documentation
comments.
2009-06-03 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c (inf_text_session_request_to_xml):
For delete operations, don't assert that at least one segment exists.
This avoids a crash when synchronizing a zero-length delete operation.
2009-05-13 Armin Burgmeier <armin@arbur.net>
* libinftextgtk.pc.in: Fixed "Name:" field. This is libinftextgtk, not
libinftext.
2009-05-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Made several InfcBrowserIter
arguments const.
2009-05-02 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-store.c: Fixed a typo in a comment.
2009-05-02 Armin Burgmeier <armin@arbur.net>
* test/inf-test-browser.c: Connect after the default handler on
the connection's notify::status, to give the communication method a
chance to register the connection with the registry before we try to
send stuff through it.
2009-05-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added
INF_DIRECTORY_ERROR_ROOT_NODE_REMOVE_ATTEMPT error.
* libinfinity/server/infd-directory.c
(infd_directory_handle_remove_node): Produce the newly introduced
error if a client attempts to remove the root node. This fixes bug
#442 (Gregory Haynes).
(infd_directory_remove_node): Added a g_return_val_if_fail() if a
the root node is attempted to be removed.
* libinfinity/client/infc-browser.c (infc_browser_remove_node): Added
a g_return_val_if_fail() if the root node is attempted to be removed.
2009-04-26 Armin Burgmeier <armin@arbur.net>
* README: Added some notes about development of libinfinity.
2009-04-26 Armin Burgmeier <armin@arbur.net>
* configure.ac: Post-release bump to 0.4.0.
* docs/reference/libinfinity/libinfinity-0.4-docs.sgml:
* docs/reference/libinfinity/libinfinity-0.4-overrides.txt:
* docs/reference/libinfinity/libinfinity-0.4-sections.txt:
* docs/reference/libinftext/libinftext-0.4-docs.sgml:
* docs/reference/libinftext/libinftext-0.4-overrides.txt:
* docs/reference/libinftext/libinftext-0.4-sections.txt:
* docs/reference/libinfgtk/libinfgtk-0.4-docs.sgml:
* docs/reference/libinfgtk/libinfgtk-0.4-overrides.txt:
* docs/reference/libinfgtk/libinfgtk-0.4-sections.txt:
* docs/reference/libinftextgtk/libinftextgtk-0.4-docs.sgml:
* docs/reference/libinftextgtk/libinftextgtk-0.4-overrides.txt:
* docs/reference/libinftextgtk/libinftextgtk-0.4-sections.txt:
* infinoted/Makefile.am:
* libinfgtk/Makefile.am:
* libinfinity/Makefile.am:
* libinftext/Makefile.am:
* libinftextgtk/Makefile.am: Bump API version to 0.4.
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Clear .types file
correctly on distclean.
2009-04-24 Armin Burgmeier <armin@arbur.net>
* === Released 0.3.0 ===
* NEWS: Update for release.
2009-04-24 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-i18n.c: Change gettext directory from lib/locale to
share/locale on Windows.
2009-04-24 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c:
* libinfinity/server/infd-directory.c: Updated a few comments.
2009-04-24 Armin Burgmeier <armin@arbur.net>
* docs/reference/api_version.xml.in.in: Moved from api_version.xml.in.
* docs/reference/version.xml.in.in: Moved from version.xml.in.
* docs/reference/Makefile.am: Generate (api_)version.xml from
(api_)version.xml.in by removing the trailing newline. This is to
prevent that newline from appearing in the docbook XML when
substituting the external entities.
* configure.ac: Generate docs/reference/(api_)version.xml.in.
2009-04-22 Armin Burgmeier <armin@arbur.net>
* docs/reference/libinftext/libinftext-0.3-docs.sgml:
* docs/reference/libinftext/libinftext-0.3-overrides.txt:
* docs/reference/libinftext/libinftext-0.3-sections.txt:
* docs/reference/libinfgtk/libinfgtk-0.3-docs.sgml:
* docs/reference/libinfgtk/libinfgtk-0.3-overrides.txt:
* docs/reference/libinfgtk/libinfgtk-0.3-sections.txt:
* docs/reference/libinftextgtk/libinftextgtk-0.3-docs.sgml:
* docs/reference/libinftextgtk/libinftextgtk-0.3-overrides.txt:
* docs/reference/libinftextgtk/libinftextgtk-0.3-sections.txt: Moved
from the unversioned files.
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Adapted DOC_MODULE
accordingly.
2009-04-21 Armin Burgmeier <armin@arbur.net>
* docs/reference/api_version.xml.in: Added another external entity for
the API version. There is still one newline too much at the end in the
generated file, but I have currently no idea how to get rid of it.
* configure.ac: Generate docs/reference/api_version.xml.
* libinfinity/Makefile.am: Added inf-marshal.in to EXTRA_DIST instead
of dist_pkgdata_DATA, so that it is not installed.
* libinfinity/common/inf-discovery.h: Fixed a typo in a parameter
name.
* docs/reference/libinfinity/libinfinity-0.3-docs.sgml:
* docs/reference/libinfinity/libinfinity-0.3-overrides.txt:
* docs/reference/libinfinity/libinfinity-0.3-sections.txt: Moved from
the non-versioned files for parallel installation of the
documentation. This requires renaming these files with every API
version bump. The other libraries (libinftext, libinfgtk,
libinftextgtk) will follow soon.
* docs/reference/libinfinity/Makefile.am: Changed DOC_MODULE to
libinfinity-0.3 for parallel installation.
* docs/reference/libinftext/libinftext-docs.sgml:
* docs/reference/libinfgtk/libinfgtk-docs.sgml:
* docs/reference/libinftextgtk/libinftextgtk-docs.sgml: Include the
new external entity, and name the API version in the book title.
2009-04-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-operation.h: Removed commented-out
documentation as this causes a warning when building the
documentation.
2009-04-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session-record.c
(inf_adopted_session_record_stop_recording): Fixed two compiler
warnings about incompatible pointer types by properly casting them.
2009-04-21 Armin Burgmeier <armin@arbur.net>
* libinfgtk/Makefile.am:
* libinftext/Makefile.am: Removed -release from LDFLAGS to not
duplicate the API version number in the .so filename.
2009-04-21 Philipp Kern <phil@0x539.de>
* test/util/Makefile.am: correct hardcoded *-1.0.la import.
2009-04-20 Armin Burgmeier <armin@arbur.net>
* libinfgtk.pc.in:
* libinfinity.pc.in:
* libinftext.pc.in:
* libinftextgtk.pc.in: Moved from *-1.0.pc.in, respectively. The API
version of the generated .pc file is not determined by the configure
script.
* infinoted/Makefile.am:
* infinoted/note-plugins/text/Makefile.am:
* libinfinity/Makefile.am:
* libinfinity/common/Makefile.am:
* libinfinity/communication/Makefile.am:
* libinfinity/adopted/Makefile.am:
* libinfinity/client/Makefile.am:
* libinfinity/server/Makefile.am:
* libinfgtk/Makefile.am:
* libinftext/Makefile.am:
* libinftextgtk/Makefile.am:
* test/Makefile.am:
* docs/reference/libinfinity/Makefile.am:
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am:
* configure.ac:
* Makefile.am: Introduce libtool versioning, make libinfinity
parallel-installable with future versions. The pkg-config files are
now prefixed with the corresponding libinfinity API version, such as
libinfinity-0.3.pc.
2009-04-20 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-hosted-group.c: Fixed
the length of a documentation comment.
2009-02-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added
INF_DIRECTORY_ERROR_NO_SUCH_SUBSCRIPTION_REQUEST, and some
documentation fixes.
* libinfinity/common/inf-session.c: Added a TODO item.
* libinfinity/client/infc-browser.c: Send <subscribe-ack> or
<subscribe-nack> after subscriptions, actually perform the
subscription when the message has been sent. This is used to tell the
server whether a subscription was successful or not. The subscription
can fail if the client does not support the communication method used,
or if it does not know the note type.
* libinfinity/server/infd-directory.h: Made the InfdNotePlugin
parameter const in infd_directory_add_note().
* libinfinity/server/infd-directory.c: Don't immediately subscribe the
client in <subscribe-session> or <add-node> requests, but wait for
<subscribe-ack> instead. Don't add the node in the latter case if the
client replies with <subscribe-nack>, so that <add-node> operations
are atomic.
2009-02-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-group.c: Documentation
fix for inf_communication_group_get_method_for_network(): Mention that
conn does not need to be a member of the group.
2009-02-26 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-discovery-avahi.c: Added <sys/socket.h>
include to allow compilation on FreeBSD. Bug #430. Patch by
Romain Tartière.
2009-02-15 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-dialog.c:
* libinfgtk/inf-gtk-certificate-manager.c: Added TODO comments about
how to improve certificate handling: For trusted hosts, we shouldn't
show the hijack warning, and we should remember trusted hosts in the
known hosts file.
2009-02-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xml-util.h:
* libinfinity/common/inf-xml-util.c: Added xml property setter and
getter functions for long and unsigned long values.
2009-02-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c
(inf_tcp_connection_io_incoming): Make sure we don't try to read again
when the connection has been closed in a signal handler.
2009-02-14 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-manager.c
(inf_gtk_certificate_manager_certificate_func): Added
GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT flag.
2009-02-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-cert-util.h:
* libinfinity/common/inf-cert-util.c: Added a "current" GPtrArray
parameter to inf_cert_util_load_file(), to which newly read
certificates will be added, if non-NULL.
* libinfgtk/inf-gtk-certificate-manager.c: Adapt to the API change.
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c: Added a certificate-chain
command-line and configuration option, so that other certificates
belonging to the certificate chain can be read from a separate file.
* infinoted/infinoted-startup.c: Load more certificates from the
certificate-chain-file, if given.
2009-01-15 Armin Burgmeier <armin@arbur.net>
* all source files: Added 2009 to copyright years.
2009-01-04 Armin Burgmeier <armin@arbur.net>
* configure.ac: Post-release bump to 0.3.0.
2009-01-04 Armin Burgmeier <armin@arbur.net>
* === Released 0.2.0 ===
* NEWS: Update for release.
2009-01-04 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c
(inf_tcp_connection_get_property): Compare priv->socket against
INVALID_SOCKET instead of NULL in assertion for PROP_LOCAL_ADDRESS and
PROP_LOCAL_PORT.
2009-01-04 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-run.c (infinoted_run_load_directory): Fixed a
warning about an unused variable.
2009-01-04 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-startup.h:
* infinoted/infinoted-startup.c:
* infinoted/infinoted-run.c: Moved directory creation from
InfinotedStartup to InfinotedRun.
* infinoted/infinoted-signal.c: Terminate directly on signal handler,
without relying on the mainloop being exited properly. Also set a
ConsoleCtrlHandler on Windows, to save the documents when the server's
console window is closed.
2009-01-04 Armin Burgmeier <armin@arbur.net>
* infinoted/Makefile.am: Replace PLUGIN_PATH define by PLUGIN_LIBPATH
and PLUGIN_BASEPATH.
* infinoted/infinoted-startup.c (infinoted_startup_load_directory):
Lookup the module path relative to the application's executable.
2009-01-04 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added
inf_text_gtk_buffer_get_author().
2009-01-04 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-registry.c
(inf_communication_registry_is_registered): Don't leak the publisher
ID, and use g_return_val_if_reached instead of g_return_if_reached to
avoid a warning.
(inf_communication_registry_unregister): Fixed another compiler
warning.
2008-12-30 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c: Made "security-policy" a
construct property, don't allow passing NULL credentials for a
non-only-unsecured security policy.
* libinfinity/client/inf-xmpp-connections.c: Enable built-in
credentials only for client connections, require valid credentials
including certificate for server connections in case security policy
is not only-unsecured.
* infinoted/infinoted-run.c:
* test/inf-test-daemon.c: Adapt to API change.
2008-12-30 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-standalone-io.c: Some code cleanup, gather
some common platform-specific stuff at the top.
2008-12-30 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Delay server opening to
infinoted_run_start(), create both IPv6 and IPv4 server when possible.
* infinoted/infinoted-main.c: Handle errors from
infinoted_run_start().
2008-12-30 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-registry.h:
* libinfinity/communication/inf-communication-registry.c: Added
inf_communication_registry_is_registered().
* libinfinity/communication/inf-communication-central-method.c: Make
sure we don't try to unregister a connection we never registered.
2008-12-30 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_received_cb): Make sure we read the whole gnutls
buffer, so that we don't stall when gnutls buffers some data.
2008-12-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c: Allow retrieving local
remote and port on closed connections by keeping the native socket
alive until disposal.
* libinfinity/communication/inf-communication-method.h:
* libinfinity/communication/inf-communication-method.c: Removed the
unregistered method.
* libinfinity/communication/inf-communication-registry.c: Support and
require closed connections to be unregistered.
* libinfinity/communication/inf-communication-central-method.c:
Unregister the connection even if it has been closed already.
2008-12-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-standalone-io.c: Added Win32 implementation
using Winsock2's WSAWaitForMultipleEvents().
2008-12-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-central-method.c:
Remember whether a connection has been open, so we do remove it from
its group if it has not already been registered.
2008-12-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-central-method.c: Do not
unregister unregistered connection when in _CONNECTION_OPENING status
in inf_communication_central_method_remove_member()
2008-12-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c: Negated wrongly negated
assertion in infd_directory_node_register_reply_subscription().
2008-12-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Make sure
inf_xml_connection_sent() is not called twice for the same message,
and that it is not omitted for others.
2008-12-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-session.c (inf_session_send_sync_error): Send
synchronization error to synchronization client instead of whole
group except client.
2008-12-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-registry.c
(inf_communication_registry_register): Fixed reactivation of
previously unregistered connection which still has final messages
scheduled.
2008-12-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session-record.c
(inf_adopted_session_record_stop_recording): Avoid another warning.
2008-12-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session-record.c
(inf_adopted_session_record_stop_recording): Avoid runtime warnings
when the recorded session is still in INF_SESSION_SYNCHRONIZING
status.
2008-12-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-session-proxy.c
(infd_session_proxy_set_property): Connect after the default handler
for the close signal, so that the session has a chance to cancel any
synchronizations before we remove group membership of all subscribed
connections.
* libinfinity/communication/inf-communication-registry.c: Make
flushing final messages on group unref for unregistered connections
work.
2008-12-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/communication/inf-communication-manager.h:
* libinfinity/communication/inf-communication-manager.c:
* libinfinity/communication/inf-communication-group-private.h:
* libinfinity/communication/inf-communication-group.h:
* libinfinity/communication/inf-communication-group.c:
* libinfinity/communication/inf-communication-method.h:
* libinfinity/communication/inf-communication-method.c:
* libinfinity/communication/inf-communication-factory.h:
* libinfinity/communication/inf-communication-factory.c:
* libinfinity/communication/inf-communication-object.h:
* libinfinity/communication/inf-communication-object.c:
* libinfinity/communication/inf-communication-joined-group.h:
* libinfinity/communication/inf-communication-joined-group.c:
* libinfinity/communication/inf-communication-hosted-group.h:
* libinfinity/communication/inf-communication-hosted-group.c:
* libinfinity/communication/inf-communication-registry.h:
* libinfinity/communication/inf-communication-registry.c:
* libinfinity/communication/inf-communication-central-method.h:
* libinfinity/communication/inf-communication-central-method.c:
* libinfinity/communication/inf-communication-central-factory.h:
* libinfinity/communication/inf-communication-central-factory.c:
* libinfinity/communication/Makefile.am: Added new "communication" API
replacing the connection manager system. This allows multiple
connections to the same host, and gets rid of the requirement for
UUIDs.
* libinfinity/common/inf-net-object.h:
* libinfinity/common/inf-net-object.c:
* libinfinity/common/inf-method-manager.h:
* libinfinity/common/inf-method-manager.c:
* libinfinity/common/inf-connection-manager.h:
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-central-method.h:
* libinfinity/common/inf-central-method.c:
* libinfinity/methods/local-central/inf-method-local-central.c:
* libinfinity/methods/local-central/Makefile.am:
* libinfinity/methods/Makefile.am: Removed. These files are obsoleted
by the communication API.
* libinfinity/common/Makefile.am: Removed the above files from the
build.
* libinfinity/Makefile.am: Decend into communication subdirectory,
link against libinfinity_communication.
* configure.ac: Removed dependency on libuuid, don't link against
rpcrt4 on Windows.
* libinfinity/common/inf-simulated-connection.c: Small documentation
fix.
* libinfinity/common/inf-xmpp-connection.c: Renamed network from
"local" to "tcp/ip".
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/client/infc-note-plugin.h:
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c:
* libinfinity/client/infc-session-proxy.h:
* libinfinity/client/infc-session-proxy.c:
* libinfinity/server/infd-note-plugin.h:
* libinfinity/server/infd-filesystem-storage.h:
* libinfinity/server/infd-session-proxy.h:
* libinfinity/server/infd-session-proxy.c:
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c:
* libinftext/inf-text-session.h:
* libinftext/inf-text-session.c:
* libinfgtk/inf-gtk-browser-store.h:
* libinfgtk/inf-gtk-browser-store.c:
* infinoted/note-plugins/text/infd-note-plugin-text.c:
* infinoted/infinoted-startup.c:
* test/inf-test-browser.c:
* test/inf-test-daemon.c:
* test/inf-test-gtk-browser.c:
* test/inf-test-text-cleanup.c:
* test/inf-test-text-replay.c:
* test/inf-test-text-session.c: Adapt to API change.
2008-12-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/configure.ac: Added an --enable-traffic-output configure
option, defining INF_XMPP_CONNECTION_PRINT_TRAFFIC.
* libinfinity/common/inf-xmpp-connection.c: Include config.h, so that
we see when INF_XMPP_CONNECTION_PRINT_TRAFFIC is defined.
2008-12-28 Armin Burgmeier <armin@arbur.net>
* libinfinity-1.0.pc.in:
* libinfgtk-1.0.pc.in:
* libinftextgtk-1.0.pc.in: Fixed dependencies in pkg-config files.
2008-12-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-server-pool.c (infd_server_pool_entry_free):
Free the InfdServerPoolPublisher struct for each publisher.
* libinfinity/server/infd-directory.c (infd_directory_node_explore):
Don't leak the path variable.
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_process_authentication): Free the result of
xmlNodeGetContent() as we are supposed to.
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_dispose): Don't leak the buffer_modified_time.
2008-12-27 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-options.c (infinoted_options_load): Don't leak
default security_policy if overwritten by command line.
* infinoted/infinoted-startup.c (infinoted_startup_free): Don't leak
options and the startup struct.
2008-12-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Improved error message
when the remote site seems not to be an XMPP server.
2008-12-23 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-certificate-chain.h:
* libinfinity/common/inf-certificate-chain.c: Made
inf_certificate_chain_ref return the passed chain, so the function
fulfills the requirements for a GBoxedCopyFunc. This lead to a crash
with optimization enabled.
2008-12-23 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-dialog.c
(inf_gtk_certificate_dialog_init): Free the icon_info so that we don't
leak it.
2008-12-23 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.c
(inf_gtk_browser_view_progress_data_func): Free browser_iter to avoid
a memory leak.
2008-12-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-io.c (inf_io_event_get_type): Null-terminate
the list of flags values.
2008-12-21 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.c
(inf_gtk_browser_view_row_changed_cb): Removed two unused variables.
* libinftextgtk/inf-text-gtk-buffer.c
(inf_text_gtk_buffer_buffer_init): Connect the get_modified and
set_modified buffer implementations to the InfBufferIface.
* libinftextgtk/inf-text-gtk-hue-chooser.c:
(inf_text_gtk_hue_chooser_class_init): Install the dispose and
finalize handlers.
* infinoted/infinoted-creds.c
(infinoted_creds_create_self_signed_certificate_impl): Removed an
unused variable.
* infinoted/infinoted-main.c (infinoted_main): Removed an unused
variable.
2008-12-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-cert-util.c: Include inf-error.h to avoid a
warning.
* libinfinity/adopted/inf-adopted-request-log.c
(inf_adopted_request_log_is_empty): Use g_return_val_if_reached
instead of g_return_if_reached, to avoid a warning.
(inf_adopted_request_log_add_request): Cast the log to GObject before
calling g_object_notify_freeze, to avoid a warning.
2008-12-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_send_chars): Fix a warning caused by += being
used on a void pointer.
(inf_xmpp_connection_process_features): Cast a xmlChar* to const char*
before passing to strcmp(), to avoid a warning.
2008-12-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Added ctype.h inclusion.
2008-12-13 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-replay.c: Allow multiple record files to be
passed.
2008-12-07 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-run.c: Record sessions into
~/.infinoted-records.
2008-12-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-buffer.h:
* libinfinity/common/inf-buffer.c: Added a "modified" property, and
get_modified/set_modified accessors.
* libinftext/inf-text-default-buffer.c: Implement the property of the
InfBuffer interface.
* libinftextgtk/inf-text-gtk-buffer.c: Implement the "modified"
property, keep it synchronized with the GtkTextBuffer's "modified"
property.
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added
infd_directory_iter_peek_session(), infd_directory_iter_get_name() and
infd_directory_iter_get_path().
* libinfinity/adopted/inf-adopted-algorithm.c: Track modification
status of the buffer. If the buffer is considered not modified in a
certain state, then set it modified if the buffer changes, but set it
non-modified again when all users undid their changes since the last
time when the buffer was considered non-modified.
* infinoted/infinoted-autosave.h:
* infinoted/infinoted-autosave.c:
* infinoted/Makefile.am: Added an autosaver for infinoted.
* infinoted/infinoted-options.h:
* infinoted/infinoted-options.c: Added an autosave-interval option.
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Instantiate the autosaver when the
autosave-interval is nonzero.
* infinoted/infinoted-main.c: Added vim modelines.
2008-11-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added
infd_directory_iter_save_session(), and the "add-session" and
"remove-session" signals.
2008-11-14 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-hue-chooser.c: Don't use
cairo_format_stride_for_width, so we don't need cairo 1.6 (Bug #393).
2008-11-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-request-log.c: Added
inf_adopted_request_log_set_begin() and
inf_adopted_request_log_is_empty().
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_is_component_reachable): Added an assertion
that the request is either contained in the user's request log, or
is to be added.
* libinfinity/adopted/inf-adopted-session.c: Upon successful
synchronization, set begin index of empty request logs to the
corresponding user's time of the current state vector (#389, Matthias
Prinz).
* test/replay/replay-05.record.xml: Added a test for this.
2008-11-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-user-table.c: Fixed a typo that prevented
inf_user_table_foreach_user to appear in the documentation.
2008-11-08 Benjamin Herr <ben@0x539.de>
* libinfinity/inf-xmpp-connection.c: Properly advance data pointer
on partial writes (fixed bug #387).
2008-11-05 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-move-operation.h:
* libinftext/inf-text-move-operation.c: Added a left_gravity parameter
to inf_text_move_operation_transform_insert(). Always set it to TRUE
in inf_text_move_operation_transform(), assuming a remote operation.
* libinftext/inf-text-session.c: Interpret all requests as non-caret
versions by default. Use right gravity when adjusting the author's
cursor on an insert operation.
* libinftextgtk/inf-text-gtk-buffer.c: Block selection-changed signal
handler of active user in inf_text_gtk_buffer_insert_text_cb() and
inf_text_gtk_buffer_delete_range_cb() since GtkTextBuffer already
takes care of adjusting the buffer marks in response to index changes
on insert or delete operations.
These changes fix pasting text over selected text (#390, Georg
Kapeller).
2008-11-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-discovery-avahi.c: Added a documentation note
that this class is only available when LIBINFINITY_HAVE_AVAHI is
defined.
2008-11-02 Armin Burgmeier <armin@arbur.net>
* configure.ac: Add LIBINFINITY_HAVI_AVAHI as an AM_CONDITIONAL.
* docs/reference/libinfinity/Makefile.am: Add inf-discovery-avahi.h to
the header files to ignore, and pass --rebuild-types to gtkdoc-scan.
This way, inf_discovery_avahi_get_type is not listed in the .types
file when avahi support is not enabled (#386, Gregory Haynes).
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Also added --rebuild-types
to gtkdoc-scan.
* docs/reference/libinfinity/libinfinity.types:
* docs/reference/libinftext/libinftext.types:
* docs/reference/libinfgtk/libinfgtk.types:
* docs/reference/libinftextgtk/libinftextgtk.types: Removed, since
these are now autogenerated.
2008-11-02 Armin Burgmeier <armin@arbur.net>
* infinoted/note-plugins/text/Makefile.am:
* libinfinity/methods/local-central/Makefile.am: Changed module
installation path to be versioned.
* infinoted/Makefile.am:
* libinfinity/common/Makefile.am: Adapt module lookup path
accordingly.
2008-10-30 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-store.c
(inf_gtk_browser_store_tree_model_iter_children): Make sure parent is
not dereferenced for an assertion check if it is NULL, preventing a
crash when this function was called with NULL parent and assertions
enabled (#388).
2008-10-25 Philipp Kern <phil@0x539.de>
* configure.ac: check for MSG_NOSIGNAL
* libinfinity/common/inf-tcp-connection.c: conditionally define
INF_TCP_CONNECTION_SENDRECV_FLAGS
2008-10-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c: Added #InfMethodManager
to @see_also in section documentation.
* libinfinity/common/inf-discovery-avahi.c: Added #InfLocalPublisher
to @see_also in section documentation.
* libinfinity/common/inf-discovery.h: Make virtual functions of the
InfDiscoveryIface struct appear in the documentation.
* libinfinity/server/infd-directory.c
(infd_directory_set_method_manager): Added a clarifying comment.
* libinfinity/common/inf-io.h:
* libinfinity/common/inf-io.c:
* libinfinity/common/inf-ip-address.h:
* libinfinity/common/inf-ip-address.c:
* libinfinity/common/inf-local-publisher.h:
* libinfinity/common/inf-local-publisher.c:
* libinfinity/common/inf-method-manager.h:
* libinfinity/common/inf-method-manager.c:
* libinfinity/common/inf-net-object.h:
* libinfinity/common/inf-net-object.c:
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Added class and section
documentation.
2008-10-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-connection-manager.h: Removed some obsolete
commented-out code.
* libinfinity/common/inf-certificate-chain.h: Document the
InfCertificateChain symbol.
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c:
* libinfinity/common/inf-discovery.h:
* libinfinity/common/inf-discovery.c:
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added class and section
documentation.
2008-10-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-i18n.c: Set localedir relative to libinfinity DLL on
Windows, so i18n is properly relocatable.
2008-10-18 Armin Burgmeier <armin@arbur.net>
* configure.ac: Post-release bump to 0.2.0.
2008-10-18 Armin Burgmeier <armin@arbur.net>
* === Released 0.1.0 ===
2008-10-18 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-creds.c: Don't set the SAN to $hostname.local
since the common name is no longer checked when a SAN is present.
* infinoted/infinoted-startup.c (infinoted_startup_load_certificate):
Error out if a self-signed certificate could not be created.
2008-10-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_send_ctrl): Fixed an assignment in an
assertion that should be a comparison.
(inf_connection_manager_group_real_send): Removed an unused variable.
* libinfinity/common/inf-discovery-avahi.c
(inf_discovery_avahi_client_callback): Removed an unused variable.
2008-10-17 Armin Burgmeier <armin@arbur.net>
* configure.ac: Don't require avahi-glib for avahi support, as we
don't use it.
2008-10-17 Armin Burgmeier <armin@arbur.net>
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Added underlying libraries
as --extra-dir to FIXXREF_ARGS.
* docs/reference/libinfinity/libinfinity-docs.sgml:
* docs/reference/libinftext/libinftext-docs.sgml:
* docs/reference/libinfgtk/libinfgtk-docs.sgml:
* docs/reference/libinftextgtk/libinftextgtk-docs.sgml: Adjust online
location.
2008-10-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c: Add sync-in before emitting the
NODE_ADDED signal, so that the signal handler can access the sync-in
via infc_browser_iter_get_sync_in(). This allows InfGtkBrowserView to
show progress for sync-ins.
* libinfgtk/inf-gtk-browser-view: Removed a TODO comment about showing
progress for sync-ins.
2008-10-17 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-options.c: Don't crash when reading options from
config files.
2008-10-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_real_send): Removed debug logs.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c: Consider INF_IO_ERROR with
no error code as an ordinary disconnection. This is currently the way
to be notified about disconnection on Windows, because InfGtkIo maps
G_IO_HUP to INF_IO_ERROR.
* libinfgtk/inf-gtk-io.c: Also watch for G_IO_HUP in addition to
G_IO_ERR when INF_IO_ERROR is requested.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_real_send): Make sure all queued
messages are sent, even if the callback for the last item adds new
messages to the queue.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-session.c (inf_session_close): Make sure the
session's status is not already closed via a g_return_if_fail(), to
prevent a failing assertion in the default handler.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_handle_message): Make sure a group's object is
only finalized after we have unrefed the group, to prevent warnings
when a received handler releases the NetObject.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c (inf_tcp_connection_send):
Always queue data we could not sent immediately. There was a bug that
data wasn't queued if more than the half of it has been sent already.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c
(inf_xmpp_connection_received_cb): Don't call gnutls_record_recv with
a NULL session when a TLS error occured.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-note-plugin.c
(infinoted_note_plugin_load_directory): Added missing return value in
success case.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c: Fixed a stupid type error in
the setter for the wake-on-cursor-movement property.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/Makefile.am:
* libinfinity/common/Makefile.am:
* libinfinity/adopted/Makefile.am:
* libinfinity/client/Makefile.am:
* libinfinity/server/Makefile.am:
* libinfinity/methods/local-central/Makefile.am:
* libinftext/Makefile.am:
* libinfgtk/Makefile.am:
* libinftextgtk/Makefile.am:
* infinoted/Makefile.am:
* infinoted/note-plugins/text/Makefile.am:
* test/Makefile.am: Moved -I$(top_srcdir) from AM_CPPFLAGS to
$lib_CPPFLAGS, because the former is not used when the latter is
present. This is required for `make distcheck'.
* docs/reference/Makefile.am: Added version.xml.in to EXTRA_DIST.
* docs/reference/libinfinity/Makefile.am:
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am: Added ../version.xml to
content_files, to fix `make distcheck'.
* docs/reference/libinfinity/libinfinity-docs.sgml: Reordered
documentation sections.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c: Make sure that calling
inf_tcp_connection_send() in a SENT callback does send things in a
different order, or even breaks consistency of the queue.
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_real_send): Fixed a memory corruption
problem.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-note-plugin.h:
* infinoted/infinoted-note-plugin.c: Print a warning when no note
plugins could be loaded.
* infinoted/infinoted-startup.c: Don't start the server if there are
no note plugins available.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* NEWS: Update for initial release.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Removed network traffic
output.
2008-10-16 Armin Burgmeier <armin@arbur.net>
* all source files: Fixed copyright period in GPL header, and changed
the package description.
2008-10-15 Armin Burgmeier <armin@arbur.net>
* configure.ac: Changed some occurences of infinote to libinfinity
where the implementation rather than the protocol is meant. This
changes the INFINOTE_HAVE_AVAHI define to LIBINFINITY_HAVE_AVAHI.
* libinfinity/inf-config.h.in:
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c:
* infinoted/infinoted-run.c:
* test/inf-test-daemon.c:
* test/inf-test-gtk-browser.c:
* doc/reference/version.xml.in: Adapt to the changes.
2008-10-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-dll.h:
* libinfinity/inf-dll.c:
* libinfinity/Makefile.am: Added new files that implement DllMain() on
Windows, to save the DLL Handle. This can be used with
g_win32_get_package_installation_directory_of_module().
* libinfinity/common/Makefile.am: Split the METHODS_PATH define in
METHODS_LIBDIR and METHODS_BASEDIR, where METHODS_BASEDIR is the
application-specific part of the path.
* libinfinity/common/inf-method-manager.c: On Windows, locate the
methods relative to the libinfinity DLL instead of using a hardcoded
path.
* libinfinity/methods/local-central/Makefile.am: Added a comment about
renaming renaming the directory into which the methods are stored.
However, this doesn't work yet because of some evil libtool weirdness.
2008-10-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-i18n.h: Fixed a misleading comment in the first
line, originating from a copy+paste from inf-config.h.
2008-10-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c: Make sure signals are emitted
before data any is sent out for various operations.
2008-10-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c: Only queue new data if it
can't be sent directly. This allows a call to
inf_tcp_connection_send() to emit the "sent" signal directly.
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/common/inf-connection-manager.c: Fixes to honor this.
2008-10-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c: Changed
INF_TCP_CONNECTION_EINPROGRESS to be WSAEWOULDBLOCK on Windows because
this is what connect() yields for non-blocking sockets.
2008-10-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-error.c:
* libinfinity/common/inf-init.c:
* libinfinity/common/inf-io.h:
* libinfinity/common/inf-ip-address.c:
* libinfinity/common/inf-standalone-io.c:
* libinfinity/common/inf-tcp-connection.c:
* libinfinity/server/infd-tcp-server.c: Fixed the build on Windows.
InfStandaloneIo only has a stub implementation for now. GtkIo does not
work correctly with glib 2.18, though I believe that's a regression in
glib because it works with glib 2.16. Let's see whether I can track
that down.
* configure.ac: Don't require libuuid on Windows since we use native
Windows API there.
2008-10-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-init.h: Include only <glib.h> for
G_BEGIN_DECLS and G_END_DECLS, removed inculdes that we don't need in
inf-init.h.
2008-10-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/Makefile.am:
* libinftext/Makefile.am:
* libinfgtk/Makefile.am:
* libinftextgtk/Makefile.am:
* infinoted/Makefile.am:
* libinftextgtk/Makefile.am: Fixed linking order so that libraries
that depend on others appear first in the command line.
2008-10-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/methods/local-central/Makefile.am:
* infinoted/note-plugins/text/Makefile.am: Added -avoid-version,
-module and -no-undefined LDFLAGS. Also fixed the linking order.
2008-10-14 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-options.c:
* infinoted/infinoted-startup.c: Fixed a few warnings.
2008-10-14 Armin Burgmeier <armin@arbur.net>
* po/LINGUAS: Added a file that lists all languages, as required by
`make dist'.
* configure.ac: Use that file to set ALL_LINGUAS.
2008-10-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-init.h:
* libinfinity/common/inf-init.c
* libinfinity/common/Makefile.am: New file that contains a function to
initialize the library.
* infinoted/infinoted-main.c: Don't call g_type_init() anymore in
main().
* infinoted/infinoted-startup.c: Instead, call inf_init() which does
g_type_init in startup.
* libinfinity/inf-i18n.h:
* libinfinity/inf-i18n.c: Rely on gettext being initialized all the
time. This means inf_init() needs to have been called before.
2008-10-14 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added
inf_text_gtk_buffer_get_wake_on_cursor_movement() and
inf_text_gtk_buffer_set_wake_on_cursor_movement(). This setting
specifies whether to make inactive users active when the cursor
position of the underlying TextBuffer changes, or to resync when the
user is explicitely set to be active.
2008-10-13 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c: Make sure only one author tag
can be applied to a range of text. Applying multiple tags could still
occur when copying and pasting text from the same buffer.
2008-10-13 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_handle_message): Keep a reference on the
group that is currently processed, and unref at the end. This prevents
a crash when net_object_received() does a final unref on the group.
2008-10-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_unref): Allow final unref of groups not
in the tree (because of duplicate IDs). This is a temporary workaround
until the handling of such groups has been fixed.
2008-10-12 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-store.c: Removed an unnecessary
gtk_tree_model_row_changed() call.
* libinfgtk/inf-gtk-browser-view.c: Fixed automatic expansion of root
node when multiple views show the same model.
2008-10-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session.c
(inf_adopted_session_process_xml_sync): Don't leak the processed
request.
* inf_adopted_split_operation_revert
(inf_adopted_split_operation_revert): Don't leak the two reverted
child operations.
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_group_free): Don't leak the
InfConnectionManagerMethodInstance instance.
(inf_connection_manager_handle_message): Don't leak scope_attr.
* libinfinity/common/inf-session.c
(inf_session_get_xml_user_props_impl): Don't leak status.
* libinftext/inf-text-session.c (inf_text_session_process_xml_sync):
Don't leak the GIconv conversion descriptor.
(inf_text_session_process_xml_sync): Don't leak text.
2008-10-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-discovery-avahi.c: Don't assert when the
avahi client could not be created. Even though we pass
AVAHI_CLIENT_NO_FAIL, sometimes the client still can't be created it
seems.
2008-10-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-state-vector.c
(inf_adopted_state_vector_vdiff): Changed an assertion that
effectively checks an input parameter to a g_return_val_if_fail.
* libinftext/inf-text-chunk.c: Disable chunk integrity check by
default.
* libinftext/inf-text-default-delete-operation.c: Disable text match
check by default.
2008-10-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c: Don't let unavailable
users prevent cleanup.
2008-10-09 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c: Send undo-caret and redo-caret. We
still don't make a difference internally, but let's be gentle to
implementations which do.
* libinftextgtk/inf-text-gtk-buffer.c: Update "insert" and
"selection-bound" markers when the active user's selection changes.
2008-10-09 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-run.h:
* infinoted/infinoted-run.c: Moved server running code from
infinoted-main.c to a new file.
* infinoted/infinoted-signal.h:
* infinoted/infinoted-signal.c: New files to handle SIGINT and SIGTERM
properly by saving the directory and then shutting down.
* infinoted/infinoted-main.c: Register the signals, call into
infinoted-run.
* infinoted/Makefile.am: Add the new files to the build.
* libinfinity/common/inf-standalone-io.c
(inf_standalone_io_iteration_impl): Return if poll returned EINTR, to
allow shutting down the server in a signal handler.
* libinfinity/server/infd-server-pool.c
(infd_server_pool_entry_unpublish_with): Fixed unwanted fallthrough in
a switch statement.
* libinfinity/common/inf-discovery-avahi.c
(inf_discovery_avahi_unpublish): Fixed an assertion.
* libinfinity/adopted/inf-adopted-split-operation.c: Fixed a typo in a
comment.
2008-10-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-user.h:
* libinfinity/adopted/inf-adopted-user.h:
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/common/inf-user.c:
* libinfinity/adopted/inf-adopted-user.c:
* libinfinity/adopted/inf-adopted-request.c:
* libinfinity/adopted/inf-adopted-request-log.c:
* libinfinity/adopted/inf-adopted-algorithm.c: Added a priv pointer to
the instance struct, initialize it in instance_init and use this
instead of calling g_type_instance_get_private all the time. This
gets us a performance gain of about 9%.
2008-10-08 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-creds.c: Set the subject alternatime name to
hostname.local for newly created self-signed certificates, because
this is what avahi discovers in a local network.
2008-10-08 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-dialog.c: Fixed messages when the
certificate has changed. The normal message and the one shown when the
old certificate has expired were swapped.
2008-10-08 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-manager.c: Don't crash when no
certificate warnings are shown, but just go on without showing a
dialog.
2008-10-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-discovery-avahi.c: Emit undiscovered signals
on correct discovery infos.
2008-10-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Added a sasl-mechanisms
property that specifies what mechanisms to accept or offer,
respectively, for authentication.
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c:
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c: Added the same property,
and forward to created connections.
* infinoted/infinoted-main.c:
* test/inf-test-browser.c:
* test/inf-test-daemon.c:
* test/inf-test-gtk-browser.c:
* test/inf-test-xmpp-connection.c: Adapt to API changes.
* libinfinity/client/infc-browser.c: Don't unref the default method
manager.
2008-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-state-vector.h:
* libinfinity/adopted/inf-adopted-state-vector.c: Added
inf_adopted_state_vector_vdiff().
* libinfinity/adopted/inf-adopted-algorithm.c: Use that function to
calculate required vdiffs, instead of a slower, own implementation.
2008-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-state-vector.h:
* libinfinity/adopted/inf-adopted-state-vector.c: Added
inf_adopted_state_vector_causally_before_inc().
* libinfinity/adopted/inf-adopted-algorithm.c: Use this new function,
to save some copies.
* test/inf-test-state-vector.c: Verify that
inf_adopted_state_vector_causally_before_inc(<empty state vector>,
<empty state vector>, 1) yields FALSE.
2008-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-state-vector.c: Fixed an assertion
in inf_adopted_state_vector_add().
* libinfinity/adopted/inf-adopted-algorithm.c: Cleaned up the code in
inf_adopted_translate_request(), don't make a copy of the 'to'
parameter anymore.
2008-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_translate_request): Don't leak v when a cached
request is returned.
(inf_adopted_algorithm_execute_request): Don't leak log_request when
the request must be made reversible.
* libinfinity/adopted/inf-adopted-request.c
(inf_adopted_request_transform), (inf_adopted_request_mirror): Don't
leak the newly created operations.
* libinftext/inf-text-session.c (inf_text_session_xml_to_request):
Don't leak the parsed operation.
* test/inf-test-chunk.c: Don't leak the two chunks.
* test/inf-test-text-operations.c: Don't leak the users array.
* test/util/inf-test-util.c: Don't leak the XML content of <segment>
nodes for buffers.
2008-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c: Removed the ugly
can_cache paramatere for inf_adopted_algorithm_translate_request() and
inf_adopted_algorithm_transform_request(). Instead, translate_request
checks itself whether a request is cachable or not.
2008-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request.c: Made InfAdoptedRequest
immutable, which means that the request cannot be altered anymore once
created. The functions inf_adopted_request_transform(),
inf_adopted_request_mirror() and inf_adopted_request_fold() now return
new requests instead of modifying the given one.
* libinfinity/adopted/inf-adopted-algorithm.c: Adapt to that change.
Given that requests are now immutable, we can save a few copies. This
speeds up inf-test-text-session about 11%.
2008-10-07 Armin Burgmeier <armin@arbur.net>
* test/util/inf-test-util.c (inf_test_dir_util_foreach): Iterate
alphabetically through the file names.
* test/inf-test-text-session.c: Actually make setting a random seed
work, added time measurement.
2008-10-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session-record.c: Fixed a few
warnings.
* configure.ac: Added check-news to AM_INIT_AUTOMAKE.
* NEWS: Removed the dummy entry, so I don't forget to create a real
one for the release.
2008-10-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-operation.h:
* libinfinity/adopted/inf-adopted-operation.c: Added two new virtual
functions, need_concurrency_id() and get_concurrency_id(). These are
used to correctly handle situations when two requests insert text at
the same position concurrently.
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request.c: Added
inf_adopted_request_need_concurrency_id() and
inf_adopted_request_get_concurrency_id() which are simple wrapper
functions for the underlying operation functions.
* libinfinity/adopted/inf-adopted-algorithm.c: If a concurrency ID is
needed during transformation, then acquire one from the same requests
in a previous state.
* libinfinity/adopted/inf-adopted-no-operation.c:
* libinfinity/adopted/inf-adopted-split-operation.c: Implement the two
new virtual functions.
* libinftext/inf-text-pword.h:
* libinftext/inf-text-pword.c: Removed, since pwords are no longer
used. These did not handle the situation described above well enough,
since the algorithm did not pass one of the tests in test/session
since the request cache has been introduced (see my change from
2008-02-22). The test in question is now test #28.
Also, the adOPTed algorithm relies on the fact that it must not matter
on which path a request has been transformed to reach a certain state.
The pword concept did not fulfill this requirement.
* libinftext/Makefile.am: Removed the files from the build.
* libinftext/inf-text-insert-operation.h:
* libinftext/inf-text-insert-operation.c: Added
inf_text_insert_operation_need_concurrency_id() and
inf_text_insert_operation_get_concurrency_id(), and replaced the
get_pword() virtual function by get_position().
* libinftext/inf-text-delete-operation.h:
* libinftext/inf-text-delete-operation.c: Added
inf_text_delete_operation_need_concurrency_id() and
inf_text_delete_operation_get_concurrency_id().
* libinftext/inf-text-default-insert-operation.c:
* libinftext/inf-text-default-delete-operation.c:
* libinftext/inf-text-remote-delete-operation.c:
* libinftext/inf-text-move-operation.c: Implement the two new
virtual functions from InfAdoptedOperation, and adapt to the
get_pword() -> get_position() change in InfTextDefaultInsertOperation.
* test/inf-test-text-operations.c: Correctly supply concurrency IDs
for the C2 tests to pass.
* test/inf-test-text-session.c: Always show the random seed used, also
if given.
* test/session/*.xml: Regenerated tests.
* test/session/Makefile.am: Added the new files to the distribution.
2008-10-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-i18n.h:
* libinfinity/inf-i18n.c: Added vim modelines.
* libinfinity/adopted/inf-adopted-concurrency-warning.h:
* libinfinity/adopted/inf-adopted-concurrency-warning.c: Helper files
that contain a function to print a warning used in the upcoming
modification of the algorithm when a concurrency ID is requested for
types that don't support it yet.
* libinfinity/adopted/Makefile.am: Add the files to the build.
2008-10-03 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_translate_request): Simplified the code a bit.
2008-10-01 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-i18n.h:
* libinfinity/inf-i18n.c: Added _inf_gettext_init() in case somebody
needs the infinote gettext translation domain being set without having
called _inf_gettext() before.
* infinoted/infinoted-creds.h:
* infinoted/infinoted-creds.c: Fixed a typo.
* infinoted/infinoted-options.h:
* infinoted/infinoted-startup.h:
* infinoted/infinoted-options.c:
* infinoted/infinoted-startup.c: New files, containing some
functionality from infinoted-main.c, due to code refactorings.
* infinoted/infinoted-main.c: Adapt.
* infinoted/Makefile.am: Build the new files.
* README:
* configure.ac: Require at least glib 2.16.
2008-09-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-cert-util.c (inf_cert_util_save_file): Fixed
storage of more than one certificate.
2008-09-25 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-chunk.c: Fixed another problem when a chunk was
inserted into another chunk between two segments when the last part
could be merged.
* test/replay/replay-03.record.xml:
* test/replay/replay-04.record.xml: Added two new records, to test the
the InfTextChunk.
2008-09-23 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-chunk.c: Fixed a problem when a chunk was
inserted into another chunk between two segments, and the last part
could not be merged.
* test/inf-test-text-replay.c: Cleaned up the code a bit.
2008-09-22 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-chunk.c (inf_text_chunk_erase): Fixed a problem
that the erase operation did not produce a correct result when both
the first and the last segment of the erasure bounds were in
different segments of the same author.
* test/inf-test-text-replay.c: Added code to set a breakpoint just
before the algorithm applies a request, to be able to debug the
InfTextChunk internals.
2008-09-22 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-replay.c: Added functionality to check for
InfTextChunk errors by performing all the buffer operations on an
(ascii-only) GString and comparing the result with the buffer.
* libinfinity/adopted/inf-adopted-algorithm.c: Documented a missing
parameter in InfAdoptedAlgorithm::execute-request.
* test/replay/replay-01.record.xml:
* test/replay/replay-02.record.xml: Added two records that currently
fail to replay correctly.
2008-09-22 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.h:
* libinftext/inf-text-session.c: Reorganized the code a bit, added
inf_text_session_flush_requests_for_user().
2008-09-21 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added
inf_text_gtk_buffer_ensure_author_tags_priority().
2008-09-21 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-manager.c: Fixed a crash when setting
a new trust file.
2008-09-21 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-store.c:
* libinfgtk/inf-gtk-browser-view.c: Allow activating an item with
error status and discovery set in which case another connection
attempt is made.
2008-09-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-discovery-avahi.c: Fixed usage of alternative
service name on collision.
2008-09-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c: Save new and synced-in sessions
initially to storage, to prevent later data loss and to avoid a
failure when a user deletes a newly added document (It has not
yet been saved to storage, so the deletion of it caused an error).
2008-09-19 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-store.c: Fixed a crash when the network
interface used goes suddenly down.
* libinfgtk/inf-gtk-browser-view.c: Fixed a reference counting
problem.
2008-09-19 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-view.c: Fixed a crash when
instantiating InfGtkCertificateView.
2008-09-18 Armin Burgmeier <armin@arbur.net>
* update-potfiles: Added a small script to generate the
po/POTFILES.in. It is simple, but enough for our needs.
2008-09-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-discovery-avahi.c:
* libinfinity/common/inf-method-manager.c:
* libinfinity/common/inf-tcp-connection.c:
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/client/infc-browser.c:
* libinfinity/server/infd-directory.c:
* libinfinity/server/infd-filesystem-storage.c:
* libinfinity/adopted/inf-adopted-session-record.c:
* libinfgtk/inf-gtk-certificate-manager.c: Marked a few more strings
for translation.
2008-09-18 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-main.c: Added --require-tls and --no-tls command
line options.
2008-09-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c infd_directory_node_explore():
Prevent a crash when exploring an unknown note type from the storage.
2008-09-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Added a security-policy
property that specifies how to decide whether to use TLS or not. This
allows not to use TLS for specific purposes.
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c:
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c: Added the same property
that is delegated to created XMPP connections.
* test/inf-test-browser.c:
* test/inf-test-xmpp-connection.c: Adapted to API change.
2008-09-17 Armin Burgmeier <armin@arbur.net>
* configure.ac:
* Makefile.am: Added gettext support.
* libinfinity/inf-i18n.h:
* libinfinity/inf-i18n.c: New files containing the common _() macro
and a wrapper function to initialize gettext before the first string
is translated.
* libinfinity/Makefile.am: Add the new files to the build.
* libinfinity/common/inf-cert-util.c:
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-discovery-avahi.c:
* libinfinity/common/inf-error.c:
* libinfinity/common/inf-session.c:
* libinfinity/common/inf-tcp-connection.c:
* libinfinity/common/inf-user.c:
* libinfinity/common/inf-xml-util.c:
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/client/infc-browser.c:
* libinfinity/client/infc-request-manager.c:
* libinfinity/client/infc-session-proxy.c:
* libinfinity/server/infd-directory.c:
* libinfinity/server/infd-filesystem-storage.c:
* libinfinity/server/infd-session-proxy.c:
* libinfinity/server/infd-xml-server.c:
* libinfinity/adopted/inf-adopted-session-record.c:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/adopted/inf-adopted-state-vector.c:
* libinftext/inf-text-session.c:
* libinfgtk/inf-gtk-browser-store.c:
* libinfgtk/inf-gtk-browser-view.c:
* libinfgtk/inf-gtk-certificate-dialog.c:
* libinfgtk/inf-gtk-certificate-manager.c:
* libinfgtk/inf-gtk-certificate-view.c:
* libinftextgtk/inf-text-gtk-buffer.c:
* infinoted/infinoted-main.c:
* infinoted/infinoted-note-plugin.c: Mark all translatable strings.
Strings in g_warning() have been omitted, but it might make sense to
mark them, too, or at least some of them.
2008-09-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Correctly import
certificate chains, produce an error if the server does not provide a
certificate.
* libinfinity/common/inf-certificate-chain.c: Changed direction so
that the first certificate is the server's and the last certificate is
the root's, since this how we get the list from GnuTLS.
* libinfgtk/inf-gtk-certificate-dialog.c: Fixed showing certificate
chains consisting of more than one certificate.
* infinoted/infinoted-main.c: Fixed using a whole certificate chain
for the server.
* infinoted/infinoted-creds.h:
* infinoted/infinoted-creds.c: Removed
infinoted_creds_read_certificate and infinoted_creds_write_certificate
since we use the inf_cert_util functions instead.
* configure.ac:
* README: Raise required GTK+ version to 2.12, since we use
gtk_tree_view_set_show_expanders() which is only available since 2.12.
2008-09-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c: Fixed warnings about
incompatible pointer type in calls to
inf_connection_manager_open_group().
2008-09-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added inf_gnutls_error_quark() and
inf_gnutls_set_error() to convert a gnutls error code into a GError.
* libinfinity/common/inf-cert-util.c:
* libinfinity/common/inf-xmpp-connection.c: Make use of the new
functions, to simplify the code.
2008-09-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-cert-util.h:
* libinfinity/common/inf-cert-util.c: Added inf_cert_util_load_file
and inf_cert_util_save_file to load or save a certificate list.
* libinfgtk/inf-gtk-certificate-manager.c: Use these functions instead
of the private inf_gtk_certificate_manager_load_certificate_file and
inf_gtk_certificate_manager_save_certificate_file.
* libinfgtk/inf-gtk-certificate-dialog.c: Fixed usage of the return
value of gtk_icon_theme_lookup_icon.
2008-09-16 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted/creds.h:
* infinoted/infinoted/creds.c: Include <gnutls/x509.h> only in the
source file not in the header, it is not needed for the declarations.
Also set the common name of a generated self-signed certificate to
g_get_host_name().
* infinoted/infinoted/main.c: Include <gnutls/x509.h> since it is no
longer included by including infinoted/creds.h.
2008-09-16 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-certificate-view.h:
* libinfgtk/inf-gtk-certificate-view.c: Added a widget that shows a
certificate.
* libinfgtk/inf-gtk-certificate-dialog.h:
* libinfgtk/inf-gtk-certificate-dialog.c: Added a dialog that warns
the user when certain things are wrong with a certificate, such as
when the issuer is not trusted, the hostname does not match or the
certificate expired.
* libinfgtk/inf-gtk-certificate-manager.h:
* libinfgtk/inf-gtk-certificate-manager.c: Added a class that verifies
the certificates of all client connections of a InfXmppManager, and
shows InfGtkCertificateDialogs if necessary.
* libinfgtk/Makefile.am: Added the new files to the build.
2008-09-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-cert-util.h:
* libinfinity/common/inf-cert-util.c: New file containing a few
convenience functions to deal with X.509 certificates.
* libinfinity/common/inf-certificate-chain.h:
* libinfinity/common/inf-certificate-chain.c: Very thin wrapper around
an array of gnutls_x509_crt_t to ref-count it and integrate it into
the gobject type system.
* libinfinity/common/Makefile.am: Added the new files to the build.
* libinfinity/common/inf-xmpp-manager.h:
* libinfinity/common/inf-xmpp-manager.c: Added a "add-connection"
signal that is emitted when a new connection has been added to the
manager.
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Query server
certificate(s) if we are client, and call a callback to decide whether
to accpet the certificate or not.
2008-09-13 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Make InfXmppConnection
take local and remote server address instead of local jid only, and
send correct <stream:stream> header as required by the RFC. Added
support for verification of server's certificate, via a callback.
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c:
* libinfinity/common/inf-discovery-avahi.c: Set remote server name
appropriately.
* infinoted/infinoted-main.c:
* test/inf-test-browser.c:
* test/inf-test-daemon.c:
* test/inf-test-xmpp-connection.c: Adapt to API change.
2008-09-11 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c: Don't move own cursor or
selection bound if a remote insert operation occurs at the same
position.
2008-09-10 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c: Fixed a bug causing wrong text
colors when undoing a delete operation having erased text from
multiple users.
2008-09-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-session-proxy.c: Notify clients when a
connection with subscribed users has unsubscribed.
2008-09-10 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.h:
* libinftext/inf-text-session.c: Added
inf_text_session_set_user_color(), and handle on remote site.
2008-09-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-session-proxy.c: Set connection of joining
users to the publisher connection if none was specified.
2008-09-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:DOUBLE and VOID:ENUM
marshallers.
* libinftextgtk/inf-text-gtk-hue-chooser.h:
* libinftextgtk/inf-text-gtk-hue-chooser.c: Added a new class to
choose a hue value. This is basically the same as GtkHSV without the
inner triangle.
* libinftextgtk/Makefile.am: Added the new files to the build.
* libinftextgtk/inf-text-gtk-buffer.c: Added a TODO comment about
using gtk_hsv_to_rgb from GTK+ 2.14.
2008-09-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-session-proxy.h:
* libinfinity/client/infc-session-proxy.c: Removed
infc_session_proxy_set_user_status(), don't handle user-status-change
request anymore.
* libinfinity/server/infd-session-proxy.c: Don't handle
user-status-change anymore, update subscription lists on user status
notify.
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Added
inf_session_set_user_status(), handle user-status-change requests.
2008-08-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session-record.c: Flush record file
after every request written, so that we don't miss any when we crash.
2008-08-27 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c inf_text_session_request_to_xml():
Don't require a delete operation to be a InfTextDefaultDeleteOperation
when for_sync is FALSE, because we only need the length of the
operation anyway then. This fixes records of remote delete operations.
2008-08-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request-log.c: Correctly subtract
begin index from end index before dereferencing.
2008-08-27 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c: Correctly read synchronized delete
requests, instead of only creating an empty one.
2008-08-26 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-note-plugin.h:
* libinfinity/client/infc-note-plugin.h: Added a user_data parameter
to the structs and the callback functions, to ease wrapping
InfcNotePlugin and InfdNotePlugin by language bindings.
* infinoted/note-plugins/text/infd-note-plugin-text.c:
* libinfinity/client/infc-browser.c:
* libinfinity/server/infd-directory.c:
* test/inf-test-gtk-browser.c: Adapt to API changes.
2008-08-25 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-user.h:
* libinfinity/common/inf-user.c: Replaced INF_USER_AVAILABLE status by
INF_USER_ACTIVE and INF_USER_INACTIVE, added
inf_user_status_to_string() and inf_user_status_from_string().
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Merged InfUserJoinError and
InfUserStatusChangeError to InfUserError.
* libinfinity/adopted/inf-adopted-session.c: Automatically set
inactive users active when they issue non-noop requests.
* libinfinity/client/infc-session-proxy.h:
* libinfinity/client/infc-session-proxy.c: Replaced
infc_session_proxy_leave_user() by
infc_session_proxy_set_user_status().
* libinfinity/common/inf-session.c:
* libinfinity/server/infd-session-proxy.c:
* test/inf-test-gtk-browser.c:
* test/inf-test-text-cleanup.c:
* test/inf-test-text-session.c: Adapt to API changes.
2008-08-24 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-storage.h:
* libinfinity/server/infd-storage.c: Make the remove_node function
take an identifier, so that it knows what node to remove.
* libinfinity/server/infd-filesystem-storage.c: Implemented
accordingly.
* libinfinity/server/infd-directory.c: Adapt to API change.
2008-08-24 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.h:
* libinfgtk/inf-gtk-browser-view.c: Added
inf_gtk_browser_view_set_selected().
2008-08-23 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.h:
* libinfgtk/inf-gtk-browser-view.c: Added the "populate-popup" signal.
If signal handlers add menu items to the popup menu, then a popup menu
is displayed.
2008-08-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-simulated-connection.h:
* libinfinity/common/inf-simulated-connection.c:
* libinfinity/common/Makefile.am: Added InfSimulatedConnection, an
InfXmlConnection implementation that sends XML data from one simulated
connection to another.
* libinfinity/adopted/inf-adopted-session-record.c: Add sync-begin
and sync-end to initial, so that the content can directly be fed to an
InfSession in INF_SESSION_SYNCHRONIZING state on replay.
* libinfinity/common/inf-connection-manager.h:
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_open_group): Added correct const qualifiers
to methods parameter.
* libinftext/inf-text-session.c: Don't disconnect from algorithm's
signals in INF_SESSION_SYNCHRONIZING state, because we don't have an
algorithm yet at that point. This prevents glib warnings.
* test/inf-test-text-replay.c:
* test/Makefile.am: Added test that replays a record from
InfAdoptedSessionRecord internally (without visualization). This can
be used to reproduce libinfinity bugs.
2008-08-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:OBJECT,OBJECT,BOOLEAN
marshaller.
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/adopted/inf-adopted-algorithm.c: Added user parameter
for the "execute-request" signal.
* libinfinity/adopted/inf-adopted-session.c: Adapt.
* libinfinity/adopted/inf-adopted-session-record.c: Store vector time
diffs between requests of the same user, so that the XML can be given
directly to InfAdoptedSession for replay.
2008-08-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-central-method.h:
* libinfinity/inf-central-method.c: Moved the implementation of a
method implementing central communication into the public libinfinity
API, so that it can be used by different networks.
* libinfinity/method/local-central/inf-method-local-central.c: Use the
InfCentralMethod API.
* libinfinity/Makefile.am: Added InfCentralMethod to the build.
2008-08-14 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c
(inf_text_gtk_buffer_buffer_iter_get_bytes): Fixed a bug when the
iterator only contains a newline. In that case, the function fielded
totally wrong values due to an underflow.
2008-08-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session-record.h:
* libinfinity/adopted/inf-adopted-session-record.c:
* libinfinity/adopted/Makefile.am: Introduced InfAdoptedSessionRecord,
a class to record sessions to replay later.
2008-08-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session.c: Double the interval
within which noop requests are sent, and only send a noop if a remote
request has been executed since the last request was sent.
2008-08-08 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c: Call base class dispose
instead of finalize, on dispose.
2008-08-08 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-model.h
* libinfgtk/inf-gtk-browser-store.c
* libinfgtk/inf-gtk-browser-view.c: Fix searching in browser view by
setting the search column correctly, and allowing non-toplevel columns
to have a name.
2008-07-23 Benjamin Herr <ben@0x539.de>
* libinftext/inf-text-session.c: Apply attributes to operation xml
element instead of its parent.
2008-07-23 Benjamin Herr <ben@0x539.de>
* libinftext/inf-text-session.c: Properly initialised operation
variable before accessing it.
* ChangeLog: Fixed date of preceeding change log entry.
2008-07-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session.h:
* libinfinity/adopted/inf-adopted-session.c: Changed the
xml_to_operation and operation_to_xml vfuncs to xml_to_request and
request_to_xml, to allow generation of custom requests, and to
decouple the update of local user's last send vector from the
serialization of a request. Added
inf_adopted_session_read_request_info() and
inf_adopted_session_write_request_info() to ease implementation by
derived classes.
* libinftext/inf-text-session.c: Adapted to API change.
2008-07-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.h:
* libinfinity/common/inf-connection-manager.c: Added documentation,
removed has_connection and lookup_connection functions from
InfConnectionManagerMethodDesc, we just rely on the registered
connections for this.
* libinfinity/methods/local-central/inf-method-local-central.c: Adapt
to the API change.
* libinfinity/adopted/inf-adopted-session.h:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/adopted/inf-adopted-split-operation.h:
* libinfinity/adopted/inf-adopted-state-vector.h:
* libinfinity/adopted/inf-adopted-user.h:
* libinfinity/common/inf-buffer.h: Added some more documentation.
2008-07-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/adopted/inf-adopted-algorithm.c: Added "execute-request"
signal that is emitted every time a request is executed.
2008-07-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-request-log.c: Added more
documentation.
* libinfinity/adopted/inf-adopted-state-vector.c: Fixed formatting
slightly.
* TODO: Added ideas to improve performance.
2008-07-15 Benjamin Herr <ben@0x539.de>
* libinfinity/adopted/inf-state-vector.h: Changed state vector typedef
from GSequence to an opaque type.
* libinfinity/adopted/inf-state-vector.c: Changed state vector to use
an array of ids and timestamps instead of a GSequence.
* tests/inf-test-state-vector.c: Added a bunch of poorly-thought-out
tests.
2008-07-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/adopted/inf-adopted-algorithm.c:
* libinfinity/adopted/inf-adopted-no-operation.h:
* libinfinity/adopted/inf-adopted-no-operation.c:
* libinfinity/adopted/inf-adopted-operation.h:
* libinfinity/adopted/inf-adopted-operation.c:
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request.c:
* libinfinity/common/inf-user-table.h:
* libinfinity/common/inf-user-table.c:
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-io.c:
* libinfinity/common/inf-session.c: Added/Fixed documentation.
2008-07-12 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-cleanup.c (perform_test): Terminate the call to
g_object_new that creates the InfTextSession with NULL, preventing
memory corruption.
2008-07-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c
(infc_session_proxy_set_connection): Correctly thaw the notification
queue of the session at the end of the function.
2008-07-11 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c: Update user tag
"background-color" property on user color change.
2008-07-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_can_undo_redo): Changed semantics of this
function for non-local users so that it returns whether the user in
question can issue an Undo or Redo command in its own current state
(as known to the local site).
* test/inf-test-text-cleanup.c: Allow can-undo and can-redo
verifications when the user's vector does not match the current one
from the algorithm.
* test/cleanup/cleanup-05.xml:
* test/cleanup/cleanup-06.xml:
* test/cleanup/cleanup-07.xml: Yet another three tests.
2008-07-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_cleanup): Don't use least common successor but
least common predecessor as reference when cleaning up requests. This
was always meant to be the predecessor, but used the successor until
now because of me being stupid. Also fixed the cleanup process so that
when all sites processed all operations the max total log size really
is not exceeded.
* libinfinity/adopted/inf-adopted-request-log.c
(inf_adopted_request_log_remove_requests): Don't touch next-undo or
next-redo when no requests are removed.
* test/cleanup/cleanup-01.xml: Empty the initial buffer for
simplicity.
* test/cleanup/cleanup-02.xml:
* test/cleanup/cleanup-03.xml:
* test/cleanup/cleanup-04.xml: Three more cleanup tests.
2008-07-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c: Use G_MAXUINT instead
of 0 for max-total-log-size to mean unlimited, so a max-total-log-size
of 0 is allowed.
* test/inf-test-text-cleanup.c:
* test/inf-test-text-session.c: Only process XML files in the
subdirectories, not Makefiles and other stuff.
2008-07-05 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c
(inf_adopted_algorithm_can_undo, inf_adopted_algorithm_can_redo):
Added support for returning undo/redo status for non-local users.
However, this currently returns whether those users can issue
undo/redo in the algorithm's current state. This especially means that
a request received from such a non-local user may be valid even if
this function returns false, if the request was generated at another
state. This will probably be changed in the future to return whether
the given user can issue an Undo/Redo request in its own state
(as known to the local site).
* libinfinity/adopted/inf-adopted-session.c: Added the
"max-total-log-size" property that is delegated to the construction of
the algorithm.
* test/inf-test-text-cleanup.c: Added a test that reads XML files
specifying test scenarios from test/cleanup to test whether the
algorithm's cleanup routines (correctly shrink request logs, correctly
issue can-undo/can-redo) work.
* test/cleanup/cleanup-01.xml: First simple cleanup test.
* test/session/Makefile.am:
* test/cleanup/Makefile.am:
* configure.ac: Add the test files to the distribution.
* test/Makefile.am: Add the new file to the build.
2008-07-05 Armin Burgmeier <armin@arbur.net>
* test/session/: Renamed from test/std/.
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinfinity/Makefile.am:
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinftextgtk/Makefile.am:
* libinfgtk/Makefile.am:
* libinfinity/Makefile.am:
* libinfinity/adopted/Makefile.am:
* libinfinity/client/Makefile.am:
* libinfinity/common/Makefile.am:
* libinfinity/server/Makefile.am:
* libinftext/Makefile.am:
* libinftextgtk/Makefile.am: Use AM_CPPFLAGS instead of INCLUDES which
is deprecated.
* test/util/inf-test-util.h:
* test/util/inf-test-util.c: Moved some common functions used in
multiple tests here for code reuse.
* test/Makefile.am:
* configure.ac: Add to build.
* test/inf-test-text-session.c: Use the new test functions.
2008-07-03 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c
(inf_text_gtk_buffer_insert_text_cb,
inf_text_gtk_buffer_delete_range_cb): Revalidate iterators at the end,
so that others can call gtk_text_buffer_insert and
gtk_text_buffer_delete with normal semantics.
2008-06-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-session-proxy.c: Don't assign user IDs that
are already in use by users that were already in the initial session.
2008-06-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Fixed a crash when
<stream:error> was received.
* libinfinity/client/infc-session-proxy.h:
* libinfinity/client/infc-session-proxy.c: Added
infc_session_proxy_get_connection and
infc_session_proxy_get_subscription_group, correctly unset underlying
session's subscription group when the connection is released.
2008-06-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session.c
(inf_adopted_session_constructor): Add initial local users to the list
of local users.
* libinfinity/client/infc-browser.c (infc_browser_handle_add_node):
Fix the check for a <subscribe/> child being present.
* libinfinity/common/inf-user-table.c
(inf_user_table_add_user_handler): Ref users put into the user table.
* libinfinity/common/inf-session.c (inf_session_net_object_sent):
Don't assert that the sent message was a synchronization message if we
found a synchronization to the connection since we could already have
sent stuff that is meant to be processed after the synchronization.
(inf_session_add_user): Unref user after having put it into the user
table.
* libinfinity/server/infd-directory.c: Removed the check that
available users in a synced-session need to be from the synchronizing
connections since that check has been moved to InfdSessionProxy.
* libinfinity/server/infd-session-proxy.c: Added the mentioned check
here, and additionally add the user to the list of subscribed users
for that connection so that, when the connection unbsubscribes again,
the user will be set to unavailable. Also removed the
subscribe-sync-conn property, instead allow calling
infd_session_proxy_subscribe_to() when the session is in
INF_SESSION_SYNCHRONIZING state.
* test/inf-test-text-session.c: Unref user after having put in into
the user table.
* infinoted/note-plugins/text/infd-note-plugin-text.c
(infd_note_plugin_text_read_user): Unref user after having put it into
the user table.
2008-06-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-session.c (inf_session_sync_strerror): Fix a
typo.
(inf_session_process_xml_sync_impl): Set connection property to the
synchronizing connection if not given.
(inf_session_handle_received_sync_message): Cope with the fact that
some callback in process_xml_sync could have cancelled the
synchronization.
* libinfinity/server/infd-directory.c: Make sure that available users
in a synced-in session are from the synchronizing connection, and
only allow them if the synchronizing connection is subscribed.
Otherwise, close the session which effectively cancels the sync-in.
* libinfinity/server/infd-session-proxy.c: Fixed two typos in
comments.
2008-06-25 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/infc-session-proxy.c
(infc_session_proxy_dispose): Properly release connection on dispose,
chain to base class after having unrefed the session, so that weak
references are notified after object has been fully disposed. This
fixes a warning when a successful sync-in is removed.
* libinfinity/common/inf-session.c (inf_session_close_handler):
Changed a comment to make clear how synchronizations are removed.
2008-06-24 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c
(inf_connection_manager_register_connection): Fixed a severe reference
counting issue: Registering a connection multiple times did not
increase the reference count.
* libinftext/inf-text-session.c
(inf_text_session_selection_changed_data_free): Fixed the function
signature to match GClosureNotify.
(inf_text_session_segment_to_xml): Don't assert if the input text is
too large, this will be handled in a second run.
2008-06-22 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c
(inf_text_gtk_buffer_buffer_iter_get_bytes): Fix two logic errors so
that the function behaves as expected.
2008-06-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c (infc_browser_handle_sync_in):
Free type after it has been used, not before, and add the sync in
after having created the node, because the sync-in needs to know the
node.
* libinfinity/client/infc-session-proxy.c
(infc_session_proxy_net_object_received): Fix an assertion so that
synchronization messages are passed to the underlying InfSession even
when they do not come from the subscription connection.
* libinfinity/server/infd-directory.c
(infd_directory_node_add_sync_in): Send parent node of sync-in, add
connection to sync group if it is not the subscription group.
* libinfgtk/inf-gtk-browser-view.c: Added two TODO comments about
watching a signal to get notified when a sync-in begins.
2008-06-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-session.c (inf_session_close_handler): Check
that the connection is still open before calling
inf_session_send_sync_error(). This fails otherwise if the session
was closed explictely in response to the status change notify of
the underlaying connection.
(inf_session_synchronization_failed_handler): Don't assert on
INF_SESSION_CLOSED since the session could be closed between the
beginning of the signal emission and the run of the default handler.
* libinfinity/client/infc-browser.c
(infc_browser_net_object_received): If an error was set, and the node
had a seq set, then fail the corresponding request since the server
reply could not be processed.
* libinfinity/server/infd-directory.c (infd_directory_add_sync_in):
Unref the synchronization group after having passed it to
_create_session_proxy().
* libinftextgtk/inf-text-gtk-buffer.c
(inf_text_gtk_buffer_set_active_user): Allow the new active user to be
NULL to unset the active user, as used in _dispose().
2008-06-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added
infc_browser_iter_get_path().
2008-06-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.h:
* libinfinity/common/inf-connection-manager.c: Added parent parameter
for inf_connection_manager_add_connection() and
inf_connection_manager_register_connection().
* libinfinity/server/infd-session-proxy.h:
* libinfinity/server/infd-session-proxy.c: Added parent_group
parameter for infd_session_proxy_subscribe_to(), making sure the first
message in the subscription group is sent after the client knows about
the subscription (group).
* libinfinity/server/infd-directory.c:
* libinfinity/methods/local-central/inf-method-local-central.c: Adapt
to API changes.
2008-06-14 Armin Burgmeier <armin@arbur.net>
* test/inf-test-text-operations.c: Remove an unused variable.
* infinoted/infinoted-main.c: Listen on IPv6, fall back to IPv4 if
that fails.
* libinfinity/common/inf-connection-manager.h:
* libinfinity/common/inf-connection-manager.c: Do no longer rely on
the local/remote address for publisher identification, but use a
host-local UUID for this.
* libinfinity/common/inf-method-manager.c: Print error message when a
method could not be loaded.
* libinfinity/methods/local-central/inf-method-local-central.c:
* README:
* configure.ac: Depend on libuuid.
2008-05-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c: Added two assertions in
infc_browser_handle_sync_in() and infc_browser_add_note_with_content()
that make sure that the provided session is not yet subscribed in case
that the client wants to subscribe to the newly created node.
* libinfgtk/inf-gtk-browser-view.c: Show progress of sync-ins.
2008-05-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Replaced the "begin-sync-in"
signal and the infc_browser_iter_get_sync_in_requests() method by a
infc_browser_iter_get_sync_in() method that provides the same
information.
2008-05-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added
INF_DIRECTORY_ERROR_UNEXPECTED_SYNC_IN error code.
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added support for Sync-Ins,
resulting in these new methods: infc_browser_add_note_with_content(),
infc_browser_iter_get_sync_in_requests(), and the "begin-sync-in"
signal.
* libinfinity/server/infd-directory.c: Added node name and node type
in the <sync-in> reply.
2008-05-13 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c: Added <subscribe> child tags
into <add-node> replies that have a <subscribe> child set, telling
group name and method of subscription group.
2008-05-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session.c: Correctly remove noop
timer when the session is destroyed.
2008-05-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-session-proxy.h:
* libinfinity/server/infd-session-proxy.c: Added a synchronize
parameter to infd_session_proxy_subscribe_to, that specifies whether
to synchronize the session before subscription.
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added support for so-called
Sync-Ins. Sync-Ins are nodes created upon a client request that have
initial content synchronized from the client.
2008-05-09 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.c: Don't rely on the underlying model
containing all browser nodes since a InfGtkBrowserModelFilter might
filter some.
2008-05-09 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-model-sort.c:
* libinfgtk/inf-gtk-browser-model-filter.c: Fix call to
gtk_tree_model_{filter,sort}_convert_child_iter_to_iter() in
browser_iter_to_tree_iter.
* libinfgtk/inf-gtk-browser-view.c: Don't rely on the model to have
GTK_TREE_MODEL_ITERS_PERSIST set.
2008-05-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-standalone-io.c: Fixed endless loop when two
or more timeouts have been registered.
2008-05-09 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-model-sort.c:
* libinfgtk/inf-gtk-browser-model-filter.c: Explicitely sync with
initial model in constructor since we don't get notified for it.
2008-05-09 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.h:
* libinfgtk/inf-gtk-browser-view.c: Added the "selection_changed"
signal.
2008-05-09 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-model-filter.c:
(inf_gtk_browser_model_filter_new): Fixed property name in
g_object_new which is "child-model" instead of "model" for
GtkTreeModelFilter.
2008-05-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Made the plugin parameter to
infc_browser_add_note() const.
2008-05-09 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.h:
* libinfgtk/inf-gtk-browser-view.c: Added
inf_gtk_browser_view_get_selected().
2008-05-08 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-store.h: Removed declaration of
inf_gtk_browser_store_resolve().
* libinfgtk/inf-gtk-browser-model.c: Adjusted reference from
inf_gtk_browser_store_resove() to inf_gtk_browser_model_resolve().
2008-05-08 Armin Burgmeier <armin@arbur.net>
* docs/reference/libinfinity/libinfinity-docs.sgml: Reordered, added a
separate section for each sub-library (common, adopted, client,
server).
* docs/reference/libinftext/Makefile.am:
* docs/reference/libinftext/tmpl/*.sgml:
* docs/reference/libinftext/libinftext-docs.sgml:
* docs/reference/libinftext/libinftext-overrides.txt:
* docs/reference/libinftext/libinftext-sections.txt:
* docs/reference/libinftext/libinftext.types:
* docs/reference/Makefile.am:
* configure.ac: Added gtk-doc documentation for libinftext.
* docs/reference/libinfgtk/Makefile.am:
* docs/reference/libinfgtk/tmpl/*.sgml:
* docs/reference/libinfgtk/libinfgtk-docs.sgml:
* docs/reference/libinfgtk/libinfgtk-overrides.txt:
* docs/reference/libinfgtk/libinfgtk-sections.txt:
* docs/reference/libinfgtk/libinfgtk.types:
* docs/reference/Makefile.am:
* configure.ac: Added gtk-doc documentation for libinfgtk.
* docs/reference/libinftextgtk/Makefile.am:
* docs/reference/libinftextgtk/tmpl/*.sgml:
* docs/reference/libinftextgtk/libinftextgtk-docs.sgml:
* docs/reference/libinftextgtk/libinftextgtk-overrides.txt:
* docs/reference/libinftextgtk/libinftextgtk-sections.txt:
* docs/reference/libinftextgtk/libinftextgtk.types:
* docs/reference/Makefile.am:
* configure.ac: Added gtk-doc documentation for libinftextgtk.
* libinftext/inf-text-buffer.c:
* libinftext/inf-text-chunk.c:
* libinfgtk/inf-gtk-browser-model.c:
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-view.c:
* libinfgtk/inf-gtk-io.c: Fixed minor documentation errors.
2008-05-08 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-model-sort.c: Don't call
inf_gtk_browser_model_set_browser() on child model in default signal
handler of set_browser. This would lead to endless recursion.
* libinfgtk/inf-gtk-browser-model-filter.h:
* libinfgtk/inf-gtk-browser-model-filter.c:
* libinfgtk/Makefile.am: Added InfGtkBrowserModelFilter, deriving from
GtkTreeModelFilter and implementing InfGtkBrowserModel.
2008-05-08 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-store.h: Removed two declarations that are
already in inf-gtk-browser-model.h.
* libinfgtk/inf-gtk-browser-model-sort.h:
* libinfgtk/inf-gtk-browser-model-sort.c:
* libinfgtk/Makefile: Added a new class deriving from GtkTreeModelSort
that implements InfGtkBrowserModel.
2008-04-20 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-model.c:
* Makefile.am: Changed this class to an interface with a resolve() and
browser_iter_to_tree_iter() virtual function, to allow custom models
to be given to InfGtkBrowserView.
* libinfgtk/inf-gtk-browser-store.h:
* libinfgtk/inf-gtk-browser-store.c: Moved the original
InfGtkBrowserModel class to InfGtkBrowserStore, implementing the new
interface.
* libinfgtk/inf-gtk-browser-view.c: Added a missing include, remove
some unused variables.
* test/inf-test-gtk-browser.c: Adapt to the new API.
2008-04-20 Armin Burgmeier <armin@arbur.net>
* infinoted/note-plugins/text/infd-note-plugin-text.c:
* libinfinity/common/inf-connection-manager.c: Improved error
messages.
* libinfinity/server/infd-session-proxy.c: Added a TODO comment about
not propagating non-fatal errors to the connection manager.
2008-04-13 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c: Remove the session proxy
associated to an entry when the corresponding session is closed.
2008-04-13 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c: Reset the _private
field of queued xmlNodePtr, so that libxml++ (when linked in) does not
assume that's the C++ wrapper for the node (it tries to delete it).
2008-04-12 Armin Burgmeier <armin@arbur.net>
* libinftextgtk/inf-text-gtk-buffer.c: Allow moving the text buffer's
cursor and selection without active user.
2008-04-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.c: Emit the subscribe-session signal
before finishing a pending request, so that signal handlers of
InfcNodeRequest::finished can access the newly created session via
infc_browser_iter_get_session().
* libinfinity/common/inf-xmpp-connection.c: Added some more comments
about RFC compliance.
2008-03-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/Makefile.am: Build methods after having built
libinfinity, so they can link against it.
* libinfinity/methods/local-central/Makefile.am: Link against
libinfinity-1.0 instead of libinfinity_common so that the marshal
functions are not undefined.
2008-03-06 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-model.c: Added a "name" column for
toplevel items, to support sensible item names for direct connections.
* libinfgtk/inf-gtk-browser-view.c: Show that name.
* libinfinity/common/inf-connection-manager.c: Check that such a group
is not already present in inf_connection_manager_create_group() and
inf_connection_manager_join_group().
* libinfinity/common/inf-discovery-avahi.c: Also weakref discovered
XMPP connection when we did not need to create it. We don't strongref
it here neither, and must get notified when to invalidate the cache.
2008-03-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-config.h.in: Configuration file that only contains
prefixed defines, so it is safe to be installed.
* libinfinity/Makefile.am: Noted that inf-config.h should be
installed, in contrast to inf-marshal.h.
* configure.ac: Let autoheader generate config.h, not
libinfinity/inf-config.h.
* libinfinity/common/inf-tcp-connection.c: Fixed a typo (#error ->
@error).
2008-03-04 Armin Burgmeier <armin@arbur.net>
* libinfinity/Makefile.am:
* libinfinity/common/Makefile.am:
* libinfinity/adopted/Makefile.am:
* libinfinity/client/Makefile.am:
* libinfinity/server/Makefile.am: Fixed include files installation
path.
2008-03-04 Armin Burgmeier <armin@arbur.net>
* libinfgtk/inf-gtk-browser-view.h:
* libinfgtk/inf-gtk-browser-view.c: Don't subscribe on row activation,
but emit an activate signal so that client code can subscribe.
* test/inf-test-gtk-browser.c: Adapt.
2008-08-24 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xml-util.h:
* libinfinity/common/inf-xml-util.c: Added
inf_xml_util_get_attribute_double(),
inf_xml_util_get_attribute_double_required() and
inf_xml_util_set_attribute_double().
* libinftext/inf-text-user.h:
* libinftext/inf-text-user.c: Added the "hue" property.
* libinftext/inf-text-session.c: Adapted get_xml_user_props and
set_xml_user_props.
* infinoted/note-plugins/text/infd-note-plugin-text.c: Save hue
property in filesystem storage.
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Set tag background color
according tu hue property of author, added the "user-table" property,
take in inf_text_gtk_buffer_new().
* test/inf-test-gtk-browser.c: Adapt to API change.
2008-02-24 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c: Delay caret updates if too frequent.
* libinfinity/common/inf-io.h:
* libinfinity/common/inf-io.c: Added a GDestroyNotify parameter to
inf_io_watch() and inf_io_add_timeout().
* libinfinity/common/inf-standalone-io.c
* libinfgtk/inf-gtk-io.c: Adapt implementation.
* libinfinity/common/inf-tcp-connection.c:
* libinfinity/common/inf-discovery-avahi.c:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/server/infd-tcp-server.c:
* test/inf-test-browser.c: Adapt usage.
* libinfinity/server/infd-directory.c: Make use of the notify to get
rid of an unpleasant hack.
2008-02-23 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-session.c:
inf_session_get_synchronization_progress(): Don't divide by zero if
the initial sync-begin was not yet received.
* libinfinity/adopted/inf-adopted-session.c: Send noop request after
15 seconds of inactivity.
2008-02-23 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added
infc_browser_iter_save_session().
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Added the synchronization-begin
signal.
* libinfinity/server/infd-session-proxy.c: Don't consider the session
idle when there are ongoing synchronizations.
2008-02-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.c: Handle <save-session> request,
automatically store idle sessions into storage, unload from RAM.
* libinfinity/server/infd-session-proxy.h:
* libinfinity/server/infd-session-proxy.c: Added the "idle" property,
the "add-subscription" and "remove-subscription" signals and
infd_session_proxy_has_subscriptions(),
infd_session_proxy_is_subscribed() and infd_session_proxy_is_idle().
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added
INF_DIRECTORY_ERROR_UNSUBSCRIBED.
* infinoted/note-plugins/text/infd-note-plugin-text.c: Fix a bug (an
error was reported when everything was OK) when loading user-modified
text.
2008-02-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-request-log.c: Changed
inf_adopted_request_log_upper_related() to take the request index
instead of the request itself.
* libinfinity/common/inf-method-manager.h:
* libinfinity/common/inf-user-table.h:
* libinfinity/adopted/inf-adopted-session.h: Removed superflous
#defines, resulting from cut'n'pasted code.
* libinfinity/adopted/inf-adopted-algorithm.c: Implemented caching for
translated requests. This speeds up translation of undo requests that
need to be transformed against several requests of others. This breaks
test #25. However, the problem seems not to be with the cache but with
the transformation function. I need to investigate this separately.
Also simplified cleanup of request logs.
* libinfinity/common/inf-buffer.c:
* libinfinity/common/inf-session.c:
* libinfinity/adopted/inf-adopted-user.c:
* libinfinity/server/infd-directory.c:
* docs/reference/libinfinity/libinfinity-sections.txt: Documentation
fixes.
* test/inf-test-text-session.c: Don't interpret given random seed as
test directory.
* test/std/test-47.xml: Added new test transforming ten undo requests
against ten requests from another user. This is unacceptably slow
without the request cache mentioned above.
2008-02-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-split-operation.c:
* libinfinity/common/inf-ip-address.c: More documentation.
2008-02-17 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-discovery.c:
* libinfinity/common/inf-session.c:
Added some more completely made-up documentation!
2008-02-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-io.h:
* libinfinity/common/inf-io.c:
* libinfinity/server/infd-directory.c:
* libinfinity/common/inf-net-object.c:
* libinfinity/common/inf-connection-manager.c:
* libinfinity/client/infc-request.c: Documented these classes.
* docs/reference/libinfinity/libinfinity.types: Committed types file
as it seems to be required to generate correct documentation.
* docs/reference/libinfinity/libinfinity-sections.txt: Order a bit.
2008-02-17 Benjamin Herr <ben@0x539.de>
* libinfinity/common/inf-user-table.c:
* libinfinity/common/inf-tcp-connection.c:
* libinfinity/common/inf-xml-connection.c:
Added preliminary documentation to a few signals.
2008-02-17 Benjamin Herr <ben@0x539.de>
* libinfinity/adopted/inf-adopted-no-operation.c:
* libinfinity/adopted/inf-adopted-split-operation.c:
* libinfinity/server/infd-storage.c:
* libinfinity/server/infd-storage.h:
* libinfinity/common/inf-net-object.c:
* libinfinity/common/inf-standalone-io.c:
* libinfinity/common/inf-user-table.c:
* libinfinity/common/inf-method-manager.c:
* libinfinity/common/inf-ip-address.c:
* libinfinity/common/inf-xmpp-manager.c:
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-session.c:
* libinfinity/client/infc-request-manager.c:
* libinfinity/client/infc-request-manager.h:
Solved minor documentation generation errors/warnings
2008-02-17 Armin Burgmeier <armin@arbur.net>
* docs/reference/libinfinity/tmpl/*.sgml: Committed SGML files
required by gtk-doc.
2008-02-17 Benjamin Herr <ben@0x539.de>
* **/*.c: changes "/** foo:\n *" into "/**\n * foo:"
2008-02-17 Armin Burgmeier <armin@arbur.net>
* autogen.sh: Added autogen.sh which also calls gtkdocize in addition
to creating all the necessary build files.
* configure.ac: Added gtk-doc support.
* Makefile.am: Added docs to subdirs.
* libinfinity/adopted/inf-adopted-state-vector.h:
* libinfinity/adopted/inf-adopted-state-vector.c:
* libinfinity/client/infc-browser-iter.c:
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Documentation fixes.
* m4: Added m4 directory as required by some new configure macro.
* docs/Makefile.am:
* docs/reference/Makefile.am:
* docs/reference/libinfinity/Makefile.am:
* docs/reference/version.xml.in:
* docs/reference/libinfinity/libinfinity-sections.txt:
* docs/reference/libinfinity/libinfinity-docs.sgml:
* docs/reference/libinfinity/libinfinity-overrides.txt: Added initial
gtk-doc files to create documentation. Perhaps some more are required
which I will commit when someone misses them. I just don't want to
check in generated files.
* test/inf-test-text-session.c: Reduced permutations to 100 so that it
finishes earlier.
2008-02-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request-log.c: Fixed possible memory
corruption when entries need to be reallocated.
* TODO: Update.
2008-02-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c: Replaced user_id ->
requset log hash table by a user array, hopefully making some loops
faster.
2008-02-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/adopted/inf-adopted-algorithm.c: Read participating
users directly from user table, remove
inf_adopted_algorithm_add_user().
* libinfinity/adopted/inf-adopted-session.c: Adapt to API change.
2008-02-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c: Split the
transformation part of inf_adopted_algorithm_translate_request() into
a separate function inf_adopted_algorithm_transform_request().
2008-02-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.c: Fixed a bug introduced
with the last commit that broke collaboration.
2008-02-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-user-table.h:
* libinfinity/common/inf-user-table.c: Added add-local-user and
remove-local-user signals, and inf_user_table_foreach_local_user().
* libinfinity/server/infd-note-plugin.h:
* libinfinity/server/infd-directory.c: Changed note plugin API so that
read_session() creates the session instead of filling an existing
session object.
* infinoted/note-plugins/text/infd-note-plugin-text.c: Adapt.
* libinfinity/client/infc-session-proxy.c: Removed some commented-out
code.
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request.c: Added
inf_adopte_request_affects_buffer().
* libinfinity/adopted/inf-adopted-algorithm.c: Don't increase vector
time of an incoming request's user if the request does not affect the
buffer.
* libinfinity/adopted/inf-adopted-session.c: Don't increase the last
send vector if the sent request does not affect the buffer.
* libinftext/inf-text-session.c: Broadcast cursor positions and
selections.
* libinftextgtk/inf-text-gtk-buffer.c: Update active user's cursor
position when the "insert" or "selection-bound" mark is moved in the
buffer.
2008-02-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/adopted/inf-adopted-algorithm.c: Added
inf_adopted_algorithm_can_undo() and inf_adopted_algorithm_can_redo()
and the apply-request signal.
* libinfinity/adopted/inf-adopted-session.h:
* libinfinity/adopted/inf-adopted-session.c: Added
inf_adopted_session_undo() and inf_adopted_session_redo().
* libinftext/inf-text-session.c: Don't broadcast while the algorithm
itself is applying a request.
* test/inf-test-gtk-browser.c: Added GUI for undo/redo.
2008-02-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session.c: Send undo and redo
operations as child of the <request> element instead of as an
attribute of it. This is how the receiving code expects it.
2008-02-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.h:
* libinfinity/common/inf-connection-manager.c: Rewrite connection
manager to allow different publishers for groups with the same name,
as in the spec. Also support dynamic loading of additional
communication methods.
* libinfinity/common/Makefile.am
* libinfinity/common/inf-method-manager.h:
* libinfinity/common/inf-method-manager.c: New InfMethodManager class
to manage available communication methods.
* libinfinity/Makefile.am
* libinfinity/methods/Makefile.am:
* libinfinity/methods/local-central/Makefile.am:
* libinfinity/methods/local-central/inf-method-local-central.c: Simple
"central" method for local networks that uses the publisher as server
through which all messages are relayed.
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-net-object.h:
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-user.h:
* libinfinity/common/inf-error.c:
* libinfinity/common/inf-net-object.c:
* libinfinity/common/inf-session.c:
* libinfinity/common/inf-user.c:
* libinfinity/common/inf-xml-connection.c:
* libinfinity/common/inf-xmpp-connection.c:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/adopted/inf-adopted-split-operation.c:
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c:
* libinfinity/server/infd-server-pool.c:
* libinfinity/server/infd-session-proxy.c:
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c:
* libinfinity/client/infc-session-proxy.c:
* test/inf-test-browser.c:
* test/inf-test-daemon.c:
* test/inf-test-text-session.c:
* test/inf-test-gtk-browser.c:
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-model.c:
* libinftext/inf-text-session.c:
* infinoted/infinoted-main.c: Adapt to API changes.
* configure.ac: Generate Makefiles in newly added directories.
* INSTALL: Autotools seemed to update this.
2007-12-22 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-chunk.c: Fixed a crash on amd64.
* infinoted/note-plugins/text/infd-note-plugin-text.c:
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/adopted/inf-adopted-split-operation.c:
* libinfinity/common/inf-xmpp-manager.c:
* libinfinity/common/inf-connection-manager.c:
* libinfinity/common/inf-xmpp-connection.c:
* libinftext/inf-text-default-insert-operation.c:
* test/inf-test-chunk.c: Fixed several warnings.
2007-12-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c: Changed scope for point
to point connections from "p2p" to "ptp", as in the spec.
* libinftextgtk/inf-text-gtk-buffer.c: Make sure only one user color
tag is applied at once.
2007-12-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.c:
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-session.c:
* libinfinity/server/infd-session-proxy.c:
* libinfinity/client/infc-session-proxy.c: Replaced user-leave by
user-status-change request, which is more general.
* libinfinity/server/infd-directory.c: Indentation fixes, fixed a
memory leak in infd_directory_handle_explore_node().
* libinftext/inf-text-session.c: Fixed an infinite loop when writing
delete operations to XML.
* infinoted/infinoted-creds.c: Include <glib.h> for glib 2.15
compatibility.
2007-12-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-session.c: Correctly pass for_sync
to inf_adopted_session_xml_to_request() in
inf_adopted_session_process_xml_sync(). This fixes editing documents
with non-empty history.
* libinfinity/adopted/inf-adopted-request-log.c: Adjust log begin when
adding first entry to request log and that entry has non-zero vector
time for the log's user.
* libinfinity/adopted/inf-adopted-algorithm.c: Initialize new user's
component of current vector time with the corresponding component of
its vector time instead of the end of its request log because the
request log might be empty.
* infinoted/infinoted-main.c: Don't leak dirname in
infinoted_main_create_dirname() in case of success.
2007-12-21 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-chunk.c:
* libinftext/inf-text-session.c: Swapped bytes/length arguments to
inf_text_chunk_insert_text to fix handling of non-ASCII chars.
* test/inf-test-chunk.c: Add an umlaut to the chunk to check UTF-8.
* libinfinity/common/inf-session.c: Fixed signature of
inf_session_connection_notify_status_cb().
* TODO: Added a note about adding a connection-closed signal to
connection manager.
2007-12-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.c: Forward scope="group"
messages.
* test/inf-test-gtk-browser.c: Retry user join with another name if
the name is already in use, use algorithm's current vector time as
initial time.
2007-12-04 Armin Burgmeier <armin@arbur.net>
* configure.ac:
* README: Require gnutls >= 1.7.2 and gsasl >= 0.2.21.
2007-12-04 Armin Burgmeier <armin@arbur.net>
* configure.ac: Define INFINOTE_HAVE_AVAHI instead of HAVE_AVAHI to
not conflict with other packages. We probably still need to get rid
of autoheader to remove the default defines from inf-config.h.
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c:
* infinoted/infinoted-main.c:
* test/inf-test-daemon.c:
* test/inf-test-gtk-browser.c: Adjusted and fixed non-avahi build.
2007-12-02 Armin Burgmeier <armin@arbur.net>
* libinftextgtk-1.0.pc.in: Added missing file.
2007-12-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request-log.c:
* libinfinity/adopted/inf-adopted-session.c: Allow arbitrary ID
for first request.
* libinfinity/common/inf-connection-manager.c: Re-lookup NetObject for
every request in group message.
* libinftextgtk/inf-text-gtk-buffer.c: Fixed
inf_text_gtk_buffer_buffer_get_slice if region to slice ends before
segment ends.
2007-10-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-user.c: Return flags instead of status in
inf_user_get_flags.
* libinfinity/common/inf-connection-manager.c: Flag all messages as
point-to-point in inf_connection_manager_send_multiple_to(), instead
of just the first one. Also copy _private the private field in
inf_connection_manager_send_to_group() because xmlCopyNode does not
already do this.
* libinfinity/common/inf-session.c: Correctly initialize GValue with
zeroes before calling g_value_init(), implemented status user
property. Emit close signal in synchronization failed default handler.
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-request-log.c: Don't take log_begin
parameter in inf_adopted_request_log_new(), return NULL instead of
crashing in inf_adopted_request_log_next_undo() and
inf_adopted_request_log_next_redo() when there is no next undo or redo
request, respectively.
* libinfinity/adopted/inf-adopted-user.c: Adapt to API change in
InfAdoptedRequestLog.
* libinfinity/adopted/inf-adopted-session.c: Increase last send vector
instead of request's vector in inf_adopted_session_request_to_xml()
(as originally intended). Initialize user field when creating
InfAdoptedSessionLocalUser. Removed log-begin user property as in the
spec.
* libinfinity/server/infd-session-proxy.c: Use INF_SESSION_GET_CLASS
instead of INF_SESSION_CLASS in infd_session_proxy_handle_user_join,
initialize GValues correctly.
* libinfinity/client/infc-session-proxy.c: Correctly set flags on user
(re)join, don't release session when when it is closed so it is still
accessible.
* libinftext/inf-text-user.c: Don't make the caret-position and
selection-length properties construct only.
* libinftext/inf-text-session.c: Deal with author_id=0 in
inf_text_session_process_xml_sync().
* libinftextgtk/inf-text-gtk-buffer.c: Fixed assertions in
inf_text_gtk_buffer_set_active_user(), fixed potential endless loops
in inf_text_gtk_buffer_iter_prev_author_toggle(),
inf_text_gtk_buffer_iter_next_author_toggle() and
inf_text_gtk_buffer_buffer_get_slice(), connect to text buffer's
signals when the buffer property is set, stop emission in
inf_text_gtk_buffer_delete_range_cb() and
inf_text_gtk_buffer_insert_text_cb() on the correct object.
* test/inf-test-gtk-browser.c: Set vector property for join request.
2007-10-17 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-main.c: Added --port-number command line option
and load/save diffie-hellman parameters to current directory. This is
just temporary to ease testing for me, so I don't have to wait too
long when I need to restart the server again.
* infinoted/note-plugins/text/infd-note-plugin-text.c: Allow author of
segments to be 0, adapt to infd_filesystem_storage_open() API change.
* libinfinity/inf-marshal.in: Added VOID:BOXED,BOXED,OBJECT
marshaller.
* libinfinity/common/inf-connection-manager.c: Allow
inf_net_object_received() to remove itself from the connection manager
group through which the message was passed, don't print a warning if a
message for a nonexistant group is received.
* libinfinity/common/inf-session.c: Only unref connection manager
group in inf_session_release_connection() when it is set.
* libinfinity/server/infd-filesystem-storage.h:
* libinfinity/server/infd-filesystem-storage.c: Added note type
parameter to infd_filesystem_storage_open(), and address correctly the
file on disk.
* libinfinity/server/infd-session-proxy.c: Keep session when it is
closed, release in disponse().
* libinfinity/server/infd-directory.c: Correctly unref
InfConnectionManagerGroup (can't be freed with g_free()) in
infd_directory_node_add_note().
* libinfinity/server/infd-server-pool.c: Release reference on
InfdTcpServer in infd_server_pool_entry_publish_with().
* libinfinity/client/infc-note-plugin.h: Added an IO parameter to
session_new().
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added
infc_browser_iter_get_note_type(), infc_browser_iter_get_plugin() and
renamed -infc_browser_subscribe_session() to
infc_browser_iter_subscribe_session(). Also take an IO parameter in
infc_browser_new().
* libinfinity/client/infc-node-request.c: Register private struct in
class_init.
* libinftext/inf-text-session.c: Allow user to be NULL in text buffer
signal handlers, swap code and domain in invocation of g_set_error in
inf_text_session_process_xml_sync() which were the other way around.
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-model.c: Take an IO parameter in
inf_gtk_browser_model_new() for the browsers to create, added the
set-browser signal in whose default handler the browser is associated
with the InfGtkBrowserModelItem and signal handlers are registered.
* libinfgtk/inf-gtk-browser-view.h:
* libinfgtk/inf-gtk-browser-view.c: Use the new "set-browser" signal
of the model to connect to browser's signals, subscribe to sessions
when a non-subdirectory node is activated and a plugin present.
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c: Added
inf_text_gtk_buffer_get_text_buffer(), fixed interface registration
(implement INF_TEXT_TYPE_BUFFER, not INF_TEXT_GTK_TYPE_BUFFER which is
not even an interface).
* test/inf-test-gtk-browser.c: Added support for subscribing to
text sessions.
* test/inf-test-browser.c: Pass IO to InfcBrowser.
* test/Makefile.am: Link inf-test-gtk-browser against InfText and
InfTextGtk.
2007-10-16 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Added the
inf_session_get_synchronization_progress() and
inf_session_get_status() functions.
* libinfinity/server/infd-directory.c: Fixed a wrong assertion in
infd_directory_node_link().
* libinfinity/client/infc-node-request.c: Added the node-id property.
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Set node-id property on node
requests, added the begin_subscribe and subscribe_session signals,
added infc_node_iter_get_subscribe_request() and
infc_browser_iter_from_node_request() functions.
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-model.c: Made error column valid for inner
nodes, store errors from explore and subscription requests (We should
expand this for all node requests later).
* libinfgtk/inf-gtk-browser-view.h:
* libinfgtk/inf-gtk-browser-view.c: Show synchronization progress and
errors from inner nodes.
2007-10-12 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-session.c: Fixed cursor positioning of executing
user after deleting text.
* libinftextgtk/inf-text-gtk-buffer.h:
* libinftextgtk/inf-text-gtk-buffer.c:
* libinftextgtk/Makefile.am: Implemented the InfTextBuffer interface
using a GtkTextBuffer.
* Makefile.am:
* configure.ac: Build libinftextgtk.
* README: Update.
2007-10-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added the "io" property and
construction paramater.
* libinfinity/server/infd-note-plugin.h: Take an InfIo in
session_new().
* test/inf-test-daemon.c: Adapt.
* infinoted/infinoted-note-plugin.c: Ignore all but the platform's
module suffix in infinoted_note_plugin_load_directory().
* infinoted/infinoted-main.c: Load all plugins in
${libdir}/infinoted/note-plugins/.
* infinoted/note-plugins/text/infd-note-plugin-text.c:
* infinoted/note-plugins/text/Makefile.am:
* infinoted/note-plugins/Makefile.am:
* infinoted/Makefile.am:
* configure.ac: Added a text plugin that saves sessions into an XML
tree, in a InfdFilesystemStorage.
2007-10-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added
infd_directory_lookup_plugin().
* infinoted/infinoted-note-plugin.h:
* infinoted/infinoted-note-plugin.c:
* infinoted/Makefile.am: Added functions to load note plugins from a
certain directory.
* configure.ac: Make infinoted depend on gmodule-2.0.
2007-10-09 Armin Burgmeier <armin@arbur.net>
* infinoted/infinoted-creds.h:
* infinoted/infinoted-creds.c:
* infinoted/infinoted-main.c: Made the server actually working.
2007-10-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-tcp-connection.c: Don't ifdef out
_inf_tcp_connection_accepted because libinfinity/server is always
built.
* libinfinity/server/infd-note-plugin.h: Renamed identifier to
note_type add added a storage_type member.
* libinfinity/server/infd-directory.c: Adapt, and check storage type
in infd_directory_add_plugin.
* libinfinity/server/infd-filesystem-storage.h:
* libinfinity/server/infd-filesystem-storage.c: Added
infd_filesystem_storage_open() function.
* infinoted/infinoted-creds.h:
* infinoted/infinoted-creds.c:
* infinoted/infinoted-main.c:
* infinoted/Makefile.am: Added code which yields the infinote
standalone server one day. Currently it only does certificate
handling.
* Makefile.am:
* configure.ac: Build infinoted.
2007-10-07 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:BOXED,OBJECT marshaller.
* libinfinity/common/inf-io.c: Return the value returned by the
implementation to the caller in inf_io_add_timeout(), instead of
nothing.
* libinfinity/common/inf-standalone-io.c: Fixed two bugs in timeout
handling.
* libinfinity/common/inf-tcp-connection.c: Added the device-index and
device-name properties. These are only used in IPv6 to set the scope
ID for link-local messaging.
* libinfinity/common/inf-discovery.h:
* libinfinity/common/inf-discovery.c: Make the get_service_name()
returned a new string so the implementation does not have to cache the
service name.
* libinfinity/common/inf-xml-connection.h:
* libinfinity/common/inf-xml-connection.c: Added an error signal and
local-id and remote-id properties.
* libinfinity/common/inf-xmpp-connection.h:
* libinfinity/common/inf-xmpp-connection.c: Removed error signal
because it is now provided by InfXmlConnection, override the local-id
and remote-id properties by using the ip/port pair of the underlaying
TCP connection. Allow gnutls to return with GNUTLS_E_AGAIN in
gnutls_record_recv since it seems to sometimes call the pull function
multiple times. Don't wait for terminating </stream:stream>, but just
close the connection on failed TLS handshake.
* libinfinity/common/inf-discovery-avahi.c: Adapt to interface change
in InfDiscovery, include device name and protocol in service name
output.
* libinfinity/common/inf-local-publisher.c: Replaced g_return_if_fail
by g_return_val_if_fail in function returning non-void.
* libinfinity/common/inf-xmpp-manager.c: Unref objects retrieved via
g_object_get(), connect to every connection's notify::status signal to
remove the connection when it is closed.
* libinfinity/common/inf-connection-manager.c: Remove the group from
the list of groups in inf_connection_manager_group_free().
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added an iterator pointing to the
subdirectory being explored to the begin-explore signal. Don't clear
directory tree when the connection is lost but rather when a new
connection is set so we can still browse the explored paths when
disconnected.
* libinfinity/client/infc-explore-request.c: Replaced
g_value_set_finished by g_value_set_boolean as it ought to be. I must
have been asleep when having coded this.
* libinfinity/server/infd-server-pool.c: Use username for service name
when the real name is not known.
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-model.c: Added the INVALID status, keep
the item after disconnection so a potential error can still be
displayed. Fixed several bugs.
* libinfgtk/inf-gtk-browser-view.c: Propagate size_request and
size_allocate. Implemented exploration and fixed several bugs.
* libinfgtk/inf-gtk-io.h:
* libinfgtk/inf-gtk-io.c:
* libinfgtk/Makefile.am: Added a InfIo implementation using the
default Glib mainloop.
* test/inf-test-daemon.c: Publish the infinote service on avahi.
* test/inf-test-gtk-browser.c:
* test/Makefile.am: Added a test showing a InfGtkBrowserView to browse
avahi-discovered infinote servers.
2007-10-04 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:OBJECT,OBJECT marshaller.
* libinfinity/common/inf-discovery.c: Fixed return statements in
functions returning non-void.
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added the
infc_browser_iter_is_subdirectory() function.
* libinfinity/client/infc-explore-request.h:
* libinfinity/client/infc-explore-request.c: Added the
infc_explore_request_get_initiated() and
infc_explore_request_get_finished() functions.
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-model.c: Take InfConnectionManager in
constructor, added inf_gtk_browser_model_browser_iter_to_tree_iter()
and the INF_GTK_BROWSER_MODEL_COL_DISCOVERY column. Fixed reordering
when a resolve yielded an already existing connection.
* libinfgtk/inf-gtk-browser-view.h:
* libinfgtk/inf-gtk-browser-view.c:
* libinfgtk/Makefile.am: Implemnted InfGtkBrowserView, a widget
displaying a InfGtkBrowserModel. Some implementation bits (mostly
exploration on expansion) are still missing.
2007-10-03 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/infc-browser.c: Removed a TODO comment that was
already done by the last commit.
* libinfgtk/inf-gtk-browser-model.h:
* libinfgtk/inf-gtk-browser-model.c:
* libinfgtk/Makefile.am: A container for multiple InfcBrowser and
InfDiscovery objects that implements GtkTreeModel to be shown by a
GtkTreeView.
* Makefile.am: Changed order of SUBDIRS so that always the library
directories are walked first, and then pixmaps/ and test/.
* configure.ac: Cleaned up final status output. I still don't know why
it sometimes appears above the "config.status: Creating Foo/Makfile"
output.
2007-10-03 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added
infc_browser_iter_get_explore_request(),
infc_browser_iter_from_explore_request() and the begin-explore signal.
* pixmaps/16x16/infinote.png:
* pixmaps/16x16/Makefile.am:
* pixmaps/22x22/infinote.png:
* pixmaps/22x22/Makefile.am: Added bitmap icons for small sizes.
* pixmaps/scalable/infinote.svg:
* pixmaps/scalable/Makefile.am: Moved from pixmaps/infinote.svg
* pixmaps/Makefile.am:
* configure.ac: Process pixmaps/16x16, pixmaps/22x22 and
pixmaps/scalable.
2007-10-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-discovery-info.h:
* libinfinity/common/inf-discovery-info.c: Removed, the functioality
is incorporated into InfDiscovery.
* libinfinity/common/inf-local-publisher.h:
* libinfinity/common/inf-local-publisher.c:
* libinfinity/common/Makefile.am: A new interface that is
implemented by objects that can publish services on the local network.
* libinfinity/common/inf-discovery.h:
* libinfinity/common/inf-discovery.c: Removed the publish vfunc in
favour of InfLocalPublisher. Added info_get_service_name and
info_get_service_type vfuncs.
* libinfinity/common/inf-discovery-avahi.h:
* libinfinity/common/inf-discovery-avahi.c: Class that implements
InfDiscovery and InfLocalPublisher by using Avahi.
* libinfinity/server/infd-server-pool.h:
* libinfinity/server/infd-server-pool.c: Added functionality to
associate local publishers with servers and automatically publish
service when the corresponding server is up.
* libinfinity/Makefile.am: Build with and link against avahi.
2007-09-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Set xmpp connection as
gsasl session hook so that callback implementations can access the
InfXmppConnection object.
2007-09-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.h: Fix indentation.
* libinfinity/common/inf-xmpp-connection.c: Added a TODO about
retrieving the server's (or other entity's) JID.
* libinfinity/common/inf-tcp-connection.h:
* libinfinity/common/inf-tcp-connection.c: Added
inf_tcp_connection_get_remote_address() and
inf_tcp_connection_get_remote_port().
* libinfinity/common/inf-discovery.h:
* libinfinity/common/inf-discovery.c: Added the get_discovered vfunc
and inf_discovery_get_discovered().
* libinfinity/common/inf-xmpp-manager.h:
* libinfinity/common/inf-xmpp-manager.c:
* libinfinity/common/Makefile.am: Added the InfXmppManager class that
manages XMPP connections and provides lookup by IP address and port so
that existing connections can be reused.
* libinfinity/server/infd-storage.h: Added a TODO comment about
possible notification when stored items change.
* libinfgtk/Makefile.am:
* libinfgtk-1.0.pc.in:
* Makefile.am:
* configure.ac: Added libinfgtk component, but there are not yet any
source files.
2007-09-25 Armin Burgmeier <armin@arbur.net>
* pixmaps/infinote.svg: Moved from artwork/infinote.svg to
pixmaps/infinote.svg.
* pixmaps/Makefile.am: Install the icon into
$(datadir)/hicolor/scalable/apps. I am not sure whether this in the
correct location, though.
* libinfinity-1.0.pc.in:
* libinftext-1.0.pc.in:
* Makefile.am: Added pkgconfig files, added pixmaps subdir.
* configure.ac: Added new files to output.
* TODO: Added gettext support to TODO list.
2007-09-25 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-net-object.c: Allow connection to be NULL in
inf_net_object_received for now, so the session test can simulate
incoming XML.
* libinfinity/common/inf-user-table.c: Fixed two typos.
* libinfinity/common/inf-buffer.c: Removed read-only property. We
might re-introduce an editable property later.
* libinfinity/common/inf-session.c: Cope with NULL group and sync
connection in inf_session_set_property().
* libinfinity/adopted/inf-adopted-request-log.c: Return NULL in
inf_adopted_request_log_find_associated() when there is no Undo
request associated to a redo request, instead of running in a failed
assertion. This is a completely legal case for caching next_undo and
next_redo operations.
* libinfinity/adopted/inf-adopted-user.c: Cope with NULL request log
in inf_adopted_user_set_property(), don't copy result in
inf_adopted_user_get_vector().
* libinfinity/adopted/inf-adopted-state-vector.c: Fixed a crash in
inf_adopted_state_vector_causally_before() when the highest key
in the first vector was not contained in the second. Also fixed a typo
leading to a crash in inf_adotped_state_vector_from_string_diff().
* libinfinity/adopted/inf-adopted-session.c: Include current request
in last send vector after having sent the request. Otherwise, we are
sending an unnecessary, additional "$id:1" component for each
following request. Recognize undo requests by <undo /> child instead
of type="undo" attribute, as in the protocol specification. Keep
users in the user table in-sync with those in InfAdoptedAlgorithm.
Don't leak the request in inf_adopted_session_process_xml_run().
* libinfinity/adopted/inf-adopted-algorithm.c: Update user vector
after having received a request, not only when having processed it.
When transforming two operations in the request log, first transform
both to the least common successor and then transform both from that
point to the final destination. This way, pwords of insert operations
are updated correctly. This could lead to a desync. Change the state
of undo and redo requests to the same state of the original operation
(except the issuing user's component) because they only depend on the
original operation.
* libinfinity/adopted/inf-adopted-split-operation.h:
* libinfinity/adopted/inf-adopted-split-operation.c: Added the
inf_adopted_split_operation_transform_other() function that transfors
an operation against the split operation. Also don't leak the
resulting operations in inf_adopted_split_operation_transform().
* libinfinity/adopted/inf-adopted-operation.c: Use
inf_adopted_split_operation_transform_other() in
inf_adopted_operation_transform() when against is a
InfAdoptedSplitOperation. Fix a copy'n'paste error in the
interface's GTypeInfo struct.
* libinftext/inf-text-move-operation.h:
* libinftext/inf-text-move-operation.c: Renamed
inf_text_move_operation_get_pword() to
inf_text_move_operation_get_position() and
inf_text_move_operation_get_chunk() to
inf_text_move_operation_get_length(). This was also a copy'n'paste
error by copying the file from libinftext/inf-text-insert-operation.c.
* libinftext/inf-text-chunk.h:
* libinftext/inf-text-chunk.c: Added a GString to each chunk that
holds the chunk's content without author information for integrity
checking (can be disabled by not defining CHUNK_DEBUG). Added
the inf_text_chunk_equal() function. Fixed two errors when inserting a
chunk into another chunk that broke the chunk's integrity.
* libinftext/inf-text-buffer.h:
* libinftext/inf-text-buffer.c: Reorded bytes and length parameters in
inf_text_buffer_insert_text() to match the order of corresponding
functions in libinftext. Allow the user parameter to be NULL in which
case the text is inserted as author 0.
* libinftext/inf-text-user.h:
* libinftext/inf-text-user.c: Derive from InfAdoptedUser not from
InfUser.
* libinftext/inf-text-default-delete-operation.c: End g_object_new()
invocation in inf_text_default_delete_operation_transform_split() with
NULL so that g_object_new() does not start reading random memory.
* libinftext/inf-text-default-insert-operation.c: Cast result to
InfTextInsertOperation instead of InfAdoptedOperation in
inf_text_default_insert_operation_transform_position().
* libinftext/inf-text-remote-delete-operation.c: Append final recon
chunk to list in inf_text_remote_delete_operation_recon_feed(). Don't
leak the InfTextChunk obtained by inf_text_buffer_get_slice() in
inf_text_remote_delete_operation_make_reversible(). Don't leak the
unsplit list in the same function. Feed recon to the resulting
operation in inf_text_remote_delete_operation_transform_overlap(), not
to the original operation.
* libinftext/inf-text-default-buffer.c: Implement the InfBuffer
interface.
* libinftext/inf-text-pword.c: Swapped the result of
inf_text_pword_compare() when the two pwords have different length to
obtain the intended behaviour.
* libinftext/inf-text-session.c: Pass correct text to g_convert() and
xmlFree() in inf_text_session_xml_to_operation(). Don't forget final
NULL in g_object_new() call in inf_text_session_new() and
inf_text_session_new_with_user_table().
* test/inf-test-chunk.c: Test some basic InfTextChunk operations.
* test/inf-test-text-operations.c: Test C1 and C2 properties of the
InfText operations.
* test/inf-test-text-session.c: Test the implementation of the
concurrency control algorithm implemented by InfAdoptedAlgorithm by
reading test scenarios from XML files in std/.
* test/Makefile.am: Added the new files
* test/std/test-01.xml:
* test/std/test-02.xml:
* test/std/test-03.xml:
* test/std/test-04.xml:
* test/std/test-05.xml:
* test/std/test-06.xml:
* test/std/test-07.xml:
* test/std/test-08.xml:
* test/std/test-09.xml:
* test/std/test-10.xml:
* test/std/test-11.xml:
* test/std/test-12.xml:
* test/std/test-13.xml:
* test/std/test-14.xml:
* test/std/test-15.xml:
* test/std/test-16.xml:
* test/std/test-17.xml:
* test/std/test-18.xml:
* test/std/test-19.xml:
* test/std/test-20.xml:
* test/std/test-21.xml:
* test/std/test-22.xml:
* test/std/test-23.xml:
* test/std/test-24.xml:
* test/std/test-25.xml:
* test/std/test-26.xml:
* test/std/test-27.xml:
* test/std/test-28.xml:
* test/std/test-29.xml:
* test/std/test-30.xml:
* test/std/test-31.xml:
* test/std/test-32.xml:
* test/std/test-33.xml:
* test/std/test-34.xml:
* test/std/test-35.xml:
* test/std/test-36.xml:
* test/std/test-37.xml:
* test/std/test-38.xml:
* test/std/test-39.xml:
* test/std/test-40.xml:
* test/std/test-41.xml:
* test/std/test-42.xml:
* test/std/test-43.xml:
* test/std/test-44.xml:
* test/std/test-45.xml:
* test/std/test-46.xml: Added 46 test files for
inf-test-text-session.c.
2007-09-17 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-operations.h: File to just forward declare
InfTextInsertOperation and InfTextDeleteOperation because their
headers both need the two to be declared.
* libinftext/inf-text-session.h:
* libinftext/inf-text-session.c: Implemented InfTextSession.
* libinftext/Makefile.am: Added the new files to the build.
2007-09-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xml-util.h:
* libinfinity/common/inf-xml-util.c: Implemented
inf_xml_util_set_attribute_int() and
inf_xml_util_set_attribute_int_required().
* libinfinity/adopted/inf-adopted-operation.h:
* libinfinity/adopted/inf-adopted-operation.c: Added concurrency_id
paramater to the transform vfunc.
* libinfinity/adopted/inf-adopted-request.c:
* libinfinity/adopted/inf-adopted-no-operation.c:
* libinfinity/adopted/inf-adopted-split-operation.c: Adapt to the
above API change.
* libinfinity/adopted/inf-adopted-session.h:
* libinfinity/adopted/inf-adopted-session.c: Added InfUser parameter
to the xml_to_operation vfunc.
* libinftext/inf-text-delete-operation.h:
* libinftext/inf-text-insert-operation.h:
* libinftext/inf-text-delete-operation.c:
* libinftext/inf-text-insert-operation.c: Made interfaces out of
these, implement transformation.
* libinftext/inf-text-move-operation.h:
* libinftext/inf-text-move-operation.c: Added
inf_text_move_operation_transform_insert() and
inf_text_move_operation_transform_delete().
* libinftext/inf-text-buffer.h:
* libinftext/inf-text-buffer.c:
* libinftext/inf-text-default-buffer.c: Added the get_length vfunc.
* libinftext/inf-text-default-insert-operation.h:
* libinftext/inf-text-default-insert-operation.c:
* libinftext/inf-text-default-delete-operation.c:
* libinftext/inf-text-default-delete-operation.h:
* libinftext/Makefile.am: Readded normal reversible insert and delete
operations that were in inf-text-{insert,delete}-operation.[ch]
before, and implement the new interface.
* libinftext/inf-text-remote-delete-operation.h:
* libinftext/inf-text-remote-delete-operation.c: Implement the
InfTextDeleteOperation interface.
2007-09-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:UINT,INT marshaller.
* libinftext/inf-text-user.h:
* libinftext/inf-text-move-operation.h:
* libinftext/inf-text-remote-delete-operation.h:
* libinftext/inf-text-user.c:
* libinftext/inf-text-move-operation.c:
* libinftext/inf-text-remote-delete-operation.c:
* libinftext/Makefile.am: Implement InfTextUser (storing cursor and
selected text), InfTextMoveOperation (an operation that changes a
user's selection and cursor position) and
InfTextRemoteDeleteOperation (a delete operation that only saves
position and length of the deleted text, but not the actual text that
was deleted).
2007-09-14 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-operation.h:
* libinfinity/adopted/inf-adopted-operation.c:
* libinfinity/adopted/inf-adopted-no-operation.c:
* libinfinity/adopted/inf-adopted-split-operation.c: Removed the
is_reversible vfunc and added it as an operation flag.
* libinfinity/server/infd-session-proxy.c: Fixed message handling (the
message is called user-join, not join-user).
* libinftext/inf-text-pword.h:
* libinftext/inf-text-insert-operation.h:
* libinftext/inf-text-delete-operation.h:
* libinftext/inf-text-pword.c:
* libinftext/inf-text-insert-operation.c:
* libinftext/inf-text-delete-operation.c:
* libinftext/Makefile.am: Added the two bosic text operations.
* TODO: Removed finished tasks, added new ones about making
InfTextChunk reference-counted.
2007-09-10 Armin Burgmeier <armin@arbur.net>
* libinftext/inf-text-buffer.c: Fixed a marshaller.
* libinftext/inf-text-default-buffer.h:
* libinftext/inf-text-default-buffer.c:
* libinftext/Makefile.am: Added a InfTextBuffer implementation using
an underlaying InfTextChunk.
2007-09-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-user-table.h:
* libinfinity/common/inf-user-table.c:
* libinfinity/common/Makefile.am: Added user table class managing
users and providing lookup by ID and name.
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Make use of InfUserTable instead
of using an own hash table. Removed some API that is not provided by
InfUserTable.
* libinfinity/client/infc-session-proxy.c:
* libinfinity/server/infd-session-proxy.c:
* libinfinity/adopted/inf-adopted-session.c: Adjusted for API change
introduced by the new user table.
* libinfinity/inf-ink-buffer.h:
* libinfinity/inf-ink-stroke.h:
* libinfinity/inf-ink-buffer.c:
* libinfinity/inf-ink-stroke.c: Removed from repository, InfInk will
not be implemented in the short-term.
* libinftext/inf-text-chunk.h:
* libinftext/inf-text-chunk.c: Added InfTextChunkIter API to iterate
over segments.
* libinfinity/inf-marshal.in: Replaced POINTER,UINT,UINT,OBJET byC
UINT,BOXED,OBJECT marshaller.
* libinftext/inf-text-buffer.h:
* libinftext/inf-text-buffer.c:
* libinftext/Makefile.am: Added InfTextBuffer interface.
2007-09-10 Philipp Kern <phil@0x539.de>
* configure.ac: some fixes
2007-09-09 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request-log.c: Added a TODO comment
about possible memory corruption.
* libinfinity/inf-text-buffer.h:
* libinfinity/inf-text-buffer.c: Removed. InfTextBuffer will get
resurrected in the inftext separate module.
* libinftext/inf-text-chunk.h:
* libinftext/inf-text-chunk.c:
* libinftext/Makefile.am: Created inftext module with a first boxed
type to store and operate on strings with author information.
* Makefile.am:
* configure.ac: Added libinftext to build.
2007-09-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-state-vector.h:
* libinfinity/adopted/inf-adopted-operation.h:
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/adopted/inf-adopted-state-vector.c:
* libinfinity/adopted/inf-adopted-operation.c:
* libinfinity/adopted/inf-adopted-request-log.c:
* libinfinity/adopted/inf-adopted-request.c:
* libinfinity/adopted/inf-adopted-algorithm.c: Made these only have a
user ID instead of a user object, so they can exist without actual
user objects and InfAdoptedUser can have InfAdoptedRequestLog as
property.
* libinfinity/adopted/inf-adopted-user.h:
* libinfinity/adopted/inf-adopted-user.c: Added the request-log
property.
* test/inf-test-state-vector.c: Adjusted for the change mentioned
above.
* libinfinity/adopted/inf-adopted-session.c:
* libinfinity/adopted/inf-adopted-session.h:
* libinfinity/adopted/Makefile.am: Added the InfAdoptedSession class,
implementing the other half of the dark magic (although not-so-dark).
Timeouts are not yet implemented.
* libinfinity/common/inf-standalone-io.c: Fixed a compiler warning.
* libinfinity/common/inf-xml-util.h: Fixed indentation.
* libinfinity/common/inf-xml-util.c: Changed an error message so that
it includes the (errornous) request's name.
* libinfinity/common/inf-error.c: Added a TODO comment.
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Added an error parameter to
the process_xml_run vfunc.
* libinfinity/client/infc-session-proxy.c: Set subscription group in
infc_session_proxy_set_connection().
* TODO: Removed finished items, added the addition of a reversible
flag for InfAdoptedOperation instead of an extra vfunc.
2007-09-02 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-session.h:
* libinfinity/server/infd-session.c:
* libinfinity/client/infc-session.h:
* libinfinity/client/infc-session.c: Removed.
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Added subscription group property.
* libinfinity/server/infd-session-proxy.h:
* libinfinity/server/infd-session-proxy.c:
* libinfinity/client/infc-session-proxy.h:
* libinfinity/client/infc-session-proxy.c: Added InfcSessionProxy and
InfdSessionProxy classes. These basically have the same functionality
as the old InfcSession and InfdSession but own them rather than
inherit from them. This is needed because GObject does not allow
multiple inheritance: Other types can now inherit from InfSession
while InfcSessionProxy (or InfdSessionProxy, respectively) can still
do their job.
* libinfinity/server/infd-note-plugin.h:
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c:
* libinfinity/server/Makefile.am:
* libinfinity/client/infc-note-plugin.h:
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c:
* libinfinity/client/Makefile.am: Adjusted accordingly.
* TODO: Removed finished items
2007-09-01 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.h:
* libinfinity/common/inf-connection-manager.c: Made
InfConnectionManagerGroup a boxed type, allow changing a group's
InfNetObject via inf_connection_manager_group_set_object().
* TODO: Added plans about making InfcSession and InfdSession not
inherit from InfSession.
2007-08-31 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-connection-manager.h:
* libinfinity/common/inf-connection-manager.c: Redesigned connection
manager. Now there are groups of which connections can be a member.
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c:
* libinfinity/server/infd-session.h:
* libinfinity/server/infd-session.c:
* libinfinity/client/infc-session.h:
* libinfinity/client/infc-session.c:
* libinfinity/client/infc-browser.c:
* libinfinity/server/infd-directory.c: Adjusted use.
* TODO: Added another item about dropping the message table in
InfcSession/InfdSession.
2007-08-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-io.h:
* libinfinity/common/inf-io.c:
* libinfinity/common/inf-standalone-io.c: Implemented addition and
removal of timeouts for InfIo.
* TODO: Noted down some basic TODO items that would be nice to have
for a first release.
2007-08-26 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:OBJECT,BOOLEAN marshaller.
* libinfinity/inf-text-chunk.c: Added a comment, and a TODO item.
* libinfinity/adopted/inf-adopted-operation.h: Added another TODO
item.
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-request-log.c: Added the
inf_adopted_request_log_next_undo(),
inf_adopted_request_log_next_redo() and
inf_adopted_request_log_upper_related() functions.
* libinfinity/adopted/inf-adopted-algorithm.h:
* libinfinity/adopted/inf-adopted-algorithm.c:
* libinfinity/adopted/Makefile.am: Implemented the first part of the
really dark magic.
2007-08-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-request-log.c: Allow the given
request to be one past the end of the log in which case it is treated
as it was the newest in the log.
2007-08-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-text-chunk.h:
* libinfinity/inf-text-chunk.c: Beginning of a InfTextChunk
implementation, storing text written by specific users. This will
probably later be moved into a separate InfText library. This code is
partly written by Benjamin Herr <ben@0x539.de>.
2007-08-22 Benjamin Herr <ben@0x539.de>
* all source files: Appended vim modelines.
2007-08-20 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-state-vector.h:
* libinfinity/adopted/inf-adopted-state-vector.c: Added compare and
causal relation functions.
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request.c: Made a GObject out of
this and implement transfrom, mirror and fold operations.
* libinfinity/adopted/inf-adopted-request-log.c: Added next-undo and
next-redo properties and additional linking between the entries
(original, next associated and previous associated request).
2007-08-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/adopted/inf-adopted-operation.h: Removed superfluous
comma at end of enumeration.
* libinfinity/adopted/inf-adopted-request.h:
* libinfinity/adopted/inf-adopted-request-log.h:
* libinfinity/adopted/inf-adopted-request.c:
* libinfinity/adopted/inf-adopted-request-log.c: Implemnted
InfAdoptedRequest and InfAdoptedRequestLog, though the latter is still
missing can-undo/can-redo tracking.
* libinfinity/adopted/Makefile.am: Build the new files.
2007-08-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-buffer.c: Set initialized to TRUE in
inf_buffer_base_init so the interface is only initialized once.
* libinfinity/common/inf-user.c: Correctly register user flags type as
flags instead of as enum.
* libinfinity/adopted/inf-adopted-state-vector.h:
* libinfinity/adopted/inf-adopted-user.h:
* libinfinity/adopted/inf-adopted-operation.h:
* libinfinity/adopted/inf-adopted-split-operation.h:
* libinfinity/adopted/inf-adopted-no-operation.h:
* libinfinity/adopted/inf-adopted-state-vector.c:
* libinfinity/adopted/inf-adopted-user.c:
* libinfinity/adopted/inf-adopted-operation.c:
* libinfinity/adopted/inf-adopted-split-operation.c:
* libinfinity/adopted/inf-adopted-no-operation.c:
* libinfinity/adopted/Makefile.am: Implemented some initial types for
the yet-to-come adopted implementation.
* libinfinity/Makefile.am:
* configure.ac: Include libinfinity/adopted to build, generate
libinfinity/adopted/Makefile.
* test/inf-test-state-vector.c:
* test/Makefile.am: Added simple state vector test.
2007-08-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-user.h:
* libinfinity/common/inf-user.c: Added a flags property with user
flags with INF_USER_LOCAL being the only user property so far.
* libinfinity/client/infc-session.c:
* libinfinity/server/infd-session.c: Set the INF_USER_LOCAL flag as
appropriate.
* README: Require glib-2.14 to be able to use GSequence.
2007-07-22 Armin Burgmeier <armin@arbur.net>
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Added
infc_browser_iter_get_name().
* libinfinity/common/inf-xmpp-connection.c: ref/unref the XMPP
connection object around callback for sent messages because those
callbacks might unref the XMPP connection.
* libinfinity/common/inf-net-object.c: Don't require virtual functions
to be implemented.
* libinfinity/common/inf-xml-connection.c: Fixed signal emission of
sent and received signal, wrong parameter was passed.
* libinfinity/common/inf-connection-manager.c: Only send further
messages if there are any, after previous messages have been sent out.
* libinfinity/server/infd-filesystem-storage.c: Fixed path to file on
disk which was wrong in infd_filesystem_storage_read_subdirectory().
* libinfinity/server/infd-directory.c: Only call
infd_directory_node_remove_connection() for explored subdirectory
nodes because only those can have connections that have explored that
node.
* libinfinity/client/infc-request-manager.c: Don't unref the request
when removing from the hash table because the hash table already does
it via its value_destroy func. Initialize the parameters array with
zero in infc_request_manager_add_request_valist() because the GValues
therein need to be zero-initialized.
* test/inf-test-browser.c:
* test/Makefile.am: Added (interactive) test for InfcBrowser
connecting to a running infinote server.
2007-07-20 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added
INF_DIRECTORY_ERROR_ALREADY_SUBSCRIBED.
* libinfinity/common/inf-xml-util.c: Fixed error formatting for
inf_xml_util_string_to_uint().
* libinfinity/server/infd-directory.c: Changed "subscribe-session"
reply request name to from "session-subscribe" to "subscribe-session"
and set ID attribute in that request. Don't leak the identifier string
in infd_directory_handle_subscribe_session().
* libinfinity/client/infc-explore-request.c: Implement default signal
handlers for the "initiated" and "progress" signals that notify the
corresponding properties.
* libinfinity/client/infc-request-manager.h:
* libinfinity/client/infc-request-manager.c: Changed
infc_request_manager_add_request(InfcRequestManager*, InfcRequest*) to
infc_request_manager_add_request(InfcRequestManager*, GType, const
gchar*, const gchar*, ...) and added
infc_request_manager_add_request_valist().
* libinfinity/client/infc-node-request.h:
* libinfinity/client/infc-node-request.c: Added another request type
that handles requests related to nodes in the directory tree.
* libinfinity/client/infc-browser-iter.h:
* libinfinity/client/infc-browser-iter.c:
* libinfinity/client/infc-browser.h:
* libinfinity/client/infc-browser.c: Implemented InfcBrowser class
that allows browsing a remote directory tree.
* libinfinity/client/Makefile.am: Build the new files.
2007-07-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Replaced several "this or that
attribute is missing" error by a general "No such attribute" error.
* libinfinity/client/infc-request-manager.h:
* libinfinity/client/infc-request-manager.c: Added
infc_request_manager_get_request_by_xml_required().
* libinfinity/common/inf-xml-util.h:
* libinfinity/common/inf-xml-util.c:
* libinfinity/common/Makefile.am: Added some common helper functions
read attributes from a XML node.
* libinfinity/client/infc-session.c:
* libinfinity/server/infd-session.c:
* libinfinity/server/infd-directory.c: Make use of them.
2007-07-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:UINT and VOID:UINT,UINT
marshallers.
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added INF_REQUEST_ERROR_INVALID_SEQ,
INF_DIRECTORY_ERROR_TOO_MUCH_CHILDREN and
INF_REQUEST_ERROR_TOO_FEW_CHILDREN.
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Removed g_return_if_fail from
non-public functions, initialize next and prev fields of root node to
NULL, unref session if corresponding node is freed, send number of
child nodes in explore-begin.
* libinfinity/client/infc-request-manager.h:
* libinfinity/client/infc-request-manager.c: Added InfcRequestManager
class that stores pending requests and provides lookup by seq.
* libinfinity/client/infc-request.h:
* libinfinity/client/infc-request.c: Removed the succeeded signal
because it was too specific. It should rather be implemented by
subclasses.
* libinfinity/client/infc-user-request.h:
* libinfinity/client/infc-user-request.c:
* libinfinity/client/infc-explore-request.h:
* libinfinity/client/infc-explore-request.c: Implemented specific
requests for those which affect a user and for exploring a
subdirectory.
* libinfinity/client/infc-session.h:
* libinfinity/client/infc-session.c: Use request manager instead of
managing the requests on our own, use InfcUserRequest in
infc_session_join_user and infc_session_leave_user.
* libinfinity/client/Makefile.am: Added new source files to build.
* README: Updated dependencies of infinote.
2007-07-15 Armin Burgmeier <armin@arbur.net>
* artwork/infinote.svg: Added infinote icon by Benjamin Herr.
2007-06-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Moved directory error codes to
common so they can be checked on client side.
* libinfinity/server/infd-directory.h:
* libinfinity/server/infd-directory.c: Added correct request handling.
2007-06-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c: Make sure that the synchronization
terminates correctly when both sender and receiver sessions are closed
any time during synchronization.
2007-05-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added some more error codes. Those
are only used on the client side and so should probably moved into
somewhere in libinfinity/client.
* libinfinity/client/infc-request.h:
* libinfinity/client/infc-request.c: Added seq and name properties.
* libinfinity/client/infc-session.h:
* libinfinity/client/infc-session.c:
* libinfinity/client/Makefile.am: Implemented client-side session.
2007-05-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-error.h:
* libinfinity/common/inf-error.c: Added INF_USER_LEAVE_NO_SUCH_USER
error code, InfRequestError codes and public API to access error
quarks.
* libinfinity/server/infd-session.h:
* libinfinity/server/infd-session.c: Made xmlNodePtr non-const in
InfdSessionMessageFunc because it only makes the pointer const (and
not the XML node pointed to).
* libinfinity/client/infc-request.h:
* libinfinity/client/infc-request.c: Added a general request-specific
pointer parameter to the succeeded signal.
* docs/terminology: Added a few words about request and seq.
2007-04-18 Armin Burgmeier <armin@arbur.net>
* configure.ac:
* libinfinity/Makefile.am: Added client directory, create
libinfinity/client/Makefile.
* libinfinity/inf-marshal.in: Added VOID:VOID marshaller.
* libinfinity/common/infd-request.h:
* libinfinity/common/infd-request.c:
* libinfinity/common/Makefile.am: Added InfcRequest class.
* libinfinity/common/inf-session.h:
* libinfinity/common/inf-session.c:
* libinfinity/server/infd-session.c: Replace user_to_xml vfunc by
set_xml_user_props, added inf_session_user_to_xml which implements the
functionality via the new vfunc.
2007-04-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/test/inf-test-daemon.c:
* libinfinity/test/Makefile.am: Added test file that launches a simple
infinote daemon with a filesystem storage in $HOME/.infinote.
2007-04-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-filesystem-storage.h:
* libinfinity/server/infd-filesystem-storage.c:
* libinfinity/server/Makefile.am: Added a simple storage
implementation that maps the directory tree to the disk.
2007-04-11 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-server-pool.h:
* libinfinity/server/infd-server-pool.c:
* libinfinity/server/Makefile.am: Renamed from
infd-server.[ch], manages an arbitrary amount of InfdXmlServers.
2007-04-10 Armin Burgmeier <armin@arbur.net>
* libinfintiy/common/inf-connection-manager.h:
* libinfintiy/common/inf-connection-manager.c: Removed
inf_connection_manager_add_connection, and add connection
automatically on first invocation of
inf_connection_manager_add_object.
* libinfinity/common/inf-session.c:
* libinfinity/server/infd-directory.c: Adjusted use.
2007-04-10 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Fixed bugs, server side
mostly works.
* libinfinity/server/infd-xml-server.h: Fixed typo in
InfdXmlServerStatus typedef.
* libinfinity/server/infd-xmpp-server.h:
* libinfinity/server/infd-xmpp-server.c: Build and Runtime fixes, use
key.pem and cert.pem as key files for now. This should probably be
replaced with a newly-created certificate later.
* test/inf-test-xmpp-server.c: Added simple XMPP server test.
* test/inf-test-xmpp-connection.c: Connect to local server instead of
jabber.0x539.de.
* test/key.pem:
* test/cert.pem: Temporary example key files, copied from the GnuTLS
distribution.
2007-04-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Notify credentials and
sasl-context properties when they are created.
* libinfinity/server/infd-xmpp-server.h:
* libinfintiy/server/infd-xmpp-server.c:
* libinfinity/server/Makefile.am: Added XMPP server class,
yet untested.
2007-03-29 Armin Burgmeier <armin@arbur.net>
* libinfinity/server/infd-tcp-server.h:
* libinfinity/server/infd-tcp-server.c: Added InfdTcpServer object.
* libinfinity/server/infd-xml-server.h:
* libinfinity/server/infd-xml-server.c: Added InfdXmlServer interface.
* libinfinity/common/inf-tcp-connection.c: Added
_inf_tcp_connection_accepted function, do not leak a socket if the
connection attempt fails in inf_tcp_connection_open, do not chain up
to finalize in dispose, do not leak the IO object, don't rely on errno
keeping its value at the end of the recv/send loop.
* test/inf-test-tcp-server.c:
* test/Makefile.am: Added test for the TCP server.
2007-03-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/inf-xmpp-connection.c: Fixed some bugs, client
part mostly works.
* libinfinity/common/inf-tcp-connection.c: Exit receiving/sending loop
if the connection has been closed in a received/sent signal handler.
* libinfinity/common/inf-xml-connection.c: Initialize interface only
once.
* test/inf-test-xmpp-connection.c:
* test/Makefile.am: Added XMPP client test.
2007-03-28 Armin Burgmeier <armin@arbur.net>
* libinfinity/common/: Moved all libinfinity sources and headers
except inf-config.h and inf-marshal.h into a subdirectory.
* libinfinity/server/: Moved all libinfinited files into another
subdirectory.
* libinfinited/: Removed.
* libinfinity/common/Makefile.am:
* libinfinity/server/Makefile.am:
* libinfinity/Makefile.am:
* configure.ac: Adjusted build for new directory structure.
2070-03-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-xmpp-connection.h:
* libinfinity/inf-xmpp-connection.c: Added XMPP client and server
implementation, yet untested.
* libinfinity/inf-xml-stream.h:
* libinfinity/inf-xml-stream.c: Removed, this is no longer used and
replaced by XMPP.
* configure.in:
* libinfinity/Makefile.am: Depend on gnutls and libgsasl.
2007-03-19 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:POINTER,UINT marshaller.
* libinfinity/inf-standalone-io.h:
* libinfinity/inf-standalone-io.c: Added simple InfIo implementation.
* libinfinity/inf-tcp-connection.h:
* libinfinity/inf-tcp-connection.c: Implemented a TCP connection
object.
* libinfinity/Makefile.am: Added InfIoStandalone and InfTcpConnection
to build.
* test/inf-test-stream.xml:
* test/inf-test-xml-stream.c: Removed those since InfXmlStream will
probably be removed too, or at least change semantics.
* test/inf-test-tcp-connection.c:
* test/Makefile.am: Added simple TCP connection test.
2007-03-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-ip-address.h:
* libinfinity/inf-ip-address.c:
* Makefile.am: Boxed type managing an IP address.
2007-03-18 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-discovery-info.h:
* libinfinity/inf-discovery.h:
* libinfinity/inf-discovery-info.c:
* libinfinity/inf-discovery.c:
* Makefile.am: Added InfDiscovery and InfDiscoveryInfo interfaces.
2007-03-17 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-io.h:
* libinfinity/inf-io.c:
* Makefile.am: Added InfIo interface.
2007-03-15 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-xml-connection.h:
* libinfinity/inf-xml-connection.c: Added an InfXmlConnection
interface that replaces GNetworkConnection.
* libinfinity/inf-buffer.c:
* libinfinity/inf-buffer.h: Made a property out of the read-only
functions and signal.
* libinfinity/inf-marshal.in: Replaced VOID:BOOLEAN by VOID:POINTER
for InfXmlConnection.
* libinfinity/inf-net-object.h:
* libinfinity/inf-connection-manager.h:
* libinfinity/inf-session.h:
* libinfinited/infd-note-plugin.h:
* libinfinited/infd-session.h:
* libinfinited/infd-directory.h:
* libinfinity/inf-net-object.c:
* libinfinity/inf-connection-manager.c:
* libinfinity/inf-session.c:
* libinfinited/infd-session.c:
* libinfinited/infd-directory.c: Adjusted to use InfXmlConnection
instead of GNetworkConnection.
* configure.ac:
* libinfinity/Makefile.am:
* libinfinited/Makefile.am: Dropped dependency on libgnetwork. Also
excluded infd-server.[hc] from build because they would still require
GNetworkServer. Another interface in libinfinited is required here.
2007-03-15 Armin Burgmeier <armin@arbur.net>
* libinfinited/infd-storage.h:
* libinfinited/infd-storage.c: Turned the path field of
InfdStorageNode to name.
* libinfinited/infd-directory.h:
* libinfinited/infd-directory.c: Implemented remaining functionality
that was missing, some more enhanced operations like copying or moving
nodes are still not supported, though.
2007-03-12 Armin Burgmeier <armin@arbur.net>
* libinfinited/infd-storage.h:
* libinfinited/infd-storage.c: Renamed InfdDirectoryStorage to
InfdStorage.
* libinfinited/infd-note-plugin.h: Added interface for a note plugin.
* libinfinited/infd-session.h:
* libinfinited/infd-session.c:
* libinfinined/Makefile.am: Implemented user joins.
2007-03-12 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-user.h:
* libinfinity/inf-user.c: Removed connection field again. I don't
think it is useful.
* libinfinity/inf-session.h:
* libinfinity/inf-session.c: Added
inf_session_get_synchronization_status() and an exclude parameter to
the validate_user_props vfunc.
* libinfinity/inf-error.h:
* libinfinity/inf-error.c:
* libinfinity/Makefile.am: These specify some error codes that are
commonly used by client and server.
2007-03-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-session.c: Connect to notify::status to find out
when a connection is closed.
2007-03-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-session.h:
* libinfinity/inf-session.c: Provide getters for connection manager
and buffer. Also do a ref on the connection we get in
inf_session_synchronize_to() because it will be unrefed when the
synchronization is complete or failed.
2007-03-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-session.c: Before removing the session from the
connection manager in inf_session_release_connection(), make sure that
the connection manager still has the connection. If the connection was
closed, the connection manager might have dropped the connection
earlier.
* libinfinity/inf-connection-manager.c: Refcount netobject
registrations, but make sure objects are added with the same
identifier.
2007-03-08 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-user.h:
* libinfinity/inf-user.c: Added a connection field to InfUser
specifiying a (not necessarily direct) connection between the local
host and that user.
2007-03-07 Armin Burgmeier <armin@arbur.net>
* docs/plugin: Added notes about the plugin interface. It is not yet
implemented, these are my just ideas how it should work, so I do not
forget and could be expanded to a complete specification later.
2007-03-06 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:OBJECT,DOUBLE and
VOID:OBJECT,POINTER marshallers for synchronization signals.
* libinfinity/inf-net-object.h:
* libinfinity/inf-net-object.c:
* libinfinity/inf-connection-manager.h:
* libinfinity/inf-connection-manager.c: Implemented separation between
inner and outer queue, added enqueued vfunc in InfNetObject.
* libinfinity/inf-session.h:
* libinfinity/inf-session.c: Implemented session synchronization.
* libinfinity/inf-buffer.c: Minor build fixes.
* libinfinity/docs/terminology: Added inner queue and outer queue of
connection manager.
* libinfinity/docs/session: Applied slight changes that came up during
implementation.
2007-03-01 Armin Burgmeier <armin@arbur.net>
* libinfinity/docs:
* libinfinity/docs/terminology:
* libinfinity/docs/session: Added some notes, mostly for me to not
forget how things are supposed to work, but perhaps also interesting
to others.
2007-03-01 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:BOOLEAN marshaller.
* libinfinity/inf-buffer.h:
* libinfinity/inf-buffer.c:
* libinfinity/Makefile.am: Added common buffer interface.
* libinfinity/inf-text-buffer.c:
* libinfinity/inf-ink-buffer.c: Changed prerequiste from GObject to
InfBuffer.
2007-02-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/infd-directory.h:
* libinfinity/infd-directory.c: Added some directory API, but most
implementations are still missing.
2007-02-27 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added marshallers required for
InfTextBuffer.
* libinfinity/inf-text-buffer.h:
* libinfinity/inf-text-buffer.c:
* libinfinity/Makefile.am: Added InfTextBuffer interface.
* libinfinited/inf-directory-storage.h:
* libinfinited/inf-directory-storage.c: Added methods to read text
notes, write ink and text notes, create a subdirectory and
remove nodes.
2007-02-26 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-connection-manager.h:
* libinfinity/inf-connection-manager.c: Added
inf_connection_manager_has_connection(). Also do strong refs instead
of weak refs on added net object. This way, net objects are kept alive
if there are still connections open. Especially, this should allow
keeping sessions alive even if the document in the directory tree is
removed.
* libinfinited/infd-server.h:
* libinfinited/infd-server.c:
* libinfinited/Makefile.am: New server class managing acception of
incoming connections and (yet to come) service publishing.
* libinfinited/infd-directory.h:
* libinfinited/infd-directory.c: Implemented directory tree structure,
but accessing background storage and handling client requests still
missing.
2007-02-26 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-marshal.in: Added VOID:OBJECT marshaller.
* libinfinity/inf-user.h:
* libinfinity/inf-user.c:
* libinfinity/inf-session.h:
* libinfinity/inf-session.c:
* Makefile.am: Added InfUser and InfSession classes.
* libinfinity/inf-ink-buffer.c: Changed signal flags for the
remove-stroke signal from G_SIGNAL_RUN_CLEANUP to G_SIGNAL_RUN_LAST
and surrounded the signal emission by a g_object_ref / g_object_unref
pair. This way, the stroke should stay alive after having been removed
from the buffer and signal handlers running after the default handler
don't get corrupted memory.
2007-02-23 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-ink-stroke.h:
* libinfinity/inf-ink-stroke.c: Renamed from InfStroke to
InfInkStroke.
* libinfinity/inf-ink-buffer.h:
* libinfinity/inf-ink-buffer.c: Made an interface out of InfBuffer,
renamed to InfInkBuffer.
* libinfinity/Makefile.am: Adjusted build rules for renamed files.
* libinfinited/infd-directory-storage.h:
* libinfinited/infd-directory-storage.c: Include inf-ink-buffer.h
instead of inf-buffer.h, added text node type for upcoming
collaborative text editing support, removed empty flag from node
(client should query a node to check whether it is empty, this way it
can also treat it as empty if it only contains nodes it is not
interested in, for example a subdirectory containing only ink nodes
will be shown empty in a text editor).
2007-02-21 Armin Burgmeier <armin@arbur.net>
* libinfinited/infd-directory.h:
* libinfinited/infd-directory.c: Added GNetworkTcpServer object, close
on error.
2007-02-21 Armin Burgmeier <armin@arbur.net>
* libinfinity/inf-connection-manager.c: Take a reference of the
connection in inf_connection_manager_add_connection().
* libinfinited/infd-directory.c:
* libinfinited/infd-directory-storage.c:
* libinfinited/infd-directory.h:
* libinfinited/infd-directory-storage.h:
* libinfinited/infd-marshal.in:
* libinfinited/Makefile.am: Added interface for directory storage in
libinfinited and initial directory class.
* Makefile.am:
* configure.ac: Build libinfinited.
2007-02-21 Armin Burgmeier <armin@arbur.net>
* libinfinity: Renamed infinity directory to libinfinity.
* configure.ac:
* Makefile.am:
* test/Makefile.am:
* test/inf-test-xml-stream.c:
* libinfinity/*.[ch]: Changed references and includes from infinity to
libinfinity. Also implemented inf_stroke_new_at().
2007-02-21 Armin Burgmeier <armin@arbur.net>
* infinity/inf-net-object.c: Add G_TYPE_OBJECT prerequisite.
2007-02-20 Armin Burgmeier <armin@arbur.net>
* infinity/inf-connection-manager.c:
* infinity/inf-xml-stream.c: Chain up in destructor.
* infinity/inf-buffer.h:
* infinity/inf-buffer.c: Added InfBuffer class managing multiple
InfStrokes.
* infinity/inf-marshal.in: Added input file for glib-genmarshal.
* infinity/Makefile.am: Create inf-marshal.h and inf-marshal.c from
inf-marshal.in. Also added inf-buffer.c to build.
2007-02-20 Armin Burgmeier <armin@arbur.net>
* infinity/inf-stroke.h:
* infinity/inf-stroke.c: Added position to InfStroke to which
the coordinates of the contained InfStrokePoints are relative.
2007-02-20 Armin Burgmeier <armin@arbur.net>
* infinity/inf-xml-stream.c:
* infinity/inf-connection-manager.c: Documentation fixes.
* infinity/inf-net-object.c: Removed return in inf_net_object_sent()
and inf_net_object_received() because these functions are void.
* infinity/inf-stroke.h:
* infinity/inf-stroke.c: Added object representing a single stroke.
* infinity/Makefile.am: Added inf-stroke.c to build.
2007-02-19 Armin Burgmeier <armin@arbur.net>
* infinity/inf-connection-manager.h:
* infinity/inf-connection-manager.c: Implemented message processing
and inf_connection_manager_send_to_object().
2007-02-19 Armin Burgmeier <armin@arbur.net>
* infinity/inf-xml-stream.c:
* infinity/inf-xml-stream.h:
* infinity/Makefile.am: Added InfXmlStream class.
* test/inf-test-xml-stream.c:
* test/inf-test-stream.xml:
* test/Makefile.am: Simple test routine to test functionality of
InfXmlStream.
* configure.ac: Create test/Makefile.
* Makefile.am: Added test to SUBDIRS.
2007-02-18 Armin Burgmeier <armin@arbur.net>
* infinity/inf-connection-manager.c:
* infinity/inf-connection-manager.h: Added InfConnectionManager class,
not yet fully implemented, but compilable.
* infinity/Makefile.am: Added inf-connection-manager.[ch].
2007-02-18 Armin Burgmeier <armin@arbur.net>
* infinity/inf-net-object.h:
* infinity/inf-net-object.c: Renamed inf-netobject.[ch] to
inf-net-object.[ch].
2007-02-18 Armin Burgmeier <armin@arbur.net>
* infinity/inf-netobject.h: Replaced INF_NET_OBJECT_TYPE by
INF_TYPE_NET_OBJECT to follow gobject naming conventions.
2007-02-18 Armin Burgmeier <armin@arbur.net>
* configure.ac: Added check for glib, gobject, libgnetwork and
libxml2.
* infinity/Makefile.am: Add CFLAGS and libs of dependencies to
libinfinity_1_0_la_CPPFLAGS respectively libinfinity_1_0_la_LIBADD.
* infinity/inf-netobject.h: Added libgnetwork/gnetwork-connection.h
and libxml/tree.h includes to make it actually compile.
* infinity/inf-config.h.in: Removed generated file from repository.
2007-02-16 Armin Burgmeier <armin@arbur.net>
* configure.ac:
* Makefile.am:
* AUTHORS:
* NEWS:
* README:
* COPYING:
* INSTALL:
* infinity/Makefile.am:
* infinity/inf-config.h.in:
* infinity/inf-netobject.h:
* infinity/inf-netobject.c: Initial revision.
|