qpid-proton.git
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!

22 months agoPROTON-2257: Add back in aliases for renamed functions
Andrew Stitcher [Tue, 10 Nov 2020 18:49:11 +0000 (13:49 -0500)] 
PROTON-2257: Add back in aliases for renamed functions
- This keeps the shared library compatible and so not to change the major version

22 months agoPROTON-2292: backout tsan suppression. Apply fix to forced shutdown code path.
Cliff Jansen [Tue, 10 Nov 2020 17:50:07 +0000 (09:50 -0800)] 
PROTON-2292: backout tsan suppression.  Apply fix to forced shutdown code path.

22 months agoPROTON-2292: update tsan.supp for new epoll proactor timer code
Cliff Jansen [Tue, 10 Nov 2020 07:44:18 +0000 (23:44 -0800)] 
PROTON-2292: update tsan.supp for new epoll proactor timer code

22 months agoPROTON-2293: Add missing dummy pn_raw_connection_close functions
Andrew Stitcher [Tue, 10 Nov 2020 01:31:00 +0000 (20:31 -0500)] 
PROTON-2293: Add missing dummy pn_raw_connection_close functions
- Dummy functions for libuv and iocp proactor implementations

22 months agoPROTON-2292: TSAN failure in epoll_timer.c. Replace missing lock spotted by TSAN...
Cliff Jansen [Mon, 9 Nov 2020 08:25:31 +0000 (00:25 -0800)] 
PROTON-2292: TSAN failure in epoll_timer.c.  Replace missing lock spotted by TSAN and Coverity.

22 months agoPROTON-2293: Stop raw connection wakes from crashing the application
Andrew Stitcher [Thu, 15 Oct 2020 06:04:09 +0000 (02:04 -0400)] 
PROTON-2293: Stop raw connection wakes from crashing the application
- Ensure that the raw connectino is not freed is there is a pending wake.
- Ensure that a wake will not be delivered after the application closes
  the raw connection.
- Ensure that wake events will be delivered before disconnected events
  if both are scheduled to happen.

22 months agoPROTON-2291: Reduce size of epoll proactor connections
Andrew Stitcher [Tue, 20 Oct 2020 23:21:49 +0000 (19:21 -0400)] 
PROTON-2291: Reduce size of epoll proactor connections
- Remove unnecessary proactor back pointer from psocket

22 months agoPROTON-1496: epoll proactor - improved timers implementation with single timerfd...
Cliff Jansen [Sun, 8 Nov 2020 19:56:58 +0000 (11:56 -0800)] 
PROTON-1496: epoll proactor - improved timers implementation with single timerfd kernel resource

22 months agoPROTON-2290: Fix pn_raw_connection_close so that it drains anything already written
Andrew Stitcher [Fri, 6 Nov 2020 02:16:23 +0000 (21:16 -0500)] 
PROTON-2290: Fix pn_raw_connection_close so that it drains anything already written

22 months agoPROTON-2288: Replace C++ TLS certificates with more secure ones to allow tests to...
Andrew Stitcher [Thu, 5 Nov 2020 17:55:25 +0000 (12:55 -0500)] 
PROTON-2288: Replace C++ TLS certificates with more secure ones to allow tests to carry on working

23 months agoPROTON-2229: Try to improve codec performance by reducing unnecessary allocations
Andrew Stitcher [Wed, 21 Oct 2020 18:02:25 +0000 (14:02 -0400)] 
PROTON-2229: Try to improve codec performance by reducing unnecessary allocations

23 months agoNO-JIRA: Split out epoll proactor poller logic to separate routine for readability
Cliff Jansen [Tue, 20 Oct 2020 07:04:13 +0000 (00:04 -0700)] 
NO-JIRA: Split out epoll proactor poller logic to separate routine for readability

23 months agoPROTON-2170: Respect the BUILD_TESTING option to allow the user to disable tests...
Jiri Daněk [Fri, 16 Oct 2020 08:29:31 +0000 (10:29 +0200)] 
PROTON-2170: Respect the BUILD_TESTING option to allow the user to disable tests (#271)

Disable tests if the user sets the standard cmake BUILD_TESTING option to OFF:
https://cmake.org/cmake/help/v3.8/command/add_test.html#command:add_test

Fixes:
 - https://issues.apache.org/jira/browse/PROTON-2170

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Co-authored-by: Jiri Danek <jdanek@redhat.com>
23 months agoPROTON-2171: Re-add accidentally removed add_subdirectory() in c/CMakeLists.txt ...
Jiri Daněk [Fri, 9 Oct 2020 11:19:53 +0000 (13:19 +0200)] 
PROTON-2171: Re-add accidentally removed add_subdirectory() in c/CMakeLists.txt (#273)

23 months agoPROTON-2171: Add BUILD_EXAMPLES option to optionally skip building examples (#272)
Jiri Daněk [Thu, 8 Oct 2020 19:02:28 +0000 (21:02 +0200)] 
PROTON-2171: Add BUILD_EXAMPLES option to optionally skip building examples (#272)

23 months agoPROTON-2233: Remove example CMake bits that won't work in installed example directories
Andrew Stitcher [Wed, 7 Oct 2020 03:09:55 +0000 (23:09 -0400)] 
PROTON-2233: Remove example CMake bits that won't work in installed example directories
- Move running the example tests into tests/examples

23 months agoPROTON-2233: Rearrange C/C++ example CMake files so that they use the recommended...
Andrew Stitcher [Wed, 7 Oct 2020 02:46:54 +0000 (22:46 -0400)] 
PROTON-2233: Rearrange C/C++ example CMake files so that they use the recommended method
- Changed to use modern CMake imported targets
- Rearranged the in build tree CMake config files so the examples can transparently use them

23 months agoPROTON-2278: Events are received after PN_RAW_CONNECTION_DISCONNECTED if connection...
Andrew Stitcher [Wed, 30 Sep 2020 17:31:46 +0000 (13:31 -0400)] 
PROTON-2278: Events are received after PN_RAW_CONNECTION_DISCONNECTED if connection refused
- Change raw_connect to carry on after connections refused
- Add a unit test that replicates the bug
- Small refactor changing an internal API to allow us to fix bug

23 months agoNO-JIRA: Some corrections and clarifications to the raw connection documentation
Andrew Stitcher [Wed, 30 Sep 2020 16:33:51 +0000 (12:33 -0400)] 
NO-JIRA: Some corrections and clarifications to the raw connection documentation

This reverts commit e34388bea9e0cb8aa8ee5031773af55d2e2486ff.

2 years agoPROTON-2277: move comment associated with moved code. grrr
Cliff Jansen [Mon, 21 Sep 2020 16:58:19 +0000 (09:58 -0700)] 
PROTON-2277: move comment associated with moved code.  grrr

2 years agoPROTON-2277: move debug variable memory to separate from net address buffer
Cliff Jansen [Mon, 21 Sep 2020 16:45:14 +0000 (09:45 -0700)] 
PROTON-2277: move debug variable memory to separate from net address buffer

2 years agoPROTON-2277: maintain some extra epoll related state to aid debugging
Cliff Jansen [Fri, 18 Sep 2020 17:51:35 +0000 (10:51 -0700)] 
PROTON-2277: maintain some extra epoll related state to aid debugging

2 years agoNO-JIRA: Fix github action to fail if ctest fails
Andrew Stitcher [Thu, 10 Sep 2020 22:06:18 +0000 (18:06 -0400)] 
NO-JIRA: Fix github action to fail if ctest fails
- Also remove unnecessary ${{ }} evaluations inside if

2 years agoNO-JIRA: allow other matrix sub-jobs to continue to completion
Robbie Gemmell [Thu, 10 Sep 2020 15:28:04 +0000 (16:28 +0100)] 
NO-JIRA: allow other matrix sub-jobs to continue to completion

2 years agoPROTON-2257: Tidy up/finalize SASL plugin API
Andrew Stitcher [Fri, 31 Jul 2020 22:54:34 +0000 (18:54 -0400)] 
PROTON-2257: Tidy up/finalize SASL plugin API
- Make the API naming more consistent after review
- Add extra argument to outcome procesing for the optional binary data

2 years agoPROTON-2234: Python binding to SASL authzid setting
Andrew Stitcher [Thu, 6 Aug 2020 02:54:07 +0000 (22:54 -0400)] 
PROTON-2234: Python binding to SASL authzid setting
- Python unit tests

2 years agoPROTON-2234: Allow setting and retrieving SASL authzid on clients/servers
Andrew Stitcher [Tue, 14 Jul 2020 22:15:14 +0000 (18:15 -0400)] 
PROTON-2234: Allow setting and retrieving SASL authzid on clients/servers

2 years agoPROTON-2270 remove explicit threaderciser test timeout; set a global one for Travis...
Jiri Daněk [Wed, 26 Aug 2020 19:27:09 +0000 (21:27 +0200)] 
PROTON-2270 remove explicit threaderciser test timeout; set a global one for Travis (#270)

2 years agoPROTON-2268: Revert erroneous change in proton version
Andrew Stitcher [Fri, 21 Aug 2020 00:19:42 +0000 (20:19 -0400)] 
PROTON-2268: Revert erroneous change in proton version

2 years agoPROTON-2268: Fix the fix so it works everywhere
Andrew Stitcher [Thu, 20 Aug 2020 19:47:44 +0000 (15:47 -0400)] 
PROTON-2268: Fix the fix so it works everywhere

2 years agoPROTON-2269, PROTON-2201: update versions for 0.33.0-SNAPSHOT
Robbie Gemmell [Thu, 20 Aug 2020 08:13:11 +0000 (09:13 +0100)] 
PROTON-2269, PROTON-2201: update versions for 0.33.0-SNAPSHOT

2 years agoPROTON-2201: update versions for 0.32.0-rc1 0.32.0 0.32.0-rc1
Robbie Gemmell [Thu, 20 Aug 2020 08:11:27 +0000 (09:11 +0100)] 
PROTON-2201: update versions for 0.32.0-rc1

2 years agoPROTON-2268: Fix Threadercizer warning which fails to build on FreeBSD
Andrew Stitcher [Thu, 20 Aug 2020 02:29:35 +0000 (22:29 -0400)] 
PROTON-2268: Fix Threadercizer warning which fails to build on FreeBSD

2 years agoPROTON-2265: Ensure that clang builds work:
Andrew Stitcher [Tue, 18 Aug 2020 20:24:05 +0000 (16:24 -0400)] 
PROTON-2265: Ensure that clang builds work:
- Align proton CI build with dispatch CI build
- Install llvm linking bits for focal to make clang work with lto

2 years agoPROTON-2265: Fix cmake builds with old cmake version (2.8.12)
Andrew Stitcher [Tue, 18 Aug 2020 14:31:23 +0000 (10:31 -0400)] 
PROTON-2265: Fix cmake builds with old cmake version (2.8.12)
- Fixed some compile warnings that error out on gcc 4.4
- Fixed some incorrect printf formatting codes causing Visual Studio warnings

2 years agoMerge branch 'array-of-lists-first-list-empty'
Kim van der Riet [Tue, 18 Aug 2020 12:58:41 +0000 (08:58 -0400)] 
Merge branch 'array-of-lists-first-list-empty'
PR#263
PROTON-2244: Fix for Array of lists with first list empty encoding

2 years agoPROTON-2244: Fix for Array of lists with first list empty encoding array-of-lists-first-list-empty 263/head
Kim van der Riet [Wed, 1 Jul 2020 16:15:04 +0000 (12:15 -0400)] 
PROTON-2244: Fix for Array of lists with first list empty encoding

PROTON-2244: Correction on previous fix, prevent zero-length array encoding for all array memebers of an array

PROTON-2244: Minor correction to comment text

PROTON-2244: Added a set of array encode-decode tests for Data.Array, including a array of lists test which catches this bug.

PROTON-2244: Removed array codec tests from Python to C/C++ tests as requested

PROTON-2244: Removed debug statements erroneously left in code from previous commit

PROTON-2244: Fix for non-linux compilers and non-portable float types

PROTON-2244: Further improvements to array check: fail if error during encoding or decoding

PROTON-2244: Added tests for arrays of char and decimal32/64/128.

PROTON-2244: Added some additional arrays of list test cases

PROTON-2244: Removed array tests of all but array of lists, as this is the issue. The consensus is that we need to make the tests compare encoded bytes with expected encoded bytes, not perform an encode/decode comparison as these tests do at present. This should be done at a later time.

NO_JIRA: Removed header files which are no longer used in c/tests/data_test.cpp

2 years agoPROTON-2201: bump .so versions following review
Robbie Gemmell [Thu, 13 Aug 2020 15:54:11 +0000 (16:54 +0100)] 
PROTON-2201: bump .so versions following review

2 years agoPROTON-2247: Work on raw echo to improve output and add some wakes 265/head
Andrew Stitcher [Wed, 10 Jun 2020 03:22:26 +0000 (23:22 -0400)] 
PROTON-2247: Work on raw echo to improve output and add some wakes

2 years agoPROTON-2247: Epoll implementation of raw connection API
Andrew Stitcher [Fri, 19 Jun 2020 18:00:16 +0000 (14:00 -0400)] 
PROTON-2247: Epoll implementation of raw connection API

2 years agoPROTON-2247: Tests for common raw connection code
Andrew Stitcher [Thu, 12 Mar 2020 18:30:27 +0000 (14:30 -0400)] 
PROTON-2247: Tests for common raw connection code

2 years agoPROTON-2247: Common raw connection implementation:
Andrew Stitcher [Mon, 22 Jun 2020 17:36:10 +0000 (13:36 -0400)] 
PROTON-2247: Common raw connection implementation:
- Buffer management
- Read/Write logic
- Stubbed out implementation specific code

2 years agoPROTON-2247: Raw connections API for the proactor
Andrew Stitcher [Thu, 23 Jan 2020 20:46:15 +0000 (15:46 -0500)] 
PROTON-2247: Raw connections API for the proactor
- API defined in header files
- Simple test applicationis derived from the direct.c example

2 years agoPROTON-2226: remove assertion check that generates false positive
Cliff Jansen [Tue, 11 Aug 2020 15:37:36 +0000 (08:37 -0700)] 
PROTON-2226: remove assertion check that generates false positive

2 years agoPROTON-2258: mark pn_work_head(), pn_work_next(), and Python equivalents as deprecated.
Cliff Jansen [Fri, 7 Aug 2020 00:03:03 +0000 (17:03 -0700)] 
PROTON-2258: mark pn_work_head(), pn_work_next(), and Python equivalents as deprecated.

2 years agoPROTON-335: Add access to link attach properties (C and Python)
Kenneth Giusti [Mon, 8 Jun 2020 02:10:11 +0000 (22:10 -0400)] 
PROTON-335: Add access to link attach properties (C and Python)
  pn_link_properties()
  pn_link_remote_properties()

This closes #260.

2 years agoPROTON-2253: rename workflow, remove restrictions on branches
Robbie Gemmell [Mon, 27 Jul 2020 12:25:33 +0000 (13:25 +0100)] 
PROTON-2253: rename workflow, remove restrictions on branches

2 years agoNO-JIRA: Attempt to fix swig and jsoncpp for azure windows build
Andrew Stitcher [Thu, 23 Jul 2020 21:02:01 +0000 (17:02 -0400)] 
NO-JIRA: Attempt to fix swig and jsoncpp for azure windows build
- Change python version to one that works for builds on all OSes
- Turns out that the choco swig 4.0.2 is broken

2 years agoPROTON-2253: Introduce simple github actions CI
Andrew Stitcher [Fri, 24 Jul 2020 03:32:30 +0000 (23:32 -0400)] 
PROTON-2253: Introduce simple github actions CI

This is a simple CI job triggered by pushes to master and pull requests against
master it builds and tests on Ubuntu/Windows/macOS. It also produces some output
artifacts which have the install area and the generated python packages.

- Using python 3.6 as this is the version that works on all platforms tested
- Have to fix windows chocolately swig to 4.0.1 as 4.0.2 choco package is broken
- Disable ruby build on macOS due to some version mismatch issue

2 years agoPROTON-2208: Fix static library build
Andrew Stitcher [Tue, 21 Jul 2020 18:37:33 +0000 (14:37 -0400)] 
PROTON-2208: Fix static library build
- Also fix long standing fuzz test failure with static build
- Also allow link time optimization for Clang and MSVC

2 years agoPROTON-2208: Final (hopefully) fixes to get RHEL6/7 to compile
Andrew Stitcher [Fri, 17 Jul 2020 21:35:00 +0000 (17:35 -0400)] 
PROTON-2208: Final (hopefully) fixes to get RHEL6/7 to compile

2 years agoPROTON-2208: Fix threaderciser colateral damage
Andrew Stitcher [Fri, 17 Jul 2020 18:28:40 +0000 (14:28 -0400)] 
PROTON-2208: Fix threaderciser colateral damage

2 years agoPROTON-2208: Stupid typo
Andrew Stitcher [Fri, 17 Jul 2020 17:08:01 +0000 (13:08 -0400)] 
PROTON-2208: Stupid typo

2 years agoPROTON-2208: More simplification/fixing to build files
Andrew Stitcher [Fri, 17 Jul 2020 15:26:32 +0000 (11:26 -0400)] 
PROTON-2208: More simplification/fixing to build files
- Cmake versions pre version 3 should work now

2 years agoPROTON-2208/PROTON-2080: More C99 changes
Andrew Stitcher [Thu, 16 Jul 2020 00:29:28 +0000 (20:29 -0400)] 
PROTON-2208/PROTON-2080: More C99 changes
- Some changes now that all supported compilers support enough C++11

2 years agoPROTON-2207/PROTON-2080: More changes that rely on a C99 minimum compiler version.
Andrew Stitcher [Tue, 14 Jul 2020 21:24:00 +0000 (17:24 -0400)] 
PROTON-2207/PROTON-2080: More changes that rely on a C99 minimum compiler version.
- This should fix the issue with -Wformat-security as we no longer ever specify -Wno-format
  for C (but still need to for C++ as we still support pre C++11)

2 years agoPROTON-2246: Fix merge casualty of pn_netaddr restructure HEAD
Andrew Stitcher [Mon, 13 Jul 2020 17:29:47 +0000 (13:29 -0400)] 
PROTON-2246: Fix merge casualty of pn_netaddr restructure

2 years agoPROTON-2222 Fix undefined variable `x` in scripts/env.py (#268)
Jiri Daněk [Sun, 12 Jul 2020 12:14:16 +0000 (14:14 +0200)] 
PROTON-2222 Fix undefined variable `x` in scripts/env.py (#268)

2 years agoPROTON-2252 Fix Coverity warning of buffer overrun in pn_proactor_addr (#267)
Jiri Daněk [Sat, 11 Jul 2020 11:40:05 +0000 (13:40 +0200)] 
PROTON-2252 Fix Coverity warning of buffer overrun in pn_proactor_addr (#267)

2 years agoPROTON-2125: suppress annoying deprecation warning from Minitest (#266)
Jiri Daněk [Sat, 11 Jul 2020 11:07:07 +0000 (13:07 +0200)] 
PROTON-2125: suppress annoying deprecation warning from Minitest (#266)

2 years agoPROTON-2219 Upgrade .travis.yml to test on a good cross-section of Ubuntu versions...
Jiri Daněk [Sat, 11 Jul 2020 10:29:42 +0000 (12:29 +0200)] 
PROTON-2219 Upgrade .travis.yml to test on a good cross-section of Ubuntu versions (#246)

2 years agoPROTON-2207/PROTON-2208: Remove vestiges of compiling with pre C99 compilers
Andrew Stitcher [Fri, 10 Jul 2020 21:32:39 +0000 (17:32 -0400)] 
PROTON-2207/PROTON-2208: Remove vestiges of compiling with pre C99 compilers
- Including a long unused internal replacement for atoll

2 years agoPROTON-2208: Remove ability to compile proton-c as C++
Andrew Stitcher [Fri, 10 Jul 2020 21:10:57 +0000 (17:10 -0400)] 
PROTON-2208: Remove ability to compile proton-c as C++
- No longer needed with windows minimum VS2015 as it supports sufficient C99
  to compile proton-c as C.

2 years agoPROTON-2077 Remove pni_snprintf; not needed with Visual Studio 2015 and up
Jiri Danek [Tue, 5 May 2020 16:14:11 +0000 (18:14 +0200)] 
PROTON-2077 Remove pni_snprintf; not needed with Visual Studio 2015 and up

This fixes overflow issue found earlier by Coverity in pni_snprintf.

2 years agoPROTON-2246: Restructure pn_netaddr implementation internals
Andrew Stitcher [Wed, 8 Apr 2020 22:47:12 +0000 (18:47 -0400)] 
PROTON-2246: Restructure pn_netaddr implementation internals
- This allows pn_netaddr internal APIs to be used in multiple
  files.

2 years agoPROTON-2250: Rearrange epoll locks to avoid locking in one place and unlocking in...
Andrew Stitcher [Wed, 6 May 2020 18:37:13 +0000 (14:37 -0400)] 
PROTON-2250: Rearrange epoll locks to avoid locking in one place and unlocking in another

2 years agoPROTON-2077: Update Azure pipeline build to build VS2019 as well
Andrew Stitcher [Fri, 10 Jul 2020 02:56:08 +0000 (22:56 -0400)] 
PROTON-2077: Update Azure pipeline build to build VS2019 as well

2 years agoPROTON-2077: Test with VS 2015, 17 and 19 in .appveyor.yml
Jiri Danek [Fri, 10 Jul 2020 02:24:25 +0000 (22:24 -0400)] 
PROTON-2077: Test with VS 2015, 17 and 19 in .appveyor.yml

This borrows from changes originally proposed in GitHub PR #200.

This closes #249

2 years agoPROTON-2077: Get Windows code to build as C99 not C++
Andrew Stitcher [Fri, 8 May 2020 22:57:42 +0000 (18:57 -0400)] 
PROTON-2077: Get Windows code to build as C99 not C++

2 years agoPROTON-2077: The win_iocp code is really C++
Andrew Stitcher [Fri, 1 May 2020 20:32:51 +0000 (16:32 -0400)] 
PROTON-2077: The win_iocp code is really C++
- This allows the windows code to compile as C99 with the VS compilers that support that

2 years agoPROTON-2077: Update documentation for changed Windows minimum requirements
Andrew Stitcher [Mon, 6 Jul 2020 17:37:48 +0000 (13:37 -0400)] 
PROTON-2077: Update documentation for changed Windows minimum requirements

2 years agoPROTON-2235 set threaderciser test timeout and modernize compilation (#262)
Jiri Daněk [Thu, 9 Jul 2020 15:26:16 +0000 (17:26 +0200)] 
PROTON-2235 set threaderciser test timeout and modernize compilation (#262)

2 years agoNO-JIRA: Small proton-c documentation fixes
Andrew Stitcher [Thu, 9 Jul 2020 00:53:39 +0000 (20:53 -0400)] 
NO-JIRA: Small proton-c documentation fixes

2 years agoNO-JIRA: Some small fixes to proton-c documentation
Andrew Stitcher [Thu, 9 Jul 2020 00:23:48 +0000 (20:23 -0400)] 
NO-JIRA: Some small fixes to proton-c documentation

2 years agoPROTON-2220 fix cleanup in test_broker @contextmanager (#264)
Jiri Daněk [Thu, 2 Jul 2020 12:05:29 +0000 (14:05 +0200)] 
PROTON-2220 fix cleanup in test_broker @contextmanager (#264)

Python context managers propagate thrown exceptions out of their `yield` statement.
If the test broker is to be always stopped, a finally block is necessary.

2 years agoPROTON-2240: epoll proactor - fix cases where a fired timer is not rearmed as expected
Cliff Jansen [Thu, 18 Jun 2020 05:53:07 +0000 (22:53 -0700)] 
PROTON-2240: epoll proactor - fix cases where a fired timer is not rearmed as expected

2 years agoPROTON-2220: smarter accounting for file descriptors in tests (#259)
Jiri Daněk [Tue, 9 Jun 2020 13:23:39 +0000 (15:23 +0200)] 
PROTON-2220: smarter accounting for file descriptors in tests (#259)

2 years agoPROTON-2225: adjust valgrind.supp for yet another form of threaderciser leak (#258)
Jiri Daněk [Sat, 6 Jun 2020 15:59:41 +0000 (17:59 +0200)] 
PROTON-2225: adjust valgrind.supp for yet another form of threaderciser leak (#258)

2 years agoPROTON-1800: issue not completely fixed, ignore the failing test (#253)
Jiri Daněk [Tue, 2 Jun 2020 14:15:35 +0000 (16:15 +0200)] 
PROTON-1800: issue not completely fixed, ignore the failing test (#253)

2 years agoPROTON-2225: adjust valgrind.supp to cover both forms of the leak (#252)
Jiri Daněk [Thu, 28 May 2020 17:47:16 +0000 (19:47 +0200)] 
PROTON-2225: adjust valgrind.supp to cover both forms of the leak (#252)

2 years agoPROTON-2220 [python] fix new tests that proved to be flaky (#251)
Jiri Daněk [Tue, 26 May 2020 21:54:46 +0000 (23:54 +0200)] 
PROTON-2220 [python] fix new tests that proved to be flaky (#251)

2 years agoPROTON-2225: compile c-threaderciser with COMPILE_LANGUAGE_FLAGS (#250)
Jiri Daněk [Tue, 26 May 2020 20:11:52 +0000 (22:11 +0200)] 
PROTON-2225: compile c-threaderciser with COMPILE_LANGUAGE_FLAGS (#250)

2 years agoPROTON-2228: pn_listener_close doesn't correctly close the listener fds
Andrew Stitcher [Fri, 22 May 2020 07:10:54 +0000 (03:10 -0400)] 
PROTON-2228: pn_listener_close doesn't correctly close the listener fds

2 years agoPROTON-2220 [python] add tests for leak issues, mostly in BlockingConnection
Jiri Danek [Fri, 21 Feb 2020 10:29:03 +0000 (11:29 +0100)] 
PROTON-2220 [python] add tests for leak issues, mostly in BlockingConnection

2 years agoPROTON-2181 in tests/py/test_unittest.py, try unittest, then unittest2, otherwise...
Jiri Danek [Fri, 21 Feb 2020 10:17:45 +0000 (11:17 +0100)] 
PROTON-2181 in tests/py/test_unittest.py, try unittest, then unittest2, otherwise monkeypatch

2 years agoPROTON-2221 Add coverage reporting for the Ruby binding (#130)
Jirka Daněk [Fri, 22 May 2020 20:55:13 +0000 (22:55 +0200)] 
PROTON-2221 Add coverage reporting for the Ruby binding (#130)

Co-authored-by: Jiri Danek <jdanek@redhat.com>
2 years agoPROTON-2225: enable threaderciser by default, suppress race checkers (#247)
Jiri Daněk [Fri, 22 May 2020 18:26:41 +0000 (20:26 +0200)] 
PROTON-2225: enable threaderciser by default, suppress race checkers (#247)

* NO-JIRA: specify explicitly the compiler used on macOS

On Travis on macOS, gcc is aliased to clang. This way, we won't
have a misleading line in Travis report about the compiler.

* PROTON-2225: enable threaderciser by default, suppress race checkers

2 years agoPROTON-2215: Windows build fails if CMAKE_MODULE_PATH is not empty (#141)
Matthieu [Mon, 18 May 2020 14:54:49 +0000 (15:54 +0100)] 
PROTON-2215: Windows build fails if CMAKE_MODULE_PATH is not empty (#141)

The previously used CMAKE_MODULE_PATH is actually a list of directories,
and therefore should not be used here.

Co-authored-by: Matthieu Longo <matthieu.longo@murex.com>
Co-authored-by: Jiri Danek <jdanek@redhat.com>
2 years agoPROTON-220: Google Benchmark proton-c and proton-cpp microbenchmarks (#211)
Jirka Daněk [Tue, 12 May 2020 11:52:43 +0000 (13:52 +0200)] 
PROTON-220: Google Benchmark proton-c and proton-cpp microbenchmarks (#211)