6237e8
Name:           libqb
6237e8
Version:        1.0.1
63b087
Release:        7%{?dist}
6237e8
Summary:        An IPC library for high performance servers
6237e8
6237e8
Group:          System Environment/Libraries
6237e8
License:        LGPLv2+
6237e8
URL:            http://clusterlabs.github.io/libqb/
6237e8
Source0:        https://github.com/ClusterLabs/%{name}/releases/download/v%{version}/%{name}-%{version}.tar.xz
6237e8
6237e8
Patch1:         bz1422454-ipc-detect-corrupt-shm-in-peek.patch
6237e8
Patch2:         bz1446254-ipc-allow-fs-sockets.patch
63b087
#Patch3:         bz1459276-dont-truncate-in-client.patch
6237e8
Patch4:         bz1422573_1-dont-override-user-signals.patch
6237e8
Patch5:         bz1422573_2-dont-override-user-signals.patch
63b087
Patch6:         bz1473695-dont-crash-on-shm-truncate.patch
6237e8
6237e8
BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
6237e8
6237e8
BuildRequires:  libtool doxygen procps check-devel automake autoconf
6237e8
6237e8
#Requires: <nothing>
6237e8
6237e8
%description
6237e8
libqb provides high performance client server reusable features.
6237e8
Initially these are IPC and poll.
6237e8
6237e8
%prep
6237e8
%setup -q
6237e8
%patch1 -p1 -b .bz1422454-ipc-detect-corrupt-shm-in-peek
6237e8
%patch2 -p1 -b .bz1446254-ipc-allow-fs-sockets
63b087
#%patch3 -p1 -b .bz1459276-dont-truncate-in-client.patch
6237e8
%patch4 -p1 -b .bz1422573_1-dont-override-user-signals.patch
6237e8
%patch5 -p1 -b .bz1422573_2-dont-override-user-signals.patch
63b087
%patch6 -p1 -b .bz1473695-dont-crash-on-shm-truncate.patch
6237e8
6237e8
# work-around for broken epoll in rawhide/f17
6237e8
%build
6237e8
./autogen.sh
6237e8
%configure --disable-static
6237e8
make %{?_smp_mflags}
6237e8
6237e8
%check
6237e8
make check
6237e8
6237e8
%install
6237e8
rm -rf $RPM_BUILD_ROOT
6237e8
make install DESTDIR=$RPM_BUILD_ROOT
6237e8
find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
6237e8
rm -rf $RPM_BUILD_ROOT/%{_docdir}/*
6237e8
6237e8
%clean
6237e8
rm -rf $RPM_BUILD_ROOT
6237e8
6237e8
%post -p /sbin/ldconfig
6237e8
6237e8
%postun -p /sbin/ldconfig
6237e8
6237e8
%files
6237e8
%defattr(-,root,root,-)
6237e8
%doc COPYING
6237e8
%{_sbindir}/qb-blackbox
6237e8
%{_libdir}/libqb.so.*
6237e8
6237e8
%package        devel
6237e8
Summary:        Development files for %{name}
6237e8
Group:          Development/Libraries
6237e8
Requires:       %{name} = %{version}-%{release} pkgconfig
6237e8
6237e8
%description    devel
6237e8
The %{name}-devel package contains libraries and header files for
6237e8
developing applications that use %{name}.
6237e8
6237e8
%files          devel
6237e8
%defattr(-,root,root,-)
6237e8
%doc COPYING README.markdown
6237e8
%{_includedir}/qb/
6237e8
%{_libdir}/libqb.so
6237e8
%{_libdir}/pkgconfig/libqb.pc
6237e8
%{_mandir}/man3/qb*3*
6237e8
%{_mandir}/man8/qb-blackbox.8.gz
6237e8
6237e8
%changelog
6237e8
63b087
* Fri Apr 20 2018 Christine Caulfield <ccaulfie@redhat.com> - 1.0.1-7
63b087
  Prevent crashes when client truncates SHM segment
63b087
  I've reverted the patch for 1459276 which is no longer needed as this
63b087
  is a proper fix.
63b087
  Resolves: rhbz#1473695
63b087
6237e8
* Fri Nov 03 2017 Christine Caulfield <ccaulfie@redhat.com> - 1.0.1-6
6237e8
  Don't override external signal handlers
6237e8
  Resolves: rhbz#1422573
6237e8
6237e8
* Tue Jun 27 2017 Christine Caulfield <ccaulfie@redhat.com> - 1.0.1-5
6237e8
  Put backpatch 189ca28 as it's not the culprit
6237e8
  
6237e8
  Don't truncate IPC files in the client as it can cause servers to crash.
6237e8
  I've also had to (for this release) disable one of the tests as it checks
6237e8
  for truncated files.
6237e8
  Resolves: rhbz#1459276
6237e8
6237e8
* Wed Jun 20 2017 Christine Caulfield <ccaulfie@redhat.com> - 1.0.1-4
6237e8
  Revert git patch 189ca28 which caused problems with pacemaker CIB
6237e8
  closing down.
6237e8
  Resolves: rhbz#1459276
6237e8
6237e8
* Mon May 15 2017 Christine Caulfield <ccaulfie@redhat.com> - 1.0.1-3
6237e8
  Allow IPC system to use filesystem sockets instead of abstract
6237e8
  sockets if a configuration file exists.
6237e8
  Resolves: rhbz#1446254
6237e8
6237e8
* Tue Jan 31 2017 Christine Caulfield <ccaulfie@redhat.com> - 1.0.1-2
6237e8
  Detect IPC Shared memory corruption in peek as well as read. Prevents
6237e8
  the mainloop from spinning if multithreaded IPC (which is currently 
6237e8
  not supported) is attempted without locking.
6237e8
  Resolves: rhbz#1422454
6237e8
6237e8
* Tue Jan 31 2017 Christine Caulfield <ccaulfie@redhat.com> - 1.0.1-1
6237e8
  * Rebase to 1.0.1
6237e8
  Resolves: rhbz#1392835
6237e8
6237e8
* Tue Dec 06 2016 Christine Caulfield <ccaulfie@redhat.com> - 1.0-2
6237e8
  * Don't overwrite valid logging tags, breaks facility names on PPC64LE
6237e8
  Resolves: rhbz#1387165
6237e8
6237e8
* Thu Apr 21 2016 Christine Caulfield <ccaulfie@redhat.com> - 1.0-1
6237e8
  Rebase to 1.0
6237e8
  Resolves bz#1299968
6237e8
6237e8
* Mon Nov  2 2015 Christine Caulfield <ccaulfie@redhat.com> - 0.17.1-2.1
6237e8
  Increase size of the buffer where we make the socket name to allow for longer PIDs
6237e8
  Resolves bz#1114852
6237e8
6237e8
* Thu Apr 16 2015 David Vossel <dvossel@redhat.com> - 0.17.1-2
6237e8
  Fixes assert encountered in libqb's mainloop implementation.
6237e8
6237e8
  Resolves: rhbz#1211375
6237e8
6237e8
* Thu Mar 05 2015 David Vossel <dvossel@redhat.com> - 0.17.1-1.1
6237e8
  Fix bug that prevents ipc server from working in pid with realtime priority.
6237e8
6237e8
  Resolves: rhbz#1198718
6237e8
6237e8
* Tue Aug 26 2014 David Vossel <dvossel@redhat.com> - 0.17.1-1
6237e8
  Fix: ipcs: Correctly allocate receive buffer size
6237e8
  Fix: ipc_socket: Signalhandler must be resetted to Default, use only cleanup_sigpipe to return from qb_ipc_dgram_sock_setup.
6237e8
  Fix: trie: allow modifying the trie map during the notify callback
6237e8
  Fix: fix invalid option when run 'ipcclient -h'
6237e8
  Fix: epoll: don't miss poll events under high load
6237e8
  Fix: ipc_shm: fix error handling in qb_ipcs_shm_connect()
6237e8
  Fix: ringbuffer: fix size in qb_rb_create_from_file()
6237e8
  Fix: ringbuffer: fix qb_rb_open_2() debug format string
6237e8
  Fix: trie: fixes regression caused by ref count refactoring
6237e8
  Fix: ipcc: Properly timeout during recv when timeout value is provided
6237e8
6237e8
  Resolves: rhbz#1110043
6237e8
  Resolves: rhbz#975903
6237e8
6237e8
* Mon Feb 10 2014 David Vossel <dvossel@redhat.com> - 0.16.0-6
6237e8
- Fixes use after free in ipc server
6237e8
6237e8
  Resolves: rhbz#1063415
6237e8
6237e8
* Fri Jan 24 2014 Daniel Mach <dmach@redhat.com> - 0.16.0-5
6237e8
- Mass rebuild 2014-01-24
6237e8
6237e8
* Mon Jan 20 2014 David Vossel <dvossel@redhat.com> - 0.16.0-4
6237e8
- Require log filtering to match function and file exactly.
6237e8
  No substring matching.
6237e8
6237e8
- Fixes complile time issue with 'make check' unit tests.
6237e8
6237e8
  Resolves: rhbz#1018091
6237e8
6237e8
* Fri Dec 27 2013 Daniel Mach <dmach@redhat.com> - 0.16.0-3
6237e8
- Mass rebuild 2013-12-27
6237e8
6237e8
* Thu Oct 30 2013 David Vossel <dvossel@redhat.com> - 0.16.0-2
6237e8
 Set SO_PASSCRED on listener socket
6237e8
6237e8
 Resolves: rhbz#1021597
6237e8
6237e8
* Thu Jul 25 2013 David Vossel <dvossel@redhat.com> - 0.16.0-1
6237e8
 Rebase to v0.16.0 release
6237e8
6237e8
* Thu Jul 24 2013 David Vossel <dvossel@redhat.com> - 0.15.0-2
6237e8
 sync spec file with v0.15.0 release
6237e8
6237e8
* Thu Jul 24 2013 David Vossel <dvossel@redhat.com> - 0.15.0-1
6237e8
 Rebase to release v0.15.0
6237e8
6237e8
* Thu Feb 14 2013 Fedora Release Engineering <rel-eng@lists.fedoraproject.org> - 0.14.4-2
6237e8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
6237e8
6237e8
* Thu Jan 17 2013 Angus Salkeld <asalkeld@redhat.com> - 0.14.4-1
6237e8
LOG: prevent the last char of the blackbox message from getting lost.
6237e8
Example: make the blackbox example more practical.
6237e8
Add the processing which remove notifier at skiplist_destroy function
6237e8
Add the processing which remove hash node and notifier at hashtable_destroy function
6237e8
Unify to QB_TRUE/QB_FALSE a boolean value
6237e8
Document the default prefix in INSTALL
6237e8
Unify the list processing with qb_list function
6237e8
Add travis link to the readme.
6237e8
Fix return code which is an error occurred at pthread function
6237e8
TEST: add a progam to compare the speed of vsnprintf and qb_vsnprintf_serialize
6237e8
LOG: add a test for a padded hex int.
6237e8
Fedora's splint has a strange syntax error, don't fail on it.
6237e8
LOG: fix truncation in some messages that get padded.
6237e8
Fix the blackbox formatter when specifing the string len/precision
6237e8
Fix strlcpy and strlcat functions
6237e8
IPC: don't over log on disconnect
6237e8
Make sure we don't use the format string whilst it is getting changed.
6237e8
ptrie: deref the current node in trie_iter_free()
6237e8
LOG: fix the format comparison to avoid generating multiple entries.
6237e8
LOG: set the return code when calloc fails
6237e8
IPC: call poll if we are mid message and get EAGAIN
6237e8
Remove extra ";"
6237e8
IPC: set the error more correctly when qb_sys_mmap_file_open() fails.
6237e8
Make sure that mmap'ed files smaller than a page size are written to.
6237e8
example/test: check for error in qb_ipc_run()
6237e8
example: check for error in qb_ipc_run()
6237e8
TEST: fix typo s/,/; in check_ipc.c
6237e8
6237e8
* Mon Oct 29 2012 Angus Salkeld <asalkeld@redhat.com> - 0.14.3-2
6237e8
Fix test code highlighted by new check version
6237e8
Remove the call to autogen.sh - not needed anymore.
6237e8
6237e8
* Mon Oct 29 2012 Angus Salkeld <asalkeld@redhat.com> - 0.14.3-1
6237e8
IPC: Pass the timeout to poll() if the recv function returns EAGAIN
6237e8
LOG: make the format comparison safe and sane
6237e8
LOG: don't break on empty callsites, just ignore them
6237e8
LOG: use the array callback to register new callsites
6237e8
array: add a mechanism to get a callback when a bin is allocated
6237e8
Solaris based operating systems don't define MSG_NOSIGNAL and SO_NOSIGPIPE.
6237e8
Make sure atomic's are initialized (for non-gcc atomic).
6237e8
6237e8
* Wed Sep 12 2012 Angus Salkeld <asalkeld@redhat.com> - 0.14.2-2
6237e8
Fix a crash in ptrie if you iterate over the map in the deleted notifier.
6237e8
6237e8
* Mon Sep 10 2012 Angus Salkeld <asalkeld@redhat.com> - 0.14.2-1
6237e8
Get libqb building on cygwin.
6237e8
ipc_us: slightly more robust cmsg handling
6237e8
ipc_us: on Linux, set SO_PASSCRED on the sending socket too
6237e8
ipc_us: clear request unused fields
6237e8
TEST: Include writing and reading the blackbox in the log_long_msg test
6237e8
LOG: fix qb_vsnprintf_deserialize()
6237e8
blackbox: fix 64-bit big-endian issues
6237e8
Remove IPC_NEEDS_RESPONSE_ACK and turn off shm ipc on solaris
6237e8
Define unix path max for openbsd
6237e8
Only turn on ipc_needs_response_ack=yes for solaris
6237e8
Some improvements to kqueue usage.
6237e8
kqueue: drop log message to trace.
6237e8
Fix splint warning
6237e8
openbsd requires netinet/in.h before arpa/inet.h
6237e8
Avoid strcpy() use strlcpy() instead.
6237e8
Fix kqueue complile warnings
6237e8
openbsd doesn't have EBADMSG
6237e8
openbsd has a different UNIX_PATH_MAX
6237e8
LOG: change qb_vsprintf_serialize() into qb_vsnprintf_serialize()
6237e8
TEST: increase timeout to 6 secs as the recv timeout is 5 secs
6237e8
TEST: get the logic right - grrr.
6237e8
Turn off attribute_section on netbsd
6237e8
Some missing pshared semaphore checks
6237e8
Cleanup the checks for pshared semaphores
6237e8
Add a config check for pthread_mutexattr_setpshared
6237e8
Remove uses of timersub and use qb_util_stopwatch
6237e8
RB: change the #error to ENOTSUP if no usable shared process sem
6237e8
LOOP-KQUEUE: fix reference before assignment.
6237e8
build: fix libqb.pc creation and make maintainer-clean
6237e8
LOG: Make sure the semaphores are initialized.
6237e8
build: remove bashism in cc support check
6237e8
Catch disconnected sockets on Solaris
6237e8
Don't free rb->shared_hdr in qb_rb_create_from_file()
6237e8
Check error return of qb_ipcs_uc_recv_and_auth()
6237e8
Fix removal of automatically installed doc files when building rpms
6237e8
Add the mailing list to the travis email notifications.
6237e8
Work around debian not setting the arch path in splint.
6237e8
Remove color-tests and parallel-tests automake options.
6237e8
Add travis continuous integration config
6237e8
LOG: Invoke custom log filter function if tag changes
6237e8
tests/rbwriter: don't ignore write failure
6237e8
ipcs: avoid use-after-free for size-0 || disconnect-request
6237e8
6237e8
* Wed Jul 18 2012 Angus Salkeld <asalkeld@redhat.com> - 0.14.1-1
6237e8
RB: set the new read pointer after clearing the header (#839605).
6237e8
RB: improve the debug print outs
6237e8
RB: be more explicit about the word alignment
6237e8
RB: cleanup the macros for wrapping the index
6237e8
RB: use sem_getvalue as a tie breaker when read_pt == write_pt
6237e8
RB: if read or peek don't get the message then re-post to the semaphore
6237e8
RB: convert the rb_peek() status into a recv like status.
6237e8
RB: use internal reclaim function
6237e8
IPC: use calloc instead of malloc to fix valgrind warnings
6237e8
Upgrade the doxygen config.
6237e8
Fix a valgrind error.
6237e8
6237e8
* Sun Jun 24 2012 Angus Salkeld <asalkeld@redhat.com> - 0.14.0-1
6237e8
LOG: fix threaded logging.
6237e8
Add user control of the permissions that are set on the shared mem files
6237e8
LOG: Restrict string trucation during serialization to when a precision is specified
6237e8
LOG: Gracefully fail when the caller exceeds QB_LOG_MAX_LEN
6237e8
LOG: Observe field widths when serializing string arguments
6237e8
RB: use the same mechanism in reclaim as read/peek to detect end-of-ring
6237e8
Add needs_response_ack option to ./check
6237e8
RB: fix wrong sem_flg IPC_NOWAIT option
6237e8
TESTS: fix warning about unused functions
6237e8
Remove D_FORTIFY_SOURCE from check.
6237e8
Open shared mem file in /dev/shm only for linux
6237e8
Don't use msg_flags on solaris (recvmsg).
6237e8
Turn off attribute_section on solaris
6237e8
ipc example: add -e (events) option
6237e8
IPC: if the server returns EAGAIN or ETIMEOUT the check the connection
6237e8
LOG: make it possible to fsync() on each file log.
6237e8
IPC: make sure that the created callback happens before dispatches
6237e8
LOG: fix the printing of %p in the blackbox
6237e8
IPC: On bsd's use the notifier for responses
6237e8
IPC: interpret ECONNRESET and EPIPE as ENOTCONN
6237e8
cleanup some warnings
6237e8
config: use newer AC_COMPILE_IFELSE()
6237e8
blackbox: fix %p formatting
6237e8
LOG: put all fields in the blackbox (added priority and tags)
6237e8
example: make the priority uint8_t
6237e8
Remove strerror out of check_funcs
6237e8
RB: fix compiler warning.
6237e8
Add replacement function stpcpy
6237e8
Add missing AC_TYPE_UINT16_T to configure.ac
6237e8
Use AC_FUNC_STRERROR_R and STRERROR_R_CHAR_P
6237e8
Add stpcpy strcasecmp to the check_funcs
6237e8
Move some conditional defines into code (from the configure script)
6237e8
Remove some unused configure checks
6237e8
Remove message queues
6237e8
Check for union semun properly
6237e8
Blackbox: provide more space for log messages when reading from the blackbox.
6237e8
Add the blackbox reader manpage to the spec file
6237e8
Enable error logging for the blackbox reader
6237e8
RB: Read the file size into an initialized variable of the correct size
6237e8
Add a tool to dump the blackbox.
6237e8
RB: to be safer save the read and write pointers at the top of the blackbox
6237e8
avoid unwarranted use of strncpy: use memcpy instead
6237e8
blackbox: fix the print_from_file()
6237e8
RB: add an option to not use any semaphores
6237e8
LOG: tweak the blackbox format string
6237e8
LOG: accept NULL strings into the blackbox
6237e8
LOG: protect close and reload from calling log
6237e8
Add benchmark option (-b) to examples/ipcclient
6237e8
TEST: make rbreader/writer more like the other benchmarking apps
6237e8
IPC: log the connection description in all logs
6237e8
TEST: re-organise the ipc test suites
6237e8
IPC: only modify the dispatch if we get EAGAIN
6237e8
Correctly display timestamp in blackbox
6237e8
6237e8
* Thu May 10 2012 Angus Salkeld <asalkeld@redhat.com> - 0.13.0-1
6237e8
- Remove unneccessary __attribute__ ((aligned(8))) from internal headers
6237e8
- IPC: add a new function to get (and alloc) the extended stats.
6237e8
- Revert "Add the event queue length to the connection stats."
6237e8
- IPC: cleanup better on a failed client connect.
6237e8
- IPC(soc): be more consistent with control struct size
6237e8
- IPC: kill a compiler warning
6237e8
- IPC(soc): pass in the correct size into munmap()
6237e8
- TEST: Use /bin/sh not /bin/bash
6237e8
- TEST: check for lost shared mem on bsd too
6237e8
- rb: cleanup the semaphores
6237e8
- Fix some small issues in ./check
6237e8
- Cleanup the .gitignore files
6237e8
- configure.ac tweaks
6237e8
- Remove HZ and use sysconf instead.
6237e8
- SUN_LEN() macro is present if __EXTENSIONS__ is defined on Illumos
6237e8
- PF_UNIX is a POSIX standard name
6237e8
- Test for log facility names
6237e8
- IPC: drop log message to debug.
6237e8
- IPC: fix retrying of partial recv's and sends.
6237e8
- IPC: initialize enough shared mem for all 3 one way connections.
6237e8
- IPC: keep retrying to recv the socket message if partially recv'ed (part 2)
6237e8
- IPC: keep retrying to recv the socket message if partially recv'ed
6237e8
- IPC: handle the server shutdown better
6237e8
- IPC: handle a connection disconnect from the server better
6237e8
- IPC: make it possible to send events in the connected callback.
6237e8
- Add the event queue length to the connection stats.
6237e8
- IPC: add a is_connected client side function.
6237e8
- Fix typo in ./check
6237e8
- docs: clarify the need to use request/response headers
6237e8
- Remove unused local variable
6237e8
- IPC: change the socket recv function to read the response header.
6237e8
- Add some special commands into the ipc example
6237e8
- TEST: improve the tracing in the ipc tests.
6237e8
- Make "make (s)rpm" work more reliably
6237e8
- TEST: add a test to confirm we get the events we send.
6237e8
- TEST: reuse send_and_check for events.
6237e8
- IPC: make it possible for a root client to talk to a non-root server.
6237e8
- Run ./Lindent in the examples directory
6237e8
- Add some debug code to the ipcclient example
6237e8
- IPC: make sure ipc (socket) clients can connect to a server running as root.
6237e8
- IPC: allow qb to bump the max_message_size
6237e8
- IPC: check for a sane minimum max_message_size
6237e8
- add rpl_sem.h loop_poll_int.h to noinst_headers
6237e8
- Handle errors more consistently
6237e8
- call recv_ready on socket types
6237e8
- Handle a recv of size 0
6237e8
- make bsd shm path better by default.
6237e8
- Fix kqueue on freebsd.
6237e8
- Get the example socket includes right.
6237e8
- Fix kqueue compiling.
6237e8
- POLL: seperate out the poll/epoll and add kqueue
6237e8
- Test existence of getpeer* functions
6237e8
- Add inet header to tcpclient example
6237e8
- Don't link with setpshared if unavailable
6237e8
- NetBSD doesn't have semun defined
6237e8
- Use MADV_NOSYNC only on systems where available
6237e8
- Use SCHED_BATCH only on platforms where available
6237e8
- Fix a bug introduced by the bsd patch.
6237e8
- Cleanup the selection of semaphores to use
6237e8
- Fix some leaks in the logging.
6237e8
- Try and improve the portability on bsd variants.
6237e8
6237e8
* Sun Mar 11 2012  Angus Salkeld <asalkeld@redhat.com> - 0.11.1-1
6237e8
- configue libqb to not use epoll as it seems broken (#800865)
6237e8
- LOOP: remove some old timerfd code.
6237e8
- TEST: add a test to check the order of the jobs
6237e8
- LOOP: when new jobs are added they are added to the head instead of the tail.
6237e8
- LOG: Now the array is self locking we can make the lookup array dynamic
6237e8
- Add locking to the array when growing.
6237e8
- IPC: make the _request_q_len_get() function more obvious.
6237e8
- IPC: fix multiple receives from qb_ipc_us_recv()
6237e8
- IPC: make sure that the wrong union member is not written to.
6237e8
- TIMER: check for null timer handle
6237e8
6237e8
Wed Mar 7 2012  Angus Salkeld <asalkeld@redhat.com> - 0.11.0-1
6237e8
- ARRAY: cleanup the pointer sizeof()
6237e8
- LOG: turn off __attribute__(section) for powerpc (not working)
6237e8
- TESTS: move the util tests into "slow-tests" (i.e. optional)
6237e8
- TEST: make the test_priority the same type as in the callsite
6237e8
- LOG: make the log arrays manually grow-able since we need to lock the calls.
6237e8
- RB: fix test failure on ppc
6237e8
- RB: change the name of the size to word_size to be more clear
6237e8
- TEST: add some more signal tests.
6237e8
- LOOP: fix deletion of signal handlers when they are pending
6237e8
- LOOP: signal handlers were always added as high priority.
6237e8
- TEST: deal with mac's limited sed
6237e8
- check: add debugging to the configure options and remove unused options
6237e8
- TEST: properly clear the filters
6237e8
- LOG: expose the mechanism to get a dynamic callsite.
6237e8
- Revert part of my COARSE grained timer commit
6237e8
- Remove timerfd usage and go back to timelist.
6237e8
- UTIL: if possible use COARSE resolution clocks - they are much faster.
6237e8
- ARRAY: save memory (in the bins array) and allow holes in the array
6237e8
- LOOP: add qb_loop_timer_is_running()
6237e8
- LOOP: allow stop() and run() to be called with NULL loop instance.
6237e8
- LOOP: fix doxygen parameter comment
6237e8
- LOG: add stdout target
6237e8
- LOOP: add a function to delete jobs
6237e8
- LOG: remove debug printf's
6237e8
- LOG: remove an old/incorrect doxygen comment.
6237e8
- LOG: add a hostname %H format specifier.
6237e8
- LOG: Add qb_log_filter_fn_set()
6237e8
6237e8
* Tue Feb 14 2012 Angus Salkeld <asalkeld@redhat.com> - 0.10.1-1
6237e8
- Fix "make distcheck" add include path to AM_CPPFLAGS
6237e8
- Bump the version to 0.10.1
6237e8
- clang: Remove unused code
6237e8
- TEST: make the ipc failure test closer to corosync's case.
6237e8
- RB: add a debug message if trying to read a message of the wrong size
6237e8
- IPC: split up the recv into chuncks of 2 seconds. (#788742)
6237e8
- Be more consistent with the internal logs.
6237e8
- LOOP: make it possible to pass in NULL as the default loop instance
6237e8
- RB: use the proper struct not the typedef in the implementation.
6237e8
- RB: Fix potential mem leak
6237e8
- Don't mix enums (QB_TRUE/TRUE)
6237e8
- use random() not rand()
6237e8
- Remove dead code
6237e8
- set umask before calling mkstemp()
6237e8
- Use safer versions of string functions (strcpy -> strlcpy)
6237e8
- Increase the coverity aggressiveness
6237e8
- TEST: make the loop ratelimit test more forgiving.
6237e8
6237e8
* Tue Feb 07 2012 Angus Salkeld <asalkeld@redhat.com> - 0.10.0-1
6237e8
- LOOP: handle errors from the poll function
6237e8
- LOOP: make the item type applicable to jobs too.
6237e8
- LOOP: fix the todo calculations.
6237e8
- TEST: check for a single job causing a cpu spin
6237e8
- LOOP: prevent jobs from consuming too much cpu.
6237e8
- Get coverity to ignore this warning.
6237e8
- Change example code to use fgets instead of gets
6237e8
- LOG: pass the result of qb_log_thread_start() back to the user
6237e8
- Fix some issues found by clang
6237e8
- Add clang-analyzer check
6237e8
- Add a split timer to the stopwatch.
6237e8
- IPC: merge common code into new function
6237e8
- IPC: better handle a disconnect been called from within connection_created()
6237e8
- IPC: fix scary typo
6237e8
- IPC: fix server error handling
6237e8
6237e8
* Mon Feb 06 2012 Angus Salkeld <asalkeld@redhat.com> - 0.9.0-2
6237e8
- Fix a spin in the mainloop when a timer or poll gets removed
6237e8
  When in the job queue (#787196).
6237e8
6237e8
* Fri Jan 27 2012  Angus Salkeld <asalkeld@redhat.com> - 0.9.0-1
6237e8
- Rebased to 0.9.0
6237e8
6237e8
* Tue Jan 10 2012  Angus Salkeld <asalkeld@redhat.com> - 0.8.1-2
6237e8
- fix qb_timespec_add_ms()
6237e8
6237e8
* Thu Jan 5 2012  Angus Salkeld <asalkeld@redhat.com> - 0.8.1-1
6237e8
- Rebased to 0.8.1 (#771914)
6237e8
6237e8
* Wed Nov 17 2011 Angus Salkeld <asalkeld@redhat.com> - 0.7.0-1
6237e8
- Rebased to 0.7.0 (#754610)
6237e8
6237e8
* Thu Sep 1 2011 Angus Salkeld <asalkeld@redhat.com> - 0.6.0-2
6237e8
- LOG: fix the default syslog filter
6237e8
6237e8
* Tue Aug 30 2011 Angus Salkeld <asalkeld@redhat.com> - 0.6.0-1
6237e8
- Rebased to 0.6.0 which includes (#734457):
6237e8
- Add a stop watch
6237e8
- LOG: serialize the va_list, don't snprintf
6237e8
- LOG: change active list into array access
6237e8
- atomic: fix qb_atomic_pointer macros
6237e8
- LOG: allow the thread priority to be set.
6237e8
- Fix splint warning on ubuntu 11.04
6237e8
6237e8
* Mon Jul 18 2011 Angus Salkeld <asalkeld@redhat.com> - 0.5.1-1
6237e8
- Rebased to 0.5.1 which includes:
6237e8
- LOOP: make the return more consistent in qb_loop_timer_expire_time_get()
6237e8
- LOG: add string.h to qblog.h
6237e8
- Add a qb_strerror_r wrapper.
6237e8
- don't let an invalid time stamp provoke a NULL dereference
6237e8
- LOG: move priority check up to prevent unnecessary format.
6237e8
- rename README to README.markdown
6237e8
6237e8
* Wed Jun 8 2011 Angus Salkeld <asalkeld@redhat.com> - 0.5.0-1
6237e8
- Rebased to 0.5.0 which includes:
6237e8
- new logging API
6237e8
- support for sparc
6237e8
- coverity fixes
6237e8
6237e8
* Tue Feb 8 2011 Angus Salkeld <asalkeld@redhat.com> - 0.4.1-2
6237e8
- SPEC: improve devel files section
6237e8
- SPEC: remove global variables
6237e8
6237e8
* Mon Jan 31 2011 Angus Salkeld <asalkeld@redhat.com> - 0.4.1-1
6237e8
- SPEC: add procps to BuildRequire
6237e8
- SPEC: remove automake and autoconf from BuildRequire
6237e8
- SPEC: remove call to ./autogen.sh
6237e8
- SPEC: update to new upstream version 0.4.1
6237e8
- LOOP: check read() return value
6237e8
- DOCS: add missing @param on new timeout argument
6237e8
- BUILD: only set -g and -O options if explicitly requested.
6237e8
- BUILD: Remove unneccessary check for library "dl"
6237e8
- BUILD: improve the release build system
6237e8
6237e8
* Fri Jan 14 2011 Angus Salkeld <asalkeld@redhat.com> - 0.4.0-2
6237e8
- remove "." from Summary
6237e8
- Add "check-devel to BuildRequires
6237e8
- Add "make check" to check section
6237e8
- Changed a buildroot to RPM_BUILD_ROOT
6237e8
- Document alphatag, numcomm and dirty variables.
6237e8
6237e8
* Sun Jan 09 2011 Angus Salkeld <asalkeld@redhat.com> - 0.4.0-1
6237e8
- Initial release