1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381 12382 12383 12384 12385 12386 12387 12388 12389 12390 12391 12392 12393 12394 12395 12396 12397 12398 12399 12400 12401 12402 12403 12404 12405 12406 12407 12408 12409 12410 12411 12412 12413 12414 12415 12416 12417 12418 12419 12420 12421 12422 12423 12424 12425 12426 12427 12428 12429 12430 12431 12432 12433 12434 12435 12436 12437 12438 12439 12440 12441 12442 12443 12444 12445 12446 12447 12448 12449 12450 12451 12452 12453 12454 12455 12456 12457 12458 12459 12460 12461 12462 12463 12464 12465 12466 12467 12468 12469 12470 12471 12472 12473 12474 12475 12476 12477 12478 12479 12480 12481 12482 12483 12484 12485 12486 12487 12488 12489 12490 12491 12492 12493 12494 12495 12496 12497 12498 12499 12500 12501 12502 12503 12504 12505 12506 12507 12508 12509 12510 12511 12512 12513 12514 12515 12516 12517 12518 12519 12520 12521 12522 12523 12524 12525 12526 12527 12528 12529 12530 12531 12532 12533 12534 12535 12536 12537 12538 12539 12540 12541 12542 12543 12544 12545 12546 12547 12548 12549 12550 12551 12552 12553 12554 12555 12556 12557 12558 12559 12560 12561 12562 12563 12564 12565 12566 12567 12568 12569 12570 12571 12572 12573 12574 12575 12576 12577 12578 12579 12580 12581 12582 12583 12584 12585 12586 12587 12588 12589 12590 12591 12592 12593 12594 12595 12596 12597 12598 12599 12600 12601 12602 12603 12604 12605 12606 12607 12608 12609 12610 12611 12612 12613 12614 12615 12616 12617 12618 12619 12620 12621 12622 12623 12624 12625 12626 12627 12628 12629 12630 12631 12632 12633 12634 12635 12636 12637 12638 12639 12640 12641 12642 12643 12644 12645 12646 12647 12648 12649 12650 12651 12652 12653 12654 12655 12656 12657 12658 12659 12660 12661 12662 12663 12664 12665 12666 12667 12668 12669 12670 12671 12672 12673 12674 12675 12676 12677 12678 12679 12680 12681 12682 12683 12684 12685 12686 12687 12688 12689 12690 12691 12692 12693 12694 12695 12696 12697 12698 12699 12700 12701 12702 12703 12704 12705 12706 12707 12708 12709 12710 12711 12712 12713 12714 12715 12716 12717 12718 12719 12720 12721 12722 12723 12724 12725 12726 12727 12728 12729 12730 12731 12732 12733 12734 12735 12736 12737 12738 12739 12740 12741 12742 12743 12744 12745 12746 12747 12748 12749 12750 12751 12752 12753 12754 12755 12756 12757 12758 12759 12760 12761 12762 12763 12764 12765 12766 12767 12768 12769 12770 12771 12772 12773 12774 12775 12776 12777 12778 12779 12780 12781 12782 12783 12784 12785 12786 12787 12788 12789 12790 12791 12792 12793 12794 12795 12796 12797 12798 12799 12800 12801 12802 12803 12804 12805 12806 12807 12808 12809 12810 12811 12812 12813 12814 12815 12816 12817 12818 12819 12820 12821 12822 12823 12824 12825 12826 12827 12828 12829 12830 12831 12832 12833 12834 12835 12836 12837 12838 12839 12840 12841 12842 12843 12844 12845 12846 12847 12848 12849 12850 12851 12852 12853 12854 12855 12856 12857 12858 12859 12860 12861 12862 12863 12864 12865 12866 12867 12868 12869 12870 12871 12872 12873 12874 12875 12876 12877 12878 12879 12880 12881 12882 12883 12884 12885 12886 12887 12888 12889 12890 12891 12892 12893 12894 12895 12896 12897 12898 12899 12900 12901 12902 12903 12904 12905 12906 12907 12908 12909 12910 12911 12912 12913 12914 12915 12916 12917 12918 12919 12920 12921 12922 12923 12924 12925 12926 12927 12928 12929 12930 12931 12932 12933 12934 12935 12936 12937 12938 12939 12940 12941 12942 12943 12944 12945 12946 12947 12948 12949 12950 12951 12952 12953 12954 12955 12956 12957 12958 12959 12960 12961 12962 12963 12964 12965 12966 12967 12968 12969 12970 12971 12972 12973 12974 12975 12976 12977 12978 12979 12980 12981 12982 12983 12984 12985 12986 12987 12988 12989 12990 12991 12992 12993 12994 12995 12996 12997 12998 12999 13000 13001 13002 13003 13004 13005 13006 13007 13008 13009 13010 13011 13012 13013 13014 13015 13016 13017 13018 13019 13020 13021 13022 13023 13024 13025 13026 13027 13028 13029 13030 13031 13032 13033 13034 13035 13036 13037 13038 13039 13040 13041 13042 13043 13044 13045 13046 13047 13048 13049 13050 13051 13052 13053 13054 13055 13056 13057 13058 13059 13060 13061 13062 13063 13064 13065 13066 13067 13068 13069 13070 13071 13072 13073 13074 13075 13076 13077 13078 13079 13080 13081 13082 13083 13084 13085 13086 13087 13088 13089 13090 13091 13092 13093 13094 13095 13096 13097 13098 13099 13100 13101 13102 13103 13104 13105 13106 13107 13108 13109 13110 13111 13112 13113 13114 13115 13116 13117 13118 13119 13120 13121 13122 13123 13124 13125 13126 13127 13128 13129 13130 13131 13132 13133 13134 13135 13136 13137 13138 13139 13140 13141 13142 13143 13144 13145 13146 13147 13148 13149 13150 13151 13152 13153 13154 13155 13156 13157 13158 13159 13160 13161 13162 13163 13164 13165 13166 13167 13168 13169 13170 13171 13172 13173 13174 13175 13176 13177 13178 13179 13180 13181 13182 13183 13184 13185 13186 13187 13188 13189 13190 13191 13192 13193 13194 13195 13196 13197 13198 13199 13200 13201 13202 13203 13204 13205 13206 13207 13208 13209 13210 13211 13212 13213 13214 13215 13216 13217 13218 13219 13220 13221 13222 13223 13224 13225 13226 13227 13228 13229 13230 13231 13232 13233 13234 13235 13236 13237 13238 13239 13240 13241 13242 13243 13244 13245 13246 13247 13248 13249 13250 13251 13252 13253 13254 13255 13256 13257 13258 13259 13260 13261 13262 13263 13264 13265 13266 13267 13268 13269 13270 13271 13272 13273 13274 13275 13276 13277 13278 13279 13280 13281 13282 13283 13284 13285 13286 13287 13288 13289 13290 13291 13292 13293 13294 13295 13296 13297 13298 13299 13300 13301 13302 13303 13304 13305 13306 13307 13308 13309 13310 13311 13312 13313 13314 13315 13316 13317 13318 13319 13320 13321 13322 13323 13324 13325 13326 13327 13328 13329 13330 13331 13332 13333 13334 13335 13336 13337 13338 13339 13340 13341 13342 13343 13344 13345 13346 13347 13348 13349 13350 13351 13352 13353 13354 13355 13356 13357 13358 13359 13360 13361 13362 13363 13364 13365 13366 13367 13368 13369 13370 13371 13372 13373 13374 13375 13376 13377 13378 13379 13380 13381 13382 13383 13384 13385 13386 13387 13388 13389 13390 13391 13392 13393 13394 13395 13396 13397 13398 13399 13400 13401 13402 13403 13404 13405 13406 13407 13408 13409 13410 13411 13412 13413 13414 13415 13416 13417 13418 13419 13420 13421 13422 13423 13424 13425 13426 13427 13428 13429 13430 13431 13432 13433 13434 13435 13436 13437 13438 13439 13440 13441 13442 13443 13444 13445 13446 13447 13448 13449 13450 13451 13452 13453 13454 13455 13456 13457 13458 13459 13460 13461 13462 13463 13464 13465 13466 13467 13468 13469 13470 13471 13472 13473 13474 13475 13476 13477 13478 13479 13480 13481 13482 13483 13484 13485 13486 13487 13488 13489 13490 13491 13492 13493 13494 13495 13496 13497 13498 13499 13500 13501 13502 13503 13504 13505 13506 13507 13508 13509 13510 13511 13512 13513 13514 13515 13516 13517 13518 13519 13520 13521 13522 13523 13524 13525 13526 13527 13528 13529 13530 13531 13532 13533 13534 13535 13536 13537 13538 13539 13540 13541 13542 13543 13544 13545 13546 13547 13548 13549 13550 13551 13552 13553 13554 13555 13556 13557 13558 13559 13560 13561 13562 13563 13564 13565 13566 13567 13568 13569 13570 13571 13572 13573 13574 13575 13576 13577 13578 13579 13580 13581 13582 13583 13584 13585 13586 13587 13588 13589 13590 13591 13592 13593 13594 13595 13596 13597 13598 13599 13600 13601 13602 13603 13604 13605 13606 13607 13608 13609 13610 13611 13612 13613 13614 13615 13616 13617 13618 13619 13620 13621 13622 13623 13624 13625 13626 13627 13628 13629 13630 13631 13632 13633 13634 13635 13636 13637 13638 13639 13640 13641 13642 13643 13644 13645 13646 13647 13648 13649 13650 13651 13652 13653 13654 13655 13656 13657 13658 13659 13660 13661 13662 13663 13664 13665 13666 13667 13668 13669 13670 13671 13672 13673 13674 13675 13676 13677 13678 13679 13680 13681 13682 13683 13684 13685 13686 13687 13688 13689 13690 13691 13692 13693 13694 13695 13696 13697 13698 13699 13700 13701 13702 13703 13704 13705 13706 13707 13708 13709 13710 13711 13712 13713 13714 13715 13716 13717 13718 13719 13720 13721 13722 13723 13724 13725 13726 13727 13728 13729 13730 13731 13732 13733 13734 13735 13736 13737 13738 13739 13740 13741 13742 13743 13744 13745 13746 13747 13748 13749 13750 13751 13752 13753 13754 13755 13756 13757 13758 13759 13760 13761 13762 13763 13764 13765 13766 13767 13768 13769 13770 13771 13772 13773 13774 13775 13776 13777 13778 13779 13780 13781 13782 13783 13784 13785 13786 13787 13788 13789 13790 13791 13792 13793 13794 13795 13796 13797 13798 13799 13800 13801 13802 13803 13804 13805 13806 13807 13808 13809 13810 13811 13812 13813 13814 13815 13816 13817 13818 13819 13820 13821 13822 13823 13824 13825 13826 13827 13828 13829 13830 13831 13832 13833 13834 13835 13836 13837 13838 13839 13840 13841 13842 13843 13844 13845 13846 13847 13848 13849 13850 13851 13852 13853 13854 13855 13856 13857 13858 13859 13860 13861 13862 13863 13864 13865 13866 13867 13868 13869 13870 13871 13872 13873 13874 13875 13876 13877 13878 13879 13880 13881 13882 13883 13884 13885 13886 13887 13888 13889 13890 13891 13892 13893 13894 13895 13896 13897 13898 13899 13900 13901 13902 13903 13904 13905 13906 13907 13908 13909 13910 13911 13912 13913 13914 13915 13916 13917 13918 13919 13920 13921 13922 13923 13924 13925 13926 13927 13928 13929 13930 13931 13932 13933 13934 13935 13936 13937 13938 13939 13940 13941 13942 13943 13944 13945 13946 13947 13948 13949 13950 13951 13952 13953 13954 13955 13956 13957 13958 13959 13960 13961 13962 13963 13964 13965 13966 13967 13968 13969 13970 13971 13972 13973 13974 13975 13976 13977 13978 13979 13980 13981 13982 13983 13984 13985 13986 13987 13988 13989 13990 13991 13992 13993 13994 13995 13996 13997 13998 13999 14000 14001 14002 14003 14004 14005 14006 14007 14008 14009 14010 14011 14012 14013 14014 14015 14016 14017 14018 14019 14020 14021 14022 14023 14024 14025 14026 14027 14028 14029 14030 14031 14032 14033 14034 14035 14036 14037 14038 14039 14040 14041 14042 14043 14044 14045 14046 14047 14048 14049 14050 14051 14052 14053 14054 14055 14056 14057 14058 14059 14060 14061 14062 14063 14064 14065 14066 14067 14068 14069 14070 14071 14072 14073 14074 14075 14076 14077 14078 14079 14080 14081 14082 14083 14084 14085 14086 14087 14088 14089 14090 14091 14092 14093 14094 14095 14096 14097 14098 14099 14100 14101 14102 14103 14104 14105 14106 14107 14108 14109 14110 14111 14112 14113 14114 14115 14116 14117 14118 14119 14120 14121 14122 14123 14124 14125 14126 14127 14128 14129 14130 14131 14132 14133 14134 14135 14136 14137 14138 14139 14140 14141 14142 14143 14144 14145 14146 14147 14148 14149 14150 14151 14152 14153 14154 14155 14156 14157 14158 14159 14160 14161 14162 14163 14164 14165 14166 14167 14168 14169 14170 14171 14172 14173 14174 14175 14176 14177 14178 14179 14180 14181 14182 14183 14184 14185 14186 14187 14188 14189 14190 14191 14192 14193 14194 14195 14196 14197 14198 14199 14200 14201 14202 14203 14204 14205 14206 14207 14208 14209 14210 14211 14212 14213 14214 14215 14216 14217 14218 14219 14220 14221 14222 14223 14224 14225 14226 14227 14228 14229 14230 14231 14232 14233 14234 14235 14236 14237 14238 14239 14240 14241 14242 14243 14244 14245 14246 14247 14248 14249 14250 14251 14252 14253 14254 14255 14256 14257 14258 14259 14260 14261 14262 14263 14264 14265 14266 14267 14268 14269 14270 14271 14272 14273 14274 14275 14276 14277 14278 14279 14280 14281 14282 14283 14284 14285 14286 14287 14288 14289 14290 14291 14292 14293 14294 14295 14296 14297 14298 14299 14300 14301 14302 14303 14304 14305 14306 14307 14308 14309 14310 14311 14312 14313 14314 14315 14316 14317 14318 14319 14320 14321 14322 14323 14324 14325 14326 14327 14328 14329 14330 14331 14332 14333 14334 14335 14336 14337 14338 14339 14340 14341 14342 14343 14344 14345 14346 14347 14348 14349 14350 14351 14352 14353 14354 14355 14356 14357 14358 14359 14360 14361 14362 14363 14364 14365 14366 14367 14368 14369 14370 14371 14372 14373 14374 14375 14376 14377 14378 14379 14380 14381 14382 14383 14384 14385 14386 14387 14388 14389 14390 14391 14392 14393 14394 14395 14396 14397 14398 14399 14400 14401 14402 14403 14404 14405 14406 14407 14408 14409 14410 14411 14412 14413 14414 14415 14416 14417 14418 14419 14420 14421 14422 14423 14424 14425 14426 14427 14428 14429 14430 14431 14432 14433 14434 14435 14436 14437 14438 14439 14440 14441 14442 14443 14444 14445 14446 14447 14448 14449 14450 14451 14452 14453 14454 14455 14456 14457 14458 14459 14460 14461 14462 14463 14464 14465 14466 14467 14468 14469 14470 14471 14472 14473 14474 14475 14476 14477 14478 14479 14480 14481 14482 14483 14484 14485 14486 14487 14488 14489 14490 14491 14492 14493 14494 14495 14496 14497 14498 14499 14500 14501 14502 14503 14504 14505 14506 14507 14508 14509 14510 14511 14512 14513 14514 14515 14516 14517 14518 14519 14520 14521 14522 14523 14524 14525 14526 14527 14528 14529 14530 14531 14532 14533 14534 14535 14536 14537 14538 14539 14540 14541 14542 14543 14544 14545 14546 14547 14548 14549 14550 14551 14552 14553 14554 14555 14556 14557 14558 14559 14560 14561 14562 14563 14564 14565 14566 14567 14568 14569 14570 14571 14572 14573 14574 14575 14576 14577 14578 14579 14580 14581 14582 14583 14584 14585 14586 14587 14588 14589 14590 14591 14592 14593 14594 14595 14596 14597 14598 14599 14600 14601 14602 14603 14604 14605 14606 14607 14608 14609 14610 14611 14612 14613 14614 14615 14616 14617 14618 14619 14620 14621 14622 14623 14624 14625 14626 14627 14628 14629 14630 14631 14632 14633 14634 14635 14636 14637 14638 14639 14640 14641 14642 14643 14644 14645 14646 14647 14648 14649 14650 14651 14652 14653 14654 14655 14656 14657 14658 14659 14660 14661 14662 14663 14664 14665 14666 14667 14668 14669 14670 14671 14672 14673 14674 14675 14676 14677 14678 14679 14680 14681 14682 14683 14684 14685 14686 14687 14688 14689 14690 14691 14692 14693 14694 14695 14696 14697 14698 14699 14700 14701 14702 14703 14704 14705 14706 14707 14708 14709 14710 14711 14712 14713 14714 14715 14716 14717 14718 14719 14720 14721 14722 14723 14724 14725 14726 14727 14728 14729 14730 14731 14732 14733 14734 14735 14736 14737 14738 14739 14740 14741 14742 14743 14744 14745 14746 14747 14748 14749 14750 14751 14752 14753 14754 14755 14756 14757 14758 14759 14760 14761 14762 14763 14764 14765 14766 14767 14768 14769 14770 14771 14772 14773 14774 14775 14776 14777 14778 14779 14780 14781 14782 14783 14784 14785 14786 14787 14788 14789 14790 14791 14792 14793 14794 14795 14796 14797 14798 14799 14800 14801 14802 14803 14804 14805 14806 14807 14808 14809 14810 14811 14812 14813 14814 14815 14816 14817 14818 14819 14820 14821 14822 14823 14824 14825 14826 14827 14828 14829 14830 14831 14832 14833 14834 14835 14836 14837 14838 14839 14840 14841 14842 14843 14844 14845 14846 14847 14848 14849 14850 14851 14852 14853 14854 14855 14856 14857 14858 14859 14860 14861 14862 14863 14864 14865 14866 14867 14868 14869 14870 14871 14872 14873 14874 14875 14876 14877 14878 14879 14880 14881 14882 14883 14884 14885 14886 14887 14888 14889 14890 14891 14892 14893 14894 14895 14896 14897 14898 14899 14900 14901 14902 14903 14904 14905 14906 14907 14908 14909 14910 14911 14912 14913 14914 14915 14916 14917 14918 14919 14920 14921 14922 14923 14924 14925 14926 14927 14928 14929 14930 14931 14932 14933 14934 14935 14936 14937 14938 14939 14940 14941 14942 14943 14944 14945 14946 14947 14948 14949 14950 14951 14952 14953 14954 14955 14956 14957 14958 14959 14960 14961 14962 14963 14964 14965 14966 14967 14968 14969 14970 14971 14972 14973 14974 14975 14976 14977 14978 14979 14980 14981 14982 14983 14984 14985 14986 14987 14988 14989 14990 14991 14992 14993 14994 14995 14996 14997 14998 14999 15000 15001 15002 15003 15004 15005 15006 15007 15008 15009 15010 15011 15012 15013 15014 15015 15016 15017 15018 15019 15020 15021 15022 15023 15024 15025 15026 15027 15028 15029 15030 15031 15032 15033 15034 15035 15036 15037 15038 15039 15040 15041 15042 15043 15044 15045 15046 15047 15048 15049 15050 15051 15052 15053 15054 15055 15056 15057 15058 15059 15060 15061 15062 15063 15064 15065 15066 15067 15068 15069 15070 15071 15072 15073 15074 15075 15076 15077 15078 15079 15080 15081 15082 15083 15084 15085 15086 15087 15088 15089 15090 15091 15092 15093 15094 15095 15096 15097 15098 15099 15100 15101 15102 15103 15104 15105 15106 15107 15108 15109 15110 15111 15112 15113 15114 15115 15116 15117 15118 15119 15120 15121 15122 15123 15124 15125 15126 15127 15128 15129 15130 15131 15132 15133 15134 15135 15136 15137 15138 15139 15140 15141 15142 15143 15144 15145 15146 15147 15148 15149 15150 15151 15152 15153 15154 15155 15156 15157 15158 15159 15160 15161 15162 15163 15164 15165 15166 15167 15168 15169 15170 15171 15172 15173 15174 15175 15176 15177 15178 15179 15180 15181 15182 15183 15184 15185 15186 15187 15188 15189 15190 15191 15192 15193 15194 15195 15196 15197 15198 15199 15200 15201 15202 15203 15204 15205 15206 15207 15208 15209 15210 15211 15212 15213 15214 15215 15216 15217 15218 15219 15220 15221 15222 15223 15224 15225 15226 15227 15228 15229 15230 15231 15232 15233 15234 15235 15236 15237 15238 15239 15240 15241 15242 15243 15244 15245 15246 15247 15248 15249 15250 15251 15252 15253 15254 15255 15256 15257 15258 15259 15260 15261 15262 15263 15264 15265 15266 15267 15268 15269 15270 15271 15272 15273 15274 15275 15276 15277 15278 15279 15280 15281 15282 15283 15284 15285 15286 15287 15288 15289 15290 15291 15292 15293 15294 15295 15296 15297 15298 15299 15300 15301 15302 15303 15304 15305 15306 15307 15308 15309 15310 15311 15312 15313 15314 15315 15316 15317 15318 15319 15320 15321 15322 15323 15324 15325 15326 15327 15328 15329 15330 15331 15332 15333 15334 15335 15336 15337 15338 15339 15340 15341 15342 15343 15344 15345 15346 15347 15348 15349 15350 15351 15352 15353 15354 15355 15356 15357 15358 15359 15360 15361 15362 15363 15364 15365 15366 15367 15368 15369 15370 15371 15372 15373 15374 15375 15376 15377 15378 15379 15380 15381 15382 15383 15384 15385 15386 15387 15388 15389 15390 15391 15392 15393 15394 15395 15396 15397 15398 15399 15400 15401 15402 15403 15404 15405 15406 15407 15408 15409 15410 15411 15412 15413 15414 15415 15416 15417 15418 15419 15420 15421 15422 15423 15424 15425 15426 15427 15428 15429 15430 15431 15432 15433 15434 15435 15436 15437 15438 15439 15440 15441 15442 15443 15444 15445 15446 15447 15448 15449 15450 15451 15452 15453 15454 15455 15456 15457 15458 15459 15460 15461 15462 15463 15464 15465 15466 15467 15468 15469 15470 15471 15472 15473 15474 15475 15476 15477 15478 15479 15480 15481 15482 15483 15484 15485 15486 15487 15488 15489 15490 15491 15492 15493 15494 15495 15496 15497 15498 15499 15500 15501 15502 15503 15504 15505 15506 15507 15508 15509 15510 15511 15512 15513 15514 15515 15516 15517 15518 15519 15520 15521 15522 15523 15524 15525 15526 15527 15528 15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 15539 15540 15541 15542 15543 15544 15545 15546 15547 15548 15549 15550 15551 15552 15553 15554 15555 15556 15557 15558 15559 15560 15561 15562 15563 15564 15565 15566 15567 15568 15569 15570 15571 15572 15573 15574 15575 15576 15577 15578 15579 15580 15581 15582 15583 15584 15585 15586 15587 15588 15589 15590 15591 15592 15593 15594 15595 15596 15597 15598 15599 15600 15601 15602 15603 15604 15605 15606 15607 15608 15609 15610 15611 15612 15613 15614 15615 15616 15617 15618 15619 15620 15621 15622 15623 15624 15625 15626 15627 15628 15629 15630 15631 15632 15633 15634 15635 15636 15637 15638 15639 15640 15641 15642 15643 15644 15645 15646 15647 15648 15649 15650 15651 15652 15653 15654 15655 15656 15657 15658 15659 15660 15661 15662 15663 15664 15665 15666 15667 15668 15669 15670 15671 15672 15673 15674 15675 15676 15677 15678 15679 15680 15681 15682 15683 15684 15685 15686 15687 15688 15689 15690 15691 15692 15693 15694 15695 15696 15697 15698 15699 15700 15701 15702 15703 15704 15705 15706 15707 15708 15709 15710 15711 15712 15713 15714 15715 15716 15717 15718 15719 15720 15721 15722 15723 15724 15725 15726 15727 15728 15729 15730 15731 15732 15733 15734 15735 15736 15737 15738 15739 15740 15741 15742 15743 15744 15745 15746 15747 15748 15749 15750 15751 15752 15753 15754 15755 15756 15757 15758 15759 15760 15761 15762 15763 15764 15765 15766 15767 15768 15769 15770 15771 15772 15773 15774 15775 15776 15777 15778 15779 15780 15781 15782 15783 15784 15785 15786 15787 15788 15789 15790 15791 15792 15793 15794 15795 15796 15797 15798 15799 15800 15801 15802 15803 15804 15805 15806 15807 15808 15809 15810 15811 15812 15813 15814 15815 15816 15817 15818 15819 15820 15821 15822 15823 15824 15825 15826 15827 15828 15829 15830 15831 15832 15833 15834 15835 15836 15837 15838 15839 15840 15841 15842 15843 15844 15845 15846 15847 15848 15849 15850 15851 15852 15853 15854 15855 15856 15857 15858 15859 15860 15861 15862 15863 15864 15865 15866 15867 15868 15869 15870 15871 15872 15873 15874 15875 15876 15877 15878 15879 15880 15881 15882 15883 15884 15885 15886 15887 15888 15889 15890 15891 15892 15893 15894 15895 15896 15897 15898 15899 15900 15901 15902 15903 15904 15905 15906 15907 15908 15909 15910 15911 15912 15913 15914 15915 15916 15917 15918 15919 15920 15921 15922 15923 15924 15925 15926 15927 15928 15929 15930 15931 15932 15933 15934 15935 15936 15937 15938 15939 15940 15941 15942 15943 15944 15945 15946 15947 15948 15949 15950 15951 15952 15953 15954 15955 15956 15957 15958 15959 15960 15961 15962 15963 15964 15965 15966 15967 15968 15969 15970 15971 15972 15973 15974 15975 15976 15977 15978 15979 15980 15981 15982 15983 15984 15985 15986 15987 15988 15989 15990 15991 15992 15993 15994 15995 15996 15997 15998 15999 16000 16001 16002 16003 16004 16005 16006 16007 16008 16009 16010 16011 16012 16013 16014 16015 16016 16017 16018 16019 16020 16021 16022 16023 16024 16025 16026 16027 16028 16029 16030 16031 16032 16033 16034 16035 16036 16037 16038 16039 16040 16041 16042 16043 16044 16045 16046 16047 16048 16049 16050 16051 16052 16053 16054 16055 16056 16057 16058 16059 16060 16061 16062 16063 16064 16065 16066 16067 16068 16069 16070 16071 16072 16073 16074 16075 16076 16077 16078 16079 16080 16081 16082 16083 16084 16085 16086 16087 16088 16089 16090 16091 16092 16093 16094 16095 16096 16097 16098 16099 16100 16101 16102 16103 16104 16105 16106 16107 16108 16109 16110 16111 16112 16113 16114 16115 16116 16117 16118 16119 16120 16121 16122 16123 16124 16125 16126 16127 16128 16129 16130 16131 16132 16133 16134 16135 16136 16137 16138 16139 16140 16141 16142 16143 16144 16145 16146 16147 16148 16149 16150 16151 16152 16153 16154 16155 16156 16157 16158 16159 16160 16161 16162 16163 16164 16165 16166 16167 16168 16169 16170 16171 16172 16173 16174 16175 16176 16177 16178 16179 16180 16181 16182 16183 16184 16185 16186 16187 16188 16189 16190 16191 16192 16193 16194 16195 16196 16197 16198 16199 16200 16201 16202 16203 16204 16205 16206 16207 16208 16209 16210 16211 16212 16213 16214 16215 16216 16217 16218 16219 16220 16221 16222 16223 16224 16225 16226 16227 16228 16229 16230 16231 16232 16233 16234 16235 16236 16237 16238 16239 16240 16241 16242 16243 16244 16245 16246 16247 16248 16249 16250 16251 16252 16253 16254 16255 16256 16257 16258 16259 16260 16261 16262 16263 16264 16265 16266 16267 16268 16269 16270 16271 16272 16273 16274 16275 16276 16277 16278 16279 16280 16281 16282 16283 16284 16285 16286 16287 16288 16289 16290 16291 16292 16293 16294 16295 16296 16297 16298 16299 16300 16301 16302 16303 16304 16305 16306 16307 16308 16309 16310 16311 16312 16313 16314 16315 16316 16317 16318 16319 16320 16321 16322 16323 16324 16325 16326 16327 16328 16329 16330 16331 16332 16333 16334 16335 16336 16337 16338 16339 16340 16341 16342 16343 16344 16345 16346 16347 16348 16349 16350 16351 16352 16353 16354 16355 16356 16357 16358 16359 16360 16361 16362 16363 16364 16365 16366 16367 16368 16369 16370 16371 16372 16373 16374 16375 16376 16377 16378 16379 16380 16381 16382 16383 16384 16385 16386 16387 16388 16389 16390 16391 16392 16393 16394 16395 16396 16397 16398 16399 16400 16401 16402 16403 16404 16405 16406 16407 16408 16409 16410 16411 16412 16413 16414 16415 16416 16417 16418 16419 16420 16421 16422 16423 16424 16425 16426 16427 16428 16429 16430 16431 16432 16433 16434 16435 16436 16437 16438 16439 16440 16441 16442 16443 16444 16445 16446 16447 16448 16449 16450 16451 16452 16453 16454 16455 16456 16457 16458 16459 16460 16461 16462 16463 16464 16465 16466 16467 16468 16469 16470 16471 16472 16473 16474 16475 16476 16477 16478 16479 16480 16481 16482 16483 16484 16485 16486 16487 16488 16489 16490 16491 16492 16493 16494 16495 16496 16497 16498 16499 16500 16501 16502 16503 16504 16505 16506 16507 16508 16509 16510 16511 16512 16513 16514 16515 16516 16517 16518 16519 16520 16521 16522 16523 16524 16525 16526 16527 16528 16529 16530 16531 16532 16533 16534 16535 16536 16537 16538 16539 16540 16541 16542 16543 16544 16545 16546 16547 16548 16549 16550 16551 16552 16553 16554 16555 16556 16557 16558 16559 16560 16561 16562 16563 16564 16565 16566 16567 16568 16569 16570 16571 16572 16573 16574 16575 16576 16577 16578 16579 16580 16581 16582 16583 16584 16585 16586 16587 16588 16589 16590 16591 16592 16593 16594 16595 16596 16597 16598 16599 16600 16601 16602 16603 16604 16605 16606 16607 16608 16609 16610 16611 16612 16613 16614 16615 16616 16617 16618 16619 16620 16621 16622 16623 16624 16625 16626 16627 16628 16629 16630 16631 16632 16633 16634 16635 16636 16637 16638 16639 16640 16641 16642 16643 16644 16645 16646 16647 16648 16649 16650 16651 16652 16653 16654 16655 16656 16657 16658 16659 16660 16661 16662 16663 16664 16665 16666 16667 16668 16669 16670 16671 16672 16673 16674 16675 16676 16677 16678 16679 16680 16681 16682 16683 16684 16685 16686 16687 16688 16689 16690 16691 16692 16693 16694 16695 16696 16697 16698 16699 16700 16701 16702 16703 16704 16705 16706 16707 16708 16709 16710 16711 16712 16713 16714 16715 16716 16717 16718 16719 16720 16721 16722 16723 16724 16725 16726 16727 16728 16729 16730 16731 16732 16733 16734 16735 16736 16737 16738 16739 16740 16741 16742 16743 16744 16745 16746 16747 16748 16749 16750 16751 16752 16753 16754 16755 16756 16757 16758 16759 16760 16761 16762 16763 16764 16765 16766 16767 16768 16769 16770 16771 16772 16773 16774 16775 16776 16777 16778 16779 16780 16781 16782 16783 16784 16785 16786 16787 16788 16789 16790 16791 16792 16793 16794 16795 16796 16797 16798 16799 16800 16801 16802 16803 16804 16805 16806 16807 16808 16809 16810 16811 16812 16813 16814 16815 16816 16817 16818 16819 16820 16821 16822 16823 16824 16825 16826 16827 16828 16829 16830 16831 16832 16833 16834 16835 16836 16837 16838 16839 16840 16841 16842 16843 16844 16845 16846 16847 16848 16849 16850 16851 16852 16853 16854 16855 16856 16857 16858 16859 16860 16861 16862 16863 16864 16865 16866 16867 16868 16869 16870 16871 16872 16873 16874 16875 16876 16877 16878 16879 16880 16881 16882 16883 16884 16885 16886 16887 16888 16889 16890 16891 16892 16893 16894 16895 16896 16897 16898 16899 16900 16901 16902 16903 16904 16905 16906 16907 16908 16909 16910 16911 16912 16913 16914 16915 16916 16917 16918 16919 16920 16921 16922 16923 16924 16925 16926 16927 16928 16929 16930 16931 16932 16933 16934 16935 16936 16937 16938 16939 16940 16941 16942 16943 16944 16945 16946 16947 16948 16949 16950 16951 16952 16953 16954 16955 16956 16957 16958 16959 16960 16961 16962 16963 16964 16965 16966 16967 16968 16969 16970 16971 16972 16973 16974 16975 16976 16977 16978 16979 16980 16981 16982 16983 16984 16985 16986 16987 16988 16989 16990 16991 16992 16993 16994 16995 16996 16997 16998 16999 17000 17001 17002 17003 17004 17005 17006 17007 17008 17009 17010 17011 17012 17013 17014 17015 17016 17017 17018 17019 17020 17021 17022 17023 17024 17025 17026 17027 17028 17029 17030 17031 17032 17033 17034 17035 17036 17037 17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 17048 17049 17050 17051 17052 17053 17054 17055 17056 17057 17058 17059 17060 17061 17062 17063 17064 17065 17066 17067 17068 17069 17070 17071 17072 17073 17074 17075 17076 17077 17078 17079 17080 17081 17082 17083 17084 17085 17086 17087 17088 17089 17090 17091 17092 17093 17094 17095 17096 17097 17098 17099 17100 17101 17102 17103 17104 17105 17106 17107 17108 17109 17110 17111 17112 17113 17114 17115 17116 17117 17118 17119 17120 17121 17122 17123 17124 17125 17126 17127 17128 17129 17130 17131 17132 17133 17134 17135 17136 17137 17138 17139 17140 17141 17142 17143 17144 17145 17146 17147 17148 17149 17150 17151 17152 17153 17154 17155 17156 17157 17158 17159 17160 17161 17162 17163 17164 17165 17166 17167 17168 17169 17170 17171 17172 17173 17174 17175 17176 17177 17178 17179 17180 17181 17182 17183 17184 17185 17186 17187 17188 17189 17190 17191 17192 17193 17194 17195 17196 17197 17198 17199 17200 17201 17202 17203 17204 17205 17206 17207 17208 17209 17210 17211 17212 17213 17214 17215 17216 17217 17218 17219 17220 17221 17222 17223 17224 17225 17226 17227 17228 17229 17230 17231 17232 17233 17234 17235 17236 17237 17238 17239 17240 17241 17242 17243 17244 17245 17246 17247 17248 17249 17250 17251 17252 17253 17254 17255 17256 17257 17258 17259 17260 17261 17262 17263 17264 17265 17266 17267 17268 17269 17270 17271 17272 17273 17274 17275 17276 17277 17278 17279 17280 17281 17282 17283 17284 17285 17286 17287 17288 17289 17290 17291 17292 17293 17294 17295 17296 17297 17298 17299 17300 17301 17302 17303 17304 17305 17306 17307 17308 17309 17310 17311 17312 17313 17314 17315 17316 17317 17318 17319 17320 17321 17322 17323 17324 17325 17326 17327 17328 17329 17330 17331 17332 17333 17334 17335 17336 17337 17338 17339 17340 17341 17342 17343 17344 17345 17346 17347 17348 17349 17350 17351 17352 17353 17354 17355 17356 17357 17358 17359 17360 17361 17362 17363 17364 17365 17366 17367 17368 17369 17370 17371 17372 17373 17374 17375 17376 17377 17378 17379 17380 17381 17382 17383 17384 17385 17386 17387 17388 17389 17390 17391 17392 17393 17394 17395 17396 17397 17398 17399 17400 17401 17402 17403 17404 17405 17406 17407 17408 17409 17410 17411 17412 17413 17414 17415 17416 17417 17418 17419 17420 17421 17422 17423 17424 17425 17426 17427 17428 17429 17430 17431 17432 17433 17434 17435 17436 17437 17438 17439 17440 17441 17442 17443 17444 17445 17446 17447 17448 17449 17450 17451 17452 17453 17454 17455 17456 17457 17458 17459 17460 17461 17462 17463 17464 17465 17466 17467 17468 17469 17470 17471 17472 17473 17474 17475 17476 17477 17478 17479 17480 17481 17482 17483 17484 17485 17486 17487 17488 17489 17490 17491 17492 17493 17494 17495 17496 17497 17498 17499 17500 17501 17502 17503 17504 17505 17506 17507 17508 17509 17510 17511 17512 17513 17514 17515 17516 17517 17518 17519 17520 17521 17522 17523 17524 17525 17526 17527 17528 17529 17530 17531 17532 17533 17534 17535 17536 17537 17538 17539 17540 17541 17542 17543 17544 17545 17546 17547 17548 17549 17550 17551 17552 17553 17554 17555 17556 17557 17558 17559 17560 17561 17562 17563 17564 17565 17566 17567 17568 17569 17570 17571 17572 17573 17574 17575 17576 17577 17578 17579 17580 17581 17582 17583 17584 17585 17586 17587 17588 17589 17590 17591 17592 17593 17594 17595 17596 17597 17598 17599 17600 17601 17602 17603 17604 17605 17606 17607 17608 17609 17610 17611 17612 17613 17614 17615 17616 17617 17618 17619 17620 17621 17622 17623 17624 17625 17626 17627 17628 17629 17630 17631 17632 17633 17634 17635 17636 17637 17638 17639 17640 17641 17642 17643 17644 17645 17646 17647 17648 17649 17650 17651 17652 17653 17654 17655 17656 17657 17658 17659 17660 17661 17662 17663 17664 17665 17666 17667 17668 17669 17670 17671 17672 17673 17674 17675 17676 17677 17678 17679 17680 17681 17682 17683 17684 17685 17686 17687 17688 17689 17690 17691 17692 17693 17694 17695 17696 17697 17698 17699 17700 17701 17702 17703 17704 17705 17706 17707 17708 17709 17710 17711 17712 17713 17714 17715 17716 17717 17718 17719 17720 17721 17722 17723 17724 17725 17726 17727 17728 17729 17730 17731 17732 17733 17734 17735 17736 17737 17738 17739 17740 17741 17742 17743 17744 17745 17746 17747 17748 17749 17750 17751 17752 17753 17754 17755 17756 17757 17758 17759 17760 17761 17762 17763 17764 17765 17766 17767 17768 17769 17770 17771 17772 17773 17774 17775 17776 17777 17778 17779 17780 17781 17782 17783 17784 17785 17786 17787 17788 17789 17790 17791 17792 17793 17794 17795 17796 17797 17798 17799 17800 17801 17802 17803 17804 17805 17806 17807 17808 17809 17810 17811 17812 17813 17814 17815 17816 17817 17818 17819 17820 17821 17822 17823 17824 17825 17826 17827 17828 17829 17830 17831 17832 17833 17834 17835 17836 17837 17838 17839 17840 17841 17842 17843 17844 17845 17846 17847 17848 17849 17850 17851 17852 17853 17854 17855 17856 17857 17858 17859 17860 17861 17862 17863 17864 17865 17866 17867 17868 17869 17870 17871 17872 17873 17874 17875 17876 17877 17878 17879 17880 17881 17882 17883 17884 17885 17886 17887 17888 17889 17890 17891 17892 17893 17894 17895 17896 17897 17898 17899 17900 17901 17902 17903 17904 17905 17906 17907 17908 17909 17910 17911 17912 17913 17914 17915 17916 17917 17918 17919 17920 17921 17922 17923 17924 17925 17926 17927 17928 17929 17930 17931 17932 17933 17934 17935 17936 17937 17938 17939 17940 17941 17942 17943 17944 17945 17946 17947 17948 17949 17950 17951 17952 17953 17954 17955 17956 17957 17958 17959 17960 17961 17962 17963 17964 17965 17966 17967 17968 17969 17970 17971 17972 17973 17974 17975 17976 17977 17978 17979 17980 17981 17982 17983 17984 17985 17986 17987 17988 17989 17990 17991 17992 17993 17994 17995 17996 17997 17998 17999 18000 18001 18002 18003 18004 18005 18006 18007 18008 18009 18010 18011 18012 18013 18014 18015 18016 18017 18018 18019 18020 18021 18022 18023 18024 18025 18026 18027 18028 18029 18030 18031 18032 18033 18034 18035 18036 18037 18038 18039 18040 18041 18042 18043 18044 18045 18046 18047 18048 18049 18050 18051 18052 18053 18054 18055 18056 18057 18058 18059 18060 18061 18062 18063 18064 18065 18066 18067 18068 18069 18070 18071 18072 18073 18074 18075 18076 18077 18078 18079 18080 18081 18082 18083 18084 18085 18086 18087 18088 18089 18090 18091 18092 18093 18094 18095 18096 18097 18098 18099 18100 18101 18102 18103 18104 18105 18106 18107 18108 18109 18110 18111 18112 18113 18114 18115 18116 18117 18118 18119 18120 18121 18122 18123 18124 18125 18126 18127 18128 18129 18130 18131 18132 18133 18134 18135 18136 18137 18138 18139 18140 18141 18142 18143 18144 18145 18146 18147 18148 18149 18150 18151 18152 18153 18154 18155 18156 18157 18158 18159 18160 18161 18162 18163 18164 18165 18166 18167 18168 18169 18170 18171 18172 18173 18174 18175 18176 18177 18178 18179 18180 18181 18182 18183 18184 18185 18186 18187 18188 18189 18190 18191 18192 18193 18194 18195 18196 18197 18198 18199 18200 18201 18202 18203 18204 18205 18206 18207 18208 18209 18210 18211 18212 18213 18214 18215 18216 18217 18218 18219 18220 18221 18222 18223 18224 18225 18226 18227 18228 18229 18230 18231 18232 18233 18234 18235 18236 18237 18238 18239 18240 18241 18242 18243 18244 18245 18246 18247 18248 18249 18250 18251 18252 18253 18254 18255 18256 18257 18258 18259 18260 18261 18262 18263 18264 18265 18266 18267 18268 18269 18270 18271 18272 18273 18274 18275 18276 18277 18278 18279 18280 18281 18282 18283 18284 18285 18286 18287 18288 18289 18290 18291 18292 18293 18294 18295 18296 18297 18298 18299 18300 18301 18302 18303 18304 18305 18306 18307 18308 18309 18310 18311 18312 18313 18314 18315 18316 18317 18318 18319 18320 18321 18322 18323 18324 18325 18326 18327 18328 18329 18330 18331 18332 18333 18334 18335 18336 18337 18338 18339 18340 18341 18342 18343 18344 18345 18346 18347 18348 18349 18350 18351 18352 18353 18354 18355 18356 18357 18358 18359 18360 18361 18362 18363 18364 18365 18366 18367 18368 18369 18370 18371 18372 18373 18374 18375 18376 18377 18378 18379 18380 18381 18382 18383 18384 18385 18386 18387 18388 18389 18390 18391 18392 18393 18394 18395 18396 18397 18398 18399 18400 18401 18402 18403 18404 18405 18406 18407 18408 18409 18410 18411 18412 18413 18414 18415 18416 18417 18418 18419 18420 18421 18422 18423 18424 18425 18426 18427 18428 18429 18430 18431 18432 18433 18434 18435 18436 18437 18438 18439 18440 18441 18442 18443 18444 18445 18446 18447 18448 18449 18450 18451 18452 18453 18454 18455 18456 18457 18458 18459 18460 18461 18462 18463 18464 18465 18466 18467 18468 18469 18470 18471 18472 18473 18474 18475 18476 18477 18478 18479 18480 18481 18482 18483 18484 18485 18486 18487 18488 18489 18490 18491 18492 18493 18494 18495 18496 18497 18498 18499 18500 18501 18502 18503 18504 18505 18506 18507 18508 18509 18510 18511 18512 18513 18514 18515 18516 18517 18518 18519 18520 18521 18522 18523 18524 18525 18526 18527 18528 18529 18530 18531 18532 18533 18534 18535 18536 18537 18538 18539 18540 18541 18542 18543 18544 18545 18546 18547 18548 18549 18550 18551 18552 18553 18554 18555 18556 18557 18558 18559 18560 18561 18562 18563 18564 18565 18566 18567 18568 18569 18570 18571 18572 18573 18574 18575 18576 18577 18578 18579 18580 18581 18582 18583 18584 18585 18586 18587 18588 18589 18590 18591 18592 18593 18594 18595 18596 18597 18598 18599 18600 18601 18602 18603 18604 18605 18606 18607 18608 18609 18610 18611 18612 18613 18614 18615 18616 18617 18618 18619 18620 18621 18622 18623 18624 18625 18626 18627 18628 18629 18630 18631 18632 18633 18634 18635 18636 18637 18638 18639 18640 18641 18642 18643 18644 18645 18646 18647 18648 18649 18650 18651 18652 18653 18654 18655 18656 18657 18658 18659 18660 18661 18662 18663 18664 18665 18666 18667 18668 18669 18670 18671 18672 18673 18674 18675 18676 18677 18678 18679 18680 18681 18682 18683 18684 18685 18686 18687 18688 18689 18690 18691 18692 18693 18694 18695 18696 18697 18698 18699 18700 18701 18702 18703 18704 18705 18706 18707 18708 18709 18710 18711 18712 18713 18714 18715 18716 18717 18718 18719 18720 18721 18722 18723 18724 18725 18726 18727 18728 18729 18730 18731 18732 18733 18734 18735 18736 18737 18738 18739 18740 18741 18742 18743 18744 18745 18746 18747 18748 18749 18750 18751 18752 18753 18754 18755 18756 18757 18758 18759 18760 18761 18762 18763 18764 18765 18766 18767 18768 18769 18770 18771 18772 18773 18774 18775 18776 18777 18778 18779 18780 18781 18782 18783 18784 18785 18786 18787 18788 18789 18790 18791 18792 18793 18794 18795 18796 18797 18798 18799 18800 18801 18802 18803 18804 18805 18806 18807 18808 18809 18810 18811 18812 18813 18814 18815 18816 18817 18818 18819 18820 18821 18822 18823 18824 18825 18826 18827 18828 18829 18830 18831 18832 18833 18834 18835 18836 18837 18838 18839 18840 18841 18842 18843 18844 18845 18846 18847 18848 18849 18850 18851 18852 18853 18854 18855 18856 18857 18858 18859 18860 18861 18862 18863 18864 18865 18866 18867 18868 18869 18870 18871 18872 18873 18874 18875 18876 18877 18878 18879 18880 18881 18882 18883 18884 18885 18886 18887 18888 18889 18890 18891 18892 18893 18894 18895 18896 18897 18898 18899 18900 18901 18902 18903 18904 18905 18906 18907 18908 18909 18910 18911 18912 18913 18914 18915 18916 18917 18918 18919 18920 18921 18922 18923 18924 18925 18926 18927 18928 18929 18930 18931 18932 18933 18934 18935 18936 18937 18938 18939 18940 18941 18942 18943 18944 18945 18946 18947 18948 18949 18950 18951 18952 18953 18954 18955 18956 18957 18958 18959 18960 18961 18962 18963 18964 18965 18966 18967 18968 18969 18970 18971 18972 18973 18974 18975 18976 18977 18978 18979 18980 18981 18982 18983 18984 18985 18986 18987 18988 18989 18990 18991 18992 18993 18994 18995 18996 18997 18998 18999 19000 19001 19002 19003 19004 19005 19006 19007 19008 19009 19010 19011 19012 19013 19014 19015 19016 19017 19018 19019 19020 19021 19022 19023 19024 19025 19026 19027 19028 19029 19030 19031 19032 19033 19034 19035 19036 19037 19038 19039 19040 19041 19042 19043 19044 19045 19046 19047 19048 19049 19050 19051 19052 19053 19054 19055 19056 19057 19058 19059 19060 19061 19062 19063 19064 19065 19066 19067 19068 19069 19070 19071 19072 19073 19074 19075 19076 19077 19078 19079 19080 19081 19082 19083 19084 19085 19086 19087 19088 19089 19090 19091 19092 19093 19094 19095 19096 19097 19098 19099 19100 19101 19102 19103 19104 19105 19106 19107 19108 19109 19110 19111 19112 19113 19114 19115 19116 19117 19118 19119 19120 19121 19122 19123 19124 19125 19126 19127 19128 19129 19130 19131 19132 19133 19134 19135 19136 19137 19138 19139 19140 19141 19142 19143 19144 19145 19146 19147 19148 19149 19150 19151 19152 19153 19154 19155 19156 19157 19158 19159 19160 19161 19162 19163 19164 19165 19166 19167 19168 19169 19170 19171 19172 19173 19174 19175 19176 19177 19178 19179 19180 19181 19182 19183 19184 19185 19186 19187 19188 19189 19190 19191 19192 19193 19194 19195 19196 19197 19198 19199 19200 19201 19202 19203 19204 19205 19206 19207 19208 19209 19210 19211 19212 19213 19214 19215 19216 19217 19218 19219 19220 19221 19222 19223 19224 19225 19226 19227 19228 19229 19230 19231 19232 19233 19234 19235 19236 19237 19238 19239 19240 19241 19242 19243 19244 19245 19246 19247 19248 19249 19250 19251 19252 19253 19254 19255 19256 19257 19258 19259 19260 19261 19262 19263 19264 19265 19266 19267 19268 19269 19270 19271 19272 19273 19274 19275 19276 19277 19278 19279 19280 19281 19282 19283 19284 19285 19286 19287 19288 19289 19290 19291 19292 19293 19294 19295 19296 19297 19298 19299 19300 19301 19302 19303 19304 19305 19306 19307 19308 19309 19310 19311 19312 19313 19314 19315 19316 19317 19318 19319 19320 19321 19322 19323 19324 19325 19326 19327 19328 19329 19330 19331 19332 19333 19334 19335 19336 19337 19338 19339 19340 19341 19342 19343 19344 19345 19346 19347 19348 19349 19350 19351 19352 19353 19354 19355 19356 19357 19358 19359 19360 19361 19362 19363 19364 19365 19366 19367 19368 19369 19370 19371 19372 19373 19374 19375 19376 19377 19378 19379 19380 19381 19382 19383 19384 19385 19386 19387 19388 19389 19390 19391 19392 19393 19394 19395 19396 19397 19398 19399 19400 19401 19402 19403 19404 19405 19406 19407 19408 19409 19410 19411 19412 19413 19414 19415 19416 19417 19418 19419 19420 19421 19422 19423 19424 19425 19426 19427 19428 19429 19430 19431 19432 19433 19434 19435 19436 19437 19438 19439 19440 19441 19442 19443 19444 19445 19446 19447 19448 19449 19450 19451 19452 19453 19454 19455 19456 19457 19458 19459 19460 19461 19462 19463 19464 19465 19466 19467 19468 19469 19470 19471 19472 19473 19474 19475 19476 19477 19478 19479 19480 19481 19482 19483 19484 19485 19486 19487 19488 19489 19490 19491 19492 19493 19494 19495 19496 19497 19498 19499 19500 19501 19502 19503 19504 19505 19506 19507 19508 19509 19510 19511 19512 19513 19514 19515 19516 19517 19518 19519 19520 19521 19522 19523 19524 19525 19526 19527 19528 19529 19530 19531 19532 19533 19534 19535 19536 19537 19538 19539 19540 19541 19542 19543 19544 19545 19546 19547 19548 19549 19550 19551 19552 19553 19554 19555 19556 19557 19558 19559 19560 19561 19562 19563 19564 19565 19566 19567 19568 19569 19570 19571 19572 19573 19574 19575 19576 19577 19578 19579 19580 19581 19582 19583 19584 19585 19586 19587 19588 19589 19590 19591 19592 19593 19594 19595 19596 19597 19598 19599 19600 19601 19602 19603 19604 19605 19606 19607 19608 19609 19610 19611 19612 19613 19614 19615 19616 19617 19618 19619 19620 19621 19622 19623 19624 19625 19626 19627 19628 19629 19630 19631 19632 19633 19634 19635 19636 19637 19638 19639 19640 19641 19642 19643 19644 19645 19646 19647 19648 19649 19650 19651 19652 19653 19654 19655 19656 19657 19658 19659 19660 19661 19662 19663 19664 19665 19666 19667 19668 19669 19670 19671 19672 19673 19674 19675 19676 19677 19678 19679 19680
|
2011-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/sidebar.c, src/dialogs.c, src/callbacks.c,
src/notebook.c, src/document.c, src/document.h, src/editor.c:
Add document_show_tab().
2011-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/Makefile.am, doc/makefile.win32:
Add doc/makefile.win32 for docs generation.
* scintilla/Makefile.am, src/Makefile.am,
tagmanager/mio/Makefile.am, tagmanager/Makefile.am, Makefile.am:
Fix missing tagmanager/mio/makefile.win32 in EXTRA_DIST.
Include makefile.win32 in EXTRA_DIST recursively, not at top-level.
2011-10-06 Colomban Wendling <colomban(at)geany(dot)org>
* autogen.sh, configure.ac:
Modernize configure.ac a bit.
* configure.ac, m4/geany-revision.m4, m4/geany-binreloc.m4,
m4/geany-gnu-regex.m4, m4/geany-plugins.m4, m4/geany-i18n.m4,
m4/geany-mingw.m4, m4/geany-socket.m4, m4/geany-vte.m4,
m4/geany-utils.m4, m4/geany-status.m4, m4/geany-the-force.m4:
Extract some configure logic to separate files for better
readability.
2011-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/lregex.c, tagmanager/php.c:
Fix CTags bug 2970274 - when using addCallbackRegex the callback
receives less than the number of matches. The number is still not
correct (due to POSIX regex compatibility) but at least includes
all non-empty matches now.
http://sourceforge.net/tracker/index.php?func=detail&aid=2970274
&group_id=6556&atid=106556
2011-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/js.c:
Update from CTags SVN jscript.c.
2011-10-03 Colomban Wendling <colomban(at)geany(dot)org>
* TODO, configure.ac, doc/geany.txt, geany.nsi, geany_private.rc,
src/geany.h, win32-config.h, wscript:
Post-release version bump.
* src/callbacks.c:
Fix "toggle case" when there is no selection.
2011-10-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* Merge branches/unstable:
- tagmanager/php.c:
Fix parsing keyword-qualified functions strictly, e.g. don't
parse 'staticfunction' or 'fatfunction'.
- src/utils.c, src/utils.h, src/editor.c:
Use GRegex for snippet indentation replacement - fixes wrong
behaviour with Mac line endings.
- tagmanager/lregex.c, TODO:
Use GRegex for CTags instead of POSIX regex - GRegex is more
powerful. This also fixes a (HTML) performance issue on Windows.
Geany will now print a debug warning when using the "b" CTags
regex flag option for non-extended syntax. This is not currently
used by Geany's parsers.
Note: GNU regex can't be removed yet as it's still used elsewhere
by Geany.
- src/build.c, doc/pluginsignals.c:
When saving on build, prompt for a filename if necessary.
Emit the "build-start" signal only if saving succeeds.
- src/build.c:
Use #ifdef SYNC_SPAWN instead of G_OS_WIN32 for easier testing with
glib's asynchronous spawning (which doesn't work on Windows).
- src/win32.c, src/win32.h, src/dialogs.c:
Use GTK unsaved file dialog on Windows too because the button names
should be specific.
* src/build.c, src/keybindings.c, src/keybindings.h, src/prefs.c:
Support visual reordering of keybinding groups without breaking the
plugin ABI.
Reorder Project group to follow main menu order.
Move Focus, Notebook tab groups last as they don't have
corresponding menu items.
Use keybindings_get_core_group() for fixed group IDs instead of
indexing keybinding_groups.
Make keybindings_lookup_item() only work with a GEANY_KEY_GROUP_
ID, not an index into keybinding_groups.
2011-10-02 Colomban Wendling <colomban(at)geany(dot)org>
* doc/geany.txt, doc/geany.html:
Add myself as an author.
* New release: Geany 0.21 "Gromia".
2011-10-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/images/*.png:
Update documentation images.
* doc/geany.txt, doc/geany.html:
Update documentation for new images.
2011-09-28 Colomban Wendling <colomban(at)geany(dot)org>
* src/utils.c:
Fix utils_string_replace_all() to accept a NULL replacement again.
2011-09-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix not converting \n to document line endings in snippets.
* src/editor.c:
Fix not indenting snippet contents for documents with non-\n line
endings.
2011-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c, src/keyfile.c, src/keyfile.h, src/ui_utils.c:
Add configuration_add_various_pref_group().
* src/win32.c:
Fix \0 char in format string - save as dialog filter bug.
2011-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Rename use_safe_file_saving various pref to use_atomic_file_saving
as it's not 'safe'. Use old pref if new one is missing for
compatibility with Geany <= 0.20.
* src/prefs.c, src/stash.h, src/stash.c:
Fix making various prefs tree sync with data values when showing
the prefs dialog (patch by Dimitar Zhekov, thanks).
2011-09-17 Frank Lanitz <frlan@frank.uvena.de>
* po/fa.po, THANKS, src/about.c:
Adding Persian translation. Thanks to Moein Owhadi Kareshk
* THANKS: Adding Giuliano Manzitti to THANKS-file.
2011-09-16 Colomban Wendling <colomban(at)geany(dot)org>
* src/ui_utils.c:
Fix document sensitivity of a few menu items.
2011-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Change various prefs label to /warn/ the user to read the manual.
2011-09-15 Colomban Wendling <colomban(at)geany(dot)org>
* src/utils.c:
Ask the user to configure a valid browser command if spawning it
fails rather than falling back to some arbitrary hardcoded defaults.
2011-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c:
Fix uninitialized font size & other fields.
Remove unhooked font dialog apply button.
2011-09-13 Colomban Wendling <colomban(at)geany(dot)org>
* data/filetype_extensions.conf:
Add Markdown extensions from Shared MIME-Info database (closes
#3405321).
* src/filetypes.c:
Add missing MIME type to a few filetypes.
* doc/geany.txt, doc/geany.html:
Fix a few typos.
2011-09-12 Colomban Wendling <colomban(at)geany(dot)org>
* src/symbols.c:
Fix updating symbol list for overloaded C++ symbols (closes
#3406644).
2011-09-02 Colomban Wendling <colomban(at)geany(dot)org>
* src/ui_utils.c:
Fix check for enabling MIME type based icons.
* src/encodings.c, src/filetypes.c:
Plug a few memory leaks.
2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
* src/utils.h:
Fix foreach_ptr_array() not to crash on arrays with 0 elements.
2011-08-25 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
doc/geany.html, data/filetypes.*:
Add support for filetype-specific indentation settings (closes
#3339420 and #3390435).
* src/callbacks.c, src/editor.c, src/editor.h:
Add editor_set_indent_width() to only set indentation width.
* src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
src/interface.c, geany.glade:
Add menu items to detect indentation settings from document's
content.
2011-08-24 Colomban Wendling <colomban(at)geany(dot)org>
* src/editor.c:
Make completion and word completion support non-ASCII characters
(closes #3313351).
2011-08-21 Colomban Wendling <colomban(at)geany(dot)org>
* src/callbacks.c, src/editor.c, src/editor.h, src/keybindings.c:
Fix search for the current word if it isn't composed of only
GEANY_WORDCHARS (closes #3386129).
2011-08-20 Colomban Wendling <colomban(at)geany(dot)org>
* tagmanager/haskell.c:
Fix tags for one-letter Haskell symbols (closes #3289160).
2011-08-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* doc/plugins.dox:
Update of wording to fix some grammatical issues etc. on plugin howto.
Patch provided by Matthew Brush. Thanks.
* data/filetypes.Cython.conf:
Extend list of primary keywords. Patch by Alexander Eberspächer. Thanks.
2011-08-19 Colomban Wendling <colomban(at)geany(dot)org>
* data/filetype_extensions.conf, data/filetypes.Cython.conf,
data/filetypes.python:
Add Cython filetype (patch by Matthew Brush, thanks).
* src/symbols.c, tagmanager/include/tm_workspace.h,
tagmanager/tm_workspace.c:
Create temporary files used for generating global tags files in the
system directory for temp files.
* tagmanager/diff.c:
Don't make tags for /dev/null in diff files but for the new file
instead (Based on a patch by Yang Hong, thanks).
2011-08-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* doc/plugins.dox:
Update API version used inside plugin howto to a more recent version
(API v211).
2011-08-13 Colomban Wendling <colomban(at)geany(dot)org>
* src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
Focus the editor upon double click on the message and compiler
windows (patch by Dimitar Zhekov, thanks).
2011-08-03 Colomban Wendling <colomban(at)geany(dot)org>
* src/geany.h, plugins/classbuilder.c, plugins/export.c,
plugins/filebrowser.c, plugins/htmlchars.c, plugins/saveactions.c,
plugins/splitwindow.c:
Only include config.h when building Geany (closes #3384026).
2011-07-31 Frank Lanitz <frlan@frank.uvena.de>
* doc/plugins.dox:
Adding some content about PLUGIN_SET_TRANSLATABLE_INFO() into plugin
HowTo as well as a hint to make usage of main_locale_init().
2011-07-28 Colomban Wendling <colomban(at)geany(dot)org>
* src/build.c, src/build.h, src/editor.c, src/interface.c,
src/keyfile.c, src/prefs.c, src/stash.c, src/stash.h,
src/ui_utils.c, geany.glade, doc/geany.txt, doc/geany.html:
Allow to edit formerly hidden preferences in the prefs dialog
(closes #3313315, patch by Dimitar Zhekov and myself, thanks!).
* src/document.c:
Improve indentation width detection to better deal with Java
and Vala files.
2011-06-26 Colomban Wendling <colomban(at)geany(dot)org>
* src/highlighting.c:
Recognize C# and Vala raw and verbatim strings as string styles.
* src/editor.c:
Fix indentation brace matching (closes #3309606).
2011-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, doc/geany.txt, doc/geany.html, README, HACKING,
geany.pc.in:
More GTK 2.8 => GTK 2.12 transition.
2011-06-20 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/keyfile.c, doc/geany.txt,
doc/geany.html:
Add an hidden pref to choose between GIO and plain C unsafe
file saving.
* configure.ac, src/document.c, win32-config.h:
Completely drop HAVE_GIO checks.
2011-06-18 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/editor.c:
Remove support of size being -1 in document_open_file_list().
* src/utils.c src/utils.h:
Remove support of size being -1 in utils_get_line_endings().
* src/stash.c, src/stash.h:
Make StashWidgetID map to gconstpointer, allowing use of const
strings as the widget key.
2011-06-16 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/main.c, src/ui_utils.c, src/utils.c:
Remove most of the checks for GIO.
* src/win32.c:
Remove last GLib >= 2.16 check.
2011-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c:
Fix two bugs with triple quoted strings within comments
and missing indentation within triple quoted strings
(#3316966, synced from CTags SVN, patch by Elias Pschernig, thanks).
2011-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.python:
Add Cython keywords.
2011-06-13 Colomban Wendling <colomban(at)geany(dot)org>
* configure.ac, src/Makefile.am, src/makefile.win32, wscript:
Bump dependencies to GTK >= 2.12, GLib >= 2.16 and GIO.
* plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
src/build.c, src/dialogs.c, src/document.c, src/highlighting.c,
src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
src/vte.c:
Deprecate ui_widget_set_tooltip_text() in favor of
gtk_widget_set_tooltip_text().
* configure.ac, doc/geany.html, doc/geany.txt, src/callbacks.c,
src/keyfile.c, src/main.c, src/prefs.c, src/printing.c,
src/printing.h:
Enable GTK printing support unconditionally.
* doc/geany.html, doc/geany.txt:
Stop talking about pre-GTK 2.12 tricks.
* geany.glade, src/interface.c:
Fix Printing preferences page alignment.
* src/notebook.c:
Remove pre-GTK 2.10 tab DnD support.
* src/pluginutils.c, tagmanager/tm_file_entry.c,
tagmanager/tm_symbol.c, tagmanager/tm_tag.c:
Unconditionally use GSlice allocator.
2011-06-11 Colomban Wendling <colomban(at)geany(dot)org>
* src/dialogs.c, src/main.c, src/ui_utils.h:
Always destroy open and save dialog after use. This also helps
working around a long-living GTK+ bug, hopefully closing #3311258,
#3304273, #3201050, #3163742, #3153120 and #2985896.
2011-06-03 Colomban Wendling <colomban(at)geany(dot)org>
* src/callbacks.c, src/document.c, src/document.h, src/editor.c,
src/search.c, src/search.h:
Show the actual text the user searched for in messages rather than
the internal one (patch by Eugene Arshinov, thanks).
* src/search.c:
Also use the actual user search in the combo box history.
2011-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/document.h, src/ui_utils.c, src/ui_utils.h:
Add ui_focus_current_document() and document_grab_focus().
* src/project.c:
Focus the editor widget after loading project session files.
* scripts/create_py_tags.py:
Ignore tags ending with an underscore.
Dynamically determine the path of Python's standard library instead
of hardcoding it.
Parse all modules of the Python standard library instead of a
hardcoded list of filenames.
2011-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.java:
Move keyword 'enum' to primary keywords (closes #3305737).
2011-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c:
When checking for literal strings to ignore, consider also
unicode, binary and raw strings.
* src/plugins.c:
Define and use get_plugin_path() always and move platform dependent
code into the function definition.
Do not add active plugins to the list of plugins when they are
already in the list (closes #3308191).
Check whether the custom plugin path is one of the user or system
plugin paths and if so, ignore it.
2011-05-27 Colomban Wendling <colomban(at)geany(dot)org>
* src/prefs.c:
Fix preferences help button when activated with the keyboard.
2011-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/about.c, src/build.c, tagmanager/tm_workspace.c:
Remove unused variables (patch by Eugene Arshinov, thanks).
* src/stash.c:
Remove unused variables (suggested by Eugene Arshinov).
* src/ui_utils.c, doc/geany.txt, doc/geany.html:
Do not allow 'Save All' even if 'allow_always_save' is set
(patch by Dimitar Zhekov, thanks).
* data/filetypes.java:
Add 'enum' to secondary keywords
(closes #3305737, patch by Matthew Brush, thanks).
2011-05-12 Colomban Wendling <colomban(at)geany(dot)org>
* src/encodings.c:
Update the HTML content-type encoding detection regexp to accept some
more valid inputs (closes #3300703).
2011-05-11 Colomban Wendling <colomban(at)geany(dot)org>
* src/plugins.c:
Improve the plugin manager dialog a little.
* src/geanywraplabel.c, src/geanywraplabel.h, src/keybindings.c,
src/plugins.c:
Cleanup GeanyWrapLabel a bit.
2011-05-09 Colomban Wendling <colomban(at)geany(dot)org>
* plugins/splitwindow.c:
Remove widget reparenting in Split Window plugin. This fixes plugin
issues on Windows (patch by Matthew Brush, thanks - closes #2725342).
* plugins/Makefile.am, plugins/makefile.win32, wscript:
Enable SplitWindow build on Windows again (re-apply Enrico's patch).
2011-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* HACKING:
Add note about patching Glade 2.12 to compile it with
newer GTK versions.
2011-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Fix 'Toolbar Preferences' popup menu item (oops).
2011-05-03 Colomban Wendling <colomban(at)geany(dot)org>
* doc/geany.txt, doc/geany.html:
Update the documentation for project patterns and recent FIF dialog
changes.
2011-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, doc/geany.txt, doc/geany.html:
Allow translations for color scheme [theme_info] keys.
* src/build.c, src/filetypes.c, src/filetypes.h, src/main.c:
Save filetype build commands straight after editing them instead of
at shutdown (patch by Dimitar Zhekov, thanks).
2011-05-02 Colomban Wendling <colomban(at)geany(dot)org>
* src/plugindata.h:
Bump plugin API version so a plugin can know the project file
patterns are visible by the user.
2011-05-01 Colomban Wendling <colomban(at)geany(dot)org>
* src/search.c:
Fix pattern filtering when not searching in subdirectories.
2011-04-30 Colomban Wendling <colomban(at)geany(dot)org>
* src/project.c:
Fix project patterns and make them visible (based on a patch
by Jiří Techet, thanks).
* src/search.c:
Use project patterns in the FIF dialog (based on a patch
by Jiří Techet, thanks).
* src/msgwindow.c:
Open the file in the msgwindow even if no line number is specified.
2011-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, data/filetype_extensions.conf:
Revert 'Compiled' filetype group back to 'Programming' (couldn't
agree on whether e.g. Java is a compiled language).
* doc/geany.txt, doc/geany.html:
Add section 'Filetype group membership'.
* src/highlighting.c, doc/geany.txt, doc/geany.html,
data/colorschemes/alt.conf:
Read color scheme name and description for menu item label and
tooltip (based on patch by Matthew Brush, thanks).
2011-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h:
Remove now unnecessary Custom filetype group.
* src/filetypes.c:
Move text markup languages into Markup filetype group.
Move some programming language filetypes out of the Miscellaneous
group.
Fix filetype title for some languages.
Don't use 'Languages' for Miscellaneous group label.
These changes mostly proposed by Matthew Brush (thanks).
* src/filetypes.c:
Make custom filetype titles use 'source file' only if their group
is Compiled or Script.
Use 'source file' for reStructuredText title.
2011-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/main.c,
data/filetype_extensions.conf:
Make filetype group membership configurable using [Groups] in
filetype_extensions.conf.
Read filetype_extensions.conf when calling filetypes_init_types(),
don't require doclist initialization.
* src/filetypes.c:
Change Programming Languages filetype group label -> Compiled
Languages.
Use 'source file' title for custom filetypes.
* src/prefs.c, doc/geany.txt, doc/geany.html:
Remove Preferences label warning about restarting after editing
template data - this is no longer necessary.
2011-04-26 Colomban Wendling <colomban(at)geany(dot)org>
* src/callbacks.c, src/document.c, src/document.h,
src/documentprivate.h, src/editor.c, src/sidebar.c:
Make sure to update the tag list only for the current document,
avoiding idle updates to show the tag list for the wrong document.
* src/callbacks.c, src/document.c, src/documentprivate.h,
src/sidebar.c:
Avoid changing the tag tree if it's not the one of the current
document, fixing showing the wrong tag list when reloading
configuration files.
2011-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Fix warning in utils_find_open_xml_tag() with malformed tags like
<~foo> (oops).
2011-04-24 Colomban Wendling <colomban(at)geany(dot)org>
* src/editor.c:
Don't update the tag list when the user is typing (patch by Yura
Siamashka, thanks).
* src/filetypes.c:
When copying filetype groups, add keys from both system and user
ones, making sure user's ones have precedence over system ones.
2011-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/plugindata.h, src/plugins.c,
plugins/geanyfunctions.h:
Add utils_find_open_xml_tag_pos() API function (patch by Eugene
Arshinov, thanks).
* src/templates.c:
Replace dates on template insertion, not when loading templates.
2011-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix multiple snippet cursor positions for Tabs + Spaces mode.
Simplify editor_insert_snippet() code now we use cursor marker
strings.
* src/utils.c, src/utils.h, src/editor.c:
Add utils_string_find() to search in a fixed range.
Change utils_string_replace() to just replace a fixed number of
characters.
2011-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugindata.h, src/document.c, src/plugins.c, src/document.h,
plugins/geanyfunctions.h:
Add document_compare_by_tab_order() and
document_compare_by_tab_order_reverse() to the plugin API.
* src/ui_utils.c:
Use document_compare_by_tab_order() as default compare function
to sort the document list in the document notebook tab menu, this
fixes the currently broken default ordering.
2011-04-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/editor.c:
Add function utils_string_replace() to replace in a fixed range.
Remove utils_string_replace_helper() and update cursor marker code.
2011-04-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix snippets bug: {ob}pc{cb} replaced by '%' instead of {pc}.
Refactor snippets_make_replacements() using geany_cursor_marker.
2011-04-13 Colomban Wendling <colomban(at)geany(dot)org>
* src/editor.c:
Avoid triggering autocompletion on PHP open tags (closes #3199442).
2011-04-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Update dox for document_compare_by_display_name() with warning
about parameter addresses.
* src/document.h:
Use brackets for DOC_FILENAME() macro 'doc' argument.
* src/templates.c, src/utils.c, src/toolbar.c, src/utils.h,
src/keyfile.c, src/filetypes.c, src/editor.c, src/symbols.c:
Make utils_build_path() return a copy for safety.
* src/keybindings.c:
Fix Ctrl-Shift-[CV] keybindings to work outside the VTE.
2011-04-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Fix wrong casting of array pointers, thanks Nick.
* src/plugindata.h, src/callbacks.c, src/document.c, src/plugins.c,
src/document.h:
Rename document_sort_by_display_name() into
document_compare_by_display_name(), thanks again Nick.
2011-04-11 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/editor.c, src/keybindings.c:
Revert r5642 "Don't update parent WorkObjects when updating one in
real-time" because it broke calltips.
2011-04-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Update path when saving a new document for the first time if the
follow path option is enabled.
* src/about.c, src/keyfile.c, THANKS:
Store VTE path with the session (based on patch by Nicolas
Sierro, thanks).
There's still a bug with loading a project at startup; closing the
project doesn't restore old VTE path.
* src/filetypes.c, src/filetypes.h:
Refactor with filetypes_get_filename().
Make filetypes_get_conf_extension() static.
* src/utils.c, src/utils.h, src/filetypes.c:
Make utils_make_filename() return a copy for safety.
2011-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Ignore scrolling events in on_update_ui().
* src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
src/document.c, doc/pluginsignals.c:
Add and use signal "document-reload" to the plugin API.
* src/symbols.c, tagmanager/sql.c:
Fix mapping of SQL tags for Geany's symbol list (closes #3216474).
* src/ui_utils.h, src/plugindata.h, src/document.c, src/plugins.c,
src/document.h, src/ui_utils.c, plugins/geanyfunctions.h:
Add ui_menu_add_document_items_sorted() and
document_sort_by_display_name() to the plugin API.
2011-04-08 Colomban Wendling <colomban(at)geany(dot)org>
* scintilla/lexers/LexCPP.cxx:
Make highlighting of triple-quoted verbatim an option (Backport
from Scintilla HG 3602:5536ed81a85b).
* src/highlighting.c:
Add highlight for triple-quoted verbatims.
* data/filetypes.c, data/filetypes.vala, data/filetypes.Genie.conf,
data/filetypes.Scala.conf:
Highlight triple-quoted verbatims in Vala, Genie and Scala filtypes.
* data/filetypes.Genie.conf:
Copy C styling rather than redefining the styles.
* src/editor.c:
Don't set font twice for line numbers and braces.
2011-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Remove TEMPLATES_GET_FILENAME() macro.
* src/search.c:
Don't auto-enable case-sensitive option when enabling regex in
Find/Replace dialogs.
2011-04-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/gtk/ScintillaGTK.cxx:
Fix X PRIMARY selection issue when Scintilla widget is
unrealized/re-realized (Backport from Scintilla HG,
original patch by Matthew Brush).
Reset cursors when Scintilla widget is realized (Backport from
Scintilla HG, original patch by Matthew Brush).
2011-04-04 Colomban Wendling <colomban(at)geany(dot)org>
* scintilla/gtk/PlatGTK.cxx:
Fix font rendering in Scintilla when using Cairo.
2011-04-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Make Project->Properties the last menu item so it's faster to use.
2011-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/*:
Update Scintilla to version 2.25.
* version.txt, Makefile.am:
Add Scintilla's version.txt file.
* scintilla/makefile.win32, tagmanager/makefile.win32, makefile.win32:
Replace escape character '\' by slash '/' in paths in the
Windows Makefiles (patch by Matthew Brush, thanks).
* src/tools.c:
Reflect the existence of the entered command in `Set Custom Commands`
dialog as well using the yes/no icon.
2011-04-03 Colomban Wendling <colomban(at)geany(dot)org>
* src/main.c, src/prefs.c, src/tools.c:
Fix loading and updating menu accelerators for custom commands.
* src/prefs.c:
Don't allow editing keybinding column of group rows.
* src/tools.c:
Fix ID of newly added commands in the `Set Custom Commands` dialog.
2011-04-02 Colomban Wendling <colomban(at)geany(dot)org>
* src/tools.c, doc/geany.txt, doc/geany.html:
Improve the `Set Custom Commands` dialog.
2011-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/interface.h, geany.glade:
Rename Preferences dialog Interface subtab More -> Notebook tabs.
* src/toolbar.c, src/dialogs.c:
Use mimetype icon in File Properties dialog.
* doc/geany.txt, doc/geany.html:
Fix title capitalization.
* src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
Move Preferences dialog Toolbar tab under Interface tab.
* src/build.c:
Tweak some build dialog labels:
Clear -> Reset.
Fix capitalization.
Use filetype name instead of title.
* src/templates.c, src/templates.h, doc/geany.txt, doc/geany.html:
Remove old filetype templates support - users can use custom file
templates instead.
2011-04-01 Colomban Wendling <colomban(at)geany(dot)org>
* src/encodings.c:
Update regex used to find encodings for it to allow the encoding to
be quoted, adding support for XML (closes #3183506).
* src/encodings.c:
Implement charset name normalization in order to better deal with
badly-written encoding names (i.e. names found by regex search).
This also makes encodings_get_idx_from_charset() and
encodings_get_from_charset() more permissive regarding the passed-in
encoding name.
* src/encodings.c:
Always try to honor the charset found in the document, even if the
document can be loaded as UTF-8.
This make files encoded with e.g. ISO-8859-1 that have the proper
information in them but only use the UTF-8 compatible part of
ISO-8859-1 to be properly loaded as ISO-8859-1, rather than UTF-8.
Also fix check for locale encoding.
* src/tools.c, doc/geany.txt, doc/geany.html:
Make `Send selection to` send the current line if there is no
selection.
2011-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Make 'Hide object files' preference configurable with file
extensions.
* plugins/filebrowser.c:
Fix applying default setting for hide_object_files (oops).
Fix warning when enabling plugin from the Plugin Manager.
* plugins/filebrowser.c:
Fix optimization for filter check when pattern is '*'.
Use foreach_strv() instead of foreach_c_array().
* plugins/filebrowser.c:
Don't hide directories matching hidden file extensions e.g. foo.o.
Refactor with check_object().
2011-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Use STYLE_MAX instead of 127 for editor_set_font(). This fixes a
crash in the Split Window plugin when changing filetype (patch by
Matthew Brush, thanks; fixes #3255968).
* plugins/splitwindow.c:
Update styles when the filetype changes (based on patch by
Matthew Brush, thanks).
* plugins/saveactions.c:
Fix Instant Save preferences combo box filetype order.
* plugins/filebrowser.c:
Remove macro CHECK_READ_SETTING().
2011-03-30 Colomban Wendling <colomban(at)geany(dot)org>
* src/plugindata.h, src/pluginprivate.h, src/plugins.c,
src/pluginutils.c, src/pluginutils.h plugins/geanyfunctions.h:
Add plugin_idle_add(), plugin_timeout_add() and
plugin_timeout_add_seconds() to the plugin API. These are
convenience wrappers to ensure the added timeouts are properly
removed when unloading the plugin, preventing possible crashes.
* plugins/splitwindow.c:
Use new plugin_idle_add(), preventing an unlikely crash.
* doc/pluginsymbols.c, src/sciwrappers.c:
Fix a few Doxygen warnings.
* plugins/saveactions.c:
Properly use 0 as the invalid timeout source ID.
2011-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Add #reading-styles-from-another-filetype subsection, based on
patch by Matthew Brush (thanks).
* doc/geany.txt, doc/geany.html:
Add #filenames subsection for filetype definition files explaining
the filename extensions and special cases.
* src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
src/main.c, plugins/geanyfunctions.h:
Add filetypes_get_sorted_by_name() to API.
Fix --ft-names sorting to print in name order, not title order.
2011-03-28 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/document.h, src/editor.c, src/keybindings.c:
Don't update parent WorkObjects when updating one in real-time. This
should fix some performance issues if a WorkObject has many parents.
2011-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/makefile.win32, src/main.c, src/Makefile.am, configure.ac,
wscript:
Initialize GLib's Gthread system early at startup in case any
plugins need it.
* src/keybindings.c, src/keybindings.h, src/plugindata.h,
doc/geany.txt, doc/geany.html:
Add new keybinding 'Remove Markers and Error Indicators'.
2011-03-26 Colomban Wendling <colomban(at)geany(dot)org>
* src/sidebar.c:
Fix the sidebar popup menu to properly use the currently selected
item rather than the previous one.
Also change the hack used for the selection to be updated in the
input handlers to call the GtkTreeView's handler manually rather than
doing the actual job in IDLE callbacks for the TreeView's handler to
have run.
* doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
src/editor.h, src/interface.c, src/interface.h, src/keyfile.c,
src/project.c:
Add possibility to detect the indentation width from the file content
(not supported if indentation type is tabs only).
* plugins/splitwindow.c:
Enable code folding in splitview window (based on a patch by Matthew
Brush, thanks! - closes #3097780).
Fix confusing terminology in Split Window plugin menu labels (patch
by Matthew Brush - closes #2796316).
Don't unsplit when closing the displayed document but rather pick the
new current one if any.
2011-03-25 Colomban Wendling <colomban(at)geany(dot)org>
* data/filetypes.vala:
Update Vala keywords (based on a patch from Matthew Brush, thanks).
* data/document.c:
Small code cleanups.
2011-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Add history to filter entry.
* src/keybindings.c, src/vte.c:
Add fixed shortcuts for VTE copy (Ctrl-Shift-C) and paste
(Ctrl-Shift-V).
* src/keybindings.c:
Make VTE copy/paste shortcuts work if 'Override Geany
keybindings' is not set.
2011-03-24 Colomban Wendling <colomban(at)geany(dot)org>
* doc/geany.txt, doc/geany.html:
Update the documentation to talk about real-time tag parsing.
* doc/geany.txt, doc/geany.html, src/callbacks.c, src/callbacks.h,
src/document.c, src/document.h, src/geanyentryaction.c,
src/search.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h:
Make Shift-Enter in search dialog and toolbar search entries search
backwards.
* plugins/filebrowser.c, plugins/saveactions.c, src/callbacks.c,
src/dialogs.c, src/document.c, src/document.h, src/editor.c,
src/encodings.c, src/filetypes.c, src/highlighting.c, src/log.c,
src/main.c, src/plugins.c, src/printing.c, src/project.c,
src/search.c, src/socket.c, src/toolbar.c, src/utils.c, src/utils.h:
Improve usage of G_LIKELY() and G_UNLIKELY() macros.
2011-03-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c:
Make --ft-names list filetypes alphabetically.
* plugins/filebrowser.c:
Allow multiple file filters to be separated by a space for
consistency with Find in Files file patterns. ';' is still
allowed also.
2011-03-20 Colomban Wendling <colomban(at)geany(dot)org>
* data/filetypes.*, doc/geany.txt, doc/geany.html, src/callbacks.c,
src/filetypes.c, src/filetypes.h, src/templates.c:
Add new filetype setting "comment_single" to provide separated
single-line and multiline comment support. Single-line are used in
priority to comment code, and multiline to make template comments.
* src/editor.c, src/search.c, tagmanager/diff.c:
Don't use strlen(..) > 0 or == 0, simply check the first character
against 0.
* src/document.c:
Update forced indent settings when setting the filetype. This makes
documents created or set to a filetype with forced indent setting
(Makefile, F77) to have the correct setting right away.
2011-03-19 Colomban Wendling <colomban(at)geany(dot)org>
* src/callbacks.c:
Create a new undo action when inserting templates, making sure the
user can undo the template insertion without also undoing a previous
action.
2011-03-18 Colomban Wendling <colomban(at)geany(dot)org>
* src/document.c, src/encodings.c, src/encodings.h:
Move document encoding conversion with BOM support to encodings.[ch]
as encodings_convert_to_utf8_auto().
* src/templates.c:
Properly convert template files to UTF-8 on loading, fixing encoding
issues if templates files are not encoded in UTF-8.
2011-03-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/templates/files/main.vala:
Add file template for Vala (patch by Mark Trompell, thanks).
2011-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/filetypes.c:
Support copying filetype definition file group keys from a system
keyfile with e.g. [styling=C].
Add function utils_make_filename() for building filenames easily.
* THANKS, plugins/classbuilder.c:
Improve Class Builder plugin dialog UI using a table (patch by
Matthew Brush, thanks).
* plugins/classbuilder.c:
Fix GLib warning when creating classes and no documents are open
(patch by Matthew Brush, thanks).
* plugins/classbuilder.c:
Undo patch change to cc_option_label_new() to append a ':' colon to
label text because this unnecessarily causes string translations to
be updated.
* src/interface.c, geany.glade:
Fix wrong label capitalization for Toolbar Preferences dialog tab
and 2 other labels.
* data/filetypes.Scala.conf, data/filetype_extensions.conf:
Add Scala custom filetype, based on file by werg (thanks).
(This uses the newly added [styling=C] syntax).
* src/filetypes.c:
Make special case for filetypes.matlab instead of truncating all
filetype config filenames at slash.
* src/filetypes.c:
Fix generating tag files and --ft-names option by ensuring GTK is
initialized before calling ui_get_mime_icon().
2011-03-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c:
Adding Wei-Lun Chao as current maintainer for traditional Chinese
translation.
2011-03-15 Colomban Wendling <colomban(at)geany(dot)org>
* src/templates.c, src/templates.h:
Use the same indentation for all templates (part of FR#3193527; from
a patch by Matthew Brush, thanks).
* src/plugins.c:
Always keep the list of loaded plugin sorted by name.
2011-03-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf:
Add Markdown extension.
2011-03-10 Colomban Wendling <colomban(at)geany(dot)org>
* src/toolbar.c:
Correctly expand the menubar if the toolbar is appended to it but
not visible (closes #3204955).
* plugins/filebrowser.c, src/editor.c, src/plugins.c, src/symbols.c,
src/tools.c, src/utils.c:
Prefer prepend elements to lists rather than append them, for better
performances.
2011-03-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h:
Fix wrong code example in the API docs
(spotted by Matthew Brush, thanks).
2011-03-07 Colomban Wendling <colomban(at)geany(dot)org>
* tagmanager/mio/mio-memory.c:
Import upstream MIO changes not to require a C99 compiler.
2011-03-06 Colomban Wendling <colomban(at)geany(dot)org>
* src/symbols.c:
When sorting tags by line, also sort by scope if line is the same,
avoiding wrong sorting if a parent tag is on the same line than its
children, and one of it's children would be sorted before
alphabetically (closes #3193982).
2011-03-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/interface.c, geany.glade:
Fix typo.
* src/search.c:
Remember Find and Replace options across restarts
(patch by Dimitar Zhekov, thanks).
Cleanup.
Respect saved state of 'Case sensitive' option when using
the 'Regular expressions' option as well.
* plugins/export.c:
Add option to insert line numbers (closes #3197150).
Cleanup.
Use the full filename and add the extension of the export format.
Fix off-by-one bug which hidden the last empty line of a document.
2011-03-05 Colomban Wendling <colomban(at)geany(dot)org>
* configure.ac, wscript, makefile.win32, src/Makefile.am,
src/makefile.win32, tagmanager/Makefile.am, tagmanager/c.c,
tagmanager/entry.c, tagmanager/entry.h, tagmanager/fortran.c,
tagmanager/get.c, tagmanager/get.h, tagmanager/js.c,
tagmanager/lregex.c, tagmanager/makefile.win32, tagmanager/parse.c,
tagmanager/read.c, tagmanager/read.h, tagmanager/sort.c,
tagmanager/sql.c, tagmanager/strlist.c, tagmanager/mio/*:
Move most of TagManager's I/O to MIO.
* src/document.c:
Enable in-memory tag parsing.
* geany.glade, src/editor.c, src/editor.h, src/interface.c,
src/keyfile.c:
Add possibility to update symbol list in IDLE time, enabled by
default using a minimal delay of 250ms.
* src/symbols.c:
Improve implementation of hide_empty_rows() to do all in one shot.
* tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
tagmanager/tm_workspace.c:
Make TMTag reference-counted.
* src/sidebar.c, src/symbols.c, tagmanager/include/tm_tag.h,
tagmanager/tm_tag.c:
Provide a GType for TMTag and use it in the tag store to make sure
the tags it holds are always valid.
* src/sidebar.c:
Don't remove and add the symbols tree view if we re-add the same one.
* src/sidebar.c, src/sidebar.h, src/symbols.c:
Update the symbol list rather than clearing and re-building it.
There is room for improvement in the implementation side, but it
is harder to do, probably a future improvement.
* tagmanager/c.c:
Fix suffix of anonymous symbols (structs, enums, ...).
* tagmanager/c.c:
Plug a memory leak.
2011-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/saveactions.c:
Fix wrong warning on empty backup directory setting if
'Backup Copy' is not enabled at all.
* AUTHORS, src/about.c, README.Packagers, README:
Welcome Colomban Wendling, a new Geany developer.
2011-02-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Fix segfault when inserting e.g. fileheader template when the
template file is empty (#3070913, thanks to lphilpot).
2011-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
Add support for multiple file filters, separated by semicolon
(based on a patch by Grigory Javadyan, thanks).
2011-02-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/filetype_extensions.conf:
Fix detecting Matlab and Txt2Tags extensions by default (#3167315,
#3154637).
2011-02-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* tagmanager/latex.c:
Add a workaround for #3066566 to prevent Geany from crashing during
loading of a LaTeX-file containing linebreaks inside headings.
2011-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/php.c:
Fix memory leaks (reported by an anonymous IRC user).
* doc/geany.txt, doc/geany.html:
Replace '+' by '-' in the Scintilla Keybindings section
to be consistent with the other mentioned keybindings.
* src/project.c:
Improve error checking when trying to write project files
(patch by Colomban Wendling, thanks).
Add a warning if writing the project file fails on close.
* src/utils.c, src/utils.h, src/project.c, src/main.c, src/socket.c:
Rename utils_is_file_writeable() into utils_is_file_writable().
2011-01-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Ensure the editor widget has the focus when the editor menu is
called.
* scintilla/lexers/LexCOBOL.cxx, scintilla/src/Catalogue.cxx,
scintilla/Makefile.am, scintilla/makefile.win32, src/highlighting.c,
src/plugindata.h, src/filetypes.c, src/filetypes.h, src/editor.c,
src/symbols.c, tagmanager/parsers.h, tagmanager/makefile.win32,
tagmanager/cobol.c, tagmanager/Makefile.am, data/filetypes.cobol,
data/filetype_extensions.conf, wscript:
Add filetype Cobol (based on a patch by Seth Keiper).
2011-01-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
Add '.pyc' to the list of hidden object files
(patch by Filip Gruszczyński, thanks).
2011-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* *.*:
Update copyright information.
* configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
geany_private.rc, win32-config.h, wscript, src/geany.h:
Post-release version bump.
2011-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/filetypes.javascript:
Add and use secondary keywords for filetype JavaScript,
update and sanitize JavaScript keyword lists
(patch by Jason Oster, thank you).
2011-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c:
Added Rafael Peregrino da Silva to list of contributors for Brazilian
Portuguese (pt_BR) translation.
2011-01-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/toolbar.c, src/ui_utils.c, src/about.c, THANKS:
Add Save As toolbar button option (patch by Matthew Brush, thanks;
#3153490).
* scintilla/*, src/utils.c, src/notebook.c,
data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
data/filetypes.cs, data/filetypes.c, wscript:
Merge unstable branch:
- src/utils.c:
Fix detecting non-lowercase self-closing tags e.g. <BR> (#2226117).
- src/notebook.c:
Add 'Open in New Window' command in the notebook tab menu (based on
patch by Matthew Brush, thanks - #3118059).
- data/filetypes.cpp, data/filetypes.vala, data/filetypes.glsl,
data/filetypes.cs, data/filetypes.c:
Disable preprocessor #define tracking for the CPP lexer
(enabled by default in Scintilla).
- scintilla/*, wscript:
Update Scintilla to version 2.22.
Use Scintilla's directory structure mostly and only remove
unused lexers.
2011-01-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* New release: Geany 0.20 "Disra".
2011-01-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Add debug message with the number of compatible plugins in each
plugin search path when showing the Plugin Manager dialog.
2010-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Move and update 'Custom filetypes' section.
Add 'Creating a custom filetype from an existing filetype' section.
2010-12-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c, geany.glade:
Add Edit->Insert Alternative White Space menu item (was previously
removed from Edit->Commands submenu).
2010-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Split Preferences dialog Interface tab into subnotebook to reduce
height of dialog (fixes #3141277). Reuses existing strings.
* src/editor.c:
Scroll to the current line when moving the cursor to the next
cursor position in a snippet (#3139490).
* doc/geany.txt, doc/geany.html:
Add short 'View menu' section and 'Color schemes menu' section.
* src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
Add filetypes_get_display_name() to API.
2010-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Reduce Set Build Commands dialog column 1 width by using '#' label.
Fix memory leak.
* src/build.c:
Use italic for note labels in the Build Commands dialog.
2010-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/build.h:
Replace doc-comments with '/* *' comments to show there's no build
API for plugins.
2010-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/callbacks.c, src/vte.h, src/main.c:
Fix segfaults when using 'Send Selection to Terminal' and the VTE
is not loaded, and when using Ctrl-A after enabling the 'Load VTE'
pref (patch by Dimitar Zhekov, thanks).
* src/build.c, src/keyfile.c:
Fix some more wrong uses of vte_info.load_vte instead of
vte_info.have_vte.
* src/main.c:
Disable 'Send Selection to Terminal' item when not available
instead of removing it to avoid trailing separator.
* doc/geany.txt, doc/geany.html:
Add 'Configuration file paths' section and link to it instead of
repeating typical system data and user config directory paths.
List 2 Tools->Configuration Files menu items.
Add 'Plugin Manager' section break.
Edit some related sections.
* doc/geany.txt, doc/geany.html:
Update Ignore Tags section with example and menu item.
* doc/geany.txt, doc/geany.html:
List 'Tools->Configuration Files->filetypes.common' menu item.
2010-12-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Improve error message for document_save_file() if doc->file_name is
NULL (reusing existing strings).
Add warning about this in the API docs.
2010-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/ScintillaGTK.cxx:
Backport Scintilla HG fix: Remove styling idle in destructor to
avoid crashing when idle called after ScintillaGTK instance
destroyed (fixes #3111058).
This prevents a crash when closing a modified document (usually
without a trailing newline) and choosing Save.
2010-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Warn about file truncation if unsafe file saving fails.
2010-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Check result of fclose() for utils_write_file().
2010-11-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* win32-config.h:
Enable GIO and built-in regex support on Windows
when compiling without Waf.
2010-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany_private.rc:
Reformat and improve the Windows resource file.
2010-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/filetype_extensions.conf:
Add *.latex pattern.
* src/interface.c, geany.glade:
Add note to indentation prefs page about using Project->Apply
Default Indentation for currently open documents.
2010-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c, src/callbacks.c,
src/callbacks.h, geany.glade:
Add 'Mark All' Search menu command.
* src/symbols.c, doc/geany.txt, doc/geany.html:
If the current word's tag is on the current line, make Go to Tag
Definition look for a tag declaration instead, as this is more
useful. Likewise make Go to Tag Declaration search for a tag
definition in this case also.
* src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
Don't use 'Enable' in pref labels when unnecessary.
Rename XML/HTML tag autocompletion -> auto-closing.
* src/keyfile.c, src/document.c, src/document.h, doc/geany.txt,
doc/geany.html:
Add gio_unsafe_save_backup hidden pref (patch by Lex Trotman,
thanks).
* src/keybindings.c, src/editor.c, src/editor.h:
Add editor_get_prefs() instead of editor_get_long_line_*()
functions. This general function can be extended to support
various project and document overrides.
* src/keybindings.c, src/project.c, src/prefs.c, src/keyfile.c,
src/editor.c, src/editor.h:
Remove unnecessary 'global' from long line editor pref field names.
2010-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Explain how to grep the source for Scintilla lexer properties.
* src/sidebar.c, src/callbacks.c, src/main.c:
Fix auto-displaying of sidebar tab bar when sidebar is reshown.
Only auto-display symbols and documents tabs when showing the
sidebar if there are no plugin tabs.
Don't hide the sidebar on startup if only plugin tabs are visible
(fixes #3101867).
* src/plugindata.h:
Make GEANY_API_VERSION, GEANY_ABI_VERSION macros instead of enums
so you can protect code with '#if GEANY_API_VERSION >= 200'.
* src/plugindata.h:
Warn about preprocessor testing GEANY_API_VERSION below 200 because
those tests will always fail.
2010-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.xml:
Add 'instanceof' keyword for PHP (closes #3109330).
2010-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
Re-focus Set Build Commands/Project dialogs after editing a build
command label.
Add 'parent' argument to some dialogs_show_input*() functions because
the dialog parent may not always be the main window.
* src/build.c, src/dialogs.c, src/callbacks.c:
Don't change default build command entry color when cancelling
label editing.
Make dialogs_show_input() return NULL when cancelled.
* tagmanager/php.c:
Parse PHP final functions (fixes #3111171).
* src/dialogs.c, src/plugindata.h, src/plugins.c,
plugins/geanyfunctions.h:
Add dialogs_show_input() to API.
2010-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, doc/geany.txt, doc/geany.html:
Change 'Non-Filetype Commands' to 'Independent Commands' in the Set
Build Commands dialog.
* doc/geany.txt, doc/geany.html:
Use 'Filetype build commands' and 'Independent build commands'.
Fix saying project *independent* execute can only be set by hand.
2010-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c, src/editor.h:
Make Reflow Lines/Block command use the current indented block, not
the whole paragraph, which could have mixed indentation.
Fix memory leak and off-by-one bug on first line when using Select
Paragraph command.
* src/utils.c, src/highlighting.c, src/highlighting.h,
src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
plugins/geanyfunctions.h:
Add API functions (patch by Eugene Arshinov, thanks):
Move editor.c: is_{string,comment,code}_style() functions to
highlighting.c, add to API.
Add editor_find_snippet(), editor_insert_snippet(),
utils_find_open_xml_tag() to API.
2010-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c, doc/geany.txt, doc/geany.html:
Don't use XML tag auto-indentation when '</' is to the right of the
cursor; allow auto-indentation when XML tag auto-closing is also
enabled.
* doc/geany.txt, doc/geany.html:
Rename 'Format' section 'Filetype configuration'.
2010-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* waf:
Update Waf to current SVN version.
2010-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* waf, wscript:
Update Waf to version 1.6.1.
Update wscript for new Waf version, make it Python 3 compatible.
2010-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Display better error messages when saving a document fails (patch by
Dimitar Zhekov, thanks).
* src/editor.c:
Fix wrong snippet indentation when original cursor line has
non-indentation whitespace (patch by david, thanks).
* doc/geany.txt, doc/geany.html, data/filetypes.php,
data/filetypes.docbook, data/filetypes.xml, data/filetypes.html:
Enable XML tag autoindentation for PHP, Docbook and add docs for
this setting (patch by Eugene Arshinov, thanks).
2010-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/document.c:
Use LF line endings for templates internally instead of default
pref because the default can change. This fixes missing line
endings sometimes when changing default setting.
* src/document.c:
Fix not reporting an error message when saving a document fails.
Check result of fclose().
* src/filetypesprivate.h, src/filetypes.c, src/editor.c,
data/filetypes.xml, data/filetypes.html:
Add xml_indent_tags filetype setting for documents using the
HTML/XML lexers (patch by Eugene Arshinov, thanks).
* src/document.c:
Set errno to 0 before doing disk I/O to prevent confusing error
messages on save failure.
2010-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/filetypes.c:
Save build commands for filetype None (patch by Lex, thanks).
Make filetypes_get_conf_extension() return "common" for filetype
None.
* src/templates.c:
Convert line endings for file templates.
Fix line endings when using file header template in a file template
(oops).
* src/utils.c, src/utils.h:
Make utils_ensure_same_eol_characters() convert all wrong line
endings to the desired one, not just the most common one.
2010-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Respect 'Smart' home key for Shift+Alt+Home (patch by Dimitar
Zhekov, thanks).
* src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
Restore top-level editor popup item 'Find Document Usage'.
* src/interface.c, src/ui_utils.c, geany.glade:
Remove duplicates in 'Insert Comments' editor popup menu; rename
submenu 'More'.
Separate main menu insertion comments depending on number of times
used in a document.
* data/filetypes.*, data/colorschemes/alt.conf:
Rename word/word2 named styles to keyword/keyword2.
* doc/geany.txt, doc/geany.html:
Mention that indentation settings can be overridden per-project.
* src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
doc/geany.txt, doc/geany.html, geany.glade:
Add 'Project->Apply Default Indentation' menu command to override
every document's indentation settings.
Improve 'Indentation' section docs.
2010-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Fix build with GTK 2.12: explicitly include gio.h if GIO
is available and to be used regardless of the USE_GIO_FILEMON flag.
* wscript:
Fix installation of template files.
Show which regex implementation is used.
* src/ui_utils.c:
Use non-GIO mime-type icon lookup if GIO lookup fails.
* autogen.sh:
Allow skipping configure during autogen by setting NOCONFIGURE=1
(thanks to Chow Loong Jin).
2010-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Make use_safe_file_saving hidden pref apply even when GIO is
available, because g_file_replace_contents() doesn't handle disk
space exhaustion.
* src/main.c:
Show GIO/built-in regex support in startup debug message as well as
for --version.
* doc/geany.txt, doc/geany.html:
Add docs for the HTMLChars plugin (patch by Frank).
2010-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Do not translate 'name' field for filetype None because it is used
for hash table lookup. This fixes missing files in the Open dialog
for the 'All files' filter with non-English locales (thanks to Sardem
FF7, fixes #3094771).
* src/filetypes.c, src/filetypes.h, src/document.c, src/symbols.c,
src/ui_utils.c:
Add filetypes_get_display_name() to get translations for filetype
None.
* src/document.c:
Fix resource leak when saving files with GIO (patch by Colomban
Wendling, thanks).
2010-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
Add sci_get_lexer() to plugin API.
* plugins/htmlchars.c:
Only automatically replace characters when the current document is
a Markup document.
* plugins/htmlchars.c:
Rename submenu item labels to be more descriptive.
* src/keybindings.c:
Fix Alt+[0-9] switching tabs when other modifiers are also held.
* src/ui_utils.c:
Don't allow pasting of numbers followed by other characters in the
Go to Line dialog/field (patch by Dimitar Zhekov, thanks).
* src/main.c:
Print "GIO" and "built-in regex" if enabled with --version.
* src/document.c:
Use g_file_replace_contents() if available to save documents - this
should help workaround bugs in GVFS (based on patch by Alexey
Antipov, thanks).
Needs testing.
* src/templates.c:
Fix wrongly adding newlines for templates on disk that don't have
LF line endings when default line endings are not LF, e.g. Windows.
2010-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/main.c:
Remove trailing directory separator for app->datadir and
app->docdir for consistency with the other directory fields.
* src/filetypes.c:
Detect user and system filetype configuration files as Conf
filetype.
* src/editor.c:
Respect 'Smart' home key for Shift+Home (fixes #3100290).
2010-11-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/filetypes.ada:
Fix comments for Ada. Thanks to Jonas Baggett for reporting.
2010-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* Makefile.am:
Add install-data-only target to only install data/* to speed up
testing.
* src/editor.c:
Fix not autocompleting when breaking lines.
* data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
data/colorschemes/alt.conf, data/filetypes.haxe,
data/filetypes.common, data/filetypes.glsl,
data/filetypes.actionscript, data/filetypes.cs,
data/filetypes.ferite, data/filetypes.c, data/filetypes.javascript,
data/filetypes.Genie.conf:
Add named style 'extra', use for C-like filetypes.
2010-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/filetypes.xml:
Match data-* and aria-* as HTML attributes.
* data/colorschemes/alt.conf, data/filetypes.common,
data/filetypes.python:
Make Python use named styles for color scheme support - use
alt.conf color scheme if you want the old colors.
Add named style 'function'.
* src/plugindata.h:
Move plugin_set_info prototype and parenthesize arguments for
PLUGIN_SET_TRANSLATABLE_INFO (based on patch by Colomban Wendling,
thanks).
Fix putting pointer symbol before name, not after type.
2010-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/ui_utils.c:
Fix notebook tab menu icons using theme for "text/plain" filetypes.
Make filetype mime_type "text/plain" instead of NULL.
2010-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
Edit XML tag autocompletion pref and tooltip to include HTML.
* doc/geany.txt, doc/geany.html:
Add docs for 'Ensure consistent line endings' pref.
* src/keyfile.c:
Change default for 'Override Geany keybindings' to on.
* src/filetypes.c:
Sort filetypes_by_title last instead of on insertion to prevent
exponential time.
* src/ui_utils.h, src/filetypes.c, src/filetypes.h, src/ui_utils.c:
Add filetype mimetype field (patch by Colomban Wendling, thanks).
* src/sidebar.c, src/document.c:
Show mimetype icon in sidebar Documents list (patch by Colomban
Wendling, thanks).
* src/ui_utils.c:
Add notebook tab document icons (based on patch by Colomban
Wendling, thanks).
* src/filetypes.c:
Leave text/plain mime_type fields as NULL (like custom filetypes).
2010-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c, data/snippets.conf:
Move HTML automatic <table> tag completion into a 'table' snippet
so the user can decide when to use it (patch by Eugene Arshinov,
thanks).
* src/interface.c, src/prefs.c, src/about.c, src/keyfile.c,
src/document.c, src/document.h, THANKS, geany.glade:
Add 'Ensure consistent line endings' file saving pref (patch by
Manuel Bua, thanks).
* src/utils.c, src/utils.h, src/editor.c:
Auto-indent after an HTML/XML line with a missing closing tag (patch
by Eugene Arshinov, thanks).
Behaviour only applies if XML tag autoclosing is off.
* src/templates.c, src/build.c, src/document.c, src/editor.c,
src/symbols.c, plugins/saveactions.c:
Remove unnecessary uses of FILETYPE_ID() macro with
GeanyDocument::file_type.
* data/filetypes.xml:
Add HTML5 attributes (thanks to Ross McKay).
2010-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
Fix not changing edited keybindings when cancelling the Preferences
dialog.
* data/filetypes.xml:
Add HTML5 element names (thanks to Ross McKay).
2010-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/filetypes.c:
Remove filetype default extensions from code.
* src/filetypes.c:
Allow 'Foo=' in filetype_extensions.conf to remove all patterns.
* src/prefs.c:
Refactor shared code with kb_cell_edited_cb().
2010-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Use radio buttons for View->Editor->Color Schemes menu.
Don't hide the menu when only the default item is available.
* data/colorschemes, data/colorschemes/alt.conf, wscript, Makefile.am:
Add alternative color scheme based on Python colors.
* scintilla/LexErlang.cxx, scintilla/makefile.win32,
scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
data/filetype_extensions.conf, data/filetypes.erlang, wscript:
Add Erlang filetype (patch by Taylor Venable, thanks).
* src/filetypes.c, data/filetypes.*:
Move filetype 'extension' default into data files.
* src/filetypes.c, data/filetypes.vala:
Move filetype comment_{open,close} defaults into data files.
2010-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/filetypes.c, data/filetypes.d:
Add missing C99 keyword 'restrict' (#3046716).
Add missing D1 keywords 'ref' and 'macro'.
Add D2 keywords.
* tagmanager/c.c:
Parse Vala functions with contracts (#3080232).
* src/project.c:
Fix saving project indent prefs straight after using project
properties.
* src/highlighting.c, src/filetypes.c:
Prevent debug message about a missing 'default' named style when
using just a user color scheme file.
2010-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c:
Fix off-by-one bug in 'search_mark_all'.
2010-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/get.c:
Ignore D /+ +/ comments.
* tagmanager/c.c:
Ignore D unittest blocks.
Parse D template functions with constraints.
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add 'Insert New Line Before/After Current' keybindings (based on
patch by Eugene Arshinov, thanks).
* src/document.c:
Use secondary text for 'file not found on disk' dialog.
2010-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c:
Fix build with GLib 2.8.
2010-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/socket.c, src/Makefile.am, src/ui_utils.c,
configure.ac, doc/geany.txt, doc/geany.html, wscript, TODO:
Revert X11 workspace socket support as it needs more work; moved
to workspace-sockets branch.
2010-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/geanywraplabel.c:
Fix build with GLib 2.8.
* src/dialogs.c, src/about.c, THANKS:
Group Open dialog encoding options by submenus (patch by Adam Ples,
thanks; #3047717).
* scintilla/LexLisp.cxx, scintilla/makefile.win32,
scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
data/filetype_extensions.conf, data/filetypes.lisp, wscript:
Add Lisp filetype (patch by Mário Silva, thanks).
Note: Lisp lexer was taken from Scintilla instead.
2010-10-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/kk.po, THANKS, src/about.c:
Added Kazakh translation. Thanks to Baurzhan Muftakhidinov for
providing.
2010-10-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/highlighting.c, src/editor.c:
Don't cache overridden lexer properties.
Add foreach_strv() to plugin API.
Add utils_strv_join().
* tagmanager/basic.c:
Parse property, constructor, destructor as functions (patch by
pottersson, thanks; #2992167).
2010-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/tools.c, doc/geany.txt, doc/geany.html:
Fix passing quoted arguments when using 'Send Selection to'. This
means sed 's/\./(dot)/g' now works.
* src/editor.c:
Add snippet keybinding support for keys in user snippets.conf (based
on patch by Eugene Arshinov, thanks). No docs yet.
* doc/geany.txt, doc/geany.html:
Add some subheadings for Snippets section.
* doc/geany.txt, doc/geany.html:
Add snippet keybindings docs.
* src/highlighting.c, src/utils.h:
Move foreach_strv to utils.h.
* src/editor.c, data/snippets.conf:
Read snippet keybindings from system keyfile also.
Add keybinding example to default snippet.conf.
2010-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.h, src/filetypesprivate.h, src/filetypes.c,
src/filetypes.h, src/document.c, doc/geany.txt, doc/geany.html,
data/filetypes.txt2tags, data/filetypes.markdown,
data/filetypes.restructuredtext:
Add symbol_list_sort_mode per-filetype setting, set to sort by line
number by default for Markdown, reStructuredText and Txt2Tags.
Add utils_get_setting() macro for reading a key from a home or
system keyfile.
Move GeanyFiletypePrivate to filetypesprivate.h.
* src/Makefile.am, src/ui_utils.c, configure.ac, wscript:
Link with X11 if found to fix linking with a recent GNU ld.
* src/document.c:
Avoid delay and redrawing when automatically opening a new document
after closing one.
* scintilla/LexForth.cxx, scintilla/makefile.win32,
scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
data/filetypes.forth, data/filetype_extensions.conf, wscript:
Add Forth filetype (patch by Thomas Huth, thanks).
* src/tools.c:
Remove unnecessary 'fix' from r5224 as it breaks configuring custom
commands for 'Send Selection to' (oops).
2010-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
When commenting/uncommenting with single-line comment characters,
ignore any end of line characters before evaluating the current line.
* data/filetypes.python:
Simplify Python Compile/Syntax Check command.
2010-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/search.c, src/search.h, doc/geany.txt,
doc/geany.html:
Add hidden pref 'find_selection_type' with option to repeat last
search when there's no selection.
Change default Find Selection behaviour to not let the X selection
override the current word (can be confusing).
Add docs for Find Selection commands.
* src/document.c:
Fix segfault on idle callback when quitting.
* src/interface.c, src/keybindings.c, geany.glade:
Move 'Edit->Commands->Insert Alternative White Space' to editor popup
Insert menu.
* src/interface.c, geany.glade:
Move editor popup menu Insert Comments submenu to top of Insert menu.
* src/ui_utils.h, src/document.c, src/ui_utils.c, doc/geany.txt,
doc/geany.html:
Add hidden pref new_document_after_close for whether to open a new
document automatically, off by default.
* HACKING:
Add 'Bugs to watch out for' section.
2010-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c, doc/Makefile.am, doc/stash-example.c,
doc/stash-gui-example.c:
Improve Stash GUI example.
2010-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Move Go to Marker menu items to Search menu.
Rename popup editor menu item Commands -> Edit.
* src/callbacks.c, src/search.c, src/search.h:
Move find_again() to search.c.
* src/search.c:
Make Find Selected commands repeat the last search if the selection
was lost.
* doc/geany.txt, doc/geany.html:
Add docs for Find Selection keybindings.
* src/interface.c, src/keybindings.c, geany.glade:
Unify Find Selection strings.
* src/interface.c, src/ui_utils.c, geany.glade:
Group editor popup Insert commands in a submenu, with extra items
for the most commonly used Insert Comments commands.
Show Edit->Commands before Format in menubar Edit menu (to match
keybindings order).
Show Open Selected F_ile popup item below submenus.
2010-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Refactor shared submenu code with GeanySharedMenu array.
* src/interface.c, src/ui_utils.c, geany.glade:
Add Search submenu for Find Selected, Find Usage, Go to Tag items,
shared with the editor popup menu.
* src/document.c:
Open a new document automatically after closing all documents.
2010-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Prompt for reloading if the document has an undo stack to avoid
losing undo ability on accidental reloading (patch by Colomban
Wendling, thanks).
* src/project.c, src/geanyobject.c, src/geanyobject.h,
doc/pluginsignals.c:
Add plugin signals project-dialog-create and
project-dialog-confirmed so plugins can append a Project Properties
notebook tab (patch by Jiří Techet, thanks).
* src/ui_utils.h, src/plugindata.h, src/main.c:
Add main_widgets.project_menu to API (patch by Jiří Techet, thanks).
* src/plugindata.h, src/msgwindow.c, src/msgwindow.h, src/search.c,
src/plugins.c, plugins/geanyfunctions.h:
Add msgwin_set_messages_dir() to API (patch by Jiří Techet, thanks).
2010-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Save document indent width with the session.
* src/ui_utils.h, src/socket.c, src/ui_utils.c, doc/geany.txt,
doc/geany.html, TODO:
Use a separate socket per workspace on X (patch by Erik de Castro
Lopo, thanks).
2010-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c:
Ignore directories passed on the command-line (based on patch by
Erik de Castro Lopo, thanks).
* tagmanager/c.c:
Parse D function template names.
* src/interface.c, src/callbacks.c, src/callbacks.h, src/keyfile.c,
src/document.c, src/editor.c, src/editor.h, src/ui_utils.c,
geany.glade:
Allow per-document indent width setting (patch by Jiří Techet,
updated by Erik de Castro Lopo - thanks).
* src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
Combine indent width menu item callbacks.
* src/interface.c, geany.glade:
Don't translate indent width menu items as they are now used for
atoi().
2010-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
Remove 3 popup menu items to save space:
Find Document Usage because Find Usage can be used instead.
Go to Tag Declaration because Go to Tag Definition is more common.
Go to Line because the toolbar item can be used instead.
* src/tools.c, src/search.c, tagmanager/python.c:
Fix some 'possible' NULL pointer dereferences (based on patch by
Erik de Castro Lopo).
* src/keybindings.c, src/keybindings.h, src/prefs.c:
Simplify keybindings_check_event().
2010-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Use up/down icons for Previous/Next Error.
* src/interface.c, src/keybindings.c, src/callbacks.c,
src/callbacks.h, src/ui_utils.c, doc/geany.txt, doc/geany.html,
geany.glade:
Add Find Usage and Go to Tag items to Search menu for easier
discovery.
* tagmanager/tm_symbol.c:
Fix possible NULL dereference.
* HACKING:
Add link to glade-2.12.2.tar.gz on geany.org.
* doc/geany.txt, doc/geany.html:
Mention the filetype wordchars setting can be overridden by the
whitespace_chars filetypes.common setting.
* src/highlighting.c, src/encodings.c, tagmanager/tm_file_entry.c:
Remove NULL checks when calling g_free() (patch by Erik de Castro
Lopo, thanks).
* src/document.c:
Show Save As when saving if the document filename doesn't have an
absolute path, so command-line new files can be saved without a
prompt, but file templates still prompt the user.
2010-09-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/build.c:
Fix a memory leak. Based on input by Daniel Marjamäki. Thanks for the
catch.
2010-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/msgwindow.c, src/msgwindow.h, src/main.c:
Add GeanyMainWidgets::message_window_notebook for plugins to append
a new notebook page (#3061342).
* src/document.c:
Add Close button to the detected file changed dialog.
* src/interface.c, geany.glade:
Add separator between Find Previous and Find in Files.
Add up/down icons for Previous/Next Message.
2010-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/snippets.conf:
Add dummy entry for "do" snippet for Haskell to explicitly avoid the
default completion.
2010-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Fix broken editing of build menu labels.
* src/encodings.c, src/filetypes.c, configure.ac:
Auto-enable building with included regex if no regcomp function is
found.
Remove checks for HAVE_REGCOMP in Geany source (not TagManager) -
regex support is required.
* tagmanager/make.c:
Backport fix for possible infinite loop from CTags.
* scintilla/PlatGTK.cxx:
Backport list box memory leak fixes from Scintilla 2.20.
2010-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Make the Properties dialog filename a label and put it first (patch
by Jiří Techet, thanks).
* src/build.c, src/build.h, src/project.c, doc/geany.txt,
doc/geany.html:
Remove the "Set build working directories" button from the project
properties dialog (patch by Jiří Techet, thanks).
* src/search.c:
Include all files if the Find in Files pattern field is enabled and
empty.
* src/filetypes.c:
Rename Matlab -> Matlab/Octave. Datafile name remains the same.
2010-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/LexTxt2tags.cxx, scintilla/makefile.win32,
scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
data/filetypes.txt2tags, wscript:
Add lexer for Txt2Tags (patch by Forgeot Eric, thanks - #3020632).
* m4, configure.ac, Makefile.am:
Use AC_CONFIG_MACRO_DIR (patch by Erik de Castro Lopo, thanks).
* src/callbacks.c:
Only prompt for reloading if the document has unsaved changes
(patch by Jiří Techet, thanks).
2010-08-21 Frank Lanitz <frank@frank.uvena.de>
* src/plugindata.h:
Apply a patch by Jiří Techet which is preventing warnings when using
-Wmissing-prototypes on compiling. Thanks.
2010-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/KeyWords.cxx:
Link Octave instead of Matlab.
Add comment about not being autogenerated.
Minor changes to fit Scintilla order.
* src/build.c, src/build.h:
Replace GeanyBuildCommand::entries array with separate fields.
Similar to r5077 in the bs2 branch, but with less loop unrolling.
* src/build.c:
Remove buildcmd_* accessor functions.
2010-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/editor.c:
Use Octave lexer instead of Matlab to support Octave # comment char.
2010-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Fix segfault on Tools->Reload Configuration when no documents are
open (#3037079).
* scintilla/LexMarkdown.cxx:
Fix infinite loop in Markdown lexer (patch by Colomban Wendling,
thanks).
* src/build.c:
Fix saving non-project filetype error regex.
* src/build.c:
Fix memory leak in read_regex().
2010-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Check for libsocket on OpenSolaris to fix build.
* src/encodings.c:
Rewrite the logic to auto detect encodings a bit to make it more
readable and fix a slightly wrong detection on Windows
(closes #3019573).
* plugins/geanyfunctions.h, src/editor.c, src/plugindata.h,
src/plugins.c:
Add editor_goto_pos() to the plugin API.
2010-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* configure.ac:
Check for git-svn repo, not just git because find-rev doesn't
always fail with a git-only repo.
2010-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/search.c:
Fix a memory leak based on input by Daniel Marjamäki. Thanks.
2010-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Reorder Focus keybindings.
2010-08-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* autogen.sh:
Applying a patch by Erik de Castro Lopo for checking against
pkg-config when running autogen.sh. Thanks for the patch.
* src/log.c:
Applying a patch by Colomban Wendling to print out log domains.
Thanks.
2010-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/prefs.c, src/plugindata.h:
Use single binding_ids keybinding array instead of individual
arrays for core keybindings. This allows the keybinding IDs to be
merged into one enum; the order of keybindings is now just the
order they are added to each group. Keybindings can be reordered
without breaking the plugin ABI but groups must stay the same.
* src/stash.c:
Fix writing the default value when a key is missing for hidden
prefs, even if it was overridden when it was originally read.
* src/keyfile.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
Move some interface hidden prefs to ui_utils.c.
* src/editor.c:
Revert r4840 scope completion mode as it sometimes breaks
autocompletion.
* src/keybindings.h, src/plugindata.h:
Randomly sort keybinding IDs to show there should be no order.
* src/keybindings.c:
Reorder Focus keybindings.
2010-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c, src/ui_utils.h:
Make ui_label_new_bold() a function.
Escape the name of the current document for markup when using
document name for menu items (closes #3038844).
* src/vte.c:
Inherit 'beep on errors' preference for the audible bell preference
for the VTE (closes #3038215).
2010-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/utils.h:
Add utils_get_eol_char().
* plugins/geanyfunctions.h, src/document.c, src/editor.c, src/editor.h,
src/plugindata.h, src/plugins.c, src/templates.c, src/utils.c,
src/utils.h:
Ensure inserted templates always have proper line ending characters
according to the current document's preference.
This is also fixes problems with templates on Windows which had
always Unix line ending characters but now since they are read
from files, these have Windows line ending characters and had been
converted twice.
2010-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c:
Fix build with GTK 2.8, use the stock icon name directly instead
of the macro. Though, the icon is still missing for GTK 2.8.
* src/templates.c:
Make make_comment_block() work with a GString. This is not yet
perfect but a bit better than before.
2010-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c, src/vte.c, src/vte.h:
Implement 'Select All' for the VTE widget.
2010-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.nsi:
Fix missing template files in the Windows installer.
2010-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.python:
Update list of Python builtins, based on Python 2.6.
2010-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c:
On Windows, convert filetype extensions read from config files
to lower case (closes #3028856).
2010-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Focus toolbar item when pressing Go to Line keybinding only when
it's not in the toolbar's drop down overflow menu (fixes #3027454).
2010-07-11 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Fix build menu translation problems.
2010-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Fix './waf install'.
2010-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix scrolling the editor line in view after loading a session and
switching document tabs. Note this causes repainting so needs
improvement.
* doc/geany.txt, doc/geany.html:
Add note to restart Geany after installing/updating before editing
hidden prefs.
* src/ui_utils.h, src/main.c, src/ui_utils.c:
Use Stash to save statusbar_template setting, instead of the
load/save-settings signal.
Add ui_init_prefs().
2010-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c, doc/geany.txt, doc/geany.html:
Fix writing empty hidden pref "statusbar_template" key so users can
find it (patch by Dimitar Zhekov, thanks).
* src/ui_utils.c, src/ui_utils.h, src/main.c:
Add ui_finalize(), free string (patch by Dimitar Zhekov, thanks).
2010-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/project.c, src/project.h:
Show the Project Properties build tab when choosing 'Set Build
Commands' for now to prevent confusion with non-project commands.
2010-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, doc/geany.txt, doc/geany.html:
Fix Grep --exclude-dir example.
2010-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sidebar.c:
Add sidebar Documents popup menu item 'Find in Files'.
* src/keyfile.c, src/main.c, src/editor.c:
Don't unnecessarily test G_FILE_TEST_IS_SYMLINK when testing
G_FILE_TEST_IS_REGULAR (patch by Dimitar Zhekov, thanks).
2010-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Fix wording - restarting is required for hidden prefs.
File templates don't need manual reloading anymore.
* src/ui_utils.c:
Fix only adding project base path to Find in Files history if it
isn't already there (oops).
* src/msgwindow.c:
Parse lines in the Messages window even if Find in Files hasn't
been used yet (patch by Jiří Techet, thanks).
2010-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/LexCPP.cxx, src/highlighting.c:
Add C++ lexer property fold.cpp.comment.explicit (patch sent); set
it disabled.
* src/utils.h, src/highlighting.c, doc/geany.txt, doc/geany.html,
data/filetypes.common:
Add filetypes.common fold_symbol_highlight color setting.
Add API macro foreach_range().
* src/printing.c, doc/geany.txt, doc/geany.html:
Always use white background color when printing (except for text
with a white foreground) to save ink (should fix #2968998).
* src/build.c, src/build.h, doc/geany.txt, doc/geany.html:
Limit build error editor indicators to 50, but parse all errors in
the Compiler tab (fixes #3019823).
2010-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Re-enable fold.comment for lexers - it was disabled to prevent C
//{ explicit folding, but that also disables stream comment folding
/* */.
* tagmanager/tm_workspace.c, tagmanager/get.c:
Use g_free instead of free (patch by Daniel Marjamäki, thanks).
* src/editor.c:
Use SCI_SETFIRSTVISIBLELINE for editor_scroll_to_line(). Note this
doesn't affect the bug with document switching not scrolling cursor
in view after loading a session.
2010-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c, THANKS, doc/geany.txt, doc/geany.html:
Add statusbar_template hidden pref (based on patch by Dimitar
Zhekov, thanks).
* src/ui_utils.c, doc/geany.txt, doc/geany.html:
Add spaces after RO when using %r in statusbar_template setting.
Add space between encoding and BOM.
Note \t means tab for default text.
2010-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Restore tabbing past Find in Files combo box drop down menus.
2010-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c, src/plugindata.h, src/pluginutils.c, src/main.c,
doc/pluginsignals.c, doc/pluginsymbols.c, doc/Makefile.am,
doc/plugins.dox:
Move plugin signals docs to pluginsignals.c, using function
pointer syntax instead of @signaldef as this puts a summary of
the signal names at the top of the page and sorts alphabetically.
(Note: the syntax is similar to Vala signal syntax).
2010-06-24 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c
Make default dialog entries use GTK_STATE_INSENSITIVE color not
a fixed color (Suggestion by Ditmar Zhekov)
2010-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, doc/geany.txt, doc/geany.html:
Implement Find in Files file pattern search.
* src/search.c:
Add file pattern to combo box history.
* src/dialogs.c, src/vte.c, src/search.c, src/ui_utils.c,
plugins/export.c:
Use ui_hookup_widget() instead of g_object_set_data_full() for
widgets.
2010-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Add Files checkbox and combo to Find in Files dialog, currently
does nothing & is disabled.
Don't try to focus the next entry on pressing tab anymore as this
is more complicated now.
2010-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Put Find in Files Search field above Directory field.
* src/search.c, doc/geany.txt:
Simplify FIF 'Fixed strings, Grep regular expressions, Extended
regular expressions' radio buttons with a 'Use regular expressions'
checkbox. This uses the extended syntax (which is the same as the
Find/Replace regex syntax).
* src/search.c:
Move 2 Find in Files checkboxes for even spacing.
2010-06-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* tagmanager/tm_work_object.c:
Change of description of tm_get_real_path(). Patch by Dimitar Zhekov.
Thanks.
2010-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/dialogs.c, src/plugindata.h, src/search.c,
src/plugins.c, src/ui_utils.c, plugins/geanyfunctions.h:
Add ui_combo_box_add_to_history() to API.
* plugins/filebrowser.c:
Add history to path entry.
* src/plugindata.h, src/plugins.c, doc/plugins.dox:
Fix not loading plugins built against a newer API when Geany doesn't
provide the required version given in PLUGIN_VERSION_CHECK().
Improve documentation for PLUGIN_VERSION_CHECK().
* plugins/filebrowser.c:
Allow Find in Files when no items are selected.
* src/build.c, src/geanyobject.c, src/geanyobject.h, doc/plugins.dox:
Add API signal "build-start" (patch by Jiří Techet, thanks).
2010-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sidebar.c:
Replace /home/user with ~ in the documents list (patch by Jon
Strait, thanks).
* src/build.c:
Make default Build dialog entries grey, not light grey (too hard to
read on a white background).
* src/ui_utils.c:
Display 'new instance' on title bar (patch by Eugene Arshinov,
thanks).
* src/ui_utils.c:
Remove any duplicate on adding to combo box histories.
2010-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
Align notebook tab close buttons centred vertically - thanks to
Robux.Biz (galyuk).
* Merge unstable branch:
- src/build.c:
Make build config entries light grey until set.
- src/keybindings.c, src/about.c, THANKS:
Fix the wrong file being put on top of the stack when switching tabs
too quickly (patch from Jiří Techet, thanks).
- src/templates.c, data/templates/gpl, data/templates/function,
data/templates/changelog, data/templates/bsd,
data/templates/fileheader, wscript, Makefile.am:
Move general templates from source code into files.
Load general templates from system path instead of creating them in
the user's config dir.
2010-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/POTFILES.skip:
Add doc/stash-example.c to fix 'make distcheck'.
* geany.nsi:
Change the RequestExecutionLevel for the Windows installer to
'highest'.
* New release: Geany 0.19 "Vellam".
* configure.ac, doc/geany.html, doc/geany.txt, geany.nsi,
geany_private.rc, win32-config.h, wscript, src/geany.h:
Post-release version bump.
2010-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Group undo action for Insert Multiline Comment.
2010-06-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* Makefile.am:
Don't individually install data/*.tags as all data/* files will be
installed anyway.
2010-06-07 Frank Lanitz <frank@frank.uvena.de>
* tagmanager/tm_project.c:
Fix a double free. (patch by Daniel Marjamaki, thanks).
2010-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/tm_workspace.c:
Fix two memory leaks (patch by Daniel Marjamaki, thanks).
* src/sidebar.c:
Fix reducing paths to project name in the Documents list
(patch by Eugene Arshinov, thanks).
* src/symbols.c:
Fix crash when trying to sort NULL pointers as tags in the Symbols
list (closes #3011986).
* NEWS, scintilla/*, scintilla/include/*, src/plugindata.h:
Update Scintilla to version 2.12.
* wscript, scintilla/Makefile.am, scintilla/makefile.win32,
scintilla/LexCrontab.cxx:
Remove unused Crontab lexer.
* data/filetypes.css, src/highlighting.c:
Add new style "media" for filetype CSS.
2010-06-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Build section: minor rewording, formatting fixes; move some
sentences.
2010-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Explicitly try to localise build menu item labels with
gettext to enforce getting default labels translated.
* tagmanager/tm_workspace.c:
Fix not closed FILE pointer on early exit
(patch by Daniel Marjamaki, thanks).
* doc/images/*.png:
Update images for Geany 0.19.
* src/sidebar.c:
Destroy the default symbol list treeview only once
(fixes gtk_widget_destroy warning on exit).
2010-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/sort.c:
Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
* tagmanager/c.c:
Fix parsing of C++ classes contain attributes with bitfields
(patch by Lex Trotman, thanks).
* src/plugindata.h, src/plugins.c:
Add PLUGIN_SET_TRANSLATABLE_INFO macro to the plugin API so
plugins' meta information can be translated already in the
plugin manager dialog (patch by Colomban Wendling, thanks).
2010-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c:
Print locale information in debug output.
* src/build.c:
Fix some labels which were marked as translatable but were not
handled properly by gettext().
Add a missing const.
* src/msgwindow.c:
Try to convert text into UTF-8 before adding it to the Compiler and
Messages Window (closes #3007919).
2010-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/Makefile.am, src/Makefile.am, tagmanager/Makefile.am,
wscript:
Pass G_LOG_DOMAIN to source files for better logging.
2010-05-24 Frank Lanitz <frank@frank.uvena.de>
* THANKS, src/about.c:
Update of translation credits to reflect a change on Spanish
translation team better.
2010-05-23 Lex Trotman <elextr.at.gmail.dot.com>
* src/build.c:
Fix infinite loop reading build command output
2010-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/msgwindow.c:
Fix duplicate accelerators for Clear and Copy in the
Messages Window popup menu.
* src/pluginutils.c:
Expand child widgets in the Plugin Preferences dialog
(patch by Colomban Wendling, thanks).
2010-05-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
Fix Undo/Redo button state after the last document has been closed.
Add Print and Replace toolbar items to the list of document
sensitive widgets.
* src/toolbar.c:
Fix crash when the toolbar is reloaded without any open documents.
* src/build.c:
Fix Run toolbar item sensitivity after the last document has been
closed.
* plugins/classbuilder.c:
Remove two unnecessary g_strdups().
* doc/geany.html, doc/geany.txt, src/keyfile.c, src/msgwindow.c,
src/plugindata.h, src/ui_utils.h:
Add hidden preference to disable automatic scrolling in the
Compiler tab (closes #3004714).
2010-05-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/classbuilder.c:
Fix a memory leak. (patch by Daniel Marjamaki, thanks)
2010-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/prefs.c, src/project.c:
win32.h can be included unconditionally.
* src/sidebar.c:
Fix project base_path detection if the path has a trailing slash.
* src/document.c, src/editor.c, src/project.c:
Small improvements to speed up quit process with many open documents.
Avoid calling gtk_notebook_remove_page() on exit as it takes
a lot of time.
* src/geanymenubuttonaction.c:
Explicitly check for the type when iterating the action's proxies.
For some reason on Windows, a GtkImageMenuItem proxy is created.
* geany.pc.in, wscript, plugins/Makefile.am, src/Makefile.am,
src/plugindata.h, scintilla/*, scintilla/include/*:
Update Scintilla to version 2.11.
* plugins/Makefile.am, plugins/makefile.win32, src/Makefile.am,
src/makefile.win32:
Add new GTK define also for Mingw cross compilation and
makefile.win32 based Windows builds.
* plugins/filebrowser.c:
Implement reading and evaluating hidden file attribute on Windows.
Fix broken "Go Up" if the current path ends with a slash.
* THANKS, src/about.c, src/prefix.c:
Replace free() by g_free() (patch by Daniel Marjamaki, thanks).
* geany.glade, src/document.h, src/interface.c, src/keyfile.c,
src/main.c, src/notebook.c, src/prefs.c:
Add preference to add new document tabs beside the current one
(patch by Colomban Wendling, thanks).
* geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
src/keyfile.c, src/prefs.c, src/ui_utils.h:
Add a preference for choosing between GTK and native
File Open/Save dialogs (only available on Windows).
* doc/geany.html, doc/geany.txt:
Update documentation.
2010-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c:
Sort file filters for the native Windows file open dialog by name.
Don't use file filters for the native Windows Save As dialog.
* src/dialogs.c, src/win32.c, src/win32.h:
Remove old code.
Pass and use also parent and title arguments to
win32_show_document_open_dialog().
* src/dialogs.c:
Call handle_save_as() only when the Save As dialog was not cancelled.
* src/toolbar.c:
Improve adding/removing of the special separator between menubar and
toolbar when the toolbar is appended to the menubar.
* src/toolbar.c, src/templates.c:
Explicitly disconnect menus from GeanyMenuButtonAction on quit to
not trigger updating the menus on each item removal.
2010-05-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/support.h:
Replace one non breaking space by normal space. Patch by
Daniel Marjamaki.
2010-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/classbuilder.c:
Don't make the 'Create Class' menu item document-sensitive
(patch by Colomban Wendling, thanks).
Add namespace support for GTK+ classes.
Add GET_CLASS() macro for GTK+ classes.
Add typedef of the private structure in the header file instead
of declaring it
(all the above from a patch by Colomban Wendling, thanks).
* src/highlighting.c:
Set common default "fold.comment" to 0 to disable it. This can
be overridden if desired.
* src/sidebar.c:
Improve sorting of document list items
(patch by Colomban Wendling, thanks).
* src/main.c:
Remove unnecessary textdomain() call.
2010-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Fix search_find_text not returning -1 when match is out of range.
This fixes invalid memory reads and wrong template filename
wildcard replacement.
* src/search.c, src/document.c:
Only replace template filename matching start of word on saving.
* plugins/filebrowser.c:
Add 'Refresh' popup menu item (part of geany-plugins #2999858).
* src/build.c, src/build.h, src/project.c:
Make some ugly build.h global variables static.
* src/build.c, src/build.h, src/project.c:
Add Build prefix for TableFields, TableData.
2010-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Fix Cancel on Goto Line dialog (patch by Dimitar Zhekov, thanks).
* src/dialogs.c, src/win32.c, src/win32.h:
(Re-)Implement a (still basic) native Windows Save As dialog when
compiled with GEANY_USE_WIN32_DIALOG.
2010-05-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c, plugins/classbuilder.c:
Add support for creating PHP classes (patch by Ondrej Donek, thanks).
* src/ui_utils.h, src/ui_utils.c:
Add public, generic callback ui_editable_insert_text_callback()
to restrict GtkEntry text inputs to +/- and numeric values only.
* src/dialogs.h, src/dialogs.c:
Add special variant dialogs_show_input_goto_line() to use a normal
GtkEntry together with dialogs_show_input_goto_line() for text input.
* src/geanyentryaction.c, src/callbacks.c, src/editor.c, src/editor.h:
Allow '+<number' and '-<number>' as values for Goto Line inputs
to jump relative to the current line (closes #2997238).
2010-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c:
Apply foreground and background colours of the folding margin
style properly (closes #2998347).
* src/utils.c:
Don't auto-close short XML tags (closes #2994852).
* THANKS, src/about.c, src/keybindings.c:
Improve jumping to matching braces by consistently position the
cursor before or after the matching brace dependent where it
was before (patch by Dimitar Zhekov, thanks).
* src/main.c:
Fix crash when generating global tags files (patch by Colomban
Wendling, thanks).
2010-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Avoid connecting signals more than once.
2010-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Don't ignore the 'intltool' check on non-Windows systems, instead
raise a configure error.
2010-05-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Fix marking some strings as translatable (cannot be done in the
ASSIGNIF macro).
* src/templates.c, doc/geany.txt, doc/geany.html:
Reload templates if saving a document in the templates config dir.
2010-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, src/search.h, src/document.c, doc/geany.txt,
doc/geany.html:
Fix replacing {filename} template wildcard for custom file
templates with non-default file extension.
Add search_find_text() for POSIX regex searches.
* src/templates.c, doc/geany.txt, doc/geany.html:
Add {project}, {description} template wildcards (#2954737).
* doc/geany.txt, doc/geany.html:
Divide template wildcards into groups.
* src/plugindata.h, src/plugins.c, src/symbols.c,
plugins/geanyfunctions.h:
Add symbols_get_context_separator() to plugin API (patch by Colomban
Wendling, thanks).
2010-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix setting wrong accelerator for 2 Edit->Commands items (patch by
Anonymous, thanks; #2995593).
* src/sciwrappers.c, src/plugindata.h, src/plugins.c,
plugins/geanyfunctions.h:
Add sci_set_line_indentation(), sci_get_line_indentation() to API
(patch by Colomban Wendling, thanks).
2010-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Warn user if hidden hard tab width setting is not 8.
2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/project.c, src/keyfile.c, geany.glade,
doc/geany.txt, doc/geany.html:
Hide 'Tabs and Spaces: Hard tab width' preference - it should
always be 8. (Hidden setting kept in case users have modified it).
2010-04-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Add Folding section link to filetypes.common custom settings.
2010-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
When switching documents, don't call document_set_text_changed()
as this does much more than necessary. Instead call the necessary
UI update functions explicitly.
2010-04-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/vstring.c:
Fix invalid memory read (patch by Colomban Wendling, thanks).
2010-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/dialogs.c, src/msgwindow.c, src/ui_utils.c:
Replace g_vsnprintf() by g_strdup_vprintf() to avoid truncated
strings in case of reaching the buffer size limit (part of #2979697).
* src/win32.c:
Change the limit for the command line length when executing commands
to a maximum of 32768 characters (closes #2979697).
Fix broken opening URLs e.g. when using the 'builtin' Run command.
* tagmanager/ctags.c:
Change eFree() to simply ignore NULL pointers instead of asserting.
* src/main.c:
Remove malloc() fallback since we completely rely on g_malloc()
nowadays.
* plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
plugins/saveactions.c:
Make string arguments const where appropriate (patch by
Colomban Wendling, thanks).
* src/build.c, src/build.h, src/callbacks.c, src/editor.c,
src/encodings.c, src/encodings.h, src/gb.c, src/geanyentryaction.c,
src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
src/keyfile.c, src/project.c, src/sidebar.c, src/socket.c,
src/symbols.c, src/templates.c, src/ui_utils.c:
Make string arguments const where appropriate (patch by
Colomban Wendling, thanks).
2010-04-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/pluginutils.c, src/pluginutils.h, THANKS:
Make plugin_signal_connect() string argument const (patch by
Colomban Wendling, thanks).
* src/keybindings.c, src/keybindings.h, src/plugindata.h:
Constify some more string pointers in the API (patch by
Colomban Wendling, thanks).
* src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
doc/geany.html:
Support {pc} wildcard in snippets to escape percent char.
* src/editor.c:
Recalculate line margin width when zooming (fixes #2990553).
* src/highlighting.c, doc/geany.txt, doc/geany.html,
data/filetypes.common:
Support more folding icon styles: arrows, +/- and no lines
(#2935059).
2010-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c:
Fix Windows build by properly guarding Unix-only code.
2010-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, doc/geany.txt, doc/geany.html:
Support {ob} and {cb} in fileheader and file templates; they are
replaced last with { and }. This allows 'escaping' of wildcard
strings.
* src/editor.c, plugins/classbuilder.c:
Fix Class Builder plugin to use correct indentation instead of
always tabs.
Make editor_insert_text_block() only replace leading tabs for the
'Tabs' indent type; also group edits for undo.
* src/templates.c, src/templates.h, src/editor.c, doc/geany.txt,
doc/geany.html:
Support {ob} and {cb} wildcards for snippets too (fixes #2937008).
2010-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/pascal.c:
More fixes to prevent possible crashes by trying to free NULL
pointers.
* src/sidebar.c:
Automatically show and hide the sidebar notebook tabs according
to the amount of visible pages (patch by Adrian Dimitrov, thanks).
* src/editor.c:
Add a static global variable to monitor autocompletion mode in order
to prevent cancellation of the struct/class (C/C++) auto completion
list (patch by Thomas Martitz, thanks).
* src/socket.c:
When starting and trying to access the Unix Domain socket of a
potentially running instance, first compare file ownership with the
user id of the running process to prevent accessing a wrong socket
file (part of #2985463, this might not yet be the final solution).
2010-04-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Synchronize popup menu and plugin preferences dialog 'Show Hidden
Files' option (fixes #2989288).
2010-04-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/entry.c, tagmanager/entry.h,
tagmanager/include/tm_source_file.h, tagmanager/parse.c,
tagmanager/parse.h, tagmanager/tm_source_file.c:
Add tm_source_file_set_tag_arglist() to manually set the argument
list of a tag.
* tagmanager/python.c:
Use tm_source_file_set_tag_arglist() to set the argument list
field of Python class tags to the argument list of their
__init__() methods.
Backport a fix from CTags SVN to prevent possible crashes by trying
to free NULL pointers.
2010-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/txt2tags.c:
Remove duplicate code from Txt2Tags parser.
Remove the title control characters ('=') when parsing titles.
Also parse numbered titles (closes #2984703).
* doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
src/plugindata.h:
Add 'Remove Markers' and 'Remove Error Indicators' keybindings.
Add missing documentation for 'Reset Zoom' keybinding.
* tagmanager/php.c:
Another attempt to fix the PHP parser regexp for parsing functions.
Fix wrong parsing of function arguments when those contain nested
brackets (as reported by Harold Aling).
* src/notebook.c:
Fix Ctrl-Click on notebook tab if Numpad is active.
2010-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, doc/geany.txt, plugins/geanyfunctions.h,
src/callbacks.c, src/interface.c, src/keyfile.c, src/plugindata.h,
src/plugins.c, src/prefs.c, src/toolbar.c, src/toolbar.h,
src/ui_utils.c, src/ui_utils.h:
Add option 'System Default' for toolbar icon style and size to
use the GTK default value.
* geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
src/toolbar.c, src/toolbar.h:
Shorten the toolbar popup menu, only provide items for Toolbar
Preferences and to Hide the toolbar.
* src/toolbar.c:
Instantly update the toolbar icon size and style when the
corresponding global GTK settings are changed.
* doc/geany.1.in, doc/geany.txt, src/main.c, src/main.h,
src/plugindata.h, src/socket.c:
Add new command line option --list-documents to return a list
of currently opened documents (closes #2979933).
2010-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/htmlchars.c:
Make plugin remember whether replacement of special characters was
activated even after restart of Geany or reloading of plugin.
2010-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix inserting snippets with an indent when using Mac CR line
endings.
* src/callbacks.c:
Update status bar after using Document->Set Line Endings.
* src/editor.c:
Improve API docs for editor_insert_text_block().
2010-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Refactor snippets_complete_constructs().
Remove an unnecessary TODO.
* src/editor.c:
Fix indenting a snippet when there is whitespace after the
snippet key name.
2010-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Improve wording.
* src/build.c, src/msgwindow.c:
Fix disabled compiler message tracking if using indicators to
show build errors is disabled (closes #2982834).
2010-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/Editor.cxx:
Backport fix from Scintilla CVS to fix using SCI_GETSELECTIONSTART
and SCI_GETSELECTIONEND with rectangular selections. This fixes
replacing in a rectangular selection.
2010-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Re-detect any document filetypes set to None after reloading
filetype extensions (closes #2979661).
* src/editor.c:
Fix showing '...' item last instead of first for document word
completion.
2010-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.perl:
Adjust Perl Compile command to use the -c command
line option to perform a syntax check instead of using the
deprecated ByteCompile module.
Add error_regex to parse error messages and warnings when performing
syntax checks on Perl files.
2010-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, doc/plugins.dox:
Add API docs for keybinding enums.
* src/notebook.c, doc/geany.txt, doc/geany.html:
Make Ctrl-click on any notebook tab switch to the last used
document.
2010-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
src/geanyentryaction.c, src/geanyentryaction.h,
src/geanywraplabel.c:
Cache G_TYPE_INSTANCE_GET_PRIVATE() result when initializing an
object for efficiency.
2010-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/classbuilder.c:
Beep if the user hasn't entered a class name on pressing OK.
* src/search.c:
Fix replacing '^' regex.
* src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
plugins/geanyfunctions.h:
Add Stash widget functions to API.
* configure.ac:
Revert commit to use AC_PATH_PROG instead of 'which' (fixes
#2973764).
2010-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* THANKS, src/vte.c:
Apply patch from Yoann Le Montagner to set VTE bold color (thanks,
fixes #2976905).
* wscript, src/plugindata.h, src/stash.c, src/stash.h, src/plugins.c,
src/Makefile.am, doc/plugins.dox, doc/stash-example.c,
plugins/geanyfunctions.h, plugins/geanyplugin.h:
Add Stash setting functions to API.
Remove unnecessary argument to stash_group_load_from_file().
* src/geanyobject.c, plugins/classbuilder.c:
Don't generate FOO_GET_PRIVATE() macro because caching the result
in Foo::priv can be much more efficient.
2010-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Fix cursor positioning when toggling comments
(patch by Thomas Martitz, thanks).
2010-03-25 Peter Scholtens <peter(dot)scholtens(at)xs4all(dot)nl>
* src/keybindings.[hc]:
Added Control+0 for zoom reset, see suggestion from #2969886.
2010-03-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, src/document.c:
Fix wrong selection range after Replace in Selection.
2010-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c:
Make CreateChildProcess() working with Unicode strings, e.g.
directory names (closes #2972606).
* geany.nsi:
Remove reference to already removed latex.tags file.
Future releases probably still depend on GTK 2.16.
* scintilla/ScintillaGTK.cxx:
Backport fix from Scintilla CVS to not paste text beyond the end
of lines (closes #2969096).
* plugins/htmlchars.c, src/geany.h, src/keybindings.c, src/main.c,
src/plugindata.h:
Deprecate GEANY_WINDOW_MINIMAL_WIDTH/GEANY_WINDOW_MINIMAL_HEIGHT
to not set Geany's minimum window size anymore (closes #2972992).
As replacement, add GEANY_DEFAULT_DIALOG_HEIGHT.
2010-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c:
Make adding string and string vector settings initialise the setting
to NULL for safety.
* src/utils.c, src/stash.c, src/stash.h, doc/stash-example.c:
Add stash_group_load_from_file() and stash_group_save_to_file().
2010-03-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/filetypes.common:
Set default for wrapped lines to show marker at end of line only
(more expected and doesn't change line alignment - closes #2972386).
* src/toolbar.c, src/toolbar.h, src/prefs.c, src/prefs.h,
src/pluginutils.c, doc/plugins.dox:
Improve API docs contents page by listing all commonly-used files.
Fix 'Date' appearing twice on the date line.
Don't generate API docs for prefs.h, toolbar.h (unused).
Move some '@file' doc-comments to the .c file.
* src/interface.c, geany.glade:
Add frame for 'Printing' prefs dialog page.
* src/sidebar.c, src/project.c, src/prefs.c, src/stash.c, src/stash.h,
src/keyfile.c, src/keyfile.h, src/search.c, src/plugins.c,
doc/stash-example.c:
Rename Stash data types to be independently named from Geany (so
Stash can be reused for other projects).
Rename GeanyPrefGroup to StashGroup.
2010-03-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/python.c:
Apply patch from Colomban Wendling to parse Python lambda functions
(thanks) - modified to only parse toplevel or class member lambdas.
* src/stash.c, src/stash.h, doc/Doxyfile.in, doc/Makefile.am,
doc/stash-example.c:
Add doc-comments for Stash setting functions.
Add an example file showing usage of Stash.
(Not enabled yet until added to the plugin API).
2010-03-17 Lex Trotman <elextr.at.gmail.dot.com>
* src/build.c:
Fix using return value without checking return status, caused
incorrect sensitivity settings on build dialog.
2010-03-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* HACKING:
Add tip about gcc optimization & warnings/debugging.
Add Testing section.
Update Libraries section about synchronizing with other projects.
2010-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
For now revert the recent patch which set real_path of newly
open non-existent configuration files as this seems hackish and
causes 'file not found' warnings.
* wscript:
Fix/Improve GIT repository detection
(patch by Thomas Martitz, thanks).
* plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
src/utils.c:
Add utils_copy_environment() to the plugin API.
2010-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/sciwrappers.c, src/dialogs.c,
src/navqueue.c, src/msgwindow.c, src/filetypes.c, src/document.c,
src/main.c:
Use 3rd person for more API dox.
Change 'This is a wrapper function for...' to 'Wraps...' in brief
descriptions.
Change 'After all...' to 'Afterwards...'.
* src/interface.c, geany.glade:
Apply patch from Eugene Arshinov to make frame packing/alignment
more consistent (thanks).
2010-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Fix ui_button_new_with_image() to call gtk_button_set_image() so
that gtk_button_[sg]et_label() work as expected.
* src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
Make Build Commands dialog show menu item labels as a button (to
help show that menu labels don't normally need to be edited &
display the mnemonic correctly). Clicking shows an input dialog to
set a new menu item label.
Split dialogs_show_input() into 2 functions: one simple, one for
a persistent dialog.
Fix possible double-destroy of input dialog when closed by user.
* src/dialogs.c:
Fix not destroying 'Make Custom Target' input dialog after first
use (oops).
* src/project.c:
Make Long Line Marker settings for existing projects default to
general settings instead of 0 (thanks to Eugene Arshinov).
* src/utils.c, src/ui_utils.h, src/utils.h, src/highlighting.c,
src/keybindings.c, src/sciwrappers.c, src/plugindata.h,
src/filetypes.c, src/filetypes.h, src/document.c, src/pluginutils.c,
src/document.h, src/editor.c, src/editor.h, src/ui_utils.c:
Use 3rd person (gets not get) for API function brief descriptions.
Avoid using 'convenience function' in API brief descriptions.
2010-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Warn about some GNU extensions for regular expressions & clarify
some points.
* src/interface.c, src/keybindings.c, src/project.c, src/project.h,
src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
src/editor.h, geany.glade:
Apply patch from Eugene Arshinov to add project long line marker
customisation (thanks).
* src/interface.c, geany.glade:
Edit/tidy 'Long line marker' labels.
2010-03-10 Lex Trotman <elextr.at.gmail.dot.com>
* src/build.c, src/project.c:
Fix crash due to NULL in project build preferences (thanks to
Wolfgang Ocker).
2010-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/search.c, src/search.h,
src/document.c, doc/geany.txt, doc/geany.html:
Merge gnu-regex branch:
Use POSIX system/GNU regex engine for find & replace 'Use regular
expressions' option. This alters regex syntax a bit - see the docs
for details; we now support '?' operator and replacement backslash
escaping is more standard.
Make regex search imply replacing escaped chars.
Allow \0 backreference replacement for the whole match.
Note: Replace All may be slower; if this is a problem please let me
know.
- code:
Add argument to utils_str_replace_escape() for keeping
uninterpreted backslash escapes e.g. '\\', '\e'.
* scintilla/LexMarkdown.cxx:
Backport minor formatting/style changes from Scintilla project.
* doc/geany.txt, doc/geany.html:
Remove warning about no visual indication for zero-column-mode
editing.
2010-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Skip unavailable languages in LINGUAS (thanks to Christian Dywan).
2010-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript, scintilla/*, scintilla/include/*:
Update Scintilla to version 2.03.
* geany.glade, doc/geany.txt, doc/geany.html, src/editor.c,
src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h:
Add preference for virtual spaces.
* src/log.c:
Fix wrong default response for the Debug Messages dialog.
* src/dialogs.c:
Fix crashes when using Save As with no open files (closes #2964406).
* src/document.c:
Fix duplicate mnemonics on 'Resave missing file' dialog, also
move the question from the secondary to the main text to be
more compatible with the Gnome HIG.
Fix broken 'Save' action in 'Resave missing file' dialog.
* tagmanager/php.c:
Improve PHP parser to parse also the argument lists of PHP functions.
* src/prefs.c:
Correctly set the parent widget for the keybinding overwrite
confirmation dialog.
* src/dialog.c:
Fix setting the icon for some dialogs if the parent itself is also
a dialog.
* src/ui_utils.c:
When editing non-existent config files using the Tools->Configuration
Files menu, explicitly set the real_path to avoid presenting the Save
As dialog when saving the file (patch by Tony Rick, thanks).
* src/callbacks.c:
Focus the editor widget after hiding the sidebar when it had the
input focus (patch by Can Koy, thanks).
Properly show/hide the mesages window when using the View menu item
(closes #2961282).
* plugins/filebrowser.c:
After opening files, focus the editor widget
(based on a patch by Can Koy, thanks).
* plugins/filebrowser.c, plugins/geanyfunctions.h, src/msgwindow.c,
src/plugindata.h, src/plugins.c, src/sidebar.c, src/ui_utils.c,
src/ui_utils.h, src/vte.c:
Add and use convenience function ui_is_keyval_enter_or_return() and
add it to the plugin API.
2010-03-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS, po/ast.po:
Added Asturian translation. Thanks to Marcos Costales for providing.
2010-02-28 Dominic Hopf <dmaphy(at)googlemail(dot)com>
* src/log.c:
Fix keyboard accelerators in debug messages window
(Thanks Can Koy).
2010-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexR.cxx:
Backport R lexer from Scintilla CVS to fix case sensitive keywords
(Scintilla bug #2956543).
* src/sidebar.c, src/about.c, THANKS:
Make Space on the symbol and document list not focus the editor
widget while Enter does (closes #2919444, patch by Can Koy, thanks).
* src/document.c, src/document.h:
Fix document_try_focus() to make it work with the sidebar document
list as well.
* src/msgwindow.c, src/msgwindow.h, src/ui_utils.c, src/ui_utils.h:
Make Space on the compiler and messages widgets not focus the editor
widget while Enter does (patch by Can Koy, thanks).
* src/editor.c:
Fix wrongly auto-detected multiline comments
(patch by Eugene Arshinov, thanks).
2010-02-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/ui_utils.c:
Show number of lines of current document inside statusbar. Thanks to
Can Koy for providing the patch.
2010-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, doc/geany.txt, doc/geany.html:
Make Switch to Editor keybinding reshow the document statistics
line, so user doesn't have to move the cursor.
2010-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.r:
Update keywords for the R language (patch by Jon Senior, thanks).
2010-02-21 Dominic Hopf <dmaphy(at)googlemail(dot)com>
* doc/geany.txt:
Fix the instruction how to insert unicode characters
(thanks Tony Rick).
2010-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scripts/create_py_tags.py:
Minor fixes.
Replace tabs by spaces.
* plugins/genapi.py:
Minor fixes.
Replace tabs by spaces.
* tagmanager/r.c, plugins/geanyfunctions.h, src/about.c,
src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
tagmanager/makefile.win32, tagmanager/parsers.h, wscript, THANKS:
Add R tagmanager symbol parser (patch by Jon Senior, thanks).
* doc/geany.html, doc/geany.txt, src/keybindings.c, src/keybindings.h,
src/plugindata.h, src/sidebar.c, src/sidebar.h:
Add keybindings to switch to the sidebar's Document and Symbol list
as well as to the Message Window's current tab
(patch by Eugene Arshinov, thanks).
* data/filetypes.r:
Update primary keywords for the R language
(patch by Jon Senior, thanks).
2010-02-20 Dominic Hopf <dmaphy(at)googlemail(dot)com>
* doc/geany.txt:
Add more detailed hints about reloading configuration
(thanks to Tony Rick).
* data/filetypes.javascript:
Correct the keyword list for JavaScript (thanks to Jonas).
2010-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* New release: Geany 0.18.1 "Balfour".
2010-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c:
Add special cases for handling the Select All keybinding (Ctrl-A) in
the toolbar search and goto line text entries (closes #2948040).
Strip trailing spaces after reflowing a paragraph, patch by
Dominik Wagenfuehr, thanks (closes #2945497).
2010-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geanymenubuttonaction.c, src/templates.c:
Partly revert last commit:
Unref the new files toolbar menu when freeing templates as it
was done before but unref it *after* the menu has been removed
from the GeanyMenuButtonAction.
* src/encodings.c:
Fix possible endless loop when trying to detect the encoding of
non-text files (patch by Alexey Antipov, thanks).
2010-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Allow saving remote files using g_file_set_contents() as well
(patch by Алексей Антипов, thanks).
* data/filetypes.python:
Adjust style for secondary keywords to be less aggressive.
Add Python 2.5 builtins keywords.
* src/geanymenubuttonaction.c, src/templates.c:
Unref the new files toolbar menu when setting a new menu to fix
possible crashes when reloading configuration.
* src/filetypes.c:
When reloading configuration, process the current document at last
so the symbol list will be updated correctly.
2010-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
Explicitly read filetype configuration files before generating
global tags to get settings for custom filetypes.
2010-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Fix GLib warning when toggling 'no plugins available' item.
2010-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* icons/Makefile.am:
Include geany.ico in the distribution tarball.
* Makefile.am:
Fix 'make distcheck' by removing data/latex.tags from EXTRA_DIST.
* scripts/create_py_tags.py:
Make the script a bit more robust with newer Python versions.
* src/templates.c:
Use utils_spawn_sync() instead of g_spawn_sync().
2010-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/export.c:
Close meta tag for export date properly.
2010-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.spec.in:
Update RPM Spec file (patch by Dominic Hopf, thanks).
2010-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h:
Fix renaming sci_send_message(), sci_send_command() function
pointers.
2010-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/highlighting.h, src/sciwrappers.c,
src/plugindata.h, doc/Doxyfile.in, doc/pluginsymbols.c,
plugins/geanyfunctions.h, plugins/Makefile.am,
plugins/pluginmacros.h, plugins/genapi.py, wscript:
Use full function name for GeanyFunctions function pointers. This
avoids naming conflicts e.g. with C++'s 'new' keyword.
Remove deprecated header pluginmacros.h - use geanyfunctions.h
instead.
2010-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/utils.h, src/vte.c:
Add utils_copy_environment() and make use of it.
* data/snippets.conf, doc/geany.html, doc/geany.txt, src/callbacks.c,
src/editor.c, src/templates.c, src/templates.h:
Add new special template wildcard "{command:...}" to use the
output of a command in templates.
Adjust template functions to mostly work with GeanyDocuments.
Minor cleanups in the template code.
* src/gb.c:
Replace the old icons with smiley icons from the Rodent icon theme.
Fix showing the same icon for two or more slots.
Minor cleanups.
* src/editor.c, src/editor.h, src/keybindings.c:
Rename fold_symbol_click() to editor_toggle_fold().
Use editor_toggle_fold() when the 'Toggle current fold' keybinding
was used to respect the 'Fold/unfold all children' preference
(closes #2935053).
2010-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Prevent possible segfault in get_build_group().
* src/callbacks.c:
Fix GLib warning & beep if trying to insert multiline comment for a
filetype that doesn't support it.
2010-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/plugins.dox:
Add gcc commands to build a plugin to the HowTo.
* src/search.c, src/document.c, src/document.h:
Show 'Replaced X matches in Y documents' message when using
Replace in Session.
2010-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scripts/plugin_test.c:
Add a little test program which can load and test Geany plugins to
verify it is loadable at runtime and all necessary symbols are
defined.
* doc/plugins.dox, src/geanyobject.c, src/geanyobject.h, src/main.c,
src/plugindata.h:
Add new signal: "geany-startup-complete" which is sent once all
initialization and startup tasks has been done.
* README.I18N, configure.ac, wscript, po/LINGUAS:
Remove po/LINGUAS from the repository.
Generate it automatically if needed by reading available
message catalogs from the po directory.
Also respect the LINGUAS environment variable properly.
2010-01-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/editor.c:
Remove editor_auto_latex() from Geany core and move it to geanyLaTeX
plugin.
2010-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/templates.c, src/templates.h:
Refactor templates_replace_all() into templates_replace_valist()
to save some code duplication.
2010-01-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/geanyfunctions.h, src/editor.c, src/editor.h,
src/plugindata.h, src/plugins.c:
Add editor_insert_text_block() to plugin API.
2010-01-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* *.*:
Update copyright information.
* src/keybindings.c, src/keybindings.h, src/plugindata.h,
doc/geany.txt, doc/geany.html:
Add keybinding to open the last closed tab (closes #2912692).
2009-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* autogen.sh, configure.in, configure.ac:
Rename configure.in to configure.ac.
* plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h,
src/sciwrappers.c:
Add sci_find_text() to the plugin API.
* doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
src/interface.c, src/prefs.c:
Add a checkbox in the preferences dialog to explicitly toggle
the visibility of the sidebar (closes #2923340).
2009-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/plugins.c, src/plugindata.h,
plugins/geanyfunctions.h:
Add editor_get_eol_char_name(), editor_get_eol_char_len() and
editor_get_eol_char() to the plugin API.
* src/callbacks.c, src/plugins.c, src/plugins.h:
Fix sensitivity of the Edit->Plugin Preferences menu item
if plugins are loaded which do not provide a configuration dialog.
* scripts/create_py_tags.py:
Rewrite and extend the Python tags parsing script to use
Python's inspect module to read symbols from Python modules
including scope information.
* data/filetypes.restructuredtext:
Add the default comment character sequence for reStructuredText.
* src/callbacks.c:
Show the Find/Goto dialogs if the corresponding toolbar buttons are
clicked but their text fields are not part of the toolbar (#2920807).
* data/filetypes.common, doc/geany.html, doc/geany.txt,
src/highlighting.c:
Add new style to change foreground and background colours for
calltips (patch by Dimitar Zhekov, thanks, closes #2919229).
* src/search.c:
Remember the window position of the Find, Replace and Find in Files
dialogs (closes #2877988).
2009-12-26 Frank Lanitz <frank@frank.uvena.de>
* doc/plugins.dox:
Fix a minor typo inside plugin API reference.
2009-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialog.c, src/dialogs.h, src/document.c, src/prefs.c:
Make dialogs_show_prompt() more flexible to take up to three
button/response code pairs to be shown.
Add a close button to the dialog when asking to Re-Save a
deleted file
(closes #2916954, based on a patch by Dominik Stadler, thanks).
* src/editor.c:
Fix LaTeX environment auto completion with CR/LF line endings.
Add some sanity checks.
* src/document.c:
When closing a document after it was deleted from the filesystem,
don't ask whether it should be saved first.
Mark the document only as changed if it is not closed afterwards.
Prevent possible segfaults if the document was closed when it is
missing from the filesystem.
* src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
src/msgwindow.h, src/prefs.c:
Add MessageWindow::scribble and use it instead of searching the
widget pointer everytime.
* src/keyfile.c, src/msgwindow.c, src/msgwindow.h, src/ui_utils.h:
Add preferences for hiding single tabs from the messages window
(no GUI preferences yet, still to be implemented).
* src/callbacks.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
Set the correct parent window for the toolbar editor
dialog (closes #2913334).
* src/win32.c, src/win32.h, src/ui_utils.c:
Rename win32_show_project_folder_dialog() to
win32_show_folder_dialog() as it is not related and not used by any
project management related code.
* src/ui_utils.c, src/win32.c, src/win32.h, src/dialogs.c:
Rename win32_show_file_dialog() to win32_show_document_open_dialog()
as it is specialised for opening documents.
Implement win32_show_file_dialog() as a generic file open dialog and
use it with ui_path_box_new().
2009-12-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/editor.c:
Extend auto_latex() function to check whether an environment has been
closed within the next lines to avoid auto adding double \end{}.
* data/latex.tags:
Remove LaTeX tags from SVN. Can be found at
http://download.geany.org/contrib/tags/ if needed.
2009-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs.c, src/document.c, src/document.h:
Add document_need_save_as().
Show the Save As also for documents created from filetype templates
instead of saving them directly with the untitled filename.
2009-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* geany.glade, src/interface.c:
Move 'Send Selection to Terminal' menu item from Format to Commands
submenu.
* src/msgwindow.c:
When going to a build error, try the current document's path if
the parsed filename doesn't exist. (This can happen when we receive
build messages in the wrong order - after the 'Leaving directory'
messages).
* src/msgwindow.c:
Refactor msgwin_goto_compiler_file_line().
* src/interface.c, src/keybindings.c, geany.glade:
Capitalize, add mnemonics, sync with kb.c the Edit->Commands menu
item labels.
* src/search.c:
Refactor/reformat on_replace_dialog_response().
2009-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.spec.in:
Improve geany.spec (split the package into a binary and devel
package, update BuildRequires and other minor improvements).
Patch by Dominic Hopf, thanks.
2009-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h:
Make group for custom filetypes.
* data/filetypes.Genie.conf, data/filetype_extensions.conf:
Add custom filetype Genie.
2009-12-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Highlight D & Java types from a global tags file.
* src/highlighting.c, doc/geany.txt, doc/geany.html:
Add debug message warning if recursive lexer_filetype is set.
* src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
Remove duplicate sci_set_keywords(), make argument const.
* src/highlighting.c:
Only show debug message once if recursive lexer_filetype is set.
Tidy highlighting_init_styles code for filetype None handling.
* scintilla/makefile.win32, scintilla/KeyWords.cxx,
scintilla/LexVerilog.cxx, scintilla/Makefile.am, src/highlighting.c,
src/filetypes.c, src/filetypes.h, src/symbols.c, THANKS,
tagmanager/parsers.h, tagmanager/makefile.win32,
tagmanager/verilog.c, tagmanager/Makefile.am,
data/filetypes.verilog, data/filetype_extensions.conf, wscript:
Apply patch from Kelvin Gardiner to add Verilog filetype (thanks).
* src/highlighting.c:
Fix segfault on startup (oops).
* data/filetypes.verilog:
Fix using common style colours for Verilog.
2009-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
data/filetypes.glsl, data/filetypes.cs, data/filetypes.c:
Move C-like filetype properties into configuration files.
* src/highlighting.c, data/filetypes.cpp, data/filetypes.cs,
data/filetypes.c:
Remove now unnecessary "styling_within_preprocessor" C style key.
* src/highlighting.c, data/filetypes.cpp, data/filetypes.vala,
data/filetypes.glsl, data/filetypes.cs:
Use lexer_filetype=C configuration file key instead of duplicate
styleset functions for C++, C#, GLSL, Vala.
2009-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Warn about not using BOM for configuration files (confuses GKeyFile
parser, at least on my system).
* src/filetypes.c:
Add/improve debug messages for custom filetypes.
2009-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/latex.tags:
Add a couple of further latex-beamer commands to list of LaTeX tags.
2009-11-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
Add an in-entry clear icon to the filebrowser plugin's filter
entry (patch by Dominic Hopf, thanks).
* src/prefs.c, src/ui_utils.c:
Fix two compiler warnings about possibly uninitialised variables.
2009-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, src/main.h, src/plugins.c, src/plugindata.h,
plugins/geanyfunctions.h:
Add main_is_realized() to the plugin API.
* tagmanager/include/tm_tagmanager.h:
Update partly outdated and wrong doc comment.
* src/main.c, src/main.h, src/socket.c:
Allow opening Geany projects remotely.
* doc/geany.txt, doc/geany.html, src/vte.c, src/vte.h, src/keyfile.c:
Add a hidden pref to allow executing text which was sent to the
terminal directly, i.e. do not strip trailing newline characters.
Also fix the stripping of trailing newline characters if there was
more than one.
2009-11-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS:
Add Peter Scholtens and Ayke van Laethem to list of translators. Move
Kurt de Bree into section of previous translators.
2009-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/about.c, src/symbols.c, THANKS, tagmanager/vhdl.c:
Fix VHDL symbol list to display all tags (patch from Kelvin Gardiner,
thanks).
2009-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Make stylesets take a ft_id argument so they can be reused fully with
custom filetypes, so custom styles and keywords can be set.
* src/highlighting.c:
Fix setting filetype properties when both the system and the user
file have properties set.
* src/symbols.c, tagmanager/vhdl.c:
Parse VHDL signals.
* src/highlighting.c:
Fix lexer settings for custom filetypes.
2009-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/php.c:
Remove duplicate regular expression for parsing classes.
Fix and improve parsing of constants (patch by Harold Aling, thanks).
* doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c,
src/main.h, THANKS, src/about.c:
Add new command line option "--socket-file" to be able to specify
separate socket filenames for instances
(closes #2896027, patch by Jörn Reder, thanks).
* src/keybindings.c, src/keybindings.h:
Add keybindings_check_event() to manually check GdkKeyEvents against
Geany's keybindings.
* src/callbacks.c, src/utils.c, src/utils.h:
Add and use utils_get_help_url().
* geany.glade, src/interface.c, src/prefs.c:
Add a Help button to the preferences dialog.
Handle Help keybinding events for the preferences dialog especially
and open the manual with the corresponding anchor link to the current
preferences page (same goes for the new Help button).
2009-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/toolbar.c, src/geanymenubuttonaction.c,
src/geanymenubuttonaction.h:
Use separate tooltips for toolbar menu buttons and their attached
drop-down arrows.
* tagmanager/latex.c:
Improve parsing of sections and chapters by ignoring shortnames
like \section[shortname]{label} (closes #2890477).
2009-11-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/geanymenubuttonaction.c:
Try to fix Gtk warning when using Tools->Reload Configuration.
2009-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, doc/geany.txt, doc/geany.html,
data/filetypes.nsis, data/filetypes.php, data/filetypes.perl,
data/filetypes.pascal, data/filetypes.docbook,
data/filetypes.python, data/filetypes.conf:
Use filetypes.foo [lexer_properties] group instead of hardcoding
lexer properties (more flexible e.g. for custom filetypes).
* src/highlighting.c, data/filetypes.xml, data/filetypes.html:
Replace filetypes.xml html_asp_default_language key with
filetypes.html asp.default.language property in [lexer_properties]
group.
2009-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Fix slightly wrong description of how to insert Unicode characters.
* src/ui_utils.c:
Implement GTK_FILE_CHOOSER_ACTION_OPEN mode in
ui_setup_open_button_callback().
* src/prefs.c, src/prefs.c, src/vte.c:
Refactor color and font button callback functions in the
preferences dialog. Move the VTE related callback functions
into vte.c.
Make use of ui_setup_open_button_callback().
* src/printing.c:
Improve printing status texts (patch by Dominic Hopf, thanks).
* src/prefs.c, src/vte.c:
Use the default dialog title set by ui_setup_open_button_callback()
to be more consistent and to save one string.
2009-11-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Separate DKinds from CKinds.
Don't generate macro tags for D, Java.
2009-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/ctags.c, tagmanager/general.h:
Make TagManager Assert statements cause g_warning on failure.
* src/keybindings.c:
Fix reflow paragraph command when cursor < anchor using
sci_fix_selection().
2009-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/perl.c:
Fix Geany segfault with constant tags (#2895168).
* src/symbols.c:
Fix invalid tree iter access when using tv_iters.tag_other but not
using tv_iters.tag_variable.
* HACKING, tagmanager/perl.c:
Fix parsing Perl format statements ("other" type doesn't seem
to work).
* tagmanager/tm_tag.c, tagmanager/perl.c, HACKING:
Fix using "other" tag type.
2009-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c:
Remove useless comment about applying settings only when libvte.so
could be loaded which is only displayed *if* libvte.so is loaded.
* src/editor.c:
Allow autocompletion for HTML entities even within a word.
* src/geanymenubuttonaction.c:
Only set the menu of the button if a non-empty GtkMenu is passed to
geany_menu_button_action_set_menu() so the menu arrow keeps
insensitive.
2009-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Fix parsing some Java code (e.g. filetypes.java) after r4407.
2009-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Parse D functions with contracts (fixes #1885480).
Parse D alias statement like typedef.
(Ignore some more D keywords).
* tagmanager/c.c:
Fix creating D interface tags properly.
* tagmanager/c.c:
Parse contents of D extern{} and version{} blocks.
2009-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c:
Remove old code.
2009-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, HACKING:
Deprecate PLUGIN_KEY_GROUP() macro - use plugin_set_key_group()
instead.
* src/callbacks.c:
Show number of files saved on status bar when using Save All.
* src/highlighting.c:
Use default color scheme if pref color scheme file doesn't exist.
* src/keybindings.c:
Fix moving correct lines after selecting whole line(s).
2009-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/makefile.win32:
Fix broken build on Windows because of a typo
(patch by Timothy Boronczyk, thanks).
2009-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/highlighting.h, src/keyfile.c, src/main.c,
src/editor.h:
Add 'View->Editor->Color Schemes' menu, for now only shown if color
scheme files exist in a colorschemes config directory. Color scheme
files must end in ".conf" and currently only the [named_styles]
section is read.
* src/templates.c, src/utils.c, src/highlighting.c, src/utils.h:
Add utils_get_config_files().
* src/highlighting.c:
Fix issue with default color not being reset if overridden with a
system default color.
* src/highlighting.c:
Only reload filetype files when changing color scheme, not all
configuration files.
* src/filetypes.c, src/document.c, src/document.h, doc/Doxyfile.in:
Deprecate documents_foreach() as it looks more like a function; use
foreach_document() instead.
Generate dox even for GEANY_DISABLE_DEPRECATED declarations.
2009-10-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c, src/stash.h:
Use typedef instead of pointer for widget_id function arguments.
2009-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/pluginutils.c:
Don't expand Plugin Preferences page spacing vertically to fill the
height of the dialog.
* src/interface.c, src/keybindings.c, src/keybindings.h, src/prefs.c,
geany.glade, plugins/splitwindow.c:
Allow GeanyKeyBinding label field to contain underscores, which won't
be displayed by Geany. This saves adding near-duplicate translation
strings.
Add mnemonics for 3 Edit->Format menu items.
Add keybindings_get_label().
* src/interface.c, geany.glade:
Use GtkVBoxes for Encoding prefs combo boxes to reduce width of prefs
dialog.
2009-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Desensitize Edit->Commands menu item when no docs are open.
* src/interface.c, src/keybindings.c, src/callbacks.c,
src/callbacks.h, geany.glade:
Add 'Reflow, Transpose, Smart line indent' Edit->Format menu items.
* src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
Add general function sci_get_string() that works with any string
buffer messages that follow the Windows message convention.
* src/pluginprivate.h, src/interface.c, src/keybindings.c,
src/keybindings.h, src/callbacks.c, src/callbacks.h,
src/pluginutils.c, src/pluginutils.h, geany.glade:
Add 'Edit->Plugin Preferences' menu item and keybinding.
Don't include plugindata.h in pluginutils.h because it redefines the
GEANY() macro for plugin use.
* doc/geany.txt, doc/geany.html:
Update for Plugin Preferences keybinding.
2009-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Sort document word completion list.
* src/interface.c, src/keybindings.c, src/callbacks.c,
src/callbacks.h, geany.glade:
Add some useful commands to editor popup menu under "Commands"
submenu (thanks to Lex).
Move 'Duplicate line or selection' from Format -> Commands submenu.
* src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
Enable switching the sidebar to the right on Windows again, as it
apparently works after all.
* src/editor.c:
Fix using tab to autocomplete in some other situations that word part
completion doesn't apply in.
* src/templates.c, src/interface.c, src/ui_utils.c, geany.glade:
Add Edit->Commands submenu which is shared with the editor popup
menu.
* src/interface.c, src/keybindings.c, src/ui_utils.c, geany.glade:
Change editor popup Commands submenu to start as child of menubar
Edit menu, as this is more usual e.g. for keybindings initialization.
* src/interface.c, src/keybindings.c, src/tools.c, src/ui_utils.c,
geany.glade:
Share a single Format submenu for menubar Edit and popup menu.
2009-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Fix a compiler warning about an uninitialised variable.
* wscript:
Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
sciwrappers.h, build.h (for the Waf build system,
accordingly to r4366).
2009-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.h, src/search.h, src/support.h, src/templates.h,
src/toolbar.c, src/toolbar.h:
Add missing dox for types/files in the API.
* src/filetypes.h, src/Makefile.am, plugins/geanyplugin.h:
Don't install unnecessary headers: dialogs.h, main.h, plugins.h,
sciwrappers.h, build.h. (This helps to get compiler warnings for uses
of functions not in the API).
Warning: any plugins that include these headers should remove them.
* src/build.c, src/build.h:
Move function doc-comments to build.c so they stay in sync. Note:
these functions are still not in the API.
* HACKING:
Add 'Doc-comments' plugin API subsection.
* plugins/filebrowser.c:
Fix packing configure widgets equally.
Use spacing multiples of 6 as recommended by Gnome HIG.
* src/prefs.c, src/ui_utils.c, doc/geany.txt, doc/geany.html:
Disable switching the sidebar to the right on Windows as it will
probably fail like the Split Window plugin.
* src/document.c:
Improve 'Detect from file' indentation pref by ignoring lines with
indentation wider than 24 characters as this is more likely to be
alignment than indentation.
2009-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/saveactions.c:
Fix adding the filetype's default extension when using the
Instant Save plugin (closes #2885142).
* src/main.c:
Before looking for line and column numbers specified as part
of a filename, ensure the file doesn't exist on disk. This allows
opening of files like "test:0".
* src/sidebar.c:
Rename "select" variables into "selection" to avoid shadowed names.
* plugins/geanyfunctions.h, src/plugins.c, src/plugindata.h:
Add ui_widget_modify_font_from_string() and sci_goto_line()
to the plugin API.
* plugins/filebrowser.c:
Rename "select" variables into "selection" to avoid shadowed names.
Make use of ui_widget_modify_font_from_string().
2009-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/ui_utils.h, src/prefs.c, src/keyfile.c,
src/main.c, src/ui_utils.c, doc/geany.txt, doc/geany.html,
geany.glade:
Add sidebar position interface pref.
2009-10-23 Lex Trotman <elextr.at.gmail.dot.com>
* doc/geany.txt, doc/geany.html:
Add missing underscores to links.
2009-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add 'Move line(s) up/down' keybindings.
2009-10-22 Lex Trotman <elextr.at.gmail.dot.com>
* src/build.c, src/build.h, src/filetypes.h:
Include code for project filetype execute commands and fix bug in
saving project filetypes list.
* src/project.c, src/build.c, doc/geany.txt:
Make non-project execute configuration save to filetypes not
geany.conf.
Fix closing of project failing to remove build commands dialog entry.
2009-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c, src/ui_utils.c:
Set border width for project properties build table.
* geany.glade, src/interface.c:
Don't expand hard tab width alignment.
2009-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/filetypes.c, src/document.c, src/symbols.c,
doc/geany.txt, doc/geany.html:
Support loading global tags files for custom filetypes.
* src/keybindings.c, src/keybindings.h, src/editor.c, src/editor.h,
doc/geany.txt, doc/geany.html:
Add 'Word part completion' keybinding so keys other than Tab can be
used, or to clear/change the combination so Tab does full completion
like before.
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add 'Select to previous/next word part' keybindings.
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add 'Switch to Messages' focus keybinding.
2009-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Add 'Custom filetypes' section.
* src/filetypes.c, src/filetypes.h, src/document.c,
doc/geany.txt, doc/geany.html, tagmanager/tm_source_file.c,
tagmanager/include/tm_source_file.h:
Add filetype "tag_parser" key so custom filetypes can use an existing
tag parser.
Add tm_source_file_get_named_lang().
* src/highlighting.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
doc/geany.html:
Add filetype "lexer_filetype" key so custom filetypes can use an
existing lexer.
2009-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c:
Add Xhacker Liu for his work at zh_CN translation to long list of
translators.
2009-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c:
Remove unnecessary line number margin padding.
* scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx,
src/editor.c:
Improve word part autocompletion so AC list is not cancelled and
reshown (this also stops the selection changing).
Add SCI_AUTOCGETCURRENTTEXT message (will be sent upstream).
* src/editor.c:
Improve CamelCase word part autocompletion for runs of capital
letters.
* src/editor.c:
Don't complete snippets if there's a selection.
2009-10-16 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Fix crash opening project when Geany started with no geany.conf.
2009-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/ScintillaBase.h, scintilla/ScintillaBase.cxx, src/utils.c,
src/utils.h, src/sciwrappers.c, src/editor.c, doc/geany.txt,
doc/geany.html:
Add word part autocompletion for the current selected item when
pressing Tab - Enter still completes normally.
Add foreach_str() API macro.
Temporarily modify scintilla to say if tab was used for
autocompletion.
* src/templates.c, src/build.c, src/utils.c, src/utils.h,
src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
plugins/classbuilder.c:
Revert r4301 - utils_free_pointers() taking 4 arguments.
* src/highlighting.c, src/highlighting.h, src/plugindata.h,
src/document.c, src/plugins.c, plugins/geanyfunctions.h,
plugins/splitwindow.c:
Add highlighting_set_styles() to API, use for Split Window plugin so
filetypes.common settings get set too.
Make highlighting_set_styles() take GeanyFiletype pointer instead of
filetype id.
* src/document.c, src/editor.c, plugins/splitwindow.c:
Call editor_apply_update_prefs() from editor_create_widget() so
correct tab width and other settings are applied for Split Window
plugin.
2009-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Don't include trailing newlines when using reflow command.
* src/notebook.c:
Add stock close buttons to notebook tab popup menu.
* src/plugindata.h, src/document.c, src/plugins.c, src/ui_utils.c,
plugins/geanyfunctions.h:
Add document_get_notebook_page() to API.
Minor edits of dox.
* data/templates/files/file.html, data/templates/files/file.php:
Fix wrong escaping (patch by dmaphy, thanks - closes #2878138).
* src/interface.c, src/ui_utils.c, geany.glade:
Move Tools configuration items to top of menu.
* src/keybindings.c, src/search.c:
Fix warning when using Find in Files with no documents open; make
keybinding work in this case.
2009-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c, src/plugindata.h, src/plugins.c, src/ui_utils.c,
src/ui_utils.h, plugins/geanyfunctions.h, plugins/splitwindow.c:
Make Split Window 'Show current document' button have a drop-down
menu to select the other documents.
Add new API function ui_menu_add_document_items().
2009-10-13 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Fix sensitivity settings for compile and build toolbar items.
2009-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Don't use filetype submenus for templates (slower to navigate, often
only 1 per-filetype anyway).
* src/templates.c:
Put old filetype template menu items in 'Old' submenu as they should
be removed after the 0.19 release.
* src/keybindings.c, src/keybindings.h, src/pluginutils.c:
Add GeanyKeyGroup callback support, which allow keybinding callbacks
to be ignored if inappropriate so a later keybinding with the same
key combination can intercept it. (Also group callbacks are usually
tidier than separate callbacks).
Remove special handling for GEANY_KEYS_EDIT_COMPLETESNIPPET.
* src/templates.c, src/build.c, src/utils.c, src/utils.h,
src/project.c, src/search.c, src/editor.c, src/ui_utils.c,
plugins/classbuilder.c:
Make utils_free_pointers() take 4 arguments, add to API.
* src/templates.c, src/tools.c, src/ui_utils.c:
Fix memory leaks with gtk_container_get_children().
2009-10-12 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Ensure that old style build config is not loaded if it does
not exist.
2009-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c, po/LINGUAS, po/gl.po:
Added Galician translation.
Thanks to José Manuel Castroagudín Silva.
2009-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, THANKS, src/about.c, src/document.c, src/encodings.c,
src/interface.c:
Apply set default encoding for existing files only if the files are
non-Unicode (patch by Alexey Antipov, thanks).
2009-10-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Move new_styleset() and preprocessor setup code into
styleset_c_like().
* src/highlighting.c:
Call apply_filetype_properties() from styleset_c_like().
2009-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Improve information about predefined keybindings which are
commonly used across applications (patch by Lex Trotman, thanks).
* src/printing.c:
Enable embedded page setup properties in the (Unix) Print dialog
on newer GTK versions (closes #2870596).
* src/highlighting.c:
Map global types (read from tags files) to keyword style for
filetype Java.
2009-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Fix wrong creation of filetype template menu items for custom
filetypes.
* src/highlighting.c:
Use jscript_keyword for SCE_HB[A]_WORD markup styles.
* src/templates.c:
Group 'New with template' items by filetype submenu (currently only
for toolbar menu).
Show custom file template items before filetype template items.
* src/templates.c, src/interface.c, src/geanymenubuttonaction.c,
geany.glade:
Only use one 'New with template' submenu - reparent as needed.
* src/templates.c:
Don't create templates/filetype.none either.
* src/templates.c:
Warn if custom template file no longer exists.
2009-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
Add missing icon for Java packages in the Symbol List.
2009-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, data/filetypes.vala:
Add Vala keywords to conf file.
* src/templates.c, doc/geany.txt, doc/geany.html:
Read custom file templates from $prefix/share/geany/templates/files
as well as user dir.
* src/templates.c, data/templates, data/templates/files,
data/templates/files/file.rb, data/templates/files/file.html,
data/templates/files/main.java, data/templates/files/main.c,
data/templates/files/main.cxx, data/templates/files/file.php,
data/templates/files/main.d, data/templates/files/program.pas,
data/templates/files/main.py, data/templates/files/file.tex,
wscript, Makefile.am:
Move filetype template defaults into custom file template files.
2009-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c, tagmanager/perl.c:
Change Perl tag parser to ctags SVN r601. This removes support for
buggy local/my/our but it parses constant/format/labels and should
be less buggy overall (closes #2861232).
* src/templates.c, src/utils.c, src/utils.h, src/symbols.c:
Add utils_get_file_list_full() which can optionally sort or include
a full path for each list item.
* src/utils.c, src/plugindata.h, src/plugins.c:
Add utils_get_file_list_full() to API.
2009-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/sidebar.c, src/sidebar.h,
src/makefile.win32, src/project.c, src/prefs.c, src/treeviews.c,
src/callbacks.c, src/notebook.c, src/treeviews.h, src/document.c,
src/main.c, src/symbols.c, src/Makefile.am, src/ui_utils.c,
po/POTFILES.in, wscript:
Rename treeviews.[hc] -> sidebar.[hc].
* data/filetypes.common:
Remove unused [styling] arguments.
* src/highlighting.c, data/filetypes.markdown,
data/filetypes.restructuredtext:
Remove style defaults from the code - just read them from
configuration files.
* src/highlighting.c, HACKING:
Add apply_style_entries() to simplify implementing styleset_foo().
* src/highlighting.c:
Remove filetype keyword defaults from the code - just read them from
configuration files.
* src/highlighting.c:
Add sci_set_keywords() wrapper.
2009-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scripts/create_py_tags.py:
Make the code a bit more pythonic.
* doc/images/build_menu_commands_dialog.png,
doc/images/main_window.png:
Add new images referenced in the documentation.
* doc/geany.html, doc/geany.txt:
Several documentation improvements (patch by Lex Trotman, thanks).
* src/pluginutils.c:
Fix setting the appropriate page of the combined plugins
preferences dialog.
2009-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Only focus toolbar goto line entry when pressing keybinding if it's
visible (patch by Eugene Arshinov, thanks).
* src/callbacks.c:
Focus editor after entering a number in the goto line toolbar entry.
* configure.in:
Use AC_PATH_PROG instead of which for portability (patch by Erik
Southworth, thanks).
* src/plugins.c:
Show plugins that only implement plugin_configure_single() in the
multiple-configure dialog as a page with a configure button on it.
Add padding for multiple-configure dialog.
Make the multiple-configure dialog notebook tabs scrollable.
* src/pluginutils.c, src/pluginutils.h:
Don't build pluginutils.o if HAVE_PLUGINS is not defined.
* src/pluginprivate.h, src/plugindata.h, src/pluginutils.c,
src/plugins.c, src/pluginutils.h, src/plugins.h, po/POTFILES.in,
plugins/geanyfunctions.h, plugins/filebrowser.c:
Add plugin_show_configure() API utility function.
Add File Browser popup menu 'Preferences' item.
* src/highlighting.c:
Add get_keyfile_ints() instead of using tmp_style hack.
* src/highlighting.c, data/filetypes.xml:
Change new html_asp_default_language markup pref to use integer,
not hex in config file.
Fix minor issue with changing pref back to 0.
* src/highlighting.c:
Fix possible segfault in get_keyfile_int() if key value is malformed.
2009-09-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c, src/highlighting.c, data/filetypes.xml:
Add "html_asp_default_language" pseudo style to filetypes.xml
to allow setting the used language in embedded ASP code
(patch by Ross McKay, thanks).
* src/filetypes.xml:
Update VBScript keywords (patch by Ross McKay, thanks).
2009-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, THANKS:
Apply patch from Lex Trotman to make 'Reflow block/lines(s)'
keybinding use line breaking column when enabled.
* src/document.c:
Fix showing the document before reload dialog when opening an
already-open file.
* src/pluginprivate.h, src/plugins.c, doc/pluginsymbols.c:
Add plugin_configure_single() plugin symbol which is easier to
implement than plugin_configure() but won't support a
multiple-plugin configure dialog.
* src/plugins.c:
Show multiple plugins in the 'Configure Plugins' dialog.
2009-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Change 'Foo tab in preferences dialog' titles to 'Foo preferences'.
Minor edits.
* doc/geany.txt, doc/geany.html:
Add 'Toolbar entries' section.
* doc/geany.txt, doc/geany.html:
Update 'Go to line' keybinding description.
* doc/geany.txt, doc/geany.html:
Split keybinding table into group tables; update KB links.
2009-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Fix compiler warnings about uninitialised variables.
* src/callbacks.c, src/document.c:
When reloading files, use the previously set encoding instead of
detecting it again (closes #2862041).
* configure.in:
Turn on automake silent rules if supported.
2009-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Speed up sorting in utils_get_file_list(). This reduces the file
browser delay on displaying a big directory, e.g. /usr/bin.
* src/build.c:
Expand command entry width when expanding Build Commands dialog.
* src/build.c:
Split Build Commands dialog notes label and edit text.
* src/build.c:
Add padding for Build Commands dialog separators.
Add colons for regex field labels; fix 1 capitalisation.
* src/build.c:
Fix none filetype Build Commands dialog label.
Make group labels bold.
* src/build.c, src/ui_utils.h, src/dialogs.c, src/notebook.c,
src/ui_utils.c:
Add & use ui_label_set_markup(), ui_label_new_bold().
* src/ui_utils.h, src/printing.c, src/tools.c, src/project.c,
src/prefs.c, src/dialogs.c, src/geanyentryaction.c,
src/plugindata.h, src/vte.c, src/search.c, src/ui_utils.c:
Make ui_entry_add_clear_icon() take a GtkEntry, not GtkWidget.
* src/keybindings.c:
Make 'Go to Line' keybinding focus the toolbar entry if visible.
2009-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/filetypes.h, src/symbols.c,
tagmanager/parsers.h, tagmanager/makefile.win32,
tagmanager/abc.c, tagmanager/Makefile.am, data/filetypes.abc,
data/filetype_extensions.conf, wscript:
Add new filetype: Abc (patch by Eric Forgeot, thanks).
* tagmanager/php.c:
Merge recent changes from the CTags project to further improve
PHP symbol parsing.
2009-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/printing.c:
Fix wrong alignment of printed pages when page headers are
disabled (closes #2856822).
Plug a small memory leak and improve function signature of
add_page_header().
* src/keyfile.c:
Save an if expression.
* src/ui_utils.c:
After clearing a text field using the embedded clear icon, put the
input focus into this text field.
2009-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Free file list memory whilst iterating the list.
Minor formatting fixes.
* src/utils.c, src/utils.h:
Add foreach_dir() API macro.
Update API docs for utils_get_file_list().
* wscript, src/queue.c, src/editor.c, src/Makefile.am, src/queue.h,
po/POTFILES.in:
Remove queue.[hc] - use GQueue instead of GeanyQueue.
Beep if there are no more snippet positions.
Limit length of snippet positions queue to 20.
2009-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/callbacks.c, src/search.c:
Make Goto Tag commands use the current selection if present (useful
for selecting part of a tag or for ReST section names with spaces
in).
* src/document.c:
Don't move the cursor when reloading.
* src/plugindata.h, src/editor.c, src/editor.h:
Make editor_prefs.snippets hash table private (not a pref).
2009-09-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/main.c:
Remove deprecated --debug flag. Please use --verbose/-v instead.
2009-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Show Find in Files stderr output in messages window instead of
debug window so that invalid regex messages can be seen easily.
Combine FIF stdout and stderr callback code.
2009-09-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Fix opening filenames beginning with two dots (closes #2858487).
* src/interface.c, src/highlighting.c, src/prefs.c, src/filetypes.c,
src/filetypes.h, src/main.c, doc/geany.txt, doc/geany.html,
data/filetypes.common, geany.glade:
Update syntax highlighting after changing the 'Invert syntax
highlighting colors' pref, instead of requiring a restart.
Remove filetypes.common invert_all option - use 'Invert syntax
highlighting colors' pref instead (closes #2854525).
* src/prefs.c, src/dialogs.c, src/dialogs.h:
Add 'Allow' button when showing the conflicting keybinding dialog.
Make dialogs_show_question_full() use GTK dialog on Windows if
button text is not the stock yes/no items.
Add dialogs_show_prompt() which also has an 'Apply' button.
* src/queue.c, src/queue.h:
Add warning that GeanyQueue may be removed.
* src/keybindings.c, src/editor.c, src/editor.h:
Change snippet_goto_next_cursor() to
editor_goto_next_snippet_cursor() as it's in editor.h.
Avoid using GPOINTER_TO_INT macro.
2009-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix 'Reflow block' command when at the last paragraph and there's
no last newline (patch by Eugene Arshinov, thanks).
* HACKING:
Add 'Compiler options & warnings' section.
Update Style section to be clearer about code alignment and show
some example code.
Other minor edits.
2009-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
src/plugindata.h, src/plugins.c, src/editor.c,
plugins/geanyfunctions.h:
Add sci_set_marker_at_line(), sci_delete_marker_at_line(),
sci_is_marker_set_at_line() to the plugin API (thanks to Yura
Siamashka).
Add sci_toggle_marker_at_line().
Fix SciFuncs alignment.
2009-09-11 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Fix erroneous free of returned string in prepare_run_script.
2009-09-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/filetypes.latex:
Changing default value for showing pdf and dvi to ensure to take
*.pdf and *.dvi file.
2009-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS:
Change language string for Slovenian translation.
2009-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/txt2tags.c:
Fix multi-byte character constant comparison.
* src/treeviews.c:
Fix Gtk warning when trying to update documents popup menu item
sensitivity before they exist.
2009-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c:
Improve the opening string in the plugin manager dialog.
* doc/geany.css:
Use "max-width" to set the document width of the generated
HTML documentation to let the text be auto-wrapped.
* src/prefs.c, src/tagmanager/include/guregex.h,
src/tagmanager/include/tm_tagmanager.h:
Remove trailing spaces (patch by André Hentschel, thanks).
* src/treeviews.c:
Fix a compiler warning.
* src/document.c:
Fix crash when opening documents.
* src/build.c, src/build.h, src/project.c:
Adjust coding style (no code changes).
* src/build.c, src/project.c:
Use NZV() macro instead of strlen() to check for empty strings.
Remove the FOREACH_GEANYBUILDCMD_ENTRY() macro.
* doc/plugins.dox, plugins/geanyfunctions.h, src/document.c,
src/geanyobject.c, src/geanyobject.h, src/plugindata.h,
src/plugins.c, THANKS:
Add new plugin signal: "document-before-save".
Add get_line_end_position(), set_target_start(), set_target_end(),
replace_target() to the plugin API
(patch by Eugene Arshinov, thanks).
Add new plugin signal: "document-filetype-set" (closes #2852286).
* data/filetype_extensions.conf, data/filetypes.txt2tags, src/about.c,
src/filetypes.c, src/filetypes.h, src/plugindata.h, src/symbols.c,
tagmanager/Makefile.am, tagmanager/makefile.win32,
tagmanager/parsers.h, tagmanager/txt2tags.c, tagmanager/txt2tags.c,
wscript, THANKS:
Add new filetype: Txt2Tags (patch by Eric Forgeot, thanks).
2009-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c, src/document.c:
Apply patch from Thomas Martitz to improve sidebar type-ahead code:
Use gtk_notebook_set_current_page() instead of
document_open_file_full() when choosing an item from the documents
list.
Avoid using goto in document_open_file_full().
2009-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c, src/document.c, src/document.h, THANKS:
Enable type-ahead find for sidebar symbols and documents tabs
(patch by Thomas Martitz, thanks).
* src/build.c:
Fix 2 free's of possibly uninitialized pointers.
2009-09-03 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c, src/filetypes.h, src/filetypes.c:
Only write filetype config files when build command or regex is
actually changed. Removed commented code in src/filetypes.c.
* src/build.c:
Ensure uses of filename are protected against nulls when running
a build command and give status message if not.
2009-09-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Remove plugin from plugin manager dialog on unloading if it no
longer exists or is incompatible.
2009-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Add warning if only one of the plugin_key_group[_info] symbols is
defined for a plugin.
* src/templates.c, src/highlighting.c, src/dialogs.c, src/filetypes.c,
src/filetypes.h, src/document.c, src/main.c, src/symbols.c,
TODO:
Merge custom-filetypes branch:
Support adding custom filetype files e.g. filetypes.Foo.conf.
- Code:
Allow GeanyFiletype::extension to be NULL.
Add note about using GeanyFiletype pointer instead of filetype_id
for filetypes.c function arguments.
Replace styleset_none() with styleset_default().
2009-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/prefs.c:
Show the sidebar if either the documents or the symbols list are
enabled (related to #1876107).
2009-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/filetypes.c:
Fix compiler warnings.
* src/utils.c:
Fix removing leading double slashes in filenames which are used for
network resources on Windows (closes #2844085).
2009-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix Make keybindings (patch by Lex Trotman, thanks).
* src/geany.h:
Define G_GNUC_WARN_UNUSED_RESULT if GLib < 2.10.
* doc/plugins.dox:
Mention Files link at top for header files; demoplugin.c.
Minor edits; remove 'far from being complete'.
* src/keyfile.c, src/keyfile.h, src/main.c,
data/filetype_extensions.conf, HACKING:
Remove --generate-data-files argument & code - just edit
filetype_extensions.conf by hand (filetype order was broken
anyway).
Add *.H extension for C++ (useful for non-Windows systems).
2009-08-27 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Fix implementation of loading old project files with base
directories. Use project_make_base_path instead of re-
implementing. Now depends on project.c reading base dir
prior to calling load_build_menu.
* src/build.c:
Change usage of project base directory to conform with
previous documented behavior when loading old project files.
* src/build.c:
Change make custom and make object to ignore make in base path
when reading old project file settings. Changed some indent
spaces to tabs. Fix missing compile menu accelerator.
2009-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/plugins.dox:
Add warning about not using undocumented features.
Add reference to HACKING for plugin API development.
* HACKING:
Add section 'Plugin API/ABI design'.
* src/keybindings.h, src/makefile.win32, src/project.h,
src/filetypes.h, src/Makefile.am, wscript:
Use GEANY_PRIVATE to hide some fields from plugins.
* src/build.c:
Fix invalid memory read (#2844632, patch by Lex Trotman, thanks).
* src/build.c, src/build.h, src/project.c:
Use build_ prefix for 3 functions in build.h; add a static modifier.
2009-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/php.c:
Improve parsing of PHP functions by requiring a valid modifier or
whitespace before the 'function' keyword to ignore some false
positives like function tags inside comments
(patch by Harold Aling, thanks).
* tagmanager/python.c:
Don't parse comments after import statements and other tags
(closes #2838938, patch by Huandari Lopez, thanks).
2009-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/filetypes.markdown:
Add filetypes.markdown for configuration (thanks to Jon Strait).
* src/build.c, src/keybindings.c, src/keybindings.h, src/plugindata.h,
src/pluginutils.c, src/plugins.c, src/pluginutils.h,
plugins/geanyfunctions.h:
Remove GeanyKeyGroup struct from the API - plugins should not set
these fields.
Make keybindings_set_item() duplicate the name and label fields
(needed by GeanyLua) and return a keybinding pointer.
Add keybindings_get_item() to the API (in case it's useful).
Move some keybinding code out of plugin source files.
2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.h, src/project.h, src/plugindata.h, src/filetypes.h:
Don't generate build.h API docs until everything is approved and
functions are actually in geany_functions.
Move new GeanyFiletype and GeanyProject field(s) to end of struct
as they may be changed or made private later.
Break ABI for fields removed.
2009-07-30 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.h, src/build.c, src/keybindings.c, src/filetypes.c
src/keyfile.c, src/project.c:
Changed names of symbols visible in build API to GEANY_xxx.
2009-07-29 Lex Trotman <elextr(at)gmail(dot)com>
* src/project.h, src/project.c, src/build.c:
Remove make_in_base_dir and run_cmd fields from project structure.
Replaced by build functionality. Remove incorrect use in src/build.c
build_run_cmd function.
2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
* src/project.h, src/project.c:
Removed unused project_get_make_dir function, this is now per
command.
2009-07-28 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c, src/build.h, src/project.c, src/keyfile.c,
src/filetypes.c:
Fix some more warnings.
Fix commented out execute/stop toolbar code in build.c.
Add extra plugins documentation for GBO_TO_CMD and GBO_TO_GBG macros.
Changed build.h api so all functions prefixed with build_.
2009-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/build.h, src/project.c:
Fix some gcc warnings with '-Wall -W -ansi' enabled.
2009-07-25 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Fixed leaks and crashes due to inconsistent use of static vs dynamic
strings when reading old format configuration & project files.
* src/build.c, src/project.c:
Fixed GLib array assertion warnings when no project filetypes are
available to be saved.
2009-07-24 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Fix build warnings.
2009-07-22 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.h, src/build.c, src/project.c:
Created and documented plugins interface to build menu.
Factored out new get_cmd_group function.
Changed name of remove_command function to be consistent with the
rest of the interface & changed calls in project.c.
* src/Makefile.am, wscript:
Added build.h to installed files lists.
2009-07-20 Lex Trotman <elextr(at)gmail(dot)com>
* doc/geany.txt:
Updated manual to match build-menu capability.
2009-07-19 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c, src/build.h:
Added set_build_non_ft_wd_to_proj() for use by project dialog.
Improved interpretation of run_in_base_dir from old [build-settings]
Added spacing to build commands dialog
* src/project.c:
Removed run in base path option from project dialog and added button
to set working directories to d the same.
2009-07-18 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Re-incorporated toolbar changes in trunk accidently excluded in merge
2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
Fixed substitute %f etc in commands
Fixed potential leak in build_replace_placeholder
Fixed leak in prepare_run_script (Thanks for patch Thomas)
Fixed build_replace_placeholder to not require document.
2009-07-17 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c, src/build.h, src/filetypes.h, src/filetypes.c:
Fixed crash and lots of warnings, deleted some commented out code.
* geany.glade, src/keyfile.c, src/prefs.c, src/prefs.h, src/project.c:
Removed make command from preferences and associated code
2009-07-16 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c, src/build.h:
Incorporated patch for working directory field (thanks Thomas)
Removed run_in_base_dir option and associated code that it replaces
Improved handling of old config files and mapping to new ones.
2009-07-15 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.h, src/build.c:
Changed to itterate over entries in build commands dialog to allow
additional fields to be added
Implement support for multiple run commands
* data/filetypes.latex:
Implement configured commands and labels for latex.
2009-07-14 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.h, src/build.c:
added dialog support for error regular expressions from multiple
sources and storing and loading them fixed some typos and memory
leaks
* src/filetypes.c, src/filetypes.h, project.c:
added support for using error regexes from multiple sources
2009-07-11 Lex Trotman <elextr(at)gmail(dot)com>
* src/filetypes.h, src/filetypes.c, src/build.c, src/build.h,
src/project.c:
Removal of build menu item source made redundant by the following fix
* src/build.c:
Corrected priority oreder and loading of filetype dependent build
menu items saved in the project file. Added print routine for
debugging command sources and priorities set compile symbol
PRINTBUILDCMDS true to enable
2009-07-10 Lex Trotman <elextr(at)gmail(dot)com>
* src/build.c:
fixed problem loading old format filetype files, some formatting
fixes fixed saving new format files
added operation for clear button on build commands dialog
* src/filetypes.c:
fixed loading and saving filetype files
2009-07-09 Lex Trotman <elextr(at)gmail(dot)com>
Configurable Build Menu Changes
* doc/geany.html, doc/geany.txt:
Updated build menu section to new functionality
* src/build.h, src/build.c:
Largly re-written, configurability added, Latex code removed
* src/filetypes.h, src/filetypes.c:
Filetype structure updated to add new command pointers, configuration
load and store changed
* src/keybindings.h, src/keybindings.c:
Changed to address new command storage structure.
* src/keyfile.c:
Changed to load/store new configuration.
* src/main.c:
Minor change to initialisation order.
* src/msgwindow.c:
Changed to address new menu item storage structure.
* src/project.h, src/project.c:
Changed to load/store the new configuration info.
2009-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/plugindata.h,
src/pluginutils.c, src/plugins.c, src/pluginutils.h,
doc/pluginsymbols.c, plugins/geanyfunctions.h,
plugins/splitwindow.c:
Update PLUGIN_KEY_GROUP() macro so it doesn't allocate any
GeanyKeyBinding or GeanyKeyGroup structs, so we don't need to break
the ABI when adding fields to them.
Add plugin_set_key_group() for plugins to dynamically set a
keybinding group (e.g. for the Lua script plugin). Used in Split
Window plugin as an example.
Improve keybinding docs a little.
2009-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/Doxyfile.in, plugins/geanyfunctions.h, plugins/genapi.py:
Add geanyfunctions.h to API docs.
* plugins/splitwindow.c:
Set the cursor color for the split window.
2009-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Fix 'Open Selected File' for unsaved new documents.
* src/keybindings.c, src/keybindings.h, src/prefs.c:
Fix updating main menu accelerators after changing keybindings
(thanks to Lex Trotman).
* src/callbacks.c:
Fix using 'Insert date' keybinding when a custom date string has
not been set.
* src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
Merge Plugin and GeanyPluginPrivate structs.
2009-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c:
Fix non-working Home and End keys on numpads.
2009-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html, NEWS:
Add 'Scope autocompletion' section.
Add 'Tools menu items' section to explain configuration files
submenu, reload configuration item.
Minor updates/fixes.
2009-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Add a translation hint to an ambiguous format string.
* src/Makefile.am:
Add missing include path to fix 'make distcheck'.
* src/win32.c:
Fix opening of local files in the browser on Windows.
* New release: Geany 0.18 "Kaine".
* configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
src/geany.h, doc/geany.html, doc/geany.txt:
Post-release version bump.
2009-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Temporarily disable reshowing calltips when the autocompletion
list was closed implicitly by not choosing an item to fix
problems with wrongly displayed calltips.
* src/template.c:
Add missing 'coding' cookie to the Python filetype template.
* doc/images/pref_dialog_edit_completions.png,
doc/images/pref_dialog_toolbar.png:
Update images for Geany 0.18.
2009-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Add command '--hackingdoc' to create the HTML form of the
HACKING file.
2009-08-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/pt_PT.po, po/LINGUAS:
Added a first Portugese (Portugal) translation based on work done at
launchpad by e.g. André Glória and Alexandre Jesus.
* src/main.c: Fix a minor typo on --help call.
2009-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Call get_keyfile_wordchars() in highlighting_init_styles().
2009-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.ada:
Add missing file.
* src/keybindings.c:
Switching notebook tabs now works for the currently used notebook
widget instead of always using the documents notebook.
* src/document.c, src/document.h, src/documentprivate.h,
doc/plugins.dox:
Small corrections to some API docs.
2009-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/win32.h, src/win32.c:
Expand system environment variables (%variableName%) on Windows when
running Build commands.
2009-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Rename 'Reflow lines/paragraph' to 'Reflow lines/block' because in
future using an indent block is more useful e.g. for ChangeLog
files.
* scintilla/LexMarkdown.cxx, scintilla/makefile.win32,
scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
scintilla/KeyWords.cxx, scintilla/Makefile.am, src/highlighting.c,
src/about.c, src/filetypes.c, src/filetypes.h, THANKS,
tagmanager/parsers.h, tagmanager/makefile.win32,
tagmanager/markdown.c, tagmanager/Makefile.am, wscript:
Add Markdown filetype (patch by Jon Strait, thanks).
* src/pluginprivate.h, src/pluginutils.c, src/plugins.c:
Fix disconnecting plugin signal id when not using geany_object.
* src/filetypes.c:
Add filetype_make_title() instead of using:
ft->title = g_strdup_printf(_("%s source file"), ft->name);
It also supports "%s file" strings.
2009-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/pluginprivate.h, src/utils.h, src/plugindata.h,
src/stash.c, src/pluginutils.c, src/plugins.c, src/pluginutils.h,
doc/pluginsymbols.c, doc/plugins.dox, plugins/geanyfunctions.h,
plugins/filebrowser.c:
Add plugin_signal_connect() for connecting plugin signals at
runtime and also for connecting to any GObject signal.
Add 'Plugin Utility Functions' on main page.
Add foreach_array() macro.
* src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
src/document.c, src/editor.c:
Rename 3 sci functions to sci_set_target_start(),
sci_set_target_end(), sci_replace_target() to match the SCI_
message name.
2009-07-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* wscript: Fix compiling error with waf.
2009-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/pluginprivate.h, src/makefile.win32, src/plugindata.h,
src/pluginutils.c, src/plugins.c, src/pluginutils.h,
src/Makefile.am, wscript:
Move plugin_* utility functions to pluginutils.c.
Add pluginprivate.h.
* src/editor.c:
Fix reshowing calltip in the wrong document.
2009-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Add some general information about auto-completion capabilities
(patch by Lex Trotman, thanks).
2009-07-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/LINGUAS, po/sl_SI.po, THANKS, src/about.c:
Added a first Slovenian translation. Thanks to Joze Klepec.
2009-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Use full styleset_foo[_init] function name as argument to
init_styleset_case() and styleset_case() macros so it's easier to
understand the code.
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
src/sciwrappers.h, src/editor.c, src/editor.h, THANKS,
doc/geany.txt, doc/geany.html:
Add 'Reflow lines/paragraph' keybinding, defaults to Ctrl-J.
Heavily based on a patch by Eugene Arshinov (thanks).
Add sci_lines_split(), sci_lines_join(), sci_text_width(),
editor_strip_line_trailing_spaces().
2009-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Attempt to fix reshowing calltips after the autocompletion list
has been shown.
Reshow calltips also when the autocompletion list was closed
implicitly by not choosing an item.
2009-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/toolbar.c, src/plugindata.h,
plugins/splitwindow.c:
Change utils_str_remove_chars() to work in place; fix allocating on
the stack (the string length could exhaust the stack size).
* src/templates.c, src/build.c, src/utils.c, src/utils.h,
src/printing.c, src/callbacks.c:
Rename utils_str_replace() utils_str_replace_all(), setting a
'gchar **haystack' argument instead of returning a new string.
* src/editor.c:
For the Tabs indent type, remove spaces when unindenting (only) if
there are no tabs on the line.
Group undo actions for (un)indenting of multiple lines.
* src/document.c, src/editor.c:
Fix scrolling horizontally after finding a search match with the
search bar or Find Next/Previous which is off-screen.
* src/keybindings.c:
Fix GLib warning when pressing a key with no documents open.
2009-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c:
Start unifying usage of @a and @c markup elements in API docs,
to be continued.
* src/main.c, src/prefs.c, src/toolbar.c, src/toolbar.h:
Show/hide the toolbar without a restart when the setting in the
preferences dialog is changed (closes #2824785).
* src/dialogs.c, src/document.c, src/editor.c, src/encodings.c,
src/filetypes.c, src/keybindings.h, src/main.c, src/msgwindow.c,
src/navqueue.c, src/plugindata.h, src/prefs.c, src/toolbar.c,
src/toolbar.h:
Continue unifying usage of @a and @c markup elements in API docs.
2009-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Remove relative/untidy path elements when creating new documents
with a filename (e.g. from the command-line) (#2823998).
2009-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Disable 'Recent Projects' menu item if the list of recent projects
is empty.
* src/win32.c:
Fix some harmless compiler warnings.
* plugins/geanyfunctions.h, plugins/splitwindow.c, src/plugindata.h,
src/plugins.c, src/utils.c, src/utils.h:
Move utils_str_remove_chars() from the plugins/splitwindow.c to
src/utils.c and add it to the plugin API.
Make utils_str_remove_chars() work on a new copy of the input string
instead of modifying it in place.
* src/toolbar.c:
Remove underscores from the toolbar items labels.
* src/utils.c:
Fix typos.
* plugins/splitwindow.c:
Fix broken 'Show the current document' tool button icon.
2009-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c, src/callbacks.c, src/stash.c, src/stash.h,
src/keyfile.c:
Add stash_group_add_widget_property() so we can save any widget's
read/write properties.
Use Stash for ui_prefs.sidebar_page setting.
* src/utils.h, src/prefs.c, src/keyfile.c, src/symbols.c:
Make foreach_ptr_array() use an integer argument for its
implementation, as this is more useful potentially than a gpointer*
argument, and more straightforward.
Add foreach_c_array(), foreach_ptr_array() to API.
* src/utils.c, src/utils.h, src/document.c:
Remove relative/untidy path elements when opening documents (closes
#2823998).
* src/treeviews.c:
Fix showing project name for documents list files with no
subdirectory (oops).
* src/dialogs.c:
Fix checking whether to overwrite when using the Rename button in
the 'Save As' dialog.
2009-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Don't use the main window as parent for dialog boxes if it is not
yet realised.
Set titles for message dialogs.
2009-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/toolbar.c:
Display item labels instead of raw names in the toolbar editor.
Apply changes in the toolbar editor instantly.
Show icons in the toolbar editor.
Speed up toolbar editor dialog creation.
* src/templates.c:
Improve inserting of comment templates like File header or licence
notices. The comment information are now read from the filetype
configuration files.
2009-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Enable file monitoring for files which are written to disk by Geany
for the first time.
* src/filetypes.c:
Fix broken special case handling when detecting filetypes from a
shebang or other special file headers.
2009-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Make Mark All keybinding clear search highlighting when there's no
current word.
* src/search.c:
Fix wrong match length when using Mark with regex.
* src/geanyobject.c, src/geanyobject.h, src/treeviews.c,
src/keyfile.c, src/main.c:
Add 'Show Paths' documents list popup item.
Add "load_settings" core-only signal emitted just after loading
main keyfile settings; useful to delay building UI elements until
settings have been read.
* src/treeviews.c:
Fix GTK warning when right-clicking on default tag tree.
* src/treeviews.c, src/treeviews.h, src/keyfile.c, src/main.c:
Add treeviews_finalize().
Remove tv.popup_openfiles field.
2009-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Fix building on GTK 2.8 (patch by Eugene Arshinov, thanks).
2009-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c:
Quote the uri before passing it to the browser when opening a
website (closes #2818635).
* src/win32:
Fix broken 'builtin' Run command for HTML files on Windows.
2009-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Properly fix wrong brace highlighting of non-brace character.
* src/editor.c:
Allow autocompletion in Perl double-quoted strings.
Don't autocomplete in Perl single-quoted strings (closes #2821061).
Don't autocomplete in Perl q() strings.
* data/filetypes.common:
Make Mark highlighting brighter.
* src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
Use hyphen for auto-feature terms.
* src/plugindata.h, src/geany.h, src/filetypes.c, src/filetypes.h,
src/document.h, src/main.c:
Add documents_foreach() API macro that skips invalid docs.
Make filetypes[], documents[] part of the API again.
Add GEANY() macro for sharing geany symbols between API and core.
* src/plugindata.h, src/plugins.c, doc/plugins.dox,
plugins/saveactions.c, plugins/export.c, plugins/geanyfunctions.h,
plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
plugins/htmlchars.c, plugins/geanyplugin.h, plugins/Makefile.am,
plugins/classbuilder.c, wscript:
Add geanyplugin.h single include for plugin API; update all core
plugins to use it.
Add sci_set_font() to API.
Update plugin howto.
* src/filetypes.c, src/filetypes.h:
Remove filetypes_foreach_named().
2009-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/about.c, src/filetypes.c, src/document.c,
src/document.h, src/main.c, THANKS:
Apply patch from Eugene Arshinov to reload color schemes via menu
(thanks).
* src/filetypes.c:
Reload filetypes.common after saving it.
* src/editor.c:
Improve wrong brace highlighting of non-brace character.
2009-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Delay highlighting matching braces by 100ms, which speeds up
scrolling with the arrow keys.
* src/keybindings.c, src/keybindings.h, src/search.c, src/search.h:
Add 'Mark All' keybinding.
* tagmanager/diff.c:
Show relative paths in diff filename tags.
2009-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c:
Fix setting keyword list 'classes' for Haxe
(pointed out by Andreas Mokros, thanks).
2009-07-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
doc/geany.txt, doc/geany.html, geany.glade:
Add 'Drop rest of word on completion' pref.
* src/editor.c, doc/geany.txt, doc/geany.html:
If autocompletion is already visible when forcing completion, show
document word completion instead of tag completion.
Docs: Minor edits of related prefs items.
* src/printing.c, src/dialogs.c, src/dialogs.h, src/plugindata.h:
Add warning when printing and editor font is not monospaced.
Fix using GtkMessageType instead of gint param for
dialogs_show_msgbox*().
Add missing G_GNUC_PRINTF macro check to API dialog funcs.
* src/editor.c:
Support 'tab indents, space aligns' style for auto-indentation
(closes #2789109).
2009-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/documentprivate.h:
Rework the GIO based file monitoring code. Now it is used only
to indicate a possible change of the file, the real check if the
file has been changed is performed by stat().
* data/filetypes.common, doc/geany.txt, src/highlighting.c:
Add style 'line_height' to increase the line height.
Add style 'marker_mark' and change style 'marker_search' to
define the style used for marked search results.
* doc/geany.txt, doc/geany.html:
Add the new 'Autocomplete all words in document' pref to the docs.
2009-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keyfile.c, src/editor.c, src/editor.h,
doc/geany.txt, doc/geany.html, geany.glade, TODO:
Add 'Autocomplete all words in document' pref.
Use 'autocompletion' in dialog and docs, not 'auto completion'.
* src/editor.c:
Fix limiting number of word completion entries too much.
* src/editor.c, TODO, icons/16x16/classviewer-var.xpm,
icons/16x16/classviewer-method.xpm, icons/16x16/Makefile.am:
Show autocompletion icons for tag symbols - for now only tags with
an arglist have the 'function/method' icon, all others have the
'variable' icon.
Note: XPMs were created from the PNGs with the ImageMagick 'convert'
program.
* src/highlighting.c:
Highlight D WYSIWYG backtick `strings` and r"strings" (closes
#1895745).
2009-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/utils.h, plugins/splitwindow.c:
Fix removing underscores in translated string using no_underscore()
macro.
Set a tooltip for the Split Window plugin's Show Current tool button.
Add utils_strdupa() macro.
* src/interface.c, geany.glade:
Use stock Select All icon now we have >= GTK 2.8.
* src/treeviews.c:
Fix using project name for document items that start with the
project base path but don't match it e.g. ".../geany-plugins"
instead of ".../geany" when project name is 'geany'.
2009-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Fix warnings when the toolbar does not contain the Run button.
* tagmanager/lua.c:
Fix wrong parsing of complex expressions in the Lua parser.
* src/editor.c, src/geany.h, src/keybindings.c, src/plugindata.h,
src/utils.c:
Remove unnecessary enums.
* scintilla/*, scintilla/include/*, src/plugindata.h:
Update Scintilla to version 1.79.
* src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h,
src/search.c:
Use the new Scintilla struct names prefixed with 'Sci_'.
* TODO, data/filetypes.common, doc/geany.html, doc/geany.txt,
src/highlighting.c:
Add second argument to the 'line_wrap_indent' styling setting to
control the new Scintilla indentation mode for wrapped lines.
* src/toolbar.c:
Properly close the toolbar editor on delete-events.
Fix warnings and possible crashes in the toolbar editor when the list
of displayed toolbar items is empty.
* data/filetypes.tcl:
Update Tcl keywords for Tcl 8.6 (patch by Witek Mozga, thanks).
* src/plugins.c:
Make the plugin manager dialog a bit bigger.
2009-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt:
Fix wrong default values for the 'Show Calltip' keybinding.
2009-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.tcl, src/symbols.c:
Fix duplicate "context_action_cmd" key.
Use different icons for "Methods" and "Procedures" in the symbol
list for Tcl files.
* src/filetypes.c:
Fix a small memory leak.
* doc/geany.html, doc/geany.txt, src/editor.c, src/keybindings.c,
src/keybindings.h, src/plugindata.h:
Make the Scintilla keybindings 'Delete to end of line' and
'Go to end of display line' configurable.
* geany.nsi:
Fix a typo (closes #2813624).
2009-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/tcl.c, src/symbol.c:
Improve parsing of Tcl files (parsing new Tcl8.6 style classes,
methods and namespaces).
Patch by Witek Mozga, thanks.
2009-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/ui_toolbar.xml, doc/geany.txt, doc/geany.html, src/ui_utils.c,
src/toolbar.c, src/toolbar.h:
Remove ui_toolbar.xml Configuration Files menu item.
Add a real toolbar editor dialog.
* geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
src/prefs.c:
Add a button in the preferences dialog and an item for the toolbar
popup menu to run the toolbar editor dialog.
2009-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c:
Fix Gtk NULL warning with gtk_file_chooser_set_current_folder().
Fix using locale encoding for default Save As dialog path.
* src/editor.c:
Beep when trying to activate the '...' autocompletion item.
Limit (forced) document word completion to
autocompletion_max_entries.
Beep if no completions are shown when forcing autocompletion.
2009-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/ui_toolbar.xml, src/toolbar.c:
Add 'Build' toolbar button to the default layout.
2009-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
If forcing autocompletion and there's nothing else to show, complete
from words in the current document (using code from Enrico's
'AutoComplete Test' plugin).
2009-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Add debug message if plugin has not set a name for its keybinding
group.
* data/filetype_extensions.conf:
Add *.m4 for shell scripts.
2009-06-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, doc/geany.txt, doc/geany.html,
data/filetypes.common, TODO:
Make filetypes.common named styles use the "default" named style for
all missing style fields.
Set named styles to usually leave the background style empty. This
currently allows C-like filetypes to have a common default
background color.
Allow hard-coded colors to use -1 for the default color.
Add some highlighting style examples to the manual.
2009-06-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c:
Create initial template files with proper platform-specific line
ending characters.
2009-06-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/ui_toolbar.xml, doc/geany.txt, src/build.c,
src/geanymenubuttonaction.c, src/geanymenubuttonaction.h, src/main.c,
src/plugins.c, src/templates.c, src/toolbar.c, src/toolbar.h,
src/ui_utils.c, src/ui_utils.h:
Instantly reload (i.e. rebuild) the toolbar when ui_toolbar.xml is
saved within Geany.
Refactor some related code.
* tagmanager/conf.c:
Strip trailing spaces from "Key" tags.
* geany.nsi:
Quote the full filename to the Geany executable when creating the
"Open with Geany" context menu item.
* plugins/splitwindow.c:
Avoid using deprecated GTK API.
* src/log.c, src/main.c:
Properly clean up the logging mechanism.
* src/build.c:
Fix LaTeX view commands on Windows (part of #2807688).
* src/prefs.c:
Add a popup menu for the keybinding list in the preferences dialog
to easily expand and collapse all groups.
Refactor the keybindings code for the preferences dialog, prefix all
related functions.
* src/main.c, src/ui_utils.c, src/ui_utils.h:
Init stock items before creating the toolbar (closes #2809324).
* wscript:
Generate the geany.pc file also on Windows.
* src/ui_utils.c:
Invert the logic to determine which Save All we want to use:
Use the Tango like icon only for the Tango theme and the Gnome / GTK
like icon for any other themes.
2009-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, README.Packagers, HACKING:
Remove gsd_* default styles, use named styles instead.
Note: this relies on filetypes.common being installed.
Add load_style_entries(), which makes style initialization
simpler, used in styleset_c_like_init().
2009-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c:
Prevent possible crash on Windows when not setting an initial
directory for native File Open/Save dialogs.
* data/filetypes.xml, src/highlighting.c:
Add style 'jscript_regex' for filetype HTML
(patch by Chris Macksey, thanks).
2009-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.h, src/document.c, src/document.h, src/ui_utils.c:
Make GeanyDocument::file_type always be non-NULL, even for a new
document with no filetype set.
* src/editor.c:
Only autocomplete scope for scopes matching the current filetype's
language.
* data/filetypes.java, data/filetypes.cpp, data/filetypes.vala,
data/filetypes.haxe, data/filetypes.common, data/filetypes.glsl,
data/filetypes.actionscript, data/filetypes.cs,
data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
data/filetypes.javascript, HACKING:
Make C++, D lexer filetypes use named styles (apart from uuid,
verbatim, regex styles).
2009-06-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Don't explicitly change the current directory of the Save As dialog
so that it uses the last used directory.
2009-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/encodings.c, src/encodings.h, src/plugindata.h:
Add Japanese encoding "CP932" (patch by Ryūsei Yamaguchi, thanks).
* src/editor.c:
Remove dead code.
When completing from the macro list, put the cursor after
the inserted text.
2009-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/pascal.c:
Fix type definitions being parsed as functions.
* src/editor.c:
Don't autocomplete in unterminated strings as well.
* src/templates.c, src/utils.h, src/dialogs.c, src/plugindata.h,
src/filetypes.c, src/ui_utils.c, plugins/saveactions.c:
Remove data_ptr argument to foreach_[s]list() macros, as using
node->data is enough sometimes; this makes the macro a bit more
efficient too.
Add foreach_[s]list() macros to the plugin API docs.
2009-06-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/LexPascal.cxx:
Backport fix from Scintilla CVS:
Pascal lexer hanging on file that starts with 'interface' after
whitespace.
2009-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* waf:
Update Waf to 1.5.7.
* wscript:
Overwrite installation prefix on Windows only if it wasn't
specified explicitly.
2009-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Display calltips for Pascal symbols in the Pascal way (#2803945).
* tagmanager/pascal.c:
Fix wrongly set return values for procedures (closes #2803945).
* doc/Doxyfile.in, tagmanager/include/tm_work_object.h,
tagmanager/include/tm_source_file.h,
tagmanager/include/tm_workspace.h:
Fix doxygen warnings.
2009-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c, tagmanager/include/tm_workspace.h,
tagmanager/tm_workspace.c, TODO:
Autocomplete scoped fields like struct members when typing '.' (and
also '->' or '::' in C/C++).
Save all tag types for C/C++ when generating a global tags file, so
we can use autocompletion for structs also.
Merge tm_workspace_find_scope_members(),
tm_workspace_find_namespace_members() (currently not built) from
Anjuta 2.24.1 tagmanager.
2009-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/pascal.c:
Parse Pascal calltips (closes #2802640).
2009-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/ui_utils.c:
Add filetypes.common Configuration Files menu item.
2009-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Add backslash to the wordchars on Windows when using
'Open Selected File'.
* src/wscript:
Add support (configure, build and install) for building on Windows
and cross-compiling for Windows using the Waf build system.
2009-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/toolbar.c:
Set status bar text instead of showing a dialog when saving
ui_toolbar.xml because the user might save several times.
* src/editor.c:
Fix redrawing due to colourising just after the document is first
drawn. Now colourising should happen before the first draw.
* src/utils.c, src/highlighting.c, data/filetypes.common:
Fix segfault on parsing a filetypes.* style definition that has < 4
fields.
Allow style definitions to have missing fields to use the default
style fields.
2009-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/images.c, src/about.c, src/ui_utils.c, THANKS:
Add a more Tango like icon for 'Save All' (by Jesse Mayes, thanks).
* plugins/classbuilder.c:
Fix wrongly created header guards when the class filenames contains
dashes (patch by PCMan, thanks).
* data/filetypes.matlab:
Add build_settings section to allow executing Matlab scripts.
* src/document.c:
When closing a document, mark it as invalid before removing it from
the documents notebook (this fixes wrong Save All button state when
closing an unsaved document because the "switch-page" signal handler
was using old data).
2009-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, doc/geany.txt, doc/geany.html:
Support toggling bold/italic when using a named style, e.g.:
commentdockeyword=commentdoc,bold,italic
Improve named style docs.
2009-06-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/editor.c:
Fix crashes when parsing the output of a compiler which reports
errors on line 0.
2009-06-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Support named styles also for filetypes.common [styling] entries.
* doc/geany.txt, doc/geany.html, HACKING:
Update docs for named styles in filetypes.* files.
* src/symbols.c:
Fix grouping symbol list children when parent name has "." character
in for reStructuredText and Conf filetypes.
* tagmanager/python.c:
Fix grouping functions/classes under a nested function.
2009-05-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.spec.in:
Adjust icon paths (patch by Dominic Hopf, thanks).
* doc/geany.txt, doc/geany.html, src/toolbar.c:
Add 'Replace' toolbar button (closes #2798225).
2009-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/highlighting.c, TODO:
Implement named styles support for filetypes.* using a
filetypes.common [named_styles] section e.g.:
foo=0xc00000;0xffffff;false;true
bar=foo
These can be used in e.g. filetypes.c as:
comment=foo
2009-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
Fix wrong sensitiveness of the Redo buttons (closes #2797862).
2009-05-28 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c, po/lb.po, po/LINGUAS:
Added Luxembourgian translation. Huge thanks to Laurent Hoeltgen.
2009-05-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Remove quote_executable() as it is not used anymore.
When creating the geany_run_script.bat use the "%0" variable
expansion and quote it for the "del" command (closes #2797172).
* src/win32.c:
On Windows, fallback to the literal build command line if searching
for the command in the system path failed (related to #2795923).
Properly terminate the resulting strings when reading the stdout
and stderr of any spawned commands on Windows.
2009-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c:
Use the wide character versions of native Windows File dialogs.
* src/project.c:
Fix wrong initialisation of the default project path button callback
in the preferences dialog.
* Makefile.am, configure.in, geany.nsi, geany.spec.in, wscript,
geany_private.rc, icons/16x16/Makefile.am, icons/16x16/geany.png,
icons/48x48, icons/48x48/Makefile.am, icons/48x48/geany.png,
icons/Makefile.am, icons/geany.ico, icons/scalable,
icons/scalable/Makefile.am, icons/scalable/geany.svg,
src/makefile.win32:
Move the icons geany.png and geany.ico into the icons directory.
Add a 16x16 pixel Geany icon and the scalable SVG icon.
Drop the pixmaps directory.
2009-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Improve MRU document switching so there are no duplicates in the
list and documents switched to whilst the dialog is open are
ignored. Also beep when cycling through to the first document in the
list.
2009-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Fix broken 'Cancel' button in the Save As dialog.
2009-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix multiline indent when selection covers text on the last line.
* src/notebook.c:
Show current document in bold in tab popup menu.
* src/editor.c, tagmanager/python.c, TODO:
Parse Python calltips.
2009-05-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, tagmanager/python.c:
Parse Python import statements to get symbol completion for the
imported module names.
* src/editor.c, src/editor.h:
Make some only locally used functions static.
Fix wrong sanity check.
* src/build.c:
Fix quoting the build command string on Windows (closes #2791769).
This broke when we made build commands run synchronously on Windows,
now we don't need to special quote the commands anymore.
2009-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Drop rest of word to the right of cursor when autocompleting (do we
need a pref for this?).
2009-05-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c, src/sciwrappers.h, src/editor.c:
Add sci_set_selection().
* doc/geany.txt, doc/geany.html:
Update manual for MRU switching.
* src/callbacks.c, src/editor.c, src/editor.h:
Make indenting with the Tabs indent type preserve spaces on the line,
so it works for the 'tab indents, space aligns' formatting style.
2009-05-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c:
Fix missing symbols for variables when an equal sign is used
in a comment on the same line as the variable declaration.
Backport change from CTags SVN to keep the parser more in sync:
Add support for Cython constructs to the Python parser.
* src/search.c:
Remember the additional Find in Files search flags at startup.
* src/dialogs.c:
Don't close the Save As dialog when saving the file didn't succeed.
2009-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Remember scribble cursor position.
* src/keybindings.c, TODO:
Implement Most-Recently-Used document switching when pressing
Ctrl-Tab keybinding. (It's probably not perfect, but works OK).
2009-05-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/latex.tags: Added some more commands from unit.sty and
moderncv.sty.
2009-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c, doc/geany.txt, doc/geany.html,
tagmanager/makefile.win32, tagmanager/nestlevel.c,
tagmanager/nestlevel.h, tagmanager/python.c, tagmanager/rest.c,
tagmanager/Makefile.am, wscript:
Merge unstable branch:
Add reStructuredText scope information for tags (for symbol list
grouping).
Read custom system global tags files from $prefix/share/geany/tags;
Closes #2778923.
Show the number of tags in a user global tags file (instead of the
running total) in the debug message.
Also print debug messages when loading a tag file manually or for
default global tags files e.g. python.tags.
- code:
Move NestingLevel tags code into a separate file, add functions.
- docs:
Add 'Installation prefix' section instead of quoting '/usr/local'
each time.
Update for custom system global tags files.
2009-05-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c:
Unset maybe previously keywords when setting up Scintilla for
XML files. This fixed wrong highlighting after switching back to
filetype XML from another one.
* src/utils.c:
Use plain old fwrite() in utils_write_file(). g_file_set_contents()
is only used when explicitly requested.
* src/dialogs.c:
Remove unnecessary call to g_intern_string() to fix build with
GLib 2.8 (closes #2790051).
2009-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
Make the clear icon of entry fields act on the release event, not
on the press event like for other buttons.
* src/editor.c:
Refactor some multiple used code into get_multiline_comment_style().
* src/main.c:
Create parent directories if necessary when checking for the
configuration directory on startup (closes #2784577).
2009-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
When a filter is set, apply it only to files, not directories and
apply the filter to the UTF-8 name of the file as the filter string
itself is also UTF-8.
* src/utils.c, src/utils.h, src/highlighting.c, src/printing.c:
Add utils_color_invert() and use it in highlighting.c and printing.c.
* scintilla/include/Scintilla.h, scintilla/scintilla_changes.patch:
Backport change from Scintilla CVS:
Change capitalisation of header file to suit cross-compilation on
Unix for Windows.
2009-05-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript, scintilla/*, scintilla/include/*, src/plugindata.h:
Update Scintilla to version 1.78.
* src/editor.c, src/highlighting.c:
Update Pascal styles as they changed in Scintilla.
2009-05-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/printing.c:
Ignore the invert syntax highlighting colours setting when printing
to not print characters on a dark background (closes #2785244).
* New release: Geany 0.17 "Wessex".
* configure.in, geany.nsi, geany_private.rc, win32-config.h, wscript,
src/geany.h, doc/geany.html, doc/geany.txt:
Post-release version bump.
2009-04-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/callbacks.h, src/main.c:
Update the View->Fullscreen menu item when fullscreen state is
changed externally (e.g. by the window manager).
* src/project.c:
Fix passing wrong pointer to the File Open dialog for the Run
command in the Project Properties dialog.
2009-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/keyfile.c, src/main.c, src/ui_utils.c,
src/ui_utils.h:
Remember the active sidebar page between sessions.
* src/project.c:
Add a recent project item after creating a new project.
* tagmanager/ruby.c:
Fix wrong parsing of string literals (closes #2781264).
* src/treeviews.c:
Fix setting focus to the editor widget after changing the selection
in the symbol list.
2009-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
Prevent crashes when two or more top level items in the symbol
list have the same name (closes #2778246).
2009-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c:
Manually show the main notebook tab bar menu when Shift-F10 is
pressed. This broke when we disabled the default GTK tab bar menu.
* src/document.c:
Fix a crash when USE_GIO_FILEMON is enabled at closing a document
which was reloaded shortly before.
* src/editor.c:
When the editor menu is opened by the Menu key, use the text cursor
position for retrieving the current word. This fixes disabled
Go to Tag items in the menu (#2780044).
* src/treeviews.c:
Set the "ellipsize" property of GtkCellRendererText to automatically
shorten the path and file names in the Documents list.
* doc/geany.html, doc/geany.txt, src/build.h:
Increase the amount of highlighted build error messages to 100.
At least for LaTeX we need higher values as there is a lot of
informative output before any errors are reported.
* src/filebrowser.c:
Use the startup path as the initial directory for the filebrowser
plugin when no project and no files are opened
(patch by Matias Gea, thanks; closes #2780521).
2009-04-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/document.c, src/document.h, src/treeviews.c,
src/utils.c, src/utils.h:
Ellipsize tab labels and some status messages for very long
filenames (closes #2777348).
* src/plugins.c, src/plugindata.h, plugins/geanyfunctions.h:
Add utils_str_middle_truncate() and
document_get_basename_for_display() to the plugin API.
* doc/geany.html, doc/geany.txt, src/toolbar.c:
Add new toolbar element: Print (patch by Roland Baudin, thanks).
* doc/geany.html, doc/geany.txt, src/document.c, src/document.h,
src/keyfile.c:
Add a hidden preference 'use_safe_file_saving' to save files to disk
by creating a temporary file first. This has serious side effects,
please read the documentation before enabling this.
* src/build.c:
Make build commands on Windows run synchronously to avoid problems
with reading build commands' output.
* doc/geany.html, doc/geany.txt, src/build.c, src/build.h:
Limit the amount of highlighted build error messages in the
Compiler window to 50 for performance reasons.
2009-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/editor.c, src/keybindings.c, src/keybindings.h,
src/prefs.c:
Replace our own GEANY_KEYS_MODIFIER_MASK by
gtk_accelerator_get_default_mod_mask() which gives the same result.
* src/filetypes.c, src/symbols.c, tagmanager/Makefile.am,
tagmanager/makefile.win32, tagmanager/parsers.h, wscript:
Add a trivial symbol parser for NSIS files.
2009-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Hide the extra file open dialog options in an expander to make the
dialog more compact by default and to provide more space for the
file view.
Remove the filename field as it is also provided by GTK itself with
more features like auto-completion.
Watch the 'show-hidden' property of the file chooser widget using
GObject's "notify" signal which gives accurate results and remove
the hack using the "selection-changed" signal.
2009-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/callbacks.h, src/encodings.c, src/filetypes.c:
Prevent double execution of radio menu item "activate" or "toggled"
signal handlers.
Move 'Set Encoding' callback function into encodings.c.
2009-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c:
Add some missing 'void's in function definitions.
If the project base path is './', just use the path of the project
config file instead of appending './'.
* src/treeviews.c, src/project.c:
When a project is loaded, replace the project base path with the
project name in the Documents sidebar for parent items
(closes #2723679).
2009-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c, src/keyfile.h, src/project.c:
Fix duplicating the recent files and projects lists when closing
a project.
* src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
src/editor.c, src/encodings.c, src/filetypes.c,
src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
src/highlighting.c, src/keybindings.c, src/keyfile.c, src/main.c,
src/msgwindow.c, src/navqueue.c, src/notebook.c, src/plugins.c,
src/prefs.c, src/queue.c, src/sciwrappers.c, src/socket.c,
src/symbols.c, src/templates.c, src/toolbar.c, src/tools.c,
src/treeviews.c, src/ui_utils.c, src/utils.c, src/vte.c:
Remove all G_LIKELY macros inside g_return_if_fail() statements as
this is redundant.
Remove many other G_LIKELY/G_UNLIKELY macros which doesn't make much
sense to keep the code more readable.
2009-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
When updating global type definitions for opened documents, take
also C++ namespace symbols into account and don't ignore symbols
which are defined inside a scope.
2009-04-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Don't show 'plugin is not binary compatible' messages on the status
bar, only the status window.
2009-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c:
When opening files from a remote instance on X11, set the window
server time to encourage window managers to pop up the main window
(related to #2735467 and #2276179).
* src/main.c:
When finished sending filenames to a remote instance, notify the
environment that we finished starting up.
2009-04-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/utils.h, src/ui_utils.c:
Sort Configuration Files menu.
Add ui_menu_sort_by_label().
Add foreach_list() macro.
* src/editor.c:
Fix autocompletion.
2009-04-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c:
Fix setting a wrong default window size when starting without an
existing configuration.
* src/editor.c, src/sciwrappers.c, src/sciwrapper.h:
Make editor_highlight_braces() static.
Remove unused wrapper functions.
* src/editor.c, src/symbols.c, src/symbols.h:
Prevent showing an empty macro list.
Show only macros of the same filetype instead of all macros of all
loaded filetypes.
* src/ui_utils.c:
Don't add opened project files to the GtkRecentManager.
2009-04-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Add Configuration Files item for snippets.conf.
* src/highlighting.c, src/symbols.c:
Fix 2 old uses of filetype IDs.
2009-04-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/interface.c, src/printing.c, geany.glade:
Minor string improvements (spotted by Jean-Philippe Moal, thanks).
2009-04-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
Add sanity checks in ui_lookup_widget() just to be safe.
* THANKS, TODO, geany.glade, src/about.c, src/interface.c,
src/keyfile.c, src/main.c, src/plugindata.h, src/project.c,
src/project.h, src/ui_utils.c, src/ui_utils.h:
Add "Recent Projects" menu to the Project menu
(#2728630, patch by Elias Pschernig, thanks).
* doc/geany.txt, doc/geany.html:
Describe how to build Geany using the Waf build system.
* src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
src/document.h, src/editor.c, src/encodings.c, src/filetypes.c,
src/geanymenubuttonaction.c, src/geanyobject.c, src/geanywraplabel.c,
src/highlighting.c, src/keybindings.c, src/keyfile.c, src/log.c,
src/main.c, src/msgwindow.c, src/navqueue.c, src/notebook.c,
src/plugins.c, src/prefs.c, src/queue.c, src/sciwrappers.c,
src/socket.c, src/symbols.c, src/templates.c, src/toolbar.c,
src/tools.c, src/tools.h, src/treeviews.c, src/ui_utils.c,
src/utils.c, src/utils.h, src/vte.c:
Start using G_LIKELY/G_UNLIKELY macros to gain a little more
performance when building the code with gcc.
* src/highlighting.c:
Fix typo in the G_LIKELY checks, introduced in last commit.
Fix the size of the styles array.
* src/document.c:
Show a message dialog when renaming a file fails.
2009-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Remove checks for the .pdf or .dvi files when viewing a LaTeX file
(as we did for all other files in SVN r3382).
2009-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, doc/geany.txt:
Move ActionScript to the Script group.
Fix wording & typo.
* src/templates.c, src/utils.h, src/highlighting.c, src/dialogs.c,
src/plugindata.h, src/filetypes.c, src/filetypes.h, src/plugins.c,
src/symbols.c, src/ui_utils.c, plugins/saveactions.c,
plugins/htmlchars.c:
Merge reorder-filetypes branch:
Make GEANY_FILETYPES_NONE = 0, sort filetype IDs randomly (so we can
append randomly without breaking the ABI).
Make None filetype name = title = _("None").
Add foreach_slist() macro.
Add filetypes_by_title list to GeanyData for plugin API access
- a list of filetype pointers, which includes the None filetype
first. This list stays constant by the time plugins are initialized,
so you can use e.g. g_slist_nth_data(filetypes_by_title, n) to
index the sorted list.
2009-03-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html, src/main.c:
Add widget names for the menubar and toolbar.
* src/msgwindow.c:
When hiding the messages window, set the input focus back to the
editor widget (part of #1910393).
2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexOthers.cxx, src/highlighting.c, tagmanager/conf.c:
Backport recent changes from Scintilla CVS to add partial support
for RFC2822 styled text using the Properties lexer.
Ignore leading whitespace for config files and RFC2822 text.
* data/filetypes.actionscript:
Update/fix ActionScript keywords (patch by Chris Macksey, thanks).
* THANKS, src/treeviews.c:
Display file/directory icons in the Documents sidebar
(patch by Simon Treny, thanks).
2009-03-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
src/callbacks.h, src/interface.c, src/keyfile.c, src/main.c,
src/plugindata.h, src/prefs.c, src/toolbar.c, src/toolbar.h:
Add an option to allow appending the toolbar to the main menu bar
to save some vertical space.
Allow setting toolbar icon size to very small (menu icon size).
2009-03-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c, src/utils.c, src/utils.h:
Add utils_path_skip_root(), a relative path safe variant of
g_path_skip_root (forgotten patch by Colomban Wendling, #2518658).
* src/keyfile.c, src/main.c:
Allow negative window coordinates when saving and restoring the
position of the main window.
Restore the main window position and size *after* the window has
been realised to get it positioned accordingly
(this affects at least Windows).
2009-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, src/plugins.c, src/win32.c, src/win32.h:
Use g_win32_get_package_installation_directory_of_module() on Windows
with newer GLib versions instead of deprecated API.
* src/keybindings.c:
Don't manage the last used documents list when quitting to prevent
errors by accessing invalid memory (may close #2533990).
2009-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Delete the geany_run_script.sh immediately after execution
to prevent leaking old copies when the script was quit unexpectedly
(closes #2710482, patch by Martin Olsson, thanks).
* src/keyfile.c:
Check whether skipping the root element of a document's filename
succeeded and use the filename itself if not (e.g. on relative
filenames, #2702844).
Use the locale encoded filename when saving session files.
* src/callbacks.c:
Re-set the quitting status after all documents have been closed on
quitting.
2009-03-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/htmlchars.c:
Remove usage of deprecated sci_get_selected_text() from plugin.
2009-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Delay disk file checks when switching between documents a little
bit to avoid fast, unintentional page switching in some cases.
* plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c,
src/sciwrappers.c, src/sciwrappers.h:
Deprecate sci_get_text(), sci_get_selected_text() and
sci_get_text_range().
Add sci_get_contents(), sci_get_contents_range() and
sci_get_selection_contents() as replacement functions to provide
an easier and cleaner API (initial patch by Frank).
2009-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/css.c:
Fix wrong parsing of CSS tags when the definition block starts on
a new line (reported by Dominic Hopf, thanks).
2009-03-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/htmlchars.c:
Extend plugin by feature to bulk replace and replace on input for
special characters to their HTML entities.
2009-03-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Update build menu items after changing anything in the
'Set Includes and Arguments' dialog.
Disable Compile/Run buttons/menu items when Compile/Run commands are
set but empty.
Reset current build directory to the base directory after reading a
"Leaving directory" message when parsing Make output
(closes #2694479, patch by Andrea Mazzoleni, thanks).
* src/notebook.c:
Fix wrong display of the filename in the tab bar menu for new files.
* src/dialog.c:
Set the initial directory for the Save As dialog only once on
initialisation.
Add a shortcut of the project's base directory to the
File Open/Save As dialogs when a project is open for faster access.
* src/splitwindow.c:
Add keybindings for the split actions.
2009-03-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c:
When using Find All in the Find dialog (in Session and Document),
display the right amount of matches.
Fix the display of the matches once per line (I broke the original
patch).
* src/ui_utils.c:
Fix wrong directory selection behaviour in all Open Folder dialogs
(closes #2688020, patch by Marcel Stimberg, thanks).
* src/socket.c:
Don't present the main window of a running instance when starting
a second instance separately.
2009-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c:
Reduce default file permissions on the Unix Domain socket file
(reported by Jörg Sommer, thanks).
2009-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html, geany.glade, src/interface.c,
src/main.c, src/plugindata.h, src/plugins.c, src/prefs.c,
src/prefs.h:
Add an option to set an additional plugin lookup path.
* src/search.c:
When using Find All in the Find dialog, display matches only once
per line in the messages window (patch by Bert Vermeulen, thanks).
2009-03-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, data/filetypes.actionscript,
src/about.c, src/document.c, src/filetypes.c, src/filetypes.h,
src/highlighting.c, src/plugindata.h, src/symbols.c,
tagmanager/Makefile.am, tagmanager/actionscript.c,
tagmanager/makefile.win32, tagmanager/parsers.h, THANKS, wscript:
Add filetype ActionScript (patch by Chris Macksey, thanks).
Update type keywords only for real C-like languages.
Fix wrong sorting of Assembler and Ada filetypes.
* plugins/classbuilder.c:
Use G_DEFINE_TYPE in the GTK+ class template instead of manual code.
Other minor cleanups.
2009-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/notebook.c:
Don't use menu item images for the tab bar menu to save some
vertical space.
* data/filetypes.fortran, tagmanager/fortran.c:
Add keyword 'extends' and fix Fortran parser to support the
'extends' keyword (closes #2654492).
* geany.glade, plugins/export.c, src/interface.c, src/printing.c,
src/search.c, src/toolbar.c:
Fix punctuation.
2009-03-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS:
Added Jari Rahkonen to list of Finnish translators.
2009-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.pc.in:
Adjust minimum required GTK version.
* src/Makefile.am, wscript:
Add main.h to the list of installed header files.
* geany.glade, src/document.c, src/documentprivate.h, src/interface.c,
src/notebook.c, src/ui_utils.c:
Remove GeanyDocumentPrivate::tabmenu_label.
Disable the default tab bar menu for the main notebook widget and
use a custom menu instead which lists all open files as usual plus
'Close Other Documents' and 'Close All' menu items.
2009-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/search.c, src/ui_utils.c, src/ui_utils.c:
Move ui_set_search_entry_background() into ui_utils.c.
Change the background colour of the search entries in the Find
and Replace dialogs according to the search results like in the
toolbar search field.
Add images to the 'Replace' and 'Replace and Find' buttons in the
Replace dialog.
Minor cleanups in search.c.
* tagmanager/tm_source_file.c:
Update source files upon creation.
* data/c99.tags:
Update C tags for glibc 2.9.
* src/callbacks.c, src/toolbar.c:
Fix broken non-incremental search with the toolbar search entry when
pressing Enter (closes #2638180).
* plugins/splitwindow.c:
Fix possible crash on non-32-bit systems (patch by
Wolfgang Ocker, thanks).
* geany.spec.in:
Update the Packager tag due to Dominic's various contributions.
Update description and feature list.
Change Source tag to the gzip'ed tarball to be in sync with the
Makefile target (thanks to Wolfgang Ocker for reporting).
2009-02-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/vcdiff.c, plugins/Makefile.am, po/POTFILES.in:
Removed deprecated plugin VC Diff
2009-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c:
Fix wrong Fortran 90 comment characters when inserting templates.
* doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
src/callbacks.h, src/editor.c, src/interface.c, src/keybindings.c,
src/keybindings.h, src/main.c, src/plugindata.h, src/vte.c,
src/vte.h, THANKS:
Add 'Send Selection to Terminal' command to the Edit->Format menu
(initial patch by David Gleich, thanks).
* geany.glade, src/interface.c:
Fix mnemonic for the Edit->Preferences menu item.
2009-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, plugins/Makefile.am:
Enable socket support when cross-compiling.
Enable plugin compilation when cross-compiling.
* src/msgwindow.c:
Fix missing NULL checks when reading the colour value of compiler
output messages.
* src/main.c, src/win32.c, src/win32.h:
On Windows, change the working directory to the Geany installation
path at startup to avoid unwanted directory locking(closes #2626124).
* src/encoding.c:
Fix broken selection of "Document->Set Encoding" menu items.
* src/document.c, tagmanager/include/tm_source_file.h,
tagmanager/include/tm_work_object.h, tagmanager/tm_project.c,
tagmanager/tm_source_file.c, tagmanager/tm_tag.c,
tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
Don't let the tagmanager automatically reparse files if they
seem to be changed on disk (affects all files in the current session,
not the current one). This should speed up file saving a little bit,
especially with remote files.
Remove now unnecessary calls to tm_workspace_update().
* src/printing.c:
Allow an empty value for the date format in the print settings to
omit the date/time string in the print header.
2009-02-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/editor.c: Set cursor for LaTeX at auto closing of environment
direct into area.
2009-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.h:
Add missing header include (closes #2615808).
2009-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
Fix a possible crash when comparing symbol names
(could be related to Ubuntu bug #147151).
Fix broken symbol list tooltips when tag names contain ampersands.
2009-02-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/makefile.win32:
Don't build Split Window plugin on Windows (doesn't work).
2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* ChangeLog, Makefile.am: Rotate ChangeLog.
* configure.in, geany.nsi, geany_private.rc, win32-config.h,
wscript, doc/geany.txt, doc/geany.html, src/geany.h:
Post-release version bump.
2009-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scitilla/LexHTML.cxx:
Backport a change from Scintilla CVS to fix wrong folding of comments
in HTML/XML lexer (Scintilla #2532774, thanks to Jason Oster).
* New release: Geany 0.16 "Argon".
* ChangeLog, Makefile.am: Rotate ChangeLog.
2009-02-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/plugins.dox:
Add a plugin howto to the plugin API docs, written by Frank.
2009-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/msgwindow.c:
Don't use a hard coded black foreground colour for the compiler and
messages windows, instead use the default GTK foreground colour.
* src/prefs.c:
Don't use the clear icon inside any spin buttons in the prefs dialog.
* doc/geany.txt, doc/geany.html, doc/images/*:
Update docs and images for Geany 0.16.
2009-02-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/dialogs.c, src/prefs.c, src/printing.c,
src/project.c, src/search.c, src/tools.c, src/vte.c:
Add a clear icon to the used text entries all over the place
(will be available with GTK >= 2.16).
* plugins/export.c, plugins/filebrowser.c, plugins/htmlchars.c,
plugins/vcdiff.c, src/document.c, src/search.c, src/templates.c,
src/tools.c, src/treeviews.c, src/utils.c:
Small optimisations by moving out function calls of loop break
conditions (patch by Frank, thanks).
2009-02-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
Make Menu key and Shift-F10 working on the filebrowser treeview.
Return TRUE if appropriate in the event handlers.
* plugins/vcdiff.c:
Fix path quoting problems on Windows.
* plugins/geanyfunctions.h, src/document.c, src/document.h,
src/editor.c, src/editor.h, src/plugindata.h, src/plugins.c,
src/treeviews.c, src/ui_utils.c:
Add editor_get_word_at_pos() as a convenient function to retrieve
the word at a given position.
Make document_get_status_color() returning a const GdkColor.
Add editor_get_word_at_pos() and document_get_status_color() to the
plugin API.
* src/vte.c, plugins/filebrowser.c:
Don't follow the path of the document if the document has not an
absolute file path.
* src/msgwindow.c:
Really focus the status/compiler/messages window when the
corresponding keybinding is used.
2009-02-08 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/editor.c:
Don't put closing td tag into a new line during auto completion of a
HTML table.
2009-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c:
Don't check for old configuration directory location on Windows.
* plugins/geanyfunctions.h, src/plugindata.h, src/plugins.c:
Add plugin_module_make_resident() to the plugin API which allows
plugins to make the module resident. This seems necessary when
using GTypes, e.g. by using the GObject API.
* src/vte.c:
Fix ordering of the input methods submenu item in the VTE popup menu.
2009-02-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geanymenubuttonaction.c, src/geanyentryaction.c,
src/geanyobject.c, src/geanywraplabel.c:
Use the G_DEFINE_TYPE() macro to generate the *_get_type() code.
Remove useless geany_object_finalize() function.
* src/keybindings.c:
Special case Menu key presses and Shift-F10 to show the popup menu
of the widgets where they were pressed instead of always the
document notebook tab list.
* src/msgwindow.c:
Allow pressing Space/Enter in the compiler and messages treeviews
to activate the selected item (closes #2555704).
* src/editor.c:
Fix typo which caused wrong snippet completion (closes #2568588).
2009-02-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c, src/vte.h:
Some code cleanup and improve comments, no changes in functionality.
* src/editor.c:
Fix a crash on Windows for PHP files when 'comment_close' in not set
(neither in the user's config nor in the global filetypes.php) and
(un)commenting is used outside of the PHP tags
(reported by Frank, thanks).
* src/dialogs.c:
It's enough to check for GTK 2.14 at runtime, not at build time when
to determine whether to show non-local folders in the file chooser
dialogs.
2009-02-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c:
Fix wrong Help button sensitiveness in the plugin manager dialog.
2009-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/document.c:
Use the document's real path when the VTE setting 'Follow the path of
the current file' is used to prevent unnecessary directory changes
when symlinks are used (reported by Dominic Hopf).
* plugins/filebrowser.c:
Add an option to 'follow the path of the current file' in the
filebrowser plugin.
Add an option to automatically set the project's base directory when
a project is opened/changed (closes #2554027).
* waf, wscript:
Update to waf 1.5.3 and use modern task syntax in the wscript.
2009-01-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c, src/plugindata.h, src/utils.c, plugins/filebrowser.c,
plugins/geanyfunctions.h:
Add utils_string_replace_first() to the plugin API.
Allow entering paths prefixed with '~' in the filebrowser path entry.
Show the full path for files and folders in the filebrowser plugin
as tooltips.
* HACKING, doc/plugins.dox:
Add a few notes about basic plugin writing guidelines.
* doc/plugins.dox, src/dialogs.c, src/document.c, src/editor.c,
src/editor.h, src/filetypes.c, src/msgwindow.c, src/sciwrappers.c,
src/ui_utils.c, src/ui_utils.h, src/utils.c:
Add some missing @since tags to the API documentation of various
functions.
2009-01-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* autogen.sh:
Add a check for 'libtoolize' (suggested by Greg Smith, thanks).
* tagmanager/fortran.c:
Update Fortran parser from CTags SVN (closes #2545000).
2009-01-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Set the documents' mtime field properly for checking disk file
changes.
* src/document.c, src/keyfile.c, src/ui_utils.c, src/ui_utils.h:
Add a hidden preference "allow_always_save" to make the Save buttons/
menu items always sensitive and allow saving files even without
changes.
* plugins/filebrowser.c:
Use the selection 'changed' signal of the treeview to update the
popup menu items and show the popup menu on mouse button press events
so right clicking on items will select them first.
* doc/plugins.dox, plugins/demoplugin.h:
Mention necessary header includes in the plugin signal descriptions.
Add missing header includes for the demoplugin.
* doc/pluginsymbols.c, plugins/geanyfunctions.h, src/about.c,
src/build.c, src/callbacks.c, src/plugindata.h, src/plugins.c,
src/utils.c, src/utils.h:
Rename utils_start_browser() in utils_open_browser() and add it to
the plugin API.
Add plugin symbol plugin_help() which is called by Geany when the
plugin should show its documentation (if any). This symbol is
optional, plugins can omit it if not needed.
Add a Help button next to the Configure button in the plugin manager
dialog to easily open a plugin's documentation if available.
* doc/geany.txt, doc/geany.html:
Remove the square brackets around Hidden preferences table titles to
avoid confusion with section titles in the config file.
Add the new hidden pref 'allow_always_save'.
2009-01-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Fix legacy file monitoring since I broke once more.
* src/geanyentryaction.c, src/ui_utils.c, src/ui_utils.h:
Add a clear icon to the toolbar search and goto text fields
(will be available with GTK >= 2.16).
* plugins/geanyfunctions.h, src/build.c, src/plugindata.h,
src/plugins.c, src/printing.c, src/search.c, src/ui_utils.c,
src/ui_utils.h:
Add a progressbar widget to the statusbar and use it to show progress
when building with the Make commands, when printing and when using
Find in Files.
Add progressbar convenience functions and ui_entry_add_clear_icon()
to the plugin API.
2009-01-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Split Prefs dialog General tab into sub-notebook with Startup and
Miscellaneous tabs. Merge Search tab into Miscellaneous tab.
* src/search.c:
Remember whether find/replace all expanders were expanded.
* src/search.c:
Rename static structs, group by dialog.
* src/search.c:
Refactor with create_find_dialog().
2009-01-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/cs.po, THANKS: Update of Czech translation. Thanks to Karel Kolman
for providing.
2009-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Use g_timeout_add_seconds() instead of g_timeout_add().
Add missing NULL check in monitor_file_changed_cb().
Reset the file status when saving a file failed.
Disable GIO based file monitoring for now since it doesn't work yet
as stable as it should. Define USE_GIO_FILEMON to use.
* src/utils.c:
Use g_file_set_contents() to write files to disk in
utils_write_file() for better error checking and to avoid corruption
of config files when there is no more free disk space.
This is not used for saving documents (part of Debian bug #503391).
* src/dialogs.c:
Use the stock overwrite confirmation dialog provided by GTK 2.8
in the Save As dialog.
2009-01-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c:
Minor cleanup in the socket code.
When files are opened remotely, always use gtk_window_present() to
bring the main window to front or whatever the window manager decides
to do (part of #2276179).
On Windows, we send a pointer to the main window to the remote
instance which then brings the window to the front (grab focus). This
should work better than the previous implementation and should avoid
the blinking tasklist item.
* HACKING, README, wscript, configure.in, doc/geany.html,
doc/geany.txt, geany.nsi, src/geany.h, src/notebook.c, src/utils.c:
Increase minimum required GTK version to 2.8.
2009-01-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Refactor with create_replace_dialog().
* src/search.c:
Reorder replace dialog 'replace all' buttons.
2009-01-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Reuse the locale-encoded filename in document_save_file().
Use an unique "monitor" prefix for file monitoring functions.
Don't check disk status for files which are marked to be ignored.
Reset file disk status when manually reloading a file.
Various improvements to the GIO-based file disk checking code.
* src/document.c, src/keyfile.c, src/search.c, src/tools.c,
src/utils.c, src/vte.c, tagmanager/tm_source_file.c:
Replace remaining occurrences of '__func__' with 'G_STRFUNC'.
* plugins/geanyfunctions.h, src/dialogs.c, src/plugindata.h,
src/plugins.c:
Add dialogs_show_input_numeric() to the plugins API.
2009-01-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Disable documents popup menu items when invalid.
Make close, save menu items work for all children when a parent row
is selected.
* src/notebook.c:
Fix focusing the editor after clicking on a notebook tab.
2009-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/utils.c:
Skip disk changes detection for all remote files.
Don't try to detect a remote file when running on old GLib versions
without GIO (< 2.16).
2009-01-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/ui_utils.h, src/prefs.c, src/plugindata.h,
src/treeviews.c, src/keyfile.c, geany.glade:
Use tree for Documents sidebar, grouped by path.
Remove Documents show full path pref.
Use enum for documents tree store column ids.
2009-01-18 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/utils.c: Added a missing g_free().
2009-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, data/filetypes.oms,
scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
scintilla/KeyWords.cxx, scintilla/LexOMS.cxx, scintilla/Makefile.am,
scintilla/makefile.win32, src/editor.c, src/filetypes.c,
src/filetypes.h, src/highlighting.c, src/templates.c, wscript:
Remove filetype O-Matrix (probably unused for years).
* src/keybindings.c, src/keybindings.h:
Reorder some keybindings.
* src/dialogs.c, src/document.c, src/document.h, src/documentprivate.h,
src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
Add document_save_file_as and document_rename_file to the plugin API.
If GIO is available, use GFileMonitor to watch for file disk changes
and indicate them immediately using an orange tab label colour.
Break plugin ABI for this and the last commits.
* src/build.c:
Disable the Build menu item in the Build toolbar button explicitly
for LaTeX files.
Update the tooltip for the Build toolbar button according to the last
used action.
2009-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.nsi:
Major improvements for the Windows installer:
Register ".geany" as Geany Project File extension.
Show a checkbox to open the Release Notes at the end of the
installation.
When the installer is executed without admin privileges,
install Geany only for the user. Otherwise, install Geany
for All Users.
Fix problems with automatic uninstallation at startup of the
installation when the installation directory were different.
Install GTK translation files only if installation of translation
files were requested (saves about 22 MB otherwise).
* src/msgwindow.c:
Properly fix parsing of compiler error messages.
* data/filetypes.nsis:
Update keywords lists.
* doc/geany.txt, src/build.c, src/build.h, src/images.c, src/toolbar.c,
src/ui_utils.c, src/ui_utils.h:
Add 'Build' toolbar button with a submenu for Make actions.
Make use of ui_image_menu_item_new() for some menu items.
Remove tooltips from menu items.
* Makefile.am, geany.nsi, data/c99.tags, data/global.tags,
doc/geany.html, doc/geany.txt, scripts/create_c_tags.sh,
src/symbols.c, tagmanager/tm_workspace.c:
Remove GTK tags (data/global.tags).
Add C (C99) tags (data/c99.tags) and a script to generate them).
2009-01-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c, src/keyfile.c:
Prevent type-punned pointer warnings with gcc 4.1.
2009-01-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, doc/geany.txt, doc/geany.html, doc/geany.1.in:
Rename command line option --debug to --verbose.
Change short form of --version from -v to -V.
* geany.glade, src/dialogs.c, src/interface.c, src/printing.c,
src/search.c, src/vte.c:
Remove tooltips from menu items.
Don't use full stops in tooltips for short sentences.
* doc/geany.txt, doc/geany.html:
Add documentation for some missing options.
2009-01-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/global.tags, data/latex.tags, data/pascal.tags, data/php.tags,
data/python.tags, doc/geany.html, doc/geany.txt,
scripts/create_php_tags.php, scripts/create_py_tags.py,
tagmanager/include/tm_tag.h, tagmanager/tm_project.c,
tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
Add a format specification in global tags files and implement
an additional fallback if the specification is missing.
Adjust code and scripts which generate global tags files to
add the new format specification.
Update global tags files.
Add documentation for the two supported global tags files formats.
* src/msgwindow.c:
Strip the compiler error messages to fix possibly broken message
parsing.
* win32-config.h, src/makefile.win32:
Fix Windows build: don't use GIO.
Link against GIO anyways just to be safe with GTK 2.14.
* geany.glade, src/highlighting.c, src/interface.c, src/keyfile.c,
src/plugindata.h, src/ui_utils.h:
Add GUI pref to invert all colours for syntax highlighting.
2009-01-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/filetypes.vala:
Add default build commands (other sections are commented out and
untested).
2009-01-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, wscript, src/Makefile.am, src/utils.c:
Fix build with GTK 2.12 by adding GIO compile and linker flags
(closes #2498580).
* configure.in, plugins/splitwindow.c, src/callbacks.c, src/document.c,
src/document.h, src/filetypes.c, src/highlighting.c,
src/keybindings.c, src/plugins.c, src/search.c, src/socket.c,
src/symbols.c, tagmanager/read.h:
Fix several compiler warnings and build errors
(patch by Daniel Richard G., thanks).
* data/snippets.conf, doc/geany.html, doc/geany.txt, src/editor.c,
src/editor.h, src/keybindings.c, src/keybindings.h, src/Makefile.am,
src/makefile.win32, src/plugindata.h, src/utils.c, src/utils.h,
src/about.c, src/queue.c, src/queue.h, THANKS, wscript:
Support multiple %cursor% wildcards in Snippets. To switch between
%cursor% wildcards, use the new keybinding 'Move cursor in snippet'
(patch by Thomas Martitz, thanks).
* src/highlighting.c:
Don't fold toplevel PHP script tags (part of #2003912).
Replace remaining occurences of sptr_t by uptr_t in the third
argument of SSM() calls.
* plugins/Makefile.am, src/Makefile.am, src/utils.c,
tagmanager/include/Makefile.am:
Fix build without GIO again (sorry).
Remove trailing slashes in Makefile.am's
(patch by Daniel Richard G., thanks).
2009-01-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, win32-config.h, wscript, src/main.c, src/main.h,
src/utils.c, src/utils.h:
Add checks for GIO (GLib >= 2.16) support.
Allow to specify files on the command line and from remote instances
to be URIs (local and with GIO also remote URIs).
* src/document.c, src/documentprivate.h, src/utils.c, src/utils.h:
Add utils_is_remote_path().
Add private field 'is_remote' to GeanyDocument to indicate whether
an opened file is locally accessed or via gvfs-fuse.
2009-01-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c, src/stash.c, src/keyfile.c:
Fix using prefs dialog editor & files tab spin button values when
they've just been edited and Alt-O is used to close the dialog
without moving the focus.
* src/prefs.c:
Fix remaining spin buttons in the prefs dialog (closes #2492317).
2009-01-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/basic.c:
Fix some bugs in parsing FreeBasic code (#2489605).
* src/build.c:
Don't remove leading whitespace from compiler output for compilers
like gfortran which use space for indentation in error messages.
* data/filetypes.tcl:
Update keyword list for Tcl/Tk 8.5.
2009-01-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript, THANKS, data/filetype_extensions.conf, src/templates.c,
scintilla/KeyWords.cxx, scintilla/LexAda.cxx, scintilla/Makefile.am,
scintilla/makefile.win32, src/about.c, src/editor.c, src/filetypes.c,
src/filetypes.h, src/highlighting.c, src/plugindata.h:
Add filetype Ada (closes #1811306 and #1765830,
patch by Philipp Gildein, thanks).
* src/filetypes.c, data/filetype_extensions.conf:
Add *.desktop as extension for the Conf filetype.
* *.*:
Update copyright information
* plugins/saveactions.c:
Don't write the default filetype to the config if it isn't set.
2009-01-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/support.h:
Prevent compile errors in plugins when GETTEXT_PACKAGE is not
defined.
* tagmanager/make.c:
Fix crash in Makefile parser when trying to read defines.
2009-01-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c, src/geanyobject.c,
src/geanyobject.h, src/geany.h, src/callbacks.c, src/callbacks.h,
geany.glade:
Fix not switching to 2nd last used document when the last used
document has been closed (#1945162).
- Code changes:
Move geany_object extern to geany.h.
Remove CallbacksData struct.
* src/toolbar.c, src/project.c, src/callbacks.c, src/keyfile.c,
src/filetypes.c, src/document.c, src/plugins.c, src/main.c,
src/editor.c, src/symbols.c:
Remove geanyobject.h includes.
Use GObject instead of unused GeanyObject argument.
* doc/geany.txt, doc/geany.html:
Update Scintilla regular expression info for v1.77 (character
classes, ASCII escaping, character sets containing square
brackets peculiarities). Adapted from SciTE doc.
2009-01-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/main.c:
Add dialog for switching to last used tab, which disappears when
releasing the modifier key. (Useful once MRU switching is
implemented).
Connect window key-press-event in keybindings.c.
* src/keybindings.c:
Group some View callbacks together.
2008-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Fix description of a Project pref (fixes #2476854).
2008-12-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
Avoid unnecessary critical warnings when setting tooltips for the
symbol list with non-UTF-8 files (closes #2473376).
* geany.glade, src/interface.c, src/prefs.c:
Use a GeanyWrapLabel for the project indentation settings warning
text in the prefs dialog.
2008-12-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c, src/geanyobject.c, src/geanyobject.h, src/stash.c,
src/stash.h, src/keyfile.c, src/plugins.c, src/main.c,
src/plugins.h:
Don't forget active plugins after disabling plugin support.
Use Stash for plugin-related prefs.
Add geany_object "save-settings" signal (for core only).
Add stash_group_add_string_vector().
* src/main.c:
Fix creating a new configuration directory (oops).
* src/ui_utils.h, src/plugindata.h, src/stash.c, src/keyfile.c,
src/search.c, src/search.h, src/ui_utils.c:
Add ui_hookup_widget() macro to the API.
Make saving Stash string settings NULL-safe.
Move fif_extra_options search setting code to search.c.
2008-12-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/interface.h, src/project.c, src/project.h,
src/projectprivate.h, src/stash.c, src/stash.h, src/main.c,
src/editor.c, src/Makefile.am, geany.glade:
Add Project Indentation prefs, which override the Editor
Preferences dialog options. For new projects, these default to the
editor indent prefs.
- Plugins:
For compatibility with this change, use editor_get_indent_prefs().
- Code changes:
The Project Properties dialog is now created by Glade, but (for
now) the existing options are added manually.
Add GeanyProjectPrivate project field.
Add stash_group_set_use_defaults().
* src/interface.c, src/prefs.c, src/prefs.h, geany.glade:
Show warning label on Preferences dialog Editor tab when a project
is open.
Move Indentation frame to a separate tab.
2008-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c, src/stash.h, src/keyfile.c:
Rename stash_group_load() -> stash_group_load_from_key_file().
Rename stash_group_save() -> stash_group_save_to_key_file().
* src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c:
Remove remaining PrefEntry code, use Stash instead.
Add stash_group_add_spin_button_integer(),
stash_group_add_combo_box().
* src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c:
Add stash_group_add_combo_box_entry(), stash_group_add_entry().
2008-12-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/global.tags:
Update for GTK+ 2.14.5.
Command used (on Debian Sid/Experimental):
'CFLAGS=`pkg-config --cflags gtk+-2.0` geany -g gtk-2.14.c.tags
/usr/include/gtk-2.0/gtk/gtk.h'
* src/document.c:
Only stat() files after saving for the timestamp when
file_prefs.disk_check_timeout is set (to greater 0).
Call realpath() on files only when opening or changing the filename
but not on every save.
* data/filetype_extensions.conf, data/filetypes.cmake,
data/filetypes.nsis, scintilla/KeyWords.cxx, scintilla/LexCmake.cxx,
scintilla/LexNsis.cxx, scintilla/Makefile.am,
scintilla/makefile.win32, src/editor.c, src/filetypes.c,
src/filetypes.h, src/highlighting.c, src/plugindata.h,
src/templates.c, wscript:
Add new filetypes CMake and NSIS.
2008-12-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/rest.c:
Parse sections in the order of first-used underline character,
which can now be any punctuation character (as per the spec).
2008-12-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c, tagmanager/fortran.c:
Use plurals for HTML symbol list parent items.
Fix Fortran Types showing as Interfaces in the symbol list.
* src/symbols.c:
Show Structs separately from Typedefs / Enums for the C symbol list.
* src/keybindings.c, src/search.c, src/editor.c:
Allow Find Usage for selections even when the cursor is not at a
word character.
2008-12-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Fix too ambitious auto tag closing in HTML files inside embedded
scripting languages.
Complete HTML styles in is_comment_style() and is_string_style().
* src/callbacks.c, src/callbacks.h:
Remove dead code.
* src/editor.c, src/document.c:
Remove remaining uses of doc->editor and use GeanyEditor directly.
* wcript, src/build.c, src/callbacks.c, src/dialogs.c, src/document.c,
src/encodings.c, src/filetypes.c, src/keybindings.c, src/keyfile.c,
src/main.c, src/Makefile.am, src/makefile.win32, src/msgwindow.c,
src/plugindata.c, src/plugins.c, src/prefs.c, src/project.c,
src/search.c, src/support.c, src/support.h, src/templates.c,
src/toolbar.c, src/tools.c, src/treeviews.c, src/ui_utils.c,
src/vte.c:
Move implementation of lookup_widget() into ui_lookup_widget().
Change uses of lookup_widget() to ui_lookup_widget().
Remove now unneeded support.c.
Use GLib gettext macros in support.h instead of own ones.
2008-12-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/html.c:
Also parse headings with tags inside header tag.
* src/plugins.c:
On quitting, sort list of active plugins by plugin name.
2008-12-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c:
Fix broken session file support on Windows.
* doc/geany.txt, doc/geany.html:
Retitle the Terminal/VTE preferences tab section.
Change (again) the key combinations for creating
rectangular selections.
* doc/Doxyfile.in, doc/plugins.dox, plugins/demoplugin.c, src/editor.c,
src/editor.h, src/document.c, src/geanyobject.c, src/geanyobject.h,
src/geany.h, src/plugindata.h:
Add "editor-notify" to the plugin API.
This signal is emitted whenever something in an editor widget
changes, e.g. a character was typed.
* src/editor.c:
Make Ctrl-click working again to create rectangular selections when
no braces and valid definitions are below the cursor (to whose would
be jumped then).
* src/filetypes.c, data/filetypes.fortran:
Change comment character to '!' for Fortran 90 (closes #2438423).
* waf, wscript:
Update Waf and various small fixes for the wscript.
* geany.glade, src/interface.c:
Re-add can_focus flag to the notebook widgets in the preferences
dialog to make keyboard navigation easier (closes #2417200).
* src/dialogs.c:
When allowing non-local locations in the File Open dialog, we should
do this in the File Save dialog as well.
2008-12-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/keyfile.h, src/search.c, src/main.c:
Remember Find in Files mode at startup.
Add configuration_add_pref_group(), with separate array for GUI
prefs.
Move search pref group to search.c.
* src/editor.c:
Fix replacing %ws% and %newline% in snippets (oops).
* doc/geany.txt, doc/geany.html, data/snippets.conf:
Snippet indentation will be replaced according to indent mode.
Minor edit of snippet docs.
* src/search.c:
Set Find in Files directory entry to project base path or current
working directory if the current file has no path.
* src/editor.c:
Move %ws and %newline% replacement into snippets-only code.
* HACKING:
Add GDB 'Stop on warnings' and 'Running with batch commands'
sections.
2008-12-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Remove checks for the executable when executing a file.
The executed interpreter or the shell should handle file not found
error and print appropriate messages.
This makes it a bit more flexible, e.g. allowing to use gcj for
Java files.
2008-12-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c:
Use Stash radio button prefs instead of RadioPrefEntry.
Add stash_group_add_radio_buttons().
2008-12-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Improve auto-closing of braces, brackets and quotes
(patch by Guillaume de Rorthais, thanks).
* tagmanager/get.c, tagmanager/tm_work_object.c,
tagmanager/tm_workspace.c:
Fix a few compiler warnings about unused return values caused
by recent glibc versions.
2008-12-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c, src/toolbar.c:
Fix plugin toolbar icon placement. Now they are always inserted
before the Quit button if it is the last toolbar element or at
the end otherwise.
* src/toolbar.c, src/ui_utils.c:
Move ui_auto_separator_add_ref() and related code back to ui_utils.c
since it's no toolbar specific code (oops).
* src/symbols.c:
Rename symbol list label for embedded script functions from
'Javascript functions' to 'Functions' to avoid confusion when it
finds symbols from other embedded languages (part of #2317001).
* src/socket.c:
Update comment about using different configuration directories with
multiple instance support on Windows.
* doc/geany.txt, doc/geany.html:
On Windows rectangular selections can only be created by pressing
Ctrl and Alt where on other systems Ctrl and Shift works too.
2008-12-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.h, src/prefs.c, src/stash.c, src/stash.h, src/keyfile.c,
src/keyfile.h, src/symbols.c:
Add foreach_ptr_array() macro to utils.h.
Merge toggle button prefs code into keyfile.c Stash code.
Add toggle button support to Stash code.
* src/interface.c, src/ui_utils.h, src/notebook.c, src/keyfile.c,
doc/geany.txt, doc/geany.html, geany.glade:
Add an interface pref for whether to hide additional widgets when
double-clicking on document notebook tabs (off by default) - closes
#2300430.
* src/sciwrappers.c, src/sciwrappers.h, src/editor.c, doc/geany.txt,
doc/geany.html:
Make Shift+Mouse wheel scroll the editor view horizontally
(#2410732).
Add function sci_scroll_columns().
* src/editor.c:
Make snippets only complete for the word stem to the left of the
cursor (#2390597).
Make snippets complete even when text is to the right of the
cursor and the hidden pref is not set, unless the snippet
completion key is space.
Fix possible memory leak when reading current word.
Add editor_read_word_stem().
2008-12-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/c.c, tagmanager/get.h:
Various improvements for parsing Vala files (mainly fix handling of
function attributes, fix nested types handling, add some missing
keywords, patch by Colomban Wendling, thanks).
* data/ui_toolbar.xml:
Remove the list of available actions and instead refer to the
documentation for an up to date list.
* THANKS, src/about.c, src/callbacks.c, src/callbacks.h, src/images.c,
src/main.c, src/toolbar.c, src/ui_utils.c, src/ui_utils.h,
doc/geany.txt, doc/geany.html:
Add new toolbar elements: Close All and Preferences.
The icon for Close All was kindly provided by Tyler Mulligan, thanks.
Remove GeanyStockItem and add ui_new_pixbuf_from_stock() as a
replacement.
2008-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/stash.c, src/stash.h, src/keyfile.c, src/keyfile.h, src/main.c:
Move Stash data types to stash.c, so Stash functions could be used
by plugins without breaking the ABI when appending fields. Also the
user code is neater and has type checking.
* src/interface.c, geany.glade:
Don't expand Prefs dialog Editor->Completions tab frames.
2008-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript:
Little reformatting.
Beautify the Waf output when generating geanyfunctions.h.
* src/geany.c, src/ui_utils.c, src/ui_utils.h, src/images.c:
Move stock image name macro and image enum to ui_utils.h.
Remove old, unused images.
2008-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Fix showing tooltips for notebook tab labels (oops).
* src/editor.c:
Fix GLib warning when user enters out of range line number in
toolbar.
2008-12-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Fix pressing escape in the sidebar and toolbar focus the editor.
* src/keyfile.c, src/prefs.c, src/vte.c, src/vte.h:
Add a setting for the VTE to enable/disable a blinking cursor.
This is useful for future VTE versions where the cursor blinks
by default which might be not be desirable.
* geany.glade, src/callbacks.c, src/callbacks.h, src/editor.c,
src/interface.c, src/main.c, src/prefs.c, src/ui_utils.c,
src/ui_utils.h:
Add Line number and Markers margin settings to the prefs dialog.
Add View->Editor submenu and group there the Line numbers,
Markers margin, Show white space, Show line endings and Show
indentation guides settings.
* plugins/filebrowser.c:
When using the focus path entry and file list keyboard shortcuts,
make sure the filebrowser tab is the current notebook tab in the
sidebar (closes #2402290).
* wscript:
Update 'geanyfunctions.h' when using Waf.
2008-12-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/scintilla_changes.patch:
A patch to Scintilla 1.77 containing our changes to Scintilla
(these are mainly commentation character changes and the
column mode editing patch).
* data/ui_toolbar.xml, doc/geany.html, doc/geany.txt, geany.glade,
po/POTFILES.in, src/build.c, src/callbacks.c, src/callbacks.h,
src/geanyentryaction.c, src/geanyentryaction.h,
src/geanymenubuttonaction.c, src/geanymenubuttonaction.h,
src/interface.c, src/keybindings.c, src/keyfile.c, src/main.c,
src/Makefile.am, src/makefile.win32, src/navqueue.c, wscript,
src/plugindata.h, src/plugins.c, src/prefs.c, src/templates.c,
src/toolbar.c, src/toolbar.h, src/ui_utils.c, src/ui_utils.h:
Rewrite of the whole toolbar code. Now it is based on GtkActions
and all elements can be added/removed/reordered using a simple
XML file.
Add GeanyMenubuttonAction and GeanyEntryAction as GtkAction
subclasses to have menu buttons and text entries in the toolbar.
Change the Goto line toolbar item back to a plain text entry again.
* src/callbacks.c, src/geany.h, src/main.c, src/prefs.c, src/toolbar.c,
src/toolbar.h, src/ui_utils.c:
Add new stock icon GEANY_STOCK_SAVE_ALL.
Remove code to manually update the size of the 'Save All' toolbar
icon and use the GEANY_STOCK_SAVE_ALL stock icon instead.
* src/ui_utils.c, src/toolbar.c:
If the requested file in ui_add_config_file_menu_item() doesn't exist
in the user's config directory, try reading it from the global
data directory and use the contents for the new file.
Add a menu item to 'Tools->Configuration files' for the toolbar UI
definition.
* src/Makefile.am, wscript:
Install toolbar.h.
* src/ui_utils.c:
Fix broken recent files menus.
* glade.geany, src/callbacks.c, src/callbacks.h, src/interface.c,
src/keybindings.c:
Remove on_go_to_line1_activate() and directly use
on_go_to_line_activate() instead.
* src/prefs.c, src/treeviews.c, src/msgwindow.c:
Make use of ui_widget_modify_font_from_string() at various places.
Set the message window font also for the scribble.
* Makefile.am, wscript, geany.nsi:
Add 'ui_toolbar.xml' to EXTRA_DIST, include it in the Windows
installer and install it also when using Waf.
2008-12-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
src/callbacks.c, src/plugins.c, src/editor.c,
plugins/geanyfunctions.h:
Rename sci_cmd() to sci_send_command() to match the plugin API and
fix the generated macro name.
* src/plugindata.h, src/plugins.c:
Add GeanyFunctions::p_msgwin to fix the prefix for generated macros.
Deprecate GeanyFunctions::p_msgwindow.
* plugins/saveactions.c:
Fix use of filetypes_array.
* src/build.c, src/plugindata.h, src/msgwindow.c, src/msgwindow.h,
src/search.c, src/plugins.c, plugins/geanyfunctions.h:
Rename msgwin_compiler_add -> msgwin_compiler_add_string.
Rename msgwin_msg_add -> msgwin_msg_add_string.
Rename msgwin_compiler_add_fmt -> msgwin_compiler_add.
Rename msgwin_msg_add_fmt -> msgwin_msg_add.
This fixes 2 geanyfunctions.h macros, and is more consistent with
msgwin_status_add().
2008-12-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/support.c, src/support.h:
Removed unused code.
* src/main.c, src/document.c, src/symbols.c:
Don't mark console messages as translatable.
Add two comments for translators.
* plugins/genapi.py:
Beautify the header comments of the generated API file.
Add command line option to suppress status output.
* THANKS, geany.glade, src/about.c, src/editor.c, src/editor.h,
src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c:
Add auto-closing of braces, brackets and quotes
(patch by Guillaume de Rorthais, thanks).
* geany.glade, src/interface.c:
Don't mark labels of invisible menu items as translatable.
2008-12-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/document.h, doc/pluginsymbols.c,
doc/plugins.dox, plugins/geanyfunctions.h, plugins/pluginmacros.h,
plugins/genapi.py:
Deprecate pluginmacros.h in favour of geanyfunctions.h.
Move geany macro to plugindata.h.
Remove geanyfunctions.h dependency on pluginmacros.h.
* src/plugins.c, plugins/geanyfunctions.h, plugins/genapi.py:
Allow generating macros for functions with digits in the name.
Don't generate dummyprefix_scintilla_send_message and lookup_widget
macros.
* plugins/saveactions.c, plugins/export.c, plugins/vcdiff.c,
plugins/filebrowser.c, plugins/splitwindow.c, plugins/htmlchars.c,
plugins/classbuilder.c:
Update to use geanyfunctions.h.
* data/filetypes.common:
Make whitespace setting not override background colour by default,
otherwise e.g. unterminated strings in C can have inconsistent
background colour when Show Whitespace is enabled.
2008-12-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/Makefile.am, src/Makefile.am:
Move target for geanyfunctions.h to plugins/Makefile.am and depend
on src/plugins.c instead of all plugin API headers.
* src/plugindata.h, src/plugins.c, plugins/geanyfunctions.h:
Add scintilla_send_message() to the API with its own prefix, so
the geanyfunctions.h macro works.
Deprecate p_sci->send_message().
Add scintilla_new() to the plugin API.
* src/plugindata.h, src/filetypes.c, src/filetypes.h, src/document.c,
src/plugins.c, src/document.h, plugins/geanyfunctions.h:
Add document_index(), filetypes_index() array accessor functions to
the plugin API.
2008-12-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/Makefile.am, plugins/geanyfunctions.h, plugins/Makefile.am,
plugins/genapi.py:
Generate plugin API header geanyfunctions.h containing macros to
avoid having to type the function pointer names manually.
E.g. plugin_add_toolbar_item(...) is expanded to
p_plugin->add_toolbar_item(...).
Note: For now, building on Windows or with Waf needs genapi.py to be
run manually when adding plugin API functions.
* plugins/geanyfunctions.h, plugins/demoplugin.c, plugins/genapi.py:
Add header guards for geanyfunctions.h and include pluginmacros.h
temporarily.
Update Demo plugin.
* src/ui_utils.h, src/plugindata.h, src/plugins.c, src/ui_utils.c,
plugins/geanyfunctions.h, plugins/genapi.py:
Add ui_lookup_widget() to plugin API (so genapi.py has a suitable
prefix).
Mark SupportFuncs as deprecated.
Add description comment for geanyfunctions.h.
2008-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/vte.c, doc/geany.txt, doc/geany.html:
Make VTE emulation pref hidden, because libvte only comes with an
xterm termcaps file and the GUI pref can be confusing (closes
#2340966).
* src/stash.c, src/keyfile.c:
Add G_TYPE_STRING setting support to Stash code, use in keyfile.c.
* src/keyfile.c:
Read show_symbol_list_expanders hidden pref even when compiled
against GTK < 2.12.
2008-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c:
Simplify the tooltips code for the Open Files treeview.
Change the dependency handling for GTK 2.12 for some features
from compile time to run time.
* src/editor.c, src/editor.h, src/symbols.c, src/treeviews.c,
src/treeviews.h:
Add editor_get_calltip_text().
Add tooltips for the symbol list items.
* wscript, THANKS, data/filetypes.yaml, data/filetype_extensions.conf,
scintilla/LexYAML.cxx, scintilla/KeyWords.cxx, scintilla/Makefile.am,
scintilla/makefile.win32, src/filetypes.c, src/templates.c,
src/filetypes.h, src/highlighting.c, src/plugindata.h, src/editor.c,
src/about.c:
Add new filetype 'YAML' (patch by Walery Studennikov, thanks).
* src/notebook.c:
Another attempt to handle tab close button size properly (based on
code from Colomban Wendling, thanks).
Handle "style-set" events to reset the tab close button icon size
when necessary (another patch by Colomban Wendling, thanks).
* data/filetypes.c:
Sort the keyword list and remove C++ keywords.
* data/snippets.conf:
Add some default snippets for Python (patch by
Colomban Wendling, thanks).
* doc/geany.txt, doc/geany.html:
Add Python to the list of filetypes with default global tags files.
* src/filetypes.c:
Fix wrongly detected PHP files as HTML if they start with HTML code.
2008-11-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.h, src/makefile.win32, src/stash.c, src/stash.h,
src/keyfile.c, src/Makefile.am, wscript:
Add foreach_c_array() macro in utils.h.
Add stash.[hc] for reading/writing GKeyFile settings and (later)
synchronizing widgets with C variables. Currently this only
supports boolean and integer settings.
Replace keyfile.c SettingEntry code with new stash code.
* src/keyfile.c:
Make hidden prefs use stash code.
2008-11-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/ui_utils.h, src/utils.h, src/geany.h,
src/filetypes.c, src/main.c, src/symbols.c, src/ui_utils.c:
Add 'Tools->Configuration Files' menu with items to open
filetype_extensions.conf and ignore.tags. These files are also
reloaded automatically when saved.
- Code changes:
Make app->configdir a realpath().
Add ui_add_config_file_menu_item().
Add utils_build_path(), similar to g_build_path() but (re)using a
fixed buffer, so the result is never freed.
* src/notebook.c:
Make middle-clicking to close tabs and double-clicking to toggle
widgets work also for the gap between the tab label and close
button (shown when there are more tabs than fit on screen), and
when middle-clicking on the close button.
* src/keyfile.c, src/keyfile.h, src/filetypes.c, src/filetypes.h,
src/main.c:
Move configuration_read_filetype_extensions() to
filetypes_read_extensions().
* doc/geany.txt, doc/geany.html:
Update tips for Alt/Ctrl + mouse wheel scrolling in the editor.
2008-11-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, src/symbols.c, src/symbols.h:
Make 'Reload Configuration' command also reload ignore.tags.
2008-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Fix nested namespaces not having parent namespace scope (fixes
#2141317).
2008-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c:
Fix wrong menu item labels in the symbol list popup menu.
* src/notebook.c:
Add previously removed tab close icon sizing code for non-Windows
systems.
* src/keybindings.c:
Update the Document menu when Line Breaking/Wrapping were toggled
by a keybinding.
* src/keyfile.c:
Remember the 'Line breaking' state of documents between sessions.
2008-11-22 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS: Added Andrew Drynov to list of supports of Russian translation
2008-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c:
Try to fix some problems when opening files with non-Ascii characters
on Windows from the command line.
* plugins/export.c, plugins/saveactions.c, src/callbacks.c,
src/plugindata.h, src/plugins.c, src/utils.c:
Attempt to make utils_get_date_time() UTF-8 safe and add it to the
plugin API.
Fix misnamed str_casecmp() function in the plugin API, sorry.
* src/editor.c, src/templates.c, src/templates.h:
Make templates_replace_all() working on GStrings to fix various
string replacement problems when using custom file templates.
2008-11-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c:
Add Expand/Collapse All symbol list popup menu items.
Disable symbol list sort items when there are no tags.
* src/ui_utils.h, src/plugindata.h, src/plugins.c, src/symbols.c,
src/ui_utils.c, plugins/filebrowser.c, plugins/classbuilder.c:
Add function ui_image_menu_item_new() to the plugin API, to easily
create a menu item with a stock image and a custom label.
* data/html_entities.tags, THANKS:
Update from file made by Tyler D'Agosta (thanks). This version
includes all character entities defined by HTML 2.0, HTML 3.2, and
HTML 4.0, and one (') defined in XHTML 1.0.
* src/plugins.c, src/main.c:
Create geany_object in main.c so core functions can use it even
when plugins are disabled.
* src/project.c, src/callbacks.c, src/document.c, src/editor.c:
Remove now-unnecessary checks for geany_object != NULL.
2008-11-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/documentprivate.h, src/symbols.c:
Use radio buttons for symbol list popup menu sort items.
* src/symbols.c:
Fix reloading sometimes changing the symbol list sort order.
2008-11-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c:
Rework search_close_pid() and let it handle the case when the grep
command was killed externally.
Fix wrong encoding handling when the chosen encoding was UTF-8 and
properly skip any conversions in this case.
* geany.nsi:
Properly support silent installations with the Windows installer
(closes #2204671).
* src/build.c:
Fix broken LaTeX view commands (closes #2315014).
2008-11-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/notebook.c:
Remove forced size requests for the tab close icon as it seems not
necessary and broke the icon on Windows.
* doc/geany.txt, doc/geany.html:
Fix some typos.
Add note about the encoding box in the Find in Files dialog.
* src/document.c, src/document.h, src/notebook.c:
Show the full filename of a document as tooltip on the tab labels.
* src/dialogs.c, src/document.c, src/plugindata.h, src/plugins.c,
src/printing.c, src/project.c, src/search.c, src/ui_utils.c,
src/ui_utils.h, src/vte.c:
Add ui_widget_set_tooltip_text() as a convenience function to easily
set tooltips for widgets. It uses gtk_widget_set_tooltip_text() on
GTK >= 2.12 otherwise the old tooltips API.
* plugins/export.c, plugins/filebrowser.c, plugins/splitwindow.c,
plugins/vcdiff.c:
Use ui_widget_set_tooltip_text().
2008-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Refactor with sidebar_add_common_menu_items().
* src/treeviews.c, src/treeviews.h, src/main.c, src/symbols.c,
src/symbols.h:
Move symbol list popup menu code to symbols.c.
Add symbols_init().
* src/templates.c, src/build.c, src/utils.c, src/utils.h,
src/project.c, src/search.c, src/editor.c:
Make utils_free_pointers() take an arg_count argument to prevent
memory leaks.
* plugins/classbuilder.c:
Update utils_free_pointers().
2008-11-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Makefile.am:
Add 'waf' to EXTRA_DIST.
* src/search.c:
Capture command's stderr and log it into the Debug messages window
when a Find in Files search fails.
Add the project's base_path to the directory list in the Find in
Files dialog if a project is open.
Improve layout of the combo box labels in the Find in Files dialog.
* src/search.c, src/ui_utils.c, src/ui_utils.h:
Add and use ui_combo_box_prepend_text_once() to add project's
base_path to the Find in Files dialog even if another project was
opened.
* src/build.c, src/callbacks.c, src/editor.c, src/editor.h,
src/msgwindow.c, src/plugindata.h, src/plugins.c, src/sciwrappers.c,
src/sciwrappers.h, src/search.c:
Note: this breaks the plugin API for Editor and Scintilla functions.
Rename all functions in editor.c and sciwrappers.c which are related
to indicators for more consistency.
* src/templates.c:
Plug little memory leak.
* src/utils.c:
When passing NULL to utils_str_replace(), also return NULL
(fixes broken new file template list).
2008-11-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c:
Fix wrong highlighting of search results when using 'Mark' in
the Find dialog.
Fix possible crash when using the Find in Files dialog.
Clear previously set search indicators before when using 'Mark' in
the Find dialog.
* data/filetypes.common:
Change the default values for selection fore- and background colour
to some sane values.
2008-11-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c:
Prompt the user for whether to move the configuration directory or
just quit instead. This is useful if the user is already running an
older binary of Geany and the second instance is newer.
* src/utils.c, src/editor.c:
Fix bug with utils_string_replace_all().
Make utils_str_replace() call utils_string_replace_all() internally
(for better memory management and allowing replacements to match
search string).
* src/editor.c:
Add editor_insert_text_block() newline_indent_size argument to add
fixed indentation on each newline, or -1 to read from insert_pos's
line.
* src/editor.c:
Make auto_table() use editor_insert_text_block().
2008-11-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* HACKING, doc/geany.1.in, doc/geany.html, doc/geany.txt,
plugins/demoplugin.c, src/geany.h, src/main.c, src/plugins.c,
src/socket.c, src/utils.c, src/utils.h, src/win32.c, src/win32.h,
tagmanager/options.c:
Follow XDG Base Directory specification and use
$XDG_CONFIG_HOME/geany (most often this is ~/.config/geany) as
default configuration directory (closes #2166229).
The previous configuration will be moved to the new location if
the new directory doesn't exist yet.
Move utils_make_settings_dir() into main.c.
Remove win32_get_appdata_folder() because g_get_user_config_dir()
does the same.
* src/search.c:
Add an encoding combo box to the Find in Files dialog to choose an
encoding to use for searching (i.e. the encoding in which the search
text is passed to 'grep').
* data/filetypes.latex:
Remove a few duplicate keywords.
2008-11-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix indenting for Tabs & Spaces mode when inserting snippets.
* src/editor.c:
Make function editor_insert_text_block() interpret any \t tab chars
as indent widths when inserting text.
* src/utils.c:
Make API function utils_string_replace_all() able to make
replacements that match the search string.
* src/editor.c:
Make editor_insert_text_block() transform any \n newline chars with
the correct line ending string.
2008-11-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/c.c:
Fix indentation to consistently use tabs (patch by Colomban Wendling,
thanks).
2008-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Fix empty statements and possible memory leaks with
utils_free_pointers() in utils_str_casecmp().
* plugins/splitwindow.c, src/about.c, THANKS:
Add Split Vertically command (patch by Moritz Barsnick, thanks;
#2219553).
2008-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/Makefile.am, wscript, waf:
Improve the checking for 'rst2html.py' when creating HTML docs.
Update Waf to 1.5.0 (final).
* plugins/export.c:
Use 'utf8' as encoding package in the LaTeX template as it seems it
is the most used version for UTF-8 support.
* src/utils.c:
Evaluate only the strings 'TRUE' and 'true' to true in utils_atob(),
any other string is treated as false.
* src/document.c, src/plugindata.h, src/plugins.c, src/templates.c,
src/utils.c, src/utils.h:
Replace uses of g_strcasecmp() with our own implementation,
utils_str_casecmp().
Add utils_str_casecmp() to the plugin API.
* doc/Doxyfile.in, src/plugindata.h:
Remove obsolete tag in Doxyfile.in.
Fix doxygen warnings for undocumented enum in plugindata.h.
* THANKS, src/about.c, src/templates.c:
Add a file template for LaTeX (patch by Herbert Voss, thanks).
2008-11-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/plugindata.h, src/about.c, src/filetypes.c,
src/filetypes.h, tagmanager/parsers.h, tagmanager/c.c,
data/filetype_extensions.conf:
Apply patch from Colomban Wendling to add Vala filetype (thanks).
Fix c.c tagLetter() bug.
* tagmanager/c.c:
Use separate keyword table for D (still missing keywords though).
2008-11-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html, src/templates.c, src/templates.c,
src/editor.c:
When using custom file templates, add the extension of the template
file to the filename of the new document.
Make {datetime} wildcard generally available for most template types.
Allow use of most available wildcards for custom file templates, too.
* scintilla/KeyWords.cxx:
Remove unused lexers.
2008-11-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/about.c, src/treeviews.c, src/treeviews.h, src/symbols.c,
THANKS:
Merge symbol-tree branch:
Apply patch (with some reworking) from Conrad Steenberg
(gnocci-man) to show methods as children of classes in the symbol
list, and for other tag types to group children by their parents
(thanks; #2083110).
This works for any filetype that TagManager can parse tag scopes
for.
Fix not allowing a leading underscore when using scope name prefix.
Fix symbol-tree branch bug: missing C++ constructor declaration
tags.
- Code changes:
Use TMTag instead of GeanySymbol so the symbol tree can read the
scope without parsing it.
Free tag list straight after use, instead of next time the list is
generated.
Use TMTag pointer tree model column instead of line number.
* tagmanager/conf.c:
Group Conf symbol list tags by section.
* src/symbols.c:
Add icons for Conf symbol tree items.
* src/symbols.c:
Make Python symbol tree method icon look more like a function than
variable.
2008-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c, doc/geany.txt, doc/geany.html:
Make Ctrl-click go to matching brace if there's no current word.
* plugins/vcdiff.c, src/editor.c, src/plugindata.h, src/plugins.c:
Make Version Diff plugin set the indent type for diffs based on the
current file's indent type.
Add editor_set_indent_type() to the API.
Note: uses editor.h plugindata.h include.
2008-11-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Don't auto close <hr> tags in HTML (closes #2226117).
* THANKS, data/filetype_extensions.conf, data/filetypes.matlab,
scintilla/KeyWords.cxx, scintilla/LexMatlab.cxx,
scintilla/Makefile.am, scintilla/makefile.win32, src/editor.c,
src/filetypes.c, src/filetypes.h, src/highlighting.c,
src/plugindata.h, src/symbols.c, src/templates.c,
tagmanager/Makefile.am, tagmanager/makefile.win32,
tagmanager/matlab.c, tagmanager/parsers.h, wscript:
Add new filetype 'Matlab' (closes #1938631, patch by Roland
Baudin, thanks).
* src/dialogs.c:
Allow showing remote locations in the file open dialog with
GTK >= 2.14 since it works with Gvfs/FUSE mounts, too.
* src/prefs.c:
Plug a little memory leak.
* src/document.c, tagmanager/c.c, tagmanager/entry.c,
tagmanager/entry.h, tagmanager/fortran.c, tagmanager/get.c,
tagmanager/get.h, tagmanager/include/tm_source_file.h,
tagmanager/include/tm_project.h, tagmanager/js.c,
tagmanager/read.c, tagmanager/read, tagmanager/sql.c,
tagmanager/tm_source_file.c, tagmanager/tm_tag.c:
Add support for updating tags from a memory buffer (code merged from
Anjuta).
This still doesn't work and is currently disabled. It would only work
for a few filetypes like C, Fortran and JavaScript. The current
implementation is still buggy, e.g. function signature parsing is
broken.
2008-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Refactor search_show_find_in_files_dialog().
* src/search.c:
Fix segfault when showing Find in Files dialog when no documents are
open (r2998, #2228544).
Fix segfault for FIF from last commit (oops).
2008-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix snippets and smart indent using too much indentation when the
line contains whitespace after non-whitespace characters. This
might also have affected other features (auto table, etc). (Fixes
#2215044).
* src/prefs.c:
Fix Prefs dialog Tools tab Context Action open button showing the
file dialog twice (fixes #2216478).
2008-11-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Fix GLib warning when pressing Close File keybinding and no
documents are open.
2008-10-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/splitwindow.c:
Revert last change as it breaks (again) the primary X selection as
well as the mouse cursor on the scrollbar.
2008-10-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/splitwindow.c:
Try to fix a weird bug in reparenting the notebook widget when
splitting on Windows.
It still occurs on unsplitting.
2008-10-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Update docs for changed rectangular selection usage since Geany 0.15.
* src/geanyobject.c:
Replace deprecated gtk_marshal_* functions with g_cclosure_marshal_*
functions and add geany_cclosure_marshal_VOID__STRING_INT_POINTER.
Fix a wrong marshal type (pointer != int).
* doc/Doxyfile.in, tagmanager/include/tm_source_file.h,
tagmanager/include/tm_work_object.h,
tagmanager/include/tm_workspace.h, tagmanager/tm_source_file.c,
tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
Enable generation of API documentation of tagmanager functions
which are exposed in the plugin API, hide all others from the
API docs.
2008-10-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Handle UTF16/32 encoded files without a BOM better and allow
them to opened (#2155573, patch by Jason Oster, thanks).
2008-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, src/plugins.c:
Fix deprecated usage of g_win32_get_package_installation_directory(),
pass NULL as package name.
* src/main.c, src/plugins.c, src/plugindata.h:
Add main_locale_init() to the plugin API.
* src/callbacks.c:
Fix updating of the value of the toolbar Goto line spinbutton.
* doc/geany.html, doc/geany.txt, src/callbacks.c, src/editor.c,
src/editor.h, src/highlighting.c, src/plugindata.h, src/plugins.c,
src/sciwrappers.c, src/search.c:
Add *_full variants of editor indicator functions to the plugin API
for more control over indicators.
Add/Update some API docs.
Make the 'Mark' button for Find highlight the results with rounded
boxes instead of marking the whole line.
2008-10-24 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS: Added Roland Baudin to list of contributors of translations.
* data/html_entities.tags:
Added some more HTML entities.
2008-10-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c:
Add simple auto-detection for HTML files without proper extension.
* geany.glade, src/callbacks.c, src/dialogs.c, src/dialogs.h,
src/editor.c, src/editor.h, src/interface.c:
Replace Goto line text entry field in the toolbar with a spin button.
Remove dialogs_show_goto_line(), use the more generic
dialogs_show_input_numeric() instead.
Increase limit of the maximum line number from 99999 to 100000000.
* doc/geany.html, doc/geany.txt, geany.glade, src/callbacks.c,
src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c,
src/ui_utils.c, src/ui_utils.h:
Add toolbar buttons for Cut, Copy, Paste and Delete (#2161750).
2008-10-22 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/html_entities.tags:
Add a few more entities common in e.g. Spanish language.
2008-10-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/filetypes.css:
Change style for 'identifier3' to bold to be in sync with the
other identifier styles.
* tagmanager/general.h, tagmanager/tm_file_entry.c,
tagmanager/tm_project.c, tagmanager/tm_symbol.c, tagmanager/tm_tag.c,
tagmanager/tm_work_object.c:
Add get_path_max() to get a sane value if PATH_MAX is not defined.
Change code where PATH_MAX was used unnecessarily.
Use GSlice API when building against GLib >= 2.10
(patch by Colomban Wendling, thanks).
* plugins/export.c, src/build.c, src/dialogs.c, src/search.c,
src/ui_utils.c, src/vte.c:
Replace gtk_widget_(un)ref() with g_object(un)ref(),
patch by Colomban Wendling, thanks.
2008-10-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c:
Added Dominic Hopf to list of German translators. Removed Enrico
from List.
2008-10-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/html_entities.tags:
Add a few more entities for punctuation
(patch by Walery Studennikov, thanks).
* src/highlighting.c, data/filetypes.css:
Fix typo in 'pseudo_elements' keyword type name.
Change style for pseudo elements to bold and italic.
Change colours and bold flag for the extended_* and id styles
(thanks to Jason Oster for his suggestions).
* src/about.c:
Use a GeanyWrapLabel for the label holding the "Some contributors"
text to fix dialog oversize problems with some localisations.
* src/symbols.c:
Use CSS-specific symbol type names.
2008-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, src/main.h:
Support loading a project file in a new instance from the
command-line.
Warn user when ignoring other command-line files when a project file
is the first argument.
* src/main.c:
Add description for -P option.
* src/main.c:
Fix warning about ignoring command-line files.
2008-10-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* New release: Geany 0.15 "Quillan".
* configure.in, geany.nsi, geany_private.rc, win32-config.h,
wscript, doc/geany.txt, doc/geany.html, src/geany.h:
Post-release version bump.
2008-10-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/splitwindow.c:
Include "support.h" for I18N support instead of <glib/gi18n.h>
to get strings translated with GLib 2.18+.
* data/filetypers.tcl:
Use 'tclsh' as default Compile/Run command (part of #2037728).
* scintilla/*, scintilla/include/, src/plugindata.h:
Update Scintilla to version 1.77.
* src/highlighting.c, data/filetypes.diff:
Add new style 'Changed' to filetype Diff.
* autogen.sh, Makefile.am:
Require automake 1.7 or later.
* src/highlighting.c, data/filetypes.css:
Add new styles and keyword types for filetype CSS.
Remove default keywords from highlighting.c.
Update CSS keyword lists and a few styles
(patch by Jason Oster, thanks).
* doc/images/*, doc/geany.txt, doc/geany.html:
Update images for documentation.
2008-10-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c:
Make keyboard shortcuts dialog using a treeview to display
the shortcuts to make it scrollable with the keyboard.
2008-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* wscript, waf:
Update Waf once more.
* tagmanager/Makefile.am:
Add variable 'regex_sources' to append to libtagmanager_a_SOURCES
if necessary.
2008-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Don't connect editor callbacks when creating the editor widget for
the split window plugin (they didn't work anyway, except for
Undo/Redo).
* doc/geany.txt, doc/geany.html, NEWS:
Update for missing documentation since 0.14.
2008-10-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.nsi:
Add option to not create desktop and quicklaunch shortcuts.
Allow skipping creation of the Start Menu folder.
2008-10-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/callbacks.c, src/callbacks.h, src/plugins.c,
src/plugins.h, geany.glade:
Show the tools menu separator if there are any items below it.
* src/plugins.c, src/plugins.h, src/ui_utils.c:
Fix showing desensitive widgets if no documents are open when a
plugin is first loaded.
Remove plugins_update_document_sensitive().
* plugins/vcdiff.c:
Fix mixed indentation (prevents vcdiff.c being detected as T/S).
2008-10-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Update of name of Korean translator. Thanks
Park Jang-heon.
2008-10-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/plugindata.h, src/plugins.c, src/ui_utils.c,
doc/pluginsymbols.c:
Add ui_add_document_sensitive() to the plugin API.
Deprecate plugin_fields, PluginFlags - use
ui_add_document_sensitive() instead.
* plugins/saveactions.c, plugins/export.c, plugins/vcdiff.c,
plugins/demoplugin.c, plugins/filebrowser.c, plugins/splitwindow.c,
plugins/htmlchars.c, plugins/classbuilder.c:
Use ui_add_document_sensitive().
Use PLUGIN_VERSION_CHECK(GEANY_API_VERSION) for internal plugins,
except the Demo plugin (as an example).
* doc/Doxyfile.in, doc/pluginsymbols.c:
Generate API documentation for deprecated symbols.
* src/ui_utils.c:
Fix having a small gap before plugin toolbar items.
2008-10-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* ko.po, LINGUAS, src/about.c, THANKS:
Added Korean translation. Thanks to netkiss for translation.
2008-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/plugindata.h, src/plugins.c, src/ui_utils.c,
doc/Doxyfile.in, doc/pluginsymbols.c, plugins/demoplugin.c,
plugins/pluginmacros.h:
- API changes:
Replace p_ui->get_toolbar_insert_position() with
p_plugin->add_toolbar_item(), which also adds a separator when the
first item is added.
Add 'GeanyPlugin *geany_plugin' plugin symbol, partly to replace
plugin_info (now deprecated), mainly to identify a plugin and hold
private implementation fields for plugin utility functions.
(plugin_info will be removed after the 0.15 release.)
- Code changes:
Add ui_auto_separator_add_ref() to hide separator-like widgets when
their visible group elements are hidden or destroyed.
* tagmanager/css.c:
Fix gcc warning, wrap line.
* src/plugins.c:
Tidy up plugin cleanup code.
* src/plugins.c:
Use geany_debug() instead of g_warning() when a plugin has
unresolved symbols.
* src/dialogs.c:
Refactor dialogs_show_unsaved_file() with run_unsaved_dialog().
2008-10-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c:
Fix regression: clear all styles for filetype None to not break
the 'invert_all' option.
* src/saveactions.c:
InstantSave: when opening new files from template, use the template's
filetype, otherwise fall back to configured default filetype.
* THANKS, src/about.c, src/symbols.c, tagmanager/css.c:
Upate of the CSS parser to detect also ID and Type selectors
(patch by Bronisław Białek, thanks).
2008-10-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/search.c:
Change of a typo in singular form of some status messages. Thanks to
Jeff Bailes for reporting.
2008-10-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Fix Ctrl-click on a word when Numpad is enabled.
* src/dialog.c:
Make a some labels in the File Properties dialog selectable.
2008-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/splitwindow.c:
Fix only updating filename label after saving the relevant document.
2008-10-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c, plugins/htmlchars.c, src/editor.c,
src/msgwindow.c, src/plugins.c, src/prefs.c, src/treeviews.c:
Plug some memory leaks due to some missing g_object_unref's.
* src/editor.c:
Fix wrong cursor positioning while line breaking when the last
character on the line was a space.
* src/wscript:
Add missing 'mandatory' attribute for the GTK check.
Change build directory to '_build_'.
* geany.glade, src/interface.c:
Reorder Help menu items (swap 'Keyboard Shortcuts' and 'Website').
2008-10-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/splitwindow.c:
Add toolbar with Refresh button to sync to the current document, and
an Unsplit button (reuses existing string).
* src/editor.c:
Fix segfault when holding Alt and scrolling editor window.
* plugins/splitwindow.c:
Use EditWindow structure instead of separate global variables.
* plugins/splitwindow.c:
Fix segfault when clicking on split window after the original
document has been closed and the view has been refreshed to another
document.
* plugins/splitwindow.c:
Refactor with set_editor().
* plugins/splitwindow.c:
Add filename label.
Fix Gtk warning when resplitting.
2008-10-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/splitwindow.c:
Fix wrong editor scrollbar mouse cursor and broken middle-click
paste after splitting or unsplitting (fixes #2142186).
Note: this is a workaround for an issue with Scintilla where the
widget (or its parents) can't be removed or reparented to a
non-visible widget.
2008-10-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c:
Enable interactive search for the keybindings tree view in the
prefs dialog.
* wscript, waf:
Update waf to its latest SVN version (nearly 1.5.0).
Adjust wscript to latest Waf API changes.
* configure.in, wscript, tagmanager/ctags.c, src/tools.c:
Use g_strerror() instead of strerror().
Remove build system checks for strerror().
2008-10-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/latex.tags: Added some more keywords for moderncv to tag list.
2008-10-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html, po/POTFILES.in, plugins/saveactions.c,
plugins/autosave.c, plugins/Makefile.am, plugins/makefile.win32:
Merge InstantSave, AutoSave and BackupCopy plugins into the
plugin 'Save Actions'.
Add a section for documentation of internal plugins in the
documentation.
* doc/geany.html, doc/geany.txt, geany.glade, src/interface.c,
src/keyfile.c, src/prefs.c, src/project.c, src/project.h:
Add an option to store the project file of new projects inside the
project base directory.
Doc: Add descriptions for the Search tab in the preferences dialog.
* scripts/svn-changes.sh, scripts/wafinit.sh:
Remove more bashisms and avoid using 'which' which is not
LSB-compliant.
2008-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* HACKING, doc/Makefile.am:
Reformat HACKING as true reStructuredText.
Add 'make hacking-doc' target to generate hacking.html.
* src/highlighting.c:
Fix using common styleset for filetype None.
* src/highlighting.c:
Remove unused argument ft_id from styleset_common().
2008-09-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c:
Fix a few memleaks.
Handle errors when creation of the project base directory fails.
Update the window title also when creating new projects.
* src/build.c:
Remove inexact and unnecessary warning if a Run command has failed.
2008-09-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.r, src/highlighting.c:
Fix syntax highlighting for filetype R, synchronise the colours with
those other filetypes.
Add two more keyword types and add many many more keywords.
2008-09-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Remove use of non-greedy matching in error_regex - this doesn't seem
to be supported by common versions of glibc (thanks to AC for
reporting).
* src/documentprivate.h, src/document.c, src/editor.c:
Apply patch from Jason Oster to auto-update the line margin width as
lines are added (thanks; #2129157).
2008-09-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/notebook.c:
Revert previous notebook focus changes as this disables the tab
scroll arrows.
* scintilla/include/SciLexer.h, scintilla/include/Scintilla.iface,
scintilla/KeyWords.cxx, scintilla/LexOthers.cxx, src/templates.c,
src/highlighting.c, src/plugindata.h, src/filetypes.c,
src/filetypes.h, src/editor.c, data/filetype_extensions.conf,
data/filetypes.po:
Add new filetype 'Gettext translation file' (closes #2131985).
* src/highlighting.c, data/filetypes.perl:
Don't use hard-coded stylebits values for different lexers, query
the correct value from Scintilla and use it (this fixes a display
problem with Perl code like 'sub test()').
Add missing styles for filetype Perl.
* doc/Makefile.am, wscript:
When generating documentation, first try rst2html.py as it is
the upstream default.
2008-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/log.c:
Make the debug messages window a little bigger.
Enable wrapping of messages to avoid horizontal scrolling.
Automatically scroll to the end of the messages when showing the
dialog or updating its contents.
* src/editor.c:
Make 'Line Breaking' UTF-8 safe (to work with non-ASCII characters).
* autogen.sh:
Cleanup. Remove unnecessary checks and code.
2008-09-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/notebook.c:
Remove can_focus flag from notebook widgets to avoid focused tab
labels.
* doc/geany.txt, doc/geany.html, src/editor.c, src/keybindings.c,
src/keybindngs.h, src/plugindata.h:
Make 'Previous/Next word part' keybindings configurable.
* src/editor.c:
Fix unintentional switch fall-through (patch from Jason Oster,
thanks).
2008-09-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Return GEANY_AUTOINDENT_BASIC from editor_get_indent_prefs() if the
per-document pref is set, even if the global mode is none.
* scintilla/makefile.win32, scintilla/LexR.cxx,
scintilla/KeyWords.cxx, scintilla/Makefile.am, src/templates.c,
src/highlighting.c, src/plugindata.h, src/about.c,
src/filetypes.c, src/filetypes.h, src/editor.c, THANKS,
data/filetype_extensions.conf, data/filetypes.r:
Apply patch from Andrew Rowland to add support for the R language
(thanks, #2121502).
* HACKING:
Update to mention separate is_comment_style() and is_string_style()
functions.
* src/documentprivate.h, src/prefs.c, src/treeviews.c, src/notebook.c,
src/document.c, src/document.h, src/editor.c, src/symbols.c,
src/ui_utils.c:
Use GeanyDocumentPrivate instead of using inheritance for non-public
fields (this was unnecessary and meant using ugly casts).
2008-09-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/vte.c:
Set the page_size parameter of GtkAdjustments to 0 instead
of 10 which is set by default by Glade. This prevents breakage of
spin buttons with early versions of GTK 2.14.
* src/callbacks.c, src/document.c, src/editor.c, src/editor.h,
src/ui_utils.c, src/keybindings.c, src/prefs.c, src/search.c,
src/tools.c:
Unify the API in editor.c, all public functions now take a
GeanyEditor* object.
* src/editor.c:
When using editor_get_eol_char_* functions with an invalid editor
object, return the appropriate value according to the eol character
preference (just in case).
* src/callbacks.c, src/document.c, src/editor.c, src/editor.h,
src/highlighting.c, src/sciwrappers.c, src/sciwrappers.h:
Fix using direct Scintilla access in document.c and callbacks.
Add wrapper functions instead.
* scripts/svn-add.sh, scripts/svn-changes.sh:
Remove bashisms.
2008-09-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Hopefully fix building when HAVE_REGCOMP is not defined.
Add debug message when trying to parse an error regex when
HAVE_REGCOMP is undefined.
* src/filetypes.c, doc/geany.txt, doc/geany.html:
Detect which error regex match contains the line number, and use the
other match for the filename.
Update 'Build system' docs for custom error regexes.
* doc/geany.txt, doc/geany.html:
Minor formatting changes - make the using a Makefile paragraph a
note.
* src/editor.c:
Don't disable the per-document auto-indent pref when the global
auto-indent mode is set to none (undoes part of r2981). In this
case, the per-document pref just behaves like
GEANY_AUTOINDENT_BASIC.
2008-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.h, src/about.c, src/main.c, src/socket.c:
Show SVN revision also for geany -v and first status message.
Add main_get_version_string().
Rename get_argv_filename() main_get_argv_filename().
2008-09-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* HACKING:
Move adding a lexer notes to 'Syntax highlighting' section; mention
adding the LINK_LEXER command manually.
Some minor edits (reST section grouping).
* src/msgwindow.c:
Remove ParseData::dir argument as it's not necessary for parsing;
instead, use function make_absolute().
Refactor msgwin_parse_compiler_error_line().
* src/msgwindow.c, src/filetypes.c, src/filetypes.h, doc/geany.txt,
doc/geany.html, HACKING, TODO:
Add filetypes.* [build_settings] key 'error_regex' to support custom
error message parsing using an extended regular expression.
2008-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c, src/ui_utils.c:
When the global auto-indent style pref is disabled, disable
auto-indentation for all editors.
Don't disable the auto-indent document pref when switching back to a
document with auto-indent turned off.
* src/editor.c:
Fix HTML table autocompletion when the indent type is 'Tabs &
Spaces' (#2118289).
Add functions count_indent_size(), string_append_indent_width().
* src/editor.c:
Rename get_indent() read_indent().
Fix possible overflow in auto_table().
2008-09-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* document.c, document.h, editor.c, editor.h, prefs.c, sciwrappers.c,
sciwrappers.h:
Move document_apply_update_prefs() in editor.c.
Refactor get_indent_guides_from_lexer() from sciwrappers.c in
editor_set_indentation_guides().
* src/editor.c:
Fix broken indentation of automatic HTML table tag completion
(part of #2118289).
2008-09-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c:
Disable indent guides for the Diff filetype, as they can be
distracting as added/removed lines don't get them.
* src/plugindata.h:
Remove 2 unnecessary deprecated macros.
* src/filetypes.c, src/filetypes.h:
Add GeanyFiletypePrivate instead of using inheritance for non-public
fields (this was unnecessary and meant using ugly casts).
2008-09-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
Display also the style of the current position in the status bar
when debug mode is enabled.
No need to make the debugging strings translatable in the status bar.
* src/editor.c, src/plugins.c, src/sciwrappers.c, src/sciwrappers.h:
Rename the new indicator functions and add documentation comment.
* src/msgwindow.c:
Handle error messages and warnings from the mcs (Mono) compiler like
those from Pascal or Basic compilers.
2008-09-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Use wrap label for the first label in the plugin manager dialog.
Use scrolled window for plugin details text area to avoid resizing
dialog components if a plugin has a long description.
* src/plugindata.h:
Fix ScintillaFuncs::indic_clear() return type, and rename to
indicator_clear().
* src/interface.c, src/prefs.c, src/keyfile.c, src/document.c,
src/editor.c, src/editor.h, doc/geany.txt, doc/geany.html,
geany.glade:
Add 'Tab key indents' pref, which replaces hidden pref
'use_tab_to_indent'; it's now on by default.
2008-09-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.css, src/highlighting.c:
Add missing 'directive' style to filetype CSS
(patch from Jason Oster, #2114697, thanks).
* src/callbacks.c, src/editor.c, src/keybindings.c, src/plugindata.h,
src/plugins.c, src/sciwrappers.c, src/sciwrappers.h, src/tools.c,
src/ui_utils.c:
API changes:
Rename sci_can_copy() into sci_has_selection().
Rename sci_find_bracematch() into sci_find_matching_brace().
* src/main.c:
Display SVN revision number in version information if available.
* src/editor.c, src/highlighting.c, src/plugindata.h, src/plugins.c,
src/sciwrappers.c, src/sciwrappers.h:
Replace the usage of the old Scintilla indicator API by the new
modern API and remove old hacks (patch by Jason Oster, thanks).
Add new sci_indic_clear() function to the plugin API.
2008-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, THANKS:
Cancel autocompletion on Undo/Redo (based on a patch by Jason Oster,
thanks; #2102715).
* src/sciwrappers.c, src/document.c:
Apply patch (with minor changes) from Jason Oster to improve showing
brace indent guides on empty lines when appropriate (thanks,
#2105982).
* doc/geany.txt, doc/geany.html:
Update feature list in About Geany section.
* doc/geany.txt, doc/geany.html:
Edit 'About Geany' text to be more concise.
A few minor fixes.
2008-09-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
src/filetypes.c:
Fix Doxygen 1.5.4 undocumented parameter warnings.
Improve dox for sciwrappers.c.
Correct sci_grap_focus() misspelling.
(Merged from split-window-plugin branch).
* doc/plugins.dox:
Fix wrong parameter for "project-close" signal.
(Merged from split-window-plugin branch).
* src/geanyobject.c, src/geanyobject.h, src/document.c,
doc/plugins.dox:
Add plugin signal "document-close", sent just before a document is
closed.
(Merged from split-window-plugin branch).
* src/plugindata.h, src/plugins.c, src/editor.c, src/editor.h,
po/POTFILES.in, plugins/splitwindow.c, plugins/Makefile.am,
plugins/makefile.win32:
Merge split-window-plugin branch.
Add Split Window plugin (should work OK for viewing and basic text
editing; most other features are not implemented yet).
Add editor_create_widget() to the API.
2008-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Show ellipsis (...) item when there are too many symbol names for
autocompletion.
* src/editor.c:
Apply patch from Jason Oster to highlight matching brace indent
guides (thanks, #2104099).
* doc/geany.txt, doc/geany.html:
s/auto detect/auto-detect.
Minor formatting fixes.
2008-09-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* COPYING: Fixing a little encoding issue in GPL text.
* po/tr.po, po/LINGUAS, src/about.c, THANKS: Adding Turkish translation
provided by Gürkan Gür. Thanks for it.
2008-09-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
When checking for starting auto completion always use the style
of the previous character and remove possible error indicator styles
which caused wrong checking (should fix #2058005).
2008-09-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.xml, src/highlighting.c:
Add missing HTML attribute 'xml:lang'.
2008-09-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scripts/missing-mnemonics.sh, scripts/svn-add.sh:
Remove bashisms.
Add support for passing asterisk wildcards to missing-mnemonics.sh.
* src/plugindata.h, src/plugins.c, src/ui_utils.c, src/ui_utils.h:
Add ui_get_toolbar_insert_position() for plugins to get a position to
insert new toolbar items.
* src/log.c:
Update the debug messages automatically in the debug messages window
if it is open.
2008-09-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* doc/geany.1.in:
Little typographic update to use minus sign instead of a hyphen
in the manpage.
2008-09-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt:
Update feature list.
Small updates of outdated information.
Remove 'Supported Systems' sub section.
2008-09-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/build.c, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/main.c, src/prefs.c,
src/treeviews.c, src/ui_utils.c, src/plugindata.h:
Rename all toolbar widgets for consistent names.
* doc/geany.html, doc/geany.txt:
Fix typo.
* src/callbacks.c:
Add '-' (dash) to the wordchars when using 'open selected filename'.
Please open a bug report if this will break any filenames.
2008-09-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/dialogs.c, src/printing.c,
src/vte.c:
Set 'can_focus' property on some checkboxes in the prefs dialog
which were missing it.
Enable 'focus_on_click' property on most checkboxes in the prefs
dialog to ease keyboard navigation.
* waf, wscript:
Update waf to its latest SVN version (1.5.0 preview).
Adjust wscript to latest Waf API changes.
* HACKING, README, README.I18N, configure.in, doc/geany.1.in,
doc/geany.txt, doc/geany.html, doc/plugins.dox, geany.nsi,
geany.spec.in, src/geany.h:
New website address: www.geany.org.
Merge README.I18N with latest changes from the wiki.
* doc/geany.html, doc/geany.txt, geany.glade, src/document.c,
src/editor.c, src/interface.c, src/keyfile.c, src/prefs.c,
src/sciwrappers.c, src/sciwrappers.h:
Add 'Stop scroll at last line' editor pref
(patch by Timothy Boronczyk, thanks).
* src/vte.c:
Mark the VTE as clean when restarting it to make Geany able to
execute commands in it.
* geany.glade, src/interface:
Fix ambiguous tooltip of new 'Stop scroll at last line' editor pref.
2008-08-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Separate runtime requirements and build requirements subsections.
Mention that usually building GTK manually is not necessary.
Run 'make install' as root.
Add some subsection titles.
* src/interface.c, src/prefs.c, src/keyfile.c, src/editor.c,
src/symbols.c, src/editor.h, doc/geany.txt, doc/geany.html,
geany.glade:
Add 'Max. symbol name suggestions' autocompletion pref.
Edit some autocompletion pref strings.
Remove some trailing commas in array initializers (oops).
Move GEANY_TOGGLE_MARK, GEANY_MAX_AUTOCOMPLETE_WORDS to keyfile.c.
2008-08-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c:
Fix global tags loaded debug message, display total tags count.
Add comment to warn about adding tags files vs. downloading
separately.
2008-08-27 Nick Treleaven <nick.treleaven<at>btinternet.com>
* src/highlighting.c, src/plugindata.h, src/filetypes.c,
src/filetypes.h, src/symbols.c, THANKS, tagmanager/parsers.h,
tagmanager/c.c, data/filetypes.glsl, data/filetype_extensions.conf:
Add OpenGL Shader Language (GLSL) filetype (patch from Colomban
Wendling, thanks; closes #2060961).
* src/filetypes.c, src/filetypes.h:
Add GeanyFiletypeGroupID enum and GeanyFiletype::group field.
* src/keyfile.c, doc/geany.txt, doc/geany.html:
Change hidden pref scroll_stop_at_last_line to TRUE (#2030914).
2008-08-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Add assert statements to check that the StyleSet styling arrays are
not exceeded.
Make highlighting_get_style() work with all filetypes.
* src/highlighting.c, src/highlighting.h, src/plugindata.h:
Rename HighlightingStyle to GeanyLexerStyle.
Add dox for highlighting_get_style(), GeanyLexerStyle, mentioning
SCI_STYLEGETFORE.
* src/filetypes.c:
Use pointer in init_builtin_filetypes() instead of repeating
filetypes[GEANY_FILETYPES_X]->... on each line.
2008-08-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c, src/editor.c, src/editor.h:
Add editor_destroy() to dispose of a GeanyEditor struct (in future
we may want to do more than just free it).
Fix editor.h dox description to be more informative for the API
(and move dox from editor.h to editor.c).
2008-08-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix not using auto-completion in strings and comments (patch by
Jason Oster, thanks; fixes #2057979).
* src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
Don't disable 'Detect from file' indent type pref when 'Tabs and
Spaces' is selected.
* src/document.c:
Don't warn about a missing file on disk more than once (otherwise
sometimes it's too difficult to close the file before getting the
prompt).
* src/document.c:
Detect 'Tabs and Spaces' indent mode on finding one or more hard
tabs before a soft tab at the start of several lines, and also when
the first indent symbol count is not mainly tabs or mainly spaces.
2008-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Support detecting 'Tabs and Spaces' indent mode when opening a file.
2008-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/Makefile.am:
Remove non-portable compiler optimisation '-Os'.
* configure.in:
Don't use AC_CHECK_PROG() to check for a C++ compiler as it
breaks compatibility with suncc (reported by Andras Barna, thanks).
2008-08-17 Enrico Tröger <Enrico Tröger@localhost>
* geany.nsi:
Put geany.exe into a 'bin' subdirectory as well as the included
GTK runtime environment to fix current hardcoded 'bin' values
in GTK (see http://bugzilla.gnome.org/show_bug.cgi?id=542803).
Fix missing snippets.conf in the Windows installers.
Fix missing python.tags in the Windows installers.
2008-08-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
Don't look up "scroll_arrow_hlength" and "scroll_arrow_vlength"
GtkWidget properties on GTK < 2.10.
* src/prefs.h, src/plugindata.h, src/plugins.c:
Rename api_version GEANY_API_VERSION.
Rename abi_version GEANY_ABI_VERSION.
Use enums for each of these so they can be used to initialize a
global variable, and add dox.
* src/editor.c, doc/geany.txt, doc/geany.html:
Make Ctrl-click on a word perform Go to Tag Definition (this
shouldn't conflict with column editing as this uses
Ctrl-Shift-click).
2008-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Add middle-click document closing to the Tips and Tricks appendix.
* src/makefile.win32:
Expect GTK 2.10 libs to link against by default and remove GTK210
flag. If anyone wants to build on Windows against GTK 2.6 or 2.8
use 'make GTK280=1'.
* src/support.c:
Replace fprintf() with g_critical().
* src/log.c, src/win32.c:
Fix logging of messages in the debug window on Windows.
When '--debug' option is given on Windows, set the
G_SPAWN_WIN32_DEBUG flag for more debug info for spawned processes.
* src/log.c, src/main.c:
Don't force debug mode when compiling with GEANY_DEBUG (this affects
only the messages on stdout and stderr). Messages are logged always
in the debug window.
2008-08-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Add Tips and Tricks appendix.
2008-08-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, wscript, src/Makefile.am, src/makefile.win32,
src/callbacks.c, src/callbacks.h, src/interface.c, src/log.c,
src/log.h, src/main.c:
Move geany_debug() into log.c.
Use GLib log/print handlers to log messages/warnings into a
string for later usage.
Add a debug messages window, accessable through the help menu to
easily view debug messages/warnings.
This might replace the extra console window on Windows.
* src/prefs.c:
Fix bad wording (closes #2038807).
* src/log.c, src/main.c, src/makefile.win32:
Remove trailing spaces.
2008-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Add SCE_[CD]_COMMENTDOCKEYWORD(ERROR) comment detection to
is_comment().
* src/editor.c:
Fix auto-multiline comment completion for CSS.
Fix doc-comment keyword styles confusing auto-multiline comment
completion.
* src/editor.c:
Break is_comment() into comment and string detection, each called in
is_code_style().
* plugins/export.c:
Fix using correct hard tab width for HTML export, not just LaTeX.
* src/prefs.c, src/plugindata.h, src/keyfile.c, src/editor.c,
src/editor.h:
Rename GeanyIndentPrefs::tab_width to hard_tab_width, and update
keyfile key name.
* src/interface.c, geany.glade:
Change 'Tab width' label to 'Hard tab width' for clarity.
2008-08-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/printing.c:
Fix using correct display tab width when the Tabs & Spaces indent
type is set.
* src/sciwrappers.c, src/plugindata.h, src/plugins.c, src/editor.c,
src/editor.h, plugins/export.c:
Add sci_get_tab_width() to the API, and use it to get the correct
display tab width in the Export plugin.
* src/keybindings.c:
Don't set plugin keybinding accels for menu items in
keybindings_set_item(), so user keycombos can override them.
* src/build.c, src/keybindings.c, src/keybindings.h, src/tools.c,
src/prefs.c, src/plugindata.h, src/plugins.c:
Rename KeyCallback GeanyKeyCallback.
Rename KeyBinding GeanyKeyBinding.
Rename KeyBindingGroup GeanyKeyGroup.
2008-08-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/printing.c:
Fix compilation with GTK >= 2.10.
2008-08-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/prefs.c, src/plugindata.h, src/callbacks.c,
src/callbacks.h, src/keyfile.c, src/document.c, src/plugins.c,
src/main.c, src/editor.c, src/editor.h, src/ui_utils.c, geany.glade,
plugins/export.c, TODO:
Merge changes from the custom-tab-width branch (closes #1662173).
Thanks to Joerg Desch for explaining how it needs to work.
Note: this breaks the plugin API for indentation editor_prefs.
Add separate Width indent pref (as well as the Tab Width pref).
Add 'Tabs & Spaces' Indent Type radio option pref.
Add 'Tabs and Spaces' Document menu indent option.
Note: Tabs & Spaces cannot be detected (yet) when opening files;
default file templates still only use tabs.
Set 'Detect from file' indent type setting insensitive when Tabs &
Spaces is set.
Don't change per-document auto-indent setting after changing default
auto-indentation type.
- API changes:
Add GeanyIndentPrefs struct from some GeanyEditorPrefs fields.
Replace GeanyIndentPrefs::use_tabs with GeanyIndentType field 'type'.
Add editor_get_indent_prefs() to the API, which should be used to
get the right settings for a document/editor instead of reading
any struct fields. This could also support project/filetype
indentation prefs quite easily.
- Core code changes:
Move toggle_prefs to a function toggle_items_foreach(), which takes
a PREF_DISPLAY or PREF_UPDATE argument. This means the PrefEntry
array can contain runtime fields, so can read pointer contents.
Add pref_item_callbacks array of functions to call;
toggle_items_foreach(), spin_items_foreach(), radio_items_foreach(),
combo_items_foreach().
Update keyfile.c to use foreach-style functions for SettingEntry
arrays, like the new PrefEntry code in prefs.c.
Add get_indent_size_after_line() to replace get_indent() for
clarity, and to fix Tabs & Spaces auto-indentation > basic.
Remove opening-brace indent code from get_indent() as it's now in
get_brace_indent().
Change editor_close_block() to use sci_get_line_indentation() for
clarity.
Make editor_close_block() static.
Add editor_init().
2008-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c:
Revert the recent VTE realisation changes as they don't make things
better.
* tagmanager/tcl.c:
Fix wrong parsing of keywords if they are not followed by a space
(closes #2037728).
2008-08-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c:
Realize the VTE widget manually (still for #1844985).
* src/notebook.c:
Ignore the scroll arrows when checking for a double click in
the notebook tab bar (closes #2033059).
2008-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/vte.c, src/vte.h:
Revert r2843 because it messed it Ctrl-C/SIGINT in the VTE.
* src/vte.c:
Initialise the VTE pid var with 0 just for safety.
* src/highlighting.c, data/filetypes.sql:
Add some keywords for filetype SQL (patch by Felipe Pena, thanks).
2008-07-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/notebook.c:
Fix signature of focus_sci().
Double clicking on free space in the tab bar opens a new file
(#2003291).
* src/vte.c:
Start the shell in the VTE first when the VTE is actually realized
to avoid strange display bugs on some systems (closes #1844985).
* src/callbacks.c, src/vte.c, src/vte.h:
Make Copy & Paste clipboard keybindings also work for the VTE
(closes #2029675).
* src/about.c, THANKS:
Add a list of contributors to the About dialog.
Update the THANKS file.
* src/highlighting.c, data/filetypes.php:
Add four new PHP 5.3 keywords (patch by Felipe Pena, thanks).
2008-07-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, wscript:
Add support for retrieving the SVN revision number also
when using a git-svn.
* geany.glade, doc/geany.html, doc/geany.txt, src/editor.c,
src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c:
Add a preference for the comment toggle mark string("~ " by default).
* geany.glade, src/interface.c, src/vte.c:
Add a small border to all notebook pages in the preferences dialog.
2008-07-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/ui_utils.c, geany.glade:
Revert editor popup menu Current Word submenu changes. See
http://lists.uvena.de/geany-devel/2008-July/000101.html.
* src/sciwrappers.c, src/plugindata.h:
Add dox for ScintillaFuncs.
2008-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.sh, src/highlighting.c:
Add missing "error" and heredoc styles to filetype Shellscript
(related to #2026853).
* waf, wscript:
Update waf to its latest SVN rev and exclude some unused modules
which makes it another 20 KB smaller.
Update waf script to reflect waf API changes(module Install removed).
* src/editor.c:
Fix wrong checks when determining whether a style is a PHP style
(style SCE_HPHP_COMPLEX_VARIABLE was ignored, closes #2027235).
2008-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Only compile filetypes_detect_from_file() if HAVE_PLUGINS is defined.
* src/plugindata.h:
Rename p_filetypes->detect_from_filename() to detect_from_file() in
the plugin API.
* src/ui_utils.c:
Add dox for all UIUtilsFuncs.
* src/plugindata.h, src/document.c:
Rename document_new_file() argument to utf8_filename.
* src/project.c, src/project.h, src/geany.h:
Add dox for GeanyApp, GeanyProject.
Move GeanyProject typedef to project.h, as it is rarely used without
including project.h.
* src/plugindata.h, src/document.c, src/document.h:
Add more dox explaining how to use documents_array (moved from
document.h, to minimise rebuilding after adding dox).
Remove some mentions of document indexes in document.c comments.
* src/vte.c:
Change VTE restart command to not call vte_terminal_fork_command() -
this should prevent the hang reported in #1990323 with VTE 0.16.14.
Note that with VTE 0.16.14 the reset sometimes leaves a blank
terminal, but pressing enter makes it then behave as normal.
2008-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/plugindata.h, src/callbacks.c,
src/plugins.c, src/main.c, src/main.h, plugins/pluginmacros.h:
Move utils_reload_configuration() to main.c.
* src/main.c:
Add doxygen file header for generating MainFuncs API documentation.
* src/plugindata.h, src/filetypes.c, src/filetypes.h, src/document.c,
src/plugins.c:
Add dox for FiletypeFuncs and some of GeanyFiletype.
Rename filetypes_detect_from_file() to
filetypes_detect_from_document().
Rename filetypes_detect_from_filename() to
filetypes_detect_from_file() because it also detects shebang lines.
Remove function prototype comments for filetypes.h (see filetypes.c
or API dox instead).
* src/ui_utils.c:
Add dox for GeanyMainWidgets.
2008-07-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexHTML.cxx:
Backport latest HTML/PHP lexer fixes from Scintilla CVS (#2024387).
* src/editor.c:
Fix space-only indentation when auto-generating HTML tables
(patch by Colomban Wendling, thanks, closes #2023160).
2008-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, src/socket.c, src/main.h:
Fix filename encoding for new files at startup from the command-line.
Make socket open command support filename:line:column syntax.
* src/interface.c, src/prefs.c, src/keyfile.c, src/document.h,
src/main.c, geany.glade:
Add new Files pref 'Allow new documents from the command-line'.
* src/interface.c, geany.glade:
Rename above pref 'Open new documents...'.
Group encodings prefs together in the Files tab.
2008-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c:
Add menu item accelerators first after default and user keybindings
have been read to avoid that menu item accelerators of user
keybindings can't be overridden anymore (closes #2021703).
* src/callbacks.c, src/plugindata.h, src/plugins.c, src/utils.c, src/utils.h:
Move code to reload configuration files into utils_reload_configuration()
and add it to the plugin API.
2008-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/classbuilder.c, plugins/demoplugin.c, plugins/export.c,
plugins/filebrowser.c, plugins/htmlchars.c, plugins/vcdiff.c,
src/about.c, src/build.c, src/dialogs.c, src/document.c,
src/editor.c, src/encodings.c, src/filetypes.c, src/gb.c, src/main.c,
src/msgwindow.c, src/notebook.c, src/plugins.c, src/prefs.c,
src/printing.c, src/project.c, src/search.c, src/templates.c,
src/tools.c, src/treeviews.c, src/ui_utils.c, src/vte.c:
Rename "delete_event" to "delete-event".
Remove some unnecessary GObject casts in g_signal_connect() calls.
* src/geanywraplabel.c:
Remove unnecessary finalize() function.
* plugins/classbuilder.c:
Encourage single header includes as it is necessary with GTK 2.14+.
* src/treeviews.c:
Handle tooltip requests for items in the open files tree view
properly by using gtk_tree_view_get_tooltip_context().
2008-07-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c, src/ui_utils.h, src/main.c:
Move widget array lookups from main.c to ui_utils.c.
* src/interface.c, src/keybindings.c, src/keybindings.h,
src/callbacks.c, src/callbacks.h, geany.glade:
Add Find Document Usage popup menu command & keybinding.
* src/interface.c, src/ui_utils.c, geany.glade:
Move editor popup menu current word items to submenu.
2008-07-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.fortran:
Add missing keywords: 'elemental', 'pure' and 'procedure' which also
fix broken folding (patch by Henrik Holst, thanks).
* src/document.c:
Enforce focus grabbing when creating new documents (closes #2018427).
2008-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c, src/utils.h, src/keybindings.c,
src/printing.c, src/tools.c, src/prefs.c, src/navqueue.c,
src/plugindata.h, src/treeviews.c, src/msgwindow.c, src/callbacks.c,
src/notebook.c, src/keyfile.c, src/filetypes.c, src/search.c,
src/document.c, src/document.h, src/main.c, src/editor.c,
src/symbols.c, src/editor.h, src/symbols.h, src/ui_utils.c,
plugins/export.c, plugins/vcdiff.c, plugins/htmlchars.c,
plugins/classbuilder.c:
Merge the editor-struct branch:
Note: this breaks the plugin API for editor-related document fields
and functions.
Split new GeanyEditor struct type from GeanyDocument fields sci,
line_wrapping, auto_indent, scroll_percent, use_tabs, line_breaking.
GeanyEditor::document allows access back to document fields.
Add GeanyDocument::editor field; this is only valid when the
document is valid, and NULL otherwise. This means any checks for
doc->editor->scintilla != NULL will segfault for invalid
documents - check against doc->is_valid or doc->editor != NULL
instead.
Change plugin API EditorFuncs to use GeanyEditor pointers.
Make editor_set_font() take a pango-style font string, and use a
GeanyEditor pointer.
Use GeanyEditor* instead of GeanyDocument* in editor.c (most global
editor functions still need conversion though, but this may be done
gradually or as required).
Move utils_get_current_function() to symbols.c.
Move utils_replace_filename() to document.c.
* plugins/filebrowser.c:
Show '..' item when the current folder is empty (fixes #2015121).
Replace is_top_level_directory() code by checking g_path_skip_root().
* src/plugins.c:
Prevent warning when trying to load an active plugin at startup that
doesn't exist on disk any more.
2008-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, data/filetypes.f77,
data/filetypes.fortran, scintilla/KeyWords.cxx, src/document.c,
src/editor.c, src/filetypes.c, src/filetypes.h, src/highlighting.c,
src/msgwindow.c, src/plugindata.h, src/symbols.c, src/templates.c,
tagmanager/fortran.c, tagmanager/parsers.h:
Split filetype Fortran into Fortran 77 and Fortran 90.
2008-07-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/snippets.conf, doc/geany.html, doc/geany.txt, src/editor.c:
Add support to use template wildcards in snippets.
* src/editor.c, src/templates.c, src/templates.h:
Use templates_replace_all() also for snippet completion.
* geany.glade, doc/geany.html, doc/geany.txt, src/editor.c,
src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c,
src/templates.c, src/templates.h:
Add preferences for year, date and datetime format of the
corresponding template wildcards to make them more flexible.
2008-07-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/classbuilder.c:
Fix some formatting issues.
Add 'static' keyword to generated finalize() function in GTK classes.
2008-07-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/pluginmacros.h:
Remove deprecated struct field macros (this fixes building Geany
when GEANY_DISABLE_DEPRECATED is not set, fixes #2014586).
2008-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/haskell.c:
Fix infinite loop when parsing datatypes (fixes #2011356).
* src/editor.c:
Make line breaking work with multi-line comment completion and
'Newline strips trailing spaces' pref.
* doc/plugin-symbols.c, doc/Makefile.am, doc/plugins.dox:
Rename plugin-symbols.c pluginsymbols.c.
* src/plugindata.h, doc/plugins.dox, plugins/export.c,
plugins/vcdiff.c, plugins/demoplugin.c, plugins/filebrowser.c,
plugins/htmlchars.c, plugins/autosave.c, plugins/pluginmacros.h,
plugins/classbuilder.c:
Remove deprecated macros and typedefs (except DOC_IDX_*), as some of
them are likely to cause naming conflicts and all plugins will need
updating since 0.14 anyway.
Add geany macro that simply expands to geany_data.
Deprecate app, main_widgets, prefs, project macros, as the geany
macro can be used instead.
2008-07-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/plugins.dox, src/editor.c, src/geanyobject.c, src/geanyobject.h,
src/plugindata.h:
Rename signal "populate-edit-menu" into "update-editor-menu".
* scintilla/LexHTML.cxx:
Revert the change of rev2072: Fix syntax colouring bug when using
'?>' in a PHP comment (closes #1838854 and #1848518).
2008-07-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Group focus keybinding callbacks together.
2008-07-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/editor.c:
Fix memory leak in utils_find_open_xml_tag() when size < 3, and only
allocate string when '<' found.
Factor insert_closing_tag() from handle_xml(), fixing a memory leak
when ignoring tags like <br>.
* src/keybindings.c:
Avoid flickering the menu bar when 'Override Geany keybindings'
Terminal pref is set.
* src/editor.c:
Fix possible segfault for XML tag completion when no '<' brace could
be found.
* src/document.c:
Ensure all opened documents are colourised before being drawn
(should happen anyway in document_set_filetype(), but just in case).
* src/keybindings.c, src/keybindings.h:
Add 'Switch to Compiler' keybinding (useful when checking build
progress).
2008-07-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c:
Fix unnecessary 40 character limit for auto-closing XML tags
(closes #2007278).
* src/keyfile.c:
Fix broken session file support with more than 99 files
(closes #2007288).
* src/symbols.c:
Load "ignore_tags" file before generating global tags file.
* src/editor.c:
Move the checks for HTML entity completion into an own function
to increase readability.
Remove workaround for a wrong styling on last character and replace
it with proper style reading (patch by Jason Oster, thanks).
2008-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix behaviour of Home and End keys in non-editor widgets when they
are set as keybindings for Go to Line Start/End.
This uses a new ignore_keybinding variable because changing
KeyCallback to return gboolean would break plugin keybindings.
* src/plugindata.h, src/plugins.c:
Add document_close() to the plugin API.
2008-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c, src/callbacks.c, src/document.c, src/document.h:
Add function document_close().
2008-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* waf, wscript:
Update waf to its latest SVN rev which makes it 20 KB smaller.
Update waf script to reflect waf API changes.
* src/filetypes.c, src/filetypes.h, src/highlighting.c,
src/templates.c:
In templates_free_templates() destroy also file template menu items.
Add reload argument to filetypes_load_config() to allow re-reading
of the settings.
* src/editor.c, src/editor.h, src/keyfile.c, src/keyfile.h, src/main.c:
Move code to read snippets configuration to editor.c.
Split editor_snippets_free() from editor_finalize().
* src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
Add Tools menu item to reload configuration data (at the moment:
templates, filetype extensions/configs and snippets).
2008-06-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Use a dynamic pointer array for document sensitive widgets, so it's
easy to group widget names together in the source.
Make 'Close other documents' menu item document-sensitive.
* src/ui_utils.c:
Fix stack corruption (cannot use stack GPtrArray as this is just a
base-class for private GRealPtrArray).
2008-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c:
When opening files remotely using the socket, handle filename
encoding better and try to auto-detect the used encoding as it
might be different each time (hopefully closes #2003980).
* src/editor.c:
Attempt to make editor_find_current_word() Unicode-safe. Note: this
can be done better.
* doc/plugins.dox, src/editor.c, src/geanyobject.c, src/geanyobject.h,
src/plugindata.h:
Add plugin signal "populate-edit-menu" to notify plugins when the
editing menu is shown.
2008-06-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
Add 'Close Other Documents' File menu command (#1976724).
* src/keybindings.c, src/keybindings.h, src/editor.c:
Add Go to Start/End of Line keybindings (#1996175).
2008-06-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/vte.c, src/vte.h:
Move struct _VteTerminal, VteFunctions from vte.h to vte.c.
Call vte_restart() in vte_keypress() as the code is the same.
* src/build.c, src/build.h, src/msgwindow.c:
Add Previous Error menu item.
* src/build.c, src/keybindings.c, src/keybindings.h:
Add keybindings for Previous Message, Previous Error commands
(#1931125).
2008-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/prefs.c, src/keyfile.c, src/search.c,
src/search.h, geany.glade:
Move 2 search prefs to new Search tab of Preferences dialog.
Add new search pref: 'Use the current file's directory for Find in
Files' (#1930435).
Add PrefEntry struct which is used for an array containing widget
names to lookup; currently only used for 3 search-related
GtkToggleButton prefs.
Add SettingEntry struct which is used for an array containing keyfile
key and group information; currently only used for 3 search-related
gboolean settings.
* src/interface.c, src/ui_utils.h, src/msgwindow.c, src/callbacks.c,
src/callbacks.h, src/ui_utils.c, geany.glade:
Add Previous Message menu item.
Don't abbreviate Find Prev Selected.
Add ui_tree_view_find_previous().
Set Next Message menu item sensitivity when clicking on Search menu.
Thanks to Beau Barker (skip76) for an initial version of
ui_tree_view_find_previous() (see #1931125).
2008-06-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Make keyboard shortcuts dialog non-modal (#1999384).
* src/interface.c, doc/geany.txt, doc/geany.html, geany.glade:
Split Preferences dialog Editor tab into a sub-notebook, with
Features, Completions and Display pages. This also reduces the
minimum height of the Preferences dialog.
2008-06-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c:
Fix Windows build.
2008-06-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c, src/documentprivate.h:
Don't colourise any documents until they need to be drawn. This
should make Save All faster for filetypes that support typename
highlighting, and makes the document_delay_colourise(),
document_colourise_all() functions redundant (they'll be removed in
the next commit).
Note: I'll move on_editor_expose_event() to editor.c.
* src/dialogs.c:
Use stack buffers for g_vsnprintf() instead of heap allocation.
* src/callbacks.c, src/keyfile.c, src/document.c, src/document.h,
src/main.c, src/socket.c:
Remove document_delay_colourise(), document_colourise_all().
* src/document.c, src/editor.c, src/editor.h:
Move on_editor_expose_event(), create_new_sci() to editor.c.
Make on_editor_button_press_event() and on_editor_scroll_event()
static.
2008-06-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/dialogs.c:
Add dialogs_show_input_numeric().
* geany.glade, src/callbacks.c, src/callbacks.h, src/editor.c,
src/editor.h, src/interface.c:
Add "Replace spaces by tabs".
* doc/geany.txt, doc/geany.html, src/keybindings.c, src/keybindings.h,
src/plugindata.h:
Add keybindings for Line wrapping, Line breaking, Toggle fold and
Replace Spaces by tabs.
Refactor different document keybindings callback functions into
cb_func_document_action().
* src/editor.c:
Improve scrolling on wrapped lines to avoid having search results on
wrapped lines but outside of visible lines.
* src/editor.c:
Allow symbol auto completion in embedded JavaScript in HTML files
(closes #1997409).
* src/document.c, src/editor.c, src/editor.h:
Allow scrolling page by page by holding down the Shift or Alt key
(closes #1995405).
* src/msgwindow.c:
Add "Copy All" to the popup menu of the Status, Compiler and Messages
treeviews to copy all items to the clipboard.
* src/editor.c:
Scroll by page only when Alt key is held to avoid possible conflicts.
2008-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c, src/win32.c, src/ui_utils.h, src/build.h,
src/utils.h, src/keybindings.c, src/printing.c, src/printing.h,
src/tools.c, src/tools.h, src/project.c, src/encodings.c,
src/prefs.c, src/dialogs.c, src/dialogs.h, src/navqueue.c,
src/geanyobject.c, src/plugindata.h, src/navqueue.h,
src/geanyobject.h, src/geany.h, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/notebook.c, src/treeviews.h, src/msgwindow.h,
src/callbacks.h, src/notebook.h, src/keyfile.c, src/vte.c,
src/filetypes.c, src/search.c, src/filetypes.h, src/search.h,
src/document.c, src/plugins.c, src/document.h, src/main.c,
src/editor.c, src/symbols.c, src/socket.c, src/editor.h,
src/symbols.h, src/ui_utils.c, doc/plugins.dox, plugins/export.c,
plugins/vcdiff.c, plugins/filebrowser.c, plugins/htmlchars.c,
plugins/autosave.c, plugins/classbuilder.c:
Merge the document-pointer branch.
Note: this breaks the plugin API for document functions,
document signal callbacks, msgwin_msg_add() and navqueue_goto_line().
Make all DocumentFuncs use a GeanyDocument* instead of an integer
index, so there's no need to access the documents array or use
DOC_IDX_VALID() - usually just check for non-NULL.
Pass a document pointer to the callbacks of all "document-*" signals.
Add GeanyDocument::index field for use with the documents array.
Remove DocumentFuncs::get_cur_idx() - use get_current() instead.
Replace DocumentFuncs::get_n_idx() with get_from_page().
Rename DocumentFuncs::find_by_realpath() to find_by_real_path().
Replace DocumentFuncs::remove() with remove_page().
Add 'changed' argument for DocumentFuncs::set_text_changed().
Make NavQueueFuncs and MsgWinFuncs use a GeanyDocument* instead of an
integer index.
Add DOC_VALID() macro.
Add deprecated DOC_IDX() macro to get the document index from a
possibly NULL pointer; deprecate macro DOC_IDX_VALID. These macros
can make porting outside plugins easier; of course, it is better to
rewrite the code to use document pointers.
Use document pointer instead of an index to the documents array
everywhere in the core code.
Rename utils_check_disk_status() in document_check_disk_status() and
move it into document.c.
Adjust plugins to work with these changes.
Add dox for document_set_filetype().
Rename debugging function doc() doc_at() to avoid conflicts.
Update plugin signals dox.
2008-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/keybindings.c:
Fix spelling of a few strings (mostly BE -> AE).
* src/build.c:
Fix executing commands in the VTE.
2008-06-17 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS: Small update of Polish translation provided by Krzysztof
Troska. Thanks for it.
2008-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c:
Fix a regression introduced in latest bug fixes and fix some
indentation and comments.
* wscript:
Add compiler flags to supress Scintilla warnings.
Fix old usage of build.env.
Make configure-only options only available when actually configure
is used.
* scintilla/ScintillaGTK.cxx:
Backport string casts from Scintilla CVS to avoid compiler warnings.
2008-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c:
Use proper quoted multi-line string check from CTags SVN.
* src/geanyobject.c:
Fix wrong marshal type (pointer != int).
* scripts/wafinit.sh:
Create Makefiles for src, tagmanager and scintilla sub directories
to be able to run make from within Geany.
* scintilla/scintilla-marshal.c:
Updated generated marshal code for Scintilla.
2008-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c:
Allow and use arguments to the browser command (closes #1989575).
Add 'xdg-open' as first browser fallback.
* tagmanager/python.c:
Fix endless loop when there are two triple strings on one line
inside a multiline string.
* Makefile.am, data/python.tags, scripts/create_py_tags.py,
src/symbols.c:
Add create_py_tags.py to create a global tags file for Python
(thanks to Dominic Hopf).
Add generated Python tags file (Python 2.5).
* data/php.tags, scripts/create_php_tags.php, tagmanager/tm_tag.c:
Change format of PHP tags file to internal tagmanager format since
it is auto-generated and is read maybe a little bit faster.
Add auto-generated notice and timestamp at the beginning of the file.
2008-06-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/python.c:
Remove unnecessary vStringClear(name) calls after using the name
buffer, as the convention is now to clear the buffer before use, and
this is easier to remember to do.
2008-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/makefile.win32:
Compile Scintilla without threading support to fix freezes with
GLib >= 2.16 on Windows.
* doc/Makefile.am:
Remove useless path separator.
* configure.in:
Set $(docdir) if it is not set automatically.
* geany.nsi, plugins/makefile.win32, src/makefile.win32, src/main.c,
src/plugins.c:
Windows changes:
Install plugins into lib/ not into plugins/.
Don't link against libiconv when compiling against GLib 2.14 and
above (it's statically linked into GLib).
Install Geany's message catalogs into share/locale rather than
lib/locale as GTK does since 2.12.2.
2008-06-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/python.c:
Fix variable names sometimes having leading junk characters.
* tagmanager/python.c:
Refactor using findVariable().
2008-06-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Added Anna Talianova to list of contributers for
Czech translation.
2008-06-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.html, src/encodings.c:
Fix two ambiguous encoding names for better compatibility with
libiconv (closes #1986134).
Improve the regular expression for detecting encoding cookies to
allow more variants (e.g. "encoding: utf-8").
* tagmanager/python.c:
Use Python from CTags SVN.
Adapt variable parsing code from the old parser code.
Fix three bugs (see CTags bugs #1988026, 1988027 and 1988130).
* waf:
Update Waf to its latest SVN version.
* wscript:
Don't update po files on normal build, add target --update-po for
this task.
Fix wrong handling of CCFlags and CXXFlags which caused the build
to hang if CFLAGS were not already set.
Don't make checks for header files and functions mandatory.
Update some method names to latest API changes in Waf.
Various other small fixes.
Fix indentation of two lines.
List source files explicitly to avoid compiling foreign source files.
* scintilla/include/Scintilla.h, scintilla/include/Scintilla.iface,
scintilla/ScintillaBase.cxx:
Backport AutoCCancelled event implementation from Scintilla CVS.
* src/editor.c:
Reshow a previously shown calltip if an auto completion list was
cancelled.
2008-06-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/prefs.c: Update of a string for adding a missing full stop.
2008-06-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c:
Display current file position in the status bar when compiled
with GEANY_DEBUG.
* configure.in, Makefile.am, geany.desktop.in.in, geany.desktop.in:
Rename geany.desktop.in.in in geany.desktop.in as we need to
process it only once.
* plugins/vcdiff.c:
Fix diff output when files were manually added with 'git add'
in GIT repositories (patch by Yura Siamashka, thanks).
* wscript:
Remove unused imports.
Remove hacks for Doxyfile.in and geany.desktop.in.
Move htmldoc and apidoc targets into shutdown().
2008-06-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Check that the current file is still on disk as well as checking the
modification time.
Also fix the document last_check assignment so that the disk is only
polled every file_prefs.disk_check_timeout seconds (not sure how
this got missing - maybe it was my fault?).
* src/editor.c:
Revert use of SCN_PAINTED - this is called much more often than
SCN_UPDATEUI and slows down Geany.
2008-06-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Makefile.am, waf, wscript, scripts/wafinit.sh:
Add alternative build system: Waf.
Use wafinit.sh to create a Makefile and configure files.
* configure.in, wscript, tagmanager/entry.c:
Remove check for unistd.h, assume it is available (already often
used without checking).
2008-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Only set GeanyDocument::real_path when the file exists on disk -
after a successful save or open.
* src/keyfile.c:
Only save session documents that have existed on disk (don't save
documents with a filename set but have never been saved).
* src/document.c:
Only reorder recent files on closing documents that have existed on
disk.
* src/dialogs.c:
Fix segfault after Save As (oops).
2008-06-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Restore the previous state of main_status.quitting status when asking
for reload a changed file instead of setting it to true.
* src/dialogs.c, src/document.c:
Change preprocessor checks for sys/time.h and remove unnecessary
sys/stat.h check.
* configure.in, src/gb.c:
Remove useless or unused configure checks.
* doc/Makefile.am:
Install THANKS file by default.
2008-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/dialogs.c, src/document.c, src/document.h,
src/msgwindow.c, src/navqueue.c, src/plugindata.h, src/plugins.c,
src/symbols.c, src/win32.c:
Note: this breaks the plugin API for plugins using
document_find_by_filename().
Make document_find_by_filename() take only a utf8_filename argument,
and now match any documents that have a filename set but aren't saved
on disk.
Add document_find_by_realpath() to the plugin API.
Add filename argument for document_save_file_as().
Add GeanyDocument::real_path field, which if non-NULL indicates the
file once existed on disk (not just as an unsaved document filename).
* plugins/vcdiff.c:
Fix using wrong encoding for document filename when doing a
directory diff.
Replace find_by_filename() with p_document->find_by_filename() (now
it does the same job).
2008-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c:
Fix slightly wrong preprocessor checks.
* src/dialogs.c:
When quitting, prevent inconsistent GUI elements when cancelling on
an unsaved file.
2008-06-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/documentprivate.h, src/prefs.c, src/plugindata.h,
src/treeviews.c, src/callbacks.c, src/notebook.c, src/document.c,
src/document.h, src/editor.c, src/symbols.c, src/Makefile.am,
src/ui_utils.c:
Move GeanyDocument GUI elements and saved_encoding to private
Document struct which inherits from GeanyDocument. This is to hide
implementation fields from the plugin API, so that we can change
them if necessary.
Add DOCUMENT() macro to convert a GeanyDocument* to a Document*.
Also move UNDO_*, FileEncoding to documentprivate.h.
Move undo_action struct to document.c.
* src/utils.c:
Reload a changed document immediately on user clicking reload
(waiting was not related to the now fixed reload-colourise problem).
* src/document.c:
Fix possible document double-colourise after reloading a file.
* src/editor.c:
Cancel any autocompletion list when completing a snippet.
2008-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h:
Add deprecated macro for doc_array.
* src/editor.c:
Allow line breaking after typing any character, not just wordchars.
* src/editor.c:
Handle non-Scintilla GUI updates after SCN_PAINTED instead of
SCN_UPDATEUI to hopefully appear more responsive to typing.
2008-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.h, src/plugindata.h, src/geany.h, src/filetypes.h,
src/document.h:
Remove underscore prefix from some struct names.
2008-05-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c, src/win32.c, src/keybindings.c,
src/printing.c, src/tools.c, src/prefs.c, src/dialogs.c,
src/navqueue.c, src/plugindata.h, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/notebook.c, src/keyfile.c, src/vte.c,
src/filetypes.c, src/search.c, src/document.c, src/plugins.c,
src/document.h, src/main.c, src/editor.c, src/symbols.c,
src/socket.c, src/ui_utils.c, plugins/export.c, plugins/vcdiff.c,
plugins/filebrowser.c, plugins/htmlchars.c, plugins/autosave.c,
plugins/pluginmacros.h, plugins/classbuilder.c:
Note: this breaks the plugin API.
Replace doc_array with documents_array, a pointer array. This is
necessary to avoid breaking the ABI every time a field is added to
GeanyDocument.
Remove deprecated pluginmacros.h documents macro, to avoid a
conflict.
Replace doc_list[] macro with documents[] macro, which returns a
GeanyDocument pointer.
2008-05-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.css, doc/geany.html:
Add media types for screen and print to have a clean version
of the manual for printing.
* plugins/Makefile.am:
Add again all GTK libraries to linker flags for each plugin.
2008-05-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
plugins/demoplugin.c, plugins/filebrowser.c, plugins/autosave.c:
Note: this breaks the plugin API.
Remove plugin symbol configure().
Add plugin symbol plugin_configure() which is used to tell Geany a
widget to pack into the plugin preferences dialog, and connect a
response callback for when the dialog receives a user decision.
This allows Geany to in future implement a common preferences dialog
for all plugins, without breaking the plugin API/ABI.
Add Apply button for plugin preference dialogs (to indicate plugins
should handle the apply response as well as OK, as a multiple plugin
configuration dialog would want an apply button).
2008-05-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Fail to load a plugin if it has no plugin_init() function.
* src/plugins.c:
Make plugin_free() act like a destructor only, let
pm_dialog_response() call a separate function to only free non-active
plugins.
2008-05-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Move all symbol lookups except plugin_set_info() into plugin_init().
Add debug message for missing init() function in a plugin.
* src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
doc/plugins.dox:
Add plugin_ prefix for plugin symbols version_check, init and
cleanup. Deprecate init and cleanup; update PLUGIN_VERSION_CHECK
macro.
Add a debug message and fail to load a plugin if it has no
plugin_version_check() function.
Check that plugin keybinding names have been set in plugin_init(),
otherwise print a debug message and ignore all of them.
* plugins/export.c, plugins/vcdiff.c, plugins/demoplugin.c,
plugins/filebrowser.c, plugins/htmlchars.c, plugins/autosave.c,
plugins/classbuilder.c:
Fix plugins to compile with GEANY_DISABLE_DEPRECATED.
2008-05-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
doc/plugins.dox:
Make GeanyCallback, geany_callbacks deprecated, and replace with
PluginCallback, plugin_callbacks. This is because the array is owned
by the plugin, not Geany.
* src/plugindata.h:
Increment plugin ABI, API versions for plugin_callbacks change.
* src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
doc/plugins.dox, plugins/export.c, plugins/vcdiff.c,
plugins/demoplugin.c, plugins/filebrowser.c, plugins/htmlchars.c,
plugins/autosave.c, plugins/classbuilder.c:
Deprecate PLUGIN_INFO() in favour of PLUGIN_SET_INFO().
Remove plugin symbol info(), which is replaced by plugin_set_info()
and a new symbol plugin_info. This is so the PluginInfo struct is
zero'd first by Geany, so plugins are still ABI compatible if we
want to add any more fields in the future.
Fail to load a plugin if plugin_info->name is not set.
Remove now unused string.h include from plugindata.h.
2008-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/build.c, src/utils.c, src/ui_utils.h,
src/win32.c, src/utils.h, src/keybindings.c, src/printing.c,
src/tools.c, src/sciwrappers.c, src/project.c, src/sciwrappers.h,
src/encodings.c, src/prefs.c, src/dialogs.c, src/navqueue.c,
src/plugindata.h, src/geany.h, src/about.c, src/treeviews.c,
src/msgwindow.c, src/callbacks.c, src/notebook.c, src/keyfile.c,
src/filetypes.c, src/search.c, src/document.c, src/plugins.c,
src/main.c, src/editor.c, src/symbols.c, src/socket.c,
src/editor.h, src/ui_utils.c, plugins/export.c, plugins/vcdiff.c,
plugins/demoplugin.c, plugins/filebrowser.c, plugins/htmlchars.c,
plugins/autosave.c, plugins/pluginmacros.h, plugins/classbuilder.c:
Note: this commit breaks the plugin API.
Split widget fields out of GeanyApp into GeanyMainWidgets, so other
data items can be added without breaking the plugin ABI.
Add GeanyData::main_widgets, and macro.
Rename treeview_notebook sidebar_notebook in GeanyMainWidgets.
Move tools_menu from GeanyData to GeanyMainWidgets.
Move statusbar out of GeanyApp (shouldn't be used directly).
Move ignore_callback out of GeanyApp.
Rename sci_goto_line() argument unfold, like sci_goto_pos().
Make utils_goto_file_pos(), utils_goto_line(),
utils_switch_document() into static functions (they are UI-related,
so shouldn't be in utils.c).
Move utils_goto_pos() to editor.c, add mark argument.
2008-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/Makefile.am:
Specify the necessary libraries of each plugin to link against.
* configure.in, win32-config.h, src/gb.c:
Fix some quotations to not screw up the bash lexer.
Don't use /dev/random or /dev/urandom in gb.c, instead of GLib's
random functions.
2008-05-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Refactor editor_auto_line_indentation().
Make Smart Line Indentation set the cursor to the beginning of
indentation for single line selections, so the user can fine-tune
indentation if necessary. For multiple line selections, select all
the lines after indenting.
* src/keybindings.c, src/editor.c, src/editor.h:
Rename editor_auto_line_indentation() to
editor_smart_line_indentation().
2008-05-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c, doc/plugin-symbols.c,
plugins/export.c, plugins/vcdiff.c, plugins/demoplugin.c,
plugins/filebrowser.c, plugins/htmlchars.c, plugins/autosave.c,
plugins/pluginmacros.h, plugins/classbuilder.c:
Note: this breaks the plugin API.
Split GeanyFunctions out of GeanyData so data pointers can be
appended before the function pointer structs without breaking the
ABI.
Rename GeanyFunctions fields with a p_ prefix to avoid name
conflicts.
Add new plugin symbol geany_functions.
Nearly all plugins will now need to declare the following:
'GeanyFunctions *geany_functions;', which is now used by
pluginmacros.h.
Add doxygen examples for geany_data and geany_functions.
Move deprecated document and filetype typedefs to src/plugindata.h,
as plugins aren't required to use pluginmacros.h.
Initialize geany_data by copying a stack struct so the compiler can
check for any missing field initializers.
Rename plugin macro p_encoding to p_encodings to follow the core
function encodings_ prefix.
* src/msgwindow.c, src/editor.c:
Fix doxygen-1.4.6 warnings about undocumented function parameters
when using documentation comments e.g. for TODO.
* plugins/pluginmacros.h:
Add deprecated p_encoding alias for p_encodings.
* src/keybindings.c:
Fix Switch to Sidebar shortcut so that it works for whichever widget
is in the current sidebar notebook page (fixes #1967104).
* doc/Doxyfile.in, plugins/pluginmacros.h:
Add API documentation for pluginmacros.h.
Make Doxygen define GEANY_DISABLE_DEPRECATED.
* doc/plugins.dox:
Add Main Page links to plugindata.h and pluginmacros.h.
2008-05-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Force using tabs for indentation when opening Makefiles.
* plugins/pluginmacros.h:
Define p_editor in the right way, oops.
* doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c:
Allow loading projects from command line (closes #1961083).
2008-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/pluginmacros.h, plugins/vcdiff.c, src/build.c,
src/callbacks.c, src/dialogs.c, src/document.c, src/document.h,
src/editor.c, src/filetypes.c, src/filetypes.h, src/geany.h,
src/keybindings.c, src/keyfile.c, src/main.c, src/msgwindow.c,
src/notebook.c, src/plugindata.h, src/printing.c, src/symbols.c,
src/templates.c, src/templates.h:
Rename document struct to GeanyDocument.
Rename filetype struct to GeanyFiletype.
* src/build.c, src/build.h, src/plugindata.h:
Rename BuildInfo struct to GeanyBuildInfo.
2008-05-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/build.c, src/utils.c, src/ui_utils.h,
src/templates.h, src/keybindings.c, src/printing.c, src/prefs.c,
src/dialogs.c, src/prefs.h, src/plugindata.h, src/treeviews.c,
src/msgwindow.c, src/callbacks.c, src/notebook.c, src/keyfile.c,
src/search.c, src/search.h, src/document.c, src/plugins.c,
src/document.h, src/main.c, src/editor.c, src/editor.h, src/ui_utils.c,
plugins/export.c, plugins/filebrowser.c:
Note: this commit breaks the plugin API (but is necessary so that in
future the ABI can stay stable when adding preferences).
Split up prefs into interface_prefs, toolbar_prefs, file_prefs,
search_prefs, tool_prefs, template_prefs, and add these to the
plugin API.
Move suppress_search_dialogs and search_use_current_word to
search_prefs, and rename accordingly.
Rename switch_msgwin_pages pref to switch_to_status.
Remove toolbar_ prefix for toolbar_prefs items.
Remove tool_ prefix for tool_prefs items.
Remove template_ prefix for template_prefs items.
Add Geany prefix for EditorPrefs.
Add Geany prefix for SearchPrefs.
Initialize search_prefs to zero in main.c.
* plugins/filebrowser.c:
Make right clicking on items not lose the current selection, like
the standard GtkFileChooser.
Add separator before the Clear filter toolbar button.
2008-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/*.c src/*.h:
Move several editing related functions from document.c to editor.c.
Fix two compiler warnings about non-literal format strings.
* plugins/pluginmacros.h:
Make p_editor macro also available if GEANY_DISABLE_DEPRECATED
is not defined.
2008-05-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/document.c, src/document.h, src/editor.c,
src/editor.h, src/interface.c, src/keyfile.c, src/plugindata.h,
src/prefs.c, src/prefs.h, src/utils.c, src/utils.h, doc/geany.txt,
doc/geany.html:
Add preferences for default end of line characters for new files
(closes #1895362) and to disable the automatic continuation of
multi-line comments in C-like languages.
Enable multi-line continuation also for CSS files.
* src/document.c, src/document.h, src/msgwindow.c, src/msgwindow.h,
src/plugins.c, src/plugindata.h:
Add new function document_set_indicator_on_line() for future use.
Add some functions to the plugin API for the upcoming spell check
plugin.
* plugins/vcdiff.c:
Change an error message to be more clear about the error.
* src/templates.c:
Remove unnecessary case statement for PHP files, can be handled by
the default case.
* src/filetypes.c:
Add shebang detection for Makefiles.
* src/build.c, src/plugindata.h, src/msgwindow.c, src/callbacks.c,
src/filetypes.c, src/document.c, src/plugins.c, src/document.h,
src/main.c, src/editor.c, src/editor.h, plugins/pluginmacros.h:
Move indicator functions from document.c into editor.c.
2008-05-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Sort custom template file menu items by filetype, with None
filetypes first.
* src/document.c:
Recolourise the document in document_reload_file() because the
text may have changed (should fix #1948857).
* src/document.c:
Fix line breaking not getting reset for new documents sometimes.
Merge all document default settings into init_doc_struct().
* HACKING:
Update adding a filetype section, make clearer.
2008-05-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/utils.c, src/ui_utils.h, src/ui_utils.c,
doc/geany.txt, doc/geany.html, TODO:
Add support for custom file templates found at startup in the
~/.geany/templates/files directory. These are currently shown
underneath filetype templates in the New with Template menu.
Add ui_menu_item_get_text().
Make utils_string_replace_all() ignore empty haystacks.
* src/templates.c:
Create ~/.geany/templates/files directory if it doesn't exist.
2008-05-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/filetypes.xml:
Use Javascript styles for any VBScript and ASP code embedded in a
HTML file.
Use Python styles for embedded Python code.
* src/highlighting.c:
Remove hotspot code as it was never really used.
* src/socket.c:
Iconify the main window on Windows before de-iconifying it when
opening files remotely to ensure the main window pops up.
* src/symbols.c:
Clear a document's symbol list first after it was detached from its
container to prevent crashes when saving files with collapsed
symbol list items.
2008-05-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/prefs.c:
Use gtk_window_present() instead of gtk_widget_show() for Open File
and Preferences dialog.
2008-05-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/prefs.c, src/callbacks.c, src/callbacks.h,
src/keyfile.c, src/document.c, src/document.h, src/editor.c,
src/editor.h, src/ui_utils.c, geany.glade, TODO, doc/geany.txt,
doc/geany.html:
Add basic Line Breaking option in the Document menu. Line breaking
only works when typing characters past the line breaking column
number.
Add 'Line breaking column' editor pref.
* src/callbacks.c, src/callbacks.h, src/interface.c, src/keyfile.c,
src/main.c, src/ui_utils.c, geany.glade:
Rename old uses of line breaking -> line wrapping. This includes the
keyfile pref, so any users with this enabled will have to reset it.
* doc/geany.txt, doc/geany.html:
Update Code Navigation section for build errors and message items.
Correct Load Tags menu item being in the Tools menu now.
Document 'Disk check timeout' pref.
* src/plugindata.h:
Update api_version for new line breaking struct fields.
* src/filetypes.c:
Set filetype::id automatically in filetype_add().
* src/filetypes.c:
Add source_only argument for filetypes_find_source() and rename.
2008-05-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Fix C headers getting detected as C++ files (iterate through
filetypes_array, not filetypes_hash as the order is not consistent
with the filetype_id enum).
Add static function filetypes_find_source().
2008-05-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/build.c, src/utils.c, src/win32.c,
src/highlighting.c, src/dialogs.c, src/plugindata.h,
src/msgwindow.c, src/keyfile.c, src/keyfile.h, src/filetypes.c,
src/filetypes.h, src/document.c, src/plugins.c, src/main.c,
src/symbols.c, src/ui_utils.c, plugins/vcdiff.c,
plugins/pluginmacros.h:
Merge revisions 2537:2558 from the custom-filetypes branch:
Note: this breaks the API.
This commit is to restructure most of the filetypes code that
affects the plugin API, custom filetype support is not implemented.
Add filetypes_array to GeanyData for plugins to access a dynamic
array of filetype pointers.
Remove old filetypes array from API.
Use a hash table for filetypes, using filetype::name keys.
Replace filetypes_get_from_uid() with filetypes_lookup_by_name().
Store filetype::name instead of unique ID when saving sessions.
Remove all filetype UID code.
Add GEANY_MAX_BUILT_IN_FILETYPES.
Remove GEANY_MAX_FILE_TYPES - use filetypes_array->len (or
GEANY_MAX_BUILT_IN_FILETYPES) instead.
Rename GEANY_FILETYPES_ALL GEANY_FILETYPES_NONE.
Make Open dialog file filter work for filetypes added after
GEANY_FILETYPES_NONE (really the None filetype should be made the
first element in filetypes_array, but this would need rewriting
quite a lot of code).
Add deprecated aliases for GEANY_MAX_FILE_TYPES and
GEANY_FILETYPES_ALL.
Remove unused filetype::item field.
Create FullFileType private type that 'inherits' from filetype
(FullFileType* can be cast to filetype*). This is used in
filetype_new() to hide filetype struct fields from the API.
Remove radio_items[] and use FullFileType::menu_item instead.
Make filetypes_detect_from_extension() work for all filetypes
in filetypes_hash.
Add filetype_new() to create and initialize a new filetype.
Refactor open_session_file() from configuration_open_files().
Refactor get_session_file_string() from
configuration_save_session_files().
Refactor create_set_filetype_menu() from filetypes_init().
Move print_filetypes() out of parse_command_line_options();
2008-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Add a note about the limitation of matching only line by line
when using regular expressions.
2008-05-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Show an error dialog with an appropriate message when a file could
not be saved.
* THANKS, src/about.c:
Update email address of Dormouse Young.
* tagmanager/html.c:
Fix parsing when heading tags contain attributes (part of #1896068).
2008-04-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, tagmanager/lregex.c, tagmanager/include/regex.h,
tagmanager/regex.c,tagmanager/include/Makefile.am,
tagmanager/include/gnuregex.h, tagmanager/Makefile.am :
Add configure option --enable-gnu-regex to implicitly build the
included GNU regex library (in case the host system doesn't provide
a usable regex library).
Rename tagmanager/include/regex.h in tagmanager/include/gnuregex.h
to avoid unintended inclusion in source files (this fixes the
OpenSolaris crashes).
* src/encodings.c:
Don't use GNU regex specific regex_t::buffer element to build also
without this extension (e.g. on OpenSolaris).
* autogen.sh:
Don't check for CVS directory as we don't use CVS anymore and remove
non-portable -path option of find.
* src/document.c:
Fix crash when trying to change the encoding of a file
(introduced in r2529).
* src/keybindings.c:
Allow Ctrl-A (or whatever "Select All" has been set to) to select
all text in the scribble text widget (closes #1952335).
2008-04-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Refactor write_data_to_disk() and save_convert_to_encoding()
from document_save_file().
Include missing error string in error message when writing the
file failed.
* tagmanager/ctags.c:
Set ExecutableName to "geany" to prevent possible crashes on
Windows and maybe other systems.
2008-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Add/reorder a recent file item when closing a document.
* src/utils.c:
Make utils_is_absolute_path() a NULL-safe version of
g_path_is_absolute().
2008-04-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.xml, data/filetypes.javascript, src/highlighting.c:
Unify the embedded JavaScript styles with the styles of the
JavaScript filetype for a more consistent styling of JavaScript in
general.
2008-04-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Make utils_get_file_list() use a case-insensitive search so that the
file browser lists files and directories in a more intuitive order.
* src/project.c:
Fix build because of wrong document_close_all() usage - oops.
* src/callbacks.c, src/document.c, src/document.h:
Move Close All functions to document.c.
Add document_account_for_unsaved().
2008-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c, src/project.h, src/geany.h, src/keyfile.c,
src/symbols.c, src/editor.h, doc/geany.txt, doc/geany.html:
Move non-general compile-time constants into their relevant source
files.
* src/utils.c, src/interface.c, src/prefs.c, src/prefs.h, src/keyfile.c,
geany.glade:
Make disk check timeout configurable in the prefs dialog Files tab.
Make a value of zero disable disk checks.
* src/project.c, src/document.c, src/document.h:
Add document_close_all() and use it in project.c.
2008-04-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c:
Fix GLib warning when starting with a new config.
* src/prefs.c:
Fix wrong usage of gtk_file_chooser_get_filename() in callback of
Open File dialogs in the preferences dialog.
* plugins/autosave.c, src/search.c, src/document.c:
Make use of ngettext() for strings with plural forms.
* Makefile.am:
Add target "sign" to sign generated tarballs with gpg.
* plugins/filebrowser.c:
Add file filter text entry (patch by Robert McGinley, thanks).
2008-04-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Don't chmod created run script when using the Run command and
execute the script with /bin/sh on Unix-like systems to be able
to run files on FAT filesystems.
* geany.glade, src/interface.c:
Fix wrong tooltip for "Show Increase and Decrease Indentation
buttons" in the preferences dialog.
2008-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/js.c:
Make property tags be recognised in the symbol list.
* src/document.c, src/navqueue.c, src/navqueue.h:
Clean related navigation queue items when closing a document.
* New release: Geany 0.14 "Selit".
* configure.in, geany.nsi, geany_private.rc, win32-config.h,
doc/geany.txt, doc/geany.html, src/geany.h:
Post-release version bump.
2008-04-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
Move 'Switching between documents' from prefs Interface section into
new Documents section.
Remove repeated title text of preference dialog tab sections.
Edit preferences descriptions for clarity.
Comment out some unexplained General preferences.
Fix some prefs typos, add some links and expand some descriptions.
Correct some wrong preferences descriptions (e.g. Back/Forward
buttons).
2008-04-18 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, NEWS, src/about.c:
Added Chikahiro Masami as new translator for Japanese translation.
2008-04-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/navqueue.c, src/plugindata.h, src/navqueue.h, src/plugins.c,
plugins/pluginmacros.h:
Add navqueue_goto_line() to plugin API.
Make navqueue_goto_line() store document filename instead of
tagmanager filename (patch by Yura Siamashka, thanks).
This makes it also possible to add navigation history items for files
without a tagmanager filename.
* tagmanager/make.c:
Improve Makefile parser for better parsing of targets
(from CTags' patches tracker, for reference this is patch v3).
2008-04-16 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, NEWS, src/about.c, po/LINGUAS, po/ro.po:
Added Romanian translation (Thanks to Alex Eftimie).
2008-04-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/callbacks.c, src/callbacks.h, NEWS, geany.glade:
Make pressing escape in the sidebar focus the editor.
Group toolbar GtkEntry escape key checks into a common callback.
* src/main.c:
Refactor handle_cl_filename() from open_cl_files().
* src/callbacks.c:
Fix geany_debug() warnings with Close All.
* src/keyfile.c, src/plugins.c, src/plugins.h:
Move plugin keyfile pref saving and loading to plugins.c.
* src/plugindata.h, src/geany.h, src/plugins.c, src/main.c:
Remove active_plugins from GeanyApp.
* src/plugins.c, NEWS:
When quitting, remember plugin filenames that couldn't be loaded at
startup as well as active plugins.
2008-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/images/pref_dialog_gen.png:
Update for 0.14.
* plugins/makefile.win32, scintilla/makefile.win32, src/makefile.win32,
tagmanager/makefile.win32:
Add DEBUG flag to all Windows makefiles to make it possible to build
with debug symbols and without optimizations also on Windows
(using make DEBUG=1).
2008-04-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/callbacks.h:
Fix wrong return value for on_close_all1_activate() callback.
Fix broken Close All command by not double checking for validity
of a document.
* TODO:
Remove "documentation: preferences" item as it has been mostly done
by Robert McGinley.
2008-04-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, doc/geany.txt, doc/geany.html:
Add documentation for several options in the preferences dialog
(patch from Robert McGinley, thanks).
* src/filetypes.c, src/ui_utils.c:
Revert the translatable filetype name of filetype All, add a
workaround in ui_update_statusbar() instead.
* data/filetypes.xml, src/highlighting.c:
Update PHP keywords (closes #1939931).
2008-04-10 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/filetypes.c: Make another string translatable. Thanks to Adrovane
Kade for reporting.
2008-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Fix a couple of wrong or missing checks to prevent auto completion
in comments in several filetypes.
* THANKS, scripts/create_php_tags.php, data/php.tags:
Add script to generate PHP tags file (by Matti Mårds, thanks).
Update PHP tags file to latest PHP API docs (closes #1888691).
* src/navqueue.c, src/utils.c, src/utils.c:
Make navigation queue position based to restore the line and column
when returning to a previous position (closes #1936927).
2008-04-09 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/ui_utils.c: Make some more strings translatable. Thanks to
Adrovane Kade for reporting.
2008-04-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in:
Add an explicit check for a C++ compiler (#1938040).
* plugins/Makefile.am:
Avoid linking plugins against GTK libraries which seems unnecessary.
2008-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/document.h, src/main.c, src/project.c:
Add document_new_file_if_non_open() to open new documents if no
other documents are open.
* src/editor.c:
Backport a bugfix from Scite to fix folding problems.
* Makefile.am, scripts/intl_stats.sh, po/intl_stats.sh:
Move intl_stats.sh script back to po directory to not have to
include the scripts directory in the distribution.
* src/win32.c:
Fix compiler warnings by correct type casting.
* src/symbols.c:
Fix possible crash by an uninitialized variable.
2008-04-06 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS: Added Dominic Hopf to list of translation supporters.
2008-04-04 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* Makefile.am: Fix issue on make dist with intl_stats.sh-script.
* scripts/changelist.pl: Make help output better readable if there are
not enough arguments given.
2008-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Make Close All check for unsaved documents first before closing any,
so that clicking cancel keeps all documents open.
This also prevents the UI from not being updated after cancelling
Close All.
* NEWS, plugins/filebrowser.c:
Add configurable keybindings for focusing the Path Entry and File
List.
Refactor load_settings() from init().
2008-04-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c:
Fix missing menu accelerators for default keybindings on startup.
Fix too small dialog window when showing the keyboard shortcuts
dialog from the help menu.
* src/plugins.c:
Show warning about ABI mismatch when loading plugins in the status
message window to avoid confusion about missing plugins.
2008-04-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Fix GTK warnings in open file dialog by using a positive response ID
for the View button.
* src/callbacks.c, src/main.h, src/project.c:
Ignore notebook_switch_page signal handler when closing projects
to speed it up a little bit with many session files.
* po/intl_stats.sh, scripts/intl_stats.sh:
Move intl_stats.sh script to scripts directory and make it working
from top source directory.
* src/document.c:
Avoid setting line number margin twice when creating new tabs, also
don't call gtk_notebook_set_current_page() explicitly as it isn't
necessary.
* geany.glade, src/interface.c:
Make the notebook tabs in the messages window scrollable.
2008-04-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/plugins.c, geany.glade:
Move Load Tags item from File to Tools menu.
Capitalize Page Setup item.
Add separator before Plugin Manager item.
* src/navqueue.c, src/msgwindow.c:
Make navqueue_goto_line() ignore an invalid old document index, and
ignore any documents that don't have a tagmanager work object.
Make Next Error and Next Message commands add positions to the
navqueue, so the user can return to where they were and also so they
can move backwards through error and message items.
2008-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/interface.c, src/vte.c, plugins/export.c,
plugins/classbuilder.c, geany.glade:
Add missing mnemonics (except for 3 popup menu items, ran out of
letters).
Capitalize some menu items.
* src/interface.c, geany.glade:
Add 3 remaining mnemonics for popup menu, copy Insert include
mnemonic - even though these have conflicts, just let GTK toggle
between them.
2008-03-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Unfold hidden code when the fold point modified
(e.g. commented out, fixes #1923350).
* geany.pc.in:
Add datadir and localedir to Geany's pkgconfig file.
* src/callbacks.c:
Fix usage of wrong pointer when showing the toolbar popup menu.
2008-03-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/vcdiff.c:
Rename VCDiff plugin Version Diff.
* src/plugindata.h:
Document most of GeanyData, add links to files.
Make PluginData alias deprecated.
* src/utils.c:
Fix getting asked whether to reload a file twice, when a disk check
is forced immediately after a disk check has been done.
* src/document.c:
Split document_create_new_sci() into document_create() and
create_new_sci().
Rename filename parameter utf8_filename.
* src/keybindings.c:
Check file on disk for changes (with timeout) when pressing a key.
* src/keyfile.c:
Ignore documents with no absolute path when saving session files.
* src/build.c:
Fix segfault with Run command when a project is open and the current
file's filetype has no run command.
2008-03-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/*, scintilla/include/*:
Update Scintilla to version 1.76.
* scintilla/include/Scintilla.iface:
Add this file for plugin authors.
* plugins/vcdiff.c:
Fix two memory leaks and prevent showing two dialog boxes with the
same error message.
* src/document.c, src/win32.c, src/win32.h:
Add support for resolving Windows shortcuts when opening files and
open the shortcut's target.
2008-03-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/pluginmacros.h:
Rename p_filetype p_filetypes to keep the symmetry with filetypes_*,
and define it also when GEANY_DISABLE_DEPRECATED is not set.
* HACKING:
Add note about not appending to structs like KeyBindingGroup and
GeanyCallback.
* src/plugindata.h, doc/plugin-symbols.c, doc/plugins.dox, plugins/*.c:
Rename VERSION_CHECK PLUGIN_VERSION_CHECK, but keep a deprecated
alias so outside plugins still compile.
Update our plugins to use this.
2008-03-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugins.c, src/plugindata.h:
Add document_set_filetype() and filetypes_get_from_uid() to
the plugin API.
* plugins/pluginmacros.h:
Add p_filetype.
2008-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix Python auto-indentation when line endings are set to CR/LF.
* src/keybindings.h, src/plugindata.h:
Add note about allowing appending of keybindings to groups without
breaking the API.
Undo unnecessary ABI change.
* src/plugindata.h:
Redo ABI change (it was for r2389 editor.h change, oops).
* src/symbols.c:
Make Go to Tag commands look for the tag in the current document
before searching the workspace.
Fix memory leaks when using tm_tags_extract().
2008-03-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.common, doc/geany.txt, doc/geany.html,
src/highlighting.c:
Add styles to customize line and search marker and add
translucency setting.
* tagmanager/make.c, src/symbols.c:
Update Makefile parser from CTags SVN and improve it to detect
targets in Makefiles.
* geany.glade, src/interface.c, src/prefs.c, src/prefs.h, src/keyfile.c
src/callbacks.c, src/search.c, src/editor.c, src/editor.h,
geany.glade:
Add preference for not using the current word under the cursor when
opening Find dialogs.
* src/keybindings.c, src/keybindings.h, src/plugindata.h:
Add shortcut to switch to the sidebar.
* src/ui_utils.c:
Small improvement in counting changed documents for Save All update.
2008-03-23 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* doc/plugins.dox: Fix a little typo that prevents docu from being build.
2008-03-22 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Adjusted email of Brahmann.
2008-03-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
When opening the manual on the website, include version string to
ensure the appropriate manual version is shown.
* src/prefix.h, src/main.c, src/Makefile.am, doc/Makefile.am:
Use configure's --docdir option when installing and using the
documentation.
* data/snippets.conf:
Add better "for" completion for Python.
* tagmanager/tcl.c, src/symbols.c:
Update TCL parser from CTags SVN which adds new symbol types for
classes and methods (closes #1918748).
* data/snippets.conf:
Add missing colon to "for" snippet for Python and set cursor position
(thanks mamaar on IRC).
* src/win32.c:
Fix crash on Windows due to missing error message when a process
spawning fails.
* src/treeviews.c:
Allow selecting items in the symbol list by pressing Enter or Space.
2008-03-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
When closing tabs that were opened left-to-right, don't temporarily
focus the previous tab when closing tabs, to prevent unnecessary
checking for disk changes.
* src/win32.c, src/dialogs.c, src/document.c, src/document.h:
Only use filetype detection after Save As, not on every save when the
filetype is None (fixes #1891778).
* src/dialogs.c, src/document.c:
Replace untitled file header filename after Save As and add to recent
files on Windows too.
* src/utils.c:
Fix asking detect reload question again if the user doesn't respond
within 10 seconds (oops).
2008-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* HACKING: Add note and link for GTK 2.6 API docs.
2008-03-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/plugin-symbols.c, doc/Makefile.am, doc/plugins.dox:
Move plugin symbols page into separate source file so that symbols
are listed as variables and functions and are autolinked.
Edit plugin symbols description, document some function parameters.
* doc/plugins.dox:
Add page links on the main page (easier than going to Related Pages,
and we can also list special files like plugin-symbols.c).
* src/utils.c:
When detecting a change on disk, reload the file after all pending
Scintilla messages have been processed, to prevent problems with
partial colourisation.
* src/symbols.c:
Fix bug with showing macro list items all on one line.
* src/plugins.c:
Load and save plugin keybindings when toggling plugins in the Plugin
Manager.
* doc/geany.txt, doc/geany.html:
Update configurable keybindings section for new plugin groups
ordering.
s/tabulator/tab/.
Move scroll by one line shortcuts to configurable keybindings
section.
2008-03-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Set mnemonic for Plugin Manager.
Use GTK_RESPONSE_CANCEL for Plugin Manager dialog so pressing escape
closes the dialog.
2008-03-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c, src/symbols.c, src/symbols.h:
Save sorting order of the symbol list when saving a file (#1917262).
* data/filetype_extensions.conf, src/filetypes.c:
Add ".xhtml" extension for filetype XML (#1914587).
2008-03-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, doc/geany.html:
Add a note about column mode editing.
* src/editor.c:
Fix broken auto multiline comment with files in CR/LF mode.
* src/win32.c:
Fix encoding problems with project file dialogs.
* src/plugins.c:
Rework internal handling of plugin/module loading.
At startup, only load enabled plugins, all others are only loaded
when the plugin manager is opened and get completely unloaded when
it is closed.
* data/filetypes.caml, data/filetypes.cpp, data/filetypes.c,
data/filetypes.d, data/filetypes.fortran, src/build.c:
Remove old and useless code from build_link_file().
Don't add "-o" compiler option automatically instead make it
configurable through linker command.
* data/filetypes.python, src/highlighting.c:
Add additional keyword group for python and slightly change the
foreground colour for style "word2".
* geany.glade, src/dialogs.c, src/interface.c:
Fix modal dialog problems on Windows by not setting taskbar hint
(closes #1916994).
2008-03-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/projects.c: Fix wrong directory when choosing project filename
in the New Project dialog.
* scintilla/Editor.cxx: Add (basic) column mode editing, pasting text
does not work. Patch by chuck, thanks.
2008-03-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Set main menu accelerators for keybindings.
* src/keybindings.c, src/keybindings.h, src/plugindata.h,
plugins/htmlchars.c:
Make KeyBinding name and label fields non-const strings so they can
be freed by any plugins that need to use malloc'd strings.
Document KeyCallback typedef.
* HACKING:
Replace Plugins chapter with 'Writing plugins' section.
Add generating plugin API documentation section.
Replace 'Modifying data types' with 'Keeping the plugin ABI stable'
section.
Add note about using -ansi.
2008-03-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/Makefile.am: Add prefs.h to the list of installed header files.
* src/win32.c: Fix crashes on Windows when error argument of
utils_spawn_* is NULL.
* src/build.c, src/win32.c, src/win32.h:
Add win32_get_exit_status() to retrieve the exit code from a
command on Windows (code moved from build.c).
* geany.spec.in: Add pkg-config file and new include directory to the
files section (thanks to Dominic Hopf).
* src/tools.c:
Fix freeze when reading from stderr when using "Send Selection To".
Don't modify current selection if the executed command returned error
messages and/or an unsuccessful exit code.
Improve error reporting when using "Send Selection To" (#1909452).
2008-03-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, doc/plugins.dox:
Update documentation for plugin_key_group[] to mention declaring it
manually.
* src/keybindings.c, src/keybindings.h, src/plugins.c, doc/plugins.dox:
Check plugin keybinding group name is valid.
Ignore plugin keybinding groups with no elements defined.
* src/utils.c, src/document.c:
Fix Doxygen undocumented parameter warnings.
2008-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, src/search.c:
Use monospace font for text entry fields in search dialogs and add
a notice how to change the used font (#1907117).
* src/plugins.c: Don't load all available plugins on startup, it's only
necessary opening the plugin manager.
* src/keyfile.c, src/search.c:
Use the default values for various tools if they don't exist in the
config file instead of using g_find_program_in_path(), patch by
Yura Siamashka (thanks).
Fix executable check for grep command.
* scintilla/include/Makefile.am, src/Makefile.am, plugins/Makefile.am,
tagmanager/include/Makefile.am, Makefile.am, geany.pc.in,
configure.in:
Install header files and add a pkg-config file for external plugins.
* geany.glade, src/interface.c:
Add missing accelerator for string "Toggle All Additional Widgets".
* plugins/htmlchars.c: Use a separate string for keybinding label to
avoid display of an underscore.
* src/callbacks.c, src/tools.c: Fix compiler warnings about
uninitialized variables.
2008-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/keybindings.c, src/keybindings.h,
src/tools.c, src/prefs.c, src/plugindata.h, src/callbacks.c,
src/plugins.c, src/main.c, doc/plugins.dox, plugins/filebrowser.c,
plugins/htmlchars.c:
Merge plugin-keybindings branch:
Change keybindings code to use keybinding groups, each with a
separate enum set, which will make the plugin ABI more stable, and
lay the groundwork for plugin keybindings support.
Note: this breaks the plugin API.
Rename keybindings_cmd() to keybindings_send_command(), which now
takes a group_id argument.
Add keybindings_lookup_item().
Add documentation for keybindings structs.
Add support for plugin keybindings using the PLUGIN_KEY_GROUP()
macro.
Add a plugin keybinding for 'Insert Special HTML Characters'.
Rename KBCallback, cmd_id, cb_func with clearer names.
Add KeyBinding::menu_item field for setting accelerators (currently
does nothing).
Load keybindings keyfile after plugins have loaded at startup, so
their shortcuts are also loaded. Still to do: loading individual
plugin keybindings after startup.
Group most keybinding callbacks together according to keybinding
group.
Add keybindings_set_item() and add it to the plugin API.
Set main menu widget accels with keybindings_set_item() - they are
ignored for now. Popup menu accels are set separately.
* doc/geany.txt, doc/geany.html:
Update 'Filtering out version control files' section for new versions
of GNU Grep.
* src/keybindings.c:
Fix bug with keybindings using check_current_word().
2008-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Use SCI_SETSCROLLWIDTHTRACKING to improve horizontal scrollbar
behaviour by always adjusting to the longest line (part of #1905141).
* src/filetypes.c, src/symbols.c, tagmanager/parsers.h,
tagmanager/makefile.win32, tagmanager/html.c, tagmanager/Makefile.am:
Add HTML parser to get h1, h2, h3 symbols as well as link anchors and
JavaScript functions (closes #1896068).
2008-03-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/Doxyfile.in, doc/Makefile.am:
Use doxygen option QUIET to disable non-warning messages instead of
redirecting output to /dev/null.
* src/keyfile.c:
When opening session files, don't try to set document properties if
the document can't be opened.
* data/filetypes.common, doc/geany.html, doc/geany.txt,
src/highlighting.c, src/sciwrappers.c:
Add opton to style "caret" to change the caret into a block caret.
Add new styles "translucency", "line_wrap_visuals" and
"line_wrap_indent" to filetypes.common (#1905141).
2008-03-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Apply patch from Jeff Pohlmeyer (thanks) to fix toggle case with
rectangular selections (works only for Ascii characters).
2008-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/filetypes.h, src/symbols.c:
Apply patch from Yura Siamashka to use she-bang filetype detection
also in filetypes_detect_from_filename() which let plugins benefit
from this feature.
* src/document.c:
Don't open zero byte sized files read-only (e.g. files in /proc).
* src/symbols.c, tagmanager/fortran.c, tagmanager/keyword.c,
tagmanager/js.c, tagmanager/asm.c, tagmanager/c.c:
Backport js.c and asm.c from CTags SVN.
Fix Assembler tagmanager support and add appropriate symbol types.
Fix JavaScript parse bug (#1895242).
Change default return value of lookupKeyword() in keyword.c as it was
done in CTags SVN(r339) and adjust affected parsers.
2008-03-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/fortran.c, src/symbols.c:
Adjust available symbol types between Fortran parser and symbols.c to
make some more of the possbile symbol types available.
2008-02-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/utils.h, tagmanager/parse.h:
Replace unsigned long in guint64 and use int instead of off_t
(patch by Daniel Richard G., thanks).
* src/sciwrappers.c: Make Scintilla remember the current column when
changing the cursor position (#1902732).
2008-02-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/*, scintilla/*, src/*, tagmanager/*:
Replace all C++-style comments with usual C-like multi-line comments.
* src/keybindings.c: Fix ignoring of some keybindings when caps lock is
active (introduced in r2253).
* src/document.c, src/utils.c, src/utils.h:
Fix a few more compiler warnings (type conversion warnings).
* src/utils.c, src/win32.c, src/win32.h:
Apply patch from Pierre Joye to improve new Win32 process spawning
code (thanks).
* geany.desktop.in.in, TODO:
Enable startup notification in desktop entry file and remove it from
TODO list.
2008-02-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Move symbols_global_tags_loaded() out of styleset_common().
* src/symbols.c:
Load ignore.tags even when global tags loading is disabled on the
command-line, so that local tags in each open file can be ignored.
2008-02-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
When closing a tab when using left-to-right tabs, focus the next
document, not the previous.
* src/search.c, src/document.c:
Don't beep when using Replace All in Session unless all open files
have no replacements (fixes #1893796).
2008-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/options.c, src/symbols.c, src/symbols.h:
Define c_tags_ignore in options.c (tagmanager) instead of symbols.c.
* configure.in:
Apply patch from Yura Siamashka to add a check for the presence of
fnmatch(), thanks.
* THANKS, plugins/vcdiff.c, src/plugindata.h, src/plugins.c,
src/utils.c, src/utils.h, src/win32.c, src/win32.h:
Apply patch by Pierre Joye to add new process spawning implementation
for Windows. Make utils_spawn_* available to plugin API.
This makes the VCdiff plugin to work on Windows (thanks).
* makefile.win32:
Make the make command overwritable, patch by Pierre Joye. Thanks.
2008-02-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/options.c:
Use extern for c_tags_ignore declaration to avoid allocating a
second copy of it (patch by Daniel Richard G., thanks).
* src/callbacks.c, src/search.c, src/document.c, src/editor.c,
src/editor.h:
Don't scroll the editor view if it is unnecessary when using Find
Next/Previous, Find Selected and when searching from the search bar.
* src/keybindings.c, src/sciwrappers.c:
Don't scroll the editor view if it is unnecessary when using Go to
Marker or Go to Matching Brace commands.
Make sci_set_current_line() not scroll the view, unlike
sci_goto_line().
2008-02-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/Makefile.am, src/Makefile.am:
Fix more cross-compiling issues including little cleanup.
2008-02-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, src/editor.c, src/editor.h,
src/keyfile.csrc/plugindata.h:
Rename hidden pref auto_complete_whilst_editing to
complete_snippets_whilst_editing.
2008-02-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/*, src/*, tagmanager/*:
Apply patch from Daniel Richard G. to fix to fix several
compiler warnings, C89 violations and minor code problems (thanks).
* configure.in, scintilla/ScintillaGTK.cxx, src/Makefile.am:
Apply patch from Yura Siamashka to fix cross-compiling (thanks).
2008-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Apply patch from Jeff Pohlmeyer to mark the VTE also as
clean when Ctrl-C is pressed (thanks).
* src/socket.c: Fix compiler warnings on Windows.
* doc/geany.html, doc/geany.txt, src/symbols.c, src/symbols.h,
tagmanager/options.c:
Add support for reading tags(only for C/C++) from a file which should
be ignored while parsing the file (ctags command line option -I).
2008-02-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, doc/Doxyfile.in, doc/Makefile.am, doc/plugins.dox,
src/dialogs.c, src/dialogs.h, src/document.c, src/document.h,
src/encodings.c, src/encodings.h, src/plugindata.h, src/utils.c,
src/utils.h:
Add support for generating API reference documentation using doxygen.
This is the first step, it is far away from being complete.
Add make target "api-doc" to generate the reference documentation.
Add documentation comments to a few functions.
Move basic plugin documentation from plugindata.h to doc/plugins.dox.
2008-02-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt:
Fix slightly wrong documentation for show_editor_scrollbars.
* THANKS, doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c:
Apply patch from Daniel Richard G. to add support for +NNN command
line arguments and for recognising filename:line:column: format on
the command line (thanks).
2008-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c: Fix parsing bug when there is text after the
end of a multi line comment (closes #1894084).
* src/socket.c: Apply patch from Daniel Richard G. to update some
source code comments (thanks).
* doc/geany.html, doc/geany.txt, src/document.c, src/editor.h,
src/keyfile.c:
Add hidden preference to disable scrolling past end of document.
2008-02-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.h: Fix broken compilation with GTK < 2.10.
* src/document.c, src/encodings.c, src/treeviews.c, src/vte.c:
Fix some compiler warnings.
2008-02-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/search.c, src/ui_utils.c:
Allow using Find In Files dialog even if no files are open
(closes #1891818).
* src/main.c, src/socket.c:
Allow start of Geany with given files on the command line but
without a writable temporary directory and without a writable
configuration directory.
Improve filename of created symlink to the socket file.
* src/document.c: Don't force unique line ending characters when saving
files to avoid unexpected saving behaviour.
* src/keybindings.c, src/keybindings.h, src/prefs.c:
Use a modifiers mask to ignore unwanted modifiers(caps lock,
num lock) when handling key presses (maybe fixes #1891276).
* src/dialogs.c:
Fix compiler warnings.
Improve Save As dialog usability problems.
2008-02-11 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS: Added Nikita E. Shalaev to list of
Russian translaters.
2008-02-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/navqueue.c, src/navqueue.h, src/symbols.c, src/treeviews.c:
Apply patch from Yura Siamashka to fix wrong navigation queue items
(thanks).
* src/editor.c:
Add workaround for a Scintilla bug in HTML/PHP lexer which styles the
last line of document wrong when in PHP mode.
* README.Packagers: Add some notes for package maintainers.
* src/socket.c:
Use a random integer as part of socket file name instead of current
time stamp.
Before creating a new socket, delete a maybe existing socket and its
symlink.
Apply patch from Daniel Richard G. to include the hostname in the
socket filename (thanks).
* src/utils.c, src/win32.c, src/win32.h:
Add support for getting hostname on Windows.
2008-02-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c:
Fix crash on Windows when a project could not be opened.
* src/win32.c:
Remove prefix from win32_get_file_filters() and win32_get_filters().
Fix some encoding problems with filenames retrieved from the native
Windows file dialogs.
* src/sciwrappers.c:
Fix wrong placement of long line marker (closes #1889392).
2008-02-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/Makefile.am: Fix typo (thanks Slava Semushin for reporting).
* scintilla/include/Platform.h:
Use a better check for PLAT_GTK_WIN32 (backport from Scintilla CVS).
* src/socket.c:
Create the Unix Domain Socket for detecting a running instance in
system's tmp directory and create a symlink to it in Geany's
configuration directory (closes #1888561).
* src/socket.c:
Include display number for the filename of the symbolic link to the
real Unix Domain Socket file (closes #1888565).
2008-02-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/autosave.c, plugins/filebrowser.c:
Make forgotten strings translatable.
2008-02-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/include/Platform.h: Fix definition of PLAT_GTK_WIN32 on
Windows to fix Copy&Paste problems.
* New release: Geany 0.13 "Vensell".
* configure.in, geany.nsi, geany_private.rc, win32-config.h,
src/geany.h: Post-release version bump.
2008-02-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html:
List Cut, Copy, Paste keybinding descriptions.
* src/plugindata.h, src/plugins.c:
Add sci_get_current_line() to plugin API.
Add ui_table_add_row(), ui_path_box_new() to plugin API (thanks to
Yura Siamashka).
* doc/geany.txt, doc/geany.html, NEWS:
Show default shortcuts in Keybindings section.
* src/plugindata.h, src/plugins.c:
Add ui_button_new_with_image() to plugin API.
2008-02-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, images/*: Update images for 0.13.
* src/geany.h: Reduce minimum window size to 550x350 (closes #1883367).
2008-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.txt, doc/geany.html, NEWS:
Add Indentation subsection under Editor section.
* doc/geany.txt, doc/geany.html, NEWS:
Update Project section for project-based session support.
2008-01-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/autosave.c: Fixed a little typo
(Thanks to Jeff Bailes for reporting)
2008-01-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Fix saving project session from a 2nd instance of Geany.
* data/global.tags:
Update for GTK+ 2.12.5.
This also adds return type modifiers like const and *.
Command used (on Fedora 8):
'CFLAGS=`pkg-config --cflags gtk+-2.0` geany -g gtk-2.12.c.tags
/usr/include/gtk-2.0/gtk/gtk.h'
2008-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c:
Open a new, empty file when closing a project and no session files
are available or when opening a project without stored session files.
Close all open files when opening projects.
* src/printing.c: Fix losing line breaks when printing a file with LF
line endings and a non-Ascii character at the end of
a line.
2008-01-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Allow case sensitive replace when the replace string varies only
in case.
* src/keybindings.c, src/keybindings.h:
Rename binding type KeyBinding.
* src/search.c:
Factor out get_search_flags() from Find, Replace dialog response
code.
2008-01-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/pluginmacros.h, src/plugindata.h, plugins/*.c:
Add new macros for plugin API functions that use a 'p_' prefix to
prevent conflicts with other tags whilst keeping the same first word
as core function names, and update plugins to use them.
The old plugin macros are still available, but will be removed
after the next release.
Compiling with -DGEANY_DISABLE_DEPRECATED in CFLAGS will disable
the old macros.
2008-01-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/printing.c:
Fix crash on Windows when printing an untitled file.
Fix black line number margin when printing by using also pre-defined
styles.
2008-01-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Remove unnecessary save of project keyfile.
* src/callbacks.c, src/main.c:
Close any project before closing all documents so the project
session files are saved.
2008-01-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geanywraplabel.c, src/geanywraplabel.h:
Move class and label structs to geanywraplabel.c.
Override widget functions instead of using event handlers
(trying to fix #1869399).
* src/prefs.c: Fix wrong placement of descriptive texts in Templates
and Tools tabs in the preferences dialog.
* src/callbacks.c, src/main.c, src/prefs.c, src/treeviews.c,
src/ui_utils.c, src/ui_utils.h:
Rename ui_treeviews_show_hide() in ui_sidebar_show_hide().
Don't hide sidebar when symbol and document lists are hidden but
other notebook tabs are still there.
2008-01-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c, po/el.po, po/LINGUAS:
Add Greek translation (thanks to Stavros Temertzidis).
2008-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Split up Prefs dialog General tab options into Startup, Shutdown
and Projects frames.
Rename 'Load and save session files...' option 'Use project-based
session files'.
2008-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.ruby, src/editor.c, src/highlighting.c:
Add two missing highlight styles to filetype Ruby.
Enable comment/uncomment for POD-like comments for filetypes Ruby
and Perl.
2008-01-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/keyfile.c, src/prefs.c,
src/project.c, src/project.h:
Add option for project session files support.
* src/encodings.c, src/encodings.h, src/plugindata.h, src/plugins.c:
Add encodings_get_charset_from_index() and make it available through
plugin API.
2008-01-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix hidden lines after deleting a line that is a collapsed fold
point.
* tagmanager/c.c:
Fix parsing D constructor tags.
2008-01-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c:
Don't unlink the old file if renaming failed.
2008-01-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/search.c, src/editor.c, src/editor.h:
Make 'Open Selected File' first try the current file's directory,
falling back to the project base path if no file was found.
Add editor_get_default_selection() from get_default_text() in
search.c, to get the current selection or current word.
2008-01-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c, src/project.c:
Save project session file list when project is closed.
Don't load default session files in a second instance after a project
was closed.
Fix not updating symbol list (and other things) when changing tabs
after a project was opened or closed in a second instance.
2008-01-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c:
Try to fix changing message window height when using full screen
(closes #1869415).
* src/printing.c:
Avoid double status message if print dialog was cancelled.
Print status messages in status-changed handler.
* Makefile.am, po/POTFILES.skip:
Add POTFILES.skip to ignore files with translatable strings.
Make "distcheck" working.
* src/editor.c:
Don't add '>' when auto completing HTML tags when it's already there.
Fix wrong indentation when '{' and '}' are on the same line.
2008-01-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/project.c, src/project.h, doc/geany.txt,
doc/geany.html:
Add 'Make in base path' project file preference, on by default.
Add project_get_base_path(), separated from project_get_make_dir().
* src/dialogs.c, src/plugindata.h, src/document.c,
tagmanager/tm_project.c, tagmanager/tm_workspace.c,
tagmanager/include/tm_workspace.h:
Apply patch from Yura Siamashka to speed up removing several
workspace object's tags without updating the workspace until
necessary (thanks).
2008-01-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c: Fix broken Rename functionality (closes #1868621).
* src/printing.c:
Fix crash while reading Scintilla styles.
Add GTK's progress dialog when printing large documents which also
provides the ability to cancel a print operation.
* plugins/export.c:
Fix crash while reading Scintilla styles.
Append "_export" to the exported file name when the exported file has
the same extension as the source file.
2008-01-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Hopefully fix bug with Cut/Copy/Paste KB not working (#1867861).
* src/prefs.c, src/keyfile.c, src/vte.c, doc/geany.txt, doc/geany.html:
Add 'Override Geany keybindings' VTE prefs dialog option (replaces
hidden pref), and make it off by default.
2008-01-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Edit base path entry tooltip for clarity.
Use stock close button in close project prompt.
Allow the base path to be empty, so that users can use the current
file's directory for the Make command (but still use project session
support). In future, perhaps it would be good to have a separate Make
path setting for projects.
2008-01-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/geanywraplabel.c, src/geanywraplabel.h,
src/interface.c, src/plugins.c, src/prefs.c, src/vte.c,
src/Makefile.am, src/makefile.win32:
Add GeanyWrapLabel (subclass of GtkLabel) to wrap text at any width.
Use GeanyWrapLabel in preferences dialog and plugin manager dialog
to save a lot of space and improve layout of descriptive texts.
* src/msgwindow.c:
Add workaround for display problem in Message window:
Truncate displayed string at 1024 bytes if it is longer.
* src/utils.c, src/win32.v:
Fix compile error on Windows.
Don't use _waccess_s since it seems to be unavailable in MingW32.
2008-01-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.nsi, geany_private.rc, README, doc/geany.html, doc/geany.txt,
po/intl_stats.sh, plugins/*, src/*, tagmanager/rest.c:
Update copyright information and change format of email addresses in
source files.
* src/project.c, src/utils.c, src/utils.h, src/win32:
Add utils_is_file_writeable().
Improve checks for write permission of files and directories.
Don't overwrite maybe existing project files when trying to create
new project and checking for project file's write permission
(thanks to Yura Siamashka for reporting and his patch).
2008-01-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/pluginmacros.h:
Remove filetype macro to avoid naming conflicts.
2008-01-04 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS: Changed Ukrainian language code to just uk to
make it better fit with po-file-directory.
2008-01-03 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c, po/ja.po, po/LINGUAS:
Adding of Japanese translation (Thanks to Tarot Osuji).
2008-01-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* README, src/makefile.win32:
Add -lshfolder to linker flags on Windows.
Add notice for Win9x users to install SHFolder.dll.
* plugins/pluginmacros.h, src/plugindata.h, src/plugins.c,
src/project.h, src/symbols.c: Patch by Yura Siamashka:
Add project type field.
Go to tag definition/declaration will open the file with the tag if
it isn't already open.
Add some utils and tagmanager functions to the plugin API.
2008-01-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Ignore D import statements.
* plugins/filebrowser.c:
Use documents->open_files() as it's more efficient when opening
multiple files and existing files are open for filetypes with
typename colouring.
* src/search.c:
Add mnemonics for Find All, Replace All expanders in dialogs.
Fix Find dialog mnemonic conflict _f.
2007-12-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/basic.c:
Don't parse in comments and fix wrong creation of tags including
non-tag characters(e.g. '=' sign).
* src/document.c: Avoid crash on Windows with enabled debug messages.
* src/main.c, src/win32.c, src/win32.h:
Add debug console window when debug mode is enabled to get any text
messages on Windows.
Fix wrong argument in win32_check_write_permission()
(reported by Jeff Pohlmeyer, thanks).
* src/main.c, src/win32.c, src/win32.h:
Create Geany's configuration directory in user's appdata path instead
of the default home directory (closes #1856305).
* src/geany.h, src/project.c: Remove unnecessary macro GEANY_HOME_DIR.
2007-12-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Refactor with functions: check_single_selection(),
is_folder_selected(), get_tree_path_filename() and separate menu
item callbacks.
Rename "Open with..." popup item "Open externally" ("..." is usually
used when the user can input more information).
* plugins/filebrowser.c:
Disable popup menu items when there is no selection.
2007-12-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, src/filetypes.c:
Add *.vala extension to CSharp filetype to support the Vala language.
2007-12-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/plugindata.h:
Add configurable keybindings for Cut, Copy and Paste.
2007-12-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c: Fix inverted move tab first/last commands.
* src/templates.c:
Add Python filetype template (patch by Elena of Valhalla, thanks).
* src/main.c:
Enable parsing command line options without a valid X display.
2007-12-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/dialogs.c, src/dialogs.h, src/callbacks.c:
Add combo box input history for Make Custom Target dialog.
Make dialogs_show_input() automatically activate on pressing enter in
the GtkEntry, use a callback for input text, and have a 'persistent'
option to hide the dialog instead of deleting it, using a combo box
for input text history.
* src/utils.c:
Make utils_get_utf8_from_locale(), utils_get_locale_from_utf8()
NULL-safe.
* src/utils.c, src/win32.c, src/utils.h, src/win32.h, src/dialogs.c,
src/search.c:
Make Open, Save As dialogs start in project base path (or default
path pref) when the current file has no filename.
Split up widget setup code for dialogs_show_open_file(),
dialogs_show_save_as().
Add initial_dir argument for win32_show_file_dialog().
Add utils_get_default_dir_utf8().
Rename utils_get_current_file_dir() to
utils_get_current_file_dir_utf8().
2007-12-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* TODO, src/main.c: Apply patch Jeff Pohlmeyer to handle unknown
command line options better (thanks).
* HACKING, src/Makefile.am, src/main.c, src/makefile.win32,
src/plugins.c, src/prefix.h, src/symbols.c:
Prefix autotools macros with GEANY to avoid problems with already
defined symbols on Windows.
2007-12-18 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS, po/uk_UA.po, po/LINGUAS:
Added Ukrainian translation (Thanks to Boris Dibrov).
2007-12-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Makefile.am: Don't install pixmaps/geany.ico by default.
* geany.spec.in: Fix mandir path and don't delete icons
(patch by Yura Siamashka, thanks).
* src/Makefile.am:
Add PREFIX macro.
Don't construct LOCALEDIR manually but use autotools $(localedir)
variable instead.
* HACKING: Add note about using autotools macros like DATADIR.
* doc/geany.1.in, doc/geany.html, doc/geany.txt, src/main.c:
Add --print-prefix command line option to output installation paths.
2007-12-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Fix parsing C arrays (broken in r1952, oops).
* src/keybindings.c:
Don't flicker menubar when typing Shift-[a-z] in the VTE.
* tagmanager/entry.h, tagmanager/c.c:
Remove unused pointerOrder code from C parser, as it's not necessary
since r1952, and not in the standard ctags code. Leaving it in the
TagManager code however for backwards compatibility with global tag
files.
* tagmanager/c.c:
Fix parsing correct D class name when inheriting.
2007-12-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/keyfile.c, src/prefs.c, src/vte.c, src/vte.h:
Use project's base dir and run command when running commands in the
VTE.
Add VTE preference to skip the generated run script. when running
commands in the VTE.
Make vte_cwd() accept also paths not only filenames.
* geany.desktop.in.in: Avoid full path for icon entry.
* geany.spec.in: Add file HACKING and classviewer icons.
* Makefile.am: Prevent installing geany.desktop twice.
2007-12-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.desktop.in.in:
Apply patch from Ubuntu package to match FD.o standards
(thanks to Siegfried-Angel Gevatter Pujals).
* plugins/classbuilder.c, plugins/htmlchars.c:
Use pluginmacros.h.
* src/highlighting.c, src/highlighting.h:
Add highlighting_get_style().
* plugins/pluginmacros.h, src/plugindata.h, src/plugins.c:
Add highlighting_get_style() to the plugin API.
Rename DocumentFuncs field in GeanyData struct to avoid name clashes.
* doc/geany.html, doc/geany.txt, src/kebindings.c, src/keybindings.h:
Add Move document first/last keybindings
(patch by Catalin Marinas, thank you).
* geany.glade, src/interface.c, src/keyfile.c, src/plugindata.h,
src/prefs.c, src/prefs.h, src/ui_utils.c:
Add toolbar items to increase/decrease indentation (closes #1850697).
2007-12-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Fix Run command for HTML files when set to something
else than "builtin".
2007-12-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/msgwindow.c, src/plugins.c:
Set treeview rules hint for several treeviews and remove manual
setting the background colour of odd rows of the status and message
treeviews (closes #1848901).
* src/vte.c: Enable dragging of text into the VTE.
* src/msgwindow.c: Fix crashes when clicking on message window items
introduced with changing rules hints for treeviews.
* configure.in, src/Makefile.am, src/main.c, src/plugins.c,
src/prefix.c, src/prefix.h, src/symbols.c:
Add binary relocation support.
2007-12-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.spec.in: Apply patch from Yura Siamashka and Dominic Hopf
to fix build of rpm package (thanks).
* src/win32.c: Fix wrong file filters in file dialogs opened in the
preferences dialog.
* src/keyfile.c: Fix wrong debug display of filenames which could not
be loaded from last session.
2007-12-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c, src/ui_utils.c, src/win32.c, src/win32.h:
Fix wrong file filters in project-related file dialogs on Windows.
2007-12-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, src/callbacks.c, src/document.c,
src/document.h, src/encodings.c, src/encodings.h, src/keyfile.c,
src/main.c:
Store more document-related settings session-based in the
configuration file(including the file encoding).
Detect in-file specified file encoding by scanning the file using
regular expressions.
2007-12-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/vte.c, src/vte.h:
Prevent execution of commands by Geany if the VTE may contain any
text on the prompt (thanks to "Jeff Pohlmeyer for reporting).
2007-12-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Add "b" flag to fopen when saving files to avoid
broken line ending characters on Windows
(flag was removed by accident, closes #1844405).
* plugins/filebrowser.c:
Improve error message when external command could not be executed.
Allow use of external command also for the special ".." item.
2007-12-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c:
Add ".." path entry to every directory.
Fix display of double backslash in path entry on Windows.
Add basic path entry auto completion.
Print error message when external command fails to execute.
Let right-clicks select an item.
* src/vte.c, src/vte.h:
Don't load unused symbols from library.
Grab focus after right-clicked in the VTE widget.
2007-12-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/filebrowser.c, plugins/pluginmacros.h, src/callbacks.c,
src/plugins.c, src/plugindata.h, src/search.c, src/search.h,
src/utils.c:
Add search_show_find_in_files_dialog() to the plugin API.
Make path entry of filebrowser plugin editable.
Add "Open with" and "Find in Files" popup menu items to filebrowser
plugin and add configuration dialog.
* scintilla/*, scintilla/include/*: Update Scintilla to version 1.75.
2007-12-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c:
Avoid inclusion of PHP tags in PHP function descriptions.
* plugins/Makefile.am, plugins/svndiff.c:
Remove obsolete SVNdiff plugin, use the VC Diff plugin.
* geany.glade, src /editor.c, src/editor.h, src/geany.h,
src/interface.c, src/keyfile.c, src/plugindata.h, src/plugins.c,
src/prefs.c:
Add option for amount of characters to trigger symbol completion.
Add document_find_by_filename to the plugin API.
2007-11-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/filetypes.c, data/filetypes.conf:
Added .ltx as extension for LaTeX-documents.
2007-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, tagmanager/tm_project.c, tagmanager/tm_workspace.c,
tagmanager/include/tm_workspace.h:
Remove unused config_dir argument for tm_get_workspace().
* src/symbols.c:
Fix broken generate tags command.
2007-11-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, doc/geany.html, geany.txt, src/editor.c,
src/interface.c: Improve usage of "Unfold all children" option and
add some basic documentation for folding support.
* plugins/filebrowser.c: Fix display of double slash in path entry.
* src/document.c, src/ui_utils.c:
Deny "(Un)Fold All" actions when folding is disabled.
Hide "(Un)Fold All" menu items instead of just disabling them.
* src/dialogs.c, src/dialogs.h, src/document.c:
Add dialogs_show_msgbox_with_secondary().
Add line and column number in charset conversion error dialog when
saving a file and improve display of the failed character.
* src/build.c: Fix broken Run command on Java files on Windows.
* src/symbols.c, tagmanager/ruby.c:
Use Ruby parser from CTags SVN and add/fix symbol list sections.
2007-11-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexHTML.cxx: Fix syntax colouring bug when using '?>' in
a PHP comment (closes #1838854).
2007-11-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Display character which caused a failed encoding
conversion when saving a file.
2007-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, tagmanager/basic.c:
Use FreeBasic specific sections in symbol list.
Use Basic parser from CTags SVN and improve the parser for better
handling of dim and const keywords.
* src/plugins.c: Fix plugin separator placement in the Tools menu.
2007-11-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/POTFILES.in, plugins/autosave.c, plugins/Makefile.am,
plugins/makefile.win32: New plugin: Auto Save.
* geany.glade, src/editor.c, src/interface.c:
Enable Shift+click on a fold point to unfold all possibly folded
children (same as the pref "Unfold all children of a fold point").
2007-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c: Fix crash when trying to add a multiline comment in
filetypes which don't support it.
* src/symbols.c, src/treeviews.c, src/treeviews.h:
Revert the change to make symbol sections bold and use some small
indentation when expanders are hidden.
* src/geanyobject.c, src/geanyobject.h, src/main.c, src/plugindata.h,
src/plugins.c, src/project.c, src/project.h:
Remove unused function project_save().
Fix typo in plugin API at utils_mkdir().
Add document_get_n_idx() to the plugin API.
Fix display of plugin separator in the Tools menu when only plugins
without menu item are loaded.
Add three new signals: project_open, project_save, project_close.
On Shutdown close the project before plugins are unloaded to let
plugins work on the last project closed event.
2007-11-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, plugins/*.c src/callbacks.c, src/callbacks.h,
src/geany.h, src/interface.c, src/keyfile.c, src/main.c,
src/plugindata.h, src/plugins.c, src/plugins.h:
Add plugin manager dialog to select plugins to load at startup and
to call a plugin configure dialog.
Add configure symbol for plugins which is called by Geany when a
configure dialog for the plugin is requested, optionally.
Add author field to plugin info struct.
Add sample configure dialog to the demo plugin.
Fix cleanup code in filebrowser plugin to remove it completely when
unloaded.
* src/plugindata.h, src/plugins.c: Add utils_mkdir() to the plugin API.
2007-11-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/read.c: Fix file type detection for parsers using regexp
code with non-standard file type extensions.
* src/symbols.c, src/treeviews.c, src/treeviews.h:
Make sections in the symbol list bold for better distinction if
expanders are hidden.
2007-11-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.html, doc/geany.txt, src/keyfile.c, src/plugindata.h,
src/prefs.h, src/treeviews.c:
Add hidden pref to hide symbol list treeview expander (GTK >= 2.12).
Double click on symbol list sections now expands/collapses them.
* src/symbols.c, tagmanager/lregex.c, tagmanager/php.c:
Add missing symbol types: Interface and Constants for PHP.
Disable use of non-ASCII characters for PHP parser, it caused
problems when using with locales other than "C".
Add missing line break characters in error messages in lregex.c.
* src/callbacks.c, src/keyfile.c, src/keyfile.h, src/main.c,
src/project.c, src/project.h:
Apply patch from Bo Lorentsen to improve support for project session
files (thank you).
2007-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/utils.c, src/utils.h:
Fix possible memory leak and add time_t argument in
utils_get_date_time() to pass a time pointer to use.
* configure.in, geany.glade, TODO, doc/geany.html, doc/geany.txt,
src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
src/interface.c, src/keyfile.c, src/main.c, src/Makefile.am,
src/makefile.win32, src/prefs.c, src/prefs.h, src/printing.c,
src/printing.h, src/ui_utils.c, src/ui_utils.h:
Add native GTK printing support.
* src/printing.c: Set line width for page header, handle empty filename
in page header correctly.
* tagmanager/Makefile.am, tagmanager/lregex.c,
tagmanager/makefile.win32, tagmanager/parse.c, tagmanager/parse.h,
tagmanager/php.c, tagmanager/regex.c, tagmanager/tm_tag.c,
tagmanager/include/Makefile.am, tagmanager/include/regex.h:
Fix two more compiler warnings.
Use php.c and lregex.c from CTags SVN (closes #1795810).
Add regex.c and regex.h (GNU regex) for regex support on Windows.
2007-11-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/vcdiff.c, plugins/Makefile.am:
Added plugin 'VC Diff', slightly modified from a patch by Yura
Siamashka (thanks). It was adapted from the SVN Diff plugin.
Currently it supports SVN, CVS and GIT.
Fixed GTK warnings when the current file has no filename and when
the current directory has no version control system.
Made some refactoring changes to make the VC_RECORD struct contain
all necessary attributes about each version control system.
2007-11-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c:
Make 'Set path from document' use the current working directory or
the project base path when no document is open.
2007-11-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: Don't change control char symbol in Scintilla.
2007-11-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Makefile.am, geany.glade, data/autocomplete.conf, data/snippets.conf,
doc/geany.txt, doc/geany.html, doc/geany.1.in, src/document.c,
src/editor.c, src/editor.h,src/geany.h, src/highlighting.c,
src/interface.c, src/keybindings.c, src/keybindings.h, src/keyfile.c,
src/keyfile.h, src/main.c, src/plugindata.h, src/prefs.c:
Rename "Contruct autocompletion" to "Snippets".
Allow changing height of the symbol completion list even if automatic
symbol is disabled, it still can be forced by keybinding.
2007-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/utils.c, src/utils.h:
Remove utils_get_date() and add format argument to
utils_get_date_time().
* src/main.c: Don't compile plugin command line option when plugin
support is disabled.
* src/notebook.c:
Enable close tab on middle-clicking a notebook tab label.
Enable toggle additional widgets on double-clicking notebook tab
label.
* THANKS, src/project.c, src/project.h, src/keyfile.c, src/keyfile.h,
src/main.c: Apply patch from Bo Lorentsen to add support for project
session files (thank you).
2007-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
Separate keybindings tree setup code from prefs_init_dialog(); use
enum for tree model columns.
Ask the user whether to override an existing keybinding when setting
a combination that is already in use.
* plugins/filebrowser.c, src/treeviews.c, src/vte.c:
Fix popup menu item capitalization according to Gnome HIG.
Add separator menu item to VTE popup menu.
Move VTE Prefs item below Input Methods.
* src/keybindings.c:
Set Ctrl-Alt-P as default Prefs KB.
Change Decrease Indent default KB to Ctrl-U (very common action,
and Ctrl-U was unused).
* src/keybindings.c:
Allow VTE to interpret F-keys (except if they're focus commands).
2007-11-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/utils.c, src/utils.h:
Remove unused unnecessary function utils_btoa().
2007-11-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Apply patch from Simone Denei to add a "Restart" item to
the VTE popup menu in case running application hangs.
* src/utils.c: Fix bug when creating configuration directory on Unix.
* tagmanager/tm_work_object.c, tagmanager/tm_workspace.c:
Don't create tagmanager status file, seems to be unnecessary
(needs testing).
2007-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Enable stopping of Run command on Windows.
* src/build.c: Quote first element of command line when using Compile,
Build and Make commands on Windows to avoid problems
if the tools are specified with full path.
2007-11-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/svndiff.c:
Fix sign comparison warning.
* plugins/svndiff.c:
Fix gtk_widget_destroy() warning when unloading plugin and no svn
binary is in $PATH.
* plugins/svndiff.c:
Add menu separator so users don't accidentally click revert and lose
all their work.
Capitalize revert menu item.
* src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
Add 'Strip Trailing Spaces' document menu item.
* src/keybindings.c, src/keybindings.h, src/plugindata.h, TODO:
Make VTE interpret all keyboard shortcuts except for focus group
keybindings.
Add enum values for keybinding groups.
Make Notebook tabs keybindings group.
Move Go to tags items into Tags keybindings group.
Move navigation items into a new Other keybindings group.
* HACKING, data/filetypes.restructuredtext:
Add a default configuration file for reStructuredText.
* src/document.c:
Allow scrolling past end of document, so the user can append text
with the last lines drawn at the top of the view.
2007-11-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* HACKING:
Update 'Adding a filetype' section for new highlighting.c code.
2007-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/document.c, src/utils.c:
Don't use unnecessary #ifdefs for utils_get_locale_from_utf8().
2007-11-05 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c:
Added function for svn revert and check before complete loading of
then plugin if svn is inside $PATH.
Added patch from Yura Siamashka to re-use an already created tab
for a new diff on the same file. Thanks.
2007-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c:
Fix error in Compile and Build commands on Windows if the command
contains double quotes.
Fix error in Build command when the executable file name contains
spaces(Linux and Windows).
* src/filetypes.c: Add support for env wrapper in shebang detection
(inspired by a patch from Yura Siamashka).
* src/plugindata.h, src/plugins.c:
Add document_set_text_changed() to the plugin API.
* src/main.c, src/utils.c, src/utils.h, src/win32.c, src/win32.h:
Fix crashes on Windows when configuration directory could not be
created.
Fix problems when configuration directory path contains special
characters.
* tagmanager/tm_workspace.c: Use g_unlink() instead of unlink().
* src/build.c:
Use g_unlink() instead of unlink().
Minor code cleanups and add some sanity checks.
Fix broken Run command on Windows by not changing Geany's working
directory (this might break other things, unfinished).
2007-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c:
Show line wrap symbol at start of line for wrapped lines.
* src/templates.c, src/highlighting.c, src/highlighting.h,
src/filetypes.c, src/filetypes.h, src/document.c, src/main.c:
Fix bug with using the default extension, not the user set one, if
'New with template' is used before any documents of the same filetype
are open.
Load filetype keyfiles from filetypes_load_config(), not from
styleset_foo_init().
Add highlighting_init_styles(), highlighting_set_styles(),
simplifying a lot of styleset function code.
Remove filetype::style_func_ptr field.
2007-11-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/makefile.win32: Add exit code detection for Windows.
* src/keyfile.c: Fix broken window maximization.
* src/document.c: Remove Scintilla keybinding Alt-Backspace for Undo.
2007-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c:
Prevent prefs dialog being hidden after using the prefs file dialog.
* src/build.c, src/prefs.c:
Enable build support on Windows.
* src/document.c:
Ensure document_update_tag_list() always shows the empty symbol list
when tags cannot be parsed.
* src/filetypes.c, doc/geany.txt, doc/geany.html, data/filetypes.*:
Add configurable default file extension setting for filetype
definition files.
Note: There is a bug with using the default extension, not the user
set one, if 'New with template' is used before any documents of the
same filetype are open.
2007-11-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, /src/main.c, src/symbols.c, tagmanager/tm_project.c,
tagmanager/include/tm_workspace.h, tagmanager/tm_workspace.c:
Create tagmanager status file in configuration directory, not in a
guessed temporary directory to ensure having write access.
Fix crashes if status file can't be written.
2007-10-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, data/filetype_extensions.conf:
Set reStructuredText default file extension .rst.
* src/document.c, src/editor.c:
Use newline as autocompletion list separator, so that reST entries
show correctly.
* src/document.c:
Ensure empty symbol list is shown when tags cannot be parsed (fixes
wrong symbol list shown when creating a new document with an unsaved
filename set).
* src/filetypes.c:
Only translate '%s source file' instead of whole title for filetypes
(easier for new translations).
2007-10-31 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c: Make svn error messages better readable.
2007-10-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/svndiff.c:
Factor out common make_diff() and show_output() functions for both
file and directory diffs.
Show any SVN error message on the status bar.
Use directory name as prefix for output filename when doing a
directory diff.
Don't remove filename extension for file diffs.
Fix some memory leaks.
* plugins/svndiff.c:
Add a separate menu item for diff from the current directory.
Disable file and directory diff menu items if the current document
has no filename.
Disable project menu item when no project is open.
* src/document.c:
Make Fold All/Unfold All attempt to scroll the current line in view.
* plugins/filebrowser.c:
Don't dereference symlinks.
Make sure current_dir always has a full path.
2007-10-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.txt, src/build.c, src/project.c, src/project.h:
Add support for relative project base path.
Improve and synchronize base path tooltips in project new and
properties dialogs.
Fix minor GUI annoyances in project dialogs.
* plugins/export.c, plugins/filebrowser.c, plugins/pluginmacros.h,
plugins/svndiff.c:
Add macro project for app->project.
Rename macro tm to tagm to avoid conflicts with tm struct of time.h.
Fix a warning about shadowing a global symbol.
Use plugin macros in Export and SVNDiff plugins.
* src/treeviews.c, src/treeviews.h:
Replace "Hide" popup menu items of the symbol and document list with
"Show Document List" and "Show Symbol List" check menu items.
2007-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/svndiff.c, plugins/export.c, plugins/demoplugin.c,
plugins/filebrowser.c, plugins/htmlchars.c, plugins/classbuilder.c:
Make all plugins distributed with Geany have the same version number
as Geany.
* plugins/pluginmacros.h:
Prevent conflict with document::encoding.
* plugins/svndiff.c:
Capitalize menu item text.
Minor editing of some strings.
* plugins/classbuilder.c:
Capitalize menu item text.
* plugins/filebrowser.c:
Show icons only in the file browser toolbar.
2007-10-25 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c:
Added feature to make a diff from an open project or a
current directory.
2007-10-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/ui_utils.h, src/tools.c, src/project.c, src/geany.h,
src/msgwindow.c, src/callbacks.c, src/keyfile.c, src/search.c,
src/document.c, src/plugins.c, src/main.c, src/symbols.c,
src/ui_utils.c:
Make msgwin_status_add() only log a message, not display it on the
status bar.
Make ui_set_statusbar() take a log argument for whether to record the
message in the Status window.
(Plugin API functions already do this).
* plugins/filebrowser.c:
Use the current directory when there are no documents open.
Add popup menu with Open command.
Separate toolbar code from init().
* plugins/filebrowser.c:
Add 'Show hidden files' checkbox in the popup menu.
* plugins/demoplugin.c, plugins/filebrowser.c, plugins/Makefile.am,
plugins/pluginmacros.h:
Add pluginmacros.h to define common macros for app, utils, etc.
Add more documentation/comments to demoplugin.c.
* src/treeviews.c:
Fix bug with choosing 'show full path name' from documents list popup
menu when there is no selected item (can happen after using the command
twice).
Fix hiding the sidebar/documents list from the popup menu when there's
no selected item.
2007-10-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/svndiff.c:
Set the status bar instead of logging status messages.
2007-10-23 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c:
Small improvments in handling of non UTF-8 diffs.
2007-10-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/notebook.c: Don't make notebook tabs higher than necessary.
2007-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/filebrowser.c, plugins/Makefile.am, plugins/makefile.win32,
src/interface.c, src/utils.c, src/plugindata.h, src/treeviews.c,
src/vte.c, src/plugins.c, doc/geany.txt, doc/geany.html,
po/POTFILES.in, geany.glade:
Added File Browser sidebar plugin.
Rename 'Open Files' sidebar tab 'Documents'.
Add keybindings->send_command() and tm->get_real_path() to the plugin
API.
2007-10-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c: Fix possible wrong window title when loading session
files.
2007-10-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS, po/sv.po, po/LINGUAS:
Added Swedish translation (Thanks to Tony Mattsson).
2007-10-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, doc/geany.html, doc/geany.txt, plugins/Makefile.am,
scintilla/Makefile.am, scintilla/PlatGTK.cxx, src/Makefile.am,
src/gb.c, src/project.c, src/vte.c, tagmanager/Makefile.am:
Apply most of the patch from #1794250 (thanks):
Remove compiler specific flags.
Add configure option to specify the path to libvte.so.
Remove many unnecessary configure checks.
Stop configure if msgfmt was not found(gettext not installed).
2007-10-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/plugindata.h, src/plugins.c:
Add encoding related functions to the plugin API.
* data/autocomplete.conf, doc/geany.txt, doc/geany.html, src/editor.c:
Add special key wordchars to autocomplete.conf to let the user
redefine used wordchars.
2007-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/vte.c:
Only connect vte_keypress() if enable_bash_keys pref is not set.
* src/document.c, src/document.h, src/editor.c, src/editor.h,
src/interface.c, src/keyfile.c, src/plugindata.h, src/prefs.c,
geany.glade, THANKS:
Apply patch from Catalin Marinas to add a 'newline strips trailing
spaces' pref (thanks).
2007-10-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_tag.c, tagmanager/c.c, TODO:
Parse arrays, const and pointers in C-like function return types
(and store in varType).
Fix some indentation.
* src/interface.c, src/keybindings.c, src/prefs.c, src/callbacks.c,
src/callbacks.h, src/keyfile.c, src/document.c, src/document.h,
src/editor.c, src/editor.h, src/ui_utils.c, geany.glade:
Add Indent Type option in the Document menu.
Add 'Detect from file' Editor indentation pref.
Show TAB or SP for current document's indent type.
Minor editing of Document menu and editor Indentation prefs group.
Use GString for statusbar statistics.
2007-10-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c:
Suppress selection changed signal when switching between open files
and symbol list.
* src/plugins.c, src/plugindata.h, plugins/export.c:
Add dialogs_show_save_as() to the plugin API.
Fix wrong callback signatures in Export plugin and make menu item
document sensitive.
2007-10-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* plugins/svndiff.c, plugins/Makefile.am, plugins/makefile.win32,
po/POTFILES.in:
New Plugin: Plugin to create a diff of a file against svn.
2007-10-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/keyfile.c, src/plugindata.h,
src/prefs.c, src/prefs.h, src/treeviews.c, src/treeviews.h:
Add menu accelerators to the symbol and open files list popup menus.
Add option to display full path name in the open files list.
* src/callbacks.c, src/ui_utils.c:
Add menu accelerators to the custom date menu items.
* src/ui_utils.c: Add recent files also to GTK's recent files buffer.
2007-10-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* NEWS, doc/geany.1.in: Update for 0.12.
* New release: Geany 0.12 "Delurin".
* configure.in, geany.nsi, geany_private.rc, win32-config.h,
src/geany.h: Post-release version bump.
2007-10-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/highlighting.c, src/symbols.c, src/symbols.h:
Fix wrong colouring of type keywords of tags from different
filetypes.
* src/treeviews.c: Add full file name as tooltip in the open files list
(only for GTK 2.12 and above).
2007-10-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix inserting spaces instead of tab when using 'Suppress construct
completion' and spaces are used for indentation.
2007-10-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/keybindings.c:
Fix wrong insert position of Insert Date function when using keyboard
shortcut and place the cursor behind the inserted date.
* src/treeviews.c: Enable horizontal scrollbar for the Open Files list.
2007-10-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
Fix segfault when manually editing a keybinding and selecting another
item.
* src/vte.c:
Don't reset the VTE when pressing Ctrl-[CD] if bash keys are enabled,
because they are now sent to the VTE.
2007-10-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c:
Attempt to fix problem with tab close button size.
* src/keyfile.c, doc/geany.txt, doc/geany.html:
Don't overwrite hidden prefs when quitting unless they are missing.
* src/keybindings.c, src/keyfile.c, src/vte.h, doc/geany.txt,
doc/geany.html, NEWS:
Move and rename the bash shortcuts hidden preference - it's now in
geany.conf, [VTE] section, called 'enable_bash_keys'.
2007-10-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix scrolling bugs when searching text and the cursor
is outside of the current visible area.
Unfold search result.
* src/main.c: Also print version of Geany together with GTK/GLib
version information.
2007-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/python.c:
Show parent class for inner classes.
* src/notebook.c:
Use stock close image for notebook tab close buttons.
2007-09-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Also ignore Ctrl-L for VTE bash command.
Allow 'Switch to editor' command to override any bash commands.
Also disable the popup menu to avoid VTE bash conflicts.
* src/main.c, src/symbols.c, src/symbols.h:
Add --no-preprocessing, -P option when generating tags files to
disable preprocessing of C/C++ source files.
* doc/geany.txt, doc/geany.html, doc/geany.1.in, NEWS:
Add documentation for --no-preprocessing option.
* src/keybindings.c:
Add Project Properties menu accelerator.
* tagmanager/vstring.h, tagmanager/vstring.c:
Fix a possible segfault with vStringPut() - backported from CTags
5.7. This appears to fix a segfault on Windows 2000 when loading
tagmanager/c.c.
It also adds vStringChop() - chop last character from string.
2007-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c:
Don't load invalid window geometry data from the config file.
2007-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Add enable_vte_bash_keys keybindings.conf hidden pref in [Settings].
Refactor keybindings_init().
* src/msgwindow.c, src/document.c, src/plugins.c, NEWS:
Don't show file opened/saved/closed messages on the status bar.
Add temporary function msgwin_status_add_new() for v0.12 (to avoid
many code changes updating msgwin_status_add() before the release).
* src/utils.h, src/keyfile.c:
Fix possible conflict of 'tmp' variable name in setptr macro.
* src/build.c, NEWS:
Fix displaying error indicators with Make after entering a
subdirectory.
2007-09-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Fix selecting text with Shift-{PageUp,PageDown} (closes #1801315).
* src/keybindings.c, src/vte.c:
Make common bash Ctrl-[a-z] keyboard shortcuts work in the VTE.
(Not sure why Ctrl-Shift-[cv] copy/paste shortcuts still don't work).
2007-09-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/navqueue.c, src/navqueue.h, src/treeviews.c,
src/callbacks.c, src/symbols.c, src/symbols.h:
Fix bug when using Navigate backwards after using the keyboard to
set the cursor position on the current word.
Add symbols_goto_tag().
Replace navqueue_append() with navqueue_goto_line().
* TODO:
Updated for project and plugins improvements, and others.
Added wishlist items (which are unlikely to be worked on).
* plugins/export.c, src/plugindata.h, src/plugins.c:
Add ui->set_statusbar() to the plugin API.
Make plugin function msgwin->status_add() not set the statusbar - but
ui->set_statusbar() can now be used to do both with the log argument.
After Geany 0.12 this is how the core versions of those functions
will work, so the status window can be set independently.
* src/utils.c, src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
src/navqueue.c, src/callbacks.c, src/editor.c:
Remove pos argument from sci_get_current_line(), because
sci_get_line_from_position() can be used instead and it's clearer.
Remove unused sci_get_line_end_styled() - it's also the same as
sci_get_line_from_position().
2007-09-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c, src/editor.h:
Fix bug with 'Delete lines' when cursor is at the start of a
multi-line selection.
* src/keybindings.c, src/msgwindow.c, src/msgwindow.h:
Add msgwin_switch_tab(), msgwin_clear_tab() functions.
2007-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c:
Undo r1891 so that 'Delete lines' again includes the cursor line
even when at the start of a line - like Cut/Copy lines do.
2007-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Make 'Select lines' not include an extra line when whole lines are
selected.
Make 'Delete lines' not include an extra line when whole lines are
selected.
* src/keybindings.c, src/callbacks.c:
Make 'Duplicate lines' work for whole lines when more than one line
has a selection.
2007-09-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Save and restore the current notebook page when quitting.
2007-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.h, src/plugindata.h, src/plugins.c:
Apply patch from blackdog to add build_info and
msgwindow->compiler_add() to the plugin API (thanks).
* src/symbols.c, tagmanager/haxe.c:
Apply code from blackdog to parse Haxe typedef tags (thanks).
Show Haxe typedefs in the symbol list.
Add tag_type treeview iter.
* tagmanager/haxe.c:
Show Haxe enum types in the symbol list.
* src/msgwindow.c, src/msgwindow.h, src/search.c:
Add foreground colouring to messages items.
2007-09-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Speed up Save All for C-like files by avoiding unnecessary
recolourising after user typenames have changed.
* src/keybindings.c, src/document.c, doc/geany.txt, doc/geany.html:
Change scroll by line default keybindings to Alt-{Up, Down}.
Change Previous/Next Paragraph Scintilla commands to Ctrl-{Up, Down}.
Adding Shift extends selection by paragraph.
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add Find keybinding (re-uses existing string).
Group search-related callbacks together.
Docs: Add table headings to group related keybindings together.
* src/keybindings.c:
Make some keybinding titles use existing string capitalization.
* src/images.c:
Apply patch from Christoph Berg to update main window icon and
About dialog icon (thanks).
2007-09-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h:
Fix return type for document->open_file().
(Tidy up field name indentation).
* doc/geany.txt, doc/geany.html:
Apply patch from John Gabriele for an overview in the Tags section
(thanks).
(Format paragraph with fmt -w72).
* src/keyfile.c, src/editor.c, src/editor.h, doc/geany.txt,
doc/geany.html:
Allow autocompletion on a line with trailing whitespace.
Add auto_complete_whilst_editing hidden preference.
* src/ui_utils.h, src/callbacks.c, src/main.c, src/ui_utils.c:
Make Toggle Case use the current word if there's no selection.
Make Toggle Case keep an existing selection.
Rename ui_widgets.popup_items to popup_copy_items.
* doc/geany.txt, doc/geany.html:
Edit how to manually edit geany.conf hidden prefs.
* src/win32.c, src/about.c, src/ui_utils.c:
Use G_N_ELEMENTS(arr) instead of sizeof(arr) / sizeof(arr[0]).
Correct prev_translators email address.
2007-09-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: HTML manual is called Manual.html on Windows, so
open this file.
2007-09-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/export.c, plugins/classbuilder.c, src/utils.c, src/win32.c,
src/utils.h, src/plugindata.h, src/msgwindow.c, src/callbacks.c,
src/keyfile.c, src/document.c, src/plugins.c, src/document.h,
src/main.c, src/socket.c, src/ui_utils.c:
Neaten up the plugin API:
Make document_open_file() now wrap document_open_file_full(),
without the idx for reloading or pos arguments.
Replace str_replace() with string_replace_all() in the plugin API.
Add utils_string_replace_all(), taking a GString argument.
* src/plugindata.h, src/document.c, src/plugins.c, src/document.h:
Add reload_file() document function to the plugin API.
2007-09-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, pixmaps/geany.ico, pixmaps/geany.png:
Replace Geany's icon by a new one by Sebastian Kraft (thanks).
* plugins/Makefile.am: Add makefile.win32 to EXTRA_DIST files.
* plugins/export.c, src/plugins.c, src/plugindata.h:
Remove get_zoom from plugin API.
2007-09-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/callbacks.c: Change quotes in some error messages to
be more consistent (thanks Frank).
* doc/geany.txt: Add notice about code navigation history.
* src/geany.nsi:
Install symbol list icons with the installer.
Use Geany's icon for the installer.
2007-09-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, doc/geany.txt, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/main.c,
src/utils.c, src/utils.h, src/ui_utils.h:
Remove convert to lower-/upper-case keybindings.
Add toggle case keybinding and change shortcut to Ctrl-Alt-U.
* src/about.c: Improved error message if license text could not be
found (thanks Frank).
2007-09-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, doc/geany.txt, doc/geany.html:
Add 'Move document left' and 'Move document right' keybindings.
Make fixed keybindings overridable.
Add fixed keybindings for switching to leftmost/rightmost document,
Ctrl-Shift-{PageUp,PageDown}.
Docs: Add 'Switching documents' keybindings section.
* src/interface.c, src/prefs.c, geany.glade:
Replace 'Use tabs...' preference checkbox with Tabs, Spaces radio
buttons (should be a bit clearer).
* doc/geany.txt, doc/geany.html:
Minor update of Preferences dialog section.
2007-09-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix missing syntax colouring when saving new files.
* src/document.c, src/keybindings.c, src/keybindings.h:
Make keybinding for scrolling by one line changeable.
* src/prefs.c: Store the index of a keybinding in the treeview store
to fix problems getting the correct index when editing
a cell of the treeview.
2007-09-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/document.c:
Rewrite document_find_by_filename() to work when the filename
argument contains relative path elements or symlinks.
2007-09-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/makefile.win32, src/ui_utils.c, src/win32.c,
plugins/makefile.win32:
Sort list of files to build on Windows.
Add geanyobject.c to the list of files to build on Windows.
Fix some warnings and build errors on Windows.
2007-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Set copy lines default KB to Ctrl-Shift-C.
Set cut lines default KB to Ctrl-Shift-X.
* plugins/classbuilder.c, src/templates.c, src/keybindings.c,
src/plugindata.h, src/callbacks.c, src/document.c, src/document.h,
src/main.c, src/socket.c:
Add text argument for document_new_file(), so that it's independent
from filetype templates.
Make File->New create a blank document, rather than using the None
filetype template.
Add None option for the 'New with Template' menu commands.
* src/interface.c, geany.glade:
Move 'Insert #include' menu item below other insert menu items.
2007-08-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, doc/geany.txt, doc/geany.html,
data/filetypes.common:
Include \n\r newline chars in Scintilla whitespace chars.
* data/filetypes.common:
Undo last commit, because it makes selecting text with the mouse
include all trailing lines with no wordchars on them.
2007-08-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c, geany.glade:
Change 'Goto' to 'Go to' everywhere.
* doc/geany.txt, doc/geany.html:
Add Plugins section, describe using a second instance to edit
geany.conf in 'Hidden preferences' appendix.
* src/keybindings.c:
Rename non-menu keybinding titles, e.g. Tags menu -> Tags commands.
* src/keybindings.c:
Fix Ctrl-Shift bindings not working when caps lock is on.
* src/treeviews.c:
Only focus the current document after switching pages if the open
files treeview currently has focus (otherwise focus commands can be
overridden, e.g. when pressing F4 during opening several files).
* src/editor.c:
Prevent calltip after typing '(' when in a comment or string.
Allow forced autocompletion in a comment or string.
2007-08-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/editor.c, src/editor.h, doc/geany.txt,
doc/geany.html:
Add 'Current chars' indentation mode, rename 'Advanced' indentation
to 'Match braces' (closes #1726880).
For 'Match braces' indentation, if a brace could not be matched,
fall back to 'Current chars' indentation.
* doc/geany.txt, doc/geany.html:
Added 'Inserting unicode characters' Editing section, adapted from
a patch by John Gabriele (thanks).
* plugins/Makefile.am:
Don't install Demo plugin.
2007-08-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Group settings in load_dialog_prefs() by dialog tab.
* src/keyfile.c, src/document.c, src/editor.h, doc/geany.txt,
doc/geany.html:
Add hidden editor preference 'use_gtk_word_boundaries'.
Add docs appendix 'Hidden preferences'.
* HACKING:
Add more complete information for adding a filetype.
2007-08-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/callbacks.h, src/keybindings.c, src/main.c:
Remove useless callback wrapper function.
2007-08-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Add Prefs dialog 'Editor tabs' frame in Interface tab and group
related preferences.
Change some table spacing to multiples of 3.
Rename Misc., Behaviour -> Miscellaneous.
* src/plugindata.h:
Clear PluginInfo fields in PLUGIN_INFO macro for future extensions.
* src/keyfile.c:
Group prefs in order for save_dialog_prefs().
* src/keyfile.c:
Refactor configuration_load().
2007-08-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, plugins/classbuilder.c, plugins/demoplugin.c,
plugins/export.c, plugins/htmlchars.c, src/interface.c,
src/keyfile.c, src/notebook.c, src/plugindata.c, src/prefs.c,
src/prefs.h:
Add version to plugin info fields and two other fields for future
use.
Add option to show/hide the small crosses on each file tab
(closes #1757680).
2007-08-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c, src/callbacks.c:
Fix saving the wrong document when using Save All with unnamed
documents.
* src/utils.c, src/highlighting.c, src/sciwrappers.c, src/document.c,
src/symbols.c:
Fix wrong brace formatting.
* src/about.c, src/callbacks.c, src/keyfile.c, src/editor.c:
Fix wrong // comment spacing.
* src/keyfile.c:
Refactor configuration_save() to group new struct settings together.
Move 'Enable plugin support' keyfile pref to the 'geany' group.
* src/prefs.c, src/prefs.h, src/plugindata.h, src/callbacks.c,
src/keyfile.c, src/document.c, src/document.h, src/main.c,
src/editor.h, src/ui_utils.c:
Move file-related fields from EditorPrefs -> GeanyPrefs.
Rename line_breaking -> line_wrapping for EditorPrefs and document.
2007-08-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix invalid filetype setting when using Save All and
files with filetype None (thanks to Omair Eshkenazi
for reporting).
2007-08-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/export.c, src/templates.c, src/build.c, src/utils.c,
src/ui_utils.h, src/build.h, src/utils.h, src/highlighting.c,
src/keybindings.c, src/tools.c, src/prefs.c, src/dialogs.c,
src/prefs.h, src/navqueue.c, src/plugindata.h, src/geany.h,
src/treeviews.c, src/msgwindow.c, src/callbacks.c, src/notebook.c,
src/treeviews.h, src/keyfile.c, src/vte.c, src/search.c,
src/document.c, src/plugins.c, src/main.c, src/editor.c,
src/symbols.c, src/main.h, src/editor.h, src/ui_utils.c:
Rename MyApp -> GeanyApp.
Move most GeanyApp fields into:
GeanyPrefs for (most) Preferences dialog fields;
UIPrefs for non-Prefs dialog visual settings;
UIWidgets for less commonly used widgets such as menuitems and
dialogs;
GeanyStatus for various states the application can be in.
Move some GeanyApp fields into EditorPrefs (and one into each of
CommandLineOptions and SidebarTreeviews).
Add plugin API prefs field.
Move disabling build widgets on Windows to build_init().
Make build callbacks static.
Add treeviews_init() to prepare popup menus and open files treeview.
Replace treeviews_find_node() with treeviews_select_openfiles_item().
Make utils_isbrace() and utils_is_opening_brace() take an
'include_angles' argument (to separate from editor_prefs).
Make 'Goto matching brace' keybinding include <> angle brackets.
* src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
src/callbacks.c:
Apply patch from blackdog to add "document-activate" plugin signal,
which is sent when switching notebook pages (thanks).
2007-08-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/export.c:
Fix some minor LaTeX code errors.
Add generation date to HTML header and as comment in the generated
LaTeX code.
2007-08-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.h: Remove unused struct.
2007-08-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* plugins/export.c, plugins/Makefile.am, plugins/makefile.win32,
po/POTFILES.in, src/plugins.c, src/plugindata.h:
New plugin: Export as HTML and LaTeX.
Add some functions to the plugin API needed by the Export plugin.
* src/utils.c: Include error code string in the debug message if a file
could not be written.
2007-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugins.c:
Apply patch from Jeff Pohlmeyer to fix warning when unloading plugins
that use signals when quitting (thanks).
* tagmanager/get.c:
Fix parsing C macro argument list.
2007-08-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c:
Apply patch from Jon Senior to fix parsing Apache Ant compiler
error messages (thanks).
* src/interface.c, src/prefs.c, src/keyfile.c, src/main.c, src/main.h,
geany.glade:
Add 'Enable plugin support' Prefs checkbox.
Minor edit of load VTE option text.
* scintilla/include/Scintilla.h, scintilla/Editor.cxx,
scintilla/ScintillaGTK.cxx, src/document.c, doc/geany.txt:
Use sci_assign_cmdkey() to set GtkEntry-like word boundary handling.
Clear unnecessary default Scintilla Ctrl-D duplicate keybinding.
Add SCI_DELWORDRIGHTEND command (patch sent to Scintilla ML).
Remove previous ScintillaGTK::KeyCommand override.
* src/symbols.c:
Fix symbol list sort by appearance order for e.g. geany.txt.
2007-08-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/PositionCache.cxx:
Apply patch from Scintilla ML to fix problems with selections
including the first and second character of a line.
2007-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, src/symbols.h, src/treeviews.c:
Add menu items for different sorting of the symbol list to the symbol
list popup menu.
2007-08-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c:
Apply patch from Jeff Pohlmeyer to add document_remove() to the
plugin API (thanks).
Add document_open_files() to plugin API.
* src/plugins.c:
Disconnect plugin callback signals when unloading plugins, to prevent
a segfault when emitting signals.
* src/templates.c, src/build.c, src/utils.c,
src/keybindings.c, src/highlighting.h, src/sciwrappers.h,
src/dialogs.c, src/geany.h, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/keyfile.c, src/filetypes.h, src/document.c,
src/plugins.c, src/document.h, src/main.c, src/editor.c,
src/symbols.c, src/editor.h, src/symbols.h, src/ui_utils.c
Move #define PLAT_GTK to geany.h.
Move filetype typedef to geany.h.
Don't #include any src/*.h files from headers.
* src/msgwindow.c:
Add support for Java Apache Ant compiler error messages.
2007-08-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/symbols.c,
tagmanager/parsers.h, tagmanager/makefile.win32, tagmanager/rest.c,
tagmanager/Makefile.am:
Add reStructuredText filetype and parser.
* src/filetypes.c, src/filetypes.h:
Sort filetype groups alphabetically.
* src/keyfile.c, src/filetypes.c, data/filetype_extensions.conf:
Add comment about generating filetype_extensions.conf.
Update filetype_extensions.conf.
* src/filetypes.c:
Rewrite filetypes_get_from_uid() for easier maintenance.
* HACKING:
Add more information for adding a filetype.
2 minor edits.
* src/plugindata.h, src/plugins.c:
Apply patch from blackdog to add document_save_file() to the plugin
API (thanks).
Add document_open_file() to plugin API.
2007-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/about.c: Increase border space in credits tab and align developer
names left.
* src/keyfile.c: Fix wrong debug message if a session file couldn't be
loaded.
2007-08-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.freebasic: Add many keywordsGeanyObjectPrivate
(patch by Arthur Skowronek, thanks).
* geanyobject.c: Fix a runtime warning.
* doc/Makefile.am, doc/geany.txt, doc/geany.html:
Don't use output redirection since the reST tools accept output
filenames.
Apply patch from John Gabriele to add some tweaks/fixes (thanks).
2007-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/editor.c, src/editor.h:
Make 'Delete current line' and 'Select current line' work for all
lines that have a selection.
Implement 'Copy current line'.
* doc/geany.txt, doc/geany.html:
Update selected line(s) keybindings.
* src/plugindata.h:
Tidy up struct typedefs.
* src/geanyobject.c, src/plugindata.h, src/geanyobject.h,
src/document.c, src/plugins.c, src/main.c, src/Makefile.am:
Add plugin symbol geany_callbacks (see plugindata.h for details).
Add GeanyObject type with "document-new", "document-open",
"document-save" signals.
2007-08-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/php.c: Fix parsing classes with modifiers like 'final'.
2007-08-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/classbuilder.c:
Fix missing GTypeInfo field initializer when generating
'objectname'_get_type() for GObject classes.
* doc/geany.txt, doc/geany.html:
Move 'About this document' section to end of Introduction.
Update 'Contributing to this document' section.
* doc/geany.1.in:
Update for -g and -p options.
* data/autocomplete.conf:
Add %cursor% for default 'else' completion.
Add space before while for 'do' completion.
* src/keybindings.c:
Prevent warning when trying to focus non-existent VTE.
2007-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/*, doc/html/*:
Remove all docbook related files and use reST to generate the
documentation. Thanks to John Gabriele for his great work on
converting from docbook to the reST format.
2007-08-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c, tagmanager/python.c:
Parse Python global variables and class variables from assignment
statements; assignment to a tuple literal ('x, y =') not supported.
2007-08-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/geany.h, src/interface.c, src/keyfile.c,
src/msgwindow.c, src/prefs.c, src/ui_utils.c:
Add option to suppress messages in the status bar.
* src/dialogs.c: Use UTF-8 filename in Save As dialog when setting
non-existing filename.
2007-08-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in: Fix error in "make install" caused by old automake
versions and intltool.
* src/plugins.c: Prevent loading the same plugin in different paths.
2007-08-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c, src/editor.h, HACKING:
Add filetypes, editor_prefs fields to plugin API.
Wrap scintilla_send_message(), sci_cmd(), lookup_widget().
Apply patch from Jeff Pohlmeyer to add more common scintilla wrappers
to the plugin API (thanks).
Increment plugin ABI version.
2007-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* po/Makefile.in.in: Removed.
* src/symbols.c:
Fix crash when saving a file after setting encoding "None".
2007-07-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/tools.c, src/sciwrappers.c, src/callbacks.c, src/search.c:
Add allocation for NULL-terminated selection ends.
2007-07-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexHTML.cxx, scintilla/Makefile.am:
Backport of LexHTML from Scintilla CVS to fix #1759166.
Disable debug build of Scintilla and use -Os.
* src/about.c: Rework credits page to fix some display issues.
2007-07-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c, src/editor.h, src/keybindings.c:
Rename editor_auto_forif() in editor_auto_complete().
Allow using auto completion in PHP files outside of the PHP tags,
generally in comments, for news files without filetype and on
non-empty lines.
* src/Makefile.am, src/plugins.c:
Only show the separator between built-in Tools menu items and plugins
if there are any plugins.
Use PACKAGE_LIB_DIR.
Load plugins in ~/.geany/plugins/ prior to the default location.
* src/symbols.c: Hide empty symbol types in the symbol list.
* makefile.win32, win32-config.h, plugins/makefile.win32,
src/plugins.c: Make plugins working and compiling on Windows.
2007-07-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/demoplugin.c, plugins/htmlchars.c, plugins/classbuilder.c,
src/plugindata.h, src/plugins.c:
Add GeanyData* geany_data symbol for plugins so they don't have to
keep a copy of the init() argument.
Rename PluginData GeanyData (but use a typedef for backward
compatibility).
Update plugins to use newer API symbols.
* src/utils.c, src/utils.h, src/tools.c, src/tools.h, src/dialogs.c,
src/callbacks.c, src/callbacks.h:
Move Color Chooser and Word Count tools to tools.c.
* src/plugins.c:
Add separator between built-in Tools menu items and plugins.
* src/interface.c, src/keybindings.c, geany.glade:
Use AE spelling of 'color'.
2007-07-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Ignore whitespace_chars for Haxe.
* src/plugins.c:
Use a single PluginData struct for all plugins.
2007-07-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, data/filetype_extensions.conf, data/filetypes.haxe,
tagmanager/haxe.c, tagmanager/parsers.h, tagmanager/makefile.win32,
tagmanager/Makefile.am, src/templates.c, src/highlighting.c,
src/highlighting.h, src/callbacks.c, src/filetypes.c,
src/filetypes.h, src/symbols.c:
Add filetype Haxe (patch by blackdog, thank you).
* ChangeLog, po/ChangeLog, README: Change format of email addresses.
2007-07-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* po/POTFILES.in:
Translate the HTML Characters plugin.
* src/main.c:
Set app->debug_mode when GEANY_DEBUG is defined.
* plugins/htmlchars.c, src/plugindata.h, src/plugins.c:
Don't destroy plugin_fields->menu_item automatically - plugin_fields
should be owned by the plugin, so the plugin is responsible for
destroying it, and any other memory it allocated.
Print a warning message in debug mode if a plugin has no cleanup()
function.
2007-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Fix wrong selection handling when using Color Chooser.
2007-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/plugindata.h, src/plugins.c:
Apply patch from Jeff Pohlmeyer to add plugin functions for getting
a file list and modifying scintilla text selections (thanks).
* src/document.c:
Fix hang when replacing all '[ ]*' regex matches (closes #1757748).
2007-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* Makefile.am, doc/Makefile.am, icons/Makefile.am, plugins/Makefile.am,
scintilla/include/Makefile.am, src/Makefile.am:
Fix make distcheck.
2007-07-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/htmlchars.c, plugins/Makefile.am, src/interface.c,
src/keybindings.c, src/tools.c, src/tools.h, src/plugindata.h,
src/callbacks.c, src/callbacks.h, src/plugins.c, src/plugins.h,
src/ui_utils.c, HACKING, geany.glade:
Convert 'Insert Special HTML Characters' tool into a plugin;
keybinding support will be added later.
Add plugin functions for inserting text into the current document.
Add plugin support for disabling a menu item when no documents are
open.
Destroy plugin_fields->menu_item on unloading if set by a plugin.
Use G_MODULE_BIND_LOCAL for plugins to prevent symbol shadowing by
other modules, and to help detect unresolved symbols at loading time.
* plugins/htmlchars.c:
Fix warning.
2007-07-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c: Adjust symbol list icon path on Windows.
2007-07-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, src/treeviews.c, src/treeviews.h, src/utils.c,
src/utils.h:
Extend icon search path to get symbol list icons working when using
a non-standard installation prefix.
Query default icon theme only once to improve startup speed.
Store the line number separately in the tree store.
Remove utils_get_local_tag().
* data/filetypes.common: Clarified description of white_space setting.
2007-07-20 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS,po/LINGUAS,po/en_GB.po:
Added British English translation (Thanks to Jeff Bailes).
2007-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/geany.h, src/callbacks.c, src/document.c,
src/main.c, src/ui_utils.c:
Rename ui_close_buttons_toggle() ui_document_buttons_update().
Move app->sensitive_buttons to ui_utils.c for easier maintenance,
rename to document_buttons.
* configure.in, src/treeviews.c, src/treeviews.h,
src/symbols.c, THANKS, Makefile.am, icons, icons/16x16,
icons/16x16/classviewer-member.png, icons/16x16/classviewer-var.png,
icons/16x16/classviewer-namespace.png,
icons/16x16/classviewer-method.png, icons/16x16/Makefile.am,
icons/16x16/classviewer-macro.png, icons/16x16/classviewer-other.png,
icons/16x16/classviewer-struct.png,
icons/16x16/classviewer-class.png, icons/Makefile.am:
Apply patch to add symbol list icons from Jean-François Wauthy
(thanks). Also thanks to KDevelop for the icons.
Add list of projects to THANKS.
2007-07-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Prevent warning when clicking on symbol list parent items.
* src/geany.h, src/filetypes.c, src/filetypes.h, src/main.c:
Use extern 'app' and 'filetypes' global variables in headers, so that
G_MODULE_BIND_LOCAL can later be used when loading plugins to detect
any unresolved symbols.
2007-07-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/editor.c:
Fix gcc warning, add comment for editor_scroll_to_line().
* src/navqueue.c:
Fix possible segfault when a file is closed and using go forward.
Fix 2 possible memory leaks when files have been closed.
* src/interface.c, src/keybindings.c, src/keybindings.h,
src/callbacks.c, src/callbacks.h, geany.glade:
Make pressing escape focus the editor when using incremental search
or the Goto Line entries.
Add keybindings_cmd() to mimic a keybinding action.
2007-07-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c, src/callbacks.c, src/callbacks.h, src/document.c,
src/document.h:
Move font & file open/save dialog callbacks to dialogs.c.
Add document_clone() in document.c (for Save As open in new tab).
* src/utils.c, src/navqueue.c, src/navqueue.h, src/treeviews.c:
Add a navigation queue position when clicking on symbol list items.
Prevent duplicates in the navigation queue.
Add navqueue_append() which adds the current document position to the
queue before adding the new position.
2007-07-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Improve selection handling when decreasing indent by one space.
Avoid using SCI_DELETEBACK for simple text removal.
Fix a typo in is_doc_comment_char().
* src/callbacks.c, src/ui_utils.c, src/utils.c:
Fix warnings about shadowing local variables.
* geany.glade, src/interface.c: Fix typo.
* configure.in, geany.desktop.in.in, Makefile.am, po/Makefile.in.in,
po/POTFILES.in:
Add --disable-deprecated option to configure to build without
deprecated GLib and GTK code.
Use intltool to make geany.desktop translatable
Rename geany.desktop.in to geany.desktop.in.in.
Add Makefile.in.in in po/ to get translation status from msgfmt
when running make.
* src/win32.c: Fix creation of wrong hex colours when inserting colours
from the colour chooser dialog.
* tagmanager/ctags.c, tagmanager/entry.c, tagmanager/tm_source_file.c,
tagmanager/strlist.c, tagmanager/tm_project.c, tagmanager/sort.c,
tagmanager/tm_work_object.c, tagmanager/read.c, tagmanager/regex.c,
tagmanager/tm_workspace.c, tagmanager/parse.c,
tagmanager/tm_file_entry.c, src/build.c, src/document.c, src/utils.c:
Always use g_fopen() and g_stat() instead of fopen() and stat() to
fix several problems with filenames containing special characters on
Windows.
Use GetFullPathName() instead of lrealpath() to get Tagmanager
working on files containing special characters on Windows.
* configure.in: Fix broken configure when using autoconf < 2.60.
* doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
src/keybindings.h:
Add keybinding for scroll to current line.
2007-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/editor.c:
Fix possible selection errors on commenting multiple lines when using
CR/LF line endings.
* doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
src/keybindings.h:
Add keybindings for smart indent and indent/deindent by one space.
* configure.in:
Fix failing linking on some systems (needs to be solved cleanly).
2007-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c, src/callbacks.c:
Use Rename button instead of checkbox for Save As dialog.
Add tooltips for Save As dialog's other options.
* src/callbacks.c:
Fix segfault (oops).
2007-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Prevent warning when closing files when Geany is busy (e.g. pressing
Ctrl-W when opening files).
* src/main.c:
If -i, --new-instance options are passed, disable loading & saving of
session files.
* src/plugins.c:
Remove init_function_pointers(), use static initializers.
* plugins/classbuilder.c, src/plugindata.h, src/plugins.c:
Make Class Builder 'Create Class' dialog use Glade-style frames and
remove some unnecessary border width.
Add ui->dialog_vbox_new() and ui->frame_new_with_alignment()
functions to the plugin API.
* src/ui_utils.h, src/utils.h, src/project.c, src/geany.h,
src/ui_utils.c:
Add ui_table_add_row() for easily adding widgets to a GtkTable, and
use it in project_new().
Group 'generic' functions related to GTK+ together at the top of
ui_utils.h.
Make sure G_GNUC_NULL_TERMINATED is defined in geany.h.
2007-07-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/editor.c:
Use again the usual, previous way of line scrolling and use
SCI_SETXCARETPOLICY for horizontal scrolling.
* src/filetypes.c:
Add shebang-like detection for PHP files starting with "<?php".
2007-07-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/prefs.c:
Make Escape close the 'Grab Key' dialog.
* src/keybindings.c, src/tools.c, src/dialogs.c, src/search.c
Capitalize some dialog titles.
* src/interface.c, src/prefs.c, src/keyfile.c, src/document.c,
src/editor.h, geany.glade:
Apply patch from Jeff Pohlmeyer to add a preference for whether to
use 'smart' home key behaviour (thanks).
2007-07-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, configure.in, plugins/Makefile.am, scintilla/Makefile.am,
src/Makefile.am, tagmanager/Makefile.am:
Apply patch from Shiv to make build system more compatible with other
compilers than gcc.
* src/document.c, src/editor.c, src/sciwrappers.c, src/sciwrappers.h:
Experimental change of scrolling to get horizontal scrolling working.
* src/callbacks.c, src/search.c, src/search.h:
Also change background colour of search bar when using find
next/previous after using the search bar.
2007-07-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Add custom wordchars and whitespace_chars support for Python & Ruby.
Group setting lexer, wordchars, autocompletion height together in
apply_filetype_properties().
* src/interface.c, src/prefs.c, geany.glade:
Rearrange some of the Prefs dialog:
Add Indentation frame on Editor tab, with tab width setting.
Add Display tab for visual editor settings.
Move Files tab below Editor tab (not needed so often).
Add frame for toolbar page.
Change some spacing to multiples of 3 (Gnome HIG recommends multiples
of 6).
Minor reordering of some checkbox groups.
Add mnemonic for Keybindings 'Change' button.
2007-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/filetypes.h:
Change name of XML filetype to "XML document".
Add sub menus to "Set Filetype" menu.
* src/editor.c: Always show calltip for PHP files.
* src/keybindings.c, src/keybindings.h, src/prefs.c:
Use a TreeView for keybinding list in the preferences dialog and add
descriptive sections for better usability.
* src/keybindings.c: Use Ctrl-B for Goto matching brace.
* src/symbols.c, tagmanager/php.c:
Use CTags SVN version of PHP parser.
Use only supported symbol types in the symbol view for PHP.
* src/treeviews.c: Focus the editor widget after switching between
files with the open files list.
* src/callbacks.c, src/document.c, src/document.h:
Change the background colour of the search bar in the toolbar
according to the search result.
2007-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c: Fix missing descriptive text in message box when
closing an unsaved file on Windows.
2007-07-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/editor.c:
Include new line character(s) when selecting a paragraph.
* doc/geany.docbook, src/document.c, src/editor.c, src/editor.h,
src/keybindings.c, src/keybindings.h:
Add keybinding for Select, Transpose, Cut, Copy and Delete line.
* src/keybindings.c: Change default shortcut for Find Next/Previous to
Ctrl-G and Ctrl-Shift-G.
* src/editor.c, src/geany.h:
Use an extra space after comment toggle mark.
Also comment blank lines when using toggle comment.
Also comment already commented lines when using toggle comment.
Fix some selection issues when using toggle comment.
2007-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/ScintillaGTK.cxx, src/highlighting.c, doc/geany.docbook,
data/filetypes.common:
Make Scintilla's move to word commands use the word end boundaries
when moving to the right (like e.g. GtkEntry).
Treat punctuation chars as whitespace.
Add filetypes.common setting: whitespace_chars.
* src/highlighting.c, data/filetypes.python:
Add decorator (and word2) styling for Python.
* src/interface.c, src/prefs.c, geany.glade:
Move Context Action command to Tools tab, group with Print command.
2007-07-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/editor.c, src/editor.h, src/keybindings.c,
src/keybindings.h: Add keybinding for select current paragraph.
* doc/geany.docbook, src/callbacks.c, src/dialogs.c, src/document.c:
Use the default GTK file save dialog on Windows.
Prevent some (probably) unnecessary filename encoding conversions.
2007-07-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c: Fix usage of wrong dialog pointer.
* src/callbacks.c, src/editor.c, src/editor.h, src/geany.h,
src/keybindings.c:
Change comment toggle shortcut to Ctrl-E, undefine shortcuts for
comment/uncomment.
Improve some selection issues when using comment/uncomment.
Improve comment toggling by adding an additional character to mark.
2007-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, doc/geany.docbook:
Add -p, --no-plugins options to disable plugin support.
* src/main.c:
Capitalize first letter of command-line argument descriptions.
2007-07-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, doc/geany.docbook, src/interface.c, src/keybindings.c,
src/keybindings.h:
Change Help shortcut to F1, use Ctrl-H for Replace.
* src/callbacks.c, src/dialogs.c, src/dialogs.h, src/document.c,
src/document.h, src/editor.c, src/project.c, src/search.c,
src/utils.c, src/win32.c, src/win32.h:
Fix focus problem when using the Find dialog.
* src/socket.c: Use a unique mutex name on Windows to be able to load
multiple instances like on non-Windows systems.
2007-07-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h:
Add comment for utils_free_pointers() warning not to use it if any
pointers may be NULL.
* plugins/Makefile.am, plugins/classbuilder.c, src/templates.c,
src/interface.c, src/templates.h, src/tools.c, src/tools.h,
src/plugindata.h, src/callbacks.c, src/callbacks.h, src/plugins.c,
po/POTFILES.in, geany.glade:
Make Class Builder into a plugin.
Add some function pointers to the plugin API (for the class builder).
Don't use G_MODULE_BIND_LAZY when loading plugins otherwise we can
potentially get unresolved symbols at runtime, causing a segfault.
Capitalize 2 menu item labels.
* plugins/classbuilder.c:
Make Class Builder dialog close when pressing escape.
* src/symbols.c:
Create $configdir/tags directory if it doesn't exist when loading
global tags.
2007-07-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/symbols.c, tagmanager/conf.c:
Parse also sections in configuration files.
Allow whitespace in keys and section names.
* scintilla/makefile.win32, scintilla/KeyWords.cxx,
scintilla/LexConf.cxx, scintilla/Makefile.am:
Remove unused LexConf.cxx.
* scintilla/LexOthers.cxx:
Highlight also space separated key value pairs.
* src/win32.c:
Fix crash when trying to open the Save As dialog on Windows.
2007-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Set also previous colour when setting the colour for the dialog.
* tagmanager/c.c, tagmanager/get.c, tagmanager/get.h:
Re-add previously removed code to fix broken calltips.
Merge some minor bugfixes to C/C++ parser from CTags SVN and
remove compiler warning.
* src/search.c: Improve many mnemonics in the Search, Find in Files and
Replace dialogs.
2007-06-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, src/document.c:
Fix hang with Find All/Usage with regex '^' or '$'.
Fix replacing '^' or '$' regexes.
Use double quotes for search strings.
2007-06-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs.c:
Add palette to Colour Chooser Dialog.
Fix picking colours starting with '#'.
Replace existing selection with chosen colour.
* src/callbacks.c, src/document.c, src/document.h, src/sciwrappers.c,
src/sciwrappers.h, src/win32.c:
Change signature of sci_replace_sel() to take a const gchar*.
Move code to insert a colour to document.c
Let the code also work on Windows (untested).
2007-06-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/demoplugin.c, src/plugindata.h, src/plugins.c:
Move plugin name and description into a separate struct, which is set
by calling the PLUGIN_INFO() macro - this can be read before the
plugin is initialized.
Added more comments for plugin authors.
2007-06-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* plugins/demoplugin.c, plugins/Makefile.am, configure.in,
src/makefile.win32, src/plugindata.h, src/plugins.c, src/main.c,
src/plugins.h, src/Makefile.am, win32-config.h, HACKING, Makefile.am,
po/POTFILES.in:
Added very basic plugin support - any plugins found in
$prefix/lib/geany are loaded at startup. Windows support will be
added later.
Added Demo plugin (currently installed by default), which adds an
item in the Tools menu.
2007-06-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/document.c, src/editor.h, src/interface.c,
src/keyfile.c, src/prefs.c:
Add option to set a default encoding when opening files and disable
auto detection of the file encoding.
* geany.nsi: Change file encoding from ISO-8859-1 to UTF-8.
* configure.in, plugins/Makefile.am, scintilla/Makefile.am,
src/Makefile.am, tagmanager/Makefile.am:
Change label of GTK check in configure.in from PACKAGE to GTK
(only cosmetic).
2007-06-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Use setlocale to enable translation of strings before
GLib command line parser gets active.
2007-06-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.nsi: Fix wrong working directory in generated shortcuts.
2007-06-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/basic.c: Merge recent changes from CTags SVN.
* geany.glade, src/interface.c:
Apply patch from Gabor Kmetyko to improve wording (thanks).
2007-06-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/c.c, tagmanager/get.c, tagmanager/get.h:
Use get.c and get.h from CTags SVN.
Merged CSharp parser support into from CTags SVN.
* data/filetype_extensions.conf, data/filetypes.cs,
data/filetypes.freebasic, scintilla/KeyWords.cxx,
scintilla/LexBasic.cxx, scintilla/Makefile.am, src/editor.c,
scintilla/makefile.win32, src/filetypes.c, src/filetypes.h,
src/highlighting.c, src/highlighting.h, src/msgwindow.c,
src/templates.c, tagmanager/basic.c, tagmanager/Makefile.am,
tagmanager/makefile.win32, tagmanager/parsers.h:
Add new filetypes CSharp and FreeBasic.
2007-06-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Prevent segfault when using Goto Tag from an untitled file.
2007-06-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* HACKING:
Added 'About this file' and links for some Windows developer tools.
Added notes on adding a source file to src/ and brief notes on adding
a filetype.
* src/build.c:
Hopefully fix gtk_widget_set_sensitive assertion failed warning on
Windows.
2007-06-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/*, scintilla/include/*: Updated Scintilla to version 1.74.
* src/editor.c: Fix mem leak in auto completion and prevent completion
of words with trailing spaces.
2007-06-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/tools.c: Apply patch from Alexander Rodin to
improve the class builder code(thanks).
* Makefile.am, TODO, data/autocomplete.conf, doc/geany.1.in,
doc/geany.docbook, src/editor.c, src/editor.h, src/keyfile.c,
src/keyfile.h, src/main.c:
Add new command line option --ft-names to get a list of supported
filetype names.
Complete rewrite of auto completion to make it user-definable and
much more flexible.
2007-06-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c: Update of about dialog.
* THANKS: Added Spanish translator Nacho Cabanes.
2007-06-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/tools.c: Fix spelling of GTK.
* src/tools.c:
Fix bug when reopening the Insert special characters dialog after it
was closed by a delete event.
Fix creation of class files with an empty name and some code
reformatting.
* src/utils.c: Fix sanity checks in utils_str_replace().
* src/tools.c:
Fix several memleaks.
Avoid using broken functions g_strdown() and g_strup().
Only create header and source files if filename is not empty.
2007-06-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/tools.c: Fixed a small typo.
2007-06-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: Avoid creation of unwanted undo action when opening
a saved-as file in a new tab.
2007-06-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/interface.c, src/templates.h, src/tools.c,
src/tools.h, src/callbacks.c, src/callbacks.h, geany.glade, THANKS:
Apply class builder patch from Alexander Rodin (thanks).
2007-06-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c:
Use g_io_channel_win32_new_fd() as recommended in GLib docs for
utils_set_up_io_channel() on Windows. (Unlikely to change behaviour
though).
* src/callbacks.c:
Fix segfault when attempting to rename a new file from the Save As
dialog.
2007-06-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs.c:
Add "Open file in a new tab" and "Rename file" to the "Save as"
dialog for more control over saved file.
2007-06-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/sciwrappers.c, src/sciwrappers.h, src/prefs.c,
src/callbacks.c, src/callbacks.h, src/keyfile.c, src/document.c,
src/document.h, src/main.c, src/editor.c, src/editor.h,
src/ui_utils.c, geany.glade:
Rename some menubar widget names.
Use indentation spelling in variable names.
2007-06-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/callbacks.c, src/callbacks.h, src/document.c,
src/geany.h, src/interface.c, src/keyfile.c, src/main.c, src/prefs.c,
src/vte.c: Add auto focus (to auto focus widgets below mouse cursor).
2007-06-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c: Prevent double jump to line when clicking on a
symbol list item.
* src/build.c: Hide Next Error menu item and unnecessary separator from
build menu on Windows.
* src/callbacks.c: Fix broken help menu item on Windows.
* src/utils.c: Add additional directory separator to generated READMEs.
2007-06-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/document.c:
Apply patch from François Cami and Guillaume Duviol to improve
replacement of tabs by spaces (thank you).
* src/templates.c: Change PHP short open tag to the full open tag.
* src/document.c: Prevent hang if searching for a regular expression
fails (closes #1733676).
2007-06-08 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Added new translator Adrovane Marques Kade.
2007-06-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Add rpl_malloc() for better compatibility with non-GNU
systems (thanks to Harri Koskinen for reporting).
* po/POTFILES.in: Add navqueue.c.
* po/intl_stats.sh: Add revision time to the output.
* src/callbacks.c, src/callbacks.h:
Remove unneeded functions destroyapp and on_window_configure_event.
* src/keyfile.c, src/main.c:
Re-maximize the main window on startup when closed in maximized state
(closes #1730369).
* src/geany.h, src/keyfile.c, src/main.c:
Improve code to avoid hiding the messages window
(caused by last commit).
* tagmanager/sort.c, tagmanager/tm_workspace.c:
Replace malloc() by g_malloc().
2007-06-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h:
Add keybindings for forward/back code navigation.
* src/navqueue.c, src/navqueue.h:
Add Id SVN keyword and short file description.
2007-06-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/callbacks.c, src/callbacks.h, src/geany.h,
src/interface.c, src/keyfile.c, src/main.c, src/Makefile.am,
src/navqueue.h, src/navqueue.c, src/prefs.c, src/ui_utils.c:
Apply patch from Dave Moore to add simple code navigation
(thank you).
2007-05-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c: Add Haskell to make_comment_block().
2007-05-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c, src/utils.h, src/keybindings.c,
src/prefs.c, src/geany.h, src/callbacks.c, src/keyfile.c,
src/document.c, src/main.c, src/editor.c, src/editor.h,
src/ui_utils.c:
Move MyApp::pref_editor_* to editor.h, using editor_prefs struct.
Move INDENT_* enums to editor.h.
Move utils_get_whitespace() to editor.c.
2007-05-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook:
Remove app_small entity.
Add description for global configuration file.
2007-05-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c, src/document.c, src/ui_utils.c:
Show current project name in window title.
* configure.in, src/Makefile.am:
Force debug mode for a SVN working copy.
* src/highlighting.c, src/keybindings.c, src/makefile.win32,
src/callbacks.c, src/sci_cb.c, src/sci_cb.h, src/search.c,
src/document.c, src/main.c, src/editor.c, src/Makefile.am,
src/editor.h, po/POTFILES.in:
Rename sci_cb.[hc] editor.[hc].
2007-05-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c, src/filetypes.c, src/filetypes.h, src/document.c:
Replace filetype::has_tags member with filetype_has_tags().
* HACKING:
Add note about Adding a TagManager parser.
2007-05-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c: Ignore case of filename extensions on Windows.
* src/ui_utils.c: Add missing header file.
* src/keyfile.c:
Use current locale as default encoding for new files.
Don't keep comments in configuration file to work around a bug in
newer GLib versions.
If config file doesn't exist, try to load a global one from
$prefix/share/geany/.
* src/utils.c:
Don't create an empty geany.conf as write test, use access() instead.
2007-05-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, src/filetypes.c, tagmanager/sh.c:
Add *.ash and *.bash as filetype entensions for filetype SH.
Add ash and wish to the shebang patterns.
* geany.glade, src/callbacks.c, src/callbacks.h, src/geany.h,
src/interface.c, src/main.c, src/ui_utils.c:
Improve sensitivity of recent files sub menus.
* src/filetypes.c: Add shebang-like detection for XML files.
2007-05-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Comment out stopping make process.
Remove note about editing build commands manually.
* src/build.c, doc/geany.docbook:
Add support for %e, %f in project run command.
* src/about.c:
Show SVN revision as '>=' because 'svn up' may not have caused a
re-run of configure.
Show build date as 'on or after' compilation of about.o.
2007-05-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.h:
Add setptr() macro to free data and reassign to the same pointer.
* src/build.c:
Use get_build_executable() in prepare_run_script().
2007-05-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Fix loading of UTF-16/32 encoded files with a BOM.
2007-05-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Add popup menu item: Change current working directory.
* geany.glade, src/dialogs.c, src/geany.h, src/interface.c,
src/keyfile.c, src/main.c, src/prefs.c:
Add default startup directory option (closes #1704988).
* tagmanager/ruby.c, tagmanager/strlist.c, tagmanager/strlist.h:
Backport changes from CTags SVN to fix parse problems in the Ruby
parser.
* data/filetype_extensions.conf, src/filetypes.c:
Add filetype extension "*.ruby".
* scintilla/ScintillaGTK.cxx:
Fix wrong target list for PRIMARY clipboard.
2007-05-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/symbols.c, tagmanager/parsers.h,
tagmanager/makefile.win32, tagmanager/haskell.c,
tagmanager/Makefile.am:
Add Haskell tags support from CTags patch on sf.net written by Peter
Strand (thanks).
* src/symbols.c:
Use tag_list_add_groups() in init_tag_list().
2007-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/read.c, tagmanager/read.h, tagmanager/get.h:
Move C-only isident(), isident1() functions to get.h.
2007-05-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* NEWS, geany_private.rc, win32-config.h, doc/geany.1.in,
doc/geany.docbook, doc/geany.txt, doc/images/*, doc/html/*:
Updated for Geany 0.11.
* New release: Geany 0.11 "Bandor".
* configure.in, geany.nsi, geany_private.rc, win32-config.h,
src/geany.h: Post-release version bump.
2007-05-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c, po/LINGUAS, po/bg.po:
Added Bulgarian translation (Thanks to Dilyan Rusev).
2007-05-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c:
Fix bug when loading custom filetypes.common styles.
* src/sci_cb.c:
Add workaround for PHP/TCL closing brace de-indenting.
2007-05-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, data/filetypes.common:
Show fold line by default (so it's clearer there are hidden lines).
2007-05-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/ScintillaGTK.cxx:
Fixed wrong clipboard target (closes #1711483).
* doc/geany.docbook, src/callbacks.c:
Hide notebooks tabs instead of sidebar when toggling additional
widgets.
* doc/geany.docbook, src/about.c, src/build.c, src/dialogs.c,
src/keybindings.c, src/project.c, src/symbols.c, src/tools.c,
src/ui_utils.c: Added many widget names to different dialogs for use
with custom styles. Menu items still don't work.
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Applied patch from Michal Kurgan to disable separately use of global
white space foreground and background colours (thanks).
2007-05-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h:
Add some menu separators to group filetype menu items.
Reorder Haskell, O-Matrix, VHDL filetypes.
* src/document.c:
Fix removing indent spaces after switching back to tab indenting.
* scintilla/LexHTML.cxx:
Hopefully fix #1718532 - 'Crashes when open a special file';
backported from Scintilla 1.73.
2007-05-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/sql.c:
Fix #1717418, Hang on SQL file load.
2007-05-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/search.c:
Move search_get_file_list() to utils.c.
* src/highlighting.c, src/highlighting.h, src/symbols.c:
Load global tag files stored in ~/.geany/tags when needed.
* doc/geany.docbook:
Update docs for loading user tags at startup.
* doc/geany.docbook:
Rename 'confdialog' to 'prefs'.
Move compile time options section into an appendix (most users
shouldn't change these options).
* src/highlighting.c:
Prevent double loading of common styles when filetype none is used
before other filetypes.
Replace init_styles() with direct initialization of style_sets.
* src/ui_utils.h, src/project.c, src/search.c, src/ui_utils.c:
Use open folder dialog for project base path instead of create folder
dialog (better for choosing existing directories, and can still
create new folders).
Add optional title parameter for open dialog with ui_path_box_new()
and ui_setup_open_button_callback().
Use Windows folder dialog in ui_path_box_open_clicked().
* src/utils.c:
Wrap notebook pages when switching tabs.
* src/utils.c:
Fix bug when directory doesn't exist in utils_get_file_list().
2007-05-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* data/global.tags:
Update C global tags for GTK+ 2.10 and it's dependencies.
2007-05-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Make backspace unindent when using spaces for indentation.
2007-05-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Fix auto-indentation when the filetype is not set.
2007-05-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_line_indentation() and sci_set_line_indentation().
* src/callbacks.c: Fixed broken increase/decrease indentation when
using only spaces for indentation.
2007-05-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.haskell: Added build instructions.
* geany.nsi: Prevent installation in a directory without proper
write permissions under Windows.
Display an error message instead.
2007-05-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.haskell, scintilla/KeyWords.cxx,
scintilla/LexHaskell.cxx, scintilla/Makefile.am,
scintilla/makefile.win32, src/filetypes.c, src/filetypes.h,
src/highlighting.c, src/highlighting.h, src/sci_cb.c, THANKS:
Added new filetype Haskell (patch by Guillaume Hoffmann, thanks).
* geany.glade, doc/geany.docbook, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h:
Added menu item to hide or show all additional widgets and renamed
keybinding to menu_toggleall.
2007-05-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Make marker and matching brace keybindings global.
(Also indent some case statement bodies).
* src/sci_cb.c:
Add brace indenting support for Perl and TCL.
2007-05-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook: Applied patch from John Gabriele which adds some
text to the preferences section, thanks.
2007-05-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/main.c, src/prefs.c:
Set widget names for the main widgets to allow users to define custom
styles in .gtkrc-2.0.
* doc/geany.docbook, src/keybindings.c, src/keybindings.h, src/prefs.c,
src/ui_utils.c, src/ui_utils.h:
Added keybinding to show and hide all additional widgets(statusbar,
toolbar, sidebar and messages window).
2007-05-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h:
Add keybinding to show project properties dialog.
* src/keybindings.c:
Merge file menu keybinding callbacks into cb_func_file_action().
2007-05-02 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS, src/about.c: Update of e-mail of Jean-Philippe Moal.
2007-05-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* geany.gladep:
Don't regenerate the support.[hc] files, to prevent unnecessary
rebuilding of files dependent on support.h.
* src/project.c:
Hide the unused File Patterns field in the project properties dialog.
* src/build.c, src/project.c:
Allow run for any file (with a path) when a valid project run command
is set.
* src/project.c:
Allow a blank project base path to use the default Make All command.
Update the 'project already open' & 'base path not found' dialogs.
2007-04-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c:
Use g_printerr (if necessary) when generating global tags to convert
UTF-8 automatically; mark error messages for translation.
* src/search.c:
Allow replacing identical text if case sensitive is not checked.
* src/document.c:
Fix reloading of read-only documents.
* src/document.c:
Make replace all commands report no matches for read-only documents.
* src/search.c:
Switch to status window when using Replace In Session to show which
documents had replacements made.
* src/search.c:
Show number of matches when using Mark command.
* src/utils.h:
Add NZV() macro for checking a char* points to a non-empty string.
* src/build.c:
Disable the Build Includes run command field when there is a project
open with a valid run command set.
2007-04-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, geany.glade:
Rename 'tabulators' 'tabs'.
* src/ui_utils.h, src/search.c, src/ui_utils.c:
Add ui_path_box_new() for creating a path text entry with an open
button, which runs a file chooser to set the text entry.
Add ui_setup_open_button_callback() for setting up a button callback
that behaves like the open button in ui_path_box_new().
Use ui_path_box_new() in FIF dialog setup.
* src/interface.c, src/project.c, src/project.h, src/prefs.c,
geany.glade:
Add project file path preferences option in General tab.
2007-04-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h: Changed default browser to firefox.
2007-04-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_source_file.c, tagmanager/include/tm_source_file.h:
Add tm_source_file_get_lang_name() as a wrapper for getLanguageName()
in parse.c.
* src/main.c, src/symbols.c, tagmanager/tm_workspace.c,
tagmanager/include/tm_workspace.h:
Add support for generating global tags files for non-C-like
filetypes.
* doc/geany.docbook:
Update Global Tags section now all filetypes can be generated.
Comment out 'should be written' from Preferences section.
* doc/geany.docbook:
Add Project Management section.
2007-04-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c, src/filetypes.h, src/main.c:
Separate filetype menu item creation from filetypes_init_types() so
it can be called without initializing GTK (for non-GUI commands).
2007-04-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Disable FIF extra options entry when checkbox is not checked.
* src/sci_cb.c:
Remove duplicate calltips (e.g. from function def and prototype).
2007-04-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
When linking (or using Make Custom), remove error indicators in all
documents (should fix #1705374).
* src/symbols.c:
Sort symbol list tags also by line number (fixes #1703575).
* src/utils.c, src/utils.h:
Add G_GNUC_NULL_TERMINATED to ensure variable arglists are NULL
terminated (for GLib >= 2.8).
2007-04-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c, src/project.h, src/keyfile.c, src/main.c:
Restore the current project when restarting Geany.
* src/project.c:
Fix no response with Project dialogs when the user enters invalid
information (oops).
2007-04-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Update generating global tags section.
* src/keyfile.c:
Move save_recent_files(), save_session_files() code out of
configuration_save().
Move load_file_lists() code out of configuration_load().
2007-04-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/vte.c:
Fixed handling of command line arguments within the shell command for
the VTE to enable use of shells as login shells.
2007-04-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Update Search section: escape sequences, Find All, Mark, Replace All.
* src/filetypes.c, src/filetypes.h, src/document.c:
Split filetypes_get_from_filename() into filetypes_detect_from_file()
and filetypes_detect_from_filename().
* tagmanager/tm_tag.c:
Use the usual TM parser for all langTypes except pascal, php, latex
when loading global tags files.
* tagmanager/tm_workspace.c:
Keep tag names with different argument lists when loading global
tags.
Prevent segfault if using tm_workspace_find_scoped() with global
tags.
* src/interface.c, src/callbacks.c, src/callbacks.h, src/symbols.c,
src/symbols.h, geany.glade:
Add Load Tags command in the File menu.
2007-04-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/dialogs.c, src/document.c, src/utils.c:
Use g_stat() instead of stat() to prevent file read errors on Win32.
Prevent unnecessary filename encoding conversions on Win32.
2007-04-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Remove wrong UTF-8 conversion in filetypes_get_from_filename().
2007-04-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, data/filetypes.*, doc/geany.docbook, src/callbacks.c,
src/callbacks.h, src/filetypes.c, src/filetypes.h, src/geany.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/keyfile.c,
src/main.c, src/prefs.c:
Added context actions to run custom commands on current selection or
the current word below cursor.
* src/document.c, src/keyfile.c:
Run print command asynchronously to prevent blocking of the main
process (closes #1695786).
2007-04-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Prevent D module tag lookup for D constructor calltips.
* tagmanager/tm_workspace.c:
Allow overloaded argument lists in global tag files.
* tagmanager/tm_workspace.c:
Add tm_tag_function_t tags in global tags files, so that inline C++
methods (and D functions) get parsed.
* src/keyfile.c, src/search.c, src/search.h:
Save FIF extra options string in the keyfile.
* src/search.c:
Move 'Recurse in subfolders' FIF option below the others.
Add tooltip for extra options entry.
2007-04-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed missing calltip display when using a space after
a symbol name (thanks to Anh Phạm for reporting).
2007-04-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
Show up and down arrows when there are multiple calltip matches.
2007-04-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/document.c, src/geany.h, src/interface.c,
src/keyfile.c, src/main.c, src/prefs.c, src/ui_utils.c:
Added options to show or hide the statusbar as well as the editor
scrollbars.
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_set_scrollbar_mode() to easily show or hide the scrollbars.
2007-04-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, Makefile.am, doc/Makefile.am, scintilla/Makefile.am,
src/Makefile.am, tagmanager/Makefile.am:
Made "distcheck" working.
2007-04-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Only insert a space if construct completion occurs, to prevent
unusual undo history.
* doc/geany.docbook:
Add Construct completion in the Editing section.
Add Tags section, including how to generate a replacement global.tags
file.
2007-04-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_workspace.c:
Write tm_tag_enumerator_t and tm_tag_macro_t (e.g. for GTK_STOCK_*)
tags when creating a global tags file, and store the pointerOrder.
* doc/geany.docbook:
Add filtering out version control files with Extra options info to
Find in Files section.
* src/keybindings.c:
Only construct-complete when the editor widget has focus.
* src/symbols.c, tagmanager/tm_workspace.c:
Make \" filename quoting optional when creating a global tags file
(quoting is useful if glob matching is needed). Run geany -g for
example usage.
2007-04-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Add recursive option to Find in Files dialog.
* src/search.c:
Add 'Extra options' field and checkbox to FIF dialog.
Don't allow arguments appended to Grep command.
Prevent warning when using relative paths with open directory button.
Refactor FIF options code into get_grep_options(), remove
fif_options, fif_match_type.
2007-03-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, doc/geany.docbook:
Make file header optional for filetype templates - use the string
'{fileheader}' to mark where the file header should be placed, which
can be anywhere in the filetype template.
2007-03-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* geany.desktop.in:
Added MimeTypes: C++ header, Pascal, Perl, Python, httpd-PHP, XML;
thanks to Iñaki Rodriguez.
* src/search.c:
Prevent Find in Files directory combo being vertically stretched.
2007-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed warning about shadowing a local variable.
* doc_geany.docbook, src/keybindings.c, src/keybindings.h:
Add keybinding for switching to the search bar
(as suggested by Nikolas Arend).
2007-03-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Check size of construct completion buffer, remove unneeded static in
sci_cb_auto_forif().
Reorder some of sci_cb_close_block().
* src/keybindings.c, src/keybindings.h:
Add headings for the Keyboard Shortcuts dialog to group related
commands.
Shorten the 'Send to custom command' labels slightly.
2007-03-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Don't auto-indent {} braces for filetypes that don't use them.
Add lexer_has_braces(), do_indent() for in place buffer indentation.
Rewrite some of get_indent().
2007-03-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/sci_cb.c, src/sci_cb.h,
doc/geany.docbook:
Add keybinding for construct completion, and set the default to tab.
Separate complete_constructs() code from sci_cb_auto_forif().
2007-03-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, TODO:
Change comment/uncomment keybinding to Ctrl-G/Ctrl-Shift-G.
Change duplicate KB to Ctrl-D (Scintilla default).
Change goto line KB to Ctrl-J (so Ctrl-L line cut Sci KB works).
Remove default goto matching brace KB (doesn't work on all
keyboards).
* src/sci_cb.c, src/symbols.c, src/symbols.h:
Load HTML-entities when the PHP lexer is first needed, instead of
when typing outside of PHP styles.
* src/sci_cb.c:
Separate on_margin_click(), on_update_ui(), on_char_added()
Scintilla notifications.
2007-03-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h,
src/sci_cb.c, src/sci_cb.h, src/utils.c, src/utils.h:
Use Ctrl+Shift+Space always for showing calltips because Alt+Space is
used often by window managers (not only under Windows).
Added keybinding for inserting alternative whitespace characters.
2007-03-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, src/symbols.c:
Fix segfault when pressing ctrl-enter when there are no workspace
tags (thanks to R8Rooy for reporting).
* src/build.c, src/build.h, src/dialogs.c, src/dialogs.h,
src/callbacks.c, src/callbacks.h:
Move dialogs_show_includes_arguments_*() to build.c.
Move on_includes_arguments_*dialog_response() to build.c.
Make several build functions static.
* src/keybindings.c:
Ignore Caps Lock in keybindings_got_event() (could cause problems
with e.g. Shift-F9).
* src/search.c:
Don't beep when pressing escape to close the Find or Replace dialogs.
2007-03-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c:
Add Edit button to Keyboard Shortcuts dialog.
* src/keybindings.c, src/keybindings.h, src/dialogs.c, src/dialogs.h,
src/callbacks.c:
Move dialogs_show_keyboard_shortcuts() to keybindings.c.
* src/keybindings.c, src/prefs.c, src/prefs.h, src/callbacks.c,
src/vte.c:
Rename dialogs_show_prefs_dialog() to prefs_show_dialog().
2007-03-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, doc/geany.docbook, src/keybindings.c, src/keybindings.h,
src/sci_cb.c, src/sci_cb.h:
Applied patch from Anh Phạm to add a keybinding for selecting the
current word under the cursor (thanks).
2007-03-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Made all project dialogs modal.
* src/main.c, src/symbols.c, src/symbols.h, tagmanager/tm_workspace.c:
Add option --generate-tags (-g) to generate a global tags file from
a list of source files. Currently this is only likely to work
correctly for C source files. Run 'geany -g' for syntax info.
Remove short option for hidden option --generate-data-files.
Update tm_workspace_create_global_tags() from Anjuta 1.2.4a.
* tagmanager/tm_tag.c, tagmanager/include/tm_tag.h
Separate alternative PHP/LaTeX global tags parser into
tm_tag_init_from_file_alt() (for easier diff with Anjuta).
2007-03-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Added option to change the caret width.
2007-03-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
src/sciwrappers.h:
Add Goto Previous/Next Marker keybindings (Ctrl-, and Ctrl-.).
Make sci_marker_next() and sci_marker_previous() return marker line
number.
* src/keybindings.c, src/keybindings.h, src/sciwrappers.c,
src/sci_cb.c:
Add Toggle Marker keybinding (Ctrl-M).
* THANKS, doc/geany.docbook:
Add bookmarks section written by John Gabriele (thanks).
Group some subsections into an 'Editing' section.
2007-03-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c:
Delay updating interface items when switching notebook tabs until
after the page has changed, so it appears to switch pages faster.
* src/treeviews.c, src/notebook.c:
Don't recreate the open files items when DnD reordering tabs, now
that the open files treeview is sorted alphabetically.
* src/project.c:
Make suggested New Project filename use the projects/ directory as
parent directory, instead of projects/name/.
2007-03-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: Fixed wrong margin colours for filetype All/None.
* src/highlighting.c: Init the default styles before first usage.
2007-03-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Use tab stops for status bar line, column and selection data to stop
the other fields being moved so often when browsing code or typing.
Rearrange status bar statistics to be clearer/more concise.
* src/document.c:
Count total replacements made when replacing in a rectangular
selection.
* src/keybindings.c, src/keybindings.h, src/callbacks.c,
src/callbacks.h, doc/geany.docbook:
Add 'Switch to last used document' keybinding.
2007-03-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook: Added description for disable-server command line
option for Xfce Terminal.
* src/project.c: Added missing whitespace (found by Frank).
2007-03-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Switch to Compiler window when using Next Error command.
* src/utils.c, src/document.c:
Update the status bar after setting the document file type, if it
has changed.
Update the status bar after colourising open files, so the current
tag is accurate.
2007-03-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/project.c:
Separate New Project dialog from Project Properties dialog.
Make Properties Filename field read-only, below Name field.
Capitalize dialog titles.
* src/utils.c, src/utils.h, src/project.c:
Make New Project dialog create parent directories of the chosen base
path if necessary.
Prevent warnings when setting open dialog directory to a path whose
parent directory doesn't exist.
Add create_parent_dirs argument for utils_mkdir().
2007-03-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/encodings.c, src/encodings.h, highlighting.c,
src/msgwindow.c, src/notebook.c, src/project.c, src/sci_cb.c,
src/search.c, src/tools.c, src/ui_utils.c, src/utils.c:
Fixed several compiler warnings (mainly shadowing local variables
and unreachable code).
* src/sci_cb.c: Auto completion of multi line comments is now (again)
configurable with the auto complete constructs option.
* src/highlighting.c:
Set default highlighting style for filetype None to get it also
inverted if invert_all is set.
Reset all previously defined styles when switching filetype to None.
* data/filetypes.common, doc/geany.docbook, src/highlighting.c:
Added style "default" to filetypes.common to be able to change the
default style for files without a filetype set.
2007-03-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, doc/geany.docbook, data/filetypes.*, geany.glade:
Fix indentation spelling.
2007-03-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Fix not setting existing project typenames for C-like files if they
don't contain typenames themselves (bug introduced in r1323).
* doc/geany.docbook:
Updated Templates section for filetype templates and added some
subsection titles.
2007-03-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c: Fixed wrong tooltip.
* geany.glade, doc/geany.docbook, src/document.c, src/document.h,
src/geany.h, src/interface.c, src/keyfile.c, src/main.c, src/prefs.c,
src/sci_cb.c, src/ui_utils.c:
Added different auto indention modes to select how should Geany
indent new lines (closes #1615605).
2007-03-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c, src/callbacks.c, src/keyfile.c, src/document.c,
src/document.h, src/main.c, src/socket.c:
Speed up loading multiple C-like files when existing documents are
open (by ensuring documents are only colourised once).
Add document_open_files(), document_colourise_new().
Add some missing function parameter names to document.h.
2007-03-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook:
Added single line comment examples for clarification.
2007-03-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/project.c, src/project.h:
Add project run command support. Run command is a custom command-line
and can include arguments.
Make 'Choose project filename' dialog use a Save button.
2007-03-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Moved all code for checking and creating the geany run script
temporary file from build_run_cmd() to prepare_run_script().
* src/build.c, src/utils.c:
Fix memory leak with utils_remove_ext_from_filename().
* src/build.c:
Fix memory leak, remove unused build_create_shellscript() argument.
* src/build.c:
Use UTF-8 for missing executable error message.
2007-03-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c:
Added new file filter for Open File dialog to only show supported
source files (for native Win32 dialog).
* src/main.c: Changed location of translation files to lib\locale
on Win32.
* geany.nsi: Added NSIS installer script for the Win32 installer.
* data/filetypes.c, data/filetypes.cpp, src/highlighting.c:
Added support for secondary keywords for filetypes C and C++.
* doc/geany.docbook: Fixed typo (thanks to John Gabriele).
2007-03-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/project.c, src/project.h:
Run Make All and Make Custom from the project base directory, if set.
Add project_get_make_dir().
2007-03-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/tools.c, src/utils.c:
Applied patch from Jeff Pohlmeyer to improve the custom command
execution code(thanks).
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_selection_mode(), sci_set_selection_mode(),
sci_get_pos_at_line_sel_start(), sci_get_pos_at_line_sel_end().
* src/document.c:
Improved replacing in rectangle selections (closes #1665571).
* src/build.c, src/tools.c, src/utils.c, src/utils.h:
Set IO channels for custom commands to blocking mode
(thanks to Jeff Pohlmeyer).
* data/filetypes.python, src/highlighting.c:
Added missing keywords: as, with, False, None and True.
* src/dialogs.c, src/filetypes.c, src/filetypes.h:
Added new file filter for Open File dialog to only show supported
source files (list of all defined filename extensions).
2007-02-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c, src/msgwindow.h, src/search.c:
Show number of matches when using Find All or Find in Files.
Add msgwin_msg_add_fmt().
* src/build.c:
Make build_spawn_cmd() take a command string instead of joining an
array of strings.
2007-02-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/filetypes.c:
Use utils_strv_new() for all filetype patterns.
2007-02-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/tools.c: Fixed wrong sensitiveness of custom commands menu items.
* configure.in, THANKS:
Applied patch from Slava Semushin to improve SVN checks (thank you).
2007-02-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, doc/geany.docbook, src/geany.h, src/interface.c,
src/keybindings.c, src/keybindings.h, src/keyfile.c, src/main.c,
src/tools.c, src/tools.h:
Added custom commands to send selected text through some definable
commands and replace the selection with the output.
* data/filetype_extensions.conf, src/filetypes.c:
Added *.pod to Perl file patterns.
* src/sci_cb.c: Auto complete multi line comments only when auto
completion of constructs is enabled.
2007-02-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Prevent undefined behaviour when using the Stop command that can kill
X when Geany is run from the KDE or Xfce menu (not from a terminal).
Should close #1668017.
2007-02-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, Makefile.am, README.I18N, po/intl_stats.sh, po/LINGUAS:
Moved list of available translations to new file po/LINGUAS.
Added readme file for translation information.
Added little shell script intl_stats.sh to display some basic
translation statistics.
2007-02-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/*.c:
Add descriptions for all .c source files below the file header.
2007-02-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/document.c, src/document.h, src/main.c:
Speed up loading multiple C-like files when restoring session or
loading command-line files at startup by ensuring documents are
only colourised once.
Also prevent re-colourising C-like documents after saving a file
unless the list of typenames has changed.
Add document_delay_colourise(), document_colourise_all().
* src/dialogs.c, src/document.c, src/document.h:
Fixed switching to the wrong tab when showing the unsaved dialog.
* src/templates.c:
Don't include filetype.none in the new file template menus.
2007-02-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c, src/sci_cb.h:
Made auto_close_bracket() static and auto close brackets only when
auto completion of constructs is enabled (closes #1665015).
* doc/geany.1.in: Fixed typo.
* geany.glade, src/interface.c: Improved tooltip for auto completion.
2007-02-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Remove the yellow error line marker also when using 'Remove Error
Indicators'.
2007-02-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c: Fixed compiler warning.
* src/project.c, src/win32.c, src/win32.h:
Added Windows dialogs for Project new and Project open actions.
Fixed some mem leaks in the Windows code.
2007-02-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/templates.h, src/highlighting.c,
src/callbacks.c, src/callbacks.h, src/filetypes.c, src/main.c:
Support filetype templates for all filetypes (scan
~/.geany/templates/filetype.* at startup).
Default filetype templates are now created in init_ft_templates().
Move on_new_with_template() to templates.c.
Move on_filetype_change() to filetypes.c.
2007-02-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.ruby, src/highlighting.c:
Added several missing style types for filetype Ruby.
* doc/geany.docbook: Added notice about contributing to the docs
(patch from John Gabriele, thanks).
2007-02-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Scroll Compiler and Messages window in view when using Next Error
or Next Message.
* src/search.c:
Add Mark button as a Find All option in the Find dialog.
* src/interface.c, src/callbacks.c, src/callbacks.h, src/document.c,
geany.glade:
Add Remove Markers item to the Document menu.
Remove Error Indicators no longer removes current tag marker.
2007-02-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c, src/sciwrappers.h, src/sci_cb.c, src/document.c:
Rename sci_get_line_end_from_position() with line argument, not
position.
Don't autocomplete for/if constructs when editing an existing line.
* src/document.c:
Set single undo action when using document_strip_trailing_spaces().
* src/search.c:
Show grep command and directory when using Find in Files.
2007-02-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.perl, src/highlighting.c:
Added several missing style types for filetype Perl
(thanks to John Gabriele for reporting).
* src/treeviews.c: Aligned "No symbols found" label to top.
* src/callbacks.c, src/document.c, src/document.h, src/keybindings.c,
src/main.c, src/socket.c:
Added possibility to create and open non-existent files from command
line (closes #1635094 and #1652917).
2007-02-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* geany.glade, src/interface.c: Fixed a typo.
2007-02-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* geany.desktop.in:
Add MimeType text/x-diff.
* scintilla/ScintillaGTK.cxx:
Redraw instead of scrolling in ScintillaGTK::ScrollText if there is
an existing update region.
Revert earlier ScintillaGTK::ExposeTextThis change.
* tagmanager/c.c:
Fix wrong D function return type after a class definition.
2007-02-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Allow popup Symbols menu when the current document has no tags, so
the sidebar can be hidden.
Use a GtkLabel to display 'No tags found'.
2007-02-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Convert config, application and documentation dir paths
to locale encoding before using it.
2007-02-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/filetypes.c,
data/filetype_extensions.conf:
Add *.rej as a Diff filename pattern.
Add utils_strv_new() to duplicate a va_list of strings.
2007-02-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/pascal.tags, THANKS: Fixed a wrong autocompletion. Thanks to
Dirk Weber for reporting.
2007-02-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c:
Fix missing global tags for C files when a C++ source file was
loaded first.
2007-02-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c:
Prevent right click in Symbol list from selecting a tag.
* src/ui_utils.h, src/treeviews.c, src/callbacks.c, src/treeviews.h,
src/document.c, src/main.c, src/ui_utils.c:
Move ui_update_tag_list() to treeviews.c.
Make treeviews_prepare_taglist() static.
2007-02-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Prevent scroll bar from moving when using document_find_text() and
no match is found.
* tagmanager/c.c:
Make anonymous typenames use anon_typename_n instead of
typename_anon_n (it seems we can't use <> brackets because of
missing scope problem).
* src/build.c:
Allow Make for files with no extension - prevent Build when the
output filename would be the same as the source file.
2007-02-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Show file path on window title after file name.
2007-02-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Prevent compiling or executing of files without a
filename extension(closes #1642029).
* src/document.c: Made --line and --column also working for already
open files (thanks to Mark Knoop for his help).
* THANKS, src/treeviews.c:
Applied patch from Tomás Vírseda to sort the list of open files in
the sidebar alphabetically (thanks).
2007-01-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/ScintillaGTK.cxx, src/document.c, src/document.h,
src/keybindings.c, src/sci_cb.c, src/sciwrappers.c,
src/sciwrappers.h, src/utils.c:
Improved the auto scrolling of documents (actually done by Nick).
2007-01-30 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* configure.in, THANKS, src/about.c, po/fi.po:
Added Finnish translation (Thanks to Harri Koskinen).
2007-01-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/document.c, src/document.h, src/keyfile.c,
src/sci_cb.c, src/sciwrappers.c, src/sciwrappers.h:
Fixed some scrolling issues with session files and files remotely
open via the socket. Added need_scrolling flag to document struct.
2007-01-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Applied patch from Jeff Pohlmeyer to clear the line
marker when clearing the compile error markers.
* geany.glade, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Added an option to disable auto completion of known symbols while
typing (still can be forced by pressing the keybinding).
2007-01-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Applied patch from Jeff Pohlmeyer to improve loading of
the VTE library.
* src/ui_utils.c: Applied patch from Jeff Pohlmeyer to make the
window title Gnome HIG compatible.
2007-01-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, src/filetypes.c:
Added *.xsd to XML file patterns.
* geany.glade, src/callbacks.c, src/callbacks.h, src/geany.h,
src/interface.c, src/keybindings.c, src/keybindings.h, src/main.c,
src/sci_cb.c, src/sci_cb.h, src/search.c:
Added keybinding and menu entry to open a file which is selected
in current tab.
Made Insert Special HTML characters insensitive if there are no
open tabs.
Removed Zoom items from popup menu.
* tagmanager/latex.c: Allow \section*{} and other commands with *.
* doc/geany.1.in, doc/geany.docbook, src/document.c, src/main.c,
src/main.h, src/socket.c:
Added command line option --column to allow setting the initial
column for the first opened file on command line.
Don't apply the --line and --column options to the first opened
session file.
Make --line and --column options work for opening files in an already
running instance.
* src/document.c: Oops. Revert the change to ignore --line setting when
opening session files.
2007-01-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/search.c:
Setup Find Next/Previous to use the same search text after using
Find Selected/Prev Selected.
2007-01-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/keybindings.c, src/keybindings.h,
src/callbacks.c, src/callbacks.h, src/search.c, src/search.h,
geany.glade:
Applied patch from Jeff Pohlmeyer to add 'Find Selected' and
'Find Prev Selected' Search commands and keybindings (thanks).
2007-01-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c: Implemented loading and saving of the project file
and minor improvements.
* src/build.c, src/msgwindow.c, src/msgwindow.h:
Applied patch from Jeff Pohlmeyer to avoid parsing of compiler errors
by the va_list system.
* src/project.c: Replaced the New button by a Create button.
2007-01-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/makefile.win32: Fixed typo.
* scintilla/*, src/sci_cb.c: Updated Scintilla to version 1.72.
* doc/geany.docbook:
Added a notice of changed DnD behaviour in Scintilla 1.72.
2007-01-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Use "rm" to delete the run script because unlink is not
available on all systems.
* geany.desktop.in: Added more mimetypes supplied by Nick Schermer.
* doc/geany.docbook: Documented GEANY_PROJECT_EXT.
* src/dialogs.c, src/prefs.c, src/prefs.h, src/search.c:
Fixed crashes when using some dialogs after they were closed before.
2007-01-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c: Do not auto complete project filename and base path
when they were changed manually.
* src/geany.h, src/project.c:
Implemented project open dialog, but open doesn't do anything yet.
Added GEANY_PROJECT_EXT macro.
* geany.glade, src/interface.c:
Removed unintended keybindings for the project menu items.
* geany.desktop.in: Added MimeType entry as suggested by Nick Schermer.
2007-01-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Change default keybinding for Close All to Ctrl-Shift-W to avoid
conflict with Document menu (thanks to Jeff Pohlmeyer).
Remove Alt-P default KB for Preferences to avoid conflict with
Project menu.
2007-01-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/project.c, src/project.h:
Added properties dialog (still far away from state ready).
Added file_patterns field.
* src/utils.c, src/utils.h: Added utils_mkdir().
2007-01-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, doc/geany.docbook:
Make Go to Tag Definition work for all tags except forward
declarations and externs.
2007-01-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Use g_shell_quote to avoid problems with special
characters in the path of a filename.
2007-01-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c:
Backport improvements from Anjuta 2.02.
Parse anonymous struct and enums (using contextual_fake_count).
Add better C99 support, e.g. wchar_t variables.
* tagmanager/include/tm_symbol.h, tagmanager/tm_symbol.c:
Add tm_arglist_compare().
Fix comparison in tm_symbol_tag_compare().
2007-01-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c:
Fixed changing directories when the path contains whitespace.
* src/callbacks.c: When using Save As the returned filename needs to be
converted into UTF-8.
* geany.glade, po/POTFILES.in, src/callbacks.c, src/callbacks.h,
src/geany.h, src/interface.c, src/main.c, src/makefile.win32,
src/Makefile.am, src/project.c, src/project.h:
Started to implement project management (still unusable).
Added project.[c|h].
2007-01-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/symbols.c:
Reorder symbol list by Namespaces, Classes, Functions, Members,
Structs, Macros, Variables.
Add D Variables, rename D Methods -> Functions.
2007-01-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/build.c, src/document.c, src/geany.h,
src/highlighting.c, src/interface.c, src/keyfile.c, src/prefs.c,
src/sci_cb.c, src/sci_wrappers.c, src/sciwrappers.h, src/utils.c,
src/utils.h:
Added sci_set_use_tabs().
Fixed mem leak in sci_cb_auto_forif().
Moved free_pointers() to utils.c.
Applied patch from Jeff Pohlmeyer to add an option for using spaces
or tabulators when inserting some whitespace.
* src/about.c: Updated copyright information.
* geany_private.rc, README, src/*.c, src/*.h:
Updated copyright information.
* data/filetype_extensions.conf, src/filetypes.c:
jsp is a Java extension.
* src/sci_cb.c:
Enabled auto completion of constructs for filetype JavaScript.
2007-01-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/treeviews.c, src/treeviews.h, src/symbols.c, po/POTFILES.in:
Move treeviews_init_tag_list() and symbol list GtkTreeIters to
symbols.c.
* src/highlighting.c:
Fix segfault when setting Lua filetype.
2007-01-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetype_extensions.conf, data/filetypes.javascript,
data/filetypes.lua, scintilla/KeyWords.cxx, scintilla/LexLua.cxx,
scintilla/Makefile.am, scintilla/makefile.win32, src/filetypes.c,
src/filetypes.h, src/highlighting.c, src/highlighting.h,
src/sci_cb.c, src/templates.c, tagmanager/js.c, tagmanager/lua.c,
tagmanager/Makefile.am, tagmanager/makefile.win32,
tagmanager/parsers.h: Added new filetypes Javascript and Lua.
* geany.glade, THANKS, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Applied patch from Jeff Pohlmeyer to add an option for disabling DnD
in the editor widget.
2007-01-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c, src/socket.c, po/POTFILES.in:
Print an error message (instead of debug message) when a
command-line file cannot be loaded.
* src/utils.c, src/utils.h, src/geany.h, src/symbols.c,
src/ui_utils.c, src/symbols.h:
Move utils_compare_symbol(), GeanySymbol, recreate_tag_list()
to symbols.c.
* src/document.c:
Update the symbol list when starting a new document.
2007-01-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, src/symbols.c, src/symbols.h:
Use '::' context separator for C also (so C/C++ share the same
syntax, and C++ .h headers use correct syntax).
Add symbols_get_context_separator() and use for calltips and the
symbol list.
* src/treeviews.c, src/document.c:
Don't select the current document when reordering tabs (fixes
#1632708).
* src/utils.c:
Fix g_strconcat leaks in utils_make_settings_dir().
2007-01-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Fix commenting multiple lines (oops).
Set single undo action when toggling multiple lines.
2007-01-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Try to fix paste problems on Windows (should close #1628951).
2007-01-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/sci_cb.c, src/sciwrappers.c:
Prevent some possible buffer overflows.
2007-01-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, src/keybindings.c, src/keybindings.h:
Added keyboard shortcut for Save As.
Added missing documentation for some keyboard shortcuts.
* src/vte.c: Improved tool tip for terminal emulation.
2007-01-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/encodings.c, src/document.c,
src/encodings.h, src/dialogs.c, src/ui_utils.c:
Fix memory leak when using utils_scan_unicode_bom().
Prevent invalid memory read in utils_scan_unicode_bom() when text
length is < 4.
Move utils_scan_unicode_bom(), utils_is_unicode_charset() to
encodings.c.
Read the BOM length in handle_bom().
2007-01-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c: Fixed typo.
2007-01-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/sci_cb.c, src/sci_cb.h, src/templates.c,
src/templates.h:
Removed multiline template because it makes not much sense, instead
just comment three lines using the general comment functionality.
Removed special templates for Pascal and some other filetypes using
"#" as comment char. The comment characters for fileheader and GPL
templates are now added dynamically according to the current
filetype.
* geany.glade, doc/geany.docbook, src/callbacks.c, src/callbacks.h,
src/interface.c, src/templates.c, src/templates.h:
Added template for BSD licence.
* src/document.c: Fixed missing colouring of tab menu label.
* doc/geany.docbook, src/geany.h, src/utils.c, src/templates.c:
Save template files in a subdirectory "templates" inside Geany's
configuration directory.
2007-01-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c:
Ensure the VTE visual settings are applied when switching to VTE
when the Message Window is hidden.
Show the Message Window when switching to Scribble.
* src/document.c:
Use load_text_file() in document_open_file() to read, verify and
handle encoding using FileData struct.
Refactored handle_[forced_]encoding with FileData* argument.
Update data length after removing BOM chars in handle_bom().
2007-01-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/build.h:
Make build_parse_make_dir() more efficient.
2007-01-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c, tagmanager/entry.h, tagmanager/tm_tag.c,
tagmanager/include/tm_tag.h, tagmanager/c.c:
Parse pointers in function return type for C-like files.
Show scope in calltips.
Made tm_tag_destroy() static.
* src/treeviews.c:
Fix for C89 compatibility.
* src/templates.c, src/build.c, src/templates.h, src/build.h,
src/highlighting.c, src/filetypes.h:
Added filetype_id typedef so that GEANY_FILETYPES_* can be shown
when debugging (also renamed some filetype_id variable names).
2006-12-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c: When opening a file, set the current selected
entry in the open files list to the file's filename.
2006-12-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Don't use gtk_rc_get_style() in ui_update_tab_status() because it
can cause an invalid memory read on some systems.
* src/build.c, src/build.h, src/msgwindow.c, src/msgwindow.h:
Applied patch from Josef Whiter to parse 'Entering directory' build
messages so that subsequent error messages are handled correctly
(thanks).
Assume gcc-style error messages when filetype is not set.
2006-12-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_tag.c, tagmanager/include/tm_tag.h:
Fix missed matches in tm_tags_find().
* src/sci_cb.c, tagmanager/tm_workspace.c,
tagmanager/include/tm_workspace.h:
Add calltip support for D constructors.
Add tm_workspace_find_scoped() (adapted from Anjuta 2.02
tm_workspace_find()).
2006-12-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/sci_cb.c:
Only call SCI_BRACEMATCH once in sci_cb_highlight_braces().
Separate find_calltip() from sci_cb_show_calltip().
* src/sciwrappers.c:
Improve accuracy of sci_scroll_to_line() when line wrapping and/or
folding is used.
2006-12-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Don't reparse the current function when fold level is higher than
the function fold level (when the line has only changed by 1).
2006-12-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.1.in, doc/Makefile.am, doc/geany.docbook, doc/images/*,
doc/html/*:
Fixed encoding of generated PDF file.
Deleted all jpg images and replaced them by png images.
Updated date in documentation and manpage.
* src/callbacks.c: Fixed wrong paste behaviour under Windows with some
applications.
* src/ui_utils.c: Start column count from 0 in the statusbar display.
* New release: Geany 0.10 "Sander".
* configure.in, src/geany.h, geany_private.rc:
Version bump and updated codename for the next release.
2006-12-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c: Changed default values:
Confirm exit -> disabled by default
Use tab to indent -> disabled by default.
2006-12-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c:
Fix strv leak in configuration_open_files().
* src/treeviews.c, src/ui_utils.c:
Fix tag treeview not being freed (because of g_object_ref).
Separate recreate_tag_list() from ui_update_tag_list().
* src/vte.c:
Stop Valgrind complaining about a vc->emulation leak.
* src/callbacks.c, src/search.c:
Remove unneeded static from current word strings.
2006-12-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/tools.c: Completed list of special characters, implemented
expanding and collapsing of categories at double click.
* src/geany.h: Updated codename (not really important).
2006-12-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/search.c, src/document.c:
Don't log simple error messages like 'No text to find'.
* src/keyfile.c:
Open tabs left to right by default.
* src/keyfile.c:
Scroll cursor to 50% of the view for session files at startup.
* src/callbacks.c, src/dialogs.c:
Always switch to the tab when showing the unsaved file dialog.
* src/document.c:
Don't set the cursor to the start of the document when attempting to
open an already open file.
* src/utils.c, src/utils.h, src/callbacks.c, src/sci_cb.c,
src/document.c:
Force a file changed check when attempting to open an already open
file.
* src/sciwrappers.c, src/sciwrappers.h, src/document.c:
Scroll cursor to 50% of the view when reloading a file.
Rename sci_goto_pos() argument 'unfold'.
2006-12-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c:
Made the sidebar notebook tabs scrollable.
* geany.glade, src/callbacks.c, src/callbacks.h, src/interface.c,
src/ui_utils.c:
Fixed wrong insert position when the cursor was moved by keyboard
and comments, includes or a date was inserted.
Also fixed some segfault when inserting comments, dates and includes
at a position prior to some deleted text.
* src/document.c: Fixed disabled build menu items after opening the
first file of a filetype.
2006-12-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Fix using the current word on first use of the Find in Files dialog.
* src/document.c:
Don't log 'replaced 0 occurrences' status messages.
* src/search.c:
Remove unneeded 'missing response' debug messages.
2006-12-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Fix memory leak in utils_check_disk_status().
* src/highlighting.c, src/sci_cb.c, src/sci_cb.h, src/document.c,
src/symbols.c, src/symbols.h:
Colourise C enum, union and D/Java interface typenames.
Add sci_cb_lexer_get_type_keyword_idx() for use when finding if a
lexer supports typename colouring.
2006-12-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, src/sci_cb.c, src/sci_cb.h, src/symbols.c,
src/symbols.h:
Moved html_entities array to symbols.c.
Fixed some checks for the new D lexer and improved detection of
comments when auto completing or showing calltips.
* src/search.c: Bring the Find, Replace and FIF dialog back to top if
they are already shown but lost focus.
2006-12-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c:
Only remove extra space indent after a multiline comment if the
indent contains one too many spaces.
* src/highlighting.c, data/filetypes.d:
Show D typedefs in bold.
* src/sci_cb.c, src/sci_cb.h, src/document.c:
Fix setting project typenames for the new D lexer.
Add sci_cb_lexer_is_c_like() which returns TRUE for C++/D lexers.
Only recolourise C-like files when updating project typename
keywords.
2006-12-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c: Fixed a typo.
2006-12-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Fix updating the symbol list when a file is saved.
Update C-like typedef keywords when reloading a file.
* src/sci_cb.c:
Fix adding a multiline comment character after pressing enter on the
last line of a multiline comment.
Remove multiline comment indent after pressing enter on last line.
Prevent invalid memory reads in auto_multiline().
2006-12-13 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* THANKS: Small update of contact data and small fix of translated
language.
2006-12-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/about.c, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/keyfile.c, src/document.c, src/prefs.c,
src/main.c, src/ui_utils.c:
Fix memory leaks when using GdkPixbuf, PangoFontDescription and some
strings.
Capitalize main window title.
Add ui_widget_modify_font_from_string().
* src/build.c, src/keybindings.c, src/msgwindow.c, src/msgwindow.h,
src/vte.c, src/main.c:
Add 'Hide Message Window' popup menu item for each window in the
message window area.
Add msgwin_menu_add_common_items().
Move remaining message window setup code to msgwin_init().
* src/interface.c, geany.glade:
Add 'Invert syntax highlighting colours' Preferences dialog option
(hidden for now).
2006-12-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/geany.h, src/keyfile.c, src/sciwrappers.c,
src/sciwrappers.h: Added option to toggle usage of Tab button for
indentation.
* geany.glade, po/POTFILES.in, src/callbacks.c, src/callbacks.h,
src/interface.c, src/keybindings.c, src/keybindings.h,
src/Makefile.am, src/makefile.win32, src/tools.c, src/tools.h:
New files tools.c and tools.h.
Added a dialog to insert HTML special characters.
2006-12-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/interface.c, src/callbacks.c, src/ui_utils.c,
geany.glade:
Use GNOME HIG Header style capitalization for all menu items.
* src/main.c:
Make files loaded from the command-line at startup get added to the
recent files menus.
2006-12-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.vhdl: Fixed typo in "number" and "string" styles.
2006-12-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c:
Show GTK+, GLib runtime version debug message after socket_init().
* src/callbacks.c:
Make indenting and unindenting keep the same cursor position when
the cursor is within the indentation characters.
* configure.in:
Link with libsocket if necessary to fix building on Solaris.
2006-12-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/callbacks.c, src/document.c, src/keyfile.c,
src/prefs.c, src/vte.c, src/vte.h:
Added option to execute programs in the VTE instead of executing
them in a terminal emulation window (closes #1594456).
* src/dialogs.c: Use a table to layout the word count dialog.
2006-12-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Fix building on win32; also fix some warnings.
* src/document.c:
Read the file's modification timestamp after saving because on
Windows it can be later than expected (closes #1611530).
* src/keybindings.c:
Show the Message window when switching to the vte.
* src/build.c, src/keybindings.c, src/keybindings.h:
Add keybindings for Next Message and Next Error commands.
2006-12-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/interface.c, src/ui_utils.h, src/build.h,
src/keybindings.c, src/msgwindow.c, src/callbacks.c,
src/msgwindow.h, src/callbacks.h, src/main.c, src/ui_utils.c,
geany.glade:
Add Next Message and Next Error menu items.
Don't select the last build message on completing a build.
Change build_get_menu_items(-1) to return current build menu.
Add Copy popup menu item for Status and Messages windows.
Move on_message_treeview_clear_activate(),
on_compiler_treeview_copy_activate() to msgwindow.c.
Create the Recent files submenu item manually because Glade 2.10
removes empty menus.
* src/dialogs.c, src/ui_utils.c:
Use ui_button_new_with_image() in dialogs_show_unsaved_file().
2006-12-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Made the created run script for command execution a bit
more portable to other shells than bash (thanks to
Nacho Cabanes for reporting).
* src/document.c, src/document.h, src/sciwrappers.c, src/ui_utils.h,
src/sciwrappers.h:
Fixed broken overtype update in the statusbar.
Removed unused field do_overwrite in document struct.
* src/msgwindow.c: Removed compiler warning.
* src/sci_cb.c, src/sci_cb.h:
Made sci_cb_get_indent and sci_Cb_auto_multiline static.
Improved auto completion of multi line comments and support
/+ +/ for D files.
* src/msgwindow.c: Fixed wrong check button state in view menu if
message window was shown automatically.
2006-12-07 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, THANKS, configure.in, po/fr.po:
Added French translation (Thanks to Jean-Philippe Moal).
2006-12-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Create new tm file object when changing the filetype
of a document to avoid a confused tagmanager.
* data/filetypes.d, scintilla/KeyWords.cxx, scintilla/LexD.cxx,
scintilla/Makefile.am, scintilla/makefile.win32,
scintilla/include/SciLexer.h, src/highlighting.c:
Added new scintilla lexer for D. It needs testing and there is more
work to do to get it working properly.
* src/about.c, src/build.c, src/callbacks.c, src/document.c,
src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
src/utils.h, src/dialogs.c, src/vte.c:
Revert the last change to utils_str_equal() and use it again because
g_str_equal() is not NULL-safe.
2006-12-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Don't insert extra indentation in Python files after a
colon if the line is a comment (closes #1609761).
* src/about.c, src/build.c, src/callbacks.c, src/document.c,
src/encodings.c, src/gb.c, src/keyfile.c, src/prefs.c, src/sci_cb.c,
src/search.c, src/symbols.c, src/ui_utils.c, src/utils.c,
src/utils.h: Removed utils_str_equal() and use g_str_equal() from
GLib because it does exactly the same.
2006-12-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c, tagmanager/latex.c:
Let the LaTeX parser recognise the keyword \chapter.
2006-12-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/socket.c:
Prevent Valgrind warning with unlink(NULL).
* src/ui_utils.h, src/treeviews.c, src/callbacks.c, src/notebook.c,
src/treeviews.h, src/notebook.h, src/document.c, src/document.h,
src/ui_utils.c:
Show read-only notebook tabs in green.
Add document_get_status() to get the tab colour for the document.
Use ui_update_tab_status() to update notebook tabs and open files
treeview items.
Avoid using GtkTreeIter struct as treeviews function arguments.
Remove unneeded arguments for treeviews_openfiles_add(),
notebook_new_tab().
2006-12-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, data/filetypes.d:
Move C/C++ styling_within_preprocessor code out of C-like styles.
Use styleset_c_like() when applying C-like Scintilla styles.
Synchronize gsd_reserved_word, gsd_system_word and data/filetypes.d
with styles in data/filetypes.c.
2006-12-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Use default GTK foreground colour for filenames on
notebook tabs instead of hardcoded colour black.
* src/sci_cb.c: Fixed broken auto completion for LaTeX files.
2006-12-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.c, data/filetypes.cpp, data/filetypes.d,
data/filetypes.ferite, data/filetypes.java, src/highlighting.c:
Added new style for doc keyword error and added some doc key words
for Doxygen and Javadoc.
* geany.glade, src/geany.h, src/interface.c, src/keyfile.c,
src/prefs.c, src/sci_cb.c:
Added new preference to unfold all children of a fold point if the
fold point is unfolded.
* src/msgwindow.c: Applied patch from Bob Doan to ignore libtool
messages when parsing the output of make (thanks).
* src/sci_cb.c, src/sci_cb.h:
Made handle_xml() static.
Fixed wrong XML auto completion in PHP files when inserting '>',
thanks to Bob Doan for reporting.
2006-12-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: Use the same style for unknown doc keywords
(/** @something */) as for known keywords.
2006-12-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/geany.h, src/main.c,
src/ui_utils.c:
Removed invisible place holder menu item in recent files menu.
Create separate sub menu for the recent files menu in the toolbar to
prevent GTK warnings when using GTK >= 2.10.
2006-12-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/vte.c:
Make the switch to vte menu shortcut override work before the VTE
has been realized.
2006-11-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c:
Disable open toolbutton recent files menu for now because on
GTK+2.10 packing the recent files menu twice causes warnings.
* src/build.c, src/build.h, src/keybindings.c, src/callbacks.c,
src/filetypes.c, src/filetypes.h, src/dialogs.c:
Make all filetypes except LaTeX use the same build menu, disabling
any items that don't apply for the current document.
Move BuildMenuItems struct type to build.h.
2006-11-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/build.h, src/keybindings.c, src/filetypes.c,
src/filetypes.h:
Make stop button only apply for killing running programs.
Disable build commands when building is in progress.
Make build_menu_update() detect how to call set_stop_button().
Make build_menu_update() also update the LaTeX build menu.
Make build keybindings only active when the equivalent menu item
is also active.
2006-11-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c:
Show build result on status bar if Compiler window is not selected.
2006-11-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c, src/notebook.c, src/msgwindow.h, src/notebook.h:
Add some const char* argument modifiers, remove unneeded static from
some local vars.
* src/vte.c:
Remove vte_char_size_changed() workaround, not needed since r988;
this also fixes an issue where the VTE is limited to 30x5 chars.
* src/search.c, src/document.c, src/document.h:
When replacing in session, use notebook page order and show a count
of the files changed.
Show the filename when replacing text over a range.
Add DOC_FILENAME() null-safe macro to get the filename at doc_idx.
* src/build.c, src/ui_utils.h, src/msgwindow.c, src/search.c,
src/document.c, src/ui_utils.c:
Make ui_set_statusbar() use printf-style arguments & assume the
message should not be overridden.
* data/filetypes.python:
Change python default compile command to create a compiled python
.pyc file (thanks to Bajusz Tamás).
2006-11-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/prefs.c, src/dialogs.c, src/ui_utils.c:
Add frame for VTE Preferences tab, update packing.
Replace ui_frame_new() with ui_frame_new_with_alignment().
* src/callbacks.c, src/callbacks.h, src/vte.c, src/vte.h, src/prefs.c,
src/prefs.h:
Move VTE preferences GUI code to vte.c.
Move on_pref_tools_button_clicked() to prefs.c.
2006-11-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Fixed segfault when opening the preferences dialog for
the first time from the VTE widget.
2006-11-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/geany.h, doc/geany.docbook,
data/filetypes.*:
Only use [a-zA-Z0-9] chars for default wordchars, to avoid problems
with word matching when using Find & Replace functions.
* src/keybindings.c:
Add switching to a notebook tab number using Alt-1 to Alt-9; Alt-0
switches to the last tab.
* src/geany.h, data/filetypes.*:
Add underscore to default wordchars again (oops).
2006-11-22 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/hu.po, src/about.c, THANKS, configure.in:
Added Hungarian translation (Thanks to Gabor Kmetyko aka
kilo <kg_kilo(at)freemail(dot)hu>).
2006-11-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c, src/notebook.h, src/document.c:
Ensure tab DnD is enabled when tabs are added; use
notebook_remove_page() instead of gtk_notebook_remove_page().
Unified notebook_[en|dis]able_dnd_for_dropping_files() in
tab_count_changed().
2006-11-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/callbacks.h, src/document.c, src/main.c,
src/notebook.c, src/notebook.h:
Removed DnD handler for the main window (not very useful).
Fixed broken tab reordering by only enabling DnD for dropping files
when there are no open file tabs, otherwise disable it and enable
DnD for moving file tabs. Dropping files into Geany when file tabs
are open still works because then it is handled by the Scintilla
widget.
* src/msgwin.c: Applied patch from Bob Doan to parse PHP compile
errors better (thanks).
2006-11-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_first_visible_line().
* src/interface.c, src/geany.h, src/sci_cb.h, src/keyfile.c,
src/vte.c, src/search.c, src/document.c, src/prefs.c, geany.glade:
Applied patch from Bob Doan to prevent scrolling when wrap searching
around a document, and to add a preference for suppressing search
dialogs when wrapping or after Find Next.
Rearranged some Preferences dialog options, added Files tab.
Disable tab position when file tabs are hidden (not new file tab
placement option, it still affects order of pages).
* src/interface.c, geany.glade:
Add Preferences frame alignment for Tools, Templates, Keybindings.
Revert tab placement label text.
2006-11-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/main.c:
Fixed compile error under Win32.
Ignore pressed Stop button under Win32 (at least for the moment,
not yet implemented).
2006-11-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c:
Change Find Next/Previous buttons to use better stock icons.
* src/callbacks.c, src/sci_cb.c, src/document.c, src/document.h:
Fix sign comparison warnings.
2006-11-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Enabled DnD also for the main notebook widget to drop
files in the main area of Geany.
2006-11-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Don't unload the VTE module on exit to avoid crashes on
some systems.
* src/main.c: Fixed small memory leak.
* src/callbacks.c, src/callbacks.h, src/document.c, src/document.h,
src/main.c, src/sci_cb.c:
Enabled drag and drop for the whole main window to be able to drop
files even if no tabs are open.
Moved code for getting the file list to document_open_file_list().
2006-11-15 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/about.c, configure.in, THANKS, po/zh_TW.po:
Added tranditional Chinese translation (Thanks to KoViCH
<kovich(dot)ian(at)gmail(dot)com>).
2006-11-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/search.c, src/ui_utils.c:
Add search history for Find in Files.
Add ui_combo_box_add_to_history() and use to prevent blocks of
duplicates (but not all duplicates) from search history combo boxes,
and limit history to 30 entries.
* src/build.c:
Remove the stop button in build_exit_cb() when using Make commands.
Fix set_stop_button() when using Make when the current file has no
filetype.
2006-11-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexPascal.c: Tried to fix wrong styling at "end.".
2006-11-14 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/zh_CN.po, src/about.c, configure.in, THANKS:
Added simple Chinese (zh_CN) translation (Thanks to
Dormouse Young <mouselinux(at)163(dot)com>).
2006-11-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c, src/templates.h, src/callbacks.c, src/filetypes.c,
src/filetypes.h, src/document.c, src/document.h:
Add NULL-safe FILETYPE_ID macro to get filetype::id from pointer.
Allow insertion of GPL notice and file header when the filetype is
not set.
Add commenting for PHP & HTML GPL notice and file header templates.
Add make_comment_block() to templates.c.
Move document_prepare_template(), filetypes_get_template() to
templates.c.
2006-11-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/filetypes.h, src/highlighting.c,
src/highlighting.h, src/treeviews.c, scintilla/Makefile.am,
scintilla/makefile.win32, scintilla/KeyWords.cxx,
scintilla/LexVHDL.cxx, tagmanager/vhdl.c, tagmanager/parsers.h,
tagmanager/Makefile.am, tagmanager/makefile.win32,
data/filetype_extensions.conf, data/filetypes.vhdl:
Added new filetype VHDL.
* geany.glade, src/interface.c, src/keybindings.c:
Use plural for line commentation description labels.
* src/build.c: Added missing inclusion of signal.h.
2006-11-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c: Fix invalid memory read in sci_cb_get_indent().
* src/callbacks.c: Fix invalid memory write in on_exit_clicked().
2006-11-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/vte.c: Fix message window horizontal scrollbar being too tall on
some systems (thanks to Rob van der Linde).
2006-11-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: Probe different versions of libvte.so, not only libvte.so
and libvte.so.4.
* src/keyfile.c: Fixed a segfault when closing preferences dialog and
loading VTE was enabled after it was disabled.
* src/build.c, src/build.h, src/main.c:
Extended the build_info struct with useful information of the
current running command.
Added stop button(using the Run button) to cancel the execution of a
command like Run, Compile or Build.
Fixed a typo in an error message.
* doc/geany.docbook:
Described new folding_horiz_line setting in filetypes.common.
Added documentation for stopping of running processes.
2006-11-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/filetypes.java, data/filetypes.cpp,
data/filetypes.ferite, data/filetypes.c, data/filetypes.d,
data/filetypes.pascal, data/filetypes.sql, data/filetypes.xml:
Changed commentdoc(used for javadoc and Doxygen, /** */) colour to a
light blue.
2006-11-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/main.c:
Fix a possible bug with g_file_test when opening files at startup.
Show warning message on status bar if some session files couldn't be
loaded, showing debug messages for each session file that fails.
2006-11-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/highlighting.c, src/utils.h, src/callbacks.c,
src/sci_cb.c, src/document.c, src/symbols.c, src/ui_utils.c,
src/symbols.h:
Move utils_get_tag_list() to symbols.c, make utils_find_tm_tag()
static.
Move symbols_get_global_keywords() to get_global_typenames() in
highlighting.c.
Add symbols_find_tags_as_string(), symbols_get_tag_list(),
symbols_get_macro_list(), symbols_find_in_workspace() from various
tag-related existing code.
* src/ui_utils.c:
Never show the Sidebar if app->show_sidebar is false (prevents
showing Sidebar after setting Preferences, when user has chosen to
hide the Sidebar).
* src/utils.c, src/utils.h, src/about.c, src/callbacks.c,
src/sci_cb.c, src/keyfile.c, src/search.c, src/encodings.c,
src/document.c, src/prefs.c, src/gb.c, src/symbols.c:
Rename utils_strcmp() utils_str_equal() (to avoid return value
confusion with strcmp()).
2006-11-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c: Fixed unintentional appearance of sidebar after it
was hidden and the preferences dialog was closed.
* data/filetypes.common, src/highlighting.c:
Added an option to draw an horizontal line above or below folded
text.
* src/dialogs.c: Don't set width of file open dialog.
2006-11-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c, src/win32.h, src/callbacks.c, src/keyfile.c,
src/dialogs.c, src/dialogs.h:
Don't close any tabs when quitting until all unsaved changes have
been accounted for; switch to each unsaved file before showing the
unsaved dialog.
Remove limit of ~256 chars for session filenames.
Make dialogs_show_unsaved_file() fail if the Save As dialog was
cancelled.
2006-11-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.java, src/highlighting.c:
Added Java keywords true and false.
Converted "NULL" to lower case.
* src/sci_cb.c: Little code cleanup in brace_match().
2006-11-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed (hopefully) wrong indentation in some cases when
inserting '}'.
2006-11-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, src/highlighting.h:
Applied patch from Bob Doan to do not set keywords for XML
documents(thanks).
Made styleset_markup() static.
2006-11-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c: Fix pressing enter to search from the Find dialog.
* src/keyfile.c, src/keyfile.h, src/main.c:
Make filetype_extensions.conf generation only available with a debug
build of Geany.
* src/filetypes.c, data/filetype_extensions.conf:
Recognise *.xsl, *.xslt filenames for XML filetype.
Recognise 'GNUmakefile' filename for Make filetype.
2006-11-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c:
Don't set error indicators when clicking on an error message if the
document has been modified.
* src/notebook.c: Focus the current document after clicking on a tab.
* src/utils.c, src/keybindings.c, src/callbacks.c, src/sci_cb.c,
src/sciwrappers.c, src/search.c, src/sciwrappers.h, src/document.c,
src/document.h:
Scroll matching selection to 1/3 of the view when searching.
Add sci_scroll_to_line(); remove sci_goto_line_scroll().
Show 'not found' message on status bar also when enter is pressed in
the search bar.
2006-11-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs:
Run set includes build dialogs for LaTeX files modally, too.
2006-11-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, data/filetypes.perl, data/filetypes.pascal,
data/filetypes.sh, data/filetypes.makefile, data/filetypes.ruby,
data/filetypes.tcl:
Make all remaining 0xff0000 comment styles darker using a common
default comment style.
Add some other generic styles (used only by C-like filetypes for
now).
2006-11-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c: Changed tooltip of checkbox "Close dialog" to be more
descriptive.
* src/keybindings.c: Changed keybinding for Print to Ctrl+P.
* scintilla/LexBash.cxx: Fixed wrong detection of some words.
2006-11-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c: Prevent possible invalid memory read.
* src/ui_utils.h, src/search.c, src/search.h, src/ui_utils.c,
src/callbacks.c:
Add Find Previous, Find All in File/Session buttons to the Find
dialog.
Move Find Usage code from on_find_usage1_activate to search.c.
Add ui_button_new_with_image(), ui_hbutton_box_copy_layout().
* src/utils.c: Prevent end of line char showing for current function.
* src/search.c: Update Save All state after Replace in Session.
* src/callbacks.c: Update Undo items when switching notebook pages.
2006-10-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Add extra indentation for Python after a colon.
* tagmanager/latex.c, src/treeviews.c:
Removed "begin" section in symbol list and sort it at environment.
2006-10-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/prefs.c, src/geany.h,
src/keyfile.c, src/ui_utils.c, src/main.c:
Added an Apply button to preferences dialog.
New setting to show/hide the Quit toolbar item.
New setting to show/hide notebook tabs.
* src/document.c, src/treeviews.c, src/treeviews.h:
Colour also the open files list items according to their changed
state.
* src/callbacks.c, src/callbacks.h, src/msgwindow.c, src/msgwindow.h,
src/treeviews.c, src/treeviews.h, src/geany.h:
Moved all treeview related callback functions from callbacks.c to
msgwindow.c and treeviews.c.
* src/document.c: Fixed bug when setting colour of open files list
entry on new, unnamed files.
2006-10-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Add temporary fix for sci infinite loop in Document::GetColumn(int)
when current pos is beyond document end (can occur when removing
blocks of selected lines especially brace sections near end of
file).
2006-10-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook:
Some small updates.
Got rid of &app; entitity.
Extended description of encoding support.
2006-10-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/filetypes.c, src/filetypes.h,
data/filetypes.java, data/filetypes.cpp, data/filetypes.ferite,
data/filetypes.c, data/filetypes.d:
Add filetypes_get_conf_extension() and use in highlighting.c.
Fix a memory leak in load_keyfiles().
Group C-like default syntax in init_c_like_styleset().
Make C-like comment colour darker; make globalclass brighter to
distinguish it from word colour.
Make Java use same default syntax highlighting colours as C.
* src/utils.c:
Limit parse depth to 500 chars when parsing C-like function name.
* src/sci_cb.c:
Find last unmatched open bracket for Show Calltip so nested matched
brackets are ignored (except LaTeX).
2006-10-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h:
Only accept editing keybindings when the current Scintilla widget
has focus.
Group editing keybindings together in cb_func_edit.
Change keybinding callbacks to pass keybinding index as an argument.
2006-10-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
When replacing tabs by space, prevent the scroll position changing,
and fix a possible change of cursor position.
2006-10-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/dialogs.h, src/build.c, src/prefs.c, src/win32.c
src/document.c:
Added warning message dialog, united dialogs_show_info() and
dialogs_show_error() to dialogs_show_msgbox().
* src/document.c: Added warning message when opening files that cannot
be handled correctly and set them to read-only mode.
* src/document.c, src/encodings.c, src/encodings.h, src/utils.c,
src/utils.h: Moved utils_convert_to_utf8() and
utils_convert_to_utf8_from_charset() to encodings.c.
2006-10-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/socket.c: Fixed compiler warnings under Windows.
* win32-config.h, src/dialogs.c:
Use GTK's file open dialog also under Windows to have the extended
options(kept old dialog code for optional use).
* win32-config.h, src/dialogs.c, src/geany.h:
Removed unneeded macro GEANY_MAX_TAGS_COUNT.
Moved macro GEANY_USE_WIN32_DIALOG to geany.h.
2006-10-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.h, src/sciwrappers.c, src/document.h,
src/document.c:
Fix setting document unchanged state when using Undo/Redo for
encoding or BOM changes.
Add sci_is_modified().
Added useful doc() function used only when debugging.
* src/search.c:
Reorder Replace All buttons.
* src/msgwindow.c src/callbacks.c:
Change Messages and Compiler window to go to line with a single
click instead of double click.
2006-10-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/encodings.c, src/encodings.h, src/document.c, src/callbacks.c,
src/dialogs.c: Added new encoding "None" to open files without any
character conversions (fixes #1580456).
* src/callbacks.c: Don't allow changing the encoding or setting a BOM
if the file is read only.
2006-10-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h, src/keyfile.c, src/main.c:
Added configuration option for the alignment of toolbar quit button.
* geany.glade, src/interface.c, src/geany.h, src/keyfile.c,
src/main.c: Removed previously added configuration option and
removed the right alignment of the toolbar quit button.
* src/sci_cb.c, src/sci_cb.h, src/search.c:
Let the Find, Replace and FIF dialogs use the word at current cursor
position if there is no selection.
* src/filetypes.c: Added shebang detection for D files (dmd).
* src/callbacks.c, src/dialogs.c, src/document.c:
Added drop down box to the file open dialog to select an encoding.
Added possibility to open a file without any character set
conversions (could already fix #1580456, have to be continued).
2006-10-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/search.c, src/document.c, src/dialogs.c,
src/document.h, src/ui_utils.c:
Add separate Replace button, rename old button Replace & Find.
Add expander to group Replace All options for Replace dialog.
Use Replace All In Session button instead of checkbox.
Add border, update packing for all dialogs in search.c.
Add ui_dialog_vbox_new() for consistent dialog borders.
2006-10-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c:
Make search bar automatically wraparound if necessary.
Detect when Find has searched all text and display a 'not found'
message on the status bar.
* src/build.c: Remove unused argument.
* src/callbacks.c, src/document.c, src/document.h:
Rename document_find_next() document_search_bar_find().
* src/msgwindow.h, src/dialogs.h, src/main.h:
Add G_GNUC_PRINTF checks for variable argument function prototypes.
* src/build.c, src/utils.c, src/highlighting.c, src/geany.h,
src/callbacks.c, src/sci_cb.c, src/vte.c, src/search.c, src/main.h:
Move geany_debug prototype to geany.h so that all files can use it
without a dependency on main.h.
* src/callbacks.c, src/main.c, src/main.h:
Moved finalization code from destroyapp() to main_quit().
2006-10-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/main.c, geany.glade:
Add drop-down recent files menu to Open toolbar button.
Align quit toolbar button on the right.
Move Colour Chooser, Word Count to Tools menu.
Reorder Format, add Indent icons, edit Remove Indicators items.
2006-10-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/about.c, src/dialogs.c:
Added 6pt border, changed padding for all dialogs in dialogs.c;
also allow ESC to close cancellable dialogs.
Updated unsaved, LaTeX Set Arguments dialogs.
2006-10-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/treeviews.c, tagmanager/c.c:
Use "::" as context separator only for C++, otherwise use ".".
Detect module declarations in D and put them in the symbol list.
* src/callbacks.c, src/geany.h, src/msgwindow.c, src/treeviews.c:
Use enum values to reference different treeview widgets
(code cleanup).
2006-10-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/build.h, src/ui_utils.h, src/ui_utils.c,
src/keybindings.c, src/callbacks.c, src/callbacks.h, src/document.c,
src/main.c:
Move build menu related functions and callbacks to build.c.
Renamed ui_update_build_menu -> build_menu_update.
2006-10-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/filetypes.h, src/ui_utils.c:
Disable Make All, Make Custom menu items for unnamed files.
Allow Run and Make Object for C header files.
* src/document.c:
Fixed Undo/Redo setting the wrong document changed state when making
edits after saving a file.
2006-10-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, configure.in, src/about.c:
Added Italian translation (thanks to M. Baldinelli and
Dario Santomarco).
2006-10-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c: Change goto matching brace default keybinding to
CTRL-SHIFT-< (requires shift on some keyboards).
* src/build.c, src/build.h, src/geany.h, src/callbacks.c:
Don't overwrite Make Custom string when using Make Object.
Move app->build_make_custopt to build_options struct in build.c.
* src/build.c, src/build.h, src/msgwindow.c, src/callbacks.c,
src/msgwindow.h:
Move build_info struct to build.c and merge with build_options.
2006-10-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c, src/treeviews.c:
Improved symbol list view for filetype Java.
2006-10-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c: Fix infinite loop from parsing current function name.
2006-10-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: Improved function name parsing to fix some invalid
parsed function names.
2006-10-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c:
Fix parsing the current function name for Java.
When the document is unedited, get the current function name from
the previous function tag parsed by tagmanager.
Don't update the current function if the cursor is 1 line from the
previous call and the fold level is unchanged.
* tagmanager/tm_workspace.c, tagmanager/include/tm_workspace.h:
Backported tm_get_current_function() from Anjuta.
* src/sciwrappers.c, src/sciwrappers.h:
Added sci_get_last_child(), sci_get_fold_parent().
* src/keyfile.c: Small fix for sign warning.
2006-10-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c, src/geany.h: Removed hard limit of session files.
* doc/geany.docbook: Updated section about session files limit.
* tagmanager/makefile.win32, tagmanager/Makefile.am,
tagmanager/parsers.h, tagmanager/diff.c, src/filetypes.c,
src/treeviews.c: Added simple parser for filetype Diff to create
tags for each patched file in a diff file.
* src/sci_wrappers.c: Added sci_find_bracematch().
* src/keybindings.c: Added keyboard shortcut Ctrl+< to jump between
matching braces(closes #1571283).
* doc/geany.docbook: Updated missing keybindings.
2006-10-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Connect only once to the "sci-notify" signal.
* scintilla/CellBuffer.cxx, scintilla/Document.cxx,
scintilla/include/Scintilla.h:
Applied patch from Armel Asselin (thanks). It adds SC_START_ACTION
notification which is required for Geany's new Undo system.
* src/document.c, src/sci_cb.c, src/callbacks.c:
Finished new Undo system. Now some more actions can be undone and
also redone.
* src/sci_cb.c: Got rid of goto usage and added auto completion for
monitor construct for filetype Ferite.
* src/highlighting.c, data/filetypes.css:
Fixed several highlighting errors, added new styles: identifier2,
important and id.
2006-10-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c, src/geany.h, src/callbacks.c, src/search.c,
src/document.c, src/document.h, src/prefs.c, src/dialogs.c,
src/main.c, src/ui_utils.c:
Removed the GEANY_MAX_OPEN_FILES limit, using a dynamic array.
2006-10-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c:
Made string "Permissions" in the file property dialog translatable.
2006-10-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/filetypes.ferite: Added some new keywords.
* src/sci_cb.c:
Added auto completion for iferr construct for filetype Ferite.
* src/socket.c:
Added additional header files for compatibility with FreeBSD.
2006-10-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/tm_source_file.c:
Only parse tags once for simple parsers.
2006-10-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/python.c: Improved Python parser to support nested classes.
* src/filetypes.c, src/document.c:
Implemented simple "shebang" detection. It is used prior to the
filename extension detection.
* src/highlighting.c, data/filetypes.latex:
Changed foreground colour for LaTeX style "math" to differentiate it
from the "comment" style.
2006-10-04 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/ui_utils.c, src/main.c, src/document.c, src/callbacks.c:
Renamed ui_build_show_hide() in ui_update_build_menu().
* src/filetypes.c, src/ui_utils.c:
Fixed crash when using "Make object" on new files(closes #1570818).
2006-10-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: Save configuration(i.e. list of open files) as late
as possible and save the filetype build commands
first shortly before quitting.
* doc/geany.docbook, doc/geany.1.in, src/main.c, src/document.c:
Reordered command line options alphabetically.
Added new command line option --line to set the initial line for the
first opened file.
* data/filetypes.sh, src/highlighting.c: Added keyword "until".
2006-10-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.c:
Added a blank line indent for templates D, HTML, PHP.
* src/symbols.c, src/symbols.h, src/highlighting.c,
src/makefile.win32, src/Makefile.am, po/POTFILES.in:
Move global tags code to symbols.c.
Added symbols_global_tags_loaded(), symbols_get_global_keywords().
* src/callbacks.c, src/sci_cb.c, src/sciwrappers.c, src/sciwrappers.h,
src/document.c:
Change sci_get_line to return a NULL terminated string.
Fix memory leak and possible invalid read in sci_cb_auto_latex().
2006-10-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in: Use datarootdir for defining paths to fix autoconf
2.60 problems(thanks to Christoph Berg for reporting).
2006-10-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/filetypes.c, src/filetypes.h, TODO:
Save the build includes and arguments on quitting.
2006-09-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/highlighting.c, src/highlighting.h:
Changed StyleSet struct to use Style array, which can use less
memory. Added separate struct for the common style set. Also
use a struct for tracking the loaded global tags files. Renamed
some static functions.
* src/document.c, src/ui_utils.c:
Clear the symbol list when opening a file with no tags.
2006-09-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, data/filetype_extensions.conf:
Added pattern *.agi for filetype Perl (closes #1567355).
* doc/geany.docbook:
Updated information for Debian and Gentoo packages.
* New release: Geany 0.9 "Kintaro".
* THANKS, src/about.c: Changed credits of topi.
2006-09-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/vte.c: Change VTE word selection chars to include paths.
* src/highlighting.c, data/filetypes.common:
Only override the default Scintilla selection style if foreground
and/or background flags are set in filetypes.common.
Also increase the current line background brightness.
2006-09-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed broken autocompletion for filetype PHP.
2006-09-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* win32-config.h: Enabled socket code on Windows.
* src/socket.c: Re-enabled the gtk_window_present() call for Windows
to pop up the main window.
* src/utils.c, src/sci_cb.c:
Enabled notification if file on disk has changed under Windows, it
seems to work (closes #1557689).
2006-09-26 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* po/nl.po, THANKS, configure.in, src/about.c:
Added Dutch translation (Thanks to Kurt De Bree).
2006-09-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c: Apply toolbar style on startup (Fixes #1563125).
* src/build.c, src/geany.h:
Prevent a segfault if the Terminal tool is not set.
Use cmd.exe as default Terminal tool on Windows.
* scintilla/makefile.win32, src/makefile.win32,
tagmanager/makefile.win32, makefile.win32:
Let make clean continue when a file can't be deleted.
2006-09-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.c:
Fix a bug when clicking on a recent file.
* src/callbacks.c, src/sciwrappers.c:
Prevent a partial selection on a line being deleted when using
CTRL-I to indent; also improve CTRL-Shift-I unindenting. Closes
#1557963.
2006-09-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Don't start autocompletion in strings and comments.
2006-09-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c, src/search.h:
Add whole word only matching option for Find in Files.
Add fixed string matching option for Find in Files.
Make fixed string, case sensitive matching default for efficiency.
Sort filenames passed to Grep alphabetically.
* src/socket.c:
Don't move Geany to the current desktop when opening files remotely.
2006-09-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/callbacks.c:
Fixed compiler warnings and removed unnecessary signal handler.
2006-09-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/templates.h, src/templates.c:
Move all static strings from templates.h to templates.c.
* src/sci_cb.c: Fix sign comparison warning.
* src/utils.c, src/msgwindow.c:
Improve utils_get_current_time_string().
* src/ui_utils.c:
Only reorder recent files menu when recent file loaded correctly.
Reorder the recent file menu instead of recreating it.
2006-09-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/ui_utils.h, src/ui_utils.c, src/callbacks.c, src/dialogs.c:
Add ui_frame_new().
Run set includes build dialogs modally, keeping the same filetype.
Updated set includes & arguments dialog layout & text.
* src/build.c: Don't print the g_spawn argv strings in build_run_cmd()
on the status bar.
2006-09-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/callbacks.c, src/keybindings.c:
Added menu items for toggle line commentation.
Changed some mnemonics in the "format" submenu.
* src/callbacks.c, src/keybindings.c:
Added keyboard shortcuts for "Convert Selection to lower-case".
2006-09-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* data/pascal.tags: Adding data for unit x86.
2006-09-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c: Made socket code for detecting running instances
working under Windows.
* src/win32.c, src/ui_utils.c, src/dialogs.c:
Fixed compile warnings under Windows.
* src/highlighting.c: Fixed a typo.
* src/callbacks.c, src/build.c, src/main.c, src/prefs.c,
src/ui_utils.c: Implemented Run command (from the build menu) under
Windows, the other commands will follow somewhen.
2006-09-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c, src/keybindings.c, src/callbacks.c:
Added comment toggle functionality to easily comment and uncomment a
line with one shortcut (default Ctrl+B) (closes #1552184).
2006-09-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c, src/ui_utils.c:
Reorder the recent files list if necessary when a file is
(re)opened - closes #1552178.
* src/msgwindow.c: Check msgwin visible before scrolling.
* src/ui_utils.h, src/ui_utils.c, src/callbacks.c,
src/callbacks.h, src/dialogs.c, src/dialogs.h, src/main.c:
Move on_recent_file_activate, dialogs_create_recent_menu,
dialogs_create_build_menu_gen, dialogs_create_build_menu_tex to
ui_utils.c. Also make some functions static.
2006-09-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/msgwindow.c, src/msgwindow.h:
Show parsable errors in red; stderr and compile failure in dark red.
* src/callbacks.c: Fix compilation problem with sci_cb_do_comment.
* src/document.c: Quick fix for C89 compatibility.
* src/msgwindow.c:
Make C, C++, Ruby and Java error message parsing more tolerant so
that linker errors are also parsed if debug line info is available.
Group all gcc-like error message parsing information together.
* src/msgwindow.c, src/msgwindow.h:
Allow compiler and find messages to be added when the messages
window is hidden.
Add msgwin_show().
* src/build.c:
Show messages window on build failure.
Show build success message on status bar if messages window hidden.
* src/document.c:
Use handle_forced_encoding(), handle_encoding() and handle_bom()
when opening files.
2006-09-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/socket.c, src/main.c, src/callbacks.c:
Moved the socket code from main.c to socket.c.
* src/document.c: Remove an unchanged empty document when loading a
new file (closes #1545129).
2006-09-06 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/document.c, src/ui_utils.c, src/sci_cb.c:
Added own implementation of an Undo stack (not yet working).
* src/utils.c, src/document.c:
Convert tag names to UTF-8 before showing them in the sidebar.
* src/document.c:
Fixed a crash when a compiler output reports an error in a blank
line(can happen in LaTeX). Thanks to Frank for reporting.
2006-09-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/document.c, src/filetypes.c:
Added new file template for filetype HTML.
* src/document.c, src/dialogs.c:
Don't quit when an error occurs while saving changed files.
2006-09-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/ui_utils.c, src/ui_utils.h,
src/keybindings.c, src/about.c, src/treeviews.c, src/msgwindow.c,
src/callbacks.c, src/notebook.c, src/sci_cb.c, src/keyfile.c,
src/vte.c, src/document.c, src/prefs.c, src/main.c,
po/POTFILES.in, src/Makefile.am, src/makefile.win32:
Moved UI related utils from utils.c to ui_utils.c.
2006-09-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/main.c, src/main.h:
Rename --no-socket, -s command-line option to --new-instance, -i.
Add --no-session, -s command-line option to not load session files.
Only save session when session files were loaded at startup.
* doc/geany.docbook:
Update command-line options and running instance behaviour.
* src/callbacks.c, src/callbacks.h, src/sci_cb.c, src/sci_cb.h,
src/keybindings.c, src/document.c:
Move current_word and clickpos to editor_info struct in sci_cb.c.
Move on_editor_button_press_event to sci_cb.c.
2006-09-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c: Open a new instance without loading session files if
socket already exists and no filenames are specified
on the command-line.
2006-09-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: Save All button is also active when only one file is
changed(improves usability).
2006-09-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/search.c:
Escape special characters when shown in the status window after
"Replace All" or replacing a selection.
Set the focus to the replace entry widget when pressing the
tabulator key in the find entry widget in the replace dialog.
Set the focus to the find entry widget when pressing the tabulator
key in the directory entry widget in the FIF dialog.
2006-09-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/sci_cb.c, src/main.c:
Fixed C89 variable declaration and two sign comparison warnings.
* src/document.c, src/document.h: Add document_get_current().
* src/msgwindow.c:
Use parse_file_line() for grep and compiler error messages.
Add error message support for D, also for the GDC frontend.
2006-09-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/dialogs.c, src/prefs.c, src/callbacks.c,
src/interface.c, geany.glade: Fixed some typos.
* src/filetypes.c, src/highlighting.c, src/keybindings.c,
src/sci_cb.c, data/filetypes.html, data/filetype_extensions.conf,
src/callbacks.c, src/msgwindow.c:
Split filetype PHP/HTML into PHP and HTML.
2006-09-01 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* configure.in, po/vi.po:
Added Vietnamese translation (Thanks Clytie Siddall).
* THANKS, src/about.c: Added translator credits.
2006-08-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/msgwindow.c, data/filetypes.ferite:
Improved parsing compiler messages when using the ferite compiler.
Added some primitives and improved compiler settings for Ferite.
2006-08-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, src/callbacks.c, src/geany.h, src/main.c:
Removed the whole FIFO code and replaced it with support for
(Unix Domain) Sockets(including Windows support, but not yet done).
* src/vte.c, src/callbacks.c, src/document.c:
Change the current working directory within the VTE also when a new
file is saved.
2006-08-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Added auto completion for LaTeX command "begin".
2006-08-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c: Fixed typo in a tooltip text.
* THANKS, src/about.c: Added translator credits.
* src/treeviews.c, src/utils.c:
Fixed a crash when switching between several filetypes.
2006-08-27 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* configure.in, po/cs.po:
Added Czech translation (Thanks Petr Messner).
2006-08-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/parsers.h, tagmanager/c.c, data/filetype_extensions.conf,
data/filetypes.diff, data/filetypes.ferite, src/highlighting.c,
src/filetypes.c, src/msgwindow.c:
Added new filetypes Diff and Ferite.
* src/search.c: Applied patch from Stefan Oltmanns to add the
possibility to keep the Replace dialog open.
2006-08-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h, src/main.c, src/utils.c:
Fixed weird behaviour of Save all tool button and menu item.
* src/document.c:
Fixed missing styling settings on new files (needs to be tested).
Now the filetype sub menu in the document file menu will be updated
when the filetype is set by the filename on new files.
2006-08-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/prefs.c, src/vte.c:
Added new VTE settings to the preferences dialog.
Improved ignore menu bar accelerator setting.
Keep current working directory when restarting the VTE
(happens when hitting Ctrl+C).
* src/document.c: Added counter when using "Replace All" and display
the count of replacements in the status window.
2006-08-23 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* src/highlighting.c, data/pascal.tags:
Added auto completion for PASCAL.
* data/latex.tags: Update of catalog.
2006-08-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c: Fix quit confirmation message with no files open.
2006-08-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c, src/prefs.c, src/keyfile.c, src/utils.c:
Save all VTE settings in an own VTE section in the configuration
file instead of using an unhandy string list.
Added new settings: ignore menu bar accelerator and define the shell
which is started within the VTE.
(Code not yet complete, might be buggy, GUI stuff is missing)
* tagmanager/pascal.c: Added recognition for keyword "type".
2006-08-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/images.c, src/notebook.c:
Applied patch from Củ Văn Chuối to enlarge the tab close icon. This
should fix some display issues.
* scintilla/*: Updated Scintilla to version 1.71.
2006-08-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c, src/document.c, src/document.h, src/geany.h,
src/highlighting.c, src/main.h, src/sci_cb.c, src/search.c,
src/templates.c, src/utils.c, src/vte.c:
Moved prototype for geany_debug() to main.h.
Moved declaration of document struct to document.h.
* src/sci_cb.c: Keep selection when commenting and uncommenting code.
2006-08-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/main.c:
Fix opening more than one file from the command-line (with fifo).
* src/geany.h, src/callbacks.c, src/Makefile.am, src/main.c,
src/main.h:
Moved HAVE_FIFO MyApp fields to fifo_info struct in src/main.c.
Prevent unnecessary 'does not look like a filename' debug messages.
Added fifo_finalize().
* src/geany.h, src/filetypes.h, document.h, src/highlighting.h,
src/sci_cb.h, src/highlighting.c, src/sciwrappers.c:
Remove filetypes.h and Scintilla includes from geany.h.
* src/document.h: Add VALID_DOC_IDX macro.
* src/utils.h, src/utils.c, src/callbacks.c, src/keybindings.c,
src/sci_cb.h, src/sci_cb.c, src/dialogs.c, src/filetypes.h,
src/filetypes.c:
Move utils_brace_match to sci_cb.c.
Move utils_find_current_word to sci_cb.c.
Move utils_create_file_filter to filetypes.c.
2006-08-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/keybindings.c, src/utils.c,
src/geany.h, src/callbacks.c, src/main.c, src/keyfile.c:
Added menu items to insert configurable date/time strings.
* src/dialogs.c, src/callbacks.c:
Replaced dialogs_show_make_target() by dialogs_show_input() to have
a general input dialog.
* src/sci_cb.c:
Comment already commented lines, too (re-closes #1521714).
2006-08-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c: Fix a segfault at startup if terminal follow path
setting is enabled.
* src/geany.h, src/callbacks.c, src/keyfile.c, src/vte.c, src/vte.h,
src/prefs.c, src/main.c:
Move HAVE_VTE MyApp settings to vte_info struct in src/vte.c.
* src/vte.c, src/vte.h:
Add vte_get_working_directory adapted from Terminal by os-cillation.
* src/vte.c, src/keyfile.c: Remember the VTE current directory.
* src/callbacks.c: Only send VTE cd command if directory is different.
2006-08-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: Use codepage SC_CP_UTF8 because we use always
GTK even under Windows.
2006-08-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c: Fix a small memory leak in configuration_load.
* src/dialogs.c: Change Don't save button icon and add mnemonic.
* src/main.c: Fix building on win32 - thanks to Củ Văn Chuối.
* src/dialogs.c, src/dialogs.h:
Add dialogs_show_question_full for custom buttons and extra text.
Don't show message dialogs in the window manager taskbar.
* src/utils.c: Use Reload button for utils_check_disk_status dialog.
* src/callbacks.c: Improve Reload and Quit dialog.
Share on_reload_as_activate code for reloading.
* tagmanager/d.c, tagmanager/c.c, tagmanager/Makefile.am:
Merged tagmanager/d.c with tagmanager/c.c, which also adds user
function calltips support for D.
2006-08-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/callbacks.h, src/main.c:
Move signal_cb to main.c.
* src/main.c:
Move main_init command line settings to parse_command_line_options.
Use setup_paths, locale_init, parse_command_line_options,
setup_config_dir in main().
* src/msgwindow.c: Reorder widget lookup; ensure FIF dir is set.
* src/main.c: Fix Show messages window checkbox state when -m used.
2006-08-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* tagmanager/c.c: Backported calltips workspace support for C-like
user files from Anjuta.
* src/keybindings.c, src/sci_cb.c, src/sci_cb.h:
Return to showing calltips after successful autocompletion.
Use separate functions for html and tag autocompletion.
2006-08-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Made increase/decrease indentation working with selections.
Keep the old cursor position when working on a single line
(do not jump to line start).
* src/sci_cb.c: Fixed "while" and "switch" autocompletion.
* src/highlighting.c, data/filetypes.common, doc/geany.docbook:
Use the filetype's default style(SCE_*_DEFAULT) as the main default
style(STYLE_DEFAULT).
* src/sci_cb.c: Improved HTML "<table>" auto completion to use the
indentation better.
* src/filetypes.c, src/highlighting.c, src/msgwindow.c,
data/filetypes.fortran, data/filetype_extensions.conf,
scintilla/Makefile.am, scintilla/LexFortran.cxx,
scintilla/KeyWords.cxx, tagmanager/fortran.c,
tagmanager/Makefile.am, tagmanager/parsers.c:
Added new filetype Fortran 77.
2006-08-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sci_cb.c: Applied patch from Jens Granseuer to fix build with
gcc 2.95 (closes #1539502).
* src/build.c, src/geany.h, src/msgwindow.c, src/msgwindow.h,
src/callbacks.c, src/search.c, src/search.h, src/main.c:
Store build information instead of using app->cur_idx.
Assume C-like warning messages when running make when the current
file is a Makefile.
Moved some msgwin setup and cleanup code to msgwindow.c.
* src/utils.c, src/utils.h:
Moved utils_parse_compiler_error_line to msgwindow.c.
2006-08-13 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Use wrappers for converting between utf8 and locale encoding.
Fixed small memory leak.
* src/vte.c: Added the GTK IM menu items to the VTE popup menu.
* src/utils.c, src/dialogs.c, src/build.c, src/callbacks.c,
src/search.c, src/keyfile.c: Use utf8/locale encoding wrappers.
* data/filetypes.common, src/highlighting.c, src/geany.h,
src/keyfile.c, src/prefs.c, src/document.c, src/interface.c,
geany.glade, doc/geany.docbook:
Added colour values for indentation guides and white space.
Made hard coded SCI_AUTOCSETMAXHEIGHT changeable and added an option
in the preferences dialog.
* src/sciwrappers.c: Added sci_set_autoc_max_height().
2006-08-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Removed unnecessary code in document_replace_tabs().
Really take tab width when replacing instead of using width = 4.
* src/Makefile.am: Applied patch from Fryderyk Dziarmagowski to fix
build problem with linker flag "-Wl,--as-needed"
(closes #1539239).
2006-08-12 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c: Enable case sensitive when regex search enabled.
Some label text changes for the dialogs.
Use hbox packing in Find and Find in files dialogs.
Add select directory button for Find in files.
* src/utils.c, src/utils.h:
Add wrappers for converting between utf8 and locale encoding.
2006-08-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/geany.h, src/callbacks.c, src/callbacks.h,
src/search.c, src/search.h, src/dialogs.c, src/main.c,
src/dialogs.h: Group search related code.
2006-08-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c:
Changed SEARCH_NOT_FOUND_TXT.
Fixed possible segfault when replacing tabs by spaces.
* tagmanager/python.c: Fixed wrong classification of local functions
as methods(thanks to Sebastian Koch).
* src/sci_cb.c: Fixed segfault when try to (un)comment some code and
no filetype is set(reported by John Gabriele).
2006-08-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook:
Removed section about global ctags, the information were obsolete.
Added section about file encodings and the Unicode Byte-Order-Mark.
* doc/images/*: Updated screenshots.
* New release: Geany 0.8 "Kadir".
2006-08-09 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c: Add startup debug message showing GTK+ runtime version.
* src/notebook.c: Use native tab DnD reordering on GTK+ 2.10; closes
#1519650.
2006-08-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c: Fixed GTK 2.6 workaround for DnD tab reordering so
it works on the first attempt.
* src/utils.c, src/highlighting.c, src/geany.h, src/treeviews.c,
src/callbacks.c, src/keyfile.c, src/encodings.c, src/dialogs.c:
Fixed all sign comparison warnings.
2006-08-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: Applied patch from Củ Văn Chuối to re-enable
XIM support. Thanks!
2006-08-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c: Allow Find even when the replace text is the same.
Place the cursor in "" for insert blank include.
* src/utils.c, src/utils.h, src/callbacks.c, src/document.c:
Move recent file item to the top when it is clicked on.
2006-08-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook:
Improved search section; added all find and go to commands.
Added Filetype extensions section.
Grouped configuration file sections into a chapter.
2006-08-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c: Allow partial word selection for Find Usage.
* src/keyfile.c, src/filetypes.c, src/filetypes.h:
Use unique filetype id in geany.conf to avoid new filetype problems.
Make unique id numbers compatible with Geany 0.7 filetype order.
* src/highlighting.c: Fix loading Perl, TCL system config files first.
2006-08-04 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/callbacks.h, src/dialogs.c:
Disable word and word start matching when regexes are enabled.
Don't hide the Find dialog after searching; use Close button.
* src/filetypes.c: Set radio item None for new files.
2006-08-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/callbacks.c, src/filetypes.c, src/filetypes.h,
src/encodings.c, src/encodings.h, src/interface.c, src/utils.c:
Made document related submenus(filetype, encoding, line endings)
radio buttons for better usability.
2006-08-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/sci_cb.c:
Wrap calltip and prevent it obscuring the current line.
2006-08-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c:
Don't set file as changed when changing encoding to the same one.
* src/document.c, src/callbacks.c, dialogs.c:
Fixed wrong behaviour of Save As on unchanged files.
2006-08-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/callbacks.c, src/keybindings.c,
src/main.c, src/sciwrappers.c:
Added some menu items to the edit menu for editing tasks.
Added keyboard shortcuts for increase/decrease of line indentation
(closes #1521717).
2006-08-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/utils.c, src/utils.h, src/callbacks.c,
src/keyfile.c, src/document.c, src/prefs.c, geany.glade:
Added Auto indentation and Line wrapping options to Preferences
dialog. Split up Miscellaneous items into Display and Features.
Renamed Change Selection and Run toolbutton.
* src/keyfile.c: Change default for removing trailing spaces to off.
* src/callbacks.c: Clear search flags when using find toolbar entry.
Removed some unnecessary static variables.
* document.c, document.h, prefs.c:
Apply the tab width setting for new documents.
* src/keyfile.c, data/filetype_extensions.conf, Makefile.am:
Install a system filetype_extensions.conf which can be overridden.
* src/filetypes.c data/filetype_extensions.conf:
Add Make pattern to recognise makefile*.
* src/keyfile.c, src/keyfile.h, src/main.c:
Add hidden option -g to generate filetype_extensions.conf.
2006-07-31 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c, src/sci_cb.c:
Added functionality to uncomment code and added keyboard shortcut
Ctrl+Shift+D for this (closes #1521714).
2006-07-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook, data/filetypes.common, src/.c:
Added style to change the colour of the caret(closes #1530486).
2006-07-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c, src/msgwindow.h, src/callbacks.c, src/search.c:
Remember Find in files directory for opening grep results.
* Makefile.am: Add win32 build files to EXTRA_DIST.
2006-07-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/search.c, src/callbacks.c, src/dialogs.c:
Added some options to the Find in files dialog, made search
directory editable.
2006-07-28 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.h: Set PLAT_GTK before including ScintillaWidget.h.
* src/Makefile.am, geany_windres.rc.in: Correct a typo.
* scintilla/makefile.win32, src/makefile.win32, makefile.win32,
tagmanager/makefile.win32, win32-config.h, geany_private.rc:
Add makefiles for building on win32.
2006-07-27 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sciwrappers.c, src/callbacks.c, src/utils.c, src/dialogs.c,
src/keybindings.c:
Removed unused colour parsing functions.
Let the colour chooser pick the colour under the cursor.
* data/filetypes.*, src/highlighting.c, src/utils.c:
Fixed bug in parsing strings containing hex values, modified the
styles to keep the syntax highlighting consistent.
* src/main.c: Removed startup warning.
* src/geany.h, src/main.c: Added Select All item to sensitive buttons.
* src/win32.c, src/dialogs.c, src/callbacks.c:
Let the colour chooser pick the colour under the cursor(Win32 code).
Added some sanity checks.
2006-07-26 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/Makefile.am: Added target to remove geany_res.res when cleaning.
* src/geany.h, src/main.c, src/callbacks.c, src/highlighting.c,
src/document.c, src/dialogs.c, src/prefs.c, src/utils.c,
src/win32.c, src/keybindings.c, src/gb.c, src/about.c:
Removed macro GEANY_WIN32, use G_OS_WIN32 instead.
Introduced global variables for PACKAGE_DATA_DIR and
PACKAGE_LOCALE_DIR, removed macro DOCDIR
(these changes are important for the Windows port).
2006-07-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/win32.c: Don't add .c extension for All files filter.
Only set open tool dialog path if it exists.
* src/keybindings.c: Use CTRL-SHIFT-space for Windows show calltips.
* src/prefs.c: Never show compile & run toolbuttons on Windows and
hide the prefs option to show them.
* src/main.c: Disable the Compiler tab instead of hiding it so that
messages window tabs have the right index on switching.
* src/utils.c: Only replace untitled.x within the first 2 lines.
2006-07-25 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/encodings.c, src/document.c, src/keyfile.c, src/main.c:
Save default encoding for new files as charset string.
* src/filetypes.c: Reordered the filetypes (just a cosmetic change).
* src/win32.c, src/utils.c:
Removed title argument from win32_message_dialog because it is
defined by the dialog type.
Added simple wrapper function win32_open_browser().
* src/dialogs.c, src/main.c, src/document.c, src/callbacks.c:
Removed some unneeded functions to avoid duplicate code.
* src/callbacks.c:
Fixed broken Find usage.
Put "No matches" message also in the message window.
* Makefile.am, geany_windres.rc, configure.in, src/Makefile.am,
scintilla/Makefile.am, src/callbacks.c, tagmanager/tm_work_object.c,
tagmanager/ctags.c, tagmanager/get.c:
Small changes to get cross compiling using mingw32 suite working.
* tagmanager/get.c: Applied patch to fix building with gcc 2.95
(closes #1528516, thanks).
2006-07-24 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h, tagmanager/strlist.c, tagmanager/tm_project.c,
tagmanager/parse.c, tagmanager/general.h, tagmanager/ctags.c,
tagmanager/tm_workspace.c: Fixed some cross compiling/Win32 issues.
* geany.glade, src/callbacks.c, src/document.c, src/interface.c,
src/main.c:
Added menu item to the document menu to add/remove BOM.
Replaced switch_notebook_page by ignore_callback flag.
* src/win32.c, src/dialogs.c:
Convert Unicode strings to wide characters to avoid weird display.
* src/document.c: Set CR/LF as EOL mode on new files on Windows.
2006-07-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/geany.h: Use generic font names & increase the default size.
* src/notebook.c: Use tab reorder workaround only if GTK runtime <2.8.
* src/utils.c, src/about.c: Change 2 paths to use G_DIR_SEPARATOR_S.
* src/dialogs.c: Wait for Save as dialog to run before closing tab.
2006-07-23 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Search terminal program in PATH (closes #1527203).
* src/documents.c: Fixed some mistakes from last commit.
* src/dialogs.c, src/utils.c, src/document.c, src/geany.h:
Renamed document element unicode_bom in has_bom.
* src/callbacks.c:
Let Find usage search for the current selection if there is one.
2006-07-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c: Make Find and Replace dialogs more compact.
* src/treeviews.c: Fix a warning when updating open files treeview.
2006-07-22 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/utils.c, src/document.c, src/encodings.c,
src/geany.h, src/main.c, src/dialogs.c, geany.glade,
src/interface.c, src/sci_cb.c, src/keyfile.c:
Added Unicode BOM detection.
Added "Reload as" menu item to force opening a file with a specified
encoding(both were patches from Stefan Oltmanns).
* src/callbacks.c: Fixed two issues when showing / hiding the sidebar.
* src/filetypes.c: Added *.cfg as extension for config files.
* src/treeviews.c, src/notebook.c:
Keep the list of open files in sync when reordering notebook tabs.
2006-07-21 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c: Prevent using Find in files for unnamed files.
2006-07-21 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h, src/main.c, src/callbacks.c:
Introduced app->ignore_callback to ignore callback actions when
changing the state of GUI elements.
* geany.glade, src/interface.c, src/main.c, src/callbacks.c,
src/utils.c, src/prefs.c, src/keybindings.c:
Added menu item View->Show Sidebar and improved code around it.
2006-07-20 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: Unset fold.compact setting.
2006-07-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* TODO: Added 3 more items discussed on the ML.
* doc/scikeybinding.docbook: Commented out some keys not working.
* src/dialogs.c: Share find/replace common checkbox setup code.
* src/build.c, src/build.h, src/sciwrappers.h, src/dialogs.c,
src/dialogs.h: Don't include geany.h.
* src/geany.h, src/callbacks.h: Moved GEANY_RESPONSE_* to callbacks.h.
* src/callbacks.c, src/document.c, src/document.h, src/dialogs.c:
Added Find button to Replace dialog to skip a match.
Change Replace button to find first & use current selection.
Ask whether to wraparound when replacing and no next match is found.
2006-07-19 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/filetypes.common:
Highlighting of current line can be disabled.
* geany.glade, src/interface.c: Fixed typo.
* src/utils.c, src/callbacks.c, src/dialogs.c:
Improved replacing escape sequences in Find and Replace dialog
(thanks to Stefan Oltmanns).
2006-07-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c, src/sciwrappers.h, src/document.c:
Fix replacing the right length of text matched from a regex.
Add support for back references when replacing with regex.
Improve the speed of replace all/replace in selection.
Don't lose the selection range after replacing in selection.
* src/callbacks.c, src/callbacks.h, src/document.c, src/dialogs.c,
doc/geany.docbook:
Use more POSIX-like syntax for regular expression bracket matching.
Prevent searching backwards with a regex (unsupported).
Scroll in view after the last replacement for replace all/selection.
2006-07-18 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/callbacks.c:
Added option to replace escape sequences in Find and Replace dialog.
* doc/Makefile.am: Reverted last change, we want to use xmlto.
* src/encodings.c: Restored original order of the encodings, kept the
sorted order in the document menu.
* src/notebook.c:
Compile notebook_motion_notify_event_cb() only with GTK 2.6 (again).
* src/about.c: Made "built on" string translatable.
2006-07-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/scikeybinding.docbook, doc/geany.docbook, doc/geany_gpl.docbook:
Moved external appendix elements to geany.docbook to validate ok.
2006-07-17 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/document.c, src/callbacks.c:
Moved document related functions from utils.c to document.c.
Keep cursor position when replacing tabs by spaces.
* doc/geany.xsl: Added UTF-8 as default encoding.
* doc/Makefile.am: Replaced xmlto command by xsltproc.
* doc/geany.docbook: Added reference for the GPL appendix.
2006-07-16 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/encodings.c:
Reordered encodings in the file menu, divided into subregions.
* geany.glade, src/interface.c: Added missing mnemonics to file menu.
* src/document.c: Added filename to an error message.
* src/encodings.c: Removed function encodings_get_encodings().
* src/utils.c: Simplified locale detection and little speed up.
* src/main.c, src/document.c, src/geany.h:
Removed code for alternative scrolling(it was not better).
* src/sci_cb.c, src/callbacks.c, src/utils.c, src/highlighting.c,
src/main.c, data/html_entities.tags, Makefile.am:
Moved HTML entities from sci_cb.h to data/html_entities.tags.
2006-07-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/scikeybinding.docbook, doc/geany.docbook:
Added Scintilla keyboard commands appendix taken from the SciTE
documentation section 'Keyboard Commands'.
2006-07-15 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c, src/sci_cb.c:
Show auto completion list immediately when called by a keybinding.
* geany.glade, src/interface.c, src/prefs.c, src/geany.h,
src/keyfile.c, src/utils.c:
Toolbar items for file operations can also be hidden.
2006-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* keybindings.c, keybindings.h: Add keybinding for Find in files.
* doc/geany.docbook: Updated Make command names and keybindings.
* src/vte.c: Fix applying vte settings on startup and prevent the
message window vertical scrollbar being hidden.
2006-07-14 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/search.c: Give accurate message on finishing finding in files.
* src/callbacks.c: Use locale encoding for Find in files and
remember previous searches.
2006-07-14 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/highlighting.c, tagmanager/tm_tag.c,
tagmanager/tm_workspace.c: Fixed autocompletion for filetype C++.
* src/utils.c: Removed unneeded functions:
utils_glist_strings_free() and utils_glist_from_string().
* src/encodings.c: Fixed wrong charset detection on UTF-8
(and maybe other) systems.
2006-07-13 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/interface.c, src/utils.c, src/utils.h, src/geany.h,
src/msgwindow.c, src/msgwindow.h, src/callbacks.c, src/callbacks.h,
src/keyfile.c, src/search.c, src/search.h, src/prefs.c,
src/dialogs.c, src/main.c, src/dialogs.h, src/Makefile.am,
geany.glade: Added basic Find in files search functionality.
2006-07-11 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c: Moved dialogs_show_prefs_dialog() to src/prefs.c.
* geany.glade, src/interface.c, src/vte.c, src/prefs.c, src/dialogs.c,
src/geany.h, src/main.c, src/callbacks.c, src/keybindings.c,
src/keyfile.c, src/utils.c:
Improved toolbar popup menu.
Added new preferences tab for toolbar settings, several toolbar
buttons can be hidden.
Added Undo and Redo toolbar buttons (closes request #1519261).
* src/sci_cb.c, src/keybindings.c:
Added return value and tag name to the calltip.
2006-07-11 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/main.c: Prefix command-line opened files with the current
directory so relative paths will work better.
2006-07-10 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Autocompletion only works on blank lines.
* src/callbacks.c, src/dialogs.c:
Added "Replace in all open files" option in the replace dialog.
2006-07-09 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/d.c, tagmanager/Makefile.am, tagmanager/parsers.h,
src/filetypes.c, src/highlighting.c, src/utils.c, src/build.c,
src/templates.c, data/filetypes.d:
Added new filetype D(patch by Christoph Berg, thanks).
2006-07-08 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c: Fix saving the terminal tool on quitting.
* src/keyfile.c, src/main.c:
Improve switching out of fullscreen after startup.
2006-07-08 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/encodings.c: Made encoding descriptions translatable.
* src/notebook.c:
Compile notebook_motion_notify_event_cb() only with GTK 2.6.
2006-07-07 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/prefs.c: Fixed bug when saving VTE settings.
* src/keybindings.c, src/utils.c, src/callbacks.c, src/geany.h,
src/prefs.c, src/keyfile.c:
Improved behaviour of toggle sidebar after a restart.
Introduced new flag sidebar_visible, renamed configuration keys.
2006-07-06 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h, src/dialogs.c:
Add keybinding for Make object, update Make descriptions.
2006-07-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/sciwrappers.c: Make sci_goto_line_scroll work better with
line wrapping and folding.
* src/callbacks.c, src/dialogs.c:
Add Make object command to compile the current file.
Added some separators and renamed Build with make items.
2006-07-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/dialogs.c:
Fix a problem with the recent files menu.
* src/utils.c, src/sciwrappers.c, src/sciwrappers.h:
Scroll to 1/4 of visible lines when going to a line number.
2006-07-03 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* doc/Makefile.am: Fixed wrong dependency in target 'install'.
2006-07-02 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/msgwindow.c, src/utils.c:
Improved "Find usage", so it displays not "null" for unsaved files
in the results, and unsaved file are also clickable.
* geany.glade, src/interface.c, src/geany.h, src/keyfile.c,
src/prefs.c, src/dialogs.c, src/main.c:
Little redesign of the preferences dialog.
New options for setting the placement of notebook tabs.
* doc/Makefile.am: Minor improvements.
* src/keyfile.c, src/geany.h, src/prefs.c, src/vte.c, src/callbacks.c,
src/dialogs.c: Added option to disable the VTE follows path feature.
* THANKS, configure.in, src/about.c: Added new Portuguese translation.
2006-07-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c: For Find Usage, ignore unnamed files.
2006-07-01 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/keybindings.c: Added shortcut for Select All.
* src/main.c: Deiconify the main window when a new file is opened from
the named pipe.
* src/geany.h, src/keyfile.c: Moved some default values to geany.h.
* doc/geany.docbook.c, doc/html/*:
Added documentation for indicators and printing support.
Updated keybindings actions and compile time options.
2006-07-01 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c: Don't prevent notebook tab focus because this
disables the notebook arrows.
* src/callbacks.c: Prevent a segfault if the VTE has not been loaded.
* src/utils.c, src/utils.h, src/msgwindow.c:
Add utils_get_current_time_string and fix getting the time string.
* src/utils.c, src/utils.h, src/callbacks.c:
Fix a segfault on Go to tag defn/decl if no files have tags.
Add utils_find_tm_tag.
* src/keyfile.c: Save the toolbar icon size when quitting.
Set large toolbar icons by default.
* src/keyfile.c: Use the user settings for toolbar icon size & style.
2006-06-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c, src/callbacks.c:
Change the path in the VTE widget when switching between files
according to the path of the current file.
Process the switch_page callback only once.
* src/callbacks.c: Finally fixed the second call of the switch_page
callback.
* geany.glade, src/interface.c, src/callbacks.c, src/sci_wrappers.c:
Added "Select All" menu item.
* geany.glade, src/interface.c, src/document.c, src/sci_wrappers.c,
src/prefs.c, src/geany.h:
Improved settings for the long line marker, it can now be easily
disabled or set to highlight the background of too long lines.
2006-06-29 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/win32.c, src/callbacks.c,
src/document.c, src/prefs.c:
Apply fonts in Preferences when they are set and only if they have
changed. Rename utils_set_font to utils_set_editor_font.
2006-06-29 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h, src/build.c, src/callbacks.c, src/keyfile.c,
src/utils.c, src/prefs.c:
Renamed tools settings from build_* in tools_*.
* src/main.c:
Ignore SIGPIPE to prevent crashes when running external programs.
* src/geany.h, src/dialogs.c, src/callbacks.c, src/keyfile.c,
src/utils.c, src/prefs.c, geany.glade, src/interface.c,
src/keybindings.c, src/document.c:
Implemented simple printing support.
* src/utils.c: Added function is_opening_brace().
* src/sci_cb.c:
Use is_opening_brace() for better handling of calltips.
* src/callbacks.c:
Create a new tm_source_file object if a file is renamed, otherwise
tagmanager won't work correctly.
2006-06-28 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/keyfile.c: Fixed weird behaviour of the recent
files list.
* src/document.c:
Fixed a small typo.
Skip converting from UTF-8 in UTF-8 when saving.
Show an error messages dialog if the conversion into an encoding
failed.
2006-06-27 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.php, data/filetypes.pascal, src/callbacks.c,
src/build.c: Parse stdout of compiler output too.
* src/utils.c, data/filetypes.latex:
Add support for parsing compiler output for LaTeX with latex's
--file-line-error-style command line argument.
Removed unneeded function utils_free_ptr_array().
* src/sci_cb.c: Fixed a crash when auto completion or call tips are
used if no filetype was set. Added some sanity checks.
2006-06-27 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/geany.h, src/keyfile.c:
Add recent files items in the same order as they were saved.
Remove app->recent_files and use g_strfreev in keyfile.c.
* src/utils.c, src/utils.h, src/msgwindow.c:
Make Status messages override the document statistics using
utils_set_statusbar; don't use a fixed buffer for statistics.
2006-06-26 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed broken auto completion for switch().
* src/document.c: Reload also the symbol list when reloading a file.
* src/treeviews.c: Changed some titles to plural. Added own
definitions for filetype Python.
* src/filetypes.c, tagmanager/make.c: Add mk pattern for Makefile.
* tagmanager/tm_source_file.c: Fixed bug which prevented tag creation
for the first opened file.
* src/document.c, src/callbacks.c: Removed unused code.
* tagmanager/sh.c: Fixed missing tags beginning with underscore.
* tagmanager/get.c: Fixed problem in preprocessor directive handling.
* tagmanager/c.c: Fixed identification of prototypes of functions
returning wchar_t * without the extern keyword.
2006-06-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c: Fix a possible segfault on quitting caused by
processing GTK messages before status messages.
2006-06-25 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* README, doc/geany.docbook: Added license notice Scintilla.
* src/callbacks.c, src/keybindings.c:
Remember the active page when toggling the sidebar. Simplified code
for toggling messages window.
* tagmanager/tm_tag.c, tagmanager/tm_workspace.c:
Fixed wrong line numbers for found tags.
2006-06-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c, src/notebook.h, src/document.c, src/callbacks.c,
src/callbacks.h:
Enable drag reordering of tabs for GTK+2.8, and a temporary
workaround for GTK+2.6.
Add notebook_new_tab and update document_create_new_sci to use it;
also remove on_tab_close_clicked.
* src/notebook.c: Fix close tab button bug introduced in last commit.
* src/callbacks.c, src/utils.c:
Add clipboard functionality for find and go to line widgets,
and Scribble widget.
2006-06-24 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: Replaced 'blank' by 'include "..."'. Fixed a bug in
utils_brace_match() which prevents correctly matching.
* src/document.c, src/sci_cb.c, src/filetypes.c:
Made auto completion work only for the current filetype
(i.e. it hides symbols from other filetypes).
* tagmanager/options.c, tagmanager/parse.c: Removed unneeded code.
* tagmanager/tm_workspace.c, tagmanager/tm_source_file
tagmanager/tm_tag.c, tagmanager/tm_project, tagmanager/parsers.h,
tagmanager/tm_file_entry.c, tagmanager/entry.c, src/highlighting.c,
data/latex.tags, data/php.tags, Makefile.am:
Added global auto completion tags for PHP and LaTeX.
* src/keybindings.c, src/callbacks.c, src/sci_cb.c, src/main.c,
src/geany.h, src/dialogs.c:
Added some sanity checks to prevent crashes.
* src/sci_cb.c, src/highlighting.c:
Removed URL highlighting code(useless feature, never was enabled).
* src/treeviews.c: Set policy settings for the scolledwindow.
* scintilla/License.txt, scintilla/Makefile.am, doc/Makefile.am:
Added Scintilla license file.
2006-06-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/msgwindow.c: Add a timestamp to messages in the Status window
(closes request #1509908).
2006-06-22 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: Reorganised C include file items, added C++ headers.
* src/callbacks.c: Insert include statements and comment templates at
mouse pointer position instead of cursor position.
2006-06-21 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c: Added missing shortcut for "Close".
* geany.glade, src/interface.c, src/prefs.c, src/keyfile.c,
src/document.c, src/dialogs.c, src/encodings.h:
Added option in the preferences dialog to replace tabs by spaces
when saving a file.
Added option for default encoding for new files.
* scintilla/*: Updated Scintilla to version 1.70.
2006-06-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c, src/utils.h, src/callbacks.c, src/document.c,
src/document.h: Go back to the same line when reloading.
Fix start selection bug when clicking in the
current file if it has changed.
* src/msgwindow.c, src/document.c:
Also show status messages on the status bar.
2006-06-19 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c: Added translator credits.
* src/callbacks.c, src/encodings.c, src/utils.c, src/document.c,
geany.glade, src/interface.c:
Implemented encoding support to switch between different encodings.
2006-06-19 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* configure.in: Added Spanish translation. More info at
po/ChangeLog.
2006-06-19 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/build.c, src/utils.c, src/utils.h, src/callbacks.c:
Don't open files or go to errors automatically whilst compiling.
Rename utils_goto_workspace_tag to utils_goto_file_line.
2006-06-18 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c: Fixed a segfault when pressing shortcut for
"Find Usage" and there is no open file.
* src/dialogs.c: Removed unneeded label padding.
2006-06-18 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c: Make Keyboard shortcuts dialog scrollable.
* src/interface.c, geany.glade:
Set toolbar button Compile text, Execute icon and insert separators
before Quit and before Revert, Close.
Move popup item Goto definition above declaration (used more often).
Move recent files menu up to Open item.
In prefs use 'Recent files' instead of 'MRU'.
Correct indentation spelling.
* src/keybindings.c: Show shortcut keys for Undo/Redo and popup items.
* src/keybindings.c, src/geany.h, src/callbacks.c, src/sci_cb.c,
src/callbacks.h: Use correct current_word buffer for popup menu item
keybindings; also use GEANY_MAX_WORD_LENGTH.
2006-06-17 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/sciwrappers.c, src/sciwrappers.h,
doc/geany.docbook: Made Duplicate Line command duplicate selection
if present.
* src/highlighting.c: Fixed styling for unmatched braces.
* src/keybindings.h, doc/geany.docbook:
Group toggle sidebar keybinding with toggle messages.
* src/keybindings.c: Set keyboard shortcuts for switching tab pages.
* src/keybindings.c, src/keybindings.h:
Add keybindings for Find Usage, Go to definition/declaration,
based on the current cursor position.
* src/utils.c: Ensure null termination in utils_find_current_word.
2006-06-16 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: Delete all indicators when starting a new compilation.
* src/highlighting.c, data/filetypes.common:
Added keys for linenumber and folding margin, added key for
inverting all colours(if you like dark background).
2006-06-16 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/notebook.c, src/notebook.h, src/main.c, src/Makefile.am:
Added currently disabled drag reordering of notebook tabs.
* src/callbacks.c: Execute: only save file if the run command uses it.
* src/templates.c, src/templates.h, src/utils.c, src/utils.h,
src/callbacks.c: Cache the current function name for efficiency in
utils_get_current_function, other related fixes.
* src/geany.h, src/callbacks.c, src/prefs.c, src/dialogs.c:
src/main.c: Don't include keybindings.h in geany.h.
2006-06-15 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: Fixed a bug at opening files when clicking on compiler
error messages(thanks Yura Semashko).
* doc/Makefile.am: Fixed a bug which breaks "make install" when xmlto
is not installed.
2006-06-13 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* doc/Makefile.am: Renamed target html/index.html in htmldoc, added
geany.xsl to EXTRA_DIST.
* doc/geany.docbook: Removed appendix for keybindings, updated section
keybindings to new action identifiers.
* src/utils.c: Improved and finished switching between files when
clicking on compiler error messages.
* src/sciwrappers.c, src/document.c, src/highlighting.c, src/build.c,
src/keyfile.c, src/prefs.c, src/interface.c, geany.glade,
src/geany.h:
Implemented code for setting indicators while compiling.
2006-06-12 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* THANKS, src/about.c: Added translator credits.
* src/main.c: Defined N_() again, so command line args are really
translatable.
* geany.glade, src/interface.c: Added missing mnemonic to build menu
item.
2006-06-12 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
* configure.in: Added Belarusian and Russian language support.
More Information at po/ChangeLog
2006-06-11 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c: Added some mnemonics in the file menu.
* src/highlighting.c: Replaced "/" by G_DIR_SEPARATOR_S.
* src/utils.c: Fixed an issue, which let the build menu item
insensitive once a new file w/o template was opened.
* src/document.c: Fixed a segfault in document_find_by_filename().
* src/geany.h, src/callbacks.c, src/main.c:
Improved the handling of GIOChannels(for named pipes), ensure they
are closed in a proper way.
* src/document.c: document_open_file() returns the index of the opened
file.
* src/utils.c: Open or switch to files when clicking on compiler error
messages and the error message mentions another file
than the opened one.
2006-06-10 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: Made command line options translatable, hide compiler
message treeview under Win32.
* src/filetypes.c: Added additional patterns to detect configure
scripts as Shell scripts.
* src/dialogs.c: Made preferences dialog transient for the main window
2006-06-08 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c, src/prefs.c, src/dialogs.c:
Added labels for each defined shortcut to have a nicer
representation in the dialogs.
* geany.desktop.in: Removed duplicate entry for Encoding, now
desktop-file-validate processes with no errors.
* configure.in, doc/geany.1.in:
Renamed geany.1 to geany.1.in to let it be processed by configure.
Added GEANY_DATA_DIR to configure.in.
* doc/Makefile.am, doc/geany.xsl:
Removed unneeded code for generating geany.1. Added man_MANS to get
installed the manpage. Changed build command for HTML documentation.
Added new file doc/geany.xsl.
* geany.spec.in: Some improvements, corrected download URL.
* src/prefs.c: Hide make and terminal settings under Windows.
2006-06-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c: Fixed segfault when inserting comments and no
filetype is set.
* src/callbacks.c, src/sciwrappers.c, src/sciwrappers.h:
Use the character position under the mouse click for Go to
definition/declaration and for overridden middle click text paste.
* src/utils.c, src/utils.h, src/callbacks.c, src/document.c,
src/document.h: Fix bug with Go to tag defn/decl when the filename
is a link (TagManager dereferences linked filenames)
2006-06-06 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: Enabled folding for markup filetypes
(HTML, XML, PHP, DocBook).
* src/treeviews.c: Replaced "Members" by "Methods" to make it clearer.
2006-06-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook: Added save current file behaviour when building.
* src/sci_cb.c: Fix empty white box glitch with tag autocompletion,
also improves typing response efficiency.
2006-06-05 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialog.c, src/callbacks.c: Added dialog to show defined keyboard
shortcuts, this replaces the previous
link to the documentation.
* src/main.c, src/document.c: Fixed wrong setting of filetype when
using "All files" as filetype.
* src/dialogs.c: Fixed compiler warning "not enough variable arguments
to fit a sentinel".
2006-06-04 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* README, NEWS: updated for Geany 0.7
* src/keybindings.c: Changed default keybinding for menu_replace to
Ctrl+E.
* new release: Geany 0.7 "Ravik"
* configure.in: Fixed svn detection code, changed version to 0.8.
2006-06-03 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: Fixed bug in auto completion of constructs.
* doc/geany.docbook: Added documentation for filetype definition files
and definable keyboard shortcuts.
2006-06-03 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* doc/geany.docbook: More minor corrections/rewording.
Added Build System section.
Some corrections to the Filetypes section.
2006-06-02 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/filetypes.css: improved colouring
* src/utils.c: Added some sanity checks if filetype is NULL.
* src/utils.c: Corrected readme text for filedefs/filetypes.README.
2006-06-02 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c: Fix dialog path warnings for command-line files.
* src/callbacks.c: Fix Go to tag declaration/definition.
* tagmanager/docbook.c: Fix a segfault with missing id in element.
* doc/geany.docbook: Minor changes to chapter 1.
2006-05-31 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* scintilla/PlatGTK.cxx:
Backport a Scintilla fix for crashes with recent GTK+ font issue.
* src/keyfile.c: Discard old session files also for unsaved documents.
2006-05-30 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keyfile.c, src/sciwrappers.c, src/sciwrappers.h, src/document.c:
Scroll session files in view after all resizing of the Scintilla
widget and rename sci_scroll_to_line.
* data/filetypes.pascal: Updated identifier styling as highlighting.c.
2006-05-30 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c, src/main.c:
Removed unneeded function dialogs_show_fifo_error(), fixed small
memory leak in dialogs_show_question()
* src/utils.c: Fixed a wrong(non ISO-C) array size allocation,
improved utils_replace_tabs().
* src/keybindings.c: Added shortcut for Replace Tabs by Space,
extend usage of GEANY_ADD_ACCEL macro.
* src/prefs.c: Detect duplicate shortcuts and prevent saving them.
* tagmanager/css.c: Fixed a crash when opening malformed CSS files.
2006-05-29 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/about.c: Added Jacek Wolszczak and Frank Lanitz to the credits.
2006-05-28 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, po/pl.po: Added Polish translation contributed by
Jacek Wolszczak.
* src/dialogs.c, src/utils.c: Made recent files menu item insensitive
when the list is empty.
2006-05-26 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
Fixed nasty hang when closing a tab and both the next tab and the
first tab files have been externally modified.
* src/dialogs.c: Add mnemonics to Replace dialog buttons, reorder.
* src/document.c: Fix incremental find and replace of back to back
matches.
2006-05-25 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/document.c: On loading use SCI_SETTEXT instead of SCI_ADDTEXT
to avoid Scintilla text changed signal.
* src/callbacks.c, src/document.c, src/document.h:
Make Replace in selection non-incremental and use single Undo
blocks for this and for Replace All.
2006-05-24 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/keybindings.c, src/keybindings.h:
Add shortcuts for Find Previous, Go to line
* src/keybindings.c:
Set shortcut for Replace and split keybindings_init code
2006-05-23 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/utils.c: check if file has been closed in
utils_goto_workspace_tag
* src/interface.c, src/callbacks.c, src/callbacks.h, geany.glade:
created Search menubar item with Find items from Edit menu, added
Find Previous and Go to line commands
* src/vte.c: remove vte middle click override to allow X paste and
update popup preferences item for Terminal tab number
2006-05-22 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/callbacks.c, src/templates.c:
insert the file type extension and fix a warning when inserting a
fileheader in a new document
2006-05-22 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c, src/utils.c: improved toggle visibility of
sidebar when toggled by keyboard
2006-05-21 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keybindings.c: added menu_messagewindow and toggle_sidebar
shortcuts
* src/highlighting.c, data/filetypes.c, data/filetypes.cpp:
added option to disable styling within preprocessor directives
* src/dialogs.c, src/about.c, src/callbacks.c, configure.in:
rewrote about dialog to reduce code size, added subversion revision
* src/vte.c: declared some functions static
* src/dialogs.c: do not create VTE settings in the preferences dialog
if VTE is disabled at runtime
* geany.glade, src/interface.c, src/callbacks.c, src/keyfile.c,
src/main.c, src/prefs.c:
added option to disable load of VTE at startup
* src/highlighting.c, src/utils.c: applied sanity check patch from
Pierre(posted on mailing list)
2006-05-20 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
* src/dialogs.c: fix pressing enter to open more than one file in
the open file dialog
* src/sci_cb.c: fix a segfault when commenting out lines with ctrl-d
when no filetype is set
* src/utils.c: fix a segfault clicking on a compile error if the
compiled file has been closed
2006-05-19 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: fix a small bug in sci_cb_show_calltip() to prevent an
endless loop
* src/keybindings.c, src/dialogs.c, src/callbacks.c, src/main.c,
src/Makefile.am, src/geany.h, src/prefs.c, geany.glade:
make keyboard shortcuts user-definable
* src/document.c, src/utils.c: fixed a crash when clicking on the run
button and no file is opened
2006-05-17 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: added code for creation of filedefs subdirectory
* src/document.c: fixed compiler warning
* src/keyfile.c: removed obsolete and commented code
2006-05-16 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/Makefile.am, tagmanager/tcl.c, tagmanager/parsers.h,
scintilla/Makefile.am, scintilla/LexTCL.cxx, scintilla/KeyWords.cxx,
src/filetypes.c, src/highlighting.c, data/filetypes.tcl:
new filetype Tcl/Tk
* src/sci_cb.c: enabled autocompletion for all filetypes (fine tuning
still needed)
* src/document.c: removed mmap()-code, use at the moment only
g_file_get_contents, fixed memory leak
* scintilla/ScintillaGTK.cxx: updated to CVS version
* data/filetypes.*: quoted filename wildcards for filenames with
whitespace
2006-05-15 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/callbacks.c:
added previously code to prevent opening of non-text files, fixed
detection of C++-destructors and other improvements in
utils_get_current_tag()
2006-05-14 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, po/ca.po, THANKS, src/dialogs.c:
added catalan translation contributed by Topi
* data/filetypes.php, data/filetypes.perl, data/filetypes.ruby,
data/filetypes.pascal, src/utils.c:
added compiler commands to run a syntax check and parse the output,
so it is clickable in compiler message window
2006-05-12 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c. src/callbacks.c: added code for parsing python error
messages when clicked in compiler
message window
* tagmanager/ruby.c, src/treeviews.c: improved parser to detect
variables and members
* src/highlighting.c, data/filetypes.ruby: added missing keywords
2006-05-11 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: show appropriate error code when use(i.e. write access)
of configuration directory fails
* src/highlighting.c, src/filetypes.c:
read the filetype definitions first from the configuration directory
and then from the datadir (%prefix/share/geany)
2006-05-10 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/filetypes.c, src/templates.c, src/callbacks.c:
added template support for filetypes with comment character #,
updated GPL to the current address of the FSF
* tagmanager/python.c: fixed wrong identification of keyword class in
''' comments
* tagmanager/parse.c, tagmanager/python.c:
added code from anjuta to parse methods and functions separately
* tagmanager/ruby.c: applied patch from ctags Sourceforge site to
recognise things like Foo::Bar (ctags #1213512)
* tagmanager/perl.c, src/treeviews.c:
improved symbol list for filetype Perl, improved parser
* src/document.c, src/callbacks.c: improved tag list updating, should
be a bit faster on opening files
2006-05-09 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/ScintillaGTK.cxx: fixed encoding problem which causes many
problems with non-Ascii characters
* src/document.c: fixed a strange segfault at creating new file tabs
2006-05-08 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: save current file if it is executed
(e.g. shell scripts)
* src/highlighting.c: fixed a typo which prevented highlighting of
variables in Perl
* src/filetypes.c, tagmanager/Makefile.am, tagmanager/parsers.h,
tagmanager/css.c: added parser for CSS filetype
* tagmanager/ruby.c, tagmanager/Makefile.am, tagmanager/parsers.h,
scintilla/LexRuby.cxx, scintilla/Makefile.am, scintilla/KeyWords.cxx
src/filetypes.c, src/highlighting.c: added new filetype Ruby
2006-05-05 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: fix a crash when clicking in the compiler output
* src/dialogs.c: improved file permission display if they cannot be
read (e.g. on Windows)
2006-05-03 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/win.c, src/utils.c, src/highlighting.c:
moved my_strtod() from win32.c to utils.c, use it always, not only
on Win32 systems
2006-05-01 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.perl: added two compiler commands
* data/filetypes.cpp, src/highlighting.c: added some C++ keywords
* src/sci_cb.c: added try-catch-auto completion
2006-04-30 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c: fixed a crash when starting Geany without debug messages
* sci_cb.c: fixed a small issue when dragging files to Geany
* new release: Geany 0.6 "Nivers"
2006-04-29 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c, src/callbacks.c:
applied two patches from Nick Treleaven to fix invalid memory read
and improve the ordering of file tabs while loading session files
* src/vte.c: applied patch from Nick Treleaven to improve removing the
vte widget, fixed also a bug with disappearing scrollbars
2006-04-28 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/treeviews.c, src/msgwindow.c:
disabled interactive search function since it never worked and is
unnecessary and confusing
* src/utils.c: added small check for NULL pointer
* src/document.c: fixed some inconsistency with the read only check
box in the file menu
2006-04-27 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: improved key press handling to avoid that cursor
rans out of editor widget when pressing F8
* src/sciwrappers.c: applied two little patches from Nick Treleaven
* tagmanager/tex.c: fixed naming of the parser to get recognised again
for parsing LaTeX files
2006-04-26 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: applied patch from Nick Treleaven to right-align the
close buttons on each tab, reload the symbol list at
reloading a file
* src/dialogs.c, src/callbacks.c:
applied patch from Nick Treleaven which improves the file open
dialog, make it more compact, replaced read-only checkbox by a
button, fixed memory leak
* src/sci_cb.c: applied patch from Nick Treleaven to fix a small bug
in auto commenting lines with CTRL+D
* src/document.c: applied patch from Nick Treleaven to switch to the
new opened tab if placement of new file tabs is set
to Right
* src/utils.c: applied patch from Nick Treleaven to fix a bug in
utils_get_current_tag() with C++ methods
2006-04-25 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: added support for complete do while loops
* src/highlighting.c, data/filetypes.cpp: added keywords this, public,
private and protected
* scintilla/ScintillaGTK.cxx, scintilla/PlatGTK.cxx:
applied patches from John Ehresmann (posted on the Scintilla ML)
* src/dialogs.c: improved the file properties dialog
* src/gb.c: translated comments into English and fixed some bugs
2006-04-24 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, src/geany.h: removed unneeded time variables
2006-04-23 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexBash.cxx: fixed crash when typing "\" as last character
in a bash file (patch from Scintilla ML)
2006-04-20 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/keyfile.c, src/document.c, src/interface.c
src/prefs.c, src/geany.h: added option to place new file tabs to the
right or left of the tab list
* src/utils.c, src/keyfile.c, src/prefs.c, src/build.c, src/vte.c,
src/filetypes.c: replaced lots of g_new() by g_new0()
* src/dialogs.c: at saving a new file, the extension of the file is
guessed based on the default extension in filetypes.c
* src/build.c, src/msgwindow.c: improved scrolling of compiler
messages at building
* src/build.c, src/dialogs.c, src/callbacks.c:
rewrote most of the building code, get compiler settings from
filetype definition files, handle non-UTF8 filenames better and much
more things
2006-04-18 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h, src/keyfile.c, src/utils.c:
added option to match < and > to, but disabled by default
2006-04-09 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: added handler for dragged file URIs in the editor
widget, so they will get opened
2006-04-07 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c: now the file save dialog returns when pressing Enter,
too, also fixed a bug if path of current file
contains non-UTF8 characters, added question dialog,
to ask for various things, so removed
dialogs_show_confirm_exit()
* src/callbacks.c: added a check for overwriting files when using file
save dialog
* src/document.c: default charset encoding for new files is set to UTF-8
* src/highlighting.c, data/filestypes.common:
added setting folding_style to define the style of the folding icons
2006-04-06 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: fixed some errors with non-UTF8 filenames and paths
* bugfix: src/dialogs.c: fixed an error when changing the current
directory in the file open dialog and the
path contains non-UTF8 characters
* src/document.c: removed useless for loop in document_set_filetype
2006-04-05 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/document.c: fixed a segfault when opening a file and
filename is NULL
2006-04-04 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/callbacks.c: fixed potentially segfault when opening a
file from the recent file menu
2006-04-03 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: applied three patches from Nick Treleaven to improve
usage of the VTE component
2006-04-01 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/general.h: added inclusion of unistd.h to avoid compile
errors on MacOSX
* src/document.c: fixed memory allocation while opening files, so that
empty files (size = 0 byte) can also be opened
2006-03-29 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c: let the editor widget also be resized,
so resizing the main window is nicer
* src/keyfile.c, src/main.c:
moved some code from configuration_open_files to
configuration_apply_settings, because configuration_open_files is
not called every time
2006-03-28 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/sci_cb.c, src/callbacks.c:
applied patch from Nick Treleaven to avoid segmentation faults on
long words(>120 characters)
* src/main.c, src/sci_cb.c: applied patch from Nick Treleaven to fix a
possible segmentation fault
2006-03-22 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: added error messages to utils_write_file()
* src/keyfile.c: rewrote the code for reading the session files
2006-03-19 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, src/sci_cb.c, data/filetypes.*:
added definable comment characters to all filetypes
2006-03-18 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c, data/filetypes.*:
added wordchars key to all filetypes
* src/main.c: improved reading and writing of the named pipe, so Geany
does not go into in an endless loop after opening a file
2006-03-17 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/sci_cb.c: typing } on lines longer than 256 chars caused
a crash (segfault)
* src/dialogs.c, src/callbacks.c, src/interface.c, geany.glade:
moved VTE settings tab code in the preferences dialog to dialogs.c,
so this code will not be compiled if HAVE_VTE is unset
2006-03-15 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/geany.h, src/main.c, src/keyfile.c:
added GEANY_WINDOW_MINIMAL_WIDTH, GEANY_WINDOW_MINIMAL_HEIGHT,
GEANY_WINDOW_DEFAULT_WIDTH, GEANY_WINDOW_DEFAULT_HEIGHT to make it
easier to changed these defaults
2006-03-14 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: added check for existing documentation, otherwise
try online documentation
2006-03-11 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/interface.c, src/main.c:
set minimal size to 620x440, default size to 900x600, added command
line option -m or --no-msgwin to disable message window at startup
* doc/geany.docbook: added description for -m option
2006-03-10 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: applied patch from Nick Treleaven to allow
reclicking of taglist treeview item
* src/keyfile.c: fixed small error which adds every time a new comment
in the filetype extensions configuration file
* data/filetypes.*, src/highlighting.c:
added italic flag to all styles, added background colour for current
line
* src/dialogs.c, src/sciwrappers.c:
applied patch from Nick Treleaven which improved inserting of
current selection in the find and replace dialogs
* src/filetypes.c: added new extensions for filetype Pascal
* src/data/filetypes.conf, src/highlighting.c:
added "key" and edited colours for changed lexer
* scintilla/*: updated Scintilla to version 1.68
2006-03-09 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.pascal: added new keywords supplied by Marko Peric
* src/highlighting.c: added support for // and (* ... *) comments in
Pascal
* src/utils.c, src/document.c: improved utils_check_disk_status()
behaviour to work with files on
filesystems with another time than the
time from the local host
2006-03-02 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/build.c, src/geany.h:
clicking on a compiler error message jumps to the correct file, if
it is not the current one
* src/dialogs.c: fixed crash when closing find or replace dialog twice
by pressing escape (triggering the delete_event),
closes #1441359
2006-02-27 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: added auto completion in LaTeX mode for \begin
2006-02-26 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: removed unneeded destroyapp_early()
* src/main.c, src/utils.c: improved configuration directory creation
* src/sci_cb.c, src/highlighting.c, src/document.c, geany.glade,
src/geany.h, src/interface.c, src/prefs.c, src/callbacks.c:
implemented first version of rudimentary folding support, added
goto line entry in the toolbar and made it hideable
2006-02-25 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c: fixed memory leak, load filetype extensions from a
file in the configuration directory, the filetype of
a document is now also stored at loading and saving
session files
* src/filetypes.c: removed unneeded constant GEANY_MAX_PATTERNS
2006-02-24 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/callbacks.c, src/dialogs.c, src/main.c:
made "make" build menu items sensitive for C header files
* bugfix: src/vte.c: hopefully fixed a crash when closing the
preferences dialog and message window was hidden
and shown before
2006-02-21 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: added utils_make_human_readable_str()
* src/dialogs.c: added file properties dialog
* geany.glade, src/interface.c, src/callbacks.c, src/dialogs.c:
moved font selection dialog from glade code to dialogs.c, removed
unnecessary callback functions for delete_event's
2006-02-20 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: fixed bug when using color selector and no file is
open, only fixed on some other actions
* src/geany.h, src/main.c: disable menu functions of the edit menu
when no files are open
* src/main.c: added the possibility to delete an existing fifo in the
case, that Geany crashed previously
2006-02-17 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/gb.c: fixed bug which caused always same figures under Win32,
some other code cleanups and changes
* geany.glade, src/interface.c, src/callbacks.c, src/main.c:
replaced the New toolbar button by a menu button, so it works also
under Win32
* src/prefs.c: all settings are now saved by pressing OK in the
settings dialog, up to now it was only done at exiting
2006-02-16 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, callbacks.c, document.c: fixed some line breaking issues
2006-02-14 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* Makefile.am, doc/Makefile.am: improved "make uninstall" of Geany
* configure.in: added check for mkfifo(), made it also an option
* src/main.c: added a message box if lost pipe was found, FIFO code
now depends on HAVE_FIFO
* src/Makefile.am: do not compile win32.c anymore, added to EXTRA_DIST
* src/geany.h, src/main.c, src/callbacks.c:
added command line option -p or --no-pipe to ignore a running
instance of Geany and force opening a new instance
2006-02-13 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c: added utils_show_linenumber_margin()
* geany.glade, src/interface.c, src/callbacks.c, src/dialogs.c,
src/main.c, src/geany.h, src/keyfile.c, src/sci_cb.c:
removed some items from the document menu to the preferences dialog,
removed file save dialog from interface.c to dialogs.c, added
toggle for line numbers
2006-02-10 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexOMS.cxx, scintilla/keywords.cxx,
scintilla/include/SciLexer.h, scintilla/Makefile.am:
added new lexer LexOMS(based on LexBash) for OMS support
* src/highlighting.c: added new filetype OMS (O-Matrix)
* src/dialogs.c: improved the find and replace dialog, an existing
selection is inserted, fixed focus settings
* src/callbacks.c: prevent Geany entering an endless loop, at
replacing something like "YELLOW" with "yellow", if
search flag "Case sensitive" is not checked
2006-02-08 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, src/callbacks.c, src/geany.h:
Geany now creates a FIFO, to communicate between different instances
2006-02-07 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/callbacks.c, src/document.c: fixed a memory leaks
* src/document.c: improved filename handling on saving files
* src/callbacks.c: improved the filename entry widget in the file open
dialog, it handles now directories, too
2006-02-06 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: improved behaviour of HOME/END keys on wrapped lines
* src/sciwrappers.c: added sci_assign_cmdkey()
* geany.glade, src/interface.c, src/callbacks.c, src/dialogs.c:
rewrite of the file open dialog, now it enters a directory instead
of trying to open it in Geany (closes #1421776)
* src/sci_cb.c: improved sci_cb_do_comment() to handle SQL and Caml
comments
* src/sciwrappers.c, src/sci_cb.c:
applied patch from Nick Treleaven to improve multiline selection
by selecting the lines in the line number margin, removed also the
right click behaviour to set a marker
* src/highlighting.c: added filetypes SQL and (O)Caml, heavily reduced
code size
* src/main.c: fixed wrong handling of the visibility of the message
window
* src/vte.c: fixed a crash when preferences are set and message window
is hidden (thanks to Joo Martin for reporting)
2006-02-03 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: improved filename handling in document_open_file(),
fixed a crash at reloading files
* src/main.c: fixed a crash when opening more than 25 files from the
command line (closes #1422135)
* src/sci_cb.c: improved sci_cb_do_comment() to handle CSS comments
2006-02-01 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/build.c: applied patch from Nick Treleaven to fix memory leaks
* src/document.c: changed <? to <?php in new file template
* src/keyfile.c: changed "term" to "xterm", this was a simple typo
* src/utils.c: added encoding to the status bar, fixed a freeze with
C++ files (closes #1419473)
2006-01-29 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/win32.c: set the Open File dialog directory to the same
directory as the current file
* src/utils.c: disabled the build menu under Win32, at least temporary
* src/templates.c, doc/geany.docbook:
added new wildcard {geanyversion} to have actual Geany version in
filetype templates (e.g. HTML template)
2006-01-27 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* new release: Geany 0.5 "Rebus"
2006-01-26 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/dialogs.c: set the Open File dialog directory to
the same directory as the current file
(thanks to Nick Treleaven for this patch)
* src/sci_cb.c: fixed a bug with auto indention and CR/LF line endings
(thanks to Tamim for reporting)
2006-01-21 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/tex.c, src/treeviews.c: added tag support for "\begin",
fixed gcc4 warnings
* tagmanager/docbook.c: fixed gcc4 warnings
* src/filetypes.c, src/document.c, src/keyfile.c:
fixed some bugs when opening files with non UTF-8 filenames
2006-01-18 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: it is now possible to insert a function description
(use right mouse button popup menu) without having
the cursor inside the { and } of a function
2006-01-17 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: fixed two auto indention bugs
* geany.glade, src/interface.c: fixed incorrect size of Save as dialog
2006-01-16 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/*: updated Scintilla to version 1.67
* src/treeviews.c: added category class to the symbol list, changed
category names for filetype DocBook and LaTeX
* src/sci_cb.c: improved auto indention, now "for (...) {" works, too
* configure.in: set prefix if it was not specified
* geany.desktop.in: added GenericName[de]
2006-01-15 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* configure.in, Makefile.am, desktop.in:
replaced geany.desktop by geany.desktop.in, some changes to the
desktop file like absolute icon path
* tagmanager/tex.c: added tags section, subsection and subsubsection
* tagmanager/docbook.c: complete rewrite, works great
2006-01-14 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/document.c, src/treeviews.c: update open file list entry
when "Saving as"
* bugfix: src/document.c: fixed wrong g_object_unref() which causes
crashes
* bugfix: src/geany.h, src/document.c, src/utils.c:
fixed wrong symbol list in files with tag support but without
exisiting symbols, added new boolean has_tags in document struct
* src/geany.h, src/document.c, src/utils.c:
removed unneeded utils_get_new_sci_number() and scid from document
struct
* src/treeviews.c, src/callbacks.c:
added popup menu to symbol list, added "Hide" and "Hide sidebar" to
symbol list popup and open files list popup, to quickly hide the list
or the whole sidebar
2006-01-10 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: geany.glade, src/interface.c: added missing tooltip to
compile button
* src/filetypes.c: applied patch from Nick Treleaven, to add .cc, .hh
and .hxx extension for filetype C++ and improve the
pattern handling
2006-01-08 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/docbook.c, tagmanager/parsers.h, tagmanager/Makefile.am:
added conf.c(built from pascal.c), to create tags for docbook files
* src/build.c, src/utils.c, src/main.c, src/callbacks.c:
made the build menu filetype specific to have different menu items
* bugfix: src/keyfile.c: save window geometry with
gtk_window_get_position() so restoring the
window works correctly under Win32, too
2006-01-06 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/main.c, src/callbacks.c, src/vte.c, src/geany.h:
added commandline option to specify the path to the VTE library
2006-01-03 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* data/filetypes.markup, src/highlighting.c:
added new keywords for PHP5 and replaced phpKeyWords by php
(thanks to Simon Stoye for reporting)
* geany.glade, src/interface.c, src/prefs.c, src/keyfile.c
src/callbacks.c, src/document.c, src/build.c, src/sci_cb.c:
added new option "Beep on errors" to disable beeping
2005-12-31 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/gb.c: fixed segfault when exiting the easteregg program when it
is still running
* src/highlighting.c, src/win32.c: added my_strtod(), as replacement
for Win32 strtod()
2005-12-29 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* tagmanager/tm_tag.c: eliminated compiler (gcc4) warnings
* bugfix: tagmanager/tm_workspace.c:
replaced macro __unix__ by HAVE_GLOB_H(closes #1387828) and improved
handling of P_tmpdir (closes #1387839)
2005-12-28 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/dialogs.c: fixed a segfault in dialogs_show_not_found()
* bugfix: src/utils.c: fixed bug in utils_strpos() which returned -1
if length needle is 1
* src/utils.c: added utils_treeviews_showhide(), to get the right
settings at startup for the left side treeviews
* src/gb.c: eliminated compiler(gcc4) warnings, replaced macro
__unix__ by HAVE_FCNTL_H, use /dev/urandom or /dev/random
(in this order) if available and rand() if not
* src/configure.in: added checks for /dev/urandom and /dev/random
2005-12-25 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c: text entry field in the find and replace dialog grabs
focus by default, so the cursor is always inside
2005-12-19 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* new release: Geany 0.4 "Tarkin"
* src/gb.c: several improvements and bugfixes
* src/prefs.c, src/callbacks.c: improved HAVE_VTE handling
* src/sci_cb.c: set cursor position between brackets in
sci_cb_auto_close_bracket()
2005-12-18 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: changed keyboard shortcut for rebuilding the symbol
list, now it is Ctrl+Shift+R, Ctrl+R is now used
reload the current file
* src/callback.c, src/utils.c, src/document.c, src/treeviews.c,
src/main.c, src/geany.h:
made the symbol list document-oriented, so it has not to be
generated on every notebook switch page event
* src/geany.h, src/main.c, src/keyfile.c, src/callbacks.c:
introduced opening_session_files, to suppress notebook switch page
events at loading the files from the last session
* geany.glade, src/interface.c, src/geany.h, src/callbacks.c:
added new menu items: Help->Keyboard shortcuts and File->Revert
2005-12-16 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/dialogs.c: changed "build with make" keyboard shortcut to
Shift+F9 to avoid problems with window managers key
bindings (thanks to Nick Treleaven for reporting)
* src/about.c, src/gb.c: added a nice easteregg(type "geany" in the
about dialog *g*)
* src/vte.c: added popup menu for the VTE widget
* bugfix: src/prefs.c: fixed crash when opening option dialog and VTE
is disabled
* geany.glade, src/interface.c, src/main.c, src/callbacks.c:
removed unnecessary functions
2005-12-13 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/sci_cb.c: added sci_cb_auto_close_bracket() to close { and [
brackets in LaTex-Mode (more could be added)
2005-12-12 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: changed key binding to switch between open
documents from CTRL to ALT+Left/Right, so
CTRL+Left/Right moves the cursor to word boundaries
2005-12-11 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: added shortcut F6 to switch to the VTE widget
* doc/geany.docbook: described some of the compile time options in
geany.h and marked filename with <filename>-tag.
* src/interface.c, src/prefs.c, src/utils.c, src/callbacks.c,
src/geany.h, src/documents.c: made length of MRU list changeable
* bugfix: src/highlighting.c: fixed a wrong color value
2005-12-10 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/prefs.c, src/vte.c, src/keyfile.c, src/utils.c, src/callbacks.c:
many changes, adding color settings for VTE
2005-12-09 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* geany.glade, src/utils.c, src/interface.c, src/callbacks.c,
src/main.c, src/keyfile.c: removed symbol list combo box in the
toolbar
* src/treeviews.c, src/utils.c: heavily improved the tag list to
categorise the tags in a tree
2005-12-08 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/interface.c: added tooltip text for exit button
* src/main.c: open a new file at startup if none is open
* bugfix: src/keyfile.c: fixed a segfault when starting without a
configuration dir
2005-12-06 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/callbacks.c: diabled extended HOME and END key
default behaviour due to many
problems
2005-12-03 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/filetypes.c, src/highlighting.c: added new filetype "Assembler"
2005-12-01 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c, src/callbacks.c: extending HOME and END key default
behaviour, to jump back to previous
cursor position if pressed again
2005-11-30 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c, src/prefs.c, src/interface.c, src/vte.c:
added some options for the VTE to the preferences dialog
* bugfix: src/sci_cb.c: fixed a small bug by auto closing }-brackets
* src/callbacks.c, src/main.c: added signal and handler for F12 key,
pressed in the main widget
2005-11-28 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c: added rudimentary clipboard support by pressing
middle(paste) and right(copy) mouse button
2005-11-27 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/vte.c/h: newly created: contains functions for the terminal
emulator widget, which is loaded if libvte.so.4 is
available
* configure.in: added option --[en|dis]able-vte to disable vte support
2005-11-25 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* scintilla/LexOthers.cxx: edited the properties lexer to colourize
key=value pairs a bit nicer
* tagmanager/parsers.h, tagmanager/conf.c, tagmanger/Makefile.am:
added conf.c(built from make.c), to create tags for config files
* src/utils.c, src/callbacks.c: rewrite untitled.extension after
"Save As" in the file header
2005-11-24 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c, src/interface.c, src/prefs.c, src/msgwindow.c:
added new option "Switch to status message list"
* src/keyfile.c: store the position of vpaned1 too(sizer between
editor window and the status message list)
* src/highlighting.c, src/filetypes.c: added new filetype "Conf"
2005-11-22 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/sci_cb.c: added missing / to the closing tr-tag in HTML
table auto completion
* src/sci_cb.c: disabled auto completion in HTML at writing pure CDATA
2005-11-21 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/keyfile.c: store the position of hpaned1(sizer between editor
window and the taglist) and load it if window
positions are saved and restored
* src/treeviews.c, src/callbacks.c: added special popup menu to the
list of open files
2005-11-20 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* new release: Geany 0.3 "Muzzer"
* src/treeviews.c/h: newly created: contains functions for the taglist
and open files treeviews on the left side
* src/treeviews.c, src/callbacks.c: added an open files treeview,
which represents all open files
* src/interface.c: added a toolbar button to open the color chooser
* bugfix: src/sci_cb.c: there was an error at the next line after
closing a multiline comment in C/C++/Java
2005-11-18 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/document.c: make a beep if a file could not be saved
2005-11-16 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/sci_cb.c: fixed a small bug that kills the current line
if a } was added and there is no newline and
there are no non-space characters on the line
(thanks to Frank Lanitz for reporting)
2005-11-15 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c: Save As add a recent opened file to the list, too
2005-11-14 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/utils.c, src/callbacks.c: added shortcut for "walking" between
open documents by pressing
STRG+LEFT resp. STRG+RIGHT
* src/templates.h, src/templates.c, src/document.c, src/filetypes.c:
removed hardcoded filetype templates from filetypes.c and added them
to templates.h/c
2005-11-12 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/templates.c, src/interface.c, src/callbacks.c, src/prefs.c,
src/keyfile.c, src/document.c, src/filetypes.c:
removed GPL options(in the settings dialog, in the context menu for
inserting comments like fileheader with GPL), now this is completly
done within the fileheader template and the wildcard {gpl}, added
also the first template for new file (filetype None)
2005-11-11 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/utils.c: fixed segfault if configuration directory could
not created
* src/dialogs.c, src/main.c, src/callbacks.c:
added a error box which is shown if configuration directory could
not created
* bugfix: src/callbacks.c: fixed a bug which freezed Geany sometimes
at exiting(thanks to Frank Lanitz for re-
porting)
2005-11-09 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/filetypes.c: set correct filetype id for type C++, so
template for new C++ file will work again
(thanks to Frank Lanitz for reporting)
2005-11-06 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/highlighting.c: added highlighting support for Python
* src/highlighting.c: extracted all hardcoded styling definitions for
all filetypes, so they can be easily edited by
user in %PREFIX/%DATADIR/geany, a GUI interface
is planned
* src/main.c, src/highlighting.c: load global.tags file only if a file
was opened
* src/callbacks.c: added key combo: Shift+Space to explicitly suppress
use of sci_cb_auto_forif()
* Makefile.am: added data/ to be included in tarballs and get installed
2005-11-03 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/interface.c, src/prefs.c: added long line marker settings to
preferences dialog
2005-10-31 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/sciwrappers.c:
reset the line number margin width at zooming in and out (thanks to
Frank Lanitz for reporting)
* src/dialogs.c, src/callbacks.c, src/document.c, src/keyfile.c:
re-implemented recent files menu, this time in a useful way
* bugfix: auto completion is working again
2005-10-30 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* bugfix: src/filetypes.c: fixed the function pointer of filetype
Tex to get the correct styling
(thanks to Frank Lanitz for reporting)
* src/document.c: reset the width of line number margin at saving
* src/document.c, sciwrapper.c, geany.h, keyfile.c:
added vertical line (by default at column 72) to mark long lines
2005-10-25 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* new release: Geany 0.2 "Panaka"
* configure.in, src/utils.c: added check for gethostname()
and modified utils_get_hostname() appropriately
* src/dialogs.c, src/interface.c: redesigned file open dialog
to make it looks nicer
2005-10-24 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* Makefile.am: added autogen.sh to EXTRA_DIST
* scintilla/*: updated Scintilla to version 1.66
* bugfix: configure.in: added check for fgetpos(), so compilation
with gcc 4 is possible
* src/sci_cb.c: removed sci_cb_show_entity_list(), because it was
unnecessary
2005-10-23 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* doc/geany.docbook: added search information in section Usage
* src/utils.c: bugfix: check_disk_status should now work better
* src/callbacks.c, src/dialogs.c, src/document.c, src/sci_wrappers.c,
interface.c: created "Replace" dialog with Replace, Replace All and
Replace Selection, also improved the Find dialog a little bit
* src/callbacks.c, src/interface.c: added "show hidden files" checkbox
in file open dialog
2005-10-22 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/dialogs.c, src/document.c:
heavily improved find dialog
* src/sci_cb.c: added simple <table>-completion in HTML-mode
* src/callbacks.c, src/interface.c, src/main.c, src/keyfile.c:
added toolbar popup entries for toolbar icon size
* src/dialogs.c, src/images.c: removed compile icon and replaced it
by the GTK stock icon "convert"
2005-10-21 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/callbacks.c, src/interface.c, src/document.c, src/sciwrappers.c:
added read-only mode (and checkbox in file open dialog)
added also text entry in file open dialog to enter directly filenames
* doc/geany.docbook: added startup information in section General
* src/callbacks.c, src/interface.c, src/keyfile.c:
added "Recent files" list to the file menu
* src/build.c: at linking a file(C and C++): if source is newer than
a existing object file, it is rebuilt
* bugfix: src/build.c: compiling a file without any special arguments
didn't work
2005-10-20 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* src/Makefile.am: EXTRA_DIST entry added, to include images.c
(thanks to Frank Boehme for reporting of missing file)
2005-10-19 Enrico Troeger <enrico(dot)troeger(at)uvena(dot)de>
* first release - Geany 0.1 "Freyborn"
|