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
|
2019-06-02 Tom Tromey <tom@tromey.com>
* configure.ac: Version 3.1.9.
* NEWS: List new changes.
2019-06-02 Tom Tromey <tom@tromey.com>
* tests/Makefile.am (DISTCLEANFILES): Add *testtmp.
2019-06-02 Tom Tromey <tom@tromey.com>
* tests/test.adb.html: Update expected results.
* tests/test.adb: Add use of 'Length attribute.
* src/ada.lang: Treat character literals more precisely.
2019-06-02 Tom Tromey <tom@tromey.com>
* tests/Makefile.am (EXTRA_DIST): Add test.zsh and test.zsh.txt.
2019-06-02 Atte Peltomaki <atte.peltomaki@iki.fi>
* tests/lang.list (vim): New entry.
* src/Makefile.am (LANGFILES): Add vim.lang.
* THANKS: Update.
* src/vim.lang: New file.
* src/lang.map (vim): New entry.
2019-06-02 Luc Ducazu <lducazu@gmail.com>
* THANKS: Update.
* tests/lang.list (ipxe): Add ipxe.
* tests/Makefile.am (EXTRA_DIST): Add test.ipxe.
(check-produced-output): Add check_ipxe.
(check_ipxe): New target.
* src/lang.map (ipxe): New entry.
* src/ipxe.lang: New file.
* src/Makefile.am (LANGFILES): Add ipxe.lang.
2019-06-02 Tom Tromey <tom@tromey.com>
From Asushi Hayami
* THANKS: Update.
* tests/test.m4.html: Update expected output.
* tests/test.m4: Add URL tests.
* src/m4.lang: Update to handle URLs properly in comments.
* doc/source-highlight.texi (State/Environment Definitions):
Update to handle URLs properly.
2019-06-02 Tom Tromey <tom@tromey.com>
* doc/help-output.texinfo: Rebuild.
2019-06-02 Tom Tromey <tom@tromey.com>
* THANKS: Add Anthony Scopatz.
* src/python.lang (keyword): Add async and await.
2019-06-02 Tom Tromey <tom@tromey.com>
Bug #45299
* THANKS: Add Doron Behar.
* tests/Makefile.am (check_zsh): New target.
(check-produced-output): Add check_zsh.
* src/zsh.lang (keyword): Remove trailing "|" and duplicate
"exec". (Thanks to Doron Behar.)
* tests/test.zsh: New file.
* tests/test.zsh.txt: New file.
2019-06-01 Tom Tromey <tom@tromey.com>
* src/d.lang: Update.
* tests/c.lang.html: Update expected results.
* src/cpp.lang: Use c_preprocessor.lang. Don't include c.lang.
Add keywords.
* src/c_preprocessor.lang: New file.
* src/c.lang: Include c_preprocessor.lang.
* src/Makefile.am (LANGFILES): Add c_preprocessor.lang.
2019-06-01 Tom Tromey <tom@tromey.com>
* src/check-regexp_cmd.ggo: Use upper case for metasyntactic
variables.
* src/check-regexp_cmd.c: Rebuild.
* src/cmdline.h: Rebuild.
* src/cmdline.ggo: Use upper case for metasyntactic variables.
* src/cmdline.c: Rebuild.
2019-06-01 Tom Tromey <tom@tromey.com>
Bug #55967
* tests/test.java.txt: Update results.
* src/esc.style (function): Don't use "black".
2019-06-01 Tom Tromey <tom@tromey.com>
* tests/lang.list: Add rust.
2019-06-01 Tom Tromey <tom@tromey.com>
* src/c.lang: Add enum and union as defining a type.
* src/cpp.lang: Add enum and union as defining a type.
* tests/c.lang.html: Update.
2019-06-01 Tom Tromey <tom@tromey.com>
* src/Makefile.am (LANGFILES): Add rust.lang.
* doc/index.html: Add Rust.
* src/lang.map: Add .rs.
* src/rust.lang: New file.
2012-11-09 bettini <bettini@bettini-laptop-quantal>
* src/lang.map: .f mapped to fotran
* src/sh.lang: do not consider $' a variable
https://savannah.gnu.org/bugs/?36613
2012-07-19 Lorenzo Bettini <bettini@bettini>
* src/tcl.lang: Fixed some definitions
2011-12-26 Lorenzo Bettini <bettini@bettini>
* src/mediawiki.outlang: Added, thanks to Abe Skolnik
2011-12-12 Paul W. Harvey <Paul.W.Harvey@csiro.au>
* src/tml.lang: TML language definition file
2011-09-02 Viraj Sinha <viraj@intrepid.com>
* src/upc.lang: UPC language definition file
2011-09-02 Mark Silberbauer <mark@stonethree.com>
* src/javalog.lang: lang file for javalog files
2011-05-02 Lorenzo Bettini <bettini@bettini-desk-lucid>
* src/clike_vardeclaration.lang: detect also _ in type and variable
name
2011-04-23 Masatake YAMATO <yamato@redhat.com>
* lib/srchilite/docgenerator.cc: added inputlang in the output file
2011-03-18 Lorenzo Bettini <bettini@bettini-laptop>
* src/logtalk.lang: improved definition
* src/lang.map: emacs lisp files highlighted as lisp
* src/sql.lang: added UNION as a keyword
2011-02-11 Lorenzo Bettini <bettini@bettini-desk-lucid>
* src/scala.lang: fixed separation between string keywords
and symbol keywords
2011-01-27 Gary Funck
* m4/ax_boost_regex.m4: new upstream version that fixes for finding
lib64 version
2010-06-17 Lorenzo Bettini <bettini@bettini-laptop>
* m4/Makefile.am (EXTRA_DIST): don't install boost m4 macros
2010-05-31 Lorenzo Bettini <bettini@bettini-laptop>
* tests/Makefile.am (check): enable some tests only in
maintainer-mode
2010-04-28 Lorenzo Bettini <bettini@bettini-laptop>
* src/lisp.lang: Lisp language definition
* src/vala.lang: Vala language definition
2010-04-26 Lorenzo Bettini <bettini@bettini-desk-lucid>
* lib/srchilite/fileutil.h: include <cstdio> to solve compilation
problems in Sun CC.
2010-03-12 Lorenzo Bettini <bettini@bettini-laptop>
* autogen.sh: removed
* src/haskell_literate.lang: literate programming for
haskell in bird and latex style
* src/proto.lang: Google's Protocol Buffers language
definition added (thanks to Joel Smith)
2010-01-22 Lorenzo Bettini <bettini@bettini-laptop>
* src/html.lang: handle embedded css
handle embedded javascript
2010-01-21 Lorenzo Bettini <bettini@bettini-laptop>
* src/php.lang: added keywords null, false, true
handles embedded html
* src/html_simple.lang: version with only html features
no other languages (to be used for inclusion in comment
environments)
2010-01-16 Lorenzo Bettini <bettini@bettini-laptop>
* src/lang.map: bash mapped to sh.lang
2010-01-14 bettini <bettini@bettini-laptop>
* src/source-highlight.cc (main): tab option is handled
2009-12-23 Lorenzo Bettini <bettini@bettini-prog-karmic>
* lib/srchilite/Makefile.am (libsource_highlight_la_SOURCES): put
generated bison and flex files in sources
* src/Makefile.am: when gengetopt is missing don't do
anything (don't touch files)
2009-12-09 Lorenzo Bettini <bettini@bettini-laptop-karmic>
* src/url.lang: improved email regular expression
2009-12-06 Lorenzo Bettini <bettini@bettini-laptop-karmic>
* src/erlang.lang: added
* lib/srchilite/reportbugs.text copyright.text: removed
* lib/srchilite/Makefile.am: flex and bison generated files are
generated in the source directory (available in repository)
2009-11-23 bettini <bettini@dellbettini>
* defines.pri: use version number for dynamically linking in mingw
forces CONFIG+=static in case of msvc
2009-11-22 bettini <bettini@dellbettini>
* lib\compat\compat_dirent.cpp: Needed only for compilation with msvc.
* lib\compat\compat_dirent.h: Ditto.
* lib\compat\getopt.c: Ditto.
* lib\compat\getopt.h: Ditto.
* lib\compat\getopt1.c: Ditto.
* lib\compat\getopt_int.h: Ditto.
* lib\compat\Makefile.am: Ditto.
* lib\compat\unistd.h: Ditto.
* defines.pri: check for msvc
* lib\srchilite\ctagscollector.h: forward declaration to a struct is
NOT expressed with a class
* lib\srchilite\ctagsformatter.h: Ditto.
* lib\srchilite\debuglistener.h: Ditto.
* lib\srchilite\formatter.h: Ditto.
* lib\srchilite\highlightbuilderexception.h: Ditto.
* lib\srchilite\highlightevent.h: Ditto.
* lib\srchilite\highlighteventlistener.h: Ditto.
* lib\srchilite\highlightrule.h: Ditto.
* lib\srchilite\highlightstate.h: Ditto.
* lib\srchilite\highlightstateprinter.h: Ditto.
* lib\srchilite\langdefparser.yy: Ditto.
* lib\srchilite\parserexception.h: Ditto.
* lib\srchilite\sourcehighlighter.h: Ditto.
* lib\srchilite\settings.cpp: Deal with opendir, mkdir for msvc
* lib\srchilite\sourcehighlightutils.cpp: Ditto.
* src\source-highlight.pro: boost regex library is linked as the last
* src\source-highlight-settings.pro: Ditto.
* src\cmdline.c (update_arg): removed FIX_UNUSED, which does not
compile in msvc
* src\source-highlight.cc (print_copyright): inserted string
(print_reportbugs): Ditto.
2009-11-19 bettini <bettini@dellbettini>
* lib\srchilite\fileinfo.h: include parserinfo.h with "" instead of <>
* lib\srchilite\settings.cpp (Settings::Settings):
(findHomeDirectory): searches for home directory in other
standard windows environment variable besides HOME
* defines.pri: use CONFIG += console otherwise no output is
shown
2009-11-18 bettini <bettini@dellbettini>
* defines.pri: additional libraries variable (boost_regex)
check the variable USE_MINGW
* lib\srchilite\settings.cpp: try to do a manual fix when compiling
with qmake and using mingw
* lib\srchilite\srchilite.pro:
* src\source-highlight-settings.pro:
* src\source-highlight.pro:
2009-11-18 bettini <bettini@bettini-laptop>
* src/source-highlight-settings.pro: New file.
* src/source-highlight.pro: New file.
* src/source-highlight-settings.cpp: deal with progname.h when compiling
with qmake
2009-11-17 bettini <bettini@bettini-laptop>
* defines.pri: New file.
* lib/lib.pro: qmake pro file.
* source-highlight.pro: New file.
* src/src.pro: New file.
* lib/srchilite/langdefparser.cc: bison and flex generated files
are in the CVS now
* lib/srchilite/langdefparser.h: New file.
* lib/srchilite/langdefscanner.cc: New file.
* lib/srchilite/outlangdefparser.cc: New file.
* lib/srchilite/outlangdefparser.h: New file.
* lib/srchilite/outlangdefscanner.cc: New file.
* lib/srchilite/srchilite.pro: New file.
* lib/srchilite/stylecssparser.cc: New file.
* lib/srchilite/stylecssparser.h: New file.
* lib/srchilite/stylecssscanner.cc: New file.
* lib/srchilite/styleparser.cc: New file.
* lib/srchilite/styleparser.h: New file.
* lib/srchilite/stylescanner.cc: New file.
* lib/srchilite/fileutil.cc: default CHROOT_INPUT_DIR
* lib/srchilite/settings.cpp: include config.h selectively
* src/source-highlight.cc (main): deal with progname.h when compiling
with qmake
2009-10-19 bettini <bettini@bettini-laptop>
* src/errors.lang: lang definition file for compiler output errors.
2009-10-13 bettini <bettini@bettini-desktop-mint>
* src/d.lang: lang for D
2009-10-11 bettini <bettini@bettini-desktop-mint>
* src/cobol.lang: lang for Cobol
2009-10-11 bettini <bettini@bettini-laptop>
* src/clipper.lang: lang for Clipper
* src/c.lang: label element
* src/bat.lang: lang for DOS batch files.
* src/default.style: style for label and path
* src/style.defaults: style for label and path
2009-10-05 bettini <bettini@bettini-laptop>
* src/vbscript.lang: lang file for vbscript.
* src/applescript.lang: lang file for applescript.
* src/todo.lang: isolated TODO elements.
* src/asm.lang: lang file for asm.
* src/manifest.lang: lang file for Manifest files.
* tests/test.ecore.html: test for inference of <?xml.
* lib/srchilite/languageinfer.cpp (LanguageInfer::infer): regexs
are now static local variables.
(LanguageInfer::infer): check also for <?xml and <!doctype
2009-09-20 Sergey Astanin
* src/haskell.lang: language definition for haskell
2009-09-14 bettini <bettini@bettini-laptop>
* lib/srchilite/settings.cpp (Settings::getDefaultDataDir):
retrieve the hardcoded value for datadir
* lib/srchilite/settings.h (Settings):
* NEWS:
* tests/Makefile.am: adapted to shadow build
* lib/srchilite/Makefile.am: make sure to generate doublecpp files
into srcdir
2009-08-24 bettini <bettini@bettini-laptop>
* lib/srchilite/fileutil.cc (open_data_file_stream): throw
exception if the file name is empty
2009-08-23 bettini <bettini@bettini-laptop>
* tests/test.c: Removed.
* tests/test_c.c: replaces test.c to avoid problems with test.l.
2009-08-21 bettini <bettini@bettini-laptop>
* lib/srchilite/settings.cpp (Settings::checkSettings): static method
for checking the current settings
* lib/srchilite/settings.h (Settings): Ditto.
* lib/srchilite/instances.cpp: provides access to static (single)
instances of LangDefManager, LangMap, etc.
* lib/srchilite/instances.h: Ditto.
* lib/srchilite/langmap.cpp: method for reloading the contents
* lib/srchilite/langmap.h (LangMap): path and filename fields are
not static anymore
2009-08-17 bettini <bettini@bettini-laptop>
* lib/srchilite/Makefile.am: use AM_LDFLAGS for the library
otherwise a non standard boost library will not be found
* lib/srchilite/settings.cpp (Settings::retrieveDataDir):
(Settings::setGlobalDataDir): mechanism for setting a global
data dir value that is always returned by retrieveDataDir
* lib/srchilite/settings.h (Settings): Ditto
* lib/tests/test_settings_main.cpp (main): Ditto
* lib/srchilite/sourcehighlightutils.cpp (SourceHighlightUtils::getLangFileNames):
(SourceHighlightUtils::getOutLangFileNames): Added
* lib/srchilite/sourcehighlightutils.h (SourceHighlightUtils): Added
utility functions for retrieving .lang files and .outlang files.
2009-08-01 bettini <bettini@bettini-laptop>
* source-highlight.pc.in: removed libdir/include
2009-07-18 bettini <bettini@bettini-laptop>
* src/texinfo.lang: language definition file for texinfo
2009-07-14 bettini <bettini@bettini-laptop>
* lib/srchilite/stylescanner.ll: white is a standard color
* lib/srchilite/Makefile.am: utils.h is installed
2009-07-12 bettini <bettini@bettini-laptop>
* lib/srchilite/sourcehighlight.h (SourceHighlight.setLineNumberDigits): to
explicitly set the number of digits for line numbers
* lib/srchilite/sourcehighlight.cpp (SourceHighlight::initialize): keep
the background color empty if none is specified
2009-07-05 bettini <bettini@bettini-laptop>
* lib/srchilite/sourcehighlight.h (SourceHighlight): default output
to "html.outlang" not "html.lang"
(SourceHighlight.getOutputFileExtension): return the output file extension
as specified in the output format definition file
2009-06-30 bettini <bettini@bettini-laptop>
* lib/examples/Makefile.am: install style formatter example
2009-06-13 bettini <bettini@bettini-desktop>
* src/oz.lang: New file. taken from
http://www.cs.unb.ca/~bremner//blog/posts/oz-source-highlight/
2009-06-07 bettini <bettini@bettini-laptop>
* lib/examples/styleformatter-main.cpp: Example using customized
FormatterFactory
* lib/examples/styleformatter.h: New file.
* lib/examples/styleformatterfactory.h: New file.
* doc/source-highlight-lib.texinfo: added example of customized
FormatterFactory
* lib/srchilite/stylefileparser.cpp (StyleFileParser::parseStyleFile):
(StyleFileParser::parseCssStyleFile): versions with explicit path
* lib/srchilite/stylefileparser.h (StyleFileParser): Ditto
2009-05-27 bettini <bettini@bettini-desktop>
* lib/srchilite/formattermanager.h (FormatterManager.getFormatterMap): return
a const reference to the formatter map
2009-05-23 bettini <bettini@bettini-laptop>
* lib/srchilite/highlightstate.cpp (HighlightState::HighlightState): the copy
constructor does NOT copy the id of the state, but generates a new one;
this is required for highlighting in contexts where the processing is not
sequential (e.g., in text editors)
2009-05-21 bettini <bettini@bettini-laptop>
* lib/srchilite/formattermanager.h (FormatterManager.reset): added method
to clear the formatter map
2009-05-20 bettini <bettini@bettini-laptop>
* lib/srchilite/sourcehighlightutils.h (SourceHighlightUtils): added class
with static methods for retrieving style files
2009-05-19 Lorenzo Bettini <bettini@bettini-laptop>
* doc/Makefile.am (source_highlightdata_DATA): install .css files
in the data dir
2009-05-18 Cesare Tirabassi
* doc/source-highlight-settings.1: added
2009-05-18 bettini <bettini@bettini-laptop>
* doc/source-highlight-settings.1:
* lib/srchilite/srchilite.doxyfile.in: use an .in file
that is configured with the right source directory (so that
it works also if the build is in a different directory)
2009-05-15 Lorenzo Bettini <bettini@bettini-laptop>
* src/latex.outlang: use \textgreater and \textless for
formatting < > (thanks to Jan Schafer)
* lib/srchilite/Makefile.am (EXTRA_DIST): doxyfile added
2009-05-10 Lorenzo Bettini <bettini@bettini-laptop>
* doc/index.html: put examples in a separate file: examples.html
2009-05-09 bettini <bettini@bettini-desktop>
* configure.ac: removed check for flex library (which is not
needed anyway)
2009-05-05 bettini <bettini@bettini-laptop>
* lib/srchilite/langdefparser.yy: can specify the exit level (default 1)
2009-04-21 bettini <bettini@bettini-laptop>
* src/cmdline.ggo: added --binary-output command line arg so that
output files are written in binary mode
2009-04-19 bettini <bettini@bettini-laptop>
* lib/srchilite/verbose.h: removed, since now we only use Verbosity
* lib/srchilite/verbosity.h (Verbosity): class with static methods
for global verbosity
2009-04-18 bettini <bettini@bettini-laptop>
* src/source-highlight-settings.cpp (main): new program to interact
with the user for the settings
* lib/srchilite/versions.h (Versions): static public methods for retrieving
version numbers
* lib/srchilite/settings.h (Settings): class for dealing with
setting reading and storage
2009-04-14 bettini <bettini@bettini-laptop>
* configure.ac: use --docdir for documentation directory
2009-04-13 bettini <bettini@bettini-laptop>
* src/html.lang: deal with HTML5 stuff
* src/key_string.lang: deal with HTML5 stuff
* src/xml.lang: deal with HTML5 stuff
2009-04-11 bettini <bettini@bettini-laptop>
* lib/srchilite/regexranges.h (RegexRanges): to search for ranges delimited
by a regular expression
* src/source-highlight.cc: removed check for range-context and separator
which is executed by the command line parser itself
* src/cmdline.ggo: range-context and range-separator depend on line-range
2009-01-18 bettini <bettini@bettini-laptop>
* tests/Makefile.am: use diff --strip-trailing-cr to work also on windows
(in case output files are generated with \r)
* src/xhtmltable.outlang: added the nodoctemplate (this also fixes the
output of style_examples.html)
2009-01-16 bettini <bettini@bettini-laptop>
* doc/Makefile.am: generated texinfos are in maintainer-clean, not
dist-clean
2008-12-23 bettini <bettini@bettini-laptop>
* src/source-highlight.cc (main): check that if -i or -o is specified
then no other files are specified on the command line
2008-12-07 bettini <bettini@bettini-laptop>
* lib/srchilite/formatterfactory.h (FormatterFactory): Added abstract factory
for creating formatters.
2008-10-26 bettini <bettini@bettini-laptop>
* library code uses namespaces
* _sstream: replacement for sstream if not present (used by the configure
script);
2008-11-22 Jason Blevins
* src/fortran.lang: improved with new keywords from Fortran 90
through Fortran 2003
2008-11-20 bettini <bettini@dellbettini>
* src\lib\Makefile.am: libsrchilite renamed into libsource-highlight
* lib\Makefile.am: library files moved here
2008-10-26 bettini <bettini@bettini-laptop>
* src/xorg.lang: language definition for XOrg conf files
2008-10-11 bettini <bettini@localhost>
* src/includes/sstream: moved to version 3 of GPL
2008-09-24 bettini <bettini@bettini-laptop>
* src/lib/sourcehighlight.h (SourceHighlight): use LineRanges
* src/lib/sourcehighlighter.h (SourceHighlight): output can be suspended
* src/source-highlight.h (SourceHighlight): --line-ranges
2008-09-17 bettini <bettini@bettini-laptop>
* src/lib/lineranges.h (LineRanges): new class for checking whether
a line is a range
2008-09-14 bettini <bettini@bettini-laptop>
* src/lib/stylecssparser.yy: yyerror(const char *)
* src/lib/styleparser.yy: yyerror(const char *)
2008-09-14 Lorenzo Bettini <bettini@laptop>
* src/properties.lang: [:blank:]* changed to [[:blank:]]*
* src/key_string.lang: [:blank:]* changed to [[:blank:]]*
* src/desktop.lang: [:blank:]* changed to [[:blank:]]*
2008-09-04 bettini <bettini@dellbettini>
* src\ruby.lang: fixed the order of definitions
* src\m4.lang: fixed the order of definitions
* src\glsl.lang: fixed the order of definitions
* src\lib\highlightstate.cpp (HighlightState::findBestMatch): check whether
the prefix is only spaces (or empty); if so, then don't test other rules
2008-09-02 bettini <bettini@laptop>
* src/javascript.lang: fixed regexp element (avoid catching
single line comments), thanks to gnombat
2008-06-05 Lorenzo Bettini <bettini@laptop>
* src/m4.lang: simplified and it does not rely on sh.lang anymore
2008-02-11 Lorenzo Bettini <bettini@laptop>
* src/lib/valgrind_test.sh.in: added also in the lib dir to check
leaks and errors in the library
2008-01-31 Lorenzo Bettini <bettini@laptop>
* src/lib/regexpengine.h: does not have file reading functionality
and provides only a method for highlighting a text
* src/lib/filehighlighter.h: (class FileHighlighter) class added
to read a file and highlight it using RegExpEngine
* src/lib/globalostream.h: removed global stream
* src/lib/linenumdigit.h: removed global vars
* src/lib/mainoutputbuffer.h: removed global outputbuffer
2008-01-27 Lorenzo Bettini <bettini@laptop>
* src/html_ref.outlang: common definition of html anchors and refs
2008-01-18 Lorenzo Bettini <bettini@laptop>
* src/xml.lang: added . for xml element names (thanks to Toby White)
2008-01-01 Lorenzo Bettini <bettini@laptop>
* src/php.lang: removed wrong variable specification (copied from
prolog.lang)
2007-12-30 Lorenzo Bettini <bettini@laptop>
* src/lib/langdefscanner.ll: (open_include_file) insert the right
path in the ParseStruct (otherwise search for file to include
does not work after the first inclusion)
* src/lib/outlangdefscanner.ll: (open_include_file) idem
2007-11-08 Lorenzo Bettini <bettini@lorelap>
* src/c.lang: language definition for C (not C++)
* src/lib/Makefile.am: doublecpp generated header files have
extension .hpp instead of .H
2007-09-16 Lorenzo Bettini <bettini@lorelap>
* doc/Makefile.am: removed non standard % make rules
* src/lib/Makefile.am (.h.H): removed non standard % make rules
2007-09-14 Lorenzo Bettini <bettini@lorelap>
* src/sql.lang: fixed spell of some keywords
2007-09-09 Lorenzo Bettini <bettini@lorelap>
* COPYING: switched to version 3 of GPL
* src/cmdline.ggo: --line-number can take also the padding char
(default is '0'), by Roger Nilsson
* src/javascript.lang: regular expression highlighting (by Ed Kelly)
* src/perl.lang: improved regexp and string highlighting
2007-08-01 Lorenzo Bettini <bettini@lorelap>
* tests/Makefile.am: removed non standard %. rules
2007-07-30 Lorenzo Bettini <bettini@lorelap>
* src/lua.lang: updated with --[(=*)[[ comments and back reference
* src/logtalk.lang: Applied changes provided by Paulo Moura
2007-07-19 Lorenzo Bettini <bettini@lorelap>
* src/lib/regexpreprocessor.cpp (num_of_backreferences): count the
number of backreferences and the highest backreference number
2007-07-17 Lorenzo Bettini <bettini@lorelap>
* src/lib/regexpstatebuilder.cpp (build): check whether to isolate
the string (only isolate the double quoted strings), bug fixed
* src/slang.lang: by John E. Davis
* src/perl.lang: removed stray char in getpriority keyword
2007-06-05 Lorenzo Bettini <bettini@lorelap>
* src/ruby.lang: does not perform highlighting for functions
(since it might be confusing)
? and ! are not highlighted as symbols if they're part of a
method invocation
2007-05-27 Lorenzo Bettini <bettini@lorelap>
* src/lib/lineoutputgenerator.h: (class LineOutputGenerator)
removed and included in OutputGenerator
* src/lib/generatormap.h: (class GeneratorMap) removed and put
everything in TextFormatter
2007-05-26 Lorenzo Bettini <bettini@lorelap>
* src/xhtml_notfixed.outlang: added for output in xhtml with nonfixed
font
* src/html_notfixed.outlang: add the information about the generator
in a comment
2007-05-23 Lorenzo Bettini <bettini@lorelap>
* src/docbookdoc.outlang: output with --doc for docbook
references in docbook output
* src/ruby.lang: handle ruby regexp correctly
2007-05-20 Lorenzo Bettini <bettini@lorelap>
* src/html.lang: a tag must start with an alpha char, non numeric
2007-05-13 Lorenzo Bettini <bettini@lorelap>
* src/lib/langdefscanner.ll: check that backreferences are not
used inside ' and "
2007-05-08 Lorenzo Bettini <bettini@work>
* src/java.lang (preproc): highlight class names as types using
named groups
2007-05-06 Lorenzo Bettini <bettini@lorelap>
* src/lib/langdefscanner.ll: spaces are not discarded in strings
(bugfix)
* src/lib/messages.cc (exitError): added version for ParseStruct
and ParserInfo that print also file name and line num
* src/lib/regexpstatebuilder.cpp (build): correctly print the line
of the bad expression
2007-04-30 Lorenzo Bettini <bettini@lorelap>
* src/lib/regexpengine.cpp: deal with alternatives in RegExpState
and with named grouped subexpressions
* src/lib/regexpstate.h (struct RegExpState): contain a linked list
of possible alternatives (this is required to handle backreferences).
Field hasMarkedAlternatives, meaning that the state has a regular
expression made up of many marked expressions (this was the situation
till version 2.7)
Field allAlternativesCanMatch, meaning that the regular expression
is made up of all marked subexpressions where each subexpression
represents a language element
2007-04-25 Lorenzo Bettini <bettini@lorelap>
* src/lib/regexpstatebuilder.cpp (add_exp): for each marked
subexpression add the same formatter
2007-04-24 Lorenzo Bettini <bettini@work>
* src/lib/languageinfer.cpp (infer): also try the env specification
* src/cmdline.ggo: moved to src directory (makes no sense in lib)
2007-04-23 Lorenzo Bettini <bettini@work>
* src/lib/regexpstate.h (struct RegExpFormatter): moved in lib dir
* src/lib/regexpenginedebug.h (class RegExpEngineDebug):
moved in lib dir
* src/lib/regexpengine.h (class RegExpEngine): moved in lib dir
2007-04-20 Lorenzo Bettini <bettini@lorelap>
* src/lib/langelem.h (class LangElem): abstract method toStringOriginal
to print the original representation i.e., without preprocessing
* src/lib/regexpstatebuilder.cpp: does not perform regexp preprocessing
anymore
* src/lib/langdefscanner.ll: regexp preprocessing was moved in
flush_buffer_preproc
* src/lib/regexpreprocessor.cpp: moved regexp for preprocess outside
the method (optimization: created only once)
2007-04-10 Lorenzo Bettini <bettini@lorelap>
* src/perl.lang: highlight regular expressions correctly (better,
but probably not perfectly)
2007-04-01 Lorenzo Bettini <bettini@lorelap>
* src/lib/langdefparser.yy: correctly release scanner memory
* src/lib/outlangdefparser.yy: correctly release scanner memory
* src/lib/stylecssparser.yy: correctly release scanner memory
* src/lib/styleparser.yy: correctly release scanner memory
2007-03-30 <bettini@gentoo>
* tests/Makefile.am: use sed -iext with explicit extension otherwise
we might experience problems with non gnu sed
* src/lib/Makefile.am: exclude test_readtags in case ctags
is missing or not the one we can use
* doc/Makefile.am (DISTCLEANFILES): source-highlight.1 is not in
distclean
2007-03-27 <bettini@work>
* configure.ac: give priority to exuberant-ctags if found
and check that the ctags program support --excmd
* tests/Makefile.am: remove use of non-standard -r sed command
line argument
2007-03-25 Lorenzo Bettini <bettini@lorelap>
* src/postscript.lang: handle ( ) strings
* src/lang.map: fixed association with log.lang (instead of
syslog.lang)
2007-03-23 <bettini@work>
* src/lib/styles.h: removed, no longer needed
* src/lib/stylecssparser.yy: use GeneratorFactory directly without
using Style
* src/lib/styleparser.yy: use GeneratorFactory directly without
using Style
2007-03-18 Lorenzo Bettini <bettini@lorelap>
* src/lib/styles.h (class Styles): store also the background color
* src/lib/doctemplate.h: handle also the background property
2007-03-15 <bettini@work>
* src/lib/stylecssscanner.ll: added to handle css as style file
* src/lib/stylecssparser.yy: added to handle css as style file
2007-03-13 <bettini@work>
* src/lib/stylescanner.ll: renames optscanner.ll
* src/lib/styleparser.yy: renames optparser.yy
2007-03-12 <bettini@work>
* src/lib/optparser.yy (option): can assign formatting options to
more than one element on the same line
2007-03-11 Lorenzo Bettini <bettini@lorelap>
* src/lang.map: maps other shell files, csh, tcsh, ksh to sh.lang
2007-03-08 Lorenzo Bettini <bettini@lorelap>
* src/esc.style: updated with style for diff files
* src/css.lang: added language definition for css files
* acinclude.m4 (AX_BOOST_REGEX): updated to new version of the macro
2007-03-03 Lorenzo Bettini <bettini@lorelap>
* src/outlang.lang: highlight ' as strings
* src/xml.lang: also handles - and _ chars
* src/makefile.lang: added (based on the file of Maurizio Loreti)
* src/sh.lang: handles $ variables better
2007-02-23 Lorenzo Bettini <bettini@work>
* src/php.lang (comment): uses c_comment.lang
2007-02-02 Lorenzo Bettini <bettini@lorelap>
* src/outlang.map: fixed xhtml doc and css output (thanks to
C. Michael Pilato)
* src/lib/cmdline.ggo: --quiet option showing no progress information
2007-01-20 Lorenzo Bettini <bettini@lorelap>
* configure.ac: use libtool and gnulib
2006-12-23 Lorenzo Bettini <bettini@lorelap>
* src/php.lang: highlight "<?php" as a symbol
2006-08-31 Lorenzo Bettini <bettini@lorelap>
* src/html.lang: fix of type definition (excluding also the
char >)
* src/html.outlang: generate also header and footer
2006-08-23 Lorenzo Bettini <bettini@lorelap>
* src/startapp.cc (processFile): use default.lang if it does not
know the input language and it is in failsafe mode
* src/lib/langdefparser.yy: accept empty language definitions
2006-08-21 Lorenzo Bettini <bettini@lorelap>
* src/regexpenginedebug.cpp (step): for interactive debugging
2006-07-16 Lorenzo Bettini <bettini@lorelap>
* src/lang.map: fixed name php.lang (instead of php3.lang)
2006-06-25 Lorenzo Bettini <bettini@lorelap>
* src/lib/regexpstatebuilder.cpp (build): "isolate" correctly
also nonsensitive keywords. Before, if a keyword is nonsensitive,
e.g., IF, then it was highlighted even if inside another word,
e.g., MIFOO, since the nonsensitive keyword was not isolated
with \< \> (bug reported by Andrea Ercolino)
* src/url.lang: bug fix
2006-05-20 Lorenzo Bettini <bettini@lorelap>
* src/html_notfixed.outlang: output format definition for HTML
where fonts by default are not fixed width.
2006-05-14 Lorenzo Bettini <bettini@lorelap>
* configure.ac: enable maintainer mode check so that stuff in
doc directory doesn't need to be generated by standard users
2005-12-09 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/langmap.cpp: fixed the regular expression for reading
.map files (fixed bug with \r under windows)
2005-11-03 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/regexpstateprinter.cpp: print on standard output
instead of standard error
2005-09-20 Lorenzo Bettini <bettini@localhost.localdomain>
* src/regexpengine.cpp (process_file): make sure to flush
the buffer
2005-09-11 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/fileutil.cc: the starting path is still hardcoded
but an attempt is made to compute the relative path at runtime
2005-09-08 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/generatormap.cpp (generateEntire): reduce the size
of output by buffering elements of the same category
2005-08-31 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/regexpstatebuilder.cpp (build): in case of a delimited
elem checks whether it is the start element of a state;
if so generate a correct end regular expression
2005-08-28 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/langdefloader.cpp (get_lang_def): store the RegExpState
in a cache in order to parse same language sorces with the
same one
* src/lib/styles.h (class Style): this was previously class
Tags whose name was very misleading
2005-08-27 Lorenzo Bettini <bettini@localhost.localdomain>
* src/regexpengine.cpp (process_file): set
flags |= boost::match_not_bol only if it matched a
non empty string
2005-08-26 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/regexpstatebuilder.cpp (build): correctly set the
default formatter.
Correctly sets the exit state level for delimited elements.
2005-08-19 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/generatorfactory.cc (createGenerator): handle direct
color specifications independently from HTML
* src/lib/optparser.yy (option): allow empty color specification
* src/latex.outlang: generate double quotes " with a final
{} in order to work with some inputencs
2005-08-17 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/outputbuffer.h (class OutputBuffer): does not store
all the lines but only the current line, and uses an
OutputGenerator to generate each line.
* src/lib/regexpstatebuilder.cpp (build): do not throw
boost::bad_expression
2005-07-31 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/generatormap.cpp (generateString): takes care of
preformatting through a PreFormatter
* src/lib/textformatter.cpp (format): does not preformatting anymore
* src/lib/preformatter.h (class PreFormatter): the base class
for CharTranslator and SrcUntabifier, instead of TextFormatter.
2005-07-26 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/linebuffer.h (class LineBuffer): also contains a buffer
for stuff to be generated after the line (e.g., references)
* src/lib/outputbuffer.h (class OutputBuffer): contains a list
of LineBuffer
2005-07-24 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/textstyle.h (class TextStyle): it is parametric on
the variable names
2005-07-16 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/langdefscanner.ll: fix a bug that raises a
segmentation fault when more than one file is processed.
2005-06-05 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/tags.cc: removed GlobalTags
2005-06-04 Lorenzo Bettini <bettini@localhost.localdomain>
* removed genesc and genhtml, everything is done by
GeneratorFactory
2005-05-30 Lorenzo Bettini <bettini@localhost.localdomain>
* src/lib/langdefparser.yy (parse_lang_def_file): does not use
the path for the very file, but only for future includes.
2005-05-08 Lorenzo Bettini <bettini@localhost.localdomain>
* src/src-hilite-lesspipe.sh.in: it is able to handle more
files, using also the --failsafe option.
* src/lib/cmdline.ggo: added option --failsafe, when the
input file language is unknown, it simply copies the input
file to the output file (useful when used with less)
2005-01-23 Lorenzo Bettini
* src/regexpengine.cpp (load_line): discard possible
\r characters, reported by Martin Gebert
2004-11-26 Lorenzo Bettini
* src/lib/srcuntabifier.h (class Untabifier): inherit from
TextFormatter now
* src/lib/textformatter.h (class TextFormatter): decorator
class to preprocess text
* src/lib/srcpretranslator.h (struct Pretranslator): removed
2004-10-17 Lorenzo Bettini
* src/lib/envmapper.c removed // C99 comments
* configure.in: check for libintl on sco unix
2004-10-13 Lorenzo Bettini
* src/lib/langdefparser.yy: the parser for language definitions
2004-10-01 Lorenzo Bettini
* src/lib/srcuntabifier.cpp (check_tab): use boost::regex
to discover tabs inside a string
2004-09-29 Lorenzo Bettini
* src/lib/chartranslator.cc (translate): use boost::regex_replace
2004-09-26 Lorenzo Bettini
* src/lib/textgen.h (class TextGenerator): handle all text generation
using a string for starting a tag and a string for ending a tag.
Decorators classes have been completely removed.
2004-09-05 Lorenzo Bettini
* src/lib/genfun.cc (processFile): when stdin is used, make sure
that the source language is specified
2004-09-03 Lorenzo Bettini
* src/lib/lineoutputgenerator.h (class LineOutputGenerator): replace
the previous LineNumberGenerator decorator, now remove, and generate
a line number before each line of the buffered output
* src/lib/outputgenerator.h (class OutputGenerator): take care of
actually generating the buffered output to a stream
* src/lib/outputbuffer.h (class OutputBuffer): store the output in
a structure
2004-09-02 Lorenzo Bettini
* src/lib/textgen.cc (output): all derived classes call
this method instead of writing directly to the output stream
2004-08-26 Lorenzo Bettini
* src/lib/optparser.yy (yyerror): exit when there's a syntax
error in the tags file.
check that an option is not declared twice
* src/lib/generatormap.h (class GeneratorMap): associate a
generator to a specific tag
2004-08-22 Lorenzo Bettini
* src/lib/optscanner.ll: any string is considered a tag
handle // comments
* src/lib/generatorfactory.cc (createGenerators): iterate through
tags, instead of using global TextGenerators, that are now
removed
2004-08-08 Lorenzo Bettini
* configure.in: check for the right ar command to use
2004-08-03 Lorenzo Bettini
* src/genhtml/htmldocgenerator.cc: (generate_start_doc),
(generate_end_doc) <tt><pre> are on the same line without
additional newlines.
2004-07-11 Lorenzo Bettini
* src/syslog_scanner.ll: scanner for log files
contributed by Geir Nilsen
* acinclude.m4 (AC_CXX_HAVE_IOS_BASE): check for ios_base
2004-04-15 Lorenzo Bettini
* src/lib/fileutil.cc: use strings and fstreams
2004-03-04 Lorenzo Bettini
* src/sml_scanner.ll: added scanner for SML
2003-12-12 Lorenzo Bettini
* src/genhtml/htmldecorator.cc (generateAttrVal): use "" for
attribute values
2003-11-26 Lorenzo Bettini
* src/caml_scanner.ll: added scanner for CAML
* src/perl_scanner.ll: treat \" as a symbol when used in regular
expressions
* src/src-hilite-lesspipe.sh.in: Added to be used with less
2003-11-25 Lorenzo Bettini
* src/lib/fileutil.cc (get_file_extension): added
* src/lib/cmdline.ggo: src-lang is not required
* src/lib/genfun.cc (processFile): use ScannerMap for invoking
the requested scanner and try to infer the scanner to be
called according to the file extension
* src/lib/scanner_map.h (class ScannerMap): added for storing
the association between file types and scanners
* src/cpp_scanner.ll: handle tabs in preprocessing directives
2003-11-25 Marc C�t�
* src/lua_scanner.ll: Added scanner for the language LUA
2003-10-25 Lorenzo Bettini
* src/lib/cmdline.ggo: added --no-doc option to cancel the
--doc option even if it is implied
added --gen-version flag to disable the generation of
source-highlight version in the output file
2003-10-05 Lorenzo Bettini
* src/cpp_scanner.ll: treat \r so that they are generated
only outside tags
* src/java_scanner.ll: IDEM
* src/javascript_scanner.ll: IDEM
* src/prolog_scanner.ll: IDEM
* src/php3_scanner.ll: IDEM
* src/perl_scanner.ll: IDEM
* src/python_scanner.ll: IDEM
* src/lib/genfun.cc (generateNewLine): accept a string with possible
characters before the actual new line (e.g., \r)
2003-08-31 Lorenzo Bettini
* src/javascript_scanner.ll: added scanner for Javascript
* src/java_scanner.ll: added true and false in the keywords
2003-07-27 Lorenzo Bettini
* src/perl_scanner.ll: correctly treat =head =cut sections
2003-06-29 Lorenzo Bettini
* src/changelog_scanner.ll: e-mail address is printed according
to string color.
recognize lines starting with * but without a source name
* src/genhtml/htmldecorator.h (class TagDecorator): use only string
* src/lib/generatorfactory.h (class GeneratorFactory): use only
string
* src/lib/tags.h (class Tag): do not use char * anymore, use
string instead
* src/lib/colors.h: removed any reference to HTML colors
* src/lib/generatorfactory.cc (createGenerator): translate the
color through the color map
* src/lib/tags.cc (Tag): the constructor does not translate colors
anymore, i.e., it is independent from the target language
* src/lib/generatorfactory.h (class GeneratorFactory):
method createColorMap abstract; it has to be redefined by
a specific factory in order to initialize the map of colors
* src/lib/colormap.h (class ColorMap): store the mapping for
colors and it is independent from the target language
2003-06-22 Lorenzo Bettini
* src/lib/genfun.cc (processFile): use GlobalDocGenerator for
generating top and bottom
* src/lib/docgenerator.h (class DocGenerator): added for
handling generation of top and bottom part of a document and
to abstract from the target language
2003-06-21 Lorenzo Bettini
* src/genesc/escdecorator.h (class EscDecorator): decorator for
ESC codes
* src/lib/generatorfactory.h (class GeneratorFactory): the create
methods now return a TextGenerator instead of TextDecorator
2003-06-13 Don Stauffer
* src/lib/srcuntabifier.h (class Untabifier): inherit from
Pretranslator and preprocess tab characters
* src/lib/srcpretranslator.h (struct Pretranslator): Added for
performing any possible needed preprocessing and for
directly calling the appropriate generator
2003-03-17 Lorenzo Bettini
* src/Makefile.am: explicit rules do not use $<
2003-02-14 Lorenzo Bettini
* src/changelog_scanner.ll: when generating the string, collect more
characters
2003-02-12 Noritsugu Nakamura
* src/ruby_scanner.ll: Added scanner for Ruby language
* tests/test.rb: Added test for ruby
2003-01-30 Lorenzo Bettini
* NEWS: Version 1.6.3
* src/Makefile.am (LDADD): add getopt and yywrap files for
systems that do not provide it
2003-01-30 Christian W. Zuckschwerdt
* source-highlight.spec.in: Added for generating .rpm and .rpm.src
from the .tar.gz sources
2003-01-17 Lorenzo Bettini
* NEWS: Version 1.6.2
2003-01-01 Lorenzo Bettini
* compliant to C++ standard headers (iostream etc.), no more
backward compatibility warnings with gcc 3.2
2002-11-05 Lorenzo Bettini
* NEWS: Version 1.6.1
2002-10-30 Lorenzo Bettini
* src/lib/Makefile.am (libcommon_a_LIBADD): correctly add possible
missing files
2002-10-13 Lorenzo Bettini
* NEWS: Version 1.6
2002-09-17 Lorenzo Bettini
* src/source-highlight.cc (main): directly call a StartApp
* src/genhtml/startapphtml.h (class StartAppHtml): removed
2002-09-16 Lorenzo Bettini
* src/genhtml/cssdecorator.h (class SpanDecorator): moved here
* src/genhtml/xhtmldecorator.h (class XhtmlTagDecorator): moved here
* src/genhtml/htmldecorator.h (class TagDecorator): moved here
* src/lib/decorators.h (class TextDecorator): moved here
* src/genhtml/cssgeneratorfactory.h (class CssGeneratorFactory):
create generators for css based html
* src/genhtml/xhtmlgeneratorfactory.h (class XHtmlGeneratorFactory):
create generators for xhtml
* src/genhtml/htmlgeneratorfactory.h (class HtmlGeneratorFactory):
create generators for html
* src/lib/generators.cc: only defines the global generators
* src/lib/generatorfactory.h (class GeneratorFactory): Added abstract
factory for generators
2002-08-11 Lorenzo Bettini
* src/Makefile.am (bin_PROGRAMS): build source-highlight-cgi
a separate program to use as a cgi
2002-08-08 Lorenzo Bettini
* tests/Makefile.am: added tests for flex and changelog
* src/Makefile.am (source_highlight_SOURCES): correctly include
changelog_scanner.ll
2002-08-02 John Millaway
* src/flex_scanner.ll: Added scanner for flex
* src/changelog_scanner.ll: Added scanner for ChangeLog
* src/Makefile.am: do not use .stamp files anymore, use flex's prefix
2002-07-30 Lorenzo Bettini
* acinclude.m4 (LF_PROG_TXTC): fixed a little bug that shows up
only now with the new version of autoconf
* acconfig.h: removed, no longer needed with autoconf
* configure.in: use the new AC_LIBOBJ
* doc/Makefile.am: removed an extra EXTRA_DIST
2002-07-21 Lorenzo Bettini
* src/python_scanner.ll: fixed a problem with string comments
* src/lib/genfun.cc (processFile): correctly set deleteOStream
* src/lib/startapp.cc (start): default to stdout also when -i
option is used.
(start): check whether "STDOUT" was specified as output
* src/lib/genfun.cc (print_xtop): always generate the correct header
for XHTML
2002-07-10 Lorenzo Bettini
* src/python_scanner.ll: the same
* src/php3_scanner.ll: deal with strings that span more than one
lines (useful for line numbers)
2002-07-07 Lorenzo Bettini
* src/python_scanner.ll: Added scanner for Python provided by
Martin Gebert
2002-05-20 Lorenzo Bettini
* src/lib/decorators.h (class XhtmlColorDecorator): inherit from
XhtmlTagDecorator
* src/lib/genfun.cc (print_xtop): generate correct page style
options
* src/lib/startapp.cc (start): if xhtml is chosen as output format
and css is not specified then use Xhtml generators
* src/lib/generators.cc (createXhtmlGenerator): Added, create
an XhtmlTagDecorator
* src/lib/decorators.h (class XhtmlTagDecorator): inherit from
TagDecorator and redefine generateAttrVal
* src/lib/decorators.cc (generateAttrVal): redefinable method
to generate attribute and value
* src/lib/genfun.cc: (startColor) (endColor) removed
2002-05-19 Lorenzo Bettini
* src/java_scanner.ll: assert is recognized as keyword
* doc/Hello_xhtml.html: Added
2002-05-16 Christian W. Zuckschwerdt
* src/lib/genfun.cc: (print_xtop) output for xhtml
(processFile): also get the output format
2002-04-26 Lorenzo Bettini
* NEWS: Version 1.4 released
* src/perl_scanner.ll: tab is correctly scanned
* src/prolog_scanner.ll: tab is correctly scanned
* src/java_scanner.ll: keyword if, while, etc. that use '(' ')'
are now correctly highlighted as keywords instead of functions
2002-03-31 Lorenzo Bettini
* src/lib/genfun.cc (processFile): default line_num_digit to 5
if IO redirection is used
(processFile): call LineNumberDecorator::reset so that if many
files are processed the current line number is correctly reset
* src/php3_scanner.ll: Added PHP3 scanner, written by
Alain Barbet
2002-03-23 Lorenzo Bettini
* src/lib/globalostream.h: include iostream.h instead of ostream.h
* src/lib/fileutil.h: include iostream.h instead of istream.h
2002-03-06 Lorenzo Bettini
* NEWS: Version 1.3 released
2002-03-05 Lorenzo Bettini
* doc/source-highlight.1.in: Added man page
2002-03-01 Lorenzo Bettini
* src/lib/my_string.h: added for problems with std:string
2002-02-07 Lorenzo Bettini
* src/perl_scanner.ll: Added Perl scanner, written by
Alain Barbet
2002-01-30 Lorenzo Bettini
* src/lib/fileutil.cc (get_line_count): correctly check whether
the file can be opened
* src/lib/genfun.cc (generateTab): translate tabs even if no --tab
option is given, when --line-number is given
* src/lib/startapp.cc: cmdline args_info is now global
* doc/Makefile.am (Hello_lines.html): Added, example of line number
generation
2002-01-29 Lorenzo Bettini
* src/cpp_scanner.ll: idem
tabs are handled (bug fixed)
* src/java_scanner.ll: do not handle \n in COMMENT_STATE,
otherwise line numbers would be printed in the same style
of comments
* tests/Makefile.am: Added tests for --line-number
* src/lib/linenogen.cc (reset): reset static data
(startDecorate): call generate_lineno
(generateln): do not call generate_lineno, only generate and
generate_preproc call generate_lineno
* src/lib/linenogen.h (class LineNumberDecorator): generated_newline
and lineno are static
2002-01-28 Lorenzo Bettini
* src/lib/genfun.cc (_generate): directly print to sout, without
using generators (so that line numbers are not generated while
generating header and footer)
2002-01-26 Lorenzo Bettini
* src/lib/cmdline.ggo: Added option for numbering lines
* src/lib/textgen.cc (generate): not const anymore, the same for
the other generation methods
* src/lib/linenogen.h (class LineNumberDecorator): generate
line numbers
* src/lib/linenumdigit.h: contain extern definition of line_num_digit
2002-01-25 Lorenzo Bettini
* src/lib/globalostream.h: contain extern definition of sout
* src/lib/genfun.cc (processFile): compute the number of digits
to represent a line number
* src/lib/fileutil.cc (get_line_count): count lines in a file
* src/lib/genfun.cc (processFile): correctly check whether it is
possible to open the file for writing
* tests/Makefile.am (test_header.html): Added test for header
and footer
* src/lib/startapp.cc (start): set entire_doc also if docHeader or
docFooter is specified
2001-12-26 Lorenzo Bettini
* tests/Makefile.am (check_prolog2html): check for prolog sources
* tests/test.pl: test for Prolog
* src/prolog_scanner.ll: Added the scanner for Prolog provided by
Martin Gebert
* src/substit_scanner.templ: this is the template from which
all *_scanner.sed are automatically generated
* src/lib/startapp.cc (start): check whether the output format
is html
* configure.in: versions for scanners
* tests/Makefile.am: call source-highlight with the appropriate
command line option instead of java2html and cpp2html
* src/lib/genfun.cc (processFile): instead of programName and
programVersion take as parameter the source language and
call the appropriate lexer
* src/cpp2html.cc: removed
* src/java2html.cc: removed
* src/source-highlight.cc (main): now this is the only main file
* src/cpp_scanner.sed: the same for cpp
* src/java_scanner.sed: sed file substitution for java scanner
generated by flex
* src/lib/cmdline.ggo: Added option src-lang for specifying the
source language (e.g. java, cpp, etc.) and out-format for the
output format (for the moment only html)
2001-12-20 Lorenzo Bettini
* NEWS: Version 1.2.1 released
* src/getopt.c: much more modern version taken from GNU C library
* src/getopt1.c: much more modern version taken from GNU C library
* src/getopt.h: much more modern version taken from GNU C library
* src/lib/alloca.c: removed, no longer needed
* configure.in: removed check for alloca
* src/lib/my_sstream.h: use using std::ostringstream
if the compiler supports it
* src/lib/my_set.h: use using std::set if the compiler supports it
2001-12-03 Lorenzo Bettini
* NEWS: Version 1.2 released
* configure.in: upgrade to new versions
* src/lib/fileutil.cc (file_error): use streams instead of fprintf
2001-11-28 Lorenzo Bettini
* src/lib/list.h: removed
* src/lib/tags.h (struct TagLess): Added for comparing two tags
(class Tags): use set as a container
* src/lib/messages.h: methods and functions get const char *
* src/lib/optparser.yy (yyerror): use ostringstream instead of
strstream
* src/includes/sstream: Added in case sstream is missing in the
standard library
* configure.in: added check for STL
2001-11-25 Lorenzo Bettini
* src\lib\fileutil.cc (createOutputFileName): set outputFileName[0]
to '\0' in order to make strcat work correctly
2001-09-23 Lorenzo Bettini
* tests/test_template.cc: Added to test highlighting of templates
* src/lib/genfun.cc (print_top): URL fixed
2001-08-24 Lorenzo Bettini
* src/cpp_scanner.ll: use generate_normal for normal text
in INITIAL state
* src/java_scanner.ll: use generate_normal for normal text
in INITIAL state
* src/lib/genfun.cc (generate_normal): Added to print normal text
2001-08-23 Lorenzo Bettini
* src/lib/optparser.yy (parseTags): print the correct tag file name
* src/lib/messages.h: Added printMessage_noln
* src/tags2.j2h: Added, use normal text specification
* src/lib/generators.cc: Added NormalGenerator for normal text
* src/lib/tags.cc: NULL substituted with 0
* src/lib/tags.h: NULL substituted with 0
* src/lib/optscanner.ll: Added "normal" keyword
2001-08-13 Lorenzo Bettini
* NEWS: Version 1.1 released
2001-08-04 Lorenzo Bettini
* src/java_scanner.ll: idem
* src/cpp_scanner.ll: removed useless code for single line comments
* tests/test_comments.java: idem
* tests/test_comments.cc: Added in order to test only comments
* tests/Makefile.am: started to modify it in order to handle
more than one single test per program
2001-07-07 Lorenzo Bettini
* src/lib/genfun.cc (get_input_file_name): Added to use
CHAROOT_INPUT_DIR
(processFile): use get_input_file_name to obtain the complete
path of the input file name
* configure.in: Added --enable-input-chroot
* src/lib/fileutil.cc (createOutputFileName): Also check for
DOS path separator so that it works also under DOS systems
2001-06-27 Lorenzo Bettini
* doc/Makefile.am: moved here
* src/lib/Makefile.am: removed generation of html from sources
* src/lib/startapp.cc (start): Pass output-dir to
createOutputFileName
* src/lib/cmdline.ggo: Added --output-dir option
2001-06-24 Lorenzo Bettini
* src/lib/fileutil.cc (createOutputFileName): also get the
outputDir, but not used yet
* src/lib/envmapper.c: include ctype for isxdigit
* src/lib/chartranslator.cc (translate): cast the string character
to unsigned so that also extended ASCII is handled (e.g. foreign
characters, such as �).
2001-06-19 Robert Wetzel
* src/lib/envmapper.c (__convert_char): Added
(__convert_string): Added
interpret '%XX' 'characters' of 'QUERY_STRING'
checks for CGI by scanning REQUEST_METHOD
'QUERY_STRING' is determined by REQUEST_METHOD
Both http-methods (GET & POST) are supported now.
'%'-sequences will be converted, if given correctly.
* src/lib/envmapper.h: added ENV_REQUEST_METHOD, MAX_QUERY_STRING_LEN,
REQUEST_METHOD_GET
2001-06-13 Lorenzo Bettini (LAP)
* src/lib/startapp.cc: Added include stdlib.h
2001-06-03 Lorenzo Bettini
* Version 1 released
* src/lib/tags.h (class Tag): darkgreen handled
* src/lib/optscanner.ll: brightgreen added (bug fixed)
* src/lib/list.h (class List): comments are in English now
2001-06-02 Lorenzo Bettini
* src/genhtml/startapphtml.h (class StartAppHtml): specialize
class StartApp
* src/genhtml/startapp4html.cc (startapp4html): moved in this
directory for html related stuff
* src/lib/startapp.h (class StartApp): Added, for starting the
translation
* src/lib/startapp4html.cc (print_version): print GNU as well
2001-05-24 Lorenzo Bettini
* src/java_scanner.ll: removed < > & token scanning
* src/cpp_scanner.ll: removed < > & token scanning
call generateString for includes with <>
* src/lib/textgen.cc (generateEntire): Call generate_preproc instead
of generate
(beginText): Idem
(endText): Idem
2001-05-20 Lorenzo Bettini
* src/lib/textgen.cc (generate_preproc): Added, preprocess the
string translate any special characters
* src/lib/genfun.cc (print_top): print information about
source-highlighter
* src/lib/startapp4html.cc (startapp4html): print help and version
* src/lib/reportbugs.text: report bugs mail address here
* src/lib/copyright.text: copyright here
* src/lib/cmdline.ggo: Added purpose
* configure.in: versions of java2html and cpp2html are created in
config.h
2001-05-19 Lorenzo Bettini
* src/lib/startapp4html.cc (startapp4html): use HtmlCharTranslator
* src/lib/textgen.h (class TextGenerator): Added constructor to get
a CharTranslator
* src/lib/textgen.cc: Added, implementation moved here
* src/lib/html_chartranslator.h (class HtmlCharTranslator): Specialize
CharTranslator for translating characters for html
* src/lib/chartranslator.h (class CharTranslator): Added, to translate
some special characters, base class
* src/lib/strdup.c (strdup): Added in case it's not in std library
2001-04-16 Lorenzo Bettini
* src/lib/startapp4html.cc (startapp4html): if cgi print cgi header
* src/cpp2html.cc (main): IDEM
* src/java2html.cc (main): simply call startapp
* src/lib/startapp.cc (startapp): Added, the entry point to be called
in main
2001-04-15 Lorenzo Bettini
* src/cpp_scanner.ll: IDEM
* src/java_scanner.ll: \n is put back in the stream while in
single line mode, so that single line comments are treated
according to HTML standards, as suggested by
Robert Wetzel
2001-04-11 Robert Wetzel
* src/lib/envmapper.c (map_environment): in case QUERY_STRING is
defined in the environment, translate the string passed by the
html page into command line option for the standard program.
It is used if the program is used as a CGI
2001-03-18 Lorenzo Bettini
* src/lib/optparser.yy (openTagsFile): First try with the possible
specified tag file
* src/lib/cmdline.ggo: Added --tags-file option for specifying
the tag file
* src/java_scanner.ll: highlight symbols, curly brackets and functions
'import' is considered 'preproc' instead of 'keyword'
* test/Makefile.am: Added test directory for testing
2001-03-17 Lorenzo Bettini
* src/cpp2html.cc: Added, replace previous main.cc
* src/lib/fileutil.cc: Added, contain util functions for files,
previously in main
* src/lib/genfun.cc: Added, contain the gen functions, previously
in main
* src/main.cc: removed
2001-03-15 Lorenzo Bettini
* common files for cpp2html and java2html have been moved to
directory lib, and are linked into a library
* configure.in: added check for ranlib
2001-02-11 Geurt Vos
* src/tags.h (class Tag): Added DirectColor and for handling colors
specified with # format
* src/optscanner.ll: Added keywords and colors for... see below
and for for handling colors specified with # format
* src/main.cc: Added functions for... see below
* src/generators.cc: Added generators for preproc, function,
symbols and bracket
* src/colors.h: Added teal, gray and darkblue
|