Commit Graph

216 Commits

Author SHA1 Message Date
Kirill Simonov
93f64d3c79 Fixed test errors for LibYAML bindings; added a test on emitting nodes in all possible styles. 2008-12-27 19:09:03 +00:00
Kirill Simonov
7baeadf46f Minor fixes in the test subsystem to prevent failures in LibYAML bindings tests. 2008-12-27 14:54:07 +00:00
Kirill Simonov
4cc504a108 Fixed a bug in CDumper when ascend_resolver() is never called. 2008-12-27 14:50:08 +00:00
Kirill Simonov
59f1f45465 Refactored whitespace combination detector in the scalar analyzer: support dumping '^ <break> <space> ...' in the block style. 2008-12-27 11:07:47 +00:00
Kirill Simonov
3acc330efa Fixed typos in attribute names (Thanks to ingy). 2008-12-08 09:12:10 +00:00
Kirill Simonov
9027393a4f Added a comment on Python 3 support. 2008-12-05 19:37:52 +00:00
Kirill Simonov
5d2ae6b34f Added trove classifiers for supported Python versions. 2008-12-05 19:35:24 +00:00
Kirill Simonov
6282bda857 Fixed a problem with emitting block scalars (thanks to Andrey Somov): no longer emit indentation spaces when they are not needed; emit the correct number of leading breaks for folded scalars; emit the '+' chomping indicator for a single break scalar. 2008-12-04 11:32:12 +00:00
Kirill Simonov
b78e4948ab Removed unused variable. 2008-12-04 11:27:55 +00:00
Kirill Simonov
d41df6ae3b Removed a stale comment; fixes #102. 2008-11-30 14:15:40 +00:00
Kirill Simonov
3ea3d11ffc Pretend that PyYAML is a pure Python library when the LibYAML extension is explicitly disabled. 2008-11-30 14:06:13 +00:00
Kirill Simonov
0415f86e9d determine_chomp -> determine_block_hints 2008-11-30 13:35:48 +00:00
Kirill Simonov
ec77e1356d Permit emitting block scalars with leading spaces or breaks. 2008-11-30 10:20:49 +00:00
Kirill Simonov
9768babfd8 Fixed the distutils script to run when installed using easy_install and Pyrex is available. 2008-10-09 15:56:20 +00:00
Kirill Simonov
2b9937bd04 Final touches in README. 2008-10-03 18:31:01 +00:00
Kirill Simonov
5d943d1a15 Dropped tests from the source distribution since LibYAML bindings do not pass them; updated README and announcement.msg; renamed 'yaml.__libyaml__' to 'yaml.__with_libyaml__'. 2008-10-03 18:24:11 +00:00
Kirill Simonov
f13e492919 Python 2.3 and win32 compatibility fixes in setup.py. 2008-10-02 02:40:48 +00:00
Kirill Simonov
c0d61333ac Check if libyaml is installed before attempting to compile the libyaml bindings. 2008-10-02 00:24:42 +00:00
Kirill Simonov
4692b60d88 Added the script tests/test_all.py. 2008-10-01 23:16:55 +00:00
Kirill Simonov
be82996bc4 Dropped setuptools-based setup.py in favor of custom distribution and build_ext command. 2008-10-01 23:16:09 +00:00
Kirill Simonov
72189ab94b Fixed include_dirs and library_dirs for the Windows build. 2008-09-30 14:55:28 +00:00
Kirill Simonov
48da8081e6 Updated the manifest file. 2008-09-30 14:37:49 +00:00
Kirill Simonov
9bc561890c Updated announcement.msg. 2008-09-30 13:46:13 +00:00
Kirill Simonov
f20210c327 Added attributes `yaml.__version__ and yaml.__libyaml__` (fixes #85). 2008-09-30 13:44:04 +00:00
Kirill Simonov
61e06c4b7f Added a setuptools installer 'ez_setup.py'. 2008-09-30 13:29:34 +00:00
Kirill Simonov
ffb46660cd Updated Makefile to use 'setup.py --with-libyaml'. 2008-09-30 13:12:03 +00:00
Kirill Simonov
c61d0ceb80 Updated README, announcement and MANIFEST files for the 3.06 release. 2008-09-30 13:08:14 +00:00
Kirill Simonov
938ef71a68 Updated setup.cfg to use the stable branch of libyaml; added Python 2.6 options. 2008-09-30 12:25:27 +00:00
Kirill Simonov
3ded20780b Added a test for single dot being a float bug. 2008-09-30 11:56:14 +00:00
Kirill Simonov
a69b98b63f Use setuptools for setup.py. Dropped setup_with_libyaml.py; to build libyaml bindings, use --with-libyaml. 2008-09-30 11:45:18 +00:00
Kirill Simonov
487ac91791 Fixed Python 2.3 compatibility (thanks to Julian Scheid for suggestion). 2008-07-29 20:52:49 +00:00
Kirill Simonov
09e388aebb Added a YAML lexer for Pygments. 2008-05-20 11:52:49 +00:00
Kirill Simonov
073f08e9d9 A single dot is not a float value (fixes #62). 2007-11-18 00:47:32 +00:00
Kirill Simonov
046f114050 Make compose() and load() ensure that the input stream contains a single document. Fixes #54. 2007-08-21 20:25:34 +00:00
Kirill Simonov
7b600d35e4 Fixed _yaml.pyx to work with the latest Pyrex. 2007-07-26 19:10:44 +00:00
Kirill Simonov
93ec8bc45f Added the setup.cfg options for building PyYAML Windows installer. 2007-05-12 21:41:42 +00:00
Kirill Simonov
e1d133ae33 Update the package version. 2007-05-12 21:27:19 +00:00
Kirill Simonov
804f9d8e58 Prepare the 3.05 release. 2007-05-12 20:33:09 +00:00
Kirill Simonov
dafd164387 Allow for immutable subclasses of YAMLObject. Fixes #53. 2007-05-08 20:38:29 +00:00
Kirill Simonov
69379ea21b Make the encoding of the unicode->str conversion explicit; fix [52]. 2007-05-05 19:03:39 +00:00
Kirill Simonov
9eb838b97b Fixed a problem when the DOCUMENT-END event is not emitted until the beginning of the next document is available. Fixed #51. Thanks edward(at)sweetbytes.net for the bug report. 2007-04-17 17:39:13 +00:00
Kirill Simonov
96fcba3d7f Improve output of float values. Fix #49. 2007-03-22 16:13:32 +00:00
Kirill Simonov
e5059a1d53 Add the tests for checking the libyaml bug. 2007-03-22 16:12:36 +00:00
Kirill Simonov
04ff8e6fa1 Fix the bug when the path in add_path_resolver contains boolean values. Fix #43 (thanks to jstroud(at)mbi.ucla.edu for reporting and pointing to the cause). 2007-02-23 20:45:35 +00:00
Kirill Simonov
21483f22d7 Use the types module instead of constructing type objects by hand. Fix #41. Thanks to v.haisman@sh.cvut.cz for the patch. 2006-12-08 15:36:53 +00:00
Kirill Simonov
ed79023a71 Fix loss of microsecond precision in datetime.datetime constructor (fix #30).
Thanks to edemaine@mit.edu for the bug report and the patch.
2006-10-04 07:42:50 +00:00
Kirill Simonov
cc9c738342 Fix loading an empty YAML stream. 2006-09-12 13:53:30 +00:00
Kirill Simonov
fb2fd2a6b4 Amend the announce message. 2006-08-20 18:26:02 +00:00
Kirill Simonov
be67e2df27 Update README and the announcement message. 2006-08-20 10:41:50 +00:00
Kirill Simonov
320c6976b9 Fix makefile and add setup.cfg. 2006-08-20 09:34:59 +00:00