Problem: ZMQ_MSG_T_SIZE has met STABLE conditions

Solution: move it from DRAFT to STABLE since it's been in a public
release, committed for 6+ months and has not changed.
Given a new STABLE symbol has been added, bump minor version number.
This commit is contained in:
Luca Boccassi 2018-03-19 20:11:42 +00:00
parent 7fb3bdd59a
commit 6411c4a247
8 changed files with 12 additions and 10 deletions

6
NEWS
View File

@ -1,6 +1,10 @@
0MQ version 4.2.5 stable, released on 20xx/xx/xx 0MQ version 4.3.1 stable, released on 20xx/xx/xx
================================================ ================================================
* The following DRAFT APIs have been marked as STABLE and will not change
anymore:
- ZMQ_MSG_T_SIZE context option (see doc/zmq_ctx_get.txt)
0MQ version 4.2.4 stable, released on 2018/03/21 0MQ version 4.2.4 stable, released on 2018/03/21
================================================ ================================================

View File

@ -42,7 +42,7 @@ AC_SUBST(PACKAGE_VERSION)
# ZeroMQ version 4.2.2: 6:2:1 (ABI version 5) # ZeroMQ version 4.2.2: 6:2:1 (ABI version 5)
# ZeroMQ version 4.2.3: 6:3:1 (ABI version 5) # ZeroMQ version 4.2.3: 6:3:1 (ABI version 5)
# ZeroMQ version 4.2.4: 6:4:1 (ABI version 5) # ZeroMQ version 4.2.4: 6:4:1 (ABI version 5)
# ZeroMQ version 4.2.5: 6:5:1 (ABI version 5) # ZeroMQ version 4.3.1: 6:5:1 (ABI version 5)
# #
# libzmq -version-info current:revision:age # libzmq -version-info current:revision:age
LTVER="6:5:1" LTVER="6:5:1"

View File

@ -68,7 +68,6 @@ ZMQ_MSG_T_SIZE: Get the zmq_msg_t size at runtime
The 'ZMQ_MSG_T_SIZE' argument returns the size of the zmq_msg_t structure at The 'ZMQ_MSG_T_SIZE' argument returns the size of the zmq_msg_t structure at
runtime, as defined in the include/zmq.h public header. runtime, as defined in the include/zmq.h public header.
This is useful for example for FFI bindings that can't simply do a sizeof(). This is useful for example for FFI bindings that can't simply do a sizeof().
NOTE: in DRAFT state, not yet available in stable releases.
RETURN VALUE RETURN VALUE

View File

@ -40,8 +40,8 @@
/* Version macros for compile-time API version detection */ /* Version macros for compile-time API version detection */
#define ZMQ_VERSION_MAJOR 4 #define ZMQ_VERSION_MAJOR 4
#define ZMQ_VERSION_MINOR 2 #define ZMQ_VERSION_MINOR 3
#define ZMQ_VERSION_PATCH 5 #define ZMQ_VERSION_PATCH 1
#define ZMQ_MAKE_VERSION(major, minor, patch) \ #define ZMQ_MAKE_VERSION(major, minor, patch) \
((major) *10000 + (minor) *100 + (patch)) ((major) *10000 + (minor) *100 + (patch))
@ -215,6 +215,7 @@ ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch);
#define ZMQ_THREAD_PRIORITY 3 #define ZMQ_THREAD_PRIORITY 3
#define ZMQ_THREAD_SCHED_POLICY 4 #define ZMQ_THREAD_SCHED_POLICY 4
#define ZMQ_MAX_MSGSZ 5 #define ZMQ_MAX_MSGSZ 5
#define ZMQ_MSG_T_SIZE 6
/* Default for new contexts */ /* Default for new contexts */
#define ZMQ_IO_THREADS_DFLT 1 #define ZMQ_IO_THREADS_DFLT 1
@ -625,7 +626,6 @@ ZMQ_EXPORT void zmq_threadclose (void *thread);
#define ZMQ_PROTOCOL_ERROR_ZAP_INVALID_METADATA 0x20000005 #define ZMQ_PROTOCOL_ERROR_ZAP_INVALID_METADATA 0x20000005
/* DRAFT Context options */ /* DRAFT Context options */
#define ZMQ_MSG_T_SIZE 6
#define ZMQ_THREAD_AFFINITY_CPU_ADD 7 #define ZMQ_THREAD_AFFINITY_CPU_ADD 7
#define ZMQ_THREAD_AFFINITY_CPU_REMOVE 8 #define ZMQ_THREAD_AFFINITY_CPU_REMOVE 8
#define ZMQ_THREAD_NAME_PREFIX 9 #define ZMQ_THREAD_NAME_PREFIX 9

View File

@ -1,4 +1,4 @@
zeromq (4.2.5) UNRELEASED; urgency=low zeromq (4.3.1) UNRELEASED; urgency=low
* Initial packaging. * Initial packaging.

View File

@ -2,7 +2,7 @@ Format: 3.0 (quilt)
Source: zeromq Source: zeromq
Binary: libzmq5, libzmq3-dev, libzmq5-dbg Binary: libzmq5, libzmq3-dev, libzmq5-dbg
Architecture: any Architecture: any
Version: 4.2.5 Version: 4.3.1
Maintainer: libzmq Developers <zeromq-dev@lists.zeromq.org> Maintainer: libzmq Developers <zeromq-dev@lists.zeromq.org>
Homepage: http://www.zeromq.org/ Homepage: http://www.zeromq.org/
Standards-Version: 3.9.8 Standards-Version: 3.9.8

View File

@ -10,7 +10,7 @@
%endif %endif
%define lib_name libzmq5 %define lib_name libzmq5
Name: zeromq Name: zeromq
Version: 4.2.5 Version: 4.3.1
Release: 1%{?dist} Release: 1%{?dist}
Summary: The ZeroMQ messaging library Summary: The ZeroMQ messaging library
Group: Applications/Internet Group: Applications/Internet

View File

@ -96,7 +96,6 @@ unsigned long zmq_stopwatch_intermediate (void *watch_);
#define ZMQ_PROTOCOL_ERROR_ZAP_INVALID_METADATA 0x20000005 #define ZMQ_PROTOCOL_ERROR_ZAP_INVALID_METADATA 0x20000005
/* DRAFT Context options */ /* DRAFT Context options */
#define ZMQ_MSG_T_SIZE 6
#define ZMQ_THREAD_AFFINITY_CPU_ADD 7 #define ZMQ_THREAD_AFFINITY_CPU_ADD 7
#define ZMQ_THREAD_AFFINITY_CPU_REMOVE 8 #define ZMQ_THREAD_AFFINITY_CPU_REMOVE 8
#define ZMQ_THREAD_NAME_PREFIX 9 #define ZMQ_THREAD_NAME_PREFIX 9