summaryrefslogtreecommitdiff
path: root/textproc
AgeCommit message (Collapse)AuthorFilesLines
2004-06-25Update to version 4.1.seb5-46/+7
Package changes: * remove inclusion of converters/libiconv/buildlink3.mk, devel/gettext-lib/builtin.mk will take care of that if needed. Changes since last packaged version (4.0.9): * // matches the last regular expression even in POSIXLY_CORRECT mode. * change the way we treat lines which are not terminated by a newline. Such lines are printed without the terminating newline (as before) but as soon as more text is sent to the same output stream, the missing newline is printed, so that the two lines don't concatenate. The behavior is now independent from POSIXLY_CORRECT because POSIX actually has undefined behavior in this case, and the new implementation arguably gives the ``least expected surprise''. Thanks to Stepan Kasal for the implementation. * documentation improvements, with updated references to the POSIX.2 specification * error messages on I/O errors are better, and -i does not leave temporary files around (e.g. when running ``sed -i'' on a directory). * escapes are accepted in the y command (for example: y/o/\n/ transforms o's into newlines) * -i option tries to set the owner and group to the same as the input file * `L' command is deprecated and will be removed in sed 4.2. * line number addresses are processed differently -- this is supposedly conformant to POSIX and surely more idiot-proof. Line number addresses are not affected by jumping around them: they are activated and deactivated exactly where the script says, while previously 5,8b 1,5d would actually delete lines 1,2,3,4 and 9 (!). * multibyte characters are taken in consideration to compute the operands of s and y, provided you set LC_CTYPE correctly. They are also considered by \l, \L, \u, \U, \E. * [\n] matches either backslash or 'n' when POSIXLY_CORRECT. * new option --posix, disables all GNU extensions. POSIXLY_CORRECT only disables GNU extensions that violate the POSIX standard. * options -h and -V are not supported anymore, use --help and --version. * removed documentation for \s and \S which worked incorrectly * restored correct behavior for \w and \W: match [[:alnum:]_] and [^[:alnum:]_] (they used to match [[:alpha:]_] and [^[:alpha:]_] * the special address 0 can only be used in 0,/RE/ or 0~STEP addresses; other cases give an error (you are hindering portability for no reason if specifying 0,N and you are giving a dead command if specifying 0 alone). * when a \ is used to escape the character that would terminate an operand of the s or y commands, the backslash is removed before the regex is compiled. This is left undefined by POSIX; this behavior makes `s+x\+++g' remove occurrences of `x+', consistently with `s/x\///g'. (However, if you enjoy yourself trying `s*x\***g', sed will use the `x*' regex, and you won't be able to pass down `x\*' while using * as the delimiter; ideas on how to simplify the parser in this respect, and/or gain more coherent semantics, are welcome).
2004-06-24Remove xlhtml, we have already this package in converters, pointed outxtraeme4-34/+0
by wiz.
2004-06-24Initial import of xlhtml-0.5.xtraeme4-0/+34
xlhtml is used to convert Microsoft Excel Spreadsheet files into either html or tab delimitted ASCII. The program can be interfaced with helper scripts for viewing email attachments. Most use of this program is through the helper scripts and one would probably rarely resort to using the commandline interface.
2004-06-24Add p5-XML-RAI, p5-XML-RSS-Parser (hi schmonz!)xtraeme1-1/+3
2004-06-21Fix some bad roff in the man page. Closes PR 25950. Bump PKGREVISION.wiz3-3/+22
2004-06-20Initial import of p5-XML-RAI.schmonz4-0/+37
The RSS Abstraction Interface, or RAI (said "ray"), provides an object-oriented interface to XML::RSS::Parser trees that abstracts the user from handling namespaces, overlapping and alternate tag mappings. It's rather well known that, while popular, the RSS syntax is a bit of a mess. RAI provides a single simplified interface that maps one method call to various overlapping and alternate tags used in RSS feeds. The interface also abstracts developers from needing to deal with namespaces. Method names are based on Dublin Core terminology.
2004-06-20Initial import of p5-XML-RSS-Parser.schmonz4-0/+32
XML::RSS::Parser is a lightweight liberal parser of RSS feeds that is derived from the XML::Parser::LP module the I developed for mt-rssfeed -- a Movable Type plugin. This parser is "liberal" in that it does not demand compliance of a specific RSS version and will attempt to gracefully handle tags it does not expect or understand. The parser's only requirements is that the file is well-formed XML and remotely resembles RSS.
2004-06-17Use the configure target and use REPLACE_PERL to get the correctcjep1-2/+3
path to perl in html2wml. Fixes PR#25951 from diro at nixsys dot bz .
2004-06-13bump to 20040613grant1-2/+2
2004-06-13sync with src:grant1-10/+16
safer realloc, from openbsd
2004-06-13sync with src:grant1-3/+3
prevent integer underflow. freebsd rev 1.32. via openbsd
2004-06-13sync with src:grant1-3/+4
apply patch in PR to fix argument parsing bug. apply patch in PR to avoid writing to unallocated memory.
2004-06-13sync with src:grant1-2/+2
Bump Dd for previous.
2004-06-13sync with src:grant1-2/+2
Point people to re_format(7) instead of regex(3) for RE description
2004-06-13sync with src:grant6-21/+173
Move UCB-licensed code from 4-clause to 3-clause licence.
2004-06-12Sync nbsed with -current and bump its version to 20040612. This fixesminskim2-7/+28
a bug reported in PR bin/25899 that makes sed(1) fail if the last character of the line buffer is a backslash.
2004-06-09Quick fix for build with converters/libiconv, making configure detecttaca3-1/+213
iconv() in libiconv library.
2004-06-07Re: PR 25853 textproc/opensp does not compile with gcc 3.4.0shannonjr2-1/+14
A missing type declaration causes compilation failure. The patch fixes the problem by including the local header file "constant.h" This closes the referenced PR.
2004-06-06this package doesn't use a compiler.grant1-1/+2
2004-06-06Packages no longer need to clean up *.subst.sav leftovers.schmonz1-4/+1
2004-06-04Enable pkgviews installation.xtraeme3-3/+9
2004-06-04Enable pkgviews installation.xtraeme2-2/+6
2004-06-04This does not seem to need to link against libl, so leave it out to allowjschauma2-11/+17
build on OS that don't even have libl.
2004-06-01Re: PR 25726 Compilation error on redeclaration of malloc() using gcc 3.4.0shannonjr2-7/+14
This problem was anticipated in the source Makefile so fix was a trivial matter of setting the CFLAG -DNO_MALLOC_DECL. This closes the referenced PR.
2004-06-01Re: PR 25725 Syntax errors prevent compilation of with gcc 3.4.0shannonjr3-1/+55
The patch-ac corrects four instances of printf being called with an uncompilable argument list; the patch follows a recommendation from Christian Biere <christianbiere@gmx.de>. The patch-ad corrects a situation where a label at end of block prevents compilation; the fix adds a null statement as the label's target.
2004-06-01Re: PR 25720 Syntax errors prevent compilation with gcc 3.4.0shannonjr3-14/+53
The patch-al fixes a problem where a label appeared at end of block by supplying a null statement for the label. The patch-am provides a missing argument list separator (comma) in four places. This closes the PR.
2004-06-01Re: PR 25715 Compilation error with gcc 3.4.0shannonjr2-1/+15
dartsdic.cpp:180: error: ISO C++ forbids cast to non-reference type used as lvalue The patch corrects the compilation error by rewriting the cast without changing the meaning of the statement. This closes the PR.
2004-05-29Use PTHREAD_OPTS+=require instead of implementing the same functionalitykristerw2-12/+5
using if ${PTHREAD_TYPE} == "none" etc, and use the blessed pthread package instead of depending on devel/unproven-pthreads. Bump PKGREVISION.
2004-05-29Move WRKSRC definition into a later section.minskim1-2/+2
2004-05-29Enable pkgviews installation.minskim1-1/+5
2004-05-29Added p5-XML-XUpdate-LibXML-0.2.3, p5-XML-LibXML-XPathContext-0.06.xtraeme1-1/+3
2004-05-29Initial import of p5-XML-LibXML-XPathContext-0.06.xtraeme4-0/+27
This module augments XML::LibXML by providing a Perl interface to libxml2's xmlXPathContext structure.
2004-05-29Initial import of p5-XML-XUpdate-LibXML-0.2.3.xtraeme4-0/+26
Simple implementation of XUpdate format (http://www.xmldb.org/xupdate/). The implementation is based on XML::LibXML DOM API.
2004-05-29Added p5-XML-LibXML-Iterator, p5-XML-NodeFilter.xtraeme1-1/+3
2004-05-29Initial import of p5-XML-NodeFilter-0.01.xtraeme4-0/+28
XML::NodeFilter is a generic node-filter class for DOM traversal as specified in the DOM Level 2 Traversal and Range specification. It extends that specification so this class is more easy to use for perl programmers.
2004-05-29Initial import of p5-XML-LibXML-Iterator-1.00.xtraeme4-0/+28
XML::LibXML::Iterator implements the iterator part of the DOM Traversal and Range specification. This class allows to iterate through a DOM as it is done through an ordinary array.
2004-05-29Update textproc/p5-XML-DOM to 1.43 (previous distfile unavailable).xtraeme2-6/+5
Changes: 1.43 (tjmather) 07/28/2003 - Fixed bug that manifests itself with XML::Parser 2.32 and greater, specify external style as 'XML::Parser::Dom' rather than just 'Dom'. (Matt Sergeant)
2004-05-28Update docbook-simple to 1.1b3.minskim4-22/+12
Changes since 1.1b1: - adds the anchor element and the remap attribute. - adds the anchor element to a few more parameter entities, fixing the bug where it was not available in all the appropriate contexts in V1.1b2.
2004-05-25Add "CONFIGURE_HAS_INFODIR=no" to get this package building.simonb1-1/+2
2004-05-23malloc.h fixes for darwin, plus a handful of other small fixes fordanw3-10/+16
problems found after fixing malloc problems
2004-05-23Make this compile when using gcc 3.3.kristerw3-1/+29
2004-05-23unusedrecht1-8/+0
2004-05-22Unused.wiz1-22/+0
2004-05-19USE_LANGUAGES= c c++minskim1-1/+3
USE_LIBTOOL= yes
2004-05-19Bump PKGREVISION due to major version bump of the opensp library.minskim1-1/+2
2004-05-19Update opensp to 1.5.1.minskim6-82/+26
Changes: Enable run time selection of message format with SP_MESSAGE_FORMAT environment variable. Value is one of XML, NONE, TRADITIONAL. When validating/parseing a document using http, OpenSP will now follow any redirects headers/requests from the server. The environment variable SP_HTTP_USER_AGENT can be used to specify a UserAgent: header. The environment variable SP_HTTP_ACCEPT can be used to specify Accept: headers. A number of enhancements have been made to the osx tool: security fixes in the handling of output files; addition of the "preserve case option". A testing framework together with some initial tests have been added. Currently there are 22 tests. 6 of which fail. Support for Mac OS/X, Darwin has been improved. Build infrastructure and localisation fixes and enhancements. Improved compiler support.
2004-05-18update to 0.2.1recht3-217/+54
patch provided by Michal Pasternak in PR pkg/25611 Release 0.2.1 11 May 2004 Minor bugfixes and test improvements. Release 0.2.0 20 Feb 2004 Reorganized code into modules; converted some iteration constructs to Python iterators and generators. All text processing internally is now handled as Unicode. Analyzers are back as generators of tokens. The changes to the code to make it more pythonic appear to have resulted in trading time for space: preliminary tests indicate about a 5% speedup on one dataset in exchange for a 20% increase in memory usage.
2004-05-17Garbage collect BUILDLINK_PKGBASE.<pkg> from buildlink3: it is not anymoreseb1-2/+1
used since revision 1.139 of mk/buildlink3/bsd.buildlink3.mk.
2004-05-16Fix build with older GNU libstdc++ (mentioned in PR pkg/25590).seb3-2/+18
While here add support for test target.
2004-05-15Update to version 1.9.seb5-34/+29
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)