summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #104 from Hardtack/masterAsif Saifuddin Auvi2017-11-081-11/+24
|\ \ | | | | | | Fix some issues in Python 3
| * | Convert dict key type to bytes typeChoi Geonu2017-10-241-1/+1
| | |
| * | AMQP_EMPTY_* were deprecated since v0.1Choi Geonu2017-10-241-9/+9
| | |
| * | Return NULLs explicitly in the module initializationChoi Geonu2017-10-241-1/+14
| | |
* | | Merge pull request #103 from matusvalo/python3-unit-testsAsif Saifuddin Auvi2017-10-249-24/+18
|\ \ \ | |/ / |/| | Python3 unit tests
| * | Add python3 support in unittestsMatus Valo2017-10-207-20/+15
| | |
| * | _queue_declare() should return queue name as string not bytesMatus Valo2017-10-202-4/+3
| | |
* | | Merge pull request #102 from matusvalo/fixed_buildAsif Saifuddin Auvi2017-10-201-3/+1
|\ \ \ | |/ / |/| | Fixed broken build when using make
| * | Fixed broken build when using makeMatus Valo2017-10-091-3/+1
|/ /
* | Merge pull request #99 from matusvalo/python3Asif Saifuddin Auvi2017-09-289-91/+116
|\ \ | |/ |/| Add support of Python3
| * Removed support of python3.3 and added support for python3.6Matus Valo2017-09-171-1/+1
| |
| * Added support of python3.4 and python3.5 in setup.pyMatus Valo2017-09-131-0/+2
| |
| * use PyUnicode_FromStringAndSize in PySTRING_FROM_AMQBYTES macro.Matus Valo2017-09-131-2/+8
| | | | | | | | This commit fixes crashes when librabbitmq is used in kombu.
| * Python code ported to python3Matus Valo2017-09-102-1/+7
| |
| * Module initialization ported to python3Matus Valo2017-09-102-3/+35
| |
| * Python3 PyObject_CallMethodObjArgs method name should be str not bytesMatus Valo2017-09-102-1/+3
| |
| * Use portable s# instead of t# format string in PyArg_ParseTupleMatus Valo2017-09-101-1/+1
| |
| * Use memoryviews instead of old style buffersMatus Valo2017-09-102-4/+17
| |
| * Added PyInt_AS_LONG and PyInt_Check macrosMatus Valo2017-09-101-0/+2
| |
| * Use %R instead of %s in PeErr_Format for object REPRMatus Valo2017-09-101-2/+2
| |
| * Don't use Py_TPFLAGS_HAVE_WEAKREFS tp flag under python3Matus Valo2017-09-101-2/+7
| |
| * Convert PyString -> PyBytesMatus Valo2017-09-052-11/+11
| |
| * Use Py_TYPE() instead of self->ob_typeMatus Valo2017-09-051-1/+1
| |
| * Removed python <= 2.6 compatibility ifdefsMatus Valo2017-09-052-28/+16
| |
| * Enable to build library under python3Matus Valo2017-09-051-4/+3
| |
| * Remove support for python <= 2.6Matus Valo2017-09-051-2/+1
| |
| * Updated build scrits for upstream rabbitmq-cMatus Valo2017-09-053-32/+5
| |
| * Moved rabbitmq-c submodule to v0.8.0 tagMatus Valo2017-09-051-0/+0
| |
| * Added official rabbitmq-c repo as submoduleMatus Valo2017-09-052-0/+4
| |
| * Removed submodulesMatus Valo2017-09-053-6/+0
|/
* Merge pull request #87 from amitsaha/manylinux1Asif Saifuddin Auvi2016-09-037-0/+30
|\ | | | | Manylinux1 wheels
| * Manylinux1 wheelsAmit Saha2016-08-197-0/+30
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use "make manylinux1", you need to have docker installed. The library is not being imported correctly in Python 2.6 with this error: + /opt/python/cp26-cp26m/bin//python -c 'import librabbitmq' Traceback (most recent call last): File "<string>", line 1, in <module> File "/opt/python/cp26-cp26m/lib/python2.6/site-packages/librabbitmq/__init__.py", line 7, in <module> from amqp.protocol import queue_declare_ok_t File "/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/__init__.py", line 48, in <module> from .basic_message import Message # noqa File "/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/basic_message.py", line 29, in <module> from .serialization import GenericContent File "/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/serialization.py", line 34, in <module> from .exceptions import FrameSyntaxError File "/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/exceptions.py", line 21, in <module> from .five import python_2_unicode_compatible File "/opt/python/cp26-cp26m/lib/python2.6/site-packages/amqp/five.py", line 14, in <module> import vine.five File "/opt/python/cp26-cp26m/lib/python2.6/site-packages/vine/__init__.py", line 6, in <module> from .abstract import Thenable File "/opt/python/cp26-cp26m/lib/python2.6/site-packages/vine/abstract.py", line 7, in <module> from .five import with_metaclass File "/opt/python/cp26-cp26m/lib/python2.6/site-packages/vine/five.py", line 230 def with_metaclass(Type, skip_attrs={'__dict__', '__weakref__'}): ^ SyntaxError: invalid syntax Makefile:67: recipe for target 'manylinux1' failed make: *** [manylinux1] Error 1
* OS X -> macOSAsk Solem2016-06-131-5/+5
|
* Merge pull request #45 from rogerhu/pyerr_occurredAsk Solem Hoel2016-03-220-0/+0
|\ | | | | Check if the return value is -1. If so, goto fail, which will invoke PyErr_Ocurred().
| * Check if the return value is -1. If so, goto fail, which will invoke ↵Roger Hu2014-06-161-4/+8
| | | | | | | | | | | | | | | | | | | | | | | | PyErr_Ocurred(). https://docs.python.org/2/c-api/int.html https://docs.python.org/2/c-api/float.html Somehow runnning PyErr_Ocurred() when no exception has been generated triggers an unknown thread state and seg faults. Again, I noticed this issue when trying to pass in a Python dictionary with integer/double values and seg faults.
* | Merge pull request #47 from rogerhu/fix_hostname_corruptionAsk Solem Hoel2016-03-221-8/+32
|\ \ | | | | | | Fix issues with hostname corruption when Python strings go out of scope.
| * | We store references to hostname, userid, virtual_host, and password inside aRoger Hu2014-06-181-8/+32
| |/ | | | | | | | | | | | | | | | | | | | | | | | | RabbitMQ state object. However, once those arguments leave scope inside the init() function, Python deallocates the memory. If we want to keep references to them, we need to do custom malloc operations to store them and deallocate them when we're no longer using the object. I noticed this problem when putting a breakpoint on the kombu/transport/librabbitmq.py establish_connection() and attempted to print the Connection object. On multiple publishing, I noticed the Connection string object corrupted, particularly the hostname.
* | Allow AMQP client properties to be exposed when connecting to RMQ broker.Roger Hu2015-10-303-9/+32
| | | | | | | | | | | | | | | | | | | | | | We can leverage RMQ extensions similar to https://github.com/ruby-amqp/bunny/tree/master/examples/connection and https://github.com/ruby-amqp/bunny/blob/master/lib/bunny/session.rb#L56-65. Add ability to set boolean parameters too. Switching back to simply args. Uses __init__() to pass in client_properties instead of the connect() parameter.
* | Check if the return value is -1. If so, goto fail, which will invoke ↵Roger Hu2015-10-301-4/+8
| | | | | | | | | | | | | | | | | | | | PyErr_Ocurred(). https://docs.python.org/2/c-api/int.html https://docs.python.org/2/c-api/float.html Somehow runnning PyErr_Ocurred() when no exception has been generated triggers an unknown thread state and seg faults.
* | Add support for boolean.Roger Hu2015-10-301-0/+23
| | | | | | | | | | | | As I was trying to add AMQP extensions, I noticed that I couldn't pass in a dictionary with boolean types without adding support. Add indent.
* | Merge pull request #51 from ubernostrum/masterAsk Solem Hoel2015-10-301-1/+1
|\ \ | | | | | | Update to correct submodule URL for rabbitmq-codegen.
| * | Update to correct submodule URL for rabbitmq-codegen.James Bennett2014-07-181-1/+1
| |/
* | Adds rmihael to AUTHORSAsk Solem2015-10-301-0/+1
| |
* | Update setup.py to fix buildout-related problemsrmihael2015-10-301-1/+7
| | | | | | | | There're some issues related to Buildout having troubles installing librabbitmq: https://github.com/celery/librabbitmq/issues/61, https://github.com/celery/librabbitmq/issues/58 It seems that this simple change fixes it. Not the prettiest solution, but it works.
* | Merge pull request #63 from mattrobenolt/patch-1Ask Solem Hoel2015-10-301-1/+1
|\ \ | | | | | | Typo in README
| * | Typo in READMEMatt Robenolt2015-01-071-1/+1
| | |
* | | Merge pull request #69 from agriffis/masterAsk Solem Hoel2015-10-301-1/+0
|\ \ \ | | | | | | | | Don't remove -Wall, since that can break compilation. Fixes #68
| * | | Don't remove -Wall, since that can break compilation. Fixes #68Aron Griffis2015-07-011-1/+0
| |/ /
* | | More data type fixes for 64-bit compatibilityMichael Verrilli2015-10-301-5/+5
| | | | | | | | | This fixes the remained of issues I had for Solaris
* | | 64-bit fixesMichael Verrilli2015-10-301-2/+2
| | | | | | | | | Most important, must feed PY_SSIZE_T_CLEAN into Python.h for defs to work. Also added a cast to help warn of future changes that might break things.