1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834
|
2009-04-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_save_as_jpeg):
* src/dlg-bookmarks.c: (dlg_edit_bookmarks):
* src/dlg-catalog.c: (dlg_add_to_catalog),
(dlg_move_to_catalog_directory):
* src/dlg-comment.c: (dlg_comment_new):
* src/dlg-duplicates.c: (dlg_duplicates):
* src/dlg-png-exporter.c: (dlg_png_exporter_pref):
Plugged a variety of small memory leaks, detected using
"cppcheck -q -a -f .". Bug #578282.
2009-04-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/gthumb-import.desktop.in:
The existing import scripts did not properly unmount gvfs-mounted
cameras. Gnome bug #560352, Ubuntu bug #351122.
2009-04-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_tools.glade:
Made the OK button the default widget in the rename dialog.
2009-02-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gfile-utils.c: (gfile_get_file_mime_type):
Fixed bug #572498 - don't forget to return the result!
Patch by Matthias Hawran <matthias@hawran.net>.
2009-02-19 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: Store keywords in XMP
metadata by default, instead of IPTC. Bug #572424.
Patch by Jef Driesen <jefdriesen@hotmail.com>.
2009-02-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/image-loader.c: (image_loader_finalize__step2),
(image_loader_finalize):
Fixed bug #570473, gthumb write to freed memory.
Patch by Jerry Tan <jerry.tan@sun.com>.
2009-02-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser.c: (menu_item_select_cb):
* src/gth-viewer.c: (menu_item_select_cb):
Fixed bug #568894 - use gtk_widget_get_action (foo), instead of
g_object_get_data (foo, "gtk-action").
2009-02-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gtk-utils.c: (panel_find_icon):
Fix a possible crash. Patch taken from Fedora 2.10.10 source rpm,
which I don't recall seeing upstream...
2009-01-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gfile-utils.c: (gfile_xfer):
Use G_FILE_COPY_TARGET_DEFAULT_PERMS (if glib >= 2.19.0)
so that copied/moved files receive the default permissions
for the user (respecting the umask and any directory setgid bits)
rather than trying to copy the old permissions.
2009-01-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/gthumb-import.desktop.in:
Change the comment field too, following up on the last change.
2009-01-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/gthumb-import.desktop.in:
Give the photo-import desktop file different name parameters, so
that users can distinguish it from the normal desktop file.
Ubuntu bug http://bugs.launchpad.net/bugs/318694.
2009-01-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-utils.c: (gthumb_display_help):
* src/catalog-web-exporter.c: (export__final_step),
(export__copy_to_destination__step2):
* src/dlg-file-utils.c: (set_error_from_vfs_result),
(real_files_delete__continue2), (real_files_delete__continue),
(file_move_ask__continue), (file_copy_ask__continue),
(dlg_file_rename_series), (file_copy_data_free),
(file_copy__continue_or_abort__response_cb),
(continue_or_abort_dialog), (files_copy__done),
(file_progress_update_cb), (xfer_file), (copy_current_file),
(copy_next_file), (dlg_files_copy), (dlg_files_move_to_trash),
(file_delete_data_free), (files_delete__done),
(file_delete_progress_update_cb), (dlg_files_delete),
(folder_copy_data_free), (folder_progress_update_cb),
(folder_copy), (dlg_folder_move_to_trash), (copy_item__continue2),
(item_copy__continue_or_abort__response_cb),
(copy_item__continue1), (copy_current_item), (dlg_copy_items):
* src/dlg-file-utils.h:
* src/dlg-write-to-cd.c: (write_to_cd__continue):
* src/gth-browser-actions-callbacks.c: (show_folder),
(folder_delete__continue2), (folder_delete__continue),
(folder_copy__continue):
* src/gth-browser.c: (move_items__continue):
Isolate gnome_vfs code in dlg-file-utils by adding a gerror wrapper.
Patch by Christophe Bisière. Bug #525482.
2009-01-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/image-viewer.c: (load_image__step2):
Simplify the previous commit, by not duplicating the already existing
FileData.
2009-01-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/image-viewer.c: (load_image__step2):
Fixed crash due to unitialized FileData introduced in the refactoring
of the image viewer (see bug #501512). Patch by Christophe Bisière.
Bug #566377.
2009-01-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (dir_make), (dir_remove):
* libgthumb/gconf-utils.c: (eel_gconf_set_string_list),
(eel_gconf_get_string_list):
* src/dlg-web-exporter.c: (theme_dialog__go_to_folder_clicked):
Add "=NULL" to "GError *error" declarations to initialize properly.
Expanded version of patch by Christophe Bisière. Bug #566421.
* libgthumb/gth-utils.c: (gthumb_display_help):
Reformat the GError initialization in the more usual form.
2008-12-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/image-loader.c: (image_loader_init):
* libgthumb/image-loader.h:
* src/gthumb-preloader.c: (gthumb_preloader_load__step2):
Removed the unusued "priority" variable in the image loader, which
also permitted the removal of the gnomevfs code in the image loader.
2008-12-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/dlg-save-image.c: (save_image), (file_save_ok_cb),
(dlg_save_image_as), (dlg_save_image):
The metadata copying wasn't working quite right in the "Save As" case,
because the original uri wasn't forwarded to the metadata copying
routine. Fixed now.
2008-12-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (get_file_mime_type):
GFileInfo doesn't work for non-existent files, so we have to use
g_content_type_guess to determine the mime type based on a proposed
filename.
2008-12-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (get_filename_extension),
(get_temp_file_name), (get_cache_full_path),
(get_cache_filename_from_uri):
* libgthumb/file-utils.h:
* libgthumb/gfile-utils.c: (gfile_get_file_mime_type):
* libgthumb/gfile-utils.h:
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev):
* src/dlg-photo-importer.c: (valid_mime_type),
(load_images_preview__step):
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_file_print):
Use the gfile functions to determine the file extension. Return the
extension as a char*, rather than const char*. Treat the dot before
the extension more consistently.
2008-12-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (update_and_save_metadata):
Migrated permissions-copying code from gnomevfs to gfile.
2008-12-26 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/C/gthumb.xml:
* src/dlg-scripts.c:
Fixed default launch-with-gimp hotkey to launch gimp in the
background. Bug #565708.
2008-12-24 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gfile-utils.c: (gfile_get_display_name):
* libgthumb/gfile-utils.h:
* src/dlg-web-exporter.c: (add_theme_dir),
(theme_dialog__install_theme_clicked):
More gfile migration and gnomevfs purging.
2008-12-24 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-web-exporter.c: (theme_present):
Simplify theme_present and use gfile-based functions.
2008-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c:
* libgthumb/file-utils.h:
Deleted unused functions: get_file_path_from_uri,
get_catalog_path_from_uri, get_search_path_from_uri,
remove_scheme_from_uri, new_path_from_uri.
2008-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c:
* libgthumb/file-utils.h:
Removed an unused function (checksum_simple).
2008-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (load_info):
Removed obsolete comment.
* libgthumb/file-utils.c: (get_file_mtime), (get_file_ctime),
(set_file_mtime):
Migrated these functions to gfile.
2008-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (get_mime_type_from_ext):
* libgthumb/file-utils.h:
* src/dlg-image-prop.c: (update_general_info):
* src/dlg-open-with.c: (dlg_open_with):
Remove the gnome-vfs mimetype detection routine, and replace
it with the existing gfile-based one.
2008-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.h:
* libgthumb/file-utils.c: (dir_make)
Ported to gfile. Also, use default umask rather than specifying one.
* (dir_remove),
(dir_remove_recursive), (ensure_dir_exists):
Rename file -> gfile for clarity.
* src/catalog-web-exporter.c: (save_image_preview_cb):
Fixed a crash-causing typo.
* src/dlg-catalog.c: (new_dir_cb):
* src/dlg-web-exporter.c: (ensure_local_theme_dir_exists):
* src/gth-browser-actions-callbacks.c:
(create_new_folder_or_library):
Use the umask-less version of dir_make.
2008-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (load_info):
Turn off verbose error reports.
* libgthumb/file-utils.c: (can_read_write_execute):
* libgthumb/file-utils.h:
* src/dlg-file-utils.c: (dlg_check_folder):
* src/dlg-photo-importer.c: (ok_clicked_cb):
Convert gnomevfs-based check_permissions to gfile-based
can_read_write_execute.
2008-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/bookmarks.c:
* libgthumb/catalog.c:
Deleted some unused #defines.
2008-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/dlg-save-image.c:
* libgthumb/glib-utils.c:
* libgthumb/image-viewer.c:
* libgthumb/print-callbacks.c:
* src/catalog-list.c:
* src/dlg-brightness-contrast.c:
* src/dlg-change-date.c:
* src/dlg-color-balance.c:
* src/dlg-convert.c:
* src/dlg-hue-saturation.c:
* src/dlg-jpegtran.c:
* src/dlg-posterize.c:
* src/dlg-preferences.c:
* src/dlg-reset-exif.c:
* src/dlg-scale-image.c:
* src/dlg-scale-series.c:
* src/gth-category-selection-dialog.c:
* src/gth-folder-selection-dialog.c:
Removed some unused gnome-vfs includes.
2008-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (load_info):
Load the fast mime_type initially.
* libgthumb/file-utils.c: (path_list_new),
(visit_rc_directory_sync), (free_cache), (check_cache_free_space):
Use the new gfile_path_list_new, and fix a small memory leak.
* libgthumb/gfile-utils.c: (gfile_path_list_new):
* libgthumb/gfile-utils.h:
Add a gfile version of path_list_new, as part of the gio porting.
2008-12-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* many files: Ported file-data.c from gnome_vfs to gfile.
Simplified file-data.c slightly and removed some redundant functions.
2008-12-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/dlg-save-image.c: (save_image):
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev),
(_gdk_pixbuf_save):
* libgthumb/pixbuf-utils.h:
* src/catalog-web-exporter.c: (save_thumbnail_cb),
(save_image_preview_cb), (save_resized_image_cb):
* src/dlg-convert.c: (save_image_and_remove_original):
* src/gth-batch-op.c: (pixbuf_op_done_cb):
* src/rotation-utils.c: (apply_transformation_generic):
When saving a file, specify the original file from which metadata
should be copied. The previous commit had a flaw where if you saved
a pixbuf to overwrite already-existing file, the metadata from the
existing file was copied into the new file. This commit fixes that.
2008-12-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev):
Fixed metadata saving with exiv2 0.18. When saving an edited pixbuf,
first try copying the metadata from a backup copy of the original
file. If that fails, copy from the internal metadata glist, which is
less robust, because it does not contain variable-typing data.
2008-12-19 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* README:
* configure.in:
* libgthumb/gth-exiv2-utils.cpp:
Adapt to exiv2 0.18, which has API changes. Metadata writing is
partly broken, so don't use trunk for editing until that is fixed.
Working on it!
2008-12-18 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/comments.c: (load_comment_from_xml), (save_comment):
Fixed XML comment reading. Bug #563956. Modified version of
patch by Jef Driesen <jefdriesen@hotmail.com>.
2008-12-17 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/catalog.h:
* libgthumb/cursors.c:
* libgthumb/dlg-save-image.h:
* libgthumb/eel-canvas-rect.c:
* libgthumb/file-utils.c:
* libgthumb/gth-file-view.h:
* libgthumb/gth-image-list.c:
* libgthumb/gth-image-list.h:
* libgthumb/gth-iviewer.h:
* libgthumb/gth-nav-window.h:
* libgthumb/image-loader.c:
* libgthumb/image-loader.h:
* libgthumb/image-viewer-image.h:
* libgthumb/image-viewer.c:
* libgthumb/image-viewer.h:
* libgthumb/nav-window.h:
* libgthumb/preferences.h:
* libgthumb/print-callbacks.c:
* libgthumb/thumb-loader.c:
* src/bookmark-list.h:
* src/catalog-list.h:
* src/catalog-png-exporter.c:
* src/catalog-png-exporter.h:
* src/catalog-web-exporter.h:
* src/dlg-open-with.h:
* src/gth-batch-op.h:
* src/gth-browser-actions-callbacks.h:
* src/gth-category-selection-dialog.h:
* src/gth-exif-data-viewer.h:
* src/gth-filter-bar.h:
* src/gth-folder-selection-dialog.h:
* src/gth-fullscreen-actions-callbacks.h:
* src/gth-location.c:
* src/gth-location.h:
* src/gth-viewer-actions-callbacks.h:
* src/gth-window-actions-callbacks.h:
* src/gth-window.h:
* src/gtkcellrendererthreestates.c:
* src/gtkcellrendererthreestates.h:
Cleaned up gtk and glib includes to use only toplevel headers.
Bug #564298. Patch by Przemysław Grzegorczyk
<pgrzegorczyk@gmail.com>.
2008-12-16 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* configure.in:
* src/Makefile.am:
* src/gs-fade.c:
* src/gth-application.c:
* src/gth-browser-ui.h:
* src/gth-browser.c: (gth_browser_construct):
* src/totem-scrsaver.c:
Provide support for the Mac OS X menubar. Bug #554240. Modified
version of the patch by W. Michael Petullo <mike@flyn.org>.
Also, define the HAVE_GDKX macro properly so it really works.
2008-11-17 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/gth-filter.c (test_keywords):
Fixed bug #560055 – filter problems
2008-11-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* configure.in:
* libgthumb/eel-canvas-rect.c:
* libgthumb/gth-image-list.c:
* src/gth-application.c: (show_grabbing_focus):
* src/gth-fullscreen.c: (gth_fullscreen_finalize),
(gth_fullscreen_init), (gth_fullscreen_show),
(gth_fullscreen_pause_slideshow):
* src/totem-scrsaver.c:
* src/totem-scrsaver.h:
Modified the build files to better support gtk on MAC OS / Quartz.
Bug #551225. Based on a patch by W. Michael Petullo <mike@flyn.org>.
2008-11-12 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/Makefile.am:
* data/gthumb-import.desktop.in:
* data/gthumb.desktop.in:
Added a new gthumb-import.desktop.in file to handle gvfs-mounted
cameras more elegantly. The camera is first unmounted, and the
libgphoto import routines are then run. Merged from Ubuntu.
Bug #560352. Patch by Martin Pitt <martin.pitt@canonical.com>.
2008-11-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_convert.glade:
* data/glade/gthumb_crop.glade:
* data/glade/gthumb_edit.glade:
* data/glade/gthumb_png_exporter.glade:
* data/glade/gthumb_preferences.glade:
* data/glade/gthumb_print.glade:
* data/glade/gthumb_redeye.glade:
* data/glade/gthumb_tools.glade:
* data/glade/gthumb_web_exporter.glade:
Set pagesize adjustment to zero for spinbuttons, to avoid annoying
warnings. Bug #557640. Trunkified version of the patch by
Matthias Clasen <mclasen@redhat.com>.
2008-10-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/C/figures/main-win.png:
Improved screenshot by Bryan Quigley <gQuigs@gMail.com>.
Bug #557339.
2008-10-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/C/gthumb.xml: Fixed typos in the manual. Bug #557233. Patch
by Christian Kirbach <Christian.Kirbach@googlemail.com>.
2008-10-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/C/figures/main-win.png:
Replaced obsolete screenshot with a more recent one provided
by Bryan Quigley <gQuigs@gMail.com>. Bug #557339.
2008-10-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-photo-importer.c: (destroy_cb), (save_image),
(ok_clicked_cb):
Go to the last-used subfolder (instead of the base folder) after
importing photos, when the group-into-subfolders mode is used.
2008-10-08 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* doc/C/gthumb.xml:
* src/dlg-preferences.c: (dlg_preferences):
* src/gth-browser.c: (key_press_cb):
The "g" key now launches the "gimp" command, instead of the
deprecated "gimp-remote" command. Bug #555549.
2008-09-20 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/file-utils.c (mime_type_is_image):
Do not exclude xcf images.
* src/gth-dir-list.h:
* src/gth-dir-list.c:
* src/gth-browser.c:
* libgthumb/preferences.h:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c:
* libgthumb/catalog.c:
* data/gthumb.schemas.in:
Added ability to hide video and audio files, using the gconf key
/apps/gthumb/browser/show_only_images.
* COPYING: new file.
Fixes bug #552453 – gthumb 2.10.9 contains COPYING for GPL v3
2008-09-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/image-loader.c: (image_loader_set_pixbuf)
Allow setting the pixbuf to NULL.
* libgthumb/image-viewer-image.c: (create_pixbuf_from_iter),
(image_viewer_image_new), (pixbuf_to_surface):
* libgthumb/image-viewer.c: (set_pixbuf__step2),
(image_viewer_set_pixbuf), (image_viewer_set_void):
Avoid dereferencing NULL pointers.
Fixes regression from bug #501512. Patch by
Geoffrey Antos <dynamotwain@aim.com>.
2008-09-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/catalog-png-exporter.c:
* src/main.c:
Remove unnecessary gdkx.h includes. Bug #551225.
2008-09-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/catalog.c: (catalog_load_from_disk__common):
Call g_propagate_error only when there is an error, to reduce
needless warnings. Patch by Geoffrey Antos <dynamotwain@aim.com>.
From bug #525482.
2008-09-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/gthumb.desktop.in: Removed deprecated "Encoding" directive.
Bug #549993. Patch by Pacho Ramos <pacho@condmat1.ciencias.uniovi.es>.
2008-08-21 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gfile-utils.c:
Ran "astyle --style=linux" to tidy up the code. No functional changes.
2008-08-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/bookmarks.c: (bookmarks_write_to_disk):
* libgthumb/catalog.c: (catalog_write_to_disk):
* libgthumb/file-utils.c: (dir_remove), (file_unlink),
(get_file_mime_type), (image_is_jpeg), (image_is_gif):
* libgthumb/gfile-utils.c: (gfile_warning),
(gfile_get_filename_extension), (gfile_get_file_mime_type),
(_gfile_image_is_type), (_gfile_image_is_type__gconf_file_type),
(gfile_image_is_jpeg), (gfile_image_is_gif), (gfile_is_filetype),
(gfile_get_file_size), (_gfile_make_directory_tree),
(gfile_ensure_dir_exists), (_gfile_ith_temp_folder_to_try),
(gfile_get_temp_dir_name), (_gfile_delete_directory_recursive),
(gfile_dir_remove_recursive), (gfile_output_stream_write),
(gfile_output_stream_write_line):
* libgthumb/gfile-utils.h:
* src/albumtheme.c: (yyparse):
* src/albumtheme.l:
* src/albumtheme.y:
* src/catalog-web-exporter.c: (_write_line), (_write_locale_line),
(write_line), (write_markup_escape_line),
(write_markup_escape_locale_line), (gth_parsed_doc_print),
(gfile_parsed_doc_print), (save_html_image_cb),
(save_html_index_cb), (export__copy_image), (get_parsed_file),
(parse_theme_files):
* src/lex.albumtheme.c:
Greater use of g_output_stream_write. Use gfile-based mime-type
detection. Patch by Christophe Bisière. Bug #525482.
2008-08-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* configure.in: Added AC_PROG_CXX to fix bug #547803.
Patch by Christophe Bisière.
2008-08-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (get_destination_free_space):
Don't put the free space into a gboolean. That's only suitable for
1-bit storage systems. guint64 is more capacious.
2008-08-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/catalog.c: (catalog_load_from_disk__common),
(catalog_write_to_disk):
gfile migration. Bug #525482. Purged gnome_vfs from catalog code.
* src/dlg-catalog.c: (add_to_catalog__ok_cb):
* src/gth-browser.c: (catalog_activate),
(add_image_list_to_catalog):
* src/gth-window-utils.c: (remove_files_from_catalog):
Initialize gerror to NULL.
2008-08-12 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/bookmarks.c: (bookmarks_load_from_disk),
(bookmarks_write_to_disk):
Added better error reporting.
2008-08-12 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/bookmarks.c:
Remove unused macro, MAX_LINE_LENGTH.
2008-08-12 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/bookmarks.c: (bookmarks_load_from_disk),
(bookmarks_write_to_disk):
* libgthumb/gfile-utils.c: (gfile_output_stream_write_line):
* libgthumb/gfile-utils.h:
gfile migration. Bug #525482. Purged gnome_vfs from bookmark code.
2008-08-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (obtain_local_file):
* libgthumb/file-utils.h:
* libgthumb/gth-exif-utils.c: (update_and_save_metadata):
More gfile migration by Christophe Bisière. Bug #525482.
Replace gnome_vfs_xfer_uri with file_copy in the local cache code.
2008-08-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (xfer_file), (file_rename):
* libgthumb/file-utils.h:
* libgthumb/gfile-utils.c: (gfile_warning),
(_empty_file_progress_cb), (gfile_xfer), (gfile_copy),
(gfile_move):
* libgthumb/gfile-utils.h:
* src/dlg-file-utils.c: (dlg_file_rename_series):
* src/gth-browser-actions-callbacks.c: (catalog_rename),
(folder_rename), (folder_copy__response_cb):
More gfile migration by Christophe Bisière. Bug #525482.
Migrated simple (synchronous) file transfer bits of code.
* src/catalog-web-exporter.c: (export__save_other_files),
(export__copy_image):
Purged more gnome-vfs bits from the web exporter.
2008-08-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (dir_remove_recursive),
(ensure_dir_exists), (xfer_file), (local_file_move), (file_rename),
(path_is_file), (path_is_dir), (get_file_size),
(get_destination_free_space):
* libgthumb/gfile-utils.c: (gfile_debug), (gfile_warning),
(gfile_new), (gfile_new_va), (gfile_append_path), (gfile_is_local),
(gfile_get_home_dir), (gfile_get_tmp_dir),
(gfile_make_temp_in_dir):
* libgthumb/gfile-utils.h:
* src/catalog-web-exporter.c: (gfile_get_style_dir),
(catalog_web_exporter_finalize), (catalog_web_exporter_init),
(catalog_web_exporter_set_style),
(catalog_web_exporter_set_location), (get_album_file),
(get_image_file), (export__save_other_files), (parse_theme_files),
(ensure_album_dir_exists), (catalog_web_exporter_export):
* src/catalog-web-exporter.h:
More gfile migration by Christophe Bisière. Bug #525482. Most
notably, added gfile_new and gfile_new_va to elegantly construct
gfiles from paths / uris.
2008-08-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (dir_remove_recursive),
(local_dir_remove_recursive), (ensure_dir_exists), (path_is_file),
(path_is_dir), (get_file_size), (get_temp_dir_name),
(get_destination_free_space):
* libgthumb/file-utils.h:
* libgthumb/gfile-utils.c: (gfile_get_uri), (gfile_get_path),
(gfile_warning), (gfile_is_filetype), (gfile_path_is_file),
(gfile_path_is_dir), (gfile_get_file_size), (make_directory_tree),
(gfile_ensure_dir_exists), (gfile_is_local),
(gfile_get_destination_free_space), (gfile_get_home_dir),
(gfile_get_tmp_dir), (ith_temp_folder_to_try),
(gfile_make_temp_in_dir), (gfile_get_temp_dir_name),
(delete_directory_recursive), (gfile_dir_remove_recursive):
* libgthumb/gfile-utils.h:
* src/catalog-web-exporter.c: (gfile_get_relative_uri),
(gfile_get_relative_path), (gth_parsed_doc_print),
(export__save_other_files), (save_thumbnail_cb),
(save_html_image_cb), (save_html_index_cb),
(save_image_preview_cb), (save_resized_image_cb),
(export__copy_image), (ensure_album_dir_exists),
(ensure_dir_structure), (catalog_web_exporter_export):
More gfile migration by Christophe Bisière. Bug #525482.
The new gfile-only utility functions are going into
gfile-utils.[ch]. The old path/uri functions are being reduced
to wrappers for the new gfile functions, until they can be
purged entirely.
2008-08-09 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (get_path_relative_to_uri):
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
Fixed bug 546875 – Web exporter: attribute " relative_path" of tag
<gthumb:file_path/> does not work. Patch by Christophe Bisière.
2008-08-09 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/Makefile.am:
* libgthumb/gfile-utils.c:
* libgthumb/gfile-utils.h:
* po/POTFILES.in:
Added gfile-utils.[ch] to contain gfile utility functions.
2008-08-09 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/catalog-png-exporter.c:
* src/catalog-web-exporter.c:
* src/catalog-web-exporter.h:
Continuation of the gio migration. Christophe Bisière's updates
to the index-image and web-album exporters. Bug #525482.
2008-08-09 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/image-viewer.c: (image_viewer_size_allocate):
Make scrollbars go away in zoom-to-fit modes, regression from
bug #501512. Patch by Geoffrey Antos <dynamotwain@aim.com>.
2008-08-08 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/theme-xml.txt: Corrected theme documentation, as per
bug #546874. Patch by Christophe Bisière.
2008-08-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser.c: (ask_whether_to_save):
* src/gth-viewer.c: (ask_whether_to_save):
"Do Not Save" -> "Do _Not Save". Pulls in downstream keybinding
patch from Debian, Ubuntu. Bug #546655.
2008-08-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/image-viewer.c: (set_pixbuf__step2), (image_loaded),
(create_image):
Do not emit image_loaded signal when image_viewer_set_pixbuf is
called, fixing prompts to save modified images.
* libgthumb/image-viewer-image.c: (image_viewer_image_get_path):
Fix a NULL-dereference.
Patches by Geoffrey Antos <dynamotwain@aim.com>. Bug #501512.
2008-08-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (_empty_file_progress_cb), (xfer_file),
(file_rename), (path_exists), (copy_data_new),
(copy_file_async_done), (copy_remote_file_to_cache_done):
* libgthumb/file-utils.h:
* libgthumb/image-loader.c: (image_loader_start__step3),
(image_loader_start__step2):
* src/catalog-png-exporter.c:
(copy_current_file_to_destination_done), (begin_page), (end_page),
(paint_frame):
* src/catalog-png-exporter.h:
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
* src/dlg-convert.c: (save_image_and_remove_original_step2):
* src/dlg-file-utils.c: (dlg_file_rename_series):
* src/dlg-jpegtran.c: (apply_transformation_done),
(apply_transformation__step2), (apply_transformation),
(apply_transformation_to_all_continue),
(load_next_image_after_transformation):
* src/dlg-photo-importer.c: (async_step_done):
* src/dlg-png-exporter.c:
* src/dlg-reset-exif.c: (apply_transformation_done),
(apply_transformation__step2), (apply_transformation),
(apply_transformation_to_all_continue):
* src/gth-batch-op.c: (save_image_and_remove_original_step2):
* src/gth-browser-actions-callbacks.c: (catalog_rename),
(folder_rename), (folder_copy__response_cb):
* src/gth-browser.c: (dir_list_key_press_cb),
(dir_list_button_release_cb), (catalog_list_button_release_cb),
(key_press_cb), (viewer_drag_data_received):
* src/gth-window-actions-callbacks.c: (set_wallpaper_step_2):
* src/rotation-utils.c: (apply_transformation_jpeg):
Continuation of the gio migration. File transfers now use the gio
code. Tweaked version of Gabriel Falcão's (gabriel@nacaolivre.org)
patches from bug #525482.
2008-08-05 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/Makefile.am: added RENDER_LIBS and png to list of libraries.
Fixes bug #546383 – gthumb 2.10.9 fails to link
Patch by Götz Waschk.
2008-08-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_tools.glade:
* data/gthumb.schemas.in:
* libgthumb/async-pixbuf-ops.c: (scale_step), (_gdk_pixbuf_scale):
* libgthumb/async-pixbuf-ops.h:
* libgthumb/preferences.h:
* src/dlg-scale-series.c: (ok_cb), (dlg_scale_series):
Allow swapping of height and width during scale-series for
best fit. Bug #507216. Tweaked version of the patch by
Roman Ovseytsev <romovs@gmail.com>.
2008-08-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/theme-xml.txt:
* libgthumb/pixbuf-utils.c: (scale_keeping_ratio_min),
(scale_keeping_ratio):
* libgthumb/pixbuf-utils.h:
* src/catalog-web-exporter.c: (catalog_web_exporter_init),
(catalog_web_exporter_set_preview_min_size), (get_var_value),
(image_loader_done), (parse_theme_files):
* src/catalog-web-exporter.h:
Allow a minimum thumbnail size to be specified in the web album
exporter, to handle panoramic images better. Bug #488832.
Patch by Christophe Bisiere, based on Antoine Calando's patch.
2008-08-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/theme-xml.txt:
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
Add thumbnail and preview attributes to file_name and file_path tags
in web album exporter. Patch by Christophe Bisiere. Bug #545750.
2008-08-01 Michael J. Chudobiak <mjc@svn.gnome.org>
Merge from gthumb-2-10:
* src/gth-browser.c (window_update_sensitivity): set only_one_is_selected
when n_selected is 1 (was 0).
Fixes bug: doesn't allow to go to the image destination folder from the
catalog list.
* libgthumb/thumb-loader.c (thumb_loader_start__step2): move the
5 seconds test after the valid failed thumbnail test.
* src/dlg-search.c (directory_load_cb): update the files mime type or the
thumbnail will not be created if necessary.
* libgthumb/comments.c (save_comment): just check if data is NULL
before saving (#543771).
* src/catalog-web-exporter.c (get_var_value): check whether
ce->eval_image is NULL before using it.
(export__save_html_files): init ce->eval_image to NULL.
2008-08-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/albumtheme.l:
* src/lex.albumtheme.c:
Fix yyunput-defined-but-not-used warning.
Patch by Christophe Bisiere. Bug #543966.
2008-08-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* configure.in:
Remove checks for XF86Gamma headers and libs.
* data/gthumb.schemas.in:
Remove old fading preference from schema.
Patch by Geoffrey Antos <dynamotwain@aim.com>. Bug #501512.
2008-07-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/image-loader.c: (image_loader_set_pixbuf):
When setting a static pixbuf, free any loaded animation
as animations override static pixbufs.
* libgthumb/image-viewer-image.c: (image_viewer_image_paint):
Remove unused variable.
* libgthumb/image-viewer.c: (set_pixbuf__step2),
(image_viewer_set_pixbuf):
Fix a potential race-condition if called while still
loading an image.
Patch by Geoffrey Antos <dynamotwain@aim.com>. Bug #501512.
2008-07-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-nav-window.c: (size_changed_cb):
Remove assumptions about GtkAdjustment->lower being 0
* libgthumb/nav-window.c: (nav_window_events), (update_view):
* libgthumb/image-viewer-image.c, libgthumb/image-viewer-image.h:
Adjust [xy]-offset scales such that an offset of (0,0)
will draw the image in the center of the widget even if
widget is bigger or smaller than the image itself (important
when there are two images with different sizes on the screen at
once).
* libgthumb/image-viewer-image.c, libgthumb/image-viewer-image.h:
Have image paint itself to a cairo buffer to be used
by a transition or directly by the widget.
Removed the "repainted" signal as it is no longer needed
as scrolling triggers an "exposed" event that takes care
of it for gth-fullscreen.
* src/gth-fullscreeen.c:
No longer connect to the "repainted" event.
Patch by Geoffrey Antos <dynamotwain@aim.com>. Bug #501512.
2008-07-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/image-viewer.c:
* libgthumb/image-viewer-image.c:
Refactor ImageViewer widget to split image state information
to a new ImageViewerImage object and hide all private variables.
ImageViewer now emits "image_loaded", "image_error", and
"image_progress" signals to compensate for lack of direct access
to the ImageLoaded contained within.
* src/gth-browser.c: (gth_browser_construct), (image_loader_done_cb),
(image_loader_progress_cb):
Renamed to image_viewer_{done,progress}_cb as signal handlers
that are now connected to the ImageViewer and not an ImageLoader.
* src/gth-browser.c: (gth_browser_get_animation), (viewer_drag_get),
(window_update_zoom_sensitivity):
* src/gth-fullscreen.c: (gth_fullscreen_get_animation),
(update_zoom_sensitivity), (get_file_info)
* src/gth-viewer.c: (viewer_update_zoom_sensitivity),
(viewer_update_statusbar_zoom_info), (viewer_drag_data_get):
Use ImageViewer accessor functions instead of directly accessing
private variables.
Patch by Geoffrey Antos <dynamotwain@aim.com>. Bug #501512.
2008-07-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/albumtheme-private.h:
* src/albumtheme.c: (yyparse):
* src/albumtheme.l:
* src/albumtheme.y:
* src/catalog-web-exporter.c: (get_var_value),
(gth_parsed_doc_print):
* src/lex.albumtheme.c:
Added page_rows and page_cols web album tags. Bug #543966.
Patch by Christophe Bisiere.
2008-07-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
Fix for Bug #544893: Crash in web album <gthumb:if/>.
Patch by Christophe Bisiere.
2008-07-30 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser-ui.h:
* src/gth-browser.c: (window_update_sensitivity):
* src/gth-viewer-ui.h:
* src/gth-window-actions-callbacks.c:
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-entries.h:
Removed the "Delete Comment" function, because the comments are
now linked to the embedded image metadata. Deleting the comments
would mean deleting quite a few metadata fields, which is
probably too invasive. Use the "Edit Comment" function instead.
Might need to revisit this issue.
2008-07-30 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-jpegtran.c: (apply_transformation__step2):
If a no-physical-transformation rotation is requested, and the
original jpeg has no exif orientation tag, then add the tag instead
of doing a physical transform. Fixes bug #432756.
2008-07-26 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-web-exporter.c: (get_default_theme): Minor code tidy-up,
to avoid an uninitialized variable.
2008-07-25 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/gthumb.schemas.in: The default web album theme did not
exist any longer (Clean). Set it to an existing theme (Wiki).
* data/glade/gthumb_web_exporter.glade:
* libgthumb/gtk-utils.c: (_gtk_button_set_filename_label),
(_gtk_button_get_filename_label):
* libgthumb/gtk-utils.h:
* src/dlg-web-exporter.c: (export), (get_default_theme),
(dlg_web_exporter), (theme_dialog__ok_clicked), (load_themes):
Made the UI for selecting a web album theme more obvious.
Patch by Christophe Bisiere, bug #501570.
Also, fall back to the default theme when the theme stored in
gconf does not actually exist.
2008-07-21 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/catalog-web-exporter.c: (_write_line), (_write_locale_line),
(write_line), (write_markup_escape_line),
(write_markup_escape_locale_line):
Fixed bug #543993: web export of camera data prints warnings
about _g_escape_text_for_html. Patch by Patch by Christophe Bisière.
2008-07-21 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/comments.c: (comment_delete), (save_comment):
Partial fix for segfault when using edit->remove comment on
image with no comment. The segfault is fixed, but the comment
metadata is not removed from the image... bug #543771.
2008-07-21 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/dlg-photo-importer.c:
Added an #include needed for libgphoto2 2.4.2.
Patch by Marcus Meissner <meissner@suse.de>. Bug #543584.
2008-07-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_camera.glade:
Add a tooltip to the delete-images checkbox, mentioning the
excellent PhotoRec image-recovery program.
2008-07-10 Michael J. Chudobiak <mjc@svn.gnome.org>
Patch by Geoffrey Antos <dynamotwain@aim.com>:
* src/gs-fade.c: removed
* src/gs-fade.h: removed
* src/Makefile.am:
* src/gth-fullscreen.c: (gth_fullscreen_finalize),
(slideshow_timeout_cb), (viewer_image_loaded_cb), (fade_faded_cb),
(gth_fullscreen_init):
Removed old slideshow fading code that doesn't support Xinerama.
* src/gth-fullscreen.c: (load_current_image),
(real_load_current_image):
Removed gs-fade.c-specific load_current_image
Renamed real_load_current_image to load_current_image
2008-07-09 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-image-list.c: (gth_image_list_class_init)
* libgthumb/gthumb-marshal.list:
Fix assertions in gthumb_marshal_VOID__POINTER_POINTER by
actually using the correct marshaller for the given
parameter types. Patch by Geoffrey Antos <dynamotwain@aim.com>.
2008-05-21 Michael J. Chudobiak <mjc@svn.gnome.org>
* AUTHORS:
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_help_about):
Added Gabriel Falcão.
* src/dlg-open-with.c: (open_with__destroy_cb), (open_cb),
(app_list_selection_changed_cb), (dlg_open_with):
* src/gth-viewer.c: (open_with_menu_item_activate_cb),
(viewer_update_open_with_menu):
gnome_vfs_mime_application -> g_app_info for "Open With..."
functions. Modified version of Gabriel Falcão's
(gabriel@nacaolivre.org) patch from bug #525482.
2008-05-18 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-image-prop.c: (update_general_info):
* src/gth-exif-data-viewer.c: (update_file_info):
gnome_vfs_mime_get_description -> g_content_type_get_description.
Show both the mime type and the more human-readable descriptive text.
Modified version of Gabriel Falcão's (gabriel@nacaolivre.org) patch
from bug #525482.
2008-05-16 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-viewer.c: (open_with_menu_item_activate_cb),
(viewer_update_open_with_menu):
Revert crash-causing changes.
2008-05-16 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser.c: (launch_selected_videos_or_audio):
* src/gth-viewer.c: (open_with_menu_item_activate_cb),
(viewer_update_open_with_menu):
Migrate from gnome_vfs_mime to g_app_info. Modified version
of an emailed patch from Gabriel Falcão (gabriel@nacaolivre.org).
* src/main.c: (initialize_data):
Removed left-over debug printf.
2008-05-14 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/main.c: (initialize_data): Removed unused code.
2008-05-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/main.c: (get_command_line_catalog_path), (initialize_data):
Handle command-line file arguments with gfile functions.
2008-05-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* configure.in:
* libgthumb/file-data.c: (file_data_new):
* libgthumb/file-data.h:
* libgthumb/file-utils.c: (get_file_size):
* libgthumb/file-utils.h:
* libgthumb/gth-filter.c: (gth_filter_set_max_size):
* libgthumb/gth-filter.h:
* libgthumb/gth-sort-utils.c: (gth_sort_by_size_then_name):
* libgthumb/gth-sort-utils.h:
* libgthumb/thumb-loader.c: (thumb_loader_set_max_file_size):
* libgthumb/thumb-loader.h:
* src/catalog-png-exporter.c: (set_item_caption):
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
* src/dlg-duplicates.c: (update_entry), (add_entry),
(update_duplicates_label):
* src/dlg-file-utils.c: (set_filename_labels):
* src/dlg-image-prop.c: (update_general_info):
* src/dlg-photo-importer.c: (ok_clicked_cb):
* src/dlg-rename-series.c: (update_list):
* src/gth-browser.c: (window_update_statusbar_image_info),
(window_update_statusbar_list_info):
* src/gth-exif-data-viewer.c: (update_file_info):
* src/gth-fullscreen.c: (get_file_info):
* src/gth-viewer.c: (viewer_update_statusbar_image_info):
Start of gnomevfs -> gvfs porting. Specifically:
gnome_vfs_format_file_size_for_display -> g_format_size_for_display
GnomeVFSFileSize -> goffset
Based partly on Gabriel Falcão's patch from bug 525482.
2008-05-02 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser-actions-entries.h:
* src/gth-viewer-actions-entries.h:
_Scripts -> Scri_pts to avoid overlap with the scaling
shortcut (Alt+S).
2008-04-24 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/catalog-png-exporter.c: (comp_func_exif_date),
(image_loader_done):
* src/catalog-web-exporter.c: (comp_func_exif_date):
Make exif date sorting consistent with the other parts of gthumb.
* src/dlg-png-exporter.c:
* src/dlg-rename-series.c:
* src/dlg-web-exporter.c:
Fixed bug #512374 - array accessed past end. Patch by
John Bryant (bryant@sover.net).
2008-04-21 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/thumb-cache.c:
* libgthumb/thumb-cache.h:
Removed some unused functions (cache_delete,
cache_remove_old_previews_async).
2008-04-08 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_preferences.glade:
* src/dlg-preferences.c:
Add "Fit to Window" zoom preference, to complemented the existing
"Fit to Window if Larger" mode. Bug #464446.
2008-04-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-convert.c: (save_image_and_remove_original):
* src/gth-batch-op.c: (pixbuf_op_done_cb):
* src/rotation-utils.c: (apply_transformation_generic):
Copy metadata from old file to new file during file conversions,
batch operations, and generic rotations. Bug #323943.
2008-03-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (file_data_new), (file_data_dup),
(file_data_update), (file_data_update_info):
* libgthumb/file-data.h:
Added a "can_read" permissions boolean to the FileData struct.
* libgthumb/thumb-loader.c: (thumb_loader_start__step2):
Do not attempt any thumbnailing on files that we can not read.
Do not save a failed thumbnail either. This is faster and saves
disk space. Discussed on xdg@lists.freedesktop.org.
2008-03-14 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (mime_type_is_raw):
Use gnome_vfs_mime_type_get_equivalence to spot all sub-classes of
image/x-dcraw, so that we don't have to add RAW file types manually
to the mime-checking code. This relies on having a modern version
of freedesktop.org.xml.
2008-03-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* configure.in:
* libgthumb/gth-gstreamer-utils.c: (message_loop_to_state_change),
(gth_read_gstreamer):
Fixed Bug 515421 – changing to sort-by-exif-date causes freeze.
Patch by Manuel Braga <mul.braga@gmail.com>.
2008-02-14 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_preferences.glade:
* data/gthumb.schemas.in:
* libgthumb/file-utils.c: (mime_type_is_video),
(mime_type_is_audio):
* libgthumb/preferences.h:
* src/dlg-preferences.c: (include_audio_video_toggled_cb),
(dlg_preferences):
Added preference to ignore audio and video files. Bug #467468.
2008-02-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/comments.c: (load_comment_from_metadata):
* libgthumb/comments.h:
Removed unused function (comments_get_comment_as_xml_string).
Only load DateTime metadata into comments if other metadata
(comment, location, and/or keyword) has been loaded.
2008-02-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/jpegutils/jpegtran.h:
Deleted more libexif bits that were previously overlooked.
2008-02-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/jpegutils/jpeg-data.c: (jpeg_data_save_data),
(jpeg_data_load_data), (jpeg_data_free), (jpeg_data_dump):
* libgthumb/jpegutils/jpeg-data.h:
* libgthumb/jpegutils/jpegtran.c:
Deleted libexif bits that were previously overlooked.
2008-02-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-exif-data-viewer.c: (add_to_display):
Do not display Makernotes if exiv2 has not assigned
a meaningful name to them.
2008-02-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Always overwrite the software tag upon file save.
2008-02-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Update DateTime upon file save.
2008-02-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Update PixelX/YDimension tags upon file save.
2008-02-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* README:
* configure.in:
* libgthumb/Makefile.am:
* libgthumb/gth-exif-utils.c: (simple_add_metadata), (swap_fields):
* libgthumb/gth-exif-utils.h:
* libgthumb/jpegutils/Makefile.am:
* libgthumb/jpegutils/jpegtran.c: (update_exif_dimensions),
(jpegtran_internal), (jpegtran):
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev):
* src/Makefile.am:
Purged libexif from gthumb!
Use exiv2 to write exif data to files after jpeg transformation.
2008-02-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/Makefile.am:
* src/Makefile.am:
Remove references to libiptcdata.
2008-02-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/comments.c: (has_non_whitespace_comment),
(load_comment_from_metadata), (save_comment_to_metadata):
* libgthumb/gth-exif-utils.c:
* libgthumb/gth-exiv2-utils.cpp:
Made comment metadata reading/writing a bit more robust.
2008-02-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Filter tag values with has_non_whitespace_text. Next, do the same
some comments and keywords.
2008-02-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Added checks for mandatory exif tags when saving.
2008-02-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Added some comments.
2008-02-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/comments.c: (load_comment_from_metadata),
(save_comment_to_metadata):
* libgthumb/gth-exif-utils.c: (get_metadata_time_from_fd),
(update_metadata):
* libgthumb/gth-exif-utils.h:
Use two different tagsets for comment dates and sorting dates.
Comments prefer the Exif DateTime tag, sorting prefers the
DateTimeOriginal tag.
2008-02-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* README:
* configure.in:
* libgthumb/comments.c: (comment_data_new), (comment_data_free),
(comment_data_dup), (comment_delete), (load_comment_from_metadata),
(save_comment_to_metadata), (save_comment),
(comments_load_comment):
* libgthumb/gth-exiv2-utils.cpp:
Removed libiptcdata from gthumb. We use exiv2 instead, now.
The comment <-> metadata code has been updated to reflect this.
The comment <-> metadata mapping is still unstable and may change.
2008-02-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c:
* libgthumb/gth-exif-utils.h:
Updated some tagsets that will be needed for comments.
* src/gth-browser.c: (update_image_comment),
(save_pixbuf__image_saved_cb), (gth_browser_finalize):
* src/gth-viewer.c: (gth_viewer_finalize), (update_image_comment),
(save_pixbuf__image_saved_cb):
Removed the ifdef'd libiptcdata code, which has been obsoleted
by exiv2 support.
2008-02-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Fixed improper check for empty iptc dataset.
2008-02-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/comments.h:
* libgthumb/gth-exif-utils.c: (get_metadata_time_from_fd),
(get_orientation_from_fd), (get_metadata_string),
(get_metadata_tagset_string):
* libgthumb/gth-exif-utils.h:
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
* src/gth-fullscreen.c: (get_file_info):
Renamed get_metadata_string_from_fd to get_metadata_tagset_string.
Added get_metadata_string function, which is a simplified version of
get_metadata_tagset_string accepting just one tag name, for
convenience.
2008-02-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-scripts.c: (generate_script_menu):
* src/gth-viewer-actions-callbacks.c:
(gth_viewer_activate_action_scripts):
* src/gth-viewer-actions-callbacks.h:
* src/gth-viewer-actions-entries.h:
* src/gth-viewer.c: (viewer_update_sensitivity),
(gth_viewer_construct), (gth_viewer_update_script_menu):
* src/gth-viewer.h:
Added Scripts menu to viewer mode. Fixed console warnings relating to
script initialization. Fixed warnings related to ImageTransformMenu
and ImageAutoMenu. Enhanced version of patch by Manuel Braga
<mul.braga@gmail.com>.
2008-02-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser.c: (save_jpeg_data):
* src/gth-viewer.c: (save_jpeg_data):
Revert earlier change - compiler reported browser->priv and
viewer->priv as unused variables, but they are used under
some #ifdef conditions.
2008-02-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Another missing ifdef.
2008-02-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
XMP-related code must be inside an ifdef.
2008-02-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-viewer-ui.h:
Fixed crash upon File>Open due to malformed UI specification.
Bug 514288. Patch by Manuel Braga <mul.braga@gmail.com>.
2008-02-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/dlg-save-image.c: (save_image), (dlg_save_image_as),
(dlg_save_image):
* libgthumb/dlg-save-image.h:
* src/gth-browser.c: (window_update_image_info), (save_jpeg_data),
(gth_browser_save_pixbuf), (ask_whether_to_save__response_cb),
(gth_browser_finalize):
* src/gth-viewer.c: (gth_viewer_finalize),
(viewer_update_image_info), (save_jpeg_data),
(ask_whether_to_save__response_cb), (gth_viewer_save_pixbuf):
Purged libexif from gth-browser, gth-viewer. Save and Save As now
use exiv2-based routines to copy metadata.
2008-02-03 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/dlg-save-image.c: (save_image):
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev),
(_gdk_pixbuf_save):
* libgthumb/pixbuf-utils.h:
* src/catalog-png-exporter.c: (end_page):
* src/catalog-web-exporter.c: (save_thumbnail_cb),
(save_image_preview_cb), (save_resized_image_cb):
* src/dlg-convert.c: (save_image_and_remove_original):
* src/gth-batch-op.c: (pixbuf_op_done_cb):
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_file_print),
(set_wallpaper_from_window):
* src/rotation-utils.c: (apply_transformation_generic):
Add support for metadata handling into the _gdk_pixbuf_save /
_gdk_pixbuf_savev functions. Not fully exploited yet.
2008-02-02 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (fd_free_metadata), (file_data_new),
(file_data_unref), (file_data_update), (file_data_update_info):
* libgthumb/gth-exif-utils.c: (free_metadata_entry),
(free_metadata), (simple_add_metadata),
(update_and_save_metadatum), (update_and_save_metadata),
(write_orientation_field):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* libgthumb/gth-exiv2-utils.hpp:
* src/catalog-web-exporter.c:
(copy_exif_from_orig_and_reset_orientation):
* src/dlg-change-date.c: (ok_clicked):
Changed code to permit the updating of more than one metadata tags
at a time (i.e., one file write operation).
* libgthumb/gth-gstreamer-utils.c: (tag_iterate):
Fixed compiler warning.
2008-02-02 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (update_and_save_metadata),
(update_metadata):
* libgthumb/gth-exiv2-utils.cpp:
* src/dlg-change-date.c: (ok_clicked):
Improved remote vfs support for metadata reading / writing.
2008-02-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Delete IFD1 (thumbnail data) after updating metadata. Allow the
addition of new tags (before, it only allowed updates of existing
tags). Patch by Andreas Huggel <ahuggel@gmx.net>.
2008-01-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c:
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-filter.c:
* libgthumb/gth-gstreamer-utils.c: (extract_metadata),
(gth_read_gstreamer):
* src/dlg-change-date.c: (ok_clicked):
* src/dlg-photo-importer.c: (save_image):
* src/dlg-scripts.c: (get_prompt), (image_loader_done):
* src/dlg-scripts.h:
* src/dlg-web-exporter.c: (export):
* src/gth-browser-actions-callbacks.c:
* src/gth-browser.c: (window_sync_menu_with_preferences):
* src/gth-exif-data-viewer.c:
* src/gth-viewer-actions-callbacks.c:
* src/gth-viewer.c: (sync_menu_with_preferences):
Learned how to pass "CFLAGS=-Wall" to autogen, and fixed the many
small warnings that were reported. Mostly unused functions and
missing includes.
2008-01-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c:
* libgthumb/gth-exif-utils.h:
Removed all remaining libexif references in gth-exif-utils.*
Still present in other files, however.
2008-01-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c:
* libgthumb/gth-exif-utils.h:
Purged gth_minimal_exif_tag_write, gth_minimal_exif_tag_action.
Use exiv2-based routines now.
* data/glade/gthumb_tools.glade:
* src/dlg-change-date.c: (ok_clicked), (update_sensitivity),
(dlg_change_date):
Added the ability to change DateTimeOriginal and DateTimeDigitized,
in addition to the existing DateTime-changing function.
2008-01-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (write_orientation_field):
Updated write_orientation_field to use the new exiv2-based
update_and_save_metadata function.
2008-01-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (update_and_save_metadata):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* libgthumb/gth-exiv2-utils.hpp:
* src/catalog-web-exporter.c:
(copy_exif_from_orig_and_reset_orientation):
Added a new exiv2-based function, update_and_save_metadata, which
lets you copy metadata from one file to another, while updating
zero or one tags.
2008-01-30 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (free_metadata_entry):
* libgthumb/gth-exif-utils.c: (get_metadata_string_from_fd):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* libgthumb/gth-gstreamer-utils.c: (add_metadata):
* src/gth-exif-data-viewer.c: (gth_exif_data_viewer_construct),
(add_to_exif_display_list), (add_to_display), (update_file_info):
Store "raw" metadata along with the formatted metadata, so that
we can (eventually) use the raw data to write metadata into a file.
2008-01-29 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Delete the "improve" function, because exiv2 upstream is pretty
responsive to formatting improvements.
2008-01-29 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_new_from_file):
* libgthumb/gth-exif-utils.c: (get_orientation_from_fd),
(update_metadata):
* libgthumb/gth-exif-utils.h:
* src/catalog-web-exporter.c: (export__copy_image):
* src/dlg-jpegtran.c: (apply_transformation__trim_response),
(apply_transformation__step2):
* src/dlg-photo-importer.c: (adjust_orientation__step):
Replaced read_orientation_field with exiv2-based
get_orientation_from_fd. Delete gth_minimal_exif_tag_read.
All metadata reads are through exiv2, now. Next stop: writes.
2008-01-29 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Further tweaks to the way fractions are displayed.
2008-01-29 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (file_data_dup):
* libgthumb/file-data.h:
* libgthumb/gth-exif-utils.c: (get_exif_time),
(get_exif_time_or_mtime), (get_metadata_string_from_fd),
(update_metadata):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-filter.c: (gth_test_match):
* libgthumb/gth-sort-utils.c: (gth_sort_by_exiftime_then_name):
* src/catalog-png-exporter.c: (image_loader_done):
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
* src/dlg-change-date.c: (exif_time_available), (ok_clicked):
* src/dlg-comment.c: (get_requested_time),
(date_optionmenu_changed_cb), (dlg_comment_update):
* src/dlg-photo-importer.c: (save_image):
* src/dlg-rename-series.c: (get_image_date):
* src/dlg-scripts.c: (get_date_strings):
* src/gth-browser.c: (window_update_statusbar_image_info):
* src/gth-exif-data-viewer.c: (gth_exif_data_viewer_update):
* src/gth-fullscreen.c: (get_file_info):
* src/gth-viewer.c: (viewer_update_statusbar_image_info):
Hid the metadata caching from most functions. Eliminated the
file_data_insert_metadata function, which explicity loaded
metadata. This is now done automatically by
get_metadata_string_from_fd. Added two convenience functions,
get_exif_time (fd) and get_exif_time_or_mtime (fd), which
also auto-load the metadata cache.
2008-01-28 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/dlg-web-exporter.c: (theme_dialog__install_theme_clicked):
* src/gth-browser-actions-callbacks.c:
(gth_browser_activate_action_go_location):
Remove duplicated function calls.
* src/gth-location.c: (gth_location_open_other):
Fixed bug #477285 - Hitting enter in Open Location Dialog while
text entry is focused does nothing.
Patch by Manuel Braga <mul.braga@gmail.com>.
2008-01-28 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/gth-browser.c: (save_pixbuf__image_saved_cb):
* src/gth-viewer.c: (save_pixbuf__image_saved_cb):
Fixed bug #510521 - Canceling Save stops movement between pictures.
Patch by Manuel Braga <mul.braga@gmail.com>.
2008-01-26 Michael J. Chudobiak <mjc@svn.gnome.org>
* AUTHORS:
* libgthumb/gth-exif-utils.c: (get_metadata_time_from_fd),
(get_metadata_string_from_fd):
* libgthumb/gth-exif-utils.h:
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
* src/gth-fullscreen.c: (get_file_info):
Purged get_exif_tag, get_exif_entry_value, get_exif_aperture_value,
as part of the project to remove the libexif requirement.
Tweaked version of David Turner's <cillian64@googlemail.com> ghop patch.
http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=110
2008-01-26 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_tools.glade:
* src/dlg-scripts.c: (gconf_get_script), (add_scripts),
(create_script_model), (add_columns), (destroy_cb), (save_cb),
(add_script_cb), (remove_script_cb), (dlg_scripts),
(generate_script_menu):
* src/dlg-scripts.h:
* src/gth-browser.c: (window_update_sensitivity),
(update_scripts_cb), (gth_browser_construct),
(gth_browser_update_script_menu):
Allow arbitrary number of user-defined scripts, instead of just 10.
Tweaked version of Natan Yellin's <aantny@gmail.com> ghop patch.
http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=104
2008-01-25 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (free_metadata_entry), (free_metadata),
(file_data_new), (file_data_dup), (file_data_unref),
(file_data_update), (file_data_update_info),
(file_data_insert_metadata):
* libgthumb/gth-exif-utils.c:
* libgthumb/gth-exif-utils.h:
Corrected free_metadata function to stop crashes. Moved from
gth-exif-utils.c to file-data.c.
2008-01-25 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (file_data_insert_metadata):
Revert the second-last commit. The real problem is in dup_metadata.
2008-01-25 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_tools.glade:
Removed the non-existent word "digitalization".
2008-01-25 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (file_data_insert_metadata):
Don't load metadata for very new files, because they may still
be changing, which can cause nasty problems (that is, the
FileData structs vanish during metadata reading, etc).
2008-01-25 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-scripts.c: (exec_shell_script), (exec_script):
* src/gth-browser.c: (key_press_cb):
Free script callback data after a hot-key press, but not after
execution from the Scripts menu. Still a small memory leak,
but I'm not sure how to fix it.
2008-01-25 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Do not show fractional representation if denominator = 1.
2008-01-25 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Provide both decimal and fractional representations of numeric
exif values, if the raw value is fractional.
2008-01-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.h:
* libgthumb/file-utils.c: Added get_utf8_display_name_from_uri
as an enhanced wrapper for gnome_vfs_unescape_string_for_display,
to partly fix bug 489922, and to simplify the eventual migration
from gnome-vfs to gvfs/gio/Gfile.
* libgthumb/bookmarks.c: (get_menu_item_tip):
* libgthumb/file-data.c: (file_data_new), (file_data_update),
(file_data_update_info):
* libgthumb/file-utils.c: (get_utf8_display_name_from_uri),
(get_uri_display_name), (basename_for_display),
(delete_catalog_dir):
* libgthumb/file-utils.h:
* libgthumb/gtk-utils.c: (_gtk_entry_set_filename_text),
(_gtk_label_set_filename_text):
* src/catalog-list.c: (catalog_list_refresh):
* src/catalog-png-exporter.c: (set_item_caption), (begin_page):
* src/dlg-duplicates.c: (images_selection_changed_cb):
* src/dlg-file-utils.c: (dlg_check_folder), (set_filename_labels),
(dlg_overwrite__response_cb), (dlg_overwrite_run):
* src/dlg-photo-importer.c: (ok_clicked_cb):
* src/dlg-rename-series.c: (update_list), (dlg_rename_series):
* src/dlg-scripts.c: (exec_shell_script):
* src/dlg-web-exporter.c: (add_theme_dir):
* src/gth-browser-actions-callbacks.c: (duplicate_file),
(catalog_rename),
(gth_browser_activate_action_edit_current_catalog_new),
(create_new_folder_or_library), (folder_rename),
(folder_copy__response_cb):
* src/gth-browser.c: (window_update_infobar),
(window_update_title), (dir_list_done_cb):
* src/gth-dir-list.c: (gth_dir_list_update_view),
(gth_dir_list_add_directory):
* src/gth-exif-data-viewer.c: (update_file_info):
* src/gth-fullscreen.c: (escape_filename):
* src/gth-location.c: (update_uri):
Replaced gnome_vfs_unescape_string_for_display with
get_utf8_display_name_from_uri.
2008-01-21 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-scripts.c: (gconf_get_script):
Do not assign the default script text to an empty slot if the
script name is not empty and not equal to the default name.
2008-01-21 Michael J. Chudobiak <mjc@svn.gnome.org>
* AUTHORS:
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_help_about):
Updated list of contributors.
2008-01-21 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (metadata_search),
(get_metadata_time_from_fd), (free_metadata_entry), (dup_metadata):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* libgthumb/gth-gstreamer-utils.c: (add_metadata):
* src/gth-exif-data-viewer.c: (gth_exif_data_viewer_construct),
(tag_is_present_in_category), (add_to_exif_display_list),
(add_to_display), (update_file_info):
Split the "writeable_path" field of the metadata entry struct into
two bits: "full_name" for the full tag name, and "writeable" to
indicate if the tag can be edited.
2008-01-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (update_metadata):
Don't try to read audio metadata. It hasn't been tested enough.
2008-01-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (get_metadata_time_from_fd):
Correct the counting of elements in DATE_TAG_NAMES.
Delete the unused get_exif_time function.
2008-01-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_comments.glade:
Removed the non-existent word "digitalization".
* libgthumb/gth-exif-utils.c: (get_metadata_time_from_fd):
* libgthumb/gth-exif-utils.h:
* src/dlg-comment.c: (get_requested_time),
(date_optionmenu_changed_cb), (dlg_comment_update):
* src/dlg-photo-importer.c: (save_image):
Now, all functions obtain the exif_time for a file using the
metadata in the FileData struct. Conversion complete.
2008-01-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/catalog-png-exporter.c: (image_loader_done):
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
* src/dlg-change-date.c: (exif_time_available), (ok_clicked):
* src/dlg-rename-series.c: (get_image_date):
* src/gth-browser.c: (window_update_statusbar_image_info):
* src/gth-fullscreen.c: (get_file_info):
* src/gth-viewer.c: (viewer_update_statusbar_image_info):
Read exif_time from FileData, instead of from the file again.
2008-01-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-rename-series.c: (get_image_date), (update_list):
* src/gth-fullscreen.c: (get_file_info):
Update more functions to use get_metadata_time_from_fd.
2008-01-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (file_data_insert_metadata):
* libgthumb/gth-exif-utils.c: (get_metadata_time_from_fd),
(get_metadata_time):
* libgthumb/gth-exif-utils.h:
* src/catalog-png-exporter.c: (image_loader_done):
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
* src/dlg-change-date.c: (exif_time_available), (ok_clicked):
* src/gth-browser.c: (window_update_statusbar_image_info):
* src/gth-viewer.c: (viewer_update_statusbar_image_info):
Added a function called get_metadata_time_from_fd to get the metadata
time from the FileData in a simpler fashion. The original
get_metadata_time function will be purged soon.
2008-01-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c:
* src/catalog-web-exporter.c: (comp_func_exif_date),
(gth_parsed_doc_print), (image_loader_done):
* src/gth-browser.c: (window_update_statusbar_image_info):
* src/gth-viewer.c: (viewer_update_statusbar_image_info):
Modify some functions to fetch exif_time from existing
FileData->metadata list, rather than reading the file again.
More work to be done.
2008-01-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (file_data_update),
(file_data_update_info), (file_data_insert_metadata):
* libgthumb/file-data.h:
* libgthumb/gth-exif-utils.c: (get_metadata_time):
* libgthumb/gth-filter.c: (gth_test_match):
* libgthumb/gth-sort-utils.c: (gth_sort_by_exiftime_then_name):
* src/dlg-scripts.c: (get_date_strings):
* src/gth-exif-data-viewer.c: (gth_exif_data_viewer_update):
Various metadata tidy-ups. Was only working for jpegs, fixed that.
2008-01-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-data.c: (file_data_new), (file_data_dup),
(file_data_unref), (file_data_load_exif_data):
* libgthumb/file-data.h:
* libgthumb/gth-exif-utils.c: (metadata_search),
(get_metadata_time), (have_exif_time), (dup_metadata),
(update_metadata):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-gstreamer-utils.c: (gth_read_gstreamer):
* libgthumb/gth-gstreamer-utils.h:
* src/catalog-png-exporter.c: (image_loader_done):
* src/catalog-web-exporter.c: (gth_parsed_doc_print),
(image_loader_done):
* src/dlg-change-date.c: (exif_time_available), (ok_clicked):
* src/dlg-comment.c: (get_requested_time),
(date_optionmenu_changed_cb):
* src/dlg-photo-importer.c: (save_image):
* src/dlg-rename-series.c: (get_image_date):
* src/gth-browser.c: (window_update_statusbar_image_info):
* src/gth-fullscreen.c: (get_file_info):
* src/gth-viewer.c: (viewer_update_statusbar_image_info):
First step towards adding metadata to the FileData structure.
Metadata is loaded on an as-needed basis. Tweaked version of Natan's
ghop patch.
http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=99.
2008-01-18 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/gthumb.desktop.in:
Fixed bug #510326 - x-content/* support. Patch by Matthias Clasen.
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_help_about): Update copyright dates.
2008-01-17 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-photo-importer.c: (copy_images__step):
Add a status message to the progress bar during the update
of remote files from the cache.
2008-01-16 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* libgthumb/async-pixbuf-ops.c: (scale_step):
* libgthumb/gth-file-list.c: (get_pixbuf_from_mime_type):
* libgthumb/gth-file-view-list.c: (get_sized_pixbuf):
* libgthumb/pixbuf-utils.c: (scale_keeping_ratio):
* libgthumb/pixbuf-utils.h:
* libgthumb/print-callbacks.c: (image_loader_done_cb):
* libgthumb/thumb-loader.c: (thumb_loader_done_cb):
* src/catalog-png-exporter.c: (image_loader_done):
* src/catalog-web-exporter.c: (gth_parsed_doc_print),
(image_loader_done):
* src/dlg-brightness-contrast.c: (dlg_brightness_contrast):
* src/dlg-color-balance.c: (dlg_color_balance):
* src/dlg-hue-saturation.c: (dlg_hue_saturation):
* src/dlg-image-prop.c: (update_general_info):
* src/dlg-jpegtran.c: (_gdk_pixbuf_scale_keep_aspect_ratio):
* src/dlg-posterize.c: (dlg_posterize):
* src/dlg-web-exporter.c: (theme_dialog__sel_changed_cb):
* src/main.c: (get_fs_icon):
Fixed bug #508873 - gthumb cannot scale up images, by adding
boolean parameter to permit upscaling in scale_keeping_ratio.
Spelling: scale_keepping_ratio -> scale_keeping_ratio.
2008-01-16 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-scripts.c: (add_menu_item_and_action):
Do not show undefined scripts in the Scripts menu.
2008-01-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/preferences.h:
* src/dlg-scripts.c: (gconf_script_path), (gconf_script_name_path),
(gconf_get_script), (exec_script), (setup_script_struct),
(add_scripts), (save_cb), (add_menu_item_and_action),
(generate_script_menu):
* src/dlg-scripts.h:
* src/gth-browser.c: (key_press_cb):
Tweaked version of Adrien Bustany's ghop patch.
http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=94.
Applies meaningful script names to the default scripts, even if they
imported from 2.10.x. Collapsed the script code into loops, allowing
future expansion of the number of scripts.
2008-01-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (sort_by_tag_name),
(update_metadata):
* libgthumb/gth-exif-utils.h:
* src/gth-exif-data-viewer.c:
Move update_metadata to a library file, to allow broader use.
2008-01-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_new_from_file):
Remove reference to get_exif_tag_short (used in systems with
gtk < 2.11.5).
* src/dlg-jpegtran.c: Remove libexif #includes.
2008-01-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* src/gth-exif-data-viewer.c:
Re-order metadata categories slightly, to put MakerNotes further down
the list.
* libgthumb/gth-exif-utils.c: Remove the get_exif_tag_short function.
It is libexif based, and no longer used.
* src/dlg-jpegtran.c: (apply_transformation__trim_response),
(apply_transformation__step2):
Stop using libexif to read orientation tags.
Use our own internal function, read_orientation_field.
2008-01-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-image-prop.c: (update_notebook_page):
* src/gth-browser.c: (window_update_image_info):
* src/gth-exif-data-viewer.c: (update_metadata),
(gth_exif_data_viewer_update):
* src/gth-exif-data-viewer.h:
* src/gth-viewer.c: (viewer_update_image_info):
Removed all libexif references from gth-exif-data-viewer.c.
2008-01-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* src/gth-exif-data-viewer.c: (update_metadata):
Apply customized tag sorting to exiv2 exif metadata. Tweaked version
of patch by Martin Schmeißer <Waschbaehr@gmx.de>, via ghop.
2008-01-12 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Removed "group names" from exif tag display names, to keep things
compact and readable.
2008-01-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (free_metadata_entry):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* libgthumb/gth-gstreamer-utils.c: (add_metadata):
* src/gth-exif-data-viewer.c: (gth_exif_data_viewer_construct),
(add_to_exif_display_list), (add_to_display), (gth_read_exif),
(update_file_info):
Add a "writeable_path" field to the metadata struct and tree model,
to allow metadata editing in the future.
2008-01-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (free_metadata_entry):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* libgthumb/gth-gstreamer-utils.c: (add_metadata):
* src/gth-exif-data-viewer.c: (add_to_display), (gth_read_exif),
(sort_by_tag_name), (update_metadata):
Use HAVE_EVIX2_XMP_HPP instead of HAVE_XMP. Not sure why it matters.
Also, split the tag name into two pieces - a full path and a short
display name.
2008-01-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Improved formatting of fraction numbers returned by exiv2.
Patch by Martin Schmeißer <Waschbaehr@gmx.de>.
2008-01-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (gth_read_exiv2):
* src/gth-exif-data-viewer.c: (update_metadata):
Remove no-longer-used HAVE_EXIV2 ifdefs.
2008-01-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* README:
* configure.in:
* libgthumb/gth-exiv2-utils.cpp:
Make exiv2 mandatory, 0.15 or higher. Check for version 0.16,
which has XMP support.
2008-01-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* AUTHORS:
* data/glade/gthumb_tools.glade:
* doc/C/gthumb.xml:
* src/dlg-scripts.c: (get_prompt), (get_date_strings),
(get_user_prompts), (exec_shell_script), (exec_upload_flickr):
New script format code, to tie prompts to dates for date-based
comments. Patch by Sean Hunt <rideau3@gmail.com>, via ghop.
http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=92
2008-01-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* configure.in:
* libgthumb/Makefile.am:
* libgthumb/gth-exif-utils.c: (gth_read_exiv2):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* libgthumb/gth-exiv2-utils.hpp:
* src/gth-exif-data-viewer.c: (update_metadata):
Added XMP sidecar support to the exiv2 code. Removed exempi library,
as exiv2 provides everything we need now.
2008-01-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exiv2-utils.cpp:
Remove extraneous text from XMP and IPTC tag names.
2008-01-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_tools.glade:
Made the "Rename" button the default action.
2008-01-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (gth_read_xmp):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* src/gth-exif-data-viewer.c:
Don't use exempi to read embedded XMP metadata if exiv2 is installed.
Minor categorization changes.
2008-01-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* configure.in:
Bump exiv2 requirement to 0.16, to get XMP support.
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* src/gth-exif-data-viewer.c:
Correctly format exiv2 output. Add XMP and IPTC support. Tweaked version
of patch by SchmeisserMartin, via ghop.
http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=93.
2008-01-09 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/C/gthumb.xml: Modified version of Adrien Bustany's crop tool
documentation patch, supplied through gnome-ghop.
http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=94.
2008-01-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-exif-data-viewer.c: (update_metadata):
Try exiv2 on all image files (expecially RAW ones).
2008-01-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* configure.in:
* libgthumb/Makefile.am:
* libgthumb/gth-exif-utils.c: (gth_read_exiv2):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exiv2-utils.cpp:
* libgthumb/gth-exiv2-utils.hpp:
* src/gth-exif-data-viewer.c: (update_metadata):
Initial support for the exiv2 metadata-reading library.
Tweaked version of patch by SchmeisserMartin, via ghop.
http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=83
Needs some work to improve categorization and output formatting.
2008-01-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_tools.glade:
* doc/C/gthumb.xml:
* src/dlg-scripts.c: (get_date_strings), (exec_shell_script):
Added strftime format codes to the scripting feature.
Tweaked version of patch by DorFire, via google-highly-open-participation-gnome.
http://code.google.com/p/google-highly-open-participation-gnome/issues/detail?id=82
2008-01-02 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (gth_read_xmp):
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-gstreamer-utils.c: (gth_read_gstreamer):
* libgthumb/gth-gstreamer-utils.h:
* libgthumb/gtk-utils.c: (gth_get_screen_size):
* libgthumb/gtk-utils.h:
* src/dlg-crop.c: (dlg_crop):
* src/dlg-redeye-removal.c: (dlg_redeye_removal):
* src/dlg-scripts.c: (dlg_scripts):
* src/gth-exif-data-viewer.c: (gth_read_exif), (update_metadata):
Added "gth_" prefix to gth_read_exif, gth_read_xmp,
gth_read_gstreamer, and gth_get_screen_size, to avoid possible
namespace conflicts.
2008-01-02 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/Makefile.am:
* libgthumb/jpegutils/Makefile.am:
* src/Makefile.am:
Put local includes before global includes. Bug 506771. Patch by
Daniel Macks <dmacks@netspace.org>.
2008-01-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-gstreamer-utils.c:
Don't include gstreamer libraries if they aren't installed.
2007-12-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/dlg-photo-importer.c: (adjust_orientation__step):
Fixed bug #402942 - Add status message during photo import
(orientation adjust step).
2007-12-29 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_tools.glade:
* src/dlg-scripts.c: (image_loader_done), (image_loader_error),
(load_thumbnail), (exec_shell_script):
Show thumbnails in script progress dialog.
2007-12-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_tools.glade:
Make the OK button the default action in the script prompt dialog.
2007-12-26 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/C/gthumb.xml:
* libgthumb/preferences.h:
* src/dlg-scripts.c: (get_prompt):
Save prompt responses in gconf, to use as defaults, except for
passwords.
2007-12-26 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/C/gthumb.xml:
* src/dlg-scripts.c: (get_user_prompts):
Allow bracket-enclosed text to be treated literally by preceding
the opening bracket with a backslash.
2007-12-25 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_tools.glade:
* doc/C/gthumb.xml:
* src/dlg-scripts.c: (get_prompt), (delete_lowercase_keys),
(get_user_prompts), (exec_shell_script):
Added user prompts to the scripting feature.
2007-12-23 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (dir_list_done_cb):
If the directory doesn't exists go to the closest existing parent.
Fixes bug #495575 – infinite loop when browsing deleted dirs
* libgthumb/thumb-loader.c:
* libgthumb/gth-file-list.c:
Fixed bug #Bug 498741 – gthumb always saves thumbnails despite the
gconf option in apps -> gthumb -> browser -> save_thumbnails set
to "false"
* src/gth-batch-op.c:
Fixed bug #500719 – segfault when canceling batch operations
* src/dlg-search.c:
create a new visited_dirs hash in search_images_async as suggested
by Behdad Esfahbod
Fixes bug #503525 – Recursive loop fix is wrong?
* src/dlg-redeye-removal.c:
* src/dlg-crop.c:
include "gtk-utils.h" to avoid a warning.
2007-12-23 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser.c: (window_update_sensitivity):
* src/gth-viewer.c: (viewer_update_sensitivity):
Make script menu items sensitive, depending on file selections.
2007-12-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-scripts.c: (exec_upload_flickr):
Correction to last commit: free GList if postr can not be executed.
2007-12-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* AUTHORS:
* NEWS:
* src/dlg-scripts.c: (exec_upload_flickr):
* src/gth-browser-actions-callbacks.c:
(gth_browser_activate_action_upload_flickr):
* src/gth-browser-actions-callbacks.h:
* src/gth-browser-actions-entries.h:
* src/gth-browser-ui.h:
* src/gth-browser.c: (window_update_sensitivity):
* src/gth-viewer-actions-callbacks.c:
(gth_viewer_activate_action_upload_flickr):
* src/gth-viewer-actions-callbacks.h:
* src/gth-viewer-actions-entries.h:
* src/gth-viewer-ui.h:
* src/gth-viewer.c: (viewer_update_sensitivity):
Added a Flickr uploader (by launching Postr). Bug #489403.
Patch by Michael Lester (element3260@gmail.com), via
google-highly-open-participation-gnome.
2007-12-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/gthumb.schemas.in:
Default aspect-ratio constraint mode when cropping is now "none".
Bug #504580. Patch by Ted Percival.
2007-12-18 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_preferences.glade:
* src/dlg-preferences.c: (apply_cb), (dlg_preferences):
* src/gth-browser-actions-entries.h:
"Slide show" -> "Slideshow". It's not a real word, but everyone
else is using it, so it must be OK. Bug #504326.
2007-12-14 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-photo-importer.c: (valid_mime_type):
Added support for ASF files. Bug #471496.
* src/gth-exif-data-viewer.c: (update_file_info):
Don't display dimensions for audio files (meaningless)
or video files (incorrect, reports thumbnail size).
2007-12-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-gstreamer-utils.c: (extract_metadata):
Report framerate with higher precision.
2007-12-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-gstreamer-utils.c: (extract_metadata):
Eliminate nuisance warning if no metadata tags are found.
2007-12-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-gstreamer-utils.c: (tag_iterate):
Finished adding support for most gstreamer metadata GTypes.
* po/POTFILES.in:
Added src/dlg-scripts.*, libgthumb/gth-gstreamer-utils.*
2007-12-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-gstreamer-utils.c: (extract_metadata):
Eliminate unnecessary functions.
2007-12-13 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-gstreamer-utils.c: (add_metadata), (tag_iterate),
(extract_metadata):
Extract additional metadata data types using gstreamer.
Quite a few types are still missing, though.
2007-12-12 Michael J. Chudobiak <mjc@svn.gnome.org>
* configure.in:
* libgthumb/Makefile.am:
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-gstreamer-utils.c:
* libgthumb/gth-gstreamer-utils.h:
* src/gth-exif-data-viewer.c: (update_metadata),
(gth_exif_data_viewer_update):
Initial support for gstreamer-supplied metadata for
audio and video files.
2007-12-12 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_tools.glade:
* libgthumb/gtk-utils.c:
* libgthumb/gtk-utils.h:
* src/dlg-scripts.c: (progress_cancel_cb), (exec_shell_script),
(destroy_cb):
Move exec_shell_script from gtk-utils.c to dlg-scripts.c, and
add a cancel button to the script progress dialog.
2007-12-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (read_xmp):
Program was crashing if exempi was not installed. Oops.
2007-12-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS: describe scripting improvements.
* data/glade/gthumb_camera.glade:
* src/dlg-photo-importer.c: (subfolder_mode_changed_cb),
(dlg_photo_importer):
Another attempt to improve the UI of the custom subfolder
function in the import dialog.
2007-12-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gtk-utils.c: (exec_shell_script):
UI string tweak.
2007-12-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gtk-utils.c: (exec_shell_script):
* libgthumb/gtk-utils.h:
* src/dlg-scripts.c: (exec_script0), (exec_script1),
(exec_script2), (exec_script3), (exec_script4), (exec_script5),
(exec_script6), (exec_script7), (exec_script8), (exec_script9):
Put a useful title on the script progress bar window.
2007-12-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-photo-importer.c: (subfolder_mode_changed_cb):
Extra text to highlight the existence of the subfolder format
entry field.
* src/dlg-scripts.c: (add_scripts), (add_menu_item_and_action):
Mark strings for translation.
2007-12-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-scripts.c: (add_menu_item_and_action):
* src/gth-browser-actions-entries.h:
Add icons to the script menu.
2007-12-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-scripts.c: (add_menu_item_and_action),
(generate_script_menu):
Prefix script name with hotkey number in menu, for clarity.
2007-12-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-scripts.c: (add_menu_item_and_action),
(generate_script_menu):
Tidy up new scripting code, add loops to make it smaller.
2007-12-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-scripts.c:
* src/dlg-scripts.h:
Forgot to add these files to svn.
2007-12-09 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser-actions-callbacks.c:
(gth_browser_activate_action_scripts):
* src/gth-browser-actions-callbacks.h:
* src/gth-browser-actions-entries.h:
* src/gth-browser-ui.h:
* src/gth-browser.c: (key_press_cb), (update_scripts_cb),
(gth_browser_construct), (gth_browser_update_script_menu):
* src/gth-browser.h:
* src/gth-viewer-ui.h:
* src/gth-window-actions-callbacks.c:
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-entries.h:
The script menu now has dynamically named entries. Needs testing!
2007-12-09 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_preferences.glade:
* data/glade/gthumb_tools.glade:
* doc/C/gthumb.xml:
* libgthumb/preferences.h:
* src/Makefile.am:
* src/dlg-preferences.c: (apply_cb), (dlg_preferences):
* src/gth-browser-actions-entries.h:
* src/gth-browser-ui.h:
* src/gth-browser.c: (gth_browser_construct):
* src/gth-viewer-actions-entries.h:
* src/gth-viewer-ui.h:
* src/gth-viewer.c: (gth_viewer_construct):
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_scripts):
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-entries.h:
Initial attempt to build a treeview-based scripting dialog.
The hotkey functions are defined in a "Script" menu now,
instead of in the preferences dialog. Still pretty rough.
2007-12-09 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gtk-utils.c: (get_screen_size):
* libgthumb/gtk-utils.h:
* src/dlg-crop.c: (dlg_crop):
* src/dlg-redeye-removal.c: (dlg_redeye_removal):
Refactor duplicated screen size code.
2007-12-08 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-exif-data-viewer.c: (sort_by_tag_name),
(update_metadata):
Sort tag names alphabetically, by default.
2007-12-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/C/gthumb.xml:
Bump manual version numbers.
2007-12-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* doc/C/gthumb.xml:
Document the new import subfolder grouping feature.
2007-12-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/gthumb.schemas.in:
* libgthumb/preferences.c:
Update to reflect new photo import dialog.
2007-12-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gthumb-stock.c:
* libgthumb/gthumb-stock.h:
* libgthumb/icons/Makefile.am:
* src/gth-dir-list.c: (gth_dir_list_update_view),
(gth_dir_list_add_directory):
* src/main.c: (get_stock_id_for_uri), (get_icon_for_uri):
* src/main.h:
Remove references to the film icon. It's no longer used.
2007-12-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-photo-importer.c: (save_image):
Filter customer subfolder input, to avoid weird folder names.
2007-12-07 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_camera.glade:
* libgthumb/preferences.c:
* libgthumb/preferences.h:
* libgthumb/typedefs.h:
* src/dlg-photo-importer.c: (get_folder_name), (save_image),
(subfolder_mode_changed_cb), (dlg_photo_importer):
Add custom subfolder feature to photo import dialog.
Still a bit rough - add some checking, schema update, help file.
2007-12-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (xmp_iter_array),
(xmp_iter_simple_qual), (xmp_iter_simple), (xmp_iter),
(read_xmp_file), (read_xmp):
* libgthumb/gth-exif-utils.h:
* src/gth-exif-data-viewer.c:
Added XMP sidecar reading.
2007-12-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-exif-data-viewer.c:
Fix error in categorization of "Other" exif tags.
2007-12-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (free_metadata_entry),
(xmp_iter_simple), (read_xmp):
* libgthumb/gth-exif-utils.h:
* src/gth-exif-data-viewer.c: (add_to_display), (read_exif),
(update_metadata), (gth_exif_data_viewer_update):
Store exif and xmp data in the same GList.
2007-12-06 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (free_metadata_entry),
(free_metadata), (xmp_iter_array), (xmp_iter_simple_qual),
(xmp_iter_simple), (xmp_iter), (read_xmp):
* libgthumb/gth-exif-utils.h:
* src/gth-exif-data-viewer.c: (add_xmp_to_display),
(update_exif_data):
Display XMP metadata in the same order that it is extracted.
Store XMP metadata in a GList. Next: Put the Exif metadata
in the same GList, to decouple data and display functions.
2007-12-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* libgthumb/gth-exif-utils.c: (xmp_iter_array),
(xmp_iter_simple_qual), (xmp_iter_simple), (xmp_iter), (read_xmp):
* libgthumb/gth-exif-utils.h:
* src/gth-exif-data-viewer.c: (add_xmp_to_display),
(update_exif_data):
XMP metadata is now shown in the metadata viewer. It needs to be
sorted somehow, however.
2007-12-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/Makefile.am:
* libgthumb/gth-exif-utils.c: (append_string_to_hash_table),
(xmp_iter_array), (xmp_iter_alt_text), (xmp_iter_simple_qual),
(xmp_iter_simple), (xmp_iter), (read_xmp):
* src/gth-exif-data-viewer.c: (update_exif_data):
Adding initial exempi XMP-reading functions. Doesn't work yet.
2007-12-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* configure.in:
Added check for exempi.
2007-12-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_help_about):
Update credits to match AUTHORS file.
2007-12-04 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_preferences.glade:
* doc/C/gthumb.xml:
* libgthumb/gtk-utils.c: (exec_shell_script):
Added %b (basename) and %m (basename without extension) parameters
for hotkeys. Bug #501420.
2007-12-02 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/gth-browser.c: (_set_fullscreen_or_slideshow):
* src/gth-fullscreen.c: (gth_fullscreen_toolbar_update_size),
(screen_size_changed_cb), (gth_fullscreen_toolbar_size_request_cb),
(gth_fullscreen_construct), (gth_fullscreen_new),
(create_toolbar_window), (gth_fullscreen_show):
* src/gth-fullscreen.h:
* src/gth-viewer.c: (gth_viewer_set_fullscreen):
Patch by Geoffrey Antos to fix slideshow on dual-screen
Xinerama systems. Bug #327245.
2007-12-02 Michael J. Chudobiak <mjc@svn.gnome.org>
* AUTHORS: Added Geoffrey Antos <dynamotwain@aim.com>.
2007-12-01 Michael J. Chudobiak <mj.@svn.gnome.org>
* NEWS:
* src/dlg-crop.c: (dlg_crop):
* src/dlg-redeye-removal.c: (dlg_redeye_removal):
Fixed bug #496140: Crop Window opens too large for dual-screens.
Calculate default window width based on active screen only.
Expanded version of patch by dynamotwain@aim.com.
2007-11-30 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* libgthumb/dlg-save-image.c: (dlg_save_options):
Fixed bug #499795: silently fails to save bmp picture.
Don't skip file types just because we don't know how to
deal with its save options.
2007-11-30 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/dlg-jpegtran.c: (apply_transformation_to_all_continue),
(apply_transformation_to_all__apply_to_current), (cancel_cb),
(apply_transformation_to_all):
* src/dlg-reset-exif.c: (apply_transformation_to_all_continue),
(apply_transformation_to_all__apply_to_current), (cancel_cb),
(apply_transformation_to_all):
The "Cancel" button didn't actually do anything in the lossless
rotation dialog or the reset orientation dialog.
2007-11-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* libgthumb/gth-sort-utils.c: (gth_sort_by_exiftime_then_name):
When sorting by exif time, fall back to sorting by mtime if no
exif time is present.
2007-11-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* AUTHORS:
* NEWS:
* data/glade/gthumb_camera.glade:
* libgthumb/preferences.c:
* libgthumb/preferences.h:
* libgthumb/typedefs.h:
* src/dlg-photo-importer.c: (get_folder_name), (save_image),
(ok_clicked_cb), (dlg_photo_importer):
Added exif-date-based and mtime-based subfolder grouping of images
upon import. Removed the concept of a "film" name. Bug #431187.
Based on a modified version of Roalt Aalmoes's patch.
2007-11-24 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_redeye.glade:
* doc/C/gthumb.xml:
* src/dlg-redeye-removal.c: (dlg_redeye_removal):
Update the redeye removal tool, incorporating the style changes
made to the crop tool.
2007-11-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/main.c: (main): Lock thread around gtk_main. Bug #498995.
Patch by Matt Keenan
2007-11-20 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/file-utils.c (gth_pixbuf_new_from_file): moved transform
in the block where it's used.
* libgthumb/image-loader.c (image_loader_sync_pixbuf): ref the pixbuf
before using it.
2007-11-20 Paolo Bacchilega <paobac@svn.gnome.org>
* src/dlg-search.c (cancel_progress_dlg_cb): keep loading the
thumbnails even after the user presses the cancel button.
2007-11-20 Paolo Bacchilega <paobac@svn.gnome.org>
* NEWS: updated for version 2.10.8
* configure.in: bumped version to 2.10.8
* src/gth-browser.c (window_update_history_list): use a different name
for popup actions to avoid a run-time warning.
* src/dlg-search.c: avoid a loop due to symlinks when searching
recursively. Fixes second part of bug #495529.
* libgthumb/file-utils.c: declare the transform variable only if
needed.
* libgthumb/thumb-loader.c (thumb_loader_error_cb): removed useless
warning.
2007-11-14 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_new_from_file):
Delete unused variable.
2007-11-14 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_new_from_file):
Three methods were optionally used to read the exif orientation
tags. The oldest and newest methods have been kept. The
middle-aged one has been purged, because it is only useful for
gtk+ versions 2.11.0 to 2.11.4.
2007-11-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_crop.glade:
Change accelerator key to avoid duplication.
2007-11-10 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/dlg-search.c: (directory_load_cb): Search would abort on first
non-readable directory (e.g., bad permissions). Fixed it so that it
just skips it and continues to the next directory. Bug #495529.
2007-11-05 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-image-selector.c: (gth_image_selector_set_ratio):
Tweaked the invert-aspect-ratio function of the crop tool, so
that it falls back to a smaller region if the width and height can
not be directly swapped.
2007-11-03 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/gth-location.c: (combo_changed_cb):
Fixed bug #476989: gthumb doesn't move images if destination
directory is selected from folder drop down list
2007-11-01 David S. Miller <davem@davemloft.net>
Applied by: Paolo Bacchilega
* libgthumb/gth-exif-utils.c (de_get16, de_get32): New functions.
(gth_minimal_exif_tag_action): Use them to avoid unaligned accesses
and access 32-bit values correctly on 64-bit platforms.
From the email:
Several RISC cpus cannot access data which is not aligned
properly for it's type.
The EXIF handling dereferences potentially unaligned values. It also
improperly casts the 32-bit ones, using "unsigned long" which is
typically 64-bit on 64-bit platforms.
This patch corrects both errors, curing the SIGBUS issues on
my sparc systems.
2007-11-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/gth-browser.c: (gth_browser_remove_monitor),
(gth_browser_add_monitor), (gth_browser_construct), (close__step6):
* src/gth-fullscreen.c: (gth_fullscreen_finalize),
(gth_fullscreen_construct):
* src/gth-viewer.c: (gth_viewer_construct), (gth_viewer_close):
* src/main.c: (initialize_data), (release_data),
(all_windows_update_catalog_list),
(all_windows_notify_update_bookmarks),
(all_windows_notify_cat_files_created),
(all_windows_notify_cat_files_deleted),
(all_windows_notify_files_created),
(all_windows_notify_files_deleted),
(all_windows_notify_files_changed),
(all_windows_notify_file_rename),
(all_windows_notify_files_rename),
(all_windows_notify_directory_rename),
(all_windows_notify_directory_delete),
(all_windows_notify_directory_new),
(all_windows_notify_catalog_rename),
(all_windows_notify_catalog_new),
(all_windows_notify_catalog_delete),
(all_windows_notify_catalog_reordered),
(all_windows_notify_update_metadata),
(all_windows_notify_update_icon_theme),
(all_windows_remove_monitor), (all_windows_add_monitor):
* src/main.h:
Fixed bug #492370: monitor name conflict with libc on solaris10.
Patch by Mark Wright.
2007-11-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/gth-browser.c: (gth_browser_notify_file_rename),
(gth_browser_notify_directory_rename):
Fixed bug #492169: Crash when moving directory to trash.
Patch by Ignacy Gawędzki.
2007-11-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* libgthumb/jpegutils/jpegtran.c: (update_exif_thumbnail):
Fixed bug #492260: Crash on rotate on x86_64.
Patch by Ignacy Gawędzki.
2007-11-01 Michael J. Chudobiak <mjc@svn.gnome.org>
* AUTHORS:
* NEWS:
* libgthumb/jpegutils/jpegtran.c: (jpegtran_thumbnail): Fixed
bug #492262: Rotate removes thumbnail. Patch by Ignacy Gawędzki.
2007-10-31 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-crop.c: (ratio_optionmenu_changed_cb), (update_ratio),
(ratio_value_changed_cb), (invert_ratio_changed_cb), (dlg_crop):
* src/gth-image-selector.c: (gth_image_selector_set_ratio):
* src/gth-image-selector.h:
Make crop tool swap height/width values when clicking the "invert
aspect ratio button", rather than keeping the width constant and
just changing the height. Looks more natural. Still need to fix
condition where new area would exceed image boundary.
2007-10-31 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/gth-exif-utils.c: (gth_minimal_exif_tag_action):
* src/catalog-web-exporter.c: (export__copy_image):
* src/dlg-photo-importer.c: (adjust_orientation__step):
Fixed bug #492111: Doesn't rotate pictures while importing. Based on
patch by Ignacy Gawedzki.
2007-10-30 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_crop.glade: Tweak button spacing in crop dialog.
* src/dlg-crop.c: (dlg_crop): Make undo and redo buttons inactive
initially.
2007-10-28 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_crop.glade:
* src/dlg-crop.c: (dlg_crop):
Make the cropping dialog more intuitive, so my mom can use it.
Bug #408342. Trunk-only experimental change.
2007-10-28 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (get_mplayer_time):
Delete the tmp dir correctly.
2007-10-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* libgthumb/print-callbacks.c: (catalog_update_custom_page_size):
Fixed a printing crash, g_free -> gtk_paper_size_free
2007-10-27 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* libgthumb/print-callbacks.c: (print_catalog_cb):
Fixed bug 487982 - can freeze gthumb during printing. Hide print
setup dialog while gtk-print dialog is visible.
2007-10-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* libgthumb/gth-exif-utils.c: (gth_minimal_exif_tag_action):
Fixed bug #486886: Crash opening an image with no Exif IFD1, caused
by an overflowing index. Cosmetic clean-ups also.
2007-10-15 Paolo Bacchilega <paobac@svn.gnome.org>
[ gthumb 2.10.7 released ]
* configure.in:
* NEWS: updated for version 2.10.7
2007-10-14 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/gth-exif-utils.c: (exif_string_to_time_t),
(get_exif_time): Read DateTimeOriginal or DateTimeDigitized if the
DateTime tag exists, but is full of spaces. Fixes Ubuntu bug
https://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/152246.
2007-10-14 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-fullscreen.c (gth_fullscreen_get_file_list_selection_as_fd):
Implemented the gth_fullscreen_get_file_list_selection_as_fd function.
Fixed gth_fullscreen_get_file_list_selection.
Fixes bug # 485998 – [ and ] don't work in fullscreen anymore.
2007-10-14 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (monitor_update_files_cb):
* src/gth-monitor.c (add_monitor_event):
Fixed bug #471234 – fix build with gcc 2.x
Patch by Jens Granseuer
2007-10-14 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-fullscreen.c: monitor_update_files_cb uses a list of paths
not a list of file_data.
Fixes bug #485721 – crash in fullscreen mode after deleting an image.
2007-10-03 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* src/gth-browser.c: (set_cursor_busy): Do not assume that the
left_ptr_watch cursor is defined. Bug 482751.
2007-10-03 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser.c: (launch_selected_videos_or_audio):
Better mime type checking, to avoid problems caused when the fast and
slow mime type checks report different values. Bug 481729.
2007-09-17 Claude Paroz <claude@2xlibre.net>
* data/glade/gthumb_tools.glade: Mark Search button as translatable.
2007-09-11 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-fullscreen.c: (motion_notify_event_cb):
Detect motion based on movement rather than acceleration.
* (str_concat_with_free), (get_file_info):
Added exposure time, f-number, ISO, focal length to fullscreen
properties display.
Patches by Michael Satlow. Bug #472491.
2007-09-07 Claude Paroz <claude@2xlibre.net>
* src/gth-folder-selection-dialog.c:
(gth_folder_selection_construct): String was not marked for
translation.
2007-08-27 Paolo Bacchilega <paobac@svn.gnome.org>
[ gthumb 2.10.6 released ]
* NEWS: updated for version 2.10.6
2007-08-27 Paolo Bacchilega <paobac@svn.gnome.org>
* src/dlg-file-utils.c:
* src/gth-browser.c (gth_browser_notify_directory_rename): use
path_in_path instead of strncmp.
2007-08-27 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (window_update_location): go to the home dir
if the history is null.
2007-08-26 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/dlg-rename-series.c: (extract_utf8_digits), (update_list):
Fix original-enumerator code so it works if there is no original
enumerator.
2007-08-26 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_tools.glade:
* doc/C/gthumb.xml:
* src/dlg-rename-series.c: (extract_utf8_digits), (update_list):
Add template code to preserve original enumerator when renaming
files. Bug #459349.
2007-08-26 Michael J. Chudobiak <mjc@svn.gnome.org>
* NEWS:
* data/glade/gthumb_tools.glade:
* data/gthumb.schemas.in:
* libgthumb/preferences.c:
* libgthumb/preferences.h:
* libgthumb/typedefs.h:
* src/dlg-rename-series.c: (ok_clicked_cb), (update_list),
(dlg_rename_series):
Add change-text-case feature to rename-series tool. Bug #459349.
2007-08-26 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (gth_browser_go_to_catalog): check whether the
catalog exist before changing to the catalog view.
2007-08-23 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (set_cursor_busy): use LEFT_PTR_WATCH as busy
cursor instead of GDK_WATCH because we can still use the ui while
loading an image or the file list.
2007-08-22 Michael J. Chudobiak <mjc@svn.gnome.org>
* data/glade/gthumb_tools.glade:
* src/gth-browser-actions-entries.h:
Disambiguate "Scale Images" string for translators. Bug 468343.
2007-08-22 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (file_list_done_cb): always call
window_make_current_image_visible with reset_if_not_found set to FALSE
Fixes #469273 – delete photo in viewer mode does not advance to next
image
2007-08-22 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-window-actions-entries.h: added an undo icon to the
Wallpaper_Restore command.
* src/gth-window-actions-callbacks.c: allow to set a remote image
as desktop wallpaper.
2007-08-22 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (dir_list_done_cb): add the image to the file list
only if the image folder is the same of the file list.
2007-08-22 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (dir_list_done_cb): add the priv->image to the
file list if gth_dir_list returns a NULL list. This fixes the problem
described in the previuos changlog entry in a more consistent way.
2007-08-21 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c:
* src/gth-fullscreen.c: allow to view an image in fullscreen mode even
if the current file list is void. This happens when viewing an image
from the web browser, which renames the filename with a .tmp extension
* src/gth-browser.c (gth_browser_load_image_from_uri): always use slow
mime-type detection when loading an image from a uri.
* src/gth-browser.c (launch_selected_videos_or_audio):
* src/gth-batch-op.c (load_current_image): no need to calculate the
mime-type again, just use the value available in the FileData structure.
2007-08-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (get_path_relative_to_uri):
* libgthumb/file-utils.h:
* src/catalog-png-exporter.c: (paint_frame):
* src/catalog-web-exporter.c: (gth_parsed_doc_print):
Fixed relative URI handling when the two URIs have different
schemes. Bug 468541. Patch by Christophe Bisière.
2007-08-20 Paolo Bacchilega <paobac@svn.gnome.org>
* configure.in: lowered required bonobo version to 2.6.0
2007-08-20 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-fullscreen.c: filter out non-images.
* src/gth-browser.c: do not allow to go fullscreen if there are no
images in the list.
* src/gthumb-preloader.c:
* libgthumb/gth-image-list.h:
* libgthumb/gth-image-list.c:
* libgthumb/gth-file-view-thumbs.c:
* libgthumb/gth-file-view-list.c:
* libgthumb/gth-file-view.h:
* libgthumb/gth-file-view.c: removed gth_file_view_only_one_is_selected and
gth_file_view_selection_not_null, added gth_file_view_get_n_selected
2007-08-20 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/file-utils.c (gth_pixbuf_new_from_video): resolve all symlinks
when loading the video preview for the image loader. No need to resolve
the symlinks for the thumb loader because the thumb-loader already
resolve the symlinks before calling the image loader.
2007-08-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/catalog-web-exporter.c: (ensure_album_dir_exists),
(get_index_filename), (get_theme_filename), (get_html_index_dir),
(get_html_index_filename), (get_html_image_dir),
(get_html_image_filename), (get_thumbnail_uri), (get_image_uri),
(get_preview_uri), (parse_theme_files):
g_build_filename > build_uri, to partly fix bug 464023.
Patch by Christophe Bisière.
* src/gth-browser-actions-entries.h:
Mark string for translation. Patch by Stephane Raimbault, bug 468350.
2007-08-20 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/Makefile.am: Remove trailing whitespace.
2007-08-20 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/image-viewer.c: use GTH_TYPE_FIT as enum type for the
set_fit_mode signal, to avoid warnings in newer versions of gtk+
* libgthumb/image-viewer.h: create an gobject type for GthFit
2007-08-19 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (get_image_to_preload): use
get_cache_filename_from_uri instead of get_local_path_from_uri.
2007-08-19 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter):
Use cached copy of remote file. Fixes bug 468030.
2007-08-19 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-location.c: always add the basic elements in the drives
section even if no drive is available.
* src/gth-browser.c: go to the base catalog dir when file:/// is
specified.
2007-08-19 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/gthumb-stock.h:
* libgthumb/gthumb-stock.c:
* libgthumb/icons/zoom-width-16.png:
* libgthumb/icons/zoom-width-24.png:
Use the same icons used by evince for the zoom-width command.
2007-08-19 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/print-callbacks.c: do not hide the main print dialog
after selecting print.
2007-08-19 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c: do not reload the file list if the
show_hidden_files flags has not changed. This fixes a problem that
caused the window to reload after a new window was created.
2007-08-19 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (gth_browser_notify_files_created):
Update the file-data info for new files, this way the new files are
added respecting the sort order.
2007-08-18 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (load_timeout_cb): update the mtime to force a
reload if the image has changed.
* libgthumb/file-utils.c: do not resolve symlinks for remote uris.
(copy_file_async): always overwrite the target file.
2007-08-18 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (add_scheme_if_absent):
Fix null-string check, bug 467906. Patch by Christophe Bisière.
2007-08-18 Paolo Bacchilega <paobac@svn.gnome.org>
* configure.in:
* src/Makefile.am:
* src/main.c:
* src/gth-window.c:
* src/gth-application.h:
* src/gth-application.c:
* src/GNOME_GThumb.idl:
* data/Makefile.am:
* data/GNOME_GThumb.server:
Use again bonobo to provide the single instance application feature.
Removed the gtk-unique dependecy as it's not well maintained, api
unstable, poorly available, not enough powerfull.
2007-08-18 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser-actions-callbacks.c:
* src/dlg-write-to-cd.c:
* src/dlg-web-exporter.c:
* src/dlg-file-utils.c: use build_uri instead of g_build_path when
building uris.
* libgthumb/file-utils.h:
* libgthumb/file-utils.c: make build_uri available outside.
2007-08-18 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c: check whether the uri is an image on start up.
* src/gth-batch-op.c:
* src/dlg-convert.c:
Fixed scale and convert tools for remote images.
2007-08-18 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-image-selector.c:
* src/dlg-preferences.c:
* src/dlg-image-prop.c:
* src/dlg-file-utils.c:
* src/dlg-duplicates.c:
* src/dlg-comment.c:
* src/dlg-catalog.c:
* src/albumtheme.c:
* libgthumb/print-callbacks.c:
* libgthumb/preferences.c:
* libgthumb/pixbuf-utils.c:
* libgthumb/image-viewer.c:
* libgthumb/file-data.c:
* libgthumb/file-utils.c:
* libgthumb/cursors.c:
* libgthumb/async-pixbuf-ops.c: removed special char used in the
emacs days.
* src/rotation-utils.c:
* src/gth-window-actions-callbacks.c:
* src/dlg-png-exporter.c:
* src/catalog-png-exporter.h:
* src/catalog-png-exporter.c:
Fixed pixbuf saving to remote locations.
2007-08-17 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (uri_has_scheme):
Return false if null.
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev),
(_gdk_pixbuf_save):
Add assertion to make sure file is local.
2007-08-16 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/main.c: (get_folder_pixbuf_size_for_list):
GTK_ICON_SIZE_SMALL_TOOLBAR -> GTK_ICON_SIZE_MENU for folder icons
in dir list, to eliminate blurring and be consistent with other
apps.
2007-08-16 Michael J. Chudobiak <mjc@svn.gnome.org>
* src/gth-browser-ui.h:
* src/gth-browser.c: (window_sync_menu_with_preferences),
(pref_zoom_quality_changed), (gth_browser_construct):
* src/gth-viewer-ui.h:
* src/gth-viewer.c: (sync_menu_with_preferences),
(gth_viewer_construct):
* src/gth-window-actions-entries.h:
Simplify the UI and code by setting the zoom quality from the
preferences dialog only, instead of both the preferences dialog
and the view menu. Bug 467038.
2007-08-16 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/image-viewer.c:
* libgthumb/image-viewer.h:
Added a shift-w keybinding to force a fit width action.
2007-08-16 Paolo Bacchilega <paobac@svn.gnome.org>
* src/main.c:
* src/gth-browser.c:
* libgthumb/gth-file-list.c:
Do not check whether the uri is a file if it's not necessary, change
location in an idle callback to avoid a lock if the authentication
dialog is required. Go to the previous location if an error occurs
while loading the current location.
2007-08-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/dlg-save-image.c: (dlg_save_image_as):
* src/dlg-convert.c: (dlg_convert):
* src/dlg-duplicates.c: (dlg_duplicates):
* src/dlg-png-exporter.c: (dlg_exporter):
* src/dlg-preferences.c: (set_to_current_cb), (dlg_preferences):
* src/dlg-scale-series.c: (dlg_scale_series):
* src/dlg-search.c: (dlg_search_ui):
* src/dlg-web-exporter.c: (dlg_web_exporter):
Use gtk_file_chooser_set_current_folder_uri instead of
gtk_file_chooser_set_uri when initializing most file chooser dialogs.
Fixes bug 467036.
2007-08-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/dlg-save-image.c: (dlg_save_image_as):
* src/dlg-convert.c: (dlg_convert):
* src/dlg-duplicates.c: (dlg_duplicates):
* src/dlg-png-exporter.c: (dlg_exporter):
* src/dlg-preferences.c: (set_to_current_cb), (dlg_preferences):
* src/dlg-scale-series.c: (dlg_scale_series):
* src/dlg-search.c: (dlg_search_ui):
* src/dlg-web-exporter.c: (dlg_web_exporter):
Use gtk_file_chooser_set_current_folder_uri instead of
gtk_file_chooser_set_uri when initializing most file chooser dialogs.
Fixes bug 467036.
2007-08-15 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser-actions-callbacks.c: Fixed freeze after opening a new
window while viewing a catalog.
* libgthumb/file-utils.c (remove_host_from_uri): return NULL if uri
is NULL.
2007-08-15 Paolo Bacchilega <paobac@svn.gnome.org>
* src/dlg-rename-series.c: add the image date values into a cache to
avoid an excessive amount of file reads each time the template
changes. Use fdata->size instead of reading the file size each time.
* libgthumb/catalog.c (catalog_get_file_data_list):
Filter the list to remove the deleted files.
Fixes bug #466967 - crash in gThumb Image Viewer: Clicked on an
image in catalog browser mode...
2007-08-15 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-window.h:
* src/gth-window.c:
* src/gthumb-preloader.h:
* src/gthumb-preloader.c:
* src/gth-fullscreen.c:
* src/gth-browser.c:
pass the preloader pixbufs to/from the fullscreen window, to avoid
unnecessary image loading when entering/exiting the fullscreen mode.
2007-08-15 Michael J. Chudobiak <mjc@svn.gnome.org>
* libgthumb/file-utils.c: (mime_type_is_image),
(mime_type_is_video), (mime_type_is_audio):
Warn, rather than crash, when mime_type is null. The underlying
problem still needs to be fixed. Bug 466967.
2007-08-14 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser-actions-entries.h: Add mnemonics for View As Slides,
View as List. Patch by Patrick Wade. Bug 466684.
2007-08-14 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c:
* src/dlg-search.c:
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c:
Do not create thumbnails for non-visible images on remote uris.
2007-08-13 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml: Document Shift+x zoom key.
2007-08-13 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/file-utils.c (remove_host_from_uri): check if idx is at the
end of the string instead of checking whether it's NULL, as suggested
in #464023 by Christophe.
2007-08-13 Paolo Bacchilega <paobac@svn.gnome.org>
* src/rotation-utils.h:
* src/rotation-utils.c:
* src/dlg-photo-importer.c:
* src/dlg-jpegtran.c:
* src/catalog-web-exporter.c:
* libgthumb/jpegutils/jpegtran.h:
* libgthumb/jpegutils/jpegtran.c:
* libgthumb/file-utils.c:
Fixed ui freeze caused by the trim dialog. Always trim images in the
web-exported, never trim images in the photo importer, ask what to do
when using the rotation utils.
2007-08-11 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/thumb-loader.c: do not save thumbnails from the user's
thumbnail directory. Use the "large" subdirectory when using big
thumbnails.
* libgthumb/file-utils.c (remove_host_from_uri): return "/" if the uri
is "file://"
2007-08-11 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/file-utils.h:
* libgthumb/file-utils.c: added function add_filename_to_uri
* src/dlg-write-to-cd.c:
* src/dlg-file-utils.c: use add_filename_to_uri here
* libgthumb/comments.c (comments_get_comment_filename): do not return
NULL for non-local uris.
2007-08-11 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (_set_fullscreen_or_slideshow): do not reverse the
file list.
2007-08-11 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c (gth_browser_load_image_from_uri): update the
mime-type here.
(load_timeout_cb): no need to update the file info here.
2007-08-11 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/gth-file-list.c (load_new_list):
Fixed bug #465414 – change comment and image shown twice in browser
2007-08-11 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-window-actions-entries.h:
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-callbacks.c:
* libgthumb/image-viewer.c:
Added shift+x keybinding to always perform zoom to fit.
Fixes bug #464446 – Zoom to Fit feature vanished from UI
2007-08-11 Paolo Bacchilega <paobac@svn.gnome.org>
* src/dlg-rename-series.c (dlg_rename_series): no need to unescape
the template.
Fixes bug #464348 – Rename tool breaks if template = "%f1%e"
2007-08-11 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c: use a private variable to store the fast_file_type
preference, to avoid a lot of gconf key reads.
* src/gth-viewer.c:
* src/gthumb-preloader.c:
* src/gth-browser.c:
* libgthumb/gth-file-list.c: do not update the mime-type when we just
need to update the mtime.
* libgthumb/file-data.h:
* libgthumb/file-data.c: added file_data_update_info to update the
file info without updating the mime type.
2007-08-11 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser-actions-callbacks.c:
* src/gth-browser.c:
* src/dlg-file-utils.c:
* src/dlg-catalog.c:
Fixed catalog renaming and moving.
2007-08-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (window_update_image_info):
Fixed indentation.
2007-08-10 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-dir-list.c:
* src/catalog-list.c:
* libgthumb/file-utils.c:
Updated all the calls to path_list_new, which returns a FileData list
for files.
2007-08-10 Paolo Bacchilega <paobac@svn.gnome.org>
* configure.in: bumped version number to 2.10.6 to differentiate
current development version from the latest released version.
2007-08-10 Paolo Bacchilega <paobac@svn.gnome.org>
* src/rotation-utils.c:
* src/gth-window-actions-callbacks.c:
* src/dlg-photo-importer.c:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c:
* libgthumb/comments.c:
Create a temp dir where there is the bigger free space. Fixed
escaping of the temp dir.
Use gnome-vfs to clear the local cache when it's too big.
2007-08-09 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/gth-exif-utils.c (exif_string_to_time_t ): added some
checks on input string.
(get_exif_time): allocate 64 bytes instead of 21, just in case.
2007-08-09 Paolo Bacchilega <paobac@svn.gnome.org>
* src/rotation-utils.c:
* src/gth-image-selector.c:
* src/gth-browser.c:
* src/dlg-web-exporter.c:
* libgthumb/image-viewer.c:
* libgthumb/image-loader.c:
* libgthumb/gth-image-list.c:
* libgthumb/file-utils.c:
* libgthumb/async-pixbuf-ops.c:
Some variables were used before initialization. Initialize the false
positives too, in order to shut up compiler.
2007-08-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter),
(gth_pixbuf_new_from_file):
get_pixbuf_using_external_converter was broken, because
"g_spawn_command_line_sync" does not accept pipes ("|") in the command line.
Reverted to "system" for converting HDR files. The RAW dcraw convert command
is simple enough that g_spawn_command_line_sync is OK.
For tiff files, I backported changes from trunk to just use the standard
gdk_pixbuf loader for thumbnails, even though it is a memory hog. This
removes one instance of system/g_spawn_command_line_sync. (trunk used this
method because tifftopnm -byrow loses the tiff orientation tag.)
Still getting uricmp crashes (bug 464777).
2007-08-09 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-dir-list.c: use the file_filter function to filter files.
* src/gth-browser.c: filter the changed files list, before adding them
to the list.
* src/gth-viewer.c:
* src/gthumb-preloader.c:
* src/gth-fullscreen.c:
* src/dlg-photo-importer.c:
* libgthumb/thumb-loader.c:
* libgthumb/image-viewer.c:
* libgthumb/image-loader.c:
* libgthumb/gth-image-list.c:
* libgthumb/gth-file-list.c:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c:
* libgthumb/file-data.h:
* libgthumb/file-data.c:
* libgthumb/catalog.c:
Added file_data_update_mime_type to update the mime-type when needed.
Fixed some file_data ref/unref bugs.
* src/dlg-png-exporter.c:
* src/catalog-png-exporter.c: use a file_data list instead of a path
list.
2007-08-08 Paolo Bacchilega <paobac@svn.gnome.org>
* libgthumb/gth-image-list.h:
* libgthumb/gth-image-list.c:
* libgthumb/gth-file-view-thumbs.c:
* libgthumb/gth-file-view-list.c:
* libgthumb/gth-file-view.h:
* libgthumb/gth-file-view.c:
* libgthumb/gth-file-list.c: ref/unref file_data values in the file
views (maybe fixes #464777).
* libgthumb/file-data.h:
* libgthumb/file-data.c: added a boxed type.
* libgthumb/comments.c: check file existence before trying to load
the xml file, to avoid a libxml warning.
2007-08-08 Paolo Bacchilega <paobac@svn.gnome.org>
* src/dlg-file-utils.c:
* src/dlg-duplicates.c:
* libgthumb/image-loader.c: added some comments to FIXMEs
* src/dlg-photo-importer.c: removed info argument, update the file_data
structure before using it.
2007-08-08 Paolo Bacchilega <paobac@svn.gnome.org>
* src/rotation-utils.c (apply_transformation_jpeg): always
restore the file permissions here.
* src/dlg-photo-importer.c: no need to restore file permissions here.
2007-08-08 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-viewer.c (monitor_file_renamed_cb): fixed memory leak.
* src/dlg-photo-importer.c: use get_uri_from_local_path instead of
get_uri_from_path
* src/main.c:
* src/gth-location.c:
* src/gth-browser-actions-callbacks.c:
* src/gth-browser.c:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c:
* libgthumb/file-data.c:
rename get_uri_from_path as add_scheme_if_absent, do avoid confusion
with get_uri_from_local_path.
2007-08-08 Paolo Bacchilega <paobac@svn.gnome.org>
* src/gth-browser.c: Set progress bar height to 10.
* libgthumb/file-utils.c:
* data/gthumb.schemas.in: hide filenames and image preview by
default.
2007-08-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/comments.c: (delete_comment_iptc):
filename <-> uri typo, which prevented building.
2007-08-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/rotation-utils.c:
* src/gth-browser.c:
* src/dlg-web-exporter.c:
* src/dlg-photo-importer.c:
* src/catalog-web-exporter.h:
* src/catalog-web-exporter.c:
* libgthumb/jpegutils/jpegtran.h:
* libgthumb/jpegutils/jpegtran.c:
* libgthumb/jpegutils/jpeg-data.c:
* libgthumb/image-loader.c:
* libgthumb/gth-exif-utils.c:
* libgthumb/file-utils.c:
* libgthumb/comments.h:
* libgthumb/comments.c:
Do not load/save comments for remote images because these operations
cannot be async without big changes to the code. Get the mime-type for
remote files from the filename only. Use a file_data list for the
web exporter to minimize file access operations, fixed uri/local_path
convertions.
2007-08-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/Wiki/image.gthtml:
* data/albumthemes/Flicker/image.gthtml:
* data/albumthemes/NeatRound/image.gthtml: removed max_size attribute
for the comment in the image page.
2007-08-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* AUTHORS: use svn.gnome.org addresses, rather than cvs.gnome.org
* MAINTAINERS: update formatting as per desktop-devel-list@gnome.org
2007-08-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/comments.h:
* libgthumb/comments.c:
2007-08-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.c (folder_is_film): return false for remote folders.
2007-08-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-window-actions-callbacks.c:
* src/gth-window.h:
* src/gth-window.c:
* src/gth-viewer.c:
* src/gthumb-preloader.c:
* src/gth-browser-actions-callbacks.c:
* src/gth-browser.c:
* src/dlg-reset-exif.c:
* src/dlg-redeye-removal.c:
* src/dlg-photo-importer.c:
* src/dlg-jpegtran.c:
* src/dlg-file-utils.c:
* src/dlg-crop.c:
* libgthumb/image-loader.c:
* libgthumb/gth-exif-utils.c:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c:
* libgthumb/dlg-save-image.h:
* libgthumb/dlg-save-image.c:
Make saving of remote images async. Duplicate the file_data in the
preloader in order to reload the image if changed.
2007-08-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-window-actions-callbacks.c:
* src/dlg-reset-exif.h:
* src/dlg-reset-exif.c:
* src/dlg-jpegtran.c: make reset_exif async for remote files.
* data/glade/gthumb_tools.glade: added a info icon in the reset exif
dialog.
2007-08-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/rotation-utils.h:
* src/rotation-utils.c:
* src/gth-window-actions-callbacks.c:
* src/gth-viewer.c:
* src/gth-exif-data-viewer.c:
* src/gth-browser.c:
* src/dlg-web-exporter.c:
* src/dlg-photo-importer.c:
* src/dlg-jpegtran.h:
* src/dlg-jpegtran.c:
* src/catalog-web-exporter.c:
* libgthumb/jpegutils/jpegtran.c:
* libgthumb/thumb-loader.c:
* libgthumb/print-callbacks.c:
* libgthumb/pixbuf-utils.h:
* libgthumb/pixbuf-utils.c:
* libgthumb/image-loader.c:
* libgthumb/gtk-utils.c:
* libgthumb/gth-exif-utils.c:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c:
* libgthumb/file-data.h:
* libgthumb/file-data.c:
Other batch of changes to make loading/saving of remote files async.
Some functionality can be broken at this point.
2007-08-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/thumb-loader.c:
* libgthumb/gth-file-list.c: move the resolve_links op in the
thumb_loader. Resolve only local files.
2007-08-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c: added the prograssbar to a vbox to make the
size_request work correctly.
2007-08-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c:
* libgthumb/image-loader.c: fix ref/unref of file_data values.
2007-08-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/image-loader.c:
* libgthumb/thumb-loader.c: reverted last change.
2007-08-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/thumb-loader.c (thumb_loader): use the image_loader
thumb_factory.
* libgthumb/image-loader.h:
* libgthumb/image-loader.c: added a file_mutex for handling the file
field.
2007-08-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.c:
* src/gth-window.h:
* src/gth-window.c:
* src/gth-viewer-actions-callbacks.c:
* src/gth-viewer.h:
* src/gth-viewer.c:
* src/gthumb-preloader.h:
* src/gthumb-preloader.c:
* src/gth-fullscreen.h:
* src/gth-fullscreen.c:
* src/gth-exif-data-viewer.h:
* src/gth-exif-data-viewer.c:
* src/gth-browser-actions-callbacks.c:
* src/gth-browser.h:
* src/gth-browser.c:
* src/gth-batch-op.c:
* src/dlg-image-prop.c:
* src/dlg-file-utils.c:
* src/dlg-convert.c:
* libgthumb/thumb-loader.c:
* libgthumb/image-viewer.h:
* libgthumb/image-viewer.c:
* libgthumb/image-loader.h:
* libgthumb/image-loader.c:
* libgthumb/gth-exif-utils.c:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c:
* libgthumb/file-data.h:
* libgthumb/file-data.c:
* libgthumb/catalog.h:
* libgthumb/catalog.c:
Use a file_data instead of a simple uri to minimize accesses to files.
Started work to make loading of remote files async.
2007-08-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/thumb-loader.h:
* libgthumb/thumb-loader.c: use a file_data structure to store all the
info about the file to load. This minimize the number of accesses to
the file, which is important for remote files.
* src/dlg-duplicates.c:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c: pass an optional filter function argument
to path_list_async_new
* libgthumb/thumb-cache.c:
* src/gth-dir-list.h:
* src/gth-dir-list.c: make the filtering here instead of gth-file-list.c
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c: removed the file filtering from here. This
reduces the number of accesses to files.
* libgthumb/image-loader.h:
* libgthumb/image-loader.c: removed the path argument from the image
loader costructor.
* src/gthumb-preloader.c:
* src/gth-batch-op.c:
* src/dlg-search.c:
* src/dlg-photo-importer.c:
* src/dlg-jpegtran.c:
* src/dlg-convert.c:
* src/catalog-web-exporter.c:
* src/catalog-png-exporter.c:
* libgthumb/print-callbacks.c:
* libgthumb/image-viewer.c: changed all the calls to image_loader_new,
thumb_loader_new and other minor changes.
* libgthumb/glib-utils.h:
* libgthumb/glib-utils.c: added get_static_string
* libgthumb/file-data.h:
* libgthumb/file-data.c: minor api changes.
* libgthumb/gthumb-init.c: moved prune_cache outside
ensure_directories_exist
2007-08-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* doc/C/gthumb.xml: Corrected the Rename tool documentation, to
reflect the move from the Tools menu to the Edit menu.
2007-07-31 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/catalog-web-exporter.c: (get_style_dir):
Unescape style path names. Patch by Christophe Bisière.
2007-07-31 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c: call window_make_current_image_visible with
reset_if_not_found set to FALSE if load_image_folder_after_image is TRUE.
2007-07-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-exif-utils.h:
* libgthumb/gth-exif-utils.c:
Applied patch #92687 in bug #461538 to read the exif value even
when the standard is not followed correctly. Patch by Joakim.
2007-07-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-exif-utils.c (gth_minimal_exif_tag_action):
Fixes crash described in bug #461538. Patch by Joakim.
2007-07-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c: use gnome_vfs_mime_application_equal to
compare apps.
2007-07-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (uricmp): return 0 only if both uris are NULL
2007-07-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-exif-utils.c (gth_minimal_exif_tag_action):
return PATCH_EXIF_NO_TAGS instead of continuing when we are not able
to read the value (see bug #461538).
2007-07-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c (gth_file_list_op_new): specify missing
argument type for gth_file_list_op_new
2007-07-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c:
* libgthumb/gth-image-list.h:
* libgthumb/gth-image-list.c:
* libgthumb/gth-file-view-thumbs.c: relayout without calling a timeout
callback after thawing the list, this is because make_image_visible,
in gth-browser.c, needs an already layouted list in order to work
correctly.
2007-07-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (activate_catalog_done):
(file_list_done_cb):
Fixed bug #439043 calling window_make_current_image_visible with
reset_if_not_found set to TRUE.
2007-07-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c: call gth_file_list_set_show_hidden_files when
the PREF_SHOW_HIDDEN_FILES value changes.
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c: added a
gth_file_list_set_show_hidden_files function.
Read the PREF_SHOW_HIDDEN_FILES value only after a gconf notification.
2007-07-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (monitor_update_files_cb):
* src/gth-monitor.c: (add_monitor_event):
Removed debugging ifdefs that were overlooked before.
Run-time debug message control is used now.
2007-07-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* README: mention optional use of midentify.
2007-07-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-data.c: (file_data_load_exif_data):
* libgthumb/gth-exif-utils.c: (get_mplayer_time),
(get_metadata_time), (have_exif_time):
* libgthumb/gth-exif-utils.h:
* src/catalog-png-exporter.c: (image_loader_done):
* src/catalog-web-exporter.c: (gth_parsed_doc_print),
(image_loader_done):
* src/dlg-change-date.c: (exif_time_available), (ok_clicked):
* src/dlg-comment.c: (get_requested_time),
(date_optionmenu_changed_cb):
* src/dlg-rename-series.c: (get_image_date):
* src/gth-browser.c: (window_update_statusbar_image_info):
* src/gth-fullscreen.c: (get_file_info):
* src/gth-viewer.c: (viewer_update_statusbar_image_info):
Replace get_exif_time and get_mplayer_time with a more
genereal get_metadata_time function. Minor corrections.
2007-07-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-exif-utils.c: (get_mplayer_time):
Use unescaped filenames.
2007-07-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-exif-utils.c: (get_mplayer_time):
Delete tmp dirs properly.
2007-07-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/file-data.c: (file_data_load_exif_data):
* libgthumb/gth-exif-utils.c: (get_mplayer_time):
* libgthumb/gth-exif-utils.h:
Added code to extract video DateTime tags using mplayer's
midentify tool, if present.
2007-07-19 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* src/dlg-photo-importer.c: (get_file_name), (save_images__init),
(save_images__done):
Added a warning when renaming imported photos to avoid file
overwrites. Bug #332684.
2007-07-19 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* src/dlg-photo-importer.c: (delete_images__init),
(delete_images__step), (adjust_orientation__done),
(adjust_orientation__step):
* src/rotation-utils.c: (apply_transformation_jpeg),
(apply_transformation_generic):
* src/rotation-utils.h:
Fixed bug #446792, gThumb deletes pictures on failed import, by
stopping deletes if the rotation functions fail.
2007-07-19 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* src/rotation-utils.c: (apply_transformation_jpeg):
Part of the rotation code needs to use escaped file names. Fixes
bug #457936. Patch by Manuel Braga.
2007-07-19 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (uricmp): Add some NULL checks to try
to fix vexatious bug #443006.
* libgthumb/comments.c: (comment_data_equal):
* libgthumb/file-utils.c: (get_file_mime_type), (mime_type_is),
(image_is_type), (uricmp):
* libgthumb/glib-utils.c: (strcmp_null_tolerant):
* libgthumb/glib-utils.h:
* libgthumb/thumb-loader.c: (thumb_loader_save_to_cache):
* src/dlg-comment.c: (text_field_cmp), (dlg_comment_update):
* src/gth-batch-op.c: (load_current_image):
Spelling: tollerant -> tolerant
2007-07-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* src/gth-browser.c: (catalog_activate),
(gth_browser_go_to_directory):
Fixed bug #439043 - Preview area always shows last selected image.
Set image viewer to void when switching folders or catalogs.
2007-07-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (window_update_go_sensitivity),
(window_progress), (window_make_current_image_visible),
(gth_file_list_cursor_changed_cb), (window_enable_thumbs),
(image_clicked_cb), (mouse_wheel_scrolled_cb), (file_list_done_cb),
(dir_list_done_cb), (gth_browser_construct), (close__step2),
(gth_browser_close), (stop__step5), (stop__step4), (stop__step2),
(gth_browser_go_to_catalog), (gth_browser_show_next_image),
(gth_browser_show_prev_image):
Deleted some unused (i.e., never set to TRUE) boolean variables.
2007-07-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* src/gth-browser.c: (set_cursor_busy), (set_cursor_not_busy),
(catalog_activate), (image_requested_error_cb),
(image_requested_done_cb), (file_list_done_cb),
(create_new_file_list), (gth_browser_construct), (close__step6),
(gth_browser_go_to_directory), (load_timeout_cb):
Add/fix a busy cursor when loading folders and preloading the
selected image.
2007-07-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/gth-file-list.c: (gth_file_list_init), (load_new_list):
Fixed Ctrl+H (show/hide hidden files) function. It updated the
gconf preference, but not the active file lists.
2007-07-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* data/gthumb.schemas.in:
Show filenames by default. Bug #452831.
2007-07-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* data/gthumb.schemas.in:
Show preview pane by default. Bug #452833.
2007-07-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/gth-file-view-list.c: (gfv_sorted),
(gth_file_view_list_new): Fixed bug #457685 - sort by Exif DateTime broken
in list mode.
2007-07-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-file-list.c: (gth_file_list_update_next_thumb):
Try loading more thumbnails into memory for faster navigation (load
visible images, plus 200 before and 200 after visible range).
2007-07-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-exif-utils.c: (get_exif_time): Return DateTimeOriginal
or DateTimeDigitized if DateTime is not present.
2007-07-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-exif-utils.c: (get_exif_time):
Add support for remote files, and return 0 for invalid times,
instead of -1.
2007-07-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-data.c: (file_data_load_exif_data):
* libgthumb/gth-exif-utils.c: (exif_string_to_time_t),
(get_exif_time):
Implement faster exif DataTime loading for sorts, by reading the
DateTime tags using the new minimal tag reader, instead of libexif.
2007-07-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_new_from_uri), (if):
* libgthumb/gth-exif-utils.c: (gth_minimal_exif_tag_action),
(gth_minimal_exif_tag_read), (gth_minimal_exif_tag_write),
(read_orientation_field), (write_orientation_field):
* libgthumb/gth-exif-utils.h:
* src/dlg-change-date.c: (ok_clicked):
Delete unused parameter (ifds) from the "minimal" tag read/write
functions.
2007-07-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/file-utils.c (get_uri_host): always return a non-NULL value
Fixes bug #455911 – Symlink/vfs problem. Ported from gthumb-2-10.
2007-07-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/file-utils.c: (xdg_user_dir_lookup):
Ensure the XDG "PICTURES" folder exists before using it.
* src/dlg-photo-importer.c: (dlg_photo_importer):
Set the import folder properly (use
gtk_file_chooser_set_current_folder_uri, not
gtk_file_chooser_set_uri. Required to make XDG default
folder work.
2007-07-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-viewer.c: (viewer_update_image_info):
Corrected duplicated and missing logic.
2007-07-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (window_update_image_info):
Cosmetic - fixed indentation.
2007-07-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-exif-utils.c: (gth_minimal_exif_tag_action),
(gth_minimal_exif_tag_read), (gth_minimal_exif_tag_write),
(read_orientation_field):
* libgthumb/gth-exif-utils.h: Add gth_minimal_exif_tag_read to
match the existing gth_minimal_exif_tag_write function.
Backport from metadata-ideas branch.
2007-07-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_remote_cache_full_path),
(prune_cache), (obtain_local_file),
(get_pixbuf_using_external_converter):
* libgthumb/file-utils.h:
* libgthumb/gthumb-init.c: (ensure_directories_exist):
Re-work the prune_cache function slightly, to permit more than one
type of cache. Backport from metadata-ideas branch.
2007-07-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb.glade:
String change - call exif data "Metadata"
* libgthumb/file-utils.c: (gth_pixbuf_new_from_uri):
Fix error in previous patch.
2007-07-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_new_from_uri): More elegant
and readable re-working of previous patch.
2007-07-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/file-utils.c: (gth_pixbuf_new_from_uri): Use the new
gdk_pixbuf_apply_embedded_orientation function, if available, to
auto-rotate images with orientation tags.
2007-07-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-web-exporter.c: (dlg_web_exporter),
(show_album_theme_cb): Make dialogs modal.
2007-07-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* data/albumthemes/Classic/thumbnail.gthtml:
* data/albumthemes/ClassicClips/thumbnail.gthtml:
* data/albumthemes/Flicker/thumbnail.gthtml:
* data/albumthemes/NeatRound/thumbnail.gthtml:
* data/albumthemes/Wiki/thumbnail.gthtml:
Fixed bug #454489. Theme uses the wrong captions in the thumbnails.
Patched by Jef Driesen.
2007-07-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/print-callbacks.c: (catalog_set_standard_page_size):
Use gtk_paper_size_free instead of g_free. Bug #454037.
Patch by Pascal Terjan.
2007-07-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/comments.c: (save_comment):
Check for invalid unicode in embedded comments. Bug #453986.
2007-06-26 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/file-utils.c: (delete_thumbnail):
* libgthumb/file-utils.h: New function, to delete cached thumbnails
corresponding to a given image.
* src/dlg-file-utils.c: (xfer_file), (dlg_files_delete):
Use the new function to delete thumbnails when deleting images.
Only works at the file level - doesn't do anything when folders
are deleted. Bug #450675.
2007-06-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-posterize.c (destroy_cb):
* src/dlg-hue-saturation.c (destroy_cb):
* src/dlg-color-balance.c (destroy_cb):
* src/dlg-brightness-contrast.c (destroy_cb): removed useless call to
gth_pixbuf_op_stop.
Fixes bug #448644 – Image brightness-contrast doesn't trigger
save-ability. (Late merge from gthumb-2-10 branch).
2007-06-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-image-list.c: (real_move_cursor):
Wrap to next/previous line when navigating with arrow keys
at start/end of a row of images. Bug 449338. Patch
by Christophe Bisière.
2007-06-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml:
* doc/theme-xml.txt: Documentation updates regarding web album.
* src/catalog-png-exporter.c: Remove extra space that causes build
error. Bug #450110.
2007-06-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/albumthemes/BestFit/image.gthtml:
* data/albumthemes/BestFit/index.gthtml:
* data/albumthemes/BestFit/index.js:
* data/albumthemes/BestFit/thumbnail.gthtml:
* data/albumthemes/ClassicClips/image.gthtml:
* data/albumthemes/ClassicClips/index.gthtml:
* data/albumthemes/ClassicClips/thumbnail.gthtml:
* data/albumthemes/Flicker/image.gthtml:
* data/albumthemes/Flicker/index.gthtml:
* data/albumthemes/NeatRound/image.gthtml:
* data/albumthemes/NeatRound/index.gthtml:
* data/albumthemes/NeatRound/thumbnail.gthtml:
* data/albumthemes/Wiki/image.gthtml:
* data/albumthemes/Wiki/index.gthtml:
* data/albumthemes/Wiki/thumbnail.gthtml:
Enable sub-folder usage in all themes, and minor theme corrections.
Patch by Christophe Bisière. Bug #119492.
2007-06-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* data/albumthemes/Classic/image.gthtml:
* data/albumthemes/Classic/index.gthtml:
* data/albumthemes/Classic/thumbnail.gthtml:
* data/glade/gthumb_web_exporter.glade:
* data/gthumb.schemas.in:
* libgthumb/preferences.h:
* src/albumtheme-private.h:
* src/albumtheme.c:
* src/albumtheme.l:
* src/albumtheme.y:
* src/catalog-web-exporter.c:
* src/catalog-web-exporter.h:
* src/dlg-web-exporter.c:
* src/lex.albumtheme.c:
Initial patch to use subfolders when generating web albums.
Bug #119492. Patch by Christophe Bisière. Only classic theme
works; theme patches to follow.
2007-06-14 Michael J. Chudobiak <mjc@cvs.gnome.org>
* configure.in: Make trunk = 2.11.0, to avoid confusion with
2.10.x branch.
2007-06-14 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* src/main.c: (main): Fixed Bug #447311 - g_thread_init warning
when starting gthumb, by moving g_thread_init to the very start of
src/main.c:main.
2007-06-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/file-utils.c:
Fixed Ubuntu bug 119769 - Escape angle brackets in filenames
https://bugs.launchpad.net/ubuntu/+source/gthumb/+bug/119769
2007-06-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* src/dlg-photo-importer.c: (valid_mime_type):
Fixed Bug #446133 - Add PPM to supported types during import.
2007-06-07 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* src/dlg-write-to-cd.c: (ok_clicked_cb):
Fixed Bug #444656 - write folders to CD does not work. Patch by
Jerry Tan.
2007-06-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml: Mention that laptops usually permit numeric
keypad emulation (for use with the hot key feature).
2007-05-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/comments.c: (save_comment_iptc):
Removed calls to iptc_data_set_version and
iptc_data_set_encoding_utf8 when saving comments, because they
cause Picasa to not recognize the IPTC data, and the data
they store is not widely used, apparently. Bug 438716. Patch
by David Moore.
2007-05-24 Michael J. Chudobiak <mjc@cvs.gnome.org>
* AUTHORS:
* NEWS:
* configure.in:
* data/Makefile.am:
* data/icons/16x16/Makefile.am:
* data/icons/16x16/apps/Makefile.am:
* data/icons/16x16/apps/gthumb.svg:
* data/icons/22x22/Makefile.am:
* data/icons/22x22/apps/Makefile.am:
* data/icons/22x22/apps/gthumb.svg:
* data/icons/32x32/Makefile.am:
* data/icons/32x32/apps/Makefile.am:
* data/icons/32x32/apps/gthumb.svg:
* data/icons/48x48/Makefile.am:
* data/icons/48x48/apps/Makefile.am:
* data/icons/48x48/apps/gthumb.svg:
* data/icons/Makefile.am:
* data/icons/scalable/Makefile.am:
* data/icons/scalable/apps/Makefile.am:
* data/icons/scalable/apps/gthumb.svg:
New Tango-ized app icon by Ulisse Perusin <uli.peru@gmail.com>.
2007-05-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/gthumb.schemas.in: Fixed incorrect (crash-causing) default
value for png exporter name_template.
* src/dlg-png-exporter.c: (export): Ignore template values
with "%" in them.
* src/catalog-png-exporter.c: (begin_page), (end_page),
(paint_frame): Make the output xhtml compliant. Patch
by Christophe Bisière. Bug #440036.
2007-05-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: update to reflect backports to gthumb-2-10.
2007-05-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/thumb-loader.c:
* libgthumb/file-utils.c: scale the image only if the original size
is larger than the requested size. (Forward port from gthumb-2-10).
2007-05-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: further clarify trunk/gthumb-2-10 differences
2007-05-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: clarify trunk/gthumb-2-10 differences
2007-05-14 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (dir_list_activated_cb),
(sidebar_list_key_press):
* src/gth-window-actions-callbacks.c:
Keep focus on sidebar after keyboard/mouse folder navigation.
Bug 427986, patch by Patrick Wade.
(gth_window_activate_action_alter_image_rotate90),
(gth_window_activate_action_alter_image_rotate90cc),
(gth_window_activate_action_alter_image_flip),
(gth_window_activate_action_alter_image_mirror),
(gth_window_activate_action_alter_image_desaturate),
(gth_window_activate_action_alter_image_invert),
(gth_window_activate_action_alter_image_adjust_levels),
(gth_window_activate_action_alter_image_equalize),
(gth_window_activate_action_alter_image_dither_bw),
(gth_window_activate_action_alter_image_dither_web):
Return if input pixbuf is null. Bug 438414.
2007-05-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/thumb-loader.c: (thumb_loader_init),
(thumb_loader_start__step2), (thumb_loader_save_to_cache),
(thumb_loader_done_cb), (thumb_loader_error_cb):
Do not use the "failed" thumbnail if it was generated in the
last 5 seconds. Instead, try to thumbnail it again. Also, read
the image file mtime once and save it in the private data,
rather than reading it several times (which may give different
values). The two changes fix bug 432759.
* libgthumb/thumb-loader.h: Deleted unused functions.
2007-05-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_new_from_uri):
Do not check for orientation if the loaders failed.
2007-05-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter),
(gth_pixbuf_new_from_uri):
* libgthumb/image-loader.c: (image_loader_finalize__step2),
(image_loader_set_pixbuf), (image_loader_sync_pixbuf):
Backport from metadata-ideas branch. Move orientation-checking
of new pixbufs from image_loader_sync_pixbuf to gth_pixbuf_new_from_uri,
where all the other image loading trickery is. Also, added support for
gdk-pixbuf reporting of orientation tags (bug 428725, patch pending)
instead of using libexif. This will provide new orientation tag
support for tiff images.
2007-05-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* data/albumthemes/Classic/image.gthtml:
* data/albumthemes/ClassicClips/image.gthtml:
* data/albumthemes/Flicker/image.gthtml:
* data/albumthemes/NeatRound/image.gthtml:
* data/albumthemes/Wiki/image.gthtml:
Fixed bug 436881 - web export exports malformed xml.
Patch by Christophe Bisière.
2007-05-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* AUTHORS:
* NEWS:
* src/catalog-web-exporter.c: (gth_parsed_doc_print),
(save_html_image_cb): Fixed escaping/unescaping of
web-exported filenames. Patch by Christophe Bisière. Bug 436872.
2007-05-03 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_file_mime_type), (mime_type_is_raw):
Add image/x-canon-cr2 to the list of known raw photo mime types.
Bug 435379. Patch by Hubert Figuiere.
2007-05-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-comment.c: (dlg_comment_update):
Fixed Bug 434951 - Setting displayed date to exif date is disabled
when the first selected image does not have exif data. Patch by
Christophe Bisière.
2007-05-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_space_used_in_kb),
(check_cache_space), (obtain_local_file),
(get_pixbuf_using_external_converter):
Delete files one at a time until the size of the remote / conversion
cache is < 256 MB. Bug 434445.
2007-04-28 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-photo-importer.c: (adjust_orientation__step):
Fixed improperly initialized & unref'd GnomeVFSFileInfo instance.
Patch by Jerry Tan. Bug 434034.
2007-04-27 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: general updates
* libgthumb/file-utils.c: (mime_type_is_image):
Ignore image/x-xcf files. No good xcf loader/converter is available.
2007-04-26 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml:
* libgthumb/image-viewer.c: (image_viewer_class_init):
New keybinding: keypad-* = zoom to fit. Bug 432700.
2007-04-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-monitor.c: (add_monitor_event):
Fixed bug 432084 - Transient files confuse gThumb. Do not assume
non-file is a directory; test for directory existence separately.
Patch by Manuel Braga.
2007-04-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter):
Try to extract thumbnail from RAW images using "dcraw -e".
Something weird is happening with the file monitor, though.
2007-04-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_scale_simple_safe):
Corrected a g_object_unref on a possibly-null object introduced
in the previous commit.
2007-04-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/async-pixbuf-ops.c: (scale_step):
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_scale_simple_safe):
* libgthumb/pixbuf-utils.h:
* src/dlg-scale-image.c: (ok_cb):
When scaling down by a factor > 100, call gdk_pixbuf_scale_simple
twice to avoid crashes, freezes. Related to bug 80925.
2007-04-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-rename-series.c: (get_image_date):
Removed obsolete ifdef that prevented correct date-based
renaming. Bug 431838.
2007-04-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter):
Speed up thumbnail generation of raw files by using dcraw's -h
option. Only applies if libopenraw is not present/usable.
2007-04-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter):
Added -w option to dcraw calls, to use the camera-specified
white balance on raw images.
2007-04-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (mime_type_is_video),
(gth_pixbuf_new_from_video), (gth_pixbuf_animation_new_from_uri):
Add support for ogg thumbnails. Bug 430777.
2007-04-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/Makefile.am: Run gtk-update-icon-cache in uninstall-hook,
as per bug 362604.
2007-04-16 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_transform):
* libgthumb/pixbuf-utils.h:
* libgthumb/print-callbacks.c: (print__gdk_pixbuf_rotate):
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_alter_image_rotate90),
(gth_window_activate_action_alter_image_rotate90cc),
(gth_window_activate_action_alter_image_flip),
(gth_window_activate_action_alter_image_mirror):
Better code sharing. Use gdk_pixbuf_rotate_simple and gdk_pixbuf_flip
instead of having our own _gdk_pixbuf_copy_rotate_90 and
_gdk_pixbuf_copy_mirror functions.
2007-04-14 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/jpeg-utils.c:
* libgthumb/jpeg-utils.h:
Deleted. We don't need our own scaled jpeg loader.
* libgthumb/Makefile.am:
* libgthumb/thumb-loader.c:
* src/gth-browser.c:
* src/gth-viewer.c:
Removed jpeg-utils.h includes.
* libgthumb/file-utils.c: (gth_pixbuf_new_from_uri),
(gth_pixbuf_animation_new_from_uri):
Use gdk_pixbuf_new_from_file_at_scale to load jpeg thumbnails. It
is just as fast as the old f_load_scaled_jpeg function.
2007-04-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_file_mime_type):
Fixed a crash when a file has no recognized mime type. Bug 428278.
2007-04-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/catalog-list.c: (catalog_list_get_iter_from_path):
Return a boolean (FALSE) when path is NULL. Bug 407871.
Patch by Manuel Braga.
2007-04-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-filter-bar.c: (gth_filter_bar_construct):
Changed "S_how" to "Sh_ow", to avoid conflict with
help menu mnemonic.
2007-04-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* src/gth-browser.c: (go_to_uri):
* src/main.c: (prepare_app):
Fixed bug 427846 - Can't launch command line collections, and
crash when selecting "Catalogs" from the location bar. Patch
by Manuel Braga.
2007-04-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: general updates
2007-04-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-photo-importer.c: (valid_mime_type):
Do not filter out RAW photo types.
2007-04-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gtk-utils.c: (_gtk_request_dialog_run):
Return NULL if the dialog text entry is empty, instead of
an empty string.
2007-04-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-window-actions-entries.h: Alt+S for scaling,
Alt+R for redeye removal.
2007-04-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/catalog-web-exporter.c:
(copy_exif_from_orig_and_reset_orientation):
Small memory leak fixed in error handling.
2007-04-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/rotation-utils.c: (apply_transformation_jpeg):
Small memory leak fixed - tmpdir was not gfree'd.
2007-04-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-exif-utils.c: (gth_minimal_exif_tag_write),
(read_orientation_field), (write_orientation_field):
* libgthumb/gth-exif-utils.h:
* src/dlg-change-date.c: (ok_clicked):
* src/rotation-utils.c:
* src/rotation-utils.h:
Moved read_orientation_field, write_orientation_field into
libgthumb/gth-exif-utils.c. General tidy-up of the new
gth_minimal_exif_tag_write code.
2007-04-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (xdg_user_dir_lookup):
* libgthumb/file-utils.h:
* src/dlg-photo-importer.c: (dlg_photo_importer):
Makes the PICTURES xdg-user-dir the default for photo import.
Bug 425365. Based on patch from Matthias Clasen.
2007-03-30 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/glib-utils.c: (debug):
Enable debug messages with an environment variable. Bug 361367.
* src/gth-browser.c: (get_image_to_preload):
Check dimensions of all images types, not just jpegs, to avoid
preloading giant tiff files. Bug 160460. Also, don't preload
remote files. Added more debug messages.
2007-03-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (resolve_symlinks): fixed call to get_uri_host
2007-03-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-actions-callbacks.c:
* libgthumb/gtk-utils.c (exec_shell_script):
* src/rotation-utils.c:
* src/gth-location.c (gth_location_set_catalog_uri):
* src/gth-browser.c (close__step6):
* libgthumb/bookmarks.c (get_menu_item_tip):
* src/main.c (reset_command_line_catalog):
* libgthumb/file-utils.c:
Use remove_host_from_uri and get_uri_host instead of
remove_scheme_from_uri and get_uri_scheme (#423956).
2007-03-28 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/rotation-utils.c: (apply_transformation_jpeg):
Rotate-on-import was broken, due to use of file:// URI. Added
URI support to apply_transformation_jpeg to fix it.
2007-03-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-hue-saturation.c:
* src/dlg-color-balance.c:
* src/dlg-brightness-contrast.c:
* src/dlg-posterize.c:
Cancel the pixbuf operation before closing the dialog (#423715).
2007-03-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/rotation-utils.c (apply_transformation_jpeg):
Fixed bug #423497 – fix build with gcc 2
Patch by Jens Granseuer.
2007-03-27 Michael J. Chudobiak <mjc@cvs.gnome.org>
* AUTHORS:
* data/glade/gthumb_tools.glade:
* src/dlg-change-date.c: (ok_clicked), (update_sensitivity),
(dlg_change_date):
Added Joakim Larsson's change exif-date tool. Bug 408183.
* libgthumb/gth-exif-utils.c: (gth_minimal_exif_tag_write):
* libgthumb/gth-exif-utils.h:
* libgthumb/jpegutils/jpegtran.c: (update_exif_orientation):
* libgthumb/jpegutils/jpegtran.h:
* src/catalog-web-exporter.c:
(copy_exif_from_orig_and_reset_orientation):
* src/rotation-utils.c: (write_orientation_field):
Bypass libexif and use gth_minimal_exif_tag_write when writing tags,
if possible, to avoid MakerNote corruption. Bug 408185. Based on
Joakim Larsson's patches. Merged from metadata-ideas branch.
2007-03-27 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-sort-utils.c: added missing include.
2007-03-27 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_redeye.glade: Use "Position" instead of
"Selection". http://launchpad.net/ubuntu/+source/gthumb/+bug/85780.
2007-03-27 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.10.1 released ]
* configure.in: updated for 2.10.1
2007-03-27 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: general updates.
* libgthumb/gth-sort-utils.c:
(gth_sort_by_filename_but_ignore_path):
Use unescaped URI for file sorting.
* libgthumb/gtk-utils.c: (_gtk_request_dialog_run):
Convert user-typed Unicode input dialog into "NFC" normalized
form for consistency, and to avoid catalogs/libraries/categories
with apparently identical names. Bug 423271.
* src/dlg-search.c: (pattern_matched_by_keywords),
(match_patterns), (directory_load_cb): Convert Unicode search
patterns and search targets into NFC normalized form, to account
for the fact that Unicode strings with identical meaning can
be stored in different ways (composite vs non-composite
characters, for instace). Also, use unescaped URI for
file searches. Bug 423272.
2007-03-24 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c: cancel the async operation before closing
the dialog (#420614).
2007-03-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: general updates.
2007-03-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/jpegutils/jpegtran.c: (jpegtran_internal),
(jpegtran_thumbnail), (jpegtran):
* libgthumb/jpegutils/jpegtran.h:
* src/rotation-utils.c: (jpeg_mcu_dialog),
(apply_transformation_jpeg): Do not add APPn and COM markers to
the EXIF thumbnail. Bug 411861. Patch by Jef Driesen.
2007-03-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (prune_cache):
Fix cache-pruning command on Solaris (bug 421787).
2007-03-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-window-actions-entries.h:
Added Alt+C for crop, Alt+R for resize.
2007-03-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-search.c:
* libgthumb/gth-image-list.c:
* libgthumb/gth-file-list.c: stop loading the thumbnails before closing
the search progress dialog. Remove all timeouts before finalizing the
gth_file_list. Attempt to fix bug #420788.
* src/main.c: insert the function show_grabbing_focus inside the
#ifdef HAVE_GTKUNIQUE
* libgthumb/file-utils.c:
* libgthumb/file-utils.h: added remove_host_from_uri and get_uri_host.
Fixed problems resolving relative symlinks for ssh: URIs (#159884)
2007-03-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c: removed forgotten debug code
2007-03-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_file_mime_type):
CR2 files sometimes misdetected as TIFF. Add special
override, like we do for NEF files.
2007-03-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/thumb-loader.c: (thumb_loader_save_to_cache):
Do not thumbnail the thumbnail directory. Bug 414711.
2007-03-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (gth_browser_set_toolbar_visibility),
(gth_browser_show):
* src/gth-viewer.c: (gth_viewer_set_toolbar_visibility):
Fixed broken toolbar visibility pref. Bug 420557.
2007-03-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* NEWS: updated.
* data/glade/gthumb_redeye.glade: reverted commit, no string changes
are allowed in the stable branch.
2007-03-20 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c: The progess bar in the import dialog
shows the overall download progress. The delete operation is now
asynchronous. (bug #156994).
2007-03-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_redeye.glade: Use "Position" instead of
"Selection". http://launchpad.net/ubuntu/+source/gthumb/+bug/85780
2007-03-20 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-folder-selection-dialog.c: do not convert the path to utf8.
* src/gth-browser-actions-callbacks.c: respect the
'go to destination folder' option in the copy/move dialogs.
* src/dlg-file-utils.c: fixed a bug that prevented the user to choose
'overwrite this image' or 'do not overwrite this image' options in the
overwrite dialog.
2007-03-19 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.10.0 released ]
* NEWS:
* README:
* configure.in: updated for version 2.10.0
2007-03-16 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (mime_type_is_tiff),
(get_pixbuf_using_external_converter), (gth_pixbuf_new_from_uri):
Use tifftopnm and pamscale to generate tiff thumbnails, to reduce
memory usage for very large tiff files. Partially resolves bug
160460. Hopefully the gdk thumbnailing routines will be improved
in the future, obsoleting this.
2007-03-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c (gfl_set_thumbs_size): free the pixbufs cache
when changing thumbnails size.
2007-03-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c: removed the headers.
* libgthumb/thumb-loader.c (thumb_loader_set_thumb_size):
* libgthumb/thumb-loader.h: added function thumb_loader_set_thumb_size
to change the size of the thumbnails.
* libgthumb/gth-file-list.c (gfl_set_thumbs_size): use
thumb_loader_set_thumb_size instead of creating a new thumb-loader.
* libgthumb/gth-file-view-list.c: use small images when thumbnails are
disabled.
2007-03-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/thumb-loader.c: removed unused function thumb_from_xpm_d
* src/gth-exif-data-viewer.c (gth_exif_data_viewer_construct):
hide the headers.
2007-03-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-redeye-removal.c (dlg_redeye_removal):
* src/dlg-crop.c (dlg_crop):
* src/dlg-scale-image.c (dlg_scale_image):
* src/dlg-hue-saturation.c (dlg_hue_saturation):
* src/dlg-brightness-contrast.c (dlg_brightness_contrast):
* src/dlg-color-balance.c (dlg_color_balance):
* src/dlg-posterize.c (dlg_posterize):
Set modal flag on for dialogs that modify the current image.
Fixes bug #417178 – saved image to the wrong file
* NEWS:
* configure.in: updated for 2.9.4
2007-03-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.c (folder_is_film): do not remove the scheme.
* libgthumb/file-utils.c (resolve_symlinks): removed double g_strconcat
call, added other comments.
* libgthumb/file-utils.c (resolve_symlinks): simplified the code, added
some comments.
2007-03-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (resolve_symlinks): fixed memory leak.
2007-03-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (resolve_symlinks): fixed links to absolute
paths.
2007-03-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c: reimplemented resolve_all_symlinks to
fix bug #159884.
* src/main.c (reset_command_line_catalog): reset even when no arguments
were specified.
2007-03-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.c: reset the startup location if it was set to the command
line catalog.
Fixes bug #98933 – Command Line collection should be deleted on startup
if no files are passed as arguments
* src/gth-browser.c: go to the catalog directory before activating the
catalog.
Fixes bug #407871 – Crash after deleting catalog file.
2007-03-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c:
* libgthumb/gth-image-list.c:
* libgthumb/gth-file-list.c:
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-view.c:
* libgthumb/gth-file-view.h:
* libgthumb/gth-file-view-list.c:
* libgthumb/gth-file-view-thumbs.c: moved the icons handling from the
gth-file-view-* widgets to gth-file-list to avoid duplicated code.
Use the icon associated to the file mime type instead of always using
the "image/*" icon.
* libgthumb/file-utils.c: save the mime_type strings in a local hash.
2007-03-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/gthumb.desktop.in: Added missing semicolon.
2007-03-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: general updates
* libgthumb/jpegutils/jpegtran.c: (jpegtran_internal):
* libgthumb/jpegutils/transupp.c: (jcopy_markers_exif),
(jcopy_markers_execute):
* libgthumb/jpegutils/transupp.h: Do not write a JFIF marker
when it conflicts with the EXIF marker. Patch by Jef Driesen.
2007-03-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/gthumb.desktop.in:
"Application" is not a valid category. Added some valid
freedesktop categories.
2007-03-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-crop.c: (dlg_crop): The crop ratio was initialized
incorrectly. The last custom w/h settings defined the crop
ratio, even when custom mode was not the initial mode. Fixes
bug 389872.
2007-03-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-view-list.c (gfv_remove): implemented "remove"
for the list view (#389590).
2007-03-04 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: general updates
* src/dlg-photo-importer.c: (save_image), (ok_clicked_cb):
Unescape destination folder URI when saving, because the
save functions are strictly local (non-URI). Bug 414665.
2007-03-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/gthumb.applications: removed
2007-03-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/Makefile.am:
* data/gthumb.applications:
* data/gthumb.desktop.in:
Removed application-registry cruft. Added image/svg+xml mime type.
2007-02-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (get_file_mime_type):
Fixed bug #412444 – fix build with gcc 2.
Patch by Jens Granseuer.
2007-02-26 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (dir_list_started_cb): change message to
"Getting folder listing..."
2007-02-26 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (get_uri_display_name): unescape the catalog
path for display.
2007-02-26 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.9.3 released ]
* configure.in: updated to 2.9.3
* NEWS: updated
2007-02-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter):
Backed out RAW thumbnailing speed-ups. It's not worth the added
complexity to do it right (dcraw is not elegant). Keep HDR
speed-ups, though.
2007-02-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter):
Delete cached converted RAW/HDR files used for thumbnails, because
the thumbnails will be cached in the standard .thumbnails dir.
2007-02-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter):
Forgot a g_free in the last commit.
2007-02-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter),
(gth_pixbuf_new_from_uri): Speed up RAW and HDR thumbnailing by
using prescaling or embedded thumbnails.
2007-02-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-categories.c (dlg_categories_common): add the renderes to the
same column instead of creating a column for each renderer.
Fixes bug # 347657 – Click on category text to checkmark a category
2007-02-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/search.h:
* libgthumb/search.c (search_util_get_patterns):
* src/dlg-search.c (search_clicked_cb):
Fixed bug #346382 – False Positives in Catagory Search
2007-02-24 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (pref_view_as_changed):
Do not unref a NULL pointer. Fixes bug #409596.
2007-02-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: Removed duplicate line.
2007-02-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_file_mime_type):
Recognize NEF files as raw when gnome-vfs says they are TIFF.
* get_pixbuf_using_external_converter), (gth_pixbuf_new_from_uri):
Check if dcraw/pfstools are executable first, to avoid
errors messages if they are not present.
2007-02-23 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-data.c: include "gth-exif-utils.h"
2007-02-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-image-list.c: (gth_image_list_class_init):
Removed bindings to numeric keypad keys, to avoid overlap
with the new hot key feature.
2007-02-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/image-loader.c: (image_loader_init):
Increased stack size to 512k, to prevent crashes when viewing
svg files. Bug 410827. Patch by Manuel Braga.
* src/gth-browser.c: (key_press_cb): Enabled PgUp/PgDown scrolling
in browser mode. Bug 409605. Patch by Manuel Braga.
2007-02-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* libgthumb/file-utils.c: (mime_type_is_video),
(mime_type_is_audio), (file_is_audio),
(file_is_image_video_or_audio):
* libgthumb/file-utils.h:
* libgthumb/gth-file-list.c: (load_new_list):
* src/dlg-duplicates.c: (directory_load_cb):
* src/dlg-search.c: (file_respects_search_criteria):
* src/gth-browser.c: (launch_selected_videos_or_audio),
(key_press_cb), (gth_browser_hide_sidebar):
* src/gth-monitor.c: (add_monitor_event):
Modified video launcher to permit audio launching as well.
2007-02-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (launch_selected_videos), (key_press_cb),
(gth_browser_hide_sidebar): Pass all selected video files to the
default video player, if they are supported by that player and the
player supports multiple file inputs. Skip selected files if they
require a different player than the current file.
2007-02-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* NEWS: updated
2007-02-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c: exec next op in queue after setting
the filter.
2007-02-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-preloader.c: removed commented out code.
* src/gth-browser.c (window_update_image_info): load the jpeg data
only for jpeg images.
* libgthumb/image-loader.c: use the same factory of thumb-loader to avoid
two thumbnails for each video.
* libgthumb/file-utils.c (gth_pixbuf_new_from_video): resolve all
symbolic links before loading the thumbnail.
2007-02-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c: launch the registered video player instead of
always launching "totem"
* libgthumb/dlg-save-image.c: use the default overwrite confirmation
dialog when saving an image.
* src/gth-window.h: added void line :)
2007-02-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/dlg-save-image.c (file_save_ok_cb): do not dup the mime_type
here.
2007-02-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/dlg-save-image.c (file_save_ok_cb): use get_uri instead of
get_filename.
* src/gth-browser.c (save_pixbuf__image_saved_cb): notify a change
if the filename is present in the list.
2007-02-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-preloader.c (gthumb_preloader_finalize): set ploaders to NULL
after finalizing them, removed useless function.
2007-02-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gthumb-preloader.c: (gthumb_preloader_finalize):
Fixed bug 378546 - Crash after exiting slideshow.
Patch by Manuel Braga.
2007-02-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/dlg-save-image.c: (save_image):
Another attempt to fix bug 409799 - mime_type occasionally
gets corrupted (why??), so make a copy for image_type.
2007-02-20 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/dlg-save-image.c: (save_image):
Make file-selection dialog the parent of the overwrite dialog,
to avoid bug 409799.
2007-02-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/image-loader.c: removed unused function close_info_cb
2007-02-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (file_list_done_cb): update the window title after
loading the image list.
2007-02-19 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/gthumb.applications:
* data/gthumb.desktop.in:
Add image/x-pcx to registered file types.
* libgthumb/file-utils.c: (get_file_mime_type):
Temporary hack to make gThumb recognize pcx files. This is a
workaround for gnomevfs bug 329072.
2007-02-19 Michael J. Chudobiak <mjc@cvs.gnome.org>
* AUTHORS:
Credit to Manuel Braga, Jef Driesen, and Rennie deGraaf
* libgthumb/image-loader.c: (image_loader_finalize),
(image_loader_stop_common): fix for "image_loader_start" crashes.
Bugs 351959, 386674, and many duplicates. Patch by Manuel Braga.
2007-02-19 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.9.2 released ]
* configure.in: changed version to 2.9.2
2007-02-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-filter.c: small changes.
* src/gth-filter-bar.c: small changes.
* src/gth-browser.c: unref the filter after using it.
* libgthumb/gth-file-list.c: do not ref/unref NULL pointers.
2007-02-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-filter-bar.c:
* libgthumb/gth-filter.h:
* libgthumb/gth-filter.c: implemented filter on date.
* libgthumb/file-data.h:
* libgthumb/file-data.c: added file_data_load_exif_data
* libgthumb/gth-file-list.c (gth_file_list_update_next_thumb):
continue creating thumbnails from after the last visible image and then
restart from the beginning (#142735).
2007-02-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c:
* libgthumb/file-data.h:
* libgthumb/file-data.c:
Create the thumbnails of all the images in the file list, however
load only the thumbnails of the visible images, this way we save a lot
of memory when a directory contains thousands of images (#142735).
2007-02-16 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-file-list.c: (gth_file_list_update_next_thumb):
Prepare thumbnails for all images, not just the visible
ones. Bug 142735.
2007-02-16 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-reset-exif.c: (apply_transformation):
Added missing VFS support (using local cache).
2007-02-15 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (fullscreen_destroy_cb):
Fix crash if you exit slideshow while it is paused. Bug 408323.
2007-02-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c:
* src/gth-window-utils.c:
* src/gth-fullscreen.c:
update the file list in fullscreen mode when an images is removed from
the catalog.
2007-02-13 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-data.c: (file_data_new):
Fixed crash on photo import. The code was checking info->mime-type
even when info was NULL. Bug 407589.
2007-02-13 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_new_from_uri),
(gth_pixbuf_animation_new_from_uri):
* libgthumb/file-utils.h:
* libgthumb/gtk-utils.c: (create_pixbuf):
* libgthumb/print-callbacks.c: (draw_page):
* src/dlg-photo-importer.c: (load_images_preview__step),
(dlg_photo_importer):
* src/dlg-web-exporter.c: (theme_dialog__sel_changed_cb):
* src/rotation-utils.c: (apply_transformation_generic):
Fixed RAW/HDR print issue, bug 407112, by adding RAW/HDR
support in the pixbuf loader, rather than the animation loader.
2007-02-13 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
Updated with new features and bug fixes.
2007-02-13 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_preferences.glade:
* doc/C/gthumb.xml:
Added hot key documentation, and explained the default scripts.
2007-02-13 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_preferences.glade:
* libgthumb/gtk-utils.c: (exec_shell_script):
* src/dlg-preferences.c: (dlg_preferences):
Allow one script to process all selected files, instead of
requiring one script instance per file.
2007-02-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/print-callbacks.c: fixed compiler warnings.
2007-02-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_print.glade:
* libgthumb/print-callback.c: fixed esthetic glitches.
2007-02-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_preferences.glade: use less technical terms in
the hot key tab.
2007-02-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_print.glade:
* data/gthumb.schemas.in:
* libgthumb/preferences.c:
* libgthumb/preferences.h:
* libgthumb/print-callbacks.c: (convert_to_points),
(convert_from_points), (image_info_rotate), (add_catalog_preview),
(catalog_update_page), (catalog_update_image_size),
(catalog_get_image_width), (catalog_get_image_height),
(catalog_get_image_unit), (catalog_update_page_size_from_config),
(catalog_update_image_size_from_config),
(catalog_set_standard_page_size), (catalog_update_margins),
(draw_page), (catalog_get_current_image_resolution),
(catalog_get_current_image_sizing),
(catalog_image_width_changed_cb),
(catalog_image_height_changed_cb), (catalog_portrait_toggled_cb),
(catalog_landscape_toggled_cb), (catalog_image_unit_changed_cb),
(catalog_image_resolution_changed_cb),
(catalog_auto_size_toggled_cb), (catalog_manual_size_toggled_cb),
(print_catalog_cb), (images_per_page_value_changed_cb),
(print_catalog_dlg_full):
* libgthumb/typedefs.h:
Allow print sizes to be "auto-sized" or manually specified, so
that photos can be printed at common frame sizes (4x6", 5x7", etc).
Bug 385449.
2007-02-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_tools.glade:
* libgthumb/gtk-utils.c: (exec_shell_script):
* libgthumb/gtk-utils.h:
* src/dlg-preferences.c: (dlg_preferences):
* src/gth-browser.c: (key_press_cb):
Added a progress dialog for hotkey functions. It could be nicer...
2007-02-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gtk-utils.c: (exec_shell_script):
Use system instead of g_spawn_command_line_async.
2007-02-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_preferences.glade:
* libgthumb/gtk-utils.c: (exec_shell_script):
* src/dlg-preferences.c: (dlg_preferences):
Added more hotkey format codes.
2007-02-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_preferences.glade: removed gtk_event as container
of the slideshow label.
2007-02-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gtk-utils.c: (exec_shell_script):
* libgthumb/gtk-utils.h:
Added hotkey shell-script launcher. (To be expanded with
additional format codes.)
* src/gth-browser.c: (key_press_cb):
Added hotkey detection.
2007-02-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* AUTHORS: Added Michael :)
2007-02-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_preferences.glade:
* data/gthumb.schemas.in:
* libgthumb/gconf-utils.c: (eel_gconf_get_string):
* libgthumb/preferences.h:
* src/dlg-preferences.c: (apply_cb), (dlg_preferences):
Added initial support for shell-script hotkeys. Added prefs.
The hotkeys don't function yet, though.
2007-02-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/rotation-utils.c:
* libgthumb/jpegutils/jpegtran.h:
* libgthumb/jpegutils/jpegtran.c:
Added ability to hide the jpeg mcu warning message.
Include the name of the image in the dialog.
Changed a bit the jpeg mcu message.
Perform a trim if the user decided to hide the warning (?).
* libgthumb/gtk-utils.h:
* libgthumb/gtk-utils.c: added function
_gtk_message_dialog_with_checkbutton_new
* libgthumb/preferences.h:
* data/gthumb.schemas.in: added key
'/schemas/apps/gthumb/dialogs/messages/jpeg_mcu_warning'
2007-02-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* README: Updated library requirements. Use svn rather than cvs.
2007-02-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/rotation-utils.c: free the 'tmp' variable when it's not used
anymore.
* libgthumb/file-utils.c (remove_temp_file_and_dir): do not free the
input argument.
2007-02-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-folder-selection-dialog.c: Use "Recent folders" and
"Go to the destination folder".
* libgthumb/bookmarks.c:
* libgthumb/file-utils.c (get_uri_display_name): escape uris under the home
folders as well.
* src/main.c (open_browser_window): removed debug code.
2007-02-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-folder-selection-dialog.h:
* src/gth-folder-selection-dialog.c: use a gth_location instead of
a text entry.
* src/gth-location.h:
* src/gth-location.c:
* src/gth-browser.c: removed the open_location signal from the
gth_location widget.
* src/gth-browser-actions-callbacks.c:
* src/dlg-file-utils.c: gth_folder_selection_get_folder returns a const
string now.
* src/bookmark-list.c: fixed double escape issue.
* libgthumb/gtk-utils.c (_gtk_entry_get_filename_text): use escape_uri
instead of gnome_vfs_escape_string.
* data/glade/gthumb.glade: use 'Bookmarks:' instead of 'Select a bookmark:'
2007-02-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* many files: store uris in escaped mode, and unescape when need to
display an uri or part of it.
2007-02-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* configure.in:
* src/dlg-rename-series.c: (get_image_date):
Removed HAVE_LIBEXIF cruft. This library was made mandatory
some time ago.
2007-02-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* README:
* libgthumb/file-utils.c: (get_pixbuf_using_external_converter),
(gth_pixbuf_animation_new_from_uri):
Read RAW photos using dcraw only (without pfstools).
* src/gth-exif-data-viewer.c: (update_file_info):
Show mime type, including for hdr and raw images.
2007-02-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (_set_fullscreen_or_slideshow): do not use the
current pixbuf if the image is not loaded yet.
Fixes bug #406092 – old image is displayed
2007-02-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c: do not load the last viewed image in the
fullscreen, if it's same image loaded in the browser. This avoids
the ask whether to save the image after viewing a modified image
in fullscreen mode.
2007-02-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* README:
Added note about RAW and HDR viewing requirements.
* libgthumb/file-utils.c: (get_file_mime_type):
Improved detection of HDR file types, when conventional mimetype
detection fails or detects binary data.
2007-02-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-image-list.c: use pos instead of selection_pending_pos
* src/gth-location.c:
* libgthumb/file-utils.c: use the hostname for remote uris, and
'File System' only for local uris.
2007-02-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-location.c: make the parent list work with remote uris too.
2007-02-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-image-list.c:
Fixed bug #363643 – Shift+arrow expands selection, Shift+mouse doesn't
* libgthumb/file-utils.h:
* libgthumb/file-utils.c: added get_base_uri, make
remove_level_from_path work with remote uris.
2007-02-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_file_mime_type), (mime_type_is_hdr),
(convert_exotic_format_to_tiff),
(gth_pixbuf_animation_new_from_uri):
Initial support for RAW and HDR images, if pfstools, pfstmo, and
dcraw are installed.
2007-02-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (get_file_mime_type): remove the file:// scheme
to make magic mime work.
2007-02-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-ui.h:
* src/gth-browser-actions-entries.h:
* src/gth-browser-actions-callbacks.h:
* src/gth-browser-actions-callbacks.c:
* src/gth-browser.c:
* src/dlg-search.c:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c:
Fixed bug #354482 – Show "hidden" images.
Fixed bug #145334 – Folder list should respect .hidden files
2007-02-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.h:
* libgthumb/file-utils.c (gth_pixbuf_animation_new_from_uri): the
fast_file_type argument is not used anymore, removed from the signature.
* libgthumb/thumb-loader.c (thumb_loader):
* libgthumb/image-loader.c (load_image_thread): removed the fast_file_type
argument from the gth_pixbuf_animation_new_from_uri calls.
2007-02-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c (load_new_list):
check whether the mime_type is NULL.
2007-02-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c (load_new_list):
* libgthumb/file-data.c (file_data_update):
* libgthumb/file-utils.c (get_file_mime_type):
Fixed compiler warnings.
2007-02-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c (gth_viewer_exec_pixbuf_op):
* src/gth-browser.c (gth_browser_exec_pixbuf_op):
Ignore a new gth_pixbuf_op when there already one running.
Fixes bug #392632 – crash in gThumb Image Viewer: repeatedly
pressing Ctrl... Patch by manuel
2007-02-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-ui.h:
* src/gth-viewer-ui.h:
* src/gth-viewer-actions-entries.h:
* src/gth-browser-actions-entries.h:
* src/gth-viewer.c:
* src/gth-browser.c: removed the info_bar in the viewer window and
in the browser window when the file list is hidden. Added a
'properties' button on the toolbar.
Added a 'zoot to fit width' button in the viewer toolbar.
* libgthumb/gthumb-stock.h:
* libgthumb/gthumb-stock.c: added GTHUMB_STOCK_METADATA
* src/gth-window.c: indentation fix.
* libgthumb/gth-file-list.c: get the mime type only once and only here,
this is used to speed up list loading when slow mime detection is
used, and is also used to avoid to get the image mime type in the
image-loader thread (which is dangerous).
* libgthumb/file-data.c:
* libgthumb/file-data.h: added a mime_type field.
* libgthumb/thumb-loader.c: no need to use the accurate mime detection
system and no need to load a gif image as an animation in the
thumbnail loader.
* libgthumb/image-loader.c: removed an identation level.
* libgthumb/image-loader.h:
* libgthumb/thumb-loader.h: added a mime_type argument to the
[thumb|image]_loader_set_path functions
* src/gthumb-preloader.c:
* src/gth-batch-op.c:
* src/dlg-jpegtran.c:
* src/dlg-duplicates.c:
* src/catalog-web-exporter.c:
* src/dlg-convert.c:
* src/catalog-png-exporter.c:
* libgthumb/print-callbacks.c: updated calls to image_loader_set_path
adding the new mime_type argument (setting the mime_type to NULL for now).
* libgthumb/file-utils.h:
* libgthumb/file-utils.c: function image_is_type is now public
added function can_load_mime_type, removed image_is_gif__accurate.
2007-02-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_animation_new_from_uri):
Don't use f_load_scaled_jpeg on remote VFS files. It is MUCH
faster to use a cached copy, for typical file sizes.
* src/gth-browser.c: (dir_list_started_cb):
Changed "Wait Please..." string to "Getting directory listing...",
for clarity.
2007-02-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (obtain_local_file):
Do not prune the cache every time the remote
cache is added to - just at startup.
2007-02-03 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_camera.glade:
* data/glade/gthumb_convert.glade:
* data/glade/gthumb_png_exporter.glade:
* data/glade/gthumb_preferences.glade:
* data/glade/gthumb_search.glade:
* data/glade/gthumb_tools.glade:
Set local_only to false, to fix bug 403932.
2007-02-03 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/comments.c: (save_comment_iptc):
Removed unused variable.
* src/catalog-web-exporter.c:
(copy_exif_from_orig_and_reset_orientation):
Enabled VFS support.
* src/gth-exif-data-viewer.c: (update_file_info):
Show full path in file info sidebar.
2007-02-03 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/comments.c: (save_comment):
Fixed XML comment editing of remote files.
* libgthumb/file-utils.c: (prune_cache):
Prune cached comment files too.
2007-02-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/comments.c: (save_comment_iptc), (save_comment),
(comments_load_comment):
* libgthumb/dlg-save-image.c: (save_image):
* libgthumb/file-utils.c: (copy_cache_file_to_remote_uri):
* libgthumb/file-utils.h:
* libgthumb/gth-exif-utils.c: (save_exif_data_to_uri),
(copy_exif_data):
* libgthumb/gth-exif-utils.h:
* libgthumb/pixbuf-utils.c: (_gdk_pixbuf_savev):
* src/dlg-jpegtran.c: (apply_transformation):
* src/dlg-reset-exif.c: (apply_transformation):
* src/gth-browser.c: (window_update_image_info), (save_jpeg_data):
* src/gth-viewer.c: (viewer_update_image_info), (save_jpeg_data):
Enabled editing / saving of remote VFS files.
Enabled IPTC comment editing/saving on remote VFS files.
Still minor issues with XML comment handling.
2007-02-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
News from vfs-testing branch
* libgthumb/file-utils.c: (gth_pixbuf_new_from_video),
(gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri):
* libgthumb/file-utils.h:
* libgthumb/image-loader.c: (load_image_thread):
* libgthumb/thumb-loader.c: (thumb_loader):
Moved remaining pixbuf/animation loading routines out of
image-loader.c and thumb-loader.c into file-utils.c, to reduce
duplication.
2007-02-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_uri_display_name)
Fixed display of remote URIs.
(obtain_local_file), (gth_pixbuf_new_from_uri),
(gth_pixbuf_animation_new_from_uri):
Stripped out "file://" from cache file names.
* libgthumb/gth-exif-utils.c: (get_exif_tag), (get_exif_tag_short),
(get_exif_time), (get_exif_aperture_value):
* libgthumb/print-callbacks.c: (image_info_new):
* src/rotation-utils.c: (read_orientation_field),
(write_orientation_field), (apply_transformation_jpeg),
(apply_transformation_generic):
Removed extraneous remove_scheme_from_uri calls.
2007-02-01 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c: removed commented code.
* libgthumb/gth-file-list.c: stop loading the thumbnails if the queue
is not void.
* src/gth-dir-list.c (gth_dir_list_change_to): always call
path_list_async_new, instead of waiting for the file list to be
interrupted.
2007-02-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (prune_cache), (obtain_local_file):
* libgthumb/file-utils.h:
* libgthumb/gthumb-init.c: (ensure_directories_exist):
Added prune_cache function separately. Call it at start-up also.
2007-02-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (obtain_local_file):
Added cache pruning. This should be a workable cache for
remote VFS URIs now.
2007-02-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (obtain_local_file):
Added mtime checking for remote file caching. Need to add
mechanism to prune cache next.
2007-02-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/comments.c: (load_comment_from_iptc),
(load_comment_from_xml):
* libgthumb/file-utils.c: (get_cache_full_path),
(obtain_local_file), (gth_pixbuf_new_from_uri),
(gth_pixbuf_animation_new_from_uri):
* libgthumb/file-utils.h:
* libgthumb/gth-exif-utils.c: (gth_exif_data_new_from_uri):
* libgthumb/gthumb-init.c: (ensure_directories_exist):
* libgthumb/typedefs.h:
* src/dlg-jpegtran.c: (apply_transformation):
Further simplification of local-copy-of-VFS-files creation routines.
Added basic semi-permanent remote file caching. Need to added
mtime checks and purging of old / excess files.
2007-02-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/comments.c: (load_comment_from_iptc),
(load_comment_from_xml):
* libgthumb/file-utils.c: (remove_temp_file_and_dir),
(make_cache_copy_of_remote_file), (gth_pixbuf_new_from_uri),
(gth_pixbuf_animation_new_from_uri):
* libgthumb/file-utils.h:
* libgthumb/gth-exif-utils.c: (gth_exif_data_new_from_uri):
* src/dlg-jpegtran.c: (apply_transformation):
* src/rotation-utils.c: (apply_transformation_jpeg):
Simplified the local-copy-of-VFS-files creation routines.
Added initial framework to cache VFS files over longer term.
Removed gnome_gdk_pixbuf_new_from_uri (will be deprecated).
Known issue: "local_file" variables not always g_free'd
properly. This will be fixed when caching is added.
2007-01-30 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-exif-utils.c: (gth_exif_data_new_from_uri),
(get_exif_tag), (get_exif_tag_short), (get_exif_time),
(get_exif_aperture_value), (copy_exif_data):
* src/gth-exif-data-viewer.c: (update_exif_data):
* libgthumb/gth-exif-utils.h:
Added remote VFS support for reading EXIF tags.
Writing tags isn't supported, yet.
2007-01-30 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/comments.c: (load_comment_from_iptc):
Added remote VFS support for reading IPTC comments.
Writing comments isn't supported, yet.
2007-01-30 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/comments.c: (load_comment_from_xml):
Added remote VFS support for reading comments.
Writing comments isn't supported, yet.
2007-01-29 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-jpegtran.c: (apply_transformation):
Better error messages.
* src/rotation-utils.c: (apply_transformation_jpeg):
Better error reporting, and make better use of convenience
functions like file_move, remove_temp_file, remove_temp_dir.
2007-01-29 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (check_permissions):
Deleted debugging printfs, and fixed a memory leak (was
missing gnome_vfs_file_info_unref)
* src/dlg-jpegtran.c: (apply_transformation):
Enabled rotation of remote VFS files, and fixed a memory leak (was
missing gnome_vfs_file_info_unref)
2007-01-28 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (check_permissions)
Added printfs to debug remote permissions problems.
Delete these later.
* libgthumb/file-utils.c: (is_local_file),
(make_remote_copy_of_local_file), (gth_pixbuf_new_from_uri),
(gth_pixbuf_animation_new_from_uri):
* libgthumb/file-utils.h:
New convenience function (is_local_file), and a new function to
copy local files to a remote VFS URI.
2007-01-28 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (remove_temp_file), (remove_temp_dir),
(gth_pixbuf_animation_new_from_uri):
* libgthumb/file-utils.h:
Added temporary file/directory removal convenience functions.
2007-01-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_crop.glade:
* src/dlg-crop.c:
Added option to invert the aspect ratio even for non-custom ratios.
Fixes bug #389870 – Missing option in Image Crop Aspect Ratio
2007-01-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (viewer_key_press_cb):
* src/gth-browser.c (key_press_cb):
* src/gth-viewer.c (viewer_key_press_cb):
* libgthumb/jpegutils/jpegtran.c (jtransform_perfect_transform):
Fixed compiler warnings.
2007-01-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c:
* src/gth-browser.c:
* src/gth-browser.c:
* src/gth-viewer.c:
* libgthumb/image-viewer.c:
* libgthumb/image-viewer.h:
Add more signals to ImageViewer so that it can handle more keypresses
autonomically (#401544). Patch by Björn Lindqvist.
2007-01-27 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (image_is_raw):
Added more complete list of raw image mime types.
2007-01-27 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_animation_new_from_uri):
Added missing config.h include to fix raw thumbnailing. Deleted
debugging printfs.
2007-01-27 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (image_is_raw),
(make_local_copy_of_remote_file), (gth_pixbuf_new_from_uri),
(gth_pixbuf_animation_new_from_uri):
* libgthumb/file-utils.h:
* libgthumb/image-loader.c: (load_image_thread):
* libgthumb/thumb-loader.c: (thumb_loader):
Added initial VFS support for raw thumbnailing. Something
doesn't quite work yet though...
2007-01-26 Hubert Figuiere <hub@figuiere.net>
* libgthumb/file-utils.[ch] (image_is_raw): detect raw files.
* libgthumb/thumb-loader.c (thumb_loader): load thumbnails for
RAW user libopenraw. Partially fix bug #145564.
* configure.in: detect libopenraw.
2007-01-26 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/jpegutils/jpegtran.c: (update_exif_thumbnail),
(jtransform_perfect_transform), (jpegtran_internal),
(jpegtran_thumbnail), (jpegtran):
* libgthumb/jpegutils/jpegtran.h:
* src/catalog-web-exporter.c: (export__copy_image):
* src/dlg-jpegtran.c: (apply_transformation):
* src/dlg-photo-importer.c: (adjust_orientation__step):
* src/rotation-utils.c: (jpeg_mcu_dialog),
(apply_transformation_jpeg):
* src/rotation-utils.h:
Applied Jef Driesen's callback-based jpegtran scheme, for greater
efficiency during lossless rotates, etc. Bug 361913.
2007-01-26 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (key_press_cb):
Return to browser mode after showing a video in viewer mode.
2007-01-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (gth_pixbuf_animation_new_from_uri):
Animated remote gifs work now, using gnome_vfs_xfer_uri.
2007-01-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/dlg-save-image.c: (dlg_save_image_as):
* src/dlg-web-exporter.c: (theme_dialog__install_theme_clicked):
Set gtk_file_chooser_set_local_only to FALSE, for VFS browsing.
* libgthumb/file-utils.c: (remove_special_dirs_from_path):
* src/main.c: (initialize_data):
Minor corrections to URI/path handling.
2007-01-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (remove_special_dirs_from_path):
Further tweaks to remove_special_dirs_from_path, to work properly
with file:/// URIs. Fixes catalog browsing.
2007-01-24 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/gthumb.desktop.in:
Change "Exec=gthumb %F" to "Exec=gthumb %U" to allow launching
of VFS URIs from Nautilus.
2007-01-24 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (file_is_image_or_video),
(remove_special_dirs_from_path), (gth_pixbuf_new_from_uri),
(gth_pixbuf_animation_new_from_uri):
* libgthumb/file-utils.h:
* libgthumb/gth-file-list.c: (load_new_list):
* libgthumb/image-loader.c: (load_image_thread):
* libgthumb/thumb-loader.c: (thumb_loader):
* src/dlg-duplicates.c: (directory_load_cb):
* src/dlg-photo-importer.c: (adjust_orientation__step):
* src/dlg-search.c: (file_respects_search_criteria):
* src/gth-browser.c: (launch_videos_in_list):
* src/gth-monitor.c: (add_monitor_event):
* src/main.c: (initialize_data):
Fixed remove_special_dirs_from_path to work properly with URIs.
Made file_is_image_or_video more efficient - fewer file accesses.
Allow single VFS files and directories to be launched from the
command line. Command-line-catalog (multiple files) still does
not work yet.
2007-01-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/image-loader.c: (load_image_thread):
Cache the "large" video thumbnails made in image viewer mode.
2007-01-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/image-loader.c: (image_loader_finalize),
(image_loader_init), (image_loader_new), (load_image_thread):
* src/gth-browser.c: (launch_videos_in_list), (key_press_cb),
(gth_browser_hide_sidebar):
Show a video thumbnail in image viewer mode. Launch external
viewer (in browser or viewer mode) by pressing "enter".
2007-01-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (file_is_mimetype), (file_is_image),
(file_is_video), (gth_pixbuf_new_from_uri):
* libgthumb/file-utils.h:
* libgthumb/gth-file-list.c: (load_new_list):
* libgthumb/image-loader.c: (load_image_thread):
* libgthumb/thumb-loader.c: (thumb_loader):
* src/dlg-duplicates.c: (directory_load_cb):
* src/dlg-search.c: (file_respects_search_criteria):
* src/gth-browser.c: (launch_videos_in_list),
(gth_browser_hide_sidebar):
* src/gth-monitor.c: (add_monitor_event):
Preliminary attempt to add video thumbnailing and viewing.
Bug 134366. Still a work in progress.
2007-01-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/main.c: (main):
Added gnome_authentication_manager_init to provide VFS
authentication callbacks.
2007-01-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c:
* src/main.c: fixed compilation when gtkunique is disabled.
2007-01-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-window.c:
* src/main.c:
* src/main.h:
* src/Makefile.am:
* configure.in: the gtkunique dependency is now optional.
2007-01-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/GNOME_GThumb.server.in.in: removed
* src/GNOME_GThumb.idl: removed
* src/gth-application.c: removed
* src/gth-application.h: removed
* data/Makefile.am:
* libgthumb/Makefile.am:
* libgthumb/jpegutils/Makefile.am:
* po/POTFILES.in:
* src/gth-viewer.c:
* src/gth-window.c:
* src/main.c:
* src/main.h:
* src/Makefile.am:
* configure.in:
* README:
Use GtkUnique to provide a single instance application.
Removed the bonobo dependency (#389197).
2007-01-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser-actions-callbacks.c:
(gth_browser_activate_action_go_location):
* src/gth-folder-selection-dialog.c: (browse_button_clicked_cb):
Set gtk_file_chooser_set_local_only to FALSE to permit
browsing of VFS URIs.
2007-01-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (resolve_all_symlinks),
(gth_pixbuf_new_from_uri), (gth_pixbuf_animation_new_from_uri):
* libgthumb/file-utils.h:
* libgthumb/gtk-utils.c: (create_pixbuf):
* libgthumb/image-loader.c: (load_image_thread),
(image_loader_get_path):
* libgthumb/jpeg-utils.c: (do_load_internal):
* libgthumb/print-callbacks.c: (draw_page):
* libgthumb/thumb-loader.c: (thumb_loader),
(thumb_loader_set_path), (thumb_loader_get_path),
(thumb_loader_start__step2), (thumb_loader_error_cb):
* src/dlg-photo-importer.c: (load_images_preview__step),
(dlg_photo_importer):
* src/dlg-web-exporter.c: (theme_dialog__sel_changed_cb):
* src/rotation-utils.c: (apply_transformation_generic):
Initial attempt to implement Gnome VFS support. Folders and images
can now be opened using the "Other..." folder function (but not
through the command line. Bug 143197. Tested with ssh:// URIs.
2007-01-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c: use pack_end to add the filterbar, this way the
filterbar will remain at the bottom when changing between list and thumb
view.
* libgthumb/gth-file-view-list.c: added filter support to the list
view.
* libgthumb/image-loader.c (image_loader_init): make threads bound to
system threads.
* src/gth-filter-bar.c (gth_filter_bar_construct): removed the
"Personalize" command. It will be implemented in 2.12
2007-01-16 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/image-loader.c: (image_loader_init):
Reduce stack size for new image_loader threads from the
default (10MB on FC6) to 32k, to reduce reported memory
consumption. See if anything breaks! Bug 310749.
2007-01-14 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-file-view-list.c: (create_unknown_pixbuf),
(gth_file_view_list_finalize), (gth_file_view_list_new):
* libgthumb/gth-file-view-thumbs.c: (create_unknown_pixbuf),
(gth_file_view_thumbs_finalize), (gth_file_view_thumbs_new):
* src/dlg-photo-importer.c: (get_icon_from_mime_type):
* src/gth-viewer.c: (monitor_update_files_cb):
* src/main.c: (theme_changed_cb), (initialize_data),
(release_data), (get_fs_icon):
Committed GnomeIconTheme -> GtkIconTheme change, this time
removing the g_object_unref calls for icon_theme. Bugs
171593 and 396474.
2007-01-14 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-file-view-list.c: (create_unknown_pixbuf),
(gth_file_view_list_new):
* libgthumb/gth-file-view-thumbs.c: (create_unknown_pixbuf),
(gth_file_view_thumbs_new):
* src/dlg-photo-importer.c: (get_icon_from_mime_type):
* src/gth-viewer.c: (monitor_update_files_cb):
* src/main.c: (theme_changed_cb), (initialize_data), (get_fs_icon):
Reverted GnomeIconTheme -> GtkIconTheme change, because something
broke in the photo importer. Bug 171593.
2007-01-13 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-file-view-list.c:
Restored accidentally-deleted function type declaration.
Fixes compiler warning. Bug 395899.
2007-01-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-file-view-list.c:
* src/dlg-photo-importer.c:
Removed #include <libgnomeui/gnome-icon-theme.h> references
2007-01-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-file-view-list.c: (create_unknown_pixbuf),
(gth_file_view_list_new):
* libgthumb/gth-file-view-thumbs.c: (create_unknown_pixbuf),
(gth_file_view_thumbs_new):
* src/dlg-photo-importer.c: (get_icon_from_mime_type):
* src/main.c: (theme_changed_cb), (initialize_data), (get_fs_icon):
Removed deprecated GnomeIconTheme functions - bug 171593. Seems to
reduce memory usage as well - bug 310749. Modified version of
patch by Jan de Groot.
2007-01-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-file-view-list.c: (get_compfunc_from_method):
* libgthumb/gth-file-view-thumbs.c: (get_compfunc_from_method):
* libgthumb/gth-sort-utils.c: (gth_sort_none):
* libgthumb/gth-sort-utils.h:
* src/catalog-png-exporter.c: (get_sortfunc):
* src/catalog-web-exporter.c: (get_sortfunc):
* src/dlg-rename-series.c: (get_sortfunc):
Consolidated no-sort functions into gth-sort-utils.c.
* src/main.c: (initialize_data):
Set manual sort mode when handling list of filenames from the
command line. Bug 326621.
2007-01-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-sort-utils.c:
(gth_sort_by_filename_but_ignore_path): Fixed bug 313562 - changed
name sorting to use g_utf8_collate_key_for_filename, for better
handling of numeric file names (similar to Nautilus).
2007-01-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c: Set the is_important property on some actions;
don't unref actions got with gtk_action_group_get_action.
Really fixes bug #385605
2007-01-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (window_make_current_image_visible): do not reset the
viewer if the image file exists.
* src/gth-browser.c (set_mode_specific_ui_info): call ensure_update before
setting actions as important
* src/gth-browser.c: set actions as important after adding them to
the ui.
Fixes bug #385605 – toolbar style: "text beside icons" doesn't work
2007-01-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c:
* src/dlg-preferences.c:
* libgthumb/preferences.h:
* data/glade/gthumb_preferences.glade:
* data/gthumb.schemas.in: removed /schemas/apps/gthumb/slideshow/delay
added /apps/gthumb/slideshow/change_delay as float.
allow to turn off the fading effect in the slideshow. Allow to specify a
delay of 0.5 seconds.
2007-01-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-filter-bar.c:
* src/gth-filter-bar.h: implemented other features.
* src/Makefile.am:
* src/gth-category-selection-dialog.c:
* src/gth-category-selection-dialog.h: new files.
* libgthumb/gth-image-list.c: pass item->data to image_list_filter_match
instead of item
* libgthumb/preferences.h:
* data/gthumb.schemas.in: added "/apps/gthumb/ui/filterbar_visible" key
* src/gth-browser-ui.h:
* src/gth-browser-actions-entries.h:
* src/gth-browser-actions-callbacks.h:
* src/gth-browser-actions-callbacks.c:
* src/gth-browser.h:
* src/gth-browser.c:
* libgthumb/gth-filter.c:
* libgthumb/gth-file-list.c: allow to hide/show the filter bar.
* src/dlg-search.c: removed a non-printable character.
2007-01-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/icons/filter-24.png:
* libgthumb/icons/Makefile.am:
* libgthumb/gthumb-stock.h:
* libgthumb/gthumb-stock.c: added the GTHUMB_STOCK_FILTER stock icon.
* data/glade/gthumb_search.glade:
* data/glade/gthumb_tools.glade: use "Search" instead of Find (#335390).
2007-01-03 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-crop.c (dlg_crop):
* src/dlg-redeye-removal.c (dlg_redeye_removal): set the size of the window
instead of the size of the image selector.
* src/gth-browser.c (window_make_current_image_visible):
Fixed bug #389590 – update image after delete is broken.
* src/gth-dir-list.c:
* src/dlg-photo-importer.c:
* src/catalog-list.c:
* libgthumb/jpegutils/jpegtran.c:
* libgthumb/pixbuf-utils.c:
* libgthumb/gth-sort-utils.c:
* libgthumb/file-utils.c:
* libgthumb/dlg-save-image.c:
* libgthumb/comments.c: #include <strings.h> when using strcasecmp
* libgthumb/gth-file-list.c: implement gth_file_list_delete as a special
case of gth_file_list_delete_list
2007-01-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-filter.c:
* src/gth-filter-bar.c: implemented starts_with, ends_with, contains
operations. Make filter case insensitive.
* src/dlg-redeye-removal.c (image_selector_clicked_cb): removed call to
g_print
2007-01-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-file-list.c: (gth_file_list_op_free),
(gth_file_list_queue_op_with_uri),
(gth_file_list_queue_op_with_list),
(gth_file_list_queue_op_with_int), (gth_file_list_exec_next_op):
* libgthumb/jpegutils/jpegtran.c: (update_exif_thumbnail):
* src/dlg-jpegtran.c: (apply_transformation):
Minor code tweaks for gcc 2.95 compatibility.
Patch by Jens Granseuer. Bug 391928.
2007-01-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* README: Removed mention of Bonobo components. Bug 389197.
* data/glade/gthumb_redeye.glade: Added tooltips.
* doc/C/gthumb.xml: Mention mousewheel-zooming in redeye removal tool.
* src/dlg-redeye-removal.c: (dlg_redeye_removal):
Larger preview area, based on gdk_screen_get_width/height. Bug 389587.
2007-01-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-crop.c: added help button.
* src/gth-window-actions-entries.h:
* src/gth-viewer.c:
* src/gth-browser.c: use the key_press callback for single-key shortcuts
to avoid conflict with the filter text entry.
* src/gth-filter-bar.h:
* src/gth-filter-bar.c:
* src/gth-browser.c:
* libgthumb/typedefs.h:
* libgthumb/Makefile.am:
* libgthumb/gth-image-list.h:
* libgthumb/gth-image-list.c:
* libgthumb/gth-filter.h:
* libgthumb/gth-filter.c:
* libgthumb/gth-file-view-thumbs.c:
* libgthumb/gth-file-view-list.c:
* libgthumb/gth-file-view.h:
* libgthumb/gth-file-view.c:
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c:
* libgthumb/file-data.h:
* libgthumb/file-data.c: second part of the filter implementation:
implemented the filter for the gth-image-list widget. Created a simple
filter on the filename.
2006-12-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-redeye-removal.c (dlg_redeye_removal):
(image_selector_motion_notify_cb):
(help_cb): readded the help button.
2006-12-27 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.9.1 released ]
* doc/C/gthumb.xml: removed . outside <para>
* src/gth-browser.c (gth_browser_construct): removed the filter bar for
the 2.9.1 version.
* NEWS: updated for 2.9.1
* configure.in: changed version to 2.9.1
2006-12-26 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-image-selector.c:
(realize):
(update_mouse_selection):
(set_active_area):
(get_event_area_from_id):
(set_cursor): use a GDK_CROSSHAIR cursor, update the cursor while dragging
the selection.
* data/glade/gthumb_camera.glade:
* src/dlg-photo-importer.c: simplyfied the camera dialog, added a
"no camera detected" message when the list is empty.
2006-12-25 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_camera.glade:
* src/dlg-photo-importer.c: (model__ok_clicked_cb),
(get_camera_model_list), (get_autodetect_model_list),
(model__selection_changed_cb), (populate_model_treeview),
(model__refresh_cb), (model__manual_select_cb),
(dlg_select_camera_model_cb):
Better camera-selection dialog. Reduced number of combo boxes,
and removed deprecated gtk-combo. Patch by Manuel Braga. Bug 380585.
2006-12-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-image-selector.c (update_mouse_selection): fixed selection when
dragging the top or left sides of the selection box.
2006-12-24 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_redeye.glade:
* src/gth-image-selector.h:
* src/gth-image-selector.c:
* src/dlg-redeye-removal.h:
* src/dlg-redeye-removal.c: many enhancements to the red-eye removal
dialog
* data/glade/gthumb_crop.glade:
* src/dlg-crop.c: added help button
* src/gth-monitor.c (gth_monitor_class_init):
* src/gthumb-preloader.c:
* src/catalog-web-exporter.c:
* src/catalog-png-exporter.c:
* src/gth-dir-list.c:
* libgthumb/gth-file-view.c:
* libgthumb/gth-image-list.c:
* libgthumb/image-loader.c: use g_cclosure_marshal_VOID__VOID instead of
gthumb_marshal_VOID__VOID
2006-12-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-iviewer.h:
* libgthumb/gth-iviewer.c: added zoom_to_fit function to the interface
* libgthumb/image-viewer.c:
* src/gth-image-selector.c: implement the zoom_to_fit function
* dlg-crop.c: use the zoom_to_fit function here
2006-12-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/image-viewer.c:
keep the area pointed by the mouse visible when zooming using
CTRL + mouse wheel
* data/glade/gthumb_crop.glade:
* src/Makefile.am:
* src/gth-image-history.c:
* src/gth-image-history.h:
* src/gth-image-selector.h:
(set_scroll_adjustments):
* src/gth-window.c:
(gth_window_get_can_undo):
(gth_window_undo):
(gth_window_edit_comment):
(gth_window_finalize):
(gth_window_close):
(gth_window_redo):
(gth_window_get_can_redo):
(gth_window_init):
(gth_window_update_comment_categories_dlg):
(gth_window_attach):
(gth_window_save_pixbuf):
(gth_window_set_image_pixbuf):
(gth_window_edit_categories):
(gth_window_clear_undo_history):
* src/dlg-crop.c:
(undo_button_clicked_cb):
(mask_button_toggled_cb):
(crop_button_clicked_cb):
(ratio_optionmenu_changed_cb):
(dlg_crop):
(selection_changed_cb):
(redo_button_clicked_cb):
(zoom_fit_button_clicked_cb):
(history_changed_cb):
(mask_visibility_changed_cb):
(destroy_cb):
* src/gth-image-selector.c:
(gth_image_selector_set_mask_visible):
(class_init):
(init_selection):
Added undo/redo and other enhancements to the crop dialog.
2006-12-17 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (gth_browser_construct):
* src/gth-filter-bar.c:
* src/gth-filter-bar.h:
Initial support for the filter bar.
* data/glade/gthumb_crop.glade:
* src/dlg-crop.c:
* src/gth-image-selector.c:
* src/gth-image-selector.h:
Some enhancements to the crop dialog: allow to crop multiple times without
exiting the dialog; allow to switch on/off the selection mask.
Zoom in/out with mouse wheel. Zoom keeping the center of the image
visible.
* libgthumb/file-utils.c (remove_extension_from_path): check whether p > 0
before anything else.
* libgthumb/dlg-save-image.c (save_image): do not ask whether to overwrite
an existing image when using the dlg_save_image function.
2006-12-16 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c:
(gth_file_list_exec_next_op):
(gfl_empty_list):
(gth_file_list_set_empty_list):
* src/gth-browser.c (window_update_file_list):
(file_list_done_cb):
(window_set_file_list):
do not emit the DONE signal when empting the list to show the "wait"
message.
2006-12-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-actions-callbacks.c (create_new_folder_or_library):
notify folder creation only when no error occurred.
2006-12-11 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c:
Tweaks to Exif display categories. Patch by Jef Driesen.
Bug 339648.
2006-12-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/jpegutils/transupp.c:
* libgthumb/Makefile.am
* src/Makefile.am
* configure.in:
Fixed bug #317056 – gthumb Cygwin build fixes
* src/gth-browser.c (window_update_go_sensitivity):
(window_update_sensitivity): update the Go_Stop action sensitivity.
* libgthumb/print-callbacks.c: removed unused variables and functions.
2006-12-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* configure.in:
* data/gthumb.schemas.in:
* libgthumb/Makefile.am:
* libgthumb/preferences.h:
* libgthumb/print-callbacks.c: (orientation_is_portrait),
(print_catalog_info_unref), (pango_font_get_glyph),
(pci_get_next_line_to_print_delimiter), (pango_font_get_glyphs),
(pci_get_text_extents), (construct_comment), (pci_print_line),
(pci_print_paragraph), (pci_print_comment), (add_catalog_preview),
(catalog_update_page), (catalog_update_custom_page_size),
(catalog_get_page_width), (catalog_get_page_height),
(catalog_get_page_left_margin), (catalog_get_page_right_margin),
(catalog_get_page_top_margin), (catalog_get_page_bottom_margin),
(catalog_update_page_size_from_config),
(catalog_set_standard_page_size), (catalog_update_margins),
(done_print), (begin_print), (preview), (draw_page),
(pci_update_comment_font), (catalog_portrait_toggled_cb),
(catalog_landscape_toggled_cb), (print_catalog_cb),
(load_current_image), (pci_comment_fontpicker_font_set_cb),
(print_catalog_dlg_full):
Migrated from libgnomeprint to gtkprint. Bug 362854.
Requires gtk 2.10.0 now!
* libgthumb/gnome-print-font-dialog.c:
* libgthumb/gnome-print-font-dialog.h:
* libgthumb/gnome-print-font-picker.c:
* libgthumb/gnome-print-font-picker.h:
Removed, using gtkprint now.
2006-12-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c: (tag_category), (update_exif_data):
Fixed possibility of non-unique positioning of "other" exif tags.
2006-12-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c (add_list_done): always exec the next
operation in queue after adding images to the list.
* data/gthumb.schemas.in: use ###%e as default filename template for the
rename dialog.
* data/glade/gthumb_tools.glade: use "rename" as title for the rename
dialog.
* libgthumb/file-data.c: reset thumb and error when updating.
* gth-file-list.c: no need to reset thumb and error here.
* src/dlg-rename-series.c:
* src/gth-browser-actions-callbacks.c:
Always use the rename series dialog even to rename a single file.
Fixes bug #383439 – Can't rename one image with series syntax
2006-12-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gthumb-marshal.list: added VOID:INT type
* libgthumb/Makefile.am: fixed creation of the marshal types file.
* src/gth-dir-list.h (done):
* src/gth-browser-ui.h:
* src/gth-dir-list.c (gth_dir_list_change_to__step3):
(gth_dir_list_init):
(gth_dir_list_class_init):
* src/gth-browser.c (window_update_catalog_ui):
(catalog_activate):
(dir_list_done_cb):
(window_update_folder_ui): Add a GnomeVFSResult argument to the dir-list
DONE signal. Emit the DONE signal when an error occurrs. Handle
directory loading errors as espected. Fixed syntax error in the folder
ui declaration. Update the ui when a catalog is loaded.
2006-12-07 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c:
Shortened one category label, so it is shorter
than the longest tag name.
2006-12-07 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c:
Changed exif category labels slightly.
2006-12-07 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c: (tag_category):
Final tweaks? Made the tag overlap detection code a bit
more robust, and added some obscure interop tags.
2006-12-07 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c: (update_exif_data):
Code tidy up. Added comments. Fixed small bug with
GPS / Interop tag overlap.
2006-12-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c:
Added some missing tags to the categories.
2006-12-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c:
Better categorization of Exif tags.
2006-12-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c: (tag_category), (update_exif_data):
Put thumbnail-related exif tags in their own category.
2006-12-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c (tag_is_present_in_category):
(add_to_exif_display_list):
(gth_exif_data_viewer_init):
(gth_exif_data_viewer_update):
(update_exif_data):
(tag_category):
Only check for duplicated tags in the makernote category (is this right?).
Keep track of the category root with a row_reference instead of a tree_path
to deal with categories changing their position during nodes insertion.
2006-12-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c: (add_to_exif_display_list),
(tag_category), (update_exif_data):
Added GPS category. Exif tag category display still has some
issues however - see bug 339648.
2006-12-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c (update_exif_data):
(tag_category):
Organize exif tags in categories.
* src/gth-exif-data-viewer.c (tag_is_present_in_category):
(add_to_exif_display_list):
(update_exif_data):
(tag_is_present):
Fixed the tag_is_present function.
2006-12-04 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c:
Added more verbose category names (Filesystem Data, Standard Exif Tags,
MakerNote Exif Tags.
2006-12-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c (gth_exif_data_viewer_construct):
make the columns autoresize, set headers visible.
* src/gth-exif-data-viewer.c (add_to_exif_display_list):
(gth_exif_data_viewer_construct):
(gth_exif_data_viewer_init):
(gth_exif_data_viewer_update):
(update_exif_data):
(tag_is_present):
(update_file_info):
Use a tree view to organize the image metadata. Currently 3 categories are
used: file, exif, note.
2006-12-04 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c: (update_exif_data):
Minor corrections to the Exif display code.
Patch by Jef Driesen. Bug 339648.
* src/gth-window-actions-entries.h:
Add Ctrl+P shortcut for print.
2006-12-03 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c (gfl_delete_list):
(load_new_list):
(gfl_rename):
(gth_file_list_exec_next_op):
(gth_file_list_delete_list):
Added function to remove a series of images.
* src/gth-browser.c (file_list_done_cb):
(gth_browser_notify_files_changed):
(activate_catalog_done):
(gth_browser_notify_files_deleted):
(gth_browser_notify_files_created):
(monitor_update_cat_files_cb):
simplified notification functions.
* src/dlg-jpegtran.c:
* src/gth-window-actions-callbacks.c:
* src/main.c:
* src/dlg-search.c:
* src/gth-monitor.c:
* src/main.h:
* libgthumb/thumb-loader.h:
Removed the bonobo.h inclusion if not needed. Restore the file monitor
in a idle callback.
2006-12-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (key_press_cb):
* src/gth-browser-ui.h:
* src/gth-fullscreen.c (viewer_key_press_cb):
* src/gth-window-actions-entries.h:
* src/gth-viewer.c (viewer_key_press_cb):
Added the X keybinding in the action antry structure. Added W keybinding
in fullscreen mode too.
2006-12-01 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/catalog.c (catalog_free):
(catalog_write_to_disk):
(catalog_new):
(catalog_remove_item):
(catalog_add_item):
(catalog_load_from_disk__common):
(error_on_saving):
* libgthumb/typedefs.h: fixed catalog sorting.
* src/gth-exif-data-viewer.c (add_to_exif_display_list):
(update_exif_data): removed unused function and variable.
* src/gth-browser.c (gth_browser_construct): init the reset_scrollbars
option.
* src/gth-fullscreen.c: (gth_fullscreen_construct): Init to
fit-size_if_larger when using keep_prev_zoom.
* src/gth-exif-data-viewer.c (add_to_exif_display_list): fixed compiler
warning.
* src/gth-browser.c:
* src/dlg-file-utils.c:
* src/gth-fullscreen.c:
* src/gth-window-actions-callbacks.c:
* src/dlg-preferences.c:
* src/gth-viewer.c:
* libgthumb/preferences.c:
* libgthumb/image-viewer.c:
* libgthumb/image-viewer.h:
* data/glade/gthumb_preferences.glade:
Added a fit_width_if_larger mode for the image_viewer and use it for the
zoom_width toolbar button. Init the viewer to zoom_fit_if_larger mode
when using the keep_previous_zoom mode.
* data/gthumb.schemas.in: set keep_prev as default value for the
zoom_change key.
2006-12-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c: (add_to_exif_display_list),
(update_exif_data), (update_file_info):
Added the ability to view Exif "MakerNote" data.
2006-12-01 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c:
* src/gth-dir-list.c:
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c:
* libgthumb/file-data.h:
* libgthumb/gth-sort-utils.c:
* libgthumb/file-data.c:
Fixed some directory loading errors.
2006-12-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* configure.in:
Update libexif requirement to 0.6.13, from 0.6.9
* doc/C/gthumb.xml:
Corrected spelling error ("usefull")
* src/gth-exif-data-viewer.c: (update_exif_data),
(update_file_info):
Removed filtering of Exif tags - all are shown now. Added the ability
to display GPS-related Exif tags. Bug 339648.
2006-12-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-exif-data-viewer.c: (update_file_info):
Prefix filesystem-based fields with "File ", to distinguish from
Exif data.
2006-11-30 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS: updated news for 2.9.0, based on earlier commits.
2006-11-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gs-fade.c (gamma_info_init): return FALSE when HAVE_XF86VMODE_GAMMA is false.
2006-11-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* Makefile.am:
* configure.in:
* components/*: deleted
Removed the Bonobo components because they are unused and untested since a
long time. Bonobo is dying :(
* libgthumb/Makefile.am:
* src/Makefile.am:
Fixed bug #355353 – gthumb should build when srcdir != objdir
Patch by Marty Leisner
* src/gth-window-actions-callbacks.c:
Perform a fit_if_larger zoom instead of a zoom_to_fit zoom.
* src/gth-fullscreen.c:
Removed a useless comment.
* src/dlg-search.c:
Usa a gth-file-list widget to display the found images.
* src/catalog-list.h:
Reformatted
* components/catalog-view/catalog-nautilus-view.c:
* libgthumb/gth-file-list.c:
* libgthumb/gth-file-list.h:
* src/dir-list.c: removed
* src/dir-list.h: removed
* src/gth-dir-list.c:
* src/gth-dir-list.h: renamed dir-list.[ch] as gth-dir-list.[ch]
* src/dlg-image-prop.c:
* src/gth-browser.c:
* src/gth-browser.h:
* src/main.c:
* src/Makefile.am:
Use a signal based system for loading and showing images instead of the
error-prone callback based system.
* src/gth-browser.c:
Fixed bug #377846 – gtk_toolbar_remove: assertion `content_to_remove
!= NULL' failed
2006-11-29 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (gth_browser_notify_update_layout_cb),
(gth_browser_construct):
* src/gth-fullscreen.c: (gth_fullscreen_construct):
* src/gth-viewer.c: (gth_viewer_construct):
* src/gth-window.c: (gth_window_init), (gth_window_get_type),
(gth_window_get_can_redo), (gth_window_attach):
* src/gth-window.h:
Replaced deprecated gnome_app functions with gtk equivalents.
Bug 171601. Patch by Manuel Braga.
2006-11-27 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (key_press_cb):
Add Escape key to quit viewer mode (show sidebar).
("Escape" doesn't work as an accelator for the Close
toolbar item, for some reason).
2006-11-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-image-list.c (gth_image_list_expose): use the allocation
size instead of the size returned by gdk_drawable_get_size
* src/dir-list.c (dir_list_refresh_continue): use path_list_free
2006-11-26 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-list.c (path_list_dup): special case when list == NULL
* libgthumb/gth-image-list.c (gth_image_list_clear): freeze the ui while
clearing the image list.
* libgthumb/jpegutils/jpegtran.c: reformatted.
* libgthumb/gth-file-view-thumbs.c:
* libgthumb/gth-file-view.h:
* libgthumb/gth-file-view.c:
* libgthumb/typedefs.h:
started support for file list filtering.
* gthumb-stock.c:
* gthumb-stock.h: added GTHUMB_STOCK_LIBRARY
* libgthumb/file-utils.c:
* src/gth-location.c:
* src/main.c:
started support for catalog directories in the history list.
* libgthumb/gth-file-list.c:
* libgthumb/gth-file-list.h:
* components/catalog-view/catalog-nautilus-view.c
(catalog_nautilus_view_load_location): stop thumbnails loading before
filtering the file_list. Do not duplicate the entire file_list, simply
use the one passed as parameter.
* src/gth-viewer.c:
* src/gth-viewer-ui.h:
* src/gth-browser-ui.h:
* src/gth-browser-actions-callbacks.c:
* src/gth-browser-actions-callbacks.h:
* src/gth-browser-actions-entries.h:
reorganized toolbars.
* src/gth-browser.c (gth_browser_construct): added a location toolbar.
* libgthumb/jpegutils/jpegtran.c (update_exif_thumbnail): use
g_malloc/g_free instead of malloc/free.
* src/gth-browser-actions-entries.h: use "by modification time" instead of
"by file time".
* libgthumb/gth-file-view-list.c (add_columns):
* src/dir-list.c (add_columns):
* src/catalog-list.c (add_columns): added ellipsize property.
2006-11-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_preferences.glade:
* src/gth-fullscreen.c (mouse_wheel_scrolled_cb):
* libgthumb/preferences.c (pref_get_check_type):
* libgthumb/preferences.h:
* src/gth-browser.c:
* data/gthumb.schemas.in:
* src/dlg-preferences.c (dlg_preferences):
* libgthumb/image-viewer.c:
* libgthumb/image-viewer.h:
* src/gth-viewer.c:
Use a simple boolean value for the reset_scrollbars option. Do not read
the gconf preference from the image-viewer widget, use a notification value
signal from the gth-browser widget instead. Put the rotate tool at the end
of the toolbar in the viewer window. Fixed some warnings.
2006-11-24 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/jpegutils/jpegtran.c: (update_exif_thumbnail):
Discard corrupted thumbnails if present.
Patch by Jef Driesen. Bug 361913.
2006-11-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser-ui.h:
* src/gth-fullscreen-ui.h:
* src/gth-viewer-ui.h:
Re-positioned zoom-to-width toolbar item.
2006-11-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/jpegutils/jpeg-memory-mgr.c: (jpeg_memory_src):
* libgthumb/jpegutils/jpeg-memory-mgr.h:
* libgthumb/jpegutils/jpegtran.c: (update_exif_thumbnail),
(update_exif_data), (jpegtran_internal), (jpegtran_thumbnail),
(jpegtran):
* libgthumb/jpegutils/jpegtran.h:
Added error handling to jpeg/exif thumbnail
transformation code. Patch by Jef Driesen. Bug 361913.
2006-11-23 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gthumb-stock.c:
* libgthumb/gthumb-stock.h:
* libgthumb/icons/Makefile.am:
* libgthumb/icons/zoom-width-16.png:
* libgthumb/icons/zoom-width-24.png:
* libgthumb/image-viewer.c: (zoom_to_width),
(image_viewer_zoom_in), (image_viewer_zoom_to_width):
* src/gth-browser-ui.h:
* src/gth-browser.c: (window_update_zoom_sensitivity):
* src/gth-fullscreen-ui.h:
* src/gth-fullscreen.c: (update_zoom_sensitivity)
* src/gth-viewer-ui.h:
* src/gth-viewer.c: (viewer_update_zoom_sensitivity):
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_view_zoom_to_width):
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-entries.h:
Added a zoom-to-fit-width function. Bug 148971.
* src/gth-fullscreen.c: (mouse_wheel_scrolled_cb),
(gth_fullscreen_construct):
Extended mouse-wheel navigation to fullscreen mode.
2006-11-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/gthumb.schemas.in:
* src/dlg-rename-series.c: (comp_func_name), (comp_func_size),
(comp_func_time), (comp_func_exif_date), (comp_func_path),
(comp_func_comment), (comp_func_none), (get_sortfunc),
(update_list), (dlg_rename_series):
Extended the sort-by-comment and sort-by-ExifDateTime
modes to series renaming. Bugs 373557, 167791.
2006-11-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_preferences.glade:
* data/gthumb.schemas.in:
* doc/C/gthumb.xml:
* libgthumb/image-viewer.c: (image_viewer_set_void),
(image_loaded):
* libgthumb/image-viewer.h:
* libgthumb/preferences.c:
* libgthumb/preferences.h:
* src/dlg-preferences.c: (opt_scrollbar_position_reset_cb),
(opt_scrollbar_position_keep_cb), (dlg_preferences):
Added preference for scrollbar positioning after
next/previous. Bug 309156.
* src/gth-browser.c: (mouse_wheel_scrolled_cb):
Tweaked mouse wheel implementation, so that
wheel down = page down = next image.
2006-11-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser.c: (key_press_cb):
Forgot to free a list added in the last commit. Fixed.
2006-11-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml:
* src/gth-browser.c: (key_press_cb):
* src/gth-fullscreen.c: (viewer_key_press_cb):
* src/gth-window-actions-entries.h:
Changed the animation toggle from "g" to "a".
Added a gimp shortcut key "g". Updated docs.
2006-11-22 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gthumb-marshal.list:
* libgthumb/image-viewer.c: (image_viewer_class_init),
(image_viewer_scroll_event):
* libgthumb/image-viewer.h:
* src/gth-browser.c: (mouse_wheel_scrolled_cb),
(gth_browser_construct):
Implemented next/prev image navigation function
for the mouse wheel. Bug 131416.
2006-11-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser-actions-entries.h:
Added ctrl+shift+N shortcut for new folder. Bug 171048.
* src/gth-browser.c: (key_press_cb):
Added F5 shortcut for refresh (adds to Ctrl+R). Bug 171048.
2006-11-21 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml:
Removed mention of the "Q" shortcut, because it does
not work (lower-case function makes it useless).
* src/gth-browser.c: (toggle_image_preview_visibility),
(key_press_cb), (gth_browser_hide_sidebar),
(gth_browser_show_image_pane):
Removed the Escape shortcut (to close image preview),
because it is unexpected behaviour. Replaced Q/Esc functionality
by expanding the functionality of the "i" shortcut to toggle
the preview/properties/comments in all modes.
2006-11-20 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-search.c (directory_load_cb):
* libgthumb/file-utils.c (uri_is_root):
* libgthumb/file-utils.h: new function
add the toplevel method the filename and use the uri_is_root function to
check whether an uri is the root folder.
2006-11-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c:
* src/catalog-png-exporter.c:
* libgthumb/gth-file-view-thumbs.c (get_compfunc_from_method):
* libgthumb/gth-sort-utils.c (gth_sort_by_filename_but_ignore_path):
* libgthumb/gth-file-view-list.c (comp_func_comment):
* libgthumb/gth-sort-utils.h:
fixed compiler warnings, reformatted some code.
2006-11-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-data.c: (file_data_new), (file_data_update):
* libgthumb/file-data.h:
* libgthumb/gth-file-view-list.c: (comp_func_exif_date):
* libgthumb/gth-file-view-thumbs.c: (comp_func_exif_date):
* libgthumb/gth-sort-utils.c: (gth_sort_by_filetime_then_name),
(gth_sort_by_exiftime_then_name):
* libgthumb/gth-sort-utils.h:
Read exif DateTime tags for files in browser view only at
sort time, and cache them. This eliminates unnecessary file reads
in the other sort modes. Bug 142590.
2006-11-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (add_rotate_toolbar_item):
added a separator before the rotate toolbar item.
* src/dlg-search.c (file_respects_search_criteria):
ignore the path till the starting folder when matching the filepath
2006-11-18 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/gthumb.schemas.in:
* libgthumb/file-data.c: (file_data_new), (file_data_update):
* libgthumb/file-data.h:
* libgthumb/gth-file-view-list.c: (comp_func_exif_date),
(get_compfunc_from_method):
* libgthumb/gth-file-view-thumbs.c: (comp_func_exif_date),
(get_compfunc_from_method):
* libgthumb/preferences.c:
* libgthumb/typedefs.h:
* src/catalog-png-exporter.c: (comp_func_exif_date),
(get_sortfunc), (image_loader_done):
* src/catalog-web-exporter.c: (comp_func_exif_date),
(get_sortfunc), (image_loader_done):
* src/dlg-png-exporter.c: (dlg_png_exporter_pref):
* src/dlg-web-exporter.c: (dlg_web_exporter):
* src/gth-browser-actions-entries.h:
* src/gth-browser-ui.h:
* src/gth-browser.c: (window_sync_sort_menu):
Added sort by Exif DataTime tag. Bugs 373557, 142590.
2006-11-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-ui.h:
removed Save from the toolbar, moved Comment and Categories to the end.
* src/gth-browser-actions-entries.h:
* libgthumb/gthumb-stock.c:
* libgthumb/icons/Makefile.am:
* src/gth-fullscreen-actions-entries.h:
use GTK_STOCK_GO_[BACK|FORWARD] instead of GTUHMB_STOCK_[NEXT|PREV]_IMAGE.
* src/gth-browser.c: include rotation-utils.h
2006-11-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/Makefile.am:
* libgthumb/gth-sort-utils.c: (gth_sort_by_comment_then_name),
(gth_sort_by_size_then_name), (gth_sort_by_filetime_then_name),
(gth_sort_by_filename_but_ignore_path), (gth_sort_by_full_path):
* libgthumb/gth-sort-utils.h:
Added gth-sort-utils.* to rationalize sorting functions.
Part of bug 373557.
* libgthumb/gth-file-view-list.c: (comp_func_name),
(comp_func_size), (comp_func_time), (comp_func_path),
(comp_func_comment):
* libgthumb/gth-file-view-thumbs.c: (comp_func_name),
(comp_func_size), (comp_func_time), (comp_func_path),
(comp_func_comment):
* src/catalog-png-exporter.c: (comp_func_name), (comp_func_path),
(comp_func_comment), (comp_func_time), (comp_func_size):
* src/catalog-web-exporter.c: (comp_func_name), (comp_func_path),
(comp_func_comment), (comp_func_time), (comp_func_size):
Use new gth-sort-utils.c functions for consistent sorting.
* libgthumb/glib-utils.c: (strcmp_null_tollerant):
Removed unnecessary comparisons (logically impossible).
2006-11-17 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/catalog-web-exporter.c: (image_data_new):
Corrected output file naming of non-jpeg images in web
album export. Always use original file extension.
* src/catalog-web-exporter.c:
(export__copy_image__progress_update_cb), (export__copy_image):
Added transform-to-top-left step for copied originals, to ensure
proper viewing in browsers that ignore exif tags. Bug 370013.
2006-11-16 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/jpegutils/Makefile.am:
* libgthumb/jpegutils/jpeg-memory-mgr.c: (init_source),
(fill_input_buffer), (skip_input_data), (term_source),
(init_destination), (empty_output_buffer), (term_destination),
(jpeg_memory_src), (jpeg_memory_dest):
* libgthumb/jpegutils/jpeg-memory-mgr.h:
* libgthumb/jpegutils/jpegtran.c: (update_exif_thumbnail):
New files to hold jpeg callback functions, as a
refinement of the developing code to rotate embedded
thumbnails. Patch by Jef Driesen. Bug 361913.
2006-11-15 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-location.c: (monitor_changed_cb),
(gth_location_finalize), (gth_location_class_init):
Possible fix to the frequently-duped bug 356623. Removes
all monitor_changed_cb signal handlers during finalize
to avoid unref race conditions. Patch by Manuel Braga.
2006-11-15 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/jpegutils/jpegtran.c: (jpegtran): Fixed memory
and file descriptor leaks in error handling code.
Patch by Jef Driesen. Bug 361913.
2006-11-15 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/catalog-web-exporter.c:
(copy_exif_from_orig_and_reset_orientation), (save_thumbnail_cb),
(save_image_preview_cb), (save_resized_image_cb):
Renamed copy_exif_from_orig_and_reset_orientation for clarity.
Added comments.
* src/gth-browser.c: (save_jpeg_data):
* src/gth-viewer.c: (save_jpeg_data):
Reverted to file-based modification of orientation tags when
saving pixbufs, rather than modifying the in-memory tags.
This is less efficient, but will have fewer unintended
consequences. Bug 370013.
2006-11-13 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml: Expanded the web album section
of the manual, including more details about headers
and footers. Patch by Rennie deGraaf.
2006-11-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-jpegtran.c: (apply_transformation):
Corrected error in the new rotation routines - data->transform
was changed during rotation. A copy should be made instead.
See bug 361913 comment 31.
* src/gth-window-actions-entries.h:
Added keyboard shortcut for Reset Exif Orientation menu item.
2006-11-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/jpegutils/jpegtran.c: (thumbnail_src_init),
(thumbnail_src_fill), (thumbnail_src_skip), (thumbnail_src_term),
(thumbnail_dest_init), (thumbnail_dest_flush),
(thumbnail_dest_term), (update_exif_thumbnail),
(jpegtran_internal), (jpegtran):
Patch to update embedded jpeg-exif-thumbnails when rotating the
image, for compatibility with other applications.
Bug 361913. Patch by Jef Driesen.
2006-11-12 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-folder-selection-dialog.c:
(gth_folder_selection_construct):
Made the move-to folder selection dialog and its subelements
fully resizable to handle long path names. Bug #373406.
Patch by Manuel Braga.
2006-11-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-ui.h: moved the ViewAs commands lower.
use ToolBar_EditComment and ToolBar_EditCategories to avoid "..." on the
toolbar.
* src/gth-window-actions-entries.h: removed "..." from Image_OpenWith and
RotateImages to avoid the dots on the toolbar (I couldn't find a better
solution).
* src/dlg-redeye-removal.c:
* libgthumb/jpegutils/jpegtran.c:
* libgthumb/comments.c:
* libgthumb/Makefile.am:
* src/dlg-photo-importer.c: fixed compiler warnings.
2006-11-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml:
* src/dlg-scale-series.c: (help_cb), (dlg_scale_series):
The Scale Series help button didn't do anything.
A callback was added, and a new section was added to the manual.
2006-11-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml:
Greatly expanded the section of the manual dealing
with web album generation.
2006-11-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-folder-selection-dialog.c:
Minor tweak to file move folder selection dialog UI.
Increased default width/height of lists. Bug #373406.
2006-11-10 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/jpegutils/jpegtran.c: (update_exif_orientation),
(swap_fields), (update_exif_dimensions), (update_exif_thumbnail),
(update_exif_data), (jpegtran):
* src/rotation-utils.c: (apply_transformation_jpeg),
(get_next_transformation):
* src/rotation-utils.h:
Made exif tag updating an integral part of jpegtran,
to reduce unnecessary file reads/writes. Added stub
for proper updating of exif thumbnail - to be
expanded. Bug 361913. Patch by Jef Driesen.
2006-11-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-jpegtran.c: (jpeg_mcu_dialog):
Fixed action of jpeg-mcu-trim dialog when the close
button was pressed. Bug 361913. Patch by Jef Driesen.
2006-11-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/ru: Deleted obsolete Russian manual translation.
Bug #346889.
2006-11-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* po/POTFILES.in:
Added missing files to translation list (5 total).
2006-11-09 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/albumthemes/BestFit/BestFit.css:
* data/albumthemes/BestFit/BestFit.js:
* data/albumthemes/BestFit/image.gthtml:
* data/albumthemes/BestFit/index.gthtml:
* data/albumthemes/BestFit/index.js:
* data/albumthemes/BestFit/lib.js:
Improvements to the BestFit web album theme (image
view). Bug 319933. Patch by Rennie deGraaf.
2006-11-08 Daniel Nylander <po@danielnylander.se>
* sv.po: Swedish translation updated.
2006-11-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/gth-exif-utils.c: (set_orientation_in_exif_data):
* libgthumb/gth-exif-utils.h:
* src/catalog-web-exporter.c: (copy_exif_from_orig):
* src/gth-browser.c: (save_jpeg_data):
* src/gth-viewer.c: (save_jpeg_data):
* src/rotation-utils.c: (write_orientation_field),
(jtransform_perfect_transform):
Efficiency improvements in resetting exif orientation tags
when save jpegs. Bug 370013. Patch by Manuel Braga.
2006-11-08 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_web_exporter.glade: UI tweaks
in web album exporter (added note about row/col
auto-arranging). Bug 319933.
* src/dlg-categories.c:
* src/dlg-change-date.c:
* src/dlg-comment.c:
* src/dlg-convert.c:
* src/dlg-jpegtran.c:
* src/dlg-photo-importer.c:
* src/dlg-preferences.c:
* src/dlg-redeye-removal.c:
* src/dlg-rename-series.c:
* src/dlg-reset-exif.c:
* src/dlg-search.c:
* src/dlg-web-exporter.c:
Added missing #includes for help functions. Bug 369449.
2006-11-07 Michael J. Chudobiak <mjc@cvs.gnome.org>
* configure.in:
* data/albumthemes/BestFit/BestFit.css:
* data/albumthemes/BestFit/BestFit.js:
* data/albumthemes/BestFit/Makefile.am:
* data/albumthemes/BestFit/back.png:
* data/albumthemes/BestFit/image.gthtml:
* data/albumthemes/BestFit/index.gthtml:
* data/albumthemes/BestFit/index.js:
* data/albumthemes/BestFit/lib.js:
* data/albumthemes/BestFit/next.png:
* data/albumthemes/BestFit/prev.png:
* data/albumthemes/BestFit/preview.png:
* data/albumthemes/BestFit/thumbnail.gthtml:
* data/albumthemes/Makefile.am:
Initial addition of Rennie deGraaf's "BestFit" web album
theme. Bug 319933. Some tweaks expected shortly.
2006-11-07 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb.glade:
More stock buttons in the edit bookmarks dialog.
2006-11-07 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-browser-actions-entries.h:
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_alter_image_resize):
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-entries.h:
Added missing ellipses to menu items, as per HIG.
2006-11-07 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/catalog-web-exporter.c: (get_page_idx_from_image_idx):
Corrected broken index links in web albums (broken by yesterday's
web album patch). Bug 319933, patch by Rennie deGraaf.
2006-11-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/gthumb.schemas.in:
* libgthumb/gth-file-view-list.c: (gfv_sorted),
(comp_func_comment), (get_compfunc_from_method):
* libgthumb/gth-file-view-thumbs.c: (comp_func_comment),
(get_compfunc_from_method):
* libgthumb/preferences.c:
* libgthumb/typedefs.h:
* src/catalog-png-exporter.c: (comp_func_name),
(comp_func_comment), (get_sortfunc):
* src/catalog-web-exporter.c: (comp_func_comment), (get_sortfunc):
* src/dlg-png-exporter.c: (dlg_png_exporter_pref):
* src/dlg-web-exporter.c: (dlg_web_exporter):
* src/gth-browser-actions-entries.h:
* src/gth-browser-ui.h:
* src/gth-browser.c: (window_sync_sort_menu):
Added sorting by comment. Bug 356718. Adapted from
a patch by David Kiliani.
2006-11-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/albumthemes/Classic/image.gthtml:
* data/albumthemes/Classic/thumbnail.gthtml:
* data/albumthemes/ClassicClips/image.gthtml:
* data/albumthemes/ClassicClips/thumbnail.gthtml:
* data/albumthemes/Flicker/image.gthtml:
* data/albumthemes/Flicker/thumbnail.gthtml:
* data/albumthemes/NeatRound/image.gthtml:
* data/albumthemes/NeatRound/thumbnail.gthtml:
* data/albumthemes/Wiki/image.gthtml:
* data/albumthemes/Wiki/thumbnail.gthtml:
* data/glade/gthumb_web_exporter.glade:
* data/gthumb.schemas.in:
* doc/theme-xml.txt:
* libgthumb/comments.c: (_append_escaped_text_for_html):
* libgthumb/preferences.h:
* libgthumb/typedefs.h:
* src/albumtheme-private.h:
* src/albumtheme.c: (yytnamerr), (yyparse), (yywrap), (yyerror):
* src/albumtheme.l:
* src/albumtheme.y:
* src/catalog-web-exporter.c: (image_data_new), (image_data_free),
(catalog_web_exporter_init),
(catalog_web_exporter_set_single_index), (get_var_value),
(get_page_idx_from_image_idx), (gth_parsed_doc_print),
(export__save_html_files):
* src/catalog-web-exporter.h:
* src/dlg-web-exporter.c: (export), (single_index_toggled_cb),
(dlg_web_exporter), (caption_dialog__ok_clicked),
(show_caption_dialog_cb):
* src/lex.albumtheme.c: (yy_get_next_buffer),
(yy_get_previous_state), (input), (yy_load_buffer_state),
(yy_pop_state), (yy_top_state), (main):
Major web album formatting enhancements. Proper iso-code escaping
of non-ASCII characters. Initial development patch, some known issues.
Additional tweaks are expected shortly. See bug 319933.
Patch by Rennie deGraaf.
2006-11-06 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-redeye-removal.c: (compute_scale_factor):
Shrank window height for redeye removal tool slightly.
2006-11-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/file-utils.c: (get_temp_dir_name),
(get_temp_file_name):
* libgthumb/file-utils.h:
* src/dlg-photo-importer.c: (load_images_preview__step):
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_file_print):
* src/rotation-utils.c: (apply_transformation_jpeg):
More secure method of temporary file generation.
Bug #358894. Patch by Rennie deGraaf.
2006-11-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/gth-window-actions-entries.h:
Changed Help>Help to Help>Contents, as per HIG.
2006-11-05 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/Makefile.am:
* libgthumb/gth-utils.c: (gthumb_display_help):
* libgthumb/gth-utils.h:
* src/dlg-categories.c: (help_cb):
* src/dlg-change-date.c: (help_cb):
* src/dlg-comment.c: (help_cb):
* src/dlg-convert.c: (help_cb):
* src/dlg-jpegtran.c: (help_cb):
* src/dlg-photo-importer.c: (help_cb):
* src/dlg-preferences.c: (help_cb):
* src/dlg-redeye-removal.c: (help_cb):
* src/dlg-rename-series.c: (help_cb):
* src/dlg-reset-exif.c: (help_cb):
* src/dlg-search.c: (help_cb):
* src/dlg-web-exporter.c: (help_cb):
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_help_help),
(gth_window_activate_action_help_shortcuts):
Added libgthumb/gth-utils.c, and placed gthumb_display_help in it,
to reduce code duplication. Bug 369449. Patch by Manuel Braga.
* src/gth-browser.c: (save_jpeg_data):
* src/gth-viewer.c: (save_jpeg_data):
* src/catalog-web-exporter.c: (copy_exif_from_orig):
Added some comments, to clarify the changes in the previous commit.
2006-11-04 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/catalog-web-exporter.c: (copy_exif_from_orig):
* src/gth-browser.c: (save_jpeg_data):
* src/gth-viewer.c: (save_jpeg_data):
Reset exif orientation tags after "save", "save as", and
during web album export. Bug 370013.
2006-11-04 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/Makefile.am:
* src/dlg-redeye-removal.h:
* src/gth-window-actions-callbacks.c:
Added header file (dlg-redeye-removal.h).
Patch by Manuel Braga.
2006-11-03 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/catalog-web-exporter.c: (image_data_new): Patch to
include original filename within album-generated image filenames.
Patch by Christophe Bisière. Bug #173025.
2006-11-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* doc/C/gthumb.xml:
* src/dlg-jpegtran.c: (jpeg_mcu_dialog), (apply_transformation):
* src/dlg-photo-importer.c: (adjust_orientation__step):
* src/rotation-utils.c: (jtransform_perfect_transform),
(apply_transformation_jpeg):
* src/rotation-utils.h: Added option to trim jpegs during
transformations on images whose dimensions are not multiples of
the jpeg MCU (8). See bug #361913. Patch by Jef Driesen.
2006-11-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-web-exporter.c: (help_cb), (dlg_web_exporter): The
web album "Help" button didn't do anything (bug #369436). Fixed!
2006-11-02 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_web_exporter.glade:
* src/dlg-web-exporter.c: (get_idx_from_size), (dlg_web_exporter):
New re-size options in web exporter to allow equal landscape and
portrait image sizes (square bounding box). Bug #313671. Patch
by Stanislav Brabec.
2006-11-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* .cvsignore:
* Makefile.am:
* configure.in:
* doc/C/gthumb.xml:
* doc/ChangeLog:
* doc/Makefile.am:
* doc/gthumb.omf.in:
* m4/.cvsignore:
Migration to gnome-doc-utils (bug #346889). Patch by Don Scorgie.
2006-11-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_tools.glade: Fixed duplicate and missing
shortcut keys in the lossless rotate dialog, and added note
mentioning [ and ] shortcuts. Fixes bugs #145130 and #142936.
2006-11-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* src/dlg-file-utils.c: (dlg_files_delete): Fixed silent fail of file
deletes on read-only-mounted filesystems. Bug #335180. Patch
by Manuel Braga.
2006-11-01 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/print-callbacks.c: (pci_get_next_line_to_print_delimiter):
Fixes bug 305046, by making printed comments wrap between words, rather than
blindly wrapping in the middle of words.
* data/gthumb.schemas.in:
* data/glade/gthumb_tools.glade:
* libgthumb/glib-utils.c: (_g_substitute_pattern):
* src/dlg-rename-series.c: (update_list): Fixes bug 338623 and bug 339037,
by adding a "%e" file-extension symbol when renaming a series of files.
This allows extensions to be changed, and fixes a crash when files without
extensions were renamed.
* data/glade/gthumb_comments.glade:
* doc/C/gthumb.xml:
* src/dlg-categories.c: (add_category_cb), (remove_category_cb),
(ok_clicked_cb), (use_category_toggled), (dlg_categories_common),
(dlg_categories_update):
* src/dlg-comment.c: (save_clicked_cb),
(date_optionmenu_changed_cb), (dlg_comment_new),
(dlg_comment_update):
* src/gth-fullscreen.c: (gth_fullscreen_init):
* src/gth-viewer.c: (gth_viewer_init):
* src/gth-window.c: (gth_window_class_init), (gth_window_init):
The "Close" and "Save" buttons in the comments and categories dialogs have
been changed to "Cancel" and "OK". The save is automatic when OK is clicked,
for more intuitive operation.
2006-10-31 Michael J. Chudobiak <mjc@cvs.gnome.org>
* libgthumb/async-pixbuf-ops.c: (scale_step):
Fixes image scaling memory leak (bug #349576). Patch
by Manuel Braga.
2006-10-31 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_camera.glade:
* doc/C/gthumb.xml:
* src/dlg-photo-importer.c: (model__destroy_cb),
(model__ok_clicked_cb), (get_autodetect_model_list),
(model__autodetect_model_changed_cb), (model__refresh_cb),
(model__manual_select_cb), (dlg_select_camera_model_cb):
Adds support for multiple auto-detected cameras (or
multiple modes for single cameras). Bug 361967.
2006-10-31 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb_preferences.glade:
* src/dlg-preferences.c: (destroy_cb), (dlg_preferences):
* src/gth-browser-actions-entries.h:
* src/gth-browser-ui.h:
* src/gth-browser.c: (view_as_cb), (view_as_radio_action),
(gth_browser_construct), (close__step6):
Puts View As Slides / List in View menu, not in prefs.
Fixes bug #310648.
2006-10-31 Michael J. Chudobiak <mjc@cvs.gnome.org>
* NEWS:
* data/glade/Makefile.am:
* data/glade/gthumb_redeye.glade:
* doc/C/gthumb.xml:
* libgthumb/gthumb-stock.c:
* libgthumb/gthumb-stock.h:
* libgthumb/icons/Makefile.am:
* libgthumb/icons/redeye-removal-16.png:
* src/Makefile.am:
* src/dlg-redeye-removal.c: (get_widget), (destroy_cb),
(cancel_cb), (compute_scale_factor), (find_region), (fix_redeye),
(update_image), (press_in_win_event), (undo_cb), (help_cb),
(ok_cb), (make_redeye_buf), (clone_redeye_buf),
(destroy_redeye_buf), (initialize_redeye), (dlg_redeye_removal):
* src/gth-browser-ui.h:
* src/gth-browser.c: (window_update_sensitivity):
* src/gth-viewer-ui.h:
* src/gth-viewer.c: (viewer_update_sensitivity):
* src/gth-window-actions-callbacks.c:
(gth_window_activate_action_alter_image_redeye_removal):
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-entries.h:
Adds a redeye removal tool. See bug #140533. Patch by
Carl Michal, Marty Leisner, and Michael Chudobiak.
2006-10-31 Michael J. Chudobiak <mjc@cvs.gnome.org>
* data/glade/gthumb.glade: Fix image properties dialog window height.
Fixes bug #357957. Patch by Manuel Braga.
2006-10-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (key_press_cb): Fixes zoom keybinding (bug #345339).
* src/rotation-utils.c (write_orientation_field):
* src/rotation-utils.h:
* src/dlg-reset-exif.c (apply_transformation):
* src/dlg-jpegtran.c (apply_transformation): Fixes tag updating when
multiple IFDs have orientation tag.
* libgthumb/jpegutils/jpegtran.h:
* libgthumb/jpegutils/jpegtran.c (jpegtran): Adds support for the trim mode.
* libgthumb/typedefs.h: Adds comments to the GthTransform typedef, to
explain its purpose.
* README: Updates the README file to reflect new intltool minimum
requirement.
Patch by Jef Driesen, Michael Chudobiak.
2006-10-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/gthumb.schemas.in:
* libgthumb/preferences.h:
* libgthumb/print-callbacks.c (pci_print_comment): Added ability to print
filenames. Fixed printing of multiline comments.
Fixes bug #348969 – Add option to print path and filename when printing
* src/gth-fullscreen.c (gth_fullscreen_construct):
Fixed bug #321840 – Zoom-to-fit state changes between images in fullscreen
mode.
Patch by Michael Chudobiak
2006-10-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* po/LINGUAS:
* configure.in:
Fixed bug #361770 - Use po/LINGUAS
Patch by Wouter Bolsterlee (uws)
* src/dlg-jpegtran.c (apply_transformation):
Fixed bug #361913 - Need to improve rotation code efficiency.
Patch by Michael Chudobiak
* libgthumb/Makefile.am: use xgen-$(@F) as temp filename.
* src/gth-exif-utils.[ch]: removed
* src/jpegutils/*: removed
* libgthumb/Makefile.am: fixed build of generated files.
2006-10-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/rotation-utils.h (update_orientation_field):
* src/rotation-utils.c:
* src/gth-window-actions-callbacks.c (adjust_orientation__step):
* src/dlg-photo-importer.c:
* src/dlg-jpegtran.h:
* src/dlg-jpegtran.c:
* libgthumb/typedefs.h:
* libgthumb/pixbuf-utils.h (pixmap_from_xpm):
* libgthumb/pixbuf-utils.c:
* libgthumb/image-loader.c (image_loader_set_pixbuf):
* libgthumb/gth-exif-utils.h:
Merged RotatonData, GthExifOrientation and GthOrientation into
GthTransform. The new enum contains all 8 possible transformations and
is compatible with the exif orientation values.
Moved _gdk_pixbuf_transform_exif_orientation from image-loader.h to
pixbuf-utils.h and renamed it to _gdk_pixbuf_transform.
Moved the implementation of the button callbacks in dlg-jpegtran.c to a
common function.
Combined the two parameters rot_type and tran_type of the function
dlg_apply_jpegtran into only one parameter.
Renamed the function update_rotation_from_exif_data in rotation-utils.h
to read_orientation_field.
Rewrote the lossless jpeg transform to perform all types of
transformations in one pass.
Rewrote the generic transform to use the _gdk_pixbuf_transform function.
Replaced the get_next_value_* functions with one new function
(get_next_transformation) that supports all 8 transformations. Added two
functions to find the rotation and mirror/flip part of a transformation.
Patch by Jef Driesen. Bug #361701
* src/gth-browser-ui.h: move ResetExif under RotateImages, add a
searator.
* src/gth-window-actions-entries.h: changed "Reset Exif orientation" to
"Reset Exif Orientation".
* doc/C/gthumb.xml:
* data/glade/gthumb_camera.glade:
* src/dlg-photo-importer.c (dlg_photo_importer): added a help button.
* src/dlg-reset-exif.c (apply_transformation): removed unused variables
* src/rotation-utils.h: added reset_orientation_field
* NEWS:
* README:
* data/glade/gthumb_tools.glade:
* doc/C/gthumb.xml:
* libgthumb/print-callbacks.c:
* src/Makefile.am:
* src/gth-browser-ui.h:
* src/gth-browser.c:
* src/gth-viewer-ui.h:
* src/gth-window-actions-callbacks.c:
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-entries.h:
* src/main.c:
* src/dlg-reset-exif.h:
* src/dlg-reset-exif.c:
1. Adds a Tool > Reset Exif orientation function, for fixing images
incorrectly imported and auto-rotated by previous versions of gthumb.
2. Updates the README file, indicating the correct library requirements.
3. Updates the NEWS file, to reflect the exif improvements.
4. Makes the short command line options work (trivial patch from bug
349747)
5. Makes print scaling work (trivial patch from bug 353681).
Patch by Michael Chudobiak
2006-10-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_camera.glade:
* data/glade/gthumb_tools.glade:
* doc/C/gthumb.xml:
1. Changes the UI label to "Apply physical transform". I think this
gets to the crux of what exactly the checkbox does. And if it doesn't:
2. Detailed tool-tips have been added to the checkboxes. They are
different for the import and rotation dialogs. Please have a look.
3. The manual documentation has been clarified a bit.
Patch by Michael Chudobiak
2006-10-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/gthumb.schemas.in
* data/glade/gthumb_tools.glade
* doc/C/gthumb.xml
* libgthumb/preferences.h
* src/dlg-jpegtran.c
* src/dlg-photo-importer.c
* src/gth-browser-ui.h
* src/gth-viewer-ui.h
* src/rotation-utils.c
1. Less convoluted execution when no orientation tag is present.
2. Do not physical-transform if the dimensions are not multiples of 8
(jpegmcu) and an exif orientation tag is present, to avoid inevitable
data corruption (bug 329129). It reverts to tag-change only for safety.
3. Provide error message if rotate-save fails due to unsupported file
type.
4. Add comments to the rotation code for clarity.
5. Updates rotation help file to describe exif subtleties.
6. Renames some of the gconf keys, for greater consistency with other
keys, and to remove them from the general section.
7. FYI, the keys are set to default to the physical transform mode.
8. remove non-existent "Tools_JPEGRotate_Auto" from pop-up menu.
Patch by Michael Chudobiak
2006-10-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* many files: remove remove unnecessary #ifdefs
Patch by Rennie deGraaf
* configure.in: Patch to make libexif and libjpeg mandatory (v2)
Patch by Rennie deGraaf
* many files:
Applied patch by Michael Chudobiak from bug #343867 comment #130
Merged branch exif-testing:
2006-10-06 Bill Skaggs <weskaggs@primate.ucdavis.edu>
* libgthumb/gth-exif-utils.c
* libgthumb/gth-exif-utils.h
* libgthumb/jpegutils/.cvsignore
* libgthumb/jpegutils/Makefile.am
* libgthumb/jpegutils/README
* libgthumb/jpegutils/jpeg-data.c
* libgthumb/jpegutils/jpeg-data.h
* libgthumb/jpegutils/jpeg-marker.c
* libgthumb/jpegutils/jpeg-marker.h
* libgthumb/jpegutils/jpegtran.c
* libgthumb/jpegutils/jpegtran.h
* libgthumb/jpegutils/transupp.c
* libgthumb/jpegutils/transupp.h: new files
* configure.in
* components/catalog-view/Makefile.am
* components/image-viewer/Makefile.am
* data/gthumb.schemas.in
* data/glade/gthumb_preferences.glade
* data/glade/gthumb_tools.glade
* doc/C/gthumb.xml
* libgthumb/Makefile.am
* libgthumb/gthumb-module.c
* libgthumb/image-loader.c
* libgthumb/preferences.h
* src/Makefile.am
* src/dlg-jpegtran.c
* src/dlg-jpegtran.h
* src/dlg-photo-importer.c
* src/dlg-preferences.c
* src/gth-browser-ui.h
* src/gth-window-actions-callbacks.c
* src/gth-window-actions-callbacks.h
* src/gth-window-actions-entries.h
* src/rotation-utils.c
* src/rotation-utils.h: modified files.
Committed patches listed in comment #106 of bug #343867,
as follows:
patch -p0 < gthumb-exif-v3.patch
patch -p0 < gthumb_reset_exif_orientation_v2.patch
patch -p0 < importer.patch
patch -p0 < gthumb_rotate_v3.patch
patch -p1 < gthumb-20061006-exif-rotate.patch
patch -p1 < delete-checkbox-v2.patch
This is development aimed at improving gthumb's handling
of exif metadata.
2006-10-06 Bill Skaggs <weskaggs@primate.ucdavis.edu>
Initiating "exif-testing" branch. Testing to make sure commit
goes to the right branch, and not to HEAD.
2006-10-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* configure.in: changed version to 2.9.0
2006-10-01 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.7.9 released ]
* configure.in:
* NEWS: updated for 2.7.9
* src/gth-window-actions-entries.h:
Fixed bug #355376 – "Help" shortcut should be "F1" instead of "Ctrl+H"
Patch by Michael Chudobiak
* src/gth-browser.c (set_dir_list_continue):
Removed double semicolon. Fixes bug #343982 – fix build with gcc 2.95
Patch by Jens Granseuer.
* data/Makefile.am:
Fixed installation when srcdir != builddir
* src/catalog-web-exporter.c (get_image_filename):
Fixed bug #358343 – web album: assertion `g_path_is_absolute
(local_full_path)' failed
* src/gthumb-preloader.c:
Set N_ARGS to 3. Fixes bug #358326 – message: assertion `k < N_LOADERS'
failed
2006-09-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/Makefile.am:
Fixed errors when srcdir != builddir
* libgthumb/image-viewer.c (gth_iviewer_interface_init):
Fixed compiler warnings.
2006-09-11 Pema Geyleg <pgeyleg@gmail.com>
* configure.in: Added 'dz' to ALL_LINGUAS
2006-08-31 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-folder-selection-dialog.c (file_sel_ok_clicked_cb):
* src/gth-browser-actions-callbacks.c (open_location_response_cb):
Unescape the uri before using it.
Fixes bug #352747 – gthumb can't open folder through file selector.
* libgthumb/file-utils.c (get_extension):
Fixed bug #353613 – Negative array access in get_extension.
Patch by Pascal Terjan.
* libgthumb/print-callbacks.c (add_catalog_preview):
Fixed bug #353390 – Fix default rotation angle in portrait print mode.
Patch by Michael Chudobiak.
2006-08-17 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-preloader.c:
* src/gthumb-preloader.h:
* src/gth-browser.c (load_timeout_cb):
* src/gth-fullscreen.c (real_load_current_image): removed the 4th
preloader.
* libgthumb/image-loader.c (image_loader_start__step2): use
priv->priority instead of always using DEFAULT
Fixes bug #349556 - [PATCH] Little bug makes gThumb slower than it can
be.
Patch by Colin Leroy
2006-08-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* doc/C/gthumb.xml:
Fixed bug #350732: "loose" should be "lose"
Patch by Bruce Cowan
* libgthumb/Makefile.am (libgthumb_la_LIBADD):
Fixed bug #351058: build failure when -Wl,--as-needed is passed to
linker flags.
Patch by Fryderyk Dziarmagowski.
2006-07-24 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.7.8 released ]
* configure.in:
* NEWS: updated for 2.7.8
2006-07-24 Christophe Merlet <redfox@redfoxcenter.org>
* data/albumthemes/text.h: Fixed typo Previous.
2006-06-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/bookmarks.c (bookmarks_remove_from): free the link after
freeing the linked data.
2006-06-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-list.c (gth_file_list_update_current_thumb):
the signal name is thumb_error, not error.
* libgthumb/thumb-loader.c (thumb_loader_start): stop the loader
before starting it again.
* libgthumb/glib-utils.c:
* libgthumb/glib-utils.h:
* libgthumb/image-loader.c: exec the done_func function in an idle loop.
2006-05-28 Clytie Siddall <clytie@riverland.net.au>
* configure.in Added vi in ALL_LINGUAS line.
2006-05-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (gth_browser_construct): set a smaller height for
the progressbar to avoid an image resize.
2006-05-18 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.7.7 released ]
* NEWS: updated for 2.7.7
* src/dlg-web-exporter.c (dlg_web_exporter): use Wiki as the default
album theme.
(get_default_theme):
Fixed bug #340406 - gthumb doesn't compain of nonexisting default
web-album theme.
2006-05-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (sidebar_list_key_press, key_press_cb)
(viewer_key_press_cb):
* src/gth-fullscreen.c (viewer_key_press_cb):
* src/gth-viewer.c (viewer_update_image_info)
(viewer_key_press_cb):
Fixed bug #339645 - [2.7.5.1] caps-lock disables keyboard shortcuts
Fixed bug #339484 - Gthumb 2.7.5.1 doesn't store EXIF information in
JPEG files, when image is loaded directly
* src/dlg-photo-importer.c (get_file_name):
Fixed bug #339291 - "keep original filename" changes case
* libgthumb/file-utils.c (get_path_relative_to_dir):
Fixed bug #339852 - index image maps creating wrong href
* src/gth-window-actions-callbacks.c
(gth_window_activate_action_help_about): removed unused var.
* libgthumb/Makefile.am (libgthumb_la_LIBADD):
Fixed bug #340947 - gthumb -Wl,--as-needed patch
2006-04-19 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.7.6 released ]
* NEWS:
* configure.in: updated for 2.7.6
2006-04-17 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Remove obsolete entry for no_NO
* po/nb.po: Updated Norwegian bokmål translation.
* po/nn.po: Updated Norwegian nynorsk translation.
* po/no.po: Remove this.
2006-04-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gs-fade.c (xf86_whack_gamma, gamma_info_init): return FALSE
instead of aborting.
Fixes bug #336851 - gThumb crashes when I try "full screen"-mode
2006-04-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-folder-selection-dialog.c (gth_folder_selection_get_folder):
Fixed bug #337920 - created directory "doesn't exist" if it contains
spaces.
* src/dlg-open-with.c (open_cb): use gnome_vfs_mime_application_launch
when the user selects a registered application.
2006-04-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/ClassicClips/thumbnail.gthtml:
* data/albumthemes/Classic/thumbnail.gthtml:
* data/albumthemes/NeatRound/thumbnail.gthtml:
Fixed bug #336930 - Web album without JavaScript
2006-04-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/icons/exit-fullscreen-24.png:
* libgthumb/icons/fullscreen-16.png:
* libgthumb/icons/fullscreen-24.png: remove files
* src/gth-fullscreen-actions-entries.h:
* libgthumb/gthumb-stock.c:
* libgthumb/gthumb-stock.h:
* src/gth-window-actions-entries.h: use GTK_STOCK_FULLSCREEN.
* libgthumb/dlg-save-image.c (dlg_save_image_as):
Fixed bug #334903 - Should save on hitting enter in “save as” dialog
* components/catalog-view/Makefile.am (gthumb_catalog_view_LDADD):
* components/image-viewer/Makefile.am (gthumb_image_viewer_LDADD):
* src/Makefile.am (gthumb_LDADD):
* configure.in: removed libpng check.
* libgthumb/gth-nav-window.c (gth_nav_window_construct): do not call
show_all on the main table.
* libgthumb/gth-image-list.c (truncate_comment_if_needed): realize
the widget if needed.
* configure.in: requires gtk+ 2.8
* src/gth-browser.c (go_to_folder_after_image_loaded): load the folder
even after an error.
* src/gth-window-actions-callbacks.c
(gth_window_activate_action_help_about): simplify about dialog.
* src/main.c (initialize_data):
* data/Makefile.am (install-data-hook):
* data/gthumb.desktop.in (Icon): Install theme-friendly icons
* autogen.sh: set REQUIRED_AUTOMAKE_VERSION to 1.8; added
USE_COMMON_DOC_BUILD=yes
* src/dlg-web-exporter.c (install_theme__ok_cb): use get_filename
instead of get_uri.
(theme_dialog__install_theme_clicked): the user have to choose a file
from here, not a folder; set home as current folder.
2006-03-24 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.h:
* src/main.c:
* src/gth-application.c (impl_gth_application_load_image):
* src/gth-browser-actions-callbacks.c (if):
* src/gth-viewer.h:
* src/gth-viewer.c:
Always use the browser mode, added a --viewer command line option to
use the viewer mode for single images.
* src/gth-browser.h:
* src/gth-browser.c (go_to_uri):
Load the folder after loading the image.
2006-03-21 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.7.5.1 released ]
* src/gth-batch-op.c (pixbuf_op_done_cb): copy the image comment.
* src/dlg-photo-importer.c (save_image): convert to local path
before saving.
* src/catalog-png-exporter.c (end_page): use _gdk_pixbuf_save
instead of gdk_pixbuf_save
2006-03-20 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.7.5 released ]
* NEWS:
* configure.in: update for 2.7.5
2006-03-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-location.c (update_drives): only display user visible drives.
2006-03-16 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/thumb-loader.c (thumb_loader_start): check a good thumbnail
before checking a valid failed thumbnail.
Fixes bug #329889 – thumbnail generation and accentuated characters in
path.
* src/gth-image-selector.c (button_press): do nothing when clicking
outside the image.
* src/dlg-web-exporter.c (install_theme__ok_cb):
* src/dlg-search.c (search_clicked_cb):
* src/dlg-png-exporter.c (export):
* src/dlg-photo-importer.c (get_folder_name):
* src/dlg-duplicates.c (find_cb):
* src/dlg-scale-series.c (ok_cb):
* src/dlg-convert.c (ok_cb): use get_uri instead of get_filename
* src/gth-browser.c (gth_browser_go_up__is_base_dir): compare two uris,
instead of a local path and a uri.
* libgthumb/comments.c: fixed bug that prevented comments to be
removed correctly when iptc_data support was enabled.
2006-03-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/catalog-list.c (catalog_list_select_iter):
* src/gth-browser.c (catalog_activate):
* src/main.c:
Fixed command line catalog creation.
2006-03-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-data.h:
* libgthumb/file-data.c:
* src/GNOME_GThumb.idl:
* src/gth-browser.c:
* src/gth-application.c:
* src/gth-window.c:
* src/dlg-photo-importer.c:
* src/main.c (prepare_app):
Pass local paths to gphoto, and fixed bug that prevented
importing photos when an instance of gthumb was already running.
2006-03-05 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.7.4 released ]
* NEWS:
* configure.in: updated for 2.7.4
* src/main.c (initialize_data):
Fixed bug #325833 – gthumb icon isn't on window title bar and windo
list applet.
* libgthumb/file-utils.c (path_list_find_path, xfer_file):
* libgthumb/gth-file-list.c (gth_file_list_pos_from_path):
* libgthumb/gth-file-view-list.c (gth_file_view_list_new):
* libgthumb/gth-file-view-thumbs.c (comp_func_path):
* libgthumb/catalog.c (catalog_remove_item):
* src/gth-browser.c (gth_browser_load_image):
* src/gth-fullscreen.c (monitor_file_renamed_cb):
* src/gth-location.c (update_uri):
* src/gthumb-preloader.c (gthumb_preloader_get_loader):
* src/gth-viewer.c (monitor_file_renamed_cb):
* libgthumb/bookmarks.c (get_link_from_path):
* src/gth-browser-actions-callbacks.c (folder_copy__response_cb)
(rename_file, folder_rename):
* src/dlg-file-utils.c (my_list_remove, copy_current_file):
* src/dlg-duplicates.c (check_image):
* src/dlg-convert.c (save_image_and_remove_original):
* src/catalog-list.c (catalog_list_get_iter_from_path)
(catalog_list_refresh):
use same_uri instead of strcmp to campare uris.
* libgthumb/file-utils.h:
* libgthumb/file-utils.c (same_uri):
* src/gth-batch-op.c (pixbuf_op_done_cb, load_current_image):
Fixed bug #326844 – Scale Series: Prevent rename .jpg to .jpeg
* src/rotation-utils.c (update_orientation_field): updated all
orientation fields.
Fixes bug #333102 – Image rotation action does not update the EXIF tag
correctly
2006-03-01 Daniel Nylander <po@danielnylander.se>
* po/sv.po: Updated Swedish translation.
2006-02-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dir-list.c (dir_list_update_underline):
* src/catalog-list.c (catalog_list_update_click_policy):
Fixed bug #331714 - crash in Preferences Browser
2006-02-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (create_toolbar_window): use the same screen of
the image viewer.
Fixes bug #327245 - Full screen mode crippled if Xinerama is used
* configure.in: Post release version bump.
* libgthumb/search.c (search_util_get_file_patterns)
(search_util_get_patterns):
* src/dlg-search.c (pattern_matched_by_keywords):
* libgthumb/Makefile.am (libgthumb_la_SOURCES):
* libgthumb/utf8-fnmatch.[ch]: removed files.
* libgthumb/glib-utils.c (_g_utf8_strstrip): fixed implemetation.
Fixes bug #313827 – Search does not work on categories with colon
symbol and similar names.
* src/catalog-web-exporter.c (export__save_other_files):
* src/gth-browser.c (window_update_image_info):
* src/gth-viewer.c (viewer_update_image_info):
* libgthumb/pixbuf-utils.c (_gdk_pixbuf_savev):
Convert uri to local path before saving exif data or jpeg images.
Fixes bugs #331658, #327263 and #327262
2006-02-13 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.7.3 released ]
* configure.in:
* NEWS: updated for 2.7.3.
* libgthumb/thumb-loader.h:
* libgthumb/thumb-loader.c:
Fixed bug #329889 - thumbnail generation and accentuated characters
in path.
2006-02-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.h (get_mime_type):
* libgthumb/file-utils.c (get_mime_type): new function
* src/gth-exif-data-viewer.c (update_file_info):
* src/dlg-image-prop.c (update_general_info):
* src/dlg-open-with.c (dlg_open_with):
* src/gth-viewer.c (viewer_update_open_with_menu):
* libgthumb/file-utils.c (file_is_image):
Fixed bug #329139 - Doesn't determine image type from content anymore
* libgthumb/gth-file-list.c (gth_file_list_pos_from_path)
(gth_file_list_get_all_from_view):
Fixed memleaks found by Søren Wedel Nielsen (#166275)
* src/dlg-crop.c (dlg_crop): fit and focus image at startup.
* src/gth-image-selector.h:
* src/gth-image-selector.c:
* src/dlg-crop.c:
* libgthumb/image-viewer.c:
* data/glade/gthumb_crop.glade:
misc fixes.
2006-02-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-image-selector.h:
* src/gth-image-selector.c:
* src/dlg-crop.c (selection_x_value_changed_cb)
(selection_y_value_changed_cb):
* libgthumb/gth-iviewer.h (double): fixed virtual functions signature.
more changes to the crop dialog.
2006-02-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-iviewer.c: new file
* libgthumb/gth-iviewer.h: new file
* libgthumb/gth-nav-window.c: new file
* libgthumb/gth-nav-window.h: new file
* libgthumb/icons/nav_button.xpm: new file
* src/icons/Makefile.am (EXTRA_DIST):
* src/gth-viewer.c:
* src/gth-image-selector.h (struct _GthImageSelectorClass):
* src/gth-image-selector.c:
* src/gth-browser.c:
* src/dlg-crop.c:
* libgthumb/icons/Makefile.am (pixbufs.h):
* libgthumb/nav-window.h:
* libgthumb/nav-window.c:
* libgthumb/image-viewer.h:
* libgthumb/image-viewer.c:
* libgthumb/Makefile.am (HEADER_FILES):
* data/glade/gthumb_crop.glade: first step to improve the crop
dialog.
* src/gth-browser-actions-callbacks.c: use CATALOG_PERMISSIONS instead
of 0660
* libgthumb/dlg-save-image.h:
* libgthumb/dlg-save-image.c (dlg_save_image_as): use set uri instead
of set_filename
2006-02-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_edit_current_catalog_new): use 0600 as catalog permissions.
* libgthumb/catalog.c (catalog_write_to_disk):
* libgthumb/bookmarks.c (bookmarks_write_to_disk): use gnome_vfs_create
instead of gnome_vfs_open
Fixes bug #329600 – Deleting the Catalogue Search\ Results causes
erroneous behaviour.
2006-01-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/gthumb.desktop.in (Categories): added GNOME;GTK;
Fixes bug #328010 - Add GNOME or GTK categories o the .desktop file
* src/rotation-utils.c (apply_transformation_jpeg):
Fixed bug #327049 – Fix build with gcc 2.95
Patch by Jens Granseuer
* src/gth-browser.c (go_to_uri, gth_browser_construct): do not
attempt to open a NULL uri.
* src/Makefile.am (gthumb_LDADD): include GPHOTO_LIBS
* libgthumb/thumb-loader.c (thumb_loader): fix compiler warning.
* libgthumb/pixbuf-utils.c: include stdlib.h
* configure.in (HAVE_PROGRESSIVE_JPEG, HAVE_LIBEXIF): fixed.
* src/gth-exif-utils.h:
* src/gth-exif-data-viewer.c:
* src/dlg-jpegtran.c:
Fixed bug #325846 - gthumb refuses to compile with libexif-0.6.13.
Patch by Raffaele Sandrini
2006-01-14 Chao-Hsiung Liao <j_h_liau@yahoo.com.tw>
* configure.in: Add "zh_HK" to ALL_LINGUAS.
2006-01-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/Makefile.am (gthumb_LDADD, INCLUDES):
* configure.in: added ability to enable/disable many features.
Patch by Saleem Abdulrasool <compnerd (at) gentoo (dot) org>
2006-01-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-open-with.c (dlg_open_with): do not include gthumb itself
in the applications list.
Fixes bug #307959 - "Open With..." dialog offers gthumb as an option.
* src/gth-viewer-ui.h:
* src/gth-viewer.c (viewer_update_open_with_menu): added the "Go to the
image folder" command at the end of the "open with" popup menu.
2006-01-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c (ctx_progress_start_func)
(ctx_error_func, ctx_status_func, ctx_message_func):
* src/gth-exif-data-viewer.c (update_exif_data):
Fixed bug #324017 - failed to initialize Canon powerShot G5 due an GTK
bug. Patch by Frederic Crozat.
* libgthumb/pixbuf-utils.c (_gdk_pixbuf_save_as_jpeg): set default
quality to 85.
Fixes buf #325211 - Image quality in web album.
2006-01-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (viewer_key_press_cb): block event propagation
by default, as suggested in #325308
(viewer_key_press_cb): removed Left/Right as navigation shortcuts
because they are used to scroll the image horizontally.
Fixes bug #325308 - gThumb crash when reaching the end of a directory
during fullscreen viewing.
* src/gth-browser.c (go_to_directory_continue):
Fixed bug #325507 - gthumb crashes if startup_location gconf pref is
invalid.
[ gthumb 2.7.2 released ]
2006-01-01 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes: removed BlueStripes, added Flicker theme.
* src/gth-exif-utils.h:
* src/gth-exif-utils.c:
* src/gth-exif-data-viewer.c (update_exif_data): convert the uri to
a local path before loading the file.
* src/catalog-web-exporter.c (gth_parsed_doc_print): use instead
of a space.
* libgthumb/gnome-print-font-picker.c (gnome_print_font_picker_get_font_name):
* libgthumb/gnome-print-font-dialog.c (gfsd_modify_preview_phrase):
fix compiler warnings.
* data/albumthemes/Makefile.am (SUBDIRS):
* configure.in:
* libgthumb/file-utils.c (get_temp_dir_name):
* src/dlg-catalog.c (new_dir_cb):
* src/dlg-web-exporter.c (ensure_local_theme_dir_exists):
* src/gth-browser-actions-callbacks.c (create_new_folder_or_library):
s/mkdir/dir_make/g
2005-12-31 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-image-list.c (get_drop_target_at):
add the vertical and horizontal adjustment when
calculating the target position.
* libgthumb/catalog.c (catalog_load_from_disk__common):
* libgthumb/bookmarks.c (bookmarks_load_from_disk):
* libgthumb/file-utils.h:
* libgthumb/file-utils.c (_gnome_vfs_read_line):
keep reading the file until a new line character is found.
use the third argument to define the buffer size.
* NEWS: updated for 2.7.2
* src/gth-location.c (update_drives):
* src/gth-browser.c (window_update_title):
* src/bookmark-list.c:
* libgthumb/typedefs.h:
* libgthumb/file-utils.h:
* libgthumb/file-utils.c:
* libgthumb/catalog.h:
* libgthumb/catalog.c:
* libgthumb/bookmarks.c:
moved some functions to file-utils.c. Make the window title
consistent with the bookmark list.
2005-12-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/bookmarks.c (bookmarks_write_to_disk)
(bookmarks_load_from_disk):
* libgthumb/file-utils.c (checksum_simple): implemeted using gnome_vfs.
* src/gth-browser.c (make_url_list):
* libgthumb/file-utils.c:
* libgthumb/catalog.h:
* libgthumb/catalog.c: save catalogs using gnome_vfs
* data/albumthemes/text.h: added Previous, Next, Index.
* data/albumthemes/Wiki/image.gthtml:
* data/albumthemes/Wiki/index.gthtml:
* data/albumthemes/Wiki/style.css:
* data/albumthemes/Wiki/layout.css:
* data/albumthemes/Wiki/Makefile.am (theme_DATA): removed images and
javascript code.
* src/gth-fullscreen.c (preloader_requested_error_cb): fire
image_loaded signal after an error.
* src/gth-window-actions-callbacks.c (set_wallpaper): set wallpaper as
local path.
* src/dlg-open-with.c (open_cb): use
gnome_vfs_mime_application_get_exec.
* src/dir-list.c (dir_list_refresh_continue):
* src/main.c:
* src/gth-browser.c:
* src/Makefile.am (gthumb_SOURCES): removed auto-completion.[ch]
* libgthumb/file-utils.h:
* libgthumb/file-utils.c: rearranged the code.
* libgthumb/comments.c (load_comment_from_iptc)
(remove_comments_done): removed unused functions. deal with iptc only
supporting local files.
* src/gth-browser-actions-callbacks.c (catalog_rename):
* src/dlg-file-utils.c (dlg_file_rename_series): use gnome_vfs_move
instead of rename
* configure.in: set version to 2.7.2
* libgthumb/print-callbacks.c: use UCHAR macro.
* libgthumb/catalog.c: use gnome_vfs to read catalogs.
* src/gth-location.c (gth_location_set_catalog_uri):
* src/gth-browser.c (go_to_uri):
* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_bookmarks_add):
* libgthumb/file-utils.c (remove_special_dirs_from_path):
* libgthumb/bookmarks.c (bookmarks_utils__get_menu_item_name): handle
file:// uri correctly.
2005-12-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-location.c: added drives to the list.
* src/rotation-utils.c (update_rotation_from_exif_data):
* src/main.c (save_session):
* src/gth-folder-selection-dialog.c (list_view_button_press_cb):
* src/gth-browser.c (go_to_uri):
* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_file_new_window):
* src/dlg-preferences.c (dlg_preferences): use the new functions.
* src/gth-monitor.c (directory_changed):
* libgthumb/preferences.h:
* libgthumb/preferences.c: remove obsolete functions.
* libgthumb/jpeg-utils.c (do_load_internal):
* libgthumb/gth-file-list.c (add_list__get_file_info_done_cb): do not hide
the toplevel method.
* libgthumb/glib-utils.h:
* libgthumb/glib-utils.c (str_ends_with): new function
* libgthumb/file-utils.h:
* libgthumb/file-utils.c (get_file_path_from_uri)
(get_search_path_from_uri, remove_scheme_from_uri, uri_scheme_is_file)
(uri_scheme_is_catalog, uri_scheme_is_search, get_uri_from_path)
(get_uri_display_name): new functions.
* src/gth-viewer.c (save_jpeg_data):
* src/dlg-open-with.c (dlg_open_with):
* libgthumb/print-callbacks.c:
* libgthumb/comments.c: fixed compiler warnings.
* libgthumb/bookmarks.c (bookmarks_utils__get_menu_item_name):
use Home as display name for the user home folder, and 'File System' for /
2005-12-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (fade_faded_cb): reset use_fade only after
the fade in.
* doc/C/gthumb.xml: updated.
* src/gth-fullscreen.c (viewer_key_press_cb): use p to pause/resume a
slideshow.
* src/gth-browser.c (key_press_cb): remove p as prev image shortcut.
* src/gs-fade.c:
* src/gs-fade.h: new files.
* configure.in:
* src/gth-fullscreen.c:
Fixed bug #312116 – crossfading in slideshow mode.
2005-12-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-location.c (gth_location_set_bookmarks): remove the separator
when there is no bookmark.
* libgthumb/bookmarks.c (bookmarks_remove): free the data before freeing
the list it belongs to.
* libgthumb/dlg-save-image.c (file_save_ok_cb):
(dlg_save_image): use gnome_vfs_get_file_mime_type to get the mime type.
2005-12-24 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/catalog-web-exporter.c (get_image_filename):
Fixed bug #301726 – "Create Web Album" does not use relative
paths for images.
* src/gth-fullscreen.c (viewer_key_press_cb):
Fixed bug #310649 – Next/prev keyboard shortcuts in slides mode
shouldn't block
* doc/C/gthumb.xml: update keyboard shortcuts
* src/rotation-utils.h:
* src/rotation-utils.c:
* src/dlg-photo-importer.c (adjust_orientation__step):
* src/gth-fullscreen.c (monitor_update_files_cb):
allow to rotate images in fullscreen mode.
2005-12-23 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (key_press_cb):
* src/gth-fullscreen.c (viewer_key_press_cb):
* src/gth-viewer.c (viewer_key_press_cb): use [ ] to do lossless
rotation. r e to rotate the image without saving.
Fixes bug #319467 – Add keyboard shortcut to Lossless JPEG rotation.
* src/gth-browser.c (gth_browser_notify_files_created): check
parent_dir before using it.
* src/gth-batch-op.c:
* data/glade/gthumb_tools.glade:
* data/gthumb.schemas.in:
* libgthumb/preferences.h (PREF_SCALE_SERIES_WIDTH):
* src/dlg-scale-series.c (dlg_scale_series):
save/restore width and height. Added ability to select the image type.
* src/dlg-photo-importer.c (main_dialog_set_sensitive)
(dlg_photo_importer):
Fixed bug #323872 – Import button should be greyed out while importing
* src/gth-browser.c (key_press_cb): added page_down as next image
shortcut.
* src/gth-fullscreen.c (viewer_key_press_cb): added rotate/flip/mirror
commands.
Fixes bug #324812 – rotating images not working in gthumb fullscreen
mode.
2005-12-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_go_location):
added file chooser title.
* src/gth-location.c:
* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_go_location):
implemented.
* src/bookmark-list.h:
* src/bookmark-list.c (bookmark_list_set):
* src/dlg-bookmarks.c (dlg_edit_bookmarks):
* src/gth-folder-selection-dialog.c (gth_folder_selection_construct):
Use the menu icons in the bookmarks dialog only, use the mime icons
otherwise.
2005-12-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-location.c (gth_location_set_catalog_uri):
* src/gth-browser.c (go_to_uri): fix catalog handling.
* src/dlg-open-with.c (open_cb): use gnome_vfs_mime_application_get_exec
instead of app->command.
* src/main.h (get_icon_for_uri):
* src/main.c (get_fs_icon, get_stock_id_for_uri): new functions.
* src/gth-location.c (update_uri):
* src/gth-browser.c (add_bookmark_menu_item):
* src/bookmark-list.c (bookmark_list_set): use get_stock_id_for_uri.
* libgthumb/gtk-utils.c (create_pixbuf): check icon_theme value.
2005-12-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/bookmarks.c (bookmarks_utils__get_menu_item_name):
show the home folder as USER instead of /home/USER
* src/gth-location.c:
* src/gth-location.c: new files
* src/gth-browser.c:
* src/gth-browser-ui.c:
* src/main.c (get_stock_id_for_uri):
* src/main.h (get_stock_id_for_uri): new function.
Removed the location entry. Use gth_location, which is a specialized
combobox with the parent folders list and bookmarks.
2005-12-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/rotation-utils.c (apply_transformation_jpeg):
Fixed bug #318828: Exif Orientation Tag Incorrectly Updated.
Patch by Pat Suwalski.
* libgthumb/gthumb-stock.h (GTHUMB_STOCK_SHOW_IMAGE):
* libgthumb/gthumb-stock.c:
* src/gth-fullscreen-actions-entries.h (G_N_ELEMENTS):
* src/gth-browser-actions-entries.h:
Removed custom stock icon when a gtk stock icon is suitable.
* src/gth-browser.c (reorder_current_catalog):
Fixed catalog reordering when the viewed list is not equal to the
catalog list.
* src/main.h:
* src/main.c (all_windows_notify_catalog_reordered): new function
notify the catalog reordering and update the view if the window is
showing that catalog.
2005-12-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (viewer_drag_data_received): init gerror to NULL
2005-11-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (image_is_gif__accurate):
* libgthumb/image-loader.c (load_image_thread): use a more accurate
method to check whether an image is a gif animation.
2005-11-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/gthumb.desktop.in (_GenericName): added generic name.
Fixed bug #322158: please add a generic name to the desktop file
2005-11-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer-actions-entries.h:
Fixed bug #321924: "Sigle Window" is a typo
2005-11-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/icons/film-16.png: new icon.
* libgthumb/cursors/void-mask.xbm (void_mask_bits):
* libgthumb/cursors/void-data.xbm (void_data_bits):
use char[] inseted of unsigned char[] to avoid a warning.
* libgthumb/nav-window.c (nav_window_new): draw the thumbnail
during the expose event of the preview.
* src/dlg-jpegtran.c (apply_transformation_to_all):
call dialog_data_free only when the main dialog is not
used.
2005-11-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/rotation-utils.c:
* src/rotation-utils.h: new files
* src/dlg-photo-importer.c:
* src/dlg-jpegtran.c:
* src/Makefile.am:
* libgthumb/preferences.h:
* data/glade/gthumb_camera.glade:
* data/gthumb.schemas.in:
Adjust photo orientation on import. Patch by Andriy Kulchytskyy.
2005-11-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (save_jpeg_data): check whether the image is jpeg
before saving the jpeg data.
* components/image-viewer/Makefile.am (GNOME_GThumb_Viewer.xml):
* components/catalog-view/Makefile.am (GNOME_GThumb_CatalogView.server.in)
(GNOME_GThumb_CatalogView.xml):
Fixed bug #321500: Makefile.am in components/catalog-view is broken
2005-11-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (load_timeout_cb): no need to fire a warning
when pos == -1.
(window_set_sidebar): simplified.
* data/glade/gthumb_edit.glade:
* data/glade/gthumb_tools.glade:
* src/dlg-scale-image.c (ok_cb):
* libgthumb/async-pixbuf-ops.c (scale_step):
Do not allow to scale images to 1x1, to avoid bug in
gdk_pixbuf_scale_simple.
Fixes bug #305165: gthumb crash resize.
* src/dlg-preferences.c (view_as_cb): change view after a delay to
avoid crashes when the user changes the view type too quickly (#305097).
* configure.in:
* data/Makefile.am:
Removed custom --disable-schemas-install option.
Fixes bug #321124: Confusing handling of --disable-schemas-install
* data/albumthemes/BlueStripes/thumbnail.gthtml:
* data/albumthemes/BlueStripes/image.gthtml:
* data/albumthemes/Classic/thumbnail.gthtml:
* data/albumthemes/Classic/image.gthtml:
* data/albumthemes/ClassicClips/thumbnail.gthtml:
* data/albumthemes/ClassicClips/image.gthtml:
* data/albumthemes/NeatRound/thumbnail.gthtml:
* data/albumthemes/NeatRound/image.gthtml:
* data/albumthemes/Wiki/thumbnail.gthtml:
* data/albumthemes/Wiki/image.gthtml:
Convert the filename to utf8.
Fixes bug #320947: Create Web Album Tool doesn't generate HTML pages
with International characters.
* libgthumb/print-callbacks.c (_log2): rename log2 as _log2
Fixes bug #321274: Incorrect log2 definition/detection.
2005-11-12 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.7.1 released ]
* src/Makefile.am (EXTRA_DIST): fixed
* data/Makefile.am (EXTRA_DIST): fixed
2005-11-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (gth_fullscreen_pause_slideshow): continue
the slideshow when pause is false.
2005-11-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (get_next_image, get_prev_image):
Fixed bug #320442: prev/next button behaviour in 2.7.1
2005-10-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (get_prev_image, get_next_image): continue
from the first image if the slideshow didn't start from the beginning.
* libgthumb/file-utils.c (ensure_dir_exists): dir_make returns
FALSE on error.
2005-10-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* NEWS: updated for 2.7.1
* src/gth-viewer-actions-entries.h: use "Go to the Image Folder" instead
of "Open Folder".
* src/gth-fullscreen.c (gth_fullscreen_pause_slideshow): do not load
the next image just after the user presses the pause button, simply
wait for the slideshow timeout to expire instead.
2005-10-20 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-open-with.c: added the application icon to list.
* src/gth-viewer.c:
* src/gth-viewer-ui.h: use a menu tool button for the 'open with'
action on the toolbar, with the associated applications as menu
items.
* libgthumb/gtk-utils.h:
* libgthumb/gtk-utils.c: new functions: create_pixbuf, create_image.
2005-10-17 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.c (prepare_app):
* src/gth-viewer.h:
* src/gth-viewer.c:
* src/gth-viewer-ui.h:
* src/gth-viewer-actions-entries.h (G_N_ELEMENTS):
* src/gth-viewer-actions-callbacks.h (DEFINE_ACTION):
* src/gth-viewer-actions-callbacks.c (gth_viewer_activate_action_go_refresh):
* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_file_view_image):
* src/gth-application.c (impl_gth_application_load_image):
* src/GNOME_GThumb.idl:
* libgthumb/preferences.h (PREF_SINGLE_WINDOW):
* data/gthumb.schemas.in:
Added ability to reuse an already opened viewer window.
2005-10-16 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c (save_pixbuf__image_saved_cb): reload the
saved image instead of opening a new window.
2005-10-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen-actions-entries.h: use the stock label for
the pause action.
* src/gth-fullscreen-ui.h: moved "view comment" to the end.
* src/gth-fullscreen.c: update toolbar actions sensibility.
2005-10-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-window-actions-entries.h: added a conditional
inclusion.
* src/gth-fullscreen-actions-callbacks.c:
* src/gth-fullscreen-ui.h:
* src/gth-fullscreen-actions-entries.h:
* src/gth-fullscreen.c:
* src/gth-fullscreen.h:
Use the ui manager to create the fullscreen toolbar. Added zoom
controls to the toolbar.
2005-10-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.c (initialize_data):
Removed a FIXME.
* src/dlg-web-exporter.c:
* src/dlg-rename-series.c:
* src/dlg-png-exporter.c:
* src/catalog-web-exporter.c (comp_func_none):
* libgthumb/preferences.c:
* data/glade/gthumb_web_exporter.glade:
* data/glade/gthumb_tools.glade:
* data/glade/gthumb_png_exporter.glade:
Allow to use the manual order in the "web exporter", "png exporter" and
"rename series" tools, if available.
2005-10-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* Makefile.am (EXTRA_DIST):
* MAINTAINERS: new file
2005-10-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (sidebar_list_key_press):
Fixes bug #317623: [PATCH] Enter a directory or a catalog with the
ENTER key.
Patch by Nelson Benitez.
2005-10-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (reorder_current_catalog):
* libgthumb/gth-file-view.h:
* libgthumb/gth-file-view.c:
* libgthumb/gth-file-view-list.c: do not set the drag source here.
Implemented drag&drop functions.
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c (gth_file_list_init): added a drag_source
property.
Added ability to manually reorder images in the file list view.
Closes #130063.
* libgthumb/image-viewer.c (image_viewer_scroll_event):
Fixes bug #317628: [PATCH] Zoom in/out with CTRL + scrollwheel
Patch by Nelson Benitez.
2005-09-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/comments.c (save_comment_iptc):
Indicates the text encoding (UTF-8) in the IPTC data. Adds the
requisite version number dataset to the IPTC data to make it a more
standards-compliant application. Sorts the datasets before saving to
stay organized.
* configure.in: requires libiptcdata >= 0.2.1
Patch by David Moore.
2005-09-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c (update_file_info): added image
type.
2005-09-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-catalog.c:
* src/catalog-list.h:
* src/catalog-list.c:
Do not show the catalogs when choosing a destination folder.
* src/gth-browser.h:
* src/gth-browser.c:
* libgthumb/typedefs.h:
* libgthumb/gth-image-list.h:
* libgthumb/gth-image-list.c:
* libgthumb/gth-file-view.h:
* libgthumb/gth-file-view.c:
* libgthumb/gth-file-view-thumbs.c:
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c:
* libgthumb/glib-utils.h:
* libgthumb/glib-utils.c:
* libgthumb/catalog.h:
* libgthumb/catalog.c:
* components/catalog-view/catalog-nautilus-view.c:
Added ability to manually reorder images in a catalog (#130063).
2005-09-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (window_update_sensitivity):
Update the 'scale images' command sensitivity; update the menu when
a new catalog is selected.
* src/gth-browser-ui.h:
* src/gth-browser-actions-entries.h:
* src/gth-browser-actions-callbacks.h:
* src/gth-browser-actions-callbacks.c:
Added 'open' and 'open in new window' in the catalog list context menu.
* src/dlg-crop.c (ok_cb):
Print debug info only if DEBUG is defined.
* src/dlg-catalog.c:
* src/catalog-list.h:
* src/catalog-list.c:
* libgthumb/preferences.h (PREF_ADD_TO_CATALOG_VIEW):
* data/glade/gthumb.glade:
* data/gthumb.schemas.in:
Added ability to view the destination catalog after adding the images
to a catalog, and remember the user choice.
* data/glade/gthumb_preferences.glade:
Moved the filechooser button on the same row of the option label.
2005-09-23 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (gth_browser_get_current_directory):
Always return a non-NULL value.
* src/dlg-search.c (dlg_search_ui):
* src/dlg-duplicates.c (dlg_duplicates):
* src/dlg-png-exporter.c (dlg_exporter):
* src/dlg-preferences.c (set_to_current_cb):
Do not check whether the current direcotry is NULL
* src/gth-browser.c (dir_list_key_press_cb):
Fixes bug #316952: [PATCH] bind DELETE key to move a folder to trash
in directory list. Patch by Nelson Benitez.
2005-09-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-scale-series.c:
* src/dlg-scale-series.h:
* src/gth-batch-op.c:
* src/gth-batch-op.h: new files
* src/gth-window-actions-entries.h:
* src/gth-window-actions-callbacks.h (DEFINE_ACTION):
* src/gth-window-actions-callbacks.c:
* src/gth-browser-ui.h:
* src/Makefile.am (gthumb_SOURCES):
* po/POTFILES.in:
* libgthumb/gth-pixbuf-op.h:
* libgthumb/gth-pixbuf-op.c:
* libgthumb/async-pixbuf-ops.h (_gdk_pixbuf_scale):
* libgthumb/async-pixbuf-ops.c:
* data/glade/gthumb_tools.glade:
Added 'scale series' tool.
* data/albumthemes/*:
Removed Clean and NeatSquare. Added Wiki. Changed all themes preview
image. Removed preview image from NeatRound, BlueStripes, Classic and
ClassicClips.
2005-09-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c: added maker_note tag
Fixes bug #316665: "MakerNotes" info from EXIF header is not present
2005-09-16 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c (save_pixbuf__image_saved_cb): do
not update the ui during the closing process.
2005-09-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* many files: use gnome_vfs_unlink instead of unlink. implements
file_copy and file_move with gnome_vfs.
Use gnome_vfs_remove_directory instead of rmdir.
* src/gth-window-actions-callbacks.c (gth_window_activate_action_help_about): updated copyright year.
2005-09-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-pixbuf-op.c (one_step): interrupt the iteraction at
the first step if the step_func is null.
2005-09-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser.c (window_update_sensitivity):
Fixed bug #315356: Can't go to fullscreen view in 1 step when opening
a folder from nautilus.
2005-09-08 Jürg Billeter <j@bitron.ch>
* src/dlg-file-utils.c: (dlg_files_move_to_trash): Fix crash when trying
to delete files from a location where no trash is available.
2005-09-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-utils.h:
* src/gth-exif-utils.c (have_exif_time):
* src/dlg-comment.c (dlg_comment_update):
Fixed bug #315003: Unable to set Date value in Comment dialog for
JFIF 1.01 images.
2005-08-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/comments.h:
* libgthumb/comments.c (comments_load_comment):
* src/gth-browser.c (update_image_comment): update the comment in
the file list when the comment changes.
* src/gth-browser.c (gth_browser_stop_activity_mode): always reset
activity_ref instead of decrementing it.
2005-08-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-categories.c (save_categories):
* libgthumb/bookmarks.c (bookmarks_write_to_disk): Set no limit to
the max number of categories.
Patch by John Leach.
2005-08-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c (gth_exif_data_viewer_construct):
use ellipses if the text doesn't fit.
* src/dlg-preferences.c (apply_cb): removed double free.
Patch by John Leach.
2005-08-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c (gth_viewer_init):
* src/gth-fullscreen.c (gth_fullscreen_init):
* src/gth-window.c (gth_window_set_property)
(gth_window_get_property):
* src/dlg-comment.c (save_clicked_cb): close the categories dialog
and the comment dialog after saving when in fullscreen mode or in
single image mode.
* src/dlg-categories.c (keyword_equal_func):
(ok_clicked_cb): added keyword search in the categories list.
Patch by John Leach.
2005-08-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-ui.h: put Fullscreen before Slideshow.
* src/gth-browser-actions-entries.h: F12 starts the slideshow.
* src/gth-window-actions-entries.h: F4 associated with Revert.
* src/gth-fullscreen.c (load_next_image, load_prev_image):
make the code more clear.
* src/main.c (folder_is_film):
* src/gth-viewer.c (update_image_comment):
* src/gth-fullscreen.c (show_comment_on_image):
* src/gth-browser.c (update_image_comment):
* src/gth-browser-actions-callbacks.c (edit_current_folder_categories__done):
* src/dlg-search.c (load_parents_comments):
* src/dlg-preferences.c (dlg_preferences):
* src/dlg-photo-importer.c (add_categories_to_image):
* src/dlg-image-prop.c (update_comment):
* src/dlg-change-date.c (ok_clicked):
* src/dlg-categories.c (dlg_categories__save):
* src/catalog-web-exporter.c (image_data_new):
* src/catalog-png-exporter.c (image_data_new):
* libgthumb/print-callbacks.c (image_loader_done_cb):
* libgthumb/gth-file-list.c (add_list_in_chunks):
* libgthumb/file-data.c (file_data_update_comment):
Read the .comments DB when loading a folder and when searching for
images, this is a workaround for the performance issues we get when
using the embedded comments for these operations.
Give priority to the embedded comment for all other operations
updating the .comments DB if the embedded comment is different.
* libgthumb/comments.h:
* libgthumb/comments.c (comment_data_equal, save_comment)
(comments_load_comment): Consider the image comment more up-to-date
then the .comments comment and update it. Added try_embedded param to
comments_load_comment.
* libgthumb/nav-window.c (nav_window_new): fixed comment.
* libgthumb/gth-pixbuf-op.c (one_step): removed unused variable ofs
2005-08-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-comment.c:
* libgthumb/glib-utils.c (strcmp_null_tollerant):
moves strcmp_null_tollerant in glib-utils.c
* libgthumb/comments.c (save_comment): always save the comment in
the .comments subfolder even if libiptcdata is available.
2005-08-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (load_next_image, load_prev_image): Exit
from the fullscreen mode when the slideshow ends.
* src/gth-fullscreen.c (shift_current_image_to_head): new function.
Start the slideshow from the current image.
Fixes bug #310929: should start slideshow from the selected image.
* src/gth-browser.c (fullscreen_destroy_cb): set the last
viewed image in fullscreen mode as the current image.
2005-08-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dir-list.c (dir_list_refresh_continue):
* src/catalog-list.c (catalog_list_refresh): Restore the ..
item to allow moving images with DnD. Use the default icon
instead of GTK_STOCK_UP.
* data/glade/gthumb_tools.glade:
* src/dlg-change-date.c (ok_clicked):
Fixes bug #138265: Feature Request - Add time offset to the Change Date
tool.
Allow to change the comment date as well.
2005-08-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/comments.c (delete_comment_iptc, save_comment_iptc):
do not change the mtime when saving a comment.
* src/gth-browser.c (monitor_update_icon_theme_cb): removed a
wrong argument.
2005-08-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dir-list.c (dir_list_refresh_continue): removed the
go up entry, no more needed thanks to the navitagion toolbar.
* src/gth-browser-ui.h:
* src/gth-browser.c (gth_browser_construct): added a navigation
bar below the location entry. Remove the navigation buttons
from the main toolbar. Added fullscreen button on the main toolbar.
* libgthumb/image-viewer.c (image_viewer_size_allocate): emit a
size_change signal when viewer->hadj->upper or viewer->vadj->upper
change.
2005-08-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (viewer_key_press_cb): exit from fullscreen
with ctrl-w
Fixes bug #143999: Please allow control-w shortcut for quit in
fullscreen mode or make a quit button in fullscreen mode
* src/gth-viewer.c (gth_viewer_finalize): do not free the tooltips
twice.
* src/gth-browser.c (gth_browser_construct, close__step6):
* src/gth-viewer.c (gth_viewer_finalize, gth_viewer_construct):
* libgthumb/preferences.h (PREF_UI_COMMENT_PANE_SIZE):
* data/gthumb.schemas.in: save and restore the comment pane size.
* src/gth-browser.c (gth_browser_notify_files_changed): do not
update the image from disk if it has been modified bu the user.
* libgthumb/comments.c (comment_text_is_void): new function.
* src/jpegutils/jpeg-data.h:
* src/jpegutils/jpeg-data.c (jpeg_data_set_header_data): new function.
* src/gth-browser.c:
* src/gth-viewer.c:
* src/Makefile.am:
* libgthumb/comments.c:
* components/catalog-view/Makefile.am:
* components/image-viewer/Makefile.am:
* configure.in:
Applied patch by David Moore to store comments inside jpeg images.
Uses the libiptcdata library.
Fixes bug #136286.
* src/dlg-preferences.c (dlg_preferences): hide the "show comments"
option if using iptcdata.
* libgthumb/gth-file-list.c (add_list_in_chunks): do not load comments
if using iptcdata for scalability reasons.
* src/dlg-scale-image.c (w_spinbutton_value_changed)
(h_spinbutton_value_changed): Do not round the value when using
the percentage. Use floor(x+0.5) instead of round to avoid a
compiler warning.
2005-08-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.c: include gth-browser-actions-callbacks.h to avoid
a compiler warning.
* src/gth-browser-actions-callbacks.c (duplicate_file): return
FALSE if the condition does not hold.
(duplicate_file): removed file_list because unused.
* src/dlg-jpegtran.c: include <libgnomevfs/gnome-vfs-ops.h> to
avoid a warning.
* src/dir-list.c (add_columns): removed unused variable.
* src/gth-browser.c (pref_click_policy_changed):
* src/catalog-list.c (catalog_list_update_click_policy): renamed
catalog_list_update_underline as catalog_list_update_click_policy.
* configure.in: check the presents of the XTest library, used by
totem-scrsaver.c
* src/Makefile.am (gthumb_SOURCES):
* src/totem-scrsaver.h:
* src/totem-scrsaver.c: new files
* src/gth-fullscreen.c: disable the screensaver when the slideshow
is playing.
Fixes bug #311364: make gthumb disable xscreensaver during slideshow
* libgthumb/comments.c (_append_escaped_text_for_html): convert \n
to <br/>
Fixes bug #301163: Web Album: Line breaks in Comments are lost.
Based on the patch by Alexander Skwar.
* src/dlg-scale-image.c (h_spinbutton_value_changed)
(w_spinbutton_value_changed): round to nearest integer when converting
from double to int
Fixes bug #312612: Resize bug. Patch by whoops.
2005-08-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-actions-entries.h:
Fixes bug #312374: Typo in translatable string
2005-07-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dir-list.h:
* src/dir-list.c:
* src/catalog-list.c:
* src/catalog-list.h:
Underline the item name only when the mouse is over it.
2005-07-21 Pawan Chitrakar <pawan@nplinux.org>
* configure.in: Added ne in ALL_LINGUAS
2005-07-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/icons/reduce-colors-16.png: added
* libgthumb/icons/reduce-colors-24.png: reduced
2005-07-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-image-selector.c (PREVIEW_SIZE): use a bigger preview.
(gth_image_selector_get_selection): cut selection if larger than
the pixbuf image in order to always return a valid selection range.
2005-07-12 Theppitak Karoonboonyanan <thep@linux.thai.net>
* configure.in: Added "th" (Thai) to ALL_LINGUAS.
2005-07-03 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb.glade:
* data/glade/gthumb_comments.glade:
Fixed bug #171052: glade use more stock buttons.
Patch by Alan Horkan.
* src/gth-viewer.c (viewer_update_sensitivity):
* src/gth-browser.c (window_update_sensitivity):
Removed normalize contrast and stretch contrast commands.
* libgthumb/typedefs.h: moved GthTransform here.
* libgthumb/gthumb-module.c:
* src/dlg-jpegtran.c (dlg_apply_jpegtran_from_exif)
(dlg_apply_jpegtran):
Added ability to rotate to left/right a series of images,
or to auto-adjust the images orientation.
* src/gth-fullscreen.c (monitor_update_metadata_cb)
(update_current_image_link, delete_list_from_file_list)
(monitor_update_files_cb, monitor_file_renamed_cb):
Update the file list and the current image when files
are updated or deleted.
* libgthumb/gth-pixbuf-op.h:
* libgthumb/gth-pixbuf-op.c:
* libgthumb/async-pixbuf-ops.h (_gdk_pixbuf_dither):
* libgthumb/async-pixbuf-ops.c (_gdk_pixbuf_dither):
* src/gth-viewer-ui.h:
* src/gth-browser-ui.h:
* libgthumb/async-pixbuf-ops.c (_gdk_pixbuf_dither):
(dither_step, shade_value, get_error_pixel):
Added image dithering operations using the web palette or
black and white.
Removed normalize contrast and stretch contrast commands.
* src/gth-browser-actions-entries.h:
* src/gth-browser-actions-callbacks.h:
* src/gth-browser-actions-callbacks.c (gth_browser_activate_action_edit_rename_file):
* src/gth-browser.c (window_update_sensitivity):
Fixed bug #171050: dont disable Rename when more than one file is
selected. Patch by Christian - Manny Calavera - Neumair.
2005-06-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-jpegtran.c (notify_file_changed): update the thumbnails soon
if images are rotated one by one.
2005-06-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-window-actions-callbacks.c (get_wallpaper_filename):
make the file hidden, starting the name with a dot.
* src/gth-window.c (gth_window_set_image_pixbuf): clear
the undo history after setting a new image.
* src/dlg-change-date.c (ok_clicked): pass a path list to
all_windows_notify_files_changed.
2005-06-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_camera.glade:
Do not allow non local destinations.
* src/gth-fullscreen.c (escape_filename):
* src/gth-exif-data-viewer.c (update_file_info):
* src/gth-browser.c (window_update_infobar):
* src/gth-browser-actions-callbacks.c (rename_file):
* src/dlg-web-exporter.c (add_theme_dir):
* src/dlg-search.c (add_file_list):
* src/dlg-rename-series.c (update_list):
* src/dlg-photo-importer.c (get_mime_type_from_filename):
* src/dlg-jpegtran.c (apply_transformation):
* src/dlg-image-prop.c (update_general_info):
* src/dlg-file-utils.c (dlg_check_folder):
* src/dlg-duplicates.c (images_selection_changed_cb):
* src/dlg-convert.c (load_current_image):
* src/dir-list.c (dir_list_update_view):
* src/catalog-png-exporter.c (set_item_caption):
* src/catalog-list.c (catalog_list_refresh):
* src/auto-completion.c (auto_compl_show_alternatives):
* libgthumb/gtk-utils.c (_gtk_entry_set_filename_text):
* libgthumb/dlg-save-image.c (__save_image):
* libgthumb/catalog.c (delete_catalog_dir):
Use g_filename_display_name/basename instead of g_filename_to_utf8.
2005-06-23 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-browser-actions-entries.h:
* src/gth-window-actions-entries.h:
Added Tools_ChangeData to the viewer window too.
* src/gth-window.c:
* src/gth-window.h:
* src/gth-viewer.c:
* src/gth-viewer-ui.h:
* src/gth-browser-ui.h:
* src/gth-browser-actions-callbacks.c:
* src/gth-window-actions-callbacks.h:
* src/dlg-scale-image.c:
* src/dlg-posterize.c:
* src/dlg-hue-saturation.c:
* src/dlg-crop.c:
* src/dlg-color-balance.c:
* src/dlg-brightness-contrast.c:
Added undo/redo support.
2005-06-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/catalog-web-exporter.c: (save_resized_image_cb)
(copy_exif_from_orig): new function
(save_thumbnail_cb, save_image_preview_cb):
Re-add the exif data to the resized images.
Fixes bug #303544. Patch by Emmanuel Touzery.
2005-06-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c (gth_viewer_construct): listen to the following
monitor events: update_files, update_metadata, file_renamed.
(monitor_update_files_cb): close the window if the image is deleted,
reload the image if the file is changed.
* src/gth-browser.c (gth_browser_update_current_image_metadata): update
the poperties dialog too.
* src/gth-window-actions-callbacks.c (gth_window_activate_action_edit_delete_comment): removed commented out code.
2005-06-17 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer-ui.h: removed comment and categories from
the toolbar.
* src/gth-fullscreen.c (gth_fullscreen_construct):
Load the previous image on middle button click.
* src/gth-window-actions-callbacks.c: removed unused function
gth_window_activate_action_view_show_info
* src/gth-browser.c: cleaned up; added static keyword to
static functions.
2005-06-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-window-actions-callbacks.c (gth_window_activate_action_file_print):
* src/gth-window-actions-callbacks.c (print_done_cb):
* src/catalog-web-exporter.c (get_temp_dir_name): removed from here.
* libgthumb/print-callbacks.c (print_catalog_dlg_full): new function
Added ability to print a non-saved image.
* src/gth-window-actions-callbacks.c (set_wallpaper_from_window):
Added ability to set as wallpaper a non-saved image.
* data/gthumb.schemas.in:
* libgthumb/preferences.h (PREF_CHOOSE_DESTINATION_VIEW):
* src/dlg-file-utils.c (file_copy_ask__continue)
(file_move_ask__continue):
* src/gth-folder-selection-dialog.c (gth_folder_selection_construct):
Added a "View destination" option in the choose folder dialog.
* libgthumb/file-utils.c (get_temp_file_name, get_temp_dir_name):
new functions.
2005-06-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (get_prev_image, get_next_image):
consider the direction to compute the next/prev element.
2005-06-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.h:
* src/main.c: added session support.
* src/gth-window.h:
* src/gth-window.c: added gth_window_get_window_list
* src/gth-monitor.h:
* src/gth-monitor.c: added the file system monitor.
* src/gth-browser.h: removed unused functions.
* src/gth-browser.c (gth_browser_notify_files_changed):
reimplemented.
(monitor_reload_catalogs_cb):
(gth_browser_notify_update_directory):
(gth_browser_construct):
(gth_browser_add_monitor):
(gth_browser_add_monitor): implemented functions.
* src/gth-window-actions-callbacks.c (gth_window_activate_action_edit_delete_comment):
* src/dlg-comment.c (save_clicked_cb):
renamed all_windows_notify_update_comment as
all_windows_notify_update_metadata.
* src/gth-window-utils.c:
* src/gth-window-utils.h:
* libgthumb/gstringlist.c:
* libgthumb/gstringlist.h:
New files
* src/gth-fullscreen.c (delete_current_image):
remove the image from the catalog if the fullscreen started from a
catalog view.
(gth_fullscreen_set_catalog): function used to set the catalog.
* src/gth-monitor.c:
* src/gth-monitor.h:
* src/main.c:
* src/gth-browser.h:
* src/gth-browser.c:
* src/gth-browser-actions-callbacks.c:
* src/dlg-catalog.c:
* src/dlg-bookmarks.c:
* src/Makefile.am (gthumb_SOURCES):
Use a monitor object to notify file, directory and catalog changes.
* libgthumb/typedefs.h: added GthMonitorEvent type.
* libgthumb/gthumb-marshal.list: added new marshallers.
2005-06-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (create_toolbar_window): removed the frame.
2005-06-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c (image_loaded_cb): support for starting
in fullscreen mode.
* src/gth-window-actions-callbacks.c:
* src/main.h: removed the fullscreen.h include.
* src/fullscreen.c:
* src/fullscreen.h: removed files.
* src/gth-fullscreen.c (_show_cursor__hide_comment):
automatically pause the slideshow when editing the comment
or the categories.
(update_sensitivity): update commands sensitivity.
* src/gth-browser.c:
(_set_fullscreen_or_slideshow): use only the selection if
more than one image is selected.
* src/gth-viewer.c:
* src/gth-window.c: removed the delete_image virtual function.
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c (gth_file_list_get_all_from_view): new
function.
* data/glade/gthumb_preferences.glade:
* libgthumb/preferences.h:
* src/dlg-preferences.c: removed the fullscreen option for
the slideshow, because now the slideshow is always in fullscreen
mode.
* src/gth-fullscreen.c: implemented the slideshow mode.
2005-06-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (gth_fullscreen_construct): added keyboard
accellerators.
* src/gth-window-actions-entries.h:
* src/gth-browser-ui.h:
* src/gth-viewer-ui.h:
Fixed bug #302753: Gthumb does not support HIG zooming shortcuts.
Patch by Jaap A. Haitsma
2005-06-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-fullscreen.c (create_toolbar_window): set border width to 0.
* src/gth-toggle-button.c:
* src/gth-toggle-button.h:
* src/gtkorientationbox.c:
* src/gtkorientationbox.h: removed unused files.
* src/gth-fullscreen.h:
* src/gth-fullscreen.c: started a new fullscreen implementation.
* libgthumb/image-viewer.c (image_viewer_set_pixbuf): update the is_void
flag.
* libgthumb/file-utils.c (resolve_all_symlinks): add NULL as last param
to g_strconcat (bug #306514).
2005-06-05 Ignacio Casal Quinteiro <icq@cvs.gnome.org>
*configure.in: Added 'gl' to ALL_LINGUAS
2005-06-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-window.c:
* src/gth-window-actions-callbacks.c (gth_window_activate_action_file_save_as):
* src/gth-viewer.c (viewer_update_sensitivity):
* src/gth-viewer-ui.h:
* libgthumb/dlg-save-image.c (__save_image, dlg_save_image):
Implemented the File_Save action.
* data/Makefile.am (applications_DATA): remove gthumb-logo.png
* src/gth-viewer.c (gth_viewer_construct): use BUTTON2 for the DnD,
button 1 is used to scroll the image.
* src/gth-viewer.c: added dnd support.
(viewer_update_sensitivity): implemented.
(viewer_key_press_cb): added keyboard shortcuts.
(gth_viewer_load): ask whether to save the modified image before
loading a new image.
* src/gth-viewer-ui.h: added show/hide image comment.
* src/gth-viewer-actions-entries.h: added reload action.
* src/gth-viewer-actions-callbacks.c: implemented
gth_viewer_activate_action_view_show_info
* src/gth-browser.c (get_file_list_from_url_list):
* libgthumb/glib-utils.h (get_file_list_from_url_list):
* libgthumb/glib-utils.c (get_file_list_from_url_list):
moved get_file_list_from_url_list to glib-utils.c.
2005-06-01 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-viewer.c (gth_viewer_show): use idle_add instead on
timeout_add for calling the first_time_idle function. Give the focus
to the viewer.
2005-05-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/main.c (open_browser_window):
(open_viewer_window): use "" instead of NULL.
* src/gth-application.c (impl_gth_application_open_viewer)
(impl_gth_application_open_browser): translate "" back to NULL.
2005-05-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/Makefile.am ($(server_in_files): use TAB instead of 8 spaces.
* src/gth-viewer-actions-callbacks.c: include gconf-utils.h
* src/main.c:
* src/gth-application.c:
* src/gth-application.h:
* src/Makefile.am:
* data/Makefile.am:
* components/image-viewer/Makefile.am:
* components/catalog-view/Makefile.am:
* configure.in:
Added a window factory to use only one executable.
* src/gth-window-actions-entries.h
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-callbacks.c:
Moved common actions to gth-window-actions-callbacks.c
* src/gth-browser.c:
* src/gth-browser-ui.h:
* src/gth-browser-actions-entries.h:
Implemented the history list both in the Go menu and for the toolbar
back button.
* src/gth-viewer.c:
* src/gth-viewer-ui.h:
* src/gth-viewer-actions-entries.h:
* src/gth-viewer-actions-callbacks.c:
* src/gth-viewer-actions-callbacks.h:
Implemented more missing actions.
* src/dlg-png-exporter.c (dlg_exporter): use get_file_list_selection
instead of get_file_list_selection_as_fd.
* po/POTFILES.in: updated.
* src/e-combo-button.c:
* src/e-combo-button.h: removed, not used anymore.
2005-05-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-window-actions-callbacks.h:
* src/gth-window-actions-callbacks.c:
* src/gth-viewer.c:
* src/gth-viewer-actions-callbacks.c:
* src/gth-browser.c:
* src/gth-browser-ui.h:
* src/gth-browser-actions-entries.h:
* src/gth-browser-actions-callbacks.c:
* src/gth-browser-actions-callbacks.h:
Implemented many functions; moved some function to
gth-window-action-callbacks.c
* many_files: Code reorganization. Removed gthumb-window.[ch]; created
a base window class in gth-window.c; moved the browser window in
gth-browser.c; Added a viewer window in gth-viewer.c
2005-04-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/print-callbacks.c (IMAGE_SPACE): set to 20 pixels.
2005-04-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-file-view-thumbs.c (create_unknown_pixbuf): use
the default dir icon if the theme icon cannot be loaded.
* libgthumb/gth-file-view-list.c (create_unknown_pixbuf): use g_free
instead of g_object_unref.
* src/dlg-search.c (search_clicked_cb): use get_filename instead of
get_uri.
* components/image-viewer/ui.c:
* components/image-viewer/ui.h:
* components/image-viewer/viewer-control.c:
* components/image-viewer/GNOME_GThumb_Viewer.xml.in:
Removed the print command from the viewer component.
* data/glade/gthumb_print.glade:
* libgthumb/print-callbacks.c:
* libgthumb/preferences.h:
Added ability to customize the paper margins in the print
dialog.
* src/dlg-web-exporter.c: use the gtk_filechooser_button widget.
2005-04-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_png_exporter.glade:
* src/dlg-png-exporter.c:
Use the gtk_color_button instead of the gnome_color_picker widget.
Use the gtk_font_button instead of the gnome_font_picker widget.
* src/dlg-search.c:
* src/dlg-preferences.c:
Use the the gtk_filechooser_button widget.
* src/actions.c (activate_action_help_about):
Use the gtk_about_dialog widget.
* configure.in: require gtk+ >= 2.6.0 and glib >= 2.6.0
* src/dlg-preferences.c:
* src/dlg-rename-series.c:
* src/dlg-search.c:
* src/dlg-web-exporter.c:
* src/dlg-write-to-cd.c:
* src/gth-exif-data-viewer.c:
* src/gth-folder-selection-dialog.c:
* src/gthumb-window.c:
* src/dlg-photo-importer.c:
* libgthumb/gth-file-view-list.c:
* libgthumb/gthumb-init.c:
* libgthumb/jpeg-utils.c:
* libgthumb/preferences.c:
* libgthumb/thumb-loader.c:
* libgthumb/gtk-utils.c:
* libgthumb/print-callbacks.c:
* libgthumb/thumb-cache.c:
* libgthumb/image-viewer.c:
* libgthumb/file-utils.c:
* libgthumb/gconf-utils.c:
* libgthumb/dlg-save-image.c:
* libgthumb/comments.c:
* libgthumb/catalog.c:
Include <glib/gi18n.h> instead of <libgnome/libgnome.h>
2005-03-31 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c (main_dialog_set_sensitive): set all
commands insensitive when importing photos.
2005-04-01 Steve Murphy <murf@e-tools.com>
* configure.in: Added "rw" to ALL_LINGUAS.
2005-03-23 Adi Attar <aattar@cvs.gnome.org>
* configure.in: Added 'xh' to ALL_LINGUAS.
2005-03-21 Rajesh Ranjan <rranjan@redhat.com>
* configure.in: Added "hi" to ALL_LINGUAS.
2005-03-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (image_comment_button_press_cb): make
the comment text selectable.
(key_press_cb): handle key press events if the location entry returns
FALSE.
(window_hide_sidebar): do not hide the sidebar if no image is
available.
2005-03-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-utils.c (get_exif_time): do not assume a correct data
format.
Fixes bug #170391: Crash if the EXIF DateTime is too short.
2005-03-14 Abel Cheung <maddog@linuxhall.org>
* configure.in: Added "tr" to ALL_LINGUAS.
2005-03-10 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.6.4 released ]
2005-03-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-utils.c (get_exif_tag): check that data pointer != NULL
Fixes bug #168938: Crash when loading a photo.
2005-02-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/*/style.css: justify comments.
* libgthumb/comments.c (_g_escape_text_for_html): new function
* src/catalog-web-exporter.c (gth_parsed_doc_print):
escape xml special characters. Patch by Christophe Bisière
* libgthumb/comments.c (comments_get_comment_as_xml_string): new
function.
* data/albumthemes/*/*.gthtml: Added summary to tables.
Patch by Christophe Bisière.
2005-02-26 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/BlueStripes/image.gthtml:
* data/albumthemes/BlueStripes/index.gthtml:
* data/albumthemes/BlueStripes/layout.css:
* data/albumthemes/BlueStripes/Makefile.am:
* data/albumthemes/BlueStripes/style.css:
* data/albumthemes/BlueStripes/thumbnail.gthtml:
* data/albumthemes/Classic/layout.css:
* data/albumthemes/Classic/style.css:
* data/albumthemes/Classic/thumbnail.gthtml:
* data/albumthemes/ClassicClips/layout.css:
* data/albumthemes/ClassicClips/style.css:
* data/albumthemes/ClassicClips/thumbnail.gthtml:
* data/albumthemes/Clean/image.gthtml:
* data/albumthemes/Clean/index.gthtml:
* data/albumthemes/Clean/layout.css:
* data/albumthemes/Clean/Makefile.am:
* data/albumthemes/Clean/style.css:
* data/albumthemes/Clean/thumbnail.gthtml:
* data/albumthemes/NeatRound/image.gthtml:
* data/albumthemes/NeatRound/index.gthtml:
* data/albumthemes/NeatRound/layout.css:
* data/albumthemes/NeatRound/Makefile.am:
* data/albumthemes/NeatRound/style.css:
* data/albumthemes/NeatRound/thumbnail.gthtml:
* data/albumthemes/NeatSquare/image.gthtml:
* data/albumthemes/NeatSquare/index.gthtml:
* data/albumthemes/NeatSquare/layout.css:
* data/albumthemes/NeatSquare/Makefile.am:
* data/albumthemes/NeatSquare/style.css:
* data/albumthemes/NeatSquare/thumbnail.gthtml:
Fixes bug #145325: xhtml/xml support for Web Albums
Patch by Christophe Bisière.
2005-02-16 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c (update_exif_data): declare value as
const.
Fixes bug #167502: crash trying to open specific image.
2005-02-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c (update_exif_data): ensure g_locale_to_utf8
gets a non NULL string.
2005-02-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (window_notify_files_changed): restore commented
out code.
Fixes bug #165478: Rotated images no longer auto-refresh in image
viewer.
2005-02-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c (get_file_list, ok_clicked_cb): do not use
context here, check return value only.
* libgthumb/file-utils.c (get_filename_extension): new function.
* src/dlg-photo-importer.c (valid_mime_type): check filename if
mime type fails.
Attempt to fix bug #160232: gthumb doesn't import pictures from
ARGUS DC1500 camera.
2005-02-01 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/thumb-loader.c:
Fixes bug #152441: fuzzy thumbnails, not sharp thumbnails.
Patch by Robert Schultz.
2005-01-31 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/catalog-web-exporter.c (get_current_language): use strlen
instead of the non-standard strnlen.
2005-01-26 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-web-exporter.c (export): unescape destination.
Fixes bug #164961: Browsing for Web Album location adds %20 to names
with spaces.
* src/dlg-photo-importer.c (notify_cb): notify images creation in an
idle callback.
2005-01-24 Paolo Bacchilega <paobac@cvs.gnome.org>
* configure.in: changed AC_PROG_LIBTOOL to AM_PROG_LIBTOOL as suggested
by David Moore.
2005-01-25 Nikos Charonitakis <charosn@her.forthnet.gr>
* configure.in: Added 'el' (Greek) to ALL_LINGUAS.
2005-01-22 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.6.3 released ]
2005-01-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c (ok_clicked_cb): check write permissions
and free space before exporting.
Fixes bug #164325: "Import Photos" error handling when import
destination is read-only or device if full.
2005-01-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/fullscreen.c: hide the prev and next buttons if in slideshow
mode.
* data/albumthemes/ClassicClips/Makefile.am (theme_DATA): added css
files.
* data/gthumb.schemas.in:
* libgthumb/file-utils.c:
* libgthumb/preferences.h:
* src/dir-list.c:
* src/dlg-catalog.c (new_catalog_cb): automatically select the new
catalog.
(dlg_add_to_catalog, add_to_catalog__ok_cb): save the last used catalog
and auto select it when the dialog is created.
Fixes bug #149707: Remember last catalog for next catalog operation
* src/dir-list.c (dir_list_refresh_continue): select row.
Fixes bug #143161: Select previous directory in directory list.
Patch by Jason Tackaberry.
2005-01-17 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-utils.c (get_exif_time): set isdst to -1
Fixes bug #164344: EXIF hour off by one (DST)
Fixes bug #164293: bad time in rename functionnality
2005-01-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* doc/C/gthumb-C.omf: set category to GNOME|Applications|Graphics
2005-01-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (close__step6):
Fixed bug #143102: gThumb SHOULD save sizes when window is maximized.
2005-01-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (content_radio_action, window_new)
(set_action_important):
Fixed bug #160003: gthumb toolbar horizontal icons + text only shows
icons.
* src/dlg-photo-importer.c (check_thread, set_camera_model):
Fixed bug #162323: Doesn't remember settings for serial port cameras.
* src/catalog-web-exporter.c (line_is_void): added const
* src/dlg-photo-importer.c (main_dialog_set_sensitive)
(async_operation_step, async_operation_start):
Fixed bug #162852: pressing the camera icon while importing photos does
bad things
* src/dlg-rename-series.c (get_image_date):
Fixed bug #163417: Filename in Rename Series (date %d) contains ":"
which is invalid filename under Windows
2005-01-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/actions.c (activate_action_help_about):
* data/gthumb-logo.png: new file
Added gthumb logo to the about dialog. Logo by Cristian Correa.
2005-01-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/ui.h:
* src/gthumb-window.c (key_press_cb): removed GDK_f and GDK_s commands.
Fixes bug #156677: - ctrl+S should be the save shortcut, not the
Slide Show
2005-01-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/ClassicClips/*: updated to generate valid xhtml
files.
2004-12-31 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/Classic/thumbnail.gthtml:
* data/albumthemes/Classic/style.css:
* data/albumthemes/Classic/Makefile.am:
* data/albumthemes/Classic/layout.css:
* data/albumthemes/Classic/index.gthtml:
* data/albumthemes/Classic/image.gthtml: Applied patch #35273
* src/catalog-web-exporter.c:
* src/albumtheme.y:
* src/albumtheme-private.h:
* src/albumtheme.l: Applied patch #35272
Started fixing bug #145325: xhtml/xml support for Web Albums.
2004-12-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c: use "text/uri-list" only as dnd target type.
2004-12-23 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (file_is_image): simplify the function to get
the mime type from the filename.
2004-12-20 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_comments.glade:
Fixed bug #142897: Selected Categories area of Categories window
appears to be directly editable, but it is not.
* libgthumb/dlg-save-image.c (file_save_ok_cb):
Fixes bug #149883: Saving pictures with files extensions in uppercase
doesn't work.
* src/dlg-catalog.c (add_to_catalog__activated_cb): change to library
only if a library was activated.
* libgthumb/catalog.c (catalog_add_item):
Fixes bug #156870: Duplicates allowed in catalogues.
* libgthumb/image-viewer.c (image_loaded): reset the scrollbar offsets
after loading an image.
Fixes bug #161635: Scrollbar doesn't reset when viewing with next and
previous.
2004-12-06 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.6.2 released ]
* src/catalog-web-exporter.c (gth_parsed_doc_print): added classes
to tr and td tags.
2004-11-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (resolve_all_symlinks):
Fixes bug #159661: Symlinks in the root directory are incorrectly
resolved.
* libgthumb/print-callbacks.c (log2):
Fixes bug #159672: log2() function already defined under cygwin.
2004-11-26 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (image_is_gif): new function.
* libgthumb/image-loader.c (load_image_thread):
* libgthumb/thumb-loader.c (thumb_loader):
Load the image as an animation only if the image type is gif.
* libgthumb/jpeg-utils.c (do_load_internal):
Fix loading of jpegs with 4 channels. Bug #159492.
2004-11-20 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.6.1 released ]
2004-11-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (ask_whether_to_save__image_saved_cb): always
save the exif data.
Fixed bug #158682: Modified image auto-saved through confirmation
dialog loses EXIF data.
2004-11-16 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c (cancel_clicked_cb): interrupt the current
operation instead if destroying the dialog (bug #158174).
* libgthumb/file-utils.c (file_is_image):
* libgthumb/gtk-utils.c (_gtk_label_set_filename_text)
(_gtk_entry_set_filename_text):
Check invalid filenames (bug #158253).
2004-11-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-duplicates.c (duplicates_add_columns): allow column resizing
Fixes bug #157761: cannot resize the columns in the "find duplicates"
dialog of gthumb.
2004-11-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-preloader.c (loader_error_cb, loader_done_cb):
start next image load after an idle time.
* src/gthumb-window.c (window_show_prev_image): skip broken
images when in fullscreen mode.
* libgthumb/gth-image-list.c (gth_image_list_realize): use
pango_font_metrics_get_approximate_digit_width instead of
pango_font_metrics_get_approximate_char_width.
* src/ui.h: associate F12 to the Revert action.
Fixes bug #152542: Revert F12
2004-11-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (window_update_sensitivity):
make View_ShowImage and View_Fullscreen active even when a
broken image is selected.
2004-11-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.h:
* src/gthumb-window.c (window_update_statusbar_zoom_info):
* src/dlg-image-prop.c (update_buttons_sensitivity):
Fixed handling of unloadable images (for example: xcf images)
* libgthumb/image-loader.c (load_image_thread): added a static lock
around gdk_pixbuf_animation_new_from_file.
2004-10-31 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c (dlg_photo_importer):
* data/glade/gthumb_camera.glade:
Fixed bug #156933: Patch to enable resizing of Import Photos dialog
Patch by Tim Gerla
2004-10-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/thumb-loader.c (thumb_loader_get_type):
* libgthumb/image-viewer.c (image_viewer_get_type):
* libgthumb/image-loader.c (image_loader_get_type):
* libgthumb/gth-pixbuf-op.c (gth_pixbuf_op_get_type):
* libgthumb/gth-image-list.c (gth_image_list_get_type):
* libgthumb/gth-file-view-thumbs.c (gth_file_view_thumbs_get_type):
* libgthumb/gth-file-view-list.c (gth_file_view_list_get_type):
* libgthumb/gth-file-view.c (gth_file_view_get_type):
* libgthumb/gth-file-list.c (gth_file_list_get_type):
s/guint/GType/ Patch by Dave Malcolm (bug #156851)
2004-10-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/catalog-png-exporter.c:
* src/catalog-web-exporter.c:
* src/e-combo-button.c:
* src/gth-exif-data-viewer.c
* src/gth-folder-selection-dialog.c
* src/gth-image-selector.c
* src/gth-toggle-button.c
* src/gthumb-preloader.c
s/guint/GType/ Patch by Dave Malcolm (bug #156851)
2004-10-28 Alexander Shopov <ash@contact.bg>
* configure.in (ALL_LINGUAS): Added "bg" (Bulgarian)
2004-10-28 Åsmund Skjæveland <aasmunds@fys.uio.no>
* configure.in: Added nn to ALL_LINGUAS.
* po/nn.po: Started Norwegian Nynorsk translation.
2004-10-21 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.6.0.1 released ]
2004-10-20 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.h (check_permissions):
* libgthumb/file-utils.c (check_permissions): fix this function.
2004-10-18 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.6.0 released ]
2004-10-17 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-file-utils.c (dlg_check_folder):
* src/dlg-jpegtran.c (apply_transformation):
* libgthumb/dlg-save-image.c (file_save_ok_cb): use check_permissions
instead of access
2004-10-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* configure.in: check libraries version.
2004-10-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/ui.h:
* src/gthumb-window.c: queue a resize after merging the ui.
2004-09-28 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.5.2 released ]
* doc/C/gthumb.xml: updated.
2004-09-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/glade/gthumb_tools.glade:
* libgthumb/gtk-utils.c (exec_command):
* src/dlg-write-to-cd.c (write_to_cd__continue, ok_clicked_cb):
* src/dlg-open-with.c (open_cb):
Allow to burn the current catalog.
2004-09-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/image-loader.c (image_loader_set_pixbuf): get the private
pointer before using it.
* libgthumb/image-viewer.c (image_viewer_expose): fix image display and
scrolling when the frame border is 0.
2004-09-17 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/preferences.c (pref_util_restore_window_geometry):
Do not restore the position, let the WM place the dialog where it
likes.
* src/dlg-comment.c (dlg_comment_new):
* src/dlg-categories.c (dlg_categories_common):
* libgthumb/preferences.h:
* libgthumb/preferences.c (pref_util_restore_window_geometry)
(pref_util_save_window_geometry):
Save the geometry of the comment and categories dialogs.
2004-09-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/fullscreen.c (fullscreen_start):
* libgthumb/image-viewer.c (image_viewer_show_frame)
(image_viewer_hide_frame, image_viewer_is_frame_visible): new
functions.
* libgthumb/image-viewer.h (struct _ImageViewer):
fixes bug #134671: `Zoom to Fit' needlessly scales down image
* libgthumb/gth-image-list.c (gth_image_list_set_no_image_text):
* libgthumb/gth-file-view-thumbs.c (gfv_set_no_image_text):
* libgthumb/gth-file-view.c (gfv_set_no_image_text):
* libgthumb/gth-file-list.c (gth_file_list_set_list)
(add_list_in_chunks, add_list_in_chunks):
make the 'no image' text configurable.
2004-09-07 Ankit Patel <ankit@redhat.com>
* configure.in: Added "gu" (Gujarati) to ALL_LINGUAS.
2004-09-06 Tomasz KÅoczko <kloczek@pld.org.pl>
* components/image-viewer/Makefile.am: fixed paralel build ("make -j<N>").
2004-09-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-image-list.c: display 'No Image' when there is
no image in the list.
* data/albumthemes/text.h (text): removed 'click on the image...'
message.
* libgthumb/image-loader.c (image_loader_set_pixbuf): lock
before setting the pixbuf, unlock when done.
2004-09-02 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/ClassicClips/image.gthtml:
* data/albumthemes/Clean/image.gthtml:
* data/albumthemes/NeatRound/image.gthtml:
* data/albumthemes/NeatSquare/image.gthtml:
* data/albumthemes/Classic/image.gthtml: removed the "click on
image to enlarge" message.
2004-09-02 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.5.1 released ]
2004-09-01 Paolo Bacchilega <paobac@cvs.gnome.org>
* configure.in: updated required libraries versions.
* src/fullscreen.c (create_popup_window): use stock icons for
previous and next image buttons.
2004-08-31 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-web-exporter.c (wa_destination_button_clicked_cb):
(theme_dialog__install_theme_clicked):
set the file chooser dialog modal.
* src/gthumb-window.c (_window_add_monitor_event): fire
a CREATED event if a CHANGED event happended on a file not present
in the file list.
2004-08-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/fullscreen.c (fullscreen_start): fixed fullscreen mode.
2004-08-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (directory_changed): process monitor
events sequentially.
2004-08-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/gthumb.desktop.in (MimeType): added supported mime types list.
2004-08-23 Paolo Bacchilega <paobac@cvs.gnome.org>
* components/catalog-view/GNOME_GThumb_CatalogView.server.in.in:
added nautilus:required_directory_content_mime_types
attribute. Suggested by Alexander Larsson.
2004-08-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/dlg-save-image.c (get_type_from_name): use strcasecmp
instead of strcmp.
Fixes bug #150729: Problems handling JPEG.
2004-08-21 Kjartan Maraas <kmaraas@gnome.org>
* configure.in: Add «nb» to ALL_LINGUAS.
2004-08-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (window_update_statusbar_image_info)
(window_new): added the resize grip to the statubar.
2004-08-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/fullscreen.c (set_action_active):
* src/actions.c (set_action_sensitive):
* src/gthumb-window.c (set_action_sensitive):
(get_slideshow_random_image): removed debugging code.
2004-08-11 Mohammad DAMT <mdamt@bisnisweb.com>
* configure.in: Added "id" (Indonesian) in ALL_LINGUAS
* po/id.po: Added Indonesian translation done by Abdul Hamid.A.N
<hameed@linuxmail.org>
2004-08-09 Amanpreet Singh Alam <aalam@redhat.com>
* configure.in: +punjabi locale
2004-08-06 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.5.0 released ]
2004-07-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/gthumb.1: added --import-photos option documentation.
2004-07-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/jpegutils/jpeg-data.c:
Fixed bug #148301: gthumb doesn't compile without libexif
* src/fullscreen.c (fullscreen_start):
Fixed bug #148303: Fullscreen window always appears on first
screen in xinerama. Patch by Bastien Nocera.
2004-07-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-search.c (search_clicked_cb):
* libgthumb/search.c (search_util_get_file_patterns): new function
Fixes bug #148571: Problem with regular expressions
2004-07-24 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-file-utils.c (dlg_copy_items):
* src/dlg-file-utils.h (dlg_copy_items): added overwrite_all option.
2004-07-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (image_comment_button_press_cb): show the
comment dialog when double-clicking on the comment pane.
2004-07-17 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gth-image-list.c (gth_image_list_realize):
(truncate_comment_if_needed):
calculate the approximate char width and use that value when
truncating a comment.
2004-07-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-categories.c (ok_clicked_cb): reload the image after
saving the categories.
2004-07-14 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-categories.c (dlg_categories_new): do not create more than
one categories dialog.
2004-07-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (save_pixbuf__image_saved_cb):
Fixed bug #146522: reset sequence after save.
Patch by G Sunil Tukrel.
2004-07-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (save_pixbuf__image_saved_cb)
(image_loaded_cb):
Fixes bug #144099: EXIF data not preserved when image is manipulated.
2004-07-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gtk-utils.c (_gtk_error_dialog_from_gerror_run):
display the error dialog only if the message is not null.
2004-07-05 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/fullscreen.c (fullscreen_stop): show_all after exiting
fullscreen mode.
2004-07-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-comment.c:
* src/dlg-categories.c: Make the comments dialog and the categories
dialog modeless. Fixes Bug #142941.
2004-06-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-comment.c (dlg_comment_update): If there is no comment then
all fields must be considered to differ. Patch by Martin Ebourne.
2004-06-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-utils.c (get_exif_tag_short):
* src/dlg-jpegtran.c (update_rotation_from_exif_data): use the
orientation value instead of the orientation string.
* configure.in (HAVE_LIBEXIF):
* src/gth-exif-utils.c (get_exif_entry_value): make gthumb compatible
with both libexif 0.5.x and 0.6.x
2004-06-27 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (go_to_location, set_dir_list_continue): refocus
the location entry after an autocompletion.
2004-06-23 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-exif-data-viewer.c: added EXIF_TAG_ISO_SPEED_RATINGS
2004-06-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/actions.c (activate_action_help_about): updated copyright to
2004. Bug #144825.
2004-06-19 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/ui.h: use GTK_STOCK_ADD insead of GTHUMB_STOCK_BOOKMARK
* src/gthumb-window.c (catalog_activate_continue)
(catalog_activate_continue, catalog_activate)
(window_set_sidebar_content): set image viewer void if the current
image is not present in the image list.
* src/fullscreen.c (fullscreen_stop): use gtk_widget_show instead of
gtk_widget_show_all.
2004-06-18 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/ui.h: fix tooltip text.
* data/gthumb.desktop.in (Categories): Added Viewer.
* configure.in: require at least libexif 0.6.9 now
* src/gth-exif-data-viewer.c (update_exif_data):
* src/gth-exif-utils.c (get_exif_entry_value): new function.
2004-06-15 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (window_hide_sidebar): update the zoom info.
2004-06-13 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/*.gthtml: make pages fit the browser window.
* src/gth-exif-utils.c (get_exif_time): set daylight saving time to 1.
2004-06-12 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/print-callbacks.c (print_catalog): do not scale images
before printing.
2004-06-11 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c (get_folder_name): use "%Y-%m-%d--%H.%M.%S"
instead of "%Y-%m-%d--%H:%M:%S" as the default film name.
2004-06-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/ui.h: fixed typo.
2004-06-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (window_show_cb): restore saved toolbar and
statusbar visibility.
* data/glade/gthumb_tools.glade:
* src/dlg-write-to-cd.c (dlg_write_to_cd): remove recursive option.
* src/main.c (convert_to_new_comment_system): automatically migrate to
the new comment system.
* src/gthumb-window.c (close_preview_image_button_cb):
added a close button for the preview content bar, related to bug
#143023.
* src/dlg-write-to-cd.c:
* src/dlg-write-to-cd.h: new files. Added ability to write images
to CDs using nautilus.
2004-06-08 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (_proc_monitor_events): ignore hidden
directories.
2004-06-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gth-folder-selection-dialog.c:
* src/dlg-duplicates.c:
* src/dlg-photo-importer.c:
* src/dlg-png-exporter.c:
* src/dlg-preferences.c:
* src/dlg-search.c:
* src/dlg-web-exporter.c:
* libgthumb/dlg-save-image.c:
Fixes bug #139569: Gthumb doesn't use the new filechooser.
Patch by Mattias Eriksson.
* src/fullscreen.c (fullscreen_new, close_fullscreen_window_cb):
Fixes bug #143426: crash when using Alt+F4 to exit after slideshow
* src/gthumb-window.c:
* src/gthumb-window.h:
* src/actions.c:
* src/actions.h:
* src/ui.h: use the gtk+ ui manager to create menus and toolbar.
2004-05-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* configure.in: updated version to 2.5.0
2004-05-28 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.4.0 released ]
2004-05-26 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-file-utils.c (folder_copy): delete the old destination folder
comment if it exists.
2004-05-24 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/gthumb.schemas.in: fixes bug #143020 : gthumb should default to
Folders view on first load.
* data/gthumb-ui.xml: fixes bug #143024 : gthumb-ui.xml error prevents
Slideshow accelerator from working.
2004-05-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* doc/C/gthumb.xml:
* src/commands-impl.c (help_about_command_impl): changed email
address.
2004-05-24 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* configure.in: Added "sk" (Slovak) to ALL_LINGUAS.
2004-05-22 Paolo Bacchilega <paolo@localhost.localdomain>
* src/gthumb-window.c (add_image_list_to_catalog): new function.
(image_list_drag_data_received): add images to the current catalog.
Fixes bug #142929
* data/glade/gthumb_comments.glade: Moved the "Selected Categories"
entry to the bottom. Attempt to fix bug #142987
2004-05-21 Paolo Bacchilega <paolo@localhost.localdomain>
* src/dlg-photo-importer.c (get_folder_name): save the film name
(dlg_photo_importer): set the default film name
* data/gthumb.schemas.in: added film property
2004-05-20 Paolo Bacchilega <paolo@localhost.localdomain>
* src/gthumb-window.c (notify_files_deleted__step2)
(notify_files_added__step2): update sensitivity after adding or
removing files.
2004-05-18 Paolo Bacchilega <paolo@localhost.localdomain>
* data/gthumb-ui.xml: added a popup menu for the dir list.
* libgthumb/gthumb-init.c (gthumb_init): add the dir monitoring before
preloading.
(gthumb_release): remove dir monitoring here.
Fixes bug #142619
* src/commands-impl.c (edit_current_folder_categories__done): check
whether the modified folder is in the folder list before updating
the folder view.
2004-05-08 Iñaki Larrañaga <dooteo@euskalgnu.org>
* configure.in: Added "eu" (Basque) to ALL_LINGUAS.
2004-05-07 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-photo-importer.c: allow to download video and audio files
from the camera.
* src/dlg-rename-series.c (dlg_rename_series):
Fixes debian bug #241800: gthumb: incorrect treatment of accented
character in tools - rename series
2004-04-28 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/BlueStripes/image.gthtml
* data/albumthemes/BlueStripes/index.gthtml
* data/albumthemes/BlueStripes/thumbnail.gthtml
* data/albumthemes/Classic/image.gthtml
* data/albumthemes/Classic/index.gthtml
* data/albumthemes/Classic/thumbnail.gthtml
* data/albumthemes/ClassicClips/image.gthtml
* data/albumthemes/ClassicClips/index.gthtml
* data/albumthemes/ClassicClips/thumbnail.gthtml
* data/albumthemes/Clean/image.gthtml
* data/albumthemes/Clean/index.gthtml
* data/albumthemes/Clean/thumbnail.gthtml
* data/albumthemes/NeatRound/image.gthtml
* data/albumthemes/NeatRound/index.gthtml
* data/albumthemes/NeatRound/thumbnail.gthtml
* data/albumthemes/NeatSquare/image.gthtml
* data/albumthemes/NeatSquare/index.gthtml
* data/albumthemes/NeatSquare/thumbnail.gthtml
* doc/theme-xml.txt
* src/albumtheme-private.c
* src/albumtheme-private.h
* src/albumtheme.l
* src/albumtheme.y
Removes the style attributes and uses the css classes instead.
Added the class attribute to the gthumb:image tag.
Added 6 new readable variables: image_width, image_height,
preview_width, preview_height, thumb_width, thumb_height.
Added * and / to the expression evaluation.
Added a new tag, <gthumb:eval expr="expression here"/>
Patch by Martin Ebourne <martin AT zepler DOT org>
2004-04-25 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/dlg-web-exporter.c (install_theme__ok_cb): init command_line to
NULL
* src/dlg-png-exporter.c (export): set the default value for
type_extension.
* libgthumb/gnome-print-font-picker.c
(gnome_print_font_picker_set_mode): remove useless check.
* libgthumb/file-utils.c (file_copy): remove n <= 0 condition.
* libgthumb/cursors.c (cursor_get): remove useless check.
* libgthumb/gth-file-list.c (gth_file_list_select_image_by_pos):
init offset to 0.5
* libgthumb/gth-image-list.c (real_move_cursor): init offset to -1.0
* libgthumb/file-utils.c (file_copy): use size_t instead of int.
* src/dir-list.c (dir_list_refresh_continue): set dir_list
* libgthumb/preferences.c (pref_get_real_toolbar_style):
* src/gth-toggle-button.c (gth_toggle_button_set_style):
* src/e-combo-button.c (e_combo_button_set_style):
* src/gthumb-window.c (window_notify_update_toolbar_style):
s/both_horiz/both-horiz/
* src/gthumb-window.c (key_press_cb):
* src/fullscreen.c (image_key_press_cb): use '2' to set the zoom
level to 2, and '3' to set it to 3.0.
* data/albumthemes/*/preview.png: ops, forgot to resize previews :)
2004-04-25 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.3.3 released ]
2004-04-22 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (path_is_dir): remove the warning.
* libgthumb/comments.c (save_comment): unescaped comment filename
before saving. Patch by Matthew West (gnomebugzilla@matthewwest.co.uk)
2004-04-20 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/fullscreen.c (create_popup_window): added zoom buttons to the
toolbar.
2004-04-18 Sami Pesonen <sampeson@iki.fi>
* configure.in: Added "fi" (Finnish) to ALL_LINGUAS.
2004-04-10 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (image_is_jpeg): added workaround for bug in
gnome_vfs_mime_type_from_name_or_default.
2004-04-06 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/file-utils.c (path_in_path): new function, used to find
a path contained in another path.
* src/dlg-search.c (file_respects_search_criteria):
* src/gthumb-window.c (window_notify_directory_new)
(window_notify_directory_delete):
* src/dlg-file-utils.c (folder_copy):
* src/commands-impl.c (folder_copy__response_cb): use the above
function.
* doc/C/gthumb.xml: Updated the manual.
* data/gthumb-ui.xml: added a separator in the File->Folder menu.
2004-04-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (make_url_list):
Fixes bug #138979: DnD for non-Latin1 filenames fails.
Patch by Ilya Konstantinov (gnome-bugzilla@future.shiny.co.il)
2004-03-30 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (save_pixbuf__image_saved_cb): set
image_modified = FALSE if the current image has been saved.
2004-03-29 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/gthumb-slide.c (gthumb_draw_slide): make the inner border
slimmer.
2004-03-23 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (window_new): set the position of the paned
window.
2004-03-22 Paolo Bacchilega <paobac@cvs.gnome.org>
[ gthumb 2.3.2 released ]
2004-03-26 Zygimantas Berucka <uid0@akl.lt>
* configure.in: Added "lt" (Lithuanian) to ALL_LINGUAS.
2004-03-21 Paolo Bacchilega <paobac@cvs.gnome.org>
* libgthumb/comments.c (save_comment): use unescape = FALSE for saving
comments.
* src/fullscreen.c (get_file_info):
Fixes bug #137860 (New - full screen image info date is not from exif
data).
* libgthumb/file-utils.c (file_is_image): workaround for bug in
gnome_vfs_mime_type_from_name_or_default.
Fix bug #136168 (Images with capitalized extensions (.JPG) are not
found by the image search/browser).
* libgthumb/gth-image-list.c (gth_image_list_button_press): do not emit
the ITEM_ACTIVATED signal if Control of Shift is pressed.
Fix bug #136451 (Quick multiple selection problem).
* src/gthumb-window.c:
Fix bug #133452 (thumbnail-pane is resized when the application window
is resized).
* libgthumb/gnome-print-font-picker.c:
* libgthumb/gnome-print-font-dialog.c: updated from gedit.
* src/gthumb-window.c (window_update_zoom_sensitivity): update the zoom
commands sensitivity.
* libgthumb/print-callbacks.c (DEF_COMMENT_FONT): Change default font.
(print_catalog_dlg, print_image_dlg): Use the default font if the
current one does not exist.
* src/dlg-web-exporter.c (load_themes): automatically select the
current theme.
* data/glade/gthumb_web_exporter.glade: reorganized a bit.
* src/gthumb-window.c (dir_list_drag_data_received):
(image_list_drag_data_received): fix drag & drop.
2004-03-09 Paolo Bacchilega <paobac@cvs.gnome.org>
* data/albumthemes/Clean/Makefile.am:
* data/albumthemes/NeatSquare/Makefile.am:
* data/albumthemes/NeatRound/Makefile.am:
* data/albumthemes/BlueStripes/Makefile.am:
* data/albumthemes/ClassicClips/Makefile.am:
* data/albumthemes/Classic/Makefile.am: Do not generate .gthtml files
anymore.
* data/albumthemes/*/index.xml.in:
* data/albumthemes/*/image.xml.in:
* data/albumthemes/*/thumbnail.xml.in: removed files.
* data/albumthemes/*/index.gthtml:
* data/albumthemes/*/image.gthtml:
* data/albumthemes/*/thumbnail.gthtml:
* data/albumthemes/text.h: new files.
Fix bug #126452 (Compilation error in data/albumthemse/BlueStripes
with index.xml.in parsing).
* src/gthumb-window.c (ask_whether_to_save): removed unused variable.
2004-03-04 Paolo Bacchilega <paobac@cvs.gnome.org>
* src/gthumb-window.c (image_requested_error_cb): use
window_image_view_set_void.
(real_set_void): ask whether to save before setting the viewer to void.
(ask_whether_to_save): make the dialog not modal.
* src/dlg-web-exporter.c: remove the destination manager.
* data/glade/gthumb_comments.glade:
* src/dlg-comment.c (ok_clicked_cb):
* libgthumb/comments.c (comments_get_comment_as_string): init time_txt
to ""
Fix bug #136097 (gthumb 2.2.1 ignores "save only changed fields"
tickbox).
2004-02-24 Adam Weinberger <adamw@FreeBSD.org>
2004-02-22 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-photo-importer.c (set_camera_model)
(set_camera_model): Use gtk_label_set_text instead of
_gtk_label_set_locale_text.
Fix bug #135110 (An UTF8 string was not converted to
the current locale (again)).
2004-02-16 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.3.1 released ]
2004-02-13 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-jpegtran.c: Fix orientation restoring.
(ok_clicked): Fix apply to all.
2004-02-07 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gth-exif-utils.c:
Fix bug #133131 (exif orientation tag not updated).
* src/gth-exif-utils.h:
Rename exif-utils.[ch] to gth-exif-utils.[ch]
* src/dlg-jpegtran.c (update_rotation_from_exif_data):
Handle the 8 possible values of the orientation tag.
2004-01-27 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/print-callbacks.c (print_catalog_dlg):
Fix bug #132614 (Comment font option menu in print dialog is
not disabled by default).
2004-01-26 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_update_statusbar_image_info):
s/filename/path/
* src/dlg-search.c (file_respects_search_criteria):
Fix bug #109016 (Searches should match directories too).
2004-01-24 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_update_statusbar_image_info):
Fix bug #112254 (status line shoudl use date from comment rather
than mtime).
* src/dlg-file-utils.c (folder_copy):
Delete the comment cache before copying the folder.
* data/glade/gthumb_comments.glade:
* src/dlg-comment.c:
Fix bug #130473 ("add comment" dialog uses ctime instead of mtime).
* src/gthumb-window.c (key_press_cb):
Fix bug #130382 (gthumb keyboard usability issue).
2004-01-22 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-preferences.c (apply_cb):
* src/gthumb-window.c (get_next_slideshow_image):
* libgthumb/typedefs.h:
* data/gthumb.schemas.in:
* libgthumb/preferences.h (PREF_SLIDESHOW_DIR):
* libgthumb/preferences.c:
Fix bug #112254 (Needs Randomize Option on Slide Show).
2004-01-21 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-jpegtran.c (apply_transformation):
Fix bug #130823 (gthumb does not maintain permissions on files).
Fix bug #130824 (gthumb does not complain about lack of permissions).
* libgthumb/preferences.c (preferences_init):
Fix bug #130829 (gthumb ignores current directory when starting).
* src/gthumb-window.c (create_new_file_list):
(window_set_preview_content):
Fix bug #131852 (Moving images via drag-and-drop no longer works).
Fix bug #131853 (Changing folders produces flicker in image viewer).
* src/dlg-file-utils.c (folder_copy):
Check whether the folder comment exists before including it in the
URIs to move.
* src/gthumb-window.c (catalog_list_drag_leave)
(dir_list_drag_leave):
Remove the auto load timeout after leaving.
2004-01-17 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/jpeg-utils.c (do_load_internal): escape the path before
creating the uri.
2004-01-16 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.3.0 released ]
* libgthumb/print-callbacks.c (add_catalog_preview): round result
before converting it to integer.
* src/dlg-jpegtran.c (dlg_jpegtran): use the GTHUMB_STOCK_RESET icon.
* src/gthumb-window.c (get_image_to_preload): check dimensions before
preloading an image.
2004-01-13 Paolo Bacchilega <paolo.bacch@tin.it>
* src/catalog-png-exporter.c:
* src/catalog-png-exporter.h:
Use the image_loader instead of the thumb_loader.
2004-01-12 Paolo Bacchilega <paolo.bacch@tin.it>
* src/catalog-web-exporter.c: use the image_loader instead of
the thumb_loader.
2004-01-10 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-photo-importer.c (async_operation_step): fix
progress bar updating.
2004-01-09 Paolo Bacchilega <paolo.bacch@tin.it>
* src/main.c: add a --import-photos option to automatically open
the import photos dialog.
* src/dlg-photo-importer.c: make operations asynchronous.
* libgthumb/comments.c (comments_get_comment_as_string):
* src/gthumb-window.c (window_update_statusbar_image_info):
* src/gth-exif-data-viewer.c (update_file_info):
* src/fullscreen.c (get_file_info):
* src/dlg-duplicates.c (images_selection_changed_cb):
* components/image-viewer/viewer-stream.c (get_status):
Fix bug #126292 (Date shows badly if locale charset is not utf8).
Patch by Egmont Koblinger.
2004-01-04 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-web-exporter.c (theme_dialog__go_to_folder_clicked):
* src/commands-impl.c (show_folder): do not launch nautilus
explicitly, use gnome_url_show instead.
2003-12-29 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-crop.c:
* src/gth-image-selector.c: more crop work.
* libgthumb/icons/reset-16.png:
* libgthumb/icons/swap-24.png: new icons.
* libgthumb/gthumb-stock.c:
* src/dlg-hue-saturation.c:
* src/dlg-color-balance.c:
* src/dlg-brightness-contrast.c:
* src/dlg-posterize.c:
* src/dlg-png-exporter.c: use the new stock icons.
* libgthumb/gth-image-list.c (real_set_cursor): stop dragging if
cursor changes.
2003-12-28 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gth-image-list.c (gth_image_list_motion_notify): check
selection != NULL.
* src/gthumb-window.c (image_saved_func): do not add a saved image to
the current catalog.
* data/gthumb.schemas.in:
* libgthumb/typedefs.h:
* libgthumb/preferences.h:
* libgthumb/preferences.c: load and save crop aspect ratio.
* data/glade/gthumb_crop.glade:
* src/dlg-crop.c:
* src/gth-image-selector.c: more crop work.
2003-12-27 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-crop.c (dlg_crop): more crop support.
2003-12-25 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-crop.h:
* src/dlg-crop.c: new files. added initial crop support.
* libgthumb/thumb-loader.c (thumb_loader): use a faster loader for
jpeg images.
* libgthumb/image-loader.h:
* libgthumb/image-loader.c:
(image_loader_set_loader): allow to specify a custom loader.
* libgthumb/jpeg-utils.h:
* libgthumb/jpeg-utils.c: new files.
* libgthumb/image-loader.c (image_loader_sync_pixbuf): assign the
pixbuf inside the lock.
2003-12-23 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-image-prop.c (update_buttons_sensitivity):
* src/gthumb-window.c (window_update_sensitivity): update
"View Next Images" and "View Prev Image" sensitivity.
* src/jpegutils/Makefile.am (noinst_LTLIBRARIES):
* src/Makefile.am (libjpegtran_la_LIBADD): fix bug #129858
(libgthumb-jpegutils.a isn't libtool library, does not link on
non-x86).
Patch by Matthew Wilson.
2003-12-22 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gnome-print-font-picker.c:
* libgthumb/gnome-print-font-dialog.c: updated from gedit.
2003-12-21 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-photo-importer.c (dlg_photo_importer): added
'update previews' and 'delete images from camera' buttons.
2003-12-18 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gconf-utils.c (eel_gconf_set_path_list)
(eel_gconf_get_path_list): new functions
2003-12-17 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/preferences.c:
* src/dlg-photo-importer.c: load and save dialog preferences; added a
destination entry instead of hardcoding it.
* libgthumb/icons/film-16.png: resize icon to 16x16.
2003-12-16 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (close__step5): ask whether to save a modified
image before exiting.
* data/gthumb-ui.xml:
* src/commands-impl.c (edit_current_folder_categories__done): add
a command to edit folder categories.
* src/dlg-photo-importer.c: add a 'Film' keyword to the created folder.
* src/dir-list.c:
* src/main.c:
* src/gthumb-window.c:
* src/bookmark-list.c: use a specila icon for folders with the 'Film'
keyword.
* libgthumb/file-utils.c (resolve_all_symlinks): handle nonexistent
files.
* src/dlg-file-utils.c:
* src/commands-impl.c (folder_copy__response_cb): update the folder
comment when copying, moving and renaming a folder.
* libgthumb/comments.c (comments_get_comment_filename): resolve the
full path.
2003-12-15 Abel Cheung <maddog@linux.org.hk>
* configure.in: Added "hr" to ALL_LINGUAS.
2003-12-15 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-duplicates.c (dlg_duplicates): rempve unused variable.
* src/commands-impl.c (wallpaper_restore_command_impl): restore
wallpaper correctly when the picture_options value is 'none'.
* src/dlg-photo-importer.c: put config.h before #ifdef HAVE_LIBGPHOTO
* src/commands-impl.c (file_camera_import_command_impl):
* src/gthumb-window.c (window_new): do not compile camera support
if libgphoto is not present.
* src/dlg-photo-importer.c (update_ui): add gdk_flush()
2003-12-14 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-categories.c (add_category_cb): automatically use a
created category.
* src/dlg-photo-importer.c (ok_clicked_cb): remove old check.
2003-12-13 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c (folder_rename): resolve the old path before
renaming.
2003-12-12 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-search.c: create the categories dialog with a new gui object;
allow to save void searches.
2003-12-10 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-web-exporter.c: Implement destination manager.
2003-12-09 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-preferences.c (dlg_preferences): added "Ask whether to save
modified images" option.
* libgthumb/dlg-save-image.c (file_save_ok_cb): check write permissions
before saving.
* libgthumb/image-viewer.c (image_viewer_button_release): emit the
CLICK signal after ungrubbing the mouse pointer.
2003-12-08 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (ask_whether_to_save): ask whether to save a
modified image.
* src/dlg-png-exporter.c (dlg_exporter): remove name examples.
* src/dlg-rename-series.c (update_list): use %f, %d, %s instead of
*, ! and ? when renaming filenames.
* libgthumb/glib-utils.c (_g_substitute_pattern): new function.
2003-12-07 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/print-callbacks.c (print_catalog_cb):
* libgthumb/print-callbacks.h: implement catalog printing.
* src/dlg-jpegtran.c (apply_tranformation_generic, dlg_jpegtran):
implement generic transformations of non jpeg images.
2003-12-01 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_save_pixbuf): new function.
2003-11-23 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gth-image-list.c (paint_item): paint all selected
thumbnails with the same color, always paint the focus for the focused
thumbnail.
* src/gthumb-window.c (load_timeout_cb): do not preload the (pos + 2)
image.
* src/gthumb-ui.xml: remove "exit".
2003-11-19 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-search.c (file_respects_search_criteria): use the file mtime
if no time is defined in the comment.
2003-11-18 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.9 released ]
2003-11-11 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-loader.c: do not use the private uri outside the
locks.
2003-11-07 Paolo Bacchilega <paolo.bacch@tin.it>
* Makefile.am (SUBDIRS): remove omf-install
* src/catalog-web-exporter.c (save_resized_image_cb): update the
image size if the original image is resized.
2003-11-04 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/Makefile.am (libgthumbdir): install the library in
$(libdir)/gthumb (patch by Götz Waschk
<waschk@informatik.uni-rostock.de>)
2003-11-03 Bastien Nocera <hadess@hadess.net>
* configure.in: added en_GB translation by Peter Oliver
<bugs@mavit.freeserve.co.uk>
2003-11-02 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.8 released ]
* src/dir-list.c (dir_list_add_directory): do not use an hardcoded
icon size, get the size from the gtk theme instead.
* src/gthumb-window.c (window_notify_directory_rename): check
whether the new name is a first level subdir before adding it to
the dir list.
* src/catalog-png-exporter.c (end_export):
* src/dlg-change-date.c (ok_clicked): explicitly notify changes.
* src/gthumb-window.c (get_image_to_preload, load_timeout_cb):
preload an image only if it is smaller than PRELOADED_IMAGE_MAX_SIZE.
* src/catalog-web-exporter.c (export__copy_to_destination__step2):
display an error dialog if something went wrong.
2003-10-25 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-change-date.c:
* src/dlg-rename-series.c: include gnome-help.h
* src/gthumb-window.c (create_new_file_list): use ACTION_MOVE when
dragging in gthumb, ACTON_COPY for all other apps.
2003-10-19 Paolo Bacchilega <paolo.bacch@tin.it>
* add-include-prefix: make the script portable (patch from Pav
Lucistnik <pav@oook.cz>)
2003-10-13 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.7 released ]
2003-10-11 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_new): insert the preview buttons
outside the info bar.
2003-10-09 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gth-image-list.c (paint_item): draw the selection
outside the thumbnail not inside it.
2003-10-05 Paolo Bacchilega <paolo.bacch@tin.it>
* data/albumthemes/*/*.xml.in: little changes.
* src/dlg-categories.c (dlg_categories):
* src/dlg-comment.c (dlg_edit_comment): Set the transient for
window the window the viewer belongs to. This is because comment
and categories dialogs can be used even in fullscreen mode.
* doc/C/gthumb.xml: updated.
2003-10-04 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-convert.c (load_current_image): notify files created and
deleted.
* doc/C/gthumb.xml: updated.
* src/gthumb_convert.glade:
* src/gthumb_tools.glade:
* src/dlg-convert.c (help_cb):
* src/dlg-rename-series.c (help_cb):
* src/dlg-change-date.c (help_cb): add a help button for some dialogs.
* libgthumb/comments.c (save_comment): init strings to NULL.
* src/gthumb-window.c (image_requested_error_cb): view the image
filename even if the image could not be loaded.
* src/dlg-file-utils.c (file_move_response_cb): remove a g_print
* libgthumb/file-utils.c (get_dest_free_space): new function.
2003-10-02 Paolo Bacchilega <paolo.bacch@tin.it>
* src/fullscreen.c (fullscreen_start): set the window screen.
2003-09-29 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-ui.xml: always use the name Catalog for the catalog
submenu, even when the catalog is a search.
* doc/C/gthumb.xml: started updating manual.
* libgthumb/dlg-save-image.c (file_save_ok_cb): check whether the
image type is writable before trying to write the image, and warn
the user if it's not.
2003-09-28 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-comment.c (dlg_edit_comment): use have_exif_data.
* src/exif-utils.c (have_exif_data): new function.
* src/fullscreen.c (fullscreen_start): do not hide the main
window.
* libgthumb/gth-file-list.h:
* libgthumb/gth-file-list.c (gth_file_list_init)
(interrupt_thumbs__part2, gth_file_list_interrupt_thumbs)
(start_update_next_thumb): do not allow to interrupt an interruption.
2003-09-14 Paolo Bacchilega <paolo.bacch@tin.it>
* src/Makefile.am (EXTRA_DIST): add gthumb.schemas.in
* src/dlg-preferences.c:
* src/gthumb-window.c:
* src/dlg-web-exporter.c:
* libgthumb/preferences.c: use the new functions.
* libgthumb/gconf-utils.c (eel_gconf_set_path)
(eel_gconf_get_path): new functions, used to save paths in gconf
substituting the home dir with a tilde.
2003-09-11 Andras Timar <timar@gnome.hu>
configure.in: Added "hu" to ALL_LINGUAS.
2003-09-01 Metin Amiroff <metin@karegen.com>
configure.in: Added "az" in ALL_LINGUAS.
2003-09-01 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.6 released ]
2003-08-31 Wang Jian <lark@linux.net.cn>
* configure.in: Added "zh_CN" to ALL_LINGUAS.
2003-08-25 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-comment.c: use the global get_exif_time function.
2003-08-24 Paolo Bacchilega <paolo.bacch@tin.it>
* src/exif-utils.c:
* src/exif-utils.h:
* src/gth-exif-data-viewer.c:
* src/gth-exif-data-viewer.h: new files.
2003-08-22 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/file-utils.c (resolve_all_symlinks_uri): unref uri
after appending the resolved uri.
2003-08-21 Paolo Bacchilega <paolo.bacch@tin.it>
* configure.in: add BlueStripes theme, remove Simple theme.
* src/jpegutils/transupp.h: do not include config.h
2003-08-20 Paolo Bacchilega <paolo.bacch@tin.it>
* src/catalog-png-exporter.c (catalog_png_exporter_init): use
PANGO_WRAP_WORD_CHAR instead of PANGO_WRAP_CHAR
* libgthumb/preferences.c (pref_util_get_int_value)
(pref_util_get_rgb_values): fix warning.
2003-08-19 Paolo Bacchilega <paolo.bacch@tin.it>
* src/catalog-web-exporter.c (thumb_loader_done): unref pixbuf
before changing its value.
2003-08-18 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.5 released ]
2003-08-18 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_go_to_directory): restore
interruption of the file list filling before changing folder.
2003-08-16 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/catalog.c (file_is_search_result): check if the line
is void.
* src/dlg-catalog.c (new_dir_cb): handle utf8 names.
* src/catalog-web-exporter.c (save_image_preview_cb): fix condition
* src/dlg-jpegtran.c (dlg_jpegtran, destroy_cb): update images
manually instead of hoping that the monitor will work correctly.
* src/dlg-convert.c (load_current_image)
(save_image_and_remove_original): chack whether source and
destination are the same image.
* src/catalog-list.c (catalog_list_refresh): handle invalid names.
* src/dlg-file-utils.c (dlg_files_copy):
(dlg_files_delete):
(folder_copy): use the right glade file here.
* src/dir-list.c (dir_list_update_view): handle invalid names.
2003-08-15 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.h: remove not used variable.
* many_files: use g_filename_* instead of g_locale_* where
appropriate.
* Makefile.am (EXTRA_DIST): remove gthumb.spec and gthumb.spec.in
* configure.in: update required libraries.
(GTHUMB_CFLAGS): remove bonobo-activation
2003-08-12 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-change-date.c (dlg_change_date): make the exif option
insensitive if the image has no exif data.
* components/image-viewer/viewer-control.h (_VIEWER_CONTROL):
rename VIEWER_CONTROL to _VIEWER_CONTROL.
* libgthumb/dlg-save-image.c (CONVERT_GLADE_FILE)
(dlg_save_options): rename GLADE_FILE to CONVERT_GLADE_FILE.
* src/gthumb-window.c (setup_toolbar_combo_button):
* src/gthumb-ui.xml: use a custom tooltip for the back button.
2003-08-11 Paolo Bacchilega <paolo.bacch@tin.it>
* src/catalog-web-exporter.c (save_resized_image_cb)
(export__copy_image__progress_update_cb, export__copy_image)
(thumb_loader_done): fix bug #117668
* libgthumb/gth-file-list.c (gth_file_list_update_next_thumb):
ref/unref the current thumb file data.
2003-08-10 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb_preferences.glade:
* src/gthumb_png_exporter.glade: fix bug #119546.
* libgthumb/comments.c (save_comment): escape text before saving
the comment (bug #119499).
2003-08-09 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.4 released ]
2003-08-09 Paolo Bacchilega <paolo.bacch@tin.it>
* src/jpegutils/Makefile.am (INCLUDES): add libghtumb dir.
* src/gthumb-window.c (window_sync_menu_with_preferences): make
this function static.
* src/main.c (all_windows_update_viewer_options): remove this function.
* libgthumb/preferences.c (pref_util_get_rgb_values):
(pref_util_get_int_value): check null pointers.
* libgthumb/file-utils.c (visit_rc_dir_data_new):
* libgthumb/comments.c (crd_interrupt_cb, remove_comments_done)
(comments_remove_old_comments_async): allow to interrupt this
operation.
2003-08-08 Paolo Bacchilega <paolo.bacch@tin.it>
* data/albumthemes/Classic/image.xml.in:
* data/albumthemes/ClassicClips/image.xml.in:
* data/albumthemes/NeatRound/image.xml.in:
* data/albumthemes/NeatSquare/image.xml.in: use a small size for
the note.
* src/commands-impl.c (folder_delete__continue): allow to not
display the message again.
* src/dlg-file-utils.c (file_delete_progress_update_cb)
(files_delete__done): do not collect deleted files, notify changes
only if deletion is completed, otherwise update current view.
* data/albumthemes/*: update themes to conform to the new rules.
* src/gthumb-window.c (item_toggled_handler):
update toggle menu items correctly.
* src/gthumb-window.c (initial_location_cb):
* src/commands-impl.c (file_new_window_command_impl):
* src/main.c (prepare_app, load_session):
* libgthumb/preferences.h:
* libgthumb/preferences.c (preferences_set_startup_location)
(preferences_get_startup_location): do not save the temporary
startup location in the gconf key (bug #119334).
* a_lot_of_files: specify a default value when reading a gconf key.
2003-08-07 Paolo Bacchilega <paolo.bacch@tin.it>
* src/catalog-web-exporter.c (gth_parsed_doc_print, get_exif_tag):
print a "-" when no exif data is available.
(get_preview_filename): do not save the preview if it has the same
dimensions of the image.
* src/gthumb.schemas.in: add album header and footer, remove title.
2003-08-06 Paolo Bacchilega <paolo.bacch@tin.it>
* src/catalog-web-exporter.c: create a medium sized image preview
to be used in the image.hml files (bug #117668).
* src/gthumb_web_exporter.glade:
* libgthumb/preferences.h:
* src/dlg-web-exporter.c: Add header and footer for web albums,
remove the album title.
* src/albumtheme-private.c:
* src/albumtheme-private.h:
* src/albumtheme.y:
* src/albumtheme.l:
* src/catalog-web-exporter.c (gth_parsed_doc_print): allow
to translate the text in the album files.
* src/gthumb-ui.xml: remove the pixbuf arg.
* src/catalog-png-exporter.c (get_hf_text): handle text in utf-8
format.
2003-08-05 Paolo Bacchilega <paolo.bacch@tin.it>
* configure.in: fix bug #119135.
2003-08-04 Paolo Bacchilega <paolo.bacch@tin.it>
* src/albumtheme.l: allow names to contain numbers.
* src/catalog-web-exporter.c (load_next_file, thumb_loader_done)
(export__copy_image, export__copy_image__progress_update_cb)
(save_resized_image_cb): load and save images one at a time,
instead of loading them all and then saving.
* data/albumthemes/Clean/index.gthtml:
* data/albumthemes/Clean/image.gthtml:
* data/albumthemes/Clean/lest_arrow.png:
* data/albumthemes/Clean/right_arrow.png:
* data/albumthemes/Clean/up_arrow.png: use images instead of text.
* src/dlg-jpegtran.c (apply_tran): display the error with a dialog.
* src/jpegutils/jpegtran.c (jpegtran): use a custom error handler.
* src/catalog-web-exporter.c (export__copy_images)
(export__save_images, image_data_new): rename images before
copying them to the destination. (fixes bug #118098).
* src/gthumb.schemas.in: fix message inconsistency (bug #118958).
2003-07-31 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-web-exporter.c (export): keep the title in utf-8 format
(bug #118503).
2003-07-07 Abel Cheung <maddog@linux.org.hk>
* src/Makefile.am: gthumb.schemas -> schemas.in, and fixed typo.
2003-07-27 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_notify_update_layout_cb): update the
layout after a timeout and do not destroy the main_pane widget.
* libgthumb/image-loader.c (image_loader_load_from_image_loader):
set uri to NULL after unreferencing
* libgthumb/thumb-cache.c (cache_get_nautilus_cache_name): check
whether uri_txt == NULL
* src/dlg-file-utils.c (dlg_file_rename_series, dlg_files_delete)
(folder_copy, dlg_files_copy): remove the monitor while processing
files.
2003-07-25 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/preferences.h (PREF_MSG_CANNOT_MOVE_TO_TRASH):
* src/dlg-file-utils.c (real_files_delete__continue)
(_gtk_yesno_dialog_with_checkbutton_new): add a checkbutton to
allow the user to not display the warning again.
2003-07-22 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (close__step5): do not save the
visualizzation options if the window is maximized.
2003-07-21 Paolo Bacchilega <paolo.bacch@tin.it>
* data/albumthemes/Clean/*
* configure.in: new album theme
2003-07-20 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/thumb-cache.c
(nautilus_cache_remove_old_previews_async): handle interruption.
(get_real_name_from_nautilus_cache): return NULL if an error occurred.
* libgthumb/file-utils.c (directory_load_cb): use
gnome_vfs_async_cancel when interrupted.
2003-07-19 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-image-prop.c (dlg_image_prop_new):
* src/gthumb-window.c (window_new): fix bug #117008
* src/dlg-categories.c (add_category_cb): do not allow commans in
category names (bug #117729)
2003-07-08 Paolo Bacchilega <paolo.bacch@tin.it>
* src/main.c (prepare_app):
* src/gthumb-window.c (set_file_list__final_step_cb): do not
create the "Command Line" catalog if the user specifies only one
image, go to the image folder instead.
* libgthumb/print-callbacks.c (print_info_unref): check null pointers.
2003-07-09 Frederic Crozat <fcrozat@mandrakesoft.com>
* src/gthumb.schemas:
fix type in schema.
2003-07-06 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.3 released ]
2003-07-06 Paolo Bacchilega <paolo.bacch@tin.it>
* data/albumthemes/*/*.gthtml: updated to allow the user to
personalize the captions.
* src/gthumb-ui.xml: fix bug #116386.
* libgthumb/gthumb-init.c (gthumb_init): preload some gconf dirs.
* libgthumb/gtk-utils.c (_gtk_yesno_dialog_new)
(_gtk_request_dialog_run): no title for dialogs.
* libgthumb/preferences.h:
* src/dlg-web-exporter.c (show_caption_dialog_cb)
(caption_dialog__ok_clicked): load and save preferences.
2003-07-02 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gtk-utils.c (_gtk_message_dialog_new): remove the title.
* src/albumtheme.y:
* src/albumtheme.l:
* src/catalog-web-exporter.c (get_var_value): added ability to
personalize the album theme.
2003-06-28 Artur Flinta <aflinta@cvs.gnome.org>
* configure.in: Added "pl" to ALL_LINGUAS.
2003-06-19 Abel Cheung <maddog@linux.org.hk>
* configure.in: Added "mk" to ALL_LINGUAS.
2003-06-18 Guntupalli Karunakar <karunakar@freedomink.org>
* configure.in: Added "ml" in ALL_LINGUAS.
2003-06-08 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-comment.c (ok_clicked_cb): fix bug #114679
* src/catalog-png-exporter.c (paint_text): do dot translate text
in utf format again.
(set_item_caption): translate filenames to utf8 format.
* libgthumb/print-callbacks.c (print_cb): allow to set custom
paper size.
* libgthumb/preferences.c: added more print preferences.
* libgthumb/gconf-utils.c (eel_gconf_get_float): new function.
* libgthumb/comments.c (comments_get_comment_filename): allow to
unescape the path.
2003-06-02 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gthumb-canvas-text.c:
* libgthumb/gthumb-canvas-text.h: removed files.
* libgthumb/gnome-print-font-picker.c:
* libgthumb/gnome-print-font-picker.h:
* libgthumb/gnome-print-font-dialog.c:
* libgthumb/gnome-print-font-dialog.h: new files.
* libgthumb/print-callbacks.c (print_image_dlg): user can choose
comment font; better preview; remember all settings; allow to set
custom paper size.
2003-05-25 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (viewer_drag_data_received):
* src/dlg-search.c (view_result_cb):
* src/main.c (initialize_data): translate the catalog name to the
locale encoding before saving it.
2003-05-18 Paolo Bacchilega <paolo.bacch@tin.it>
* src/catalog-web-exporter.c:
* src/dlg-web-exporter.c: added ability to resize images before
copying them to the destination.
* data/albumthemes/*/index.gthtml:
* data/albumthemes/*/image.gthtml: added Content-Type and
Generator meta tags.
2003-05-06 Danilo Å egan <dsegan@gmx.net>
* configure.in: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2003-05-04 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.2 released ]
2003-05-02 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (key_press_cb): use control-1/2/3 to set the
preview content.
2003-05-01 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb_print.glade: display size in millimeters
* libgthumb/print-callbacks.c (print_image_dlg): add A3, A5
types.
2003-04-30 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/print-callbacks.c (print_image_dlg): new print dialog,
load and save user preferences.
* src/fullscreen.c (fs_motion_notify_cb): do not show the toolbar
if the mouse is moved "slowly".
* libgthumb/gth-image-list.c (gth_image_list_motion_notify):
ignore kinky event->y values (a gtk bug ?).
2003-04-28 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_update_statusbar_zoom_info): hide
the zoom info frame when the image is not visible.
(window_update_sensitivity): do not allow to edit the image if the
image is not visible.
* src/gthumb.schemas:
* libgthumb/preferences.h (PREF_SEARCH_RECURSIVE):
* src/dlg-search.c (search_clicked_cb, dlg_search_ui): save the
'Include sub-folders' option.
* src/fullscreen.c (hide_mouse_pointer_cb): do not hide the
toolbar if the mouse pointer is over it.
* libgthumb/gth-image-list.c (gth_image_list_set_image_comment):
(gth_image_list_set_image_text):
recalc text/comment size.
* src/fullscreen.c (fullscreen_stop): restore correct visibility.
(image_key_press_cb): keep in sync comment visibility in
fullscreen and window mode.
2003-04-25 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/utf8-fnmatch.c (g_utf8_fnmatch): added a utf8 compatible
fnmatch function.
* src/dlg-search.c (pattern_matched_by_keywords, match_patterns):
use utf8_fnmatch.
* src/dlg-rename-series.c (update_list): substitute ! with image
size.
2003-04-29 Kang Jeong-Hee <Keizi@mail.co.kr>
* src/gthumb-window.c (window_new): #ifdef HAVE_LIBEXIF added.
2003-04-24 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_update_infobar)
(window_update_title): use "[modified]" instead of "*"
* src/dlg-posterize.c (dlg_posterize):
* src/dlg-color-balance.c (dlg_color_balance):
* src/dlg-hue-saturation.c (dlg_hue_saturation):
* src/dlg-brightness-contrast.c (dlg_brightness_contrast):
remember whether the image was modified or not before calling the
filter.
* libgthumb/preferences.h:
* src/gthumb.schemas: added preview state keys.
* src/gthumb-window.c (window_new, close__step5): load and save
the preview state.
(set_button_active_no_notify, preview_image_button_cb)
(preview_data_button_cb, preview_comment_button_cb, window_new):
use toggle buttons and keep the buttons state in sync with the
preview content.
(info_bar_clicked_cb): fix the widget_to_focus logic.
--
* src/gthumb-window.c (set_preview_content)
(preview_image_button_cb, preview_data_button_cb)
(preview_comment_button_cb): added ability to change the preview
content.
* libgthumb/gth-image-list.c (gth_image_list_item_set_pixbuf): use
the gtk theme background color as check color.
(paint_item): paint the focus on the thumbnail if the filename is
not displayed.
* libgthumb/preferences.c (pref_get_view_mode): new function.
* libgthumb/gth-file-list.c (gth_file_list_init): use
pref_get_view_mode to get the view mode.
(gth_file_list_set_list): clear before setting the list
* src/commands-impl.c (alter_image_normalize_contrast_command_impl):
* src/commands-impl.c (alter_image_stretch_contrast_command_impl):
* libgthumb/async-pixbuf-ops.c (_gdk_pixbuf_iterate)
(_gdk_pixbuf_normalize_contrast):
(_gdk_pixbuf_stretch_contrast): implement normalize and stretch
contrast.
* src/commands-impl.c (file_save_command_impl):
* libgthumb/dlg-save-image.c (dlg_save_image):
* components/image-viewer/ui.c (verb_save_image): load the image
after saving it.
2003-04-20 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-categories.c (cancel_clicked_cb): always save the categories.
2003-04-07 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-file-utils.c (create_overwrite_dialog): use zoom_quality
not zoom_change.
* libgthumb/file-utils.c (application_get_command): do not escape
the command (bug #109619).
2003-04-06 Paul Duffy <dubhthach@frink.nuigalway.ie>
* configure.in: Added ga (irish) to ALL_LINGUAS
2003-04-06 Christian Neumair <chris@gnome-de.org>
* .cvsignore: Updated.
* src/commands-impl.c: UTF-8 escaped Copyright entry in about window.
2003-04-03 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-comment.c (dlg_edit_comment):
* src/dlg-image-prop.c (update_comment): set the cursor at the top
* libgthumb/thumb-cache.c (cache_get_nautilus_cache_name):
* libgthumb/comments.c (comments_get_comment_dir)
(comments_get_comment_filename): if a path cannot be resolved use
the user specified one, instead of returning NULL.
* src/gthumb_preferences.glade:
* src/dlg-preferences.c: remove the check type and size options,
just use good default values, though they can still be changed via
gconf.
* src/gthumb_comments.glade:
* src/dlg-comment.c (dlg_edit_comment): humanize the comment dialog.
2003-04-02 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gth-file-list.c (gth_file_list_prev_image)
(gth_file_list_next_image): skip broken images correctly.
2003-03-28 Dmitry G. Mastrukov <dmitry@taurussoft.org>
* configure.in: Added Belarusian to ALL_LINGUAS.
2003-03-25 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-file-utils.c (copy_next_file, folder_copy):
* src/commands-impl.c (folder_rename, folder_copy__response_cb):
* libgthumb/comments.h:
* libgthumb/comments.c (comments_get_comment_filename)
(comments_get_comment_dir): save comments dereferencing symbolic
links. (bug #109018)
2003-03-21 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (auto_load_library_cb,
catalog_list_drag_motion): added auto load for catalog libraries.
2003-03-18 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.h:
* src/gthumb-window.c (auto_load_cb, dir_list_drag_motion)
(window_new, close__step5): auto load a folder when hovering on
it during a 'drag & drop' operation, patch from
Jason Tackaberry <tack@auc.ca>
2003-03-16 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.1 released ]
2003-03-14 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-rename-series.c (get_image_date, update_list): add
ability to insert image date
2003-05-06 Yuriy Syrota <rasta renome.rovno.ua>
* configure.in: Added "uk" (Ukrainian) to ALL_LINGUAS.
2003-03-07 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/pixbuf-utils.c (_gdk_pixbuf_save_as_jpeg): use bpp
instead of 3.
* src/albumtheme-private.c (gth_expr_eval): fix problem with unary
operations.
2003-05-06 Duarte Loreto <happyguy_pt@hotmail.com>
* configure.in: Added "pt" to ALL_LINGUAS.
2003-03-01 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.h (GCONF_NOTIFICATIONS):
* src/gthumb-window.c (window_new): update back button style on
the fly.
* src/e-combo-button.c (e_combo_button_set_style): s/icon/icons/
2003-02-28 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.1.0 released ]
2003-02-25 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-loader.c (load_image_thread): check if path != NULL
* src/gthumb-window.c (window_show_prev_image)
(window_show_next_image): reinitialize the slideshow timer when
the user manually move to another image.
2003-02-24 Paolo Bacchilega <paolo.bacch@tin.it>
* many files: added ability to change image list view.
2003-02-17 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/file-utils.c (resolve_all_symlinks): unref uri
2003-02-15 Paolo Bacchilega <paolo.bacch@tin.it>
* data/albumthemes/*: added some web album themes.
* src/albumtheme.y:
* src/albumtheme.l:
* src/albumtheme-private.c:
* src/albumtheme-private.h:
* src/catalog-web-exporter.c:
* src/catalog-web-exporter.h:
* src/dlg-web-exporter.c:
* src/gthumb-window.c: implement a web album exporter.
2003-02-05 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-file-utils.c (file_progress_update_cb)
(file_delete_progress_update_cb, folder_progress_update_cb)
(real_files_delete__continue2): return FALSE on error, do not
display the error dialog when the operation is interrupted.
* src/dlg-convert.c (loader_done): use GTK_STOCK_NO instead of
GTK_STOCK_CANCEL.
2003-02-04 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dir-list.c (dir_list_update_icon_theme):
* src/gthumb-window.c (window_notify_update_icon_theme):
* src/main.c:
(theme_changed_cb, initialize_data, release_data): update the icon
theme on the fly.
2003-02-03 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gth-file-list.c (gth_file_list_prev_image)
(gth_file_list_next_image):
* src/gthumb-window.c (window_show_next_image)
(window_show_prev_image): slideshow include only selected images
when more than one image is selected (bug #99093).
* src/gthumb.schemas:
* src/gthumb-window.c (window_new, pref_black_background_changed)
* src/fullscreen.c (fullscreen_stop, fullscreen_start): added a
black_background option to always use a black background for the
image viewer.
2003-02-02 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gth-image-list.c (gth_image_list_realize): use italic
style for comments.
* libgthumb/catalog-png-exporter.[ch]: moved to src/
* libgthumb/gthumb-module.c:
* libgthumb/gthumb-module.h:
* src/Makefile.am:
* src/commands-impl.c: compile some tools as dynamic modules, and
load them only when needed.
2003-01-30 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gth-image-list.c (paint_item): do not paint the item
if the position is not computed yet.
* libgthumb/print-callbacks.c (print_image_dlg): ported to
libgnomeprint 2.2
2003-01-29 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gth-image-list.c:
* libgthumb/gth-image-list.h: new super fast widget.
* src/auto-completion.c (auto_compl_show_alternatives):
* src/bookmark-list.c (bookmark_list_set):
* src/main.c (get_default_folder_pixbuf_size):
* src/dir-list.c (dir_list_refresh_continue):
* src/main.h: do not hardcode the icon size, use the theme setting
instead.
* src/main.c (get_folder_pixbuf, get_folder_icon_path): use a
gnome_icon_theme object to get the folder icon.
* src/dlg-file-utils.c (folder_copy):
* src/commands-impl.c (folder_rename, folder_copy__response_cb): cannot
update the thumbnail cache any more.
* libgthumb/thumb-cache.h:
* libgthumb/thumb-cache.c: use the new thumbnail system.
2003-02-21 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in: Added Catalan (ca) to ALL_LINGUAS
2003-01-26 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.0.1 released ]
2003-01-26 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-list.c (image_list_clear): free the list.
2003-01-22 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gnome-canvas-thumb.c (render_to_pixmap): cache the
last rendered pixbuf.
2003-01-21 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/file-data.c (file_data_set_path): do not free
fd->utf8_name here.
2003-01-20 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 2.0.0 released ]
2003-01-20 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gnome-canvas-thumb.c:
* libgthumb/gnome-canvas-thumb.h:
* libgthumb/image-list.c:
* libgthumb/image-list.h: use only the pixmap and remove the
pixbuf field.
2003-01-19 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/catalog-png-exporter.c (catalog_png_exporter_interrupt)
(catalog_png_exporter_init, load_next_file):
* src/dlg-png-exporter.c (dlg_exporter): fix #103825 and #103826
* src/gthumb-window.c (window_set_file_list_continue): update
sensitivity after setting the file list (fix #103819).
2003-01-15 Paolo Bacchilega <paolo.bacch@tin.it>
* doc/C/ficures/*.png: updated images.
* doc/C/gthumb.xml: updated manual.
2003-01-12 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-jpegtran.c (load_current_image): make rotation buttons
not sensitive while loading the image.
* src/commands-impl.c (edit_duplicate_file_command_impl):
duplicate all images not only the first one.
* libgthumb/gthumb-init.c (ensure_directories_exist): remove the
old config file if present.
2003-01-09 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-file-utils.h:
* src/dlg-file-utils.c: when moving to trash overwrite without asking.
* configure.in: require libexif >= 0.5.8
* src/jpegutils/jpeg-marker.c:
* src/jpegutils/jpeg-marker.h:
* src/jpegutils/jpeg-data.c:
* src/jpegutils/jpeg-data.h: new files, used to save jpeg data.
* src/dlg-jpegtran.c (swap_xy_exif_fields, swap_fields): update
exif information after rotating an image.
2003-01-08 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-jpegtran.c (help_cb): add the help button.
* doc/C/gthumb.xml: updated.
2003-01-06 Paolo Bacchilega <paolo.bacch@tin.it>
* gthumb.desktop.in: added StartupNotify, X-GNOME-Bugzilla-* and
X-GNOME-DocPath fields.
* libgthumb/file-list.h:
* libgthumb/file-list.c (update_thumbnails_cb): interrupt
thumbnails creation before starting it again.
2003-01-04 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 1.108 released ]
2003-01-02 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/file-list.c (add_list_in_chunks): restore thumbnail
creation when interrupted.
2003-01-01 Artis Trops <hornet@navigator.lv>
* configure.in: Added Latvian (lv) to ALL_LINGUAS.
2002-12-31 Abel Cheung <maddog@linux.org.hk>
* configure.in: Add da and zh_TW to ALL_LINGUAS
2002-12-31 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-image-prop.c (update_exif_data): display exif tags in a
better order and avoid duplicates.
2002-12-26 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/file-data.c (file_data_update):
(file_data_new): update name and utf8_name fields correctly.
* src/gthumb-ui.xml: s/Manual/Content/
2002-12-24 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-image-prop.c (update_general_info): fixed bug, patch
from Jason Tackaberry <tack@auc.ca>
2002-12-23 Paolo Bacchilega <paolo.bacch@tin.it>
* src/fnmatch.[ch]: removed.
* libgthumb/glib-utils.c:
* libgthumb/search.c:
* libgthumb/comments.c:
* libgthumb/catalog-png-exporter.c:
* libgthumb/file-list.c:
* libgthumb/file-data.c:
* libgthumb/gtk-utils.c:
* libgthumb/gthumb-text-item.c:
* libgthumb/image-list.c:
* libgthumb/print-callbacks.c (print_image_dlg): do not convert
comments in locale format, handle them in utf8 format instead.
* libgthumb/file-list.c:
(gth_file_list_update_next_thumb): update only visible thumbnails.
2002-12-22 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 1.107 released ]
2002-12-22 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-list.c (gil_relayout_images_at): use always the
same function to compute the max height.
2002-12-20 Paolo Bacchilega <paolo.bacch@tin.it>
* README: updated.
* libgthumb/image-loader.c: added some missing locks.
* libgthumb/image-list.c (truncate_comment_if_needed): handle in a
special way the common case in which the comment is void.
2002-12-19 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-ui.xml: use a shorter label for the 'slide show'
toolbar item.
2002-12-18 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c (edit_delete_comment_command_impl): free
allocated data.
2002-12-15 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-file-utils.c (folder_copy): do not check dest_dir when
the operation is DELETE.
* src/dir-list.c (dir_list_get_row_from_path): rename a variable
to avoid ambiguity.
2002-12-13 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c (help_about_command_impl): remove 'The'
* src/dlg-image-prop.c (dlg_image_prop_new): use the 'unknown'
pixbuf when the image cannot be loaded.
2002-12-12 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-image-prop.c (update_general_info): use a GtkImage widget
instead of the ImageViewer widget.
* src/gthumb-window.c (window_close): remove the monitor before
closing the window.
2002-12-08 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-image-prop.c (dlg_image_prop_update, update_title):
always update the title.
2002-12-07 Paolo Bacchilega <paolo.bacch@tin.it>
* components/image-viewer/GNOME_GThumb_Viewer.server.in.in: added
x-tga to the supported mime type list.
* libgthumb/dlg-save-image.c:
* libgthumb/dlg-save-image.h: moved from src to libgthumb
* components/image-viewer/ui.c (verb_save_image): added 'Save
Image' function.
2002-12-06 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c:
* src/gthumb-window.h:
* src/commands-impl.c:
* src/dlg-posterize.c:
* src/dlg-brightness-contrast.c:
* src/dlg-color-balance.c:
* src/dlg-hue-saturation.c:
* libgthumb/async-pixbuf-ops.c:
* libgthumb/async-pixbuf-ops.h:
* libgthumb/gth-pixbuf-op.h:
* libgthumb/gth-pixbuf-op.c: make image operations asynchronous
and cancellable (bug #99543).
2002-12-05 Paolo Bacchilega <paolo.bacch@tin.it>
* src/main.c (all_windows_update_browser_options): check
PREF_SHOW_COMMENTS not PREF_SHOW_THUMBNAILS.
* src/commands-impl.c (help_about_command_impl): make copyright
translatable.
2002-12-04 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (go_to_directory__step2): interrupt thumb
list setting before changing directory.
* libgthumb/gnome-canvas-thumb.c (RECALC_BOUNDS):
* libgthumb/image-list.c (IMAGE_LINE_HEIGHT, STRING_IS_VOID): make
some functions 'inline' functions.
* src/dlg-file-utils.c (copy_next_file): copy metadata correctly.
* libgthumb/catalog-png-exporter.c (image_data_free):
* src/dir-list.c (dir_list_get_row_from_path): memory leaks fixed
2002-12-03 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/comments.c (comments_save_comment)
(comments_save_categories):
(comments_save_comment, comments_save_comment_non_null): fix
memory leaks.
* src/gth-folder-selection-dialog.c
(gth_folder_selection_destroy): destroy recents data.
* src/dlg-image-prop.c (dlg_image_prop_close): new function used
to close the properties dialog.
* libgthumb/image-loader.c (image_loader_stop): emit a signal only
if there is an operation to stop.
* src/gthumb-window.c (close__step5): NULL-ify
window->image_prop_dlg and window->popup_menu after destroying them.
* src/gthumb_search.glade: use sentence capitalization where
appropriate.
2002-12-02 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-comment: make "from exif data" option insensitive if no
exif data is available.
* src/gthumb_comments.glade: make the dialog bigger.
* src/dlg-image-prop.c (dlg_image_prop_update): update a tab only
when needed.
* libgthumb/comments.c (comments_load_comment): check NULL pointer.
* src/gthumb_comments.glade:
* src/dlg-comment.c: changed dialog layout.
2002-12-01 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gth-folder-selection-dialog.c (folder_sel__response_cb):
move last folder to the top.
* libgthumb/image-list.c (image_get_view_mode): check whether the
string is NULL (attempt to fix #100031)
2002-11-29 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-search.c (cache_dir): ignore the .nautilus folder when
searching.
* src/dlg-file-utils.c (copy_next_file, folder_copy): fix memleak.
2002-11-29 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 1.106 released ]
2002-11-28 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (key_press_cb): popup file context menu when
the user press Shift-F10.
* src/gtkorientationbox.c: remove useless variables.
* src/jpegutils/transupp.c (SAVE_MARKERS_SUPPORTED): save markers.
* src/gtkorientationbox.c:
* src/gtkorientationbox.h:
* src/gthumb-window.c (window_notify_update_toolbar_style):
* src/e-combo-button.c (e_combo_button_set_style): keep the
combo button style in sync with the toolbar style.
2002-11-26 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-file-utils.c (copy_item__continue1): arifixed #99430
(dlg_check_folder): fixed #99629
* src/gth-folder-selection-dialog.c (list_view_activated_cb):
fixed bug.
* src/dlg-search.c (directory_load_cb, cache_dir): fix bug #99424
* src/gthumb-window.c (viewer_drag_data_received): create a
catalog when files are dropped into the viewer.
* gthumb.spec.in : updated
* src/gthumb-window.c (dir_list_button_press_cb)
(dir_list_button_release_cb, catalog_list_button_press_cb)
(catalog_list_button_release_cb): fix bug #99570
* src/dlg-file-utils.c (folder_copy): fix bug #99577
2002-11-25 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gth-folder-selection-dialog.c: added a recent folders list.
* src/gthumb-window.c (dir_list_drag_data_received)
(dir_list_drag_motion, dir_list_drag_leave)
(location_entry_drag_data_received)
(catalog_list_drag_data_received, catalog_list_drag_motion)
(catalog_list_drag_leave, window_new): implements moving files and
folder via drag & drop.
* src/dlg-file-utils.h:
* src/dlg-file-utils.c (dlg_check_folder): new function to check
folder existence and permissions. If the folder does not exists
the user is asked whether he wants to create it.
* src/dlg-png-exporter.c (export):
* src/commands-impl.c (folder_copy__response_cb):
* src/dlg-file-utils.c (file_move_response_cb, file_copy_response_cb):
use the new function.
2002-11-24 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gthumb-histogram.c (gthumb_histogram_calculate):
reset values when the pixbuf is NULL.
* src/gthumb-window.c (pref_click_policy_changed):
* src/catalog-list.c (catalog_list_update_underline): update the
catalog list when the click policy changes.
* libgthumb/catalog-png-exporter.c:
* libgthumb/catalog.c:
* src/dlg-catalog.c:
* src/commands-impl.c:
* src/gthumb-window.c:
* src/dlg-png-exporter.c:
* src/dlg-file-utils.c:
* src/gthumb-ui.xml:
* src/dlg-save-image.c: fixed bug #99427, #99430, #99431, #99433.
* libgthumb/thumb-cache.c (nautilus_cache_remove_old_previews_async):
* libgthumb/comments.c (comments_remove_old_comments_async):
fix dialog message (bug #99135).
* src/dlg-file-utils.c (create_overwrite_dialog): added an
option to specify a new name in the overwrite dialog.
2002-11-23 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-convert.c (save_image_and_remove_original):
* src/dlg-jpegtran.c (apply_tran): notify changes to all windows.
* src/gthumb-window.c:
* src/commands-impl.c:
* src/dlg-file-utils.c:
* src/dlg-file-utils.h: implement "Move to Trash" files and
folders, "Copy" and "Move" folders. Reimplement copying and moving
of files using gnome-vfs.
2002-11-22 Paolo Bacchilega <paolo.bacch@tin.it>
* src/e-combo-button.c (paint): restore the old style.
* src/gthumb-ui.xml:
* src/gthumb-window.c (setup_toolbar_combo_button): use the combo
button for the "Back" button, remove the "Edit image" combo
button, add an "Image" menu and move the "Go" menu in the "View" menu.
* libgthumb/gthumb-histogram.c: new file.
* libgthumb/pixbuf-utils.c (_gdk_pixbuf_adjust_levels):
Added "equalize histogram" and "auto adjust levels" operations.
Patch from Jason Tackaberry <tack@auc.ca>
2002-11-21 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-bookmarks.c (dlg_edit_bookmarks_update): fix bug #99121.
* src/gthumb-window.c (image_requested_error_cb): set the viewer void
is the image could not be loaded.
* src/gth-folder-selection-dialog.c
(gth_folder_selection_construct): let the folder entry activates
the default action.
* src/*.glade: bug #99044 again.
* src/main.c:
* src/main.h:
* src/commands-impl.c (file_exit_command_impl)
(folder_copy__response_cb): fix bug #99140
* src/gthumb-window.c (close__step5): fix bug #99151.
2002-11-20 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (key_press_cb, viewer_key_press_cb): popup a
context menu when the user press Shift-F10.
* src/gthumb-ui.xml: add ellipses to "Rename"
* src/gth-folder-selection-dialog.c (file_sel_ok_clicked_cb): do
not convert the folder name to utf8.
* src/gthumb-window.c (window_update_sensitivity):
* src/dlg-jpegtran.c (dlg_jpegtran): fix bug #98755
* src/gth-folder-selection-dialog.c (gth_folder_selection_construct):
* src/*.glade: fix bug #99044.
* src/gthumb-window.h:
* src/dlg-bookmarks.c (dlg_edit_bookmarks):
* src/dlg-comment.c (dlg_edit_comment):
* src/dlg-categories.c (dlg_categories): fix bug #99045
* src/dlg-open-with.c (open_with_cb)
(recent_list_selection_changed_cb, app_list_selection_changed_cb):
fix bug #99032
* src/gthumb-window.c (rename_subdir): fix bug #99037.
* src/gthumb-ui.xml: add ellipses and underscores (bug #99041).
* libgthumb/file-utils.c (escape_underscore):
* src/gthumb-window.c (add_bookmark_menu_item): fix bug #99042.
* src/commands-impl.c (folder_move__response_cb): fix bug #99036.
* src/gthumb-window.c (file_list_double_click_cb, window_new):
* libgthumb/image-list.c (selection_many_image_event): fix bug #99028.
2002-11-19 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-file-utils.c (dlg_folder_copy): new function.
* src/commands-impl.c (folder_move__response_cb): use
dlg_folder_copy to move the folder if destination is not on the
same file system.
* src/gthumb-window.c: reorganized in order to avoid forward
declarations.
* src/gthumb-window.c (add_history_item): remove duplicated
locations before adding a new one.
* libgthumb/bookmarks.c (bookmarks_remove_all_instances): new function.
* libgthumb/bookmarks.h: remove useless function
bookmarks_add_with_prefix.
* src/main.c (initialize_data): use absolute paths.
2002-11-18 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-search.c (search_images_async): fixed search_comments
condition.
* libgthumb/gtk-utils.c (_gtk_message_dialog_new):
* src/gth-folder-selection-dialog.c (gth_folder_selection_construct):
* src/*.glade: make dialogs more HIG compliant.
2002-11-17 Paolo Bacchilega <paolo.bacch@tin.it>
* src/e-combo-button.c (paint): paint the combo button as a single
button.
* src/dlg-search.c (search_images_async): if the search criteria
include comment data just search in the comments tree.
* libgthumb/bookmarks.c (bookmarks_add): added a parameter to choose
whether to append or to prepend an item to the bookmarks.
This is usefull because bookmark items are appended while history
items are prepended.
* src/commands-impl.c (edit_current_edit_comment_command_impl)
(edit_current_edit_categories_command_impl): new functions to edit
current image comment and categories.
* src/fullscreen.c (image_key_press_cb):
* src/gthumb-window.c: use the above functions.
* libgthumb/gthumb-stock.c: added the edit_image stock image.
* src/gthumb-window.c (window_enable_thumbs): change
View_Thumbnail command state if needed.
(window_update_sensitivity)
(combo_button_activate_default_callback)
(setup_toolbar_combo_button, window_new):
* src/gthumb-ui.xml: add to the viewer toolbar a combo button with
the editing commands.
* src/e-combo-button.c:
* src/e-combo-button.h: the combo button implementation, taken
from evolution.
* src/gthumb-ui.xml: add the 'color balance' command to the
Edit->Image menu.
2002-11-16 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (stop__step2): set changing_directory to FALSE
(stop__step3): set setting_file_list to FALSE
* src/commands-impl.c (edit_delete_comment_command_impl): remove
only the comment not the keywords.
* src/gthumb-window.c (window_update_sensitivity): disable the
slideshow if no image is present.
* src/gthumb-ui.xml: make all labels translatable.
2002-11-15 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gth-folder-selection-dialog.c:
* src/gth-folder-selection-dialog.h: A folder selection widget.
* src/commands-impl.c (folder_move_response_cb):
* src/commands-impl.c (folder_move):
* src/dlg-file-utils.c (file_move_response_cb, dlg_file_move)
(file_copy_response_cb, dlg_file_copy): Use the new widget.
* libgthumb/file-list.c:
* src/dlg-scale-image.c:
* src/dlg-posterize.c:
* src/dlg-jpegtran.c:
* src/dlg-image-prop.c:
* src/dlg-hue-saturation.c:
* src/dlg-convert.c:
* src/dlg-color-balance.c:
* src/dlg-brightness-contrast.c: do not include
gnome-vfs-mime-sniff-buffer.h
2002-11-14 Paolo Bacchilega <paolo.bacch@tin.it>
* src/bookmark-list.c (bookmark_list_new): set rules hint to false.
2002-11-14 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 1.105 released ]
2002-11-14 Paolo Bacchilega <paolo.bacch@tin.it>
* src/Makefile.am (DIST_SUBDIRS): add jpegutils to DIST_SUBDIRS
* src/gthumb-window.c (pref_show_thumbnails_changed): use window
not window->file_list.
2002-11-13 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (file_selection_changed_cb): update the
statusbar after a timeout to reduce the number of updates.
* components/image-viewer/GNOME_GThumb_Viewer.xml.in:
s/Black and White/Desaturate/
2002-11-12 Paolo Bacchilega <paolo.bacch@tin.it>
* src/fullscreen.c (fullscreen_stop): restore window position.
2002-11-10 Kjartan Maraas <kmaraas@gnome.org>
* configure.in (ALL_LINGUAS): Added "no".
2002-11-10 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-ui.xml:
* libgthumb/catalog.c (delete_catalog_dir): fixed some string typos.
2002-11-09 Hasbullah Bin Pit <sebol@ikhlas.com>
* configure.in: Added ms to ALL_LINGUAS.
2002-11-09 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/file-list.c (add_list_in_chunks)
(add_list__get_file_info_done_cb)
(set_list__get_file_info_done_cb): Add images in chunks to make
the list more responsive.
* src/gthumb-window.c (window_load_image): check whether
filename == window->image_path
2002-11-07 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gthumb-init.c (gthumb_init): use functions to
migrate to the new directories.
(migrate_to_new_directories, migrate_file_from_to)
(migrate_dir_from_to): new functions
* src/dlg-convert.c:
* src/commands-impl.c:
* src/gthumb-window.c: Fixed some unicode/i18n bugs.
* src/dlg-save-image.c (dlg_save_image): use image filename as
default value.
* src/dlg-change-date.c: added "change date" tool.
2002-11-06 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb.schemas: use system style as default toolbar style.
* src/gthumb-ui.xml: add labels to toolbar
* libgthumb/gnome-canvas-thumb.c (gnome_canvas_thumb_draw): make
thumbnails white, and paint the selection as a colored frame.
2002-11-05 Paolo Bacchilega <paolo.bacch@tin.it>
* src/main.c: Added SM support.
2002-11-05 Stanislav Brabec <sbrabec@suse.cz>
* configure.in: Added cs to ALL_LINGUAS.
2002-11-03 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (add_bookmark_menu_item):
* libgthumb/bookmarks.c:
* src/dlg-bookmarks.c: do not sort bokkmarks, let the user modify
the bookmarks order instead.
* libgthumb/bookmarks.c (get_menu_item_name): use relative path
for folders under the home dir, full path for other folders and
relative path for catalogs.
2002-10-31 Christian Neumair <chris@gnome-de.org>
* gthumb.desktop.in: Moved text from generic to name line so that gnome
displays it in its menu.
2002-10-31 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/icons/Makefile.am (EXTRA_DIST): remove unknown.xpm
* src/dlg-scale-image.c: implement unit change.
(ok_cb): save options.
* src/dlg-save-image.c (file_save_ok_cb): handle overwrite.
* libgthumb/catalog.c (error_on_saving): s/file/catalog/g
* src/gthumb-ui.xml: Fixed duplicated mnemonics again.
Use 'delete' for files and 'remove' for comments and catalogs.
* src/dlg-rename-series.c:
* src/dlg-convert.c: save options.
* libgthumb/preferences.h:
* libgthumb/pixbuf-utils.c (_gdk_pixbuf_save_as_tiff):
* src/dlg-save-image.c (dlg_save_options): added resolution option
to the tiff saver.
(dlg_save_options): save options.
* configure.in: set GETTEXT_PACKAGE to gthumb
2002-10-30 Christian Neumair <chris@gnome-de.org>
* src/gthumb-ui.xml: Fixed some duplicate mnemotics.
2002-10-29 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-ui.xml: make dialogs more HIG compliant.
* src/gthumb-window.c (window_notify_catalog_new):
* src/main.c (all_windows_notify_catalog_new):
* src/commands-impl.c (edit_current_catalog_new_command_impl):
added 'New Catalog' command.
* libgthumb/pixbuf-utils.c: added copyright notes.
2002-10-28 Paolo Bacchilega <paolo.bacch@tin.it>
* added a simple image editor.
2002-10-12 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (hide_sidebar_idle, file_button_press_cb):
make double-clicking on a thumbnail hide the sidebar. Use a
timeout to avoid that the viewer gets the button press event.
* src/dlg-image-prop.c (dlg_image_prop_new):
* src/gthumb.glade: define the image properties window as a window
not as a dialog.
* libgthumb/preferences.h:
* libgthumb/file-list.c (file_list_update_thumbs):
* libgthumb/thumb-loader.c (thumb_loader_init): add a gconf key
for the max file size over which thumbnails are not generated.
* libgthumb/thumb-loader.c (thumb_loader_start): emit DONE instead
of ERROR when the file size exceeds the limit.
2002-10-09 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-catalog.c (dlg_move_to_catalog_directory)
(dlg_add_to_catalog): center dialog on parent.
* src/dlg-image-prop.c:
* src/gthumb.glade: make the properties dialog navigable with the
keyword.
2002-10-08 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c (folder_rename): remove the VFS monitor before
renaming a folder.
2002-10-07 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-ui.xml: add stock icon to the Go_Stop command.
* src/gthumb-window.c (stop__step5, window_update_sensitivity):
update the Go_Stop command sensitivity when appropriate.
* src/gthumb-window.c (item_toggled_handler, window_new)
* src/gthumb-window.h: add notifications for
PREF_UI_TOOLBAR_VISIBLE and PREF_UI_STATUSBAR_VISIBLE preferences.
2002-10-06 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/catalog-png-exporter.c (paint_frame): remove special dirs
from the destination directory before getting the relative path.
2002-10-05 Paolo Bacchilega <paolo.bacch@tin.it>
* Ported to gconf.
2002-10-01 Paolo Bacchilega <paolo.bacch@tin.it>
* src/jpegutils/*: New files. Implement an internal jpegtran if
we have libjpeg.
* src/dlg-jpegtran.c (apply_tran): use the internal jpegtran if
available.
2002-10-01 Paolo Bacchilega <paolo.bacch@tin.it>
[ gthumb 1.104 released ]
2002-09-29 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-jpegtran.c (apply_tran): escape image path.
* src/gthumb-ui.xml: use a different popup menu when in fullscreen
mode.
* libgthumb/gthumb-slide.c (draw_shadow): make the shadow shaded.
2002-09-23 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-loader.c (load_image_thread): Use a single
thread for loading images instead of creating a thread each time
an image must be loaded.
2002-09-20 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c: Added "duplicate image" operation.
2002-09-17 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-loader.c: Use a thread to load images with the
gdk_pixbuf_animation_new_from_file function, this let us getting
rid of the gdk_pixbuf_loader which is slower and buggy.
2002-09-16 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/md5.c:
* libgthumb/md5.h: new files, taken from textutils.
* src/dlg-duplicates.c: do not use the md5sum external command,
use the internal implementation instead.
2002-09-14 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/catalog-png-exporter.c (load_next_file):
* src/dlg-png-exporter.c (export_info): display some usefull info
while making the index.
2002-09-13 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-comment.c (date_exif_clicked_cb): added ability to
import the date from the EXIF data.
* src/dlg-duplicates.c (find_checksum_command): check whether the
user have sha1sum or md5sum.
2002-09-12 Paolo Bacchilega <paolo.bacch@tin.it>
* components/catalog-view/*: catalog viewer.
* src/dlg-duplicates.c:
* src/dlg-duplicates.h: implements the "find duplicates" tool.
2002-09-11 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-image-prop.c (dlg_image_prop_new): always define
scrolled_window and i_notebook.
2002-08-31 Paolo Bacchilega <paolo.bacch@tin.it>
* components/image-viewer/viewer-nautilus-view.c (viewer_nautilus_view_load_location): unescape the location before asking the Stream.
2002-08-30 Paolo Bacchilega <paolo.bacch@tin.it>
* components/image-viewer/viewer-control.c:
* components/image-viewer/viewer-control.h:
* components/image-viewer/viewer-nautilus-view.c:
* components/image-viewer/viewer-nautilus-view.h:
* components/image-viewer/ui.c: Added "Print" command to the control.
* libgthumb/print-callbacks.c:
* libgthumb/print-callbacks.h: moved here so the control can use it.
* src/fullscreen.c (fullscreen_new): Use the old way of doing
fullscreens if the WM do not support WM_STATE_FULLSCREEN, and if this
is the case disable the ability of deleting images and editing
comments.
2002-08-29 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_update_infobar): remove useless tooltip.
* libgthumb/image-viewer.c (image_viewer_size_allocate): skip
size_changed signal emition when changing frame.
* src/dlg-comment.c (ok_clicked_cb): store even hour:min:sec
* src/fullscreen.c (get_file_info): add misc file information.
(show_comment_on_image): improve comment layout.
* libgthumb/gthumb-canvas-text.c:
* libgthumb/gthumb-canvas-text.h:
* src/print-callbacks.c:
* src/gthumb_print.glade2: Optionally print the comment.
2002-08-26 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-list.c:
* libgthumb/image-viewer.c: s/uint/guint/g
* src/commands-impl.c (view_image_prop_command_impl):
* src/commands-impl.h:
* src/gthumb-window.c (image_loaded_cb):
* src/gthumb-window.h:
* src/dlg-image-prop.c: Image properties dialog. Display image
properties and EXIF data.
2002-08-23 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/preferences.c (preferences_load): changed default
transparency type to TRANSP_TYPE_NONE.
* src/gthumb-window.c (window_sync_menu_with_preferences): new
function.
* src/main.c (all_windows_update_viewer_options): sync menu with
preferences.
* src/gthumb-window.c (window_update_title): make the title HIG
compliant.
2002-08-17 Paolo Bacchilega <paolo.bacch@tin.it>
* src/fullscreen.c (fullscreen_start): hide the main window.
(fullscreen_stop): show the main window.
2002-08-10 Paolo Bacchilega <paolo.bacch@tin.it>
* src/fnmatch.c:
* src/fnmatch.h:
* src/dlg-search.c:
* configure.in:
* acinclude.m4:
* Makefile.am : Cope with systems that do not have FNM_CASEFOLD
defined.
* src/dir-list.c (dir_list_interrupt_change_to):
* libgthumb/file-utils.c (path_list_async_interrupt): Added a DoneFunc
argument.
* src/gthumb-window.c: Use the new argument.
2002-08-05 Paolo Bacchilega <paolo.bacch@tin.it>
* src/catalog-list.c (catalog_list_refresh):
* src/dir-list.c (dir_list_refresh_continue): Use an upward arrow for
the ".." entry.
* src/dir-list.c (add_columns):
* src/gthumb-window.c (dir_button_press_cb):
(catalog_button_press_cb):
* libgthumb/preferences.c (preferences_init): Follow the same button
click policy of Nautilus.
2002-07-31 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (make_url_list): prepend "file://" for the
uri-list target.
2002-07-27 Paolo Bacchilega <paolo.bacch@tin.it>
* components/image-viewer/Makefile.am (libexec_PROGRAMS): install
in libexec.
2002-07-26 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-jpegtran.c:
* src/dlg-jpegtran.h: JPEG lossless transformations tool.
2002-07-23 Paolo Bacchilega <paolo.bacch@tin.it>
* src/fullscreen.c (show_comment_on_image): Show even the filename.
* libgthumb/file-list.c (file_list_update_thumb):
* src/gthumb-window.c (directory_changed):
(_window_sync_changes): New functions.
(set_dir_list_continue): Add a monitor on the directory.
2002-07-19 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_new):
(window_notify_update_layout): Changed layout number four.
2002-07-18 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-preloader.c: rename gthumb_preloader_set_paths to
gthumb_preloader_start and remove the old gthumb_preloader_start. This
fix a bug when interrupting the loader.
2002-07-17 Paolo Bacchilega <paolo.bacch@tin.it>
* src/fullscreen.c (show_comment_on_image): New function.
(image_key_press_cb): Use it when the user press 'c'.
* configure.in (RENDER_LIBS): Checks for Xft/XRender
2002-07-14 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c (file_new_window_command_impl): Open the new
window in the same location of the old window.
2002-07-12 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-open-with.c (open_cb): re-display the dialog if an error
occurred.
2002-07-11 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-open-with.c (exec_command): Use g_spawn instead of
gnome_exec, and display an error message if needed.
* src/dlg-maintenance.c:
* src/dlg-maintenance.h: New files. Put all maintenance functions in
a dialog.
* src/gtkcellrendererthreestates.h:
* src/gtkcellrendererthreestates.c:
* src/dlg-comment.c:
* src/dlg-categories.c: Comments and categories have separate dialogs
now. Better handling of categories when many images have been
selected.
2002-07-10 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-comment.c (ok_clicked_cb): Delete empty comments.
2002-07-09 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb_comments.glade2: added "save only changed fields" option.
* src/dlg-comment.c (ok_clicked_cb): Implement the "save only changed
fields" option.
* libgthumb/comments.c (comments_get_comment_as_string): changed
comment layout.
(comments_save_comment_non_null): New function save only non-empty
fields.
2002-07-08 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-list.c (image_list_remove): Do not update the width
after deleting images.
* src/commands-impl.c (view_zoom_fit_command_impl):
* src/gthumb-ui.xml: make zoom_fit a stateless command.
2002-07-07 Paolo Bacchilega <paolo.bacch@tin.it>
* README: Updated to GNOME 2.
* configure.in: Updated required lib versions.
2002-07-05 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-viewer.c (image_viewer_button_release): Do not emit
the click signal if the viewer was not focused before the button press
event.
* libgthumb/file-list.c (file_list_select_image_by_pos):
* libgthumb/image-list.c (image_list_image_is_visible):
* libgthumb/image-list.h: Define a more fine grained visibility type.
* libgthumb/bookmarks.c (bookmarks_remove_from):
(bookmarks_remove): remove the path from the hash tables only when
it is no more present in the list.
* src/gthumb-window.c (notify_files_deleted): freeze the list before
deleting.
* configure.in: Add AC_PREREQ(2.52)
2002-06-30 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c (folder_rename): check whether new_path and
old_path are the same.
(edit_folder_move_command_impl):
(edit_current_folder_move_command_impl):
(folder_move):
(folder_move__destroy_cb): Implement the "Move Folder" command.
2002-06-29 Paolo Bacchilega <paolo.bacch@tin.it>
* src/main.c (create_default_categories_if_needed): Add default
categories.
2002-06-28 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (image_clicked_cb): New function : show next
image when left click on an image.
2002-06-27 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/thumb-cache.c (cache_copy):
(cache_move): Set the mtime of the new thumbnail to the mtime of the
destination.
* src/gthumb_png_exporter.glade2:
* libgthumb/catalog-png-exporter.c (get_footer_text):
(get_header_text):
(get_hf_text):
(export):
(paint_footer): Use %p to insert page number and %n to insert the
total number of pages.
2002-06-24 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_new): use gtk_paned_pack insted of
gtk_paned_add, and set a size request for the image viewer and image
list.
* src/main.c (all_windows_notify_files_rename):
* src/dlg-rename-series.c:
* src/dlg-file-utils.c (dlg_file_rename_series): Implements rename
series.
* libgthumb/gthumb-slide.c (gthumb_draw_image_shadow_out):
(gthumb_draw_image_shadow_in): Implements SHADOWN_IN and SHADOW_OUT
styles.
* libgthumb/glib-utils.c (_g_substitute): new function.
* libgthumb/catalog-png-exporter.c (catalog_png_exporter_set_header):
(catalog_png_exporter_set_footer): allow NULL values.
(paint_frame): added SHADOW_IN and SHADOW_OUT styles.
* gthumb.desktop.in: make entries specification compliant.
2002-06-20 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-ui.xml
* libgthumb/catalog-png-exporter.c:
* libgthumb/catalog-png-exporter.h:
* src/dlg-png-exporter.h:
* src/dlg-png-exporter.c: Implemented header and footer support.
2002-06-18 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-preferences.c: add the toolbar style option.
* src/gthumb-window.c (window_notify_update_toolbar_style): New
function, update toolbar style according to preferences.
2002-06-16 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-search.c: Remove MAX_CATEGORIES.
* doc/C/gthumb.xml: Sync manual with UI changes. Added the preferences
dialog documentation.
* src/dlg-preferences.c (dlg_preferences): Add the help button.
2002-06-15 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gtk-utils.c (_gtk_error_dialog_run):
(_gtk_info_dialog_run): Set the parent window.
* src/gthumb-window.c (view_image_at_pos): reload the image if the
mtime changed.
* src/dlg-png-exporter.c: Use the new name template functions.
* src/commands-impl.c (alter_image_rotate_command_impl): Set mtime to 0
after altering an image so when clicking on the thumbnail the image
get reloaded.
* src/auto-completion.c (auto_compl_show_alternatives): Use the library
icon if we are navigating the catalogs.
* libgthumb/pixbf-utils.c: remove pixbuf_to_file_as_png, use
gdk_pixbuf_save instead.
* libgthumb/nav-window.c (NAV_WIN_MAX_WIDTH): change the max window
size from 128 to 112.
* libgthumb/gthumb-slide.c (gthumb_draw_frame_shadow):
(gthumb_draw_image_shadow): New functions.
* libgthumb/glib-utils.c (_g_get_template_from_text): New function.
(_g_get_name_from_template): New function.
* libgthumb/file-utils.c (get_path_relative_to_dir): New function.
(remove_special_dirs_from_path): New Function.
* libgthumb/catalog-png-exporter.h: Added new frame style :
FRAME_STYLE_SIMPLE_WITH_SHADOW.
* libgthumb/catalog-png-exporter.c (paint_comment): New function to
paint comments with italic font.
(catalog_png_exporter_set_name_template): New function.
(catalog_png_exporter_set_start_at): New function.
(catalog_png_exporter_set_header):
(catalog_png_exporter_set_header_font):
(catalog_png_exporter_set_header_color):
(catalog_png_exporter_set_footer):
(catalog_png_exporter_set_footer_font):
(catalog_png_exporter_set_footer_color): New functions, not implemented
yet.
(export): Do not try to paint an image when the pixbuf is NULL.
(begin_page): Use _g_get_name_from_template to get filename.
* configure.in: remove the libpng check we use gdk_pixbuf_save to save
png images now.
2002-06-03 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/gthumb-slide.h:
* libgthumb/gthumb-slide.c: New file.
* libgthumb/catalog-png-exporter.c (get_relative_path): New function.
(paint_frame): use get_relative_path to set the image path in the HTML
area.
* src/dlg-png-exporter.c (export): If the destination directory does
not exist ask the user whether to create it.
* libgthumb/gtk-utils.c (_gtk_info_dialog_run): New function.
* src/dlg-search.c (update_list_from_entry): New function to set the
category list from the content of the category entry.
(choose_categories_cb):
(dlg_search_ui): Use update_list_from_entry.
* libgthumb/preferences.c (preferences_load): Set
ZOOM_CHANGE_FIT_IF_LARGER as the default zoom change.
2002-06-02 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c (rename_file): Do not rename a file if source and
destination are the same.
(help_about_command_impl): Do not allow more than one about dialog.
* libgthumb/gtk-utils.c (_gtk_yesno_dialog_new): New function.
* src/dlg-file-utils.c (dlg_file_delete):
* src/commands-impl.c (rename_file):
(edit_remove_from_catalog_command_impl):
(folder_delete):
(catalog_delete): Use _gtk_yesno_dialog_new when appropriate.
2002-06-01 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/preferences.c:
* src/gthumb-window.c: Save and restore toolbar and statusbar
visibility.
2002-05-30 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb_search.glade2:
* src/dlg-search.c: Added "Choose Categories" dialog.
* libgthumb/preferences.c (preferences_load): Set go_to_last_localtion
the default behaviour.
* src/gthumb-preloader.c (gthumb_preloader_set_paths): Use MAX priority
for the requested image, DEFAULT priority for other images.
* libgthumb/image-loader.c (image_loader_set_priority): New function.
* src/gthumb-preloader.c:
* src/gthumb-windowr.c: Load even current image with the preloader,
this let us avoid a redundant loading that occured with the previous
implementation.
* libgthumb/gthumb-text-item.c (gthumb_text_item_destroy):
* src/gthumb-window.c (window_update_statusbar_list_info): plug a few
memleaks.
2002-05-29 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-ui.xml: Added the entry : View->Black and White.
* libgthumb/image-viewer.c (image_viewer_alter): ALTER_GRAY added.
* libgthumb/pixbuf-utils.c (pixbuf_copy_gray): The function that
implements the desaturation.
* libgthumb/image-loader.c (image_loader_load_from_image_loader):
* libgthumb/image-viewer.c (image_viewer_load_from_image_loader): New
functions used by the preloader.
* src/gthumb-window.c: Use the preloader.
* src/gthumb-preloader.c:
* src/gthumb-preloader.h: Added an image preloader.
2002-05-28 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/thumb-cache.c (cache_move):
(cache_copy): overwrite destination.
* libgthumb/comments.c (comment_copy):
(comment_move): overwrite destination.
* src/dlg-file-utils.c (dlg_show_error): translate message to utf8.
2002-05-27 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-preferences.c:
* libgthumb/preferences.h: Added "fast file type" option.
* libgthumb/image-viewer.c (image_viewer_style_set): Added
TRANSP_TYPE_NONE which uses the gtk theme color to paint transparency.
* src/gthumb-window.c: Added EditCurrentDir_* and EditCurrentCatalog_*
commands. These are the commands displayed in the main menu
and work a bit different from the commands in the context menus.
Added Image_* commands displayed in the viewer context menu.
Display image name in the "Info Bar" and other information in the
status bar. Activate progress bar when loading an image.
Fixed double-click in the file list. Use Page Down/Up to view the
next/prev image when the viewer is focused. Focus the image when
click on the Info Bar. Removed custom icons for zoom buttons, use gtk
stock icons instead. Stopping the slideshow exit from fullscreen mode.
Minor usability enhancements.
* src/gthumb-window.c (window_notify_directory_rename):
(window_notify_directory_delete):
(window_notify_directory_new):
(window_notify_catalog_rename):
(window_notify_catalog_delete): new functions.
* src/dlg-comment.c (update_category_entry): use categories
instead of keywords. Added a category list.
* src/dlg-search.c: removed the gthumb_search_edit.glade2 file, the
progress dialog for "Edit search" is is gthumb_search.glade2 now.
* src/gthumb-ui.xml: changed arrangement of menus.
2002-05-11 Paolo Bacchilega <paolo.bacch@tin.it>
* src/gthumb-window.c (window_show_image_pane):
(window_hide_image_pane): new functions.
* libgthumb/preferences.c (preferences_set_default_values): changed
some default values.
* libgthumb/gthumb-text-item.c (gthumb_text_item_draw): use paint_focus
instead of draw_focus.
* libgthumb/gthumb-info-bar.c: removed useless variables.
(gthumb_info_bar_set_text): show a tootip when the labelis not full
visible.
* configure.in (GETTEXT_PACKAGE): changed GETTEXT_PACKAGE to gthumb-2.0
* Makefile.am: added doc and omf-install directories.
2002-05-05 Paolo Bacchilega <paolo.bacch@tin.it>
* src/main.c (get_icon_path_from_name): Add .nautilus/themes to the
search path.
* src/gthumb-ui.xml: Removed ellipsis where not needed.
* components/image-viewer/GNOME_GThumb_Viewer.xml.in: Add a toolbar
with the rotate, flip and mirror commands.
2002-05-01 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/catalog-png-exporter.c:
* src/dlg-png-exporter.c: Added the image preview.
2002-04-30 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c (edit_folder_delete_command_impl): update cache
when deleting a folder.
(edit_folder_open_command_impl): Added "open with Naulitus" command,
deleted "Move folder" command.
* libgthumb/comments.c (comments_remove_old_comments_async):
* libgthumb/thumb-cache.c (cache_remove_old_previews_async): Show a
dialog while deleting old thumbnails and old comments.
* src/commands-impl.c (edit_folder_rename_command_impl): Update cache
when renaming a folder.
2002-04-27 Paolo Bacchilega <paolo.bacch@tin.it>
* all files: Removed deprecated functions.
2002-04-25 Paolo Bacchilega <paolo.bacch@tin.it>
* libgthumb/image-viewer.c (image_viewer_expose): Draw the frame in
black color when the black background is on. Fixed animation start up
when using zoom changes different from "Keep previous zoom".
* src/main.[ch]:
* src/gthumb-window.c:
* src/icons/*.png: Use the nautilus folder icon for folders. Changed
some toolbar icons.
* libgthumb/gtk-utils.c (_gtk_image_new_from_inline): New function.
* libgthumb/file-utils.c (file_extension_is): New function.
2002-04-24 Paolo Bacchilega <paolo.bacch@tin.it>
* src/commands-impl.c (edit_folder_rename_command_impl): Implemented.
(edit_folder_delete_command_impl): Implemented.
* libgthumb/gtk-utils.c (_gtk_error_dialog_run): New function.
(_gtk_error_dialog_from_gerror_run): New function.
* src/commands-impl.c: Use above functions to show error dialogs.
2002-04-23 Paolo Bacchilega <paolo.bacch@tin.it>
*libgthumb/gthumb-error.[ch]: new file.
* libgthumb/catalog.c:
* libgthumb/catalog.h: Added GError argument to some functions.
* src/commands-impl.c:
* src/dlg-preferences.c:
* libgthumb/preferences.[hc]: Removed redundant options.
2002-04-22 Paolo Bacchilega <paolo.bacch@tin.it>
* src/dlg-open-with.c (delete_recent_cb): Compare the strings not the
pointers.
* Imported all files.
|