Commit Graph

218 Commits

Author SHA1 Message Date
Mahmoud Hashemi 20c45e16c7 bumping docs version to 17.3.0 2017-07-18 23:25:22 -07:00
Mahmoud Hashemi 867e367908 bump version for 17.3.0 release 2017-07-18 23:24:08 -07:00
Cory Benfield 8090e58f48 Merge pull request #33 from python-hyper/add_manifest
adding initial MANIFEST.in
2017-07-18 10:38:43 +01:00
Cory Benfield eea7687c87 Merge branch 'master' into add_manifest 2017-07-18 09:27:46 +01:00
Mahmoud Hashemi c71369a489 add packaging test to travis 2017-07-18 01:23:45 -07:00
Mahmoud Hashemi a510e8d6c1 Merge pull request #30 from python-hyper/unfamily
Removing "family" from URL's API (attribute and argument), as well as improve the authority parsing with a regex-based approach.
2017-07-17 20:21:22 -07:00
Mahmoud Hashemi dc8509a895 Merge branch 'master' into unfamily 2017-07-17 20:06:51 -07:00
Mahmoud Hashemi 1605a1590a add an invalid authority for a bit more coverage 2017-07-17 19:58:46 -07:00
Mahmoud Hashemi de1bc3a936 add more files to the sdist, plus a check-manifest-based tox test that everything is included 2017-07-17 19:39:29 -07:00
Mahmoud Hashemi cb14f432e8 adding initial MANIFEST.in 2017-07-16 15:23:28 -07:00
Mahmoud Hashemi a515a87db5 added a corner case test of text that does not pass the url regex 2017-07-16 15:11:05 -07:00
Mahmoud Hashemi 878c15d4e2 Merge branch 'master' of github.com:python-hyper/hyperlink 2017-07-16 15:00:38 -07:00
Mahmoud Hashemi 9f249ce11e feature idea: path rebase 2017-07-16 15:00:27 -07:00
Mahmoud Hashemi b3653da4c5 Merge branch 'master' into unfamily 2017-07-09 02:57:44 -07:00
Mahmoud Hashemi d7021afa95 add a test for a non-integer port 2017-07-09 02:42:48 -07:00
Mahmoud Hashemi 1a3cbac862 add an empty port test 2017-07-09 01:36:04 -07:00
Mahmoud Hashemi a5e365b10a add a few bad authority tests 2017-07-09 01:32:41 -07:00
Mahmoud Hashemi 3652cac04a switch authority parsing for URL.from_text to be regex-based, while preserving all the previous error messaging for common URL malformations (e.g., typos). this also reverts the primary URL regex to be much closer to the old RFC3986-based pattern 2017-07-09 01:05:45 -07:00
Mahmoud Hashemi 4b8df125a6 adding a small "basic" test to test_url for quick sanity testing 2017-07-09 01:03:37 -07:00
Mahmoud Hashemi 29168f6b05 Merge pull request #32 from python-hyper/alex/readme
Various fixes to the README
2017-07-08 10:20:15 -07:00
Alex Chan 92d21cf87f
Various fixes to the README
* Link to the two RFCs
* Don't indent the code examples
* We test on Python 3.6 as well
* /s/souce/source
2017-07-08 13:51:22 +01:00
Mahmoud Hashemi 8fe1532552 wip: in-progress regexing for authority parsing 2017-07-08 00:26:10 -07:00
Mahmoud Hashemi 89c61a8fe4 clean up some commented-out code 2017-07-07 21:00:12 -07:00
Mahmoud Hashemi 6d8ee41cf2 more family cleanup 2017-07-06 23:09:39 -07:00
Mahmoud Hashemi 9e141aa702 real quick sketch of what changes are necessary to remove family URL's various signatures. All tests passing, no problem. 2017-07-05 10:52:37 -07:00
Mahmoud Hashemi 529aa68743 Merge pull request #22 from python-hyper/explicit_from_text
enforce decoding prior to calling from_text
2017-07-03 11:17:06 -07:00
Mahmoud Hashemi a4a6cb5fd8 Merge branch 'master' into explicit_from_text 2017-07-03 10:35:22 -07:00
Mahmoud Hashemi 7f52c6db92 Merge pull request #29 from python-hyper/alex/hexord
Simplify the hex formatting in _url.py
2017-07-03 02:41:42 -07:00
Alex Chan ab5e6075b3
Simplify the hex formatting in _url.py 2017-07-03 09:39:09 +01:00
Mahmoud Hashemi 1361548a19 Merge branch 'master' into explicit_from_text 2017-07-02 23:22:14 -07:00
Glyph 4d30724f15 Merge pull request #23 from python-hyper/fix_decoding_normalization
Fix percent decoding and normalization
2017-07-02 23:20:39 -07:00
Mahmoud Hashemi c5fa760f9c add test confirming that replacing uses_netloc works 2017-07-02 23:07:57 -07:00
Mahmoud Hashemi 0e877ecb71 merge _percent_decode and _unquote_to_bytes since the latter is only called by the former 2017-07-02 19:23:16 -07:00
Mahmoud Hashemi 31af2815ac add a potentially tricky decoding test 2017-07-02 19:01:45 -07:00
Mahmoud Hashemi 2075d28da1 a little bit of docs and cleanup around percent decoding 2017-07-02 19:01:14 -07:00
Mahmoud Hashemi d64b1e7011 add appropriate percent decoding function () for each of the percent-encodable fields, disabling decoding of restricted delimiter characters as well as the all-important percent sign itself. also brings in the decode_to_bytes function, reducing reliance on the standard library. 2017-07-02 18:40:22 -07:00
Mahmoud Hashemi 027c8c6c28 add many failing tests for double-iri roundtripping (per #16) 2017-07-02 18:37:57 -07:00
Mahmoud Hashemi f712f508d9 a few extra tests for from_text type possibilities, per #20 2017-07-02 16:16:31 -07:00
Mahmoud Hashemi aba9fd7d35 enforce decoding prior to calling from_text 2017-07-02 15:20:20 -07:00
Mahmoud Hashemi 9ef30bcf59 clean up and generalize path decoding machinery 2017-06-30 20:03:04 -07:00
Mahmoud Hashemi ddec1487e7 WIP all double-IRI roundtrip working (path seems to have been the only part truly tested in the roundtripping) 2017-06-29 22:17:52 -07:00
Mahmoud Hashemi 66ef4beecd fix an iri roundtripping test by having .replace() pass through family and uses_netloc. previously ipv6 hosts were being passed through without family and the colons were causing failures. this makes .replace()'s interface match URL.__init__ (and its own docstring\!) 2017-06-29 22:17:52 -07:00
Mahmoud Hashemi 28e43d7d1d add one failing test for iri/decoding, over the roundtripping url list 2017-06-29 22:17:52 -07:00
Mahmoud Hashemi 02de01b18b Merge branch 'master' of github.com:python-hyper/hyperlink 2017-06-29 22:17:12 -07:00
Mahmoud Hashemi 70ae14d5e5 checklist for a normalize method on URL 2017-06-28 16:10:44 -07:00
Mahmoud Hashemi c2113e989a Merge pull request #12 from python-hyper/test_scheme_registration_subsystem
Integrating the scheme registration subsystem
2017-06-27 23:31:49 -07:00
Mahmoud Hashemi 681ac6ece7 default scheme registration uses_netloc to True, test invalid uses_netloc 2017-06-27 23:22:03 -07:00
Mahmoud Hashemi ddb9312084 setUp and tearDown to revert scheme registration state after testing 2017-06-27 22:40:27 -07:00
Mahmoud Hashemi b65f14df08 Merge branch 'test_scheme_registration_subsystem' of github.com:python-hyper/hyperlink into test_scheme_registration_subsystem 2017-06-27 21:56:43 -07:00
Mahmoud Hashemi 136e72db8c remove trailing x in docstring 2017-06-27 21:56:36 -07:00