You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ac...@apache.org on 2017/10/02 14:32:58 UTC
[1/2] qpid-proton git commit: NO-JIRA: Clarify doc comment for
pn_proactor_listen()
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: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/6bdfe39a
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/6bdfe39a
Branch: refs/heads/master
Commit: 6bdfe39a18b81d10da5393af37c8f12051d94e02
Parents: 9729f3b
Author: Alan Conway <ac...@redhat.com>
Authored: Mon Oct 2 10:30:22 2017 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Mon Oct 2 10:30:50 2017 -0400
----------------------------------------------------------------------
proton-c/include/proton/proactor.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/6bdfe39a/proton-c/include/proton/proactor.h
----------------------------------------------------------------------
diff --git a/proton-c/include/proton/proactor.h b/proton-c/include/proton/proactor.h
index e878df2..2733c6c 100644
--- a/proton-c/include/proton/proactor.h
+++ b/proton-c/include/proton/proactor.h
@@ -120,7 +120,12 @@ PNP_EXTERN void pn_proactor_connect(pn_proactor_t *proactor, pn_connection_t *co
/**
* Start listening for incoming connections.
- * Errors are returned as @ref proactor_events by pn_proactor_wait().
+ *
+ * When the listener is ready, a @ref PN_LISTENER_OPEN event will be returned by
+ * pn_proactor_wait(). If the listener is closed by pn_listener_close() or
+ * because of an error, a PN_LISTENER_CLOSE event will be returned and
+ * pn_listener_condition() will have information about the error if there was
+ * one.
*
* @note Thread-safe
*
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org
[2/2] qpid-proton git commit: PROTON-1560: ruby: fix cmake test names
Posted by ac...@apache.org.
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: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/9729f3bd
Branch: refs/heads/master
Commit: 9729f3bd954432c62039a0e3fb11a0cb144337ab
Parents: 7329617
Author: Alan Conway <ac...@redhat.com>
Authored: Fri Sep 29 09:46:59 2017 -0400
Committer: Alan Conway <ac...@redhat.com>
Committed: Mon Oct 2 10:30:50 2017 -0400
----------------------------------------------------------------------
proton-c/bindings/ruby/CMakeLists.txt | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/9729f3bd/proton-c/bindings/ruby/CMakeLists.txt
----------------------------------------------------------------------
diff --git a/proton-c/bindings/ruby/CMakeLists.txt b/proton-c/bindings/ruby/CMakeLists.txt
index 2c50027a..24e16d5 100644
--- a/proton-c/bindings/ruby/CMakeLists.txt
+++ b/proton-c/bindings/ruby/CMakeLists.txt
@@ -101,20 +101,21 @@ execute_process(COMMAND ${RUBY_EXECUTABLE} -r minitest -e ""
RESULT_VARIABLE result OUTPUT_QUIET ERROR_QUIET)
if (result EQUAL 0) # Have minitest
- macro(add_ruby_test name file)
+ macro(add_ruby_test file)
+ get_filename_component(name ${file} NAME_WE)
+ string(REPLACE "_" "-" name "ruby-${name}")
add_test(
NAME ${name}
- ${ARGN}
- COMMAND ${RUBY_EXECUTABLE} ${file} -v)
+ COMMAND ${RUBY_EXECUTABLE} ${file} -v
+ ${ARGN})
set_tests_properties(${name} PROPERTIES ENVIRONMENT "PATH=${PATH};RUBYLIB=${RUBYLIB}")
endmacro()
-
- add_ruby_test(ruby-example-test example_test.rb WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/examples/ruby)
+ add_ruby_test(example_test.rb WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}/examples/ruby)
file(GLOB TESTS tests/test_*.rb)
file(GLOB SPECS spec/*_spec.rb)
foreach(t ${TESTS} ${SPECS})
- add_ruby_test("ruby-${t}" ${t})
+ add_ruby_test(${t})
endforeach()
else()
# No minitest
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org