69
I Use This!
Inactive

Commits : Listings

Analyzed 15 days ago. based on code collected 15 days ago.
Jan 28, 2024 — Jan 28, 2025
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
* test/: added Christian's tests.
why
More... over 18 years ago
* ext/hpricot_scan/hpricot_scan.rl: much better scanning of HTML start tags, sure thanks to test case by Christian W. Zuckschwerdt.
why
More... over 18 years ago
* lib/hpricot/tag.rb: proper output of attributes with empty values.
why
More... over 18 years ago
* Rakefile: the extension depends on :ragel. updated to 0.3.
why
More... over 18 years ago
* CHANGELOG: adding entries for 0.2 and 0.3.
why
More... over 18 years ago
* lib/hpricot/elements.rb: from JQuery: `remove`, `empty`, `append`, `prepend`, `before`, `after`, `wrap`, `set`, `html(...)`, to_html, to_s. * lib/hpricot/traverse.rb: to_html, replace_child, insert_before, insert_after, innerHTML=. * lib/hpricot/parse.rb: `Hpricot.make` returns nodes without document, `Hpricot(...)` is an alias for `parse`. * lib/hpricot/tag.rb: open up all properties to setters, let people do as they may. * test/test_parser.rb: simple textnode parse, use `to_html` for the full html. * ext/hpricot_scan/hpricot_scan.rl: return the final text node, if it has content.
why
More... over 18 years ago
* test/test_parser.rb: updated tests to reflect the accurate results, given the new heuristics and testing against Firefox's reposnse to XPath. * ext/hpricot_scan/hpricot_scan.rl: doctypes were messed up. * lib/hpricot/elements.rb: working on html, html=, innerHTML, innerHTML= for all elements. * lib/hpricot/traverse.rb: ditto. * lib/hpricot/tag.rb: ditto.
why
More... over 18 years ago
* ext/hpricot_scan/hpricot_scan.rl: allow empty contents (for comments, data, etc.)
why
More... over 18 years ago
* ext/hpricot_scan/hpricot_scan.rl: the scanner was getting choked on some empty tokens. for some reason, news.bbc.co.uk had such issues.
why
More... over 18 years ago
* Rakefile: version 0.2, why not?
why
More... over 18 years ago
* lib/hpricot/parse.rb: yeah, i want to rethink encoding.
why
More... over 18 years ago
* lib/hpricot/parse.rb: handling of empty tags early, the element stack was broken in the scanning loop when an end tag was found. * lib/hpricot/traverse.rb: children should always be an Array. * lib/hpricot/tag.rb: ditto. * lib/hpricot/elements.rb: no more qualified_name, for now it's just name.
why
More... over 18 years ago
* lib/hpricot/traverse.rb: some work getting search to pass tests again (mostly fixing looping methods and rebuilding Elem::Trav from scratch.) * lib/hpricot/elements.rb: allow caps in CSS searches, rewriting set() for new attributes.
why
More... over 18 years ago
* lib/hpricot: okay, backing out some of HTree's advanced features, keeping it simple, backed out the basic objects into lib/hpricot/tag.rb. * lib/hpricot/parse.rb: started simplifying the parser. some flexibility is lost currently, but only in rare cases, which can be retested in due time. * ext/hpricot_scan/hpricot_scan.rl: processing instructions were tagged wrong.
why
More... over 18 years ago
* ext/hpricot_scan/hpricot_scan.rl: simplifying the scanner for now.
why
More... over 18 years ago
* Rakefile: a note on the task which uses Ragel.
why
More... over 18 years ago
* test: yeah, some tests.
why
More... over 18 years ago
* lib/hpricot: initial checkin of HTree goods, Hpricot.parse works, but is still pretty slow. i haven't tested much else.
why
More... over 18 years ago
* ext/hpricot_scan: yeay, i got an html scanner written. * lib/hpricot: adding in the basics from HTree.
why
More... over 18 years ago