Romulo A. Ceccon
1f4b786efb
Fixed support for distributions without decimal.py
...
ujson crashed Python if decimal.py wasn't
available. This fix makes ujson ignore the problem
and instead assume no Decimal object will be
passed in to ujson.dumps().
2013-08-19 08:23:41 -03:00
Jonas Tärnström
09f290a0ba
Merge pull request #94 from Komnomnomnom/whitespace-fix
...
whitespace and formatting fixes for objToJSON.c
2013-08-17 03:51:32 -07:00
Jonas Tärnström
cde2be9508
Merge pull request #96 from MikeAthene/master
...
Adding more tests
2013-08-17 03:50:56 -07:00
Jonas Tärnström
9a09509653
Merge pull request #93 from Komnomnomnom/valgrind-mem-leak
...
Fix invalid memory read (from valgrind) during test_decodeBrokenListLeakTest
2013-08-17 03:49:54 -07:00
Mikhail Sychev
1a0f2a1d49
Adding more tests
...
- BMP amd symbol encoding/decoding with ensure_ascii set to True and False
- True, False and null tests like in cjson/json-py test suite
- Empty dict and array tests
- Test for tag escaping
- Bad dict data test
- Minimal cleanups
2013-07-08 14:51:20 -07:00
Kieran O'Mahony
ce308a1917
Fix invalid memory read (from valgrind) during test_decodeBrokenListLeakTest
2013-06-19 18:41:18 +01:00
Kieran O'Mahony
6242c253af
whitespace fix
2013-06-18 14:21:43 +01:00
Jonas Tarnstrom
08ff81a21d
Added explanation text
2013-06-11 08:10:34 +02:00
Jonas Tarnstrom
4e4dc5e4cc
Added 2 bytes to the string reservation macro to guaranteed to able to hold the quotes
2013-06-11 08:09:57 +02:00
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
Jonas Tarnstrom
96dda4e32d
Fixed C89 build issue in Win32
2013-06-10 12:14:23 +02:00
Jonas Tarnstrom
79ac0e971d
Fixed potential overflow issue with the estimations of string buffer lengths
2013-06-10 12:14:09 +02:00
Jonas Tärnström
aa48586b61
Merge pull request #89 from Infinidat/master
...
bdist_egg
2013-05-24 06:37:23 -07:00
Guy Rozendorn
1910b1d63b
Try to use setuptools, for building eggs
2013-05-23 17:27:23 +03:00
Jonas Tärnström
4f229ee318
Merge pull request #88 from MikeAthene/master
...
intValue cleanup
2013-05-19 23:30:11 -07:00
Mikhail Sychev
6f731e94d1
Use uint32 for decoding depth counter.
2013-05-17 16:43:14 -07:00
Mikhail Sychev
d194048164
Decoding depth limitation/SIGSEGV fix
2013-05-17 16:21:43 -07:00
Mikhail Sychev
fbf3f96a5d
Removed intValue negative value checks as intValue is declared as JSUINT64.
2013-05-16 13:42:54 -07:00
Jonas Tärnström
c8ead91caf
Merge pull request #86 from MikeAthene/master
...
More memory allocation checks
2013-05-15 02:25:15 -07:00
Mikhail Sychev
0acd21cb84
Added memory (re)allocation checks.
...
- Guards against memory alloc size overflow.
- Memory leak on failed reallocation.
2013-05-14 15:54:35 -07:00
Jonas Tärnström
5710c4b421
Merge pull request #85 from MikeAthene/master
...
Build improvements.
2013-05-11 01:40:06 -07:00
Mikhail Sychev
82861c94d5
Build file improvements.
...
- Do no redeclare endianness if it's already defined.
- Do not declare FASTCALL_ATTR on x86_64 as it's not required(used anyway under the hood).
2013-05-10 16:56:30 -07:00
Jonas Tärnström
72cc1bc533
Merge pull request #84 from MikeAthene/master
...
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-10 03:17:32 -07: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
Jonas Tärnström
af4644b4a6
Update README.rst
2013-04-26 16:55:00 +03:00
Jonas Tärnström
851042b89d
Update README.rst
2013-04-26 16:49:15 +03:00
Jonas Tärnström
4ab5224413
Update README.rst
2013-04-26 16:48:14 +03:00
jtarnstrom
e5298281e9
RST type-o
2013-02-18 18:21:06 +01:00
jtarnstrom
cbaf644b23
Stupid RST fixed
2013-02-18 18:19:39 +01:00
jtarnstrom
a55ba621ce
Fixed UTF-8 format
2013-02-18 18:07:32 +01:00
jtarnstrom
ef9c927d9b
Some more docs yes
2013-02-18 18:03:16 +01:00
jtarnstrom
733bc2e907
Some more docs yes
2013-02-18 18:02:44 +01:00
jtarnstrom
f2f3c6856f
More doc improvements
2013-02-18 18:00:38 +01:00
jtarnstrom
b51a4b924f
Documentation improvements
2013-02-18 17:53:43 +01:00
jtarnstrom
4719aa622b
Documentation improvements
2013-02-18 17:53:04 +01:00
jtarnstrom
2d46d66470
Documentation improvements
2013-02-18 17:51:49 +01:00
jtarnstrom
268f7bcbf9
Documentation improvements
2013-02-18 17:50:49 +01:00
jtarnstrom
6f29bee052
Reverted accidental commit of mem leak test loop
2013-02-12 17:15:43 +01: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
627926af67
Fixed issue with decoding long decimal numbers
2013-02-12 17:15:41 +01:00
Jonas Tärnström
3ec24464a5
Merge pull request #73 from fcicq/solaris-uint
...
Change u_int*_t to uint*_t, fix issue 72
2013-01-23 07:14:41 -08:00
fcicq
c92decd12f
Change u_int*_t to uint*_t, fix https://github.com/esnme/ultrajson/issues/72
...
uint*_t is defined in stdint.h, rebase the two commits into one.
2013-01-23 22:45:07 +08: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
a92339d065
Minor code cleanup and speed optimizations
2013-01-08 10:38:24 +01:00
unknown
8d3b807713
Code cleanup
2013-01-07 18:30:18 +01:00