…of INT2NUM. hashes were being cast to bignums.
…s, mike perham!
… it its own inner_text method.
… to see if a runaway script tag went unclosed. (thanks, openhood!) * lib/hpricot/inspect.rb: display etag.
…work under ruby 1.9.
…to slim memory use down further.
…ting. * lib/hpricot/modules.rb: include CData in the Node hierarchy.
…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.
…since our struct is already in gc. this is slow, going to try subclassing struct instead.
…d by starting off the children arrays with a single element. use rb_hash_lookup directly when available.
… many elements can use a smaller struct. memory use can still be halved.
…the intermediate buffer.
Signed-off-by: why the lucky stiff <email@example.com>
* 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 <firstname.lastname@example.org>
…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 <email@example.com>
… this has got to be a ruby 1.9 bug: (self.attr ||= x) returns self.
… 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.
…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.
…ings. thanks to eugene pimenov.