]>
mj.ucw.cz Git - libucw.git/log
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
Martin Mares [Sun, 18 Mar 2012 21:35:53 +0000 (22:35 +0100)]
CRC: Added a module for calculating CRC32
Martin Mares [Fri, 2 Mar 2012 14:12:16 +0000 (15:12 +0100)]
Mempools: Implemented mp_str_from_mem()
Martin Mares [Tue, 21 Feb 2012 17:27:20 +0000 (18:27 +0100)]
Changed default configuration to include LibUCW and utils only
The debug configuration however enables everything.
Martin Mares [Tue, 21 Feb 2012 17:25:32 +0000 (18:25 +0100)]
Maint: Added a script for uploading online documentation
Martin Mares [Tue, 21 Feb 2012 17:25:19 +0000 (18:25 +0100)]
Doc: Updated web pages
Martin Mares [Tue, 21 Feb 2012 17:25:15 +0000 (18:25 +0100)]
Doc: Updated license
Martin Mares [Tue, 21 Feb 2012 16:56:00 +0000 (17:56 +0100)]
Web: Moved one directory up
Martin Mares [Tue, 21 Feb 2012 16:53:14 +0000 (17:53 +0100)]
Doc: Fixed a typo
Martin Mares [Tue, 21 Feb 2012 16:51:47 +0000 (17:51 +0100)]
Release notes: 5.0 is no longer WIP
Martin Mares [Tue, 21 Feb 2012 16:46:45 +0000 (17:46 +0100)]
Sorter: Make sort-test a part of the test suite
Martin Mares [Tue, 21 Feb 2012 16:39:20 +0000 (17:39 +0100)]
Release notes: Remark on fastbuf implementation
Martin Mares [Tue, 21 Feb 2012 12:39:44 +0000 (13:39 +0100)]
logoutput: Clean up --help message
Martin Mares [Tue, 21 Feb 2012 12:34:45 +0000 (13:34 +0100)]
logoutput: More control over verbosity
Patch by Tomas Ebenlendr.
Pavel Charvat [Mon, 20 Feb 2012 01:26:54 +0000 (02:26 +0100)]
Atomic Fastbuf: Fixed assertion error in unit test.
Pavel Charvat [Sun, 19 Feb 2012 11:34:04 +0000 (12:34 +0100)]
Sorter: Another timer.h -> time.h.
Pavel Charvat [Sun, 19 Feb 2012 11:31:19 +0000 (12:31 +0100)]
Sorter: Ah, fixed wrong include of time.h.
Pavel Charvat [Sun, 19 Feb 2012 11:29:06 +0000 (12:29 +0100)]
Sorter: Added missing include.
Martin Mares [Sat, 18 Feb 2012 18:41:28 +0000 (19:41 +0100)]
Updated TODO
Martin Mares [Sat, 18 Feb 2012 18:41:15 +0000 (19:41 +0100)]
Updated README for the public release
Martin Mares [Sat, 18 Feb 2012 18:33:19 +0000 (19:33 +0100)]
Maint: Added release machinery
This is derived from release.pm used for pciutils, but extensively
changed to support Git-based workflow.
Needs more work.
Martin Mares [Sat, 18 Feb 2012 17:50:59 +0000 (18:50 +0100)]
README: Trying variable substitution
Martin Mares [Sat, 18 Feb 2012 17:13:30 +0000 (18:13 +0100)]
Updated TODO
Martin Mares [Sat, 18 Feb 2012 17:13:16 +0000 (18:13 +0100)]
Removed obsolete lfs-test
Martin Mares [Sat, 18 Feb 2012 17:12:07 +0000 (18:12 +0100)]
Removed ancient scripts for making library releases
Martin Mares [Sat, 18 Feb 2012 17:11:47 +0000 (18:11 +0100)]
Moved web pages to a top-level directory
Martin Mares [Sat, 18 Feb 2012 17:09:18 +0000 (18:09 +0100)]
Exampled moved to a top-level directory
Martin Mares [Sat, 18 Feb 2012 17:07:42 +0000 (18:07 +0100)]
Config: Support "LibUCW only" mode
Martin Mares [Sat, 18 Feb 2012 17:00:21 +0000 (18:00 +0100)]
Configure: Update copyrights
Martin Mares [Sat, 18 Feb 2012 16:59:52 +0000 (17:59 +0100)]
Configure: Removed references to SHERLOCK_VERSION
Martin Mares [Sat, 18 Feb 2012 16:57:35 +0000 (17:57 +0100)]
Configure: Simplified radix sorter configuration
Originally, we guessed based on CPU model, but as I have ripped out
model detection, we cannot do that any longer; besides, it was very
much out of date.
Now, we use simple heuristics: anybody caring about performance
runs on amd64 and all amd64 processors have large enough L1 cache
to use 12-bit bucket width.
Martin Mares [Sat, 18 Feb 2012 16:53:59 +0000 (17:53 +0100)]
Configure: Moved LibUCW specific Darwin hacks to the right place
Martin Mares [Sat, 18 Feb 2012 16:53:32 +0000 (17:53 +0100)]
Config: Enable CONFIG_EXACT_CPU in debugging configuration
Martin Mares [Sat, 18 Feb 2012 16:48:06 +0000 (17:48 +0100)]
Configure: Replaced dark magic in CPU detection by use of -march=native
Martin Mares [Sat, 18 Feb 2012 12:31:36 +0000 (13:31 +0100)]
check-configs: Enable CONFIG_LOCAL, otherwise tests cannot work
Martin Mares [Sat, 18 Feb 2012 12:08:18 +0000 (13:08 +0100)]
check-configs: Check configurations without CONFIG_DEBUG, too
Martin Mares [Sat, 18 Feb 2012 12:08:07 +0000 (13:08 +0100)]
lib.h: Added ASSERT_READABLE and ASSERT_WRITEABLE
Martin Mares [Thu, 16 Feb 2012 19:52:15 +0000 (20:52 +0100)]
Time: Added a module for parsing timeouts
Martin Mares [Thu, 16 Feb 2012 19:19:51 +0000 (20:19 +0100)]
Time: Documented the header splitoff
Martin Mares [Thu, 16 Feb 2012 19:15:00 +0000 (20:15 +0100)]
Time: Timing functions separated out to <ucw/time.h>
Updated all references and wrote documentation.
Martin Mares [Sat, 11 Feb 2012 20:36:08 +0000 (21:36 +0100)]
Charset: compile cs2cs
Martin Mares [Sat, 11 Feb 2012 20:30:56 +0000 (21:30 +0100)]
Sorter tests: get rid of sherlock.h
Martin Mares [Sat, 11 Feb 2012 20:29:31 +0000 (21:29 +0100)]
Use #include <ucw/...> instead of "ucw/..." (and similarly for the other libs)
Martin Mares [Sat, 11 Feb 2012 20:17:04 +0000 (21:17 +0100)]
Fastbuf: Get rid of ->is_fastbuf typechecking hack
... it breaks C99 aliasing rules and GCC rightfully warns about it.
If we ever want to do such type checking, we might use
#define CAST(f) ((f)->is_fastbuf, (struct xxxx *)(f))
but I guess it is of little use anyway, so I am removing it.
Martin Mares [Sat, 11 Feb 2012 20:11:11 +0000 (21:11 +0100)]
Base64: Made thread-safe