From 40c6405cbbec20d99cd2d6cda5807c94a44afef0 Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 27 Feb 2011 13:11:47 +0100 Subject: [PATCH] Preliminary release notes for LibUCW 4.1 --- ucw/doc/Makefile | 2 +- ucw/doc/index.txt | 2 ++ ucw/doc/relnotes.txt | 47 ++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 ucw/doc/relnotes.txt diff --git a/ucw/doc/Makefile b/ucw/doc/Makefile index 6ffeb123..0ceb39ca 100644 --- a/ucw/doc/Makefile +++ b/ucw/doc/Makefile @@ -2,7 +2,7 @@ DIRS+=ucw/doc -UCW_DOCS=basics log fastbuf index config configure install basecode hash docsys conf mempool eltpool mainloop generic growbuf unaligned lists chartype unicode prime binsearch heap binheap compress sort hashtable +UCW_DOCS=basics log fastbuf index config configure install basecode hash docsys conf mempool eltpool mainloop generic growbuf unaligned lists chartype unicode prime binsearch heap binheap compress sort hashtable relnotes UCW_INDEX=$(o)/ucw/doc/def_index.html UCW_DOCS_HTML=$(addprefix $(o)/ucw/doc/,$(addsuffix .html,$(UCW_DOCS))) diff --git a/ucw/doc/index.txt b/ucw/doc/index.txt index 00935c3e..a9981c5f 100644 --- a/ucw/doc/index.txt +++ b/ucw/doc/index.txt @@ -42,6 +42,7 @@ Other features - <> - <> - <> +- <> Yet undocumented modules ------------------------ @@ -60,6 +61,7 @@ Yet undocumented modules * `stkstring.h` * `string.h` * `str-match.h` + * `strtonum.h` * `wildmatch.h` - File manipulation * `asio.h` diff --git a/ucw/doc/relnotes.txt b/ucw/doc/relnotes.txt new file mode 100644 index 00000000..437ed5bb --- /dev/null +++ b/ucw/doc/relnotes.txt @@ -0,0 +1,47 @@ +Release notes +============= + +4.1 (work in progress) +---------------------- + +* The mainloop module has been rewritten: +** Multiple instances of the main loop are supported (to be used in different + threads or locally within a library function). +** The new implementation is more efficient: it uses heaps for timers, + epoll() for file descriptors (when available). +** The return value of <> handlers has been + changed to <> and <>. + However, the numerical values are equal, so old code should keep working. +** *Incompatible:* The global variables `main_now`, `main_now_seconds`, + and `main_idle_time` are no longer available. They have become fields + in the `main_context` structure, which can be accessed either directly + or via helper functions like <>. +** *Incompatible:* The interface for asynchronous reading and writing + (file_read() and friends) has been separated from the core of the main loop. + Use <> and related functions instead. +** *Incompatible:* file_close_all() is gone. You have to call <> + or <> to clean up properly after fork(). +** Added support for <>. +** Added relative timers: <>. +** Modification of events from a running event handler should be always safe. + +* Added a growing array module `gary.h`, similar to `gbuf.h`, but with + a much more convenient interface. + +* The <> can recognize unlinked nodes, + see <>. + +* Added `strtonum.h` -- a module for precise parsing of numbers. + +* When compiled by a recent enough GCC, `__thread` is used for thread-local variables, + which is more efficient than the POSIX per-thread storage. +** *Incompatible:* `ucwlib_context->thread_id` is no longer available directly, + please use ucwlib_thread_id() instead. + +* `UCW::Configure` supports running of test programs. + + +4.0 (2009-04-13) +---------------- +This was the first stand-alone release of LibUCW. Before that, LibUCW was developed +as a part of the http://www.ucw.cz/holmes/[Sherlock Holmes project]. -- 2.39.2