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
|
2024-09-30 Morten Welinder <terra@gnome.org>
* Release 1.14.53
2024-09-26 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (ole_init_info): Don't over-allocate for
"seen_before". A multiply should have been a divide. At the same
time, use a GByteArray instead of a raw pointer. (We could use a
bit array, but that's more work and we're already cutting the
allocation down by 16384.)
(ole_init_info): Range check num_blocks.
2024-08-31 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msvba.c (vba_extract_module_source):
force nul-termination of the data.
2024-02-04 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2024-02-04 Morten Welinder <terra@gnome.org>
* Release 1.14.52
2023-11-02 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2023-11-02 Morten Welinder <terra@gnome.org>
* Release 1.14.51
2023-04-22 Morten Welinder <terra@gnome.org>
* thumbnailer/main.c (msole_thumbnail): Fix crash. #29.
2023-04-21 Morten Welinder <terra@gnome.org>
* thumbnailer/main.c (write_thumbnail): Plug leak.
(read_thumbnail_and_write): Plug leak.
2022-07-13 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2022-07-13 Morten Welinder <terra@gnome.org>
* Release 1.14.50
2022-03-20 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2022-03-20 Morten Welinder <terra@gnome.org>
* Release 1.14.49
2021-12-27 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2021-12-27 Morten Welinder <terra@gnome.org>
* Release 1.14.48
2021-12-02 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-zip.c (gsf_infile_zip_get_property): Add "zip64"
property.
2020-03-23 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2020-03-23 Morten Welinder <terra@gnome.org>
* Release 1.14.47
2020-02-20 Morten Welinder <terra@gnome.org>
* thumbnailer/main.c (main): Plug leak.
* gsf/gsf-infile-msole.c (datetime_from_filetime): Propagate NULL
datetime. Fixes #19.
2020-01-28 Morten Welinder <terra@gnome.org>
* gsf/gsf-docprop-vector.c: ignore deprecation warnings only very
locally.
2019-10-18 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-gzip.c (gsf_output_gzip_class_init): Add
"deflate-level" attribute to control compression. Must be set
before first write. Based on code from Allin Cottrell.
2019-10-16 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-memory.c (gsf_output_memory_steal_bytes): New
function. Code from Allin Cottrell.
2019-05-04 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2019-05-04 Morten Welinder <terra@gnome.org>
* Release 1.14.46
2019-02-04 Morten Welinder <terra@gnome.org>
* tools/gsf-vba-dump.c (test): Fix problem with error reporting.
2018-12-18 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2018-12-18 Morten Welinder <terra@gnome.org>
* Release 1.14.45
2018-12-17 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_write): Fix problem
with seeks in small blocks. This alone would also have fixed #14.
2018-12-16 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse): Don't convert the
terminator.
(msole_metadata_write_section): Don't seek beyond end of stream --
use plain writes instead. Fixes #14.
2018-08-08 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2018-08-08 Morten Welinder <terra@gnome.org>
* Release 1.14.44
2018-08-02 Morten Welinder <terra@gnome.org>
* gsf/*.h: Drop G_GNUC_CONST annotations on get_type functions.
It causes gsf_init_dynamic to be mostly a no-op with some gcc
versions.
2018-04-29 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_metadata_write_string): Write the
converted length, not the pre-iconv length. Fixes #795612.
2018-04-19 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2018-04-19 Morten Welinder <terra@gnome.org>
* Release 1.14.43
2018-04-10 Morten Welinder <terra@gnome.org>
* gsf/*.c: various introspection fixes, mostly from bug 794777 by
Corentin Noël and Rico Tzschichholz. The occasional extra fix by
me.
2018-03-22 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-memory.c (gsf_input_mmap_new): Set modtime.
* gsf/gsf-input-stdio.c (gsf_input_stdio_new): Use
gsf_input_set_modtime_from_stat.
* gsf/gsf-input.c (gsf_input_set_modtime_from_stat): New internal
function.
2017-11-11 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2017-11-11 Morten Welinder <terra@gnome.org>
* Release 1.14.42
2017-01-22 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-textline.c (gsf_input_textline_read): Make current
file position follow the source's.
(gsf_input_textline_seek): Ditto.
(gsf_input_textline_utf8_gets): Ditto.
(gsf_input_textline_dup): Duplicate name too.
2016-12-02 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-12-02 Morten Welinder <terra@gnome.org>
* Release 1.14.41
2016-11-30 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-tar.c (tar_directory_for_file): Handle the case
where what we expected to be a directory is a file. (That implies
a corrupted tar file.) Thanks to Behzad Najjarpour Jabbari,
Secunia Research at Flexera Software for discovering this.
2016-08-20 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-08-20 Morten Welinder <terra@gnome.org>
* Release 1.14.40
2016-06-29 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-06-29 Morten Welinder <terra@gnome.org>
* Release 1.14.39
2016-06-17 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-06-17 Morten Welinder <terra@gnome.org>
* Release 1.14.38
2016-06-04 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-zip.c (zip_trailer64_write): Fix ZIP64 EOCD size
to exclude leading 12 bytes. From Felix Bünemann
<buenemann@louis.info>
* tests/LibGsfTest.pm: Use 7z for archive testing when available.
It's stricter.
2016-05-30 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-05-30 Morten Welinder <terra@gnome.org>
* Release 1.14.37
2016-04-18 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-tar.c (unpack_octal): Allow a terminating space
instead of NUL. Fixes #765099.
2016-02-12 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-02-12 Morten Welinder <terra@gnome.org>
* Release 1.14.36
2016-02-09 Jean Brefort <jean.brefort@normalesup.org>
* gsf/gsf-output-gio.c (gsf_output_gio_new_full),
(gsf_output_gio_close), (gsf_output_gio_init): Remove the unused GFile
member. Fix a few criticals.
2016-02-06 Morten Welinder <terra@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_open_pkg_open_rel): Move
parent-reffing to after we handle absolute references. Fixes
#761648.
* gsf/gsf-libxml.c (gsf_xml_in_doc_parse): Plug leak.
2016-02-06 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2016-02-06 Morten Welinder <terra@gnome.org>
* Release 1.14.35
2016-01-21 Morten Welinder <terra@gnome.org>
* tools/gsf.c (main): Set of locale stuff. Patch by Ting-Wei Lan.
Also set up gettext stuff.
2016-01-13 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-zip.c (gsf_infile_zip_read): Improve error
handling. Fixes #760543.
2016-01-01 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_metadata_write_section): Handle the
no-property case sanely. Fixes #760047.
2015-07-28 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-07-28 Morten Welinder <terra@gnome.org>
* Release 1.14.34
2015-07-07 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (ole_seek_block): Fix seek error check.
2015-07-06 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (ole_init_info): Add debug code.
(gsf_infile_msole_new_child): Fix error check from seek.
2015-07-02 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse): Exit loop if no
progress. Fixes #751273.
2015-06-25 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-textline.c (gsf_input_textline_utf8_gets): Go
character-by-character. This is the right thing to do and also
prevents stepping past the end.
2015-06-17 Morten Welinder <terra@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_open_pkg_open_rel): Improve
handling of absolute references. Fixes #751120.
2015-06-11 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_read): Fuzzed file fix.
Fixes #750809.
2015-05-15 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-zip.c (zip_dirent_write): Fix portability issue.
2015-05-10 Morten Welinder <terra@gnome.org>
* gsf/gsf-open-pkg-utils.c (open_pkg_rel_begin): Be more careful
in removing entries partially overwritten by dupes. [#749183]
2015-05-09 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msvba.c (vba_dir_read): Free only once.
(gsf_vba_inflate): Don't crash after error. [#749169]
2015-04-27 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_read): Reduce size available
for property by 4 since that is taken by the typeid.
2015-04-18 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_get_output): Doc fix.
2015-04-16 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-04-16 Morten Welinder <terra@gnome.org>
* Release 1.14.33
2015-04-09 Morten Welinder <terra@gnome.org>
* tests/test-xml.c: Add meaning code in here.
* gsf/gsf-libxml.c (gsf_xml_out_end_element): Only indent closing
tag if we're at the beginning of the line because we
pretty-printed the previous closing tag.
(gsf_xml_out_get_pretty_print, gsf_xml_out_set_pretty_print): New
convenience functions.
2015-03-30 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_doc_add_nodes): Introduce new flag
GSF_XML_2ND to explicitly identify duplicate nodes.
2015-03-13 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_set_silent_unknowns): New function.
2015-03-04 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_float): Do a better job of
saving all precision.
2015-03-04 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-03-04 Morten Welinder <terra@gnome.org>
* Release 1.14.32
2015-02-22 Morten Welinder <terra@gnome.org>
* gsf/gsf-open-pkg-utils.c
(gsf_outfile_open_pkg_set_content_type): Allow a NULL content type
for when defaults cover the file.
2015-02-09 Morten Welinder <terra@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_open_pkg_write_content_override):
Release children here, not in gsf_outfile_open_pkg_close.
2015-02-08 Morten Welinder <terra@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_close): Plug
leak.
2015-02-06 Morten Welinder <terra@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_close): Also add
vml extension.
* gsf/gsf-libxml.c (gsf_xml_in_start_element): Nodes inside
unknown nodes are themselves unknown, even if they would appear to
be known had the intervening unknown nodes not been there. In
other words: don't lookup nodes while we are parsing an unknown
tag's contents.
2015-02-04 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2015-02-04 Morten Welinder <terra@gnome.org>
* Release 1.14.31
2015-02-01 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile.c (gsf_infile_child_by_vaname): Fix age-old leak.
2015-01-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add 2 new localc namespaces
* gsf/gsf-opendoc-utils.h: add new enum values to support above
name spaces)
2014-12-15 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-zip.c (special_mimetype_dirent): New function.
(zip_dirent_write, zip_header_write): Don't write a special unix
mtime field for the special mimetype entry.
(zip_close_root): Sort by offset. Note: this may not be necessary
or even desired, but help with the zipdetails utility.
(zip_init_write): Make the special mimetype default to !zip64.
(gsf_outfile_zip_new): Null the error return value.
(zip_dirent_write, zip_header_write): Use extract version 2.0 for
the !zip64 case.
2014-12-14 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-zip.c (zip_dirent_write): Fix test for writing
ignore header.
2014-12-02 Morten Welinder <terra@gnome.org>
* tools/gsf.c (gsf_create): Allow "-" for output to stdout.
* tests/LibGsfTest.pm (test_valgrind): Dump valgrind output when
verbose.
* tools/gsf.c (gsf_create): Use our perfectly fine GType macros
instead of a home grown enum.
2014-12-01 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (follow_symlinks): Plug leak.
* gsf/gsf-outfile-zip.c (zip_dirent_write): Handle the case of
small file beyond offset 4G. The header record won't be zip64,
but the dirent needs to.
(zip_dirent_write): Mark this entry as needing 4.5 to extract if
the central directory entry uses zip64, even if the local header
does not.
2014-11-30 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.h (GSF_LE_SET_GU?INT{16,32,64}): Add casts to make
things more function-like and avoid implementation defined
behaviour.
* gsf/gsf-outfile-zip.c (zip_dirent_write): The the archive is in
auto mode and the member is not using a zip64 extra field, use an
IGNORE extra field to work around known zipinfo bug.
* tools/gsf.c (gsf_create, load_recursively): Add error checks on
close.
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_write): When zip64 is
forced off, don't allow writing beyond the 4G barrier.
(zip_header_write): If we write a real zip64 entry, mark the
dirent as being zip64.
(zip_close_root): If any dirent is zip64, the archive is.
(zip_output_block): Catch overflow of csize.
(zip_header_patch_sizes): Resolve zip64 to FALSE if it remained
auto until now.
2014-11-29 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-zip.c (zip_header_write): Determine if the sink
is seekable. Use a DDESC, if not.
* gsf/gsf-output-gio.c (gsf_output_gio_write): Simplify and handle
the zero bytes cases better.
(gsf_output_gio_new_full): Check seekability here and thus only
once.
* gsf/gsf-output-iochannel.c (gsf_output_iochannel_seek): Check
for is_seekable before trying to do so.
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_class_init): Properly
install zip64 property.
(zip_header_write): Fix auto-zip64 mode's writing of sizes.
(zip_ddesc_write): Do write signature.
2014-11-28 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-zip.c (zip_dirent_new_out): Store mtime in zip
files, as long as they fit.
2014-11-27 Morten Welinder <terra@gnome.org>
* gsf/gsf-input.c (gsf_input_copy): Minor cleanups.
* tools/gsf.c (load_recursively): Complain if gsf_input_copy
fails.
2014-11-23 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-zip.c (zip_dirent_new_in): Fix reading of
extended field. csize and usize are swapped in there.
(zip_dirent_new_in): Read the right amount of variable data.
(zip_read_dirents): Check trailer64 signature.
* gsf/gsf-outfile-zip.c (zip_dirent_write): Fix file mode.
2014-11-22 Morten Welinder <terra@gnome.org>
* tools/gsf.c (open_archive): Plug leak.
* gsf/gsf-infile-stdio.c (GsfInfileStdio): Use a GPtrArray instead
of a list for performance with large directories.
2014-11-20 Morten Welinder <terra@gnome.org>
* gsf/gsf-input.c (gsf_input_read0): Fix 64-bit issue.
* gsf/gsf-utils.c (gsf_input_dump): Fix 64-bit issue. Read larger
blocks.
* gsf/gsf-infile-zip.c (zip_read_dirents): Handle zip64 format for
archives with 65535 or more members.
(ZipInfo): Larger fields; use GPtrArray for speed. All users
changed.
(zip_find_trailer): Fix endianess issue.
(gsf_infile_zip_read): Fix 64-bit issue.
(zip_dirent_new_in): Handle zip64 extra fields.
* gsf/gsf-zip-impl.h (GsfZipVDir): Use a GPtrArray for speed. All
users changed.
* gsf/gsf-input.c: Update to new introspection syntax.
2014-11-15 Morten Welinder <terra@gnome.org>
* gsf/gsf-opendoc-utils.c (od_meta_user_defined_end): Plug leak.
2014-11-01 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_inflate): Don't place
uninitialized values into the output even for corrupted files.
* gsf/gsf-input-memory.c (gsf_input_mmap_new): Plug leak.
* gsf/gsf-infile-msvba.c (vba_dir_read): Plug leak.
* gsf/gsf-structured-blob.c (blob_finalize, blob_dup)
(blob_child_by_name, gsf_structured_blob_read): Reduce CRITICALs
on corrupted files.
2014-10-28 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c: Avoid deprecated g_type_init.
* gsf/gsf-msole-utils.c (msole_prop_parse): Plug leak.
2014-04-17 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_set_property): Add new
property default-level.
2014-03-19 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-03-19 Morten Welinder <terra@gnome.org>
* Release 1.14.30
2014-03-06 Jean Brefort <jean.brefort@normalesup.org>
* gsf/gsf-input-http.c (make_local_copy), (gsf_input_http_new):
make a local copy. nanohttp does not always report the correct size.
[see #724970]
2014-03-05 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-gio.c (gsf_input_gio_new): Always make local copy.
glib reports wrong size.
2014-02-28 Morten Welinder <terra@gnome.org>
* tools/gsf.c (main): Activate translations. Patch from
Juhani Numminen <juhaninumminen0@gmail.com>
2014-01-04 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2014-01-04 Morten Welinder <terra@gnome.org>
* Release 1.14.29
2013-12-14 Morten Welinder <terra@gnome.org>
* gsf/gsf-open-pkg-utils.c (open_pkg_rel_begin): Handle duplicate
or missing id and type. Fixes #720458.
2013-12-07 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.h (GSF_LE_GET_GUINT32): cast unsigned char to
guint32 before left-shifting by 24. This avoids an implicit cast
to int followed by an overflowing left-shift which is undefined in
the C standard.
2013-09-13 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-zip.c (zip_child_init): Fix translation marking,
plug leak. Fixes #706937.
2013-08-23 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new_valist): Allow
the directory to exist. Patch from Allin Cottrell. #706219.
2013-08-01 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-08-01 Morten Welinder <terra@gnome.org>
* Release 1.14.28
2013-08-01 Morten Welinder <terra@gnome.org>
* configure.ac (set_more_warnings): When checking for warnings
flags, include <stdio.h> for mingw's benefit.
2013-07-30 Jean Brefort <jean.brefort@normalesup.org>
* gsf/gsf-libxml.c (gsf_xml_parser_context_full): allow the huge libxml
parser mode so that gnumeric can load large images. [#705100]
2013-07-11 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_metadata_write_string): Protect
against strings that cannot be converted. See bug #703952.
2013-06-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-infile-msole.c (gsf_infile_msole_read): use the
correct conversion specifier
2013-06-23 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-06-23 Morten Welinder <terra@gnome.org>
* Release 1.14.27
2013-06-23 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-ar.[ch]: Delete.
2013-06-21 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_end_document): Plug leak.
2013-06-19 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-timestamp.c (gsf_timestamp_load_from_string): perfrom
some range checking to avoid crashing in glib.
2013-04-20 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msvba.c (gsf_vba_inflate): Plug multiple leaks.
* gsf/gsf-infile-msole.c (gsf_infile_msole_read): Don't read
beyond the number of bat blocks we have. (We can have less blocks
than expected when the bat chain is found to be circular.) Don't
optimize seek; the lower levels will do that just fine.
(ole_make_bat): Simplify.
2013-03-08 Morten Welinder <terra@gnome.org>
* gsf/gsf-input.c (gsf_input_set_modtime): Change to transfer-none
semantics. All callers changed.
* gsf/gsf-output.c (gsf_output_set_modtime): Change to
transfer-none semantics. All callers changed.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root): Set
modtime when available.
* gsf/gsf-output.c (gsf_output_set_property): Make name property
writable.
* gsf/gsf-input.c (gsf_input_dup): Simplify. Prevent leak of
container ref if derived class set one.
2013-03-07 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c (gsf_property_settings_find): New function.
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_new_child): Don't add
modtime is caller did.
* tools/gsf.c (load_recursively): Simlify using, of all things,
gsf. Avoid crazy memory usage. Take care of modtime.
2013-03-04 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-tar.c (tar_init_info): Also read mtime from
archive.
(gsf_infile_tar_child_by_index): Set modtime of input when
possible.
* tools/gsf.c (ls_R): Print also modtime when available.
* gsf/gsf-infile-zip.c (gsf_infile_zip_new_child): Set modtime of
child.
(zip_dirent_new_in): Read modtime from file.
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_new_child): Parent's
modtime is child's default.
(gsf_outfile_zip_constructor): Default modtime is now.
* configure.ac: Check for utime.h and sys/utime.h. Check for
stat.st_mtimensec and stat.st_mtim.tv_nsec.
* tests/test-cp.c (test): Copy modtime too.
* gsf/gsf-input.c (gsf_input_get_property): Add new modtime
property.
* gsf/gsf-output.c (gsf_output_get_property): Ditto.
* gsf/gsf-input-gzip.c (check_header): Set modtime when available.
* gsf/gsf-input-stdio.c (gsf_input_stdio_new): Set modtime.
* gsf/gsf-output-stdio.c (gsf_output_stdio_close): Set modtime of
resulting file.
* gsf/gsf-input.c (gsf_input_uncompress): Fix potential failure
with bzip'd input.
2013-03-03 Morten Welinder <terra@gnome.org>
* gsf/gsf-command-context.c: Remove.
* gsf/gsf-command-context.h: Remove.
* gsf/gsf-io-context.c: Remove.
* gsf/gsf-io-context.h: Remove.
* gsf/gsf-output-transaction.c: Remove.
* gsf/gsf-output-transaction.h: Remove.
* gsf/Makefile.am: Remove references to those files.
2013-02-27 Morten Welinder <terra@gnome.org>
* configure.ac: Post-release bump.
2013-02-27 Morten Welinder <terra@gnome.org>
* Release 1.14.26
2013-02-25 Jean Brefort <jean.brefort@normalesup.org>
* tests/test-msole1.c (test): fix build.
2013-02-23 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile.c (gsf_infile_child_by_name)
(gsf_infile_child_by_vname, gsf_infile_child_by_vaname)
(gsf_infile_child_by_aname): Doc improvements.
* gsf/gsf-input.c (gsf_input_uncompress): Avoid HAVE_BZ2
conditionals.
* gsf/gsf-utils.c (gsf_init_dynamic): Register the tar type too.
* gsf/gsf-input.c (gsf_input_read): Detect overflow.
2013-02-20 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_metadata_write_section): Add sanity
check.
2013-02-17 Morten Welinder <terra@gnome.org>
* configure.ac (set_more_warnings): Improve support for clang.
2013-02-05 Jean Brefort <jean.brefort@normalesup.org>
* doc/gsf-sections.txt: fix gtk-doc warnings.
* gsf/gsf-opendoc-utils.c: ditto.
* tools/gsf.c (get_meta_data): don't use deprecated symbols.
2013-01-26 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-msole.c (ole_write_bat, ole_write_const): Bunch
things up as large writes instead of piles of little ones.
2013-01-19 Valek Filippov <frob@df.ru>
* gsf/gsf-infile-msvba.c,.h (gsf_vba_inflate): Fix for short streams.
2013-01-15 Jean Brefort <jean.brefort@normalesup.org>
* configure.ac: renamed configure.in and update obsolete macros.
* configure.in: ditto.
2013-01-07 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (chown_wrapper): New function.
(chmod_wrapper, access_wrapper): Eliminate in favour of g_chmod
and g_access.
* configure.in: Check for g_chown instead of g_chmod and g_access
which we can now assume.
* gsf/gsf-infile-zip.c (zip_child_init): Attempt working around
another clang false positive.
* gsf/gsf-input-memory.c (gsf_input_memory_new_clone): For around
a clang false positive.
* gsf/*.c: Stop pretending that g_object_new can return NULL.
2013-01-05 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-gio.c (gsf_output_gio_new_full): New function
factored out from gsf_output_gio_new.
(gsf_output_gio_new_for_path, gsf_output_gio_new_for_uri): Use
gsf_output_gio_new_full for proper error handling.
2013-01-05 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-gio.c (gsf_output_gio_new_for_uri): Use
preconditions for programming errors.
(gsf_output_gio_write): Drop unneeded cast.
* gsf/gsf-libxml.c (gsf_xml_out_add_gvalue): Deal with G_TYPE_CHAR
always being signed char.
(gsf_xml_gvalue_from_str): Ditto.
* gsf/gsf-msole-utils.c (msole_prop_parse): Ditto.
2013-01-05 Valek Filippov <frob@df.ru>
* gsf/gsf-infile-msvba.c,.h (gsf_vba_inflate): Fix based on
[MS-OVBA] and test files. Fixes #656531.
2012-12-20 =?UTF-8?q?Marc-Andr=C3=A9=20Lureau?= <marcandre.lureau@gmail.com>
* gsf/gsf-infile-msole.c (ole_seek_block): Factor out from
gsf_infile_msole_read.
2012-12-05 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (gsf_infile_msole_child_by_index)
(gsf_infile_msole_name_by_index): Avoid casts.
2012-12-05 Paolo Bonzini <bonzini@gnu.org>
* gsf/gsf-infile-msole.c (gsf_infile_msole_dup): Make this a
simple wrapper over gsf_infile_msole_dup. Fixes #689706.
2012-11-13 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-11-13 Morten Welinder <terra@gnome.org>
* Release 1.14.25
2012-10-28 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_metadata_write_string): Pad to
4-byte boundary if char_size>1 as per spec.
2012-10-27 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_metadata_write_string): New
function to take codepage into account.
(msole_metadata_write_prop, cb_write_dict): Use
msole_metadata_write_string.
* gsf/gsf-doc-meta-data.c (gsf_doc_meta_data_insert): Initialize
->ref_count.
2012-10-16 Morten Welinder <terra@gnome.org>
* tools/gsf.c (main): Add commands to create zip and ole files.
Patch from jorilx@gmail.com, see bug 683788.
2012-09-03 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-09-03 Morten Welinder <terra@gnome.org>
* Release 1.14.24
2012-08-02 Jean Brefort <jean.brefort@normalesup.org>
* doc/Makefile.am: fixed as many introspection and gtk-doc issues as
possible.
* doc/gsf-sections.txt: ditto.
* gsf/Makefile.am: ditto.
* gsf/gsf-blob.c: ditto.
* gsf/gsf-blob.h: ditto.
* gsf/gsf-clip-data.c: ditto.
* gsf/gsf-clip-data.h: ditto.
* gsf/gsf-infile-msvba.c (gsf_input_find_vba): ditto.
* gsf/gsf-infile-zip.c (vdir_insert), (zip_info_unref): ditto.
* gsf/gsf-libxml.c (gsf_xml_gvalue_from_str),
(gsf_xml_out_get_output): ditto.
* gsf/gsf-msole-utils.c (msole_prop_parse),
(gsf_doc_meta_data_read_from_msole), (gsf_msole_metadata_read),
(gsf_doc_meta_data_write_to_msole), (gsf_msole_metadata_write):
* gsf/gsf-msole-utils.h: ditto.
* gsf/gsf-open-pkg-utils.h: ditto.
* gsf/gsf-opendoc-utils.c (gsf_odf_get_version_string),
(gsf_odf_get_version), (get_gsf_odf_version), (gsf_odf_get_ns),
(get_gsf_ooo_ns), (gsf_doc_meta_data_odf_subtree),
(gsf_opendoc_metadata_subtree), (gsf_doc_meta_data_read_from_odf),
(gsf_opendoc_metadata_read), (gsf_doc_meta_data_write_to_odf),
(gsf_opendoc_metadata_write): ditto.
* gsf/gsf-opendoc-utils.h: ditto.
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_finalize),
(gsf_outfile_zip_new_child): ditto.
* gsf/gsf-timestamp.c (gsf_timestamp_load_from_string),
(gsf_timestamp_from_string), (gsf_timestamp_parse),
(gsf_timestamp_to_value): ditto.
* gsf/gsf-timestamp.h: ditto.
* gsf/gsf-utils.c (gsf_init_dynamic): ditto.
* gsf/gsf-zip-impl.h: ditto.
* gsf/gsf-zip-utils.c (gsf_vdir_free), (gsf_zip_vdir_free),
(gsf_zip_vdir_copy), (gsf_zip_vdir_destroy),
(gsf_zip_vdir_get_type), (gsf_vdir_add_child),
(gsf_zip_vdir_add_child): ditto.
* gsf/gsf.h: ditto.
* thumbnailer/main.c (msole_thumbnail): ditto.
2012-07-20 Jean Brefort <jean.brefort@normalesup.org>
* all files: fix introspection and gtk-doc warnings.
2012-05-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (gsf_xml_out_add_gvalue_for_odf): new
(meta_write_props_user_defined): use gsf_xml_out_add_gvalue_for_odf
(meta_write_props): use gsf_xml_out_add_gvalue_for_odf
2012-05-21 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: copied code from introspection.m4
2012-05-18 Jean Brefort <jean.brefort@normalesup.org>
* Makefile.am: enhance introspection build support.
* configure.in: ditto.
* gsf/Makefile.am: ditto.
2012-04-19 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2012-04-19 Morten Welinder <terra@gnome.org>
* Release 1.14.23
2012-03-31 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (od_meta_user_defined): default to
G_TYPE_NONE
(od_meta_user_defined_end): Check for "GSF_DOCPROP_VECTOR:" and
handle accordingly
(meta_write_props_user_defined): code extracted from
meta_write_props
(meta_write_props): use meta_write_props_user_defined and handle
GSF_DOCPROP_VECTOR_TYPE
2012-03-25 Morten Welinder <terra@gnome.org>
* configure.in (test_python): Disable by default. Patch from
Alban Browaeys in #672663.
2012-03-21 Morten Welinder <terra@gnome.org>
* gsf/gsf-opendoc-utils.h (GsfODFOut): New object class.
* gsf/gsf-opendoc-utils.c (gsf_opendoc_metadata_write): change
output argument type to "gpointer" so we can take either GsfXMLOut
or GsfODFOut. Get the odf version from the output if that happens
to be a GsfODFOut.
* gsf/gsf-libxml.c (gsf_xml_out_class_init): Install new property
"sink".
(gsf_xml_out_new): Just call g_object_new.
* gsf/gsf-libxml.h (GsfXMLOut): Make this just public enough that
we can derive from it.
2012-03-20 Morten Welinder <terra@gnome.org>
* configure.in (libgsf_reqs): Fix glib dependency.
* gsf/gsf-timestamp.c (gsf_timestamp_from_string): Reimplement
based on glib's GDateTime. Fixes time-shift part of #671860.
2012-03-10 Jean Brefort <jean.brefort@normalesup.org>
* gsf/Makefile.am: make introspection work when libgsf is not installed.
[#671698]
2012-02-06 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: apply patch from Alan Knowles to add gobject introspection
support. [#610340]
* gsf/Makefile.am:
2011-12-15 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-12-15 Morten Welinder <terra@gnome.org>
* Release 1.14.22
2011-12-08 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (ole_dirent_cmp): Use
gsf_msole_sorting_key_cmp.
* gsf/gsf-msole-utils.c (gsf_msole_sorting_key_new)
(gsf_msole_sorting_key_free, gsf_msole_sorting_key_cmp): New
functions.
* gsf/gsf-outfile-msole.c (make_sorting_name): New function.
(gsf_outfile_msole_constructor): New function.
(gsf_outfile_msole_class_init): Hook up constructor.
(GsfOutfileMSOle): Add a key member.
(ole_name_cmp): Use gsf_msole_sorting_key_cmp. Fixes #665712.
2011-12-07 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-memory.c: Drop HAVE_BROKEN_MMAP -- FreeBSD was
fixed 8+ years ago, so this code isn't being run.
* gsf/gsf-utils.c: Assume HAVE_G_BASE64_ENCODE.
* gsf/*.c: Eliminate pointless G_OBJECT casts.
* configure.in: Require glib 2.16 for g_strcmp0.
* gsf/gsf-input.c (gsf_input_dispose): Rename from
gsf_input_finalize and hook up accordingly.
(gsf_input_set_name): Notify the property if changed.
* gsf/gsf-output.c (gsf_output_set_name): Notify the property if
changed.
(gsf_output_set_name_from_filename): Base of gsf_output_set_name.
2011-11-08 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-gio.c (gsf_input_gio_read): Handle unexpected EOF
from source. Never request more than gio is documented to handle.
(make_local_copy): Set name from file.
2011-09-08 Morten Welinder <terra@gnome.org>
* configure.in: Switch to AM_MAINTAINER_MODE([enable]).
2011-07-01 Morten Welinder <terra@gnome.org>
* thumbnailer/main.c (set_resource_limits): Fix conditional.
2011-05-21 Morten Welinder <terra@gnome.org>
* gsf-win32/gsf-output-win32.c (gsf_output_istream_set_error): Use
proper format string.
* gsf-win32/gsf-input-win32.c (hresult_to_gerror): Ditto.
2011-05-20 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-05-20 Morten Welinder <terra@gnome.org>
* Release 1.14.21
2011-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (get_gsf_odf_version_string): bump to 1.2
(get_gsf_odf_version): bump to 1.2
2011-05-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (od_meta_user_defined): check for all ODF defined
value types and use the correct attribute name
(meta_write_props): use the correct attribute name
2011-05-09 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (od_meta_user_defined): initialize type
and name.
2011-05-02 Jean Brefort <jean.brefort@normalesup.org>
* gsf/gsf-impl-utils.h: fix GSF_DYNAMIC_CLASS_FULL to make gcc-4.6 happy.
2011-04-05 Morten Welinder <terra@gnome.org>
* Makefile.am: ${ACLOCAL_FLAGS}, not $(ACLOCAL_FLAGS) which seems
to matter to Gentoo. Fixes #645777.
2011-03-28 Morten Welinder <terra@gnome.org>
* configure.in: Implement --without-gconf (as opposed to looking
for gconftool-2.
2011-03-24 Morten Welinder <terra@gnome.org>
* Release 1.14.20
2011-03-24 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2011-03-11 Morten Welinder <terra@gnome.org>
* gsf/gsf-opendoc-utils.c (od_meta_user_defined_end): Create a
value of the requested type.
(od_meta_user_defined): Handle the meta:type attribute.
(GsfOOMetaIn): Add new member "typ".
(meta_write_props): Fix typo.
2010-12-17 Morten Welinder <terra@gnome.org>
* tests/test-outmem-printf.c (test): Attempt a leak fix.
2010-11-10 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse): Handle NULL error
message without crashing. [#634435] Patch by Caolan McNamara.
2010-09-25 Morten Welinder <terra@gnome.org>
* configure.in: Post-release bump.
2010-09-25 Morten Welinder <terra@gnome.org>
* Release 1.14.19
2010-09-25 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_start_element): Don't complain over
elements in unknown namespaces.
2010-09-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add another one of OOo's
namespaces
* gsf/gsf-opendoc-utils.h: add new enum value to support above
name spaces)
2010-08-28 Morten Welinder <terra@gnome.org>
* gsf/gsf-impl-utils.h (GSF_CLASS_FULL): Don't use C89 argument
lists.
* gsf/gsf-output-bzip.c (gsf_output_bzip_close): Rework previous
change. We do not want two prototypes.
2010-08-15 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add some more of OOo's
namespaces
* gsf/gsf-opendoc-utils.h: add new enum values to support above
name spaces)
* gsf/gsf-output-bzip.c (gsf_output_bzip_close): quieten compile
2010-07-28 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c (gsf_debug_flag): New function.
* gsf/gsf-libxml.c (gsf_xml_in_start_element): Don't complain over
missing namespace uris unless a debug flag is set.
2010-04-07 Morten Welinder <terra@gnome.org>
* configure.in: Post-release-bump.
2010-04-07 Morten Welinder <terra@gnome.org>
* Release 1.14.18
2010-04-06 Morten Welinder <terra@gnome.org>
* gsf/gsf-outfile-zip.c (zip_header_write, zip_dirent_write): Use
dirent->flags for consistency. Fixes #614968.
(zip_dirent_update_flags): New function.
(zip_dirent_new_out): Deduce dirent->flags.
* gsf/gsf-infile-zip.c (zip_dirent_new_in): Read dirent->flags.
2010-04-05 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Fix win32 warning about
format.
2010-02-13 Morten Welinder <terra@gnome.org>
* configure.in: Post-release-bump.
2010-02-13 Morten Welinder <terra@gnome.org>
* Release 1.14.17
2009-11-18 Morten Welinder <terra@gnome.org>
* gsf/gsf-doc-meta-data.c (gsf_doc_meta_data_foreach): Sort the
key-value pairs.
2009-11-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* autogen.sh: allow dirs on PATH to have spaces withou causing warning
2009-10-29 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_probe_element): Fix crash on documents
like <a:b xmlns:c="d://"/>
2009-10-11 Morten Welinder <terra@gnome.org>
* Release 1.14.16
2009-09-25 Morten Welinder <terra@gnome.org>
* thumbnailer/main.c (call_convert): Use gdk_pixbuf if available.
2009-09-25 Morten Welinder <terra@gnome.org>
* configure.in (libgsf_gnome_reqs): Remove gnome-vfs stuff.
Fixes #593480
2009-09-22 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add variant of OO_NS_FIELD
2009-08-20 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_start_element): Complain to stderr,
not stdout. Fixes #592471.
2009-06-20 Morten Welinder <terra@gnome.org>
* configure.in: Post-release-bump.
2009-06-20 Morten Welinder <terra@gnome.org>
* Release 1.14.15
2009-06-17 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse): Use gsf_timestamp_new
and gsf_timestamp_set_time.
* gsf/gsf-timestamp.c (gsf_timestamp_from_string): Improve error
checking.
(gsf_timestamp_set_time): New function.
(gsf_timestamp_new): New function.
2009-06-05 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse): If parsing fails,
don't return a bogus value. Fixes #584848.
2009-05-26 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.h (gsf_odf_version): deleted
(gsf_odf_version_string): deleted
(get_gsf_ooo_ns): new
(get_gsf_odf_version_string): new
(get_gsf_odf_version): new
2009-05-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.[ch]: replace GSF_ODF_VERSION with a variable
2009-05-25 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.[ch]: replace GSF_ODF_VERSION_STRING with the
varaible gsf_odf_version_string and turn GSF_ODF_VERSION into an
enum.
2009-05-24 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (gsf_opendoc_metadata_write): use
GSF_ODF_VERSION_STRING
* gsf-opendoc-utils.h (GSF_ODF_VERSION): new and bump to 1.1
(GSF_ODF_VERSION_STRING): new
2009-05-23 Morten Welinder <terra@gnome.org>
* configure.in: Psot-release bump.
2009-05-23 Morten Welinder <terra@gnome.org>
* Release 1.14.14
2009-05-16 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.h: add namespace enumeration constant for
new OOo and Gnumeric namespaces
* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add new namespaces for OOo
and Gnumeric
2009-05-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-libxml.c (gsf_xml_out_start_element): remove erroneous
g_return_if_fail. Note that some part of the code specifically
handles that situation.
(close_tag_if_neccessary): If we are in GSF_XML_OUT_CHILD we need
not close the tag
2009-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.h: add namespace enumeration constant for
MSOXL
* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add namespace for MSOXL
2009-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (gsf_opendoc_meta_dtd): scan meta's
children for more namespaces to handle CleverAge's files.
2009-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.h: add more new namespace enumeration
constants
* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add more new namespaces
2009-05-10 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.h: add new namespace enumeration
constants
* gsf/gsf-opendoc-utils.c (gsf_ooo_ns): add new namespaces
2009-05-06 Morten Welinder <terra@gnome.org>
* configure.in : post release bump
2009-05-06 Morten Welinder <terra@gnome.org>
* Release 1.14.13
2009-05-06 Andreas J. Guelzow <aguelzow@pyrshep.ca>
Fixes #581530
* gsf/gsf-opendoc-utils.c (gsf_opendoc_meta_dtd): split into
gsf_opendoc_meta_dtd and gsf_opendoc_meta_st_dtd
(gsf_opendoc_metadata_subtree_free): free the state not the doc
(gsf_opendoc_metadata_subtree): use your own dtd
(gsf_opendoc_metadata_subtree_internal): new
2009-04-28 Emmanuel Pacaud <emmanuel@gnome.org>
Add doap file.
2009-04-25 Morten Welinder <terra@gnome.org>
* configure.in : post release bump
2009-04-25 Morten Welinder <terra@gnome.org>
* Release 1.14.12
2009-04-25 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-memory.c (gsf_input_memory_new_clone): Fix
preconditions. Always allocate at least one byte. Avoid cast.
Fixes #580228.
2009-04-17 Morten Welinder <terra@gnome.org>
* gsf/gsf-output.c (gsf_output_set_error): Fix allocation method
problem for errors. Fixes #579155.
2009-04-15 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (gsf_infile_msole_new_child): Fix a
couple of warnings.
2009-04-13 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf/gsf-opendoc-utils.c (GsfOOMetaIn): added field
(od_meta_user_defined): implement
(od_meta_user_defined_end): new
(gsf_opendoc_meta_dtd): handle "user-defined" completely
(gsf_opendoc_metadata_read): initialize state.name
2009-04-11 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (lookup_child) : handle namespace uri being
declared as both default and explict prefix.
2009-02-07 Morten Welinder <terra@gnome.org>
* configure.in (bonobo): auto-detect.
2009-02-19 Jody Goldberg <jody@gnome.org>
* gsf/gsf.h : document the members of timestamp to avoid gtk-doc
warnings.
* gsf/gsf-timestamp.c (gsf_timestamp_from_string) : renamed from.
(gsf_timestamp_parse) : here, and this is deprecated.
2009-02-18 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (gsf_infile_msole_new_child) : Handle
small-block files that are not block aligned. [#572290]
2009-02-04 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Drop characters that
xml 1.0 cannot represent. Bandaids #568919.
2009-01-30 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-output-csv.c (gsf_output_csv_quoting_mode_get_type):
Declare "values" as static, as the second argument to
g_enum_register_static may not be stack-allocated, because GObject
keeps a reference to the data. This fixes a problem generating the
documentation in some environments; see
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39015 .
2009-01-26 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_characters): Handle the case where
we get here without being initialized. See 568994.
(gsf_xml_in_end_document): Mark ourselves uninitialized here.
2009-01-06 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2009-01-06 Jody Goldberg <jody@gnome.org>
* Release 1.14.11
2009-01-02 Jody Goldberg <jody@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_open_pkg_open_rel) : clean up the
logic to handle rels with empty components, leading '/', or '.'
to deal with POI generated files.
2008-12-25 Morten Welinder <terra@gnome.org>
* configure.in (statfs): Fix detection for Darwin. Fixes #565603.
* gsf-gnome/gsf-input-gnomevfs.h, gsf-gnome/gsf-output-gnomevfs.h:
Fix compilation in gnome case. Fixes #565605.
2008-12-24 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-gio.c (make_local_copy): Use larger buffer.
(gsf_input_gio_new, gsf_input_gio_new_for_path,
gsf_input_gio_new_for_uri): Use g_return_val_if_fail as
appropriate.
* gsf/gsf-input-stdio.c (make_local_copy): New function.
(gsf_input_stdio_new, gsf_input_stdio_new_FILE): Use
make_local_copy for non-regular files.
2008-12-14 Morten Welinder <terra@gnome.org>
* */*.c: Clean up glib includes. Patch from Pedro Fragoso. Fixes
#564004.
2008-11-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-utils.c (DllMain): glib-2.18 deprecated
G_WIN32_DLLMAIN_FOR_DLL_NAME, create a DllMain ourselves to
capture the dll handle.
(gsf_init): use it here with
g_win32_get_package_installation_directory_of_module.
* configure.in : add MSGs for the preceding bz2 test.
2008-11-23 Jody Goldberg <jody@gnome.org>
From : Richard W.M. Jones <rjones@redhat.com>
* configure.in : AC_CHECK_LIB doesn't work with the Windows port
of libbz2 because dnl it uses the __stdcall calling convention.
2008-11-08 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-bzip.c: Pretend to use args in the
don't-have-bzip case.
* gsf/gsf-intput-bzip.c: Pretend to use args in the
don't-have-bzip case.
2008-11-05 Morten Welinder <terra@gnome.org>
* */*.c: Fix problem with formats. Based on patch from Hib Eris,
#559291.
2008-10-30 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (rename_wrapper): Only use statfs if it
is the expected two-argument kind. Fixes #558253.
2008-10-23 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-utils.c: Natural endian doubles aren't just used on VFP
enabled ARM, but on ARM with EABI as well. Adjust the logic for
defining G_FLOAT_BYTE_ORDER accordingly. Patch courtesy of Riku Voipio
<riku.voipio@iki.fi>. (Debian #503144)
2008-10-19 Jody Goldberg <jody@gnome.org>
* Release 1.14.10
2008-10-17 Andreas J. Guelzow <aguelzow@pyrshep.ca>
* gsf-gnome/gsf-input-gnomevfs.h: add #define if
LIBGSF_GNOMEVFS_VIA_GIO is defined
2008-10-17 Morten Welinder <terra@gnome.org>
* gsf-gnome/Makefile.am: Don't compile the gnomevfs part unless
asked to.
2008-10-16 Morten Welinder <terra@gnome.org>
* configure.in: Define LIBGSF_GNOMEVFS_VIA_GIO via command line,
if needed.
* gsf-gnome/gsf-output-gnomevfs.h: Don't include config file. Get
LIBGSF_GNOMEVFS_VIA_GIO from command line.
* gsf-gnome/gsf-input-gnomevfs.h: Ditto.
2008-10-05 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (ole_info_read_metabat): Use g_warning,
not g_return_val_if_fail. Fixes #554848.
2008-09-28 Morten Welinder <terra@gnome.org>
* tools/gsf.c (ls_R): Handle NULL children. Fixes #553861.
2008-09-24 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-tar.c (unpack_octal): Add error check. Fixes
#553655.
* tools/gsf.c (open_archive): Also try tar file format.
* gsf/gsf-infile-tar.[ch]: New files.
2008-09-14 Gil Forcada <gforcada@gnome.org>
* configure.in:
* po/LINGUAS:
Added support for po/LINGUAS file, closing #551577.
2008-09-12 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_iconv_get_codepage_string_list) :
We intentionally fallthrough to the next case.
2008-09-11 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_read) : local variable shadowed a
poorly named parameter. It wasn't a bug, but it can't hurt to fix
it. [Coverity #189]
2008-09-10 Jody Goldberg <jody@gnome.org>
* gsf/gsf-output.c (gsf_output_real_vprintf) : add va_end after the
G_VA_COPY. [Coverity #250]
* gsf/gsf-output-memory.c (gsf_output_memory_vprintf) : ditto.
[Coverity #251]
2008-09-03 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (rename_wrapper): Work around sshfs
brokenness. Fixes #509883.
2008-08-30 Jody Goldberg <jody@gnome.org>
* configure.in : Post release bump
2008-08-29 Jody Goldberg <jody@gnome.org>
* Release 1.14.9
2008-08-28 Morten Welinder <terra@gnome.org>
* configure.in (GNOMEVFS_REQ, BONOBO_REQ): Define as needed.
* libgsf-gnome-1.pc.in: Use the above.
2008-08-28 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_doc_add_nodes) : new, split from
gsf_xml_in_doc_new to facilitate splitting node sets so that they
can be used in multiple situations.
2008-08-24 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msvba.c (gsf_input_find_vba) : move this here from
tools/gsf-vba-dump.
(gsf_infile_msvba_get_modules) : new.
(vba_extract_module_source) : store the code rather than dumping it to stdout.
* tools/gsf-vba-dump.c (test) : use the new utilities.
(cb_dump_vba) : do the dumping here.
2008-07-28 Hubert Figuiere <hfiguiere@novell.com>
* thumbnailer/gsf-office-thumbnailer.schemas.in:
* thumbnailer/main.c (zip_thumbnail): Add support for OpenPkg
(MS Office Open XML) thumbnailing.
2008-07-19 Jody Goldberg <jody@gnome.org>
* gsf/gsf-open-pkg-utils.c : Some components do not have relations.
Do not generate a warning. e.g. foreach_rel in an empty sheet.
2008-07-18 Dominic Lachowicz <domlachowicz@gmail.com>
* gsf/gsf-input-gio.c (gsf_input_gio_new): Don't leak @input if
we're going to make a local copy of the requested file
2008-07-02 Morten Welinder <terra@gnome.org>
* gsf-gnome/gsf-output-gnomevfs.c: Use gio, not gnomevfs, when
LIBGSF_GNOMEVFS_VIA_GIO is defined.
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new,
gsf_input_gnomevfs_new_uri): Call gsf_input_gio_new_for_uri, not
gsf_input_gio_new_for_path.
2008-07-01 Jody Goldberg <jody@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_open_pkg_open_rel) : make public.
(gsf_open_pkg_foreach_rel) : new.
2008-06-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile.c (gsf_infile_child_by_aname) : new.
(gsf_infile_child_by_vaname) : new.
2008-06-13 Jody Goldberg <jody@gnome.org>
* tests/test-msole1.c :
* tests/test-http.c :
* tests/test-zip1.c :
* tests/test-gzip1.c :
* tests/test-gzip2.c :
* tests/test-bzip.c :
* tests/test-msvba.c : Clear error after use in preparation for the
next file.
2008-06-08 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Add nb to ALL_LINGUAS.
2008-05-20 Tor Lillqvist <tml@novell.com>
* libgsf-zip.in: Message catalogs nowadays end up in share/locale
as they should, not lib/locale.
2008-05-04 Jody Goldberg <jody@gnome.org>
* tools/gsf-vba-dump.c (test) : support MS OOX.
2008-04-13 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c (gsf_init): Run-time test for gsf_le_get_double.
Might save __arm__ people some head scratching.
2008-04-09 Morten Welinder <terra@gnome.org>
* configure.in: Reorganize gnome-vfs/bonobo checks.
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri):
Prepare for making this a simple wrapper over gio.
* gsf/gsf-utils.c (gsf_base64_decode_step): Use
g_base64_decode_step when available.
(gsf_base64_encode_step): Use g_base64_encode_step when available.
(gsf_base64_encode_close): Use g_base64_encode_close when available.
2008-03-17 Dominic Lachowicz <domlachowicz@gmail.com>
* tests/Makefile.am: libgsf-gio-1.la doesn't exist any more
2008-03-17 J.H.M. Dassen (Ray) <jdassen@debian.org>
* libgsf-gio-1.pc.in: No longer needed.
* configure.in, Makefile: Drop references to it.
2008-03-16 Morten Welinder <terra@gnome.org>
* gsf/Makefile.am: Don't install gio support in its own library.
2008-03-06 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/gsf-vba-dump.1: New.
2008-03-14 Dominic Lachowicz <domlachowicz@gmail.com>
* libgsf-gio-1.pc.in:
* tests/test-gio.c:
* tests/test-gvfs.c:
* tests/Makefile.am:
* gsf/gsf-output-gio.h:
* gsf/Makefile.am:
* gsf/gsf-input-gio.c:
* gsf/gsf-output-gio.c:
* gsf/gsf-input-gio.h:
* gsf-gvfs:
* configure.in:
* Makefile.am:
* libgsf-gvfs-1.pc.in: Migrate names from "gvfs" to "gio";
move GIO code to gsf/ and get rid of gsf-gvfs/
2008-03-14 Dominic Lachowicz <domlachowicz@gmail.com>
* gsf-gvfs/gsf-input-gvfs.c:
* gsf-gvfs/gsf-output-gvfs.c: g_file_new() functions cannot fail
2008-03-14 Dominic Lachowicz <domlachowicz@gmail.com>
* tests/Makefile.am:
* gsf-gvfs/gsf-input-gvfs.c:
* gsf-gvfs/gsf-output-gvfs.c:
* gsf-gvfs/gsf-input-gvfs.h:
* gsf-gvfs/gsf-output-gvfs.h:
* gsf-gvfs/Makefile.am:
* configure.in:
* Makefile.am: Update GIO backend to use glib 2.16's API
2008-03-06 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/gsf.1: Fixed typo in font setting.
* doc/gsf-office-thumbnailer.1, doc/gsf.1: Define .URL macro when not
already defined by the man implementation and use it for hyperlinks.
2008-03-05 Morten Welinder <terra@gnome.org>
* configure.in: Post release bump.
2008-03-05 Morten Welinder <terra@gnome.org>
* Release 1.14.8
2008-02-07 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (ole_dirent_new): Add new argument to
keep track of what entries we have seen before. All callers
changed. Check for loops. Handle overflow in block computation.
Fixes #513831.
(ole_init_info): Sanity check num_sbat too.
2007-12-07 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_make_bat) : be more forgiving of
failure. We do not need to abort completely on a cycle, just
truncate.
2007-11-22 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_enum) : ref/unref the type class.
Peek does not seem sufficient to fully instantiate it.
2007-11-10 Morten Welinder <terra@gnome.org>
* tools/gsf.c (gsf_dump_props): Let 'gsf listprops archive' print
a list of properties.
(gsf_list_props): New function.
(gsf_help): Update accordingly.
* gsf/gsf-msole-utils.c (msole_debug): New function.
(msole_prop_parse): Use msole_debug so we don't print scale
messages unless we want to.
2007-11-02 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-csv.c (gsf_output_csv_set_sink): Allow setting a
NULL sink.
2007-10-29 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-http.c (gsf_input_http_finalize): Let g_free
handle NULL.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_finalize): Let
g_slist_free handle empty lists too.
2007-10-27 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse): Improve sanity
checks. [#404934]
2007-10-27 Jody Goldberg <jody@gnome.org>
* gsf-win32/Makefile.am : Only install headers on win32. [#459771]
2007-10-27 Jody Goldberg <jody@gnome.org>
* gsf/gsf-opendoc-utils.c : Add
urn:oasis:names:tc:opendocument:xmlns:presentation:1.0
2007-10-15 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_metadata_read): Sanity check
sections without hitting g_return_val_if_fail. Probably fixes
#485964.
2007-09-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new_child) : use it for
standard children too.
2007-09-19 Dom Lachowicz <domlachowicz@gmail.com>
* gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new_child): Pass the va_list
to the child
2007-09-07 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2007-09-07 Jody Goldberg <jody@gnome.org>
* Release 1.14.7
2007-09-07 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_start_element) : Good grief.
Overzealous renaming breaks all xml output.
2007-09-04 Jody Goldberg <jody@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_add_extern_rel) : add
some docs.
* gsf/gsf-libxml.c : s/xml/xout/ to placate gtk-doc.
2007-09-03 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2007-09-03 Jody Goldberg <jody@gnome.org>
* Release 1.14.6
2007-08-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_relate) : handle
relative paths better.
(open_pkg_rel_begin) : init rel::is_extern.
(open_pkg_rel_begin) : parse and store TargetMode as is_extern.
(gsf_open_pkg_rel_is_extern) : new.
(gsf_open_pkg_rel_get_target) : new.
(gsf_open_pkg_rel_get_type) : new.
(gsf_open_pkg_lookup_rel_by_type) : new.
(gsf_open_pkg_lookup_rel_by_id) : new.
(gsf_open_pkg_open_rel_by_id) : renamed from ...
(gsf_open_pkg_get_rel_by_id) : which was deprecated because the name
was unclear.
(gsf_open_pkg_open_rel_by_type) : renamed from ...
(gsf_open_pkg_get_rel_by_type) : which was deprecated because the name
was unclear.
(GsfOutfileOpenPkgRel) : delete.
(gsf_outfile_open_pkg_close) : use straight GsfOpenPkgRel and export
the TargetMode for is_extern.
(gsf_outfile_open_pkg_create_rel) : new.
(gsf_outfile_open_pkg_add_extern_rel) : new.
* gsf/gsf-libxml.c (gsf_xml_out_get_output) : new.
2007-07-29 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Resync ALL_LINGUAS with po files.
2007-07-24 Jody Goldberg <jody@gnome.org>
From coverity
* gsf/gsf-msole-utils.c (cb_write_dict) : fix buffer overrun that
would overwrite a variable with itself +1
2007-07-22 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-memory.c (gsf_input_memory_new_clone) : add some
safety checks against invalid parameters.
2007-07-20 Dom Lachowicz <domlachowicz@gmail.com>
* gsf-gvfs/gsf-input-gvfs.c: Make a local copy of the stream if it's not
seekable
* gsf-gvfs/gsf-output-gvfs.c: Use replace() instead of create() when creating
streams. create() won't overwrite an existing file. Document limitations
regarding seeking.
2007-07-14 Jean Brefort <jean.brefort@normalesup.org>
* configure.in: always initialize have_gvfs.
2007-07-12 Dom Lachowicz <domlachowicz@gmail.com>
* gsf-gvfs/gsf-input-gvfs.c:
* gsf-gvfs/gsf-input-gvfs.h:
* gsf-gvfs/gsf-output-gvfs.c:
* gsf-gvfs/gsf-output-gvfs.h:
* gsf-gvfs/Makefile.am:
* libgsf-gvfs-1.pc.in:
* Makefile.am:
* configure.in: New GVFS-based backend
* tests/test-gvfs.c:
* tests/Makefile.am: Small test harness for the new GVFS-based backend
2007-07-10 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2007-07-10 Jody Goldberg <jody@gnome.org>
* Release 1.14.5
2007-07-05 Jody Goldberg <jody@gnome.org>
* python/gsfmodule.c : warning suppression.
2007-06-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-output-csv.c (gsf_output_csv_quoting_mode_get_type) : missed
converting this back from a dynamic type.
2007-06-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-open-pkg-utils.c (gsf_outfile_open_pkg_set_sink) : fix a doc
build error.
2007-06-30 Jody Goldberg <jody@gnome.org>
* configure.in : fix --without-bonobo case in the --without-gnome
case. [#4488842]
2007-06-30 Jody Goldberg <jody@gnome.org>
* thumbnailer/Makefile.am : Work even if gconf macros are not
installed.
* configure.in : ditto.
2007-06-30 Jody Goldberg <jody@gnome.org>
* *.[ch] (*register_type) : back out the move to dynamic types.
They have significant problems with threads. [#450722]
Which also patches a compilation glitch on windows. [#449807]
2007-06-19 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/Makefile.am: Add gsf.1 to manpage_DATA.
2007-06-18 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump.
2007-06-18 Jody Goldberg <jody@gnome.org>
* Release 1.14.4
2007-06-13 Jody Goldberg <jody@gnome.org>
* gsf/gsf-impl-utils.h (GSF_PARAM_STATIC) : deprecate in favour of
glib's G_PARAM_STATIC_STRINGS.
(GSF_DYNAMIC_CLASS_FULL) : No need to add a reloc by making the type
info static.
(GSF_DYNAMIC_INTERFACE_FULL) : ditto.
2007-06-11 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-gzip.c (GsfInputGZip): Use gsf_off_t for
header_size and trailer_size to kill warnings.
* gsf/gsf-input.c (gsf_input_read): Fix warning.
* gsf-gnome/gsf-input-bonobo.c (gsf_input_bonobo_read): Fix printf
size mismatch.
2007-06-10 Jody Goldberg <jody@gnome.org>
* gsf/gsf-open-pkg-utils.c : Move over from gnumeric.
* po/POTFILES.in : Add the new code.
2007-06-10 Jody Goldberg <jody@gnome.org>
* configure.in : Add a test for setrlimit.
* thumbnailer/main.c : use it here, just in case.
2006-12-21 Federico Mena Quintero <federico@novell.com>
https://bugzilla.novell.com/show_bug.cgi?id=229609 - Limit the
resource consumption of the helper process in gsf-office-thumbnailer.
* thumbnailer/main.c (set_resource_limits): New function. We use
setrlimit() to put a cap on how much resources the helper process
can use, as convert(1) is known to leak tons of memory and CPU on
certain WMF files.
(main): Call set_resource_limits().
2007-06-10 Jody Goldberg <jody@gnome.org>
* doc/gsf-sections.txt : Add the dynamic _register_type functions, and
the new nano-http class.
2007-06-10 Jody Goldberg <jody@gnome.org>
* gsf/gsf-utils.c (gsf_init_dynamic) : register the new input type.
From : Michael Lawrence [#362373]
* gsf/gsf-input-http.[ch] : provide a nano-http (from libxml2)
input wrapper.
* tests/test-http.c : add.
2007-06-10 Jody Goldberg <jody@gnome.org>
From : Eduardo Limo [#442205]
* configure.in : Make bonobo support optional, but enabled by default.
* gsf-gnome/Makefile.am : Use the new configure flag here.
2007-06-10 Jody Goldberg <jody@gnome.org>
* m4/Makefile.am : new.
* configure.in : Add it.
* Makefile.am : handle m4 as a subdir rather than in EXTRA_DIST to
avoid distcheck failure.
2007-04-08 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/gsf.1: New.
* gsf/gsf-meta-names.h, gsf/gsf.h, gsf/gsf-impl-utils.h,
gsf/gsf-utils.h: Documentation work.
2007-02-16 Jody Goldberg <jody@gnome.org>
* tests/test-cp-zip.c (clone) : make more resistant to read failures.
2007-01-23 Morten Welinder <terra@gnome.org>
* configure.in (pygtk): Show result.
2007-01-13 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Adjusted pkg-config requirements to reflect that
libgsf-gnome doesn't need libxml-2.0.
2007-01-10 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (push_child, gsf_xml_in_end_element): Handle
nested contents.
2006-12-17 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-bzip.c : include gsf-input-impl.h
to suppress warning.
2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
* gsf/gsf-input-bzip.c: Set input name
* gsf/gsf-input-gzip.c: Ditto
* gsf/gsf-input-proxy.c: Ditto
* gsf/gsf-input-textline.c: Ditto
2006-12-15 Dom Lachowicz <domlachowicz@gmail.com>
* gsf/gsf-input-textline.c (gsf_input_textline_new): Set the input's
size based on its source sink's size.
2006-12-10 Jody Goldberg <jody@gnome.org>
Begin merging patch from Danny Milosavljevic (danny.milo@gmx.net)
* gsf/gsf-blob.c (gsf_blob_get_size) : constify.
(gsf_blob_peek_data) : constify.
2006-12-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-output.h: Annotate GsfOutputClass.Vprintf with a format
attribute.
2006-12-06 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c (gsf_mem_dump_full): Cleanup. (Avoid boundary
case problems and print line-by-line.)
* gsf/gsf-output.c (gsf_output_real_vprintf): Do not reuse a
va_list argument. That does not work.
2006-12-04 Morten Welinder <terra@gnome.org>
* thumbnailer/main.c: Use g_printerr, not fprintf. That fixes
output in non-UTF8 locales.
* configure.in (libgsf_reqs): Bump glib req to 2.8 for g_try_new.
* gsf/gsf-infile-msole.c (ole_init_info): Use g_try_new, not
g_alloca. (And g_free the memory after use.) Fixes #381600.
* gsf/gsf-output-csv.c (gsf_output_csv_write_field): Quote on
initial or terminal whitespace, see bug #359348.
2006-12-02 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (ole_info_read_metabat): Advance bats in
the empty case too. Fixes #381588.
2006-12-01 Christian Neumair <chris@gnome-de.org>
* gsf/gsf-libxml.c: (gsf_xml_gvalue_from_str):
Handle types derived from G_TYPE_ENUM and G_TYPE_FLAGS correctly.
Bail if type was not handled.
2006-11-20 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_gvalue): Plug leak.
2006-11-20 Jody Goldberg <jody@gnome.org>
* doc/gsf-docs.sgml : Add some missing indicies.
* doc/Makefile.am : init with gsf_init
2006-11-17 Jody Goldberg <jody@gnome.org>
* gsf/*.[ch] : update copyrights
2006-11-17 Jody Goldberg <jody@gnome.org>
* gsf/*.[ch] : Make GTypes dynamic and enable gsf_init_dynamic
2006-11-10 Jody Goldberg <jody@gnome.org>
* tools/gsf-vba-dump.c : Handle vba in .doc too.
PPT is going to be more work. It seems to be embedded in the escher
stream as a compressed data blob.
2006-11-09 Tor Lillqvist <tml@novell.com>
* libgsf-zip.in: Fix typo.
2006-11-05 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2006-11-05 Jody Goldberg <jody@gnome.org>
* Release 1.14.3
2006-11-03 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : add some debug
spew to help track the OOo prop warnings. Looks like an OOo
problem.
2006-11-03 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-doc-meta-data.c (gsf_doc_prop_free), gsf/gsf-infile-ar.c
(ar_dirent_free), gsf/gsf-infile-msole.c (gsf_infile_msole_read),
gsf/gsf-input-textline.c (gsf_input_textline_finalize), gsf/gsf-input.c
(gsf_input_finalize), gsf/gsf-outfile-msole.c
(gsf_outfile_msole_finalize): simplified as g_free handles NULL
properly. Fixes #369663.
2006-10-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-opendoc-utils.c (meta_write_props) : clean up the code to
handle missing values and invalid properties.
2006-10-24 Jody Goldberg <jody@gnome.org>
* gsf/gsf-opendoc-utils.c (meta_write_props) : OLE2 stores a single
string, ODF stores a vector.
2006-10-02 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2006-09-26 Jody Goldberg <jody@gnome.org>
* Release 1.14.2
2006-09-26 Morten Welinder <terra@gnome.org>
* configure.in (test_python): Fix python tests.
2006-09-24 Jody Goldberg <jody@gnome.org>
Patch from Robert:
* autogen.sh : Check srcdir for the extra macros.
* python/Makefile.am : Include srcdir.
2006-09-24 Jody Goldberg <jody@gnome.org>
Patch from Ivan:
* configure.in : conditionalize the python checks.
2006-09-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (push_child) : Handle namespaces internally by id
rather than object pointer. We don't actually need the struct and
the code is simpler when using ids.
(lookup_child) : ditto. No need for a verbose warning if the document
does not yet define a namespace.
(gsf_xml_in_start_element) : warn when we find an unknown namespace uri.
(gsf_xml_in_doc_free) : now that we are using ids, the ns_by_id array
goes away. We did not really need it.
(gsf_xml_in_doc_new) : Get rid of ns_by_id and use ids directly. This
fixes support for multiple uris with the same id (common when
versioning)
(gsf_xml_in_doc_new) : Be sure to look up the parent of the e_node,
not the node already in the tree to fix the multple decl handling.
2004-07-16 Stepan Kasal <kasal@ucw.cz>
YES, 2004!. Commit an ancient patch that was forgotten.
Cleanup of test-*msole*.c examples.
* tests/test-cp-msole.c:
* tests/test-dump-msole.c:
* tests/test-restore-msole.c:
* tests/test-msole1.c:
* tests/test-msole2.c:
* tests/test-msole-printf.c:
2006-09-23 Jody Goldberg <jody@gnome.org>
Patch from Frederic Peters : #354690
* python/Makefile.am : Link to our version of libgsf, not the system.
2006-09-18 Morten Welinder <terra@gnome.org>
* gsf/gsf-input.c (gsf_input_uncompress): Use correct HAVE_ symbol
for bzip2 and fix typo. Fixes #356391.
2006-09-06 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (ole_init_info): Silence a warning issued
for an only marginally bogus file. See bug 346118.
(ole_dirent_new): Always treat the root directory as a directory,
even if the file claims otherwise. See bug 346118.
* tools/gsf.c (gsf_dump_props): Print proper filename in error
message.
2006-08-28 Wouter Bolsterlee <uws+gnome@xs4all.nl>
* thumbnailer/gsf-office-thumbnailer.schemas.in: Trivial
patch to install all the schemas in the correct place.
Fixes bug #353216.
2006-08-20 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_init_info) : Add validation in case
::num_metabat too large for the ::num_bats.
2006-08-19 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=352055
* gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : do not generate
an error when given an empty property file. It's not a perfect
solution but it will be what most people want.
2006-08-19 Jody Goldberg <jody@gnome.org>
* gsf/gsf-doc-meta-data.c (gsf_doc_prop_dump) : new.
(cb_print_property) : split out from here.
* tools/gsf.c (gsf_dump_props) : new.
(main) : Add 'props' command to dump metadata.
2006-06-30 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_metadata_read): Validate
num_props a little bit. (#346189, Michal Kowalczuk)
2006-06-14 Jody Goldberg <jody@gnome.org>
From Dannym.
* gsf/gsf-msole-utils.c (msole_metadata_write_prop) : Fix export of
R8. Typo was using SET_FLOAT rather than SET_DOUBLE.
2006-05-26 Jody Goldberg <jody@gnome.org>
* gsf/gsf-doc-meta-data.c (gsf_doc_prop_set_link) : as per Federico's
note. Handle the case of @link being the result of
gsf_doc_prop_get_link.
(gsf_doc_prop_set_val) : ditto.
2006-05-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msvba.c (vba_dir_read) : dump as xml.
This is still a cheesy hack, but at least it does something useful.
2006-05-18 Jody Goldberg <jody@gnome.org>
* thumbnailer/gsf-office-thumbnailer.schemas.in : Add OpenOffice 1.0
mime types and missing OpenDocument types.
2006-05-08 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2006-05-08 Jody Goldberg <jody@gnome.org>
* Release 1.14.1
2006-05-02 Jody Goldberg <jody@gnome.org>
From : Ronan MELENNEC <ronan.melennec@cena.fr>
* gsf/gsf-timestamp.c (gsf_timestamp_as_string) : make it clear that
the time stamp is in UTC.
2006-05-05 Morten Welinder <terra@gnome.org>
* gsf/gsf.c (main): New (uninstalled) beginning of a tar-like
program.
2006-04-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (GsfXMLOut) : added 'pretty-print' property to
optionally disable auto indenting of output.
2006-04-18 Jody Goldberg <jody@gnome.org>
From: Xavier Roche <roche@exalead.com>
* gsf/gsf-msole-utils.c (msole_prop_parse) : Fix over zealous boundary
check for wide character string properties. There are _two_ bytes
per character.
2006-04-21 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Drop characters 1-8, 11,
12, 14-31 on the floor. The XML 1.0 spec does not allow them.
Bandaids #339335.
2006-04-15 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_check_ns) : handle default namespaces
properly.
(gsf_xml_in_namecmp) : ditto.
2006-04-10 Jody Goldberg <jody@gnome.org>
* gsf/gsf-timestamp.c (gsf_timestamp_as_string) : single digit seconds
should pad with 0.
2006-04-08 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input.c (gsf_input_sibling) : fix docs.
2006-04-08 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-msole.c (ole_init_info): Constrain big blocksize
to be no bigger than file size.
2006-04-07 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=336858
* gsf/gsf-infile-msole.c (ole_info_read_metabat) : handle situation
where an entire metabat is unused. We don't have any normative docs
on what that indicates but this seems relatively safe.
2006-04-07 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_check_ns) : check the current default
namespace too.
(gsf_xml_in_namecmp) : ditto.
(gsf_xml_in_start_element) : improve the warning for unexpected
elements.
* gsf/gsf-blob.h : deprecate the non-standard name 'GSF_TYPE_BLOB'
and add GSF_BLOB_TYPE.
* doc/gsf-docs.sgml : fix up the organization a bit.
* doc/gsf-sections.txt : ditto.
2006-03-20 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_doc_parse): Set new member
state.initialized.
(gsf_xml_in_start_document): Ditto.
(gsf_xml_in_end_document): Avoid crashing if not initialized.
Works around #335152.
2006-03-08 Morten Welinder <terra@gnome.org>
* doc/Makefile.am (manpagedir): Fix #316107.
2006-03-07 Eduardo Lima <eduardo.lima@indt.org.br>
* gsf/gsf-doc-meta-data.c (gsf_doc_prop_free): Ensure that
prop->linked_to is valid before free it.
(gsf_doc_prop_set_val): Just unset and free prop->val if it is not
NULL.
(gsf_doc_prop_set_link): Just free prop->linked_to if it is not NULL.
2006-03-06 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
* configure.in: detect gmtime/gmtime_r
* gsf/gsf-timestamp.c: various fixes to enable compilatioon on win32
* thumbnailer/Makefile.am: disable running of gconftool when
cross-compile
2006-03-03 Jody Goldberg <jody@gnome.org>
* thumbnailer/main.c (call_convert) : use -thumbnail rather than -resize
to handle transparent backgrounds. I can not find normative docs on
this but it seems to do the right thing. It seems like we also want
'+matte'
2006-03-02 Eduardo Lima <eduardo.lima@indt.org.br>
* gsf/gsf-docprop-vector.c (gsf_docprop_vector_as_string) : no need
to call g_value_unset () because g_value_array_get_nth () returns
just a pointer to the value.
2006-03-02 Luciano M. Wolf <luciano.wolf@indt.org.br>
* gsf/gsf-opendoc-utils.c (od_meta_keyword) : init the value to string
before storing the result.
2006-03-02 Jody Goldberg <jody@gnome.org>
* thumbnailer/gsf-office-thumbnailer.schemas.in : Add the opendoc
types to the schema. Need to check the older OOo 1.x formats before
we can add them.
2006-03-02 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2006-03-02 Jody Goldberg <jody@gnome.org>
* Release 1.14.0 / 1.13.99 (for Novell)
2006-03-02 Jody Goldberg <jody@gnome.org>
* gsf/gsf-opendoc-utils.c (gsf_opendoc_metadata_write) : enabled.
(meta_write_props) : new.
(gsf_opendoc_metadata_read) : handle keywords.
(od_meta_keyword) : ditto.
2006-03-02 Jody Goldberg <jody@gnome.org>
* gsf/gsf-doc-meta-data.c (gsf_doc_meta_dump) : Move this here from
test-msole1.
2006-03-01 Jody Goldberg <jody@gnome.org>
* gsf/gsf-timestamp.c (gsf_timestamp_parse) : enable this. keep the
cheesy name to avoid api changes.
(gsf_timestamp_as_string) : sync with timestamp_parse.
2006-02-26 Jody Goldberg <jody@gnome.org>
* thumbnailer/main.c (read_thumbnail_and_write) : split out ole2
handling into.
(msole_thumbnail) : here.
(zip_thumbnail) : and add a quick call to unzip for ODF. We can tack
on MS Office Open when docs become available.
2006-02-25 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-input-textline.c, gsf/gsf-input-textline.h, gsf/gsf-libxml.c,
gsf/gsf-outfile-zip.c, gsf/gsf-output.c, gsf/gsf-utils.c: Documentation work.
2006-02-16 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_start_document): Plug leaks.
(gsf_xml_in_start_element): Fix key used for inserting into
state->ns_prefixes hash.
2006-01-21 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_parser_context_full): Fix a
hypothetical leak.
2006-02-15 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-zip.c (gsf_infile_zip_seek): Plug leak by
shutting down the old stream properly.
2006-02-15 Morten Welinder <welinder@rentec.com>
* gsf/gsf-infile-zip.c (gsf_infile_zip_seek):
2006-02-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Add "sv" to ALL_LINGUAS.
2006-01-20 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_parser_context_full) : set
xmlParserCtxt::replaceEntities. This fixes parsing problems with
attributes that contain &
2006-01-08 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-impl-utils.h (GSF_CLASS_FULL): Wrap (type==0) by G_UNLIKELY.
2006-01-06 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-clip-data.c (gsf_clip_data_finalize): Bug 325989 - Memory
leak in gsf_clip_data_finalize(). Based on a patch from Michal
Kowalczuk.
2006-01-02 Stepan Kasal <kasal@ucw.cz>
* doc/tmpl/*.sgml: Cleanup errors introduced by gtk-doc, #318666.
2005-12-24 Stepan Kasal <kasal@ucw.cz>
* doc/developer/blocksize.html: New file in a new subdir.
* doc/Makefile.am: Distribute it.
2005-12-07 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-iconv.c (iconv_flush): Fix handling of partial
input sequences. Fixes #323503.
2005-11-16 Tor Lillqvist <tml@novell.com>
* configure.in: Calculate CURRENT_MINUS_AGE as the libtool version
info's CURRENT - AGE and AC_SUBST it. This number gets used in the
DLL name, and thus needed in libgsf-zip.
* libgsf-zip.in: Use CURRENT_MINUS_AGE. DLLs are always in "bin"
nowadays. Build packages for gsf-gnome, too.
* gsf/gsf-utils.c: Use G_WIN32_DLLMAIN_FOR_DLL_NAME to get DLL
name, use g_win32_get_package_installation_directory() to
construct locale directory name at run-time on Win32.
* tests/*.c: Initialize GError pointers to NULL.
* thumbnailer/Makefile.am (install-data-local): Workaround for
MSYS feature that causes problems when running gconftool on Win32.
2005-11-07 Kjartan Maraas <kmaraas@gnome.org>
* gsf-win32/Makefile.am: Unbreak the build
* gsf/Makefile.am: Same here.
2005-11-07 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
* gsf/gsf-opendoc-utils.c: use /* FIXME FIXME FIXME Blah Blah */
instead of #warning for non-gcc compilers. (#306740)
2005-11-07 Ivan, Wong Yat Cheung <ivanwong@gnome.org>
* Makefile.am:
* configure.in:
* dumpdef.in: New
* gsf.mk: New
* gsf/Makefile.am:
* gsf-gnome/Makefile.am:
* gsf-win32/Makefile.am:
For Win32 Only: 1.) For every source directory of a library, pass all
the public headers (with all #include removed) to the C preprocessor.
2.) Pass the result from 1. to a perl script which extracts names of
all the public functions and variables. 3.) Concat all from step 2. to
produce a single .def file at the top directory of the library. No
--export-all-symbols anymore.
* gsf/.cvsignore:
* gsf-win32/.cvsignore:
Shutup CVS.
2005-11-07 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-11-06 Jody Goldberg <jody@gnome.org>
* Release 1.13.3
2005-11-06 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-timestamp.h: Dropped two superfluous declarations.
* doc/gsf-sections.txt: Mark internal symbols as subsection "Private"
so as not to be counted for coverage stats.
* doc/tmpl/*.sgml: Cascaded updates.
2005-11-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (push_child) : apply extension if one was supplied.
(lookup_child) : pass the extension to push_child.
(gsf_xml_in_start_element) : if none of the current node's children
match, check for extensions.
(gsf_xml_in_ext_free) : new.
(gsf_xml_in_end_element) : free any extensions.
(gsf_xml_in_push_state) : handle an extension that adds children to
the current node vs an extension to add a handler for an unknown node.
2005-11-05 Jody Goldberg <jody@gnome.org>
Patch from Luciano Miguel Wolf <luciano.wolf@indt.org.br>
* gsf/gsf-opendoc-utils.c (od_get_meta_prop) : fix typo.
2005-11-05 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/gsf-docs.sgml: Fleshed things out a bit.
2005-11-04 Christian Neumair <chris@gnome-de.org>
* libgsf-gnome-1.pc.in: Add required packages to Requires field.
2005-11-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
* README: Updated list archive URL. (Debian #336699)
2005-10-30 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-infile-ar.c, gsf/gsf-infile-msole.c, gsf/gsf-infile-zip.c,
sf/gsf-infile.c, gsf/gsf-input-textline.c, gsf/gsf-input.c,
gsf/gsf-libxml.c, gsf/gsf-outfile-msole.c, gsf/gsf-outfile-zip.c,
gsf/gsf-output-transaction.c, gsf/gsf-output.c,
gsf/gsf-structured-blob.c: Minor documentation work.
2005-10-29 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/gsf-docs.sgml: Add OpenDoc documentation.
* gsf/gsf-timestamp.c, gsf/gsf-utils.c, doc/tmpl/compression.sgml,
doc/tmpl/gsf-opendoc-utils.sgml, doc/tmpl/msole.sgml,
doc/tmpl/utils.sgml, doc/tmpl/zip.sgml: Add some basic documentation.
2005-10-26 Stepan Kasal <kasal@ucw.cz>
* tests/test-dump-msole.c: Improve the description line in the top
comment; remove an unused #include.
* tests/test-restore-msole.c: Likewise.
2005-10-17 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-libxml.c (lookup_child): `inst' is a local variable, not
a parameter.
* doc/gsf.types: Add #include <gsf/gsf-shared-memory.h> to fix a
warning.
* gsf/gsf-output-csv.c (gsf_output_csv_init): Initialize eol_len, too.
2005-10-10 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-10-10 Jody Goldberg <jody@gnome.org>
* Release 1.13.2
2005-10-10 Jody Goldberg <jody@gnome.org>
DOH!
* gsf/gsf-libxml.c (gsf_xml_in_end_element) : clear the content before
we pop the node.
(gsf_xml_in_doc_new) : restore the hack to handle bools in
has_content. There are still several callers that are passing bool.
(gsf_xml_in_doc_new) : Fix bogus typo that was crashing everything.
(gsf_xml_in_doc_new) : Init root_node
2005-10-10 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-10-10 Jody Goldberg <jody@gnome.org>
* Release 1.13.1
2005-10-10 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_end_element) : Clean up after
extensions. If the extensions was created by an unknown handler we
do not need to do anything special. If it was created by a start
handler then there are effectively two nodes for one parse state,
loop back to clear the original.
(gsf_xml_in_push_state) : finally get an api that will be able to do
what we'll need.
2005-10-04 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-10-04 Jody Goldberg <jody@gnome.org>
* Release 1.13.0
2005-10-03 Sven Herzberg <herzi@gnome-de.org>
Got okay from Morten for this:
* gsf-gnome/gsf-output-gnomevfs.c: create the file if necessary; fixes
bug 317766
2005-10-02 Jody Goldberg <jody@gnome.org>
From : Luciano Wolf (luciano.wolf@indt.org.br)
* gsf/gsf-opendoc-utils.{c,h} : new
* gsf/Makefile.am : Add gsf/gsf-opendoc-utils.{c,h}
2005-10-02 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (glade_enum_from_string) : imported from goffice.
(glade_flags_from_string) : ditto.
(gsf_xml_gvalue_from_str) : ditto.
(lookup_child) : break this out of.
(gsf_xml_in_start_element) : here.
Add a new flags to node 'share_children_with_parent' this is allows
all of a nodes siblings to work as mutual children. Eg for
<b><i><u> for rich text which need to nest arbitrarily.
(gsf_xml_in_doc_parse) : renamed from gsf_xml_in_parse.
Takes a GsfXMLInDoc rather than a GsfXMLIn. This is useful to keep
the lifecycle of the GsfXMLIn more under our control. We intialize
it not the caller. People no longer need to inherit/contain it, now
they store their state seperately.
2005-10-02 Jody Goldberg <jody@gnome.org>
* configure.in : bump the version to 1.13.0 due to the xml changes.
Add -Wno-pointer-sign to make the warnings stop.
* doc/gsf-sections.txt : update
* doc/gsf.types : update
2005-10-01 Stepan Kasal <kasal@ucw.cz>
* configure.in (VERSION_INFO): Fix the definition, add a comment.
2005-09-18 Stepan Kasal <kasal@ucw.cz>
* configure.in: Make sure that the Automake conditional
GCONF_SCHEMAS_INSTALL is always set.
* msvc/README: Don't mention packages which are not prerequisities
of libgsf.
2005-09-16 Stepan Kasal <kasal@ucw.cz>
* doc/gsf-sections.txt: Add gsf_input_stdio_new_FILE.
2005-09-06 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-09-06 Jody Goldberg <jody@gnome.org>
* Release 1.12.3
2005-08-24 Jody Goldberg <jody@gnome.org>
* configure.in : Make gconf optional
* Makefile.am : ditto.
2005-08-22 Jody Goldberg <jody@gnome.org>
* gsf-gnome/Makefile.am : Add -no-undefined on win32 [#314221]
2005-08-19 Tim Janik <timj@imendio.com>
* gsf/gsf-outfile-zip.c (zip_close_stream): call deflateEnd, free
stream and buffer space, so we are not holding on to large amounts
of memory until we're done with the current directory.
2005-08-17 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/gsf-office-thumbnailer.1: Added.
* doc/Makefile.am: Updated accordingly.
2005-08-16 Stepan Kasal <kasal@ucw.cz>
* configure.in: Update obsolete AC_TRY_* macros.
Before the tests for g_chmod and g_access, LIBGSF_LIBS should be
_prepended_ to LIBS, not appended; more specific libs have to be
listed first.
* gsf/gsf-impl-utils.h: Align tabs.
2005-08-13 Morten Welinder <terra@gnome.org>
* configure.in: Post release bump
2005-08-13 Morten Welinder <terra@gnome.org>
* Release 1.12.2
2005-08-11 Jean Brefort <jean.brefort@normalesup.org>
* gsf/gsf-impl-utils.h: made GSF_CLASS_FULL and GSF_DYNAMIC_CLASS_FULL
really full.
2005-08-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Changed tests for g_chmod and g_access: actually try
linking the test fragments and use the LIBS being constructed in those
attempts.
2005-08-09 Morten Welinder <terra@gnome.org>
* configure.in: Test for g_chmod and g_access.
* gsf/gsf-output-stdio.c (gsf_output_stdio_close): Use the right
errno. Fixes part of #312930.
(chmod_wrapper): New function to help Win32.
(access_wrapper): Renamed from gsf_access and simplified.
2005-08-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
* thumbnailer/main.c (show_error_and_exit): Mark this G_GNUC_NORETURN
as well.
2005-08-08 J.H.M. Dassen (Ray) <jdassen@debian.org>
* *: Updated the FSF's address.
2005-08-07 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-input-stdio.c (gsf_input_stdio_new_FILE): Don't forget
to set the keep_open flag.
* thumbnailer/main.c (show_error_string_and_exit): Add G_GNUC_NORETURN.
2005-08-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse) : be more careful
2005-08-02 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-stdio.c (gsf_input_stdio_new_FILE): New function
for symmetry. (This is not as useful as it might seem since the
file must be seekable.)
2005-08-02 Stepan Kasal <kasal@ucw.cz>
* Makefile.am (clean-local): That rule contained command
"rm -f intl/po2tbl.sed". But it seems the subdirectory intl/ is
no longer used.
(ACLOCAL_AMFLAGS): Remove again.
(EXTRA_DIST): Remove files added by gettextize and files distributed
by default.
(DISTCLEANFILES): Add the three intltool-* scripts.
* configure.in (GCONFTOOL): Determine by a procedure similar to
what is in gnumeric/configure.in.
* thumbnailer/Makefile.am (install-data-local): Fix the rule so that
we pass distcheck.
* acinclude.m4, acinclude.m4.am15: Partial cleanup of the comments;
in particular, don't speak as if Automake 1.5 were something new.
2005-07-11 Morten Welinder <terra@gnome.org>
* gsf/gsf-output.c (gsf_output_set_name_from_filename): Make this
work for NULL filename.
2005-07-30 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=310118
* gsf/gsf-msole-utils.c (msole_metadata_write_prop) : be more careful
about NULL strings. This fixes the crash on export, but there are
still some warnings on import that put us into an inconsistent
state.
(msole_prop_parse) : In the LPSTR case use the actual byte size not
the result of the conversion. If the encoding is off, we ended up
with the wrong size.
2005-07-24 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-msole-utilc.c (msole_prop_parse): Move some g_prints behind
a debug macro.
2005-07-19 Federico Mena Quintero <federico@ximian.com>
* thumbnailer/main.c (main): Oops, remove some leftover debugging code.
* configure.in: Generate thumbnailer/Makefile. Add a test for GConf.
* Makefile.am (SUBDIRS): Added the thumbnailer directory.
* gsf/gsf-utils.c (gsf_init): Call bindtextdomain() and
bind_textdomain_codeset().
* gsf/gsf-clip-data.c: Mark strings for translation.
* gsf/gsf-blob.c: Likewise.
* gsf/gsf-msole-utils.c: Mark strings in GErrors for translation.
* gsf/Makefile.am (AM_CPPFLAGS): Add the locale directory.
2005-07-19 gettextize <bug-gnu-gettext@gnu.org>
* Makefile.am (SUBDIRS): Add po.
(ACLOCAL_AMFLAGS): New variable.
(EXTRA_DIST): Add config.rpath, m4/ChangeLog.
* configure.in (AC_CONFIG_FILES): Add po/Makefile.in.
2005-07-19 Federico Mena Quintero <federico@ximian.com>
* configure.in: Pull in intltool and gettext.
* thumbnailer/gsf-office-thumbnailer.schemas.in: New file with the
schemas for the thumbnailer.
2005-07-18 Federico Mena Quintero <federico@ximian.com>
* thumbnailer/main.c: New file with a very simple GNOME
thumbnailer for MS Office files. This will grow to something more
sophisticated in the future.
* thumbnailer/Makefile.am: New file.
I'll add this subdir to the build tomorrow, when I get the GConf
bits right for configure.in.
2005-07-18 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-libxml.c (gsf_xml_in_doc_free): In the description, remove
the reference to the nonexistent gsf_xml_in_doc_prep.
2005-07-07 Ivan, Wong Yat Cheung <email@ivanwong.info>
* msvc/.cvsignore:
* msvc/README:
* msvc/config.dsp:
* msvc/install.pl:
* msvc/autom4te.hack: New
Include a hacked version autoheader that doesn't need a posix
environment. The whole MSVC building process is now posix-
independent.
2005-07-06 Federico Mena Quintero <federico@ximian.com>
* gsf/gsf-blob.[ch]: New files with a GsfBlob object, used to hold
generic binary data.
* gsf/gsf-clip-data.[ch]: New files with a GsfClipData object,
used to hold the VT_CF property data.
* gsf/gsf-msole-utils.c (parse_vt_cf): New function; creates a
GsfClipData for the resulting GValue.
(msole_prop_parse): Handle the VT_CF property.
* gsf/gsf-utils.h (GSF_ERROR): Add a generic error quark.
(GsfError): Add an enum with generic error values; so far we only
have GSF_ERROR_OUT_OF_MEMORY and GSF_ERROR_INVALID_DATA.
* gsf/gsf-utils.c (gsf_error_quark): Implement.
* gsf/Makefile.am: Added gsf-blob.[ch] and gsf-clip-data.[ch].
* doc/gsf-sections.txt: Added sections for GsfBlob and
GsfClipData. Added the GsfError stuff to the "utils" section.
* doc/gsf-docs.sgml: Add the GsfBlob and GsfClipData sections.
Renamed the old "GsfBlob" entity to "GsfStructuredBlob", to match
the object to which it refers.
* doc/tmpl/utils.sgml: Document the GError bits.
* doc/tmpl/gsf-clip-data.sgml: New file.
* doc/tmpl/gsf-blob.sgml: New file.
2005-07-05 Jon K Hellan <hellan@acm.org>
* gsf/gsf-msole-utils.c (msole_metadata_write_prop): Fix
VT_FILETIME export.
2005-07-01 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-memory.c (gsf_output_memory_vprintf): Don't use a
va_list twice as an argument. (The standard does not allow that.)
Fixes i86_64 problems and was found by Jean.
* gsf/gsf-utils.c (gsf_mem_dump_full): Kill a warning.
2005-06-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_iconv_get_codepage_string_list) :
Add 0x8001 as a synonym for 1252 as per the OOo docs. I wish there
was something more normative than that.
* gsf/gsf-docprop-vector.c : remove custom GTypeValueTable it was
wrong and unnecessary. This fixes the leak of the GValueArray
2005-06-30 Ivan, Wong Yat Cheung <email@ivanwong.info>
* win: Rename to msvc
* msvc: Add MSVC build files, see msvc/README for
details.
2005-06-23 Ivan, Wong Yat Cheung <email@ivanwong.info>
* configure.in: Check for the existence of S_ISREG,
if it is not defined (e.g. MS's PSDK), do
it ourself.
2005-06-21 Ivan, Wong Yat Cheung <email@ivanwong.info>
* gsf/gsf-input-stdio.c:
* gsf/gsf-libxml.c:
* gsf/gsf-msole-utils.c:
* gsf/gsf-outfile-msole.c:
* gsf/gsf-outfile-stdio.c:
* gsf/gsf-output-stdio.c:
* gsf/gsf-timestamp.c:
* gsf/gsf-utils.h
* gsf-win32/gsf-input-win32.c:
* gsf-win32/gsf-output-win32.c: Remove all #warning. That is
a gcc only directive. Use /* FIXME FIXME FIXME Blah Blah */ instead.
Remove all _MSC_VER, which are either unnecessary or not belong
there.
2005-06-13 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse): Use g_value_set_uint64
and g_value_set_int64 where appropriate.
(msole_prop_cmp): Handle offsets larger than int.
2005-06-12 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-06-12 Jody Goldberg <jody@gnome.org>
* Release 1.12.1
2005-06-12 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_lid_to_codepage) : codepages are
signed.
(gsf_msole_iconv_win_codepage) : ditto.
(gsf_msole_iconv_open_codepages_for_export) : ditto.
(gsf_msole_iconv_open_codepage_for_export) : ditto.
(gsf_msole_iconv_get_codepage_string_list) : ditto.
-535(uint16) == 65001
2005-06-12 Jody Goldberg <jody@gnome.org>
* gsf/gsf-impl-utils.h (GSF_DYNAMIC_CLASS_FULL) : remove useless
trailing backslash that was confusing gtk-doc
* gsf/gsf-output-stdio.c (gsf_output_stdio_new_valist) : new.
(gsf_output_stdio_new_full) Use it here.
(gsf_output_stdio_new) : And use that here.
* gsf/gsf-outfile-stdio.c (gsf_output_stdio_new_valist) : new.
(gsf_outfile_stdio_new_full) Use it here.
(gsf_outfile_stdio_new) : And use that here.
2005-06-10 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_enum): New function.
2005-06-08 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (gsf_output_stdio_new): Test
directory-ness of the right mode.
2005-06-04 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-output.h (gsf_output_vprintf): Add the function attribute
G_GNUC_PRINTF (2, 0). Add the same to various static *vprintf
funtions in other files.
* gsf/gsf-output-csv.c (gsf_output_cvs_close): The parameter is
unused, mark it as such.
* .cvsignore: Add gtk-doc.make; remove gsf-config; replace stamp-h
and stamp-* by stamp-h*.
2005-06-03 Jody Goldberg <jody@gnome.org>
* gsf/gsf-utils.h (gsf_init_dynamic) : new hook. Unimplemented yet.
* gsf/gsf-impl-utils.h (prefix) : use a cleaner pattern for the
dynamic type/interface declarations.
2005-06-02 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_vt_name) : suppress warning
(msole_prop_parse) : assign the right type.
2005-06-02 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-outfile-zip.c (zip_flush): Check for Z_BUF_ERROR case.
This is the cause of AbiWord bug #7652
2005-06-02 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_float): Use "C" locale
conventions. Fix ambiguities in docs.
2005-06-01 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-gzip.c (gsf_input_gzip_read): Only trigger the
truncated-file check after we have added a single NUL byte.
(check_header): Avoid overflows.
2005-05-31 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-gzip.c (gsf_input_gzip_read) : get upset when an input
file is truncated.
(check_header) : Add a heuristic to warn about files with > 1000:1
compression ratios. It is crude but likely to catch the worst
truncated files were we're using data rather than a trailer by
accident.
2005-05-31 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_parse) : add some protection.
2005-05-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_metadata_write_section) : warning
suppression.
(msole_prop_parse) : it seems GValue needs to be a G_OBJECT in order
for it to be unrefed.
2005-05-28 Jody Goldberg <jody@gnome.org>
* gsf/gsf-docprop-vector.c (gsf_docprop_vector_finalize) : patch leak.
2005-05-25 Morten Welinder <terra@gnome.org>
* configure.in (CFLAGS): Don't use -Wcrazy.
2005-05-15 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Enable a number of additional warnings (when available)
for which the current code base is already virtually clean.
Ensure at link time that the shared objects, contain complete
dependency information for all symbols they use from elsewhere.
2005-05-10 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2005-05-09 Jody Goldberg <jody@gnome.org>
* Release 1.12.0
2005-05-08 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (ole_bytes_left_in_block) : As per Stuart
Cunningham from the AAF group the header is always bb.size.
(gsf_outfile_msole_new_full) : ditto. pad the header with zeros.
2005-05-08 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_start_element) : Do not check for a
namespace we have not seen yet. Fixes crash when reading OOo 2.0
with the dtd from 1.0
2005-05-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_check_ns) : Add some safety.
2005-05-04 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_vt_name) : handle sparse entries.
2005-05-03 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : complete rewrite.
Just write the properties then seek back to fill in the offsets
rather than measuring then writing.
(cb_count_props) : new. collect builtin vs user defined props
from the hash.
(msole_metadata_write_section) : new. write the props and collect the
offsets and ids. Handle linked props, vectors and variant vectors.
(msole_metadata_write_prop) : Adds padding to the simple types.
(gvalue_to_msole_vt) : map from a GValue to a variant type. Be smart
about handling boxed types, and check vectors to see if they are
fixed type vs variant. Use the table of builtin types if possible
to deal with ambiguities.
(cb_write_dict) : new.
(msole_vtname) : new util to get debug name.
2005-04-27 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c (gsf_property_settings_collect,
gsf_property_settings_collect_valist, gsf_property_settings_free):
New functions.
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_new): Move guts into
gsf_outfile_zip_constructor.
(gsf_outfile_zip_constructor): New function.
(gsf_outfile_zip_class_init): Link in gsf_outfile_zip_constructor.
Add entry-name and sink properties. In the process separate
filenames from gsf_output_name which is UTF-8 encoded.
(stream_name_write_to_buf): Greatly simplify using GString.
* gsf/gsf-infile-zip.c: New property "source". Install a proxy
layer between the zip file and the source so we don't dup
GsfInputStdio or GsfInputGnomeVFS objects (which is expensive and
subject to lots of problems).
2005-04-26 Morten Welinder <terra@gnome.org>
* tests/test-cp-zip.c (clone): Be a bit verbose. Make the copy
use the compression levels of the source.
* gsf/gsf-outfile-zip.c: Add construct-only compression-level
property.
(gsf_outfile_zip_set_compression_method): Make this an empty stub
and deprecate.
* gsf/gsf-zip-utils.c (gsf_vdir_add_child): Do not sort because
doing so breaks copying of OOo files.
* gsf/gsf-infile-zip.c: Add readable compression-level property.
(vdir_child_by_index): simplify. (This is really use
g_slist_nth_data, modulo pointer types.)
2005-04-26 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (cb_measure_props) : handle custom props for
ints and uints.
2005-04-26 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_gsf_name_to_prop) : fix my silliness
(check_variant) : new.
(cb_measure_props) : renamed from add_props. Signature changed to
match the new foreach semantics. Some initial work on handling
variant vectors vs single type vectors. Removed nasty kludge for
DocumentParts and HeadingPairs.
* gsf/gsf-docprop-vector.c (gsf_value_get_docprop_vector) : Use
g_value_get_object and clarify the docs.
(gsf_value_set_docprop_vector) : delete
(VAL_IS_GSF_DOCPROP_VECTOR) : new.
(IS_GSF_DOCPROP_VECTOR) : adjust to use the std GObject semantics
2005-04-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-doc-meta-data.h (gsf_doc_prop_new) : new
(gsf_doc_prop_free) : new
(gsf_doc_prop_swap_val) : new
* gsf/gsf-msole-utils.c : disable the debug spew
2005-04-22 Stepan Kasal <kasal@ucw.cz>
* configure.in: Use m4 macros for version numbering.
2005-04-16 Jody Goldberg <jody@gnome.org>
* tests/test-msole1.c : update for the new ms-ole property import api
* gsf/gsf-msole-utils.c : disable debug spew
(msole_prop_id_to_gsf) : flag links
(msole_prop_read) : store the property directly.
(msole_prop_store) : delete.
2005-04-16 Jody Goldberg <jody@gnome.org>
* gsf/gsf-docprop-vector.c (gsf_value_get_docprop_varray) : Add some
safety.
2005-04-16 Jody Goldberg <jody@gnome.org>
* gsf/gsf-doc-meta-data.[ch] : Major interface changes to make the
hash like behavior perfectly clear, and to support links.
2005-04-16 Jody Goldberg <jody@gnome.org>
* doc/gsf-sections.txt : update
2005-04-12 Morten Welinder <terra@gnome.org>
* configure.in: revert last change.
2005-04-12 Stepan Kasal <kasal@ucw.cz>
* configure.in: Small changes in the pygtk check, though it's
currently not in use.
2005-04-11 Jody Goldberg <jody@gnome.org>
* tests/test-msole1.c: Make the test program work.
2005-04-10 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : replace incessant
if (success) with a 'goto err' and prune more non-C89 var decls
2005-04-09 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile.h : remove G_GNUC_NULL_TERMINATED for now.
we do not want to require glib-2.7
2005-04-09 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-impl.h (new_child) : change the signature to pass in
var_args. Changed all callers.
* gsf/gsf-outfile.c (gsf_outfile_new_child_full) : new.
(gsf_outfile_new_child) : convert into a wrapper to
gsf_outfile_new_child_full.
* gsf/gsf-input.c (gsf_input_error_id) : renamed from gsf_input_error
and a deprecated wrapper with the old name.
* gsf/gsf-docprop-vector.c (gsf_value_get_docprop_varray) : new.
* gsf/gsf-infile-msvba.c (vba_project_read) : add a few new
signatures.
2005-04-09 Jody Goldberg <jody@gnome.org>
From Manuel Mausz <Manuel.Mausz@fabasoft.com>
* gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : initial
implementation.
2005-04-07 Jody Goldberg <jody@gnome.org>
* configure.in : bump the library version to indicate api change
2005-04-04 Stepan Kasal <kasal@ucw.cz>
* configure.in (LIBGSF_MODULES): This macro was replaced by...
(libgsf_reqs, libgsf_gnome_reqs): ... these two shell variables.
PKG_CHECK_MODULES from pkconfig-0.16.0 double quotes its arguments,
which is an error; using shell variables is a handy workaround.
* Makefile.am: Clean up.
* test/Makefile.am (LDADD): Use this, instead of the per-target
variables.
2005-04-04 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-csv.c (gsf_output_csv_write_field): Fix auto
quoting.
* gsf/gsf-output-iconv.h: Make GsfOutputIconvClass public.
* gsf/gsf-output-impl.h: Make GsfOutputClass public.
* gsf/gsf-output-csv.h: Make GsfOutputCsvClass public.
2005-04-03 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Fixed the GNOME support check: "LIBGSF_MODULES" needed
to be expanded in the PKG_CHECK_MODULES.
2005-04-01 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-iconv.c: New file.
* gsf/gsf-output-csv.c: New file.
* gsf/gsf-output.c (gsf_output_dispose): Silently close if needed.
2005-04-01 Stepan Kasal <kasal@ucw.cz>
s/INCLUDES/AM_CPPFLAGS/ "automake -Wall" has told me this.
* configure.in: More sophisticated check for zlib, an improved
version of the check in gnumeric (to be removed soon from there),
which in turn was inspired by libxml2's configure.in.
Require Autoconf 2.54 and other cosmetic changes.
* autogen.sh: Require Autoconf 2.54 and other cosmetic changes.
2005-03-31 Morten Welinder <terra@gnome.org>
* gsf/gsf-output.c (gsf_output_set_error): Make public.
* */*.c: Don't test for NULL before g_free.
* gsf/gsf-utils.h (GSF_LE_GET_GINT64, GSF_LE_SET_GINT64,
GSF_LE_SET_GUINT64): New macros for completeness.
2005-03-29 Morten Welinder <terra@gnome.org>
* gsf/gsf-impl-utils.h (GSF_PARAM_STATIC): Define suitably.
* gsf/*.c: Use GSF_PARAM_STATIC for properties.
* configure.in: Don't check for readline and lstat. Do check for
mode_t.
* gsf/gsf-output-stdio.c (gsf_output_stdio_new): Again use mode_t
for saved umask.
2005-03-28 Morten Welinder <terra@gnome.org>
* */*.c: Use canonical property names.
2005-03-25 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (gsf_output_stdio_close): In case of
error, simply unlink the temporary file and leave the target file
alone.
* gsf/gsf-output-gzip.c (gzip_output_block): If we cannot write to
the sink, set an error for ourself.
(gzip_flush): If we get a compression failure, set an error for
ourself.
* gsf/gsf-input-gzip.c (gsf_input_gzip_class_init): Install
set_property, get_property, and constructor methods.
(check_header): Allow skipping the header. Allow getting
uncompressed size from construction property.
(gsf_input_gzip_read): Allow having to trailer.
(gsf_input_gzip_dup): Cleanly construct the new object.
* gsf/gsf-output-gzip.c (gsf_output_gzip_class_init): Rename
"container" property to "raw" with opposite semantics.
2005-03-25 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-gzip.c (gsf_output_gzip_set_property): Handle
NULL sink better.
(gsf_output_gzip_new): Don't bother closing the output on error.
* gsf/gsf-output.c (gsf_output_dispose): Renamed from _finalize.
Don't complain when a stream with an error is not closed -- just
silently close it.
(gsf_output_class_init): Hook up for _dispose instead of
_finalize.
* gsf/gsf-output-gzip.c (gsf_output_gzip_close): Do nothing for a
stream with an error.
2005-03-25 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-gzip.c (gsf_output_gzip_class_init): Install
set_property, get_property, and constructor methods.
(gsf_output_gzip_constructor): Allow skipping the gzip header.
(gsf_output_gzip_close): Allow skipping the tail.
2005-03-24 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (gsf_access): Renamed from
file_is_writable. Make it a full access wrapper. Caller changed.
2005-03-23 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c (gsf_filename_to_utf8): Make this sane (which it
never was). We no longer use this, but keep it around.
(gsf_extension_pointer): Fix this for Win32.
2005-03-23 Ivan, Wong Yat Cheung <email@ivanwong.info>
* gsf/gsf-msole-utils.c: Add new function
gsf_msole_iconv_get_codepage_string_list() which returns all
possible names of a codepage given a codepage number. This helps
gsf_msole_iconv_open_codepage_for_(im|ex)port().
* gsf-win32/Makefile.am: some more minor changes so that
libgsf_win32_1_la can be built as dll.
2005-03-23 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (follow_symlinks): Handle lack of ELOOP.
* gsf/gsf-input-memory.c (gsf_input_mmap_new): g_open has a
mandatory mode arg that open does not.
2005-03-22 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (close_tag_if_neccessary): New function.
(gsf_xml_out_add_cstr_unchecked, gsf_xml_out_add_cstr): Use
close_tag_if_neccessary. Patch from #167166.
2005-03-22 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (gsf_output_stdio_new): Conditionalize
owner/group stuff on HAVE_CHOWN. Use file_is_writable.
(file_is_writable): New function.
* gsf/gsf-input-memory.c (gsf_input_mmap_new): Use f_open, not
open.
* gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new): Simplify using
g_mkdir.
* configure.in: Require glib 2.6 for g_filename_display_name.
* gsf/gsf-output-stdio.c (rename_wrapper): Use g_rename and
g_unlink.
(gsf_output_stdio_new): Use g_stat. Fix error message.
* gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Don't call perror.
(struct GsfInputStdio): Add filename member.
(gsf_input_stdio_finalize): Free filename member.
(gsf_input_stdio_dup): Use filename member.
(gsf_input_stdio_new): Fix error messages; initialize filename
member; use g_fopen to open file.
* gsf/gsf-docprop-vector.c: Fix includes.
* gsf/gsf-infile-stdio.c (gsf_infile_stdio_new): Simply using
glib's GDir stuff. (This should fix Win32 in the process.)
2005-03-05 Jody Goldberg <jody@gnome.org>
Patch from Frank Chiulli
* gsf/Makefile.am : Add gsf-docprop-vector
* gsf/gsf-docprop-vector.{c,h} : new files to add vector support
* tests/test-msole1.c (print_property) : support for vectors
* gsf/gsf-msole-utils.c (msole_prop_parse) : ditto
2005-02-02 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output-gnomevfs.c: A bit more robustness and documentation
for bug 159442.
2005-01-16 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output-gnomevfs.c: This should fix bug 159442 by truncating
newly-created files whenever possible WHILE preserving file permissions.
2004-09-25 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-output-stdio.c: Use g_file_read_link() - (bug 149827)
2004-12-02 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-input-memory.c: Add mmap support on win32 (bug #160294)
* gsf/gsf-shared-memory.c: Ditto
2004-12-06 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2004-12-06 Jody Goldberg <jody@gnome.org>
* Release 1.11.1
2004-12-05 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (gsf_output_stdio_close): Flush file if
we don't close it.
2004-12-01 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (gsf_output_stdio_new): Make sure new
files end us with as lose permissions as the umask says.
[#159331]
(rename_wrapper): New function to hide the fact that Win32's
rename does not unlink the target file if it exists. [#160108]
2004-11-28 Jody Goldberg <jody@gnome.org>
* configure.in : Post release bump
2004-11-28 Jody Goldberg <jody@gnome.org>
* Release 1.11.0
2004-11-28 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse) : NULL unhandled types
2004-11-25 Sven Herzberg <herzi@gnome-de.org>
* gsf-gnome/gsf-output-gnomevfs.c: (gsf_output_gnomevfs_new_uri):
truncate the output file to length 0 when opening (fix #159442)
2004-11-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-output-stdio.c (gsf_output_stdio_close) : add a hook to
accept existing FILE*
(gsf_output_stdio_new_FILE) : new.
2004-11-19 Veerapuram Varadhan <vvaradhan@novell.com>
* Add gsf/gsf-meta-names.h
* gsf/gsf-doc-meta-data.[ch] (gsf_get_prop_val,
gsf_get_prop_val_str): new
(gsf_doc_meta_data_get_prop) : return GsfDocProp instead of
GsfDocMetaData. Caller should release the return value.
* gsf/Makefile.am : Add gsf-meta-names.h to the list of headers.
2004-11-16 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_start_element) : Check the unknown
handler if we come across something that has not been registered
yet.
(gsf_xml_in_doc_set_unknown_handler) : new.
(gsf_xml_in_doc_new) : split part of this out into
(gsf_xml_in_doc_extend) : here, so that we can add nodes to a
description later.
2004-11-12 Morten Welinder <terra@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_cstr): Escape 1..31 when used
in attributes.
2004-11-02 Jody Goldberg <jody@gnome.org>
* tests/test-msole1.c (test) : fix leak and use
gsf_msole_metadata_read_real.
* gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : store them in
GsfDocProp
(gsf_msole_metadata_read_real) : renamed from gsf_msole_metadata_read
(gsf_msole_metadata_read) : a quick stub to avoid creating a leak in
existing calls to this routine.
2004-11-02 Jody Goldberg <jody@gnome.org>
From Frank
* gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : store the
properties
* tests/test-msole1.c (test) : dump the properties
* gsf/Makefile.am : Add gsf-doc-meta-data.c to the build
* gsf/gsf-doc-meta-data.c (gsf_doc_meta_data_set_prop) : init
the GValue before we assign.
2004-09-20 Morten Welinder <terra@gnome.org>
* gsf/*.c: Remove useless casts of 0 to gsf_off_t in parameters.
* gsf/gsf-output.c (gsf_output_set_name_from_filename): New function.
* gsf/gsf-output-stdio.c (gsf_output_stdio_new): Use
gsf_output_set_name_from_filename.
* gsf/gsf-outfile-stdio.c (gsf_outfile_stdio_new): Use
gsf_output_set_name_from_filename.
* gsf/gsf-input.c (gsf_input_set_name_from_filename): New function.
* gsf/gsf-input-stdio.c (gsf_input_stdio_new): Use
gsf_input_set_name_from_filename.
* gsf/gsf-infile-stdio.c (gsf_infile_stdio_new): Use
gsf_input_set_name_from_filename.
* gsf/gsf-infile-zip.c (zip_update_stream_in): Add seek error check.
(gsf_infile_zip_read): Ditto.
2004-09-19 Dom Lachowicz <cinamod@hotmail.com>
* configure.in: Morten's VFS local copy requires VFS >= 2.2. Upgrade configure check.
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri): Follow symlinks similarly to the STDIO input
* gsf/gsf-input-stdio.c (gsf_input_stdio_new): Convert file name to UTF8
* gsf/gsf-output-stdio.c (gsf_output_stdio_new): Convert file name to UTF8
* BUGS: remove above
2004-09-17 Morten Welinder <terra@gnome.org>
* gsf/gsf-infile-zip.c (zip_find_trailer): Fix gsf_input_seek
check.
* gsf/gsf-input.c: Doc fixes, notably reversing the sense of
gsf_input_seek_emulate's return value.
2004-09-17 Morten Welinder <terra@gnome.org>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri):
Force local copy for small (<256KB) files that are not local.
* gsf/gsf-infile-msole.c (gsf_infile_msole_new): Add a proxy layer
so we don't have to dup files or net connections.
* gsf/gsf-input.c (gsf_input_dup): Provide error messages.
* gsf/gsf-input-proxy.c (gsf_input_proxy_read): gsf_input_read
updates our position so we should not.
* gsf/gsf-input-proxy.[ch]: New file.
2004-09-16 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-textline.c (gsf_input_textline_dup): Set size.
* gsf/gsf-input-memory.c (gsf_input_memory_dup): Set size.
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Ugly
work-around for gnome-vfs bug.
* gsf/gsf-input.c (gsf_input_dup): Check size and seek return
value.
* gsf/gsf-infile.c (gsf_infile_child_by_name): Protect against
NULL input name.
(gsf_infile_child_by_index): Ditto.
* gsf/gsf-infile-msole.c (gsf_infile_msole_new_child): Handle
failure to dup.
(ole_info_get_sb_file): Handle failure to dup.
(gsf_infile_msole_new_child): Handle failure from
ole_info_get_sb_file.
2004-09-15 Dom Lachowicz <cinamod@hotmail.com>
* gsf-win32/gsf-input-win32.c: Create more meaningful error messages
from HRESULTs.
* gsf-win32/gsf-output-win32.c: Ditto. Add error reporting.
2004-08-27 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_seek): Use G_GNUC_UNUSED.
* gsf/gsf-output-gzip.c (gsf_output_gzip_seek): Likewise.
* gsf/gsf-structured-blob.c (blob_dup): Likewise.
* gsf/gsf-input-textline.c (gsf_input_textline_dup): Likewise.
* gsf/gsf-input-memory.c (gsf_input_memory_dup): Likewise.
(gsf_input_mmap_new): Remove useless #warning.
2004-08-26 Morten Welinder <terra@gnome.org>
* gsf/gsf-shared-memory.c (gsf_shared_memory_finalize): Don't
check size overflow here.
(gsf_shared_memory_mmapped_new): Check it here. Return NULL if we
don't have mmap.
* gsf/gsf-timestamp.c (gsf_value_set_timestamp): Renamed from
g_value_set_timestamp.
2004-08-25 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root): Be careful
with empty files (fixes bug #150923).
2004-08-25 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c (gsf_base64_encode_step): Avoid potential
rounding error.
* gsf/gsf-input-bzip.c (gsf_input_memory_new_from_bzip): Kill
pointless #warning.
2004-08-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_add_cstr) : Add some libxml compat
behavior and ignore NULLs
(gsf_xml_out_add_cstr_unchecked) : ditto
2004-08-17 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-utils.c (BASE64_LINE_LEN): New constant to determine
the line length, my mbox indicates that 76 is commonly used.
(gsf_base64_encode_simple): Use it.
(gsf_base64_encode_step): Use it too; remember that `already'
holds line length / 4.
(gsf_base64_encode_close): Don't add '\n' if not necessary.
2004-07-29 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_new_full): One more sanity
check, bb.size has to be at least DIRENT_SIZE.
(gsf_outfile_msole_close_root): For non-root dirs, don't set
FIRSTBLOCK to DIRENT_MAGIC_END, it is BAT_MAGIC_END_OF_CHAIN; though
both are -1. Explanation: BAT_MAGIC_END_OF_CHAIN is of type ``block
number'' while DIRENT_MAGIC_END is of type ``dirent number''.
2004-08-20 Jody Goldberg <jody@gnome.org>
* configure.in : post release version bump
2004-08-20 Jody Goldberg <jody@gnome.org>
* Release 1.10.1
2004-08-17 Jon K Hellan <hellan@acm.org>
* gsf/gsf-utils.c (gsf_base64_decode_simple): Revert base64
initialization change.
2004-08-16 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c (gsf_base64_encode_simple): Request line
breaking.
2004-08-13 Jon K Hellan <hellan@acm.org>
* gsf/gsf-utils.c (gsf_base64_decode_simple): Initialize during
first use.
2004-08-10 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-textline.c (gsf_input_textline_utf8_gets): Fix
off-by-one in buffer length check.
2004-08-08 Jon K Hellan <hellan@acm.org>
* gsf/gsf-output-stdio.c (follow_symlinks, gsf_output_stdio_new):
Use g_error_new_literal, not g_error_new on strings which we do
not control.
2004-07-30 Christopher James Lahey <clahey@ximian.com>
* gsf/gsf-input.c (gsf_input_class_init), gsf/gsf-output.c
(gsf_output_class_init): Use correct types for properties here.
2004-07-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_class_init) : Init the parent_class
here.
(gsf_xml_out_init) : not here.
2004-07-27 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_new_full):
Fix a race condition with a static buffer.
Write correct sb.shift to the header, even if it differs
from the default.
2004-07-29 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (ole_bytes_left_in_block) : sigh.
Pull my head out of my rearend. a one line function with two
errors. I really shouldn't code when tired.
(ole_pad_zero) : remove residual parm rename ole_ from bb_
(ole_pad_bat_unused) : add a residual parm.
(gsf_outfile_msole_close_root) : pad metabat with BAT_UNUSED
2004-07-29 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-memory.c (gsf_input_mmap_new): Use NULL, not 0 for
pointer.
(gsf_input_memory_seek): Use G_GNUC_UNUSED instead of
void-casting.
* gsf/gsf-libxml.c (gsfXMLInParser): Ditto.
(gsf_xml_in_get_entity, gsf_xml_in_warning, gsf_xml_in_error,
gsf_xml_in_fatal_error): Use G_GNUC_UNUSED instead of
void-casting.
(gsf_xml_out_add_color): Make buffer size overflow safe.
* gsf/gsf-utils.c: Always #define G_ARMFLOAT_ENDIAN.
2004-07-28 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root):
Check for overflow of the size field of a regular file entry.
2004-07-28 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (bb_pad_zero) : add a residual param to not
fill the entire block if desired and clarify that the current block
is cur_size - HEADER not block_size.
(gsf_outfile_msole_close_root) : Clarify the metabat writing logic a
bit and just in case add a CHAIN_END to the last incomplete metabat
(ole_bytes_left_in_block) : similar to Kasal's suggestion without the
-1 % size + 1
(bb_pad_zero) : use it here to make this safe to use when not at the
end of the file.
(ole_pad_bat_unused) : and here to fix the mystery corruption when XL
reads the file.
2004-07-27 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close_root) : the last
xbat does not require a forwarding link
2004-07-27 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-outfile-msole.c (metabat_size): Nuke; doesn't have to
be an instance variable, it can be local ...
(gsf_outfile_msole_close_root): ... here.
(gsf_outfile_msole_set_block_shift): Don't set metabat_size.
2004-07-26 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (OLE_DEFAULT_METABAT_SIZE): delete
(gsf_outfile_msole_close_root) : pull out of
(gsf_outfile_msole_close) : here as a cleanup gesture.
Per : Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_set_block_shift) : Use
BAT_INDEX_SIZE, not hardwired shift of 2.
(gsf_outfile_msole_close): Use the current sb.shift, not
OLE_DEFAULT_SB_SHIFT.
2004-07-23 Stepan Kasal <kasal@ucw.cz>
Replace various instances of local parent_class variables by
a static ones, initialized by class_init.
* gsf/gsf-*.c: (20 files touched)
* gsf/gsf-output-transaction.c: A general cleanup.
2004-07-21 Stepan Kasal <kasal@ucw.cz>
The gsf_ouput_printf method didn't correctly update cur_offset.
The implementations of vprintf virtual method shouldn't touch
cur_offset but they should return the number of bytes written;
the dispatcher updates cur_offset accordingly.
* gsf/gsf-output-impl.h (Vprintf): The virtual private method now
returns number of bytes printed.
* gsf/gsf-output.c (gsf_output_vprintf): Renamed to ...
(gsf_output_ireal_vprintf): ... this.
(gsf_output_printf): Collect the va_list and call ...
(gsf_output_vprintf): ... this new function, which dispatches
the Vprintf virtual method and takes care of updating cur_offset
and cur_size, via ...
(gsf_output_inc_cur_offset): ... a new static function, extracted
from ...
(gsf_output_write): ... there.
(gsf_output_real_vprintf): In this fallback code, don't call
gsf_output_write, but only dispatch to the Write virual method,
so that gsf_output_inc_cur_offset is not called twice.
* gsf/gsf-output.h (gsf_output_vprintf): New public method.
* gsf/gsf-output-stdio.c (gsf_output_stdio_vprintf): Adapt.
* gsf/gsf-output-transaction.c (gsf_output_trans_vprintf): Likewise.
* gsf/gsf-outfile-msole.c (gsf_output_class): New static variable,
which is set to point to GsfOutput class structure.
(gsf_outfile_msole_vprintf): Adapt. If it's a MSOLE_BIG_FILE,
call vprintf method of the underlaying file, else fall back to
gsf_output_class->Vprintf.
* gsf/gsf-output-memory.c (parent_class): New static variable.
(gsf_output_memory_vprintf): Use it too. Adapt to the new prototype.
2004-07-21 Stepan Kasal <kasal@ucw.cz>
Make the two fseek() wrappers more consistent.
* gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Fix the overflow
checking.
* gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Set errno=0
before calling fseek().
2004-07-21 Stepan Kasal <kasal@ucw.cz>
Gnomish autogen.sh uses ACLOCAL_FLAGS, if some of the macros are
in nonstandard places. If you touch configure.in then, aclocal.m4
is regenerated, but without ACLOCAL_FLAGS. This change ensures
that ACLOCAL_FLAGS is propagated to the Makefile.
* configure.in: AC_SUBST(ACLOCAL_FLAGS)
* Makefile.am: ACLOCAL_AMFLAGS = @ACLOCAL_FLAGS@
2004-07-20 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-output-stdio.c: Check for overflow
2004-07-09 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-infile-zip.c (zip_find_trailer): Remove the
"overflow check"; it can never catch anything.
* gsf/gsf-output-memory.c (MAX_STEP): Parenthesize.
(gsf_output_memory_expand): Fix the overflow checking.
(gsf_output_memory_seek): make use of G_GNUC_UNUSED, instead of void
reference.
2004-07-12 Stepan Kasal <kasal@ucw.cz>
* gsf/gsf-output-iochannel.c (GET_OUTPUT_CLASS): Remove unused macro.
* gsf/gsf-structured-blob.c (GET_CLASS): Likewise.
2004-06-15 Jody Goldberg <jody@gnome.org>
* gsf/gsf-utils.c (gsf_input_dump) : flush the stream when we're just
using stdio.
2004-07-04 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: recheck all PKG_CHECK_MODULES for libgsf for
libgsf-gnome as well, so as not to trip on unresolved symbols with a
-Wl,-z,defs build.
2004-07-03 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2004-07-03 Jody Goldberg <jody@gnome.org>
* Release 1.10.0
2004-07-01 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_vprintf) : premature
optimization is the root of all evil. We can not directly write
small block data because it will be in the wrong place and will miss
the transition to large block. This is not a hugely common case and
does not need such special attention.
2004-06-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-output-stdio.c (gsf_output_stdio_seek) : conditionalize the
use of fseeko.
* gsf/gsf-input-stdio.c (gsf_input_stdio_seek) : ditto.
* gsf/gsf-outfile-msole.c : Extend Stuart's work to use the internal
block sizes rather than keeping them global.
2004-06-25 Jody Goldberg <jody@gnome.org>
For : Stuart Cunningham <stuartc@rd.bbc.co.uk>
* gsf/gsf-output-stdio.c (gsf_output_stdio_seek) : use fseeko
* gsf/gsf-input-stdio.c (gsf_input_stdio_seek) : ditto.
* gsf/gsf-outfile-msole.c : rework to honor the requested block sizes
2004-06-15 Morten Welinder <terra@gnome.org>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri):
Don't leak info components. Handle lack of get_file_info
supports. Rework make_local_copy case. Work around gnomevfs
get_file_info bogosity.
2004-06-13 Jody Goldberg <jody@gnome.org>
* configure.in : bump to 1.10.0 to handle all the signature changes in
return values.
* *.[ch] : return the interesting base type rather than the derived
type for *_new.
2004-06-11 Morten Welinder <terra@gnome.org>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Change
return type to plain GsfInput*.
(gsf_input_gnomevfs_new_uri): Change return type to plain
GsfInput*. If seek is not supported, snarf a local copy.
2004-06-06 Dom Lachowicz <cinamod@hotmail.com>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Better
solution for Morten's problem.
2004-05-26 Morten Welinder <terra@gnome.org>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Handle
failure to parse URI.
2004-05-20 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-outfile-stdio.c: mkdir() has a different prototype on win32
2004-05-17 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_dirent_new) : work around odd files from
softmaker, seems like they consider dirs to be rootdirs ??
2004-05-17 Morten Welinder <terra@gnome.org>
* gsf/gsf-utils.c (gsf_le_get_double, gsf_le_set_double): Attempt
ARM fix. Fix various #error messages.
2004-05-15 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2004-05-15 Jody Goldberg <jody@gnome.org>
* Release 1.9.1
2004-05-11 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_set_doc_type) : new.
* doc/gsf-sections.txt : more cleanup, still ugly but at least it's
somewhat better.
* doc/gsf-docs.sgml : drop the useless Gsf section
2004-05-09 Jody Goldberg <jody@gnome.org>
* s/ZipDirent/GsfZipDirent
* s/ZipVDir/GsfZipVDir
2004-05-09 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-infile-zip.c: Don't pollute the global namespace
* gsf/gsf-outfile-zip.c: Ditto
* gsf/gsf-zip-impl.h: Ditto
* gsf/gsf-zip-utils.c: Ditto
2004-05-09 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-infile-stdio.c: Fix non-static definition of 'parent_class'
* gsf/gsf-outfile-stdio.c: Ditto
2004-05-07 James M. Cape <jcape@ignore-your.tv>
* doc/gsf-sections.txt: Hide type macros.
* gsf/gsf-output.c: s/<protected>/<note>/.
2004-05-06 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=141899
* doc/Makefile.am : Apply patch from James Cape
2004-05-05 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/Makefile.am: Install docs in the $(DOC_MODULE) subdir of
$(HTML_DIR) rather than in $(HTML_DIR) itself.
2004-05-05 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2004-05-04 Jody Goldberg <jody@gnome.org>
* Release 1.9.0
2004-05-04 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_start_element) : support merging of
content from a node and some of it's children
(gsf_xml_in_end_element) : ditto.
(gsf_xml_in_characters) : ditto.
(sf_xml_in_doc_new) : kludge to support the old interface but still
allow new semantics.
2004-05-01 Dom Lachowicz <cinamod@hotmail.com>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri) : Don't
require gnome-vfs-method.h
* gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_new_uri): we
require random access.
* gsf-win32/gsf-input-win32.c: fix seek's return value in the win32
IStream input.
2004-04-28 Jody Goldberg <jody@gnome.org>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri) : we
require random access.
2004-04-26 Jody Goldberg <jody@gnome.org>
* doc/Makefile.am : steal a few things from gtk-doc.make to get things
building. A full jump to gtk-doc.make directly is failing, dunno
why
* Makefile.am : Remove the AUTOMAKE_OPTIONS = 1.4 that disabled the
DISTCHECK_CONFIGURE_FLAGS
2004-04-24 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_dirent_new) : placate the bogus
-fstrict-aliasing gods. gcc is being stupid.
* configure.in : call this 1.9.0
2004-04-27 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output-bzip.c (gsf_output_bzip_write): If the output
buffer turns full on the last deflate, empty the buffer.
2004-04-24 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-gzip.c (gsf_output_gzip_write): If the output
buffer turns full on the last deflate, empty the buffer.
2004-04-05 Jody Goldberg <jody@gnome.org>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek) : fix sense
of return. This code is clearly not being used. A year and a half
and no one noticed ???
2004-03-31 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-stdio.c (gsf_output_stdio_new): Plug leak.
2004-03-31 Michael Meeks <michael@ximian.com>
* tests/test-msvba-zip.c (find_match):
size limit the matches to the available bits for
storing the match length (doh). & make debug nicer.
2004-03-16 Morten Welinder <terra@gnome.org>
* gsf/gsf-output.c (gsf_output_finalize): Chain up.
* gsf/gsf-shared-memory.c (gsf_shared_memory_finalize): Chain up.
* gsf-gnome/gsf-shared-bonobo-stream.c
(gsf_shared_bonobo_stream_finalize): Chain up.
2004-03-12 Michael Meeks <michael@ximian.com>
* gsf/gsf-infile-msvba.c (vba_dir_read),
* tests/test-msvba-zip.c (decode_dir):
simplify / treat op 9 as the quirk-meister.
2004-03-11 Michael Meeks <michael@ximian.com>
* tests/test-msvba-zip.c (decode_dir): better
quirk understanding.
(find_match): remove unnecessary hacks.
2004-03-10 Michael Meeks <michael@ximian.com>
* tests/test-msvba-zip.c (decode_dir): impl.
a good run at enterpreting 'dir'.
* tests/test-msvba-zip.c (do_compress): bin nasty
3 byte header store / restore and generate header
on the fly.
2004-03-09 Michael Meeks <michael@ximian.com>
* tests/test-msvba-zip.c (find_match): shrink dodgy
looking matches.
2004-03-08 Michael Meeks <michael@ximian.com>
* tests/test-msvba-zip.c (output_match): add a
small/stupid LZSS compressor.
2004-03-08 Michael Meeks <michael@ximian.com>
* tests/test-msvba-zip.c: add for compressing/decompressing
'dir' (or other pure compressed) streams.
* gsf/gsf-msole-utils.c (gsf_msole_inflate): move from
* gsf/gsf-infile-msvba.c (gsf_vba_inflate): here.
2004-03-01 Jody Goldberg <jody@gnome.org>
* configure.in : drop -Wmissing-format-attribute because it was
irritating me.
2004-03-01 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-stdio.c :
* gsf/gsf-infile-stdio.c : Some utility wrappers to pull or push from
a directory tree.
* tests/test-dump-msole.c :
* tests/test-restore-msole.c : tests for it.
2004-02-24 Dom Lachowicz <cinamod@hotmail.com>
* configure.in: Add Win32 stuff
* libgsf-win32-1.pc.in: Ditto
* Makefile.am: Ditto
* gsf-win32/Makefile.am: Win32 build system
2004-02-05 Jon K Hellan <hellan@acm.org>
* configure.in: Fix typo.
2004-02-05 Tomasz K³oczko <kloczek@pld.org.pl>
* Makefile.am: Added "DISTCHECK_CONFIGURE_FLAGS = --enable-gtk-doc"
for force correct pass build documentation during "make dist"
(like in many other GNOME projects).
Added gtk-doc.make to EXTRA_DIST for generate correct tar ball on
"make dist".
* configure.in: Removed old on place defined gtk-doc suport and added use
GTK_DOC_CHECK([1.0]).
2004-01-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_fatal_error) : Looks like Daniel has
added another field
2004-01-30 Jody Goldberg <jody@gnome.org>
http://bugzilla.gnome.org/show_bug.cgi?id=130596
* configure.in : apply the patch
Wed Jan 28 00:43:36 2004 Matthias Clasen <maclas@gmx.de>
* doc/Makefile.am (EXTRA_HFILES): Add ../gsf-gnome/*.h to give
gtk-doc a chance to pick up declarations from there. (Partial fix
for bug #132661.
2004-01-20 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_start_element) : minor portability fix.
2004-01-18 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-msole-utils.c: Country code for Albania is sq_AL not al_AL
* gsf-win32/*.c: Some work on the IStream input and output
2003-12-09 Dom Lachowicz <cinamod@hotmail.com>
* gsf/*.c: Documentation
2003-12-06 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msvba.c : Major work.
We can now extract the compressed source for all of our sample
files. There's still lots of unknowns, but at least the code
is visible now. The next step will be looking at the p-code
2003-11-28 Jody Goldberg <jody@gnome.org>
* gsf/gsf-utils.c (gsf_input_hex_dump) : new.
(gsf_mem_dump_full) : expand the interface a bit.
2003-11-03 Jody Goldberg <jody@gnome.org>
* gsf/Makefile.am (uninstall) : make the impl headers for the base
interfaces public.
2003-10-29 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse) : The anal check should
take the prevailing char width also as noted by Xavier Roche.
* gsf/gsf-infile-msole.c (ole_init_info) : Doh! do not double convert
to native endianness. Fixes error reading files > 13.6 Meg on sparc
and alpha as noted by Xavier Roche.
2003-10-21 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c : Make the codepage arguments int to allow
smooth handling of bogus files that encode the codepage as an int
and break the utf-8 page '65001' because it looks like -535
2003-10-09 Jody Goldberg <jody@gnome.org>
* libgsf-gnome-1.spec.in : An old patch from Joseph Frazee
2003-09-29 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (gsf_infile_msole_new) : as noted by Nick
Lamb a failure should not change the file pos of @input.
2003-09-23 Jody Goldberg <jody@gnome.org>
* configure.in : downgrade. No need to force a version bump yet.
* gsf/gsf-libxml.c (gsf_xml_parser_context_full) : use a _full version
internally because that seems cleaner than manually tweaking pointers.
However, its a cosmetic change and not worth a version bump.
2003-09-22 Jody Goldberg <jody@gnome.org>
* configure.in : jump to 1.9.0 for api change.
* gsf/gsf-libxml.c : Initialize sax handler correctly to make sure
they work with libxml2 2.6.0.
(gsf_xml_parser_context) : take a sax handler and user data so taht we
can initialize it on creation.
2003-09-21 Tor Lillqvist <tml@iki.fi>
* libgsf-zip.in: New file.
* configure.in: Expand it.
* Makefile.am (EXTRA_DIST): Distribute it.
2003-09-13 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump to 1.8.3 for now.
If this becomes the basis for the interleaved write support it will
jump to 1.9 without a release.
2003-09-12 Jody Goldberg <jody@gnome.org>
* Release 1.8.2
2003-09-12 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : libole2 depends
on all entries having names. Hard code 'Root Entry' for the root.
2003-08-24 Dom Lachowicz <cinamod@hotmail.com>
* win/libgsf.ds*: Add win32 project files, from Jeremy Davis
* gsf/*: Some casts and ifdefs to let this puppy build on win32 using
MSVC. Also from Jeremy Davis, with some touch-up work by myself.
* configure.in: check for <io.h>
2003-08-03 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c : some initial work to define an interface
for using non-default block sizes. We're just managing these values
not using them yet.
2003-08-02 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_make_bat) : weaken the post condition
from error -> warning in the event that a BAT is missing a valid
terminator. We've already loaded a BAT, and we're sure that it is
not too big. Hopefully this will allow some of the data to be
restored.
2003-08-01 Jody Goldberg <jody@gnome.org>
For Stuart Cunningham <stuartc@rd.bbc.co.uk>
* gsf/gsf-infile-msole.c (gsf_infile_msole_read) : another patch to
fix non-default sector size support.
2003-07-17 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-zip.c (zip_dup) : take an error arg.
(zip_child_init) : ditto.
(gsf_infile_zip_dup) : use the error from zip_dup and zip_child_init.
* gsf/gsf-infile-impl.h : Take GError args for child_by_* virtuals.
We can not expose them yet.
* gsf/gsf-structured-blob.c (blob_child_by_index) : fix here.
(blob_child_by_name) : and here.
* gsf/gsf-infile-ar.c : and here.
* gsf/gsf-infile-msvba.c : and here.
* gsf/gsf-infile-msole.c (ole_dup) : catch gsf_input_dup failures
for the underlying source, and take a GError arg.
(gsf_infile_msole_dup) : pass the new err arg to ole_dup and use error
from ole_dup directly. No need to cruft another one up.
(gsf_infile_msole_new_child) : Take a GError arg to pass to ole_dup.
2003-07-15 Jody Goldberg <jody@gnome.org>
For Stuart Cunningham <stuartc@rd.bbc.co.uk>
* gsf/gsf-infile-msole.c (ole_get_block) : fix ole block seeking in
4k-sector files
2003-07-03 Jody Goldberg <jody@gnome.org>
For : Stuart Cunningham <stuartc@rd.bbc.co.uk>
* gsf/gsf-infile-msole.c (ole_dirent_new) : store the directory's CLSID
(gsf_infile_msole_get_class_id) : new.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : store the CLSID
(gsf_outfile_msole_set_class_id) : new.
(gsf_outfile_msole_init) : be really anal and ensure the CLSID is 0.
2003-07-02 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (gsf_infile_msole_new_child) : Even if a
directory claims to have a size set it to 0. Thanks to the AAF
people for the test case.
2003-06-28 Jody Goldberg <jody@gnome.org>
* doc/Makefile.am : fix the case when gtk-doc is not available
2003-06-20 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-gzip.c (gsf_input_gzip_read): Handle premature end
of stream.
2003-06-21 Jody Goldberg <jody@gnome.org>
As per ryang@bway.org :
* README : s/automake/autoconf/ and add automake details.
2003-06-15 Jon K Hellan <hellan@acm.org>
* configure.in: Remove test for obsolete orbit-python module.
2003-06-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
* debian/*: Updated debianisation.
2003-06-07 Jody Goldberg <jody@gnome.org>
* configure.in : post release version bump
2003-06-07 Jody Goldberg <jody@gnome.org>
* Release 1.8.1
2003-06-06 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_out_simple_int_element) : new util.
(gsf_xml_out_simple_float_element) : ditto.
2003-05-14 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/Makefile.am: Added $(LIBGSF_LIBS) to libgsf_1_la_LIBADD to get
complete inter-library dependency information.
2003-05-13 Dom Lachowicz <cinamod@hotmail.com>
* COPYING.LIB: update the the version of the LGPL license we're
actually licensed under
2003-05-13 Dom Lachowicz <cinamod@hotmail.com>
* libgsf-1.spec.in: Updates from Rui
2003-05-12 Morten Welinder <terra@gnome.org>
* gsf/gsf-output-gzip.c (gsf_output_gzip_finalize): Plug
truck-sized leak.
2003-05-12 Jody Goldberg <jody@gnome.org>
* configure.in : post release version bump
2003-05-11 Jody Goldberg <jody@gnome.org>
* Release 1.8.0
2003-04-29 Dom Lachowicz <cinamod@hotmail.com>
* gsf-win32/gsf-input-istream.[ch]: IStream based input. Untested
* gsf-win32/gsf-output-istream.[ch]: IStream based output. Untested
2003-04-29 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c
(gsf_msole_iconv_open_codepage_for_import): Try MACROMAN as alias
for 10000.
2003-04-28 Morten Welinder <terra@gnome.org>
* gsf/gsf-msole-utils.c
(gsf_msole_iconv_open_codepage_for_import): Remove code
duplication.
2003-04-21 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_dirent_new) : terminate the name before
conversion.
2003-04-15 Morten Welinder <terra@gnome.org>
* gsf/gsf-input-memory.c (gsf_input_mmap_new): FREEBSD have broken
mmap -- we must keep the file descriptor around.
2003-04-09 Jody Goldberg <jody@gnome.org>
From Xavier Roche <roche@exalead.com>
* gsf/gsf-msole-utils.c (msole_prop_parse) : gsize is not always
guinit32. Fixes sparc-64 problem.
* gsf/gsf-infile-msvba.c (vba3_dir_read) : ditto.
2003-04-01 Jody Goldberg <jody@gnome.org>
* gsf/gsf-impl-utils.h : Add utils for objects in plugins
2003-03-20 Dom Lachowicz <cinamod@hotmail.com>
* configure.in: Better checks for bz2
2003-03-20 Morten Welinder <terra@diku.dk>
* gsf/gsf-input-bzip.c (gsf_input_memory_new_from_bzip): Warning
killer.
* gsf/gsf-libxml.c (gsf_xml_in_doc_new): Kill warning.
2003-03-09 Jody Goldberg <jody@gnome.org>
* Relicense from GPL -> LGPL
2003-03-05 Dom Lachowicz <cinamod@hotmail.com>
* NEWS: update for correctness and mention AR infile
* README: typo police
2003-03-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c : More morten warnings
2003-03-05 Morten Welinder <terra@diku.dk>
* gsf/gsf-input-memory.c (gsf_input_memory_seek): Fix return type.
* gsf/gsf-input.c (gsf_input_seek): Fix failure return.
2003-03-05 Morten Welinder <terra@diku.dk>
* gsf/gsf-infile.c (gsf_infile_num_children): Fix failure return
value.
(gsf_infile_name_by_index): Ditto.
(gsf_infile_child_by_index): Ditto.
(gsf_infile_child_by_name): Ditto.
* gsf/gsf-outfile.c (gsf_outfile_new_child): Ditto.
2003-03-04 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-zip-impl.h: s/off_t/gsf_off_t
* gsf/gsf-infile-ar.[ch]: AR infile. DOES NOT YET WORK
2003-02-23 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-input.c (gsf_input_copy): remove == TRUE for Morten
2003-02-22 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-input.c (gsf_input_uncompress): Support uncompressing BZ2
streams as well, optionally
2003-02-22 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output-bzip.c: Restructure things so that it's possible to
build without bzip2 support
2003-02-22 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-input-textline.c: Replace g_realloc with g_renew
* gsf/gsf-output-memory.c: Ditto
2003-02-21 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-input-bzip.c: Implement this
* gsf/gsf-input-memory.[ch]: New function: gsf_input_memory_new_clone
* gsf/Makefile.am: Build bz2 importer, distribute header
* tests/test-bzip.c: New test
* tests/Makefile.am: Add new test
2003-02-20 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-input-bzip.[ch]: Stubs for a BZ2 input I'm working on
2003-02-18 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-input.c (gsf_input_class_init): Install GObject properties
(gsf_input_get_property): Ditto
(gsf_input_set_property): Ditto
* gsf/gsf-output.c (gsf_output_class_init): Install GObject properties
(gsf_output_get_property): Ditto
(gsf_output_set_property): Ditto
2003-02-14 Dom Lachowicz <cinamod@hotmail.com>
* configure.in: Emit a warning instead of breaking if VFS and Bonobo
aren't found, but --without-gnome wasn't specified. Makes the KDE folk
happy.
2003-02-11 Jody Goldberg <jody@gnome.org>
* configure.in : compartmentalize the bzip config tests, and trust
libtool for the dependent libraries enough to not mention them in
the pkg-config file
* gsf/gsf-output-bzip.c : improve the conditionalization.
* gsf/gsf-input-iochannel.c (gsf_input_memory_new_from_iochannel) :
warning suppression.
2003-02-09 Dom Lachowicz <cinamod@hotmail.com>
* configure.in: Changes to (optionally) compile bz2 functionality
* Makefile.am: Ditto
* gsf/Makefile.am: Ditto
* tests/Makefile.am: Ditto
* gsf/gsf-output-bzip2.c: Changes to optionally compile parts of this
2003-02-09 Dom Lachowicz <cinamod@hotmail.com>
* tests/test-out-bzip.c: Tester for new BZip2 output
* gsf/gsf-impl-utils.h: Correct typo
* gsf/gsf-output-gzip.c: Fix memory leak (leaked buffer)
* gsf/gsf-output-bzip.[ch]: New output class, not currently built
2003-02-09 Dom Lachoiwcz <cinamod@hotmail.com>
* gsf/gsf-input-iochannel.[ch]: Rework as per Jody's suggestions. Now
it is a utility constructor.
2003-02-09 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-input-iochannel.c: Fixed iochannel. Unfortunately uses memory
backend because there's no way to query the size of an IOChannel
2003-02-07 Rodrigo Moya <rodrigo@gnome-db.org>
* gsf/gsf-input-iochannel.[ch]: new GIOChannel based input.
2003-02-07 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-doc-meta-data.[ch]: Clean API a bit to include consts, gsize
2003-02-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : clip long names,
and do not output a name for the root file.
2003-02-04 Dom Lachowicz <cinamod@hotmail.com>
* Changed below commit to use g_new instead of g_malloc + typecast, at
Jody's and Morten's request
2003-02-01 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-infile-msole.c
* gsf/gsf-infile-zip.c
* gsf/gsf-input-gzip.c
* gsf/gsf-input-stdio.c
* gsf/gsf-input-textline.c
* gsf/gsf-outfile-msole.c
* gsf/gsf-output-gzip.c
* gsf/gsf-output-memory.c
* gsf/gsf-utils.c
* gsf-gnome/gsf-input-bonobo.c
* gsf-gnome/gsf-input-gnomevfs.c: More castings needed
2003-02-01 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-infile-msole.c: Some castings to help things build using
MSVC++
* gsf/gsf-msole-utils.c: Ditto
2003-01-31 Dom Lachowicz <cinamod@hotmail.com>
* test/*.c: Correctness fixes in the testcases. No need to unref a null
object
2003-01-29 Dom Lachowicz <cinamod@hotmail.com>
* *: With Jody's permission, change all _new() calls to return the
derived/subclassed type, instead of the mix we had before
* tests/*: Updated to conform with above
2003-01-28 Jody Goldberg <jody@gnome.org>
* configure.in : post release version bump
2003-01-28 Jody Goldberg <jody@gnome.org>
* Release 1.7.2
2003-01-24 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xml_in_start_element) : be a touch more anal.
2003-01-24 Jody Goldberg <jody@gnome.org>
* configure.in : remove -Wunreachable-code it was damn irritating and
mostly wrong.
* gsf/gsf-msole-utils.c : warning suppression.
* gsf/gsf-libxml.c (gsf_xml_in_start_element) : support default
namespaces.
(gsf_xml_in_end_element) : ditto.
(gsf_xml_in_start_document) : ditto.
2003-01-23 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Calculate MAJOR_VERSION_PLUS_MINOR_VERSION.
2003-01-22 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c : Rename everything (again) and add namespace
support for the import wrappers.
* configure.in : bump version to 1.7.1 to reflect the major changes in
the xml import/export api.
2003-01-22 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-utils.h, gsf/gsf-utils.c (gsf_base64_encode_close,
gsf_base64_encode_step), gsf/gsf-input.c (gsf_input_copy,
gsf_input_uncompress),
gsf-input-textline.c (gsf_input_textline_utf8_gets): Fixed signedness.
2003-01-21 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-msole-utils.c: Mark the 11644473600 constant as ULL.
2003-01-21 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-input.c: The gzip signature consists of unsigned chars.
2003-01-21 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/gsf-libxml.c, gsf/gsf-output-memory.c, gsf/gsf-output.c,
gsf/gsf-structured-blob.c, gsf/gsf-zip-utils.c: #include <string.h> for
strcmp(), strlen() and memcpy().
2003-01-21 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Redirect grep output to /dev/null instead of using -q
which Morten pointed out doesn't work on Solaris.
2003-01-20 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in: Check if -D_POSIX_SOURCE is needed for the fdopen()
prototype in a cleaner fashion; might fix problems on Mac OS X.
2003-01-09 Morten Welinder <terra@diku.dk>
* gsf/gsf-input-stdio.c (gsf_input_stdio_read): Handle eof.
2003-01-08 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output-iochannel.c (gsf_output_iochannel_write): ensure
large writes happen
* gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_write):
Ditto
* gsf/gsf-input-stdio.c (gsf_input_stdio_read): Ensure that large
reads happen
* gsf-gnome/gsf-output-gnomevfs.c (gsf_input_gnomevfs_read) :
Ditto
2003-01-08 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : fix off by 1 in
calculation of how many meta bats are required. Store correct
position of initial xbat, the original code did not take small
blocks into account.
* gsf/gsf-infile-msole.c (ole_make_bat) : add protection against
cycles.
2003-01-07 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_output_xml_add_attr_cstr_safe) : clone over
logic for escaping strings from libxml and revamp it to be more
libgsf-ish.
* gsf/gsf-utils.c : rename the base64 utilities and clean up the types
and const to match gsf conventions.
2003-01-06 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output-transaction.c : New capability - transacted
outputs. Not thoroughly tested.
* tests/test-trans.c : Transaction testsuite for above
* gsf/gsf-output-stdio.c (gsf_output_stdio_write) : Put write
inside of a loop to ensure that large writes are carried out
properly and feof is properly detected
* TODO: remove the "try to support canceling a write" item since
such functionality is supported via transactions
2003-01-05 Tor Lillqvist <tml@iki.fi>
* configure.in: Check for lstat() and readlink(). Check for
native Win32 and for Win32 in general (including Cygwin). Set
automake conditionals OS_WIN32 and PLATFORM_WIN32 accordingly.
Add AC_LIBTOOL_WIN32_DLL.
* gsf/Makefile.am: On Win32, use -no-undefined, and install (and
uninstall) import libraries.
* gsf/gsf-output-stdio.c: Add workaround #defines for various Unix
stuff on Win32. Bypass follow_symlinks() unless HAVE_READLINK.
2003-01-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-utils.c : Pull in the bas64 utilites from evolution. Unused
for now.
2003-01-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-output.c (cb_output_unwrap) : renamed from
cb_output_wrap_screwup and weaken restrictions. The weak ref
handler is called before the wrappers finalize, so we can not always
unwrap in such a way as to avoid a warning. Just handle it silently
now.
(gsf_output_wrap) : ditto. Weaken the requirement of the wrapper to
be a GObject, no need for a full fledged GsfOutput.
(gsf_output_unwrap) : ditto.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : fix reversal of
arguments for the wrapping.
(gsf_outfile_msole_write) : ditto.
* gsf/gsf-outfile-zip.c (zip_init_write) : ditto.
(zip_close_stream) : ditto.
* gsf/gsf-libxml.c : rename xml_sax -> GsfInputXML
(GsfOutputXML) : new
2003-01-03 Jody Goldberg <jody@gnome.org>
* gsf/gsf-impl-utils.h : add hooks for interfaces
2002-12-24 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_metadata_read) : patch some warnings.
2003-01-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
* debian/changelog, debian/control, debian/libgsf-1-dev.dirs,
debian/libgsf-1-dev.files, debian/rules: Updated.
2002-12-30 Jon K Hellan <hellan@acm.org>
* gsf/gsf-msole-utils.c (msole_prop_parse): Check if res is a GValue.
(gsf_msole_metadata_read): Check if v is a GValue and holds an int
before reading codepage. Check if v is a GValue before unsetting.
2002-12-23 Morten Welinder <terra@diku.dk>
* gsf/gsf-libxml.c (gsf_xml_output_buffer_new): Fix comment and
ref output to match gsf_libxml_close.
2002-12-20 Morten Welinder <terra@diku.dk>
* gsf/gsf-libxml.c (gsf_libxml_close): Plug leak.
2002-12-19 Dom Lachowicz <cinamod@hotmail.com>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new_uri) : Able to
open URI objects as well as strings
* gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_new_uri) : ditto
2002-12-11 Jody Goldberg <jody@gnome.org>
* configure.in : post release version bump.
2002-12-11 Jody Goldberg <jody@gnome.org>
* Release 1.6.0
2002-12-10 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_lid_for_language) : Suggestion from
Nicolas Peninguy <peninguy.nicolas@wanadoo.fr>
2002-12-10 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (gsf_infile_msole_finalize) : do not unref
the info for the magic internal small block file it was already
removed.
(ole_info_get_sb_file) : do not create a reference loop from the info
to the small block file and back. Remove the default reference from
the magic internal small block file to the info.
2002-12-10 Morten Welinder <terra@diku.dk>
* gsf/gsf-structured-blob.c (blob_finalize): Link to the right
parent type.
* gsf/gsf-outfile-zip.c (zip_dirent_new_out): Don't allocate and
throw away memory.
2002-12-09 Jon K Hellan <hellan@acm.org>
* gsf/gsf-msole-utils.c (msole_prop_parse): Fix typo.
2002-12-09 Morten Welinder <terra@diku.dk>
* gsf/gsf-outfile-zip.c (disconnect_children): Factor out from
zip_close_root.
(gsf_outfile_zip_finalize): Use here too. (This closes a leak if
closing fails.)
* gsf/gsf-msole-utils.c (msole_prop_parse): Free the property
values until we figure out what to do with them.
* gsf/gsf-infile-msole.c (gsf_infile_msole_finalize): Plug leak.
* gsf/gsf-timestamp.c (gsf_timestamp_as_string): 64-bit fix.
2002-12-04 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-input.c (gsf_input_copy): Copies a GsfInput to a GsfOutput.
Will probably be useful for some abiword stuff I'll be doing
* tests/test-cp.c: New test program exercising gsf_input_copy
2002-12-04 Morten Welinder <terra@diku.dk>
* gsf/gsf-output-stdio.c (follow_symlinks): Fix error return
conventions.
(gsf_output_stdio_new): Clean up error messages.
2002-12-03 Morten Welinder <terra@diku.dk>
* gsf/gsf-output-stdio.c (gsf_output_stdio_close): Try much harder
restoring owner and permissions. Still not good.
(gsf_output_stdio_new): Simplify using g_path_get_dirname.
Respect non-writable files!
(follow_symlinks): Simplify using g_path_is_absolute and
g_path_get_dirname. Eliminate some race conditions.
2002-11-29 Jon K Hellan <hellan@acm.org>
* gsf/gsf-output-gzip.c (init_gzip): Return set error if
deflateInit2 fails.
(gzip_output_header): Add missing argument to time().
2002-11-27 Jon K Hellan <hellan@acm.org>
* gsf/gsf-libxml.c (gsf_libxml_close): Change to do nothing. We
expect higher layers to close.
(gsf_xmlDocFormatDump): Use encoding argument. Don't call
xmlOutputBufferClose - libxml calls it for us via the callback we
supply.
* gsf/gsf-libxml.[ch] (gsf_xmlDocFormatDump: Add encoding parameter.
2002-11-27 Jon K Hellan <hellan@acm.org>
* tests/Makefile.am (check_PROGRAMS): Add test-out-gzip.c
* gsf/gsf-output-gzip.[ch]: New files. Gzip output.
* gsf/Makefile.am (libgsf_1_la_SOURCES): Add gsf-output-gzip.c.
(libgsf_1_include_HEADERS): Add gsf-output-gzip.h.
2002-11-25 Jon K Hellan <hellan@acm.org>
* tests/test-outmem-printf.c (test): Adjust to new
gsf_output_memory_get_bytes API.
* gsf/gsf-outfile-zip.c (root_register_child): Don't ref children
which are directories.
* tests/test-zip-out-subdirs.c (test): Make close/unref strategy
the same as in test-cp-zip/test-cp-ole (with change above, this
works!). Test closing subdirs at different times in the lifecycle.
2002-11-25 Jon K Hellan <hellan@acm.org>
* gsf/gsf-outfile-zip.c (zip_init_write): Fail if already writing
to another stream in archive. Set "writing" flag in zip root to
indicate that we're writing to a stream.
(zip_close_stream): Unset "writing" flag in zip root to indicate
that we're now free to write to a new stream.
(zip_close_root): s/g_message/g_warning/.
* tests/test-zip-out-subdirs.c (test): Close each substream before
starting to write to the next.
2002-11-24 Jon K Hellan <hellan@acm.org>
* gsf/gsf-outfile-zip.c (stream_name_len,
stream_name_write_to_buf): Stop recursing at root of zip archive,
i.e. don't append name of archive file to stream names. Take zip
rather than outfile argument.
(stream_name_build): Take zip rather than outfile argument.
(zip_dirent_new_out): Call stream_name_build with new signature.
2002-11-24 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-ouput-iochannel.c (): New output sink. No IOChannel
input sink possible due to API limitations
* gsf/gsf-input-stdio.c (_new): Open files with "rb" status
2002-11-24 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output-memory.c (gsf_output_memory_get_bytes): WARNING:
changed prototype
(gsf_output_memory_seek): Re-implement seek() in a saner fashion
(gsf_output_memory_write): ditto
(gsf_output_memory_vprintf): ditto
(gsf_output_memory_init): ditto
2002-11-24 Dom Lachowicz <cinamod@hotmail.com>
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Code
cleanup
2002-11-24 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output-memory.c (gsf_output_memory_seek): Implement
seek() by implementing a cursor as well as the existing nwritten
and capacity fields
(gsf_output_memory_write): ditto
(gsf_output_memory_vprintf): ditto
(gsf_output_memory_init): ditto
2002-11-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_vprintf) : rename from
gsf_output_msole_vprintf to conform to naming convention.
(gsf_outfile_msole_class_init) : hook up the vprintf method and fix
some old cut-n-paste errors.
* gsf/gsf-output.c (gsf_output_finalize) : free the new printf buf.
(gsf_output_init) : init the new printf buf.
(gsf_output_vprintf) : use a stream local buffer and handle older
version of glibc that did not return the required number of
characters.
2002-11-23 Jon K Hellan <hellan@acm.org>
* tests/test-zip-out-subdirs.c: New test program. Add.
* tests/Makefile.am (check_PROGRAMS): Add test-zip-out-subdirs.
2002-11-23 Jon K Hellan <hellan@acm.org>
* tests/test-zip-out.c: New test program. Add.
* tests/Makefile.am (check_PROGRAMS): Add test-zip-out.
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_finalize): Only free
vdirs from the root down.
(zip_trailer_write): Take no. of entries as a parameter, so that
the root_order array doesn't have to be live when we call this
function.
(zip_close_root): Slight tweak of Dom's fix.
2002-11-23 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-outfile-zip.c (zip_close_root): Free the root_array and
unref the child outputs when closing the root directory
2002-11-22 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output-stdio.c (gsf_output_stdio_new): Disable creating
backup copies of files, open files with "wb" status instead of
just "w"
2002-11-22 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-output.c (gsf_output_puts): Check for null input
(gsf_output_vprintf): Don't use static internal buffer, will lead
to nasty race conditions and a memory-leak on shutdown
2002-11-22 Jon K Hellan <hellan@acm.org>
* tests/test-outmem-printf.c: New test program. Add.
* tests/Makefile.am (check_PROGRAMS): Add test-outmem-printf.
* gsf/gsf-output-memory.c (gsf_output_memory_vprintf):
New. vprintf implementation which uses g_vsnprintf directly
into buffer if there is space.
(gsf_output_memory_class_init): Initialize vprintf virtual.
2002-11-22 Jody Goldberg <jody@gnome.org>
* doc/Makefile.am : pull in newer magic from gtk.
* configure.in : ditto.
2002-11-22 Jon K Hellan <hellan@acm.org>
* gsf/gsf-outfile-msole.c (gsf_output_msole_vprintf): New. vprintf
implementation which falls through to the sink's implementation if
possible.
(gsf_outfile_msole_class_init): Initialize vprintf virtual.
* gsf/gsf-output-stdio.c (gsf_output_stdio_vprintf): New. vprintf
implementation which just falls through to vfprintf.
(gsf_output_stdio_class_init): Initialize vprintf virtual.
2002-11-22 Jon K Hellan <hellan@acm.org>
* tests/test-msole-printf.c: New test program. Add.
* tests/Makefile.am (check_PROGRAMS): Add test-msole-printf.
2002-11-21 Jon K Hellan <hellan@acm.org>
* gsf/gsf-output.c (gsf_output_puts): Remove unused variable.
2002-11-21 Jon K Hellan <hellan@acm.org>
* gsf/gsf-libxml.c (gsf_libxml_write): Fix inverted
success/failure test.
* gsf/gsf-output-stdio.c (gsf_output_stdio_new): Set name
2002-11-21 Jon K Hellan <hellan@acm.org>
* gsf/gsf-output.[ch] (gsf_output_printf): New function. printf
for GsfOutput.
(gsf_output_puts): New function. fputs for GsfOutput.
* gsf/gsf-output-impl.h (struct GsfOutputClass): Add Vprintf virtual.
* gsf/gsf-output.c (gsf_output_class_init): Initialize to default
vprintf method.
(gsf_output_vprintf): New function: Default vprintf method.
* tests/test-out-printf.c: New test program. Add.
* tests/Makefile.am (check_PROGRAMS): Add test-out-printf.
2002-10-28 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_dirent_new) : be more careful about
invalid stream names.
2002-10-30 J.H.M. Dassen (Ray) <jdassen@debian.org>
* debian/changelog, debian/control, debian/rules: updated.
* debian/shlibs.local: dropped.
2002-10-26 Jody Goldberg <jody@gnome.org>
* configure.in : post release version bump
2002-10-26 Jody Goldberg <jody@gnome.org>
* Release 1.5.0
2002-10-26 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_lid_to_codepage) : remove warning.
2002-10-14 Jody Goldberg <jody@gnome.org>
* gsf/gsf-output-memory.c (gsf_output_memory_finalize) : close != exit.
Chain to the parent, and keep the content around until detruction.
2002-10-22 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-msole-utils.c
(gsf_msole_iconv_open_codepage_for_export): Fix bug where we used
UTF-8 regardless of the 'from' codepage
2002-10-21 Dom Lachowicz <cinamod@hotmail.com>
* gsf/gsf-msole-utils.c (*): Large rewrite of the codepage handling
code. More functions, more complete, more flexible, etc...
2002-10-18 Morten Welinder <terra@diku.dk>
* gsf/gsf-input-textline.c (gsf_input_textline_ascii_gets): Handle
end-of-buffer case without asserting.
2002-10-08 Morten Welinder <terra@diku.dk>
* gsf/gsf-utils.c (gsf_filename_to_utf8): New function.
* gsf/gsf-input-stdio.c (gsf_input_stdio_new): Ensure sane
filenames before putting them into error messages.
* gsf/gsf-output-stdio.c (follow_symlinks): Ditto.
(gsf_output_stdio_new): Ditto.
(gsf_output_stdio_close): Ditto.
* gsf/gsf-input-memory.c (gsf_input_mmap_new): Ditto.
2002-10-01 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xmlSAX_prep_dtd) : support recursive
structures.
2002-09-30 Jody Goldberg <jody@gnome.org>
* configure.in : post release bump
2002-09-30 Jody Goldberg <jody@gnome.org>
* Release 1.4.0
2002-09-27 Jody Goldberg <jody@gnome.org>
* gsf/gsf-structured-blob.c (gsf_structured_blob_read) : fix.
(gsf_structured_blob_write) : fix.
2002-09-26 Jon K Hellan <hellan@acm.org>
* gsf/gsf-output-memory.c: Remove debug printouts.
2002-09-26 Jon K Hellan <hellan@acm.org>
* gsf/gsf-output-memory.[ch] (gsf_output_memory_get_bytes): Take
1st argument GsfOutputMemory instead of GsfOutput.
* gsf/gsf-output-memory.c (struct _GsfOutputMemory): Add
'capacity' member.
(gsf_output_memory_new): Don't duplicate work done in
gsf_output_memory_init.
(gsf_output_memory_expand): Encapsulate expansion and make it more
intelligent.
(gsf_output_memory_write): Use gsf_output_memory_expand.
(gsf_output_memory_init): Initialize capacity.
2002-09-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_read) : remove some debug spew
that snuck in.
2002-09-24 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c : support unicode property names and values,
including some ugly heuristics to add the documented padding only
when using unicode (? what where they smoking ?)
2002-09-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xmlSAX_prep_dtd) : typo
and make the errors more verbose.
2002-09-20 Jody Goldberg <jody@gnome.org>
* gsf/gsf-structured-blob.c (gsf_structured_blob_read) : handle out of
memory.
2002-09-20 Jody Goldberg <jody@gnome.org>
* gsf/gsf-libxml.c (gsf_xmlSAX_parse) : some initial work on utility
structures and routines to make building a sax parser easy.
* gsf/gsf-structured-blob.c : new utility to read/write trees of
unparsed data.
2002-09-19 Jon K Hellan <hellan@acm.org>
* gsf/gsf-outfile-zip.h (enum GsfZipCompressionMethod): Define.
* gsf/gsf-outfile-zip.[ch]
(gsf_outfile_zip_set_compression_method): New function. Set
compression method.
* gsf/gsf-outfile-zip.c (struct _GsfOutfileZip): Add
compression_mehod member.
(zip_dirent_new_out): Set compression method.
(zip_header_write): Write current compression method.
(zip_init_write, zip_close_stream, gsf_outfile_zip_write): Handle
noncompressed streams.
(zip_header_write_sizes): New function. Write crc and sizes to
local file header.
(gsf_outfile_zip_init): Initialize compression method to deflated.
(gsf_outfile_zip_set_compression_method): New function. Set
compression method.
* gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Fix typo.
2002-09-19 Jon K Hellan <hellan@acm.org>
* gsf/gsf-infile-zip.c (zip_read_dirents): Don't expect a file
header at the start of the archive. It's not required by the
specification, and e.g. self-extracting zips do not have one.
With this change, we can read self-extracting zips.
2002-09-16 Jody Goldberg <jody@gnome.org>
* gsf/gsf-output.c (gsf_output_close) : always close even if the
implementation failed.
(gsf_output_finalize) : free the error.
(gsf_output_init) : init the error.
(gsf_output_seek) : inver the return flag to be consistent with write.
(gsf_output_error) : new.
(gsf_output_set_error) : new.
* gsf/gsf-output-stdio.c : borrow the temp file handling from gedit so
that we can handle setgid directories correctly.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek) :
invert the return type.
* gsf/gsf-outfile-zip.c (gsf_outfile_zip_seek) : ditto.
* gsf/gsf-output-memory.c (gsf_output_memory_seek) : ditto.
* gsf/gsf-msole-utils.c (gsf_msole_metadata_write) : add some error
checking.
2002-09-15 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_iconv_win_codepage) : fix warning.
* configure.in : reorder the _BSD_SOURCE and _POSIX_SOURCE tests
because POSIX changes things under linux.
Add an lstat test
2002-09-15 Jon K Hellan <hellan@acm.org>
* tests/test-zip2.c: Add.
2002-09-14 Rodrigo Moya <rodrigo@gnome-db.org>
* gsf/gsf-command-context.[ch]: added support for warnings.
(gsf_command_context_has_warnings, gsf_command_context_push_warning,
gsf_command_context_pop_warning): new functions.
2002-09-14 Rodrigo Moya <rodrigo@gnome-db.org>
* gsf/gsf-command-context.[ch]: new class for command contexts,
stealing some implementation from GsfIOContext.
* gsf/gsf-io-context.[ch]: base this class on GsfCommandContext.
2002-09-14 Jon K Hellan <hellan@acm.org>
* gsf/gsf-infile-zip.c (gsf_infile_zip_read): Fix reading
non compressed streams.
2002-09-13 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_read) : tweak boundary case
to match reality
2002-09-14 Jon K Hellan <hellan@acm.org>
* gsf/gsf-outfile-zip.[ch]: Really add this time.
* gsf/gsf-infile-zip.c: gsf-zip-utils.h doesn't exist - don't
include it!
* gsf/gsf-zip-utils.c: Ditto.
2002-09-14 Jon K Hellan <hellan@acm.org>
* tests/Makefile.am: Add test-cp-zip.c
2002-09-13 Jon K Hellan <hellan@acm.org>
* tests/test-cp-zip.c: Add a test program for zip export.
2002-09-13 Jon K Hellan <hellan@acm.org>
* gsf/gsf-zip-util.c: Add.
* gsf/gsf-infile-zip.c (enum ZipCompressionMethod, struct
ZipDirent, struct ZipDir): Move to gsf-zip-impl.h.
(vdir_new, vdir_free, vdir_compare, vdir_add_child,
zip_dirent_free): Move to gsf-zip-utils.c.
(zip_dirent_new): Rename to zip_dirent_new_in.
(vdir_free, zip_info_unref): Add free_dirent parameter to
vdir_free.
(zip_child_init): Move before first use.
(gsf_infile_zip_finalize): Free zlib stream.
* gsf/Makefile.am: Add gsf-zip-utils.c, gsf-outfile-zip.[ch]
2002-09-12 Dom Lachowicz <cinamod@hotmail.com>
* gsf/Makefile.am: add gsf-output-memory
* gsf/gsf-output-memory.c (_seek): fix seek type, compiles
* gsf-gnome/Makefile.am: add gsf-output-bonobo
* gsf-gnome/gsf-output-bonobo.c (): make compile
2002-09-06 Jon K Hellan <hellan@acm.org>
* gsf/gsf-input-gzip.c (init_zip): Factored out of gsf_input_gzip_new.
(gsf_input_gzip_new): See init_zip.
(gsf_input_gzip_dup): Dup source instead of sharing it, and
initialize zip context.
* gsf/gsf-infile-zip.c (gsf_infile_zip_dup): Call zip_child_init.
2002-09-04 Jon K Hellan <hellan@acm.org>
* gsf/gsf-infile-zip.c (struct ZipDirent, struct _GsfInfileZip,
zip_dirent_new, zip_dirent_free, zip_update_stream_in,
gsf_infile_zip_read, zip_child_init, gsf_infile_zip_seek,
gsf_infile_zip_init): Move zlib context to GsfInfile object. It is
per opened stream, not per subfile.
(gsf_infile_zip_init, gsf_infile_zip_new): Initialize all fields
in gsf_infile_zip_init.
2002-09-03 Jon K Hellan <hellan@acm.org>
* gsf/gsf-input-gzip.c (check_header): Fix typo.
2002-09-03 Jon K Hellan <hellan@acm.org>
* gsf/gsf-libxml.c (gsf_libxml_read): Don't signal error when
reading len = 0.
* gsf/gsf-input-gzip.c (check_header): Check signature before
seeking to end. Seeking to end is *expensive* if seek is slow in
underlying stream.
Add check that there's room for payload.
2002-09-02 Jon K Hellan <hellan@acm.org>
* gsf/gsf-infile-zip.c (struct _GsfInfileZip): Add seek_skipped.
(gsf_infile_zip_seek): Implement. As slow as gzip.
(zip_child_init): Initialize dirent->restlen,
dirent->crestlen. Don't call zip_update_stream_in.
(gsf_infile_zip_new): Initialize seek_skipped.
2002-09-01 Jody Goldberg <jody@gnome.org>
* tests/test-cat-zip.c : replace the old test with test-msole2.c
with s/msole/zip/ so that we get the end of file right.
2002-08-31 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-zip.c (gsf_infile_zip_num_children) : return -1 for
non directories.
2002-08-31 Jody Goldberg <jody@gnome.org>
* gsf/gsf-timestamp.c : dummy up a quick implementation.
* gsf/gsf-msole-utils.c (msole_prop_parse) : support FILETIME.
2002-08-30 Jody Goldberg <jody@gnome.org>
* configure.in : remove -Wconversion because it was pissing me off.
2002-08-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (msole_prop_parse) : add some basic
implementation.
(msole_prop_id_to_gsf) : new.
2002-08-29 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_prop_read) : conditionalize the
debug spew.
2002-08-29 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-utils.c (gsf_msole_prop_parse) : new.
(gsf_msole_prop_read) : new.
(gsf_msole_metadata_read) : prepare to parse the actual properties.
2002-08-28 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-gzip.c (gsf_input_gzip_new) : restore the current file
position when sniffing for gzip fails.
2002-08-28 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-metadata.c (gsf_msole_iconv_open_for_export) : moved
from gnumeric.
(gsf_msole_iconv_open_for_import) : ditto.
(gsf_msole_iconv_win_codepage) : ditto.
* gsf/gsf-utils.c (gsf_iconv_close) : ditto.
(gsf_extension_pointer) : moved from gnumeric, originally from libgnome.
2002-08-26 Jon K Hellan <hellan@acm.org>
* gsf-gnome/gsf-input-bonobo.[ch],
gsf-gnome/gsf-output-bonobo.[ch],
gsf-gnome/gsf-input-gnomevfs.[ch],
gsf-gnome/gsf-output-gnomevfs.c, gsf/gsf-infile-msvba.c,
gsf/gsf-input-gzip.h, gsf/gsf-input-impl.h,
gsf/gsf-input-memory.h, gsf/gsf-msole-impl.h,
gsf/gsf-output-impl.h, gsf/gsf-output-memory.h,
gsf/gsf-output-stdio.h, gsf/gsf-output.c, gsf/gsf-shared-memory.h,
gsf/gsf-zip-impl.h, gsf/gsf.h: Fix file headers - file name was
wrong.
2002-08-26 Jon K Hellan <hellan@acm.org>
* gsf/gsf-infile-zip.c (struct ZipVDir): Define struct to
represent a directory entry in a tree of contained files.
(struct ZipInfo): Add vdir. Move dirent_list here from
_GsfInfileZip.
(struct _GsfInfileZip): Add vdir. Remove dirent_list and dirent.
(vdir_new, vdir_free, vdir_child_by_name, vdir_child_by_index,
vdir_compare, vdir_add_child, vdir_insert): New
functions. Operations on file tree directories.
(zip_info_unref): Free dirent_list and vdir.
(zip_read_dirents): Renamed from zip_init_info. dirent_list now in
ZipInfo.
(zip_build_vdirs): New function. Build directory tree of contained
files.
(zip_init_info): New function, old name. Wraps zip_read_dirents
and zip_build_vdirs.
(gsf_infile_zip_dup): Copy vdir, not dirent.
(zip_update_stream_in,
(gsf_infile_zip_read): dirent now in vdir.
(zip_child_init): New function. Contains the parts of
gsf_infile_zip_new_child which operated on the zip file.
(gsf_infile_zip_new_child): Simplify and call zip_child_init.
(gsf_infile_zip_child_by_index, gsf_infile_zip_name_by_index): Use
vdir_child_by_index.
(gsf_infile_zip_child_by_name): Use vdir_child_by_name
(gsf_infile_zip_num_children): Count children in vdir.
(gsf_infile_zip_finalize): dirent_list is no longer freed here.
(gsf_infile_zip_init, gsf_infile_zip_new): Initialize vdir.
* gsf/gsf-zip-impl.h (ZIP_NAME_SEPARATOR): Define path name
component separator for zip archives.
2002-08-26 Morten Welinder <terra@diku.dk>
* gsf/gsf.h: Don't include <glib-object.h> here.
* gsf/gsf-input.h: Do it here.
* gsf/gsf-output.h: And here.
* configure.in: Take out -Wcast-align until someone fixes the
hundreds of things that violates it.
2002-08-25 Jody Goldberg <jody@gnome.org>
* configure.in : post release version bump
2002-08-25 Jody Goldberg <jody@gnome.org>
* Release 1.3.0
2002-08-22 Jon K Hellan <hellan@acm.org>
* gsf/gsf-infile-zip.c (zip_find_trailer): Fix case when no match
is found first time round.
2002-08-21 Jon K Hellan <hellan@acm.org>
* gsf/gsf-infile-zip.c (zip_find_trailer): Don't try to read
beyond EOF.
2002-08-21 Jon K Hellan <hellan@acm.org>
* gsf/gsf-infile-zip.c (struct _GsfInfileZip): Add buf and
buf_size for inflating.
(zip_init_info, gsf_infile_zip_dup): Use g_error_new rather than
g_set_error.
(gsf_infile_zip_read): Fix segfaulting bug. Make inflate buffer a
private member of the class rather than a static.
(gsf_infile_zip_finalize): Free inflate buffer.
(gsf_infile_zip_new): Initialize inflate buffer.
* tests/test-cp-msole.c: Revert 2nd arg to
gsf_input_read/write from gsf_off_t to size_t.
2002-08-21 Mikael Hallendal <micke@codefactory.se>
* tests/test-textline.c (test): output argv[0] when printing
Usage.
2002-08-20 Jody Goldberg <jody@gnome.org>
* gsf-gnome/Makefile.am : depend on libgsf
2002-08-20 Jon K Hellan <hellan@acm.org>
* gsf-gnome/.cvsignore: Add.
2002-08-19 Jon K Hellan <hellan@acm.org>
* tests/test-cp-msole.c (clone): Cast 2nd arg to
gsf_input_read/write to gsf_off_t.
2002-08-19 Jon K Hellan <hellan@acm.org>
* gsf/gsf.h: Remove GsfSeekType.
* gsf/gsf-input.[ch]: s/GsfSeekType/GSeekType/ in gsf_input_seek
signature.
* gsf/gsf-output.[ch]: s/GsfSeekType/GSeekType/ in gsf_output_seek
signature.
* gsf/gsf-input-impl.h (GsfInputClass) s/GsfSeekType/GSeekType/ in
Seek method.
* gsf/gsf-output-impl.h (GsfOutputClass) Ditto.
* gsf/gsf-infile-msole.c (gsf_infile_msole_seek):
s/GsfSeekType/GSeekType/ in signature.
* gsf/gsf-infile-msvba.c (gsf_infile_msvba_seek): Ditto.
* gsf/gsf-infile-zip.c (gsf_infile_zip_seek): Ditto.
* gsf/gsf-input-gzip.c (gsf_input_gzip_seek): Ditto.
* gsf/gsf-input-memory.c (gsf_input_memory_seek): Ditto.
* gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Ditto.
* gsf/gsf-input-textline.c (gsf_input_textline_seek): Ditto.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek): Ditto.
* gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Ditto.
* gsf-gnome/gsf-input-bonobo.c (gsf_input_bonobo_seek): Ditto.
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Ditto.
* gsf-gnome/gsf-output-bonobo.c (gsf_output_bonobo_seek): Ditto.
* gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_seek): Ditto.
* gsf/gsf-input.c (gsf_input_seek): Replace GSF_SEEK_SET, CUR, END
with G_SEEK_SET, CUR, END.
* gsf/gsf-input-gzip.c (gsf_input_gzip_seek): Ditto.
* gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Ditto.
* gsf/gsf-output.c (gsf_output_seek): Ditto.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek): Ditto.
* gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Ditto.
* gsf-gnome/gsf-input-bonobo.c (gsf_input_bonobo_seek): Ditto.
* gsf-gnome/gsf-input-gnomevfs.c (gsf_input_gnomevfs_seek): Ditto.
* gsf-gnome/gsf-output-bonobo.c (gsf_output_bonobo_seek): Ditto.
* gsf-gnome/gsf-output-gnomevfs.c (gsf_output_gnomevfs_seek): Ditto.
* gsf/gsf-infile-msole.c (ole_get_block, ole_init_info,
gsf_infile_msole_read, gsf_infile_msole_new_child):
s/GSF_SEEK_SET/G_SEEK_SET/.
* gsf/gsf-infile-msvba.c (vba_inflate, vba56_dir_read,
gsf_infile_msvba_seek, gsf_infile_msvba_seek): Ditto.
* gsf/gsf-infile-zip.c (zip_find_trailer, zip_dirent_new)
(zip_init_info, zip_init_info, zip_update_stream_in)
(gsf_infile_zip_new_child): Ditto.
* gsf/gsf-input-gzip.c (check_header, check_header): Ditto.
* gsf/gsf-input.c (gsf_input_dup, gsf_input_uncompress): Ditto.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek,
gsf_outfile_msole_close): Ditto.
2002-08-18 Jon K Hellan <hellan@acm.org>
* configure.in: Revert today's first change to the file, but keep
the second.
2002-08-18 Jon K Hellan <hellan@acm.org>
* configure.in: See below. Hope it's true this time.
2002-08-18 Jon K Hellan <hellan@acm.org>
* configure.in: Make --without-gnome work.
2002-08-18 Jon K Hellan <hellan@acm.org>
* acinclude.m4: Change it to just a comment referring to
python/README-python.
* acinclude.m4.am15: Added. A copy of the previous version, but no
longer commented out. See python/README-python.
2002-08-17 Jody Goldberg <jody@gnome.org>
* gsf/Makefile.am : install the xml header
2002-08-17 Jon K Hellan <hellan@acm.org>
* libgsf-gnome-1.pc.in (Cflags): Fix Libs line.
2002-08-17 Jon K Hellan <hellan@acm.org>
* Makefile.am (pkgconfig_DATA): Add libgsf-gnome-1.pc when
--with-gnome is selected.
(EXTRA_DIST): Add libgsf-gnome-1.spec, libgsf-gnome-1.spec.in and
libgsf-gnome-1.pc.in
2002-08-16 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : pad the last bat
and sbat block with unused rather than 0.
(ole_pad_bat_unused) : New.
2002-08-16 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : clean up the
iteration to calculate the number of bat blocks required to hold the
bat and metabat. Fill in the bat flags for the metabat.
2002-08-16 Jody Goldberg <jody@gnome.org>
* configure.in : move bonobo and gnome-vfs into a standalone library.
* gsf/gsf-infile-msole.c (ole_init_info) : add a warning about invalid
state.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_new) : Fill with 0xff
instead of 0 to be more compatible with MS.
(gsf_outfile_msole_close) : If there is no small block data don't
pretend there is an allocation chain for it. Write BAT entries for
the bat itself. TODO : BAT entries for the metabat.
2002-08-16 Morten Welinder <terra@diku.dk>
* gsf/gsf-io-context.c (gsf_io_context_update_progress): Don't
zero out memory only to overwrite it.
2002-08-16 Jon K Hellan <hellan@acm.org>
* configure.in: Require autoconf 2.52
2002-08-16 Morten Welinder <terra@diku.dk>
* gsf/gsf-metadata-bag.c (gsf_metadata_bag_new): Fix prototype.
* gsf/gsf-output-memory.c (gsf_output_memory_new): Ditto.
(gsf_output_memory_write): Fix brown-bag.
2002-08-15 Jon K Hellan <hellan@acm.org>
* configure.in: Test for orbit-python.
2002-08-15 Jon K Hellan <hellan@acm.org>
* gsf/gsf-input-memory.c (gsf_input_mmap_new): Stop warnings on
Solaris.
2002-08-15 Jon K Hellan <hellan@acm.org>
* gsf/gsf-shared-memory.c (gsf_shared_memory_finalize): Cast to
gsf_off_t when checing for overflow.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close,
gsf_outfile_msole_write): Ditto.
* gsf/gsf-input-bonobo.c (gsf_input_bonobo_seek): Ditto.
* gsf/gsf-infile-zip.c (zip_find_trailer): Ditto.
* gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Use long, not
off_t for offset arg. to fseek.
* gsf/gsf-input-stdio.c (gsf_input_stdio_seek): Ditto.
* gsf/gsf-input-memory.c (gsf_input_mmap_new): Add forgotten
argument to g_error_new.
2002-08-15 Jon K Hellan <hellan@acm.org>
* configure.in: Bump minor verision to 1.3. Add AC_SYS_LARGEFILE.
* gsf/gsf.h: Rename GsfOff_t enum to GsfSeekType. Define gsf_off_t
type to use instead of off_t. We have to do this because we do not
know what idea the application has of the size of off_t, this can
be defined with #define _FILE_OFFS_BITS xx.
* gsf/gsf-shared-memory.h (struct _GsfSharedMemory): Change type
of size to gsf_off_t.
* gsf/gsf-output-stdio.c (gsf_output_stdio_seek): Change type of
offset parameter to gsf_off_t, type of 'whence' parameter to
GsfSeekType. Check for overflow copying from gsf_off_t to off_t.
* gsf/gsf-output-impl.h (struct _GsfOutput): Change type of
cur_size, cur_offset to gsf_off_t.
(GsfOutputClass): Change type of offset parameter of Seek method
to gsf_off_t, type of 'whence' parameter to GsfSeekType.
* gsf/gsf-output-gnomevfs.c (gsf_output_gnomevfs_new): Various
fixes.
(gsf_output_gnomevfs_seek): Change type of offset parameter to
gsf_off_t, type of 'whence' parameter to GsfSeekType. Cast
'whence' argument to gnome_vfs_seek to GnomeVFSFileOffset to shut
up warning.
(gsf_output_gnomevfs_write): Cast 'bytes' argument to
gnome_vfs_write to GnomeVFSFileSize to shut up warning.
* gsf/gsf-output-bonobo.c (gsf_output_bonobo_seek): Change type of
offset parameter to gsf_off_t, type of 'whence' parameter to
GsfSeekType.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_seek): Change type of
offset parameter to gsf_off_t, type of 'whence' parameter to
GsfSeekType. Type of offset argument to gsf_input_seek has changed
to gsf_off_t. Use.
(gsf_outfile_msole_close): Return type of gsf_output_tell is
changed to gsf_off_t. Introduce gsf_off_t typed variable data_size
to detect overflow. Type of size argument to gsf_output_set_size
has changed to gsf_off_t. Use. Type of offset argument to
gsf_output_seek has changed to gsf_off_t. Use.
(gsf_outfile_msole_write): Return type of gsf_output_tell is
changed to gsf_off_t. Introduce gsf_off_t typed variables wsize
and start_offset to detect overflow.
* gsf/gsf-libxml.c (gsf_libxml_read): Return type of
gsf_input_remaining has changed to gsf_off_t. Use.
* gsf/gsf-io-context.c (GSF_CLASS): G_TYPE_GLIB is the parent
class, not the io-context class itself.
* gsf/gsf-input.h: (gsf_input_size, gsf_input_remaining,
gsf_input_tell): Change return type to gsf_off_t.
(gsf_input_seek): Change type of offset parameter to gsf_off_t,
type of 'whence' parameter to GsfSeekType.
* gsf/gsf-input.c (gsf_input_dup): Type of offset argument to
gsf_input_seek has changed to gsf_off_t. Use.
(gsf_input_size, gsf_input_remaining, gsf_input_tell): Change
return type to gsf_off_t.
(gsf_input_seek): Change type of offset parameter to gsf_off_t,
type of 'whence' parameter to GsfSeekType.
(gsf_input_set_size): Change type of size parameter to gsf_off_t.
(gsf_input_seek_emulate): Change type of pos parameter to
gsf_off_t.
(gsf_input_uncompress): Change type of cur_offset variable to
gsf_off_t. Type of offset argument to gsf_input_seek has changed
to gsf_off_t. Use.
* gsf/gsf-input-textline.c (gsf_input_textline_new): Remove cast
of size argument to gsf_input_set_size.
(gsf_input_textline_seek): Change type of offset parameter to
gsf_off_t, type of 'whence' parameter to GsfSeekType.
(gsf_input_textline_ascii_gets, gsf_input_textline_utf8_gets ):
Add 'remain' variable, and make sure that overflows don't occur.
* gsf/gsf-input-stdio.c (gsf_input_stdio_new): Change type of size
variable to gsf_off_t.
(gsf_input_stdio_seek): Change type of offset parameter to
gsf_off_t, type of 'whence' parameter to GsfSeekType. Check for
overflow copying from gsf_off_t to off_t.
* gsf/gsf-input-memory.h: Change type of length parameter to
gsf_off_t.
* gsf/gsf-input-memory.c (gsf_input_memory_new): Change type of
length parameter to gsf_off_t.
(gsf_input_memory_seek): Change type of offset parameter to
gsf_off_t, type of 'whence' parameter to GsfSeekType.
(gsf_input_mmap_new): Check for overflow copying from st.st_size
to ssize_t. Type of size argument to gsf_shared_memory_mmapped_new
and gsf_input_set_size has changed to gsf_off_t. Use.
* gsf/gsf-input-impl.h (struct _GsfInput): Change type of size,
cur_offset to gsf_off_t.
(GsfInputClass): Change type of offset parameter of Seek method to
gsf_off_t, type of 'whence' parameter to GsfSeekType.
(gsf_input_set_size): Change type of size parameter to gsf_off_t.
(gsf_input_seek_emulate): Change type of pos parameter to
gsf_off_t.
* gsf/gsf-input-gzip.c (struct _GsfInputGZip): Change type of
seek_skipped to gsf_off_t.
(check_header): Type of offset argument to gsf_input_seek is
changed to gsf_off_t. Use. Type of size argument to
gsf_input_set_size has changed to gsf_off_t. Use.
(gsf_input_gzip_read): Return type of gsf_input_remaing has
changed to gsf_off_t. Use.
(gsf_input_gzip_seek): Change type of offset parameter to
gsf_off_t, type of 'whence' parameter to GsfSeekType.
* gsf/gsf-input-gnomevfs.c (gsf_input_gnomevfs_new): Change type
of size variable to gsf_off_t. Cast 'code' argument to g_set_error
to gint to shut up warning.
(gsf_input_gnomevfs_read): Cast 'bytes' argument to gnome_vfs_read
to GnomeVFSFileSize to shut up warning.
(gsf_input_gnomevfs_seek): Change type of offset parameter to
gsf_off_t, type of 'whence' parameter to GsfSeekType. Cast
'whence' argument to gnome_vfs_seek to GnomeVFSFileOffset to shut
up warning.
* gsf/gsf-input-bonobo.c (struct _GsfInputBonobo): Change type of
'pos' to gsf_off_t.
(gib_synch_shared_ptr): Cast to gsf_off_t when assigning pos.
(gsf_input_bonobo_new): Change type of size variable to
CORBA_long. Type of size argument to gsf_input_set_size is
changed to gsf_off_t. Use.
(gsf_input_bonobo_seek): Change type of offset parameter to
gsf_off_t, type of 'whence' parameter to GsfSeekType. Check for
overflow copying from gsf_off_t to CORBA_long.
* gsf/gsf-infile-zip.c (zip_find_trailer): Change return type to
gsf_off_t. Check for overflow copying from gsf_off_t to size_t.
(zip_dirent_new, gsf_infile_zip_new_child): Change type of offset
parameter to gsf_off_t. Type of size argument to
gsf_input_set_size has changed to gsf_off_t. Use.
(gsf_infile_zip_new): Type of size argument to gsf_input_set_size
has changed to gsf_off_t. Use.
* gsf/gsf-infile-msvba.c (vba_inflate): Change type of offset
parameter to gsf_off_t.
(vba3_dir_read): Cast 2nd argument to vba_inflate to gsf_off_t.
(gsf_infile_msvba_seek): Change type of offset parameter to
gsf_off_t, type of 'whence' parameter to GsfSeekType.
(gsf_infile_msvba_new): Type of size argument to
gsf_input_set_size has changed to gsf_off_t. Use.
* gsf/gsf-infile-msole.c (ole_get_block, ole_init_info,
gsf_infile_msole_read, gsf_infile_msole_new_child): Type of offset
argument to gsf_input_seek has changed to gsf_off_t. Use.
(gsf_infile_msole_seek): Change type of offset parameter to
gsf_off_t, type of 'whence' parameter to GsfSeekType.
(gsf_infile_msole_new_child, gsf_infile_msole_new): Type of size
argument to gsf_input_set_size has changed to gsf_off_t. Use.
2002-08-12 Jody Goldberg <jody@gnome.org>
* Release 1.2.0
2002-08-06 Morten Welinder <terra@diku.dk>
* gsf/gsf-utils.c (gsf_le_get_double, gsf_le_set_double): New
functions (from gnumeric).
* gsf/gsf-utils.h: Add macros for signed types.
2002-08-05 Jody Goldberg <jody@gnome.org>
* tests/test-msole1.c (test) : why did I add that limitation ?
2002-08-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-output.c (gsf_output_is_closed) : forgot to implement.
2002-08-02 Jody Goldberg <jody@gnome.org>
* configure.in : bump version
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_finalize) : add a safety
to close the file before finalizing.
* gsf/gsf-output.c (gsf_output_finalize) : add a warning when
finalizing an unclosed stream.
(gsf_output_init) : init the new is_closed flag.
2002-08-02 Rodrigo Moya <rodrigo@gnome-db.org>
* gsf/gsf-io-context.c: removed progress_min and progress_max, since
they don't seem too useful right now (ie, let's keep it simple).
(gsf_io_context_clear): free progress_ranges list and initialize
progress-related internal values.
(gsf_io_context_update_progress): implemented.
(gsf_io_context_class_init): added "progress" signal to class.
2002-08-01 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/Makefile.am (HTML_DIR) : conditionally define.
* doc/gsf-docs.sgml : tidy up.
2002-07-27 Dom Lachowicz <cinamod@hotmail.com>
* MAINTAINERS : add myself
* gsf-metadata-bag.[ch] : add cardinatliy (size) method
2002-07-26 Dom Lachowicz <cinamod@hotmail.com>
* gsf-output-bonobo.[ch]: implement output stream (untested)
2002-07-26 Dom Lachowicz <cinamod@hotmail.com>
* gsf-meta-keys.h: list of default/builtin keys that we will want
to support
* gsf-metadata-bag.[ch]: add key creation and manipulation
functions, update TODO list
2002-07-26 Dom Lachowicz <cinamod@hotmail.com>
* gsf-metadata-bag.c: implement (untested)
2002-07-25 Dom Lachowicz <cinamod@hotmail.com>
* gsf-input-gnomevfs.[ch]: implement (untested)
* gsf-output-gnomevfs.[ch]: implement (untested)
* gsf-output-memory.[ch]: implement (untested)
2002-07-22 Zbigniew Chyla <cyba@gnome.pl>
* gsf-input-gnomevfs.c (struct _GsfInputGnomeVFS):
Added missing semicolon at the end of struct.
2002-07-21 Jody Goldberg <jody@gnome.org>
* Release 1.1.0
2002-07-17 Jody Goldberg <jody@gnome.org>
* gsf/gsf-utils.c (gsf_mem_dump) : tweak.
2002-07-15 Morten Welinder <terra@diku.dk>
* gsf/gsf-infile-msole.c (gsf_infile_msole_dup): Don't ignore err
-- that will crash the caller.
* gsf/gsf-input-memory.c (gsf_input_mmap_new): Plug file
descriptor leaks.
2002-07-09 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input.c (gsf_input_dup) : avoid leak if derived dup has
already assigned a name.
2002-07-08 Jody Goldberg <jody@gnome.org>
* tests/test-cp-msole.c (test) : simplify.
2002-07-08 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_new) : doh!
fix the header to include the correct small block shift.
2002-07-08 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c (ole_name_cmp) : new.
(gsf_outfile_msole_new_child) : order the names correctly.
(gsf_outfile_msole_close) : write meta bats.
* gsf/gsf-msole-impl.h : add OLE_HEADER_METABAT_SIZE.
* gsf/gsf-infile-msole.c (ole_init_info) : use it here.
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_close) : and here.
2002-07-07 Jody Goldberg <jody@gnome.org>
* gsf/Makefile.am : Make gsf-impl-utils.h public
2002-07-06 Jody Goldberg <jody@gnome.org>
* gsf/gsf-msole-impl.h : pull in more information. We may not need it
but it makes for better documentation than 'unknown'
2002-07-06 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c : initial implementation.
* gsf/gsf-outfile.c : initial implementation.
* gsf/gsf-output.c : initial implementation.
2002-07-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_dirent_new) : be more anal in case the
input file has a cycle.
2002-07-03 Jody Goldberg <jody@gnome.org>
* tests/test-textline.c (test) : make the compiler shut up.
2002-06-27 Morten Welinder <terra@diku.dk>
* gsf/gsf-input-gzip.c (check_header): Set header_size here.
(gsf_input_gzip_read): When allocating a buffer, allocate at least
256 bytes so we don't have to realloc all the time.
(gsf_input_gzip_read): Handle truncated streams.
* gsf/gsf-input.c (gsf_input_seek): Handle seeks that go to same
position here.
(gsf_input_uncompress): Reorganise a bit.
* gsf/gsf-infile-msole.c (ole_dirent_free): Actually free the
dirent. And the list of children.
2002-06-27 Morten Welinder <terra@diku.dk>
* gsf/gsf-input-gzip.c (gsf_input_gzip_read): Exit on error.
* gsf/gsf-infile-msole.c (ole_init_info): Always set error info.
* configure.in (LIBGSF_LIBS): Include the Bonobo libs.
* tests/test-msole2.c (test): Plug leak. Uncompress source.
* gsf/gsf-input.c (gsf_input_uncompress): New function.
* gsf/gsf-input-gzip.c (gsf_input_gzip_finalize): Plug leak.
2002-06-27 Jon K Hellan <hellan@acm.org>
* gsf/gsf-input-bonobo.c: Actually check in the stuff mentioned
yesterday.
2002-06-27 Morten Welinder <terra@diku.dk>
* gsf/gsf-input-gzip.c (gsf_input_gzip_seek): Attempt
implementation.
* gsf/gsf-input.c (gsf_input_seek): Make pos an off_t.
2002-06-26 Jon K Hellan <hellan@acm.org>
* gsf/gsf-input-bonobo.c (struct _GsfInputBonobo): Replace stream
attribute with GsfSharedBonoboStream * 'shared'. Add 'pos'
attribute.
(gib_synch_shared_ptr): New helper function. Seek the shared
stream if necessary.
(gsf_input_bonobo_new): Probably better to free the exceptions
*after* retrieving the exception texts. Initialize 'shared'.
(gsf_input_bonobo_finalize): unref 'shared'.
(gsf_input_bonobo_dup): Implement.
(gsf_input_bonobo_read): Use shared stream. Use
gib_synch_shared_ptr to seek first if necessary.
(gsf_input_bonobo_seek): Ditto.
(gsf_input_bonobo_init): Initialize 'shared'.
* gsf/gsf-shared-bonobo-stream.[ch]: new helper class for bonobo
stream IO. Lets us dup the streams.
* gsf/Makefile.am: added new files.
2002-06-26 Morten Welinder <terra@diku.dk>
* configure.in: If needed, define __EXTENSIONS__.
2002-06-26 Jon K Hellan <hellan@acm.org>
* gsf/gsf-input-bonobo.c: Include bonobo-persist-stream.h
(gsf_input_bonobo_read): Silence warning.
2002-06-25 Jon K Hellan <hellan@acm.org>
* configure.in: New flag --with-bonobo
* gsf/Makefile.am (INCLUDES): added new files.
* gsf/gsf-input-bonobo.[ch]: new class for bonobo stream IO.
2002-06-25 Rodrigo Moya <rodrigo@gnome-db.org>
* gsf/gsf-io-context.[ch]: new class for managing IO contexts.
* gsf/Makefile.am: added new files.
2002-06-24 Jody Goldberg <jody@gnome.org>
* python/Makefile.am : pyexec is not available in automake-1.4.
nor is nodist_.
* acinclude.m4 : something was still interpretting the AC_REQUIRE even
though ti was commented out. change case and comment for now to
avoid problems.
2002-06-23 Jon K Hellan <hellan@acm.org>
* acinclude.m4: Comment out everything.
2002-06-21 Jody Goldberg <jody@gnome.org>
* configure.in : uncomment the AM_CONDITIONAL for WITH_PYTHON
2002-06-21 Jon K Hellan <hellan@acm.org>
* acinclude.m4: Add it. It provides AM_CHECK_PYTHON_HEADERS.
2002-06-20 Morten Welinder <terra@diku.dk>
* gsf/gsf-outfile-msole.c (gsf_outfile_msole_new_child): Add
missing arg.
2002-06-20 Jon K Hellan <hellan@acm.org>
* configure.in: Add support for building Python bindings, but
comment it out because it requires automake1.5.
* Makefile.am: Build python subdir if WITH_PYTHON is set.
2002-06-18 Rui M. Seabra <rms@1407.org>
* libgsf-1.spec.in : set permission correctly
fix common mistake of Copyright flag into License flag.
2002-06-18 Jody Goldberg <jody@gnome.org>
* configure.in : lower the libxml version req
2002-06-17 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile.c (gsf_outfile_new_child) : adjust signature to
include 'is_dir'
2002-06-15 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input.c (gsf_input_eof) : fix docs.
* gsf/gsf-utils.c (gsf_mem_dump) : use size_t.
2002-06-13 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-textline.c (gsf_input_textline_ascii_gets) : implement.
(gsf_input_textline_utf8_gets) : pretend to implement.
2002-06-13 Jody Goldberg <jody@gnome.org>
* Makefile.am : move the tests into a standalone dir because they are
getting irritating to build for every single library rebuild.
2002-06-13 Morten Welinder <terra@diku.dk>
* gsf/gsf-infile-msvba.c (vba_inflate): Make offset an off_t.
2002-06-13 Jody Goldberg <jody@gnome.org>
* gsf/gsf-outfile-msole.c : initial stub implementation.
* gsf/gsf-outfile.c : initial stub implementation.
* gsf/gsf-output-stdio.c : initial stub implementation.
* gsf/gsf-output.c : initial stub implementation.
2002-06-13 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msvba.c (vba_inflate) : cleanup.
2002-06-13 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.h (GSF_OLE_GET_GUINT{8,16,32}) : move to
gsf-utils and rename.
* gsf/gsf-input-memory.c (gsf_input_memory_dup) : silence warning.
(gsf_input_mmap_new) : fix the no mmap case.
2002-06-12 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msvba.c (vba_inflate) : store the uncompressed
result.
(vba_dirent_read) : new. We can now lookup the correct offsets for
the compressed source. The question remaining is how to fin the
start of the dir table ...
2002-06-12 Rodrigo Moya <rodrigo@gnome-db.org>
* gsf/*: s/IS_GSF/GSF_IS.
2002-06-12 Jon K Hellan <hellan@acm.org>
* libgsf-1.pc.in (Requires): Add libxml-2.0
2002-06-11 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (gsf_infile_msole_read) : fix reading into an
assigned buffer for small block files.
2002-06-10 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile.c (gsf_infile_child_by_name) : typo.
2002-06-09 J.H.M. Dassen (Ray) <jdassen@debian.org>
* gsf/test-msole1.c (read_types): Casts to suppress signedness
warnings.
* gsf/gsf-input-memory.c (gsf_input_memory_read): Changed src type to
guchar.
* gsf/gsf-input-textline.c (gsf_input_textline_ascii_gets): Cast
return value.
* gsf/gsf-infile-msole.c (ole_dirent_new): Signedness fixes.
* debian/*: updated; include pkgconfig file.
2002-06-09 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msvba.c : new.
* gsf/test-msvba.c : new.
* gsf/gsf-infile.c (gsf_infile_child_by_vname) : new utility routine.
2002-06-07 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input.c (gsf_input_dup) : Add an err parameter.
2002-06-07 Morten Welinder <terra@diku.dk>
* gsf/gsf-input-stdio.c (gsf_input_stdio_new): Plug FILE* leak.
(gsf_input_stdio_dup): Go via filename.
2002-06-07 Jody Goldberg <jody@gnome.org>
* doc/Makefile.am : fix the type init function for gtk-doc.
* gsf/* : fix docs a bit.
2002-06-07 Jody Goldberg <jody@gnome.org>
* gsf/gsf-utils.c (gsf_input_dump) : new utility split out of.
* gsf/test-gzip1.c (test) : here.
* gsf/test-msole2.c (test) : spruce this up a might so that it can be
used as a general utility to dump streams and storages.
* gsf/gsf-input-stdio.c (gsf_input_stdio_dup) : dup the descriptor
before creating a new file handle.
2002-06-06 Jody Goldberg <jody@gnome.org>
* configure.in : remove -Wmissing-noreturn
* gsf/test-msole1.c (test) : remove the --use-memory bit. Just use
mmap. We can test the other input types in another program.
* gsf/*.c : change the convention for wrappers. They all add their
own references to the source rather than absorbing the ref that
was passed in.
2002-06-06 Jody Goldberg <jody@gnome.org>
* configure.in : add zlib.
* libgsf-1.pc.in (Cflags) : ditto.
* gsf/gsf-input-gzip.c : wrapper to uncompress things.
* gsf/gsf-libxml.c : some convenience routines for dealing with libxml.
* gsf/test-gzip1.c : add some tests for gzip.
2002-06-05 Morten Welinder <terra@diku.dk>
* gsf/*.[ch]: switch to using system types.
2002-06-05 Jon K Hellan <hellan@acm.org>
* gsf/Makefile.am: Fix typo - libgsf_1_includedir didn't get defined.
2002-06-05 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-memory.c (gsf_input_mmap_new) : set the filename.
2002-06-04 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input.c (gsf_input_eof) : do this internally.
* gsf/gsf-input* : remove the _eof methods.
2002-06-04 Morten Welinder <terra@diku.dk>
* gsf/gsf-input-impl.h (GsfInputClass): Change structure members
from "read" to "Read", etc. This avoids names reserved by the
system libraries.
2002-06-04 Morten Welinder <terra@diku.dk>
* gsf/test-msole1.c (test): Add --memory option.
* gsf/gsf-shared-memory.c: New class.
* gsf/gsf-input-memory.c (gsf_input_memory_new): Use new
GsfSharedMemory class.
(gsf_input_memory_read): Add missing parameter.
2002-06-01 Jody Goldberg <jody@gnome.org>
* gsf/Makefile.am : Add gsf-input-textline.[ch]
Add gsf-libxml.[ch]
2002-05-30 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-stdio.h : fix the name mismatch.
2002-05-28 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input.c (gsf_input_seek) : doh!
2002-05-28 Morten Welinder <terra@diku.dk>
* gsf/gsf-infile-msole.c (ole_make_bat): Cast via gconstpointer to
please gcc.
* gsf/gsf-infile-msole.h (GSF_OLE_GET_GUINT8, GSF_OLE_GET_GUINT16,
GSF_OLE_GET_GUINT32): fix alignment problems.
* gsf/test-msole1.c (read_types): Fix isspace usage.
2002-05-27 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c : add some prepoc constants to prep for
export support.
2002-05-25 Jody Goldberg <jody@gnome.org>
* README : add more details
2002-05-25 Jody Goldberg <jody@gnome.org>
* gsf/test-msole1.c (get_biff_opcode_name) : suppress warning.
* gsf/gsf-input-memory.c (gsf_input_mmap_new) : ensure it is a regular
file.
* configure.in : remove -Wundef to shut it up about glib.
remove -Wcast-qual because we sometimes need to explicitly cast away
const. C does not have const_cast<>().
2002-05-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-impl-utils.h (GSF_CLASS_FULL) : suppress warning.
* gsf/gsf-infile-msole.c (ole_dirent_new) : disable debug spew.
(ole_init_info) : suppress bogus compile warning.
Use gsf_ole_get_guint32s to convert the data to normal endianness.
(gsf_ole_get_guint32s) : new.
(ole_info_read_metabat) : assume the metabat is already uses native
byte ordering.
* gsf/gsf-input.c (gsf_input_seek) : suppress warning.
(gsf_input_dup) : ditto.
(gsf_input_init) : ditto.
2002-05-25 J.H.M. Dassen (Ray) <jdassen@debian.org>
* configure.in:
Actually use warning flags from GNOME_COMPILE_WARNINGS, so
"--enable-warnings=maximum" and "--with-iso-c" are honoured.
Test whether defining _BSD_SOURCE is needed for caddr_t.
(e.g. on Debian with -ansi for gcc3.0 and 3.1)
Test whether defining _POSIX_SOURCE is needed for fdopen().
Enable a lot more warnings.
* debian/rules: minor tweaks.
2002-05-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input.c (gsf_input_seek) : more error checking.
2002-05-25 Jody Goldberg <jody@gnome.org>
* gsf/test-msole1.c (test) : dump head of odd records.
* gsf/gsf-input.c (gsf_input_seek) : do more of the work up here.
* gsf/gsf-infile-msole.c (gsf_infile_msole_seek) : adjust here.
* gsf/gsf-input-stdio.c (gsf_input_stdio_seek) : and here.
* gsf/gsf-input-memory.c (gsf_input_memory_seek) : and here.
2002-05-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_dirent_new) : fix off by 1 error in
handling broken ascii stream names.
2002-05-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_init_info) : libole2 knew about a smidge
more of the ole header, use the sbat counter.
* gsf/test-msole1.c (test) : even more sanity checking.
2002-05-25 Jody Goldberg <jody@gnome.org>
* gsf/test-msole1.c (test) : add more safety checks to automate
validation of imported biff records.
* gsf/gsf-infile-msole.c (ole_dirent_new) : Based on char-width2.xls
it looks like directory sizes are periodically screwed.
2002-05-25 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c : fix small block support.
Handle the bogus use of ascii stream names in some case.
2002-05-24 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-stdio.c (gsf_input_stdio_new) : merge the size
checking in here and do more error reporting.
(gsf_input_stdio_class_init) : delete gsf_input_stdio_size
(gsf_input_stdio_size) : delete.
* gsf/gsf-input.c (gsf_input_read) : put the bound check here.
2002-05-24 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-stdio.c (gsf_input_stdio_new) : make buf_size unsigned.
(gsf_input_stdio_finalize) : and here.
(gsf_input_stdio_read) : and here.
* gsf/gsf-input.c (gsf_input_seek) : As morten suggested this is
better as > size rather than >= size.
2002-05-24 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (gsf_infile_msole_read) : only seek if we
need to.
2002-05-24 Jody Goldberg <jody@gnome.org>
* gsf/test-msole1.c (test) : more debug info, and less content spew.
2002-05-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-input-stdio.c (gsf_input_stdio_size) : be more careful about
people who open devices.
2002-05-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_dirent_new) : more error handling.
(ole_info_get_sb_file) : make things more readable and split this out.
(gsf_infile_msole_new_child) : fix reading small blocks.
2002-05-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.h (GSF_OLE_GET_GUINT8) : move here.
(GSF_OLE_GET_GUINT16) : ditto.
(GSF_OLE_GET_GUINT32) : ditto.
2002-05-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-utils.h : Use the glib type macros instead of defining our
own.
2002-05-23 J.H.M. Dassen (Ray) <jdassen@debian.org>
* doc/Makefile.am: Introduced DOC_DIR so the location can be easily
overridden when building packages.
* debian/*: Preliminary Debian packaging.
2002-05-23 Jody Goldberg <jody@gnome.org>
* gsf/gsf-infile-msole.c (ole_info_read_xbat) : DOH!
We need to check endianness when reading the bat elements.
(gsf_infile_msole_read) : slow but effective work around for
breaking at block boundaries. I'll work up something faster this
evening.
2002-05-19 Jody Goldberg <jody@gnome.org>
* Start making this into a real package.
|