head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.20 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.18 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.16 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.14 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.12 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.10 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.8 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.6 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.4 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.2 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.4.0.8 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.6 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.4 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.2 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.3.0.10 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.8 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.6 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.4 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.2 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.2.0.10 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.8 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.6 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.4 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.2 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.1.0.8 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.6 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.4 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.2 netbsd-1-6-1-base:1.1; locks; strict; comment @# @; 1.5 date 2008.03.13.16.45.33; author wiz; state dead; branches; next 1.4; 1.4 date 2007.02.22.20.35.35; author wiz; state Exp; branches; next 1.3; 1.3 date 2005.10.10.09.05.59; author seb; state Exp; branches; next 1.2; 1.2 date 2004.08.16.15.21.45; 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.5 log @Update to 2.9: Version 2.9 * language definition for C (not C++) files * language definition for properties files * language definition for KDE desktop and ini files * language definition for lsm files (Linux Software Map) * language definition for rpm spec files * language definition for Haxe files (thanks to Jos Hirth) * style.defaults for associating a style for an element (whose style is not specified) to the style of another element * highlight some KDE programming files (e.g., .rc, .kcfg, etc.) * correctly highlight for less when filenames contain paths * fixed a bug in file inclusion of langdef files * fixed compilation problems for fileutil.cc (thanks to Adrian Reber) * xml elements are correctly recognized when containing . (thanks to Toby White) * references for xhtml output files Version 2.8 * lang definition for slang (by John E. Davis) * correctly handle words in ' and ` regular expression strings * the right delimiter of a delim element can refer to marked subexpressions in the left delimiter * fixed the definition of C-style comments which are not nested * improved perl syntax highlighting * javascript regular expression highlighting * padding character for line numbers can be specified (thanks to Roger Nilsson) * removed non standard % make rules Version 2.7 * fixed language association for log files. * use standard sed arguments * check that the ctags program supports the options used by source-highlight and disable ctags tests if it does not * removed some memory leaks from scanners and parsers * fixed regular expression highlighting strings in perl (thanks to Elias Pipping) * regexp language element * infer script languages also checking for the env specification * improved error reporting for lang definition files * ` ` syntax for regular expressions that permits backreferences and conditionals * explicit naming for subexpressions syntax * added a program, check-regexp, for checking regular expressions on the command line * fix html tag definitions * fix ruby regexp definition * --doc option and references for docbook output * xhtml output with non fixed font Version 2.6 * language definition for makefiles * language definition for css files * language definition for m4 files * fixed some problems in xml.lang * fixed some problems in sh.lang * the ctags found during configure is correctly used in makefiles * --quiet option showing no progress information (thanks to C. Michael Pilato) * handle direct color specifications in double quotes in style files * in style files can specify formatting options for more than one element on the same line * accept css specifications as style specifications (limited support) * handle background color for some output formats (e.g., xhtml) * in style files the background color (for the entire output) can be specified * fixed a problem in configure script on some BSD systems (thanks to Thomas Klausner) @ text @$NetBSD: patch-ab,v 1.4 2007/02/22 20:35:35 wiz Exp $ --- src/lib/Makefile.in.orig 2006-10-05 16:57:30.000000000 +0000 +++ src/lib/Makefile.in @@@@ -845,7 +845,7 @@@@ optparser.cc optparser.h: $(srcdir)/optp $(YACC) -p opsc_ -o $@@ $(srcdir)/optparser.yy --defines=$*.h mytags: $(srcdir)/test_readtags_main.cpp - ctags --excmd=n --fields=+n -o mytags $(srcdir)/test_readtags_main.cpp $(srcdir)/readtags.h + $(CTAGS) --excmd=n --fields=+n -o mytags $(srcdir)/test_readtags_main.cpp $(srcdir)/readtags.h outlangtest.outlang: $(srcdir)/outlangtest.outlang.tmpl rm -f outlangtest.outlang @ 1.4 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 @d1 1 a1 1 $NetBSD$ @ 1.3 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 @d3 4 a6 5 --- doc/Makefile.am.orig 2005-08-25 14:10:51.000000000 +0000 +++ doc/Makefile.am @@@@ -71,7 +71,7 @@@@ EXTRA_DIST = colors.html source-highligh gpl.texinfo flex_scanner.ll $(GENERATEDINFOS) \ source-highlight.1 d8 3 a10 8 -source_highlightdoc_DATA = colors.html source-highlight.html \ +source_highlightdochtml_DATA = colors.html source-highlight.html \ Hello.java Hello1.html Hello2.html Hello3.html Hello4.html Hello5.html \ Hello.java.html Hello_h_f.html Hello_lines.html Hello_xhtml.html \ Hello_xhtml2.html \ @@@@ -167,4 +167,4 @@@@ flex_scanner.ll.html html-clean: rm -f $(HTML_GENERATED_FILES) d12 2 a13 3 -DISTCLEANFILES = $(HTML_GENERATED_FILES) source-highlight.1 $(GENERATEDINFOS) \ No newline at end of file +DISTCLEANFILES = $(HTML_GENERATED_FILES) source-highlight.1 $(GENERATEDINFOS) @ 1.2 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 @d3 18 a20 30 --- configure.orig 2004-08-16 14:10:31.000000000 +0000 +++ configure @@@@ -309,7 +309,7 @@@@ ac_includes_default="\ # include #endif" -ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot source_highlightdatadir source_highlightdocdir JAVA_SCANNER_VERSION CPP_SCANNER_VERSION PROLOG_SCANNER_VERSION PERL_SCANNER_VERSION PHP3_SCANNER_VERSION PYTHON_SCANNER_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE ar_to_use CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB CHROOT_INPUT_DIR TXTC YACC LEX LEXLIB LEX_OUTPUT_ROOT LIBOBJS CXXCPP GENGETOPT NO_GENGETOPT_TRUE NO_GENGETOPT_FALSE YFLAGS TAR LTLIBOBJS' +ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot source_highlightdatadir source_highlightdocdir source_highlightdochtmldir JAVA_SCANNER_VERSION CPP_SCANNER_VERSION PROLOG_SCANNER_VERSION PERL_SCANNER_VERSION PHP3_SCANNER_VERSION PYTHON_SCANNER_VERSION CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE ar_to_use CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE RANLIB ac_ct_RANLIB CHROOT_INPUT_DIR TXTC YACC LEX LEXLIB LEX_OUTPUT_ROOT LIBOBJS CXXCPP GENGETOPT NO_GENGETOPT_TRUE NO_GENGETOPT_FALSE YFLAGS TAR LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@@@ -1744,8 +1744,10 @@@@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst + source_highlightdatadir=$datadir/source-highlight source_highlightdocdir=$datadir/doc/source-highlight +source_highlightdochtmldir=$datadir/doc/html/source-highlight @@@@ -7341,6 +7343,7 @@@@ s,@@SET_MAKE@@,$SET_MAKE,;t t s,@@am__leading_dot@@,$am__leading_dot,;t t s,@@source_highlightdatadir@@,$source_highlightdatadir,;t t s,@@source_highlightdocdir@@,$source_highlightdocdir,;t t +s,@@source_highlightdochtmldir@@,$source_highlightdochtmldir,;t t s,@@JAVA_SCANNER_VERSION@@,$JAVA_SCANNER_VERSION,;t t s,@@CPP_SCANNER_VERSION@@,$CPP_SCANNER_VERSION,;t t s,@@PROLOG_SCANNER_VERSION@@,$PROLOG_SCANNER_VERSION,;t t @ 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 --- configure.orig Wed Oct 30 18:21:38 2002 d5 10 a14 1 @@@@ -1595,8 +1595,10 @@@@ INSTALL_STRIP_PROGRAM="\${SHELL} \$(inst d25 2 a26 2 @@@@ -5963,6 +5965,7 @@@@ s,@@AWK@@,$AWK,;t t s,@@SET_MAKE@@,$SET_MAKE,;t t @