Commits

Author Commit Message Labels Comments Date
Gael Pasgrimaud
include CHANGES.txt
Gael Pasgrimaud
fix #18
Gael Pasgrimaud
fix docs
Gael Pasgrimaud
rm triling spaces
Gael Pasgrimaud
Added tag 0.7 for changeset 34bdaa6c7908
Gael Pasgrimaud
fix tests / bump version
Tags
0.7
rooney
Fix bug on outerHtml(). Previously: >>> S = PyQuery('<p>Only <b>me</b> & myself</p>') >>> S('b').outerHtml() '<b>me</b> &am' (expected: '<b>me</b>')
rooney
Make .each() behaves like jQuery's each: - if callback returns false, iteration stopped - arguments passed for callback are index and element, not pyquery instance - if callback only accept 1 parameter, index is passed - callback can accept zero parameter - you can now use 'this' inside the callback THIS COMMIT MAY BREAK EXISTING CODES THAT RELY ON PREVIOUS BEHAVIOR tests and .make_links_absolute() have been updated to the new behavior
rooney
Fix empty html bug. For example, the following behavior is as expected: >>> S = PyQuery('<p>Hello world</p>') >>> S('<div>Test</div>').text() 'Test' but: >>> S('').text() 'Hello world' This commit fixed that.
rooney
Support for parameter-omitting callback, for example: - you can use .map(lambda: something) instead of .map(lambda index, element: something) if index and element are not used by your callback. - or .map(lambda index: something) if the callback needs only the index (you can use "this" to get the element anyway). - .filter() also benefits from this.
rooney
Clarify the doctest of outerHtml()
rooney
Add PyQuery.fn for hooking custom function (like that of jQuery.fn) as per issue #16
rooney
Fix issue #15: AttributeError on $(this)
rooney
Fix KeyError when filter()-ing empty set.
rooney
Fixed missing parentheses on my previous commit, sorry.
rooney
Fix tests error when running behind proxy, make it to run as if there is no net instead.
Olivier Lauzanne
Integrated map() fix by Rooney Panduwana.
Olivier Lauzanne
Integrated remove patch from Rooney Panduwana
Olivier Lauzanne
integrated outerHtml patch from Rooney Panduwana
olau...@winterfell
I added the soup parser and the possibility of making a POST
Gael Pasgrimaud
Added tag 0.5 for changeset 834115170db0
Gael Pasgrimaud
ignore dist/
Tags
0.5
Gael Pasgrimaud
bump version
Gael Pasgrimaud
merge / fix tests
Pablo Brasero
Allow replaceWith() to take a lambda
Pablo Brasero
replaceWith() should respect text content
Pablo Brasero
Added failing test for replaceWith()
Pablo Brasero
added closest() method
Gael Pasgrimaud
fix tests
Benjamin Wohlwend
ensure that a pyquery instance that was instanciated using the html parser continues to use that parser for new HTML fragments
  1. Prev
  2. Next