1
0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-11-24 01:04:19 +01:00
Commit Graph

103 Commits

Author SHA1 Message Date
Jonas Tarnstrom
4073babe2c Merged (line-by-line prv pointer additions from ujson4c project. Bumped version 2013-06-10 12:44:04 +02:00
Jonas Tarnstrom
97b3af67ae Bumped version 2013-06-10 12:15:22 +02:00
Mikhail Sychev
e098bd1ce9 Fixed style of .c and .h files to use 2 spaces instead of 4 spaces and tabs and added some braces for easier code reading. 2013-05-08 13:52:53 -07:00
jtarnstrom
3492d4c751 Reapplied code formatting for MSVC, sorry guys 2013-02-12 17:15:42 +01:00
jtarnstrom
fd6cc28ab9 Added support for python decimal. Forward ported encode_html_chars patch. Made it all into one big nice commit 2013-02-12 17:15:42 +01:00
jtarnstrom
c5c3c7fbbc Added precise_float directive to make decoder use more precise but slower strtod for double decoding instead of built-in faster functions 2013-02-12 17:15:41 +01:00
unknown
42e7d1d9da Hopefully fixed integer and double decoding capabilities to match those of the old decoder 2013-01-18 16:17:47 +01:00
unknown
d185144ec6 Preamble and version number 2013-01-16 16:32:13 +01:00
unknown
a2e9adb885 Updated license preamble 2013-01-16 16:22:08 +01:00
unknown
bdf13516d2 Implemented encoder support for Python Set object and derivatives. Bumped version 2012-12-17 17:49:38 +01:00
unknown
dd4aacd70f Fixed type-o in pull request. Bumped version 2012-12-17 15:32:44 +01:00
unknown
9bdde8d8e8 Improved double decoding performance and added additional tests 2012-12-17 15:27:19 +01:00
unknown
6d6c8a87d2 Fixed error message being overwritten with incorrect one when decoding overlong integers in an array 2012-12-17 14:50:14 +01:00
Jonas Tärnström
d5615fedf8 Update python/version.h 2012-11-05 11:31:24 +01:00
Jonas Tarnstrom
0aebc2b291 Bumped version to avoid confusion on pypi 2012-10-01 13:55:08 +02:00
Jonas Tarnstrom
b7bdaa8cd7 Added ValueError exception to decoder when values are too big 2012-09-24 17:20:11 +02:00
Jonas Tarnstrom
ad25661f95 Bumped version 2012-08-14 11:24:28 +02:00
Jonas Tarnstrom
a6af1d09c6 Updated license to 3-clause BSD 2012-06-25 11:29:54 +02:00
Kieran O'Mahony
fd3e969987 fix ref leaks in datetime code 2012-06-12 16:25:40 +01:00
Kieran O'Mahony
6901f41a7c memory alignment fixes
Avoids segmentation faults on strict architectures e.g. SPARC
2012-06-12 12:05:00 +01:00
Kieran O'Mahony
06992a2072 Python 3 support 2012-06-12 12:04:59 +01:00
Kieran O'Mahony
fda0329ca9 msvc build fixes 2012-06-12 12:04:59 +01:00
Kieran O'Mahony
35ba3e9da0 better datetime & date handling 2012-06-12 12:04:59 +01:00
Kieran O'Mahony
79e980641d fix compiler warnings
& remove redundant enum
2012-06-12 12:04:59 +01:00
Kieran O'Mahony
d041aba16a tabs -> spaces, convert newlines 2012-06-12 12:04:59 +01:00
unknown
83f1ee99f7 Restructured code for better pypi packaging 2012-02-07 17:11:29 +01:00
unknown
5b121194af Fixed building of PIP which onces agains needs copying into python directory 2012-02-07 10:11:37 +01:00
unknown
dc6eb2f9e4 Improved pypi information 2012-02-07 09:00:52 +01:00
unknown
949825d16d Bumped version for pypi release 2012-02-07 08:30:41 +01:00
Jonas Trnstrm
5950848bf9 Changed default recursion limit. Added new benchmark 2012-01-27 15:25:36 +01:00
Jonas
af5ab41861 Updated benchmarks to include yajl 2012-01-27 13:47:39 +01:00
Mike Krieger
6b89292e5e Allow a kwarg to be passed in specifying the double precision 2012-01-03 16:33:34 -08:00
Mike Krieger
72088a10de Enable building without requiring copying 2012-01-03 15:26:25 -08:00
Jonas Tarnstrom
cde9aaeccb Fixed toDict() not working issue, added test 2011-12-21 11:53:03 +01:00
Jonas Tarnstrom
3c45be7241 Fixed toDict() not working issue, added test 2011-12-21 11:52:54 +01:00
Jonas Tarnstrom
49fe30364d Unintentional change 2011-12-14 16:29:21 +01:00
Jonas Tarnstrom
b243a4a0d7 Fixed long forgotten memory leak in file object handling code for Python 2011-12-14 16:28:41 +01:00
Jonas Tarnstrom
0ddd990e24 Added support for encoding and escaping NULL (U+0000) as \\u0000 2011-12-14 16:19:29 +01:00
Jonas Tarnstrom
3ecf8e9b0b Added support for encoding and escaping NULL (U+0000) as \\u0000 2011-12-14 16:02:49 +01:00
Jonas Tarnstrom
408e38cd8f Bumped version 2011-12-14 15:26:05 +01:00
Jonas Tarnstrom
21c5a1c749 Added support for escaping front slash 2011-12-14 15:25:41 +01:00
Jonas Tarnstrom
e35efaea85 Added support for decoding from a Unicode input string through conversion 2011-12-14 14:50:27 +01:00
Jonas Tärnström
b97b0c96b4 Update python/version.h 2011-12-08 15:16:21 +00:00
Jason Moiron
1beaeb69c4 add better tests around the bounds of the problem 2011-12-06 05:53:19 -05:00
Jason Moiron
5fa6d7be25 add a test to check for the sign bit bug in ujson 1.9 2011-12-06 05:46:17 -05:00
Jonas Tarnstrom
824a42bf8c - Added support for detecting overflow scenario when a PyLong bigger than 64-bits signed is supposed to be converted to such. Now a proper Python exception is thrown
- Bumped version

- Encoder now uses JT_INVALID from client implementation to abort encoder
2011-09-19 17:30:35 +02:00
Jonas Tarnstrom
daf0fde4c9 - Fixed issue with parsing kwargs
- Fixed test for ensure_ascii
- Bumped version
- Fixed / decoding issue in lookup tables
2011-09-09 17:13:31 +02:00
Jonas Tarnstrom
e962ae68e2 - Added forceAscii option to encoder to control if output is forced to be ascii (<128) or not.
- Added ensure_ascii kwargs to encode/dumps (true is default). Use ensure_ascii=false to allow UTF_8 strings to be outputted, should be faster and more space efficient.

- Bumped version
2011-09-09 16:00:23 +02:00
Jonas Tarnstrom
6738e59af1 - Fixed PyPi builds and added instructions for it 2011-08-17 09:05:58 +02:00
Jonas Tarnstrom
25b906f420 - Fixed pathes in setup.py 2011-08-17 08:57:44 +02:00