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

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)

2 years agoPROTON-2199 fix memory leak in C++ object inspect (#244)
Jiri Daněk [Tue, 12 May 2020 09:20:20 +0000 (11:20 +0200)] 
PROTON-2199 fix memory leak in C++ object inspect (#244)

2 years agoPROTON-2201, PROTON-2154: update versions for 0.32.0-SNAPSHOT
Robbie Gemmell [Thu, 7 May 2020 15:02:36 +0000 (16:02 +0100)] 
PROTON-2201, PROTON-2154: update versions for 0.32.0-SNAPSHOT

2 years agoPROTON-2154: update version for 0.31.0-rc3 0.31.0 0.31.0-rc3
Robbie Gemmell [Thu, 7 May 2020 14:57:23 +0000 (15:57 +0100)] 
PROTON-2154: update version for 0.31.0-rc3

2 years agoPROTON-2211: fix fd leak on connections in new epoll proactor implementation
Cliff Jansen [Thu, 7 May 2020 14:33:16 +0000 (07:33 -0700)] 
PROTON-2211: fix fd leak on connections in new epoll proactor implementation

2 years agoPROTON-2201, PROTON-2154: update versions for 0.32.0-SNAPSHOT
Robbie Gemmell [Fri, 1 May 2020 14:57:18 +0000 (15:57 +0100)] 
PROTON-2201, PROTON-2154: update versions for 0.32.0-SNAPSHOT

2 years agoPROTON-2154: update versions for 0.31.0-rc2 0.31.0-rc2
Robbie Gemmell [Fri, 1 May 2020 14:51:22 +0000 (15:51 +0100)] 
PROTON-2154: update versions for 0.31.0-rc2

2 years agoPROTON-2203: fix duplicate listener socket rearming and rationalize rearming locking
Cliff Jansen [Fri, 1 May 2020 05:47:17 +0000 (22:47 -0700)] 
PROTON-2203: fix duplicate listener socket rearming and rationalize rearming locking

2 years agoPROTON-2201, PROTON-2154: drop version back to 0.31.0-SNAPSHOT
Robbie Gemmell [Tue, 28 Apr 2020 15:16:47 +0000 (16:16 +0100)] 
PROTON-2201, PROTON-2154: drop version back to 0.31.0-SNAPSHOT

This reverts commits c2384ecdc7b7490fa2ed95fc121d8188122661e3 and b6532632d6b0877136621daeba55b2e105d810d2.

2 years agoPROTON-2201, PROTON-2154: update versions for 0.32.0-SNAPSHOT
Robbie Gemmell [Tue, 28 Apr 2020 10:44:11 +0000 (11:44 +0100)] 
PROTON-2201, PROTON-2154: update versions for 0.32.0-SNAPSHOT

2 years agoPROTON-2154: update versions for 0.31.0-rc1 0.31.0-rc1
Robbie Gemmell [Tue, 28 Apr 2020 10:42:10 +0000 (11:42 +0100)] 
PROTON-2154: update versions for 0.31.0-rc1

2 years agoPROTON-2154: fixup
Robbie Gemmell [Tue, 28 Apr 2020 10:39:31 +0000 (11:39 +0100)] 
PROTON-2154: fixup

2 years agoPROTON-2154: bump so versions based on review with Andrew
Robbie Gemmell [Tue, 28 Apr 2020 10:15:40 +0000 (11:15 +0100)] 
PROTON-2154: bump so versions based on review with Andrew

2 years agoPROTON-2200 fix go message unmarshal memory leak (#231)
d98762625 [Mon, 27 Apr 2020 09:30:13 +0000 (10:30 +0100)] 
PROTON-2200 fix go message unmarshal memory leak (#231)

2 years agoPROTON 2134 Run sanitizers on bionic, forgot to wrap some ruby examples, disable...
Jiri Danek [Thu, 7 Nov 2019 22:28:12 +0000 (23:28 +0100)] 
PROTON 2134 Run sanitizers on bionic, forgot to wrap some ruby examples, disable failing

2 years agoPROTON-2134 Workaround for dynamic linking of libasan in travis
Jiri Danek [Thu, 7 Nov 2019 19:44:53 +0000 (20:44 +0100)] 
PROTON-2134 Workaround for dynamic linking of libasan in travis

2 years agoPROTON-2134 Enable asan in Travis CI with proton-python binding
Jiri Danek [Thu, 7 Nov 2019 15:48:15 +0000 (16:48 +0100)] 
PROTON-2134 Enable asan in Travis CI with proton-python binding

The lsan suppressions for python binary is needed due to warnings like

    27: Direct leak of 4832 byte(s) in 137 object(s) allocated from:
    27:     #0 0x7f53059be961 in realloc (/usr/lib/x86_64-linux-gnu/libasan.so.2+0x98961)
    27:     #1 0x49522b  (/usr/bin/python2.7+0x49522b)

2 years agoPROTON-2133 Add and populate tsan suppressions and add tsan job in travis
Jiri Danek [Thu, 7 Nov 2019 12:50:54 +0000 (13:50 +0100)] 
PROTON-2133 Add and populate tsan suppressions and add tsan job in travis

* lowercase the test_env CMake variable where it was previously uppercase
* add the ${PN_ENV_SCRIPT} to every test command that uses ${test_env}

Otherwise I'd get

    Could not find executable TSAN_OPTIONS=second_deadlock_stack=1 suppressions=/home/jdanek/repos/qpid/qpid-proton/tests/tsan.supp
    Looked in the following places:
    TSAN_OPTIONS=second_deadlock_stack=1 suppressions=/home/jdanek/repos/qpid/qpid-proton/tests/tsan.supp
    ...

2 years agoPROTON-1675 [cpp] Attempt to listen on invalid URL will not throw exception (#238)
Jiri Daněk [Sat, 25 Apr 2020 17:32:09 +0000 (17:32 +0000)] 
PROTON-1675 [cpp] Attempt to listen on invalid URL will not throw exception (#238)

2 years agoNO-JIRA: bring developer documentation up to date (#241)
Jiri Daněk [Sat, 25 Apr 2020 16:27:50 +0000 (16:27 +0000)] 
NO-JIRA: bring developer documentation up to date (#241)

2 years agoNO-JIRA: Convenience fixes to gitignore
Andrew Stitcher [Fri, 24 Apr 2020 20:42:50 +0000 (16:42 -0400)] 
NO-JIRA: Convenience fixes to gitignore

2 years agoPROTON-2195: Introduce stub pn_event_batch_connection_driver for backward ABI compat
Andrew Stitcher [Fri, 24 Apr 2020 17:59:32 +0000 (13:59 -0400)] 
PROTON-2195: Introduce stub pn_event_batch_connection_driver for backward ABI compat

2 years agoPROTON-2172: temporarily disable test pending proper epoll timers fix
Cliff Jansen [Thu, 23 Apr 2020 18:48:14 +0000 (11:48 -0700)] 
PROTON-2172: temporarily disable test pending proper epoll timers fix

2 years agoPROTON-2130: Really fix include files
Andrew Stitcher [Thu, 23 Apr 2020 14:47:49 +0000 (10:47 -0400)] 
PROTON-2130: Really fix include files

2 years agoPROTON-2130: Rework epoll process logic to switch on type of context
Andrew Stitcher [Thu, 23 Apr 2020 02:27:21 +0000 (22:27 -0400)] 
PROTON-2130: Rework epoll process logic to switch on type of context

2 years agoPROTON-2130: swap include file ordering for PROTON-2195/2196, trim trailing whitespace
Cliff Jansen [Thu, 23 Apr 2020 05:21:21 +0000 (22:21 -0700)] 
PROTON-2130: swap include file ordering for PROTON-2195/2196, trim trailing whitespace

2 years agoPROTON-2130: more epoll reworking:
Andrew Stitcher [Fri, 27 Mar 2020 22:31:32 +0000 (18:31 -0400)] 
PROTON-2130: more epoll reworking:
- Rework queued accepts so that we do multiple at once
- This should allow app to accept new connections a little
  more efficiently.
- We limit the number of accepted connections to the specified backlog
- If the app doesn't accept all the connections in a single batch
  we don't rearm the listener until they do, as a form of accept flow control.

2 years agoPROTON-2130: Substantially reduce memory use for proactor connections
Andrew Stitcher [Tue, 7 Apr 2020 18:12:42 +0000 (14:12 -0400)] 
PROTON-2130: Substantially reduce memory use for proactor connections

2 years agoPROTON-2130: epoll reworking:
Andrew Stitcher [Fri, 20 Mar 2020 03:35:36 +0000 (23:35 -0400)] 
PROTON-2130: epoll reworking:
- Only keep fd in epoll_extended_t remove from ptimer_t, psocket_t
- Remove backpointers and consistently use structure embedding to go from:
  psocket->pconnection;
  psocket->pn_listener;
  psocket->acceptor;
  pcontext->pconnection;
  pcontext->pn_listener;
  pn_event_batch->pn_proactor;
  pn_batch_event->pn_listener;
  pn_batch_event->pconnection;
- Move address string from being stored in psocket to being stored in pconnection and
  pn_listener - saves strings for multiple listening sockets
- Rationalise post_event by switching on event types instead of the previous ad hoc
  event type detection.

2 years agoPROTON-2130: Split out structs from epoll.c to make it easier to mess with them
Andrew Stitcher [Mon, 16 Mar 2020 17:09:05 +0000 (13:09 -0400)] 
PROTON-2130: Split out structs from epoll.c to make it easier to mess with them

2 years agoPROTON-2130: epoll proactor race/deadlock fixes
Cliff Jansen [Wed, 11 Dec 2019 18:19:08 +0000 (10:19 -0800)] 
PROTON-2130: epoll proactor race/deadlock fixes

2 years agoPROTON-2130: epoll proactor io bytes accounting fix for shutdown and error
Cliff Jansen [Mon, 2 Dec 2019 17:42:59 +0000 (09:42 -0800)] 
PROTON-2130: epoll proactor io bytes accounting fix for shutdown and error

2 years agoPROTON-2130: epoll proactor: fix unwritten output bytes, pick up PROTON-2030 and...
Cliff Jansen [Mon, 2 Dec 2019 17:27:22 +0000 (09:27 -0800)] 
PROTON-2130: epoll proactor: fix unwritten output bytes, pick up PROTON-2030 and PROTON-2131

2 years agoPROTON-2130: epoll proactor changed to use serialized calls to epoll_wait for multipl...
Cliff Jansen [Thu, 7 Nov 2019 08:55:50 +0000 (00:55 -0800)] 
PROTON-2130: epoll proactor changed to use serialized calls to epoll_wait for multiple events

2 years agoPROTON-2196: Small proactor tidy ups
Andrew Stitcher [Thu, 23 Apr 2020 02:25:29 +0000 (22:25 -0400)] 
PROTON-2196: Small proactor tidy ups

2 years agoPROTON-2196: Small proactor tidy ups
Andrew Stitcher [Thu, 23 Apr 2020 02:25:29 +0000 (22:25 -0400)] 
PROTON-2196: Small proactor tidy ups

2 years agoPROTON-2195: Finalise the proactor API around pn_event_batch_t
Andrew Stitcher [Wed, 22 Apr 2020 17:34:51 +0000 (13:34 -0400)] 
PROTON-2195: Finalise the proactor API around pn_event_batch_t
- Move pn_event_batch_t entirely into libqpid-proton-proactor
- Make the pn_event_batch_t implementation private
- Removed pn_event_batch_connection_driver() API as it is not used at all
  and can't be used for anything.

2 years agoPassing pointer value instead of address to LocalFree.
Attila Kun [Wed, 15 Apr 2020 19:30:38 +0000 (20:30 +0100)] 
Passing pointer value instead of address to LocalFree.

2 years agoPROTON-2190 Fix url_test.go on macOS (#239)
Jiri Daněk [Thu, 16 Apr 2020 19:44:09 +0000 (21:44 +0200)] 
PROTON-2190 Fix url_test.go on macOS (#239)

2 years agoPROTON-2187: Python client: connection cleanup on close while still connecting.
Cliff Jansen [Mon, 30 Mar 2020 06:47:50 +0000 (23:47 -0700)] 
PROTON-2187: Python client: connection cleanup on close while still connecting.

2 years agoPROTON-2160: Correct go module build
Andrew Stitcher [Wed, 4 Mar 2020 04:58:08 +0000 (23:58 -0500)] 
PROTON-2160: Correct go module build

2 years agoNO-JIRA: Update Azure Pipeline build image versions
Andrew Stitcher [Wed, 4 Mar 2020 04:32:09 +0000 (23:32 -0500)] 
NO-JIRA: Update Azure Pipeline build image versions

2 years agoMerge pull request #230 from kgiusti/PROTON-2184
Ken Giusti [Mon, 2 Mar 2020 14:39:38 +0000 (09:39 -0500)] 
Merge pull request #230 from kgiusti/PROTON-2184

PROTON-2184: fix assert in pn_session_set_context

2 years agoPROTON-2184: fix assert in pn_session_set_context 230/head
Kenneth Giusti [Wed, 26 Feb 2020 18:29:27 +0000 (13:29 -0500)] 
PROTON-2184: fix assert in pn_session_set_context

2 years agoPROTON-2174: Updated travis yml with brew update workaround for bundle issue.
Roddie Kieley [Sun, 23 Feb 2020 03:32:58 +0000 (00:02 -0330)] 
PROTON-2174: Updated travis yml with brew update workaround for bundle issue.

2 years agoPROTON-2174: Increased TestHeartbeat timeout from 400ms to 1400ms.
Roddie Kieley [Sat, 22 Feb 2020 01:56:47 +0000 (22:26 -0330)] 
PROTON-2174: Increased TestHeartbeat timeout from 400ms to 1400ms.

2 years agoPROTON-2167 Enable go binding, it used to be disabled on macOS 10.12 due to older...
Jiri Danek [Thu, 23 Jan 2020 11:48:35 +0000 (12:48 +0100)] 
PROTON-2167 Enable go binding, it used to be disabled on macOS 10.12 due to older go version

2 years agoPROTON-2167 Upgrade macOS images in .travis.yml and exclude failing ruby and python...
Jiri Danek [Sat, 18 Jan 2020 12:54:53 +0000 (13:54 +0100)] 
PROTON-2167 Upgrade macOS images in .travis.yml and exclude failing ruby and python tests

Without the test excludes, these are the failures in logs

ruby:

```
30: /Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': incompatible library version - /Users/travis/build/jdanekrh/qpid-proton/build/ruby/cproton.bundle (LoadError)

30:  from /Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'

30:  from /Users/travis/build/jdanekrh/qpid-proton/ruby/lib/qpid_proton.rb:19:in `<top (required)>'

30:  from /Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'

30:  from /Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'

30:  from /Users/travis/build/jdanekrh/qpid-proton/ruby/tests/test_tools.rb:22:in `<top (required)>'

30:  from /Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'

30:  from /Users/travis/.rvm/rubies/ruby-2.6.3/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'

30:  from /Users/travis/build/jdanekrh/qpid-proton/ruby/tests/test_container.rb:19:in `<main>'

30/44 Test #30: ruby-test-container ..............***Failed    0.29 sec
```

Python:

```
27: proton_tests.handler.HandlerTest.test_add_handler .......................ERROR: InvocationError for command /Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py27/bin/python /Users/travis/build/jdanekrh/qpid-proton/python/tests/proton-test --ignore-file=/Users/travis/build/jdanekrh/qpid-proton/python/tests/tox-blacklist (exited with code -11 (SIGSEGV)) (exited with code -11)

...

27: py37 installed: linecache2==1.0.0,python-qpid-proton==0.31.0,six==1.14.0,traceback2==1.4.0,unittest2==1.1.0

27: py37 run-test-pre: PYTHONHASHSEED='774661195'

27: py37 run-test: commands[0] | python /Users/travis/build/jdanekrh/qpid-proton/python/tests/proton-test --ignore-file=/Users/travis/build/jdanekrh/qpid-proton/python/tests/tox-blacklist

27: Traceback (most recent call last):

27:   File "/Users/travis/build/jdanekrh/qpid-proton/python/tests/proton-test", line 24, in <module>

27:     from proton_tests.main import main

27:   File "/Users/travis/build/jdanekrh/qpid-proton/python/tests/proton_tests/__init__.py", line 22, in <module>

27:     from . import codec

27:   File "/Users/travis/build/jdanekrh/qpid-proton/python/tests/proton_tests/codec.py", line 25, in <module>

27:     from proton import *

27:   File "/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/proton/__init__.py", line 35, in <module>

27:     from cproton import PN_VERSION_MAJOR, PN_VERSION_MINOR, PN_VERSION_POINT

27:   File "/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/cproton.py", line 15, in <module>

27:     import _cproton

27: ImportError: dlopen(/Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/_cproton.cpython-37m-darwin.so, 2): Symbol not found: _DH_set0_pqg

27:   Referenced from: /Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/_cproton.cpython-37m-darwin.so

27:   Expected in: flat namespace

27:  in /Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/lib/python3.7/site-packages/_cproton.cpython-37m-darwin.so

27: ERROR: InvocationError for command /Users/travis/build/jdanekrh/qpid-proton/build/python/.tox/py37/bin/python /Users/travis/build/jdanekrh/qpid-proton/python/tests/proton-test --ignore-file=/Users/travis/build/jdanekrh/qpid-proton/python/tests/tox-blacklist (exited with code 1)

...

27/44 Test #27: python-tox-test ..................***Failed  Error regular expression found in output. Regex=[ERROR:[ ]+py[0-9]*: commands failed] 46.38 sec
```

2 years agoPROTON-2135 Create pn_add_test helper for creating ctest test targets
Jiri Danek [Thu, 16 Jan 2020 11:49:50 +0000 (12:49 +0100)] 
PROTON-2135 Create pn_add_test helper for creating ctest test targets

2 years agoPROTON-2135 Set TEST_ENV more consistently
Jiri Danek [Thu, 7 Nov 2019 12:50:54 +0000 (13:50 +0100)] 
PROTON-2135 Set TEST_ENV more consistently

2 years agoPROTON-2005: extra test case for transfer broken up for max frame size
Cliff Jansen [Wed, 22 Jan 2020 02:35:28 +0000 (18:35 -0800)] 
PROTON-2005: extra test case for transfer broken up for max frame size

2 years agoPROTON-2156: [Python] Fix client_http for changes in tornado
Andrew Stitcher [Fri, 17 Jan 2020 20:39:56 +0000 (15:39 -0500)] 
PROTON-2156: [Python] Fix client_http for changes in tornado

2 years agoPROTON-2156: [python] Rework connector scheme to work with tornado ioloop
Andrew Stitcher [Fri, 10 May 2019 16:58:07 +0000 (12:58 -0400)] 
PROTON-2156: [python] Rework connector scheme to work with tornado ioloop
- This also required a small change to the tornado interface code
- Add back the helloworld_tornado and helloworld_direct_tornado tests

2 years agoPROTON-2156: [Python] Simplify selectable protocol
Andrew Stitcher [Thu, 16 Jan 2020 18:44:06 +0000 (13:44 -0500)] 
PROTON-2156: [Python] Simplify selectable protocol
- Selectable now encapsulates all the events it sends
  it uses the reactor to send events
- Simplified delegate logic

2 years agoPROTON-2005: fix pn_delivery_abort() for multiframe and session outgoing bytes
Cliff Jansen [Sat, 18 Jan 2020 23:53:43 +0000 (15:53 -0800)] 
PROTON-2005: fix pn_delivery_abort() for multiframe and session outgoing bytes

2 years agobump year in NOTICE file
Robbie Gemmell [Thu, 9 Jan 2020 12:44:20 +0000 (12:44 +0000)] 
bump year in NOTICE file

2 years agoPROTON-2078: Upstream c/test/fuzz patches from oss-fuzz (#224)
Jiří Daněk [Thu, 26 Dec 2019 13:43:53 +0000 (14:43 +0100)] 
PROTON-2078: Upstream c/test/fuzz patches from oss-fuzz (#224)

* [c] prefer linking with static library in fuzz tests

2 years agoPROTON-2078: Upstream c/test/fuzz patches from oss-fuzz (#172)
Jiří Daněk [Mon, 23 Dec 2019 16:26:05 +0000 (17:26 +0100)] 
PROTON-2078: Upstream c/test/fuzz patches from oss-fuzz (#172)

* [c] link fuzzing binaries using CXX linker

2 years agoPROTON-2165: Fix errors in the Python tutorial
mprahl [Tue, 10 Dec 2019 18:17:38 +0000 (13:17 -0500)] 
PROTON-2165: Fix errors in the Python tutorial

The line numbers were incorrect. Most were
off by 1. This is partially due to
85347f3dc8a7c598e7203aeac61ffe72325a0809.

This commit also adds some missing commas and
fixes some typos.

This closes #223

2 years agoPROTON-2164: Update to remove dependency on automodapi extension to Sphinx
Kim van der Riet [Fri, 13 Dec 2019 17:59:09 +0000 (12:59 -0500)] 
PROTON-2164: Update to remove dependency on automodapi extension to Sphinx

2 years agoPROTON-1709: [Python] Fix ApplicationEvent to avoid always creating a new EventType
Andrew Stitcher [Thu, 12 Dec 2019 00:59:38 +0000 (19:59 -0500)] 
PROTON-1709: [Python] Fix ApplicationEvent to avoid always creating a new EventType
- ApplicationEvent memoizes EventTypes created so it only creates one for any one
  typename string.
- ApplicationEvent accepts EventType as its first parameter so application can create
  their own EventType.

2 years agoPROTON-2160: Implemented cmake check to enforce golang version 1.11+ required.
Roddie Kieley [Wed, 11 Dec 2019 02:47:32 +0000 (23:17 -0330)] 
PROTON-2160: Implemented cmake check to enforce golang version 1.11+ required.

2 years agoPROTON-2152: Gah!
Andrew Stitcher [Tue, 10 Dec 2019 18:39:40 +0000 (13:39 -0500)] 
PROTON-2152: Gah!

2 years agoPROTON-2153: Make fuzz-url work on Windows again.
Andrew Stitcher [Tue, 10 Dec 2019 18:19:40 +0000 (13:19 -0500)] 
PROTON-2153: Make fuzz-url work on Windows again.

2 years agoPROTON-2153, PROTON-2159: Fix test related issues
Andrew Stitcher [Tue, 10 Dec 2019 15:39:01 +0000 (10:39 -0500)] 
PROTON-2153, PROTON-2159: Fix test related issues
- Some asan issues seen on freebsd
- fix for C++ example runner

2 years agoPROTON-2154, PROTON-2089: update version for 0.31.0-SNAPSHOT
Robbie Gemmell [Mon, 9 Dec 2019 15:53:29 +0000 (15:53 +0000)] 
PROTON-2154, PROTON-2089: update version for 0.31.0-SNAPSHOT

2 years agoPROTON-2089: update version for 0.30.0 RC1 0.30.0 0.30.0-rc1
Robbie Gemmell [Mon, 9 Dec 2019 14:17:00 +0000 (14:17 +0000)] 
PROTON-2089: update version for 0.30.0 RC1

2 years agoPROTON-2086: remove defunct docs version update step from release step notes
Robbie Gemmell [Mon, 9 Dec 2019 13:50:26 +0000 (13:50 +0000)] 
PROTON-2086: remove defunct docs version update step from release step notes

2 years agoPROTON-2086: add missing label, fix broken/missing link in index page and associated...
Robbie Gemmell [Mon, 9 Dec 2019 13:36:55 +0000 (13:36 +0000)] 
PROTON-2086: add missing label, fix broken/missing link in index page and associated build warning

2 years agoPROTON-2086: update install details for folks who might try to build the docs
Robbie Gemmell [Mon, 9 Dec 2019 13:12:55 +0000 (13:12 +0000)] 
PROTON-2086: update install details for folks who might try to build the docs

2 years agoPROTON-2099: [Python] More fixups to make the text_examples script work
Andrew Stitcher [Fri, 6 Dec 2019 20:33:40 +0000 (15:33 -0500)] 
PROTON-2099: [Python] More fixups to make the text_examples script work
- Allow for difference of encoding on python2 and python3 when expecting ints
- Eliminate testing the known to fail tornado examples

2 years agoPROTON-2157: Fix for math formula error when building docs on F29
Kim van der Riet [Fri, 6 Dec 2019 17:37:02 +0000 (12:37 -0500)] 
PROTON-2157: Fix for math formula error when building docs on F29

2 years agoPROTON-2155: Switch helloworld.py back to connect with args
Justin Ross [Thu, 5 Dec 2019 23:12:01 +0000 (18:12 -0500)] 
PROTON-2155: Switch helloworld.py back to connect with args

2 years agoPROTON-2099: [Python] fix example runner to work with python2
Andrew Stitcher [Thu, 5 Dec 2019 20:55:58 +0000 (15:55 -0500)] 
PROTON-2099: [Python] fix example runner to work with python2
- Make the tests a whole lot more readable while we're at it.

2 years agoPROTON-2089: bump so versions based on review with Justin and Andrew
Robbie Gemmell [Thu, 5 Dec 2019 13:18:24 +0000 (13:18 +0000)] 
PROTON-2089: bump so versions based on review with Justin and Andrew

2 years agoPROTON-2149: session state is a property, not a method
Kenneth Giusti [Tue, 26 Nov 2019 22:26:56 +0000 (17:26 -0500)] 
PROTON-2149: session state is a property, not a method

This closes #216.

2 years agoPROTON-2153: [Python] Fix broken Reactor.get_connection_address() API
Andrew Stitcher [Wed, 4 Dec 2019 19:35:54 +0000 (14:35 -0500)] 
PROTON-2153: [Python] Fix broken Reactor.get_connection_address() API

2 years agoPROTON-2144: Instrument all memory allocation/deallocation in proton core 219/head
Andrew Stitcher [Fri, 22 Nov 2019 20:12:04 +0000 (15:12 -0500)] 
PROTON-2144: Instrument all memory allocation/deallocation in proton core
- Replace all use of malloc/calloc/realloc/free in libqpid-proton-core with
  instrumented memory tracking calls

2 years agoPROTON-2144: Create memory tracking framework
Andrew Stitcher [Fri, 22 Nov 2019 20:09:52 +0000 (15:09 -0500)] 
PROTON-2144: Create memory tracking framework
- Note this is currently not enabled by default, as
  currently there are some important unknowns.
- However it is potentially very useful so it can
  be turned on with a compile time define (PN_MEMDEBUG).
- In future it should be characterised and perhaps
  enabled by default.

2 years agoPROTON-2140: Revert an internal ABI change that breaks the Ruby binding
Andrew Stitcher [Tue, 3 Dec 2019 05:50:50 +0000 (00:50 -0500)] 
PROTON-2140: Revert an internal ABI change that breaks the Ruby binding

2 years agoPROTON-1801: Strip the version from the /usr/share/proton dir 222/head
Justin Ross [Mon, 2 Dec 2019 13:29:35 +0000 (08:29 -0500)] 
PROTON-1801: Strip the version from the /usr/share/proton dir

2 years agoPROTON-2145: install static cpp lib if enabled 221/head
Gordon Sim [Fri, 29 Nov 2019 11:35:26 +0000 (11:35 +0000)] 
PROTON-2145: install static cpp lib if enabled

2 years agoPROTON-2115 fix typo in tests/py/test_unittest.py breaking fd-limit test (#220)
Jiří Daněk [Thu, 28 Nov 2019 17:31:33 +0000 (18:31 +0100)] 
PROTON-2115 fix typo in tests/py/test_unittest.py breaking fd-limit test (#220)

2 years agoPROTON-2147 use addons:homebrew:packages feature in .travis.yml for xcode10.1 (#217)
Jiří Daněk [Thu, 28 Nov 2019 14:09:14 +0000 (15:09 +0100)] 
PROTON-2147 use addons:homebrew:packages feature in .travis.yml for xcode10.1 (#217)

2 years agoPROTON-2131: Grrr, fix another related rebase screw up
Andrew Stitcher [Thu, 28 Nov 2019 03:23:31 +0000 (22:23 -0500)] 
PROTON-2131: Grrr, fix another related rebase screw up
- Must be time to take a break!!

2 years agoPROTON-2131: Fixup: rebase mistake
Andrew Stitcher [Thu, 28 Nov 2019 03:13:39 +0000 (22:13 -0500)] 
PROTON-2131: Fixup: rebase mistake

2 years agoPROTON-2150: Small reorganisation of object system to allow finer grained memory...
Andrew Stitcher [Thu, 28 Nov 2019 00:06:08 +0000 (19:06 -0500)] 
PROTON-2150: Small reorganisation of object system to allow finer grained memory tracking

2 years agoPROTON-2131: Small change to logger API to avoid unecessary warnings
Andrew Stitcher [Wed, 27 Nov 2019 02:54:14 +0000 (21:54 -0500)] 
PROTON-2131: Small change to logger API to avoid unecessary warnings

2 years agoPROTON-2138: add test to verify coordinator target capability parsing
Kenneth Giusti [Wed, 27 Nov 2019 16:09:45 +0000 (11:09 -0500)] 
PROTON-2138: add test to verify coordinator target capability parsing

This closes #218