Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Nov 4, 2010
  1. @veillard

    Release of libxml2-2.7.8

    veillard authored
  2. @Derevko @veillard

    480323 add code to plug in ICU converters by default

    Derevko authored veillard committed
    This is not configured in by default but after some serious massaging
    incorporate that patch from Chromium/Chrome.
  3. @sezero @veillard

    614087 Fix Socket API usage to allow Windows64 compilation

    sezero authored veillard committed
    In Windows 64 a socket is no more represented by an int,
    this breaks the nanoftp API and nanoftp/nanohttp, the patch
    changes this and fix the API for Win64
    Regenerated the XML and documentation as a result too.
  4. @AdrianBunk @veillard

    Switch from the obsolete mkinstalldirs to AC_PROG_MKDIR_P

    AdrianBunk authored veillard committed
    This was obsoleted in 2005 so we should be safe.
    But keep AC_PREREQ to 2.59 as it's still widely deployed.
Commits on Nov 3, 2010
  1. @veillard

    Add xmlSaveOption XML_SAVE_WSNONSIG

    Adam Spragg authored veillard committed
    non destructive indentation option using spaces within markup
    constructs and hence not modifying content
    * include/libxml/xmlsave.h: new option
    * xmlsave.c: some refactoring and new code for the new option
    * xmllint.c: adds --pretty option where option 2 uses the new formatting
Commits on Jul 26, 2010
  1. @veillard

    Add an HTML parser option to avoid a default doctype

    veillard authored
    - include/libxml/HTMLparser.h: defines the new HTML parser option
      HTML_PARSE_NODEFDTD
    - HTMLparser.c: if option is set don't add a default DTD
    - xmllint.c: add the corresponding --nodefdtd option in xmllint
Commits on Mar 15, 2010
  1. @libc @veillard

    Switch the HTML parser to be non-recursive

    libc authored veillard committed
    * HTMLparser.c: new htmlParseElementInternal non recursive, with
      htmlParseContentInternal and new function to handle node info
      and element end.
    * include/libxml/parser.h: add new stack for element info in parser
      context
    * parserInternals.c: fee element info stack
Commits on Mar 10, 2010
  1. @petrovr @veillard

    Fix build with mingw

    petrovr authored veillard committed
    - include/libxml/xmlexports.h: restore export decoration otherwise
      xsltproc and xmlsec crash
    - libxml.h: define LIBXML_STATIC for static build
    - configure.in: enable modules support for mingw* builds
    - Makefile.am: flags for testdso if modules support enabled
Commits on Jan 29, 2010
  1. @veillard

    Fix xmlParseInNodeContext for HTML content

    veillard authored
    xmlParseInNodeContext notices that the enclosing document is
    an HTML document, so invoke the HTML parser for that fragment, and
    the HTML parser finding a "<p>hello world!</p>" document automatically
    augment it with defaulted <html> and <body>. This defaulting should
    be turned off in the HTML parser for this to work, but there is no
    such HTML parser option. There is an htmlOmittedDefaultValue global
    variable that you could use, but really we should not rely on global
    variable for processing options anymore, best is to add an
    HTML_PARSE_NOIMPLIED.
    * include/libxml/HTMLparser.h: add the HTML_PARSE_NOIMPLIED parser flag
    * HTMLparser.c: do add implied element if HTML_PARSE_NOIMPLIED is set
    * parser.c: add HTML_PARSE_NOIMPLIED to options for xmlParseInNodeContext
      on HTML documents
Commits on Sep 9, 2009
  1. @veillard

    594250 rename ATTRIBUTE_ALLOC_SIZE to avoid clashes

    veillard authored
    * include/libxml/xmlmemory.h include/libxml/xmlversion.h.in: rename it
      to LIBXML_ATTR_ALLOC_SIZE to avoid conflicts in public headers
Commits on Sep 7, 2009
  1. @madscientist @veillard

    Fix the globals.h to use XMLPUBFUN

    madscientist authored veillard committed
    * include/libxml/globals.h: in addition to the extern extern
      Paul Smith noted that XMLPUBFUN should be used instead of
      LIBXML_DLL_IMPORT
  2. @veillard

    Problem with extern extern in header

    veillard authored
    * include/libxml/globals.h: LIBXML_DLL_IMPORT should not be
      followed by extern
    * include/libxml/xmlmemory.h: fix the same problem but in a comment
Commits on Aug 24, 2009
  1. @scoder @veillard

    440226 Add xmlXIncludeProcessTreeFlagsData API

    scoder authored veillard committed
    * xinclude.c include/libxml/xinclude.h: new function similar to
      xmlXIncludeProcessFlagsData but operating on a subtree
  2. @kosmix @veillard

    Fix SetGenericErrorFunc and SetStructured clash

    kosmix authored veillard committed
    * include/libxml/globals.h globals.c global.data: define a new global
      variable (per thread) for structured error reporting, to not conflict
      with generic one
    * error.c: when defined use the structured error report over any generic
      one
  3. @veillard

    541335 HTML avoid creating 2 head or 2 body element

    veillard authored
    * HTMLparser.c: check when we see an head or a body tag and avoid
      autogenerating them
    * include/libxml/parser.h: the values for ctxt->html change depending
      on the head or body tags being seen
Commits on Aug 20, 2009
  1. @veillard

    Make xmlRecoverDoc const (Martin Trappel)

    veillard authored
    * include/libxml/parser.h parser.c: just make the parameter a const
Commits on Aug 12, 2009
  1. @veillard

    Both args of xmlStrcasestr are const

    veillard authored
    * include/libxml/xmlstring.h xmlstring.c: fix the constness of the
      second arg of xmlStrcasestr()
Commits on Aug 10, 2009
  1. @veillard

    Try to avoid __imp__xmlFree link trouble on msys

    veillard authored
    * include/libxml/xmlexports.h: when compiling with mingw/MSYS or linking
      to an precompiled library this _imp__xmlFree missing at runtime is a
      common problem. Igor and various people faced it and this seems the
      minimal fix for it, should resolve 590302 and 561340
Commits on Jul 9, 2009
  1. @lsh123 @veillard

    Fix a couple of ABI issues with C14N 1.1

    lsh123 authored veillard committed
    * include/libxml/c14n.h c14n.c: fix API to not include enum xmlC14NMode
      in the arguments, and do a bit more check on input
  2. @lsh123 @veillard

    Aleksey Sanin support for c14n 1.1

    lsh123 authored veillard committed
    * c14n.c include/libxml/c14n.h: adds support for C14N 1.1,
      new flags at the API level
    * runtest.c Makefile.am testC14N.c xmllint.c: add support in CLI
      tools and test binaries
    * result/c14n/1-1-without-comments/* test/c14n/1-1-without-comments/*:
      add a new batch of tests
Commits on Apr 15, 2009
  1. change ATTRIBUTE_PRINTF into LIBXML_ATTR_FORMAT to avoid macro name

    Daniel Veillard authored
    * include/libxml/parser.h include/libxml/xmlwriter.h
      include/libxml/relaxng.h include/libxml/xmlversion.h.in
      include/libxml/xmlwin32version.h.in include/libxml/valid.h
      include/libxml/xmlschemas.h include/libxml/xmlerror.h: change
      ATTRIBUTE_PRINTF into LIBXML_ATTR_FORMAT to avoid macro name
      collisions with other packages and headers as reported by
      Belgabor and Mike Hommey
    daniel
    
    svn path=/trunk/; revision=3827
Commits on Mar 25, 2009
  1. fixes for Borland/CodeGear/Embarcadero compilers by Eric Zurcher Daniel

    Daniel Veillard authored
    * include/wsockcompat.h win32/Makefile.bcb xpath.c: fixes for
      Borland/CodeGear/Embarcadero compilers by Eric Zurcher
    Daniel
    
    svn path=/trunk/; revision=3822
Commits on Jan 18, 2009
  1. preparing 0.7.3 release fix a typo in a name Daniel

    Daniel Veillard authored
    * configure.in doc/xml.html doc/*: preparing 0.7.3 release
    * include/libxml/parserInternals.h SAX2.c: fix a typo in a name
    Daniel
    
    svn path=/trunk/; revision=3814
  2. port patch from Marcus Meissner to add gcc checking for printf like

    Daniel Veillard authored
    * include/libxml/parser.h include/libxml/xmlwriter.h
      include/libxml/relaxng.h include/libxml/xmlversion.h.in
      include/libxml/xmlwin32version.h.in include/libxml/valid.h
      include/libxml/xmlschemas.h include/libxml/xmlerror.h:
      port patch from Marcus Meissner to add gcc checking for
      printf like functions parameters, should fix #65068
    * doc/apibuild.py doc/*: modified the script accordingly
      and regenerated
    * xpath.c xmlmemory.c threads.c: fix a few warnings
    Daniel
    
    svn path=/trunk/; revision=3813
  3. windows header should get the same define Daniel

    Daniel Veillard authored
    * include/libxml/xmlwin32version.h.in: windows header should
      get the same define
    Daniel
    
    svn path=/trunk/; revision=3812
  4. apply patch from Marcus Meissner to add gcc attribute alloc_size should

    Daniel Veillard authored
    * include/libxml/xmlversion.h.in include/libxml/xmlmemory.h:
      apply patch from Marcus Meissner to add gcc attribute alloc_size
      should fix #552505
    * doc/apibuild.py doc/* testapi.c: regenerate the API
    * include/libxml/parserInternals.h: fix a comment problem raised
      by apibuild.py
    daniel
    
    svn path=/trunk/; revision=3811
  5. add a new define XML_MAX_TEXT_LENGHT limiting the maximum size of a s…

    Daniel Veillard authored
    …ingle
    
    * include/libxml/parserInternals.h SAX2.c: add a new define
      XML_MAX_TEXT_LENGHT limiting the maximum size of a single text
      node, the defaultis 10MB and can be removed with the HUGE
      parsing option
    Daniel
    
    svn path=/trunk/; revision=3808
Commits on Jan 5, 2009
  1. add XML_PARSE_OLDSAX parser option to enable pre 2.7 SAX behavior.

    Rob Richards authored
    * include/libxml/parser.h parser.c: add XML_PARSE_OLDSAX parser 
      option to enable pre 2.7 SAX behavior.
    
    svn path=/trunk/; revision=3807
Commits on Nov 27, 2008
  1. adds element traversal support avoid a warning regenerated daniel

    Daniel Veillard authored
    * include/libxml/tree.h tree.c python/generator.py: adds
      element traversal support
    * valid.c: avoid a warning
    * doc/*: regenerated
    daniel
    
    svn path=/trunk/; revision=3804
Commits on Sep 25, 2008
  1. new options to serialize as XML/HTML/XHTML and restore old entry point

    Daniel Veillard authored
    * include/libxml/xmlsave.h xmlsave.c: new options to serialize
      as XML/HTML/XHTML and restore old entry point behaviours
    Daniel
    
    svn path=/trunk/; revision=3794
Commits on Aug 30, 2008
  1. make a new kind of buffer where shrinking and adding in head can avoid

    Daniel Veillard authored
    * include/libxml/tree.h tree.c: make a new kind of buffer where
      shrinking and adding in head can avoid reallocation or full
      buffer memmoves
    * encoding.c xmlIO.c: use the new kind of buffers for output
      buffers
    Daniel
    
    svn path=/trunk/; revision=3787
Commits on Aug 28, 2008
  1. completely different fix for the recursion detection based on entity

    Daniel Veillard authored
    * parser.c include/libxml/parser.h: completely different fix for
      the recursion detection based on entity density, big cleanups
      in the entity parsing code too
    * result/*.sax*: the parser should not ask for used defined versions
      of the predefined entities
    * testrecurse.c: automatic test for entity recursion checks
    * Makefile.am: added testrecurse
    * test/recurse/lol* test/recurse/good*: a first set of tests for
      the recursion
    Daniel
    
    svn path=/trunk/; revision=3783
Commits on Aug 27, 2008
  1. a bit of cleanup and added checks based on the regression tests of the

    Daniel Veillard authored
    * include/libxml/xmlerror.h parser.c: a bit of cleanup and
      added checks based on the regression tests of the xmlconf suite
    Daniel
    
    svn path=/trunk/; revision=3782
  2. cleanup entity pushing error handling based on a patch from Ashwin da…

    Daniel Veillard authored
    …niel
    
    * include/libxml/parserInternals.h parser.c: cleanup entity
      pushing error handling based on a patch from Ashwin
    daniel
    
    svn path=/trunk/; revision=3779
Commits on Aug 26, 2008
  1. strengthen some of the internal parser limits, add an XML_PARSE_HUGE

    Daniel Veillard authored
    * include/libxml/parser.h parser.c xmllint.c: strengthen some
      of the internal parser limits, add an XML_PARSE_HUGE option
      to bypass them all. More internal parser limits will still need
      to be added.
    Daniel
    
    svn path=/trunk/; revision=3777
Something went wrong with that request. Please try again.