Commits

Show all
Author Commit Message Labels Comments Date
Yu-Jie Lin
Accept and pass namespaces to xpath
Gael Pasgrimaud
Added tag 1.1.1 for changeset d9ff411d55a3
Gael Pasgrimaud
bump version
Tags
1.1.1
Gael Pasgrimaud
bump version
Gael Pasgrimaud
Added tag 1.1.1 for changeset c28de086e66e
Gael Pasgrimaud
bump version
Gael Pasgrimaud
Added tag 1.1 for changeset 896c7c93e128
Gael Pasgrimaud
add docs
Tags
1.1
Gael Pasgrimaud
a few fixes for py3k/webob 1.2+
Gael Pasgrimaud
Added tag 1.0 for changeset 87a1f455af96
Gael Pasgrimaud
in fact it's time for 1.0
Tags
1.0
Gael Pasgrimaud
fix issue #24
Gael Pasgrimaud
Added tag 0.7 for changeset 2e487bd6398c
Gael Pasgrimaud
classifiers
Tags
0.7
Gael Pasgrimaud
root only work with py <3
Gael Pasgrimaud
Python 3 compatible Add __unicode__ method Add root and encoding attribute fix issues #19, #20, #22, #23
Guido Serra
fixed the test, due to a "space"
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
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)
  1. Prev
  2. Next