-
Notifications
You must be signed in to change notification settings - Fork 18
Update iainb's pull request to merge cleanly + socket support + decode a buffer at a time + bugfixes #38
base: master
Are you sure you want to change the base?
Commits on Jan 25, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 7c83479 - Browse repository at this point
Copy the full SHA 7c83479View commit details -
Configuration menu - View commit details
-
Copy full SHA for 05eceb9 - Browse repository at this point
Copy the full SHA 05eceb9View commit details -
* updated build instructions
Configuration menu - View commit details
-
Copy full SHA for dcc1357 - Browse repository at this point
Copy the full SHA dcc1357View commit details -
Configuration menu - View commit details
-
Copy full SHA for aa93eac - Browse repository at this point
Copy the full SHA aa93eacView commit details -
Incorporate python3 undefined symbol fix from:
rickeyski@cf3c29d Move IssueTwentySevenTest dict into python2 to prevent python3 test from bailing on loading the test suite Update IssueTwentySevenTest to only run on python2. (probably want to run this on python3 too).
Configuration menu - View commit details
-
Copy full SHA for 95c3618 - Browse repository at this point
Copy the full SHA 95c3618View commit details -
Move towards decoding multiple items
* Store decoded objects in a list
Configuration menu - View commit details
-
Copy full SHA for 7da9ed4 - Browse repository at this point
Copy the full SHA 7da9ed4View commit details -
Configuration menu - View commit details
-
Copy full SHA for a71b94c - Browse repository at this point
Copy the full SHA a71b94cView commit details -
calling len() against the decoder object returns the number of decode…
…d objects in the internal buffer.
Configuration menu - View commit details
-
Copy full SHA for 3c0f595 - Browse repository at this point
Copy the full SHA 3c0f595View commit details -
Remove actions from _internal_decode that reset the parser state
Configuration menu - View commit details
-
Copy full SHA for 6b2962e - Browse repository at this point
Copy the full SHA 6b2962eView commit details -
Compiled with clang c compiler, fixed the following warnings:
clang -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I. -Iincludes/ -Iyajl/src -I/usr/include/python2.6 -c yajl.c -o build/temp.linux-x86_64-2.6/yajl.o -Wall -DMOD_VERSION="0.3.6-38862b0" yajl.c:411:15: warning: incompatible pointer types initializing 'PyCFunction' (aka 'PyObject *(*)(PyObject *, PyObject *)') with an expression of type 'PyCFunctionWithKeywords' (aka 'PyObject *(*)(PyObject *, PyObject *, PyObject *)') {"dumps", (PyCFunctionWithKeywords)(py_dumps), METH_VARARGS | METH_KEYWORDS, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yajl.c:427:14: warning: incompatible pointer types initializing 'PyCFunction' (aka 'PyObject *(*)(PyObject *, PyObject *)') with an expression of type 'PyCFunctionWithKeywords' (aka 'PyObject *(*)(PyObject *, PyObject *, PyObject *)') {"dump", (PyCFunctionWithKeywords)(py_dump), METH_VARARGS | METH_KEYWORDS, ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ yajl.c:331:18: warning: unused function 'py_iterload' [-Wunused-function] static PyObject *py_iterload(PYARGS) ^ 3 warnings generated. clang -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -fPIC -I. -Iincludes/ -Iyajl/src -I/usr/include/python2.6 -c encoder.c -o build/temp.linux-x86_64-2.6/encoder.o -Wall -DMOD_VERSION="0.3.6-38862b0" encoder.c:316:9: warning: expression result unused [-Wunused-value] PyObject_INIT_VAR(op, &PyString_Type, size); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from encoder.c:32: In file included from /usr/include/python2.6/Python.h:81: /usr/include/python2.6/objimpl.h:159:29: note: instantiated from: ( Py_SIZE(op) = (size), PyObject_INIT((op), (typeobj)) ) ^ encoder.c:316:9: note: instantiated from: PyObject_INIT_VAR(op, &PyString_Type, size); ^ ~~ encoder.c:316:27: note: instantiated from: PyObject_INIT_VAR(op, &PyString_Type, size); ^~ 1 warning generated.
Configuration menu - View commit details
-
Copy full SHA for 7778ebe - Browse repository at this point
Copy the full SHA 7778ebeView commit details -
Removed print statement from issue_11.py
Updated runtests.sh to run issue_11 test under python3
Configuration menu - View commit details
-
Copy full SHA for 6ebabe4 - Browse repository at this point
Copy the full SHA 6ebabe4View commit details -
Decoder _internal_decode now only decodes, decoded objects can be ret…
…rieved by _fetchObject
Configuration menu - View commit details
-
Copy full SHA for 7997e35 - Browse repository at this point
Copy the full SHA 7997e35View commit details -
Add ability to iterate over a stream of multiple items:
To iterate over json items written to the stdin of a python process: import yajl import sys for i in yajl.Decoder(allow_multiple_values=True,stream=sys.stdin): print i Python3 support is broken in this build.
Configuration menu - View commit details
-
Copy full SHA for 4c5f49b - Browse repository at this point
Copy the full SHA 4c5f49bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 13daf3f - Browse repository at this point
Copy the full SHA 13daf3fView commit details -
Refactor py_yajldecoder_decode
Configuration menu - View commit details
-
Copy full SHA for f24fd21 - Browse repository at this point
Copy the full SHA f24fd21View commit details -
refactor _internal_stream_load to use Decoder class
add check to decoder init function to check stream has read() method
Configuration menu - View commit details
-
Copy full SHA for bb7051a - Browse repository at this point
Copy the full SHA bb7051aView commit details -
Configuration menu - View commit details
-
Copy full SHA for dfb1fff - Browse repository at this point
Copy the full SHA dfb1fffView commit details -
Configuration menu - View commit details
-
Copy full SHA for a1df295 - Browse repository at this point
Copy the full SHA a1df295View commit details -
Fix many memory leaks relating to reference counts
Also fix functions which were returning true/false/none types but not incrementing the refcount
Configuration menu - View commit details
-
Copy full SHA for d9ae130 - Browse repository at this point
Copy the full SHA d9ae130View commit details -
Fixed memory leak in encoder.c ProcessObject
Unicode buffer was not being freed after use
Configuration menu - View commit details
-
Copy full SHA for d9975b3 - Browse repository at this point
Copy the full SHA d9975b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 77a3e6d - Browse repository at this point
Copy the full SHA 77a3e6dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 2d43150 - Browse repository at this point
Copy the full SHA 2d43150View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7136180 - Browse repository at this point
Copy the full SHA 7136180View commit details
Commits on Jan 26, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 23f7342 - Browse repository at this point
Copy the full SHA 23f7342View commit details
Commits on Jan 27, 2015
-
Configuration menu - View commit details
-
Copy full SHA for c7aa8b6 - Browse repository at this point
Copy the full SHA c7aa8b6View commit details