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
|
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"
|