Permalink
Switch branches/tags
Nothing to show
Commits on Apr 3, 2009
  1. * ext/hpricot_scan: big problems on Ruby 1.8.6, use INT2FIX instead …

    …of INT2NUM. hashes were being cast to bignums.
    _why committed Apr 3, 2009
Commits on Mar 31, 2009
  1. * ext/fast_xs/fast_xs.c: patch for 1.8.5 to define RARRAY_PTR. thank…

    …s, mike perham!
    _why committed 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…

    … it its own inner_text method.
    _why committed Mar 24, 2009
  2. * ext/hpricot_scan/hpricot_scan.rl: downcase the tag before checking…

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

    _why committed Mar 23, 2009
  2. * ext/hpricot_scan/hpricot_scan.rl: update the struct-based code to …

    …work under ruby 1.9.
    _why committed Mar 23, 2009
  3. * lib/hpricot/tag.rb: if there is an etag at all, don't display as s…

    …elf-closing.
    _why committed Mar 23, 2009
  4. * ext/hpricot_scan/hpricot_scan.rl: eliminate the extra ETag class, …

    …to slim memory use down further.
    _why committed Mar 23, 2009
  5. * ext/hpricot_scan/hpricot_scan.rl: tagno comparison wasn't bit shif…

    …ting.
    
     * lib/hpricot/modules.rb: include CData in the Node hierarchy.
    _why committed Mar 23, 2009
  6. * ext/hpricot_scan/hpricot_scan.rl: storing hpricot elements in a co…

    …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.
    _why committed Mar 23, 2009
Commits on Mar 20, 2009
  1. * ext/hpricot_scan: again limiting memory use by subclassing array, …

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

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

    … many elements can use a smaller struct. memory use can still be halved.
    _why committed Mar 18, 2009
  3. * Rakefile: version 0.7.

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

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

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

    Signed-off-by: why the lucky stiff <why@whytheluckystiff.net>
    Adam Hooper committed with why the lucky stiff Mar 10, 2009
  2. Remove reliance on rb_hash_lookup, which is Ruby 1.8.7 only

    Signed-off-by: why the lucky stiff <why@whytheluckystiff.net>
    Adam Hooper committed with why the lucky stiff Mar 10, 2009
  3. fixed nth-child off-by-1

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

     * 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 <why@whytheluckystiff.net>
    gix committed with why the lucky stiff Feb 7, 2009
  2. Replaced extern with ruby's RUBY_EXTERN macro to fix an unresolved ex…

    …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 <why@whytheluckystiff.net>
    gix committed with why the lucky stiff Feb 4, 2009
Commits on Feb 21, 2009
  1. * hpricot.gemspec: version 0.6.210

    _why committed Feb 21, 2009
  2. * test/test_preserved.rb: force utf-8?

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

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

     * test/test_preserved.rb: use String#lines to test individual lines of the HTML. re-enable the large round-trip test.
    _why committed Feb 7, 2009
  2. * lib/hpricot/elements.rb: filter[text()] was a bit slow and off, in…

    … that links could trigger a positive match.
    
     * test/test_parser.rb: counts for //div/p/a/img matches have changed with some slightly different fixups.
    _why committed Feb 7, 2009
  3. * lib/hpricot/elements.rb: solve slight ruby 1.9 issues. blocks with…

    …out args. arrays interpolated within strings. things of that nature.
    
     * test/test_preserved.rb: turn off noisy roundtrip of big file. i'll get back to this when the remaining tests pass.
    _why committed Feb 7, 2009
  4. * ext/hpricot_scan: avoid use of rb_str_substr due to ruby 1.9 encod…

    …ings. thanks to eugene pimenov.
    _why committed Feb 7, 2009
Commits on Feb 6, 2009
  1. hpricot.gemspec++

    _why committed Feb 6, 2009