[Debian-ha-commits] [libqb] annotated tag debian/0.17.1-1 created (now f681fb5)
Richard Winters
devrik-guest at moszumanska.debian.org
Thu Apr 16 05:36:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
devrik-guest pushed a change to annotated tag debian/0.17.1-1
in repository libqb.
at f681fb5 (tag)
tagging 17975b52fb2d8929593b7c9b23e81a7dbbf5a4de (commit)
tagged by Richard B Winters
on Thu Apr 16 01:27:20 2015 -0400
- Log -----------------------------------------------------------------
libqb Debian release 0.17.1-1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
iQIcBAABCgAGBQJVL0g4AAoJEBaGrkobhCy1gckP/jDSlGqG+AM0FeU0/uvYlBfb
6c1/XAapv8njOXrJEt9EwrHdadCCmXgVHFyOry9cCvd63htP39LCgsgtQp5EvTfM
ImKTjRGBAvLzSD4/gYL2hCWwEDEQ4etdoJq8z/DFLqyDuf1abnqoTOL/QW0/Q2dx
H2oB5QFIUvuaoweUKyyhbuRwGz1wETpQ3Q0jzl7ibRbc40sugOal9lPvWFJ9TXXL
T0VFicMSUu9RQe7P6AKSbBRB9kHV+fBM7CYDTMYiRuF4wLvYaNXUlUYvDHDlir6F
/EEcx5MjVMTOuKHYGFFYWfoRmYLay6/HU+tSYQMhTclPdMDpCQnHgHufBlRDPGIu
feNnf8tI+FUsJ2klmhzlQ7iF+JxQrM46b0EFi1f/HuUf+crkitV5e2ouTfvISL8F
B7rbSXWRycaFTuB7vW6eetC0sT/2KcfkMCWXrjSK5az1YB43MDUQLn9Fr6PkiWjs
eMzppzSs60o6QQCny3crFE9W41TFh4mt7CKrNGf2FaxNCmdz+b/LDHtrTHz5Rdxg
JBJb4N6dAw05H6CDRT9J9aGiziTEku6xdnJPjIeu5TbUUWSwqZWRb+L0lmoH5D1E
70UUXqEASgk+nXbKJj3LXEB+CQCpiZ5l+d6wLB+1rumCiXLGCn6E6qPKm8V1zLS1
ipDYhYWBpuGqRPHQtrUO
=Jl4S
-----END PGP SIGNATURE-----
Andreas Grueninger (2):
Fix: Unlink files bound to unix domain sockets
Fix: Unlink files before qb_ipcc_us_sock_close
Andrei Belov (1):
Typo fixed in configure
Andrew Beekhof (14):
Log: Support right-aligned text in format strings
Support compilation on Mac OSX
LOG: pass args directly into qb_log_from_external_source()
Make "make (s)rpm" work more reliably
RB: Read the file size into an initialized variable of the correct size
Enable error logging for the blackbox reader
Add the blackbox reader manpage to the spec file
LOG: Observe field widths when serializing string arguments
LOG: Gracefully fail when the caller exceeds QB_LOG_MAX_LEN
LOG: Restrict string trucation during serialization to when a precision is specified
Fix removal of automatically installed doc files when building rpms
TEST: Include writing and reading the blackbox in the log_long_msg test
IPC: Pass the timeout to poll() if the recv function returns EAGAIN
Indicate when/why qb_rb_force_close() fails to remove share memory files
Angus Salkeld (760):
Initial Commit.
Add handle database.
Add poll, list & tlist
Add spec file
Add timer.
Added qb_ prefix onto public functions/types.
remove ipc so from makefiles
tsafe: replace _XOPEN_SOURCE with HAVE_(function)
add the plugin library.
tweek the .gitignore
Add ipcc from corosync
clean up lib.versions files
add ipcs from corosync
Add wthread & queue.
add logsys from corosync.
add a unit test for hash & cleanup.
libtool and code re-structure
hash: improve the error handling in key_set()
check_hash: fix test must be run in one test case.
check_plugin: Add -rdynamic to check program
ipc: remove uneccessary version compatibilty
ipc: add common types to qbipc_common.h
ipc: add Steve's benchmark test programs
ipc: add a non-blocking send function.
ipc: add non-blocking options to the bmc & bms apps
Add tezt programs to .gitignore
fix "make distcheck"
Re-license to LGPL 2.1
Add a util library with locking wrappers.
Add a library logging function.
use new interanl logging functions
Fix manpage generation when builddir != srcdir
Fix make doxygen (for html output)
Add __cplusplus externs
Fix the new inter-library dependancy.
Add pkg-config files.
Make docs rules more maintainable
Roll all little libs into libqb.
Comment out the plugin tests as they break "make rpm"
Fix the installation of libqb.pc
man: document qblist.h better.
Add a ringbuffer based off the one in logsys.
Add a script for indenting the code (kernel formatting)
Format all files with Lindent
Remove unneccessary extern's.
Bring some changes across from corosync.
rb: organise the locks/sems a bit better
util: move some handy macros into qbuil.h
rb: cleanup of names and log messages
check_hash: test for dict/words before running.
rb: rename qb_rb_chunk_writable* -> qb_rb_chunk_
rb: add an example to the doxygen description.
list: add some more doxygen comments
rb: add a get name function
bm test programs: allow no args
rb: fix bit flag numbering
rb: make rb_chunk_peek() wait on the sem like chunk_read()
rb: fix handling of EINTR from sem_wait
ipcc: remove unneccessry goto
ipc: use a ringbuffer for requests.
ipc: convert int -> int32_t; unsigned int -> uint32_t
hdb: move functions into cfile
list: rename QB_DECLARE_LIST_INIT -> QB_LIST_DECLARE
change name of ringbuffer.h to ringbuffer_int.h
unsigned long long -> uint64_t
unsigned int -> uint32_t
int -> int32_t
Add the coding style definition file.
POLL: add a job API to process non-fd items.
RB: make the timedwait() functions more consistent
RB: add function qb_rb_chunks_used()
automake: check for more headers
IPC: rewrite (simpler API & more structured layout).
BSD: port new changes to BSD
Define new return status policy
IPC: fix crash on failed auth
Lindent most c files again.
IPC: linux & bsd mq_open returns a poll'able file descriptor.
IPC: add a basic tx/rx test case.
IPC: get shm & pmq working
POLL: check for stop_requested before poll() as well.
IPC: un-const the data pointer in recv()
IPC: rename qb_ipcs_connection_pt -> qb_ipcs_connection_handle_t
IPC: rename dispatch queues to event queues.
IPC: add events back (were dispatch messages in corosync)
IPC: pack sysv messages into multiple queue items
TEST: make bmc's output comma delimited
TEST: add IPC_TYPE cli option to bms
IPC_SYSV: get sysv ipc to work with non-root processes.
RB: add qb_rb_chown()
IPC: new auth improvement and limits work around.
Delete unchecked API (to be re-added later).
TEST: fix ipc test after receint API changes.
cleanup the configure script.
POLL: Allow modifying POLLIN/POLLOUT state in another thread.
POLL: gracefully handle running out of file descriptors.
LIST: add required header
IPC: make authenticate callback more generic "accept".
IPC: change the ipcs_connection to a pointer (not handle).
IPC: add a service_id and merge qb_ipcs_create() + qb_ipcs_service_handlers_set()
POLL: add missing fuction.
add qbdefs.h with some common defines.
DOCS: quiten the doxygen make process
SPEC: Fix the rpm spec file
TEST: disable posix mq test for now.
IPC: make sure FD_CLOEXEC is set on all sockets
IPC: add sendv() functions to handle iovecs.
IPC: add a user context_get/set() functions.
IPC: make internal message ids negative.
IPC: improve resource cleanup/shutdown
UTIL: add qb_timespec_add_ms()
IPC: teach event_recv() to take a timeout
IPC: use poll() to prevent a recv() blocking
IPC: make events always use socket notification
RB: cleanup return codes frpm rb_peek()
LIST: add some more convenience macros.
IPC: remove qb_ipcc_event_release()
Add a priority based main loop.
LOOP: add epoll support
Remove timer.c (rather use mainloop)
IPC: add peek & reclaim
IPC: make msg_process return type int
IPC: get the poll independent functions working.
IPC: accelerate process when rate_limit == FAST.
IPC: improve send/recv error handling
IPC: cleanup some formatting.
RB: add support for shared user data.
IPC: add support for flowcontrol & rate limiting
RB: return EAGAIN not ENOMEM if no space on the rb.
fix some valgrind warnings
IPC: recv the messages available (not just one)
TEST: make the bmc messages like cpgbench
IPC: add qb_ipcc_sendv_recv() convenience function.
IPC: move destroy() into ipcs.c (all were duplicated)
IPC: add q_len_get() to posix_mq & sysv_mq
IPC: remove flow control API and move functionality into send()
configure: re-add check for pthread_spin_lock
LIST: fix logic in qb_list_splice()
LOOP: remove warning.
TEST: add support events into bm[cs]
IPC: add support for unix sockets
DOCS: do some work on the doxygen output.
Add atomic operations.
IPC: use atomic for ref counting.
LIST/LOOP: allow empty list items but don't splice an empty head.
ATOMIC: fix make distcheck
Add a resizable array that doesn't move memory.
LOOP: use qbarray for poll_entries.
IPC: get bmcpt working
IPC/RB: name the ringbuffer's files better.
RB: prevent fd's from been leaked
RB: remove locking from ringbuffer.
RB: use the semaphore to return chunks_used.
RB: fix the sem init logic (always use some semaphore).
DOCS: add some doxygen comments to array & hdb.
HDB: use qb_array.
HDB: remove locks and use atomic.
Fix the current warnings
TEST: add some more array tests.
LINT: get the lint target working.
IPC: remove sprintf where possible
ATOMIC: fix the memory barrier setup.
TEST: add glib mainloop option to bms
IPC: add stats to server end.
IPC: add a connection iterator.
fix some build issues on FreeBSD
Fix or ignore splint errors
IPC: add job_add() API to the poll abstraction.
RB: improve debug message
TIME: move tlist_nano_ functions into util
IPC: add qb_ipcs_response_sendv()
IPC: add server connection states for better shutdown.
LOOP: fix job poll and simplify main loop
LOOP: add qb_loop_destroy()
TEST: make test ouput more verbose
IPC: remove refcount'ing debug
LOOP: add support for timerfd
UTIL: move mmap helpers into private header
Cleanup config defines & add a check_all script
TEST: add a check_resources script
RB: don't be so timid on shutdown
IPC: add flow control & q_len to unix socket transport.
Fix ./check_all
IPC: change service instance from handle to pointer.
IPC: add connection_closed() callback.
LOOP: prevent high cpu utilization on no load.
LOOP: add signal support to main loop
UTIL: check for shm usable space.
RB: check for NULL on close
TLIST: use qb_util_nano_monotonic_hz() instead of HZ
IPC: withdraw server socket when destroying a service.
LOOP: add some debug to log slow jobs
LOOP: prevent timers from deleting them selves.
IPC: remove try again log message
Fix some error handling in RB & IPC
RB: fix munmap size (else shared mem not freed correctly)
LOOP: move pipe creation into qb_loop_signals_create()
LOOP: fix compile warning when we don't have timerfd.
Fix some freeBSD compile warnings.
fix waring produced by -Wp,-D_FORTIFY_SOURCE=2
IPC: export qb_ipcs_disconnect()
IPCS: don't block on sending socket notification
LOOP: remove unneccessary event array
IPC: fix non-blocking event mechanism
IPC: check for null ringbuffer
Remove carriage returns in qb_util_log() calls.
TESTS: add a test case for recving from a failed server
IPC: return -ENOTCONN when the other end exits
IPC: return EAGAIN from qb_ipcc_recv() if recv_ready() returns 0
DOCS: fix some doxygen warnings for missing comments.
LOOP: change timers to be nano second based
DOCS: set the version from a configure variable
IPC: rename _ref_inc() to _ref()
IPC: return the correct number of bytes sent
IPC: improve shm performance by timing out earlier on poll()
IPC: add a timeout to the client recv functions
TEST: add ipc tests for recv's with a timeout
RB: add a function to get the reference count.
IPC: use rb refcount to check for "connectiveness"
LOOP: add per-level todo counters
LOOP: change entry type enum
LOOP: reduce the number of for loops
LOOP: make static functions like _<name>_()
TESTS: make sure timers are not leaking file descriptors
LOOP: remove tlist absolute timer
LOOP: change timer handle from pointer to index + check.
BUILD: improve the rpm building
RPM: add missing build dependancies
Remove unneccessary check for library "dl"
DOCS: add missing @param on new timeout argument
LOOP: check read() return value
RPM: make the spec more like a fedora spec file
Move check_all into check and impove it (add rpm checks)
BUILD: only set -g and -O options if explicitly requested.
Add logging infrastructure.
LOG: create a common header
LOG: add threaded logging (non-blocking)
LOG: add a blackbox
LOG: use the new logging mechanism for internal log messages.
LOG: fix splint warnings
LOG: improve the doxygen overview.
LOG: split the tag function out into tag and untag
TESTS: remove unused function
LOG: add a timestamp to the log handler
LOG: add a qb_perror() function
LOG: fix make install and distcheck
LOG: add qb_log_priority_name_get()
Add some content to the README
LOG: re-work the API to be easier to use.
SPEC: make the spec file more like the fedora one.
Ignore 2 splint warnings
Be more consistent with the C++ protection
LOG: add the ability to import logs from other sources.
LOG: add qb_log_file_close()
LOG: improve the docs
LOG: add a format option to each target.
LOG: fix minor compile warning
LOG: add bench-log to .gitignore
LOG: deal better with timestamps
LOG: keep a list of active targets to speed iteration
LOG: change "tags" field to "targets"
LOG: add a new "tags" field
LOG: fix mapping from priority to name
LOG: add a qb_log_fini() to cleanup
Add D_FORTIFY_SOURCE=2 to check script
LOG: move formatting code into new file
LOG: general cleanup (indentation, NULL checks, etc...)
LOG: make the documentation more meaningful
Merge branch 'logging'
Add required include to qbloop.h
LOG: make prioritynames[] static
LOG: support dynamically loaded modules
LOG: add a callsite_dump() function to see what callsite are avaliable.
LOG: fix shared library callsites
LOG: change the filter matches to use strstr() for partial match support.
LOG: remove the tags arument from qb_log() and add qb_logt() which has the tags argument.
LOG: teach filter_ctl() to write tags
LOG: fix splint warning
LOG: only set state in log.c
LOG: change the target type from uint32_t to int32_t.
LOG: flush output to files
Fix the copyright in bench-log.c
LOG: add the ability to adjust the priority sent to syslog()
LOG: add LOG_TRACE
ARRAY: return -ERANGE when index is out of range.
ARRAY: add getter's to retrieve number of bins and elms/bin
LOG: add dynamic callsites (for platforms that don't support __attribute__(section)
LOG: add some basic tests & fixes
TESTS: use new logging API
LOG: fix formatting test (fails in make distcheck)
LOG: fix the building of write_logs.c (for bench-log)
TEST: make a way of testing both with and without __attribute__((section))
LOG: fix new callsite pointer (not incrementing correctly)
Add qbconfig.h to the list of headers to be installed.
LOG: refactor the filter code a bit.
Add write_logs.c to .gitignore
Compile on FreeBSD
LOG: fix logging to file
LOG: make all priorities uint8_t
LOG: include needed stdio.h
LOG: created array with wrong size - yikes!
LOG: check prioritynames[] bounds
TESTS: add a threaded logging test
LOG: add locking & change dcs list into a singly-linked list.
LOG: add an enter and leave trace function
Fix some compiler warnings
LOG: make the "entering" and "leaving" capital
LOG: strip the last "\n" from incomming messages
make sure check_resources is the last test to run
fix the FIXME's Jim pointed out
Fix the test dependancies (and "make rpm")
IPC: set the return status before cleaning up.
Update the TODO
LOG: add a rwlock to protect the lists.
COV 1: dead code - clean up ifdefs
COV 2: fix unreachable code (move call to qb_ipcs_us_withdraw up)
COV 3: remove dead code.
COV 4 & 11: cleanup error handling in handle_new_connection()
COV 6: check for a failed sysconf() before calling malloc()
COV 7: close file if for some strange reason it exists
COV 8: don't leak mem when returning an error.
COV 9: fix mem leak in qb_rb_open error condition
COV 10: fix mem leaks in qb_rb_create_from_file()
COV 12: prevent unintialized value error in bmcpt
COV 13: cleanup error handling in qb_util_circular_mmap()
COV 14: fix potential dereference after free()
COV 15: fix potential reference after deref
LOG: add custom targets
Add an ansi option into ./check
Remove all the C++ comments
Add support for ansi inline and typeof
Correct the declarations of some inlines
TEST: make sure make-log-test appends a bracket
TEST: make the creation of write_logs.c atomic
IPC: make the setting the flowcontrol atomic
IPC: misc cleanup & logging improvements
TEST: name the ipc connections after the test functions
TEST: add job_add poll_handler
TEST: fix the server shutdown.
TEST: initialize some globals before the test is run.
TEST: remove failed server tests.
Fix some spelling.
Fix "make dist".
Make building a bit quieter by default.
TEST: Fix ssize_t format compiler warning
TEST: some improvements to the check script to make it's output better.
Fix ringbuffer creation on sparc
Revert "Fix ringbuffer creation on sparc"
Re-fix mmap() woes on sparc.
check: Change -s to --no-print-directory
Consistently prepend "qb-" to files in /dev/shm
IPC: use the correct pointer type.
LOG: use uint8_t for pointer manipulation
LOOP: make the return more consistent in qb_loop_timer_expire_time_get()
Change Lindent options to break the procedure type.
Change README into markdown to look better on github
Fix references to README
Revert "LOG: use uint8_t for pointer manipulation"
LOG: fix alignment compiler warning on sparc
configure: improve arch & os detection output.
TEST: bump up the logging timeout
LOG: use strerror_r instead of strerror in qb_perror()
LOG: add string.h to qblog.h
Add some more content to the README
Delete TODO (use github issues)
Remove TODO from dist_doc_DATA
Add a qb_strerror_r wrapper.
LOG: move priority check up to prevent unnecessary format.
Fix splint warning on ubuntu 11.04
LOG: allow the thread priority to be set.
atomic: fix qb_atomic_pointer macros
TEST: add int arguments to log bench
LOG: change active list into array access
LOG: serialize the va_list, don't snprintf
docs: add utils to the mainpage
Add a stop watch
Initial map using either a skiplist or a hashtable
LOG: fix ansi build
hashtable: Fix a lint warning
Fix "./check dist"
defs: better define va_copy
LOG: fix the default syslog filter
LOG: add facility conversion functions
MAP: change the keys from void* to char*
map: add iterator that does't use a callback
LOG: support comma seperated lists of file and function filters
LOG: add a way of getting the target state
LOG: fix QB_LOG_INIT_DATA
LOG: add qb_log_filter_ctl2() so we can filter a range of priorities
LOG: allow large priorities
MAP: add a trie implementation
TESTS: improve the map tests
MAP: improve the storage in the trie
skiplist: use ++ and -- operators
skiplist: fix order of deref
hashtable: fix the iterator
MAP: add prefix iteration for the trie
MAP: add a more generic notification system
MAP: pass user_data to the callback correctly
TEST: add a simple test for right-aligned text in format strings
check: add a handy coverity check
Log: move the lock to below the sem_wait
LOG: only range check "t" when filtering else tags are not applied.
Add a ./check mock
LOG: add stdarg to qblog.h
LOG: fix filter input check
LOG: check for SCHED_IDLE
TEST: fix the map load test.
Move simple-log.c to examples/
examples: Add tcpclient.c/tcpserver.c
examples: add ipc client/server
skiplist: destroy the list header last.
MAP: Fix trie_new_node() and make skiplist_node_new() more consistent.
Remove unnecessary checks before free()
LOG: change assert into an early return
LOOP: close opened pipe if function fails
Lindent formatting changes.
Fix ./check -h output
TEST: add a test that reproduces issue/20
ARRAY: make sure that num_bins stays below MAX_BINS
LOG: clean up mem better when qb_log_fini is called
LOG: improve the removal of filters
LOOP: free up the signal list when qb_loop_destory() is called
check: add abi checking script
By default don't build in the slow benchlog
Add tests for hash and skiplist notifications
Hashtable: fix the ordering of the new/old value in the notification
skiplist: implement skiplist_notify_del()
skiplist: add the inserted notification
map: add qb_map_notify_del_2() which includes the userdata.
map: enforce uniqueness of the notifiers based on (func,key,event,userdata)
Fix errors found by api-sanity-autotest
Improve the stopwatch doxygen comments.
MAP: add a notifier purely to allow the user to free memory.
MAP: add honza's example application.
IPC: provide finer grained flowcontrol
clean .version .tarball-version
trie: split trie_lookup into trie_lookup and trie_insert
trie: add a way to get node count and mem usage
examples: add example corosync data to mapnotify.c
trie: convert the trie to a patricia trie (or radix tree)
map: tweek the tests to better test ptrie
trie: don't create children array on all nodes
check: add abi & api to help
fix strerror on non-linux
make -rt configurable (not needed on mac)
Re-add new automake options
Merge some portability changes from the mingw branch
check: add mac checker
re-fix qb_strerror_r() in case caller frees buf.
IPC: add a new state to the connection state
IPC: remove fd from poll loop in the disconnect
map: add some introductory doxygen
Allow the array to automatically grow.
map: free unused leaf nodes
Fix ./check -h output
trie: correct the free'ing of node mem
Fix two simple coverity warnings
ipc: make coverity happy.
LOG: make it possible to pass in a NULL filename/function into qb_log_from_external_source()
UTIL: fix qb_timespec_add_ms()
LOG: add %N (log name) as a format option
LOG: add %P (pid) as a format option.
Fix check_ipc.c formatting.
ipc test: remove try again hack
IPC: fix resource cleanup if the server dies
TEST: change the script to .sh and generated c file to auto_
make header protection more consistent.
Make all headers self standing
Add a test to enforce standalone headers and protectors
make the pc file auto detect -lrt
TEST: make sure qb_log() can be called before init.
LOG: make sure the format is checked.
IPC: add a context to the client interface
TESTS: add tests for signal handlers
IPC: check for the server liveness before disconnecting.
IPC: this 1 sec wait is slowing all normal dissconnects down
LOOP: allow a timer to be created without returning the handle
LOG: only bump messages that need it (>info)
Deprecate qb_util_set_log_function()
LOG: make sure qb_log_from_external_source() takes priority into account.
PTRIE: refcount the notifier structs
IPC: fix server error handling
IPC: fix scary typo
IPC: better handle a disconnect been called from within connection_created()
IPC: merge common code into new function
Add a split timer to the stopwatch.
Add clang-analyzer check
Fix some issues found by clang
LOG: pass the result of qb_log_thread_start() back to the user
Change example code to use fgets instead of gets
Get coverity to ignore this warning.
LOOP: prevent jobs from consuming too much cpu.
TEST: check for a single job causing a cpu spin
LOOP: fix the todo calculations.
LOOP: make the item type applicable to jobs too.
LOOP: handle errors from the poll function
TEST: make the loop ratelimit test more forgiving.
Increase the coverity aggressiveness
Use safer versions of string functions (strcpy -> strlcpy)
set umask before calling mkstemp()
Remove dead code
use random() not rand()
Don't mix enums (QB_TRUE/TRUE)
RB: Fix potential mem leak
RB: use the proper struct not the typedef in the implementation.
LOOP: make it possible to pass in NULL as the default loop instance
Be more consistent with the internal logs.
IPC: split up the recv into chuncks of 2 seconds.
RB: add a debug message if trying to read a message of the wrong size
TEST: make the ipc failure test closer to corosync's case.
clang: Remove unused code
LOG: Add qb_log_filter_fn_set()
LOG: add a hostname %H format specifier.
LOG: remove an old/incorrect doxygen comment.
LOG: remove debug printf's
LOOP: add a function to delete jobs
LOG: add stdout target
LOOP: fix doxygen parameter comment
LOOP: allow stop() and run() to be called with NULL loop instance.
LOOP: add qb_loop_timer_is_running()
ARRAY: save memory (in the bins array) and allow holes in the array
UTIL: if possible use COARSE resolution clocks - they are much faster.
Remove timerfd usage and go back to timelist.
Revert part of my COARSE grained timer commit
LOG: expose the mechanism to get a dynamic callsite.
TEST: properly clear the filters
check: add debugging to the configure options and remove unused options
TEST: deal with mac's limited sed
LOOP: signal handlers were always added as high priority.
LOOP: fix deletion of signal handlers when they are pending
TEST: add some more signal tests.
RB: change the name of the size to word_size to be more clear
RB: fix test failure on ppc
LOG: make the log arrays manually grow-able since we need to lock the calls.
TEST: make the test_priority the same type as in the callsite
TESTS: move the util tests into "slow-tests" (i.e. optional)
LOG: turn off __attribute__(section) for powerpc (not working)
ARRAY: cleanup the pointer sizeof()
TIMER: check for null timer handle
IPC: make sure that the wrong union member is not written to.
IPC: fix multiple receives from qb_ipc_us_recv()
IPC: make the _request_q_len_get() function more obvious.
Add locking to the array when growing.
LOG: Now the array is self locking we can make the lookup array dynamic
LOOP: when new jobs are added they are added to the head instead of the tail.
TEST: add a test to check the order of the jobs
LOOP: remove some old timerfd code.
Try and improve the portability on bsd variants.
Fix some leaks in the logging.
Cleanup the selection of semaphores to use
Fix a bug introduced by the bsd patch.
POLL: seperate out the poll/epoll and add kqueue
Fix kqueue compiling.
Get the example socket includes right.
Fix kqueue on freebsd.
make bsd shm path better by default.
Handle a recv of size 0
call recv_ready on socket types
Handle errors more consistently
add rpl_sem.h loop_poll_int.h to noinst_headers
IPC: check for a sane minimum max_message_size
IPC: allow qb to bump the max_message_size
IPC: make sure ipc (socket) clients can connect to a server running as root.
Add some debug code to the ipcclient example
Run ./Lindent in the examples directory
IPC: make it possible for a root client to talk to a non-root server.
TEST: reuse send_and_check for events.
TEST: add a test to confirm we get the events we send.
TEST: improve the tracing in the ipc tests.
Add some special commands into the ipc example
IPC: change the socket recv function to read the response header.
Remove unused local variable
docs: clarify the need to use request/response headers
Fix typo in ./check
IPC: add a is_connected client side function.
Add the event queue length to the connection stats.
IPC: make it possible to send events in the connected callback.
IPC: handle a connection disconnect from the server better
IPC: handle the server shutdown better
IPC: keep retrying to recv the socket message if partially recv'ed
IPC: keep retrying to recv the socket message if partially recv'ed (part 2)
IPC: initialize enough shared mem for all 3 one way connections.
IPC: fix retrying of partial recv's and sends.
IPC: drop log message to debug.
SUN_LEN() macro is present if __EXTENSIONS__ is defined on Illumos
Remove HZ and use sysconf instead.
configure.ac tweaks
Cleanup the .gitignore files
Fix some small issues in ./check
rb: cleanup the semaphores
TEST: check for lost shared mem on bsd too
TEST: Use /bin/sh not /bin/bash
IPC(soc): pass in the correct size into munmap()
IPC: kill a compiler warning
IPC(soc): be more consistent with control struct size
IPC: cleanup better on a failed client connect.
Revert "Add the event queue length to the connection stats."
IPC: add a new function to get (and alloc) the extended stats.
Remove unneccessary __attribute__ ((aligned(8))) from internal headers
Bump the library version to 0.13.0
Add a more verbose version of the library versioning text.
IPC: only modify the dispatch if we get EAGAIN
TEST: re-organise the ipc test suites
IPC: log the connection description in all logs
TEST: make rbreader/writer more like the other benchmarking apps
Add benchmark option (-b) to examples/ipcclient
LOG: protect close and reload from calling log
LOG: accept NULL strings into the blackbox
LOG: tweak the blackbox format string
RB: add an option to not use any semaphores
blackbox: fix the print_from_file()
RB: to be safer save the read and write pointers at the top of the blackbox
Add a tool to dump the blackbox.
Blackbox: provide more space for log messages when reading from the blackbox.
Check for union semun properly
Remove message queues
Remove some unused configure checks
Move some conditional defines into code (from the configure script)
Add stpcpy strcasecmp to the check_funcs
Use AC_FUNC_STRERROR_R and STRERROR_R_CHAR_P
Add missing AC_TYPE_UINT16_T to configure.ac
Add replacement function stpcpy
RB: fix compiler warning.
Remove strerror out of check_funcs
example: make the priority uint8_t
LOG: put all fields in the blackbox (added priority and tags)
blackbox: fix %p formatting
config: use newer AC_COMPILE_IFELSE()
cleanup some warnings
IPC: interpret ECONNRESET and EPIPE as ENOTCONN
IPC: On bsd's use the notifier for responses
LOG: fix the printing of %p in the blackbox
IPC: make sure that the created callback happens before dispatches
LOG: make it possible to fsync() on each file log.
IPC: if the server returns EAGAIN or ETIMEOUT the check the connection
ipc example: add -e (events) option
Turn off attribute_section on solaris
Don't use msg_flags on solaris (recvmsg).
Open shared mem file in /dev/shm only for linux
Remove D_FORTIFY_SOURCE from check.
TESTS: fix warning about unused functions
RB: fix wrong sem_flg IPC_NOWAIT option
Add needs_response_ack option to ./check
RB: use the same mechanism in reclaim as read/peek to detect end-of-ring
Add user control of the permissions that are set on the shared mem files
LOG: fix threaded logging.
Fix a valgrind error.
Upgrade the doxygen config.
IPC: use calloc instead of malloc to fix valgrind warnings
RB: use internal reclaim function
RB: convert the rb_peek() status into a recv like status.
RB: if read or peek don't get the message then re-post to the semaphore
RB: use sem_getvalue as a tie breaker when read_pt == write_pt
RB: cleanup the macros for wrapping the index
RB: be more explicit about the word alignment
RB: improve the debug print outs
RB: set the new read pointer after clearing the header.
Merge pull request #39 from davidvossel/log_tag_fix
Add travis continuous integration config
Remove color-tests and parallel-tests automake options.
Work around debian not setting the arch path in splint.
Add the mailing list to the travis email notifications.
Merge pull request #40 from jsgf/master
Catch disconnected sockets on Solaris
LOG: Make sure the semaphores are initialized.
LOOP-KQUEUE: fix reference before assignment.
RB: change the #error to ENOTSUP if no usable shared process sem
Remove uses of timersub and use qb_util_stopwatch
Add a config check for pthread_mutexattr_setpshared
Cleanup the checks for pshared semaphores
Some missing pshared semaphore checks
Turn off attribute_section on netbsd
TEST: get the logic right - grrr.
TEST: increase timeout to 6 secs as the recv timeout is 5 secs
LOG: change qb_vsprintf_serialize() into qb_vsnprintf_serialize()
openbsd has a different UNIX_PATH_MAX
openbsd doesn't have EBADMSG
Fix kqueue complile warnings
Avoid strcpy() use strlcpy() instead.
openbsd requires netinet/in.h before arpa/inet.h
Fix splint warning
kqueue: drop log message to trace.
Some improvements to kqueue usage.
Only turn on ipc_needs_response_ack=yes for solaris
Define unix path max for openbsd
Remove IPC_NEEDS_RESPONSE_ACK and turn off shm ipc on solaris
Merge pull request #41 from jsgf/master
LOG: fix qb_vsnprintf_deserialize()
Merge pull request #42 from jsgf/master
Make sure atomic's are initialized (for non-gcc atomic).
Fix a crash in ptrie if you iterate over the map in the deleted notifier.
Solaris based operating systems don't define MSG_NOSIGNAL and SO_NOSIGPIPE.
array: add a mechanism to get a callback when a bin is allocated
LOG: use the array callback to register new callsites
LOG: don't break on empty callsites, just ignore them
LOG: make the format comparison safe and sane
TEST: fix typo s/,/; in check_ipc.c
example: check for error in qb_ipc_run()
example/test: check for error in qb_ipc_run()
Make sure that mmap'ed files smaller than a page size are written to.
IPC: set the error more correctly when qb_sys_mmap_file_open() fails.
Remove extra ";"
IPC: call poll if we are mid message and get EAGAIN
LOG: set the return code when calloc fails
LOG: fix the format comparison to avoid generating multiple entries.
ptrie: deref the current node in trie_iter_free()
Make sure we don't use the format string whilst it is getting changed.
IPC: don't over log on disconnect
Fix strlcpy and strlcat functions
Fix the blackbox formatter when specifing the string len/precision
LOG: fix truncation in some messages that get padded.
Fedora's splint has a strange syntax error, don't fail on it.
LOG: add a test for a padded hex int.
TEST: add a progam to compare the speed of vsnprintf and qb_vsnprintf_serialize
Merge pull request #48 from miz-take/prototype
Add travis link to the readme.
Merge pull request #49 from miz-take/prototype
Document the default prefix in INSTALL
Merge pull request #50 from miz-take/prototype
Merge pull request #51 from miz-take/prototype
Merge pull request #52 from miz-take/prototype
Example: make the blackbox example more practical.
LOG: prevent the last char of the blackbox message from getting lost.
IPC: make sure we return a consistent error when the message is too big.
IPC: move utility functions to unix.c
IPC: seperate ipc_us.c into 2 files
docs: install qb-blackbox.8 if doxygen is not available.
add TAGS and ~ files to .gitignore
POLL: prevent a spin if the fd is not removed from the mainloop
IPC: don't interpret EMSGSIZE and ENOMSG as a disconnect
Use dgram sockets for message oriented communications
IPC: clean up the connection state checking
RB: make the "sem" abstraction into a notifier
test: fix missing-format-attribute warning
test: fix unused-but-set-variable warning
rpl_sem: make destroy more compliant
list: don't splice empty lists onto the head.
IPC: fix call to QB_SUN_LEN
Properly discover SO_NOSIGPIPE and MSG_SIGNAL
Deal with /dev/shm issue on Travis builders
LOG: copy the function/filename for dynamic callsites
Merge pull request #58 from inouekazu/fix_connection_state_checking
Deal better with corrupt blackbox files.
Merge pull request #60 from t-matsuo/fix-makefile-of-tests
Fix make distcheck
Remove doxygen from travis deps to try and get the job working.
Fix "make srpm"
IPC: make each connection ref the owning service
Remove some test code mistakenly committed to the example program.
Rename the configure macros from atomic to sync
Add internal support for the new __atomic gcc builtins
Use the new atomic ops in the ringbuffer
Add atomic_int.h to noinst_HEADERS
Enable distcheck on the travis tests
Merge pull request #68 from r1mikey/upstream
Merge pull request #70 from yuusuke/fix_logging
Fix the github links
Fix travis icon (travis is case sensitive)
Hopefully this is the last travis link fix
David Vossel (143):
LOG: Invoke custom log filter function if tag changes
Fix: tests: Make blackbox_segfault.sh not depend on bash
Fix: tests: On some platforms -ECONNRESET is returned rather than -ENOTCONN after server failure
Fix: ringbuffer: Add file header version field and detect reading corrupted blackbox files using hash value
Fix: refcount leak
Low: tests: Verify reading valid blackbox file works
Merge pull request #72 from davidvossel/master
Merge pull request #73 from davidvossel/ref_count_cleanup
Low remove ref-count error in example ipcserver.
Simplifies connection ref counting without changing behavior
Simplify internal ipcs ref counting, add comments and document api behavior
Fix: ipcs: Properly disconnect client connection on POLLNVAL or any other error causing connection removal from mainloop.
Fix: ipcs: Disconnect shm ipc connection when poll socket returns error on msg receive
Merge pull request #74 from davidvossel/ref_count_cleanup
Low: qbipcs.h: update ipcs connection iterator documentation
Merge pull request #75 from davidvossel/ref_count_cleanup
Low: ipcs: Attempt to resend outstanding event notifications during event send
High: kqueue: Properly enable kqueue filter in poll loop
Low: ipc_socket: In fbsd send() returns ENOBUFS when dgram queue is full, this should be treated similar to EAGAIN
Low: tests: Adds ipc event stress test to testsuite
Account for fbsd ENOBUFS during stress test
Low: tests: rework bulk event msg ipc test
Low: loop_pool_kqueue: remove potentially noisy dbug statement
Merge pull request #77 from davidvossel/stress_tests_fixes
Fix: ipcs: Fixes compile time issue reported by travis
Merge pull request #78 from davidvossel/master
Merge pull request #79 from davidvossel/master
Low: tests: Added test to verify sending ipc msg equal to max size succeeds
Low: ipcs: For shm ipc, always retry outstanding notifications when next event is sent
High: ringbuffer: Make max_size of ringbuffer accurate so shm ipc max msg size value is honored
Low: check_ipc.c: fix debug message to only display once.
Merge pull request #80 from davidvossel/master
Fixes travis build error
High: ipcc: Add abilty to verify dgram kernel buffer size meets max msg value
Low: check_ipc.c: Verify dgram max size during tests
Remove dead code
Fixes use after free during ipcs client disconnect
Fixes use ater free in shm disconnect
Prevent use after free in benchmark util
Fixes fd leak
Fixes double fd close
Fixes double close
fixes double close
Fixes less-than-zero comparision of unsigned int
Fixes sem leak
Fixes detect disconnect on send for tcp example
Merge pull request #82 from davidvossel/master
Low: ipc_socket.c: Handle the unlikely event of an EAGAIN or EINTR during dgram max size detection
Low: tests: Add dgram max size detection test
Merge pull request #81 from davidvossel/dgram_max_msg
High: ipc_socket.c: Detect EOF connection on connection STREAM socket
Low: ipcserver.c: Fix example server's glib mainloop implementation
Low: ipc_socket: Output send event failure as debug instead of error
Merge pull request #83 from davidvossel/master
Bump the version to 0.15.0
Update release gpg sign key
Bump version to 0.16.0 ... do not use version 0.15.0
Merge pull request #85 from r1mikey/master
Detect the max signal value that can be used using NSIG macro
Merge pull request #87 from anchor/del-during-dispatch-v2
Merge pull request #88 from r1mikey/master
Low: ipc_socket: Fixes fd leak in socket ipc client disconnection
Merge pull request #90 from davidvossel/master
Merge pull request #91 from VladMalov/patch-1
High: blackbox: unique blackbox ringbuffer files per pid
Low: ringbuffer: Abort during chunk reclaim if OVERWRITE flag is set and reclaim fails.
Merge pull request #92 from davidvossel/blackbox_unique_files
High: ipcs: Api function allowing server to retrieve client connection's ipc buffer size
Low: blackbox: Abort blackbox logging on ringbuffer overwrite reclaim error
Merge pull request #93 from davidvossel/master
Merge pull request #95 from davidvossel/master
Fix: log: Filtering by function and file must match exactly, no substring matches
Merge pull request #96 from jfriesse/master
Feature: Filter logs using regex patter on function, format, or filename
Low: regession tests for regex log filters
Merge pull request #98 from davidvossel/server_side_buf_limit
Merge pull request #99 from davidvossel/regex_logger
Feature: Enforce buffer size limits on the server side
Low: check_ipc.c: Verify server enforced buffer sizes work
Feature: New api function to retrieve client buffer size
Low: Client side buffer retrieval regression test
Low: example: Update client/server example to use server enforced buffer size
Merge pull request #100 from davidvossel/server_side_buf_limit
Merge pull request #103 from latinovic/master
Low: ipcs: Clarifications to the ipcs server callback documentation.
Merge pull request #104 from davidvossel/master
Merge pull request #105 from gao-yan/ipc-server-backlog
High: ipc: Fixes memory leak in server connection accept when client partially connects
Low: ipc: Remove ipc connection reference given to dispatch functions
Merge pull request #106 from davidvossel/ref_count_cleanup
High: ipcs: Prevent ipc server use after free.
Low: tests: Fixes compile time issue with make check
Merge pull request #107 from davidvossel/ref_count_cleanup
Fix: fixes travis compile time error
Merge pull request #110 from davidvossel/master
Low: ipc_socket: Allow socket max msg size to be calculated more accurately
Merge pull request #111 from davidvossel/master
Low: ipc_socket: further optimize max msg size calculations for fbsd portability tests
Merge pull request #112 from davidvossel/master
Bump version to 0.17.0
Doc: update broken doxygen link to something that exists
Fix: spec: reference correct url in spec file
Fix: build: Allow 'make rpm' to work with lightweight tags for release candidates
Low: build: Don't allow Bsymbolic-functions LDFLAG to be used, it breaks unit tests
Low: check_ipc.c: Avoid using MAX_MSG_SIZE macro directly in calculations
Low: check_ipc.c: Correctly wait for server process to exit
Low: check_ipc.c: Correctly check the event queue length for bulk events
Merge pull request #113 from inouekazu/log_eagain
Fix: ipcc: Properly timeout during recv when timeout value is provided
Low: check_ipc: Verify ipc recv times out correctly
Merge pull request #115 from davidvossel/master
Low: check: Update clang path in check script
Low: ipcs: Cleanup unnecessary reference counting
Low: trie: cleanup ref count logic in trie_notify_del
Merge pull request #116 from davidvossel/master
Fix: trie: fixes regression caused by ref count refactoring
Merge pull request #118 from davidvossel/master
Merge pull request #122 from AnchorCat/ringbuffer
Merge pull request #121 from AnchorCat/epoll
Merge pull request #120 from AnchorCat/shm-connect-cleanup
Merge pull request #125 from hopkings2008/master
Low: doc: Add better documentation on thread-safe logging
Merge pull request #126 from davidvossel/17.1.fixes
Low: log: return filter type enum to preserve abi compatibilty with corosync
Merge pull request #127 from davidvossel/17.1.fixes
High: trie: allow modifying the trie map during the notify callback
Merge pull request #128 from davidvossel/17.1.fixes
Merge pull request #131 from davidvossel/reformatting
Fix: ipcs: Correctly allocate receive buffer size
Low: check_ipc.c: improve error checking during ipc stress tests
Low: qbipcs.h: fix doxygen comments for ipcs buffer size enforcement
Merge pull request #132 from davidvossel/master
Bump release version to 0.18.0
Revise version to 0.17.1 The next release is only a point release
Low: release.mk: update gpg public key
Merge pull request #136 from grueni/upstream4
Merge pull request #137 from rubenk/detect-warning-flags-better
Merge pull request #138 from rubenk/fix-clang-warning
High: yield to scheduler during new connection auth processing
Merge pull request #141 from davidvossel/recv-yield
High: loop: fixes resource starvation in mainloop code
Low: tests: regression tests for stress testing loop_poll ipc create/destroy
Merge pull request #147 from davidvossel/poll_starve
Dejan Latinovic (1):
Fix rb.test to avoid overwriting memory during reading.
Fabio M. Di Nitto (6):
Fix some sparc test failures.
Fix a compile warning on sparc (epoll_create1)
build: remove bashism in cc support check
build: fix libqb.pc creation and make maintainer-clean
Low: build: update .gitignore and make maintainer-clean target
Low: build: cleanup autogen warning to not overrride LDFLAGS
Gao,Yan (1):
IPC: Increase the listen backlog of IPC server
Igor Pashev (2):
Test for log facility names
PF_UNIX is a POSIX standard name
Jan Friesse (8):
Use SCHED_BATCH only on platforms where available
Use MADV_NOSYNC only on systems where available
NetBSD doesn't have semun defined
Don't link with setpshared if unavailable
Add inet header to tcpclient example
Test existence of getpeer* functions
Correctly display timestamp in blackbox
ipc_setup: Set SO_PASSCRED on listener socket
Jeremy Fitzhardinge (7):
Check error return of qb_ipcs_uc_recv_and_auth()
Don't free rb->shared_hdr in qb_rb_create_from_file()
blackbox: fix 64-bit big-endian issues
ipc_us: clear request unused fields
ipc_us: on Linux, set SO_PASSCRED on the sending socket too
ipc_us: slightly more robust cmsg handling
ringbuffer: use atomic ops on ringbuffer chunk magic
Jim Meyering (11):
make the tests run in parallel
avoid NULL dereference after failed malloc
add FIXME comments for other NULL-deref-upon-OOM problems
avoid autoconf warning
use latest git-version-gen from gnulib
adjust .gitignore so "git status" ignores all build artifacts
qb_rb_write_to_file clean-up
don't let an invalid time stamp provoke a NULL dereference
avoid unwarranted use of strncpy: use memcpy instead
ipcs: avoid use-after-free for size-0 || disconnect-request
tests/rbwriter: don't ignore write failure
Kazunori INOUE (2):
IPC: fix the connection state checking
Low: ipc_setup.c: Add log for EAGAIN
Michael Chapman (5):
Avoid double-decrement of level->todo
ringbuffer: fix qb_rb_open_2() debug format string
ringbuffer: fix size in qb_rb_create_from_file()
ipc_shm: fix error handling in qb_ipcs_shm_connect()
epoll: don't miss poll events under high load
Michael van der Westhuizen (3):
Add a IPC service context pointer and accessors from both the connection and service level.
Use a system-supplied maximum number of signals on Mac OS X. This gets SIGUSR2 (#31) working.
Use sizeof to get the correct size of the sockaddr_un sun_path member in a portable way. Fixes corosync on Mac OS X.
Richard B Winters (4):
Iniital debian import based on the 0.17.1 release uploaded to
Imported Upstream version 0.17.1
.gbp.conf removed from index as its a local only file
Merge branch 'master' into debian/sid
Ruben Kerkhof (2):
Fix detection of warning flags for clang
The udata member of the kevent struct is a void *
Steven Dake (4):
Add an initial implementation of a hash table.
qb_list_splice: don't splice an empty list
get_more_jobs: use qb_list_splice instead of iterating list and readding
Add a benchmark program for the qblog flight recorder
Super-User (1):
High: ipc_socket: Signalhandler must be resetted to Default, use only cleanup_sigpipe to return from qb_ipc_dgram_sock_setup.
Takatoshi MATSUO (1):
add file_change_bytes into check_PROGRAMS and fix a typo
Takeshi MIZUTA (4):
Unify the list processing with qb_list function
Unify to QB_TRUE/QB_FALSE a boolean value
Add the processing which remove hash node and notifier at hashtable_destroy function
Add the processing which remove notifier at skiplist_destroy function
The Quarterback Library Release Team (25):
Bump version to 0.2.0
Tweek the release.mk file to produce tags like vX.Y.Z
Bump version to 0.3.0
Bump version to 0.4.0
Bump library version to 0.4.1
Set the gpgsignkey in release.mk
Update the library version to 0.5.0
Make sure write_logs.c is deleted by "make distclean"
Bump the library version.
Bump the library version to 0.7.0
Bump the library version.
Bump the library version to 0.9.0
TEST: Make sure the generated files have the correct include paths
Bump the lib version to 0.10.0
Bump the version to 0.10.1
Fix "make distcheck" add include path to AM_CPPFLAGS
Bump the version to 0.11.0
Bump the version to 0.11.1
Bump the lib version to 0.12.0
Bump the version to 0.14.0
Bump the version to 0.14.1
Bump the version to 0.14.2
Fix "make distcheck"
Bump the library version.
Bump the version to 0.14.4
VladMalov (1):
Update README.markdown
Yunkai Zhang (2):
Fixed segment fault bug when use logging API at i386 platform
Fixed bug: incorrect array length definition
miz-take (2):
Improve the error handling esp. after failed malloc's
Fix return code which is an error occurred at pthread function
quarterback (1):
Add a release makefile
yuusuke (1):
fix a problem when the character string beyond the number of the maximum characters is passed
zouyu (1):
fix invalid option when run 'ipcclient -h'
Виноградов Василий (3):
Provide some helpful macros for iterating over lists.
RB: More consistent behavior when closing a ringbuffer
Get libqb building on cygwin.
-----------------------------------------------------------------------
No new revisions were added by this update.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/libqb.git
More information about the Debian-HA-Commits
mailing list