Permalink
Commits on Feb 11, 2013
  1. 0.7.0

    defunctzombie committed Feb 11, 2013
  2. Merge pull request #183 from mgcrea/master

    set toString() to output formatted output
    defunctzombie committed Feb 11, 2013
Commits on Feb 8, 2013
Commits on Jan 14, 2013
  1. source formatting

    defunctzombie committed Jan 14, 2013
Commits on Jan 7, 2013
  1. remove failing ref-integrity test

    Avoids blocking new features and fixes until the fix for reference
    counting is introduced.
    defunctzombie committed Jan 7, 2013
Commits on Jan 6, 2013
  1. GH-179: Remove strdup and use Opt pattern.

    Remove the use of strdup and associated frees and use the opt pattern.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Jan 6, 2013
  2. Always clean before running the tests...guarantees the latest will be…

    … tested.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Jan 6, 2013
  3. Merge branch 'GH-172'

    ncb000gt committed Jan 6, 2013
  4. Cleaned up tabs and spacing for stylistic reasons.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Jan 6, 2013
  5. Remove strdup.

    No need for explicit use of strdup + free, the refs will be cleaned up
    with the handles.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Jan 6, 2013
  6. Styling and error handling.

    I fixed some stylistic things relating to single line if statements.
    
    I moved some of the checks to the JS side of the house. Because we need
    to pass NULL to xmlCreateIntSubset for the last two params for them to
    be ignored, we have to do some checks in the C++ side. In order to deal
    with this I used strdup to grab the content of the v8::String.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Jan 6, 2013
Commits on Jan 5, 2013
  1. convert LXJS_GET_PARSER_FROM_CONTEXT into a function

    Macros are inconsistent across platforms and bad practice unless no
    other way is available. The uses of this macro are fine with a function
    call.
    defunctzombie committed Jan 5, 2013
  2. add NODE_MDOULE macro invocation

    This is the proper way node c++ modules should initialize themselves.
    defunctzombie committed Jan 5, 2013
  3. remove 'liblibxmljs' from bindings.gyp

    The double lib causes problems for windows (and apprently was a hack
    anyway). The compiled bindings can just be called xmljs.
    defunctzombie committed Jan 5, 2013
Commits on Jan 3, 2013
  1. fix typo on readme

    defunctzombie committed Jan 3, 2013
Commits on Nov 1, 2012
  1. Added cstring include.

    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Nov 1, 2012
  2. GH-172 - SetDtd on XmlDocument

    This should allow a user to set the doctype on a document. Internally
    uses the createIntSubset function and applies the dtd to the document
    passed into the function.
    
    There were some issues relating to removal of the dtd by calling
    xmlCreateIntSubset so instead we first have to get the dtd node, and
    then basically remove it and free it before we can apply the new dtd.
    This might be better as a few split api's rather than just one lump api
    but I figured it would be a little easier this way.
    
    Signed-off-by: Nick Campbell <nicholas.j.campbell@gmail.com>
    ncb000gt committed Nov 1, 2012
Commits on Oct 10, 2012
  1. pull version from package.json

    Ensures that version exported matches the installed module.
    
    Conflicts:
    	src/libxmljs.h
    defunctzombie committed Oct 10, 2012
Commits on Sep 12, 2012
  1. Merge pull request #167 from CodeFridge/feature/encoding_option2

    Encoding and baseUrl can be specified for html
    defunctzombie committed Sep 12, 2012
  2. Encoding and baseUrl can be specified for html

    Some HTML documents may have incorrect meta tags which puts libxml out
    of its default utf-8 parsing mode.  Allow these optional parameters to
    parseHtml so users can have control of this in theses situations.
    skabbes committed Aug 31, 2012
Commits on Sep 11, 2012
Commits on Sep 10, 2012
  1. update local docs

    polotek committed Sep 10, 2012
  2. Fix internal version number

    polotek committed Sep 10, 2012
Commits on Aug 31, 2012
  1. 0.6.1

    defunctzombie committed Aug 31, 2012
  2. Merge pull request #160 from jmandel/master

    Fix segfault on broken xpath (+ test case)
    
    Previously, the library failed to detect that an xpath query could have no results and would thus segfault. This checks if the xpath result set is empty and returns an empty array accordingly.
    defunctzombie committed Aug 31, 2012
Commits on Jul 26, 2012
  1. 0.6.0

    defunctzombie committed Jul 26, 2012
  2. Merge pull request #148 from SYSTRAN/addchild_segfault

    fix segfault caused by addChild()
    defunctzombie committed Jul 26, 2012
  3. Merge pull request #143 from dpw/parse-buffers

    Support for parsing from Buffers
    defunctzombie committed Jul 26, 2012