From 8289478c1a8a4d007a33b35e5d50dfbcf4776a30 Mon Sep 17 00:00:00 2001 From: David Vossel Date: Thu, 1 Aug 2013 11:20:35 -0500 Subject: [PATCH] Rebase to upstream version v0.16.0 --- .gitignore | 1 + libqb.spec | 108 +++++++++++++++++++++++++++++++++++++++++++++++++++-- sources | 2 +- 3 files changed, 106 insertions(+), 5 deletions(-) diff --git a/.gitignore b/.gitignore index aa5f81a..e0494c7 100644 --- a/.gitignore +++ b/.gitignore @@ -15,3 +15,4 @@ /libqb-0.14.2.tar.xz /libqb-0.14.3.tar.xz /libqb-0.14.4.tar.xz +/libqb-0.16.0.tar.xz diff --git a/libqb.spec b/libqb.spec index 9f37c26..70653ba 100644 --- a/libqb.spec +++ b/libqb.spec @@ -1,6 +1,6 @@ Name: libqb -Version: 0.14.4 -Release: 2%{?dist} +Version: 0.16.0 +Release: 1%{?dist} Summary: An IPC library for high performance servers Group: System Environment/Libraries @@ -20,9 +20,8 @@ Initially these are IPC and poll. %prep %setup -q -# work-around for broken epoll in rawhide/f17 %build -%configure --disable-static ac_cv_func_epoll_create1=no ac_cv_func_epoll_create=no +%configure --disable-static make %{?_smp_mflags} %check @@ -66,6 +65,107 @@ developing applications that use %{name}. %{_mandir}/man8/qb-blackbox.8.gz %changelog +* Thu Aug 1 2013 David Vossel - 0.16.0-1 +Bump version to 0.16.0 ... do not use version 0.15.0 +Update release gpg sign key +Bump the version to 0.15.0 +Merge pull request #83 from davidvossel/master +Low: ipc_socket: Output send event failure as debug instead of error +Low: ipcserver.c: Fix example server's glib mainloop implementation +High: ipc_socket.c: Detect EOF connection on connection STREAM socket +Merge pull request #81 from davidvossel/dgram_max_msg +Low: tests: Add dgram max size detection test +Low: ipc_socket.c: Handle the unlikely event of an EAGAIN or EINTR during dgram max size detection +Merge pull request #82 from davidvossel/master +Fixes detect disconnect on send for tcp example +Fixes sem leak +Fixes less-than-zero comparision of unsigned int +fixes double close +Fixes double close +Fixes double fd close +Fixes fd leak +Prevent use after free in benchmark util +Fixes use ater free in shm disconnect +Fixes use after free during ipcs client disconnect +Remove dead code +Low: check_ipc.c: Verify dgram max size during tests +High: ipcc: Add abilty to verify dgram kernel buffer size meets max msg value +Fixes travis build error +Merge pull request #80 from davidvossel/master +Low: check_ipc.c: fix debug message to only display once. +High: ringbuffer: Make max_size of ringbuffer accurate so shm ipc max msg size value is honored +Low: ipcs: For shm ipc, always retry outstanding notifications when next event is sent +Low: tests: Added test to verify sending ipc msg equal to max size succeeds +Merge pull request #79 from davidvossel/master +Merge pull request #78 from davidvossel/master +Fix: ipcs: Fixes compile time issue reported by travis +Merge pull request #77 from davidvossel/stress_tests_fixes +Low: loop_pool_kqueue: remove potentially noisy dbug statement +Low: tests: rework bulk event msg ipc test +Account for fbsd ENOBUFS during stress test +Low: tests: Adds ipc event stress test to testsuite +Low: ipc_socket: In fbsd send() returns ENOBUFS when dgram queue is full, this should be treated similar to EAGAIN +High: kqueue: Properly enable kqueue filter in poll loop +Low: ipcs: Attempt to resend outstanding event notifications during event send +Merge pull request #75 from davidvossel/ref_count_cleanup +Low: qbipcs.h: update ipcs connection iterator documentation +Merge pull request #74 from davidvossel/ref_count_cleanup +Fix: ipcs: Disconnect shm ipc connection when poll socket returns error on msg receive +Fix: ipcs: Properly disconnect client connection on POLLNVAL or any other error causing connection removal from mainloop. +Simplify internal ipcs ref counting, add comments and document api behavior +Simplifies connection ref counting without changing behavior +Low remove ref-count error in example ipcserver. +Merge pull request #73 from davidvossel/ref_count_cleanup +Merge pull request #72 from davidvossel/master +Low: tests: Verify reading valid blackbox file works +Fix: refcount leak +Fix: ringbuffer: Add file header version field and detect reading corrupted blackbox files using hash value +Fix: tests: On some platforms -ECONNRESET is returned rather than -ENOTCONN after server failure +Fix: tests: Make blackbox_segfault.sh not depend on bash +Hopefully this is the last travis link fix +Fix travis icon (travis is case sensitive) +Fix the github links +Merge pull request #70 from yuusuke/fix_logging +fix a problem when the character string beyond the number of the maximum characters is passed +Merge pull request #68 from r1mikey/upstream +Add a IPC service context pointer and accessors from both the connection and service level. +Enable distcheck on the travis tests +Add atomic_int.h to noinst_HEADERS +Use the new atomic ops in the ringbuffer +Add internal support for the new __atomic gcc builtins +Rename the configure macros from atomic to sync +ringbuffer: use atomic ops on ringbuffer chunk magic +Remove some test code mistakenly committed to the example program. +IPC: make each connection ref the owning service +Indicate when/why qb_rb_force_close() fails to remove share memory files +Typo fixed in configure +Fix "make srpm" +Remove doxygen from travis deps to try and get the job working. +Fix make distcheck +Merge pull request #60 from t-matsuo/fix-makefile-of-tests +add file_change_bytes into check_PROGRAMS and fix a typo +Deal better with corrupt blackbox files. +Merge pull request #58 from inouekazu/fix_connection_state_checking +IPC: fix the connection state checking +LOG: copy the function/filename for dynamic callsites +Deal with /dev/shm issue on Travis builders +Properly discover SO_NOSIGPIPE and MSG_SIGNAL +IPC: fix call to QB_SUN_LEN +list: don't splice empty lists onto the head. +rpl_sem: make destroy more compliant +test: fix unused-but-set-variable warning +test: fix missing-format-attribute warning +RB: make the "sem" abstraction into a notifier +IPC: clean up the connection state checking +Use dgram sockets for message oriented communications +IPC: don't interpret EMSGSIZE and ENOMSG as a disconnect +POLL: prevent a spin if the fd is not removed from the mainloop +add TAGS and ~ files to .gitignore +docs: install qb-blackbox.8 if doxygen is not available. +IPC: seperate ipc_us.c into 2 files +IPC: move utility functions to unix.c +IPC: make sure we return a consistent error when the message is too big. + * Thu Feb 14 2013 Fedora Release Engineering - 0.14.4-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild diff --git a/sources b/sources index c647879..c36e178 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -514d07752c7c746dc9a1d88d441f0ec3 libqb-0.14.4.tar.xz +51d2ca372c6b8151bf3544d93bcdc8db libqb-0.16.0.tar.xz