Permalink
Switch branches/tags
Commits on Aug 18, 2011
  1. Always avoid passing 'ASCII-8BIT' to libxml2.

    Introduce a private method get_source_encoding().
    knu committed Aug 17, 2011
  2. Sync with CHANGELOG.rdoc.

    knu committed Aug 18, 2011
  3. Translate.

    knu committed Aug 18, 2011
  4. Update.

    knu committed Aug 18, 2011
  5. Merge pull request #522 from rosenfeld/patch-1

    Fix ArgumentError.
    knu committed Aug 18, 2011
  6. Do not suppress program errors like ArgumentError. Only parser errors…

    … should be suppressed.
    knu committed Aug 18, 2011
Commits on Aug 16, 2011
  1. Prevent memory leaks that may be caused by EncodingReader.

    The problem was reported by ender672.  Thanks!
    knu committed Aug 16, 2011
Commits on Aug 15, 2011
  1. Adds xslt parameter type check.

    yokolet committed Aug 15, 2011
  2. Fixes a bug found by test_passing_a_non_document_to_transform in test…

    …_xslt_transform.rb.
    yokolet committed Aug 15, 2011
Commits on Aug 14, 2011
  1. Deletes "if Nokogiri.uses_libxml?" condition that surrounds entire xs…

    …lt transformation tests. The condition is thought to be there at least since Apr. 2009. Finally, I realized pure Java version hadn't tested xslt transformation at all. Ouch\!
    yokolet committed Aug 14, 2011
Commits on Aug 13, 2011
  1. Adds a part of pull request#491.

    yokolet committed Aug 13, 2011
Commits on Aug 10, 2011
  1. Merge pull request #516 from ender672/fix_set_attribute_segv

    Prevent potential segfault when an attribute node is replaced
    tenderlove committed Aug 10, 2011
  2. Prevent potential segfault when an attribute node is replaced

    When we replace an attribute node, libxml frees all children of
    the attribute. If we had a ruby object pointing to one of those
    children then this results in a segfault. Prevent this from
    happening by unlinking the children prior to replacing the
    attribute.
    ender672 committed Aug 10, 2011
  3. Merge pull request #438 from tobijk/master

    add xinclude processing functionality
    flavorjones committed Aug 10, 2011
  4. Using ruby's own ruby_strdup. Closes #423.

    Related to 5a4b955.
    flavorjones committed Aug 10, 2011
Commits on Aug 9, 2011
Commits on Jul 28, 2011
  1. Fix for issue#490. My suggestion didn't work for CRuby version. So, I…

    … added if-condition to switch ruby and jruby.
    yokolet committed Jul 28, 2011
  2. Fix for issue#492.

    yokolet committed Jul 28, 2011
Commits on Jul 27, 2011
  1. Tweak for a platform that doesn't have MinGW installed.

    When MinGW is not installed, rake won't run on CRuby. This change catches the exception raised from "require 'tasks/cross_compile'" and switches whether cross compile should be done or not. At least once, JRuby people need to run rake using CRuby to generate nokogiri/css/parse.rb . However, most people (me too!) don't have MinGW installed and are unable to compile Nokogiri.
    
    One more tweak is added. When using rvm with gemset, racc command can't be found in default gemset's path. So, only when GEM_HOME exists, "#{ENV['GEM_HOME']}/bin/racc" will be added to a search path.
    yokolet committed Jul 27, 2011
Commits on Jul 23, 2011
  1. Updated changelog.

    flavorjones committed Jul 23, 2011
Commits on Jul 22, 2011
  1. Miscellaneous cleanup, and adding test coverage around the block usag…

    …e of create_element and friends.
    flavorjones committed Jul 22, 2011
Commits on Jul 14, 2011
  1. test that broken xinclude throws an exception

    Signed-off-by: Tobias Koch <tobias@tobijk.de>
    tobijk committed Mar 21, 2011