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
|
2005-07-16 Pawan Chitrakar <pawan@nplinux.org>
* configure.in: Added ne in ALL_LINGUAS
2005-07-15 Hilaire Fernandes <hilaire@ofset.org>
* Shortcuts fixes: Ctrl+W was used in two places: for WIMS
exporter and to close a figure. Remove the WIMS one. Add shortcuts
(Ctrl+1, Ctrll+2,...) for the different animation step.
* drgenius_mdi.cc (setAnimationMode): If already in animation
mode, just change the animation step. That way the user can change
the animation step while a point is animated.
* configure.ac: Increment to version 1.1.0
2005-07-14 Hilaire Fernandes <hilaire@ofset.org>
* Youpi! First working prototype to animate free point on curve.
2005-06-27 Kjartan Maraas <kmaraas@gnome.org>
* configure.ac: Fix up the Norwegian entries in ALL_LINGUAS.
2005-05-05 Iaki Larraaga <dooteo@euskalgnu.org>
* configure.ac: Added "eu" (Basque) to ALL_LINGUAS.
2005-04-01 Steve Murphy <murf@e-tools.com>
* configure.in: Added "rw" to ALL_LINGUAS.
2005-03-13 Hilaire Fernandes <hilaire@ofset.org>
* examples/scheme/tilings.scm: New interesting example from Adrian
Ulises Soto. It expose different step when constructing self
repeating shape.
2005-02-24 Hilaire Fernandes <hilaire@ofset.org>
* examples/scheme/Makefile.am (scheme_DATA): New Koch.scm example
from Mohamed Choubane. Beware it is intensively recursive.
2005-01-20 Hilaire Fernandes <hilaire@ofset.org>
* plugin/drgeo/progs/tm_drgeo: Improved plugin by Adrian Ulises
Soto. The improvment let the user write Scheme code then DrGeo
evaluate it.
2005-01-17 Hilaire Fernandes <hilaire@ofset.org>
* plugin/drgeo/progs/tm_drgeo: Bash script to invoke Dr.Geo from
the Dr. Geo TeXmacs plugin.
* plugin/drgeo/progs/init-drgeo.scm: Simplified version of the
script relying on external bash script to invoke Dr. Geo.
2005-01-04 Hilaire Fernandes <hilaire@ofset.org>
* plugin/drgeo/progs/init-drgeo.scm (drgeo): Improved init file
from Adrian Soto.
2005-01-01 Hilaire Fernandes <hilaire@ofset.org>
* geo_view.cc (scaleToZoom): Patch from Andreas Jochens to get
DrGeo compile under AMD64/GCC4.0.
2004-12-02 Hilaire Fernandes <hilaire@ofset.org>
* configure.ac: Add locales nb_NO and no_NO.
2004-08-17 Hilaire Fernandes <hilaire@lilliput>
* drgenius_mdi.cc (newGeometricDocument,newTextDocument): Check if
the document is valid before adding it in the document list.
(setMacroMenuItemDescription): Update the tooltips of a macro menu
item.
2004-08-16 Hilaire Fernandes <hilaire@lilliput>
* drgenius_mdi.cc (addMacroMenuItem): Add the a macro in the macro
menu. Also the macro description is display as a tooltips of the
menu item. Very handy to use quickly macro-construction.
(on_macroMenu_cb): Callback for the macro menu. When one item of
this menu is selected, it will move Dr. Geo in a dialog less macro
play mode.
(addView): Check if v->name() is not NULL before installing a new
menu item entry in the Windows menu. Normally it should not be
NULL put it appears there are weird things when reading a DrGenius
libxml-1 generated file with DrGeo libxml-2.
2004-08-15 Hilaire Fernandes <hilaire@lilliput>
* drgenius_mdi.cc (renameView): Rename Windows menu item as well.
(addView): Add a menu item in Windows menu.
(removeView): Remove the matching menu item in the Windows menu.
* drgenius_mdi.h (class drgeniusMDI): Add two pointers
p_windowsMenu and p_macroMenu to hold a reference to these top
menus.
2004-08-12 Hilaire Fernandes <hilaire@ofset.org>
* Redesign the locus icon button.
2004-06-06 Hilaire Fernandes <hilaire@ofset.org>
* drgeo_adaptDialog.cc: Bug fixes, widgetScript is not yet
implemented, remove it for now from the toolName table.
* drgenius_mdi.cc (reconcile_grayout_widget): Rename and Grid
short cut need to be set unsensitive when necessary.
2004-06-05 Hilaire Fernandes <hilaire@lilliput>
* geo_view.cc (updateUserInterface): Handle the shortcut as well.
2004-04-29 Hilaire Fernandes <hilaire@ofset.org>
* examples/figures/Makefile.am (figures_DATA): Add two figures
from Marcel Birthelmer.
2004-04-26 Hilaire Fernandes <hilaire@ofset.org>
* drgeo_adaptDialog.cc (on_unlockDialog_response): Conditional use
of libcrypt.
Export all the callback dynamicly linked by libglade.
2004-03-29 Hilaire Fernandes <hilaire@ofset.org>
* examples/scheme/steiner.scm (l1): Contribed example from Mohamed
Choubane.
2004-03-29 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (print_view): Just send EPS directly to the
printer. There are somes issues with stuff printed out of the
clipping area (bounding-box).
2004-03-12 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (print_figure_cb): Check for pstoedit software
before proceding further.
2004-03-03 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (rename_view_string): The view is renamed only
if the user explicitly click on
(rename_view_string): We do not need the child parameter as we are
using mid->activeView() to get the current view.
2004-02-27 Hilaire Fernandes <hilaire@ofset.org>
* examples/figures/Makefile.am (figures_DATA): New physic example
from Georges Khaznadar.
2004-02-26 Adam Weinberger <adamw@FreeBSD.org>
* configure.ac: Added 'en_CA' (Canadian English) to ALL_LINGUAS.
2004-02-01 Robert Sedak <robert.sedak@sk.htnet.hr>
* configure.ac: Added "hr" (Croatian) to ALL_LINGUAS.
2004-01-20 Hilaire Fernandes <hilaire@ofset.org>
* drgeo_init.cc (drgeoInit): Load the Dutch synonyms.
2004-01-13 Laurent Dhima <laurenti@alblinux.net>
* configure.ac: Added "sq" to ALL_LINGUAS.
2004-01-08 Hilaire Fernandes <hilaire@ofset.org>
* examples/figures/Makefile.am (figures_DATA): Add 2 nice examples
from Hung Chao-Kue.
2003-10-26 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc (main_prog): Replace make- by drgeoMake- to
avoid conflicts.
2003-10-25 Hilaire Fernandes <hilaire@ofset.org>
* glade/Makefile.am (icons_DATA): Rename drgenius.png to
drgeo.png.
2003-10-22 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (on_about_activate): Add credits for the
translators.
2003-10-08 Hilaire Fernandes <hilaire@ofset.org>
* examples/figures/Makefile.am (figures_DATA):New intersting
examples from Rhydwen Volsik.
2003-10-07 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (on_about_activate): Pack the OFSET logo.
2003-09-29 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc (main_prog): Small patch from Sebastian Kapfer
to fix an infinit loop when parsing line command parameters.
2003-09-23 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc (main_prog): Add getDirection and getNormal
Scheme methods.
2003-09-20 Hilaire Fernandes <hilaire@ofset.org>
* examples/scheme/square.scm (monCarre): Fix this example.
2003-09-17 Hilaire Fernandes <hilaire@ofset.org>
* drgeo_init.cc (drgeoInit): Load Serbian constant definitions.
2003-09-16 Danilo Ã…Â egan <dsegan@gmx.net>
* configure.ac: Added "sr" and "sr@Latn" to ALL_LINGUAS.
2003-09-14 Hilaire Fernandes <hilaire@ofset.org>
* configure.ac (AC_CONFIG_FILES): Add examples/scheme/Makefile
* examples/Makefile.am (SUBDIRS): Add scheme.
* examples/scheme/Makefile.am (scheme_DATA): Add a Scheme folfer
to hold Dr. Geo Scheme Figure examples.
2003-09-13 Hilaire Fernandes <hilaire@ofset.org>
* NEWS: Update the information for the 0.9.9 release.
* drgenius_mdi.cc (really_export_figure_png): Export to PNG.
(really_export_figure_png): To export the PNG we generate a
temporary EPS from where we get our 300 DPI bitmap.
(really_export_figure_png): The resulting converted image is set
with a color depth of 4 bits, the white is transparent, and the
DPI at conversion time is set to 300.
(export_figure_to_png_cb): For now use the :psFile value as the
defaut name when exporting to PNG.
* drgenius_main.cc (main_prog): Registered make-distancePointLine
Scheme function;
2003-09-12 Hilaire Fernandes <hilaire@ofset.org>
* Style dialog open at random poision, i.e. the window manager
decides i.e. the user can decide.
2003-09-02 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc (main_prog): Register make-circleRadius and
make-circleSegment Scheme functions.
(main_prog): Register the make-parallel and make-orthogonal Scheme
functions.
2003-09-01 Christian Rose <menthos@menthos.com>
* configure.ac: The language code for Gujarati is "gu",
*not* "gj".
2003-09-01 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc (main_prog): Register the transformation Scheme
functions.
2003-09-01 Metin Amiroff <metin@karegen.com>
configure.in: Added "az" in ALL_LINGUAS.
2003-08-30 Wang Jian <lark@linux.net.cn>
* configure.in: Added "zh_CN" to ALL_LINGUAS.
2003-08-30 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (evaluateScmFigure): reconcile de grayout widget
once the evaluation is finished.
* examples/scheme old some examples of the Dr. Geo Scheme Figure
(DSF)
* drgenius_main.cc (main_prog): Record the C functions as Scheme
functions.
2003-08-27 Abel Cheung <maddog@linux.org.hk>
* configure.ac: Added "ml" "zh_TW" to ALL_LINGUAS.
2003-08-26 Hilaire Fernandes <hilaire@ofset.org>
* examples/figures/Makefile.am (figures_DATA): Add saleria.fgeo
2003-08-24 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (renameView): Patch from Sebastian Kapfer to fix
the notebook menu, GTK+ does not updated it when the label of the
tabname is changed.
2003-08-23 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_config.cc (updateDialogFromUserPreferences): Mark
drgeoConfigGet(":figureName") call to be translated. (see bellow)
* geo_view.cc (geoView): Mark the string "Items" and
drgeoConfigGet(":figureName") call to be translated. Therefore
default figure name appears localised at first use of the
software.
* drgenius_mdi.cc (addView): Patch from Sebastian Kapfer
<sebastian_kapfer@web.de> to fix a misbehaviour in the tab.
2003-08-18 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc (main_prog): Add the Scheme function make-line,
make-ray, make-vector, make-circle to instanciate this basic
objects.
(main_prog): Add the -e --evaluate command line option to load and
evaluate a DSF.
2003-08-17 Hilaire Fernandes <hilaire@ofset.org>
* drgeo_init.cc (drgeoInit): At start up load the Dr. Geo Scheme
interface.
2003-08-16 Abel Cheung <maddog@linux.org.hk>
* drgenius_main.cc: Make use of GETTEXT_PACKAGE.
* configure.ac: Remove some old macros.
* Makefile.am, drgeo.desktop: .desktop -> .desktop.in
2003-08-16 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (evaluateScmFigure): New method to evaluate a
Scheme figure.
(evaluate_cb, evaluate_ok_cb): Our callback and helper to let the
user chooses the file to evaluate as a Scheme figure.
2003-08-12 Hilaire Fernandes <hilaire@ofset.org>
* configure.ac: Add the DrGeo plugin for TeXmacs relative in
the plugin/ folder.
2003-08-08 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc (main_prog): Record the getAngle function in
GUILE.
2003-08-03 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc (main_prog): In the --texmacs test, arg should
be incremented only when entering this mode.
2003-08-03 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (gridItem_cb): Callback to show/unshow the grid.
(newGeometricDocument): We use a normal menu item instead of a
toggle one to represent the command to show or hide the grid
2003-07-27 Duarte Loreto <happyguy_pt@hotmail.com>
* conigure.ac: Added Portuguese (pt) to ALL_LINGUAS.
2003-07-27 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (on_drgeoMain_delete_event): When texmacsMode,
export the current figure to the standard output as EPS.
2003-07-27 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc: texmacsMode is a global boolean variable to
specify if Dr. Geo is in TeXmacs mode.
* scm/drgeo_config.scm (drgeoConfigLoadAndUpdate): New method
which automaticaly load and eventually update the user preferences
with new attributes comming from a newer default configuration
file.
2003-07-20 Hilaire Fernandes <hilaire@ofset.org>
* geo_view.cc (geoView): Recompose the bounding box from the XML
document.
* drgenius_config.cc (cachePreferedValue): Cache the
:numericPrecision value in an integer, this speeds up the read of
this value when used in
2003-07-19 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (define_printing_area_cb): Callback to set
Dr.Geo in the printing_area_mode
2003-07-18 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.cc (main_prog): Providing bad command line
argument crashed Dr.Geo.
* geo_view.cc (scaleToZoom, zoomToScale): Helper function to
convert scale (float) to/from the zoom factor (integer)
2003-07-18 Hilaire Fernandes <hilaire@ofset.org>
* geo_view.cc (geoView): We fetch the scale and drawable origin
coordinates from here, just after we instantiate the drawable of
the geometric figure.
(geoView): Adjust the user interface accoring to the scale fetch
from the saved document.
2003-07-13 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_config.cc (on_numeric_changed): Add the numerical
precision feature.
* scm/preferences.scm: Add :numericPrecision attribute name.
2003-07-05 Christophe Merlet <redfox@redfoxcenter.org>
* drgeo.desktop: Little fixes.
2003-06-16 Abel Cheung <maddog@linux.org.hk>
* configure.in: Removed ko and pt from ALL_LINGUAS (empty translation,
not updated for 5 yrs)
2003-06-15 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (on_entryRenameView_activate): We want the
dialog to be activated when the user press "Return"
2003-06-15 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (openSession): When opening a session with one
or multiple elements the filename is record in the view child or
the sessionPathName variable.
2003-06-15 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_view.cc (setName): Method to change the view name. The
mecanism to rename view was a bit broken, fix it.
2003-06-12 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (save_multiple_cb): _ (text[0]) for
macro-construction.
2003-06-10 Hilaire Fernandes <hilaire@ofset.org>
* editor_view.cc (saveNode): Implement the text view.
2003-06-09 Hilaire Fernandes <hilaire@ofset.org>
* Release 0.9.3 various fixes in the user interface and
localisation.
2003-06-08 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (setActiveView): Recouncil the widget when
switching the active view.
2003-06-08 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.cc (addView): Set the notebook scrollable.
2003-02-01 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c: We record into a static sessionPathName a full
filename to the last saved session. (request from JPG)
2003-01-29 Hilaire Fernandes <hilaire@ofset.org>
* Doc/drgeniusCommon.tex: New environment drgeniusAPI, plus a set
of helpers macros to handle the API related paragraph.
2002-12-28 Hilaire Fernandes <hilaire@ofset.org>
* drgeo_adaptDialog.cc (updateDrgeoDialog): Update the adapt
dialog according to the actual logical state in the corresponding
drgeoFigure instance.
2003-01-26 Hilaire Fernandes <hilaire@ofset.org>
* Doc/drgeniusCommon.tex: \drgeniusIndex macro for HTML and LaTeX
index.
2002-12-26 Hilaire Fernandes <hilaire@ofset.org>
* drgeo_adaptDialog.cc (getSensitiveStateByName): Return the state
(in fact the sensitivity of the pixamp packed in the button) of
the widget button according to its name in the adaptDialog.
* Makefile.am (drgenius_LDADD): We are using the crypt library,
part of the libc6, to lock the user interface.
2002-12-25 Hilaire Fernandes <hilaire@ofset.org>
* drgeo_adaptDialog.cc (on_toolHide_clicked): The pixmap packed
into the button is used to toggle the avalaible/unavalaible state
of a tool. The pixmap sensitivity is FALSE when the tool is
unavalaible, otherwise it is TRUE.
(on_xxxMenuHide_clicked): The top button (with a green shape) can
used to select/unselct all the tool in their relative toolbar.
2002-12-24 Hilaire Fernandes <hilaire@ofset.org>
* Makefile.am (drgenius_SOURCES): Add the
drgeo_adaptDialgo.[cc/h]. These ones contain code to adapt the
dialogs of the geometry engine view.
* drgenius_mdi.c (createFigureToolbar): A toolbar instance is
created for each view, therefore user changes in the interface
take place in each view
2002-12-21 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (reconcile_grayout_widget): Hum! This is the
Rename menu entry which is not senitive when no figures are open,
not the Preferences entry.
(edit_menu): Add a customize menu entry to adpat the User
Interface per figure.
2002-12-09 Hilaire Fernandes <hilaire@ofset.org>
* glade/drgeo.glade: The mini toolbars are set to modal so they do
not disappear anymore when the user leave them, the user must
click somewhere to close it.
2002-11-11 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (edit_menu): Removed the empty menu entries
cut, copy and paste. These ones will probably never be
implemented.
2002-05-27 Hilaire Fernandes <hilaire@ofset.org>
* examples/figures/Makefile.am (figures_DATA): Contributed figure
by Adrian Ulises Soto.
2002-05-12 Hilaire Fernandes <hilaire@ofset.org>
* glade/Makefile.am (icons_DATA): Add an icon for the property
toolbar menu entry.
2002-05-04 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_help.h: Add help topic for the Dr. Genius preference
dialog.
* drgenius_main.c: Include the drgenius_help.h from here. Other
part of DrGenius can fetch the help index with an "extern
GnomeHelpMenuEntry drgeniusHelp[];" instruction.
* drgenius_help.h: This file contains the GnomeHelpMenuEntry
structure for Dr. Genius.
2002-04-13 Hilaire Fernandes <hilaire@ofset.org>
* glade/Makefile.am: Add the script.xpm and widget-script.xpm
icons.
2002-03-29 Laurent Gauthier <lolo@seul.org>
* TODO: Indicate my intent to work on the undo/redo support for
macro constructions.
2002-03-17 Hilaire Fernandes <hilaire@ofset.org>
* configure.in: Add the Doc dir in the AC_OUTPUT parameters list.
2002-03-09 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (reconcile_grayout_widget): Editor mdi child
does not need the save feature, it does not make sense to save
drgenius file with the content of a plain text buffer, so it is
grey out.
* drgenius_mdi.c (drgenius_mdi_session_open): Clarify the way
open/new child is handled. Better use of object oriented
feature for drgenius mdi child.
2001-10-07 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (edit_menu): Turn the PROPERTY menu entry to a
PREFERENCES menu entry.
2002-01-12 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.c (main_prog): Dr.Genius Guile function must be defined
before we open any drgenius file.
2001-08-06 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.c (main): Set NUMERIC locale to C type whatever
the user locale.
2001-07-27 Hilaire Fernandes <hilaire@ofset.org>
* glade/Makefile.am (icons_DATA): Add line icons.
2001-07-24 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (on_propertyBox_changed): Set initial state of
the property box to unchanged.
2001-07-22 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (about_cb): Update the Dr. Genius about dialog
to reflect its new situation.
2001-07-21 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (property_box_cb): Define a new property box
for Dr. Genius.
2001-07-18 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_main.c (main): Fix the command line parsing code.
2001-03-08 Christophe Merlet <christophe@merlet.net>
* drgenius.desktop: Added French strings.
2001-01-22 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (rename_view_cb,rename_view_string_cb): Add
methods to change the name of the MDI child view.
2001-01-02 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (about_cb): Update the DrGenius home page URL.
2000-12-14 Hilaire Fernandes <hilaire@ofset.org>
* configure.in: Check if extra ncurses/ is required or not. Thanks
to Vladimir Tamara <vtamara@gnu.org>.
2000-11-28 Martin NorbÀck <d95mback@dtek.chalmers.se>
* drgenius.desktop: Added Swedish translation.
2000-11-04 Zbigniew Chyla <cyba@gnome.pl>
* drgenius.desktop: Added Polish translation.
2000-10-26 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_menus.c (undo_cb, redo_cb): Use a the DrGeniusMdiChild
undo/redo methods to call the specific undo/redo method of the
child. Now only DrGeoMDIMethod override these methods.
(reconcile_grayout_widget): This was reconcile_save, I rename it
more accurately. It handles the undo/redo according to the view.
2000-09-11 Jesus Bravo Alvarez <jba@pobox.com>
* configure.in: Added Galician (gl) to ALL_LINGUAS
* *.desktop: Added Galician translation
2000-08-14 Hilaire Fernandes <hilaire@ofset.org>
* drgenius_mdi.c (app_created_handler): From there are defined the
specific toolbars per Dr Genius child category. A Gnome dock item
is used in the GnomeApp to hold the specific child toolbar.
(child_changed_handler): From this handler, the child toolbar is
changed when the user change of active child.
(app_deleted_handler): When there is no more active child, this
handler removes the last child toolbar from the active GnomeApp.
2000-07-29 Hilaire Fernandes <hilaire@ofset.org>
* configure.in (LINGUAS): Force LINGUAS to ALL_LINGUAS, at least I
got the locale installed after a "make install". If there is a
nicer way please tell me.
The Canvas code is no more compiled in drgenius because it's
unmaintained, if some one wants to take it, he/she can check the
0.5.7 release to see what it's about.
2000-07-15 Robert Brady <rwb197@zepler.org>
* configure.in: Add en_GB.
2000-06-21 Hilaire Fernandes <hilaire@seul.org>
* Rename drgenius all these dr-genius files.
* drgenius.spec.in: Updated outdated field.
2000-06-10 Yukihiro Nakai <nakai@gnome.gr.jp>
* configure.in: Add Japanese to ALL_LINGUAS
2000-06-07 Hilaire Fernandes <hilaire@seul.org>
* drgenius_menus.c (really_export_figure_latex_cb): Exporting to
LaTex now popup a file selection dialog.
2000-05-28 Laurent Gauthier <lolo@seul.org>
* configure.in (GMP_LIB): Fix for the detection of GMP 3.x, please
test. Implemented witht the help of Fabrice.Bellet@creatis.insa-lyon.fr.
Sun May 21 03:44:02 2000 George Lebl <jirka@5z.com>
* lib/**/Makefile.am: fix builds where builddir!=srcdir
Sun May 21 01:01:31 2000 George Lebl <jirka@5z.com>
* configure.in,Makefile.am,gobobjs/Makefile.am: remove the gob
subtree, and require gob as a separate package
2000-05-20 Hilaire Fernandes <hilaire@seul.org>
* drgeo_view.cc (exportFigureToLatex): This function is a bridge
between drgenius_menu and drgeo_figure.
* drgenius_menus.c (export_figure_to_latex_cb): Add "Export figure
to Latex" in the File menu.
2000-05-17 Laurent Gauthier <lolo@seul.org>
* exemples/figures/Makefile.am (EXTRA_DIST): Added a few xml files
to demonstrate and test some Dr. Genius features. More to come.
2000-04-18 Pablo Saratxaga <pablo@mandrakesoft.com>
* configure.in (ALL_LINGUAS): added Catalan
2000-04-16 Valek Filippov <frob@df.ru>
* dr-genius.desktop: Added russian translation.
* configure.in (ALL_LINGUAS): Added russian translation.
2000-03-11 Alastair McKinstry <mckinstry@computer.org>
* dr-genius.desktop: Added Irish translation.
* configure.in (ALL_LINGUAS): Added Irish (ga) translation.
2000-02-21 Aaron Lehmann <aaronl@vitelus.com>
* Fix a few strings for consitancy. Take out some completed items from TODO.
2000-02-15 Hilaire Fernandes <hilaire@seul.org>
* drgenius_menus.c (toolbar): Use icons provide by Frédéric
Toussaint for the toolbar.
Fri Feb 11 19:08:53 2000 George Lebl <jirka@5z.com>
* configure.in,acconfig.h,genius/genius.c: use ncurses by default
but fallback to termcap if not found
2000-02-11 Aaron Lehmann <aaronl@vitelus.com>
* drgenius_menus.c (about_cb): Fix English in about box
2000-02-10 Aaron Lehmann <aaronl@vitelus.com>
* drgenius_mdi.c (remove_view_handler): Remove debugging printf
2000-02-10 Hilaire Fernandes <hilaire@seul.org>
* Makefile.am (SUBDIRS): Add glade in the list, so its content is
installed.
2000-02-09 Aaron Lehmann <aaronl@vitelus.com>
* drgenius_menus.c (open_ok_cb): Fix segfault in file type detection
* drgenius_mdi.c (drgenius_mdi_session_open): Ignore case in XML tags
Wed Feb 09 15:36:06 2000 George Lebl <jirka@5z.com>
* configure.in: the thing should now check for tgetent in ncurses
and curses if it fails for termcap. I dunno how that works as
I haven't tried it, perhaps the headers might have to be changed
too
Tue Feb 08 21:38:54 2000 George Lebl <jirka@5z.com>
* genius_stuff.c: update to the new functions
Tue Feb 08 20:02:36 2000 George Lebl <jirka@5z.com>
* icons: this should be used for normal icons
* glade/{*.xpm,*.glade}: glade files and replated xpm files
* configure.in: add all those Makefiles
Sun Feb 06 15:35:12 2000 George Lebl <jirka@5z.com>
* drgenius_menus.c: small spell fix in the about box and use the
DRGENIUS_GLADEDIR define
* Makefile.am: define a DRGENIUS_GLADEDIR
2000-02-04 Hilaire Fernandes <hilaire@seul.org>
* drgenius_menus.c (on_sessionSaveAll_clicked): Written, so the
user just click this button to save all data in Dr Genius
(actually figure & macro, but more will come).
2000-01-30 Hilaire Fernandes <hilaire@seul.org>
* drgenius_mdi.c (drgenius_mdi_figure_open): Now use the GOB The
GTK+ Object Builder for DrGeo MDI child.
(drgenius_mdi_session_open): This is the default action when a
figure is open from the menu. This parse the XML tree and send the
a xmlNodePtr to the respective owner, actually only Dr Geo figure,
but soon macro-construction, and all the other view.
2000-01-26 Hilaire Fernandes <hilaire@seul.org>
* drgenius_menus.c (is_clist_row_selected): From a suggestion of
Rodrigo Moya. This function let me know which row are selected.
2000-01-25 Hilaire Fernandes <hilaire@seul.org>
* drgeo_view.cc (drgeo_create_view): Attach remove_drgeogtkdrawable_cb
to the destoy event of each drgeo view.
Sun Jan 23 16:27:14 2000 George Lebl <jirka@5z.com>
* Applied patch from Aaron Lehmann <aaronl@vitelus.com> for the
canvas thingie
2000-01-19 Yuri Syrota <rasta@renome.rovno.ua>
* configure.in: Added "uk" to ALL_LINGUAS.
Sun Jan 16 01:11:11 2000 George Lebl <jirka@5z.com>
* drgenius_main.c: fix a warning
2000-01-14 Hilaire Fernandes <hilaire@seul.org>
* drgenius_menus.c (save_multiple_cb): Add the macro-construction name
to the sessionsSelectList gtk clist.
* drgeo_view.cc (firstMacroName, nextMacroName): Helper functions to get
the names of avalaible macros in the registry.
1999-12-19 Hilaire Fernandes <hilaire@seul.org>
* Update the autoconf/automake file to get a proper installation. New icons
directory to put the GUI icons and glade files. When installing, this goes
to /usr/local/share/pixmaps/dr-genius/ .
* drgenius_menus.c (about_cb): Add the nice mascot from Frederic Toussaint
and put the acronym.
1999-12-18-00:54 Nils <nbarth@fas.harvard.edu>
* Added all my GEL files to the repository, which include
a rearrangement of lib.gel and LOTS of new functions.
(incidentally, this is the first time I've noted anything in the
main ChangeLog)
1999-12-16 Hilaire Fernandes <hilaire@seul.org>
* drgenius_menus.c (save_multiple_cb): Here is the the dialog for
multiple save in XML. I have to use a GTKDialog as Libglade seems
to not support GnomeDialog right now, we can adjust latter. The
interface is reentrant so the user can adjust the list of available
object by just recall File->Save multiple. Need to add list of available
macro.
Mon Dec 13 23:43:05 1999 George Lebl <jirka@5z.com>
* gobobjs/*.gob: update the header files, and explicitly add the
object headers, this reduces the number of subdependencies of the
generated headers which used to include everything themselves
Mon Dec 13 21:00:44 1999 George Lebl <jirka@5z.com>
* genius_stuff.[ch]: the GEL initialization stuff
* drgenius_mdi.c: use the new console child
* drgenius_main.c: use the new genius_stuff for init
Mon Dec 13 00:43:52 1999 George Lebl <jirka@5z.com>
* drgenius_mdi.c: use new geledit-mdi-child call to just add
view if we already have an open file of the same name
Sat Dec 11 13:50:21 1999 George Lebl <jirka@5z.com>
* genius_stuff.[ch]: not yet finished replacement for genius_view
with the init stuff which will be working with the console child
when finished
Sun Nov 28 23:46:20 1999 George Lebl <jirka@5z.com>
* genius_view.[ch],drgenius_main.c: use the drgenius-readline-helper
program for the interactive stuff to avoid readline braindamage
* drgenius_main.c: actually init with corba, though we don't use
corba yet, we will
* Makefile.am: link with corba stuff
1999-11-21 Hilaire Fernandes <hilaire@seul.org>
* configure.in : add makefile.am for the exemples directory.
Tue Nov 16 01:51:24 1999 George Lebl <jirka@5z.com>
* gobobjs/drgenius-mdi-child.gob: merge the save signals into one
* drgenius_menus.c: handle save and save as
* drgeo_view.(h|cc): handle saving using the drgenius-mdi-child
save signal
* gobobjs/geledit-mdi-child.gob,gobobjs/Makefile.am: new child
object which takes over for geledit_view and does saving as well
as well as handeling multiple views
* drgenius_mdi.c: change to make the new geledit-mdi-child to make
a new gel editor
* Makefile.am,geledit_view.[ch]: geledit_view is removed
* gobobjs/gel-text.gob: handle multiple views, saving and fix
recoloring
Mon Nov 15 00:57:39 1999 George Lebl <jirka@5z.com>
* gobobjs/drgenius-mdi-child.gob: new MDI child object derived
from GnomeMDIGenericChild and it stores filename, the view type
and will handle saving for us too.
* drgenius_menus.c,drgenius_mdi.[ch]: Start using the above child,
but I didn't yet implement the saving thing so Save still points
directly into the drgeo_view.cc which is evil. We need code
to check the type of the view and decide which saving routine
to call. I also got rid of the per view closing functions since
they didn't make sense, one should just connect to destroy handler
of the view.
Sat Nov 13 22:24:39 1999 George Lebl <jirka@5z.com>
* gobobjs/gel-text.gob: rework dynamic coloring by queing recoloring
of lines. There is still some flicker, but this is simpler
then doing recoloring only when absolutely necessary. Also changed
the load_file method to take a filename rather then FILE *, and
store the filename in our object structure.
* geledit_view.c: use the new load_file method and get rid of
the EditView structure and dead recoloring code
* drgenius_menus.c: when we can't find a file to open, don't close
the filebox, just display an errordialog with the file dialog
as parent. Also don't display the file dialog as modal as
there is no need for this
Sat Nov 13 16:58:40 1999 George Lebl <jirka@5z.com>
* gobobjs/gel-text.gob: a bit more work on colorizing keyboard
input
Sat Nov 13 15:21:37 1999 George Lebl <jirka@5z.com>
* gobobjs/{Makefile.am,gel-text.gob},Makefile.am: separate directory
for gob objects becouse of automake braindeadness about built
sources, this is the GelText widget that is a GtkText with GEL
color syntax highlighting (not finished)
* geledit_view.c: use GelText and remove the Stream source which was
put into GelText now
* Makefile.am: add gob to built process
* configure.in: add gob to build process and create a NOINST_GOB file
to make the included gob source not install
1999-10-28 Laurent Gauthier <lolo@seul.org>
* drgenius_main.c (main): removed the need for drgeo_init(), and
therefore no need to include drgeo/drgeo.h.
Sat Oct 23 22:58:07 1999 George Lebl <jirka@5z.com>
* drgeo_view.(cc|h),drgenius_menus.[ch],drgenius_mdi.[ch]: move
file open to drgenius_menus and remove my broken hack of the
old open strategy, there is a proper GEL view open/close
function now and we can make new files
Sat Oct 23 17:34:46 1999 George Lebl <jirka@5z.com>
* geledit_view.c: set adjustments when recoloring
Sat Oct 23 17:08:19 1999 George Lebl <jirka@5z.com>
* geledit_view.c: implement a very simple and dumb recoloring
scheme for syntax coloring
Sat Oct 23 14:01:29 1999 George Lebl <jirka@5z.com>
* genius_view.[ch],geledit_view.[ch]: declare extern GnomeMDI, and
in geledit, actually insert the text widget for the filename
Sat Oct 23 13:52:25 1999 George Lebl <jirka@5z.com>
* Makefile.am: add geledit_view.[ch], and add header files as
otherwise make dist wouldn't work
* geledit_view.[ch]: the very beginnings try at a gel file editor
* drgenius_mdi.c: try to figure out by extention what file
type we have
1999-10-17 Hilaire Fernandes <hilaire@seul.org>
* drgenius_main.c (main): add drgeo_init(), this initialises popup menu
1999-10-17 Laurent Gauthier <lolo@seul.org>
* drgeo_view.cc, drgenius_menus.c, drgenius_mdi.c: "Open", "Save"
and "Save As..." menu entries are now implemented.
Mon Sep 27 19:26:41 1999 George Lebl <jirka@5z.com>
* genius_view.c: add support for the new parameters
Sun Sep 26 21:36:14 1999 George Lebl <jirka@5z.com>
* Makefile.am: remove dr-genius.c and add dr-genius as the only
target
* genius_view.c: make the copyright notice display say that it
is Dr.Genius, not Genius :)
Sun Sep 26 21:13:02 1999 George Lebl <jirka@5z.com>
* drgenius_main.c: call genius_init from genius_view.c to initialize
the calculator
* genius_view.c: some preliminary work to get readline, zvt and
genius to behave properly when they don't have a free reign over
the process
1999-09-25 Kjartan Maraas <kmaraas@online.no>
* da.po: Added da to ALL_LINGUAS.
1999-09-23 Laurent Gauthier <lolo@seul.org>
* Makefile.am: added information necessary to create the
dr-genius2 executable which is the prototype of DrGenius with
MDI support. Run 'make dr-genius2' to create it.
* drgenius_main.c, drgenius_mdi.c, drgenius_mdi.h: New files.
* drgenius_menus.c, drgenius_menus.h: New files.
* genius_view.h, genius_view.c: This where you will have to plug
your code George. This is where the creation of a new MDI view
is handled for the Genius part of DrGenius.
* drgeo_view.h, drgeo_view.c: New files. This is where the
creation of a new MDI view is handled for the DrGeo part of
DrGenius.
1999-09-19 Hilaire Fernandes <hilaire@seul.org>
* Configure/Makefile: add entry for Dr Geo
1999-09-18 Pablo Saratxaga <pablo@mandrakesoft.com>
* genius/eval.c: fixed little english typo
1999-09-07 Tomas Ogren <stric@ing.umu.se>
* genius/eval.c: Fixed a typo
Mon Sep 06 14:38:44 1999 George Lebl <jirka@5z.com>
* Release 0.4.6: last Genius before integration with Dr.Geo
Mon Sep 06 09:43:16 1999 George Lebl <jirka@5z.com>
* src/lexer.l: accept E+ for floats as well
Sun Sep 05 17:06:23 1999 George Lebl <jirka@5z.com>
* src/gnome-genius.c,src/funclib.c: rework the info/error dialogs
and make them display in a textbox if there is too much text,
also rework how info's and errors are printed to screen so that
we don't hang (for example on 'help')
Sun Sep 05 14:16:20 1999 George Lebl <jirka@5z.com>
* src/lexer.l: read E as well for exponents in floats
Thu Sep 02 14:05:50 1999 George Lebl <jirka@5z.com>
* Release 0.4.5
Thu Sep 02 14:00:19 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: don't check/free values after mpw_clear again
1999-09-03 Zbigniew Chyla <chyla@alice.ci.pwr.wroc.pl>
* configure.in (ALL_LINGUAS): Added pl.
Wed Sep 01 20:36:01 1999 George Lebl <jirka@5z.com>
* src/calc.h,src/eval.c,src/genius.c,src/gnome-genius.c: add an
option for limitting the number of errors printed out
* README: document the above option and full_expressions
Wed Sep 01 19:50:41 1999 George Lebl <jirka@5z.com>
* src/eval.[ch],src/parse.y: backdivision for matrices
* src/funclib.c: don't allow trying exp of non-square matrices
Fri Aug 20 22:06:43 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: get around a gmp bug with converting negative
rationals to floats
* src/calc.c,configure.in,aclocal.h: if wordexp is not present
use an ugly shell popen hack to try to do the same, but it's
not 100% working
Tue Aug 17 22:25:44 1999 George Lebl <jirka@5z.com>
* src/eval.c,src/calc.[ch],src/util.[ch],funclib.c: made the thing
not print out huge expressions by default
* src/genius.c,src/gnome-genius.c: added options for the maximum
size thing
* src/funclib.c: fixed getting some arguments
1999-08-09 Tomas Ogren <stric@ing.umu.se>
* configure.in (ALL_LINGUAS): 'de' does exist (it's revived).
1999-08-08 Anders Carlsson <anders.carlsson@tordata.se>
* configure.in (ALL_LINGUAS): Removed 'de' since no .po file exists
for that language.
1999-08-08 Tomas Ogren <stric@ing.umu.se>
* configure.in: Removed 'ga', it was removed from cvs (and
contained 1 translated message)
Mon Aug 02 08:08:41 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c,src/testplugin.c: fix coshbug and testplugin not
including config.h reported by
Jeroen Nijhof <J.H.B.Nijhof@aston.ac.uk>
Wed Jul 28 02:09:51 1999 George Lebl <jirka@5z.com>
* src/*: removed unused variables
* src/{test.plugin.in,plugin.[ch],plugread*.c,genius.c,gnome-genius.c}:
added a GUI parameter to plugin description to specify if this
plugin is GUI only, and don't even add it to the list on the
command line version
* src/{calc.c,eval.[ch],funclib.c}: change parameter setting getting
routines and do a preprocessing run on the tree to set and get
the parameters as vars
* README,NEWS: updated
Tue Jul 27 05:33:47 1999 George Lebl <jirka@5z.com>
* src/{parse.y,lexer.l,eval.c}: added mod evaluation
* src/{lib.gel,funclib.c}: added some more help strings
* src/{eval.[ch],funclib.c}: added way to call gel functions
internally and implemented a simple exp for matrixes that has
the correct result
Thu Jul 15 05:13:35 1999 George Lebl <jirka@5z.com>
* src/lib.gel: much nicer/faster way of computing fibbonachi numbers
from njh@cs.monash.edu.au
Fri Jul 02 06:50:54 1999 George Lebl <jirka@5z.com>
* src/{lexer.l,parse.y,calc.c,plugread*.c,plugin.h}: added a plugin
toplevel command to load in plugins, and for loading files I use
wordexp call since that actually does the right thing instead of
splitting at spaces and glob
Tue Jun 22 06:51:08 1999 George Lebl <jirka@5z.com>
* Release 0.4.4
Fri Jun 18 05:25:27 1999 George Lebl <jirka@5z.com>
* configure.in: added check for glib 1.2+, and for gmodule
* src/Makefile.am: add building of test.plugin, building of a test
plugin shared lib, installing some headers etc ...
* src/plugin.[ch]: the plugin loading "interface" using gmodule
* src/gnome-genius.c: add a menu for loading plugins
* src/plug_api.h: a very simple beginning plugin API
Tue Jun 15 02:26:19 1999 George Lebl <jirka@5z.com>
* src/lexer.l: apply fix from Squeak <squeak@xirr.com>
Mon Jun 14 07:04:44 1999 George Lebl <jirka@5z.com>
* src/eval.c: fix memleak
1999-06-05 Tomas Ogren <stric@ing.umu.se>
* src/genius.c: Fixed some i18n and a grammatical error
* configure.in: Added sv to ALL_LINGUAS
Tue Jun 01 10:18:17 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: fix problems with negative exponents in mpw_pow_z
Mon May 31 13:05:26 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: fixed a bug with negative small integer exponents
* src/geniustests.txt: added tests for the above
Fri May 28 11:19:40 1999 George Lebl <jirka@5z.com>
* src/*.c: include config.h in all the files, there were some which
didn't have this (whoops)
Thu May 27 09:02:28 1999 George Lebl <jirka@5z.com>
* src/eval.c: apply fix from Squeak <squeak@xirr.com> to fix segfault
Wed May 26 19:37:15 1999 George Lebl <jirka@5z.com>
* Release 0.4.3
Mon May 24 16:35:51 1999 George Lebl <jirka@5z.com>
* src/{lexer.l,parser.y}: fixed up a bit the new syntax and took out
the define keyword
* src/{inter.c,calc.c}: fixed problems with the test parser
* src/{structs.h,parser.y,eval.c,funclib.c,calc.c,compil.c}:
implemented quoted matrixes
Mon May 17 23:55:50 1999 George Lebl <jirka@5z.com>
* src/parse.y: took out the old way (bc) of writing function as we
will need the "{}" for sets, added some set rules, but no
functionality
* src/strucs.h,src/*.c: changed ETree to be a union of structs to
do the polymorphism in a nicer manner and to allow more future
extention, this requires some changes to any code using ETree's
(if anybody has done anything like that)
* src/*.c: fixed miscellaneous bugs
* configure.in: raised version
1999-05-18 03:27 1999 Tomas Ögren <stric@ing.umu.se>
* src/*.c: Fixed i18n support
Thu May 13 00:50:33 1999 George Lebl <jirka@5z.com>
* src/plugread*.[ch]: new routine that has a gnome and a dumb
non-gnome implementation so it's separated into two files
* src/calc.[ch]: add ability to read a list of .plugin files
(no plugin functionality yet!)
* src/{genius.c,gnome-genius.c,Makefile.am}: move lib.cgel into
a /gel/ subdirectory when installed and add a plugins directory
as well to add .plugin files into
* src/test.plugin: just a simple test file
Wed May 12 01:34:04 1999 George Lebl <jirka@5z.com>
* src/{calc.[ch],inter.[ch],genius.c,gnome-genius.c}: instead of
the ugly interactive mode hack, I now do test parses, which is
not extremely efficent, but it's only in interactive mode and
it works perfectly and more cleanly
Tue May 11 23:57:41 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: small optimization and minor correction on mpwl_move
* src/{eval.[ch],dict.[ch]}: minor optimizations wrt to removing
redundunt node copying
Tue May 11 01:10:45 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: fix reduction of fractions on small integer
division
Mon May 10 21:01:42 1999 George Lebl <jirka@5z.com>
* Release 0.4.2
Mon May 10 20:52:18 1999 George Lebl <jirka@5z.com>
* src/*,po/*: try to get NLS to work but I just can't get it
working
Mon May 10 18:45:53 1999 George Lebl <jirka@5z.com>
* src/calc.[ch]: separated evalexp into more logical functions,
removed do_interrupts from state
* src/{genius.c,gnome-genius.c,inter.c,calc.c}: handle interrupts
in input as well and handle SIGINT in genius.c
Mon May 10 02:11:03 1999 George Lebl <jirka@5z.com>
* src/inter.[ch]: this file contains the readline stuff now as
it is separated from the rest of the code. It contains a HACK
however to figure out the bounds of a single expression in the
same way that the lexer/parser do. This is of course not
possible without a parser, but it should be ok for normal use
and only differs in functionality in cases of errors (or should)
* src/{genius.c,gnome-genius.c,calc.c,lexer.l}: get rid of readline
stuff that is now in inter
* src/gnome-genius.c: add a Load file menu item which is the same
as the load command
* src/Makefile.am: add inter.[ch]
* src/parse.y: accept unary '+' as well as a no op
* src/geniustests.txt: add some simple tests
Sat May 08 15:15:50 1999 George Lebl <jirka@5z.com>
* src/matrixw.c: don't use padding of 10 but 0.1 of the size to a
maximum of 10 for allocation of new space, this improves the
performance by about 15% in calculations heavy on allocation of
new small matrices. Also fixed a segfault in reallocating matrix
to a larger size
* configure.in: raise version number
Sat May 08 14:09:21 1999 George Lebl <jirka@5z.com>
* src/dict.c: Make "ans" be a synomym for "Ans" to make matlab
people happy
* src/funclib.c: is_rational,is_integer,is_complex and is_float, now
never fail, they just return 0, also added is_real as well
* src/lib.gel: updated to use the above fact to make the argument
tests nicer and faster
* README: updated for the above
Fri May 07 20:25:04 1999 George Lebl <jirka@5z.com>
* src/{eval.[ch],calc.c}: add a vector element operator
* src/lib.gel: fix the delrowcol function and add a pascal
function
* README: update
Fri May 07 14:50:54 1999 George Lebl <jirka@5z.com>
* src/eval.c: correct check for matrix dimensions on multiplication
Thu May 06 21:20:01 1999 George Lebl <jirka@5z.com>
* src/{dict.[ch],eval.c}: don't look up the dereference in the
immediate context when assigning to a function argument
* src/geniustests.txt: add test for the above
Thu May 06 17:48:02 1999 George Lebl <jirka@5z.com>
* src/matrixw.c: fix a segfault on matrix size setting
Thu May 06 00:26:37 1999 George Lebl <jirka@5z.com>
* Release 0.4.1
Tue May 04 02:05:00 1999 George Lebl <jirka@5z.com>
* src/gnome-genius.c: add some terminal options and make ^C do
interrupt of calculations
1999-05-03 Havoc Pennington <hp@pobox.com>
* configure.in: Check for termcap, then use -ltermcap in the
readline check only if termcap was found (some readlines don't
require -ltermcap apparently)
Mon May 03 00:46:15 1999 George Lebl <jirka@5z.com>
* src/gnome-genius.c: minor cleanup and maybe fix a segfault
Sun May 02 23:43:31 1999 George Lebl <jirka@5z.com>
* src/gnome-genius.c: add new options for max digits and precision
* src/genius.c: set calcstate_hook
* src/mpwrap.c: nicer pi calculation and some sanity checks plus
removing of caches if precision changed
* src/funclib.c: add functions for changing calcstate and dumping
cached vars when precision changes
* src/calc.c: add the abitily to change precision and some fixes
to initialization
* README: updated with new functions
Sun May 02 20:10:38 1999 George Lebl <jirka@5z.com>
* src/gnome-genius.c: more work on the ui, don't start new processes
anymore, just set the fd for the terminal so that the terminal
writes everything into readline directly without a need for
an external process
* src/calc.[ch]: added infoout function for information messages,
changed evalexp interface to be more sane, load and save the
help documentation database for the functions that are being
stored (and only those)
* src/funclib.c: use infoout for warranty and such
* configure.in: raise version and fix readline check to work with
readline 4.0
Sun May 02 12:56:12 1999 George Lebl <jirka@5z.com>
* src/{genius.c,gnome-genius.c}: add a missing \n and put colors
inside gnome-genius and add an option on where to write errors
Sun May 02 02:18:09 1999 George Lebl <jirka@5z.com>
* src/gnome-genius.c: the start of the promised overhaul
of the gui version, now uses zvt and so behaves somewhat
like the command line version but with gui config
* src/calc.[ch]: hooks for checking for events inside evalnode,
way to set parameters while in evaluation, online function
documentation stuff
* src/funclib.c: document a bunch of routines with the new
descriptions, and add help and sethelp functions
* src/calc.c: do tilde expansion using readline's functions
* configure.in,src/{lexer.l,calc.c,genius.c}: readline is now
required to compile genius
* README: updated for the help functions
Sat May 01 04:13:42 1999 George Lebl <jirka@5z.com>
* Release 0.4.0
Sat May 01 04:08:05 1999 George Lebl <jirka@5z.com>
* src/lib.gel: added abs,adj and delrowcol functions
* src/eval.c: implement integer powers for matricies, absolute
value and division
* src/geniustests.txt: added some tests
* README: updated for new functions
Fri Apr 30 17:09:14 1999 George Lebl <jirka@5z.com>
* src/{lexer.l,parse.y,eval.[ch],calc.c}: add a 'for in do' for
loop, for iterating over the elements of a matrix
* src/lib.gel: added a whole bunch of statistical functions and
use the above construct more over the whole library
* src/{calc.[ch],genius.c,gnome-genius.c,lexer.l}: at least for
parsing errors, display line numbers and file information
* src/geniustests.txt: added a bit of tests
* README: added description of the new construct and of the new
functions
Fri Apr 30 01:51:49 1999 George Lebl <jirka@5z.com>
* src/lexer.l: add <> as an alternative !=
* src/{eval.[ch],parse.y}: make new node type, SPACER, and
push it for parenthesised nodes
* src/{eval.[ch],calc.c}: add new node type, COMPARISON_NODE,
and just before evaluation, replace all comparison operators
by comparison nodes, using spacers as stops so that parenthesis
are still honored, then remove the spacers, also add evaluation
and prining of the COMPARISON_NODE, with this change, ambiguous
comparison expressions are now handled better in terms of math
(e.g. 3<x<=7 is possible), also added evaluation of strings for
all the comparison operators
* src/geniustests.txt: added a bunch of tests
* TODO: removed the comparison item
* README: updated about the comparison operator changes
Thu Apr 29 15:38:55 1999 George Lebl <jirka@5z.com>
* src/{eval.[ch],dict.[ch],calc.c}: pass functions by value, and
differentiate between functions and variables, when evaluating a
function without (...) return a function node with the function.
this breaks compatibility a bit
* src/lib.gel: use functions by value everywhere
* src/geniustests.txt: update
* README: change stuff relating to function calling and references
* TODO: remove what was done
Thu Apr 29 13:55:54 1999 George Lebl <jirka@5z.com>
* src/{lexer.l,parse.y}: a much much nicer syntax for writing
functions the old one is still there but is depreceated
* src/geniustests.txt: updated for the new stuff above
* src/lib.gel: updated for the new stuff
* README: updated
* TODO: add entries for 0.4.0
* configure.in: raise version to distinguish cvs from released
Thu Apr 29 09:00:36 1999 George Lebl <jirka@5z.com>
* src/lib.gel: changed catallan to catalan
* src/eval.c: a !,- operators for matrixes, <=> operator for strings
* src/{compil.[ch],eval.c,dict.c,calc.[ch],genius.c,gnome-genius.c}:
created "compiled" GEL files, to make startup much faster,
functions are not actually even parsed until they are needed
* src/Makefile.am: compile and install lib.cgel
* src/geniustests.txt: small update
* README: updates
Wed Apr 28 21:51:48 1999 George Lebl <jirka@5z.com>
* src/eval.c: add == and != to matrix support and != for strings
Wed Apr 28 18:03:19 1999 George Lebl <jirka@5z.com>
* src/matop.[ch]: implemented an internal version of the
gauss algorithm and put some matrix operations in this file
and added a determinant function
* src/eval.c: take out the matrix multiplication from here
* src/matrixw.c: fix a problem with matrix refcounting
* src/funclib.c: added the det,ref and rref functions
* src/lib.gel: added rad2deg,deg2rad,minimize,diagonal and
swaprow functions, and took out the ref and rref functions
* README: updated
Wed Apr 28 00:35:29 1999 George Lebl <jirka@5z.com>
* src/mpwrap.[ch]: add_ui sub_ui and ui_sub routines added
* src/{eval.[ch],calc.c,parse.y,lexer.l}: added an iterative for
loop
* src/lexer.l: added null to be '.' so that printouts are legal GEL
* src/lib.gel: added catallan, adjoint and string functions and
avoided new reserved words
* src/geniustests.txt: added a couple new tests
* README: updated
Mon Apr 26 02:27:24 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: complete complex number support (hopefully) and
a whole bunch of fixes
Sat Apr 24 18:24:53 1999 George Lebl <jirka@5z.com>
* Release 0.3.2
Sat Apr 24 18:20:00 1999 George Lebl <jirka@5z.com>
* src/funclib.c: fix prime function to return correct values
* src/{funclib.c,lib.gel}: added functionality to call scalar
type functions with matrixes to work on node by node basis
* src/geniustests.txt: added a couple of tests
* README: updated
Sat Apr 24 16:49:22 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: use a trick from bc for calculating atan close to 1
Thu Apr 22 22:51:15 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: added a somewhat working arctan and implement
ln for complex numbers, also fix some errors with errors :)
* src/lib.gel: implement a whole bunch of trigonometric functions
and a bunch of other functions
* README: updated
Thu Apr 22 19:02:52 1999 George Lebl <jirka@5z.com>
* src/{calc.c,genius.c,gnome-genius.c,eval.c}: ignore SIGINT, and
in calculations halt calculations on SIGINT
Thu Apr 22 15:49:37 1999 George Lebl <jirka@5z.com>
* src/{mpwrap.[ch],funclib.c}: added jacobi,legendre and
perfect_square functions from gmp
* src/lib.gel: add infsum,infsum2,convol,convol_vec,matsum and
matprod functions
* src/geniustests.txt: add some tests
* README: updated
Thu Apr 22 02:39:19 1999 George Lebl <jirka@5z.com>
* src/lib.gel: test for complexness of arguments
* src/{mpwrap.[ch],funclib.c}: move reduction of sin/cos arguments
to the sin cos functions in mpwrap, added sinh/cosh variety and
added handeling of complex numbers for sin/cos/sinh/cosh/abs/exp,
also added float function to make things floating
* src/{mpwrap.[ch],genius.c,calc.c,gnome-genius.c}: remove the
ugly make_floats_ints hack since it is just not a correct
thing to do
* src/mpwrap.c: when printing out complex numbers with imaginary
part negative, don't print '+'
* README: add the sinh/cosh/float functions
Tue Apr 20 15:30:07 1999 Erik Walthinsen <omega@cse.ogi.edu>
* added spec.in file and changed Makefile.am/configure.in to match
Fri Apr 16 23:11:54 1999 George Lebl <jirka@5z.com>
* src/funclib.c: added a set_size function which returns a new
matrix of a specified size with the old one in it as it fit
* src/geniustests.txt: update
* README: update
Fri Apr 16 22:58:01 1999 George Lebl <jirka@5z.com>
* src/{parse.y,lexer.l,eval.c,calc.c}: added the range operator
for matrix indexes, and this adds a lot more flexibility to
manipulating matrixes.
* src/parse.y: added an implicit null node if ';' is at the end
of a parenthesis or a block, so that it can act somewhat
like a terminator instead of just a separator
* src/geniustests.txt: added a whole bunch of new tests for new
things
* README: updated for the above changes
* src/lexer.l: always display secondary prompt from the lexer as
this is the correct behaviour
Fri Apr 16 20:38:37 1999 George Lebl <jirka@5z.com>
* src/eval.c: fix segfault on errors of matrix index evaluating
* src/matrixw.c: fix set_region for matrixes of different ->tr
value
* src/geniustests.txt: add tests for the above
Fri Apr 16 20:03:03 1999 George Lebl <jirka@5z.com>
* src/{matrix.[ch],matrixw.[ch],eval.c,calc.c,funclib.c,structs.h}:
implement wrappers around matrices, to not store 0 nodes, to
do a copy-on-write kind of allocation, which increases memory
efficency and speed by an order of magnitude
* src/eval.c: don't reevaluate variables, unless they are called
as functions with ()
* src/geniustests.txt: updated with a couple of new tests
Fri Apr 16 01:14:22 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c,src/funclib.c,src/mymath.[ch]: remove mymath.[ch],
rewrite functions in native gmp and moved them to mpwrap
Thu Apr 15 20:26:46 1999 George Lebl <jirka@5z.com>
* Release 0.3.1
Thu Apr 15 20:24:47 1999 George Lebl <jirka@5z.com>
* src/{eval.c,dict.c,parse.y,lexer.l,calc.c}: fix many memory
leaks
* src/genius.c: added a switch to run in non-readline mode although
that doesn't work too well
* configure.in,src/*.c: added the standard gnome compile warnings
and corrected the ones I could
* src/{parse.y,lexer.l}: add syntax for future replacement of the
GET_ROW and GET_COLUMN by GET_RANGE which will be far more
flexible (and won't change current syntax)
* src/lib.gel: (rref) corrected out of bounds problem for some
matrixes
Thu Apr 15 16:40:47 1999 George Lebl <jirka@5z.com>
* src/lexer.l,src/calc.c,src/util.[ch]: accept escaped characters
inside strings, print escaped strings
* src/lexer.l,src/calc.c: add a load command that loads files with
gel code
* README: update
Thu Apr 15 04:08:58 1999 George Lebl <jirka@5z.com>
* src/matrix.c: fix segfault problem with setting a matrix size
Wed Apr 14 12:22:30 1999 George Lebl <jirka@5z.com>
* src/lib.gel: got rid of the gauss function and replaced it with
more general ref and rref functions, and added a trace function
* src/mpwrap.c: fixed an integer division bug with negative
denominators
* src/geniustests.txt: added more tests
* README: updated for the above changes
Wed Apr 14 04:13:42 1999 George Lebl <jirka@5z.com>
* src/eval.c: 'or' and 'and' now evaluate their arguments as they
go instead of all of them upfront, so that the conditial
evaluation tricks works as well.
* src/{lexer.l,parse.y,eval.[ch],calc.c}: added break and continue
statements for loops
* src/lib.gel: implemented gauss, a function to solve systems of
equations using the gauss method
* src/geniustests.txt: added some new tests for new things
* src/funclib.c: added is_value_only function to test matrixes
for being all value matrixes
* README: updated
Tue Apr 13 23:56:08 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: fix a segfault bug with multiplication
* src/funclib.c: add derpoly and der2poly functions that take
derivatives of polynomials
* src/eval.[ch],src/funclib.c: add a new function to speed up some
operations when making new value nodes
* README: update for the above functions
Tue Apr 13 21:04:54 1999 George Lebl <jirka@5z.com>
* src/funclib.c: add two new functions is_function and
is_function_ref, usefull for checking arguments
* src/lib.gel: check arguments better for library functions
* src/eval.c: keep a fake token around when evaluating a reference
to an anonymous function so that we can retrieve the function
later
* src/funclib.c: add rows and columns function for checking sizes
of matrixes
* README: update for new functions
Tue Apr 13 19:44:47 1999 George Lebl <jirka@5z.com>
* src/funclib.c: added a whole bunch of polynomial manipulation
functions, now that we can do vectors
* src/geniustests.txt: added tests for the above
* README: updated for polynomials
* configure.in: raise to 0.3.1 so that it doesn't get confused with
the released version
* po/*: updates from release 0.3.0
* src/Makefile.am: updates from release 0.3.0
Tue Apr 13 01:16:35 1999 George Lebl <jirka@5z.com>
* src/{parse.y,eval.c}: add new transpose "'" operator
* src/funclib.c: add is_value,is_matrix,is_string functions
* src/eval.c: implemented matrix +,- and *
* README: update
* NEWS: move stuff from Changes-0.2 and add new changes for this
relese (0.3)
* configure.in: raise version to 0.3.0
Mon Apr 12 16:32:14 1999 George Lebl <jirka@5z.com>
* src/funclib.c,README: added some documentation of the built in
functions and change isnull to is_null for consistency
Mon Apr 12 16:06:05 1999 George Lebl <jirka@5z.com>
* src/eval.c: add string concatenation, and added error handeling
to primitives, and unified the macros for primitives and
logical operations
Mon Apr 12 04:23:35 1999 George Lebl <jirka@5z.com>
* src/eval.c: switched around the order of the indicies for
matricies, to be mathematically correct (row,column) not
(column,row), and implemented all the @(...,...) operations,
including with the equals sign. Plus fixed some error checking
for undefined references all over the place and references on
setting are not global anymore to be consistent
* src/geniustests.txt: added tests for new operations
* src/mymath.c,src/funclib.c: implemented "e" using exp(1)
Sun Apr 11 15:46:05 1999 George Lebl <jirka@5z.com>
* src/calc.c: small fixes and some sanitizing, the thing still leaks
like hell
Sun Apr 11 15:21:11 1999 George Lebl <jirka@5z.com>
* src/{parse.y,eval.[ch],mpwrap.c}: fix outrageous memory leaks
Sun Apr 11 03:05:52 1999 George Lebl <jirka@5z.com>
* src/{geniustests.txt,mpwrap.c}: add a couple of tests, and fix
division of integers
Sun Apr 11 02:54:16 1999 George Lebl <jirka@5z.com>
* src/funclib.c: new functions: prime (for experiments with smaller
primes, returns the nth prime for n<=100000), and lcm
Sun Apr 11 02:52:36 1999 George Lebl <jirka@5z.com>
* src/{eval.c,calc.c,parse.y,lexer.l}: add bailout and exception
operators so that we may do nice errors from gel functions
* src/lib.gel: implement argument checking
* src/{eval.c,calc.c,funclib.c,util.c,Makefile.am},configure.in:
make a define when using gnome ... and when not using it don't
include gnome.h and define _() to be a no-op
Fri Apr 09 17:26:55 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: sped up exp and ln and implemented floating point
pow function using those, exp might be off in precision bits,
someone with more clue then I has to look at that I guess
Fri Apr 09 01:55:07 1999 George Lebl <jirka@5z.com>
* src/mpwrap.c: very minor improvements and changes ... these
algorithms really do suck
Thu Apr 08 20:25:18 1999 George Lebl <jirka@5z.com>
* src/mpwrap.[ch],src/funclib.c: add exp and ln functions
* src/mpwrap.c: fix small leak
Mon Apr 05 03:54:10 1999 George Lebl <jirka@5z.com>
* src/lexer.l: allow _'s in function names
* src/funclib.c: implement is_rational,is_float,is_integer and
error (which prints an error) functions
* src/geniustests.txt: added new tests for new features
Mon Apr 05 03:30:28 1999 George Lebl <jirka@5z.com>
* src/{parse.y,lexer.l}: change matrix index syntax
* src/eval.c: implement evaluation of simple matrix index, This
doesn't yet do setting of matrix values, which will become a bit
tricky
* src/funclib.c: implement I function (identity matrix)
* src/mpwrap.c: implement mpw_get_long function
Mon Apr 05 01:21:01 1999 George Lebl <jirka@5z.com>
* src/calc.c: set Ans to the last answer
* README: updated a bit and added a section on matrix entry
Fri Apr 02 15:50:45 1999 George Lebl <jirka@5z.com>
* src/matrix.h: add parenth for the matrix_index macro to avoid
weird problems
* src/geniustests.txt: added a test for previously non-working
matrix expansion
* src/{funclib.c,calc.[ch],genius.c,gnome-genius.c}: made the
pretty printing done only when in command line interactive
mode
Fri Apr 02 02:20:01 1999 George Lebl <jirka@5z.com>
* src/eval.c: hopefully finished the correct expanding/evaluating of
matrices, and the basic matrix handeling
* src/calc.c: printing of matricies
* src/lexer.l: added alternative way of entering matricies
* src/structs.h,src/matrix.c: small fixes
* src/parse.y: get rid of debug info
* src/geniustests.txt: added tests for matrix expansion
* configure.in: raise version to 0.2.2
Thu Apr 01 02:36:39 1999 George Lebl <jirka@5z.com>
* src/genius.c,src/gnome-genius.c: look for the library file in the
current directory as well
* src/parse.y,src/matrix.[ch]: more work on the matrix stuff,
hopefully finished the matrix ADT, and finished parsing and
reading of a matrix
Thu Mar 25 01:11:32 1999 George Lebl <jirka@5z.com>
* src/lib.gel: added nCr, nPr and fib(for fibonacci numbers), dumb
and simple functions
* src/lexer.l: accept string longer then one character
* src/funclib.c: print functions don't print "'s around strings
Thu Feb 18 23:50:19 1999 George Lebl <jirka@5z.com>
* src/genius.c,src/gnome-genius.c: read <prefix>/share/genius/lib.gel
and ~/.gnomeinit on startup as gel programs
* src/funclib.c: set error_num=0 on error to keep the expression
* src/lib.gel,Makefile.am: new library file, now has prod and sum
functions
Thu Feb 18 01:39:52 1999 George Lebl <jirka@5z.com>
* src/mpwrap.[ch]: implemented floor,ceil,trunc,abs and corrected
round
* src/parse.y,eval.c: added |<expr>| absoulte operator
* src/funclib.c: added floor,ceil,trunc,min and max functions
Thu Feb 11 02:29:17 1999 George Lebl <jirka@5z.com>
* src/mpwrap.[ch],src/funclib.c: added a gcd function and fixed a
couple of errors
Thu Feb 11 02:03:48 1999 George Lebl <jirka@5z.com>
* src/mpwrap.[ch]: _move function to speed up working with
temporaries, and on the fly allocation of gmp structs
for more speed and less memory usage
Thu Feb 11 00:51:12 1999 George Lebl <jirka@5z.com>
* src/mpwrap.[ch]: add native int type for faster calculation,
but gains are fairly minimal, corrected errors with negative
exponentiation on integers
* src/{eval.c,calc.c,dict.[ch],parer.y,lexer.l}: fixed a whole
bunch of errors, segfaults and memory leaks, and implemented
a token system somewhat like the x atoms to avoid hash table
lookups. This can speed up execution quite a bit.
Sat Jan 09 06:56:31 1999 George Lebl <jirka@5z.com>
* gnome-genius.c: standardize menus and use appbar for menu hints
1999-01-02 Christopher Blizzard <blizzard@appliedtheory.com>
* src/Makefile.am: Add rules to generate the parse.h file.
Wed Dec 2 22:23:40 PST 1998 Manish Singh <yosh@gimp.org>
* lexer.l: fix small typo
Mon Nov 30 02:29:55 1998 George Lebl <jirka@5z.com>
* src/*: merge in the GEL2 language stuff, the old GEL is dead,
long live the new GEL
Thu Nov 26 21:55:59 EST 1998 Gregory McLean <gregm@comstar.net>
* gnome-genius.c : gtk_clist changes to sync with new gtk.
Thu Nov 19 16:20:16 CST 1998 Richard Hestilow <hestgray@ionet.net>
* gnome-genius.c, gnome-genius-ide.c: Added underscore accelerators, no
longer right justify "Help" menu either.
Sat Nov 7 22:10:05 PST 1998 Manish Singh <yosh@gimp.org>
* gnome-genius.c
* gnome-genius-ide.c: commented out bogus GNOME_APP_UI_HELP entry.
Updated for new gnome-init params
Mon Sep 28 22:05:19 1998 George Lebl <jirka@5z.com>
* src/mpwrap.c: fixed a couple of bugs
Sat Sep 19 15:05:42 1998 George Lebl <jirka@5z.com>
* src/mpwrap.c: optimized use of gmp vars with a copy-on-write
type alg, and got rid of a few temp gmp vars for common special
cases, this makes genius about twice as fast on my tests
Fri Sep 18 20:31:29 1998 George Lebl <jirka@5z.com>
* src/eval.c: profiling, I will need to make a copy-on-write
type varibales for the gmp variables, in large computations,
genius goes nuts with gmp calls
Fri Sep 18 18:22:39 1998 George Lebl <jirka@5z.com>
* src/genius.c: fix bug to allow processing of more then one
expression per file
* src/{calc.[ch],genius.c,gnome-genius.c,funclib.c}: made the
output function utilize file handles as well for saner use with
the command line
* src/{lexer.l,parser.y}: add possibility of changing the ntoation
within an expression (this was just too cool not to add, but I
doubt it's all that usefull)
Fri Sep 18 01:22:06 1998 George Lebl <jirka@5z.com>
* src/{eval.c,calc.c,structs.h,mpwrap.[ch]}: cleanups in structures
and memory handling
Thu Sep 17 01:17:54 1998 George Lebl <jirka@5z.com>
* src/matrix.[ch]: more matrix lowlevel work
* src/{eval.c,dict.c}: keep a free list of tree_t/func_t nodes and
fix a memory leak
Sun Sep 13 23:45:11 1998 George Lebl <jirka@5z.com>
* src/lexer.l: better prompt, comments
* src/{parse.y,calc.c,eval.c}: NULL command '.', it makes the
expression return empty string (null)
* src/funclib.c: print function
* src/genius.c: act like a real unix interpretor, so one can now
write genius scripts
1998-09-14 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* po/pt.po: Updated.
Sun Sep 13 19:21:49 PDT 1998 Manish Singh <yosh@gimp.org>
* configure.in: correct test for -lgmp2 case
Sun Sep 13 03:26:50 1998 George Lebl <jirka@5z.com>
* configure.in,src/{lexer.l,calc.c,genius.c}: make it possible to
build even if readline isn't found
Sun Sep 13 01:21:46 1998 George Lebl <jirka@5z.com>
* genius.c: now fully functional command line version
* funclib.c: couple of administrative functions
* parse.y,lexer.l: add some matrix reading code (far from done)
* parse.y,lexer.l,calc.[ch]: make it work with the command line
version and readline
Thu Sep 10 21:32:10 1998 George Lebl <jirka@5z.com>
* src/parse.y: added grammar for matrixes, now to just fill in
the code:)
* src/geniustest.pl: made it print out the number of errors encountered
Thu Sep 10 15:56:58 1998 George Lebl <jirka@5z.com>
* src/parse.y: more general index grammar
Thu Sep 10 15:43:07 1998 George Lebl <jirka@5z.com>
* src/parse.y: start on the grammar for matrix support
Wed Sep 09 23:39:49 1998 George Lebl <jirka@5z.com>
* Restructuring, there will be 3 programs in the future,
gnome (the command line script like interface), gnome-genius
which will basically be the current one, and gnome-genius-ide
which will be the IDE style interface
Wed Sep 09 23:10:51 1998 George Lebl <jirka@5z.com>
* src/dict.[ch],src/structs.h: made a dictinary hash, plus made
stacks into glists, should be faster and less memory hungry now
Sat Aug 08 23:38:43 1998 George Lebl <jirka@5z.com>
* genius.c: added a dumb scientific frame, it's dumb and ugly,
the interface really does need to be reworked
1998-07-01 Nuno Ferreira <nmrf@rnl.ist.utl.pt>
* genius.desktop: Added Portuguese translation.
1998-06-10 Chris Lahey <clahey@umich.edu>
* geniustest.c: #included <stdio.h> for std{err,in}.
Thu May 14 07:52:40 1998 George Lebl <jirka@5z.com>
* mpwrap.c: convert imaginary to integer if it's 0
when uncomplexifying, complex support in mod most
likely makes no sense
Thu May 14 07:23:48 1998 George Lebl <jirka@5z.com>
* mpwrap.c: hunted down a sigfpe, and added complex
division (all that is missing now is pow and mod)
* genius.c: cleanups, fixed bug where the properties
could only be shown once.
Thu May 14 04:57:34 1998 George Lebl <jirka@5z.com>
* genius.c: fixup the errorbox show code
Sat Apr 25 21:28:38 1998 Havoc Pennington <hp@pobox.com>
* genius.c: Use GnomePropertyBox. This basically involved
reversing tmpstate and curstate in setup_calc; before we
saved original in tmpstate while changing curstate, now
we change tmpstate and copy back to curstate on apply.
Also declare tmpstate static, since it's used after the
function returns.
Tue Apr 21 14:45:41 1998 George Lebl <jirka@5z.com>
* genius.c: get sane defaults when config file is
not found
Tue Apr 14 01:04:46 1998 George Lebl <jirka@5z.com>
* *.[chly], README: copyright notice updates,
README updates
Wed Apr 08 02:13:23 1998 George Lebl <jirka@5z.com>
* mpwrap.c: fixed a bug in mpwl_pow_ui, and made
functions to do powers of mpz's instead of ui, to
eliminate a stupid limit.
Wed Mar 27 13:19:00 CST 1998 Arturo Espinosa <arturo@nuclecu.unam.mx>
* genius.c: Final touches for the properties dialog by arturo & aspuru.
Wed Mar 27 12:41:00 CST 1998 Alan Aspuru Guzik <aspuru@eros.pquim.unam.mx>
* genius.c: The thing now saves and loads its properties.
Wed Mar 27 12:00:00 CST 1998 Arturo Espinosa <arturo@nuclecu.unam.mx>
* genius.c: Modal dialog for properties (used to be options).
Wed Mar 25 22:15:18 CST 1998 Arturo Espinosa <arturo@nuclecu.unam.mx>
* genius.c: Clean-up. gnome_config & gnome_stock stuff.
Tue Mar 24 20:28:32 1998 George Lebl <jirka@5z.com>
* lexer.l: generate an error on base >36 integers
(parse error)
* mpwrap.c: radically faster power function for
float^ui, but this improves everything except
rat^int and int^int, thx to Havoc Pennington
for pointing that out.
Sat Mar 21 15:31:20 1998 Tom Tromey <tromey@cygnus.com>
* genius.c: Use gnome_message_box_*, not gnome_messagebox_*.
Sun Mar 8 16:37:50 1998 Tom Tromey <tromey@cygnus.com>
* calc.h: Renamed error_t to calc_error_t.
* Makefile.am (INCLUDES): Added GNOME_INCLUDEDIR.
* genius.c (main): Use new gnome_init.
Mon Mar 02 14:25:47 1998 George Lebl <jirka@5z.com>
* mpwrap.[ch]: partial support for complex numbers
* funclib.c: a few new functions
* parse.y,lexer.l: cleanup imaginary numbers
1998-03-01 Raja R Harinath <harinath@cs.umn.edu>
* genius.c (addkey): `current_pos' is now part of GtkEditable, not
GtkEntry.
Thu Feb 26 22:57:39 1998 Tom Tromey <tromey@cygnus.com>
* Makefile.am (BUILT_SOURCES): New macro.
1998-02-19 Federico Mena Quintero <federico@nuclecu.unam.mx>
* genius.c (main): Added app_id "genius".
1998-02-19 Carsten Schaar <nhadcasc@fs-maphy.uni-hannover.de>
* Makefile.am (genius_LDADD): Added '$(INTLLIBS)'
(geniustest_LDADD): Added '$(INTLLIBS)'
Tue Feb 17 21:32:43 1998 Miguel de Icaza <miguel@nuclecu.unam.mx>
* Internationalization.
Tue Feb 17 21:24:17 KST 1998 Changwoo Ryu <cwryu@adam.kaist.ac.kr>
* genius.c (geniuserrorbox): Fixed gnome_messagebox use.
Thu Feb 05 01:21:44 1998 George Lebl <jirka@5z.com>
* genius.c: clist now expands the column according to the
largest entry, result has white background, and the
clist has two columns so that expresison and result
line up
Fri Jan 30 12:33:04 1998 Tom Tromey <tromey@cygnus.com>
* Makefile.am (EXTRA_DIST): Include genius.desktop.
(geniustest_LDADD): Include $(INTLLIBS).
(genius_LDADD): Likewise.
Thu Jan 29 03:45:15 1998 George Lebl <jirka@5z.com>
* util.c: fixed stack pop (this was an ugly bug)
Thu Jan 29 02:07:37 1998 George Lebl <jirka@5z.com>
* util.[ch],calc.c,eval.[ch]: using GList for stacks now
which makes some parts better, can't really use them
for context stacks though
1998-01-28 Raja R Harinath <harinath@cs.umn.edu>
* Makefile.am: Don't install geniustest. Misc fixes.
Tue Jan 27 20:52:56 1998 George Lebl <jirka@5z.com>
* eval.c: fixed unitialized variable use
Mon Jan 26 00:35:15 1998 George Lebl <jirka@5z.com>
* genius.c: chage Quit to Exit, use CList, when row
is selected it is put into the entrybox
Tue Jan 13 22:21:25 1998 George Lebl <jirka@5z.com>
* mpwrap.c: if the result would be complex, an error is
returned for now
Tue Jan 13 21:24:10 1998 George Lebl <jirka@5z.com>
* parse.y: UMINUS and NEG bind more closely then ^
* mpwrap.c: fixed a cosmetic error in format_float with 0.0
displaying 0. instead of 0
Tue Jan 13 19:49:29 1998 George Lebl <jirka@5z.com>
* mymath.c: e is calculated as a float not rational :)
* mpwrap.[ch]: new function, mpw_make_float
Mon Jan 12 02:54:50 1998 George Lebl <jirka@5z.com>
* Makefile.am,geniustest.c,geniustest.pl,geniustests.txt: simple
files for testing may be a base for a command line
implementation of genius (geniustests.txt are some tests)
* eval.c: fixed YET ANOTHER BUG in copynode (didn't set new
args to NULL when the old ones were NULL, STUPID!)
* mymath.c: fixed a small memory leak in getpi
* mpwrap.c: fixed pow_ui, fixed pow_q
Sun Jan 11 19:03:13 1998 George Lebl <jirka@5z.com>
* funclib.[ch]: ported to mp wrappers
* util.c: a minor bug fixed in my_realloc
Sun Jan 11 19:00:12 1998 George Lebl <jirka@5z.com>
* mpwrap.c,mpwrap.h,Makefile.am: added the MP wrapper functions.
* mymath.[ch]: ported to the new mp wrappers
* calc.[ch]: ported to mp wrappers
* eval.[ch],structs.h,lexer.l,parse.y: ported to the new wrappers
* eval.c: fixed a bug in copynode
Sat Jan 10 15:41:27 1998 George Lebl <jirka@5z.com>
* eval.c: "while" now works right
* README: examples updated to work
* eval.[ch],calc.c: took out primstr, and reimplemented a
better function in calc.c, this one now has the right output
(only spits out infix notation)
* calc.h: added all prototypes
* calc.c: got rid of some unused vars, added #include "dict.h"
* eval.c: got rid of some unused vars
* dict.[ch]: d_initcontext is now void not int
* struct.h,dict.[ch],calc.c,eval.c,lexer.l: slight changes in naming
to be more consistent
* calc.[ch],genius.c: added function to add missing parentheses
on the end of expression to calc, and made it do just that
in genius.c
* genius.c: the entrybox is cleared after an expression is evaluated
Sat Jan 10 00:45:07 1998 George Lebl <jirka@5z.com>
* lexer.l,parse.y,eval.[ch]: added logical and,or,xor and not
operators. ! was not touched and still means factorial
* README: updated
* Makefile.am: using YACCFLAGS for arguments instead fo YACC
* eval.c,calc.c: messed with the expression printing to at
least print something debuggable before making it right
* eval.c: secondright is now copied, this fixes ifelse
* lexer.l: fixed a bug in argument references during parse
* eval.c: while doesn't check for a number (it does it's
own evaluation), but it still seems broken
Fri Jan 09 21:05:18 1998 George Lebl <jirka@5z.com>
* genius.c: couple of minor changes, Ctrl-Q now also quits
* eval.[ch]: added if,while and ifelse construct operations, also
reversed how branches returns the argument (it was wrong) and
made a function for telling which ones should get evaluated during
calculations (evalnode)
* structs.h, eval.[ch]: added a secondright argument to primitives
since ifelse needs it
* parse.y: added the parsing info for while,if,ifelse. lexer already
included it
* eval.c: split up evalnode to several functions
* README: updated
* eval.h: took out an obscolete prototype
* eval.[ch],parse.y,lexer.l: added comparison operators,
==,!=,<=>,>,<,>=,<=
* genius.c: ! taken out of the numpad, % put in
Fri Jan 09 16:17:38 1998 George Lebl <jirka@5z.com>
* eval.c: fixed another bug in copynode, this fixes some segfaults,
and makes global functions work, local ones still segfault
* eval.c: fixed a bug in evaluation, first evaluate left THEN
the right side. this caused trouble with separators and
function declarations
* calc.c: the parse error message now says "before" instead of
"at" since it makes more sense
Fri Jan 09 02:08:11 1998 George Lebl <jirka@5z.com>
* eval.[ch],parse.y,lexer.l,dict.c: took function declaration from
parse time to execution time. Still segfaults all over the place
* eval.c: fixed copynode, added function for adding fake function
nodes for declarations
Thu Jan 08 00:11:22 1998 George Lebl <jirka@5z.com>
* README: updated to reflect the changes
* COPYING: added
* genius.c: make floats ints is now disabled by default as
it is not too intuitive, meaning it might not do what a user
expects
Wed Jan 07 23:44:13 1998 George Lebl <jirka@5z.com>
* dict.[ch]: addfunc now returns a pointer to the actual created
record
* eval.[ch],parse.y,lexer.y: added a separator primitive, all it does is
right side. meaning you can have more expressions after each other
and taht will return the value of the last one
* dict.[ch]: created dictionary contexts so that local
variables/functions are possible
* eval.[ch],parse.y,lexer.y,funclib.c: added user function support, not
yet completely finished, but it is working quite nicely already,
recursion does not yet work and I know what's the problem and will
fix it, though there are not yet any structures for programming,
there are many MANY small changes around these files to support this
Tue Jan 06 18:38:17 1998 George Lebl <jirka@5z.com>
* eval.[ch],parse.y: added mod ('%') operator
Tue Jan 06 15:38:49 1998 George Lebl <jirka@5z.com>
* genius.c: Make use of the app widget, get rid of buttons in favor of
menus, use gnome_init instead of gtk_init, add #include <gnome.h>
Mon Jan 05 23:14:56 1998 George Lebl <jirka@5z.com>
* eval.c,calc.c,structs.h: changed some tree_t internals to
match the new constant names
* eval.c,struct.c: it should be now possible to evaluate user
which are just compiled into evaluation trees
* util.[ch]: took out makelc
* dict.[ch]: made searches case sensitive and added support for
user functions
* lexer.l,parser.y: added support for no-argument user functions
(variables) setting
* calc.c: fixed a bug so that the builtin functions don't get
added again and again
* eval.[ch]: added the '=' operation and changed evalexp to be able
to set variables
Sun Jan 04 23:50:25 1998 George Lebl <jirka@5z.com>
* genius.c: accelerator stuff revamped, and all is done through
the keypress event, nothing will happen on empty string
Sun Jan 04 22:59:28 1998 George Lebl <jirka@5z.com>
* genius.c: Got the keybindings to work, so it can be completely
keyboard driven. ^C quits \n runs calculations.
Sun Jan 04 20:57:01 1998 George Lebl <jirka@5z.com>
* calc.[ch],eval.c,genius.c: implemented calcstate structure,
instead of separate variables
* genius.c: added some options for the new calcstate structure
these are the make results floats and scientific notation
* calc.c: if the number of digits is reduced the number is now
rounded, implemented scientific notation, implemented conversion
to floats, some cleanup, a typo fixed
* lexer.l: can now read integers in scientific notation as
floats
* structs.h,calc.c,eval.c: changed some enum constants' names to
be more meaningful
* dict.c: small typo to make builtin functions
* eval.c: some cleanup, reduced the number of temporaries used in
some operations, put switch statements in the code instead of
some if/else structures
* mymath.c: mympf_pow_ui now safely works when rop and op are one
and the same number (it will still not use a temp when the numbers
are in fact different)
Sat Jan 03 16:57:17 1998 George Lebl <jirka@5z.com>
* calc.c, eval.c: it's possible to have functions in uncomputed
expressions, they will display properly
* funclib.[ch]: deleted test_op ("test" function), added functions
"cos", "tan", "pi", "e"
* mymath.[ch]: created these files for some helper gmp functions
* eval.c: taken out mympf_pow_ui and put it into mymath.[ch]
added an ugly ans slow temporary way to do exponentials of
floats, it converts it to a rational first
Sat Jan 03 12:48:31 1998 George Lebl <jirka@5z.com>
* genius.[ch]: deleted old unused functions, added prototypes
to genius.h, added errorreporting functions
* calc.c, eval.c: now use the error reporting function
Sat Jan 03 02:18:55 1998 George Lebl <jirka@5z.com>
* eval.[ch], calc.c, parse.y: the stack is now a structure of type
evalstack_t, it's a dynamic array now
* eval.c: added #include "util.h"
* util.c: made my_realloc safer
* funclib.c: added #include <gmp.h>
* funclib.[ch]: sine function added ("sin"), works only for -pi<x<pi
Sat Jan 03 00:37:52 1998 George Lebl <jirka@5z.com>
* util.c: proper casting in makelc
* dict.c: makebifunc now doesn't segfault.
* dict.c: d_addfunc fixed, it adds dictinary entries now
* eval.c: added NULL checking to freetree and freetree now does
freeargs, not freenode and makefuncd sets n->left and right to
NULL ... that made ugly segfaults
* eval.c: evalnode now evaluates function args correctly
Fri Jan 02 21:21:27 1998 George Lebl <jirka@5z.com>
* calc.h: removed FACTORIAL_ERROR since it's not a fatal error
* eval.c: Should be able to run functions from funclib
* funclib.[ch]: removed funclib_exec function since that's
obscolete, added addall and test_op functions and there's a
"test" function returns sum of three arguments (no typechecking
is done and they have to be integers! it's just a testroutine)
* calc.c: added #include "funclib.h", and it will add all the
funclib functions the first time evalexpr is run.
|