head 1.8; access; symbols pkgsrc-2013Q2:1.8.0.28 pkgsrc-2013Q2-base:1.8 pkgsrc-2012Q4:1.8.0.26 pkgsrc-2012Q4-base:1.8 pkgsrc-2011Q4:1.8.0.24 pkgsrc-2011Q4-base:1.8 pkgsrc-2011Q2:1.8.0.22 pkgsrc-2011Q2-base:1.8 pkgsrc-2009Q4:1.8.0.20 pkgsrc-2009Q4-base:1.8 pkgsrc-2008Q4:1.8.0.18 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.8.0.16 pkgsrc-2008Q3-base:1.8 cube-native-xorg:1.8.0.14 cube-native-xorg-base:1.8 pkgsrc-2008Q2:1.8.0.12 pkgsrc-2008Q2-base:1.8 pkgsrc-2008Q1:1.8.0.10 pkgsrc-2008Q1-base:1.8 pkgsrc-2007Q4:1.8.0.8 pkgsrc-2007Q4-base:1.8 pkgsrc-2007Q3:1.8.0.6 pkgsrc-2007Q3-base:1.8 pkgsrc-2007Q2:1.8.0.4 pkgsrc-2007Q2-base:1.8 pkgsrc-2007Q1:1.8.0.2 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.7.0.10 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.8 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.6 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.4 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.2 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.6.0.8 pkgsrc-2005Q3-base:1.6 pkgsrc-2005Q2:1.6.0.6 pkgsrc-2005Q2-base:1.6 pkgsrc-2005Q1:1.6.0.4 pkgsrc-2005Q1-base:1.6 pkgsrc-2004Q4:1.6.0.2 pkgsrc-2004Q4-base:1.6 pkgsrc-2004Q3:1.5.0.2 pkgsrc-2004Q3-base:1.5 pkgsrc-2004Q2:1.4.0.2 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.3.0.4 pkgsrc-2004Q1-base:1.3 pkgsrc-2003Q4:1.3.0.2 pkgsrc-2003Q4-base:1.3 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.8 date 2007.02.22.20.35.37; author wiz; state dead; branches; next 1.7; 1.7 date 2005.10.10.09.05.59; author seb; state Exp; branches; next 1.6; 1.6 date 2004.10.21.00.15.47; author seb; state Exp; branches; next 1.5; 1.5 date 2004.08.16.15.21.45; author seb; state Exp; branches; next 1.4; 1.4 date 2004.05.15.14.55.38; author seb; state Exp; branches; next 1.3; 1.3 date 2003.10.03.14.42.39; author seb; state Exp; branches; next 1.2; 1.2 date 2003.06.12.01.17.33; author seb; state Exp; branches; next 1.1; 1.1 date 2002.12.23.22.27.50; author seb; state Exp; branches; next ; desc @@ 1.8 log @Update to 2.5: Version 2.5 * fixed lang.map for php files * fixed url.lang * --debug-langdef can be interactive * nohilite.lang that does not perform any highlighting, but only formats the input file into the output format (dealing with output format special characters) * default.lang to which source-highlight falls back when no input language is specified or available * infer script languages * --header and --footer options do not require --doc option * --statistics print elapsed time * highlight cls, dtx and sty LaTeX files * language definition for Tcl * language definition for Sql * language definition for bibtex * infer language of script files Version 2.4 * language definition for C# (thanks to Hemmi Shigeru) * language definition for XML (thanks to Andy Buckley) * language definition for shell scripts (thanks to Dirk Jagdmann) * fixed language definition for HTML (tags with numbers are highlighted, e.g.,

) * updated language definition for logtalk (thanks to Paulo Moura) * produces the list of elements of a language definition file (--show-lang-elements) * output format definition for HTML where fonts by default are not fixed width. * bug fix in url regular expressions * bug fix with nonsensitive keywords (thanks to Andrea Ercolino) * improved documentation concerning installation of Boost regex library Version 2.3 * the regex automaton is printed on the standard output (instead of the standard error) * language definition for postscript * DocBook output format * fixed bug in .map files with \r characters * fixed expression for email Version 2.2 * fixed a bug that sigsegv when more than one input file is provided * fixed a compilation error with gcc 4.0 * generate references using ctags * fixed a bug with LaTeX output of " with some inputencs and with latexcolor * handle direct color specifications independently from HTML * fixed conversion of hexadecimal characters in output language definitions * fixed compilation error with regex 1.33 * include man page * language definition for diff output * fixed bugs in generation of the regular expression automaton * extended documentation with some tutorials on input language definitions * generate more compact output (reduced size) * in LaTeX output longtable is not used anymore @ text @$NetBSD: patch-ag,v 1.7 2005/10/10 09:05:59 seb Exp $ --- tests/Makefile.in.orig 2005-10-09 09:27:08.000000000 +0000 +++ tests/Makefile.in @@@@ -55,6 +55,8 @@@@ am__configure_deps = $(am__aclocal_m4_de mkinstalldirs = $(install_sh) -d CONFIG_HEADER = $(top_builddir)/config.h CONFIG_CLEAN_FILES = valgrind_tests.sh valgrind_test.sh +depcomp = +am__depfiles_maybe = SOURCES = DIST_SOURCES = am__vpath_adj_setup = srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; @@@@ -63,9 +65,9 @@@@ am__vpath_adj = case $$p in \ *) f=$$p;; \ esac; am__strip_dir = `echo $$p | sed -e 's|^.*/||'`; -am__installdirs = "$(DESTDIR)$(source_highlightdocdir)" -source_highlightdocDATA_INSTALL = $(INSTALL_DATA) -DATA = $(source_highlightdoc_DATA) +am__installdirs = "$(DESTDIR)$(source_highlightdochtmldir)" +source_highlightdochtmlDATA_INSTALL = $(INSTALL_DATA) +DATA = $(source_highlightdochtml_DATA) DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST) ACLOCAL = @@ACLOCAL@@ AMDEP_FALSE = @@AMDEP_FALSE@@ @@@@ -168,6 +170,7 @@@@ sbindir = @@sbindir@@ sharedstatedir = @@sharedstatedir@@ source_highlightdatadir = @@source_highlightdatadir@@ source_highlightdocdir = @@source_highlightdocdir@@ +source_highlightdochtmldir = @@source_highlightdochtmldir@@ sysconfdir = @@sysconfdir@@ target_alias = @@target_alias@@ STD_TAGS = --style-file $(top_srcdir)/src/default.style @@@@ -261,7 +264,7 @@@@ erasedir.sed erasedir2.sed PROG_NOLANGDEF = $(PROGEXE) --outlang-def=$(srcdir)/simple.outlang $(STD_TAGS) --data-dir=$(srcdir)/ PROG_NOOUTLANGDEF = $(PROGEXE) --lang-def=$(srcdir)/simple.lang $(STD_TAGS) CPP2HTML_WHEADERS = $(CPP2HTML) --header=$(srcdir)/header.html --footer=$(srcdir)/footer.html --title="Header and footer test" -source_highlightdoc_DATA = test.php3.html test.pl.html test.pm.html \ +source_highlightdochtml_DATA = test.php3.html test.pl.html test.pm.html \ test.py.html test.rb.html test.js.html test.lua.html test.ml.html \ test.sml.html test.log.html access.log.html auth.log.html error.log.html syslog.log.html test.htm.html test.java.tex.html \ syslog.style @@@@ -281,9 +284,9 @@@@ $(srcdir)/Makefile.in: $(srcdir)/Makefi exit 1;; \ esac; \ done; \ - echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu tests/Makefile'; \ + echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu --ignore-deps tests/Makefile'; \ cd $(top_srcdir) && \ - $(AUTOMAKE) --gnu tests/Makefile + $(AUTOMAKE) --gnu --ignore-deps tests/Makefile .PRECIOUS: Makefile Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status @@case '$?' in \ @@@@ -306,22 +309,22 @@@@ valgrind_tests.sh: $(top_builddir)/confi valgrind_test.sh: $(top_builddir)/config.status $(srcdir)/valgrind_test.sh.in cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@@ uninstall-info-am: -install-source_highlightdocDATA: $(source_highlightdoc_DATA) +install-source_highlightdochtmlDATA: $(source_highlightdochtml_DATA) @@$(NORMAL_INSTALL) - test -z "$(source_highlightdocdir)" || $(mkdir_p) "$(DESTDIR)$(source_highlightdocdir)" - @@list='$(source_highlightdoc_DATA)'; for p in $$list; do \ + test -z "$(source_highlightdochtmldir)" || $(mkdir_p) "$(DESTDIR)$(source_highlightdochtmldir)" + @@list='$(source_highlightdochtml_DATA)'; for p in $$list; do \ if test -f "$$p"; then d=; else d="$(srcdir)/"; fi; \ f=$(am__strip_dir) \ - echo " $(source_highlightdocDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(source_highlightdocdir)/$$f'"; \ - $(source_highlightdocDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(source_highlightdocdir)/$$f"; \ + echo " $(source_highlightdochtmlDATA_INSTALL) '$$d$$p' '$(DESTDIR)$(source_highlightdochtmldir)/$$f'"; \ + $(source_highlightdochtmlDATA_INSTALL) "$$d$$p" "$(DESTDIR)$(source_highlightdochtmldir)/$$f"; \ done -uninstall-source_highlightdocDATA: +uninstall-source_highlightdochtmlDATA: @@$(NORMAL_UNINSTALL) - @@list='$(source_highlightdoc_DATA)'; for p in $$list; do \ + @@list='$(source_highlightdochtml_DATA)'; for p in $$list; do \ f=$(am__strip_dir) \ - echo " rm -f '$(DESTDIR)$(source_highlightdocdir)/$$f'"; \ - rm -f "$(DESTDIR)$(source_highlightdocdir)/$$f"; \ + echo " rm -f '$(DESTDIR)$(source_highlightdochtmldir)/$$f'"; \ + rm -f "$(DESTDIR)$(source_highlightdochtmldir)/$$f"; \ done tags: TAGS TAGS: @@@@ -361,7 +364,7 @@@@ check-am: all-am check: check-am all-am: Makefile $(DATA) installdirs: - for dir in "$(DESTDIR)$(source_highlightdocdir)"; do \ + for dir in "$(DESTDIR)$(source_highlightdochtmldir)"; do \ test -z "$$dir" || $(mkdir_p) "$$dir"; \ done install: install-am @@@@ -407,7 +410,7 @@@@ info: info-am info-am: -install-data-am: install-source_highlightdocDATA +install-data-am: install-source_highlightdochtmlDATA install-exec-am: @@@@ -433,17 +436,17 @@@@ ps: ps-am ps-am: -uninstall-am: uninstall-info-am uninstall-source_highlightdocDATA +uninstall-am: uninstall-info-am uninstall-source_highlightdochtmlDATA .PHONY: all all-am check check-am clean clean-generic distclean \ distclean-generic distdir dvi dvi-am html html-am info info-am \ install install-am install-data install-data-am install-exec \ install-exec-am install-info install-info-am install-man \ - install-source_highlightdocDATA install-strip installcheck \ + install-source_highlightdochtmlDATA install-strip installcheck \ installcheck-am installdirs maintainer-clean \ maintainer-clean-generic mostlyclean mostlyclean-generic pdf \ pdf-am ps ps-am uninstall uninstall-am uninstall-info-am \ - uninstall-source_highlightdocDATA + uninstall-source_highlightdochtmlDATA %.cc.html: %.cc @ 1.7 log @Update to version 2.1.2. Add build dependencies on GNU make and GNU sed for 'test' target's benefit. Support for input chroot, via make variable SOURCE_HIGHLIGHT_INPUT_CHROOT, deactivated otherwise the build is broken. XXX Is 'TOOLS_PLATFORM.gsed= # empty' the proper way to override a the platform sed tool ? Relinquish stewardship. Changes since last packaged version (1.11): Version 2.1.2 * fixed conversion of hexadecimal characters in output language definitions * fixed compilation error with regex 1.33 * include man page * fixed a bug with LaTeX output of " with some inputencs Version 2.1.1 * fixed a bug that sigsegv when more than one input file is provided * fixed a compilation error with gcc 4.0 Version 2.1 * Included obsolete man page. * output language format specifications are read at run-time so that new output languages can be easily added dynamically (without recompiling the sources) by using a simple syntax. * "fixed" and "notfixed" styles can be specified. * fixed the handling of end-of-line (processed only once) * LaTeX output * TeXinfo output * debug of a language definition * tags.j2h files are now called style files. * renamed --tags-file option in --style-file * allows to specify a prefix for the generated line number anchors * --header and --footer do not imply --doc * language definition for LogTalk and LaTeX Version 2.0 * Language specifications are read at run-time, so that new languages can be easily added dynamically (without recompiling the sources) by using a simple syntax. * "nonsensitive" for simple definitions * cgi version not built automatically * failsafe option to simply output the input file when no language definition is found * functionalities with less improved. Version 1.11.1 * fixed compilations problems on some Unix compilers @ text @d1 1 a1 1 $NetBSD$ @ 1.6 log @Update to version 1.11 Changes since last packaged version (1.10): * errors in tags error files are reported more correctly and make the program exit * more tag options added * "linenum" tag for specifying the style of line numbers Package changes: * set USE_LANGUAGES * fix HTML installation directory in manpage @ text @d1 1 a1 1 $NetBSD: patch-ag,v 1.5 2004/08/16 15:21:45 seb Exp $ d3 36 a38 6 --- tests/Makefile.am.orig 2004-09-28 07:22:00.000000000 +0000 +++ tests/Makefile.am @@@@ -287,7 +287,7 @@@@ check_log: test.log.html diff $(srcdir)/error.log.html error.log.out.html diff $(srcdir)/syslog.log.html syslog.log.out.html d42 85 a126 2 test.sml.html test.log.html access.log.html auth.log.html error.log.html syslog.log.html \ tags.syslog tags.esc @ 1.5 log @Update to version 1.10. Changes since last packaged version: Version 1.10 * Added scanner for log files (also for iptables and apache logs) thanks to Jan Tatarik * Fixed some bugs in the perl scanner (thanks to Geir Nilsen) * configure checks for ios_base * check for the right ar to use, fixes problems under Sun compilers (thanks to Paul Townsend) @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- tests/Makefile.am.orig 2004-07-11 12:58:38.000000000 +0000 d5 1 a5 1 @@@@ -279,7 +279,7 @@@@ check_log: test.log.html d13 1 a13 1 tags.syslog @ 1.4 log @Update to version 1.9. Changes since last packaged version: * --no-doc option added to cancel the --doc option even if it is implied (e.g., when css is given) (as suggested by Keith Lea and Grant McLean) * deal with \r correctly (reported by barrett@@9hells.org) * added scanner for language LUA (thanks to Marc Côté) * added scanner for CAML and SML (with the help of Jean-Baptiste Rouquier and James Riely) * fixed a bug in C++ scanner concerning tabs after # (reported by Don Stauffer). * If not specified, the source language will be guessed from the input file extension. * Added src-hilite-lesspipe.sh a script that can be used with less in order to higlight the files processed with less (suggested by Konstantine Serebriany) * fixed a bug in perl scanning when \" is used in regular expressions (reported by Geir Nilsen) * html attribute values are generated in quotes (bug fixed by Patrick Wagstrom) * can generate anchors for line numbers (thanks to Oliver Fischer) @ text @d3 1 a3 1 --- tests/Makefile.am.orig 2004-03-08 19:13:31.000000000 +0000 d5 3 a7 3 @@@@ -255,7 +255,7 @@@@ check_sml: test.sml.html @@echo expect no output from diff diff $(srcdir)/test.sml.html test.sml.out.html d12 2 a13 2 test.sml.html @ 1.3 log @Update to version 1.8. Changes in version 1.8: * scanner for Javascript * new output format: ESC ascii code (e.g. for less, with the help of Konstantine Serebriany ). * tab character are correctly handled by --tab option is given (thanks to Don Stauffer ). * presence of getopt_long is handled in a cleaner way. * some changes in how changelog files are highlighted * =head =cut sections in perl sources are correctly handled (reported by Grant McLean ) * added Java keywords true and false @ text @d3 1 a3 1 --- tests/Makefile.am.orig 2003-08-31 13:56:10.000000000 +0000 d5 3 a7 3 @@@@ -211,7 +211,7 @@@@ check_ruby: test.rb.html test_comments.r diff $(srcdir)/test.rb.html test.rb.out.html diff $(srcdir)/test_comments.rb.html test_comments.rb.out.html d11 2 a12 1 test.py.html test.rb.html test.js.html a13 1 CLEANFILES = *.out.html *.out.txt @ 1.2 log @Update to version 1.7. Changes in version 1.7: * scanner for Ruby programming language (thanks to Noritsugu Nakamura ). * fixed explicit rules in Makefiles that generated errors with some versions of non-GNU makes. @ text @d3 1 a3 1 --- tests/Makefile.am.orig 2003-03-21 15:25:46.000000000 +0000 d5 1 a5 1 @@@@ -196,7 +196,7 @@@@ check_ruby: test.rb.html test_comments.r d11 1 a11 1 test.py.html test.rb.html d13 1 a13 1 CLEANFILES = *.out.html @ 1.1 log @Update to 1.6.1. Lots of changes and new features: you want to update! Changes since latest packaged version: Version 1.6.1 * fixed a bug in the configure phase that used to make the compilation fail with compilers not providing the function getop_long (reported by Horacio Montenegro ). Version 1.6 * scanners for flex and ChangeLog added by John Millaway * default to stdout when no --output is given along with the -i option and when --output="STDOUT" (as suggested by Hugh S. Myers, ) * fixed a problem with string comments in Python scanner * a separate executable is built, source-highlight-cgi, that can be used as a CGI program Version 1.5.1 * xhtml doctype generated correctly (thanks to Christian W. Zuckschwerdt and Josh Ghiloni ) reported by Martin Gebert * Anonymous CVS Access is now available http://savannah.gnu.org/projects/src-highlite Version 1.5 * xhtml output format is now handled (thanks to Christian W. Zuckschwerdt and Josh Ghiloni ) * assert is now recognized as a Java keyword (thanks to Fabio Calefato ) * a scanner for Python has been written by Martin Gebert . * when in Php3 strings can span more than one lines and line numbers are correctly formatted. Version 1.4 * fixed compilation error with some compilers due to headers istream.h and ostream.h (thanks to Dan barthel ) * a scanner for Php3 has been written by Alain Barbet * reading from stdin does not kill line numbers (notified by Keith Robertson ) * line number count is correctly reset when handling multiple files (bug fixed) * for Java sources, if, while, and other keywords that use '(' ')' are now correctly highlighted as keywords instead of as functions (reported by Manuel Kauers and Fabio Calefato ) * tabs are correctly handled for Prolog and Perl sources (reported by Martin Gebert ) Version 1.3 * now there is only one program, namely source-highlight, that accepts a command line option, --src-lang or -s, specifying the source language (for the moment java, cpp and prolog). Previous programs, java2html and cpp2html are provided as shell scripts, just for compatibility, but their use is not advised. * --out-format, -f, command line option added for specifying the output format (for the moment only html is accepted). Though only html is handled, this option is required. * a scanner for Prolog has been written by Martin Gebert . This scanner is still to be considered beta, and actually it was written for Visual Prolog, so it should be tested against other Prolog dialects. * a scanner for Perl has been written by Alain Barbet * Correctly check whether it is possible to write to a file (notified by Martin) * --tab option is correctly handled even for C/C++ files (bug fixed, notified by Martin) * Added option --line-number (-n) in order to print line numbers (as suggested by Ed Scott and Andre Charbonneau). * Man page added. @ text @d3 1 a3 1 --- tests/Makefile.am.orig Wed Oct 30 18:26:23 2002 d5 3 a7 3 @@@@ -181,7 +181,7 @@@@ check_flex: test.l.html @@echo expect no output from diff diff $(srcdir)/test.l.html test.l.out.html d11 1 a11 1 test.py.html @