Commit Graph
16 Commits
Author SHA1 Message Date
Cédric Krier 66c05f49a7 Use simplejson if possible as it is faster
review146001
2011-10-14 09:56:05 +02:00
Nicolas Évrard c41afcf47b remove unused prints 2011-10-04 14:01:58 +02:00
Nicolas Évrard c6174a0b61 replace .csv file by .po file for translations
review125002
issue1163
2011-10-04 13:03:06 +02:00
Cédric Krier fefd67c3a5 Improve Binary fields
* Support size format in context for Binary fields
* Use buffer for Binary fields
* No more store Binary fields in base64

review74006
2011-09-17 14:43:05 +02:00
Cédric Krier 1a84c04adf Rational exceptions
review94001
2011-09-05 20:30:26 +02:00
Cédric Krier d5efbc62ad Drop NetRPC and activate JSON-RPC by default 2011-08-06 14:31:24 +02:00
Cédric Krier a370592430 Remove socket timeout code for Python < 2.6 2011-07-16 20:17:30 +02:00
Cédric Krier 1ce3832259 Remove version_info test 2011-07-12 23:54:14 +02:00
Cédric Krier c370a1fdc7 Handle timeout in SocketServer for Python < 2.6 for issue1731 2010-10-19 22:32:37 +02:00
Phillip Heller 91184b1173 Factored out common daemon code from services to new trytond.protocols.com
Suppress Errno 57 when attempting to close an already shut socket, fixes issue1624
Revert from join() on enumerated threads to join() on individual service threadsto preserve debugging environments
2010-10-06 16:53:00 -04:00
Cédric Krier 483afed26a Catch only Exception according to PEP 352 2010-07-08 19:53:39 +02:00
Cédric Krier c77ce123c5 Fix jsonrpc strip of "sao/" for issue1555 2010-05-04 23:33:08 +02:00
Cédric Krier 0415e46c73 Don't allow to use float in Numeric fields
The goal is to prevent to introduce float errors in Numeric fields.
There is a trick for external protocols like XML-RPC and JSON-RPC where the
string representation is stored in the Float object and will be used to
convert it into Decimal.
2010-03-12 17:41:07 +01:00
Cédric Krier b5fb4d1ef3 Refactoring by validation with pylint 2010-02-18 18:50:35 +01:00
Cédric Krier 5819e2cbe9 Better test to import json
There is an other json module for python < 2.6
2010-01-20 15:22:33 +01:00
Cédric Krier a964e4ac9e Add JSON-RPC 2010-01-20 10:33:44 +01:00