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
|
Fri Jul 2 16:18:27 BST 1999 Alex Roberts <bse@gedit.pn.org>
* README: Upped version number to 0.5.4. Also updated various parts
of the file to reflect current features and other related items.
* README.plugins, INSTALL, makeconfig.pl: Upped version number to 0.5.4,
in preperation of release.
* NEWS: Added Announce message for 0.5.4.
Sat Jun 26 22:22:17 BST 1999 Alex Roberts <bse@gedit.pn.org>
* Erk! i havent been keeping this up to date.. ahwell.. here goes..
* gE_document.[ch]: (gE_window_new) Make it a GnomeApp arg, instead
of a GtkWidget.. much nicer.. And commented out the call to
gE_set_menu_toggle_states, gnome-libs 1.0.11 doenst seem to like it..
* gE_mdi.c: various improvements.. (iirc ;)
* gE_prefs.[ch]: Added a "close doc" flag..
* gE_prefs_box.c: Moved the print tab to a Document tab, and added a
option for what to do when the last documnet of the window is closed..
right now only the first option works.. this corresponds with the
flag, above.
* commands.c: Made the close callback check the "close doc" flag, and
it will either open a new doc if there arent any more, or print hola! to
stdout.. as i said, its not fully implemented yet.
Thu Jun 17 19:00:32 BST 1999 Alex Roberts <bse@gedit.pn.org>
* commands.c: (doc_changed_cb)
gE_files.c: (gE_file_save) Update the window title when the file is
saved or modified.
Thu Jun 17 14:49:22 BST 1999 Alex Roberts <bse@gedit.pn.org>
(From patch supplied by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>)
* src/gE_files.c: (gE_file_save) Better error checking when saving
files.
Fixed a couple of memory leaks too.
1999-06-16 Tomas Ogren <stric@ing.umu.se>
* src/gE_about.c src/gE_plugin_api.c src/gE_prefs_box.c src/search.c
Misc i18n-fixes
Wed Jun 16 18:23:00 BST 1999 Alex Roberts <bse@gedit.pn.org>
(From patch supplied by Akira Higuchi <a-higuti@math.sci.hokudai.ac.jp>)
* po/ja.po: New file.
* src/commands.c: Marked a string for translation. Without this,
gnome_app_remove_menu_range() may fail.
* src/gE_plugin_api.c: Include config.h first. Or gettext will
not work.
* src/main.h:
src/gE_mdi.c:
src/gE_prefs.c:
src/gE_prefs_box.c:
src/gedit.c: Added fontset support. We use fontsets if a
fontset is supplied for text widgets.
* src/search.c: Added multibyte support.
Sat Jun 12 19:28:38 BST 1999 Alex Roberts <bse@gedit.pn.org>
* gE_mdi.c: Removed references to the gE_documents GList.. i think this
will improve stability and performance (my excuse.. so blahh =P )
Sat Jun 12 13:04:30 BST 1999 Alex Roberts <bse@gedit.pn.org>
* gE_document.c: (gE_window_new) Ok, weirdness... i've ptu a gE_document_new
call in here and it works now! before it would complain then die..
Ah well, now there is a default doc when you open a new window.
(need to implement a if this is the last doc, and you close it, close
the window..)
Taken the Line button out of a hbox.. it's obvious what it is when you
ptu the mouse over it.. and none of the other dock items would fit if
it had the box either..
Thu Jun 10 16:42:56 BST 1999 Alex Roberts <bse@gedit.pn.org>
* gE_document.c: (gE_window_new) Using gtk_window_set_default_size
finally fixes the window-jumping-back-to-the-usize-setting! GtkWidgets
don't like being resized smaller than the size they have been
specified! grr... this works.. no more email about it!
Made the statusbar, Column indicator, and Line button GnomeDockItem's..
Now you can customise the bottom row (i'll add some prefs box
stuff for these features).. Problem: Statusbar is now a hardcoded
size (kinda.. window_width minus 160 (size of the other two dock
items), so it all fits on the window properly.. otherwise it looks
yukky when you do things! (again, i'll fiddle with the prefs box
and add customisability to all this)...
* makeconfig.pl: Upped version to 0.5.4pre.. now the code is nolonger
the same as the released 0.5.3 code =)
Fri Jun 4 13:52:21 BST 1999 Alex Roberts <bse@gedit.pn.org>
* commands.c: (recent_cb) Check wether there actually is a document
available, instead of presuming there is.
Fixes a bug brought up by Kuba Winnicki <bw@idc.com.pl>.
Mon May 24 19:50:58 BST 1999 Alex Roberts <bse@gedit.pn.org>
* Released 0.5.3
* makeconfig.pl: Ok, time for release.. changed version to 0.5.3.
* NEWS: Added ANNOUNCE message.
* README.plugins: Added documentation for the Man Page and Time plugins.
* src/gE_prefs.[ch]: (gE_get_settings) Added new check, for running gEdit
the first time, now we dont segfault when gEdit starts with no prefs file.
(Thanks to Kjartan Maraas for spotting that one).
1999-05-23 00:22:46 Alex Roberts <bse@gedit.pn.org>
* README: Updated for 0.5.3. Plus, some minor cosmetic updates.
* INSTALL: Tidied it up; for 0.5.3.
* KNOWNBUGS: Added entry about MDI Mode bugs.
1999-05-22 00:42:04 Alex Roberts <bse@gedit.pn.org>
* src/commands.c: (file_open_cb) Use a delete_event signal instead of a
destroy signal to close the dialog with the WM (Thanks to the GIMP source
for that handy fix).
* src/search.c: (count_lines_cb) Make sure that gE_document_current returns a
document, before continuing, instead of bombing out on an assertion error,
makes the program much nicer when running.
* Thanks to Sergio A. Kessler (and his group) for pointing out these bugs.
1999-05-21 16:55:57 Alex Roberts <bse@gedit.pn.org>
* src/gE_prefs_box.c: (window_page_new) get the allocation.width and height
of the window to set the current width/height entries.
Connected the "Use Current" buttons to set the corresponding Startup entry
to the current width/height.
(gE_prefs_dialog) Moved the Window tab next to the General tab.
* User configurable width/height really is finished now! :)
1999-05-21 16:18:32 Alex Roberts <bse@gedit.pn.org>
* src/gE_plugin_api.c: (gE_plugin_text_insert), (gE_plugin_text_append)
Replaced calls to gtk_text_insert with gtk_editable_insert_text so that
the doc_insert_text_cb can pickup the changes and duplicate into the
split-screen. No more get_point warnings!
* src/gE_prefs_box.c: (plugins_clist_add) Make the file selection box start
in the $PLUGINDIR, instead of the current directory.
Added Translation _() tags around the file selector tilebar string.
1999-05-21 13:39:23 BST Alex Roberts <bse@gedit.pn.org>
* gE_document.[ch]: (gE_window_new) Changed the GnomeApp arg to a GtkWidget.
Now resizing smaller really does work properly now!! Honest! :)
1999-05-21 01:29:18 BST Alex Roberts <bse@gedit.pn.org>
* gE_document.c: (gE_window_new) Use the settings->width/height values to set
the usize of the window.
* gedit.c: (main) Call gE_get_settings, for initial startup.
* gE_prefs_box.c: (gE_apply) Ok! Now we set the width/height settings by
gettign the values ofthe entry.
(gE_prefs_dialog) Connect a modified signal when we change the width/height
entries.
* Ok, now it's time to sleep... User configurable width/height is finished!! :)
1999-05-20 23:32:57 BST Alex Roberts <bse@gedit.pn.org>
* src/gE_prefs.h: Added width/height gints.
* src/gE_prefs.c: Load and Set Width and Height settings. If Width/Height
aren't available we set them to the defaults.
* src/gE_prefs_box.c: (get_prefs) Set the Width and Height entries to the
settings->width/height values.
Now I need to implement these numbers further to make it all work together =)
1999-05-20 Alex Roberts <bse@gedit.pn.org>
* src/gE_prefs_box.c: Started to implement Window Size settings, so you
can choose the geomtry of the gEdit window. Only the GUI is in place,
none of it works yet - but doesn't it look nice? ;)
1999-05-20 Alex Roberts <bse@gedit.pn.org>
* src/gE_mdi.c: (gE_document_create_view) DAMNIT!!!!! Aargh! Ok, I've
fixed that irritating gtk_text_set_point critical error that sometimes
appeared when you were using auto indent.. for some reason the
split-screen text widget had it's auto_indent signal connection
commented out (it had a window pointer in it, instead of a NULL, a
left over from when I was implementing GnomeMDI and removing the
gE_window stuff). The button_press_event was also in the same state,
fixed that too. :)
* src/gE_document.c: (gE_window_new) Added a window policy for the
main window, now it'll resize smaller and stick (i'm sure this was here
before, no idea how or why it got taken out).
1999-05-20 Alex Roberts <bse@gedit.pn.org>
* src/commands.c: (auto_indent_toggle_cb) Removed the (gint*) cast
(No more make warning)
* src/gE_plugin_api.c: (gE_plugin_document_create) (int *) -> (int)
* src/gE_prefs.h: (struct _gE_preference) DOH! should be gint mdi_mode;
not *mdi_mode!
* src/gE_prefs.c: (gE_get_settings) settings->mdi_mode and ->scrollbar are
int's, we should check if its 1 or 0; instead of NULL as done before.
Also, if the mdi_mode setting is empty set it to GNOME_MDI_NOTEBOOK.
* src/gedit.c: (main) People were having problems, so the default start-up
MDI Mode is GNOME_MDI_NOTEBOOK - in case people didnt have taht as their
default
for some reason and are getting confused (e.g. "The document tabs seem to
be gone." - Joonas Makkonen)
1999-05-20 Alex Roberts <bse@gedit.pn.org>
* src/gE_mdi.c: (gE_document_new) Do the add_child/view stuff here,
instead of doing it after calling gE_document_new. This fixes the minor
problem of plugins appending onto the end of the current doc.
(view_changed_cb) Commented out most of this code, it
was causing some weird problems, and I'm not even sure what this function
should do.
* src/commands.c: (file_new_cb)
src/gedit.c: (main) Removed the add_child and add_view calls after
calling gE_document_new.
* src/gE_print.c: Cleaned up make warnings - added an include for gE_mdi.h
* src/gE_about.c: Added Thomas (Layman) and Martijn (LotR) to the
"Special Thanks" list, because of their valued and continued assistance
to the project.
1999-05-17 Alex Roberts <bse@gedit.pn.org>
* src/menus.c: Added Revert option to File menu.
* src/commands.[ch]: Added file_revert_cb and file_revert_do - For file revert
options, now you can revert all changes to a document back to the original
saved state. =)
(recent_update_menus) Changed menu range to 6, otherwise the Revert option
would get replaced by a historic document.
1999-05-17 Alex Roberts <bse@gedit.pn.org>
* src/commands.c: (file_open_ok_sel) Use the osel widget instead of a
pointer; Also, duplicate the FileSelection filename instead of pointing
to it (i think this was the problem with opening files before, seems a lot
more stable now).
* src/gE_mdi.c: (gE_document_new_with_file) Don't use the gE_document_new to
create the document, use the same method that gE_document_new uses though.
* src/gE_files.c: (gE_file_open) The doc->filename is now a duplicate of the
filename arg, not a pointer.
* Stability seems to have been improved greatly now.
* makeconfig.pl: Added pt_BR to ALL_LINGUAS.
* README.plugins: Added Clahey's Wordcount plugin.
1999-05-12 Alex Roberts <bse@gedit.pn.org>
* makeconfig.pl: Changed version number to 0.5.3pre. To differenciate with
the released version.
1999-05-11 Martijn van Beers <martijn@earthling.net>
* search.c: fixed several border-condition bugs
1999-05-11 Alex Roberts <bse@gedit.pn.org>
* main.h: Made the scrwindow widget an array of 2.
* gE_mdi.c: (gE_document_create_view) Let the main text entry area use
the first scrwindow widget, and the splitscreen use the second.
* commands.[ch]: (scrollbar_never_cb,
scrollbar_always_cb,
scrollbar_auto_cb) New functions. Select the scrollbars
to be Never on, Always on, or Automatic.
* menus.c: Added Scrollbar submenu of the settings menu. Using the above
new functions to select the status of the scrollbar. (I'm not sure if
this should be in the Preferences Box or not..?)
* gE_prefs.[ch]: Save the status of the Scrollbar into settings->scrollbar.
(*FIXME* This doesn't seem to be all together working properly. Maybe some
kind of reference system should be done, or something..)
1999-05-10 Alex Roberts <bse@gedit.pn.org>
* commands.c: (recent_cb) Use the same filename/modified checking
that file_open_ok_sel uses in the recent document opening callback.
Now when you open a recent document it doesn't open into the current
document.
* gE_mdi.c: (gE_document_create_view) Made he vertical scrolling of the
scrolled window AUTOMATIC. So now the scrollbar only appears when the
text overflows the visible on-screen textbox. This was an extremly
popular request, and now it's there :) (maybe it should be a configurable
feature..?)
1999-05-09 Alex Roberts <bse@gedit.pn.org>
* INSTALL: Finally removed the gmodule stuff, which doesn't work
anyway. Added --prefix info for ./configure.
1999-05-09 Alex Roberts <bse@gedit.pn.org>
* README: Updated to contain current information on the release and
it's status on requiring GNOME.
* NEWS: Tidied it up a bit, added release date.
1999-05-09 Kjartan Maraas <kmaraas@online.no>
* makeconfig.pl: Added entry for help/no/Makefile
* help/Makefile.am: added SUBDIR "no"
1999-05-09 Kjartan Maraas <kmaraas@online.no>
* help/no/*: Added Norwegian translation of the help files.
1999-05-09 (00:15) Alex Roberts <bse@gedit.pn.org>
* help/C/Makefile.am: Added a dist-hook:. make dist now finishes
1999-05-08 Alex Roberts <bse@gedit.pn.org>
* TODO: Tidied it up a bit, removed the old cruft which has now been
done (in prep for the 0.5.2 release)
1999-05-08 Alex Roberts <bse@gedit.pn.org>
* src/commands.c: (file_open_ok_sel) AT LAST! IT WORKS! set the filename
of the *osel to "". Everything is peachy now (i hope ;)
1999-05-08 Alex Roberts <bse@gedit.pn.org>
* Makefile.am:
makeconfig.pl:
help/C/topic.dat:
help/C/index.html: Added help file
* src/gE_plugin_api.c: Replaced all the calls to g_hash_table_lookup
with straight gE_document_current() calls. Plugins seem to be
working fine now.
* src/commands.c: (doc_insert_text_cb) Commented out the GnomeMDI CHild
stuff, I have no idea why it doesn't work. Maybe some GnomeMDI guru
could look at it.. :)
(file_open_ok_sel) Ok, it works properly now.. It was dereferenceing
the filename (iirc). It's working fine now..
1999-04-30 Alex Roberts <bse@gedit.pn.org>
* commands.c: (file_open_ok_sel) Setting the filename selected in
the File Selector to "" was a bad idea. Trying to save the file,
the filename of the doc itself was being corrupted. I've now
removed this and it works fine.
* gE_mdi.c: Moved the gE_document hash table initialisation to the
document class initialiser function.
Fixed up the context menu, and re-implemented the "Open .c/.h file"
option.
* gE_document.h: Made the doc_swaphc_cb function an extern so gE_mdi.c
can use it for the context menu
* Some other minor bug fixes/code cleanups
1999-04-23 Martijn van Beers <martijn@earthling.net>
* commands.c:
* gE_prefs_box.c: removed some commented stuff
* main.h:
* gE_document.c: removed gE_search stuff
* gE_mdi.c: Changed menu callback code for new search
use gE_documents list again
* search.[ch]: almost completely reimplemented. Now does backwards
searching, separated gui code and functionality.
1999-04-12 Kjartan Maraas <kmaraas@online.no>
* gE_prefs_box.c: (plugins_page_new) marked a string for translation.
1999-04-10 (16:06) Alex Roberts <bse@gedit.pn.org>
* gE_document.c: (gE_window_new) Ok, i got it wrong, we should be
using the `plugins' GList.
* gE_plugin_api.c: (gE_plugin_program_register) Ok, nobody ever told
me about this function. This has been the cause for all my Plugins
problems. By replacing the window_list in g_list_foreach () with
mdi->windows (i only just found this GList.. never noticed it before)
we get plugins added to the menu properly.
* plugin.c: Made the plugin_callback_struct pl_callbacks an extern, why
define it lots of times.. as it's initialised in gedit.c without an
extern.
* gE_prefs_box.c: (gE_window_refresh) I also found mdi->children for all
the mdi children (obviously). So by replacing the calls to the
gE_documents GList with mdi->children we can now change the text font
globally :)
1999-04-09 Alex Roberts <bse@gedit.pn.org>
* Mooooo! Plugins!!!! Hurrahh! Except the only plugin really working
is E-Mail, but that doesnt add or edit any docs.
* gE_document.c: (gE_window_new) Removed old code (which was
commented out).
Changed the GSlist lookup to not check `plugins' but `plugin_list'.
FIxed the hash table to use the GnomeApp arg.
Dropped the gE_window.
Added function wide statusbar.
* gE_mdi.h: Internationalisation stuff for the menus.
(gE_document_create_view) Brought back the hash table stuff for the
* gE_plugin_api.c: (add_plugin_to_menu) gnome_app_insert_menus replaced
with gnome_app_insert_menus_with_data, we should send the gE_data.
the plugin_register (...) call should send a mdi->active_window, not
data->window.
1999-04-08 (23:39) Alex Roberts <bse@gedit.pn.org>
* gE_mdi.c: Fixed the popup menu entries for the internationalisation
translation thingies..
1999-04-08 (15:05) Alex Roberts <bse@gedit.pn.org>
* menus.c: Instead of sending GE_DATA gpointers, send NULL. The
gE_data pointers dont do anything. THis was adding to our
original save problems.
* commands.c: Ok i fixed the Save As bugs. Ok, installed a
global pointer for each dialog (save and open). Now, instead
of packing them into a gE_data (which was borking up before)
we just reference these global dialogs...
(..) Removed masses of code in the file op's callbacks that was
making gE_data's.. we don't need them now.
(file_open_ok_sel) Made a static void, instead of a gint function.
(file_save_cb)
(file_saveas_ok_sel) Made a void, instead of a gint.
* gE_mdi.c: (gE_add_view) Set the changed_id of the view to the same
as the one in the original child. Now I just have to implement
keeping the views in sync with each other.
1999-04-07 (15:13) Alex Roberts <bse@gedit.pn.org>
* gE_files: Tidied up code. Removed old, commented out, cruft.
(gE_file_open) We only use the second method of opening a
file, why keep the first method!?
1999-04-07 (14:37) Alex Roberts <bse@gedit.pn.org>
* commands.c: (file_save_cb) Check whether the file has been
changed before saving.
1999-04-07 (14:12) Alex Roberts <bse@gedit.pn.org>
* gE_mdi.c: (gE_document_create_view) Removed the doc->changed
and doc->changed_id settings from this function. Should fix
some of the add_view problems.
(gE_document_init) Added the doc->changed_id signal
connection that was in gE_document_create_view.
* gE_mdi.c: Uncommented the view menu options. At least the
changed flags should be ok now.
1999-04-06 (15:57) Alex Roberts <bse@gedit.pn.org>
* main.h: Added GtkWidget *scrwindow member to the gE_document
struct.
* gE_mdi.c: Replaced table with a Scrolled Window for the text
entry area. Now we can resize and keep the scroll bar, also
means we don't have to add a vscrollbar ourselves, making the
code leaner and lighter.
* gE_document.c: (gE_document_set_split_screen) Re-Implemented
split-screen toggling. The Split-Screen mode is (kinda) back.
1999-04-06 (15:28) Alex Roberts <bse@gedit.pn.org>
* main.h: Added a gE_search member to the gE_document struct.
* gE_mdi.c: (gE_document_init) Initialise the gE_search member.
* search.c: Made all search functions use the gE_search member of
the current gE_document, instead of the current gE_window.
1999-04-06 (13:56) Alex Roberts <bse@gedit.pn.org>
* gE_prefs_box.c: Added MDI Page. We can now set the MDI mode and
keep it over sessions of gEdit.
* gE_prefs.c: Get/Save MDI mode settings.
* gE_prefslib.c: (gE_prefs_get_default) Added default setting for
MDI mode.
1999-04-04 (14:57) Alex Roberts <bse@gedit.pn.org>
* gE_files.c: Moved fcntl.h under the sys/types.h so it can compile on
OS/2/EMX (Thanks to Asbjoern Pettersen <ape@spacetec.no>).
1999-04-04 (13:59) Alex Roberts <bse@gedit.pn.org>
* README: Updated Mailing List and email address.
Upped version number to 0.5.2
* INSTALL
makeconfig.pl: Upped version numbers to 0.5.2
* gE_init.[ch]: Removed old, unused source files
1999-04-03 (15:57) Alex Roberts <bse@gedit.pn.org>
* commands.c: (child_switch) Fixed the function for GnomeMDI.. it now
sets the gEdit window title with the name of the doc as it did before
GnomeMDI was introduced - One problem, the titlebar flickers when you
change the child.
* gedit.c: (main) Don't send a window pointer to the child_changed signal,
no pointer at all is needed in fact.
* gE_mdi.c: Removed unneeded debug output.
1999-04-03 (15:30) Alex Roberts <bse@gedit.pn.org>
* gE_mdi.c: (gE_document_create_view) Removed the signal connections
that connect doc_insert_text_cb and doc_delete_text_cb.. It seems
they were for Undo/Redo, but i'm sure there are easier/better ways
to implement this. So there are no more Gtk-CRITCAL errors anymore!
1999-04-03 (14:47) Alex Roberts <bse@gedit.pn.org>
* gE_mdi.c: Commented out the view_menu.. the Add View and Remove
View functions are completely borked.. The implementation is
completely different to the way GHex implements it.. maybe Jaka
could have a look?
1999-04-03 (13:16) Alex Roberts <bse@gedit.pn.org>
* gedit.c: (main) Don't send a GE_DOCUMENT reference to add_view..
Otherwise we get a Gtk-WARNING on startup...
1999-04-03 (00:25) Alex Roberts <bse@gedit.pn.org>
* commands.[ch]: (auto_indent_cb) Added extra arg to the function, so
we dont set the int *pos to 0 by accedent.
1999-04-02 (23:53) Alex Roberts <bse@gedit.pn.org>
* gE_mdi.c: (gE_document_create_view) Reactivated the signal connection
for "insert_text"... now i just get Gtk-CRITICAL errors from
gtk_text_set_point.. maybe its not referencing the TextWidget
properly.. even tho the auto indent itself is working.. grr..
* commands.c: (auto_indent_cb) !data->window->auto_indent should be
!settings->auto_indent.. turning auto indent off should work now,
as soon as i get the rest of auto indent implemented
1999-04-02 (23:40) Alex Roberts <bse@gedit.pn.org>
* gE_mdi.c: (gE_add_view) This is pretty much a kludge. Just the same
as the old file_open_in_new_win_cb function (commands.c)..
1999-04-02 (23:22) Alex Roberts <bse@gedit.pn.org>
* commands.c: (gE_event_button_press) Put the debug output of this
function into an #ifdef..
1999-04-02 (23:07) Alex Roberts <bse@gedit.pn.org>
* gE_mdi.c: Added replacement to the context popup menu for the text
widget. Now in a Gnome Popup menu, with spiffy stock pixmaps :)
(gE_document_create_view) Attached the popup menu GnomeUIINFO to the
text widget.
* commands.c: (edit_cut_cb, edit_copy_cb, edit_paste_cb, edit_selall_cb)
Replaced gnome_app_error with gnome_app_flash.. how the hell did that
get there?! I must have been tired when I wrote that! ;)
1999-03-27 (20:18) Alex Roberts <bse@gedit.pn.org>
* commands.c (doc_insert_text_cb) removed some really annoying debug
message.
* gE_prefs_box.c: (gE_window_refresh) Re-implemented statusbar visibility
refreshing from the prefs box.
1999-03-20 (19:40) Alex Roberts <bse@dial.pipex.com>
* menus.c:
commands.[ch]: (window_new_cb): Use gnome_mdi_open_toplevel() to create a
new window. We now have the "Create new window" feature back! YAY!
* gE_mdi.[ch]:
gedit.c: (main) Added signal connections for add_view and add_child. They
dont do anything yet, and i'm not sure if they ever will.
1999-03-16 (20:46) Alex Roberts <bse@dial.pipex.com>
* gE_mdi.c: (gE_add_view) Duplicate the text from the child into the new
view. They don't simultaineously update tho.. Checking if the document has
changed is working again tho :)
1999-03-14 (23:46) Alex Roberts <bse@dial.pipex.com>
* gE_prefs.c: (get_settings)
gE_document.c: (gE_window_set_status_bar) Use current (mdi)active_window
to access the builtin GnomeApp statusbar member. Statusbar toggle is back!
yay! Window doesnt refresh tho, leaving a gap (until the window is resized
that is).. Ah well..
1999-03-14 (19:46) Alex Roberts <bse@dial.pipex.com>
* commands.c: (file_quit_cb) If user presses cancel on mdi_remove_all, then
we shouldn't close the app! And so, we don't.
1999-03-14 (19:01) Alex Roberts <bse@dial.pipex.com>
* main.h:
gE_document.c:
gE_files.c:
commands.[ch]: Converted all the respective recent document functions to
using GnomeApp pointers, instead of gE_window's. Recent Documents list
is back! Yay!
1999-03-14 (18:02) Alex Roberts <bse@dial.pipex.com>
* gE_document: (gE_document_set_read_only) Use gnome_mdi_child_set_name
instead of setting the old (now defunct) tab label.
Read Only documents are BACK! yay!
1999-03-14 (00:02) Alex Roberts <bse@dial.pipex.com>
* gedit.c: (main) Doh.. open the toplevel first, before makeing a new
document.. Now we don't get two windows open on startup (if we specify
a file to open, or just have a plain file on startup).. Yippee!
1999-03-13 (23:46) Alex Roberts <bse@dial.pipex.com>
* menus.c:
commands.[ch]: Document tab positioning is back.. Kinda.. If you change
the tab position, you need to make a new MDI window.
* gE_document.c: (gE_window_new) I've commented out the Recent_Document list
update call, until i get that fixed with MDI. This stops most of the
menus warnings on startup.
* gE_plugin_api.[ch]: (add_plugins_to_window) Send a "GnomeApp" to this
and the functions after this. This sort of fixes the startup menu
warnings (well.. atleast they're different ones now ;).
1999-03-13 (19:37) Alex Roberts <bse@dial.pipex.com>
* gE_mdi.c: (remove_doc_cb) Now we ask the user if they want to save the
document if it has been modified. Unfortunatly, if the doc is Untitled,
it won't ask for a filename, it'll just close the file... :(
1999-03-13 (16:12) Alex Roberts <bse@dial.pipex.com>
* commands.c: (doc_changed_cb) Get the name from the actual MDI Child, not
from the document's filename.
(file_open_ok_sel): Check if there is a current document, then check if
that document has been modified. If the doc has been modified, or if there
aren't any current documents, make a new one (w/ file).
1999-03-13 (15:46) Alex Roberts <bse@dial.pipex.com>
* menus.c:
gE_mdi.c: Moved Edit menu tree. It gets created when a new document
is made; along with the View tree. This looks a lot neater.
* makeconfig.pl: Taken out references to the old 'WITHOUT_GNOME' system
of pre-0.5.0. And removed the old Gtk+ cehcking, its all done by the
Gnome now. Much nicer.. yeah..
1999-03-13 (00:55) Alex Roberts <bse@dial.pipex.com>
* gE_document.c: Default window size (630,390) is BACK! yay!
* gedit.c: Took out the gE_document_current reference, we can now load files
from the command line again. Yippee!
1999-03-12 (19:09) Alex Roberts <bse@dial.pipex.com>
* gE_mdi.c: (gE_document_create_view) The document being created is now
built from the MDIChild specified in the function arguments. Instead of
a fresh new gE_document; Now the text widget is being created properly,
and file loading and saving now works again.. yay!
* gE_mdi.c: Added creation of View menu to menubar, only problem is that
the file doesnt get recreated properly when a new view is added; And a new
window seems to get created when the first new document is added (on
startup)...
1999-03-12 (18:25) Alex Roberts <bse@dial.pipex.com>
* toolbar.h:
gedit.c: The Toolbar has returned :]
1999-03-12 (18:00) Alex Roberts <bse@dial.pipex.com>
* gedit.c:
menus.c: Added Files menu, for use with MDI..
1999-03-11 Alex Roberts <bse@dial.pipex.com>
* I've been working on adding GnomeMDI to gEdit since the last entry.
* gE_mdi.[ch]: New files, containing the new gE_document class definition
to work with GnomeMDI. This is the main work towards the new GnomeMDI
stuff in gEdit. Work on this is based upon Ghex (and GTop)
* I've moved gE_document_new* and gE_document_current to gE_mdi.[ch].
* gedit.c: Converted to using GnomeMDI.. so we initialise the MDI system
here. Also includes the signals for new documents, chaning views, etc.
* There's more.. but basically just MDI stuff..
1999-03-10 Tomislav Vujec <tvujec@carnet.hr>
* aclocal-include.m4 (AM_ACLOCAL_INCLUDE): Add ACLOCAL_FLAGS in
ACLOCAL. This allows maintainer rules to work if any of the macros
change.
1999-03-10 Tomislav Vujec <tvujec@carnet.hr>
* gnome.m4 (GNOME_INIT_HOOK): Wrapped position parameter in
testing for additional inits. It gets expanded while generating
configure, resulting in an empty parameter list - syntax error in
for statement.
1999-03-09 Raja R Harinath <harinath@cs.umn.edu>
* gnome.m4 (GNOME_INIT): Add a new paramater, which is passed to
GNOME_INIT_HOOK.
(GNOME_INIT_HOOK): New parameter "additional inits". This is a
list like "applets capplet", and the corresponding
GNOME_APPLETS_LIBS and GNOME_CAPPLETS_LIBS are defined.
1998-03-01 Mark Crichton <crichton@gimp.org>
* gnome-objc-checks : Added HAVE_GNOME_OBJC conditional
1999-02-27 (22:19) Alex Roberts <bse@dial.pipex.com>
* README*:
INSTALL:
makeconfig.pl: Upped version to 0.5.1
1999-02-27 (15:49) Alex Roberts <bse@dial.pipex.com>
* Eek.. so much i have done.. Here's a summary:
* gE_prefs_box.c: Implemented 'No Plugins' toggle button, this erases
all plugins from the "Plugins" menu, and sets a config flag for
using plugins to -1 and the Clist is deactived.
When the toggle button is activated the linked
list of plugins is reset and reloaded; The config flag is then set to
1 and the Clist becomes active once again.
When a plugin is added, the list of plugins is saved (incase gEdit is
nuked).
The toggle button isn't attached to the Apply preferences button, as
weird stuff happens to the list and more plugins are added!
* plugin.c: Checks for the -1 flag, if it IS -1 then the list of plugins
is loaded, but no plugins are actually initialised and so the "Plugins"
menu doesn't get populated.
Commented out some g_free()'s, seems the variables partly and
partly->buff arent being malloc'ed properly, and so causing gEdit to
segfault!
* gE_about.c: Commented out the "#ifdef ENABLE_NLS", it seems to make
gEdit stop responding and not display the About box.
1999-02-27 (12:22) Alex Roberts <bse@dial.pipex.com>
* commands.c: gtk_editable_cut_clipboard doesnt need GTK_CURRENT_TIME
(or whatever it's called) anymore, since 1.2 (it seems)..
1999-02-21 Michael Fulbright <drmike@redhat.com>
* made spec file generated and tweaks slightly
1999-02-18 (19:46) Alex Roberts <bse@dial.pipex.com>
* Makefile.am: gedit.desktop goes into
$(datadir)/gnome/Applications now...
1999-02-13 (01:49) Alex Roberts <bse@dial.pipex.com>
* plugin.c: Figured why custom plugins weren't working properly..
plugin_query() was being called, which called
custom_plugin_new_with_query and had PLUGINDIR as the path..
plugin_query now calls that custom_plugin function with "" as the
path, and when a plugin is added the full path is included in the
plugin_name.. not just the file name..
It fully works now.. been getting annoyed with this for the past
fortnight! Argh!
1999-02-05 Alex Roberts <bse@dial.pipex.com>
* plugin.[ch]: Added custom_* for plugins in places other
than $PLUGINDIR..
* plugin.[ch]: plugin_load_list() and plugin_save_list()... new functions.
They load and save the list of plugins currently in use into the
Editor_Plugins Gnome config file.. if there is no list, the default
plugins are loaded (from $PLUGINDIR)..
* plugin.h: Added plugin_list_data and plugin_list as Linked Lists
for the plugins running, and their locations..
* plugin.h: (extern plugin_callback_struct pl_callbacks): Added
as a global setup of plugins callbacks (setup in gedit.c,
s/callbacks/pl_callbacks)... Whenever a new plugin is loaded,
pl_callbacks must be referenced; or new sets of callbacks could
be setup in the application.
* gE_prefs_box.c: Added Plugins section.. with a CList holding all the
plugins loaded (via the Linked List setup above, from the custom_*
functions in plugin.[ch])..
Adding a plugin calls custom_plugin_query(..) which adds the plugin
to the menu and adds it to the List of plugins..
* All this code i have added, _should_ work in GO and GWP, as long as
they use the same kind of plugin.[ch] interface...
1999-02-04 Chris Lahey <clahey@umich.edu>
* gedit.spec: Got this working.
1999-02-04 Chris Lahey <clahey@umich.edu>
* makeconfig.pl: Removed some plugins that weren't compiling
properly.
* gedit.spec: Bumped the version number.
1999-02-04 Alex Roberts <bse@dial.pipex.com>
* README:
src/gE_about.c: Ok, i was bored.. added 1999 to the 1998 already there
(btw, today is my birthday.. i'm 16 now ;)
1999-02-03 Evan Lawrence <evan@worldpath.net>
* src/gE_prefs.c:
src/gE_prefs_box.c: Fixed the statusbar toggle - it wouldn't come
back on once you turned it off, exited, and came back in.
1999-02-03 Alex Roberts <bse@dial.pipex.com>
* README:
README.plugins:
makeconfig.pl:
INSTALL: Upped version numbers to 0.5.0.. Yup, we're almost there..
1999-02-03 Alex Roberts <bse@dial.pipex.com>
* src/search.c:
src/gE_prefs.c:
src/gE_document.h:
src/gE_prefs_box.c:
src/gE_files.c:
src/gE_plugin.h:
src/gE_plugin_api.c:
src/gE_about.c:
src/dialog.[ch]:
src/toolbar.h: Purged Gtk-only code, and removed references to
'#ifdef GTK_HAVE_FEATURES_1_1_0' (as we are going Gnome, and Gnome
requires Gtk+ 1.1.x)..
(I left #ifdef WITHOUT_GNOME in gE_plugin_api.c (the menus part), for
future menu references, it could be useful in the futre)
* gE_about.c: Added a 'Special Thanks To' to the About Box.. Gtk-Only
had it, why shouldn't Gnome-only?
* main.h:
gE_about.c: Use VERSION defined in config.h
* TODO:
KNOWNBUGS: Updated it
* FAQ: Added.. (Add Q/A's when they are asked/answered :)
* Makefile.am: Added FAQ
* makeconfig.pl: Version is 0.4.9!
1999-02-03 Chris Lahey <clahey@umich.edu>
* autogen.sh: Changed it to look for makeconfig.pl instead of
configure.in.
1999-02-02 Chris Lahey <clahey@umich.edu>
* editor-plugins: A copy of the plugins directly from go. This
updates automatically.
* gmodule-plugins: plugins is renamed gmodule-plugins.
* plugins: Directory renamed gmodule-plugins.
* .cvsignore: Added configure.in.
* configure.in, makeconfig.pl: configure.in is now generate by
makeconfig.pl. So configure.in is removed and makeconfig.pl is
added.
* autogen.sh: Now calls makeconfig.pl and
editor-plugins/plugins.pl.
* Makefile.am: Switched from just plugins to editor-plugins and
gmodule-plugins.
1999-01-30 Evan Lawrence <evan@worldpath.net>
* src/commands.[ch]:
* src/gE_document.[ch]:
* src/gE_prefs.c:
* src/gedit.c: Added the ability to drag files from gmc (or any other
gnome filemanager that drag and drops) into a gEdit window, and have
it open the dragged files, thanks to a tip from Miguel.
1999-01-27 Evan Lawrence <evan@worldpath.net>
* src/Makefile.am:
src/commands.[ch]:
src/gE_document.[ch]:
src/gE_plugin.h:
src/gE_plugin_api.c:
src/gE_prefs_box.c:
src/gE_prefslib.c:
src/gedit.c:
src/main.h:
src/menus.c:
src/plugin.[ch]: Lots and lots of code cleanup. Mostly just removing
left over gtk-only code, but I also removed the scrollball (since it
doesn't really work in a one-dimension environment. Please email me if
any problems pop-up after this commit.
* TODO: Updated it.
1999-01-20 Nat Friedman <nat@nat.org>
* src/gE_prefs_box.c (gE_prefs_dialog): Connected the help signal
of the GnomePropertyBox to gnome_help_pbox_display.
1999-01-17 Alex Roberts <bse@dial.pipex.com>
* src/menus.c: Added "Find Line..." to Edit menu.. Hope Nat doesn't
mind this addition (having to use it via usual Find is annoying)..
1999-01-17 Evan Lawrence <evan@worldpath.net>
* src/gE_document.c: Fixed it so you can now turn the statusbar on
and off.
* src/menus.c:
src/toolbar.c: Completely removed all the non-gnome cruft.
1999-01-17 Chris Lahey <clahey@umich.edu>
* src/plugin.c (process_next): Fixed an error where "Plugins" had
been replaced with "_Plugins".
1999-01-17 Evan Lawrence <evan@worldpath.net>
* Makefile.am: Removed msgbox.c and msgbox.h from it.
1999-01-17 Evan Lawrence <evan@worldpath.net>
* commands.c:
gE_document.c:
gE_files.c:
gE_init.c:
gE_prefs.c:
gedit.c:
menus.c:
toolbar.c: Removed all references to the messagebox, as it's
completely useless.
1999-01-12 Alex Roberts <bse@dial.pipex.com>
* Upped version numbers to 0.4.9, in respect to the current Official
release..
1999-01-09 Evan Lawrence <evan@worldpath.net>
* src/commands.c:
src/gE_document.c: Fixed some conflicts between the autoindent cb
and the split-screen cb.
* src/toolbar.c:
src/menus.c:
src/gE_prefs.c: Switched the gnome toolbars to use GnomeUIInfo
instead of gnome_app_set_toolbar...
1999-01-09 Evan Lawrence <evan@worldpath.net>
* src/gE_document.c: The text widget grabs the focus when a new window
is created now.
1999-01-09 Evan Lawrence <evan@worldpath.net>
* src/commands.[ch]:
src/gE_document.c: Switched the auto_indent callback to connect to
the insert_text signal instead of key_press_event - problems with
the notebook intercepting the signal vs. the keyboard accelerator's
not working should be fixed.
1999-01-08 Nat Friedman <nat@nat.org>
* src/menus.c: Added accelerators to the toggles.
1999-01-08 Nat Friedman <nat@nat.org>
* src/toolbar.c (tb_text_toggle_cb): New function for the new menu
toggle.
(tb_pix_toggle_cb): Likewise.
(tb_tooltips_toggle_cb): Likewise.
(tb_relief_toggle_cb): Likewise.
* src/menus.c: Add the search items to the Edit menu.
Made "Show tabs" into a toggle item.
(gE_set_menu_toggle_states): New function.
Added hints to the tab menu.
Changed all the items in the Settings menu to toggle items. Moved
the Settings menu.
* src/gE_document.c (gE_window_new): Call
gE_set_menu_toggle_states after we have got the settings.
* src/menus.c: Removed the search menu.
(add_callback_data): Change GE_DATA and GE_WINDOW for toggleitems
too.
1999-01-07 Nat Friedman <nat@nat.org>
* src/commands.c: Changed the signatures of the
file_saveas_destroy, file_cancel_sel, file_sel_destroy,
file_open_ok_sel, file_saveas_ok_sel, file_cancel_sel,
file_sel_destroy, and file_saveas_destroy event handlers.
1999-01-07 Nat Friedman <nat@nat.org>
* src/menus.c: Use the SETTINGS menu instead of OPTIONS. Moved
Preference to SETTINGS, as dictated by the standard change.
1999-01-07 Nat Friedman <nat@nat.org>
* src/menus.c (gE_menus_init): Return a pointer to the menus.
* src/menus.h: Make gE_menus_init return a GnomeUIInfo *
* src/gE_document.c: #include "ge_prefs_box.h"
(gE_window_new): Install the menu hints.
* src/gE_prefs_box.h (gE_window_refresh): Added prototype to fix
warning.
1999-01-07 Nat Friedman <nat@nat.org>
* src/menus.c: Removed a spurious separator. Moved Preferences to
the File menu where it belongs. Use the
GNOMEUIINFO_MENU_ABOUT_ITEM macro.
1999-01-07 Evan Lawrence <evan@worldpath.net>
* src/gE_document.c: Switched it to use a gnome_appbar.
1999-01-07 Nat Friedman <nat@nat.org>
* src/menus.c: Rearrange the separators to match the standard.
1999-01-06 Evan Lawrence <evan@worldpath.net>
* src/commands.[ch]:
src/gE_document.c: Fixes to the return value of event handlers -
specifically, this fixes not having keyboard shortcuts in the gnome
version.
1999-01-07 Nat Friedman <nat@nat.org>
* src/menus.c: Pass three arguments to GNOMEUIINFO_MENU_NEW_ITEM,
and use the new PRINT_ITEM.
1999-01-06 Nat Friedman <nat@nat.org>
* src/menus.c: Ok, now use the new gnome-app-helpers.h
GNOMEUIINFO_MENU_ITEM macros instead.
1999-01-06 Nat Friedman <nat@nat.org>
* src/menus.c: Use the gnome-uidefs.h macros. Added hotkey for
Save As.
1999-01-06 Nat Friedman <nat@nat.org>
* src/menus.c: Added menu accelerators to the File/ menu.
1999-01-05 Nat Friedman <nat@nat.org>
* src/gE_document.c (gE_msgbar_clear): Return FALSE instead of
destroying the timeout from within its own callback.
* src/gE_document.h: Change the return type of gE_msgbar_clear to
gboolean.
1998-12-30 Evan Lawrence <evan@worldpath.net>
* src/gE_prefslib.c: Copy temporary file, instead of renaming, to
~/.gedit...
1998-12-27 Alex Roberts <bse@dial.pipex.com>
* Release 0.4.8
1998-12-21 Alex Roberts <bse@dial.pipex.com>
* src/commands.c: Recent Documents wasnt calling the File menu as
_File.. all fixed now.. no more menu warnings.. it still segfaults for
me... argh...
1998-12-21 Alex Roberts <bse@dial.pipex.com>
* src/gE_plugin_api.c: (add_plugin_to_menu) "Plugins" -> "_Plugins"..
no more Menu warnings... seems more stable now.. hrmm....
1998-12-19 Ville Ptsi <drc@zoo-gate.fi>
* Added gnome-gedit.png
* Makefile.am added icon.
1998-12-17 Alex Roberts <bse@dial.pipex.com>
* src/gE_prefs_box.c: Made the Gtk-Only dialog a more suitable size...
* gedit.spec: Updated URL to current one.. ml.org is shutdown, no idea
how long home.ml.org will be up now...
1998-12-16 Evan Lawrence <evan@worldpath.net>
* src/gedit.c: Ditched all the signal handling crap.
1998-12-16 Evan Lawrence <evan@worldpath.net>
* xpm/tb*.xpm: Reduced all the toolbar xpms to 8 colors
apiece, to reduce the load time.
* src/toolbar.c: Further cleanups to the toolbar code, getting
it to resize properly, etc.
* src/gE_prefslib.c: Fixed one or two bugs in it. I forget
what they were ATM :)
* src/gE_prefs_box.c: Fixed it so the OK button works properly in
the GTK-only version now.
* THANKS: Added Christopher (raistlinn) to it, for his help
yesterday.
* gedit.spec: Updated this for 0.4.8.
* src/gE_document.c: Bug fixes so the prefernces load properly in
the gnome version now. Also fixed some resize problems that were
bugging me in the gtk-only version.
* src/commands.c: Another bug fix, this time to keep the recent
documents from overwriting Exit... This was a bug I introduced in one
of my recent commits.
1998-12-15 Alex Roberts <bse@dial.pipex.com>
* gedit.keys: new file, for mime stuff...
1998-12-13 Evan Lawrence <evan@worldpath.net>
* src/commands.c:
src/gE_document.c:
src/gE_files.c:
src/gE_prefslib.c
src/gedit.c:
src/search.c: Fixed mem leaks, free mem reads, etc that yosh
found with purify. Thanks man! :) There are still some mem leaks
in plugin.c, and gE_plugin_api.c that Chris and I, respectively,
need to fix. If people could test the changes out to verify
I didn't break anything, that would be great.
Sat Dec 12 21:08:14 PST 1998 Manish Singh <yosh@gimp.org>
* src/plugin.c: correct off-by-one error in argv[0] allocation
1998-12-12 Evan Lawrence <evan@worldpath.net>
* src/commands.c: Fixed bug wherein the first window would be hidden
when you tried to close the second one.
* src/menus.c: Changed File->Quit to File->Exit to be SG compliant.
* KNOWNBUGS: Updated it to reflect recent changes.
1998-12-11 Evan Lawrence <evan@worldpath.net>
* src/commands.c:
src/search.c:
src/gE_print.c: Fixed up some dialogs to use gnome_dialog if gnome
is being used.
* src/gE_prefs_box.c: Fixed it so changes to the font take effect on
*all* documents in the current window, not just the current document.
* src/msgbox.c: Fixed it up to use normal text widget routines to truncate
the msgbox, and not do weird internal crap. Speaking of which, we should
probably phase out the msgbox RSN, since it doesn't seem to have much of
a purpose.
1998-12-10 Evan Lawrence <evan@worldpath.net>
* src/search.c:
src/search.h:
src/gE_document.c: Added the function count_lines_cb, and
changed it so the line button on the status bar calls it instead
of goto_line_cb. count_lines_cb displays the number of lines in
the current document, and the current line number the cursor
is on.
* src/menus.c: Added "Search for Line..." to the Search menu, and
added the _'s to main items on the menu bar to allow for keyboard
navigation. _This will probably break some internationalization_
1998-12-07 Evan Lawrence <evan@worldpath.net>
* src/gE_files.c:
src/commands.c: Fixed some more stuff with the titlebar..
* src/gE_document.c: Removed the Line indicator label, since it
doesn't display the correct line number.
* src/gE_about.c: Fixed the gnome version.
* src/gE_plugin.h:
src/gE_plugin_api.c: Mostly caught up to Chris's additions to
the plugins api - set_selected_text, get_selected_text,
get_point, etc... This means that Test Selection works now :)
* README: Did some editting on it - changed the stuff that was
innaccurate or didn't make sense..
1998-12-05 Alex Roberts <bse@dial.pipex.com>
* src/commands.c: Tried to remove the weird code that makes the gEdit
window hide when you Quit and there are modified files, it was very
disorientating.. to me at least... still something wrong with it
though (the window moves if you click cancel)...
1998-12-05 Alex Roberts <bse@dial.pipex.com>
* plugins/browse: new, Web Browser, plugin; using Lynx...
1998-11-29 Alex Roberts <bse@dial.pipex.com>
* src/main.h:
src/gE_document.c:
src/gE_prefslib.c:
src/gE_prefs.c:
src/gE_prefs_box.c: Implemented Scrollball and Split-Screen in the
preferences dialog... Split Screen can now be properly turned on and
off, unlike in previous times...
1998-11-27 Evan Lawrence <evan@worldpath.net>
* src/gE_document.c: Fixed it so the titlebar displays
the filename, then GEDIT_ID, not the other way around.
* src/commands.c: Added accelerators for keyboard navigation
to the Recent Documents list in the File menu.
* src/toolbar.c: Some minor tweaks to the relieved toolbars in the
GTK-only version.
* src/gE_prefs_box.c: Added frames and other such niceties to make
the dialog look a little more appealing.
* src/search.c: Fixed some bugs that have been bugging me - it no
longer erases the previous search string unless you've actually
switched to another mode (text vs. line), and, when Searching
(not Search and Replacing) it will act as though you clicked OK
when you press enter.
* src/main.h: Added another #define for WITHOUT_GNOME to do with
internationalization.
* xpm/tb_prefs.xpm: Fixed it so it's transparent.
Thu Nov 26 19:30:08 EST 1998 Gregory McLean <gregm@comstar.net>
* src/gE_files.c : clist updates to bring into sync with gtk 1.1.5
1998-11-19 Evan Lawrence <evan@worldpath.net>
* src/gE_prefslib.c: More fixes to the prefs system - it
seems to be working correctly now...
1998-11-18 Evan Lawrence <evan@worldpath.net>
* src/menus.c: Ditched the foot menu - it's a great
UI idea, but it needs to be done properly in gnome-app,
and is just confusing people ATM
* src/gE_prefslib.c: Fixed some things that had broken
GTK-only prefs - it's still not perfect, but sorta kinda
works now. Let me know specifics on what's wrong with it,
if you can find any.
1998-11-15 Alex Roberts <bse@dial.pipex.com>
* src/gE_prefs_box.c: Prefrerences now work in non-Gnome
(it's taken me over 3 hours to get this damn thing to work!)..
1998-11-08 Chris Lahey <clahey@umich.edu>
* src/gedit.c (main): Switched to popt.
1998-10-31 Alex Roberts <bse@dial.pipex.com>
* Tidied up Make warnings... Clean build on all ports..
1998-10-29 Alex Roberts <bse@dial.pipex.com>
* Upped version numbers to 0.4.8 (in anticipation of next release)
1998-10-29 Alex Roberts <bse@dial.pipex.com>
* gE_document.c: When you change document, titlebar changes with the
filename...
1998-10-28 Alex Roberts <bse@dial.pipex.com>
* toolbar.c: Added Quit button...
1998-10-27 Alex Roberts <bse@dial.pipex.com>
* commands.c: (doc_changed_cb): Sets a visible reminder the file has
been modified (At last! I've really been meaning to do this ;)...
1998-10-25 Alex Roberts <bse@dial.pipex.com>
* gE_document.c: (gE_document_set_read_only): Changes File label to
show a visible reminder that the file open is Read-Only or not..
(**FIX-ME** This is kinda broke on Untitled files ;)...
1998-10-25 Alex Roberts <bse@dial.pipex.com>
* Fixed 'gEdit unable to compile with Gtk+ 1.0.x' bug.. Modified LOTS
of files.. mostly putting in '#ifdef GTK_HAVE_FEATURES_1_1_0' -
Please remember people.. If you add any Gtk+ 1.1.x ONLY things,
please put in #ifdef GTK_HAVE_FEATURES_1_1_0, some people only run
Gtk+ 1.0.x, and dont want the hastle of using Gtk+ 1.1.x (and having
Gimp broken ;)...
1998-10-24 Alex Roberts <bse@dial.pipex.com>
- Bah... lets remember...
* toolbar.c: (gE_create_toolbar): Checks preferences file for haveing
toolbar buttons reliefed... if TRUE, sets RELIEF, if FALSE, does
nothing..
* toolbar.[ch]: tb_relief_on/tb_relief_off : new callbacks for menu
* menus.c: Added tb_relief_on/off to Toolbar menu...
- (Relief only works with Gtk+ 1.1.x)
1998-10-23 Martin Baulig <martin@home-of-linux.org>
* src/gE_plugin.c (load_library): Call g_module_make_resistent ().
* src/gE_plugin.h (GE_PLUGIN_LOG_DOMAIN): Define to `gEdit-Plugin'.
If included from a plugin, set G_LOG_DOMAIN to GE_PLUGIN_LOG_DOMAIN
and include <gnome.h> after that.
* src/geditrc: New file.
* src/msgbox.c (msgbox_create): Change widget name and call
gtk_widget_ensure_style () to load a style from the geditrc.
* src/msgbox.c (log_handler): New static function.
(msgbox_create): Call g_log_set_handler () to let non-fatal messages
go to the message box.
1998-10-23 Martin Baulig <martin@home-of-linux.org>
* src/gE_plugin.h (gE_Plugin_StartFunc): New function typedef.
(gE_Plugin): Added `start_func'. This is called to create a new
instance of a plugin while the `init_func' is only called once
when the plugin is loaded.
* src/gE_plugin.c (gE_Plugin_Load): If the plugin is already loaded,
call it's `start_func'. When first loading the plugin, we only call
the `init_func' which is responsible for calling the `start_func'.
* src/gE_plugin_api.c (gE_plugin_create_widget): Added GtkWidget **
parameter to store the GtkContainer and return the docid.
(gE_plugin_document_close): Fixed a bug to make this function
actually work.
1998-10-22 Martin Baulig <martin@home-of-linux.org>
* configure.in (HAVE_LIBZVT): New automake conditional. This checks
for libzvt from gnome-libs/zvt.
* README.plugins: Added short notice about my new Shell plugin.
1998-10-22 Martin Baulig <martin@home-of-linux.org>
Plugins can now use the new gE_plugin_create_widget () function
to create a document not having a GtkText but a GtkContainer widget
so they can add an arbitrary child to it.
* src/main.h (gE_document): Added `viewport', `split_viewport' and
`split_parent'.
* src/gE_document.c (gE_document_new): Set `doc->split_parent'.
(gE_document_set_split_screen): Use `doc->split_parent', if this
is NULL then we don't have a split screen.
* command.c (options_toggle_split_screen_cb): Likewise.
* src/gE_document.c (gE_document_new_container): New function.
Since larger parts of gEdit rely upon the fact that `doc->text' and
`doc->split_screen' are GtkText widgets, we need to create them here;
we just add a newly created GtkViewport to the GtkTable instead of
the GtkTexts ...
* src/gE_plugin_api.c (gE_plugin_create_widget): This is a wrapper
function for gE_document_new_container () that should be used in
plugins.
* src/gE_plugin.h (gE_plugin_create_widget): Added prototype.
1998-10-22 Alex Roberts <bse@dial.pipex.com>
* Makefile.am: Few file additions so the RPM would build...
* gedit.spec: New File...
1998-10-18 Martin Baulig <martin@home-of-linux.org>
* src/gE_plugin_api.h: Move prototypes of all functions that
gmodule plugins may use into gE_plugin.h and include this file here.
* src/gE_plugin.h: To avoid problems with plugins accessing internal
structures of gEdit, declare prototypes of "public" functions they
can use here. Plugins should not use any function not declared in
this file or in any file included from this file.
* src/gE_plugin.c (gE_plugin_get_widget): New function. Returns
the GtkText widget of the document.
1998-10-18 Martin Baulig <martin@home-of-linux.org>
Added option to toggle line wrapping in the Text Widget.
* src/main.h (gE_document): Added `line_wrap'.
* src/gE_document.c (gE_document_set_line_wrap): New function.
* src/gE_plugin_api.h (gE_plugin_set_line_wrap): New function.
1998-10-15 Alex Roberts <bse@dial.pipex.com>
* gE_prefs.c:
* gE_prefslib.c:
* gE_document.c: (Various Functions): Default preferences, now work..
* gE_prefs_box.c: Removed old Debug code (inserted #ifdef DEBUG's)...
1998-10-14 Martin Baulig <martin@home-of-linux.org>
* src/gE_plugin.h (gE_Plugin_Object): Removed `config_prefix', this
is now identically with `config_path'.
1998-10-14 Martin Baulig <martin@home-of-linux.org>
Added some basic CORBA stuff. CORBA is only used in plugins, but
we need to initialize it in the main program.
* configure.in (--enable-orbit): New parameter to link with ORBit.
If found, check for LibGnorba and define two (HAVE_OBIT) and
(HAVE_LIBGNORBA) automake conditionals. Also AC_DEFINE(HAVE_ORBIT)
and AC_DEFINE(HAVE_LIBGNORBA) if ORBit/LibGnorba is found.
Only check for this if the GModule Plugins are enabled.
* src/Makefile.am (CPPFLAGS): Define `_IN_GEDIT'.
(gedit_LDADD): Link with ORBit and LibGnorba if they're found.
* src/gE_plugin.c (gE_Plugin_Load): Pass the edit context to
the plugin so that it can use the old plugin API as well.
* src/gE_plugin.h: If we are not _IN_GEDIT, add `extern' declarations
for the CORBA variables `global_orb', `root_poa', `root_poa_manager',
`global_ev' and `name_service' and a prototype for `corba_exception'.
The following stuff is `#ifdef HAVE_LIBGNORBA':
* src/gedit.c (corba_exception): New function which is used for
CORBA error handling.
(global_orb, root_poa, root_poa_manager, global_ev, name_service):
New global variables which can be used in CORBA-aware plugins.
(main): Initialize CORBA here.
1998-10-14 Alex Roberts <bse@dial.pipex.com>
* toolbar.c: Added shortcut to Preferences, new Toolbar button, Prefs..
* xpm/tb_prefs.xpm: New File.. 'Borrowed' from Gnome Stock..
* gE_prefs_box.c: Removed Font 'restart gEdit' label...
* gE_prefs_box.c: (gE_prefs_dialog): Hmm, put get_prefs(data);
back in...
* gE_prefs_box.c: (gE_window_refresh): Modified, so that it sets the
font of the current document to the font set in the Preferences,
using this Function means it should also change the font in non-Gnome
versions of gEdit, this doesn't change the font of ALL the docs open...
* gE_document.c: (gE_document_new): Removed all 'rc' stuff, and
added some style->font stuff, so it checks what the (gchar *)w->font
is, and sets the document font to that (w->font is set in the
Preferences dialog), if that value is NULL it sets to a default font
of 12pt Courier (and also sets w->font to that)...
* TODO: Some slight modifications, and i checked off the 'Immediate
Font Changes'
1998-10-14 Martin Baulig <martin@home-of-linux.org>
Added GModule Plugins which are dynamically loaded into the
running GEdit process. This has the advantage that the plugin
can access Gtk and Gnome structures like widgets directly and
we don't need to implement a rather complex interface.
Look at plugins/gmodule_plugin_howto for details about this
plugin interface.
* configure.in (--with-gmodule-plugins): New parameter to
enable the new GModule Plugins. Disabled by default. If
enabled, AC_DEFINE(WITH_GMODULE_PLUGINS).
(WITH_GMODULE_PLUGINS): New automake conditional.
Changes to existing code:
* gE_plugin_api.c (start_plugin): Call gE_Plugin_Load () for
plugins of type PLUGIN_GMODULE.
* plugin.h (PluginType): Added `PLUGIN_GMODULE'.
(plugin_info): Added `user_data' which is a gpointer.
* gedit.c (prog_init, main): Call gE_Plugin_Query_All ().
Newly added files:
* gE_plugin.h: This is installed in `$(includedir)/gedit' and is
included both in GEdit and the plugins.
(gE_Plugin_Info): New struct typedef.
(gE_Plugin_Object): New struct typedef.
* gE_plugin.c (gE_Plugin_Query_All): This is used to read all plugin
description files and add the plugins to the Plugins menu.
(gE_Plugin_Query): Query a single plugin and call gE_Plugin_Register
on it, but do not load it into memory.
(gE_Plugin_Register): This sets up a plugin_info structure for the
plugin ans calls gE_plugin_program_register () so it will be added
to the Plugins menu.
(gE_Plugin_Load): Actually read a plugin into memory and call its
init function.
1998-10-13 Martin Baulig <martin@home-of-linux.org>
* src/plugin.h (plugin_document_callbacks): Added
`set_auto_indent', `set_status_bar', `set_word_wrap',
`set_read_only', `set_split_screen' and `set_scroll_ball'.
* src/gE_plugin_api.c: Added new functions
`gE_plugin_set_auto_indent', `gE_plugin_set_status_bar',
`gE_plugin_set_word_wrap', `gE_plugin_set_read_only',
`gE_plugin_set_split_screen' and `gE_plugin_set_scroll_ball'.
1998-10-13 Martin Baulig <martin@home-of-linux.org>
* src/gE_document.c (gE_window_set_auto_indent): New function taking
a gE_document * and a gint indicating whether to enable auto indent.
* src/command.c (auto_indent_toggle_cb): Call the new
`gE_window_set_auto_indent' function.
Moved callback functions from the `Options' menu into command.c
and called them `options_toggle_*_cb'. They call `gE_document_set_*'
functions in gE_document.c which provide the functionality the
callbacks formerly had.
This means we can more easily use the functionality of the menu
callbacks to turn things on and off.
* src/gE_document.c (gE_window_toggle_statusbar): Moved functionality
of this function into new `gE_window_set_status_bar'.
(gE_window_set_status_bar): New function taking a gE_window * and
a gint indicating whether to show or to hide the statusbar.
(gE_document_toggle_wordwrap): Moved functionality of this function
into new `gE_document_set_word_wrap'.
(gE_document_set_word_wrap): New function taking a gE_document * and
a gint indicating whether to turn word wrap on or off.
(gE_document_set_readonly): Renamed to `gE_document_set_read_only'.
(gE_document_set_read_only): Renamed from `gE_document_set_readonly'.
(gE_document_toggle_readonly): Moved to command.c and renamed to
`options_toggle_read_only'.
(gE_document_toggle_scrollball): Moved functionality of this function
into new `gE_document_set_scroll_ball'.
(gE_document_set_scroll_ball): New function taking a gE_document *
and a gint indicating whether to show or to hide the scrollball.
(gE_document_set_split_screen): New function taking a gE_document *
and a gint indicating whether to enable or disable the split screen.
* src/command.c (options_toggle_split_screen): Renamed to
`options_toggle_split_screen_cb'.
(options_toggle_split_screen_cb): Renamed from
`options_toggle_split_screen'.
(options_toggle_scroll_ball_cb): New callback function calling
`gE_document_set_scroll_ball'.
(options_toggle_word_wrap_cb): New callback function calling
`gE_document_set_word_wrap'.
(options_toggle_status_bar_cb): New callback function calling
`gE_document_set_status_bar'.
* src/menus.c: Call the new `options_toggle_*_cb' functions in
command.c rather than using the `gE_document_*' ones directly.
1998-10-13 Martin Baulig <martin@home-of-linux.org>
* src/main.h (gE_document): Added `read_only' flag.
* src/gE_document.c (gE_document_set_readonly): New function.
This is the user-level function to make a document readonly; it
keeps track of the splitscreen.
(gE_document_toggle_readonly): New function. This is used in the
menu callbacks and calls gE_document_set_readonly ().
(gE_document_new): Initialize the `read_only' flag to FALSE.
* src/gE_files.c (gE_file_open): Use access () to check whether you
have write permission to the file and make the document readonly
if not.
* src/menus.c: Added new `Options/Toggle Readonly' menu item.
1998-10-13 Martin Baulig <martin@home-of-linux.org>
* src/gE_plugin_api.c (start_plugin): Don't set
`callbacks.document.open' and `callbacks.document.close'
to NULL.
1998-10-09 Alex Roberts <bse@dial.pipex.com>
* src/gE_prefs_box.c: Whee! The preferences box actually opens again
in Gnome version (it does open in non-Gnome right?)
1998-10-03 Chris Lahey <clahey@jennifer.reshall.umich.edu>
* src/gE_plugin_api.c: Added functionality for insert.
* src/plugin.c, src/plugin.h: Rewrote plugin.c to not use
threads and still be robust and expandable.
1998-09-23 Chris Lahey <clahey@umich.edu>
* src/plugin.c (plugin_parse): Set up plugin_parse to better
handle plugin crashes. Fixed an overwrite bug that probably
wouldn't have manifested but deserved to be fixed.
* src/gedit.c: Added some bizarre includes to get rid of some
warnings. Called gdk_threads_leave after gtk_main returned, but
it probably doesn't matter.
1998-09-23 Chris Lahey <clahey@umich.edu>
* src/plugin.c (plugin_parse): Fixed an overwrite bug.
* README.plugins (Encrypt): Fixed a typo.
1998-09-22 Chris Lahey <clahey@umich.edu>
* configure.in: Added plugins/client/Makefile and
plugins/testselect/Makefile.
1998-09-22 Chris Lahey <clahey@umich.edu>
* src/plugin.c, src/plugin.h: Copied from go. Big changes. Threaded now.
* src/gedit.c (setup_callbacks): Added setup_callbacks to put all
callback initialization in one place.
: Used the new function everywhere.
(main): Added thread initialization code.
* src/gE_plugin_api.c (gE_plugin_program_register): Initialized
suggested_accelerator to NULL just to make sure that nothing goes
wrong.
* src/commands.c: Changed include orders to get it to compile.
1998-09-21 Alex Roberts <bse@dial.pipex.com>
* msgbox.c: Fixed sigsegv... something wrong with:
gtk_adjustment_set_value(GTK_ADJUSTMENT(text->vadj), value);
Does anyone actually use the MessageBox?!
* Fixed so anyone using gtk+ >1.0.5 will pass the configure script
(but it won't fully compile, someone has left all glib 1.1.x stuff in
which is incompatible with 1.0.x!! ack...)
1998-09-17 Alex Roberts <bse@dial.pipex.com>
* gE_prefs_box.c: Hurrah! The prefs dialog box displays in non-Gnome,
now to actually get it to work properly ;)
1998-09-12 Alex Roberts <bse@dial.pipex.com>
* gE_prefs.c:
* gE_prefs_box.c: Fixed Font selection bugs...
1998-09-12 Alex Roberts <bse@dial.pipex.com>
* TODO: Updated with new Prefs Dialog info...
* menus.c:
* gE_prefs_box.[ch]: Implemented New preferences Dialog (Gnome only)...
1998-09-10 Alex Roberts <bse@dial.pipex.com>
* TODO: Minor updates.... btw, wtf is Andy?!
* gE_prefslib.c: Stopped sigsegv on my system...
1998-09-07 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am (plugindir): Move into $(libdir).
* src/Makefile.am (plugindir): Likewise.
1998-09-02 Evan Lawrence <evan@worldpath.net>
* Added the gE_prefslib.[ch] files to cvs. They provide functions for
settings preferences for both gnome and gtk versions of gedit...
* Still todo is create the preferences dialog, and add prefs for split
screen, the scrollbar, etc...
1998-09-02 Alex Roberts <bse@dial.pipex.com>
* commands.c: Semi-Fixed the Read-Only file thing...
A message pops up on the statusbar explaining its Read-Only, then
a SaveAs box pops up! whee!....
1998-08-27 Alex Roberts <bse@dial.pipex.com>
* gE_about.c: Fixed gEdit homepage URL...
* gedit.c:
* toolbar.c: Removed annoying Debug code...
1998-08-26 Alex Roberts <bse@dial.pipex.com>
* toolbar.c: Removed occerences of Document List window Toolbar
settings (This was making gEdit sigsegv: Gdk-window: sigsegv..)...
1998-08-26 Martin Baulig <martin@home-of-linux.org>
* configure.in: Define `WITHOUT_GNOME' if we don't have GNOME.
(--disable-gnome): Command line parameter to let user disable GNOME.
(WITH_GNOME): New automake conditional.
* acconfig.h (WITHOUT_GNOME): New tag.
1998-08-24 Alex Roberts <bse@dial.pipex.com>
* Converted gEdit's source tree into its own Gnome/CVS module...
1998-08-23 Alex Roberts <bse@dial.pipex.com>
* Separated plugins into their own directories
Sat Aug 22 14:33:49 MET DST 1998 Jochen Friedrich <jochen@scram.de>
* commands.c, gE_files.c: replaced basename() by g_basename().
Thu Aug 20 20:25:57 1998 Owen Taylor <otaylor@redhat.com>
* Restored gtk_widget_grab_focus's, because they seem
to work now. (if you update to the latest CVS GTK+)
* For !WITHOUT_GNOME, don't create the toolbar handlebox
ourselves, since gnome-app-helper creates it. Obey
the ui_properties setting with respect to toolbar
relief.
1998-08-18 Evan Lawrence <evan@worldpath.net>
* Disabled several gtk_text_grab_focus's until I can figure out why
recent changes in gtk cause gEdit to crash.. Owen?
1998-08-1? Evan Lawrence <evan@worldpath.net>
* Fixed the recent-list to remove duplicate entries...
* Added Martin Wahlen's spell-checking plugin to CVS.. We need to
add some plugin functions to the API for him, but what's he's got
looks great...
* Committed Dan's latest modifications to the scrollball widget...
1998-08-13 Chris Lahey <clahey@umich.edu>
* gE_document.c:
* gE_plugin_api.c:
* gedit.c:
* gE_init.c:
* commands.c:
Got rid of most of the GINT_TO_POINTER and GPOINTER_TO_INT calls.
1998-08-13 Evan Lawrence <evan@worldpath.net>
* Following Chris's instructions, made an initial attempt at making the plugins
api 64 bit clean...
1998-08-12 Evan Lawrence <evan@worldpath.net>
* Committed Andy's patch, after making the neccassary modifications
to get it to compile for the gnome version...
* Got a new (better) version of the scrollball widget from Daniel
Dunbar, and committed that...
1998-08-11 Andy Kahn <kahn@zk3.dec.com>
* remove "#include "plugin.h" from main.h because the whole world
doesn't need it. include it only where needed.
* gE_prefs.[ch]: cleanup. drop a ton of unneeded cruft. pretty print.
* gE_document.c: cleanup gE_window_new().
* menus.c: (non-Gnome) simplify and drop unnecessary code. no sorry,
menu accelerators still don't work.
* diff.c: drop erroneous printf's.
* put evan's scrollball menu option in ifdef's for non-Gnome.
* rename all *_callback routines to *_cb.
* lots of other misc changes as a result of the above changes...
1998-08-10 Evan Lawrence <evan@worldpath.net>
* Committed Andy's patch (we do care Andy ;-)
* Added Toggle Scrollball option to the options menu...
1998-08-10 Andy Kahn <kahn@zk3.dec.com>
* rewrite and improve popup-menu-on-right-mouse-click. specifically:
- drop gE_text_popupmenu from main.h. there is no good reason
to be storing every widget used to make the popup menu. all
that is needed is a pointer to the top-level menu widget.
- make all the popup menu routines private only within
gE_document.c because they're never used anywhere else.
- use a table to generate the menu instead of individually
adding each one (eliminate repetitive code).
- when swapping .c and .h files, now swaps .cpp files and
handles upper/lower case too (e.g., swap .H and .C).
* menus.c: add ifdef GTK_HAVE_FEATURES_1_1_0 for the split-screen
menu entry.
* gE_document.c: code cleanup, reindendation.
* gE_files.c: drop unused variables from gE_file_open().
* rename file_open_in_new_win_cmd_callback to file_open_in_new_win_cb.
it's still a long name, but not ridiculously long. :)
* add dialog.[ch] to GTK.Makefile.am
* fix indendation in ChangeLog.
1998-08-09 Evan Lawrence <evan@worldpath.net>
* Added "Open in new window" to the right-click popup-menu that calls
file_open_in_new_win_cmd_callback, so that now you can be editting
a file and immediately switch it over to its own window - will also
help for when we implement DND to the desktop...
* Implemented (slightly buggy) split-screen support for users with gtk
1.1 - still needs proper prefs implemented, as it's always on at
startup now...
1998-08-08 Evan Lawrence <evan@worldpath.net>
* Committed Andy's patch below, after making the neccassary
modifications to the toolbar routines to get the gnome version to
work, and removed the plugin changes per Chris's request - he made
some changes today that weren't taken into account in the patch...
* Added the patch from Mikael Hermansson that creates a popup menu
when you right click on the text widget, after I moved a couple
items around to (I hope - this is debatable) more logical position,
and added a couple more functions (Save and Print.) Also added the
proper internationalization support for the gnome version...
1998-08-08 Andy Kahn <kahn@zk3.dec.com>
* generalize popup dialog boxes by using a common routine. currently,
the search/replace popup, the save-file-on-close popup, and the
save-file-before-printing popup, use this.
* improve print routine to be more intelligent and not have to always
create a temporary file.
* for non-Gnome version, add floating menubar. whee
* moved all search routines out of commands.[ch] to search.[ch].
* change all assert() statements to g_assert().
* include plugin patch to cleanup compiler warnings that Alex included
for 0.4.5, but forgot to commit into cvs.
* update TODO list
* new files: dialog.[ch], search.[ch].
* main.h: drop unused from gE_window struct. change some gint fields
back to gboolean, because that's what they are. add toolbar field
to gE_window for files_list_window so that main toolbar options
(on/off, pic/text/both, etc.) also affect the toolbar for the files
list window.
* gE_files.c: fix bug where doing a Save after a Save-As would result
in a bogus filename.
* toolbar.c: minor code cleanup, including use boolean defs TRUE/FALSE
instead of 1/0. i had these here before (see 1998-07-13 entry), but
alex changed them back to 1/0.
1998-08-08 Chris Lahey <clahey@umich.edu>
* plugin.c: Fixed #include ordering.
1998-08-07 Evan Lawrence <evan@worldpath.net>
* Made some changes to the way close_execute works, so we could
use it in the document_close plugins api.
* Broke recent-documents. I was trying to fix it so it wouldn't show
duplicates of the same document, but screwed some stuff up in the
algorythm - nothing real bad, just doesn't work quite right. The
reason I'm committing this is so I could commit the above changes..
* Added the proper api to plugin_document_open and plugin_document_close
and had to make a minor modification of close_doc_execute to
incorporate them...
* Temporarily added a gtkscrollball widget immediately above the
scrollbar, per Dan Dunbar's request - this is all part of my quest
for world domination...
* Temporarily added a foot/program menu, so as to give the gnome-gui
guys something to play with...
1998-08-06 Chris Lahey <clahey@umich.edu>
* plugin.h:
* plugin.c (process_next):
the plugin_document_close function is now required to return a
bool based on whether the document actually closed. Returns TRUE
if the plugin actually closed.
* plugin.c: Added a document_close function to the API.
1998-07-31 Andy Kahn <kahn@zk3.dec.com>
* fix three bugs reported by Mikael Hermansson:
1. opening a file that doesn't exist from the command line
results in seg fault.
2. doing "Save As" with a new filename results in subsequent
"Save" commands failing.
3. if quitting gedit and a changed file has not been saved,
selecting "Cancel" on the yes/no/cancel save dialog box results
in the original window disappearing and never coming back.
* fix for bug reported by Marin Purgar, where if PLUGINDIR did not
exist, readdir() causes a segv (e.g., on Linux).
1998-07-29 Alex Roberts <bse@dial.pipex.com>
* Fixed the preferences routines, that had been mysteriously broken,
without even a word in this ChangeLog...!
1998-07-29 Evan Lawrence <evan@worldpath.net>
* Got recent documents working for the gnome version.. Currently you can
change the # of documents it displays by redefining the MAX_RECENT
variable.. The default is 4, per the style guide..
1998-07-27 Jaka Mocnik <jaka.mocnik@kiss.uni-lj.si>
* main.h: check for #defined GTK_HAVE_FEATURES_1_1_0 instead of
GTK_HAVE_ACCEL_GROUP.
1998-07-26 Evan Lawrence <evan@worldpath.net>
* Committed Andy's patch below, and made the necassary modifications
to the gnome version - I also moved New Window and Close Window
into, logically, the Window menu...
* Wrote up a TODO file of some of the things I'd like to get done, most
of them before 0.5.0...
* After modifying the gnome Makefile.am to reflect Andy's changes,
I added his actual Makefile.am as GTK.Makefile.am, so any new gtk-only
developers don't have to hack their own..
* Renamed the plugins_README to README.plugins on CVS...
1998-07-25 Andy Kahn <kahn@zk3.dec.com>
* add a popup window to show files/document list. includes its own
mini-toolbar, to let you print/open/save a file shown in the list.
doc list auto-updates as you open/close/rename files.
* implement new read/write file algorithms, which should
read/write large(r) files a LOT faster.
* add a "Close All Files" command.
* rework and modularize a lot of code. consequently, closing
files/docs and windows, especially if you have a lot files open,
will "appear" a lot faster now.
* add message box popup window. you can see a "log" of gedit
messages. e.g., which files were opened, closed, saved, etc.
* new files: msgbox.c, msgbox.h, xpm/tb_exit.xpm
1998-07-21 Alex Roberts <bse@dial.pipex.com>
* Added Evan's email plugin to plugins_README...
* Added a notice in plugins/plugin_howto to add the plugin details
to plugins_README (I don't really want to add them myself!)...
* Fixed Evan's previous addition to ChangeLog...
1998-07-21 Evan Lawrence <evan@worldpath.net>
* Added the email plugin - it currently grabs the text out of the
document, instead of requiring you to save the file first - this
does however mean it's affected by the problem in the plugins api
wherein not all of the text is grabbed...
* Fixed the gtk version of the toolbar so it resizes properly when
you switch to text/pic only...
1998-07-20 Alex Roberts <bse@dial.pipex.com>
* Added plugins_README: information on the current plugins included
with gEdit...
1998-07-18 Chris Lahey <clahey@umich.edu>
* plugin.h:
* plugin.c: Copied the latest versions of these from my copy of
go. Lots of changes to increase robustness.
* gedit.c (parse_an_arg): Added argument parsing code.
1998-07-18 Chris Lahey <clahey@umich.edu>
* gE_plugin_api.c (add_plugin_to_menu): Fixed a problem with
plugin insertion if using a language other than English.
1998-07-17 Andy Kahn <kahn@zk3.dec.com>
* rework and improve the print routine:
- rename _file_print() to file_print_execute()
- creates temporary file a *lot* faster now (dumps all the
text in one swell foop instead of one character at a time)
- deletes the temporary file
- drop a lot of excess/unnecessary variables
- add a small note that code was borrowed from gIDE
- misc code cleanup
- more todo: see file_print_execute() comments in code
* add a toolbar handle, so you can have floating toolbars. whee
1998-07-16 Alex Roberts <bse@dial.pipex.com>
* Fixed printing in non-Gnome
* Moved all plugins (and client.[ch]) into plugins/
All new plugins must be placed there...
* Added Encrypt/Decrypt plugins... Using ROT13 to encrypt
and Caesar to decrypt...
1998-07-15 Evan Lawrence <evan@worldpath.net>
* Added plugin_program_quit to the plugins api...
* Fixed main.h file so toolbar.c doesn't give an error about
the struct not containing some things..
1998-07-15 Alex Roberts <bse@dial.pipex.com>
* Fixed hello.c: Now works with the current Plugin API! :)
* Print functions work perfectly now (hopefully, i don't
have my printer set up properly), and save the print command
for the next session of gEdit.
1998-07-14 Alex Roberts <bse@dial.pipex.com>
* Put all Print specific functions, etc, into gE_print.h
* Started implementing new Print functions, bewarend, it sigsegvs!
1998-07-13 Alex Roberts <bse@dial.pipex.com>
* Implemented Pixmaps only, Text only, or Both to the
toolbar on start up...
* Modified homepage URL in the About box...
* Upped version to 0.4.5, for next official release...
1998-07-13 Evan Lawrence <evan@worldpath.net>
* The previous changes to the gnome menu code broke the
menus for multiple windows.. Fixed that..
1998-07-13 Andy Kahn <kahn@zk3.dec.com>
(all changes are not Gnome specific)
* fix "blinky" label in the about box (gtk-only version). cleanup
and simplify gE_about.c.
* for now, include pixmap file/description directly into code as
default pixmap for toolbar.
(new files: xpm/tb_cancel.xpm, xpm/tb_copy.xpm, xpm/tb_cut.xpm,
xpm/tb_edit.xpm, xpm/tb_help.xpm, xpm/tb_new.xpm, xpm/tb_open.xpm,
xpm/tb_paste.xpm, xpm/tb_print.xpm, xpm/tb_save.xpm,
xpm/tb_search.xpm)
TODO: allow user configurable path (saved in ~/.gedit) to load
user-prefered toolbar pixmaps.
* for the statusbar label: add gE_msgbar_XXX() routines to manipulate
the label. remembers last label printed and auto-clears the label
after a small timeout.
* cleanup main.h:
- drop unneeded includes.
- for WITHOUT_GNOME, define auto_indent, show_tabs,
show_status, and have_toolbar to be gboolean's instead of
gint's. define tab_pos to be GtkPositionType instead of gint.
- move all function prototypes to their respective .h files.
(new files: gE_about.h, gE_document.h, gE_files.h)
* where applicable:
- use GTK_TOP_{TOP,BOTTOM,LEFT,RIGHT} for notebook tab
positioning instead of directly using the numeric values.
- use boolean defs TRUE/FALSE instead of 1/0.
- drop variable Ctime. use GDK_CURRENT_TIME instead.
- include new .h files as needed.
- use gE_msgbar_XXX() routines as needed.
- add GPL notice, drop unused, cleanup prototypes.
* other misc changes (these should go into the log entry for each file
when checked into CVS, but we're not doing that too well, so...) :
gE_document.c:
- move destroy_window() to here. rename to gE_destroy_window().
- make notebook_switch_page() static.
- move gE_show_version() to gedit.c
gedit.c:
- include new .h files as needed. drop unused cruft.
- move gE_show_version() (now static) here.
- move destroy_window() to gE_document.c. rename to
gE_destroy_window().
1998-07-12 Evan Lawrence <evan@worldpath.net>
* Made corrections to gnome menu code to get it to compile
properly with -Wall and -ansi - you still get warnings though
due, I think, to gnome's general handling of menus.
* Fixed it so you can no longer open directories as files -
now it switches to that directory like it should.. Also
removed file op buttons in the open fileselector, since
they're not needed and get in the way..
* Removed the gtk_idle_add used in command-line loading, so
you can load more than one file correctly now..
* Committed Andy's cool patch below that fixes up a lot of stuff..
1998-07-11 Andy Kahn <kahn@zk3.dec.com>
(all changes are not Gnome specific)
* modularize code: move function prototypes for routines in
commands.c from main.h into commands.h (new file).
include commands.h where needed. still more to be done...
* tons of code cleanup to remove compiler warnings.
* menus.c : restructure entire file for cleaner code. Gnome
and non-Gnome code completely separated. move menus_items to
be a global variable and not contain any references/pointers
to parameters passed into menus_init(). this should be done
for the Gnome version as well.
* add "-Wall -ansi -pedantic' to Makefile.am. this should really be
automatically added to CFLAGS if GNU C is detected. is this a
configure.in (autoconf) option?
* reformatted some entries in ChangeLog file.
1998-07-10 Evan Lawrence <evan@worldpath.net>
* New document tabs are automatically switched too now..
* Changed the statusbar so it's actually a gtk_label,
instead of a gtk_statusbar, to fix a mem leak..
1998-07-10 Evan Lawrence <evan@worldpath.net>
* I *think* I fixed all the bugs I added in my previous commit...
1998-07-08 Chris Lahey <clahey@umich.edu>
* menus.c (gE_menus_init): Added some example code relating to an
idea I have about configurability.
* menus.c (gE_menus_init): Made it so that there wasn't a
separator at the bottom of the plugins list.
1998-07-08 Evan Lawrence <evan@worldpath.net>
* Made some changes to the gtk-only automatic plugin detection,
although it's still broken.
* Disabled the CAN_FOCUS flag on the scrollbar, line number button,
and notebook tabs (On Chris's suggestion) - makes editting
much smoother..
* While I was at it made it so the titlebar changes to reflect the
current document tab selected.
1998-07-08 Chris Lahey <clahey@umich.edu>
* gE_plugin_api.c (add_plugin_to_menu): Fixed the menus to display
correctly.
1998-07-08 Chris Lahey <clahey@umich.edu>
* plugin.c (plugin_query_all): Synced up changes from go to have
it not detect "." and ".." as plugins.
* gE_plugin_api.c (add_plugin_to_menu): Added a second GnomeUIInfo
to be the GNOME_APP_UI_ENDOFINFO entry.
1998-07-07 Evan Lawrence <evan@worldpath.net>
* Some changes to the gtk-only menu code, and started
on automatic plugin detection...
1998-07-02 Chris Lahey <clahey@umich.edu>
* client.h: Added stuff to support using client.h in a C++ file.
* plugin.h:
* plugin.c (plugin_new_with_query):
* client.c (client_init):
Added stuff to better support passing parameters to plugins.
1998-07-02 Chris Lahey <clahey@umich.edu>
* reverse.c:
* cvsdiff.c:
* diff.c: Added registration stuff.
* plugin.c:
* plugin.h:
* client.h:
* client.c: Added stuff to do querying. Also added a quit program
function.
* gE_document.c:
* Makefile.am: Made plugins install to a different directory.
1998-07-01 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* gedit.desktop: Added Portuguese translation.
1998-06-30 Chris Lahey <clahey@umich.edu>
* main.h:
* reverse.c (main): New file
* Makefile.am (reverse_plugin_SOURCES):
* gE_document.c (start_reverse):
(start_plugin):
(start_cvsdiff):
(start_reverse): Added reverse plugin. Also simplified the code
at the end of gE_document.c a bit.
Made gedit aware of where plugins are installed.
* plugin.c :
* plugin.h :
* client.c :
* client.h :
* reverse.c :
* diff.c :
* cvsdiff.c : A few new plugin functions.
1998-06-28 Evan Lawrence <evan@worldpath.net>
* Fixed bug I added in my last change that caused gedit to sigsegv when
you closed the window via the window manager.
* Added a seek_to_line function that will jump the scrollbar to a
specified line, to speed up searches, that kind of thing that
previously crawled to the proper position.
* Fixed other minor bugs in searching...
1998-06-28 Alex Roberts <bse@dial.pipex.com>
* Removed instances of main_window from gE_file_open and gE_file_save,
and fixed the functions to match with their definitions in main.h...
1998-06-26 and 27 Evan Lawrence <evan@worldpath.net>
Sifted through all the code and removed all instances of the global
main_window variable, replacing them with either a gE_window pointer
or a gE_data pointer. Also added functions to open and close other
windows, so you don't have to run a separate copy of gedit - still to
be added are functions to move documents between windows, etc.
1998-06-26 Chris Lahey <clahey@umich.edu>
* Makefile.am :
* main.h :
* gedit.c :
* gE_document.c (gE_window_new): Plugins are now compiled in by
default. Dropped the hello-plugin.
* configure.in: Checks for gedit.c instead of menus.c. More unique.
* plugin.c (process_command):
(plugin_finish): File descriptors for plugins are now freed and
gedit doesn't leave zombie processes.
1998-06-26 Chris Lahey <clahey@umich.edu>
* plugin.h:
* plugin.c (process_command, plugin_register, process_next):
A bit of plugin API expansion. Broke up the structs a bit.
* gE_document.c:
* gE_plugin_api.h:
* gE_plugin_api.c:
Using those changes.
* client.c:
* client.h:
New files defining the new plugin client API.
* diff.c (main): (call_diff):
* cvsdiff.c (main): Changes to use the new plugin client API.
1998-06-25 Chris Lahey <clahey@umich.edu>
* gE_plugin_api.c:
* gE_plugin_api.h: New files. The callback functions for the plugin api.
* cvsdiff.c: New file. The plugin to do a cvs diff.
* gE_document.c:
* gedit.c:
* main.h:
* plugin.h:
* plugin.c:
* diff.c:
* Makefile.am (gedit_SOURCES):
More changes to support the plugin system.
1998-06-25 Chris Lahey <clahey@umich.edu>
* plugin.h, plugin.c: Lot's of new API.
* diff.c: New file. A plugin to do diffs.
1998-06-21 Andy Kahn <kahn@zk3.dec.com>
* fix new_pixmap() so that Gtk warning messages go away.
* massive code cleanup:
- remove all compiler warnings reported by using
'-Wall -ansi -pedantic' with gcc v2.8.0
- simplified code logic in prog_init()
- fix bug in gE_about_box() where variable 'button' was
being used before being initialized. this caused
SEGV depending on compiler and compiler options used.
basically, if you're lucky, you don't get the SEGV).
- in gE_about_box(), drop unnecessary calls to
gtk_container_add(). were causing GTK warning messages
to be printed.
- fix function prototype for file_close_cmd_callback()
* add ifdef to remap "fatal" signals to their default behavior
(which will likely cause a core dump). this was done because
if you don't compile GDK with debugging enabled (e.g., you didn't
do "./configure --enable-debug=yes"), GDK automatically catches
the "fatal" signals and effectively does nothing with them. gee,
that's not very helpful. to get the signals back to their
regular behavior, define "GDK_IS_BRAINDEAD" in gedit.c. this is
only present in main() when WITHOUT_GNOME is defined.
* main.h: drop unused variable gEdit_ID. move to gE_document.c
(it's the only place where it's used).
* pretty print main (for WITHOUT_GNOME), gE_about_box() (also
for WITHOUT_GNOME)
1998-06-22 Chris Lahey <clahey@umich.edu>
* toolbar.c: Added internationalization code (N_ repeatedly) for
the gnome version of the toolbars.
* commands.c, main.h:
Made changes to follow api changes to functions
gtk_editable_{cut,copy,paste}_clipboard.
1998-06-21 Evan Lawrence <evan@worldpath.net>
Heh, I have *not* been adding changelog entries like a good boy,
so here's a summary of what I've done recently..
* Commited patch from Andy Kahn that added toolbars, after modifying
the buttons on the toolbar.
* Gnomified the toolbar code, so that it uses the gnome stock pixmaps,
and uses some other gnome functions to make it look gnome-like..
* Rearanged the file menu, cause it didn't look good the way it was.
* Added search-for-line capabilities to the search feature, and tied
the "Line" button on the statusbar to popup the search dialog with
search for line selected.
1998-06-20 Alex Roberts <bse@dial.pipex.com>
* Added 'Toolbar' to prefs file, if you select 'Turn Off Toolbar'
it stys turned off even when you re-start gEdit ('Turn on toolbar'
will keep it turned on)...
1998-06-19 Chris Lahey <clahey@umich.edu>
* gE_document.c (gE_window_new): Changed some code in the
WITHOUT_GNOME section to support the new accelerator system for
those with cvs gtk and without gnome.
* gE_document.c (gE_window_new):
* plugin.h:
* plugin.c (plugin_new): Changed plugin_init to plugin_new. It
explains the function much better.
* hello.c (main): Fixed some segfaults.
1998-06-18 Chris Lahey <clahey@umich.edu>
* menus.c (get_main_menu):
* main.h:
* menus.h: Changes to support both the old and new accelerator
systems. Not tested for 1.0 because I only have 1.1.
1998-06-17 Chris Lahey <clahey@umich.edu>
* hello.c (main): Added a check to see if it's being run as a
plugin. Also included the proper headers to get read of
warnings.
* main.h: Forgot to include plugin.h at the top of main.h.
1998-06-17 Chris Lahey <clahey@umich.edu>
* plugin.h:
* plugin.c: New files for plugins.
* hello.c: The test plugin. Needs manual compilation still.
* gE_document.c, main.h: Changed to allow plugin test. Changes
are #defined out unless PLUGIN_TEST is defined non-zero.
In general, this feature is not enabled by default. This is the
very first draft, just to make sure the inter process stuff is
working. To enable, compile hello.c and install it as
/usr/local/bin/hello-plugin, uncomment the two new files in
Makefile.am and define PLUGIN_TEST non-zero near the top of
gE_document.c and main.h.
1998-06-10 Chris Lahey <clahey@umich.edu>
* menus.c (get_main_menu):
* menus.h:
* main.h: Switched to new accelerator system.
* main.h: #included <stdio.h> to get declaration of size_t.
1998-05-28 <bse@dial.pipex.com>
* Thanx to Eli Miller (spooge, his IRC nick) gEdit will now
re-size smaller than its startup size :)
1998-05-26 <evan@worldpath.net>
* Fixed >2 New file bug
* Fixed the bug wherein gedit was forced to strip non-ascii
letters to keep from crashing on openning binary files,
apparently because of a bug in the text widget, (or possibly
my code :) that has since been fixed..
* Synced the Options menu between the GNOME and non-GNOME versions
1998-05-26 <bse@dial.pipex.com>
* Released 0.4.0 (Non-GNOME)
* Save/Restore settings! :)
Currently, it will keep the Tab Position, and if the Statusbar is
visible or not...
1998-05-15 <bse@dial.pipex.com>
* Print partially implemented...
1998-05-13 <bse@dial.pipex.com>
* Removed a piece of annoying debugging code...
* Made the file selector keep position at a file...
* Fixed some errors in man page...
1998-05-12 <bse@dial.pipex.com>
* Updated the README/AUTHORS files to my new email address
(bse@dial.pipex.com)
* Upped version number to 0.4, ready for next release
1998-05-10 <evan@worldpath.net>
* Fixed the bug with gEdit not asking if you want to save modified files when you quit...
It's a bit of a hack, but I didn't feel like rewriting a lot of the code from the close routine..
1998-05-09 <bse@dial.pipex.com>
* Added GNOME version number to the title, it looks better with a version number i feel...
* Fixed segfault on startup when using GTK+ 1.1. Hopefully, the bug has gone...
1998-05-03 <bse@dial.pipex.com>
* Fixed the sigsegv when loading a file from the cmd line.
This does break the (already broken because of the .gnome/gtkrc) font settings
msg = (char *)g_malloc(strlen(fname) + 52);
sprintf(msg, _(" '%s' has been modified. Do you wish to save it?"), fname);
if (doc->changed)
{
msgbox = GNOME_MESSAGE_BOX (gnome_message_box_new (
msg,
GNOME_MESSAGE_BOX_QUESTION,
GNOME_STOCK_BUTTON_YES,
GNOME_STOCK_BUTTON_NO,
GNOME_STOCK_BUTTON_CANCEL,
NULL));
gnome_dialog_set_default (GNOME_DIALOG (msgbox), 2);
ret = gnome_dialog_run_and_close (GNOME_DIALOG (msgbox));
/* switch (ret)
{
case 0:
file_save_cb (NULL, data);
g_print("blargh\n");
case 1:
return TRUE;
default:
return FALSE;
}*/
if (ret == 0)
{
/*file_save_cb (NULL, data);*/
if (gE_document_current()->filename)
file_save_cb (NULL, data);
}
else if (ret == 2)
return FALSE;
}msg = (char *)g_malloc(strlen(fname) + 52);
sprintf(msg, _(" '%s' has been modified. Do you wish to save it?"), fname);
if (doc->changed)
{
msgbox = GNOME_MESSAGE_BOX (gnome_message_box_new (
msg,
GNOME_MESSAGE_BOX_QUESTION,
GNOME_STOCK_BUTTON_YES,
GNOME_STOCK_BUTTON_NO,
GNOME_STOCK_BUTTON_CANCEL,
NULL));
gnome_dialog_set_default (GNOME_DIALOG (msgbox), 2);
ret = gnome_dialog_run_and_close (GNOME_DIALOG (msgbox));
/* switch (ret)
{
case 0:
file_save_cb (NULL, data);
g_print("blargh\n");
case 1:
return TRUE;
default:
return FALSE;
}*/
if (ret == 0)
{
/*file_save_cb (NULL, data);*/
if (gE_document_current()->filename)
file_save_cb (NULL, data);
}
else if (ret == 2)
return FALSE;
}
Sun May 03 03:17:13 Kjartan Maraas <kmaraas@fib.hl.no>
* .cvsignore: New file. Added some files to it as well.
1998-05-02 <bse@dial.pipex.com>
* Improved the description of gEdit in the About Box...
* Added keyboard shortcuts to the menus
* Made autoindent turn on when gEdit starts...
* Fixed the segfault on startup, it won't read it's RC file...
* robo@earthling.net -> bse@dial.pipex.com (robo doesn't work anymore)
1998-04-29 <evan@worldpath.net>
* Several changes in the past few days - you can toggle autoindent,
wordwrap, the document tabs, and the statusbar now.. Other misc stuff...
1998-04-20 <evan@worldpath.net>
* Made some more changes to the statusbar
Sun Apr 19 17:03:15 1998 Havoc Pennington <hp@pobox.com>
* Makefile.in, configure, aclocal.m4: Removed automatically
generated files. Hope this is OK.
1998-04-19 <robo@earthling.net>
* Changed application class to gEdit.gedit (from gedit.Gedit), to help with
window managers (e.g WindowMaker)
1998-04-19 <robo@earthling.net>
* Fixed the configure.in script to include the GTK+ include directories,
(/usr/local/include/glib, etc), and YES we _are_ using gtk-config to
get the directories/libraries needed!
* Agh! Nobody seems to be updating this! Ok, changes since last entry...
-* Auto-Indent works, but no way to turn it off (evan@worldpath.net)
-* Flickering of the Line/Column fixed (evan@worldpath.net)
-* If file from command line doesn't exist, gEdit creates it (evan)
1998-04-16 <robo@earthling.net>
* Implemented Line/Column display, buggy though, and the Line counter only counts up to the
height of the text box, so, it doesn't really work(probably to do with the Text Widget,
that still needs some development)...
* Changed gEdit's default Width so 80 characters can be viewed on one
line.
* Applied patch from Nicholas Lamb for better Search and Replace.
* Added gEdit.desktop for GNOME Panel, for a little GNOMEification of gEdit
1998-04-15 <robo@earthling.net>
* Added keyboard shortcuts to the search and the
search and replace commands...
* Improved the About box: added homepage, and GTK Version
labels, and added gEdit icon...
1998-04-13 <robo@earthling.net>
* Changed File Close shortcut to Alt-W...
* Added support for multiple files from the command line
(Which also fixes the Sigsegv when closing files from the command
line)...
1998-04-06 <robo@earthling.net>
* Added statusbar code
1998-04-04 <robo@earthling.net>
* Released 0.3.2
* Added GTK+ version checking to configure
* Added 2 icons to distribution, one by me, and one by joatman
(joatman@base.org)
1998-04-01 <robo@earthling.net>
* Added man page to distribution
1998-03-28 <robo@earthling.net>
* Released 0.3.1
* Words now wrap onto the next line (Thanks to
GTK+-0.99.9)...
* Converted gEdit to GNU Autoconf and GNU Automake...
* Hopefully fixed the clipboard bugs, replaced the
GDK_CURRENT_TIME with a size_t thingy...
* Fixed (mostly) the command line bug, you couldn't
open a file using a command like 'gedit
/etc/resolv.conf' that's fixed...
1998-03-26 <robo@earthling.net>
* A file opened from the commandline, the tab no longer shows the
'./' before the filename...
1998-03-25 <robo@earthling.net>
* Released 0.3
* Fixed the command line opening bug, now it inserts a './' so when
it saves, all it erases from the tab is the './', instead of the
whole filename.
1998-03-24 <evan@worldpath.net>
* It no longer dies a horrible death when you try to save empty
files (thanks to Taneli) and behaves quite normally when you open
a binary file...
1998-03-23 <evan@worldpath.net>
* OK, I think I'm done with search and replace, it now
has the option to ask before replacing. Next up: fix the binary
file bug and apply the patch from Taneli...
1998-03-22 <evan@worldpath.net>
* Just about done with search and replace, just a few niceties to
add..
1998-03-15 <evan@worldpath.net>
* Close will now ask if you want to save
before closing a modified file...
1998-03-15 <robo@earthling.net>
* Woohoo! preferences work!! Now it will read and write ~/.gedit!! :)
You can change the font of the text box (still need to restart
gEdit tho,and when you put the text font dialog box up, it puts
it back to the default!)
1998-03-13 <evan@worldpath.net>
* Fixed the save bug... document->filename
was going out of scope...
1998-03-10 <evan@worldpath.net>
* Fixed those incredibly annoying close bugs
1998-03-07 <robo@earthling.net>
* Command line options added
1998-03-05 <robo@earthling.net>
* 0.2 -> 0.2.1
* Fixed the Save on an Untitled file bug
* I got Cut/Copy/Paste/Select All working
* Started Log
|