]>
mj.ucw.cz Git - libucw.git/log
Martin Mares [Tue, 26 Feb 2013 12:37:59 +0000 (13:37 +0100)]
Doc: Fixed a typo
Thanks to Martina Balintova who spotted it.
Tomas Valla [Thu, 27 Dec 2012 14:45:25 +0000 (15:45 +0100)]
mainloop.h: Typo fix.
Martin Mares [Wed, 26 Dec 2012 19:22:35 +0000 (20:22 +0100)]
UCW::CGI: Documented the changes
Martin Mares [Wed, 26 Dec 2012 19:13:13 +0000 (20:13 +0100)]
UCW::CGI error handling split off to separate module UCW::CGI::ErrorHandler
I was really fed up with replaced error handling in indirectly related
pieces of code (like modules, which use UCW::CGI, because they might be
called in a context of a CGI script under some circumstances).
Let the people who want custom error handling ask for it directly.
Pavel Charvat [Sat, 17 Nov 2012 17:40:13 +0000 (18:40 +0100)]
Bitarray: Counting of bits and other fixes
o Added bit_array_count_bits().
o Padding after the last significant bit is guaranteed to be 0.
o BIT_ARRAY_FISH_BITS_... is not destructive any longer.
Pavel Charvat [Sat, 17 Nov 2012 17:38:27 +0000 (18:38 +0100)]
Bitops: Implement bit_count()
Martin Mares [Fri, 2 Nov 2012 21:36:42 +0000 (22:36 +0100)]
gary: Allow GARY_RESIZE to be used for immediate array indexing
Martin Mares [Tue, 30 Oct 2012 20:39:43 +0000 (21:39 +0100)]
Mainloop: Fixed position tracking in timer heaps
Martin Mares [Tue, 30 Oct 2012 20:38:53 +0000 (21:38 +0100)]
Heap: Documented position tracking
Martin Mares [Tue, 30 Oct 2012 20:28:47 +0000 (21:28 +0100)]
Signames: Run tests automatically
Martin Mares [Tue, 30 Oct 2012 20:27:45 +0000 (21:27 +0100)]
MD5: The rest of the test suite
Martin Mares [Tue, 30 Oct 2012 20:27:25 +0000 (21:27 +0100)]
MD5: Test suite
Martin Mares [Tue, 30 Oct 2012 20:26:46 +0000 (21:26 +0100)]
MD5: Removed a potential pointer aliasing problem
Discovered from a warning by GCC 4.7.
Martin Mares [Tue, 30 Oct 2012 20:20:31 +0000 (21:20 +0100)]
Debug: Compile with CONFIG_IMAGES_{DUP,SIM}
Martin Mares [Tue, 30 Oct 2012 20:20:21 +0000 (21:20 +0100)]
Images: Heap use fixup
Martin Mares [Tue, 30 Oct 2012 20:13:39 +0000 (21:13 +0100)]
Heap: Revert changes to HEAP_DELETE, which broke position tracking
Martin Mares [Sun, 28 Oct 2012 19:03:39 +0000 (20:03 +0100)]
Do not forget to export eltpool.h to public API
Tomas Valla [Thu, 25 Oct 2012 13:47:30 +0000 (15:47 +0200)]
Mainloop: Fixed +1 error in heap usage.
Martin Mares [Sun, 21 Oct 2012 15:11:58 +0000 (17:11 +0200)]
Heap: Adjust callers
Martin Mares [Sun, 21 Oct 2012 15:10:20 +0000 (17:10 +0200)]
Heap: Interface cleanup
The previous interfaces was mixing macros, which really perform the
operation, with those where the caller performs the operation and the
macro fixes the heap. This has for example lead to non-systematic side
effects on the `num' variable.
The change is backwards incompatible, all old code should hopefully
fail to compile now.
Martin Mares [Sun, 21 Oct 2012 14:42:03 +0000 (16:42 +0200)]
Hashtable: Fixed some documentation errors
However, many still remain -- the docs are full of stray links
Martin Mares [Tue, 16 Oct 2012 13:20:10 +0000 (15:20 +0200)]
UCW::CGI: Use "//=" to simplify code
This patch and the previous one have been suggested by Tomas Malecek.
Martin Mares [Tue, 16 Oct 2012 13:19:27 +0000 (15:19 +0200)]
UCW::CGI: Announce supported methods correctly
Tomas Valla [Wed, 5 Sep 2012 14:52:11 +0000 (16:52 +0200)]
Hashtable: Added an option for lookup to detect newly created items
Martin Mares [Fri, 12 Oct 2012 17:53:25 +0000 (19:53 +0200)]
Lizard: Fixed a typo ("occured" -> "occurred')
Tomas Valla [Wed, 5 Sep 2012 09:15:15 +0000 (11:15 +0200)]
slists: The behaviour of slist_remove_head now mimics clist_remove_head
Pavel Charvat [Mon, 30 Jul 2012 13:47:55 +0000 (15:47 +0200)]
Fastbufs: Fixed btell() in writeable fbbuf.
Jan 'Moskyt' Matejka [Wed, 25 Jul 2012 12:29:02 +0000 (14:29 +0200)]
Daemon: added missing includes
Martin Mares [Tue, 24 Jul 2012 18:23:48 +0000 (20:23 +0200)]
Doc: Mention fb_multi in the release notes
Jan 'Moskyt' Matejka [Mon, 23 Jul 2012 09:40:51 +0000 (11:40 +0200)]
Fastbuf: fbmulti: fixes from MJ
Jan 'Moskyt' Matejka [Thu, 19 Jul 2012 13:23:02 +0000 (15:23 +0200)]
Fastbuf: fbmulti simplification
Jan 'Moskyt' Matejka [Thu, 19 Jul 2012 08:03:23 +0000 (10:03 +0200)]
Fastbuf: fbmulti: static clist + FBMULTI() killing
Jan 'Moskyt' Matejka [Thu, 19 Jul 2012 07:59:52 +0000 (09:59 +0200)]
Fastbuf: fbmulti: O(N^2) multiappend fixed
Jan 'Moskyt' Matejka [Thu, 19 Jul 2012 07:39:31 +0000 (09:39 +0200)]
Fastbuf: fbmulti: allow_close and flatten removed
Jan 'Moskyt' Matejka [Mon, 16 Jul 2012 15:25:30 +0000 (17:25 +0200)]
Fastbuf: fbmulti now uses transparently the underlying buffer
Jan 'Moskyt' Matejka [Mon, 16 Jul 2012 09:27:28 +0000 (11:27 +0200)]
Fastbuf: fbmulti_remove
Jan 'Moskyt' Matejka [Wed, 11 Jul 2012 14:46:44 +0000 (16:46 +0200)]
Fastbuf: fbmulti: *'s and whitespace
Jan 'Moskyt' Matejka [Wed, 11 Jul 2012 14:30:35 +0000 (16:30 +0200)]
Fastbuf: whitespace in fbmulti
Jan 'Moskyt' Matejka [Wed, 11 Jul 2012 14:10:05 +0000 (16:10 +0200)]
Fastbuf: style fixes in fbmulti
Jan 'Moskyt' Matejka [Wed, 11 Jul 2012 13:01:37 +0000 (15:01 +0200)]
Fastbuf: fbmulti_flatten + doc
Jan 'Moskyt' Matejka [Mon, 9 Jul 2012 15:15:30 +0000 (17:15 +0200)]
Fastbuf: fbmulti_close
Jan 'Moskyt' Matejka [Mon, 9 Jul 2012 14:49:21 +0000 (16:49 +0200)]
Fastbuf: fbmulti nested test and apropriate fixes
Jan 'Moskyt' Matejka [Mon, 9 Jul 2012 13:42:30 +0000 (15:42 +0200)]
Fastbuf: fbmulti allows reading of one subbuf more times
Jan 'Moskyt' Matejka [Wed, 4 Jul 2012 14:17:59 +0000 (16:17 +0200)]
Fastbuf: fbmulti backend
Jan 'Moskyt' Matejka [Mon, 9 Jul 2012 13:10:12 +0000 (15:10 +0200)]
Fastbuf: fbbuf_seek bugfix
Martin Mares [Wed, 18 Jul 2012 21:32:10 +0000 (23:32 +0200)]
Config: Allow relative top-level sections
Martin Mares [Wed, 18 Jul 2012 16:46:09 +0000 (18:46 +0200)]
setproctitle: Copy all arguments in setproctitle_init()
Otherwise, values of command-line arguments, which are not explicitly
copied, can be corrupted by setproctitle().
Martin Mares [Wed, 18 Jul 2012 12:23:52 +0000 (14:23 +0200)]
Daemon: Added DAEMON_FLAG_SIMULATE
Martin Mares [Wed, 18 Jul 2012 12:15:47 +0000 (14:15 +0200)]
Configure: Turned off -fgnu89-inline
No current code requires it any longer.
Martin Mares [Wed, 18 Jul 2012 12:15:26 +0000 (14:15 +0200)]
Configure: Turned off -Winline
Recent versions of GCC perform inlining reasonably well, no need to warn.
Martin Mares [Wed, 18 Jul 2012 12:14:35 +0000 (14:14 +0200)]
Fastbuf: Removed useless inline
Martin Mares [Wed, 18 Jul 2012 11:41:20 +0000 (13:41 +0200)]
Daemon: Added DAEMON_STATUS_STALE
Martin Mares [Wed, 18 Jul 2012 10:56:24 +0000 (12:56 +0200)]
Config: daemon-helper is not compiled by default any longer
Martin Mares [Wed, 18 Jul 2012 10:20:53 +0000 (12:20 +0200)]
Doc: Mentioned daemon and signal helpers in release notes
Martin Mares [Wed, 18 Jul 2012 10:18:44 +0000 (12:18 +0200)]
Daemon: The old daemon-helper has been declared obsolete
Martin Mares [Wed, 18 Jul 2012 10:15:58 +0000 (12:15 +0200)]
Daemon: Added a new daemon-control utility
Martin Mares [Wed, 18 Jul 2012 10:15:36 +0000 (12:15 +0200)]
Daemon: Better toy daemon
Martin Mares [Wed, 18 Jul 2012 10:14:53 +0000 (12:14 +0200)]
Process: Let format_exit_status() name the lethal signal
Martin Mares [Wed, 18 Jul 2012 10:14:34 +0000 (12:14 +0200)]
Daemon: Bug fixes and signal defaults
Martin Mares [Wed, 18 Jul 2012 09:45:44 +0000 (11:45 +0200)]
Signals: Document differences against strsignal()
Martin Mares [Wed, 18 Jul 2012 09:32:44 +0000 (11:32 +0200)]
Signals: Documentation
Martin Mares [Wed, 18 Jul 2012 09:27:07 +0000 (11:27 +0200)]
Doc: Added Daemon helpers to the index
Martin Mares [Wed, 18 Jul 2012 09:15:10 +0000 (11:15 +0200)]
Daemon: Let daemon actions be numbered from 1
This way, 0 can be used as "undefined".
Martin Mares [Wed, 18 Jul 2012 09:14:52 +0000 (11:14 +0200)]
Signals: Added tests
Martin Mares [Wed, 18 Jul 2012 09:12:12 +0000 (11:12 +0200)]
Signals: Added a module with a list of signals
Martin Mares [Wed, 18 Jul 2012 08:39:09 +0000 (10:39 +0200)]
Daemon: Split to daemonization and control parts
Martin Mares [Wed, 18 Jul 2012 08:36:07 +0000 (10:36 +0200)]
Daemon: daemon_control() finished
Martin Mares [Tue, 17 Jul 2012 22:01:01 +0000 (00:01 +0200)]
Daemon: Basics of daemon control (incomplete)
Martin Mares [Tue, 17 Jul 2012 20:50:50 +0000 (22:50 +0200)]
Daemon: Reverted to one-level locking and added bits of docs
Martin Mares [Tue, 17 Jul 2012 19:53:46 +0000 (21:53 +0200)]
Daemon: Documentation: Example and description of the locking protocol
Martin Mares [Tue, 17 Jul 2012 14:06:31 +0000 (16:06 +0200)]
Daemon: More documentation
Martin Mares [Tue, 17 Jul 2012 13:47:37 +0000 (15:47 +0200)]
Daemon: Correct locking
We have to use flock() instead of fcntl locks, because we want to
share the lock on a shared file descriptor.
Martin Mares [Thu, 12 Jul 2012 16:44:57 +0000 (18:44 +0200)]
Daemon: Preliminary documentation
Martin Mares [Thu, 12 Jul 2012 16:38:12 +0000 (18:38 +0200)]
Daemon: An attempt at daemonization helper
Pavel Charvat [Wed, 20 Jun 2012 10:51:59 +0000 (12:51 +0200)]
Resources can be allocated from static memory buffers
Jan 'Moskyt' Matejka [Wed, 25 Apr 2012 07:57:45 +0000 (09:57 +0200)]
Fastbuf socket spout fixed
Tomas Valla [Wed, 11 Apr 2012 12:28:49 +0000 (14:28 +0200)]
strtonum: Added small bits of documentation
Martin Mares [Wed, 9 May 2012 09:00:10 +0000 (11:00 +0200)]
Sorter debugging tools can be compiled again
Martin Mares [Sun, 29 Apr 2012 12:12:06 +0000 (14:12 +0200)]
Release notes on conf changes
Martin Mares [Sun, 29 Apr 2012 11:53:24 +0000 (13:53 +0200)]
Conf: Explain impossibility of section sharing
Martin Mares [Sun, 29 Apr 2012 11:40:06 +0000 (13:40 +0200)]
Conf: Decoupled cf_stack_done() from committing
The conditional commit machinery and grouping of configuration files
have been made independent on the stack and moved to conf-input.c.
Also, stack is now initialized and destroyed in parse_fastbuf(),
so unterminated braces are reported properly, including the name
of the file.
Martin Mares [Sun, 29 Apr 2012 11:25:21 +0000 (13:25 +0200)]
Conf: Renamed cf_free_context() to cf_delete_context()
This way, it is consistent with the other LibUCW modules.
Martin Mares [Sun, 29 Apr 2012 11:22:52 +0000 (13:22 +0200)]
Conf: Cleaned up use of journal
Introduced a new function cf_revert() for reverting the configuration
to its pristine state. It is automatically called upon cf_free_context().
Also, everything except cf_reload() now should work with journalling
disabled. In this case, nothing is ever rolled back.
Martin Mares [Sun, 29 Apr 2012 09:52:53 +0000 (11:52 +0200)]
Conf: Updated conf-test
Martin Mares [Sat, 28 Apr 2012 23:32:37 +0000 (01:32 +0200)]
Conf: Config documentation
Martin Mares [Sat, 28 Apr 2012 23:32:05 +0000 (01:32 +0200)]
Conf: Introduced cf_open_group() and cf_close_group()
All grouping inside cf_getopt() uses it, too.
Martin Mares [Sat, 28 Apr 2012 22:00:00 +0000 (00:00 +0200)]
Conf: Split off everything related to cf_getopt()
<ucw/getopt.h> now contains only cf_getopt() and related settings.
All high-level configuration functions have been moved to <ucw/conf.h>.
Martin Mares [Sat, 28 Apr 2012 21:38:22 +0000 (23:38 +0200)]
Conf: Introduced cf_set_journalling()
Martin Mares [Sat, 28 Apr 2012 21:31:32 +0000 (23:31 +0200)]
Conf: Removed a debugging relic
Martin Mares [Sat, 28 Apr 2012 21:29:56 +0000 (23:29 +0200)]
Conf: Made the default context static
This involves some bits of magic with constructor priorities
and a hack, which forces linking of conf-context.c.
Martin Mares [Sat, 28 Apr 2012 17:41:58 +0000 (19:41 +0200)]
Conf: Revive cf_def_file and cf_env_file
They are tightly coupled to cf_getopt(), which is not reentrant
anyway, so let us leave them global to keep backward compatibility.
Martin Mares [Sat, 28 Apr 2012 16:50:04 +0000 (18:50 +0200)]
Conf: Obsolete references to cf_def_file
Martin Mares [Sat, 28 Apr 2012 16:49:35 +0000 (18:49 +0200)]
Conf: Removed declarations of cf_def_file and cf_env_file
Martin Mares [Sat, 28 Apr 2012 16:43:24 +0000 (18:43 +0200)]
Conf: Moved the list of dirty sections to cf_context
Martin Mares [Sat, 28 Apr 2012 13:17:38 +0000 (15:17 +0200)]
Conf: Rewritten configuration parser to support multiple contexts (step 1)
Some parts remain, most notably the handling of dirty sections
in conf-section.c.
Pavel Charvat [Thu, 29 Mar 2012 19:45:24 +0000 (21:45 +0200)]
Fastbufs: Fixed broken seeking in fbbuf.
Martin Mares [Sun, 18 Mar 2012 22:35:06 +0000 (23:35 +0100)]
CRC: Added inclusion guards
Martin Mares [Sun, 18 Mar 2012 22:08:01 +0000 (23:08 +0100)]
CRC: Added crc32_hash_buffer()
Martin Mares [Sun, 18 Mar 2012 22:05:21 +0000 (23:05 +0100)]
CRC: Documentation
Martin Mares [Sun, 18 Mar 2012 21:39:37 +0000 (22:39 +0100)]
CRC: Added tests