Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Apr 6, 2015
  1. @vadz

    Merge pull request #24 from vadz/insert-ns-fix

    vadz authored
    Use parent namespace by default for the new nodes.
Commits on Apr 5, 2015
  1. Merge pull request #22 from vadz/node-dump-submit

    authored
    Make dumping xml::nodes more convenient.
Commits on Apr 2, 2015
  1. @vadz

    Use parent namespace by default for the new nodes.

    vadz authored
    If the node being inserted into the tree doesn't define any namespace of its
    own, reuse the parents namespace for it.
    
    This is more consistent with libxml2 behaviour, as xmlNewChild() behaves like
    this, and less surprising as previously new nodes didn't have any associated
    namespace which was indistinguishable from having the same namespace as parent
    node in many cases (e.g. when converting the document to textual
    representation), but not always (e.g. matching these new nodes with XPath
    expressions involving namespaces didn't work).
  2. @vadz

    Make dumping xml::nodes more convenient.

    vadz authored
    Add an overload of node_to_string() just returning the string with the entire
    node contents instead of requiring to pass in a string to fill.
    
    The main benefit of this change is that the new function can be called from a
    debugger to view the node contents during a debugging session.
    
    Also mention the existence of this method in the "Tips and tricks" section of
    the manual.
Commits on Mar 5, 2015
  1. @vadz

    Fix header guard name in xpath.h.

    vadz authored
    Thanks clang for the nice -Wheader-guard warning which pointed out a typo in
    the guard name check.
Commits on Sep 3, 2014
  1. @vadz

    Allow moving a node to another location in the same document.

    vadz authored committed
    Add a useful tree manipulation function allowing to move a node to another
    parent. This is simpler than copying it and also avoids problem with
    namespace definitions which are duplicated when the nodes are copied.
  2. @vadz

    Just fix a typo in the NEWS file.

    vadz authored committed
Commits on Sep 1, 2014
  1. @vadz

    Add --disable-tests configure option to skip building tests.

    vadz authored
    This allows to avoid installing Boost.Iostreams and Boost.Test needing just
    for the tests when building the library itself.
    
    Also document these requirements.
Commits on Aug 1, 2014
  1. Add Travis CI spec file.

    authored
Commits on Mar 6, 2014
  1. Merge branch 'maint-0.7'

    authored
Commits on Nov 19, 2013
  1. Fix invalid @subsection markup in documents.doxygen.

    Greg Chicares authored committed
Commits on Sep 1, 2013
  1. Add XMLWRAPP_DEPRECATED message support for GCC and VC++.

    authored
    GCC supports deprecation messages since 4.5 and Visual C++ since 2005,
    so use it.  Also fix incorrect Visual C++ checks so that it actually
    works now.
    
    Reference:
    http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43666
    http://msdn.microsoft.com/en-us/library/044swk7y(v=vs.80).aspx
Commits on Aug 28, 2013
  1. Merge branch 'maint-0.7'

    authored
  2. Increase version to 0.7.1.

    authored
  3. Update GitHub links.

    authored
  4. Merge branch 'maint-0.7'

    authored
Commits on Aug 8, 2013
  1. Don't require doxygen & bakefile to bootstrap.

    authored
    These tools are only used for Windows (bkl) or non-essential stuff, so
    it's safe to skip them on platforms where ./boostrap would typically be
    used.
    
    See #17.
  2. Fix bootstrap script POSIX compliance.

    authored
    The OSTYPE variable is a bash-ism, e.g.  dash doesn't define it.  Fix
    the code to work with any POSIX compliant shell.
    
    Fixes #17.
  3. gcc 4 compilation fix for the use of va_list

    Xuewen Wang authored committed
  4. Fix misc Visual C++ warnings.

    authored
Commits on Jul 30, 2013
  1. Don't require doxygen & bakefile to bootstrap.

    authored
    These tools are only used for Windows (bkl) or non-essential stuff, so
    it's safe to skip them on platforms where ./boostrap would typically be
    used.
    
    See #17.
  2. Fix bootstrap script POSIX compliance.

    authored
    The OSTYPE variable is a bash-ism, e.g.  dash doesn't define it.  Fix
    the code to work with any POSIX compliant shell.
    
    Fixes #17.
Commits on Jul 9, 2013
  1. gcc 4 compilation fix for the use of va_list

    Xuewen Wang authored committed
  2. Fix misc Visual C++ warnings.

    authored
  3. Prevent using xpath_context with a node from another document.

    authored
    This check is contained in libxml2 too.
    Throw an exception with explanatory message.
  4. Compilation fix for libxml2 < 2.9.1

    authored
    Older versions didn't have xmlXPathNodeEval() function.
Commits on Jul 5, 2013
  1. Add nodes_view::erase().

    authored
    Behavior and API are identical to the node counterpart.
Commits on Jul 4, 2013
  1. Merge branch 'xpath'

    authored
    Add simple API for evaluating XPath expressions.
    
    Fixes #14.
Something went wrong with that request. Please try again.