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
|
2005-03-24 David N. Welton <davidw@dedasys.com>
* Makefile.am (EXTRA_DIST): Added the doc, rivet and debian
directories to the distribution.
2005-03-23 David N. Welton <davidw@dedasys.com>
* doc/norefchunk.xsl: Removed chunk-first-section-with-parent and
chunk-all-sections.
* genconf.sh: Updated to use 1.8 autotools.
2005-03-12 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_SendContent): Use static objects for
scripts that are used for each request, in order to keep reusing
them.
(Rivet_PerInterpInit): Switch back to using Tcl_PkgRequire.
2005-01-08 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/dio/diodisplay.tcl: Accept arguments to the
showform_prolog method that are passed through to the form's
start method. This allows things like naming the form and
accessing the fields from javascript by name.
* rivet/packages/form/form.tcl: Allow start method to take key-value
arguments that will be expressed in the <form> tag.
2005-01-07 Karl Lehenbauer <karl-rivet@sc.com>
* /rivet/packages/dio/diodisplay.tcl: Factor showform prolog and
epilog code into showform_prolog and showform_epilog methods
so that when a derived DIODisplay class is overriding, for
example, an Add or Edit method, the author doesn't have to
dup all of showform's functionality.
* rivet/packages/form/form.tcl: Commented the package.
2005-01-03 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Use 'mail-archives' instead of nagoya.
2004-12-22 David N. Welton <davidw@dedasys.com>
* Makefile.am (install-data-local): Added this target to install
the Tcl packages and generate a pkgIndex.tcl file.
2004-12-16 David N. Welton <davidw@dedasys.com>
* src/Makefile.am (lib_libexecdir): Did some rearanging of things
to get the directories in a better state.
* configure.ac: Added TCL_PACKAGE_PATH.
2004-12-14 David N. Welton <davidw@dedasys.com>
* doc/Makefile.am: Added html doc targets.
2004-12-08 David N. Welton <davidw@dedasys.com>
* Makefile.am, configure.ac: Added the doc/ directory.
2004-12-07 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/dio/dio.tcl: "DIO delete" method now return the
number of rows affected.
2004-12-03 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/dio/dio.tcl: Cause fatal database errors such
as bad syntax, etc, to raise a Tcl error in many methods that
used to just return 1 or 0 (like DIO store).
* configure.ac: Remove superfluous commented-out lines
* Add BUGS file. Update STATUS and VERSION files.
2004-12-02 David N. Welton <davidw@dedasys.com>
* Removed libtool - it appears to be under the GPL!
* Removed aclocal.m4 configure Makefile.in src/Makefile.in to avoid
CVS churn.
* configure.ac: Commented out AC_DEFINE(USE_TCL_STUBS), as it was
causing some problems for mod_rivet.so.
2004-12-02 Karl Lehenbauer <karl-rivet@sc.com>
* Collected some build notes in README.configure
* Clean up presentation of --with-apxs and --with-tclsh and
have them show up when configure --help is run.
* tclconfig/tcl.m4, configure.ac, config.h, src/*.c:
Switch most autoconf-generated elements that get put on
compiler command lines as -DHAVE_NET_ERRNO_H, etc, to put
that stuff in config.h instead. This included altering
all AC_DEFINE and AC_DEFINE_UNQUOTED macros to have three
arguments, where the third argument is a description, so that
autoheader can generate the config.h.in, significantly
decluttering the compiler command lines.
(tcl.m4 changes should be fed back to the TEA project,
as well as the technique for using automake to simplify
the build)
* Move aclocal.m4 to acinclude.m4 -- we need the aclocal command
to generate acinclude.m4 based on aclocal.m4 and stuff it gleans
from the configure.ac script, etc.
* configure.ac: A path to tclsh is automatically figured out by the
TEA 3.1 build stuff. However it is also possible to override
with --with-tclsh, and the configure script also makes sure
there at least is a file there as well.
* src/configure.ac et al: Get automake, aclocal, and autoconf to run
without complaint, generating the configure script, Makefile.in
files, etc.
* configure.ac: Propagate the NAMEOFEXECUTABLE define via the
autoconf scripts
src/Makefile.am: (same)
* configure: check in configure script, it's hard to make unless
you have everything just right. We will probably revisit this
later.
* src/Makefile.in: (same)
* Makefile.in: (same)
* libtool: Added libtool and friends in tclconfig dir using
libtoolize -- this is what figures out how to build shared
libraries, etc.
2004-12-01 Karl Lehenbauer <karl-rivet@sc.com>
* Update autoconf build to TEA 3.1
* configure.am: Automatically locate apxs in the PATH if it hasn't
been overridden by --with-apxs. Likewise automatically locate
tclsh if it hasn't been overridden by --with-tclsh.
* Add of README.freebsd for FreeBSD.
2004-11-17 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/dio/dio.tcl: Fixed comments incorrectly placed
outside of a switch body.
2004-11-11 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/dio/dio.tcl: Added "insert" method that
doesn't try to see if it's there already all the other
stuff that "store" does.
* doc/rivet.xml: Documentation for above.
2004-11-05 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/session/session-class.tcl: Quote backslashes when
storing so they won't be stripped by the database. Needs to
be tested for MySQL and SQLlite.
2004-11-04 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/dio/*.tcl: Documented the code for
DIO and DIOdisplay.
2004-11-04 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_ServerConf): Use Tcl_GetBoolean, at
Karl's suggestion.
2004-11-03 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_ServerConf): Instead of just "on", accept
"yes" and "1" as well.
2004-10-29 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/dio/dio_Mysql.tcl: The "DIO handle" method, which
returns the underlying database's connection handle, now forces
the database connection to be made, if it hasn't already been
made, just like DIO exec.
* rivet/packages/dio/dio_Postgresql.tcl: (same)
2004-09-29 David N. Welton <davidw@dedasys.com>
* src/rivetCore.c (TestpanicCmd): Added command to test panics.
* src/mod_rivet.c (Rivet_Panic): Added panic proc that tries to
log the error to disk.
2004-09-20 David N. Welton <davidw@dedasys.com>
* rivet/packages/rivet_ncgi/rivet_ncgi.tcl: Compatibility layer
for tcllib's ncgi package.
2004-09-20 Karl Lehenbauer <karl-rivet@sc.com>
* src/mod_rivet.c (Rivet_PerInterpInit): Load the init.tcl file
with an explicit path rather than using Tcl_PkgRequire. Previously,
if Rivet was installed with a PREFIX/lib that wasn't already in
Tcl's package search path (auto_path, probably because it was the
same lib directory as Tcl used, typically /usr/local/lib), Tcl
startup is unable to find the RivetTcl package, and Rivet is
unable to start.
2004-09-17 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/rivet/pkgIndex.tcl: Removed. It had a hard-coded
assumption about the shared library extensions (.so). This file is
now generated in the target directory by the install node of make.tcl.
* rivet/pkgIndex.tcl: Removed. It is generated by the make.tcl
install process, as above.
* src/make.tcl: The above changes, specifically the install node
now generates the target rivet/pkgIndex.tcl and
rivet/packages/rivet/pkgIndex.tcl file using pkg_mkIndex,
causing all Tcl-defined and shared-library-defined packages to be
discovered and generated into the pkgIndex.tcl.
2004-09-16 Karl Lehenbauer <karl-rivet@sc.com>
* src/parserPkgInit.c: Added a Rivetparser_SafeInit so the
C-based standalone Rivet parser library can be loaded
from safe interpreters. After inspection, we believe that
rivet::parserivetdata can be loaded into safe interpreters
without compromising their security. rivet::parserivet
definitely cannot be made available to a safe interpreter --
it could be manipulated to read files.
* src/rivetPkgInit.c: Added a Rivet_SafeInit so lib can
be loaded from safe interpreters, which also makes it work
better under Mac OS X.
* src/rivetCrypt.c: Added function header to init routine.
* src/rivetList.c: (same)
* src/rivetWWW.c: (same)
* README.MacOSX: Temporary file to document Mac OS X build quirks.
* src/configure.tcl: If a configuration variable in
tclConfig.sh ever had an equal sign in the "value"
portion of the key=value pair, configure.tcl would
malfunction.
A missing variable caused a variable referencing that
missing variable to be silently dropped. We now
complain, although the right answer is probably to
substitute an empty string for all missing variables.
Still, this way at least gives a hint as to the problem.
* src/Makefile: Add simple rules for "clean", "distclean",
and "install" that simply invoke make.tcl appropriately.
2004-08-07 David N. Welton <davidw@dedasys.com>
* rivet/packages/dtcl/dtcl.tcl (hgetvars): Added code from Arnulf
Wiedemann <arnulf@wiedemann-pri.de> to set up VARS array.
2004-08-03 Pat Thoyts <patthoyts@users.sourceforge.net>
* win/Rivet.nsi: Added a NSIS script. This is used with the
Nullsoft scriptable installer system to create an installer for
Rivet to install onto a Windows system.
* win/makefile.vc: Added htmlhelp and installer targets.
2004-06-25 Pat Thoyts <patthoyts@users.sourceforge.net>
* src/rivetCrypt.c: Fix const-ness of resultBuffer to match
apache's crypt function.
* win/makefile.vc: Fixed the version string to match rivet project
version. Support use of MSVC.NET or VC++Toolkit compilers.
2004-06-04 David N. Welton <davidw@dedasys.com>
* contrib/two-mode-mode.el: Updated two-mode-mode.
2004-06-02 David N. Welton <davidw@dedasys.com>
* src/buildscripts/aardvark.tcl: Use 'Output' instead of puts. It
might be useful were we ever to do something like make an aardvark
GUI.
2004-06-01 David N. Welton <davidw@dedasys.com>
* Following changes by Pat Thoyts <patthoyts@users.sourceforge.net>:
* win/makefile.vc: Updated to deal with the START_TAG END_TAG
macros.
* src/rivetParser.h: Declare missing prototype.
* tests/binary.rvt: The stdout channel under Windows needs to be
told to use translation binary for binary data.
2004-05-18 David N. Welton <davidw@dedasys.com>
* src/make.tcl: Quote Tcl argument.
* doc/rivet.xml: Added clearer instructions for mailing list
subscription.
2004-05-05 Karl Lehenbauer <karl-rivet@sc.com>
* src/rivetWWW.c: Made the escape_string command map spaces
to plus signs (+) rather than %20. They're equivalent and
unescape the same, but the plus signs are visually easier
to take.
2004-05-05 Karl Lehenbauer <karl-rivet@sc.com>
* /rivet/packages/dio/diodisplay.tcl: Got "-type boolean"
working. There's some problem with using a method that
uses configvar to set a var as a method in a class where
the class is being inherited by a subclass that redefines
the variable. I had to substitute "cget -varName" style
to get it to work.
2004-05-05 Karl Lehenbauer <karl-rivet@sc.com>
* /rivet/packages/dio/diodisplay.tcl: Added "-type select"
option to DIOdisplay fields, and a new option, "-values $list"
which takes a list of values to be made available with a form
selector.
2004-05-05 Karl Lehenbauer <karl-rivet@sc.com>
* /rivet/packages/dio/diodisplay.tcl: When adding a new record,
if they've typed anything into the "is" field, set the default
value of the field specified in the "where" part to match.
2004-05-05 Karl Lehenbauer <karl-rivet@sc.com>
* doc/rivet.xml: Documented the escape_string, unescape_string,
escape_sgml_chars, and escape_shell_command functions.
2004-05-04 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/dio/diodisplay.tcl: Added enhancements from
Peter da Silva (peter@taronga.com): Add support for hidden variables.
(This is so that you can have state variables that are maintained by
the function outside of DIOdisplay, retained as you jump through
DIOdisplay.) Added DIORowHeader to the style sheet. Turned the search
table into a navigation bar. Added a filter method that allows you
to edit the display of fields on the fly, for example, you have a
time in integer seconds since 1970 and you can add a filter that
does a "clock format" using -filter, or, for example, it can look
up an IP address from a table.
* rivet/packages/dio/dio.tcl: Added enhancements from
Peter da Silva (peter@taronga.com): New "forall" method will apply
a result across a code body for each record returned in the result
and then delete the result handle, all in one fell swoop.
2004-04-24 David N. Welton <davidw@dedasys.com>
* src/buildscripts/aardvark.tcl (aardvark::runbuildcommand): If
the node doesn't exist, always "rebuild" it.
* src/make.tcl: Make sure make install message is only printed
when the correct target is called.
2004-04-21 David N. Welton <davidw@dedasys.com>
* rivet/packages/dio/pkgIndex.tcl: Add sqlite interface.
* rivet/packages/dio/dio_Sqlite.tcl: Added incomplete sqlite
interface to DIO.
2004-04-14 David N. Welton <davidw@dedasys.com>
* rivet/packages/dio/dio.tcl: Removed mysql and postgres specific
code from main DIO package, which now loads the subclass package
automatically.
* rivet/packages/dio/dio_Mysql.tcl: Added new package to remove
separate mysql DIO interface.
* rivet/packages/dio/dio_Postgresql.tcl: Added new package to
separate postgres DIO interface.
2004-04-12 Andy Doerr <andydoerr@swbell.net>
* rivet/packages/dio/diodisplay.tcl:
- Modified searchBy form field to use the -labels and -values
parallel lists in form.tcl class method (select).
- Modified Search proc to not use FieldTextMap as the search
now does not need to look up the db field name.
2004-04-05 David N. Welton <davidw@dedasys.com>
* tests/docroot1/ tests/docroot2/: Files used to test virtual
hosts with.
* tests/virtualhost.test: New file: tests for virtual hosts.
* tests/apachetest/apachetest.tcl: Require our own version of
http.tcl, due to Tcl feature request #928154 (it's impossible to
set the Host header).
(apachetest::start): We now take 3 arguments. The new one is
'conftext', which is used to write to the test.conf file before
running the test.
* tests/runtests.tcl: Changed test config to add an "Include
test.conf" directive. We can write out our own configs for each
test with that.
* src/mod_rivet.c (Rivet_PerInterpInit): New function that groups
together everything that has to happen when a new interpreter is
created - either the main one, or for virtual hosts.
(Rivet_InitTclStuff): Redid the way virtual hosts are treated
here: make sure there is a unique rivet_server_conf for each one,
either because MergeConfig has been called, or we create one
ourselves.
(Rivet_CreateConfig): We don't initialize objCache and outchannel
members of rivet_server_conf here anymore. They are now taken
care of in Rivet_InitTclStuff.
(Rivet_MergeConfig): Either take care of all members of
rivet_server_conf struct, or include a comment explaining why it's
not there.
(Rivet_ChildHandlers): New function - takes care of either child
init or exit scripts, depending on how it's called.
* doc/rivet.xml: Describe how each RivetServerConf directive
interacts with virtual hosts.
2004-02-26 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Added DIODisplay section.
2004-02-25 David N. Welton <davidw@dedasys.com>
* src/rivetParser.h: start/end tags removed from here.
* src/make.tcl: START_TAG and END_TAG are now defined here, so
that they are easier to configure at build time.
* doc/rivet.xml: Initial cut at including DIO docs in the main set
of docs.
2004-02-23 David N. Welton <davidw@dedasys.com>
* LICENSE: Switch to Apache 2.0 License.
2004-02-20 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c (TclWeb_SetHeaderType): strdup object's
string value so we have our own copy of it.
2004-02-19 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Added some additional comments regarding the
installation. Thanks to Tom Krehbiel for the suggestions.
2004-02-17 David N. Welton <davidw@dedasys.com>
* src/make.tcl: Created better dependency system for DocBook docs.
* doc/html/rivet.*.html: Added non-chunked versions of the docs.
* doc/rivet-nochunk.xsl: Change include of docbook.xsl to an
import at the top of the file. Seems to make things work ok.
2004-02-11 David N. Welton <davidw@dedasys.com>
* src/make.tcl: Don't delete rivet packages directory during
install. This used to happen in order to keep things clean, but
people are using this directory for local packages/modifications,
so this is not a good thing to have.
2004-02-06 David N. Welton <davidw@dedasys.com>
* tests/headers.test: Include current version of http package in
result automatically, so as to avoid having to update it by hand.
* tests/apachetest/apachetest.tcl (apachetest::getallincludes):
Create function to fetch a conf file and all the files Included it
from it.
* doc/rivet.xml: Add section for session package.
* doc/rivet.xml: Added SESSION documentation.
* rivet/packages/session/README.txt: Removed text, indicate
HTML/XML docs - I don't want to maintain the same docs in two
places.
* src/make.tcl: Create directory before installing.
2004-01-20 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/dio/diodisplay.tcl: Removed calls to abort_page
when relatively benign conditions like no records matching a
search occur. This allows us to emit all the code we need, like
closing the table (</table>) and emiting our page trailer, etc,
instead of having the page cut off somewhere in the middle.
2004-01-15 David N. Welton <davidw@dedasys.com>
* rivet/rivet-tcl/load_response.tcl (load_response): Fixed a bug
in load_response that was tickled by calling it multiple times.
Thanks to Brad for catching it.
2004-01-15 Brad Morrison <brad@sc.com>
* rivet/rivet-tcl/load_response.tcl: Changed behavior from
appending discovered values to existing elements in the
response array to simple assignment.
2004-01-15 David N. Welton <davidw@dedasys.com>
* rivet/packages/simpledb/simpledb.tcl (simpledb::synctostorage):
Added fix from Massimo Manghi <manghi@biol.unipr.it> for bug in
procedure to write database to disk.
* rivet/packages/simpledb/simpledb.test (populatetables):
Commented out stuff to add into the test later.
2004-01-08 David N. Welton <davidw@dedasys.com>
* src/make.tcl: Added warning to default make.tcl target in order
to encourage people to run ./make.tcl install.
2004-01-08 Karl Lehenbauer <karl-rivet@sc.com>
* src/buildscripts/findapxs.tcl: When the apxs program cannot
be located, the message now mentions that the location of apxs
can also be specified using the "-with-apxs" option on the
command line.
2004-01-05 Karl Lehenbauer <karl-rivet@sc.com>
* rivet/packages/session/*: Checkin of session management code.
This is a from-scratch rewrite of Superconnect's session
management code, donated to Rivet under the terms of the
Apache Software License. See rivet/packages/session/README.txt
for details of what it does and how it works.
2004-01-02 Karl Lehenbauer <karl-rivet@sc.com>
* src/buildscripts/findapxs.tcl: Added /usr/local/bin and
/usr/local/sbin to the directories that Rivet configuration
looks in to find apxs, when the path to apxs wasn't specified
on the configure command line.
Changed findapxs::FindAPXS to generate an error if it couldn't
find a working apxs utility, rather than just returning an empty
string. Previously if apxs could not be found, the error message
emitted by configure.tcl was: "Error in CFLAGS test: couldn't
execute "": no such file or directory" Now it says it couldn't
find the Apache Extension Tool apxs and lists everywhere it looked.
2003-12-20 David N. Welton <davidw@dedasys.com>
* tests/parsepackage.test: Added tests for the Rivet parser
standalone package and pure Tcl Rivet parser.
* INSTALL: Added basic configuration directives to INSTALL file.
* rivet/packages/tclrivet/tclrivetparser.tcl: Added pure Tcl Rivet
parser. This doesn't have all the Rivet commands available, it
just parses a <? ?> style Rivet file into the corresponding Tcl
script.
* src/parserPkgInit.c (Parse_RivetData): We no longer
automatically add the namespace. The user ought to be able to add
that should they so choose. This makes the command more flexible.
* src/rivetParser.c (Rivet_Parser): Removed an unnecessary
Tcl_UtfNext from the parser.
(Rivet_GetRivetFile): Removed useless 'inside' variable from this
function.
* doc/rivet.xml: Add abort_page, no_body and env commands,
reordered the load_* commands.
* doc/rivet.it.xml: Updated author.
* doc/rivet.ru.xml: Updated author.
* doc/rivet.xml: Changed documention author to "The Rivet Team".
* src/rivetCore.c (Rivet_NoBody): Return an error if content has
already been sent.
* src/rivetCore.c: Added fancy headers to all functions.
2003-12-13 David N. Welton <davidw@dedasys.com>
* tests/broken.test: Updated test results for what is actually
returned on error.
* src/rivetParser.c (Rivet_Parser): "export" function in that it's
no longer static.
* src/parserPkgInit.c (Parse_RivetData): New alpha-ish command to
parse data passed to the script.
* src/configure.in.tcl: Merge apxs and Tcl CFLAGS in order to
include what we need from both. Hopefully there won't be any
conflicts.
2003-11-27 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Added information about debugging Apache/Rivet.
2003-11-20 David N. Welton <davidw@dedasys.com>
* src/make.tcl: Changed xsltproc lines to deal with new link
styles.
* doc/rivet.xml: Changed links as in Russian translation.
* doc/rivet.it.xml: Changed links as in Russian translation.
* doc/rivet.ru.xml: Changed links to use "en.html" style instead
of "html.en". This will make google pick up the pages.
2003-10-22 David N. Welton <davidw@dedasys.com>
* win/: Numerous updates from Pat Thoyts
<patthoyts@users.sourceforge.net>.
2003-09-30 David N. Welton <davidw@dedasys.com>
* src/rivetCore.c (Rivet_Include): More ref count management.
* src/mod_rivet.c (Rivet_PropagatePerDirConfArrays): Added more
ref count management.
* src/rivetParser.c (Rivet_GetRivetFile): Add ref counting for
'inbuf'.
* src/mod_rivet.c (Rivet_ParseExecFile): Manage ref count for
outbuf better.
(Rivet_SendContent): Clean up 'info script' code.
(Rivet_InitTclStuff): Rework 'if' to eliminate double assignment.
* src/TclWebapache.c (TclWeb_GetEnvVars): Add ref counting for
envvar.
(TclWeb_GetHeaderVars): Fix ref counting for headersvar.
* tests/headers.test: Added test for load_headers.
* src/apache_request.h: Updates from httpd-apreq.
* src/apache_request.c: Updates from httpd-apreq.
2003-09-29 David N. Welton <davidw@dedasys.com>
* rivet/packages/commserver/server.tcl: Exit 1 on failure.
* rivet/packages/commserver/commserver.tcl: Check to make sure the
server is really running before returning from commserver::start.
* rivet/packages/simpledb/simpledb.tcl: Added 'simpledb', although
it's not ready for production use.
* src/mod_rivet.c (Rivet_ChildInit): If we don't have separate
virtual servers, we only need to run the ChildInitScript once. If
we do have interpreters for each virtual server, each one gets to
run the script.
* doc/rivet.ru.xml: Big update of the Russian translation by
Dmitry the Zuryanovich <dtz@XEPb.ru>. Thanks!
2003-09-26 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c: Spelling check: seperate->separate.
2003-09-24 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Mention the global command in the 'internals'
section.
2003-08-30 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Added var_qs and var_post cmdsynopsis's.
2003-08-29 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Use refentry and sub-elements instead of
variablelist. This is more correct.
* doc/norefchunk.xsl: New file - handle refentries without making
them new files.
* doc/rivet.xsl: Scratch the last changes and go with refentry's
for all commands. This is a more difficult solution to parse, but
in the end is more correct.
* doc/refentry.xsl: New file to handle refentry stuff.
2003-08-28 David N. Welton <davidw@dedasys.com>
* doc/rivet.xsl: Minor changes to look and feel.
* doc/rivet.xml: Added <indexterm> tags for commands, in order to
create the index.
* doc/rivet.xsl: Added XSL to parse <index>, needed to create an
index of commands on the index page.
2003-08-26 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Added section to documentation about emacs and
vim modesl for Rivet files.
* src/configure.in.tcl: -with-apxs option no longer takes a
default. It should work that out on its own using the
findapxs.tcl script.
2003-08-23 David N. Welton <davidw@dedasys.com>
* src/configure.in.tcl: Remove test for broken Tcl installations
on FreeBSD and MacOS X. Apparently, things work ok with 8.4.
2003-08-22 David N. Welton <davidw@dedasys.com>
* src/configure.in.tcl: Add test for broken Tcl installations on
FreeBSD and MacOS X.
* doc/rivet.xml: Added installation instructions corresponding to
the new ./configure.tcl system. Ran the spellchecker.
* src/buildscripts/aardvark.tcl (aardvark::runbuildcommand):
Rebuild only if file depended on is newer than the target, rather
than >=. This prevents some files from being remade if make is
run again.
* src/configure.tcl (configure::ProcessOptions): Added 'verbose'
flag to configure.
(configure::test): Exit on tcl failure in test procedures.
(configure::assert): Added assert command. Fail on error or 0.
2003-08-21 David N. Welton <davidw@dedasys.com>
* src/configure.in.tcl: Changed INC variable to use
TCL_INCLUDE_SPEC.
* INSTALL: Updated instructions.
* src/configure.tcl (configure::parsetclconfig): We need access to
previously parsed variables, so we do this in the ::configs
namespace.
2003-08-20 David N. Welton <davidw@dedasys.com>
* src/buildscripts/aardvark.tcl (aardvark::getconfigs): Added new
function to fetch the config info out of configs.tcl.
* src/make.tcl: Removed debinstall target, because we can now
accomplish the same thing by overriding configure options on
make's command line. Removed the configure-style code at the top
of the file.
* src/configure.in.tcl: Specify the variables to test for/create,
as well as some command line options specific to Rivet.
* src/configure.tcl: Added new configure-like system to obtain
information about the environment where Rivet is being compiled.
Running ./configure.tcl creates a file, configs.tcl, with the
its findings. make.tcl now uses those values as its defaults,
unless they are overridden on make.tcl's command line.
2003-08-11 David N. Welton <davidw@dedasys.com>
* src/make.tcl: Added fileutils Tcl package to buildscripts, in
order to utilize the 'install' command.
2003-08-05 David N. Welton <davidw@dedasys.com>
* contrib/rvt.vim: Added contributed vim mode for editing Rivet
files.
* contrib/two-mode-mode.el: Added emacs mode for editing Rivet
files.
2003-07-22 David N. Welton <davidw@dedasys.com>
* doc/rivet.ru.xml: Added lang=ru to article, so that markup like
<note> produces the correct language.
* doc/rivet.it.xml: Added Italian translation of Rivet docs by
Fabio Zanotti <zendune@virgilio.it>.
2003-07-16 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Explain example script just a bit more clearly.
* src/make.tcl: Fix up clean target. Use MOD_SHLIB as target
instead of explicit mod_rivet.so.
2003-07-08 David N. Welton <davidw@dedasys.com>
* src/buildscripts/findapxs.tcl: Added /usr/local/sbin as a place
to check for apxs. Thanks to Andy Doerr for pointing out that
this is where it's kept on FreeBSD.
2003-07-07 David N. Welton <davidw@dedasys.com>
* doc/examples/upload.html: Added submit button to file upload
example.
2003-07-05 David N. Welton <davidw@dedasys.com>
* src/rivetWWW.c (snprintf): Added snprintf define from Pat.
* src/rivetParser.h: Added bit of defines for windows builds,
declared some of the functions EXTERN's here.
* src/rivetList.c: Make list commands created here 'static' - Pat.
* src/rivetCrypt.c: Use ap_config.h to grab other header files we
might need, like crypt.h. This is not an ideal solution, because
it adds a dependency we didn't have before. Added change by Pat
to conditionally compile or not the 'Rivet_Crypt' command.
* src/rivet.h: Added EXTERN definitions for functions.
* src/parserPkgInit.c (Rivetparser_Init): Added EXTERN decleration
for win builds.
* win/rules.vc: New file: include file for Microsoft makefile.
* win/rivet.dsp: New file: Microsoft Developer Studio Project
File.
* win/nmakehlp.c: New file: helper for windows building.
* win/makefile.vc: New file: makefile for windows. All from Pat
Thoyts <patthoyts@users.sourceforge.net>.
* doc/examples/vars.html: Use a table to make the form look nicer.
* doc/examples/vars.rvt: Now we display some results.
2003-07-01 David N. Welton <davidw@dedasys.com>
* src/rivetCore.c (Rivet_Upload): Pass the correct element of objv
to TclWeb_UploadSave.
* tests/uploadsave.rvt: New file to test 'upload save'.
* tests/upload.test: New test for 'upload save'.
2003-06-30 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_ParseExecFile): Use Tcl_FSStat instead of
Tcl_Stat.
* src/rivetCore.c (Rivet_Parse): Use Tcl_FSStat instead of
Tcl_Stat.
2003-06-29 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Add IRC reference to the help section of the
manual.
2003-06-23 David N. Welton <davidw@dedasys.com>
* doc/rivet.ru.xml: Updated Russian version to indicate which
version of the original it was based on.
* doc/rivet.xml: Added version string to English version.
2003-06-14 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Added CVS Id tag.
* doc/rivet.ru.xml: Added comment to indicate the version of
rivet.xml that the Russian translation is based on.
2003-06-12 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_ParseExecFile): Rework checks for
.htaccess file changes. This code was causing an obscure bug
where a file would be in the cache twice, thus causing crashes.
* Moved russian translation around again.
* src/TclWebapache.c (TclWeb_GetEnvVars): Use TCL_NAMESPACE_ONLY
here and in TclWeb_GetHeaderVars in order to set the variable in
the correct place.
* src/make.tcl: Added changes to build Russian documentation.
* doc/rivet.xml: Added link to Russian translation.
* doc/rivet.ru_UTF.xml: Added link back to English version.
2003-06-10 David N. Welton <davidw@dedasys.com>
* doc/rivet_utf_ru.xml: Added Russian translation of documentation
by Dmitry Zuryanovich.
2003-06-09 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Cleaned up docs about fetching the httpd sources.
2003-05-26 David N. Welton <davidw@dedasys.com>
* src/rivetCore.c (Rivet_Headers): Change error message to better
reflect that there is only one argument to 'headers numeric'.
Thanks to "Dmitry Zuryanovich".
* src/mod_rivet.c (Rivet_ParseExecFile): Updated
Rivet_GetRivetFile and Rivet_GetTclFile to use the right
arguments.
2003-05-24 David N. Welton <davidw@dedasys.com>
* rivet/packages/tclrivet/tclrivet.tcl: Added commands that need
to be filled in.
* tests/runtests.tcl: Use apachetest::need_modules.
* tests/apachetest/apachetest.tcl (apachetest::need_modules): New
proc, utilized to tell the test suite which apache modules are
needed.
2003-05-23 David N. Welton <davidw@dedasys.com>
* src/buildscripts/aardvark.test: Do a version check on gcc. We
used that for the tests, so we might as well be sure we're using
the same version.
* src/make.tcl: Use buildscripts.tcl to load up all the other
scripts we need. Add PARSER_SHLIB as a dependency for the shared
build.
* src/buildscripts/aardvark.test: Updated aardvark tests to
current GCC.
* src/buildscripts/buildscripts.tcl: New file: use this file to
load up all the other scripts.
* src/buildscripts/findconfig.tcl: Moved all the functionality
into parsetclConfig.tcl.
* src/buildscripts/aardvark.tcl: Just source the graph.tcl file
directly instead of dealing with packages. Thanks to Pat Thoyts.
2003-05-22 David N. Welton <davidw@dedasys.com>
* src/rivetParser.c (Rivet_GetRivetFile): API Change: instead of
taking a TclWebRequest argument, we just give this function a
Tcl_Interp, which makes it easier to seperate this code from
Rivet.
* src/mod_rivet.h: STARTING_SEQUENCE and ENDING_SEQUENCE moved to
rivetParser.h, in order to make that file independant of
mod_rivet.h.
* src/make.tcl: Use slightly more descriptive variable names. Add
code to compile librivetparser.so.
* src/parserPkgInit.c: New file. Provides a Tcl extension to the
Tcl parser, so that regular (not running under Apache) scripts can
access it.
* doc/html/rivet.css: Updated a few stylesheet properties to make
the docs look a bit classier.
2003-05-21 David N. Welton <davidw@dedasys.com>
* doc/rivet.xsl: Switch on parameter to use images in HTML output
from docbook.
* doc/rivet.xml: Added c.l.t. newsgroup to resources section.
2003-05-20 David N. Welton <davidw@dedasys.com>
* doc/html/rivet.css: Added CSS file.
* src/make.tcl: Added parameter to xsltproc to link the html
output to a CSS file.
2003-05-14 David N. Welton <davidw@dedasys.com>
* src/make.tcl: Added PKGINDEX to the list of dependencies for
rolling a distribution. Updated STATUS file.
* rivet/packages/commserver/commserver.tcl: Added commserver
package as one potential IPC method.
* src/make.tcl: Target ../VERSION node correctly.
New target $PKGINDEX to automatically generate a top-level (which
is where Tcl searches) package index for all the sub-packages in
the Rivet distribution.
* src/buildscripts/aardvark.tcl (aardvark::runbuildcommand): A few
stylistic changes: [ cmd ] -> [cmd].
2003-05-13 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Added a few options - numeric and add to the
header documentation. Removed 'setcookie', which has been
replaced by the 'cookie' command.
* src/make.tcl: Pass [info nameofexecutable] to mod_rivet.c
compilation, in order to make Rivet aware of the location of
tclsh.
* src/mod_rivet.c (Rivet_InitTclStuff): Use name of tclsh
executable passed in via the build script. This isn't really the
name of the executable Rivet is part of (Apache), but I think this
is more useful.
2003-05-11 David N. Welton <davidw@dedasys.com>
* src/apache_request.c: Updated to the latest from the httpd-apreq
package.
2003-04-07 David N. Welton <davidw@dedasys.com>
* src/make.tcl: Make sure that auto_path gets extra stuff at the
beginning, so as not to create problems when using it to fetch
the prefix.
* VERSION: Bump point number for new release.
* src/make.tcl: Use package require to load aardvark.
* src/buildscripts/graph.tcl: This file should provide the
'struct' package.
2003-03-30 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Fixed example configuration directive.
2003-03-27 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c (TclWeb_UploadData): Comment out unused alloc.
* src/rivetWWW.c (Rivet_UnescapeStringCmd): Free memory allocated
with Tcl_Alloc.
(Rivet_EscapeStringCmd): Free memory allocated with Tcl_Alloc.
(Rivet_EscapeSgmlCharsCmd): Free memory allocated with Tcl_Alloc.
(Rivet_EscapeShellCommandCmd): Free memory allocated with Tcl_Alloc.
* src/rivetCrypt.c (Rivet_DecryptCmd): Free memory allocated with
Tcl_Alloc.
(Rivet_EncryptCmd): Free memory allocated with Tcl_Alloc.
2003-03-26 David N. Welton <davidw@dedasys.com>
* Remove index.html and help.html.
* rivet/pkgIndex.tcl: Added index file for RivetTcl package -
i.e. init.tcl.
2003-03-25 David N. Welton <davidw@dedasys.com>
* src/rivetPkgInit.c (Rivet_Init): Bump version number to 1.1.
* src/mod_rivet.c (Rivet_InitTclStuff): Use Tcl_PkgRequire to load
Rivet's init.tcl.
* src/make.tcl: Use Tcl file location instead of Apache-based file
location, in order to use Tcl_PkgRequire to load Rivet's init.tcl.
* rivet/init.tcl: Provide 'RivetTcl' package.
(init): Use [info script] instead of server(RIVET_DIR) variable.
* src/make.tcl: Add a debinstall target as a temporary way to
build .deb files.
* debian/copyright: Added copyright file for debian.
* debian/dirs: Added dirs file that lists directories used by
Rivet on Debian.
* debian/control: Added debian/control file with information about
Rivet for the debian package.
* debian/changelog: Added debian changelog file to track versions
of the debian package.
* debian/rules: Use 'rules' file from mod_dtcl.
2003-03-14 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_AppendToScript): Don't append
Before/After/Error scripts. Just override them.
(Rivet_UserConf): Switch back to using Rivet_AppendToScript.
(Rivet_SetScript): Change Rivet_AppendToScript to Rivet_SetScript
to reflect the fact that it doesn't always append - specifically,
in After/Before/Error scripts.
* doc/rivet.xml: Use eyebrowse link instead of apachelabs for
mailing list.
2003-03-13 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.h: Backed out extra entries in rivet_server_conf -
they aren't necessary, as the overrides are taken care of for us.
The only things we really need are 1) to use the flag
user_scripts_updated to recompile scripts when UserConf variables
have changed 2) to not append to existing scripts, but instead
create new ones.
2003-03-12 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_UserConf): Set user_scripts_updated flag.
(Rivet_ParseExecFile): Check and clear flag.
* src/mod_rivet.h: Added user_scripts_updated flag to signal that
UserConf options have been set. This means that we need to
recompile the script.
2003-03-01 David N. Welton <davidw@dedasys.com>
* debian/debian.tcl: Helper file for generating .debs.
2003-02-28 David N. Welton <davidw@dedasys.com>
* src/Makefile (all): Clean out Makefile - force use of make.tcl.
* src/buildscripts/aardvark.tcl (aardvark::runbuildcommand): Use
'w' for shell command pipe, in order to not get broken pipes with
commands that output something to stdout (such as tcl scripts!).
2003-02-21 David N. Welton <davidw@dedasys.com>
* tests/config.test: Test to see if Rivet picks up changes in
".htaccess" files.
* tests/README: Add descriptions of the various tests.
* src/buildscripts/aardvark.tcl (aardvark::Nodes): Add command to
return list of all nodes.
* doc/rivet.xml: Add some information on the precedence of the
different Conf options. Change information about DirConf - it
isn't allowed in .htaccess files.
2003-02-19 David N. Welton <davidw@dedasys.com>
* src/buildscripts/aardvark.test: Add test script and files for
aardvark system.
* src/buildscripts/graph.tcl: Include latest 'graph.tcl' from
upstream.
* src/make.tcl: We no longer force 'tcl' and 'sh' to take only one
argument. In the case where we aren't forcing evaluation later
with {}, this is nicer looking, as we don't have to quote
everything with "".
2003-02-12 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c: Mirror Craig Huckabee's mod_dtcl.c changes:
- Use TCL_DECLARE_MUTEX to create the mutex, and change the mutex
lock/unlock calls.
- Remove the 'load only once' stuff from TclInitStuff.
- InitTclStuff can now only be called from Child Init.
2003-01-17 David N. Welton <davidw@dedasys.com>
* Added logos.
2003-01-08 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_ChildInit): Patch from Karl Lehenbauer to
print out errorInfo upon ChildInit failure.
2003-01-07 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c (TclWeb_UploadData): Fix from Holger Zeinert
that makes file uploads work on windows.
2002-12-30 David N. Welton <davidw@dedasys.com>
* doc/examples/upload.html: Changed .ttml to .rvt - thanks to
Holger Zeinert for catching this.
2002-12-18 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Noted the var_qs/var_post changes in the
documentation.
2002-12-17 David N. Welton <davidw@dedasys.com>
* tests/post.test:
* tests/post.rvt:
* tests/get.test:
* tests/get.rvt: Added tests for David Brancato's var_qs and
var_post improvements.
* src/TclWebapache.c: Made "ugly" for loops into while loops.
Created macro to set up loop parameters correctly.
2002-12-14 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c: Redid indendation.
* src/rivetCore.c: Implemented Tcl commands (via objv[0]) to
retrieve variables from different, specified sources (query
string, POST). (David Brancato).
* src/mod_rivet.h: Added defines for variable sources. (David
Brancato).
* src/apache_request.c: Added functions to get query and post
params. (David Brancato).
* src/TclWebapache.c: Implemented TclWeb.h API change. (David
Brancato).
* src/TclWeb.h: Changed API to include a source option in order to
indicate the origin (query string, POST) of a variable. (David
Brancato).
2002-12-13 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_InitTclStuff): Apache actually loads all
the modules twice, just to see if it can. This is a pain,
because things don't seem to get completely cleaned up on the
Tcl side. So this little hack should make us *really* load only
the second time around.
2002-12-10 David N. Welton <davidw@dedasys.com>
* table.png: Transformed table.png so that it ought to display
correctly on older(?) browsers. Thanks to Elchonon Edelson for
his help.
2002-12-09 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_SendContent): Switched from EvalObj to
EvalObjEx.
(Rivet_SendContent): EXPERIMENTAL: added Mutex locks on
SendContent, in order to keep windows safe. This needs testing
out!
2002-12-04 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c (TclWeb_GetEnvVars): Put DecrRefCount back in
- must have taken it out by mistake while hunting a previous
memory leak.
2002-11-23 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_SendContent): Set up information for
[info script] by using r->filename.
2002-11-19 David N. Welton <davidw@dedasys.com>
* doc/examples/table.rvt: Fixed up format operation to make nicer
tables.
2002-11-18 David N. Welton <davidw@dedasys.com>
* cvsversion.tcl (main): Added catch to make sure that VERSION has
something in it and isn't.
2002-11-09 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Make docs reflect behavior of 'var get foobar'
when foobar doesn't exist - "" is returned.
* tests/apachetest/apachetest.tcl: Updates to testing utility
procedures.
2002-11-04 David N. Welton <davidw@dedasys.com>
* tests/get.test: Backed out changes to 'var get': no longer
throws an error if the variable does not exist, but instead
returns "". Use 'var exists' to see if it really exists or not.
* src/mod_rivet.c (Rivet_ChildExit): Add call to Tcl_Finalize.
This still needs more investigation.
* tests/upload.test: Added proper end boundary to upload test.
* src/apache_*: New apache request code from upstream.
2002-10-29 David N. Welton <davidw@dedasys.com>
* src/rivetWWW.c (Rivet_EscapeStringCmd): Eliminate warning on
Solaris by casting a char to an int.
2002-10-28 David N. Welton <davidw@dedasys.com>
* src/rivetCore.c (Rivet_Include): Changed Tcl_Channel name to
tclstdout to avoid any conflicts with the real stdout.
2002-10-23 David N. Welton <davidw@dedasys.com>
* doc/rivet.xsl: Use <pre> tag for source code examples.
2002-10-22 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c (TclWeb_StringToUtf): One more CONST84 - now
we pass the tests!
2002-10-21 David N. Welton <davidw@dedasys.com>
* src/*.c: "CONST"ification. See http://mini.net/tcl/3669 for
more information.
* src/: Minor build script updates.
2002-10-20 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: "make" needed to be "make.tcl". Thanks to Makoto
SATOH.
2002-10-18 David N. Welton <davidw@dedasys.com>
* tests/get.test: Added tests for new "var get" behavior.
* doc/rivet.xml: Documented new "var get" behavior.
* src/rivetCore.c (Rivet_Var): Added ?default? option to "var
get".
* doc/examples/: Added examples for XML document.
* doc/rivet.xml: Several examples of how to use Rivet.
2002-10-17 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Added Entities to deal with included files. This
makes it easier to correctly format the source code that is to be
included.
2002-10-09 David N. Welton <davidw@dedasys.com>
* src/buildscripts/findapxs.tcl: Added /usr/sbin/ at the request
of David Brancato, who notes that Redhat often locates apxs there.
2002-10-02 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Added 'Introduction' section.
2002-09-29 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Reworked several elements to better utilize
docbook.
* doc/rivet.xsl: Major reworking of several elements, including
group and arg. Added lots of style changes.
* src/make.tcl: Add commands and dependencies to build extensions
documents without chunks, and the main Rivet docs in chunks
(seperate HTML files are output).
* doc/rivet.xml: Updated docs to reflect new Apache directives.
2002-09-27 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_InitTclStuff): Change default CacheSize
to MaxRequestsPerChild / 5, which should still be plenty, but will
waste less space.
* src/rivetCore.c (Rivet_Include): "include" command now saves
channel encoding/translation, outputs the included file to stdout
with binary translation/encoding, and then resets the original
settings. Fixes problem with EUC-JP characters in included
files. Thanks to Makoto SATOH for his help in finding this.
* tests/lang.test: Added file to test LANG setting in server, to
check character encodings.
* tests/parse.test: Added EUC-JP characters to test that they come
through ok.
* tests/include.test: Added EUC-JP characters to test that they come
through ok.
2002-09-11 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c (TclWeb_InitEnvVars): Don't do an
ap_clear_table on the environmental variables. The include module
no longer does this, and neither does PHP, so I guess it's safe to
remove, and it's useful for users of modules like mod_uniqe_id.
2002-09-08 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c: Fix up ObjSetVar2 use.
* src/mod_rivet.c: Fix up another instance of ObjSetVar2.
2002-09-07 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_PropagatePerDirConfArrays): Do the right
tricks with IncrRefCount and DecrRefCount to stop the leak.
2002-08-03 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_AppendToScript): Changed before, after,
and error scripts back to plain old ascii, in order to plug a
memory leak.
* src/mod_rivet.h: New macro: FILEDEBUGINFO off by default.
Useful for debugging the order of functions called.
2002-07-28 David N. Welton <davidw@dedasys.com>
* doc/rivet.xsl: Updated rivet.xsl from Websh's xsl.
2002-07-21 David N. Welton <davidw@dedasys.com>
* doc/rivet.xml: Several new sections. We now have most of what
is in the HTML documents.
2002-07-19 David N. Welton <davidw@dedasys.com>
* src/buildscripts/aardvark.tcl (aardvark::runbuildcommand):
Attempt to use 'open' to execute shell commands, in order to both
catch the output as well as the return code.
* doc/rivet.xml: New file. Removed directives.xml in favor of
this, which we will use to build individual HTML files and other
forms of documentation.
2002-07-18 David N. Welton <davidw@dedasys.com>
* src/rivetCore.c (Rivet_Upload): Changed format of 'upload'
command to be more like 'var'. Changed relevant tests.
2002-07-14 David N. Welton <davidw@dedasys.com>
* doc/directives.xml: New file - XML version of directives.html.
2002-07-12 David N. Welton <davidw@dedasys.com>
* src/buildscripts/aardvark.tcl (aardvark::runbuildcommand):
Updated functionality to hopefully better handle errors, warnings,
and output.
* src/make.tcl: Created a 'dist' target which rolls a tarball.
2002-07-11 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c (TclWeb_GetHeaderVars): New function to get
client headers, which are now seperate from environmental
variables.
2002-06-18 David N. Welton <davidw@dedasys.com>
* cvsversion.tcl: Added tool to manage version numbers based on
CVS changes.
2002-06-17 David N. Welton <davidw@dedasys.com>
* src/make.tcl: Updated build scripts to build the HTML
documentation from XML files.
* src/buildscripts/aardvark.tcl: Changed commands to 'sh' for
shell commands and 'tcl' for Tcl commands.
2002-06-10 David N. Welton <davidw@dedasys.com>
* doc/packages/dio/dio.xml: Further updates.
2002-06-08 David N. Welton <davidw@dedasys.com>
* doc/packages/dio/dio.xml: Finished up adding material to
dio.xml.
2002-06-06 David N. Welton <davidw@dedasys.com>
* doc/packages/dio/dio.xml: Initial commit of (incomplete) docbook
documentation.
* doc/packages/dio/rivet.xsl: Added XSL file for docbook
documentation.
2002-05-03 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c (TclWeb_GetVarAsList): Added check to length
to make sure we fully compare the two variables. Idem for
TclWeb_VarExists.
2002-04-19 Damon J. Courtney <damon@unreality.com>
* src/TclWebapache.c
Added 'TclWeb_GetVirtualFile' command which returns the full
path to a virtual file.
* src/rivetCore.c
Added command 'virtual_filename' to return the full path to a
virtual file.
Added -virtual option to include and parse commands to enable
them to parse a virtual file which is relative to the webserver.
2002-03-26 Damon J. Courtney <damon@unreality.com>
* rivet/packages/form
Added a new package for handling forms in Rivet.
2002-03-26 Damon J. Courtney <damon@unreality.com>
* src/TclWebapache.c
Moved the setting of include variables from LoadEnv to the
InitEnv command. This will allow us to retrieve these variables
via the env command as well as load_env.
2002-03-21 Damon J. Courtney <damon@unreality.com>
* src/TclWebapache.c
* src/TclWeb.h
Added new command 'TclWeb_HeaderAdd'.
* src/rivetCore.c
Added 'add' option to headers command to add a header instead
of just setting over one.
* rivet/rivet-tcl/cookie.tcl
The cookie command adds a header instead of setting one. This
allows multiple cookies in a single page.
2002-03-21 Damon J. Courtney <damon@unreality.com>
* src/TclWebapache.c
If the header being set is Set-Cookie, we add it to the table
instead of overwriting it. This allows us to set more than
one cookie per page, which is legal to all browsers.
2002-03-19 Damon J. Courtney <damon@unreality.com>
* rivet/init.tcl
Appended packages-local to the auto_path. This will be a great
place for people to place local packages that we won't mess with.
2002-03-18 David N. Welton <davidw@dedasys.com>
* tests/apachetest/apachetest.tcl: Added TclX to requirements.
Damn.
2002-03-16 David N. Welton <davidw@dedasys.com>
* tests/runtests.tcl: Updated to run with apachetest, eliminating
makeconf.tcl, and moving template.conf.tcl to the apachetest
directory.
* tests/apachetest/apachetest.tcl: New file, grouping together
the test functions in one place, and in a namespace.
2002-03-15 David N. Welton <davidw@dedasys.com>
* tests/config.test: Added some new, automatically generated
tests.
* src/mod_rivet.c (Rivet_MergeDirConfigVars): Make sure that both
arguments to overlay_tables exist!
* src/mod_rivet.h: Add a default error script.
* src/TclWebapache.c (TclWeb_GetEnvVars): DecrRef for the name of
the environment variable.
* rivet/rivet-tcl/cookie.tcl (make_cookie_attributes): Add an
interface to add the 'expire' field directly.
(cookie): "Set-Cookie" is uppercase for both words.
2002-03-15 Damon J. Courtney <damon@unreality.com>
* src/apache_cookie.c
* src/apache_cookie.h
Removed in favor of doing cookies through a Tcl interface.
* src/channel.c
* src/channel.h
Renamed to rivetChannel.c and rivetChannel.h
* src/rivetCore.c
* src/TclWebapache.c
Removed references to Apache cookie functions.
2002-03-14 Damon J. Courtney <damon@unreality.com>
* src/TclWebapache.c
Added a routine to setup the environment variables and mark
that they have been set. This will save us from having to
reload them all the time. Once they're loaded, they don't
load again.
* rivet/rivet-tcl/cookie.tcl
Added a new 'cookie' command for setting and getting cookies.
* rivet/rivet-tcl/import_keyvalue_pairs.tcl
Added a command to import keyvalue pairs from arguments.
* rivet/rivet-tcl/load_cookies.tcl
Made load_cookies use the env command to get the one variable
it needs instead of load_env, which gets a bunch it doesn't
need.
* rivet/rivet-tcl/debug.tcl
Made debug use the env and import_keyvalue_pairs commands.
2002-03-13 Damon J. Courtney <damon@unreality.com>
* src/mod_rivet.c
Cleaned up the error handling a little. There was a really nasty
bug that if the ErrorScript was defined, it wouldn't actually
error out. This had something to do with the header output and
flush being before the ErrorScript was executed.
* rivet/init.tcl
Changed the default error handler to a Tcl proc.
2002-03-13 Damon J. Courtney <damon@unreality.com>
* src/make.tcl
* src/TclWebapache.c
Cleaned up the remainder of the compiler warnings.
Rivet should build cleanly without warnings now.
2002-03-13 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (Rivet_PropagatePerDirConfArrays): Clean up
arrayName object after we're done with it.
* src/TclWebapache.c (TclWeb_GetVar): Make sure to compare all of
the variable key.
* src/mod_rivet.c (Rivet_InitTclStuff): Moved creation of "rivet"
AssocData here.
2002-03-12 Damon J. Courtney <damon@unreality.com>
* src/mod_rivet.c
* src/mod_rivet.h
* src/rivetParser.c
* src/rivetCore.c
* src/TclWebapache.c
Cleaned up a lot of memory leaks. Still working on finding more.
2002-03-12 David N. Welton <davidw@dedasys.com>
* tests/makeurl.test: New test.
* src/TclWebapache.c (TclWeb_MakeURL): Use Tcl_SetStringObj
instead of creating a new object.
* src/rivetCore.c (Rivet_MakeURL): Pass already created object to
TclWeb_MakeURL.
2002-03-11 Damon J. Courtney <damon@unreality.com>
* src/TclWeb.h
Added declaration for TclWeb_GetEnvVar.
* src/TclWebapache.c
Added command TclWeb_GetEnvVar. Gets a single environment
variable.
* src/mod_rivet.c
Added some extra stuff to the default error functions.
If the error_script fails, we output the failure.
* src/rivetCore.c
Added Tcl 'env' command to get a single environment variable.
* src/make.tcl
* src/buildscripts/aardvark.tcl
* src/buildscripts/graph.tcl
Cleaning up a bug with the struct package.
2002-03-10 Damon J. Courtney <damon@unreality.com>
* src/mod_rivet.c
The Scripts output to the UserConf arrays now properly display
the scripts in their entirety.
Cleaned up the handling of directory configuration merging.
Fixed a bug where Rivet_GetRivetFile was stomping the BeforeScript.
2002-02-23 David N. Welton <davidw@dedasys.com>
* tests/upload.test: Added upload test.
* src/TclWebapache.c: Added functions: TclWeb_PrepareUpload,
TclWeb_UploadChannel, TclWeb_UploadSave, TclWeb_UploadData,
TclWeb_UploadSize, TclWeb_UploadType, TclWeb_UploadFilename,
TclWeb_UploadNames.
* src/rivetCore.c (Rivet_Upload): Offloaded functionality to
TclWebApache.c.
2002-02-17 Damon J. Courtney <damon@unreality.com>
* src/make.tcl
Added a script to look around a little more for Apache's apxs tool.
If we can't find it, we output an error message to the user.
* src/buildscripts/findapxs.tcl
Added to repository.
2002-02-12 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c: Added some INLINE's.
* src/mod_rivet.c (Rivet_ParseExecFile): Tweaking of parameters to
enable the modification stated below.
* src/rivetCore.c (Rivet_Parse): Removed 'rsc' from this
function.
2002-02-07 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c (TclWebMakeURL): New command, extracted out
of rivetCore.c.
2002-02-01 David N. Welton <davidw@dedasys.com>
* src/rivetCore.c: Deleted rivet_info command.
* src/TclWebapache.c (TclWeb_GetEnvVars): Added RIVET_CACHE_FREE
# and RIVET_CACHE_SIZE as environmental variables.
2002-01-29 David N. Welton <davidw@dedasys.com>
* doc/help.html: Updated mailing list archive location.
2002-01-28 David N. Welton <davidw@dedasys.com>
* src/rivetCore.c (Rivet_Include): Get channel via Tcl_GetChannel
instead of through the apache config structure.
2002-01-27 David N. Welton <davidw@dedasys.com>
* tests/parse.test: Added test for 'parse' command.
* src/mod_rivet.c (Rivet_ParseExecFile): Moved the addition of
before and after scripts to this file, so that GetRivetFile is
independant of any Apache specific code.
* src/rivetParser.c, src/rivetParser.h: New files, which replace
parser.c and parser.h.
(Rivet_GetRivetFile): Moved from mod_rivet.c. Now capable of
operating independantly of mod_rivet. Use Tcl file functions
instead of Apache functions.
(Rivet_Parser): Parser now operates on a Tcl_Obj input buffer.
* src/mod_rivet.h: Moved content_sent to TclWebRequest in TclWeb.h
2002-01-26 David N. Welton <davidw@dedasys.com>
* tests/binary.test: Added test file for binary file handling.
* src/mod_rivet.c (Rivet_SendContent): Moved 'header_only' option
so that the request is set up and we don't segfault.
(Rivet_GetRivetFile): changed puts to puts -nonewline, so as to
not add spurious newlines.
* src/rivetCore.c (Rivet_Include): Simplified code some, with '-1'
argument to Tcl_ReadChars. Eliminated "lf" -translation option.
2002-01-24 David N. Welton <davidw@dedasys.com>
* tests/include.test: Added test for 'include' command.
2002-01-22 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c, src/channel.c, src/rivetCore.c: Switched to
TclWeb functions for error, headers.
* src/mod_rivet.h: Moved headers_set and headers_printed out of
the rivet_server_conf struct and into the TclWebRequest struct.
* src/TclWebapache.c: Moved PrintHeaders, PrintError and
SetHeaderType from mod_rivet.c.
* src/TclWeb.h: Added ER1, ER2 and DEFAULT_HEADER_TYPE here.
* tests/get.test: Added some tests related to [var *].
* tests/post.test: Added some tests related to [var *].
* src/rivetList.c (Rivet_LassignArrayObjCmd): Use -1 instead of
NULL when doing NewStringObj.
* src/rivetCrypt.c: Added header file.
* src/make.tcl: Added slightly nicer apxs handling.
* src/mod_rivet.c: Moved StringToUtf to TclWeb.
* src/mod_rivet.h: Removed StringToUtf macro.
* src/TclWebapache.c: Lots of bug fixes and corrections.
* src/rivetCore.c (Rivet_LoadEnv): Switched to TclWeb API.
(Rivet_LoadCookies): Switched to TclWeb API.
(Rivet_Var): Switched to TclWeb API.
2002-01-19 Damon J. Courtney <damon@unreality.com>
* src/rivetCore.c
Moved authorization from its own array into the env array as
HTTP_USER and HTTP_PASS.
Added an abort_page command which halts the sending of a request.
2002-01-19 David N. Welton <davidw@dedasys.com>
* src/TclWebapache.c: Added individual functions for CGI variable
access. Much simpler than trying to devise a data structure to
pass them around with.
* src/rivetCore.c (Rivet_LoadEnv): Roll back authorization
information command.
2002-01-18 David N. Welton <davidw@dedasys.com>
* src/rivetCore.c (Rivet_LoadAuth): New command to load
authorization information in its own array.
* src/TclWebcgi.c: New file for stand-alone implementations of
common web API.
* src/TclWebapache.c: New file for apache-based implementations of
web API.
* src/TclWeb.c: Common code for TclWeb API.
* src/TclWeb.h: TclWeb web interaction API.
2002-01-11 Damon J. Courtney <damon@unreality.com>
* src/make.tcl
Updated some of the make nodes.
librivet.so now gets copied into the rivet package directory.
* src/mod_rivet.c
Changed Rivet_Init to Rivet_InitCore to fix bug.
All Script directives now append to each other instead of
overwriting the last directive. Directory directives still
override in standard fashion though.
* rivet/packages/rivet
Added as the default package of Rivet commands in C.
2002-01-10 Damon J. Courtney <damon@unreality.com>
* src/rivet.h
Added macro 'TCL_CMD_HEADER'. Prints the default command header
for Tcl commands in Rivet.
Added macro 'TCL_OBJ_CMD'. Prints the default object command
creation for Tcl commands in Rivet.
* src/rivetInit.c
Renamed to rivetPkgInit.c
* src/rivetCrypt.c
Added. Contains commands for encryption and decryption.
encrypt
decrypt
crypt
* src/rivetWWW.c
Added. Contains commands for the world wide web.
escape_string
unescape_string
escape_sgml_chars
escape_shell_command
* src/rivetList.c
Added the following commands:
comma_split
comma_join
lassign_array
* src/make.tcl
Moved all of the Rivet Tcl commands into their own library
called librivet. This will be automatically loaded into Rivet
as the default configuration. Anyone who wants can take it
out if they choose.
2002-01-10 David N. Welton <davidw@dedasys.com>
* tests/template.conf.tcl: Re-add srm.conf and access.conf - if
they aren't present, it tries to grab the ones from /etc/ - not
what we want.
2002-01-09 Damon J. Courtney <damon@unreality.com>
* src/tcl_commands.c
Renamed to rivetCore.c
* src/tcl_commands.h
Removed.
* src/rivet.h
Added as the default header file for Rivet Tcl commands.
* src/rivetList.c
Added. Only contains 'lremove' right now.
* src/rivetInit.c
Added. Contains the Tcl initialization routine for Rivet's Tcl
commands.
* src/make.tcl
Added rivetCore.c, rivetList.c and rivetInit.c to the make.
2002-01-08 Damon J. Courtney <damon@unreality.com>
* src/mod_rivet.h
Added RIVET_NEW_CONF macro to create a new rivet_server_conf.
* src/mod_rivet.c
Added Rivet_MergeDirConfig to merge directory configurations.
Fixed bug where RivetDirConf was giving erroneous information.
2002-01-08 Damon J. Courtney <damon@unreality.com>
* tests/makeconf.tcl
Went ahead and copied over the entire rivet directory.
* tests/rivet.test
Changed the default port to 8081.
* tests/template.conf.tcl
Changed the default port to 8081.
Removed access.conf and srm.conf.
2002-01-08 David N. Welton <davidw@dedasys.com>
* tests/makeconf.tcl (makeconf): Added a command to copy over the
init.tcl file to the testing directory. It would probably be
best to copy the whole directory, though.
2002-01-08 Damon J. Courtney <damon@unreality.com>
* src/channel.c
Just a text change.
* src/make.tcl
Added a command to install that will copy the contents of the
rivet/ directory into Apache's install location.
* src/mod_rivet.h
Removed some superfluous code and deprecated options.
* src/mod_rivet.c
Finished renaming the rest of the remaining commands into the
standard Rivet_ naming scheme. This will prevent any further
interferance with other modules.
Renamed namespacePrologue to request_init and re-coded the
namespace initialization code in Tcl.
Removed leftover references to the ::request::UPLOAD array.
Added an array called 'server' to the global namespace which
briefly contains important information about Apache and Rivet.
Propagated RivetServerConf, RivetDirConf and RivetUserConf arrays
at the tcl level.
Gave RivetUserConf the ability to set BeforeScript, AfterScript
and ErrorScript.
* src/tcl_commands.c
Updated makeurl to use Tcl objects instead of the old Tcl_SetResult
command.
* rivet/
Added a rivet/ directory of Tcl code.
Added init.tcl to rivet/. This file contains initialization code
in a ::Rivet namespace that is called when the server starts up.
* rivet/init.tcl
Added a command for cleanup after each request. It currently
does nothing but could come in handy later.
* rivet/packages
Created a rivet/packages directory for future Rivet packages.
* rivet/rivet-tcl
Created a rivet/rivet-tcl directory containing a few procs.
* rivet/rivet-tcl/load_response.tcl
Added 'load_response' command to rivet-tcl/.
* rivet/rivet-tcl/parray.tcl
Added 'parray' command to rivet-tcl/.
2002-01-07 David N. Welton <davidw@dedasys.com>
* General: Renamed some more commands so that Rivet may be run
alongside mod_dtcl.
* src/mod_rivet.c (get_parse_exec_file): Oops - change httpd-tcl
to httpd-rivet in strcmp.
2002-01-06 David N. Welton <davidw@dedasys.com>
* Documentation: Big cleanup, updating everything from mod_dtcl.
* General: Changed .ttml to .rvt. Also changed mime type to
x-httpd-rivet. Changed all references in documentation to .rvt
from .ttml.
2002-01-05 David N. Welton <davidw@dedasys.com>
* src/parser.c (Rivet_Parser): A few, mostly cosmetic, cleanups in
the parser.
* src/make.tcl: Add nodes for testing library.
* src/channel.c (outputproc): Change printheaders to
Rivet_PrintHeaders.
* General: whitespace cleanups.
2001-11-21 David N. Welton <davidw@dedasys.com>
* src/channel.c: Almost all output is based on the ApacheChan
channel, and uses Tcl's buffering, flushing, etc...
* tests/rivet.test: Updated testing scheme to work with lots of
test files/ttml files.
2001-11-21 Damon J. Courtney <damon@unreality.com>
* src/mod_rivet.c
Renamed more commands into the Rivet_ naming scheme.
2001-11-20 Damon J. Courtney <damon@unreality.com>
* src/tcl_commands.c
load_env and load_cookies now accept an optional argument of
?arrayName?.
* src/tcl_commands.c
Renamed a lot of the commands into a standard naming scheme.
2001-11-20 Damon J. Courtney <damon@unreality.com>
* src/tcl_commands.c
Cleaned up some more code. Just textual changes.
* src/mod_rivet.c
Cleaned up some run-over lines and code.
* src/mod_rivet.c
Changed module signature from "mod_rivet" to "Rivet"
* src/tcl_commands.c
Changed hgetvars command to load_env command.
* src/tcl_command.c
Moved loading of cookies to load_cookies command.
* src/tcl_command.c
Renamed default load_env array from ENVS array to env.
* src/tcl_command.c
Renamed default load_cookies array from COOKIES to cookies.
2001-11-08 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (rivet_child_init): Fix loop, pass correct
parameter to RIVET_SERVER_CONF.
2001-10-19 David N. Welton <davidw@dedasys.com>
* src/mod_rivet.c (get_parse_exec_file): Fixed up problems with
Parse command.
2001-09-30 David N. Welton <davidw@dedasys.com>
* src/parser.c (rivet_parser): Quote { and } to avoid problems.
2001-09-23 David N. Welton <davidw@dedasys.com>
* Initial commit and cleanup of old mod_dtcl code.
|