PROTON-1385: retain proton-j content only, the rest remains in the other repo at: https://git-wip-us.apache.org/repos/asf/qpid-proton.git
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/commit/2f85988e Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/tree/2f85988e Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton-j/diff/2f85988e Branch: refs/heads/master Commit: 2f85988eabde449cc4e653a4e9d36099e65f4667 Parents: 79d06f0 Author: Robert Gemmell <[email protected]> Authored: Tue Jan 10 15:45:40 2017 +0000 Committer: Robert Gemmell <[email protected]> Committed: Tue Jan 10 15:45:40 2017 +0000 ---------------------------------------------------------------------- .gitignore | 17 - .travis.yml | 35 - CMakeLists.txt | 195 - DEVELOPERS.md | 116 - INSTALL.md | 198 - LICENSE | 12 - NOTICE | 2 +- README.md | 44 +- RELEASE.md | 48 - appveyor.yml | 20 - bin/export.sh | 81 - bin/jenkins-proton-c-build.sh | 81 - bin/record-coverage.sh | 60 - bin/release.sh | 66 - bin/version.sh | 43 - config.bat.in | 66 - config.sh.in | 86 - design/api-reconciliation/README | 4 - .../api-reconciliation/generate-c-functions.sh | 32 - design/api-reconciliation/pom.xml | 115 - .../CFunctionNameListReader.java | 44 - .../qpid/proton/apireconciliation/Joiner.java | 99 - .../qpid/proton/apireconciliation/Main.java | 57 - .../apireconciliation/Reconciliation.java | 45 - .../apireconciliation/ReconciliationReport.java | 40 - .../proton/apireconciliation/ReportRow.java | 87 - .../packagesearcher/PackageSearcher.java | 105 - .../reportwriter/AnnotationAccessor.java | 90 - .../ReconciliationReportWriter.java | 79 - .../CFunctionNameListReaderTest.java | 54 - .../proton/apireconciliation/JoinerTest.java | 166 - .../proton/apireconciliation/ReportRowTest.java | 84 - .../apireconciliation/TestAnnotation.java | 32 - .../proton/apireconciliation/TestUtils.java | 38 - .../packagesearcher/PackageSearcherTest.java | 84 - .../testdata/manyimpls/Impl1.java | 29 - .../testdata/manyimpls/Impl2.java | 29 - .../manyimpls/InterfaceWithManyImpls.java | 26 - .../testdata/noimpl/InterfaceWithoutImpl.java | 25 - .../subpackage/InterfaceInSubPackage.java | 24 - .../impl/ImplOfInterfaceInSubPackage.java | 36 - .../testdata/tree/ImplAtTreeTop.java | 29 - .../testdata/tree/InterfaceAtTreeTop.java | 26 - .../testdata/tree/leaf/ImplAtLeaf.java | 29 - .../testdata/tree/leaf/InterfaceAtLeaf.java | 25 - .../reportwriter/AnnotationAccessorTest.java | 72 - .../ReconciliationReportWriterTest.java | 110 - .../reportwriter/expectedmany.csv | 5 - .../reportwriter/expectedsingle.csv | 2 - design/build.xml | 90 - design/proton_objects.dia | Bin 2846 -> 0 bytes design/src/proton/Accepted.java | 34 - design/src/proton/Connection.java | 78 - design/src/proton/Delivery.java | 65 - design/src/proton/DeliveryBuffer.java | 44 - design/src/proton/DeliveryState.java | 32 - design/src/proton/Endpoint.java | 119 - design/src/proton/Link.java | 71 - design/src/proton/Modified.java | 34 - design/src/proton/Outcome.java | 34 - design/src/proton/Received.java | 34 - design/src/proton/Receiver.java | 52 - design/src/proton/Rejected.java | 34 - design/src/proton/Released.java | 34 - design/src/proton/Sender.java | 55 - design/src/proton/Session.java | 76 - design/src/proton/Transport.java | 53 - design/src/proton/package.html | 122 - docs/markdown/engine/engine.md | 74 - examples/CMakeLists.txt | 40 - examples/ProtonConfig.cmake | 33 - examples/ProtonCppConfig.cmake | 33 - examples/c/CMakeLists.txt | 27 - examples/c/include/pncompat/internal/LICENSE | 33 - examples/c/include/pncompat/internal/getopt.c | 250 - examples/c/include/pncompat/internal/getopt.h | 63 - examples/c/include/pncompat/misc_defs.h | 50 - examples/c/include/pncompat/misc_funcs.inc | 68 - examples/c/messenger/CMakeLists.txt | 52 - examples/c/messenger/recv-async.c | 193 - examples/c/messenger/recv.c | 154 - examples/c/messenger/send-async.c | 170 - examples/c/messenger/send.c | 111 - examples/c/proactor/CMakeLists.txt | 43 - examples/c/proactor/README.dox | 17 - examples/c/proactor/broker.c | 488 -- examples/c/proactor/libuv_proactor.c | 873 ---- examples/c/proactor/receive.c | 205 - examples/c/proactor/send.c | 234 - examples/c/proactor/test.py | 60 - examples/c/reactor/CMakeLists.txt | 45 - examples/c/reactor/README | 30 - examples/c/reactor/receiver.c | 286 -- examples/c/reactor/sender.c | 329 -- examples/cpp/CMakeLists.txt | 83 - examples/cpp/README.dox | 163 - examples/cpp/broker.cpp | 286 -- examples/cpp/broker.hpp | 236 - examples/cpp/client.cpp | 111 - examples/cpp/connection_options.cpp | 78 - examples/cpp/direct_recv.cpp | 95 - examples/cpp/direct_send.cpp | 106 - examples/cpp/encode_decode.cpp | 251 - examples/cpp/example_test.py | 451 -- examples/cpp/fake_cpp11.hpp | 34 - examples/cpp/flow_control.cpp | 249 - examples/cpp/helloworld.cpp | 77 - examples/cpp/helloworld_direct.cpp | 83 - examples/cpp/mt/broker.cpp | 318 -- examples/cpp/mt/epoll_container.cpp | 541 --- examples/cpp/mt/mt_container.hpp | 29 - examples/cpp/options.hpp | 175 - examples/cpp/queue_browser.cpp | 70 - examples/cpp/scheduled_send.cpp | 113 - examples/cpp/scheduled_send_03.cpp | 132 - examples/cpp/selected_recv.cpp | 91 - examples/cpp/server.cpp | 104 - examples/cpp/server_direct.cpp | 124 - examples/cpp/service_bus.cpp | 335 -- examples/cpp/simple_recv.cpp | 106 - examples/cpp/simple_send.cpp | 115 - examples/cpp/ssl.cpp | 238 - examples/cpp/ssl_certs/README.txt | 24 - examples/cpp/ssl_certs/tclient-certificate.p12 | Bin 1032 -> 0 bytes examples/cpp/ssl_certs/tclient-certificate.pem | 19 - examples/cpp/ssl_certs/tclient-full.p12 | Bin 2476 -> 0 bytes examples/cpp/ssl_certs/tclient-private-key.pem | 30 - examples/cpp/ssl_certs/tserver-certificate.p12 | Bin 1032 -> 0 bytes examples/cpp/ssl_certs/tserver-certificate.pem | 19 - examples/cpp/ssl_certs/tserver-full.p12 | Bin 2476 -> 0 bytes examples/cpp/ssl_certs/tserver-private-key.pem | 30 - examples/cpp/ssl_client_cert.cpp | 197 - examples/cpp/tutorial.dox | 432 -- examples/exampletest.py | 183 - examples/go/CMakeLists.txt | 54 - examples/go/README.md | 131 - examples/go/electron/broker.go | 204 - examples/go/electron/receive.go | 112 - examples/go/electron/send.go | 110 - examples/go/example_test.go | 274 -- examples/go/proton/broker.go | 331 -- examples/go/util/queue.go | 61 - examples/go/util/util.go | 68 - examples/javascript/messenger/client.js | 103 - examples/javascript/messenger/drain.js | 70 - examples/javascript/messenger/proxy.js | 105 - examples/javascript/messenger/qpid-config.js | 1511 ------ examples/javascript/messenger/recv.js | 69 - examples/javascript/messenger/send.html | 122 - examples/javascript/messenger/send.js | 105 - examples/javascript/messenger/server.js | 81 - examples/javascript/messenger/spout.js | 71 - examples/javascript/messenger/ws2tcp.js | 166 - examples/perl/messenger/async.pm | 120 - examples/perl/messenger/client.pl | 105 - examples/perl/messenger/recv.pl | 99 - examples/perl/messenger/recv_async.pl | 84 - examples/perl/messenger/send.pl | 88 - examples/perl/messenger/send_async.pl | 97 - examples/perl/messenger/server.pl | 123 - examples/php/messenger/recv.php | 49 - examples/php/messenger/send.php | 41 - examples/python/README | 187 - examples/python/abstract_server.py | 36 - examples/python/broker.py | 124 - examples/python/client.py | 65 - examples/python/client_http.py | 114 - examples/python/db_common.py | 118 - examples/python/db_ctrl.py | 47 - examples/python/db_recv.py | 80 - examples/python/db_send.py | 111 - examples/python/direct_recv.py | 60 - examples/python/direct_send.py | 64 - examples/python/helloworld.py | 45 - examples/python/helloworld_blocking.py | 34 - examples/python/helloworld_direct.py | 48 - examples/python/helloworld_direct_tornado.py | 48 - examples/python/helloworld_tornado.py | 45 - examples/python/messenger/README.txt | 20 - examples/python/messenger/async.py | 82 - examples/python/messenger/client.py | 56 - examples/python/messenger/recv.py | 55 - examples/python/messenger/recv_async.py | 56 - examples/python/messenger/send.py | 45 - examples/python/messenger/send_async.py | 64 - examples/python/messenger/server.py | 62 - examples/python/proton-server.conf | 1 - examples/python/proton_server.py | 51 - examples/python/proton_tornado.py | 114 - examples/python/queue_browser.py | 43 - examples/python/reactor/README.md | 34 - examples/python/reactor/cat.py | 57 - examples/python/reactor/count-randomly.py | 78 - examples/python/reactor/counter.py | 61 - examples/python/reactor/delegates.py | 49 - examples/python/reactor/echo.py | 62 - examples/python/reactor/global-logger.py | 59 - examples/python/reactor/goodbye-world.py | 47 - examples/python/reactor/handlers.py | 49 - examples/python/reactor/hello-world.py | 43 - examples/python/reactor/reactor-logger.py | 55 - examples/python/reactor/recv.py | 49 - examples/python/reactor/scheduling.py | 52 - examples/python/reactor/send.py | 92 - examples/python/reactor/tornado-hello-world.py | 42 - examples/python/reactor/tornado-send.py | 84 - examples/python/reactor/tornado_app.py | 93 - examples/python/reactor/unhandled.py | 35 - examples/python/recurring_timer.py | 43 - examples/python/recurring_timer_tornado.py | 45 - examples/python/selected_recv.py | 41 - examples/python/server.py | 49 - examples/python/server_direct.py | 64 - examples/python/server_tx.py | 79 - examples/python/simple_recv.py | 59 - examples/python/simple_send.py | 63 - examples/python/sync_client.py | 55 - examples/python/test_examples.py | 151 - examples/python/tx_recv.py | 80 - examples/python/tx_recv_interactive.py | 85 - examples/python/tx_send.py | 89 - examples/ruby/engine_recv.rb | 158 - examples/ruby/engine_send.rb | 143 - examples/ruby/example_test.rb | 90 - examples/ruby/lib/debugging.rb | 26 - examples/ruby/lib/driver.rb | 69 - examples/ruby/lib/qpid_examples.rb | 28 - examples/ruby/lib/selectable.rb | 120 - examples/ruby/lib/send_and_receive.rb | 90 - examples/ruby/messenger/README.md | 163 - examples/ruby/messenger/client.rb | 92 - examples/ruby/messenger/mailserver.rb | 84 - examples/ruby/messenger/nonblocking_recv.rb | 145 - examples/ruby/messenger/recv.rb | 82 - examples/ruby/messenger/send.rb | 74 - examples/ruby/reactor/README.md | 103 - examples/ruby/reactor/broker.rb | 200 - examples/ruby/reactor/client.rb | 82 - examples/ruby/reactor/direct_recv.rb | 60 - examples/ruby/reactor/direct_send.rb | 59 - examples/ruby/reactor/helloworld.rb | 73 - examples/ruby/reactor/helloworld_direct.rb | 74 - examples/ruby/reactor/server.rb | 76 - examples/ruby/reactor/simple_recv.rb | 58 - examples/ruby/reactor/simple_send.rb | 55 - examples/ruby/registry_test.rb | 76 - examples/ruby/wrapper_test.rb | 82 - proton-c/.gitignore | 8 - proton-c/CMakeLists.txt | 751 --- proton-c/bindings/CMakeLists.txt | 144 - proton-c/bindings/cpp/CMakeLists.txt | 182 - proton-c/bindings/cpp/ProtonCppConfig.cmake.in | 30 - proton-c/bindings/cpp/README.md | 43 - proton-c/bindings/cpp/cpp.cmake | 35 - proton-c/bindings/cpp/docs/CMakeLists.txt | 41 - proton-c/bindings/cpp/docs/io.md | 27 - proton-c/bindings/cpp/docs/main.md | 128 - proton-c/bindings/cpp/docs/mt.md | 44 - proton-c/bindings/cpp/docs/types.md | 77 - proton-c/bindings/cpp/docs/user.doxygen.in | 78 - .../cpp/include/proton/annotation_key.hpp | 84 - proton-c/bindings/cpp/include/proton/binary.hpp | 60 - .../bindings/cpp/include/proton/byte_array.hpp | 99 - .../cpp/include/proton/codec/amqp_types.hpp | 111 - .../cpp/include/proton/codec/common.hpp | 59 - .../cpp/include/proton/codec/decoder.hpp | 214 - .../bindings/cpp/include/proton/codec/deque.hpp | 60 - .../cpp/include/proton/codec/encoder.hpp | 202 - .../cpp/include/proton/codec/forward_list.hpp | 60 - .../bindings/cpp/include/proton/codec/list.hpp | 62 - .../bindings/cpp/include/proton/codec/map.hpp | 44 - .../cpp/include/proton/codec/unordered_map.hpp | 44 - .../cpp/include/proton/codec/vector.hpp | 58 - .../bindings/cpp/include/proton/connection.hpp | 142 - .../cpp/include/proton/connection_options.hpp | 167 - .../bindings/cpp/include/proton/container.hpp | 234 - .../bindings/cpp/include/proton/decimal.hpp | 64 - .../cpp/include/proton/default_container.hpp | 33 - .../bindings/cpp/include/proton/delivery.hpp | 69 - .../cpp/include/proton/delivery_mode.hpp | 60 - .../bindings/cpp/include/proton/duration.hpp | 75 - .../bindings/cpp/include/proton/endpoint.hpp | 109 - proton-c/bindings/cpp/include/proton/error.hpp | 59 - .../cpp/include/proton/error_condition.hpp | 109 - .../bindings/cpp/include/proton/event_loop.hpp | 93 - .../bindings/cpp/include/proton/function.hpp | 44 - proton-c/bindings/cpp/include/proton/fwd.hpp | 69 - .../cpp/include/proton/internal/cached_map.hpp | 91 - .../cpp/include/proton/internal/comparable.hpp | 40 - .../cpp/include/proton/internal/config.hpp | 100 - .../cpp/include/proton/internal/data.hpp | 105 - .../cpp/include/proton/internal/export.hpp | 62 - .../cpp/include/proton/internal/object.hpp | 113 - .../include/proton/internal/pn_unique_ptr.hpp | 70 - .../cpp/include/proton/internal/type_traits.hpp | 184 - .../cpp/include/proton/io/connection_driver.hpp | 214 - .../include/proton/io/container_impl_base.hpp | 144 - .../cpp/include/proton/io/link_namer.hpp | 51 - proton-c/bindings/cpp/include/proton/link.hpp | 100 - .../cpp/include/proton/listen_handler.hpp | 56 - .../bindings/cpp/include/proton/listener.hpp | 51 - .../bindings/cpp/include/proton/message.hpp | 342 -- .../bindings/cpp/include/proton/message_id.hpp | 92 - .../cpp/include/proton/messaging_handler.hpp | 160 - .../bindings/cpp/include/proton/namespaces.hpp | 44 - .../bindings/cpp/include/proton/receiver.hpp | 112 - .../cpp/include/proton/receiver_options.hpp | 106 - .../cpp/include/proton/reconnect_timer.hpp | 71 - proton-c/bindings/cpp/include/proton/sasl.hpp | 83 - proton-c/bindings/cpp/include/proton/scalar.hpp | 84 - .../bindings/cpp/include/proton/scalar_base.hpp | 215 - proton-c/bindings/cpp/include/proton/sender.hpp | 105 - .../cpp/include/proton/sender_options.hpp | 101 - .../bindings/cpp/include/proton/session.hpp | 121 - .../cpp/include/proton/session_options.hpp | 68 - proton-c/bindings/cpp/include/proton/source.hpp | 88 - .../cpp/include/proton/source_options.hpp | 93 - proton-c/bindings/cpp/include/proton/ssl.hpp | 198 - proton-c/bindings/cpp/include/proton/symbol.hpp | 46 - proton-c/bindings/cpp/include/proton/target.hpp | 67 - .../cpp/include/proton/target_options.hpp | 84 - .../bindings/cpp/include/proton/terminus.hpp | 111 - .../bindings/cpp/include/proton/thread_safe.hpp | 178 - .../bindings/cpp/include/proton/timestamp.hpp | 68 - .../bindings/cpp/include/proton/tracker.hpp | 56 - .../bindings/cpp/include/proton/transfer.hpp | 80 - .../bindings/cpp/include/proton/transport.hpp | 62 - .../bindings/cpp/include/proton/type_id.hpp | 92 - proton-c/bindings/cpp/include/proton/types.hpp | 55 - .../bindings/cpp/include/proton/types_fwd.hpp | 58 - proton-c/bindings/cpp/include/proton/url.hpp | 147 - proton-c/bindings/cpp/include/proton/uuid.hpp | 62 - proton-c/bindings/cpp/include/proton/value.hpp | 207 - proton-c/bindings/cpp/libqpid-proton-cpp.pc.in | 30 - proton-c/bindings/cpp/src/binary.cpp | 44 - proton-c/bindings/cpp/src/byte_array.cpp | 39 - proton-c/bindings/cpp/src/cached_map.cpp | 130 - proton-c/bindings/cpp/src/codec_test.cpp | 115 - proton-c/bindings/cpp/src/connection.cpp | 166 - .../bindings/cpp/src/connection_options.cpp | 210 - proton-c/bindings/cpp/src/connector.cpp | 105 - proton-c/bindings/cpp/src/container.cpp | 138 - proton-c/bindings/cpp/src/container_impl.cpp | 365 -- proton-c/bindings/cpp/src/container_test.cpp | 204 - proton-c/bindings/cpp/src/contexts.cpp | 120 - proton-c/bindings/cpp/src/data.cpp | 70 - proton-c/bindings/cpp/src/decimal.cpp | 37 - proton-c/bindings/cpp/src/decoder.cpp | 334 -- proton-c/bindings/cpp/src/delivery.cpp | 48 - proton-c/bindings/cpp/src/duration.cpp | 36 - proton-c/bindings/cpp/src/encoder.cpp | 162 - proton-c/bindings/cpp/src/endpoint.cpp | 71 - proton-c/bindings/cpp/src/engine_test.cpp | 268 -- proton-c/bindings/cpp/src/error.cpp | 30 - proton-c/bindings/cpp/src/error_condition.cpp | 102 - proton-c/bindings/cpp/src/event_loop.cpp | 57 - proton-c/bindings/cpp/src/handler.cpp | 74 - proton-c/bindings/cpp/src/include/acceptor.hpp | 62 - proton-c/bindings/cpp/src/include/connector.hpp | 66 - .../bindings/cpp/src/include/container_impl.hpp | 119 - proton-c/bindings/cpp/src/include/contexts.hpp | 136 - .../cpp/src/include/event_loop_impl.hpp | 39 - .../cpp/src/include/messaging_adapter.hpp | 62 - proton-c/bindings/cpp/src/include/msg.hpp | 58 - .../bindings/cpp/src/include/proton_bits.hpp | 149 - .../bindings/cpp/src/include/proton_event.hpp | 293 -- .../bindings/cpp/src/include/proton_handler.hpp | 92 - proton-c/bindings/cpp/src/include/reactor.hpp | 100 - .../bindings/cpp/src/include/scalar_test.hpp | 209 - proton-c/bindings/cpp/src/include/test_bits.hpp | 136 - .../cpp/src/include/test_dummy_container.hpp | 83 - .../bindings/cpp/src/include/types_internal.hpp | 74 - proton-c/bindings/cpp/src/interop_test.cpp | 115 - .../bindings/cpp/src/io/connection_driver.cpp | 167 - proton-c/bindings/cpp/src/io/link_namer.cpp | 30 - proton-c/bindings/cpp/src/link.cpp | 84 - proton-c/bindings/cpp/src/listener.cpp | 29 - proton-c/bindings/cpp/src/message.cpp | 335 -- proton-c/bindings/cpp/src/message_test.cpp | 176 - proton-c/bindings/cpp/src/messaging_adapter.cpp | 304 -- proton-c/bindings/cpp/src/node_options.cpp | 171 - proton-c/bindings/cpp/src/object.cpp | 40 - proton-c/bindings/cpp/src/proton_bits.cpp | 76 - proton-c/bindings/cpp/src/proton_event.cpp | 88 - proton-c/bindings/cpp/src/proton_handler.cpp | 74 - proton-c/bindings/cpp/src/reactor.cpp | 95 - proton-c/bindings/cpp/src/receiver.cpp | 98 - proton-c/bindings/cpp/src/receiver_options.cpp | 130 - proton-c/bindings/cpp/src/reconnect_timer.cpp | 65 - proton-c/bindings/cpp/src/sasl.cpp | 38 - proton-c/bindings/cpp/src/scalar_base.cpp | 173 - proton-c/bindings/cpp/src/scalar_test.cpp | 71 - proton-c/bindings/cpp/src/sender.cpp | 100 - proton-c/bindings/cpp/src/sender_options.cpp | 116 - proton-c/bindings/cpp/src/session.cpp | 130 - proton-c/bindings/cpp/src/session_options.cpp | 74 - proton-c/bindings/cpp/src/source.cpp | 60 - proton-c/bindings/cpp/src/ssl.cpp | 57 - proton-c/bindings/cpp/src/ssl_domain.cpp | 140 - proton-c/bindings/cpp/src/target.cpp | 44 - proton-c/bindings/cpp/src/terminus.cpp | 55 - proton-c/bindings/cpp/src/thread_safe_test.cpp | 108 - proton-c/bindings/cpp/src/timestamp.cpp | 49 - proton-c/bindings/cpp/src/tracker.cpp | 34 - proton-c/bindings/cpp/src/transfer.cpp | 45 - proton-c/bindings/cpp/src/transport.cpp | 53 - proton-c/bindings/cpp/src/type_id.cpp | 73 - proton-c/bindings/cpp/src/url.cpp | 288 -- proton-c/bindings/cpp/src/url_test.cpp | 70 - proton-c/bindings/cpp/src/uuid.cpp | 110 - proton-c/bindings/cpp/src/value.cpp | 210 - proton-c/bindings/cpp/src/value_test.cpp | 129 - proton-c/bindings/go/CMakeLists.txt | 79 - proton-c/bindings/go/genwrap.go | 434 -- .../bindings/go/src/qpid.apache.org/README.md | 97 - .../bindings/go/src/qpid.apache.org/amqp/doc.go | 36 - .../go/src/qpid.apache.org/amqp/error.go | 103 - .../go/src/qpid.apache.org/amqp/interop_test.go | 385 -- .../go/src/qpid.apache.org/amqp/marshal.go | 250 - .../go/src/qpid.apache.org/amqp/message.go | 348 -- .../go/src/qpid.apache.org/amqp/message_test.go | 166 - .../go/src/qpid.apache.org/amqp/types.go | 194 - .../go/src/qpid.apache.org/amqp/unmarshal.go | 557 --- .../bindings/go/src/qpid.apache.org/amqp/url.go | 104 - .../go/src/qpid.apache.org/amqp/url_test.go | 59 - .../go/src/qpid.apache.org/amqp/version.go | 29 - .../src/qpid.apache.org/electron/auth_test.go | 124 - .../src/qpid.apache.org/electron/connection.go | 405 -- .../src/qpid.apache.org/electron/container.go | 104 - .../go/src/qpid.apache.org/electron/doc.go | 71 - .../qpid.apache.org/electron/electron_test.go | 546 --- .../go/src/qpid.apache.org/electron/endpoint.go | 182 - .../go/src/qpid.apache.org/electron/error.go | 35 - .../electron/ex_client_server_test.go | 81 - .../go/src/qpid.apache.org/electron/handler.go | 201 - .../go/src/qpid.apache.org/electron/link.go | 221 - .../go/src/qpid.apache.org/electron/receiver.go | 236 - .../go/src/qpid.apache.org/electron/sender.go | 288 -- .../go/src/qpid.apache.org/electron/session.go | 139 - .../go/src/qpid.apache.org/electron/time.go | 83 - .../go/src/qpid.apache.org/proton/doc.go | 64 - .../go/src/qpid.apache.org/proton/engine.go | 422 -- .../go/src/qpid.apache.org/proton/error.go | 96 - .../go/src/qpid.apache.org/proton/handlers.go | 395 -- .../go/src/qpid.apache.org/proton/message.go | 93 - .../src/qpid.apache.org/proton/proton_test.go | 96 - .../go/src/qpid.apache.org/proton/uuid.go | 57 - .../go/src/qpid.apache.org/proton/wrappers.go | 431 -- .../src/qpid.apache.org/proton/wrappers_gen.go | 937 ---- .../go/src/qpid.apache.org/readme-go-get.md | 18 - proton-c/bindings/javascript/CMakeLists.txt | 279 -- proton-c/bindings/javascript/LICENSE | 203 - proton-c/bindings/javascript/README | 426 -- proton-c/bindings/javascript/TODO | 49 - proton-c/bindings/javascript/binding-close.js | 33 - proton-c/bindings/javascript/binding-open.js | 21 - proton-c/bindings/javascript/binding.c | 36 - proton-c/bindings/javascript/data-array.js | 100 - proton-c/bindings/javascript/data-binary.js | 181 - proton-c/bindings/javascript/data-described.js | 74 - proton-c/bindings/javascript/data-long.js | 191 - proton-c/bindings/javascript/data-symbol.js | 59 - .../bindings/javascript/data-typed-number.js | 108 - proton-c/bindings/javascript/data-uuid.js | 107 - proton-c/bindings/javascript/data.js | 1582 ------- proton-c/bindings/javascript/error.js | 172 - proton-c/bindings/javascript/message.js | 840 ---- proton-c/bindings/javascript/messenger.js | 822 ---- proton-c/bindings/javascript/module.js | 481 -- .../javascript/qpid-proton-messenger/LICENSE | 203 - .../javascript/qpid-proton-messenger/README.md | 94 - .../qpid-proton-messenger/lib/.gitignore | 21 - .../qpid-proton-messenger/package.json | 18 - proton-c/bindings/javascript/subscription.js | 81 - proton-c/bindings/node/CMakeLists.txt | 71 - proton-c/bindings/node/binding.gyp.in | 31 - proton-c/bindings/node/javascript.i | 42 - proton-c/bindings/perl/CMakeLists.txt | 82 - proton-c/bindings/perl/LICENSE | 203 - proton-c/bindings/perl/MANIFEST | 10 - proton-c/bindings/perl/Makefile.PL | 12 - proton-c/bindings/perl/README | 17 - proton-c/bindings/perl/TODO | 2 - proton-c/bindings/perl/lib/qpid/proton.pm | 75 - .../bindings/perl/lib/qpid/proton/Constants.pm | 172 - proton-c/bindings/perl/lib/qpid/proton/Data.pm | 1276 ------ .../bindings/perl/lib/qpid/proton/Errors.pm | 26 - .../perl/lib/qpid/proton/ExceptionHandling.pm | 53 - .../bindings/perl/lib/qpid/proton/Mapping.pm | 121 - .../bindings/perl/lib/qpid/proton/Message.pm | 538 --- .../bindings/perl/lib/qpid/proton/Messenger.pm | 353 -- .../bindings/perl/lib/qpid/proton/Tracker.pm | 39 - .../perl/lib/qpid/proton/array_helper.pm | 147 - proton-c/bindings/perl/lib/qpid/proton/utils.pm | 38 - proton-c/bindings/perl/lib/qpid_proton.pm | 38 - proton-c/bindings/perl/perl.i | 216 - proton-c/bindings/perl/tests/array_helper.t | 232 - proton-c/bindings/perl/tests/data.t | 536 --- proton-c/bindings/perl/tests/hash_helper.t | 74 - proton-c/bindings/perl/tests/message.t | 254 -- proton-c/bindings/perl/tests/messenger.t | 129 - proton-c/bindings/perl/tests/utils.pm | 60 - proton-c/bindings/php/.gitignore | 1 - proton-c/bindings/php/CMakeLists.txt | 117 - proton-c/bindings/php/compat.swg | 50 - proton-c/bindings/php/cproton.ini | 21 - proton-c/bindings/php/get_include_dir.php | 55 - proton-c/bindings/php/php.i | 229 - proton-c/bindings/php/proton.ini.in | 21 - proton-c/bindings/php/proton.php | 1119 ----- proton-c/bindings/php/tests.php | 64 - proton-c/bindings/python/CMakeLists.txt | 179 - proton-c/bindings/python/MANIFEST.in | 5 - proton-c/bindings/python/PACKAGING.txt | 26 - proton-c/bindings/python/README.rst.in | 11 - proton-c/bindings/python/cproton.i | 415 -- proton-c/bindings/python/docs/conf.py | 242 - proton-c/bindings/python/docs/index.rst | 11 - proton-c/bindings/python/docs/overview.rst | 160 - proton-c/bindings/python/docs/tutorial.rst | 301 -- proton-c/bindings/python/proton/__init__.py | 4298 ------------------ proton-c/bindings/python/proton/_compat.py | 84 - proton-c/bindings/python/proton/handlers.py | 637 --- proton-c/bindings/python/proton/reactor.py | 884 ---- proton-c/bindings/python/proton/utils.py | 356 -- proton-c/bindings/python/proton/wrapper.py | 114 - proton-c/bindings/python/setup.py.in | 323 -- .../python/setuputils/PYZMQ_LICENSE.BSD | 32 - proton-c/bindings/python/setuputils/__init__.py | 0 proton-c/bindings/python/setuputils/log.py | 46 - proton-c/bindings/python/setuputils/misc.py | 86 - proton-c/bindings/ruby/.gitignore | 6 - proton-c/bindings/ruby/.yardopts | 1 - proton-c/bindings/ruby/CMakeLists.txt | 96 - proton-c/bindings/ruby/ChangeLog | 36 - proton-c/bindings/ruby/LICENSE | 203 - proton-c/bindings/ruby/README.rdoc | 31 - proton-c/bindings/ruby/TODO | 14 - proton-c/bindings/ruby/ext/cproton/extconf.rb | 48 - proton-c/bindings/ruby/lib/codec/data.rb | 912 ---- proton-c/bindings/ruby/lib/codec/mapping.rb | 169 - proton-c/bindings/ruby/lib/core/base_handler.rb | 31 - proton-c/bindings/ruby/lib/core/connection.rb | 328 -- proton-c/bindings/ruby/lib/core/delivery.rb | 271 -- proton-c/bindings/ruby/lib/core/disposition.rb | 158 - proton-c/bindings/ruby/lib/core/endpoint.rb | 140 - proton-c/bindings/ruby/lib/core/exceptions.rb | 126 - proton-c/bindings/ruby/lib/core/link.rb | 387 -- proton-c/bindings/ruby/lib/core/message.rb | 633 --- proton-c/bindings/ruby/lib/core/receiver.rb | 95 - proton-c/bindings/ruby/lib/core/sasl.rb | 94 - proton-c/bindings/ruby/lib/core/selectable.rb | 130 - proton-c/bindings/ruby/lib/core/sender.rb | 76 - proton-c/bindings/ruby/lib/core/session.rb | 163 - proton-c/bindings/ruby/lib/core/ssl.rb | 164 - proton-c/bindings/ruby/lib/core/ssl_details.rb | 33 - proton-c/bindings/ruby/lib/core/ssl_domain.rb | 156 - proton-c/bindings/ruby/lib/core/terminus.rb | 218 - proton-c/bindings/ruby/lib/core/transport.rb | 411 -- proton-c/bindings/ruby/lib/core/url.rb | 77 - proton-c/bindings/ruby/lib/event/collector.rb | 148 - proton-c/bindings/ruby/lib/event/event.rb | 318 -- proton-c/bindings/ruby/lib/event/event_base.rb | 91 - proton-c/bindings/ruby/lib/event/event_type.rb | 71 - proton-c/bindings/ruby/lib/handler/acking.rb | 70 - proton-c/bindings/ruby/lib/handler/c_adaptor.rb | 47 - .../ruby/lib/handler/c_flow_controller.rb | 33 - .../ruby/lib/handler/endpoint_state_handler.rb | 217 - .../lib/handler/incoming_message_handler.rb | 74 - .../ruby/lib/handler/messaging_handler.rb | 218 - .../lib/handler/outgoing_message_handler.rb | 100 - .../ruby/lib/handler/wrapped_handler.rb | 76 - .../bindings/ruby/lib/messenger/messenger.rb | 702 --- .../bindings/ruby/lib/messenger/subscription.rb | 37 - proton-c/bindings/ruby/lib/messenger/tracker.rb | 38 - .../ruby/lib/messenger/tracker_status.rb | 69 - proton-c/bindings/ruby/lib/qpid_proton.rb | 132 - proton-c/bindings/ruby/lib/reactor/acceptor.rb | 41 - proton-c/bindings/ruby/lib/reactor/backoff.rb | 41 - proton-c/bindings/ruby/lib/reactor/connector.rb | 98 - proton-c/bindings/ruby/lib/reactor/container.rb | 272 -- .../ruby/lib/reactor/global_overrides.rb | 44 - .../bindings/ruby/lib/reactor/link_option.rb | 90 - proton-c/bindings/ruby/lib/reactor/reactor.rb | 196 - .../ruby/lib/reactor/session_per_connection.rb | 45 - .../bindings/ruby/lib/reactor/ssl_config.rb | 41 - proton-c/bindings/ruby/lib/reactor/task.rb | 39 - proton-c/bindings/ruby/lib/reactor/urls.rb | 40 - proton-c/bindings/ruby/lib/types/array.rb | 172 - proton-c/bindings/ruby/lib/types/described.rb | 63 - proton-c/bindings/ruby/lib/types/hash.rb | 87 - proton-c/bindings/ruby/lib/types/strings.rb | 62 - .../bindings/ruby/lib/util/class_wrapper.rb | 54 - proton-c/bindings/ruby/lib/util/condition.rb | 45 - proton-c/bindings/ruby/lib/util/constants.rb | 85 - proton-c/bindings/ruby/lib/util/engine.rb | 82 - .../bindings/ruby/lib/util/error_handler.rb | 127 - proton-c/bindings/ruby/lib/util/handler.rb | 41 - proton-c/bindings/ruby/lib/util/reactor.rb | 32 - proton-c/bindings/ruby/lib/util/swig_helper.rb | 114 - proton-c/bindings/ruby/lib/util/timeout.rb | 50 - proton-c/bindings/ruby/lib/util/uuid.rb | 32 - proton-c/bindings/ruby/lib/util/version.rb | 30 - proton-c/bindings/ruby/lib/util/wrapper.rb | 124 - proton-c/bindings/ruby/qpid_proton.gemspec | 36 - proton-c/bindings/ruby/ruby.i | 640 --- .../ruby/spec/qpid/proton/array_spec.rb | 114 - .../bindings/ruby/spec/qpid/proton/data_spec.rb | 493 -- .../spec/qpid/proton/exception_handling_spec.rb | 96 - .../bindings/ruby/spec/qpid/proton/hash_spec.rb | 57 - .../ruby/spec/qpid/proton/message_spec.rb | 638 --- .../ruby/spec/qpid/proton/messenger_spec.rb | 407 -- proton-c/bindings/ruby/spec/spec_helper.rb | 155 - proton-c/docs/api/CMakeLists.txt | 34 - proton-c/docs/api/index.md | 37 - proton-c/docs/api/user.doxygen.in | 88 - proton-c/env.py | 70 - proton-c/include/proton/cid.h | 74 - proton-c/include/proton/codec.h | 1295 ------ proton-c/include/proton/condition.h | 195 - proton-c/include/proton/connection.h | 505 -- proton-c/include/proton/connection_driver.h | 251 - proton-c/include/proton/cproton.i | 1059 ----- proton-c/include/proton/delivery.h | 314 -- proton-c/include/proton/disposition.h | 231 - proton-c/include/proton/engine.h | 42 - proton-c/include/proton/error.h | 132 - proton-c/include/proton/event.h | 579 --- proton-c/include/proton/handlers.h | 53 - proton-c/include/proton/import_export.h | 70 - proton-c/include/proton/link.h | 688 --- proton-c/include/proton/listener.h | 122 - proton-c/include/proton/log.h | 71 - proton-c/include/proton/message.h | 754 --- proton-c/include/proton/messenger.h | 1060 ----- proton-c/include/proton/object.h | 345 -- proton-c/include/proton/parser.h | 52 - proton-c/include/proton/proactor.h | 200 - proton-c/include/proton/reactor.h | 188 - proton-c/include/proton/sasl.h | 212 - proton-c/include/proton/selectable.h | 271 -- proton-c/include/proton/session.h | 297 -- proton-c/include/proton/ssl.h | 433 -- proton-c/include/proton/terminus.h | 309 -- proton-c/include/proton/transport.h | 674 --- proton-c/include/proton/type_compat.h | 150 - proton-c/include/proton/types.h | 437 -- proton-c/include/proton/url.h | 129 - proton-c/include/proton/version.h.in | 29 - proton-c/mllib/__init__.py | 85 - proton-c/mllib/dom.py | 316 -- proton-c/mllib/parsers.py | 107 - proton-c/mllib/transforms.py | 168 - proton-c/soversion.cmake | 2 - proton-c/src/ProtonConfig.cmake.in | 33 - proton-c/src/compiler/msvc/snprintf.c | 52 - proton-c/src/core/autodetect.c | 135 - proton-c/src/core/autodetect.h | 40 - proton-c/src/core/buffer.c | 310 -- proton-c/src/core/buffer.h | 54 - proton-c/src/core/codec.c | 2141 --------- proton-c/src/core/config.h | 32 - proton-c/src/core/connection_driver.c | 168 - proton-c/src/core/data.h | 75 - proton-c/src/core/decoder.c | 497 -- proton-c/src/core/decoder.h | 30 - proton-c/src/core/dispatch_actions.h | 49 - proton-c/src/core/dispatcher.c | 158 - proton-c/src/core/dispatcher.h | 37 - proton-c/src/core/encoder.c | 383 -- proton-c/src/core/encoder.h | 31 - proton-c/src/core/engine-internal.h | 377 -- proton-c/src/core/engine.c | 2277 ---------- proton-c/src/core/error.c | 136 - proton-c/src/core/event.c | 404 -- proton-c/src/core/framing.c | 103 - proton-c/src/core/framing.h | 44 - proton-c/src/core/log.c | 71 - proton-c/src/core/log_private.h | 54 - proton-c/src/core/message.c | 862 ---- proton-c/src/core/object/iterator.c | 78 - proton-c/src/core/object/list.c | 267 -- proton-c/src/core/object/map.c | 461 -- proton-c/src/core/object/object.c | 312 -- proton-c/src/core/object/record.c | 153 - proton-c/src/core/object/string.c | 270 -- proton-c/src/core/transport.c | 3024 ------------ proton-c/src/core/transport.h | 31 - proton-c/src/core/types.c | 34 - proton-c/src/core/util.c | 165 - proton-c/src/core/util.h | 123 - proton-c/src/encodings.h.py | 42 - proton-c/src/extra/parser.c | 423 -- proton-c/src/extra/scanner.c | 399 -- proton-c/src/extra/scanner.h | 74 - proton-c/src/extra/url.c | 272 -- proton-c/src/handlers/flowcontroller.c | 71 - proton-c/src/handlers/handshaker.c | 103 - proton-c/src/handlers/iohandler.c | 115 - proton-c/src/libqpid-proton-core.pc.in | 30 - proton-c/src/libqpid-proton.pc.in | 30 - proton-c/src/messaging.xml | 168 - proton-c/src/messenger/messenger.c | 2438 ---------- proton-c/src/messenger/messenger.h | 30 - proton-c/src/messenger/store.c | 442 -- proton-c/src/messenger/store.h | 54 - proton-c/src/messenger/subscription.c | 136 - proton-c/src/messenger/subscription.h | 33 - proton-c/src/messenger/transform.c | 255 -- proton-c/src/messenger/transform.h | 40 - proton-c/src/platform/platform.c | 122 - proton-c/src/platform/platform.h | 93 - proton-c/src/platform/platform_fmt.h | 85 - proton-c/src/protocol.h.py | 146 - proton-c/src/protocol.py | 121 - proton-c/src/reactor/acceptor.c | 117 - proton-c/src/reactor/connection.c | 370 -- proton-c/src/reactor/handler.c | 111 - proton-c/src/reactor/io.h | 70 - proton-c/src/reactor/io/posix/io.c | 342 -- proton-c/src/reactor/io/posix/selector.c | 214 - proton-c/src/reactor/io/windows/io.c | 464 -- proton-c/src/reactor/io/windows/iocp.c | 1179 ----- proton-c/src/reactor/io/windows/iocp.h | 136 - proton-c/src/reactor/io/windows/selector.c | 384 -- .../src/reactor/io/windows/write_pipeline.c | 314 -- proton-c/src/reactor/reactor.c | 500 -- proton-c/src/reactor/reactor.h | 34 - proton-c/src/reactor/selectable.c | 300 -- proton-c/src/reactor/selectable.h | 36 - proton-c/src/reactor/selector.h | 53 - proton-c/src/reactor/timer.c | 168 - proton-c/src/sasl/cyrus_sasl.c | 523 --- proton-c/src/sasl/none_sasl.c | 197 - proton-c/src/sasl/sasl-internal.h | 96 - proton-c/src/sasl/sasl.c | 713 --- proton-c/src/security.xml | 76 - proton-c/src/ssl/PLATFORM_NOTES.md | 82 - proton-c/src/ssl/openssl.c | 1434 ------ proton-c/src/ssl/schannel.c | 2239 --------- proton-c/src/ssl/ssl-internal.h | 36 - proton-c/src/ssl/ssl_stub.c | 159 - proton-c/src/tests/CMakeLists.txt | 51 - proton-c/src/tests/condition.c | 56 - proton-c/src/tests/data.c | 49 - proton-c/src/tests/engine.c | 314 -- proton-c/src/tests/event.c | 109 - proton-c/src/tests/message.c | 47 - proton-c/src/tests/object.c | 1115 ----- proton-c/src/tests/parse-url.c | 123 - proton-c/src/tests/reactor.c | 578 --- proton-c/src/tests/refcount.c | 393 -- proton-c/src/transactions.xml | 73 - proton-c/src/transport.xml | 200 - proton-c/src/types.xml | 125 - proton-c/tox.ini.in | 27 - proton-c/xproton.py | 20 - qpid-proton-cpp.syms | 627 --- .../org/apache/qpid/proton/ProtonJInterop.java | 205 - tests/java/shim/binding/proton/__init__.py | 4298 ++++++++++++++++++ tests/java/shim/binding/proton/_compat.py | 84 + tests/java/shim/binding/proton/handlers.py | 637 +++ tests/java/shim/binding/proton/reactor.py | 884 ++++ tests/java/shim/binding/proton/utils.py | 356 ++ tests/java/shim/binding/proton/wrapper.py | 114 + tests/javascript/codec.js | 569 --- tests/javascript/message.js | 359 -- tests/javascript/msgr-recv.js | 265 -- tests/javascript/msgr-send-common.js | 245 - tests/javascript/msgr-send.html | 123 - tests/javascript/msgr-send.js | 100 - tests/javascript/soak.js | 93 - tests/javascript/unittest.js | 45 - tests/perf/README.txt | 10 - tests/perf/quick_perf.py | 79 - tests/pom.xml | 2 +- tests/python/proton_tests/__init__.py | 1 - tests/python/proton_tests/reactor_interop.py | 164 - tests/ruby/proton-test | 9 - tests/ruby/proton_tests/interop.rb | 141 - tests/ruby/proton_tests/smoke.rb | 63 - tests/smoke/recv.php | 27 - tests/smoke/recv.pl | 23 - tests/smoke/recv.py | 23 - tests/smoke/recv.rb | 24 - tests/smoke/send.php | 27 - tests/smoke/send.pl | 17 - tests/smoke/send.py | 24 - tests/smoke/send.rb | 24 - tests/tools/apps/README.txt | 14 - tests/tools/apps/c/CMakeLists.txt | 53 - tests/tools/apps/c/msgr-common.c | 175 - tests/tools/apps/c/msgr-common.h | 93 - tests/tools/apps/c/msgr-recv.c | 281 -- tests/tools/apps/c/msgr-send.c | 320 -- tests/tools/apps/c/reactor-recv.c | 451 -- tests/tools/apps/c/reactor-send.c | 416 -- tests/tools/apps/cpp/CMakeLists.txt | 53 - tests/tools/apps/cpp/reactor_send.cpp | 135 - tests/tools/apps/python/msgr-recv.py | 206 - tests/tools/apps/python/msgr-send.py | 205 - tests/tools/apps/python/reactor-send.py | 85 - tests/tools/soak-check | 131 - tools/check_abi/README.md | 9 - tools/check_abi/check-abi | 68 - tools/check_abi/cppabi.cpp | 32 - tools/check_abi/expand_types.cpp | 56 - tools/cmake/Modules/FindEmscripten.cmake | 40 - tools/cmake/Modules/FindJava.cmake | 214 - tools/cmake/Modules/FindLibuv.cmake | 37 - tools/cmake/Modules/FindNodePackages.cmake | 72 - tools/cmake/Modules/ProtonFindPerl.cmake | 81 - tools/cmake/Modules/ProtonUseJava.cmake | 30 - .../Modules/ProtonUseJavaSourceFileList.cmake | 68 - tools/cmake/Modules/README | 14 - tools/cmake/Modules/UseJava.cmake | 1015 ----- tools/cmake/Modules/UseJavaClassFilelist.cmake | 52 - tools/cmake/Modules/UseJavaSymlinks.cmake | 32 - tools/cmake/Modules/WindowsC99CheckDef.cmake | 31 - tools/cmake/Modules/WindowsC99SymbolCheck.py | 66 - version.txt | 1 - 821 files changed, 6379 insertions(+), 136502 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/.gitignore ---------------------------------------------------------------------- diff --git a/.gitignore b/.gitignore index aa9bc36..8c5faec 100644 --- a/.gitignore +++ b/.gitignore @@ -28,20 +28,3 @@ eclipse-classes .pydevproject # End of Eclipse IDE files -# The usual location for proton-c build files -proton-c/build - -# Executables built by go binding tests -proton-c/bindings/go/bin - -# Testresults from the jenkins build script -testresults - -# Go binding build output -/proton-c/bindings/go/pkg -/proton-c/bindings/go/bin - -# Python TOX test build output -/proton-c/bindings/python/MANIFEST -/proton-c/bindings/python/build - http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/.travis.yml ---------------------------------------------------------------------- diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 856e55f..0000000 --- a/.travis.yml +++ /dev/null @@ -1,35 +0,0 @@ -os: -- linux -sudo: false -language: -- python -python: -- 2.7 -addons: - apt: - packages: - - cmake - - libssl-dev - - libsasl2-dev - - sasl2-bin - - swig - - python-dev - - valgrind - - ruby - - ruby-dev - - python3-dev - - php5 - - openjdk-7-jdk -install: -- pip install --upgrade pip -- pip install tox -- gem install rspec -- gem install simplecov || true -- gem install minitest -before_script: -- export PATH=${HOME}/.local/bin:${PATH} -- mkdir Build -- cd Build -- cmake .. -DCMAKE_INSTALL_PREFIX=$PWD/install -script: -- cmake --build . --target install && ctest -V http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/CMakeLists.txt ---------------------------------------------------------------------- diff --git a/CMakeLists.txt b/CMakeLists.txt deleted file mode 100644 index a6cca43..0000000 --- a/CMakeLists.txt +++ /dev/null @@ -1,195 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# -cmake_minimum_required (VERSION 2.8.7) - -project (Proton C) - -# Enable C++ now for examples and bindings subdirectories, but make it optional. -enable_language(CXX OPTIONAL) - -# Enable testing -enable_testing() -include (CTest) - -# Pull in local cmake modules -set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/tools/cmake/Modules/") - -if (MSVC) - # No C99 capability, use C++ - set(DEFAULT_BUILD_WITH_CXX ON) -endif (MSVC) -option(BUILD_WITH_CXX "Compile Proton using C++" ${DEFAULT_BUILD_WITH_CXX}) - -if (CMAKE_CONFIGURATION_TYPES) - # There is no single "build type"... - message(STATUS "Build types are ${CMAKE_CONFIGURATION_TYPES}") -else (CMAKE_CONFIGURATION_TYPES) - # There is a single build configuration - # If the build type is not set then set the default - if (NOT CMAKE_BUILD_TYPE) - set (CMAKE_BUILD_TYPE RelWithDebInfo CACHE string - "Build type: Debug, Release, RelWithDebInfo, MinSizeRel or Coverage (default RelWithDebInfo)" FORCE) - endif () - - # Set up extra coverage analysis options for gcc and clang - if (CMAKE_COMPILER_IS_GNUCC) - set (CMAKE_C_FLAGS_COVERAGE "-g -O0 --coverage") - set (CMAKE_CXX_FLAGS_COVERAGE "-g -O0 --coverage") - set (CMAKE_EXE_LINKER_FLAGS_COVERAGE "--coverage") - set (CMAKE_MODULE_LINKER_FLAGS_COVERAGE "--coverage") - set (CMAKE_SHARED_LINKER_FLAGS_COVERAGE "--coverage") - mark_as_advanced( - CMAKE_C_FLAGS_COVERAGE CMAKE_CXX_FLAGS_COVERAGE - CMAKE_EXE_LINKER_FLAGS_COVERAGE CMAKE_MODULE_LINKER_FLAGS_COVERAGE - CMAKE_SHARED_LINKER_FLAGS_COVERAGE) - endif() - - if (CMAKE_BUILD_TYPE MATCHES "Deb") - set (has_debug_symbols " (has debug symbols)") - endif (CMAKE_BUILD_TYPE MATCHES "Deb") - message(STATUS "Build type is \"${CMAKE_BUILD_TYPE}\"${has_debug_symbols}") -endif (CMAKE_CONFIGURATION_TYPES) - -# Add coverage target if we're building for test coverage -if (CMAKE_BUILD_TYPE MATCHES "Coverage") - make_directory(coverage_results) - add_custom_target(coverage - WORKING_DIRECTORY ./coverage_results - COMMAND ${CMAKE_SOURCE_DIR}/bin/record-coverage.sh ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}) -endif() - -if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") - # Default to universal binary on Mac OS X unless user has overriden - if (NOT DEFINED CMAKE_OSX_ARCHITECTURES OR "${CMAKE_OSX_ARCHITECTURES}" STREQUAL "") - set(CMAKE_OSX_ARCHITECTURES "i386;x86_64") - endif () -endif () - -file(READ version.txt PN_VERSION_FILE) -string(STRIP ${PN_VERSION_FILE} PN_VERSION_LINE) -string(REPLACE "-" ";" PN_VERSION_SPLIT "${PN_VERSION_LINE}") -list(GET PN_VERSION_SPLIT 0 PN_VERSION_CLEAN) -list(REMOVE_AT PN_VERSION_SPLIT 0) -string(REPLACE ";" "-" PN_VERSION_QUALIFIER "${PN_VERSION_SPLIT}") -string(REGEX MATCHALL "[0-9]+" PN_VERSION_LIST "${PN_VERSION_CLEAN}") - -list(GET PN_VERSION_LIST 0 PN_VERSION_MAJOR) -list(GET PN_VERSION_LIST 1 PN_VERSION_MINOR) - -list(LENGTH PN_VERSION_LIST PN_VERSION_LENGTH) -if (${PN_VERSION_LENGTH} GREATER 2) - list(GET PN_VERSION_LIST 2 PN_VERSION_POINT) - set (PN_VERSION "${PN_VERSION_MAJOR}.${PN_VERSION_MINOR}.${PN_VERSION_POINT}") -else() - set (PN_VERSION_POINT 0) - set (PN_VERSION "${PN_VERSION_MAJOR}.${PN_VERSION_MINOR}") -endif() - -message(STATUS "PN_VERSION: ${PN_VERSION} (${PN_VERSION_QUALIFIER})") - -set (pn_test_root "${CMAKE_CURRENT_SOURCE_DIR}/tests") -set (pn_test_bin "${CMAKE_CURRENT_BINARY_DIR}/tests") - -# In rpm builds the build sets some variables: -# CMAKE_INSTALL_PREFIX - this is a standard cmake variable -# INCLUDE_INSTALL_DIR -# LIB_INSTALL_DIR -# SYSCONF_INSTALL_DIR -# SHARE_INSTALL_DIR -# So make these cached variables and the specific variables non cached -# and derived from them. - -if (NOT DEFINED LIB_SUFFIX) - get_property(LIB64 GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS) - if ("${LIB64}" STREQUAL "TRUE" AND ${CMAKE_SIZEOF_VOID_P} STREQUAL "8") - set(LIB_SUFFIX 64) - else() - set(LIB_SUFFIX "") - endif() -endif() - -# Start of variables used during install -set (INCLUDE_INSTALL_DIR include CACHE PATH "Include file directory") -set (LIB_INSTALL_DIR "lib${LIB_SUFFIX}" CACHE PATH "Library object file directory") -set (SYSCONF_INSTALL_DIR etc CACHE PATH "System read only configuration directory") -set (SHARE_INSTALL_DIR share CACHE PATH "Shared read only data directory") -set (MAN_INSTALL_DIR share/man CACHE PATH "Manpage directory") - -mark_as_advanced (INCLUDE_INSTALL_DIR LIB_INSTALL_DIR SYSCONF_INSTALL_DIR SHARE_INSTALL_DIR MAN_INSTALL_DIR) - -## LANGUAGE BINDINGS - -# Default directory for language bindings not being installed into -# system specified locations. -set (BINDINGS_DIR ${LIB_INSTALL_DIR}/proton/bindings) - -set (SYSINSTALL_BINDINGS OFF CACHE BOOL "If SYSINSTALL_BINDINGS is OFF then proton bindings will be installed underneath ${BINDINGS_DIR} and each user will need to modify their interpreter configuration to load the appropriate binding. If SYSINSTALL_BINDINGS is ON, then each language interpreter will be queried for the appropriate directory and proton bindings will be installed and available system wide with no additional per user configuration.") - -set (BINDING_LANGS PERL PHP PYTHON RUBY) - -foreach (LANG ${BINDING_LANGS}) - set (SYSINSTALL_${LANG} OFF CACHE BOOL "Install ${LANG} bindings into interpreter specified location.") - if (SYSINSTALL_BINDINGS OR SYSINSTALL_${LANG}) - set (CHECK_SYSINSTALL_${LANG} ON) - else () - set (CHECK_SYSINSTALL_${LANG} OFF) - endif () -endforeach() - -set (PROTON_SHARE ${SHARE_INSTALL_DIR}/proton-${PN_VERSION}) -# End of variables used during install - -find_package(Java) -option (BUILD_JAVA "Build proton-j." ${JAVA_FOUND}) - -if (BUILD_JAVA) - add_subdirectory(proton-j) -endif() - -# Check for valgrind here so tests under proton-c/ and examples/ can use it. -find_program(VALGRIND_EXE valgrind DOC "Location of the valgrind program") -mark_as_advanced (VALGRIND_EXE) - -option(ENABLE_VALGRIND "Use valgrind to detect run-time problems" ON) -if (ENABLE_VALGRIND) - if (NOT VALGRIND_EXE) - message(STATUS "Can't locate the valgrind command; no run-time error detection") - elseif (CMAKE_BUILD_TYPE MATCHES "Coverage") - message(STATUS "Building for coverage analysis; no run-time error detection") - else () - set (VALGRIND_ENV "VALGRIND=${VALGRIND_EXE}") - endif () -endif (ENABLE_VALGRIND) - -add_subdirectory(proton-c) -add_subdirectory(examples) - -install (FILES LICENSE README.md - DESTINATION ${PROTON_SHARE}) - -install (DIRECTORY examples - DESTINATION ${PROTON_SHARE} - REGEX "/examples/CMakeLists.txt$" EXCLUDE - PATTERN "*Config.cmake" EXCLUDE) - -# Generate test environment settings -configure_file(${CMAKE_SOURCE_DIR}/config.sh.in - ${CMAKE_BINARY_DIR}/config.sh @ONLY) -configure_file(${CMAKE_SOURCE_DIR}/config.bat.in - ${CMAKE_BINARY_DIR}/config.bat @ONLY) http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/DEVELOPERS.md ---------------------------------------------------------------------- diff --git a/DEVELOPERS.md b/DEVELOPERS.md deleted file mode 100644 index 7d631e6..0000000 --- a/DEVELOPERS.md +++ /dev/null @@ -1,116 +0,0 @@ -Qpid Proton Developer Information -================================= - -Development Environment ------------------------ - -Developers wishing to work across multiple languages should become -familiar with the CMake build system as this will build and run all -available tests and code whereas the maven build system only run Java -tests. - -First you will need to set up your basic build environment with CMake and all -prerequisites (see the instructions in INSTALL) so that you can build the full -code base. - -To setup shell variables for your development environment, you must source -the file config.sh from the CMake build directory. - - $ cd build - $ source config.sh - -This file sets the necessary environment variables for Java, for all supported -dynamic languages (Python, Perl, Ruby, PHP) and for running the tests. - -Testing -------- - -As a developer on Proton, it is a good idea to build and test with the -appropriate dependencies and settings in place so that the complete set of -language bindings and implementations are present. - -Note that there is a common test suite written in python which will run against -both the proton-c and proton-j implementations to help keep them in sync with -each other. This can be found under the top level `tests/python` directory. -This has been integrated into the maven build via Jython (and is hence included -in the proton-java ctest suite). When you run the python test suite in -Jython, the swig generated cproton doesn't actually exist since it is a C -module. Instead, you get the `cproton.py` that resides in the Java source tree -under `proton-j/src/main/resources`. This `cproton.py` and its dependent files -serve as a shim that adapts between the Java API and the C API. - - -### Running tests - -To test Proton you should use the CMake build. By default this will invoke the -maven tests as well, so the maven prerequisites will additionally be required. - -By default the unit tests are run using the system's default Python -interpreter. However, Proton's Python language bindings support both -versions of the python language (Python 2.x and Python 3.x). These -bindings should be tested using both versions of the Python -interpreter. CMake makes this possible by automatically running the -python unit tests under all versions of python installed on the -system. - -Developers can ensure that Proton remains compatible with both -versions of Python by installing the following prerequisites: - -_Note: currently CMake only supports multi-Python testing in **Linux** -based environments. Non-Linux developers may skip the following two -steps._ - -1. Installing both Python2.x and Python3.x and their associated -development environments on your system. Most modern Linux -distributions support installing Python 2.x and Python 3.x in -parallel. - -2. Install the **tox** Python testing tool, (e.g. for Fedora): - - $ yum install python-tox - - -To run the tests, cd into your build directory and use the following commands: - - # to run all the tests, summary mode - $ ctest - - # to list the available testsuites - $ ctest -N - - # to run a single testsuite, verbose output - $ ctest -V -R c-engine-tests - -Additional packages required for testing the language bindings: - - # ruby dependencies - $ yum install rubygem-minitest rubygem-rspec rubygem-simplecov - - # alternatively ruby depedencies on non-RPM based systems - $ gem install minitest rspec simplecov - -If wishing to run a particular subset of python tests against proton-j, a -pattern can be set via the Java system property "proton.pythontest.pattern" -when running the Maven build directly: - - # Run the tests in transport.py class ClientTransportTest against proton-j: - $ mvn test -Dproton.pythontest.pattern='proton_tests.transport.ClientTransportTest.*' - - -Mailing list ------------- - -Subscribe to the Qpid mailing lists using details at: - - http://qpid.apache.org/discussion.html - - -Patches -------- - -The best way to submit patches is to create a bug report or feature request -on the project's JIRA instance: - - http://issues.apache.org/jira/browse/PROTON - -You can attach any patch(es) to the report/request there http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/INSTALL.md ---------------------------------------------------------------------- diff --git a/INSTALL.md b/INSTALL.md deleted file mode 100644 index 422b606..0000000 --- a/INSTALL.md +++ /dev/null @@ -1,198 +0,0 @@ -Qpid Proton Install Information -=============================== - -Proton comes with two separate build systems. The CMake build system can builds -the entire codebase, including proton-c, all proton-c language bindings, and -the pure Java proton-j implementation. The maven build system can only build -the Java portions of the code. - -CMake (Linux) -------------- - -The following prerequisites are required to do a full build on RPM based systems (RHEL, Fedora etc.). -If you do not wish to build a given language binding you can omit the devel -package for that language: - - # required dependencies - $ yum install gcc cmake libuuid-devel - - # dependencies needed for ssl support - $ yum install openssl-devel - - # dependencies needed for Cyrus SASL support - $ yum install cyrus-sasl-devel - - # dependencies needed for bindings - $ yum install swig # Required for all bindings - $ yum install python-devel # Python - $ yum install ruby-devel rubygem-rspec rubygem-simplecov # Ruby - $ yum install pphp-devel # PHP - $ yum install perl-devel # Perl - - # dependencies needed for java (note that any non-ancient jvm will - # work, 1.8.0 is just what is current for fedora 23) - $ yum install java-1.8.0-openjdk-devel - - # dependencies needed for python docs - $ yum install epydoc - -The following prerequisites are required to do a full build on Debian based systems (Ubuntu). -If you do not wish to build a given language binding you can omit the dev -package for that language: - - # Required dependencies - $ apt-get install gcc cmake cmake-curses-gui uuid-dev - - # dependencies needed for ssl support - $ apt-get install libssl-dev - - # dependencies needed for Cyrus SASL support - $ apt-get install libsasl2-2 libsasl2-dev - - # dependencies needed for bindings - $ apt-get install swig python-dev ruby-dev libperl-dev - - # dependencies needed for java (note that any non-ancient jvm will - # work, 1.8.0 is just what is current for ubuntu 14) - $ apt-get install openjdk-8-jdk - - # dependencies needed for python docs - $ apt-get install python-epydoc - -From the directory where you found this README file: - - $ mkdir build - $ cd build - - # Set the install prefix. You may need to adjust depending on your - # system. - $ cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DSYSINSTALL_BINDINGS=ON - - # Omit the docs target if you do not wish to build or install - # documentation. - $ make all docs - - # Note that this step will require root privileges. - $ make install - -When make install completes, all installed files are listed in the -install_manifest.txt file. The contents of this file may be used to -uninstall. - -Note: When SYSINSTALL_BINDINGS is enabled (ON), the -CMAKE_INSTALL_PREFIX does not affect the location for where the -language bindings (Python, Perl, PHP, Ruby) are installed. For those -elements, the location is determined by the language interpreter -itself; i.e., each interpreter is queried for the proper location for -extensions. If you want to constrain where the Proton code is -installed, set SYSINSTALL_BINDINGS to OFF. This will install all -bindings to a common location under ${CMAKE_INSTALL_PREFIX}. When -installed like this, each user will need to manually configure their -interpreters with the respective binding location. - -CMake (Windows) ---------------- - -This describes how to build the Proton library on Windows using -Microsoft Visual C++. - -The Proton build uses the CMake tool to generate the Visual Studio -project files. These project files can then be loaded into Visual -Studio and used to build the Proton library. - -The following packages must be installed: - - - Visual Studio 2005 or newer (regular or C++ Express) - - Python (www.python.org) - - CMake (www.cmake.org) - -Additional packages are required for the language bindings - - - swig (www.swig.org) - - development headers and libraries for the language of choice - -Notes: - - - be sure to install relevant Microsoft Service Packs and updates - - python.exe, cmake.exe and swig.exe _must_ all be added to your PATH - -To generate the Visual Studio project files, from the directory where you found -this README file: - - > mkdir build - > cd build - > cmake .. - -If CMake doesn't guess things correctly, useful additional arguments are: - - -G "Visual Studio 10" - -DSWIG_EXECUTABLE=C:\swigwin-2.0.7\swig.exe - -Refer to the CMake documentation for more information. - -Build and install from a command prompt (using msbuild) - > cmake --build . --target install --config RelWithDebInfo - -Loading the ALL_BUILD project into Visual Studio - - 1. Run the Microsoft Visual Studio IDE - 2. From within the IDE, open the ALL_BUILD project file or proton - solution file - it should be in the 'build' directory you created - above. - 3. Select the appropriate configuration. RelWithDebInfo works best - with the included CMake/CTest scripts - -Note that if you wish to build debug version of proton for use with -swig bindings on Windows, you must have the appropriate debug target -libraries to link against. - -Installing Language Bindings ----------------------------- - -Most dynamic languages provide a way for asking where to install -libraries in order to place them in a default search path. - -When SYSINSTALL_BINDINGS is disabled (OFF), Proton installs all -dynamic language bindings into a central, default location: - - BINDINGS=${CMAKE_INSTALL_PREFIX}/${LIB_INSTALL_DIR}/proton/bindings - -In order to use these bindings, you'll need to configure your -interpreter to load the bindings from the appropriate directory: - - * Perl - Add ${BINDINGS}/perl to PERL5LIB - * PHP - Set the PHPRC envvar to point to ${BINDINGS}/php/proton.ini - * Python - Add ${BINDINGS}/python to PYTHONPATH - * Ruby - Add ${BINDINGS}/ruby to RUBYLIB - -You can configure the build to install a specific binding to the -location specified by the system interpreter with the -SYSINSTALL_[LANGUAGE] options, where [LANGUAGE] is one of JAVA, PERL, -PHP, PYTHON, or RUBY.: - - $ cmake .. -DSYSINSTALL_PHP=ON - -Disabling Language Bindings ---------------------------- - -To disable any given language bindings, you can use the -BUILD_[LANGUAGE] option where [LANGUAGE] is one of JAVA, PERL, PHP, -PYTHON or RUBY, e.g.: - - $ cmake .. -DBUILD_PHP=OFF - -Maven (All platforms) ---------------------- - -The following prerequisites are required to do a full build. - - + Apache Maven 3.0 (or higher) (http://maven.apache.org/) - -From the directory where you found this README file: - - # To compile and package all Java modules (omitting the tests) - $ mvn -DskipTests package - - # To install the packages in the local Maven repository (usually ~/.m2/repo) - $ mvn -DskipTests install - http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/LICENSE ---------------------------------------------------------------------- diff --git a/LICENSE b/LICENSE index 7d0fda9..6b0b127 100644 --- a/LICENSE +++ b/LICENSE @@ -201,15 +201,3 @@ See the License for the specific language governing permissions and limitations under the License. - -PROTON SUBCOMPONENTS: - -Proton includes freegetopt with a separate BSD license. Your use -of the source code for freegetopt is subject to the terms and -conditions of its license in examples/include/pncompat/internal/LICENSE. - -The setup scripts for the python bindings include files derived by -PyZMQ and are licensed with a separate Modified BSD license. Use of -the source code in these setup files are subject to the terms and -conditions in the license: -proton-c/bindings/python/setuputils/PYZMQ_LICENSE.BSD. http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/NOTICE ---------------------------------------------------------------------- diff --git a/NOTICE b/NOTICE index 9f6952c..373f02a 100644 --- a/NOTICE +++ b/NOTICE @@ -1,4 +1,4 @@ -Apache Qpid Proton +Apache Qpid Proton-J Copyright 2012-2016 The Apache Software Foundation This product includes software developed at http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 9f95939..c0e79a0 100644 --- a/README.md +++ b/README.md @@ -1,44 +1,8 @@ -Qpid Proton - AMQP messaging toolkit -==================================== +Apache Qpid Proton-J +==================== -Linux Build | Windows Build -------------|-------------- -[](https://travis-ci.org/apache/qpid-proton) | [](https://ci.appveyor.com/project/ke4qqq/qpid-proton/branch/master) - -Qpid Proton is a high-performance, lightweight messaging library. It can be +Qpid Proton-J is a high-performance, lightweight messaging library. It can be used in the widest range of messaging applications, including brokers, client -libraries, routers, bridges, proxies, and more. Proton makes it trivial to -integrate with the AMQP 1.0 ecosystem from any platform, environment, or -language - -Features --------- - - + A flexible and capable reactive messaging API - + Full control of AMQP 1.0 protocol semantics - + Portable C implementation with bindings to popular languages - + Pure-Java and pure-JavaScript implementations - + Peer-to-peer and brokered messaging - + Secure communication via SSL and SASL - -Universal - Proton is designed to scale both up and down. Equally suitable for -simple clients or high-powered servers, it can be deployed in simple -peer-to-peer configurations or as part of a global federated messaging network. - -Embeddable - Proton is carefully written to be portable and cross platform. It -has minimal dependencies, and it is architected to be usable with any threading -model, as well as with non-threaded applications. These features make it -uniquely suited for embedding messaging capabilities into existing software. - -Standard - Built around the AMQP 1.0 messaging standard, Proton is not only -ideal for building out your own messaging applications but also for connecting -them to the broader ecosystem of AMQP 1.0-based messaging applications. - -Getting Started ---------------- - -See the included INSTALL file for build and install instructions and the -DEVELOPERS file for information on how to modify and test the library code -itself. +libraries, routers, bridges, proxies, and more. Please see http://qpid.apache.org/proton for a more info. http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/RELEASE.md ---------------------------------------------------------------------- diff --git a/RELEASE.md b/RELEASE.md deleted file mode 100644 index 232e944..0000000 --- a/RELEASE.md +++ /dev/null @@ -1,48 +0,0 @@ -### Building a release for vote: - -1. Grab a clean checkout for safety. -2. Run: "git checkout ${BRANCH}" to switch to a branch of the intended release point. -3. Update the versions: - - Run: "bin/version.sh ${VERSION}", e.g. bin/version.sh 0.17.0 - - Update the version(s) if needed in file: proton-c/bindings/python/docs/conf.py -4. Commit the changes, tag them. - - Run: "git add ." - - Run: 'git commit -m "update versions for ${TAG}"' - - Run: 'git tag -m "tag $TAG" $TAG' - - Push changes. Optionally save this bit for later. -5. Run: "bin/export.sh $PWD ${TAG}" to create the qpid-proton-${TAG}.tar.gz release archive. -6. Rename and create signature and checksums for the archive: - - e.g "mv qpid-proton-${TAG}.tar.gz qpid-proton-${VERSION}.tar.gz" - - e.g "gpg --detach-sign --armor qpid-proton-${VERSION}.tar.gz" - - e.g "sha1sum qpid-proton-${VERSION}.tar.gz > qpid-proton-${VERSION}.tar.gz.sha1" - - e.g "md5sum qpid-proton-${VERSION}.tar.gz > qpid-proton-${VERSION}.tar.gz.md5" -7. Deploy the Java binaries to a staging repo: - - Run: "tar -xzf qpid-proton-${VERSION}.tar.gz" - - Run: "cd qpid-proton-${VERSION}" - - Run: "mvn deploy -Papache-release -DskipTests=true" -8. Close the staging repo: - - Log in at https://repository.apache.org/index.html#stagingRepositories - - Find the new 'open' staging repo just created and select its checkbox. - - Click the 'close' button, provide a description, e.g "Proton ${TAG}" and close the repo. - - Wait a few seconds, hit the 'refresh' button and confirm the repo is now 'closed'. - - Click on the repo and find its URL listed in the summary. -9. Commit artifacts to dist dev repo in https://dist.apache.org/repos/dist/dev/qpid/proton/${TAG} dir. -10. Send email, provide links to dist dev repo and the staging repo. - - -### After a vote succeeds: - -1. Bump the master/branch version to next 0.x.y-SNAPSHOT if it wasnt already. -2. Tag the RC with the final name/version. -3. Commit the artifacts to dist release repo in https://dist.apache.org/repos/dist/release/qpid/proton/${RELEASE} dir: - - Rename the files to remove the RC suffix. - - Fix filename within .sha and .md5 checksums or regenerate. -4. Update the 'latest' link in https://dist.apache.org/repos/dist/release/qpid/proton/. -5. Release the staging repo: - - Log in at https://repository.apache.org/index.html#stagingRepositories - - Find the 'closed' staging repo representing the RC select its checkbox. - - Click the 'Release' button and release the repo. -6. Give the mirrors some time to distribute things. -7. Update the website with release content. -8. Update development roadmap. -9. Send release announcement email. http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/appveyor.yml ---------------------------------------------------------------------- diff --git a/appveyor.yml b/appveyor.yml deleted file mode 100644 index fe87f0d..0000000 --- a/appveyor.yml +++ /dev/null @@ -1,20 +0,0 @@ -version: '{branch}.{build}' -configuration: RelWithDebInfo -install: -- cinst -y swig -cache: -- C:\ProgramData\chocolatey\bin -> appveyor.yml -- C:\ProgramData\chocolatey\lib -> appveyor.yml -before_build: -- mkdir BLD -- cd BLD -- cmake -G "Visual Studio 12" -DBUILD_PERL=no -DBUILD_JAVA=no .. -- cd .. -build: - parallel: true - verbosity: normal -test_script: -- cd BLD -- cmake --build . --target install --config %CONFIGURATION% -- ctest -V -C %CONFIGURATION% -- cd .. http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/bin/export.sh ---------------------------------------------------------------------- diff --git a/bin/export.sh b/bin/export.sh deleted file mode 100755 index 4bad515..0000000 --- a/bin/export.sh +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/bash - -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# export.sh - Create a release archive. -set -e -trap "cleanup" 0 1 2 3 9 11 13 15 - -ME=$(basename ${0}) -SRC=$(dirname $(dirname $(readlink -f $0))) - -usage() -{ - echo - echo "Usage: ${ME} [DIR] [TAG]" - exit 1 -} - -cleanup() -{ - trap - 0 1 2 3 9 11 13 15 - echo - [ ${WORKDIR} ] && [ -d ${WORKDIR} ] && rm -rf ${WORKDIR} -} - -DIR=$PWD -TAG=$(git describe --tags --always) - -## -## Allow overrides to be passed on the cmdline -## -if [ $# -gt 2 ]; then - usage -elif [ $# -ge 1 ]; then - DIR=$1 - if [ $# -eq 2 ]; then - TAG=$2 - fi -fi - -# verify the tag exists -git rev-list -1 tags/${TAG} -- >/dev/null || usage - -WORKDIR=$(mktemp -d) - -## -## Create the archive -## -( - cd ${SRC} - MTIME=$(date -d @`git log -1 --pretty=format:%ct tags/${TAG}` '+%Y-%m-%d %H:%M:%S') - ARCHIVE=$DIR/qpid-proton-${TAG}.tar.gz - VERSION=$(git show tags/${TAG}:version.txt) - PREFIX=qpid-proton-${VERSION} - [ -d ${WORKDIR} ] || mkdir -p ${WORKDIR} - git archive --format=tar --prefix=${PREFIX}/ tags/${TAG} \ - | tar -x -C ${WORKDIR} - cd ${WORKDIR} - tar -c -z \ - --owner=root --group=root --numeric-owner \ - --mtime="${MTIME}" \ - -f ${ARCHIVE} ${PREFIX} - echo "${ARCHIVE}" -) http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/bin/jenkins-proton-c-build.sh ---------------------------------------------------------------------- diff --git a/bin/jenkins-proton-c-build.sh b/bin/jenkins-proton-c-build.sh deleted file mode 100755 index 582a52f..0000000 --- a/bin/jenkins-proton-c-build.sh +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/bash -e -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# This is the continuous delivery build script executed after a git -# extract by the Jenkins build process located at the following URL: -# https://builds.apache.org/view/M-R/view/Qpid/job/Qpid-proton-c/ -# -CMAKE_FLAGS="-DCMAKE_BUILD_TYPE=DEBUG -DCMAKE_INSTALL_PREFIX=$PWD/build/ship" -XMLOUTPUT=../testresults/TEST-protonc.xml - -echo Arch: `arch` Uname: `uname -a` lsb_release: `lsb_release -a` User: `whoami` -echo Java home: $JAVA_HOME - -echo ========================= -echo Listing installed packages -dpkg -l | \ - awk '/^ii (cmake |maven |ruby |python |php |.*jdk |swig[0-9]*)/{print $2, $3}'| \ - sort -echo ========================= - -which python || exit 1 -which swig || exit 1 - -# if python-pip is available, install the python tox test tool -RUN_TOX=false -PIP=$(type -p pip || true) -if [ -n $PIP ] && [ -x "$PIP" ]; then - ldir=$(python -c 'import site; print("%s" % site.USER_BASE)') - PATH="$ldir/bin:$PATH" - echo "PATH=$PATH" - if [ $VIRTUAL_ENV ]; then - pip install -U tox - else - pip install --user -U tox - fi - RUN_TOX=true -fi - -ls - -rm -rf build testresults >/dev/null 2>&1 -mkdir build testresults >/dev/null 2>&1 - -cd build >/dev/null 2>&1 - -cmake ${CMAKE_FLAGS} .. -cmake --build . --target install - -echo Running tests - -$RUN_TOX && ctest -V -R 'python-tox-test' - -source config.sh - -# proton-c tests via python -python ../tests/python/proton-test --xml=${XMLOUTPUT} - -# proton-c native c-* tests -ctest -V -R '^c-*' - -# proton-j tests via jython -which mvn && ctest -V -R proton-java - -echo 'Build completed' http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/bin/record-coverage.sh ---------------------------------------------------------------------- diff --git a/bin/record-coverage.sh b/bin/record-coverage.sh deleted file mode 100755 index edc903d..0000000 --- a/bin/record-coverage.sh +++ /dev/null @@ -1,60 +0,0 @@ -# /usr/bin/bash - -# This script collates coverage data already present from running instrumented code. -# -# It requires the lcov tool to be installed (this provides the lcov and genhtml commands) -# -# It will produce a coverage analysis for gcc or clang compiled builds and currently for -# C and C++ parts of the build tree. -# -# It takes two command line arguments: -# - The first is the proton source tree: this is mandatory. -# - The second is the build tree: this is optional and if not specified is assumed to be the -# current directory. -# -# The output is in the form of an html report which will be found in the generated html direectory. -# - There will also be a number of intermediate files left in the current directory. -# -# The typical way to use it would be to use the "Coverage" build type to get instrumented -# code, then to run the tests then to extract the coverage information from running the -# tests. -# Something like: -# cmake $PROTON_SRC -DCMAKE_BUILD_TYPE=Coverage -# make -# make test -# make coverage - -# set -x - -# get full path -function getpath { - pushd -n $1 > /dev/null - echo $(dirs -0 -l) - popd -n > /dev/null -} - -SRC=${1?} -BLD=${2:-.} - -BLDPATH=$(getpath $BLD) -SRCPATH=$(getpath $SRC) - -# Get base profile -# - this initialises 0 counts for every profiled file -# without this step any file with no counts at all wouldn't -# show up on the final output. -lcov -c -i -d $BLDPATH -o proton-base.info - -# Get actual coverage data -lcov -c -d $BLDPATH -o proton-ctest.info - -# Total them up -lcov --add proton-base.info --add proton-ctest.info > proton-total-raw.info - -# Snip out stuff in /usr (we don't care about coverage in system code) -lcov --remove proton-total-raw.info "/usr/include*" "/usr/share*" > proton-total.info - -# Generate report -rm -rf html -genhtml -p $SRCPATH -p $BLDPATH proton-total.info --title "Proton CTest Coverage" --demangle-cpp -o html - http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/bin/release.sh ---------------------------------------------------------------------- diff --git a/bin/release.sh b/bin/release.sh deleted file mode 100755 index 0c57d30..0000000 --- a/bin/release.sh +++ /dev/null @@ -1,66 +0,0 @@ -#!/bin/bash - -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# release.sh - Creates a release. - -ME=$(basename ${0}) -CURRDIR=$PWD -SRC=$(dirname $(dirname $(readlink -f $0))) - -usage() -{ - echo "Usage: ${ME} VERSION TAG" - exit 1 -} - -if [ $# == 2 ]; then - VERSION=$1 - TAG=$2 -else - usage -fi - -die() -{ - printf "ERROR: %s\n" "$*" - exit 1 -} - -## -## Create the tag -## -( - cd ${SRC} - if [ -n "$(git status -uno --porcelain)" ]; then - die must release from a clean checkout - fi - BRANCH=$(git symbolic-ref -q --short HEAD) - if [ -n "${BRANCH}" ]; then - REMOTE=$(git config branch.${BRANCH}.remote) - else - REMOTE="origin" - fi - git checkout --detach && \ - bin/version.sh $VERSION && \ - git commit -a -m "Release $VERSION" && \ - git tag -m "Release $VERSION" $TAG && \ - echo "Run 'git push ${REMOTE} ${TAG}' to push the tag upstream." -) http://git-wip-us.apache.org/repos/asf/qpid-proton-j/blob/2f85988e/bin/version.sh ---------------------------------------------------------------------- diff --git a/bin/version.sh b/bin/version.sh deleted file mode 100755 index d60f211..0000000 --- a/bin/version.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/bash - -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -# version.sh - Sets the version of the proton source tree to the given -# value. - -ME=$(basename ${0}) -usage() -{ - echo "Usage: ${ME} [SRC] VERSION" - exit 1 -} - -if [ $# == 2 ]; then - SRC=$1 - VERSION=$2 -elif [ $# == 1 ]; then - SRC=$(dirname $(dirname $(readlink -f $0))) - VERSION=$1 -else - usage -fi - -echo ${VERSION} > ${SRC}/version.txt && \ - mvn -q org.codehaus.mojo:versions-maven-plugin:1.2:set org.codehaus.mojo:versions-maven-plugin:1.2:commit -DnewVersion="${VERSION}" -f ${SRC}/pom.xml --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
