Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Commits on May 27, 2009
  1. * lib/hpricot/tag.rb: Hpricot::Attributes proxy object for using `el…

    _why authored
    …e.attributes[k] = v` directly. however, it is preferred to use the jquery-like `elements.attr(k, v)`.
  2. * lib/hpricot/traverse.rb: fix error when attempting to reparent cle…

    _why authored
    …ared node. (issue #5)
  3. * lib/hpricot/tag.rb: solve issue #3 with bogus etags being preserve…

    _why authored
    …d in `to_s` rather than just `to_original_html`.
  4. * ext/hpricot_scan: fix for issue #2, downcasing of html attributes …

    _why authored
    …inside the parser.
Commits on Apr 3, 2009
  1. * ext/hpricot_scan: big problems on Ruby 1.8.6, use INT2FIX instead …

    _why authored
    …of INT2NUM. hashes were being cast to bignums.
Commits on Mar 31, 2009
Commits on Mar 25, 2009
Commits on Mar 24, 2009
  1. * lib/hpricot/tag.rb: since CData no longer inherits from Text, give…

    _why authored
    … it its own inner_text method.
  2. * ext/hpricot_scan/hpricot_scan.rl: downcase the tag before checking…

    _why authored
    … to see if a runaway script tag went unclosed. (thanks, openhood!)
     * lib/hpricot/inspect.rb: display etag.
Commits on Mar 23, 2009
  1. * hpricot.gemspec: 0.7.229 gem to github.

    _why authored
  2. * ext/hpricot_scan/hpricot_scan.rl: update the struct-based code to …

    _why authored
    …work under ruby 1.9.
  3. * ext/hpricot_scan/hpricot_scan.rl: eliminate the extra ETag class, …

    _why authored
    …to slim memory use down further.
  4. * ext/hpricot_scan/hpricot_scan.rl: tagno comparison wasn't bit shif…

    _why authored
     * lib/hpricot/modules.rb: include CData in the Node hierarchy.
  5. * ext/hpricot_scan/hpricot_scan.rl: storing hpricot elements in a co…

    _why authored
    …mpact RStruct, to cut down memory use and boost speed. we don't need RData, since I don't have any extension-specific data structures.
     * lib/hpricot/tag.rb: moving away from BaseEle, to use the Node mixin.
Commits on Mar 20, 2009
  1. * ext/hpricot_scan: again limiting memory use by subclassing array, …

    _why authored
    …since our struct is already in gc. this is slow, going to try subclassing struct instead.
Commits on Mar 18, 2009
  1. * ext/hpricot_scan/hpricot_scan.rl: reduce memory use, increase spee…

    _why authored
    …d by starting off the children arrays with a single element. use rb_hash_lookup directly when available.
  2. * ext/hpricot_scan/hpricot_scan.rl: so much wasted memory reclaimed,…

    _why authored
    … many elements can use a smaller struct. memory use can still be halved.
  3. * Rakefile: version 0.7.

    _why authored
Commits on Mar 17, 2009
  1. * CHANGELOG: notes on hpricot 0.7.

    _why authored
Commits on Mar 16, 2009
  1. * ext/hpricot_scan/hpricot_scan.rl: for string parsing, skip use of …

    _why authored
    …the intermediate buffer.
Commits on Mar 12, 2009
  1. Bump version number

    Adam Hooper authored why the lucky stiff committed
    Signed-off-by: why the lucky stiff <>
  2. Remove reliance on rb_hash_lookup, which is Ruby 1.8.7 only

    Adam Hooper authored why the lucky stiff committed
    Signed-off-by: why the lucky stiff <>
  3. fixed nth-child off-by-1

    Kyle Maxwell authored why the lucky stiff committed
    Signed-off-by: why the lucky stiff <>
Commits on Feb 22, 2009
  1. Fixed a few win64 compilation issues.

    gix authored why the lucky stiff committed
     * Rakefile: Loosened the win32 platform restriction to include win64 and fixed a cmd.exe issue when chaining commands.
     * ext/hpricot_scan.rl: Moved a few variable declarations to block beginning (Visual C does not support this C99 feature yet).
    Signed-off-by: why the lucky stiff <>
  2. Replaced extern with ruby's RUBY_EXTERN macro to fix an unresolved ex…

    gix authored why the lucky stiff committed
    …ternal linker error on windows.
    On windows this adds __declspec(dllimport) which is necessary to import public data.
    Signed-off-by: why the lucky stiff <>
Commits on Feb 21, 2009
  1. * hpricot.gemspec: version 0.6.210

    _why authored
  2. * test/test_preserved.rb: force utf-8?

    _why authored
Commits on Feb 19, 2009
  1. * lib/hpricot/builder.rb: solve a few more tests on ruby 1.9.1. wow,…

    _why authored
    … this has got to be a ruby 1.9 bug: (self.attr ||= x) returns self.
Commits on Feb 7, 2009
  1. * hpricot.gemspec: version 0.6.207.

    _why authored
     * test/test_preserved.rb: use String#lines to test individual lines of the HTML. re-enable the large round-trip test.
Something went wrong with that request. Please try again.