Note
Releases without timestamps mean they will be released in the future.
Development means it's current changes in development repository.
- use
re.match
instead ofre.search
to improve performance on large strings
- drop Pyblosxom support
- drop str-type
attr
- use
Attr.default
instead ofdefault_smartypants_attr
- use
- drop fooBarXyz functions, such as
smartyPants
,educateQuotes
, andprocessEscapes
- add
Attr.u
andAttr.h
for Unicode characters and HTML named entities outputs, respectively. Thestupefy_entities
has becomeconvert_entities
to support all three types of conversions. (#6)
Makefile
- do not build
bdist_wininst --plat-name win32
per :pep:`527#bdist-dmg-bdist-msi-and-bdist-wininst` - do not make
sdist --format=zip
, it would get a duplicate warning on PyPI
- test packages build in
test_setup
target
- rename target
install_test
totest_setup
- do not build
Makefile
- add
LC_ALL=C
test for locale setting onsetup.py
wrt #5
- change virtualenv invocation method in
install_test
target
- add
fix UnicodeDecodeError on opening
smartypants.py
, which includes Unicode characters, when runningsetup.py
with Python 3 and specific locales (#5, patch by Benoît Monin)
- fix requirement of Wheel, now optional (#4)
- add missing
COPYING
andCHANGES.rst
to package (#3) - add
bdist_wheel
to the building process for Python Wheel format - add
test_doc8
target
- fix
install_test
on missing of Wheel package - fix argparse version option breaks CLI on Python 3
fix
_tokenize
can not handle HTML comment properlyThis fix includes pull request #1 with modification for handling
--
appears in a comment, which makes the comment not a comment
- deprecate fooBarXyz functions, such as
educateQuotes
andprocessEscapes
fix
---
being converted ineducateDashes
The Perl doesn't do such, and it's possibly a mistaken in version v1.5_1.5 (eed4a8a16f11)
If you want the same behavior with default attributes, you need to use
Attr.q | Attr.b | Attr.i | Attr.e
setup.py
- add
build_sphinx
andupload_sphinx
commands
- add
Makefile
- add
doc
for documentation generation - add
upload_doc
for uploading to PyPI - add
clean
for cleaning up built files
- add
- add documentation generation
- fix deprecated
smartyPants
returns nothing (#2)
- add test file for deprecated stuff
- deprecate str-type
attr
with:- redesign attr input with new
Attr
object"-1"
now isAttr.s
("s"
)
_str_attr_to_int()
to handle str-type before the removal
- redesign attr input with new
- deprecate function name
smartyPants
, nowsmartypants
- remove
tags_to_skip_regex
and addtags_to_skip
as a list of skipped HTML with a helper function to compile a regular expression
- command-line
- add
--version
- add
--skip
for skipped elements
- add
- add Makefile:
test_pep8
,test_pyflakes
, andtest_test
(unittest) targetsinstall_test
target for checking package installationtest
target for all tests above
- add
style
,samp
, andtt
to be skipped HTML elements
- fix
README-PyPI.rst
missing while installing
- deprecate Pyblosxom support
- remove HBS language translation added in 1.5_1.7.
fix
convert_quot
always enabledIt was always turned on. To have same effect of previous
1
attr, equivalent attrs areqbdew
. Now1
meansqbde
- add Python 3 support
- add unittest and checks
- add CLI script
The following releases were made by Hao Lian:
smartypants.py
exactly the same as 1.5_1.6
smartypants.py
exactly the same as 1.5_1.6
The following releases were made by Chad Miller:
- Add HBS language translation. Patch by by Vera Djuraskovic from Webhostinggeeks.com
- Add Python3 support
- Fixed bug where blocks of precious unalterable text was instead interpreted. Thanks to Le Roux and Dirk van Oosterbosch
- Fix bogus magical quotation when there is no hint that the user wants it, e.g., in "21st century". Thanks to Nathan Hamblen
- Be smarter about quotes before terminating numbers in an en-dash'ed range
- Fix a date-processing bug, as reported by jacob childress
- Begin a test-suite for ensuring correct output
- Removed import of "string", since I didn't really need it (This was my first every Python program. Sue me!)
- Abort processing if the flavour is in forbidden-list. Default of [ "rss" ] (Idea of Wolfgang SCHNERRING.)
- Remove stray virgules from en-dashes. Patch by Wolfgang SCHNERRING
- Some single quotes weren't replaced properly. Diff-tesuji played by Benjamin GEIGER
- Support upcoming pyblosxom 0.9 plugin verification feature
- Initial release