[16/50] qpid-proton git commit: PROTON-1619: remove pn_connection_driver_log definitions

2017-10-19 Thread aconway
PROTON-1619: remove pn_connection_driver_log definitions removed definitions: pn_connection_driver_log, pn_connection_driver_logf, pn_connection_driver_vlogf Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

[07/50] qpid-proton git commit: PROTON-1481: [C++ binding] Solidify the proton::work_queue API - Allow for complete deprecation of strange C++03 proton::void_function0 class This can be used in the cu

2017-10-19 Thread aconway
PROTON-1481: [C++ binding] Solidify the proton::work_queue API - Allow for complete deprecation of strange C++03 proton::void_function0 class This can be used in the current code, but it can be removed without losing C++03 functionality. - In C++03 you have to create injected work with one of

[11/50] qpid-proton git commit: PROTON-1517: C++ consistent linkage for listen_handler

2017-10-19 Thread aconway
ot;proton/listen_handler.hpp" #include @@ -32,7 +34,12 @@ listener::listener(const listener& l) : listener_(l.listener_) {} listener::~listener() {} listener& listener::operator=(const listener& l) { listener_ = l.listener_; return *this; } -// FIXME aconway

[33/50] qpid-proton git commit: PROTON-1618: c++ provide separate test_port implementation

2017-10-19 Thread aconway
PROTON-1618: c++ provide separate test_port implementation Break unwanted dependency between C++ and C test trees. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/b4e0edd2 Tree:

[22/50] qpid-proton git commit: PROTON-1369: Add deprecation warnings; update examples to avoid use of url

2017-10-19 Thread aconway
PROTON-1369: Add deprecation warnings; update examples to avoid use of url Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/bc601405 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/bc601405 Diff:

[19/50] qpid-proton git commit: PROTON-1623: append new data to existing data

2017-10-19 Thread aconway
PROTON-1623: append new data to existing data Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/174747c0 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/174747c0 Diff:

[15/50] qpid-proton git commit: PROTON-1619: c rename/remove/un-export private functions

2017-10-19 Thread aconway
PROTON-1619: c rename/remove/un-export private functions renamed as pni_*: pn_log_enabled, pn_logf_impl, pn_vlogf_impl - still exported for libqpid-proton-proactor pn_message_get_extra, pn_message_with_extra - still exported for libqpid-proton-cpp removed: pn_connection_driver_log,

[28/50] qpid-proton git commit: PROTON-1543: Another slate of doc improvements

2017-10-19 Thread aconway
PROTON-1543: Another slate of doc improvements - Transition the message properties and annotations API from unsettled to settled - Cleanups for messaging_handler and the multithreading page - Fix doc warnings and add missing docs - Handle new macros in doxygen preprocessing - Hide the

[09/50] qpid-proton git commit: PROTON-1556: work around for C++ binding ssl_domain self assignment bug

2017-10-19 Thread aconway
PROTON-1556: work around for C++ binding ssl_domain self assignment bug Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/1bb1897f Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/1bb1897f Diff:

qpid-proton git commit: NO-JIRA: [go] Improved client/server example, minor doc updates

2017-10-19 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master dbda49bb2 -> 97815c342 NO-JIRA: [go] Improved client/server example, minor doc updates Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/97815c34 Tree:

[2/3] qpid-proton git commit: PROTON-1621: Reworked - C++11 example testing

2017-10-17 Thread aconway
PROTON-1621: Reworked - C++11 example testing Revert and rework the previous solution which pushed too much C++ detail to the top level. Now each binding can export a small, set of selected extra flags for examples that are built in a repo. These flags are optional, the examples must be able to

[1/3] qpid-proton git commit: PROTON-1620: set locking function for old versions of openssl

2017-10-17 Thread aconway
+static pthread_once_t initialize_once = PTHREAD_ONCE_INIT; +static inline bool ensure_initialized(void) { + pthread_once(_once, ); + return init_ok; +} + +#endif + +static pni_mutex_t *locks = NULL; /* Lock array for openssl */ + +/* Callback function for openssl locking */ +s

[3/3] qpid-proton git commit: NO-JIRA: Fix fdlimit.py test, incorrectly reporting skipped

2017-10-17 Thread aconway
NO-JIRA: Fix fdlimit.py test, incorrectly reporting skipped Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/e0feb3f2 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/e0feb3f2 Diff:

qpid-proton git commit: PROTON-1618: c++ provide separate test_port implementation

2017-10-16 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master a518b1ce9 -> b4e0edd2c PROTON-1618: c++ provide separate test_port implementation Break unwanted dependency between C++ and C test trees. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

qpid-proton git commit: NO-JIRA: Fix tests/fdlimit.py to work on python 2.6

2017-10-16 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master e238bb6c6 -> a518b1ce9 NO-JIRA: Fix tests/fdlimit.py to work on python 2.6 Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/a518b1ce Tree:

qpid-proton git commit: NO-JIRA: [cmake] Remove C++ flags before running C compile tests

2017-10-16 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 1ad1e656f -> e238bb6c6 NO-JIRA: [cmake] Remove C++ flags before running C compile tests Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/e238bb6c

qpid-proton git commit: PROTON-1619: restore pn_connection_driver_log functions, deprecated.

2017-10-16 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 1d1bf7fdd -> 1ad1e656f PROTON-1619: restore pn_connection_driver_log functions, deprecated. Preserve ABI compatibility with 0.17: restore but mark deprecated. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

[2/2] qpid-proton git commit: PROTON-1621: Enable C++11 example testing for C++11 build environments

2017-10-13 Thread aconway
PROTON-1621: Enable C++11 example testing for C++11 build environments Run the C++ compilier feature checking from the top level Cmake file so examples and the C++ binding are built consistently. NOTE: This does not address the problem of building examples with partially capable compilers (MSVC

[1/2] qpid-proton git commit: PROTON-1369: [c++] remove deprecation attribute on void_function0

2017-10-13 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 5c4962bf7 -> 6b2e7dcdb PROTON-1369: [c++] remove deprecation attribute on void_function0 Was causing a deprecation warning on #include of work_queue because the the deprecated function `work_queue::add(void_function0)` refers to the

[1/2] qpid-proton git commit: PROTON-1610: c++ intermittent self test fails

2017-10-13 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master bc6014057 -> 72b7ea050 PROTON-1610: c++ intermittent self test fails C++ scheduler was not checking for (next->time < now), negative timeout interval converted to large unsigned value when passed to pn_proactor_set_time-out.

[2/2] qpid-proton git commit: PROTON-1592: [python] restore original tx_recv.py example

2017-10-13 Thread aconway
PROTON-1592: [python] restore original tx_recv.py example Previous commit introduced reproducer code into the example by mistake. The original example works as-is. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

qpid-proton git commit: PROTON-1616: C/C++ fix issues reported by coverity

2017-10-12 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 87bd8d97e -> e1425d8f0 PROTON-1616: C/C++ fix issues reported by coverity See https://scan4.coverity.com/reports.htm#v30998/p10556 Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

qpid-proton git commit: PROTON-1619: remove pn_connection_driver_log definitions

2017-10-12 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 8a891c92b -> 87bd8d97e PROTON-1619: remove pn_connection_driver_log definitions removed definitions: pn_connection_driver_log, pn_connection_driver_logf, pn_connection_driver_vlogf Project:

qpid-proton git commit: PROTON-1619: c rename/remove/un-export private functions

2017-10-12 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 485cdbd3f -> 8a891c92b PROTON-1619: c rename/remove/un-export private functions renamed as pni_*: pn_log_enabled, pn_logf_impl, pn_vlogf_impl - still exported for libqpid-proton-proactor pn_message_get_extra,

[3/5] qpid-proton git commit: PROTON-1592: [python] tx_recv.py raises exception.

2017-10-11 Thread aconway
PROTON-1592: [python] tx_recv.py raises exception. Fixed the example: starting a transactional internally opens a sending link for transactional commands. The example was coded on the assumption that the only link being opened was its own receiver link, which is incorrect. Project:

[4/5] qpid-proton git commit: PROTON-1517: C++ consistent linkage for listen_handler

2017-10-11 Thread aconway
clude "proton/listen_handler.hpp" #include @@ -32,7 +34,12 @@ listener::listener(const listener& l) : listener_(l.listener_) {} listener::~listener() {} listener& listener::operator=(const listener& l) { listener_ = l.listener_; return *this; } -// FIXME aconway

[2/5] qpid-proton git commit: PROTON-1618: c++ container: unambiguous listen success/fail indicator

2017-10-11 Thread aconway
PROTON-1618: c++ container: unambiguous listen success/fail indicator Added listener_handler::on_open() to indicate a successful listen. After a call to container::listen(): - on success, call listener_handler::on_open() before any call to listener_handler::on_accept() - on failure, call

[5/5] qpid-proton git commit: PROTON-1618: c proactor: unambiguous listen success/fail indicator

2017-10-11 Thread aconway
PROTON-1618: c proactor: unambiguous listen success/fail indicator Changed the use of events in all 3 proactor implementations as follows: After a call to pn_proactor_listen(): - on success, dispatch PN_LISTENER_OPEN before any PN_PROACTOR_ACCEPT - on failure, set the pn_listener_condition() and

[1/5] qpid-proton git commit: PROTON-1618: c++ tests use test_port.h for listen ports

2017-10-11 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 1bb1897fe -> 485cdbd3f PROTON-1618: c++ tests use test_port.h for listen ports POSIX: Use bind(0) with SO_REUSEADDR and hold the socket to acquire a port that can safely be used for listen() Windows: Use bind(0) to pick a port, but

qpid-proton git commit: PROTON-1617 - python: expose delivery aborted feature.

2017-10-10 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 6043a927c -> 8d22ffbbe PROTON-1617 - python: expose delivery aborted feature. This closes #123 Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

qpid-proton git commit: PROTON-1571: update C ssl test for libuv proactor

2017-10-06 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master bb7b82615 -> 9797c58b1 PROTON-1571: update C ssl test for libuv proactor Test relied on event batching specific to epoll proactor, fixed test works on libuv also. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo

qpid-proton git commit: PROTON-1571: c++: fix listener leak

2017-10-06 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 3e4b963a6 -> bb7b82615 PROTON-1571: c++: fix listener leak Fix epoll proactor leak when listening on a port that is not available. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

qpid-proton git commit: PROTON-1571: c++: ssl example is leaky

2017-10-06 Thread aconway
{} +listener::listener(pn_listener_t* l): listener_(l) {} +// Out-of-line big-3 with trivial implementations, in case we need them in future. +listener::listener(const listener& l) : listener_(l.listener_) {} +listener::~listener() {} +listener& listener::operator=(const listener&

[1/2] qpid-proton git commit: PROTON-1602: ruby: Possible memory leak in Ruby bindings

2017-10-06 Thread aconway
cure, realm + @client = e.container.connect(@url || "amqp://#{addr}", @opts) +end + +def on_connection_bound(e) + if e.connection != @client # Incoming server connection +@listener.close +sasl = e.transport.sasl +sasl.allow_insecure_mechs = @inse

[2/2] qpid-proton git commit: NO-JIRA: ruby: remove dead code

2017-10-06 Thread aconway
cense. # -require 'spec_helper' #FIXME aconway 2017-09-11: +require 'spec_helper' describe "The extended array type" do - To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org

qpid-proton git commit: PROTON-1560: Rename BUILD_ONLY as BUILD_BINDINGS

2017-10-04 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 714a8bd2e -> 7b4c09e65 PROTON-1560: Rename BUILD_ONLY as BUILD_BINDINGS Name is clearer, also removed from cache as it is only relevant when creating the initial cache. Project:

qpid-proton git commit: PROTON-1605: c++: Use mutex instead of std::atomic in container impl

2017-10-04 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master fdaff9c4c -> 714a8bd2e PROTON-1605: c++: Use mutex instead of std::atomic in container impl Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/714a8bd2

qpid-proton git commit: NO-JIRA: go example README.md corrections

2017-10-04 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 338cb30eb -> fdaff9c4c NO-JIRA: go example README.md corrections Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/fdaff9c4 Tree:

qpid-proton git commit: NO-JIRA: Fix typo.

2017-10-04 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 0a2c15c75 -> 6e1bbe835 NO-JIRA: Fix typo. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/6e1bbe83 Tree:

qpid-proton git commit: NO-JIRA: Clarify URL and address parameters in Go examples.

2017-10-04 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 433e9a039 -> 0a2c15c75 NO-JIRA: Clarify URL and address parameters in Go examples. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/0a2c15c7 Tree:

qpid-proton git commit: PROTON-1609: build C examples with c90 flag for older compilers

2017-10-03 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master b36b70c2a -> 433e9a039 PROTON-1609: build C examples with c90 flag for older compilers - Get rid of // comments in public header files, not allowed in c90 - Simplify/clarify cmake variables exported from proton-c/CMakeLists for

[2/2] qpid-proton git commit: PROTON-1512: aborted messages: handle credit and empty messages.

2017-10-03 Thread aconway
PROTON-1512: aborted messages: handle credit and empty messages. The AMQP spec says: "The delivery-count is initialized by the sender when a link endpoint is created, and is incremented whenever a message is sent."

[1/2] qpid-proton git commit: PROTON-1560: ruby: fix cmake test names

2017-10-03 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master d39904c45 -> b36b70c2a PROTON-1560: ruby: fix cmake test names Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c015ceb1 Tree:

[1/2] qpid-dispatch git commit: DISPATCH-846: Fix memory leak in router config.

2017-10-03 Thread aconway
Repository: qpid-dispatch Updated Branches: refs/heads/master a33dd4602 -> e69478a4e DISPATCH-846: Fix memory leak in router config. qd_dispatch_set_router_default_distribution() was not freeing its argument. Also removed some other dispatch.c private configuration functions from

[2/2] qpid-dispatch git commit: DISPATCH-846: Fix leak in qd_server_connection

2017-10-03 Thread aconway
DISPATCH-846: Fix leak in qd_server_connection Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/e69478a4 Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/e69478a4 Diff:

qpid-proton git commit: NO-JIRA: go: clarify install instructions in README

2017-10-03 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 95ee34e99 -> d39904c45 NO-JIRA: go: clarify install instructions in README Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/d39904c4 Tree:

qpid-proton git commit: NO-JIRA: Clarify doc comment for pn_proactor_listen() [Forced Update!]

2017-10-02 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 6bdfe39a1 -> f40577175 (forced update) NO-JIRA: Clarify doc comment for pn_proactor_listen() Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/f4057717

[1/2] qpid-proton git commit: NO-JIRA: Clarify doc comment for pn_proactor_listen()

2017-10-02 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 732961703 -> 6bdfe39a1 NO-JIRA: Clarify doc comment for pn_proactor_listen() Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/6bdfe39a Tree:

[2/2] qpid-proton git commit: PROTON-1560: ruby: fix cmake test names

2017-10-02 Thread aconway
PROTON-1560: ruby: fix cmake test names Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/9729f3bd Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/9729f3bd Diff:

[3/3] qpid-proton git commit: PROTON-1560: cmake BUILD_ONLY limit to selected bindings

2017-09-28 Thread aconway
PROTON-1560: cmake BUILD_ONLY limit to selected bindings Only bindings in this list are built by default. Explicit BUILD_XXX=ON settings always take precendence. Defaults to all bindings. Example: cmake -DBUILD_ONLY=ruby . Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo

[2/3] qpid-proton git commit: PROTON-1560: ruby: documentation cleanup and install

2017-09-28 Thread aconway
@@ -43,9 +43,6 @@ module Qpid::Proton::Reactor # This is an extension to the Reactor classthat adds convenience methods # for creating instances of Qpid::Proton::Connection, Qpid::Proton::Sender # and Qpid::Proton::Receiver. - # - # @example - # class Container < Reactor include Qpi

[1/3] qpid-proton git commit: PROTON-1560: ruby: cmake builds the ruby gem.

2017-09-28 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master c31ca95ac -> bbeb78caa PROTON-1560: ruby: cmake builds the ruby gem. The ruby gem is built automatically from the build tree, no need to have proton installed locally. `make ruby-gem` to build it explicitly. Project:

qpid-proton git commit: PROTON-1587: fix openssl error handling, causing spurious errors

2017-09-27 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 58dfb4aa4 -> c31ca95ac PROTON-1587: fix openssl error handling, causing spurious errors >From the SSL_get_error() man page: In addition to ssl and ret, SSL_get_error() inspects the current thread's OpenSSL error

[1/2] qpid-proton git commit: PROTON-1512: c examples: clean up examples and fix some issues.

2017-09-27 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master ea02b9337 -> 58dfb4aa4 PROTON-1512: c examples: clean up examples and fix some issues. All examples that receive messages use a consistent code sequence and error reporting, all deal with aborted messages consistently. All receivers

[2/2] qpid-proton git commit: PROTON-1512: c examples: fix thread safety issue in broker

2017-09-27 Thread aconway
PROTON-1512: c examples: fix thread safety issue in broker Replace global receiving buffer with buffer-per-link to accumulate messages correctly. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/5b1be877 Tree:

qpid-proton git commit: PROTON-1512: c examples use recommended PN_DELIVERY pattern

2017-09-21 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 6743ab441 -> 5c9984994 PROTON-1512: c examples use recommended PN_DELIVERY pattern Fixed the C examples to use the recommended pattern of always reading data on a PN_DELIVERY event. Letting data accumulate in proton can cause a hang

[3/3] qpid-proton git commit: PROTON-1512: Fixes and doc clarifications for pn_delivery_aborted()

2017-09-21 Thread aconway
PROTON-1512: Fixes and doc clarifications for pn_delivery_aborted() - added explict PN_ABORTED error code (PN_STATE_ERR has another meaning in this context) - fixed initialization bug for aborted flag - enforce discarding all data for aborted frames on sender and receiver, for interop sanity -

[2/3] qpid-proton git commit: NO-JIRA: c examples - clean up argv handling

2017-09-21 Thread aconway
NO-JIRA: c examples - clean up argv handling Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/d341350c Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/d341350c Diff:

[1/3] qpid-proton git commit: NO-JIRA: c++ fix doxygen warning

2017-09-21 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master cdd86bcfe -> 6743ab441 NO-JIRA: c++ fix doxygen warning Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/be614a14 Tree:

[2/2] qpid-proton git commit: NO-JIRA: c++ examples, fix broken "skipUnless" workaround

2017-09-18 Thread aconway
NO-JIRA: c++ examples, fix broken "skipUnless" workaround Revert to previous "try/except NotFoundError" approach. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/06de5185 Tree:

[1/2] qpid-proton git commit: NO-JIRA: ruby: remove perror calls in messenger library

2017-09-18 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 6a57a8c98 -> 06de5185d NO-JIRA: ruby: remove perror calls in messenger library No library should *ever* write unsolicited output to stderr or stdout without being explicitly configured to do so. The connection closure in these two

[1/2] qpid-proton git commit: NO-JIRA: Fix examples/cpp/example_test.py to work under python 2.6

2017-09-14 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master e07d4fe73 -> 83fa38808 NO-JIRA: Fix examples/cpp/example_test.py to work under python 2.6 Fake the unittest.skip decorators in proctest.py. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

[2/2] qpid-proton git commit: PROTON-1588: c++ libuv proactor release_connection bug

2017-09-14 Thread aconway
PROTON-1588: c++ libuv proactor release_connection bug Untangle lifecycles, get rid of proton refcounts for the pconnection_t. The pconnection_t and pn_connection_t can now be completely separated, the former always belongs to the proactor, the latter may be given back to the user by

qpid-proton git commit: PROTON-1543: c++ doc improvements

2017-09-14 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master acfe8a3b3 -> e07d4fe73 PROTON-1543: c++ doc improvements - container.hpp and mt.md: more explanation of recommended "handler-per-connection" approach - minor clarifications Project:

qpid-proton git commit: NO-JIRA: go take 'go install' out of examples_test.go

2017-09-14 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master cf5e939a9 -> acfe8a3b3 NO-JIRA: go take 'go install' out of examples_test.go Causing problems on travis builds due to non-standard Go setup. Go binding must be built/installed before running examples_test. Project:

[2/2] qpid-proton git commit: PROTON-1512: Remove stray FIXME comment

2017-09-13 Thread aconway
.h @@ -196,7 +196,7 @@ PN_EXTERN bool pn_delivery_partial(pn_delivery_t *delivery); * @param[in] delivery a delivery object * @return true if the delivery has been aborted, false otherwise */ -PN_EXTERN bool pn_delivery_aborted(pn_delivery_t *delivery); /* FIXME aconway 2017-09-11: */ +PN

[1/2] qpid-proton git commit: PROTON-1586: c proactor example clients core dump with bad host

2017-09-13 Thread aconway
onnection_t *pc = (pconnection_t*) pn_class_new(_class, sizeof(pconnection_t)); assert(pc); // TODO: memory safety const char *err = pconnection_setup(pc, p, c, false, addr); - if (err) { + if (err) {/* TODO aconway 2017-09-13: errors must be reported as events */

[2/2] qpid-proton git commit: PROTON-1585: Remove un-necessary include/pncompat from C examples.

2017-09-12 Thread aconway
PROTON-1585: Remove un-necessary include/pncompat from C examples. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/d7f6e066 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/d7f6e066 Diff:

[1/2] qpid-proton git commit: PROTON-1512: Expose the "aborted" flag for transferred deliveries

2017-09-12 Thread aconway
recv() when the current delivery on the link is aborted will + * return a PN_STATE error code. + * + * @see pn_delivery_abort() + * @param[in] delivery a delivery object + * @return true if the delivery has been aborted, false otherwise + */ +PN_EXTERN bool pn_delivery_aborted(pn_delivery_t *deli

qpid-proton git commit: PROTON-1584: ruby: remove examples for deprecated Messenger API

2017-09-11 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 5e1bce7a0 -> 6888ab5e5 PROTON-1584: ruby: remove examples for deprecated Messenger API Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/6888ab5e Tree:

[1/2] qpid-proton git commit: PROTON-1457: Ruby tests fail when dependencies are missing

2017-09-11 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 363d337b5 -> 5e1bce7a0 http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/5e1bce7a/proton-c/bindings/ruby/spec/qpid/proton/hash_spec.rb -- diff --git

[2/2] qpid-proton git commit: PROTON-1457: Ruby tests fail when dependencies are missing

2017-09-11 Thread aconway
n standard ruby. - add_test(NAME ruby-example-test -WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/examples/ruby -COMMAND ${env_py} -- "PATH=${rb_path}" "RUBYLIB=${rb_rubylib}" -${RUBY_EXE} example_test.rb -v) - - # TODO aconway 2017-08-16: move test cmake code to ruby/tes

[2/2] qpid-proton git commit: PROTON-1579: go: restore testing with -race

2017-09-08 Thread aconway
_FLAGS "" CACHE STRING "Flags for 'go build'") -set(GO_TEST_FLAGS "-v" CACHE STRING "Flags for 'go test'") set(GO_VET_FLAGS "-v" CACHE STRING "Flags for 'go test'") # Flags that differ for golang go and gcc go. if (go_ver M

[1/2] qpid-proton git commit: PROTON-1580: go: example tests failing in URL parse

2017-09-08 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master f773c2cff -> 7a5ded793 PROTON-1580: go: example tests failing in URL parse Fixed invalid URL format in test driver. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

qpid-proton git commit: PROTON-1540: Don't disable bindings with sanitizers

2017-09-07 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 29272ca39 -> 742ccf9d9 PROTON-1540: Don't disable bindings with sanitizers Some of the bindings (GO, RUBY) currently don't work with sanitizers on, but don't forcibly disable them - let the user do it. Going forward we can probably

qpid-proton git commit: PROTON-1574: Fix AddressSanitizer: ODR errors

2017-09-07 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master c870da9fa -> 29272ca39 PROTON-1574: Fix AddressSanitizer: ODR errors Removed incorrect linking of C++ tests with both the compat and core proton libs. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

[1/2] qpid-proton git commit: PROTON-1574: Fix AddressSanitizer: stack-use-after-scope

2017-09-07 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master d7ba57b6a -> c870da9fa PROTON-1574: Fix AddressSanitizer: stack-use-after-scope This is a strange error and probably a false one, but this fix removes it and is otherwise harmless. 8: TEST: (coerce_test()) 8:

[2/2] qpid-proton git commit: PROTON-1576: c++: remove link_namer from public API

2017-09-07 Thread aconway
PROTON-1576: c++: remove link_namer from public API It is an internal detail of our container implementation, does not need to be public. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/c870da9f Tree:

[2/3] qpid-proton git commit: PROTON-1574: Fix lock-order-inversion warnings

2017-09-06 Thread aconway
PROTON-1574: Fix lock-order-inversion warnings The lock introduced in 17d2a6f4 PROTON-1568: c++ enable race detection for self-tests created lock-order problems. Using the lock as a simple memory barrier solves the original race and the lock-order problem. Project:

[1/3] qpid-proton git commit: PROTON-1574: Fix null pointers passed to memmove

2017-09-06 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 790cada68 -> feafb6c80 PROTON-1574: Fix null pointers passed to memmove Found by ASan sanitizer build Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

[3/3] qpid-proton git commit: NO-JIRA: Restore valgrind defaults, smaller values don't save much

2017-09-06 Thread aconway
NO-JIRA: Restore valgrind defaults, smaller values don't save much Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/5f4d852e Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/5f4d852e Diff:

[2/2] qpid-proton git commit: NO-JIRA: proctest.py prints commands.

2017-09-06 Thread aconway
NO-JIRA: proctest.py prints commands. If env. var PROCTEST_VERBOSE is set to a non-empty string, the example test driver, proctest.py, will print the full command of each sub-process executed to stdout. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

[1/2] qpid-proton git commit: PROTON-1540 Add options to enable Sanitizers to CMake build

2017-09-06 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master 28ac86c45 -> 33645b914 PROTON-1540 Add options to enable Sanitizers to CMake build Enable with: cmake -DENABLE_SANITZERS # enables memory sanitizers cmake -DENABLE_TSAN # enables thread sanitizer Note TSAN cannot be used

[2/2] qpid-proton git commit: NO-JIRA: c++ remove references to deprecated default_container

2017-09-05 Thread aconway
NO-JIRA: c++ remove references to deprecated default_container Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/2081acbf Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/2081acbf Diff:

[1/2] qpid-proton git commit: NO-JIRA: c++ MT overview documentation

2017-09-05 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master e631bf6b1 -> cf5841a71 NO-JIRA: c++ MT overview documentation Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/cf5841a7 Tree:

qpid-proton git commit: PROTON-1553: c++ add connection::wake and on_connection_wake()

2017-09-01 Thread aconway
Repository: qpid-proton Updated Branches: refs/heads/master cf38e3d3a -> a8f0c956a PROTON-1553: c++ add connection::wake and on_connection_wake() Expose the pn_connection_wake() and PN_CONNECTION_WAKE C features in C++. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo

[28/50] qpid-proton git commit: PROTON-1532: ruby Container support for SASL, client and server.

2017-09-01 Thread aconway
${rb_src} ${rb_bin} ${rb_bld} ${rb_lib} ${rb_tests}) to_native_path("${rb_path}" rb_path) to_native_path("${rb_rubylib}" rb_rubylib) @@ -806,6 +807,12 @@ if (RUBY_EXE AND BUILD_RUBY) COMMAND ${env_py} -- "PATH=${rb_path}" "RUBYLIB=${rb_rubylib}"

[32/50] qpid-proton git commit: PROTON-1554: Remove thread-safe template, simplify returned<>

2017-09-01 Thread aconway
PROTON-1554: Remove thread-safe template, simplify returned<> Removed the thread-safe template. Simplified and documented returned<>: It can *only* be converted to proton object, and only in a single-threaded application. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

[02/50] qpid-proton git commit: PROTON-1400: [C++ example] Fix ssl test example to not rely on catching a specific exception thrown out of container::run.

2017-09-01 Thread aconway
PROTON-1400: [C++ example] Fix ssl test example to not rely on catching a specific exception thrown out of container::run. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/2a606538 Tree:

[50/50] qpid-proton git commit: Merge branch 'master' into go1

2017-09-01 Thread aconway
Merge branch 'master' into go1 Latest go updates Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/3d8368b2 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/3d8368b2 Diff:

[44/50] qpid-proton git commit: PROTON-1543: Various improvements to the C++ API docs

2017-09-01 Thread aconway
PROTON-1543: Various improvements to the C++ API docs - Use 'Unsettled API' instead of 'Experimental' - Improve the map API docs - Document default values for endpoint options Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit:

[46/50] qpid-proton git commit: NO-JIRA: go fix CMakeLists.txt for older cmake versions

2017-09-01 Thread aconway
NO-JIRA: go fix CMakeLists.txt for older cmake versions DEPENDS not allowed in add_test Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/ab8ae87a Tree:

[07/50] qpid-proton git commit: PROTON-1326: Rework Openssl session resume code to work with openssl 1.1

2017-09-01 Thread aconway
PROTON-1326: Rework Openssl session resume code to work with openssl 1.1 Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/5c885661 Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/5c885661 Diff:

[37/50] qpid-proton git commit: PROTON-1543: Various improvements to the C++ API docs

2017-09-01 Thread aconway
PROTON-1543: Various improvements to the C++ API docs - Fix see-alsos in source and target options - Extend docs for connection options; fill in missing docs related to work queues - Fix references to multithread examples - Some copyedits Project:

[31/50] qpid-proton git commit: PROTON-1557: c++ example of multi-threaded sending/receivng client

2017-09-01 Thread aconway
PROTON-1557: c++ example of multi-threaded sending/receivng client Also some updates/corrections to documentation. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/ed756d8f Tree:

[43/50] qpid-proton git commit: PROTON-1564: epoll proactor determine inactive state after timeout callback instead of before

2017-09-01 Thread aconway
PROTON-1564: epoll proactor determine inactive state after timeout callback instead of before Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/ba696d24 Tree:

[42/50] qpid-proton git commit: NO-JIRA: c++ backwards compatible thread_safe.hpp stub

2017-09-01 Thread aconway
NO-JIRA: c++ backwards compatible thread_safe.hpp stub Empty file to prevent compile failures for code with #include thread_safe. Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/28061408 Tree:

[30/50] qpid-proton git commit: PROTON-1532: missing namespace in String.to_url

2017-09-01 Thread aconway
PROTON-1532: missing namespace in String.to_url Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/929681aa Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/929681aa Diff:

[29/50] qpid-proton git commit: NO-JIRA: minor examples fix - consistent "examples" node name in C

2017-09-01 Thread aconway
pache.org/repos/asf/qpid-proton/blob/f5619f55/examples/cpp/broker.cpp -- diff --git a/examples/cpp/broker.cpp b/examples/cpp/broker.cpp index 01dab36..198b449 100644 --- a/examples/cpp/broker.cpp +++ b/examples/cpp/broker.cpp @

[18/50] qpid-proton git commit: PROTON-1538: epoll proactor - prevent out of order rearming of connection file descriptor

2017-09-01 Thread aconway
PROTON-1538: epoll proactor - prevent out of order rearming of connection file descriptor Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/79309b03 Tree:

<    3   4   5   6   7   8   9   10   11   12   >