qpid-proton.git
15 months agoPROTON-2367: update version for 0.35.0-rc1 0.35.0 0.35.0-rc1
Robbie Gemmell [Fri, 25 Jun 2021 13:42:55 +0000 (14:42 +0100)] 
PROTON-2367: update version for 0.35.0-rc1

15 months agoPROTON-2324 Support Python 3.9 (#320)
Jiri Daněk [Fri, 25 Jun 2021 10:59:58 +0000 (12:59 +0200)] 
PROTON-2324 Support Python 3.9 (#320)

15 months agoPROTON-2367: bump .so versions after review
Robbie Gemmell [Fri, 25 Jun 2021 10:00:17 +0000 (11:00 +0100)] 
PROTON-2367: bump .so versions after review

15 months agoPROTON-2397: fix to Windows implementation
Cliff Jansen [Thu, 24 Jun 2021 22:34:50 +0000 (15:34 -0700)] 
PROTON-2397: fix to Windows implementation

15 months agoPROTON-2397: test fixes and extra test
Cliff Jansen [Wed, 23 Jun 2021 15:55:03 +0000 (08:55 -0700)] 
PROTON-2397: test fixes and extra test

15 months agoNO-JIRA: Fix "${InstallPrefix}" variable in CI
dreampearl [Tue, 22 Jun 2021 13:30:30 +0000 (19:00 +0530)] 
NO-JIRA: Fix "${InstallPrefix}" variable in CI

This closes #321

15 months agoPROTON-2397: make client TLS connection verification defaults consistent: verify...
Cliff Jansen [Fri, 18 Jun 2021 06:04:21 +0000 (23:04 -0700)] 
PROTON-2397: make client TLS connection verification defaults consistent: verify peer certificate and name

16 months agoNO-JIRA: remove unused script from old jenkins job
Robbie Gemmell [Thu, 27 May 2021 15:18:59 +0000 (16:18 +0100)] 
NO-JIRA: remove unused script from old jenkins job

16 months agoPROTON-2389 Add COMPILE_FLAGS for test_main.cpp (#316)
Jiri Daněk [Wed, 26 May 2021 05:38:27 +0000 (07:38 +0200)] 
PROTON-2389 Add COMPILE_FLAGS for test_main.cpp (#316)

This is needed on RHEL 7, which defaults to -std=c++03, causing compilation failure.

16 months agoPROTON-2389 Update Catch to Catch2 (#315)
Jiri Daněk [Tue, 25 May 2021 20:08:31 +0000 (22:08 +0200)] 
PROTON-2389 Update Catch to Catch2 (#315)

16 months agoPROTON-2387: [C++] Remove support for versions prior to C++11.
Andrew Stitcher [Fri, 21 May 2021 02:15:55 +0000 (22:15 -0400)] 
PROTON-2387: [C++] Remove support for versions prior to C++11.

16 months agoPROTON-2323 Propagate requested version 3.6 from FindPython to FindPythonInterp ...
Jiri Daněk [Thu, 20 May 2021 14:40:21 +0000 (16:40 +0200)] 
PROTON-2323 Propagate requested version 3.6 from FindPython to FindPythonInterp (#313)

16 months agoPROTON-2220 Regenerate test certificates with long expiry (#314)
Jiri Daněk [Tue, 18 May 2021 21:08:00 +0000 (23:08 +0200)] 
PROTON-2220 Regenerate test certificates with long expiry (#314)

16 months agoPROTON-2323: [Python] Remove all Python 2 compatibility code
Andrew Stitcher [Thu, 13 May 2021 21:57:49 +0000 (17:57 -0400)] 
PROTON-2323: [Python] Remove all Python 2 compatibility code

Obviously, from this point the proton library will no longer work with
Python 2.

16 months agoPROTON-2323: [Python] Minimum supported version is Python 3.6
Andrew Stitcher [Thu, 13 May 2021 19:58:24 +0000 (15:58 -0400)] 
PROTON-2323: [Python] Minimum supported version is Python 3.6

Change Tox testing to stop testing Python 2.7, 3.5 and add 3.9. Also
tidied up the way CTest calls tox.

16 months agoPROTON-2377: [cpp] Make tag_counter in sender.cpp atomic
dreampearl [Thu, 22 Apr 2021 11:18:18 +0000 (16:48 +0530)] 
PROTON-2377: [cpp] Make tag_counter in sender.cpp atomic

17 months agoNO-JIRA Workaround Travis CI package installation issues (#311)
Jiri Daněk [Fri, 7 May 2021 16:45:35 +0000 (18:45 +0200)] 
NO-JIRA Workaround Travis CI package installation issues (#311)

17 months agoPROTON-2370: [cpp] An accessor for the delivery tag (#309)
Rakhi Kumari [Thu, 22 Apr 2021 09:33:07 +0000 (15:03 +0530)] 
PROTON-2370: [cpp] An accessor for the delivery tag (#309)

17 months agoPROTON-2375: Small connection_driver API change
Andrew Stitcher [Tue, 16 Mar 2021 20:09:31 +0000 (16:09 -0400)] 
PROTON-2375: Small connection_driver API change

Make connection_driver API more efficient when finishing writes

This allows epoll proactor to efficiently avoid delving directly into
the transport buffers.

Also small small clean ups.

17 months agoPROTON-2321 Add benchmark for pn_data_t initialization from PROTON-2229 (#286)
Jiri Daněk [Mon, 19 Apr 2021 20:32:32 +0000 (22:32 +0200)] 
PROTON-2321 Add benchmark for pn_data_t initialization from PROTON-2229 (#286)

17 months agoPROTON-2357: Improve test coverage in url.cpp (#303)
Rakhi Kumari [Wed, 14 Apr 2021 19:10:05 +0000 (00:40 +0530)] 
PROTON-2357: Improve test coverage in url.cpp (#303)

18 months agoPROTON-2367, PROTON-2300: bump version to 0.35.0-SNAPSHOT
Robbie Gemmell [Tue, 6 Apr 2021 12:12:06 +0000 (13:12 +0100)] 
PROTON-2367, PROTON-2300: bump version to 0.35.0-SNAPSHOT

18 months agoPROTON-2300: update versions for 0.34.0-rc1 0.34.0 0.34.0-rc1
Robbie Gemmell [Tue, 6 Apr 2021 11:11:17 +0000 (12:11 +0100)] 
PROTON-2300: update versions for 0.34.0-rc1

18 months agoPROTON-2354: Fix to the new destructors that works with C++03
Andrew Stitcher [Mon, 5 Apr 2021 21:29:16 +0000 (17:29 -0400)] 
PROTON-2354: Fix to the new destructors that works with C++03

We do still support C++03 and the previous fix had the wrong exception
specification for pre C++11 destructors:

The base exception (std::runtime_error) is specified to not throw any
exeptions so we need to specify the new destructors the same way.
C++11 defaults to non throwing destructors so omitting the exception
specification works there. However earlier C++ doesn't default like this
and so we need to do this explicitly for C++03. The explicit specification
works fine for C++11 as it doesn't actually change anything there.

18 months agoPROTON-2300: update .so versions after review
Robbie Gemmell [Mon, 5 Apr 2021 11:26:00 +0000 (12:26 +0100)] 
PROTON-2300: update .so versions after review

18 months agoPROTON-2355: Definitively fix CMake 2.8.12 incompatibility w/ generexp in add_library...
Jiri Daněk [Fri, 2 Apr 2021 23:57:24 +0000 (01:57 +0200)] 
PROTON-2355: Definitively fix CMake 2.8.12 incompatibility w/ generexp in add_library (#306)

18 months agoPROTON-2355: Fix CMake 2.8.12 incompatibility in the original fix (#305)
Jiri Daněk [Fri, 2 Apr 2021 20:31:59 +0000 (22:31 +0200)] 
PROTON-2355: Fix CMake 2.8.12 incompatibility in the original fix (#305)

18 months agoPROTON-2344: fix Python BlockingConnection resource leaks, memory and socket fds
Cliff Jansen [Fri, 2 Apr 2021 18:46:39 +0000 (11:46 -0700)] 
PROTON-2344: fix Python BlockingConnection resource leaks, memory and socket fds

18 months agoPROTON-2354: Better fix for some 'macOS' test failures
Andrew Stitcher [Fri, 2 Apr 2021 03:07:26 +0000 (23:07 -0400)] 
PROTON-2354: Better fix for some 'macOS' test failures

Actually these failures aren't specific to macOS rather to clang's
libc++ runtime library which is pickier about RTTI information
being exported for excpetion catching and dynamic_cast<>.

18 months agoPROTON-2355: Fix build with -DPROACTOR=none (#302)
Jiri Daněk [Thu, 1 Apr 2021 17:24:33 +0000 (19:24 +0200)] 
PROTON-2355: Fix build with -DPROACTOR=none (#302)

epoll proactor unconditionally uses pthread.h which will result in the
following build failure:

[  3%] Building C object c/CMakeFiles/qpid-proton-proactor-objects.dir/src/proactor/epoll.c.o
In file included from /nvme/rc-buildroot-test/scripts/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll.c:60:
/nvme/rc-buildroot-test/scripts/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll-internal.h:37:10: fatal error: pthread.h: No such file or directory
   37 | #include <pthread.h>
      |          ^~~~~~~~~~~

To fix this failure, the user could use -DPROACTOR=none but it also
fails on:

CMake Error at c/CMakeLists.txt:481 (add_library):
  Error evaluating generator expression:

    $<TARGET_OBJECTS:qpid-proton-proactor-objects>

  Objects of target "qpid-proton-proactor-objects" referenced but no such
  target exists.

Co-authored-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
18 months agoPROTON-2351: allow Travis based OSX runs not to fail the overall job for now, to...
Robbie Gemmell [Thu, 1 Apr 2021 16:46:12 +0000 (17:46 +0100)] 
PROTON-2351: allow Travis based OSX runs not to fail the overall job for now, to help avoid masking issues on other OS runs. GHA MacOS builds will still fail.

18 months agoPROTON-2248: [c] Some code doc fixes
Andrew Stitcher [Fri, 19 Mar 2021 20:10:10 +0000 (16:10 -0400)] 
PROTON-2248: [c] Some code doc fixes

18 months agoPROTON-2354: Fix some macOSX test failures
Andrew Stitcher [Fri, 26 Mar 2021 21:24:31 +0000 (17:24 -0400)] 
PROTON-2354: Fix some macOSX test failures

Also tidy up macOSX options a little.

18 months agoPROTON-2332: [C++] Allow access to link properties (#293)
Pete Fawcett [Wed, 24 Mar 2021 09:59:52 +0000 (09:59 +0000)] 
PROTON-2332: [C++] Allow access to link properties (#293)

Enable setting of link properties via sender and receiver options
Enable querying of link properties set by remote end

18 months agoPROTON-2346: c/src/proactor/epoll-internal.h: fix build on musl (#300)
Jiri Daněk [Tue, 23 Mar 2021 08:00:46 +0000 (09:00 +0100)] 
PROTON-2346: c/src/proactor/epoll-internal.h: fix build on musl (#300)

* PROTON-2346: c/src/proactor/epoll-internal.h: fix build on musl

Build with epoll proactor on musl is broken since at least version 0.23.0 and
https://github.com/apache/qpid-proton/commit/37136940e3077f25ce58c94775f48c66f666f4a8
because musl does not define PTHREAD_MUTEX_ADAPTIVE_NP resulting in the
following build failure:

In file included from /home/giuliobenetti/autobuild/run/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll.c:60:
/home/giuliobenetti/autobuild/run/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll-internal.h: In function 'pmutex_init':
/home/giuliobenetti/autobuild/run/instance-0/output-1/build/qpid-proton-0.33.0/c/src/proactor/epoll-internal.h:319:36: error: 'PTHREAD_MUTEX_ADAPTIVE_NP' undeclared (first use in this function); did you mean 'PTHREAD_MUTEX_STALLED'?
  319 |   pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ADAPTIVE_NP);
      |                                    ^~~~~~~~~~~~~~~~~~~~~~~~~
      |                                    PTHREAD_MUTEX_STALLED

Fixes:
 - http://autobuild.buildroot.org/results/6a901b9ff68b7f52cabf8273d1017025fbd93b0d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
* Update c/src/proactor/epoll-internal.h with explanatory comment

Co-authored-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
18 months agoPROTON-2342 Apply patch for non-constant SIGSTKSZ from Fedora to Catch
Jiri Danek [Sat, 20 Mar 2021 15:48:13 +0000 (16:48 +0100)] 
PROTON-2342 Apply patch for non-constant SIGSTKSZ from Fedora to Catch

https://src.fedoraproject.org/rpms/catch1/c/059104ba87494c0b5ebe16844ec190f253e51cac?branch=rawhide

18 months agoPROTON-2342 Upgrade Catch to v1.12.2
Jiri Danek [Sat, 20 Mar 2021 15:45:49 +0000 (16:45 +0100)] 
PROTON-2342 Upgrade Catch to v1.12.2

https://github.com/catchorg/Catch2/releases/tag/v1.12.2

18 months agoPROTON-2343: Tidy up build flag selection
Andrew Stitcher [Fri, 16 Oct 2020 20:28:46 +0000 (16:28 -0400)] 
PROTON-2343: Tidy up build flag selection

It should now be much clearer what build flags apply to which builds

18 months agoPROTON-2340: Another small fix to raw_echo for Visual Studio C compilers
Andrew Stitcher [Thu, 11 Mar 2021 03:32:18 +0000 (22:32 -0500)] 
PROTON-2340: Another small fix to raw_echo for Visual Studio C compilers

This avoids C99 VLAs and the gnu/clang extension that imitates them.

18 months agoPROTON-2340: Small fixes to raw_echo to avoid warnings
Andrew Stitcher [Thu, 11 Mar 2021 02:03:28 +0000 (21:03 -0500)] 
PROTON-2340: Small fixes to raw_echo to avoid warnings

Also avoid requiring C99.

19 months agoPROTON-2340: Make raw connection echo example multithreaded
Andrew Stitcher [Fri, 5 Mar 2021 03:58:38 +0000 (22:58 -0500)] 
PROTON-2340: Make raw connection echo example multithreaded

WIPWIPWIP: This stops the example exiting cleanly - needs investigation
This helps to expose the TSAN problems

19 months agoPROTON-2340: Fix some TSAN issues in proactor raw connection
Andrew Stitcher [Fri, 5 Mar 2021 03:47:06 +0000 (22:47 -0500)] 
PROTON-2340: Fix some TSAN issues in proactor raw connection

19 months agoPROTON-2338: Removed some unused code that was bothering clang
Andrew Stitcher [Tue, 2 Mar 2021 21:56:26 +0000 (16:56 -0500)] 
PROTON-2338: Removed some unused code that was bothering clang

Also improved the code documentation a little.

19 months agoPROTON-2339: Proactor raw connection: Introduce DRAIN_BUFFERS event
Andrew Stitcher [Wed, 24 Feb 2021 18:24:39 +0000 (13:24 -0500)] 
PROTON-2339: Proactor raw connection: Introduce DRAIN_BUFFERS event

This will supercede the use of READ/WRITTEN events to tell the
application to retrieve its buffers before DISCONNECT.

This more specific event should be clearer in purpose.

For backwards compatibility with existing code, if the application
doesn't drain the buffers in response to the drain event, we will
send the read/written events (as applicable) as well. This behaviour
should be removed when the existing major application (dispatch) is
fixed to use this new event.

19 months agoPROTON-2338:: Added some testing for raw connection half close
Andrew Stitcher [Tue, 23 Feb 2021 22:14:11 +0000 (17:14 -0500)] 
PROTON-2338:: Added some testing for raw connection half close

Unit test half close
Half close write side in raw_connect when writing final message

19 months agoPROTON-2338: Implement proactor raw connection half close operations
Andrew Stitcher [Fri, 12 Feb 2021 02:14:52 +0000 (21:14 -0500)] 
PROTON-2338: Implement proactor raw connection half close operations

The raw connection state machine has been rejigged to encompass half closed
states. The previous separate read/write state booleans have been
combined into a single state. This should allow for clearer connection
state tracking.

19 months agoPROTON-2338: [proactor] Add prototypes for new raw connection half close operations
Andrew Stitcher [Tue, 2 Feb 2021 01:39:06 +0000 (20:39 -0500)] 
PROTON-2338: [proactor] Add prototypes for new raw connection half close operations

- Add stubs for libuv and win_iocp proactor implementations

19 months agoPROTON-2334: fix libuv proactor PN_PROACTOR_INACTIVE event generation
Cliff Jansen [Mon, 22 Feb 2021 17:41:04 +0000 (09:41 -0800)] 
PROTON-2334: fix libuv proactor PN_PROACTOR_INACTIVE event generation

19 months agoPROTON-2322 Fix various flake8 warnings (manual changes) (#289)
Jiri Daněk [Sat, 20 Feb 2021 13:58:51 +0000 (14:58 +0100)] 
PROTON-2322 Fix various flake8 warnings (manual changes) (#289)

* PROTON-2320 Configure and enable flake8 in tox

19 months agoPROTON-2337: epoll proactor - missing lock on variable increment, found by TSAN
Cliff Jansen [Fri, 19 Feb 2021 06:19:58 +0000 (22:19 -0800)] 
PROTON-2337: epoll proactor - missing lock on variable increment, found by TSAN

19 months agoPROTON-2217 Prefer first working Python on PATH, prefer Py3 over Py2 (#294)
Jiri Daněk [Thu, 18 Feb 2021 15:33:48 +0000 (16:33 +0100)] 
PROTON-2217 Prefer first working Python on PATH, prefer Py3 over Py2 (#294)

19 months agoNO-JIRA Upgrade to Clang 11 in .travis.yml (#298)
Jiri Daněk [Thu, 18 Feb 2021 15:32:55 +0000 (16:32 +0100)] 
NO-JIRA Upgrade to Clang 11 in .travis.yml (#298)

19 months agoPROTON-2334: c-fdlimit-tests fix for libuv immediate close connection drain behaviour...
Cliff Jansen [Fri, 12 Feb 2021 18:02:43 +0000 (10:02 -0800)] 
PROTON-2334: c-fdlimit-tests fix for libuv immediate close connection drain behaviour for EMFILE accept() error

19 months agoPROTON-2334: threaderciser test - simultaneous connect and pn_proactor_disconnect()
Cliff Jansen [Fri, 12 Feb 2021 16:33:53 +0000 (08:33 -0800)] 
PROTON-2334: threaderciser test - simultaneous connect and pn_proactor_disconnect()

19 months agoNO-JIRA Add two forgotten test files to the project (#296)
Jiri Daněk [Wed, 10 Feb 2021 18:48:28 +0000 (19:48 +0100)] 
NO-JIRA Add two forgotten test files to the project (#296)

20 months agoPROTON-2329: [C++] ssl example - added bad_option handler.
Thomas Kettenbach [Fri, 22 Jan 2021 15:00:32 +0000 (15:00 +0000)] 
PROTON-2329: [C++] ssl example - added bad_option handler.

20 months agoPROTON-2329: [C++] ssl example - fix option parsing.
Thomas Kettenbach [Fri, 22 Jan 2021 14:46:41 +0000 (14:46 +0000)] 
PROTON-2329: [C++] ssl example - fix option parsing.

20 months agoPROTON-2307: Allow setting of connection properties via connection_options
Pete Fawcett [Wed, 2 Dec 2020 18:56:45 +0000 (18:56 +0000)] 
PROTON-2307: Allow setting of connection properties via connection_options

Allow access to properties on incoming connections

closes #278

20 months agoFix auto_accept doc typo
Jacob Middag [Mon, 25 Jan 2021 12:11:49 +0000 (13:11 +0100)] 
Fix auto_accept doc typo

20 months agoPROTON-2328: epoll proactor, use local variable not zeroed task member to track warm...
Cliff Jansen [Mon, 25 Jan 2021 17:06:29 +0000 (09:06 -0800)] 
PROTON-2328: epoll proactor, use local variable not zeroed task member to track warm pairings

20 months agoPROTON-2326: epoll proactor refactor - make all tasks wakeable in generic manner...
Cliff Jansen [Sun, 24 Jan 2021 19:18:30 +0000 (11:18 -0800)] 
PROTON-2326: epoll proactor refactor - make all tasks wakeable in generic manner.  This closes #290

20 months agoPROTON-2326: epoll proactor refactor - provide proactor as direct argument to notify_...
Cliff Jansen [Thu, 21 Jan 2021 06:33:34 +0000 (22:33 -0800)] 
PROTON-2326: epoll proactor refactor - provide proactor as direct argument to notify_poller(), not indirect via task

20 months agoPROTON-2326: epoll proactor refactor - "schedule" instead of "wake", "task" instead...
Cliff Jansen [Sun, 24 Jan 2021 18:54:21 +0000 (10:54 -0800)] 
PROTON-2326: epoll proactor refactor - "schedule" instead of "wake", "task" instead of "context"

20 months agoPROTON-2327: Fix example build breakage on cmake 2.8.12
Andrew Stitcher [Fri, 22 Jan 2021 15:33:00 +0000 (10:33 -0500)] 
PROTON-2327: Fix example build breakage on cmake 2.8.12

20 months agoNO-JIRA: update year in NOTICE file
Robbie Gemmell [Mon, 18 Jan 2021 16:15:05 +0000 (16:15 +0000)] 
NO-JIRA: update year in NOTICE file

20 months agoPROTON-2319 Remove Python 2.3 and Jython 2.5 compatibility code (#288)
Jiri Daněk [Fri, 15 Jan 2021 14:36:15 +0000 (15:36 +0100)] 
PROTON-2319 Remove Python 2.3 and Jython 2.5 compatibility code (#288)

20 months agoPROTON-2320 Apply second round of autopep8 (--aggressive * 3) (#287)
Jiri Daněk [Fri, 15 Jan 2021 13:52:45 +0000 (14:52 +0100)] 
PROTON-2320 Apply second round of autopep8 (--aggressive * 3) (#287)

20 months agoPROTON-2320 Apply first round of autopep8 (whitespace changes, mostly) (#285)
Jiri Daněk [Thu, 14 Jan 2021 17:36:12 +0000 (18:36 +0100)] 
PROTON-2320 Apply first round of autopep8 (whitespace changes, mostly) (#285)

20 months agoPROTON-2315: [Python] Support multiple connection URLs in the BlockingConnection...
mprahl [Mon, 27 Apr 2020 18:24:21 +0000 (14:24 -0400)] 
PROTON-2315: [Python] Support multiple connection URLs in the BlockingConnection class
- [Originated by mprahl. modified by astitcher]
- closes #243

20 months agoPROTON-2314: [Python] reconnect/failover makeover
Andrew Stitcher [Fri, 18 Dec 2020 21:00:59 +0000 (16:00 -0500)] 
PROTON-2314: [Python] reconnect/failover makeover
- Trivial typos
- Fixed failover to interact more sensibly with reconnect delays
- Added useful keyword parameters to Backoff class
- Allow specification of backoff delay by using an iterator/generator
- Improved connection logging a bit
  - Can now see connection messages without all events
- Remove unused (and now obsolete) address keyword to Container.connect
- Added some failover tests
- Fixed tests to allow logging INFO messages

20 months agoPROTON-2319: A (hopefully) final piece of python 2.6 detritus
Andrew Stitcher [Wed, 13 Jan 2021 20:19:08 +0000 (15:19 -0500)] 
PROTON-2319: A (hopefully) final piece of python 2.6 detritus

 Please enter the commit message for your changes. Lines startin

20 months agoPROTON-2319: Some more leftovers from python 2.6
Andrew Stitcher [Wed, 13 Jan 2021 18:35:55 +0000 (13:35 -0500)] 
PROTON-2319: Some more leftovers from python 2.6

20 months agoPROTON-2319: [Python] Remove code that only exists to support Python 2.6 284/head
Andrew Stitcher [Fri, 8 Jan 2021 18:27:36 +0000 (13:27 -0500)] 
PROTON-2319: [Python] Remove code that only exists to support Python 2.6
- Also modified tox setup to avoid having to modify the file at the cost
  of requiring an environment variable at test time.

20 months agoPROTON-2104 add test for IPv6 in proton::url (#280)
Jiri Daněk [Fri, 8 Jan 2021 06:17:35 +0000 (07:17 +0100)] 
PROTON-2104 add test for IPv6 in proton::url (#280)

20 months agoPROTON-2281 Fix flakiness in ruby-message-spec test (#282)
Jiri Daněk [Fri, 8 Jan 2021 06:14:18 +0000 (07:14 +0100)] 
PROTON-2281 Fix flakiness in ruby-message-spec test (#282)

20 months agoPROTON-2318 Pin simplecov in .travis.yml to resolve gem conflict (#283)
Jiri Daněk [Fri, 8 Jan 2021 06:12:56 +0000 (07:12 +0100)] 
PROTON-2318 Pin simplecov in .travis.yml to resolve gem conflict (#283)

20 months agoPROTON-2311: Fix raw connection test issue on macOSX 10.14
Andrew Stitcher [Fri, 8 Jan 2021 01:29:08 +0000 (20:29 -0500)] 
PROTON-2311: Fix raw connection test issue on macOSX 10.14
- Just avoid using socketpairs outside Linux completely for the test

21 months agoNO-JIRA: github actions CI for macOS disabled threaderciser test due to PROTON-2231.
Roddie Kieley [Fri, 18 Dec 2020 15:32:57 +0000 (12:02 -0330)] 
NO-JIRA: github actions CI for macOS disabled threaderciser test due to PROTON-2231.

21 months agoNO-JIRA: Travis CI macOS lower to Xcode 10.3 on 10.14 and upper to 10.15.
Roddie Kieley [Fri, 18 Dec 2020 15:21:06 +0000 (11:51 -0330)] 
NO-JIRA: Travis CI macOS lower to Xcode 10.3 on 10.14 and upper to 10.15.

21 months agoPROTON-1516: add tests for empty last frame in a streamed message
Cliff Jansen [Mon, 14 Dec 2020 17:59:43 +0000 (09:59 -0800)] 
PROTON-1516: add tests for empty last frame in a streamed message

21 months agoPROTON-1914: early settlement of inbound streamed message. This closes #279
Cliff Jansen [Fri, 11 Dec 2020 18:40:33 +0000 (10:40 -0800)] 
PROTON-1914: early settlement of inbound streamed message.  This closes #279

21 months agoPROTON-1914: early settlement of inbound streamed message. This closes #279
Cliff Jansen [Fri, 11 Dec 2020 18:29:30 +0000 (10:29 -0800)] 
PROTON-1914: early settlement of inbound streamed message.  This closes #279

21 months agoPROTON-2309: [cpp] Improve reconnect logic and examples
Andrew Stitcher [Fri, 11 Dec 2020 06:43:53 +0000 (01:43 -0500)] 
PROTON-2309: [cpp] Improve reconnect logic and examples
- Fix bug in C++ binding that stops it from responding to a forced close from
  its peer with a close frame before closing the socket if reconnect is turned on.
- Added a reconnect option to the simple_send example
- Made reconnect work in simple_connect example

21 months agoPROTON-2237: Minor fix: removed import of skipif in tests/proton_tests/message.py...
Kim van der Riet [Thu, 10 Dec 2020 19:39:39 +0000 (14:39 -0500)] 
PROTON-2237: Minor fix: removed import of skipif in tests/proton_tests/message.py, not used.

21 months agoMerge branch 'python-check-property-keys'
Kim van der Riet [Mon, 7 Dec 2020 18:14:33 +0000 (13:14 -0500)] 
Merge branch 'python-check-property-keys'
Closes PR #256 / PROTON-2237

21 months agoPROTON-2237: Correct checking of Proton message property keys python-check-property-keys 256/head
Kim van der Riet [Tue, 2 Jun 2020 17:16:49 +0000 (13:16 -0400)] 
PROTON-2237: Correct checking of Proton message property keys

PROTON-2237: Alternative approach which converts all child classes of string/unicode to the base class, including proton symbol and char types.

PROTON-2237: Changed logic of key check so that subclasses of string *except* proton.symbol and proton.char will be encoded as strings

PROTON-2237: Added unit tests to check illegal key types are detected and handled, also subclasses of string type keys are converted to type string

PROTON-2237: Finalized handling property keys, added tests for these cases.

PROTON-2237: Fix for dictionary keys changed during iteration error, deeper test for key conversions

PROTON-2237: Final tidy-up of logic and structure, added function doc to explain what is happening.

NO-JIRA: Minor code format fix: added space into if stmt.

PROTON-2237: Rearrange logic so as to avoid python version check. Minor re-arrange of tests.

22 months agoNO-JIRA: readme fixups, also prod CI jobs
Robbie Gemmell [Wed, 2 Dec 2020 10:54:33 +0000 (10:54 +0000)] 
NO-JIRA: readme fixups, also prod CI jobs

22 months agoPROTON-2172: proactor fdlimit test. Should work after PROTON-1496.
Cliff Jansen [Mon, 23 Nov 2020 18:27:47 +0000 (10:27 -0800)] 
PROTON-2172: proactor fdlimit test. Should work after PROTON-1496.

22 months agoPROTON-2300, PROTON-2269: bump version to 0.34.0-SNAPSHOT yet again
Robbie Gemmell [Tue, 17 Nov 2020 12:22:22 +0000 (12:22 +0000)] 
PROTON-2300, PROTON-2269: bump version to 0.34.0-SNAPSHOT yet again

22 months agoPROTON-2269: update version for 0.33.0-rc3 0.33.0 0.33.0-rc3
Robbie Gemmell [Tue, 17 Nov 2020 10:07:57 +0000 (10:07 +0000)] 
PROTON-2269: update version for 0.33.0-rc3

22 months agoPROTON-2304: fix epoll proactor hang removing and replacing same canceled timer at...
Cliff Jansen [Tue, 17 Nov 2020 06:06:07 +0000 (22:06 -0800)] 
PROTON-2304: fix epoll proactor hang removing and replacing same canceled timer at front of timers list repeatedly

22 months agoPROTON-2300, PROTON-2269: bump version to 0.34.0-SNAPSHOT again
Robbie Gemmell [Mon, 16 Nov 2020 14:58:39 +0000 (14:58 +0000)] 
PROTON-2300, PROTON-2269: bump version to 0.34.0-SNAPSHOT again

22 months agoupdate version for 0.33.0-rc2 0.33.0-rc2
Robbie Gemmell [Mon, 16 Nov 2020 13:11:19 +0000 (13:11 +0000)] 
update version for 0.33.0-rc2

22 months agoPROTON-2301: Further fix to raw connection wake crashes
Andrew Stitcher [Fri, 13 Nov 2020 01:17:41 +0000 (20:17 -0500)] 
PROTON-2301: Further fix to raw connection wake crashes

22 months agoPROTON-2300, PROTON-2269: bump version to 0.34.0-SNAPSHOT
Robbie Gemmell [Thu, 12 Nov 2020 13:10:02 +0000 (13:10 +0000)] 
PROTON-2300, PROTON-2269: bump version to 0.34.0-SNAPSHOT

22 months agoupdate version for 0.33.0-rc1 0.33.0-rc1
Robbie Gemmell [Thu, 12 Nov 2020 12:57:50 +0000 (12:57 +0000)] 
update version for 0.33.0-rc1

22 months agoPROTON-2298: Disable default running of c-threaderciser tests, enable only through...
Kim van der Riet [Wed, 11 Nov 2020 22:28:55 +0000 (17:28 -0500)] 
PROTON-2298: Disable default running of c-threaderciser tests, enable only through cmake option

With changes from Robbie (mostly removals). This closes #277.

22 months agoPROTON-2295 avoid broken Go 1.15.3 in macOS CI (#276)
Jiri Daněk [Thu, 12 Nov 2020 11:36:25 +0000 (12:36 +0100)] 
PROTON-2295 avoid broken Go 1.15.3 in macOS CI (#276)

Go 1.15.3 is currently the default on macOS GH Action.

22 months agoPROTON-2269: update .so versions
Robbie Gemmell [Wed, 11 Nov 2020 10:42:58 +0000 (10:42 +0000)] 
PROTON-2269: update .so versions

22 months agoPROTON-2257: Oops! Unrevert changes committed due to bad git hygiene!
Andrew Stitcher [Tue, 10 Nov 2020 22:05:52 +0000 (17:05 -0500)] 
PROTON-2257: Oops! Unrevert changes committed due to bad git hygiene!