Age | Commit message (Collapse) | Author | |
---|---|---|---|
2016-07-16 | Added a separate class for XML processing instructions, which have a ↵ | Leonard Richardson | |
slightly different format from SGML processing instructions. [bug=1504383] | |||
2016-07-16 | Rename COPYING.txt to LICENSE. Add a reference to LICENSE in every source file. | Leonard Richardson | |
2015-09-28 | Add a __license__ statement to all source files. | Leonard Richardson | |
2015-09-28 | Improved the implementation of CSS selector grouping. Thanks to Orangain for ↵ | Leonard Richardson | |
the patch. [bug=1484543] | |||
2015-09-28 | Corrected the output of Declaration objects. [bug=1477847] | Leonard Richardson | |
2015-09-28 | Fixed a bug that deranged the tree when part of it was | Leonard Richardson | |
removed. Thanks to Eric Weiser for the patch and John Wiseman for a test. [bug=1481520] | |||
2015-09-28 | Don't allow inserting None into a tag. | Leonard Richardson | |
2015-08-06 | Use identity comparisons for tree traversal | Eric Wieser | |
Otherwise, different NavigableStrings compare equal. Fixes Bug #1481520 | |||
2015-06-28 | Changed the way soup objects work under copy.copy(). Copying a | Leonard Richardson | |
NavigableString or a Tag will give you a new NavigableString that's equal to the old one but not connected to the parse tree. Patch by Martijn Peters. [bug=1307490] | |||
2015-06-28 | Copying a NavigableString will give you a new NavigableString that is not ↵ | Leonard Richardson | |
connected to the parse tree. | |||
2015-06-28 | Fixed a bug where Element.extract() could create an infinite loop in | Leonard Richardson | |
the remaining tree. | |||
2015-06-28 | Raise a NotImplementedError whenever an unsupported CSS pseudoclass | Leonard Richardson | |
is used in select(). Previously some cases did not result in a NotImplementedError. | |||
2015-06-25 | Introduced the select_one() method, which uses a CSS selector but | Leonard Richardson | |
only returns the first match, instead of a list of matches. [bug=1349367] | |||
2015-06-25 | The text argument to the find_* methods is now called string, | Leonard Richardson | |
which is more accurate. text still works, but is the argument described in the documentation. text may eventually change its meaning, but not for a very long time. [bug=1366856] | |||
2015-06-25 | Make it possible to invoke the Tag() constructor without providing a ↵ | Leonard Richardson | |
builder. [bug=1307471] | |||
2015-06-25 | You can now create a NavigableString or a subclass just by invoking | Leonard Richardson | |
the constructor. [bug=1294315] | |||
2015-06-25 | Improved the exception raised when you call .unwrap() or | Leonard Richardson | |
.replace_with() on an element that's not attached to a tree. | |||
2015-06-25 | __repr__ now returns an ASCII bytestring in Python 2, and a Unicode string ↵ | Leonard Richardson | |
in Python 3, instead of a UTF8-encoded bytestring in both versions. [bug=1420131] | |||
2015-06-24 | The select() method can now find tags with attributes whose names | Leonard Richardson | |
contain dashes. Patch by Marek Kapolka. [bug=1304007] | |||
2015-06-24 | Improved docstring for encode_contents() and decode_contents(). [bug=1441543] | Leonard Richardson | |
2015-06-23 | Made the previous fix nicer by adding arguments to setup() that let us ↵ | Leonard Richardson | |
preserve a tag's existing place in the tree. | |||
2015-06-23 | Got a hacky fix for the latest html5lib problem. | Leonard Richardson | |
2014-12-11 | Improved the lxml tree builder's handling of processing | Leonard Richardson | |
instructions. [bug=1294645] | |||
2014-12-11 | The select() method can now find tags whose names contain | Leonard Richardson | |
dashes. Patch by Francisco Canas [bug=1276211] | |||
2014-12-10 | The select() method now supports selector grouping. Patch by | Leonard Richardson | |
Francisco Canas [bug=1191917] | |||
2013-08-15 | Make sure the optimized find_all() ResultSets actually contain the right data. | Leonard Richardson | |
2013-08-13 | * Fixed yet another problem with the html5lib tree builder, caused by | Leonard Richardson | |
html5lib's tendency to rearrange the tree during parsing. [bug=1189267] | |||
2013-08-12 | Fixed incorrect superclass in super() Call. | Leonard Richardson | |
2013-08-12 | All find_all calls should now return a ResultSet object. Patch by | Leonard Richardson | |
Aaron DeVore. [bug=1194034] | |||
2013-06-03 | A NavigableString object now has an immutable '.name' property whose | Leonard Richardson | |
+ value is always None. This makes it easier to iterate over a mixed + list of tags and strings without having to check whether each + element is a tag or a string. | |||
2013-06-03 | _last_descendant can be optimized in some cases. | Leonard Richardson | |
2013-06-03 | Improved performance for html5lib. | Leonard Richardson | |
2013-06-03 | Improved performance of _replace_cdata_list_attribute_values, and greatly ↵ | Leonard Richardson | |
reduced the number of times it is called. | |||
2013-05-31 | Reverted the patch that gives NavigableString a .name property, because ↵ | Leonard Richardson | |
that's too big an API change for a bugfix release. | |||
2013-05-20 | A NavigableString object now has an immutable '.name' property whose | Leonard Richardson | |
value is always None. This makes it easier to iterate over a mixed list of tags and strings without having to check whether each element is a tag or a string. | |||
2013-05-14 | Added a deprecation warning to has_key(). | Leonard Richardson | |
2013-05-08 | A CSS selector should never match the same tag twice. | Leonard Richardson | |
2013-05-08 | Minor cleanup. | Leonard Richardson | |
2013-05-08 | Fixed terminology. | Leonard Richardson | |
2013-05-08 | Moved select() to Tag. It was always an error to call select() on a string, ↵ | Leonard Richardson | |
so there's no reason for it to be in PageElement. | |||
2013-05-08 | Give the checker the ability to stop the iteration over the generator by ↵ | Leonard Richardson | |
raising StopIteration. | |||
2013-05-08 | Aaand... it's now trivial to implement sibling selectors. | Leonard Richardson | |
2013-05-08 | Once again, we're back to the steady state. | Leonard Richardson | |
2013-05-08 | Got it all working again except for nth_child_of_type. | Leonard Richardson | |
2013-05-08 | Refactored again to use iterators instead of calling find_all(). | Leonard Richardson | |
2013-05-08 | OK, the tests pass. | Leonard Richardson | |
2013-05-08 | Almost there. | Leonard Richardson | |
2013-05-08 | We're getting there. | Leonard Richardson | |
2013-05-08 | Fixing test failures. | Leonard Richardson | |
2013-05-08 | Initial refactoring. | Leonard Richardson | |