2002-04-19 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh: SIGINT handling changed
* lib/XML/XSH/Functions.pm: forget use IO::File;
* lib/XML/XSH/Functions.pm:
using gzip -c to compress files with .gz extension
2002-04-17 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* lib/XML/XSH/Functions.pm: debug prints removed
* lib/XML/XSH/Functions.pm:
Allowed document() function to start and XPath expression.
2002-03-27 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* lib/XML/XSH/Functions.pm: key/id xpath fixed
2002-03-21 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* lib/XML/XSH/CompletionList.pm, lib/XML/XSH/Grammar.pm, lib/XML/XSH/Help.pm, lib/XML/XSH/Parser.pm:
updated
* lib/XML/XSH/Functions.pm:
keep_blanks by default (should be in LibXML, but is not in recent versions)
* lib/XML/XSH/Functions.pm, src/xsh_grammar.xml:
new command open_PIPE allows parsing XML output of a command
2002-03-20 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* lib/XML/XSH/Functions.pm:
- implementation of new XSH grammar features
- charset conversion bug-fixes
- libxml related and other bugfixes
* src/xsh_grammar.xml:
- parser much faster now (because of better grammar trimming)
- if/uless/while/foreach for perl conditions too:
if/unless/while/foreach { perl } { commands }
- open_HTML/save_HTML
- xupdate
- nodelist %v variables
- scalar variables may be used instead of ID on many places
- other bug fixes/improvements
* tools/gen_grammar.pl, src/recdescent.dtd:
repetition suffices supported
* lib/XML/XSH/Help.pm, lib/XML/XSH/CompletionList.pm, lib/XML/XSH/Grammar.pm, lib/XML/XSH/Parser.pm:
Re-generated.
* xsh: ~/.xshrc support (must contain XSH commands)
* Makefile.PL: XUpdate requirement added.
2002-03-20 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh_grammar.xml:
- parser much faster now (because of better grammar trimming)
- if/uless/while/foreach for perl conditions too:
if/unless/while/foreach { perl } { commands }
- open_HTML/save_HTML
- xupdate
- nodelist %v variables
- scalar variables may be used instead of ID on many places
- other bug fixes/improvements
* recdescent.dtd: repetition suffices supported
2002-03-20 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* Functions.pm: - implementation of new XSH grammar features
- charset conversion bug-fixes
- libxml related and other bugfixes
* Help.pm, CompletionList.pm, Grammar.pm, Parser.pm: Re-generated.
2002-03-15 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* Functions.pm: package VERSION taken from Functions.pm
* Functions.pm:
Serious bug fixed in "insert attribute" and "insert element"
implementations. Also, namespaces should work a little better now.
2002-03-14 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* Grammar.pm, Completion.pm: Minor change.
* Functions.pm: DOM tree navigation
Nodelist variables (%varname) introduced.
New functions locate and pwd return canonical XPATHs
* CompletionList.pm, Grammar.pm, Help.pm, Parser.pm:
Generated from XML source.
2002-03-08 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* Functions.pm, Grammar.pm, Help.pm, Parser.pm: bug-fixes
2002-03-06 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* CompletionList.pm: Namespace fixed.
* Completion.pm: bug fixed.
* CompletionList.pm: initial commit.
* Completion.pm:
Completion-list moved to a separate module (which is now auto
generated from XML source).
2002-03-05 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* Functions.pm: got rid of the ugly debug print
* Completion.pm: Initial commit.
* Functions.pm, Grammar.pm, Help.pm, Makefile, Parser.pm:
File was moved from XSH/ directory.
See the file of the same name in that directory for later revisions.
2002-02-27 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* TODO: initial commit
* XSH/Parser.pm: recompiled
* XSH/Help.pm: Doc update. Command name transform is an alias for xslt.
* XSH/Functions.pm: Bugfixes:
dtd command: Prepending document path to a relative sysid
(Still cannot avoid XML::LibXML SIGSEGVs if DTD sysid not found)
* XSH/Functions.pm:
dtd fixed: XML::LibXML::Dtd->toString does not support format arg.
* XSH/Help.pm: doc update
* XSH/Grammar.pm: New commands:
indent
add/insert <node-type> <expression> namespace <namespace> <location> <xpath>
* XSH/Functions.pm: Features:
simple namespaces support
command to enable/disable output indenting on save
* xsh.pl: -q supresses copyright info and hint
* LICENSE: initial commit (replaces misspelled LICENCE)
2002-02-22 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl: Version number update.
* XSH/Parser.pm: Recompiled from Grammar.pm
* XSH/Help.pm: New XSH commands documented.
* XSH/Grammar.pm: Features:
- new XSH bindings for XML::LibXML options
(validation, parser_expands_entities, parser_expands_xinclude,
keep_blanks, pedantic_parser, complete_attributes, load_ext_dtd)
- a new command process_xinclude
(seems to be broken in XML::LibXML, though)
* XSH/Functions.pm: Bugfixes:
- dtd-related bugs corrected
(sorry Matt, I blamed your XML::LibXML for them)
Features:
- new XSH::Grammar functions implemented
* xsh.pl:
scratch creation moved after seting cmd-line options (probably useless)
2002-02-22 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl: Version number update.
* XSH/Parser.pm: Recompiled from Grammar.pm
* XSH/Help.pm: New XSH commands documented.
* XSH/Grammar.pm: Features:
- new XSH bindings for XML::LibXML options
(validation, parser_expands_entities, parser_expands_xinclude,
keep_blanks, pedantic_parser, complete_attributes, load_ext_dtd)
- a new command process_xinclude
(seems to be broken in XML::LibXML, though)
* XSH/Functions.pm: Bugfixes:
- dtd-related bugs corrected
(sorry Matt, I blamed your XML::LibXML for them)
Features:
- new XSH::Grammar functions implemented
* xsh.pl:
scratch creation moved after seting cmd-line options (probably useless)
2002-02-18 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* ChangeLog: *** empty log message ***
* xsh.pl: version number update
* ChangeLog, XSH/Parser.pm: regenerated
* XSH/Help.pm: bugfixes:
echo documented
* XSH/Functions.pm: features:
add attribute name=value into ... construction with
unquoted expr. allowed for
single attribute and its
single-word value
bugfixes:
foreach, xslt, move default id handling fixed
echo documented
2002-02-18 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl: version number update
* ChangeLog, XSH/Parser.pm: regenerated
* XSH/Help.pm: bugfixes:
echo documented
* XSH/Functions.pm: features:
add attribute name=value into ... construction with
unquoted expr. allowed for
single attribute and its
single-word value
bugfixes:
foreach, xslt, move default id handling fixed
echo documented
2002-02-18 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* XSH/Parser.pm: regenerated
* XSH/Help.pm: bugfixes:
echo documented
* XSH/Functions.pm: features:
add attribute name=value into ... construction with
unquoted expr. allowed for
single attribute and its
single-word value
bugfixes:
foreach, xslt, move default id handling fixed
echo documented
2002-02-07 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* XSH/Grammar.pm, XSH/Functions.pm: save command fixed
2002-02-06 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* config.mk: default PREFIX changed to /usr/local
* xsh.pl: release version update
* config.mk: initial commit
* INSTALL, Makefile, README, XSH/Makefile: make install added
* ChangeLog, Makefile, XSH/Makefile: initial commit
* XSH/Parser.pm: new compile
* XSH/Help.pm: help update
* XSH/Grammar.pm: new commands (defs, select) added
* XSH/Functions.pm: list_defs added
trying to solve some problems with validation
2002-02-06 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl: release version update
* config.mk: initial commit
* INSTALL, Makefile, README, XSH/Makefile: make install added
* ChangeLog, Makefile, XSH/Makefile: initial commit
* XSH/Parser.pm: new compile
* XSH/Help.pm: help update
* XSH/Grammar.pm: new commands (defs, select) added
* XSH/Functions.pm: list_defs added
trying to solve some problems with validation
2002-02-06 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* XSH/Parser.pm: new compile
* XSH/Help.pm: help update
* XSH/Grammar.pm: new commands (defs, select) added
* XSH/Functions.pm: list_defs added
trying to solve some problems with validation
2002-02-04 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl: XSH modularized.
Function create added to create a new document. Now, there is at least
one document open on startup, it is called scratch and consists of a
single (root) element.
* XSH/Functions.pm, XSH/Grammar.pm, XSH/Help.pm, XSH/Parser.pm:
XSH modularized:
XSH::Functions - implementation of XSH language functions
XSH::Grammar - XSH grammar description for RecDescent parser
XSH::Help - XSH on-line help
XSH::Parser - module automatically created by RecDescent from
XSH::Grammar
2002-01-31 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl: exit function fixed.
* xsh.pl: On-line help updated.
2002-01-31 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl: exit function fixed.
* xsh.pl: On-line help updated.
2002-01-29 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl:
grammar corrected: non-backslashed quotes allowed in inline ${{XPATH}} expressions
* xsh.pl: Added ${{XPATH}} expansion in expressions.
* xsh.pl: several fixes (btw, print works now:-))
* xsh.pl: print command added.
2002-01-28 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl:
greatly improved grammar (xpath expressions and perl blocks do not
need quotes, shell-like quoting, semicolon may be used to separate
commands and may be part of the last token), added new commands
(include, eval, exec), renamed some commands (for -> map), embedded
perl code has its own namespace (XSH::Map).
2002-01-18 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl:
Count changed to support any type of <xpath> expressions, thus
allowing evaluation of arithmetic, boolean and string expressions in
addition to the expressions resulting in a node-list. This change also
affects the if and while statements, providing them with the same power.
* INSTALL, LICENCE, README, xsh.pl: INSTALL, LICENCE, README added
xsh.pl - added copyright and GPL notes
2002-01-18 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl:
Count changed to support any type of <xpath> expressions, thus
allowing evaluation of arithmetic, boolean and string expressions in
addition to the expressions resulting in a node-list. This change also
affects the if and while statements, providing them with the same power.
* INSTALL, LICENCE, README, xsh.pl: INSTALL, LICENCE, README added
xsh.pl - added copyright and GPL notes
2002-01-17 Petr Pajas <pajas@ufal.ms.mff.cuni.cz>
* xsh.pl: New file.
* xsh.pl: initial commit