5 years agoPROTON-1374: bump versions to 0.16.1-SNAPSHOT 0.16.x
Robert Gemmell [Thu, 8 Dec 2016 17:33:40 +0000 (17:33 +0000)] 
PROTON-1374: bump versions to 0.16.1-SNAPSHOT

5 years agoPROTON-1374: update versions for 0.16.0 (RC1) 0.16.0 0.16.0-rc1
Robert Gemmell [Thu, 8 Dec 2016 15:37:59 +0000 (15:37 +0000)] 
PROTON-1374: update versions for 0.16.0 (RC1)

5 years agoNO-JIRA: dont try to install previously-deleted TODO file...
Robert Gemmell [Thu, 8 Dec 2016 13:57:31 +0000 (13:57 +0000)] 
NO-JIRA: dont try to install previously-deleted TODO file...

5 years agoPROTON-1355: dummy commit for PR cleanup. This closes #90
Robert Gemmell [Thu, 8 Dec 2016 12:03:05 +0000 (12:03 +0000)] 
PROTON-1355: dummy commit for PR cleanup. This closes #90

5 years agoNO-JIRA: update mailing list details
Robert Gemmell [Thu, 8 Dec 2016 11:44:14 +0000 (11:44 +0000)] 
NO-JIRA: update mailing list details

5 years agoNO-JIRA: remove stale link
Robert Gemmell [Thu, 8 Dec 2016 11:42:04 +0000 (11:42 +0000)] 
NO-JIRA: remove stale link

5 years agoNO-JIRA: remove stale TODO file
Robert Gemmell [Thu, 8 Dec 2016 11:39:48 +0000 (11:39 +0000)] 
NO-JIRA: remove stale TODO file

5 years agoPROTON-623: Add missing error check to pn_string_inspect
Bozo Dragojevic [Thu, 8 Dec 2016 09:14:22 +0000 (04:14 -0500)] 
PROTON-623: Add missing error check to pn_string_inspect

5 years agoPROTON-1372: [C++ binding] Pimpl event_loop
Andrew Stitcher [Thu, 8 Dec 2016 08:25:57 +0000 (03:25 -0500)] 
PROTON-1372: [C++ binding] Pimpl event_loop
- To make sure that we maintain C++03/C++11 cross compatibility.

5 years agoPROTON-1373: C++ API doc improvements
Justin Ross [Thu, 8 Dec 2016 02:29:35 +0000 (18:29 -0800)] 
PROTON-1373: C++ API doc improvements

 - Fix all warnings
 - Expose C++11 API elements
 - Improve presentation in class list
 - Some simple corrections

5 years agoPROTON-1371: [C++ binding] Change container implementation to use handle-body
Andrew Stitcher [Wed, 7 Dec 2016 08:58:25 +0000 (03:58 -0500)] 
PROTON-1371: [C++ binding] Change container implementation to use handle-body
- This avoids the problem of a virtual member functions in the vtable being
  different depending on whether compiled with C++11 or C++03.

5 years agoPROTON-1371: [C++ binding] Large header file cleanup
Andrew Stitcher [Mon, 5 Dec 2016 17:59:21 +0000 (12:59 -0500)] 
PROTON-1371: [C++ binding] Large header file cleanup
- Introduce <proton/fwd.hpp> header to forward declare types
- Remove a lot of unnecessary includes in C++ header files

5 years agoPROTON-1311: C interface to get/set the link max-msessage-size
Cliff Jansen [Sun, 4 Dec 2016 01:42:40 +0000 (17:42 -0800)] 
PROTON-1311: C interface to get/set the link max-msessage-size

5 years agoPROTON-1367: Use an exclusion method that doesn't require absolute paths; remove...
Justin Ross [Fri, 2 Dec 2016 23:33:39 +0000 (15:33 -0800)] 
PROTON-1367: Use an exclusion method that doesn't require absolute paths; remove some unused config options

5 years agoPROTON-1367: Adjust deprecations; improve rendered doc output
Justin Ross [Fri, 2 Dec 2016 21:05:27 +0000 (13:05 -0800)] 
PROTON-1367: Adjust deprecations; improve rendered doc output

5 years agoPROTON-1367: Clean up and reorganize the C API docs
Justin Ross [Fri, 2 Dec 2016 15:59:29 +0000 (07:59 -0800)] 
PROTON-1367: Clean up and reorganize the C API docs

5 years agoNO-JIRA: remove stale mention of updating setup versions for the python bindings
Robert Gemmell [Fri, 2 Dec 2016 14:55:14 +0000 (14:55 +0000)] 
NO-JIRA: remove stale mention of updating setup versions for the python bindings

5 years agoPROTON-1366: Raise exception when wrapped object creation fails
Chuck Rolke [Thu, 1 Dec 2016 20:23:09 +0000 (15:23 -0500)] 
PROTON-1366: Raise exception when wrapped object creation fails

5 years agoPROTON-1336: make reactor teardown sequence work with Windows io objects
Cliff Jansen [Thu, 1 Dec 2016 20:10:22 +0000 (12:10 -0800)] 
PROTON-1336: make reactor teardown sequence work with Windows io objects

5 years agoPROTON-1355: add ability to control sni directly as well
Gordon Sim [Fri, 18 Nov 2016 13:50:36 +0000 (13:50 +0000)] 
PROTON-1355: add ability to control sni directly as well

5 years agoPROTON-1363: [C++ binding] Remove unneeded stuff
Andrew Stitcher [Wed, 23 Nov 2016 05:41:51 +0000 (00:41 -0500)] 
PROTON-1363: [C++ binding] Remove unneeded stuff
- collector from connection_context
- proton::task

5 years agoPROTON-1356: go: restore compatibility from proton 0.10
Alan Conway [Fri, 25 Nov 2016 20:51:52 +0000 (15:51 -0500)] 
PROTON-1356: go: restore compatibility from proton 0.10

Remove use of PN_INVALID (not available in proton 0.10)
Link with libqpid-proton not libqpid-proton-core (not available until 0.16)

5 years agoPROTON-1356: remove un-necessary codec_shim.h
Alan Conway [Fri, 25 Nov 2016 20:09:42 +0000 (15:09 -0500)] 
PROTON-1356: remove un-necessary codec_shim.h

PROTON-1356 reports problems with `go get`, with an error in types.go line 33,
pn_types_t not recognized. Not clear if this solves the problem, but types.go
was depending on a codec_shim.h file in the go package, which should have
included the pn_types_t definition. This shim is no longer needed and has been

5 years agoPROTON-1361: mark proton-j Messsenger and related driver as deprecated
Robert Gemmell [Thu, 24 Nov 2016 12:46:51 +0000 (12:46 +0000)] 
PROTON-1361: mark proton-j Messsenger and related driver as deprecated

5 years agoNO-JIRA: cpp: fix clang c++11 compile error in url::impl
Alan Conway [Wed, 23 Nov 2016 16:24:11 +0000 (11:24 -0500)] 
NO-JIRA: cpp: fix clang c++11 compile error in url::impl

url::impl had explict dtor (delete[] raw C char array) but no explict copy ctor.
Replaced raw char* with vector<char> and removed the explicit dtor.

5 years agoPROTON-1344: removed unused pn_listener_free, update proactor doc.
Alan Conway [Wed, 23 Nov 2016 16:07:44 +0000 (11:07 -0500)] 
PROTON-1344: removed unused pn_listener_free, update proactor doc.

5 years agoNO-JIRA: Delete dead code - cdriver jython shim
Alan Conway [Mon, 21 Nov 2016 19:34:30 +0000 (14:34 -0500)] 
NO-JIRA: Delete dead code - cdriver jython shim

5 years agoPROTON-722: expose session properties and capabilities and wire up handling of them
Robert Gemmell [Mon, 21 Nov 2016 18:04:54 +0000 (18:04 +0000)] 
PROTON-722: expose session properties and capabilities and wire up handling of them

5 years agoPROTON-721: expose link capabilities and wire up handling of them
Robert Gemmell [Mon, 21 Nov 2016 16:45:10 +0000 (16:45 +0000)] 
PROTON-721: expose link capabilities and wire up handling of them

5 years agoPROTON-1351: [C++ binding] remove dependency on Proton-c url code
Andrew Stitcher [Tue, 15 Nov 2016 15:41:33 +0000 (10:41 -0500)] 
PROTON-1351: [C++ binding] remove dependency on Proton-c url code
- In preparation for moving this to the proton core library
- Improved C++ url tests

5 years agoPROTON-1355: Set ssl.peer_hostname to virtual_host if specified
Ulf Lilleengen [Fri, 18 Nov 2016 08:52:02 +0000 (09:52 +0100)] 
PROTON-1355: Set ssl.peer_hostname to virtual_host if specified

5 years agoNO-JIRA: C API documentation - module descriptions.
Alan Conway [Thu, 17 Nov 2016 19:16:45 +0000 (14:16 -0500)] 
NO-JIRA: C API documentation - module descriptions.

Added missing module descriptions.
Rewrote some descriptions to be more informative and less repetative.
E.g. "Link API for proton Engine" -> "One-way message link"

5 years agoPROTON-1344: proactor documentation updates
Alan Conway [Thu, 17 Nov 2016 16:17:14 +0000 (11:17 -0500)] 
PROTON-1344: proactor documentation updates

5 years agoPROTON-1344: proactor listener/conneciton configuration
Alan Conway [Thu, 17 Nov 2016 05:14:12 +0000 (00:14 -0500)] 
PROTON-1344: proactor listener/conneciton configuration

Dropped extra bytes mechanism, may be re-introduced later.

Added context and attachments to pn_listener_t, consistent with pn_connection_t
Configure connection/listener before calling proactor connect/listen.
Added PN_LISTENER_ACCEPT event so accepted connections can be configured.

5 years agoPROTON-1344: proactor timeout support
Alan Conway [Thu, 17 Nov 2016 04:59:24 +0000 (23:59 -0500)] 
PROTON-1344: proactor timeout support

5 years agoPROTON-1344: proactor batch events, rename connection_driver
Alan Conway [Thu, 17 Nov 2016 03:31:00 +0000 (22:31 -0500)] 
PROTON-1344: proactor batch events, rename connection_driver

renamed pn_connection_engine as pn_connection_driver.

pn_proactor_wait() returns pn_event_batch_t* rather than individual pn_event_t*
to reduce thread-context switching.

Added pn_collector_next() for simpler event looping.

5 years agoPROTON-1344: Fix proactor listen and broker examples for interop
Alan Conway [Mon, 14 Nov 2016 15:21:07 +0000 (10:21 -0500)] 
PROTON-1344: Fix proactor listen and broker examples for interop

Added AI_PASSIVE to listener getaddrinfo() call, more correct and portable.

Example broker default host is "::" which listens for IPv6 and IPv4 on same port
on systems that allow that (IPV6ONLY defaults off)

Note that IPv4-only systems will need to say `libuv_broker -a localhost` but
since most modern systems support IPv6, that seems better than having clients
simply fail to connect depending on whether they use localhost or ::1.

5 years agoPROTON-1344: C proactor for multi-threaded proton applications
Alan Conway [Wed, 2 Nov 2016 19:38:49 +0000 (15:38 -0400)] 
PROTON-1344: C proactor for multi-threaded proton applications

proactor.h is an asynchronous, multi-threaded replacement for reactor.h

It uses the same Proton engine APIs and events, but allows multiple application
threads wait for events to handle, rather than calling back on handler functions
from a single thread.

The proactor ensures that events for the same AMQP connection are handled in
sequence (although possibly by different threads at different times) so event
handling code does not need to lock the use of thread-unsafe proton APIs. It
provides a "wake" feature to signal connections for processing triggered by the
application rather than proton IO.

Examples show C sender, receiver and broker, and a libuv driver implementation.

5 years agoNO-JIRA: cpp example broker, set source address
Alan Conway [Sat, 12 Nov 2016 05:51:46 +0000 (00:51 -0500)] 
NO-JIRA: cpp example broker, set source address

5 years agoNO-JIRA: enable warnings-as-errors for clang C compiler
Alan Conway [Wed, 16 Nov 2016 21:33:14 +0000 (16:33 -0500)] 
NO-JIRA: enable warnings-as-errors for clang C compiler

5 years agoPROTON-1352, PROTON-1353: merge PR for settlement mode valueOf, message annotations...
Robert Gemmell [Wed, 16 Nov 2016 17:48:05 +0000 (17:48 +0000)] 
PROTON-1352, PROTON-1353: merge PR for settlement mode valueOf, message annotations in toString

This closes #89

5 years agoPROTON-1352,PROTON-1353: Added message annotations to the String visualization of... 89/head
ppatierno [Wed, 16 Nov 2016 10:03:35 +0000 (11:03 +0100)] 
PROTON-1352,PROTON-1353: Added message annotations to the String visualization of AMQP message
Refactored ReceiverSettleMode and SenderSettleMode for having trivial casting from/to UnsignedByte and added unit tests

5 years agoPROTON-1330: [python] bundle the C source in the python source distribution
Kenneth Giusti [Tue, 1 Nov 2016 17:21:15 +0000 (13:21 -0400)] 
PROTON-1330: [python] bundle the C source in the python source distribution

This closes #88

5 years agoPROTON-1351: Make go binding only depend on qpid-proton-core
Andrew Stitcher [Mon, 14 Nov 2016 17:55:28 +0000 (12:55 -0500)] 
PROTON-1351: Make go binding only depend on qpid-proton-core

5 years agoPROTON-1350 PROTON-1351: Introduce proton-c core library
Andrew Stitcher [Mon, 14 Nov 2016 17:55:01 +0000 (12:55 -0500)] 
PROTON-1350 PROTON-1351: Introduce proton-c core library
- Created new core proton library qpid-proton-core which only contains
  protocol processsing and no IO.
- Rearranged source tree to separate core protocol code and io/reactor/extra code
- Rearranged code so that compiler dependent code is isolated and platform (OS)
  dependent code is isolated

This is a large change, but the majority is moving files around and fixing up the header
includes. There is a small amount of internal API changing so support the core searation.

5 years agoPROTON-1346: update the name for clarity
Robert Gemmell [Tue, 8 Nov 2016 12:01:36 +0000 (12:01 +0000)] 
PROTON-1346: update the name for clarity

5 years agoPROTON-1346: IOException doesn't necessarily catch java.nio.channels.UnresolvedAddres...
Shibi [Mon, 7 Nov 2016 19:16:21 +0000 (11:16 -0800)] 
PROTON-1346: IOException doesn't necessarily catch java.nio.channels.UnresolvedAddressException which is thrown when
server is unavailable. This will cause reactor to fail and require a client restart. changing to Exception
and close transport, so client can recover from failure even if 1 server is down without stopping reactor

This closes #86

5 years agoPROTON-1338: Go: update package documentation.
Alan Conway [Wed, 2 Nov 2016 03:24:48 +0000 (23:24 -0400)] 
PROTON-1338: Go: update package documentation.

5 years agoPROTON-1338: Go: update package documentation.
Alan Conway [Wed, 2 Nov 2016 03:17:07 +0000 (23:17 -0400)] 
PROTON-1338: Go: update package documentation.

Clarify AMQP 1.0 support to distinguish from other Go AMQP clients supporting
draft versions of AMQP.

5 years agoPROTON-1338: Go: make binding compatible with older C libraries
Alan Conway [Wed, 2 Nov 2016 02:47:35 +0000 (22:47 -0400)] 
PROTON-1338: Go: make binding compatible with older C libraries

The Go binding is now compatible with all releases since 0.10, tested up to 0.15
Absent C library source or binary incompatible changes, it should remain so.

5 years agoNO-JIRA: Removed uneeded #includes
Andrew Stitcher [Fri, 28 Oct 2016 21:08:15 +0000 (17:08 -0400)] 
NO-JIRA: Removed uneeded #includes

5 years agoPROTON-1337 Add missing file
Timothy Bish [Fri, 28 Oct 2016 19:37:24 +0000 (15:37 -0400)] 
PROTON-1337 Add missing file

Missed on last commit.

5 years agoPROTON-1337 Add alternate send and recv methods that use generic buffers
Timothy Bish [Fri, 28 Oct 2016 19:35:45 +0000 (15:35 -0400)] 
PROTON-1337 Add alternate send and recv methods that use generic buffers

Add support for clients that use other buffering types to interact with
the Sender and Receiver using a ReadableBuffer and WritableBuffer

5 years agoPROTON-1255: Remove pn_connection_engine_start
Alan Conway [Tue, 25 Oct 2016 14:45:46 +0000 (10:45 -0400)] 
PROTON-1255: Remove pn_connection_engine_start

Bind the connection automatically in pn_connection_engine_dispatch after the
user has processed the PN_CONNECTION_INIT event. This removes the need to
manually call start and allows user handlers to set security settings
in their handler on PN_CONNECTION_INIT, before the bind.

5 years agoNO-JIRA: Remove incorrect memory_management.md article.
Alan Conway [Tue, 25 Oct 2016 01:04:08 +0000 (21:04 -0400)] 
NO-JIRA: Remove incorrect memory_management.md article.

The discussion in that article about the use of pn_incref/pn_decref was incorrect.
The article has been removed, and a comment added to proton/object.h with this
correct statement:

   pn_incref, pn_decref and pn_refcount are for internal use by the proton
   library, the should not be called by application code. Application code
   should use the appropriate pn_*_free function (pn_link_free, pn_session_free
   etc.) when it is finished with a proton value. Proton values should only be
   used when handling a pn_event_t that refers to them.

5 years agoPROTON-1333: CMake error if no C++ compiler avaliable
Alan Conway [Tue, 25 Oct 2016 01:15:55 +0000 (21:15 -0400)] 
PROTON-1333: CMake error if no C++ compiler avaliable

Change if() statement to use variable name not quoted ${variable}.

5 years agoPROTON-1332: go: electron client leaking links/sessions
Alan Conway [Tue, 25 Oct 2016 00:41:59 +0000 (20:41 -0400)] 
PROTON-1332: go: electron client leaking links/sessions

Was not calling proton.Link/Session.Free() so links/sessions were never freed
till the connection was closed.

5 years agoPROTON-1331: go: electron.Container.Dial returning (nil, nil)
Alan Conway [Tue, 25 Oct 2016 00:22:25 +0000 (20:22 -0400)] 
PROTON-1331: go: electron.Container.Dial returning (nil, nil)

Scope error, creating new "err" variable instead of setting return variable.

5 years agoPROTON-1324: c++ correct implementation of proton::is_signed<char>
Alan Conway [Thu, 20 Oct 2016 15:52:05 +0000 (11:52 -0400)] 
PROTON-1324: c++ correct implementation of proton::is_signed<char>

This uses std::numeric_limits<char> to get the platform setting, which works on
C++03 and should be portable.

5 years agoPROTON-1322: c++ Sunstudio: unable to find templated method
aboutros [Fri, 7 Oct 2016 15:57:07 +0000 (17:57 +0200)] 
PROTON-1322: c++ Sunstudio: unable to find templated method

Sunstudio can't find templated method when parameter can be constructed by an
intermediate class (proton::scalar --> proton::value)

Signed-off-by: aboutros <adel.boutros@murex.com>
5 years agoPROTON-1312: c++ Sunstudio does not compile "++vector.begin()"
aboutros [Fri, 7 Oct 2016 13:03:59 +0000 (15:03 +0200)] 
PROTON-1312: c++ Sunstudio does not compile "++vector.begin()"

Error message:"Operand for operator "++" must be an lvalue.". We used a local
variable to bypass that.

Signed-off-by: aboutros <adel.boutros@murex.com>
5 years agoPROTON-1320: c++ Add std:: namespace prefix to srand and rand
aboutros [Fri, 7 Oct 2016 12:43:45 +0000 (14:43 +0200)] 
PROTON-1320: c++ Add std:: namespace prefix to srand and rand

Signed-off-by: aboutros <adel.boutros@murex.com>
5 years agoPROTON-1319: C++ SunStudo: Move internal header files of cpp bindings
aboutros [Fri, 7 Oct 2016 10:26:10 +0000 (12:26 +0200)] 
PROTON-1319: C++ SunStudo: Move internal header files of cpp bindings

Sun compiler searches all include paths to build template-DB, creates problems
if from src files are in the path.

Signed-off-by: aboutros <adel.boutros@murex.com>
5 years agoPROTON-1318: c++ SunStudio: Replace variadic constructor
aboutros [Fri, 7 Oct 2016 10:11:58 +0000 (12:11 +0200)] 
PROTON-1318: c++ SunStudio: Replace variadic constructor

Variadic constructor of "sfinae::wildcard" not supported on SunStudio.

Signed-off-by: aboutros <adel.boutros@murex.com>
5 years agoPROTON-1317: c++ SunStudio: Add template parameter
aboutros [Wed, 5 Oct 2016 09:51:54 +0000 (11:51 +0200)] 
PROTON-1317: c++ SunStudio: Add template parameter

SunStudio 12.1 doesn't handle templated method signature detection when using an
"extern c" parameter

Signed-off-by: aboutros <adel.boutros@murex.com>
5 years agoPROTON-1316 Set visibility of exportable symbols on Solaris
aboutros [Fri, 7 Oct 2016 07:47:38 +0000 (09:47 +0200)] 
PROTON-1316 Set visibility of exportable symbols on Solaris

Signed-off-by: aboutros <adel.boutros@murex.com>
5 years agoPROTON-1315: Force compilation in multi-threading mode for Solaris SunStudio
aboutros [Wed, 5 Oct 2016 08:52:18 +0000 (10:52 +0200)] 
PROTON-1315: Force compilation in multi-threading mode for Solaris SunStudio

Signed-off-by: aboutros <adel.boutros@murex.com>
5 years agoPROTON-1314: Fixing SIGPIPE ignore on Solaris OS
aboutros [Wed, 5 Oct 2016 08:38:34 +0000 (10:38 +0200)] 
PROTON-1314: Fixing SIGPIPE ignore on Solaris OS

Signed-off-by: aboutros <adel.boutros@murex.com>
5 years agoPROTON-1325: Python mapping for 'buffer' and/or 'memoryview'
Alan Conway [Wed, 19 Oct 2016 17:20:48 +0000 (13:20 -0400)] 
PROTON-1325: Python mapping for 'buffer' and/or 'memoryview'

Use whichever is available, memoryview is 3.x and some later 2.x, buffer is
older 2.x. Some have both.

5 years agoNO-JIRA: Only try to run java tests if we are building java
Andrew Stitcher [Wed, 19 Oct 2016 16:00:21 +0000 (12:00 -0400)] 
NO-JIRA: Only try to run java tests if we are building java

5 years agoPROTON-1329: remove the TestDecoder class
Robert Gemmell [Wed, 19 Oct 2016 14:13:38 +0000 (15:13 +0100)] 
PROTON-1329: remove the TestDecoder class

5 years agoPROTON-1309: go: set outgoing message window via electron interface.
Alan Conway [Tue, 18 Oct 2016 18:00:35 +0000 (14:00 -0400)] 
PROTON-1309: go: set outgoing message window via electron interface.

Added a session option and IncomingSession setter for outgoing window.

5 years agoNO-JIRA: go: fix parallel build from scratch
Alan Conway [Tue, 18 Oct 2016 17:25:27 +0000 (13:25 -0400)] 
NO-JIRA: go: fix parallel build from scratch

Fixed example build dependencies to ensure the examples are not built
concurrently with the go packages they depend on. This was happening frequently
and causing errors in a parallel build from scratch.

5 years agoPROTON-1325: Python "buffer" type should map to AMQP "binary"
Alan Conway [Fri, 14 Oct 2016 18:24:06 +0000 (14:24 -0400)] 
PROTON-1325: Python "buffer" type should map to AMQP "binary"

Add an automatic mapping from a python buffer object to the AMQP binary type.

In the other direction, AMQP "binary" maps to the python "bytes" or "str" type, as before.

5 years agoNO-JIRA: Oops - typo in previous commit
Andrew Stitcher [Fri, 14 Oct 2016 18:15:50 +0000 (14:15 -0400)] 
NO-JIRA: Oops - typo in previous commit

5 years agoNO-JIRA: Don't build Java on appveyor to avoid CI failure
Andrew Stitcher [Fri, 14 Oct 2016 17:48:12 +0000 (13:48 -0400)] 
NO-JIRA: Don't build Java on appveyor to avoid CI failure
- Appveyor Windows CI never previously build/tested Proton-J.
  Its configuration has changed and it tries to test Proton-J
  but fails, so turning off Java is no problem as we never had this
  working before in any case.

5 years agoPROTON-1327: [Go binding] Replaced c handler based flowcontroller with native go
Andrew Stitcher [Mon, 10 Oct 2016 19:31:25 +0000 (15:31 -0400)] 
PROTON-1327: [Go binding] Replaced c handler based flowcontroller with native go
- The go binding now has no dependency on the proton-c reactor code

5 years agoNO-JIRA: ensure requests are sent as strings with python 2
Gordon Sim [Tue, 11 Oct 2016 13:01:53 +0000 (14:01 +0100)] 
NO-JIRA: ensure requests are sent as strings with python 2

5 years agoPROTON-1323: update the .so major version to 10 for 0.16.0 on master
Robert Gemmell [Mon, 10 Oct 2016 16:43:38 +0000 (17:43 +0100)] 
PROTON-1323: update the .so major version to 10 for 0.16.0 on master

5 years agoPROTON-1323: update notes for releasing
Robert Gemmell [Mon, 10 Oct 2016 16:02:15 +0000 (17:02 +0100)] 
PROTON-1323: update notes for releasing

5 years agoPROTON-1323: bump python docs version metadata on master for 0.16.0
Robert Gemmell [Mon, 10 Oct 2016 15:56:22 +0000 (16:56 +0100)] 
PROTON-1323: bump python docs version metadata on master for 0.16.0

5 years agoPROTON-1323: update versions on master for 0.16.0-SNAPSHOT, inc python bundle version
Robert Gemmell [Mon, 10 Oct 2016 15:28:47 +0000 (16:28 +0100)] 
PROTON-1323: update versions on master for 0.16.0-SNAPSHOT, inc python bundle version

5 years agoPROTON-1313: c++: missing #include <string> in some headers
Alan Conway [Thu, 6 Oct 2016 15:26:16 +0000 (11:26 -0400)] 
PROTON-1313: c++: missing #include <string> in some headers

Several header files that use std::string were missing #include <string>:


5 years agoNO-JIRA: go: minor cleanup in dispatch loop code.
Alan Conway [Thu, 6 Oct 2016 15:08:38 +0000 (11:08 -0400)] 
NO-JIRA: go: minor cleanup in dispatch loop code.

needTick check did not need to be in inner loop.

5 years agoNO-JIRA: Add missing dependencies to INSTALL.md for ruby binding.
Alan Conway [Thu, 29 Sep 2016 13:19:53 +0000 (09:19 -0400)] 
NO-JIRA: Add missing dependencies to INSTALL.md for ruby binding.

5 years agoPROTON-1308: Go: Support Idle Timeout setting in electron Transport
Alan Conway [Wed, 28 Sep 2016 17:00:22 +0000 (13:00 -0400)] 
PROTON-1308: Go: Support Idle Timeout setting in electron Transport

electron.Heartbeat(time.Duration) returns a ConnectionOption that will set the
required heartbeat interval for the remote peer. See electron.Heartbeat
and electron.ConnectionSettings.Heartbeat

NOTE: The term "Heartbeat" was chosen to avoid the ambiguous term
"idle-timeout". Heartbeat *always* refers to the max allowed duration
between *sending* frames. The frame receiver waits for 2*remote-heartbeat before
closing a connection.

5 years agoPROTON-1308: Go: fix typos in some AMQP condition names
Alan Conway [Wed, 28 Sep 2016 15:56:14 +0000 (11:56 -0400)] 
PROTON-1308: Go: fix typos in some AMQP condition names

5 years agoPROTON-1307: go binding amqp.message does not honor Inferred flag
Alan Conway [Tue, 27 Sep 2016 19:03:57 +0000 (15:03 -0400)] 
PROTON-1307: go binding amqp.message does not honor Inferred flag

Applied fix provided by Richard Laos for typo in the SetInferred method.

5 years agoNO-JIRA: Fix delay in some python tests using the EchoServer.
Alan Conway [Tue, 27 Sep 2016 18:50:06 +0000 (14:50 -0400)] 
NO-JIRA: Fix delay in some python tests using the EchoServer.

Server should close on transport_error as well as connection_closing.

6 years agoNO-JIRA: Made go_/cpp_ ctest target names consistent as go-/cpp-
Alan Conway [Tue, 27 Sep 2016 18:40:02 +0000 (14:40 -0400)] 
NO-JIRA: Made go_/cpp_ ctest target names consistent as go-/cpp-

6 years agoPROTON-1306: Go container improvements and client-server example.
Alan Conway [Fri, 9 Sep 2016 16:37:01 +0000 (12:37 -0400)] 
PROTON-1306: Go container improvements and client-server example.

Added convenience ops to Container: Dial and Accept.
Added client-server documentation example.
Added Container.String(), improve other proton String() funcs.

6 years agoNO-JIRA: Fixed missing error checks reported by go-errcheck
Alan Conway [Mon, 12 Sep 2016 20:13:09 +0000 (16:13 -0400)] 
NO-JIRA: Fixed missing error checks reported by go-errcheck

6 years agoPROTON-1293: Go binding SASL support.
Alan Conway [Tue, 6 Sep 2016 17:11:09 +0000 (13:11 -0400)] 
PROTON-1293: Go binding SASL support.

proton package
- added sasl.h to the Go proton wrapper generator.
- capitalized as "SASL" *not* "Sasl", consistent with Go conventions (e.g. URL)
- added SASL() accessor to proton.Transport.
- Engine.Run() extra dispatch and check as pn_connection_engine_read/write_buffer()
  can generate events that close the transport in an auth failure.
- Engine.Id()/String() use transport address to match PN_TRACE_ logs.
- Drop auto-open of engine: let user set security first.

electron package:
- new ConnectionOption: User, Password, VirtualHost, SASLAllowInsecure, SASLAllowedMechs
- global settings with GlobalSASLConfigDir, GobalSASLConfName
- IncomingConnection allows user to accept/reject authenticated incoming connections
- updated & improved documentation
- Endpoint.Sync() synchronous check of endpoint open, to verify authenticated.

Note: Password option takes []byte not string. There is no way to securely erase
a string from memory, an array can be over-written.

6 years agoPROTON-1255: connection_engine separate bind from _init
Alan Conway [Tue, 6 Sep 2016 16:39:36 +0000 (12:39 -0400)] 
PROTON-1255: connection_engine separate bind from _init

SASL/SSL properties must be set on connection and transport *before* the
pn_transport_bind() call, move it out of pn_connection_engine_init() and add
pn_connection_engine_start() that must be called before using the engine but
after security (and other) properties are set.

Updated the Go and C++ engines accordingly.

6 years agoPROTON-1305: Go sporadic test failure in electron_test
Alan Conway [Thu, 8 Sep 2016 23:37:25 +0000 (19:37 -0400)] 
PROTON-1305: Go sporadic test failure in electron_test

Reliably reproduced by:
    . config.sh && go test qpid.apache.org/electron -run TestLinkCloseInterrupt -count 100

Fixed missing error check in receiver.ReceiveTimeout()

6 years agoNO-JIRA: go config.sh added env vars to Go tests directly.
Alan Conway [Wed, 7 Sep 2016 19:04:05 +0000 (15:04 -0400)] 
NO-JIRA: go config.sh added env vars to Go tests directly.

You can run go tests like this:

    . config.sh
    go test qpid.apache.org/...   # All package tests
    go test qpid.apache.org/proton # proton package tests.

6 years agoMerge PROTON-1303
Andrew Stitcher [Fri, 16 Sep 2016 15:56:24 +0000 (11:56 -0400)] 
Merge PROTON-1303
Closes #81

6 years agoPROTON-1303: Comment out examples that give different output for go 1.4 81/head
Andrew Stitcher [Fri, 16 Sep 2016 14:45:22 +0000 (10:45 -0400)] 
PROTON-1303: Comment out examples that give different output for go 1.4

6 years agoPROTON-1303: Use LastIndex instead of LastIndexByte to compile with go 1.4 too
Andrew Stitcher [Thu, 15 Sep 2016 19:14:34 +0000 (15:14 -0400)] 
PROTON-1303: Use LastIndex instead of LastIndexByte to compile with go 1.4 too

6 years agoPROTON-1304: Changed OpenSSL interface code to not need time at all 80/head
Andrew Stitcher [Mon, 12 Sep 2016 18:54:22 +0000 (14:54 -0400)] 
PROTON-1304: Changed OpenSSL interface code to not need time at all
- Used the openssl session client cache without having own cache that needs expiring.