]> mj.ucw.cz Git - libucw.git/log
libucw.git
15 years agoFB_ATOMIC_TRACE no longer exists.
Martin Mares [Thu, 30 Oct 2008 22:41:49 +0000 (23:41 +0100)]
FB_ATOMIC_TRACE no longer exists.

15 years agoDoc: Improved the title page.
Martin Mares [Thu, 30 Oct 2008 22:39:49 +0000 (23:39 +0100)]
Doc: Improved the title page.

15 years agoMerge branch 'dev-free' into dev-lib
Martin Mares [Thu, 30 Oct 2008 22:19:10 +0000 (23:19 +0100)]
Merge branch 'dev-free' into dev-lib

Conflicts:

ucw/doc/Makefile

15 years agoLibUCW: Reverted the config.h hack.
Martin Mares [Thu, 30 Oct 2008 22:07:15 +0000 (23:07 +0100)]
LibUCW: Reverted the config.h hack.

Unfortunately, the public version of config.h prepared in obj/ucw/
gets included by private source files as well, which leads to inclusion
of the public autoconf.h and so to invisibility of private symbols.

15 years agoSplit cf/library to cf/libucw and cf/libsherlock.
Martin Mares [Thu, 30 Oct 2008 21:52:16 +0000 (22:52 +0100)]
Split cf/library to cf/libucw and cf/libsherlock.

Each part is installed together in the respective library's install target.

15 years agoLibUCW: Export version of the libraries as well as of Sherlock.
Martin Mares [Thu, 30 Oct 2008 21:38:08 +0000 (22:38 +0100)]
LibUCW: Export version of the libraries as well as of Sherlock.

15 years agoLibUCW: Entrust generation of ucw/autoconf.h to the configure machinery.
Martin Mares [Thu, 30 Oct 2008 21:33:38 +0000 (22:33 +0100)]
LibUCW: Entrust generation of ucw/autoconf.h to the configure machinery.

This is much nicer than the sed script invoked from ucw/Makefile.

15 years agoConfigure: Enabled strict mode and localized @cpu.
Martin Mares [Thu, 30 Oct 2008 21:28:02 +0000 (22:28 +0100)]
Configure: Enabled strict mode and localized @cpu.

15 years agoConfigure: Replaced debPrint() by DebugDump().
Martin Mares [Thu, 30 Oct 2008 21:27:04 +0000 (22:27 +0100)]
Configure: Replaced debPrint() by DebugDump().

15 years agoConfigure: Fixed a silly typo.
Martin Mares [Thu, 30 Oct 2008 21:26:01 +0000 (22:26 +0100)]
Configure: Fixed a silly typo.

15 years agoConfigure: Introduce AtWrite hooks and handle autoconf.h by them.
Martin Mares [Thu, 30 Oct 2008 21:24:46 +0000 (22:24 +0100)]
Configure: Introduce AtWrite hooks and handle autoconf.h by them.

15 years agoUpdate references to autoconf.cfg.
Martin Mares [Thu, 30 Oct 2008 21:01:12 +0000 (22:01 +0100)]
Update references to autoconf.cfg.

15 years agoConfigure: Added a mechanism for registering post-config hooks.
Martin Mares [Thu, 30 Oct 2008 20:56:54 +0000 (21:56 +0100)]
Configure: Added a mechanism for registering post-config hooks.

15 years agoAdded cpp-parseable version string to autoconf.h.
Martin Mares [Thu, 30 Oct 2008 20:45:06 +0000 (21:45 +0100)]
Added cpp-parseable version string to autoconf.h.

15 years agoFilter config.h and autoconf.h in the public API.
Martin Mares [Thu, 30 Oct 2008 19:48:02 +0000 (20:48 +0100)]
Filter config.h and autoconf.h in the public API.

This tries to avoid leaking private symbols to autoconf.h which is a part
of the public API.

15 years agoTwo more references to CONFIG_PARTMAP_IS_MMAP.
Martin Mares [Thu, 30 Oct 2008 19:20:55 +0000 (20:20 +0100)]
Two more references to CONFIG_PARTMAP_IS_MMAP.

15 years agoMoved *_IS_MMAP to CONFIG_UCW_* namespace.
Martin Mares [Thu, 30 Oct 2008 19:13:31 +0000 (20:13 +0100)]
Moved *_IS_MMAP to CONFIG_UCW_* namespace.

BTW, PARTMAP_IS_MMAP was broken for a long time: the configure script
was setting PARTMAP_IS_MMAP, while partmap.c expected CONFIG_PARTMAP_IS_MMAP.

15 years agoBetter installation of ucw/autoconf.h.
Martin Mares [Thu, 30 Oct 2008 18:48:36 +0000 (19:48 +0100)]
Better installation of ucw/autoconf.h.

The autoconf header should be installed in the install-libucw target,
I do not see any need for handling it separately.

15 years agoRemoved default-install from the generic build system.
Martin Mares [Thu, 30 Oct 2008 18:47:11 +0000 (19:47 +0100)]
Removed default-install from the generic build system.

The default-install target is very specific for Sherlock and nobody
else seems to use build/install. I have therefore moved this target
back to the top-level Makefile as it was when the world was young.

However, if we compile only the libraries (CONFIG_SHERLOCK is unset),
we use the standard install target identical the one in free/libs/Makefile.

15 years agoSlightly better names for configuration modules.
Martin Mares [Thu, 30 Oct 2008 18:11:41 +0000 (19:11 +0100)]
Slightly better names for configuration modules.

15 years agoucw docs: Mainloop
Michal Vaner [Thu, 30 Oct 2008 14:35:21 +0000 (15:35 +0100)]
ucw docs: Mainloop

* May still need an example
* File descriptors need to be described

15 years agoucw docs: Intro in index.html
Michal Vaner [Thu, 30 Oct 2008 13:01:19 +0000 (14:01 +0100)]
ucw docs: Intro in index.html

15 years agoGet rid of the "new" C++ keywords in ucwlib headers.
Pavel Charvat [Thu, 30 Oct 2008 09:33:49 +0000 (10:33 +0100)]
Get rid of the "new" C++ keywords in ucwlib headers.

15 years agoupdate_adler32 -> adler32_update (similar to {md5,sha1}_update)
Pavel Charvat [Thu, 30 Oct 2008 09:20:57 +0000 (10:20 +0100)]
update_adler32 -> adler32_update (similar to {md5,sha1}_update)

15 years agodefault_thread_stack_size -> ucwlib_thread_stack_size
Pavel Charvat [Thu, 30 Oct 2008 09:18:04 +0000 (10:18 +0100)]
default_thread_stack_size -> ucwlib_thread_stack_size

15 years agoidentify_protocol -> url_identify_protocol
Pavel Charvat [Thu, 30 Oct 2008 09:14:30 +0000 (10:14 +0100)]
identify_protocol -> url_identify_protocol

15 years agoAdded missing ifdef guards to ucw/*.h.
Pavel Charvat [Wed, 29 Oct 2008 09:21:49 +0000 (10:21 +0100)]
Added missing ifdef guards to ucw/*.h.

15 years agoJust renamed hash_block()'s `str' parameter to `buf'.
Pavel Charvat [Mon, 27 Oct 2008 10:48:28 +0000 (11:48 +0100)]
Just renamed hash_block()'s `str' parameter to `buf'.

15 years agoFixed few typos.
Pavel Charvat [Mon, 27 Oct 2008 10:44:31 +0000 (11:44 +0100)]
Fixed few typos.

15 years agoFixed a typo in configuration example.
Pavel Charvat [Mon, 27 Oct 2008 10:08:37 +0000 (11:08 +0100)]
Fixed a typo in configuration example.

15 years agoMerge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib
Pavel Charvat [Mon, 27 Oct 2008 10:06:45 +0000 (11:06 +0100)]
Merge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib

15 years agoshort_opts[] should be chars, not bytes
Pavel Charvat [Mon, 27 Oct 2008 10:05:47 +0000 (11:05 +0100)]
short_opts[] should be chars, not bytes

15 years agodoc system: fix "struct name;"
Michal Vaner [Sun, 26 Oct 2008 19:10:21 +0000 (20:10 +0100)]
doc system: fix "struct name;"

It was considered as a variable.

Shortened the code a little bit on the way.

15 years agoImproved the bbcopy()'s documentation once more :)
Pavel Charvat [Sun, 26 Oct 2008 18:03:03 +0000 (19:03 +0100)]
Improved the bbcopy()'s documentation once more :)

15 years agoSlightly simplified bbcopy's documentation.
Pavel Charvat [Sun, 26 Oct 2008 18:00:06 +0000 (19:00 +0100)]
Slightly simplified bbcopy's documentation.

15 years agoDocumented the meaning of ~0U parameter in bbcopy().
Pavel Charvat [Sun, 26 Oct 2008 17:51:56 +0000 (18:51 +0100)]
Documented the meaning of ~0U parameter in bbcopy().

15 years agoucw/semaphore.h doesn't compile with gcc-4.0; the fix is trivial
Robert Spalek [Fri, 24 Oct 2008 07:32:40 +0000 (00:32 -0700)]
ucw/semaphore.h doesn't compile with gcc-4.0; the fix is trivial

15 years agoucw docs: Operation names, link to config
Michal Vaner [Thu, 23 Oct 2008 08:45:13 +0000 (10:45 +0200)]
ucw docs: Operation names, link to config

15 years agoucw docs: fix spacing in config.html
Michal Vaner [Thu, 23 Oct 2008 08:37:28 +0000 (10:37 +0200)]
ucw docs: fix spacing in config.html

15 years agoucw docs: parser units
Michal Vaner [Thu, 23 Oct 2008 08:25:52 +0000 (10:25 +0200)]
ucw docs: parser units

15 years agodocs: anchors in config.txt
Michal Vaner [Thu, 23 Oct 2008 08:22:12 +0000 (10:22 +0200)]
docs: anchors in config.txt

15 years agoucw docs: cf_pool
Michal Vaner [Thu, 23 Oct 2008 08:15:00 +0000 (10:15 +0200)]
ucw docs: cf_pool

15 years agoImplemented mp_restore_fast().
Pavel Charvat [Wed, 22 Oct 2008 12:52:33 +0000 (14:52 +0200)]
Implemented mp_restore_fast().

15 years agoAssert that we called mp_printf_append() on a zero-terminated buffer.
Pavel Charvat [Wed, 22 Oct 2008 12:50:39 +0000 (14:50 +0200)]
Assert that we called mp_printf_append() on a zero-terminated buffer.

15 years agoucw docs: config.h -- journal & sections
Michal Vaner [Wed, 22 Oct 2008 12:43:55 +0000 (14:43 +0200)]
ucw docs: config.h -- journal & sections

15 years agoucw docs: tweaks in conf.html
Michal Vaner [Wed, 22 Oct 2008 12:03:42 +0000 (14:03 +0200)]
ucw docs: tweaks in conf.html

15 years agoucw docs: CF_STRING and CF_LOOKUP types
Michal Vaner [Wed, 22 Oct 2008 11:57:09 +0000 (13:57 +0200)]
ucw docs: CF_STRING and CF_LOOKUP types

15 years agoucw docs: init and commit hooks described in-place
Michal Vaner [Wed, 22 Oct 2008 11:43:54 +0000 (13:43 +0200)]
ucw docs: init and commit hooks described in-place

15 years agoucw docs: multiple configuration items
Michal Vaner [Wed, 22 Oct 2008 11:34:05 +0000 (13:34 +0200)]
ucw docs: multiple configuration items

arrays and lists of configuration items.

15 years agoREADME: Spell API in capitals.
Martin Mares [Tue, 21 Oct 2008 10:51:20 +0000 (12:51 +0200)]
README: Spell API in capitals.

15 years agoREADME: Fixed a typo.
Martin Mares [Tue, 21 Oct 2008 10:50:37 +0000 (12:50 +0200)]
README: Fixed a typo.

15 years agoUCW doc: Fixed a typo.
Martin Mares [Tue, 21 Oct 2008 10:17:04 +0000 (12:17 +0200)]
UCW doc: Fixed a typo.

15 years agoUCW doc: minor fixes to the introduction to config parsing
Martin Mares [Tue, 21 Oct 2008 10:14:04 +0000 (12:14 +0200)]
UCW doc: minor fixes to the introduction to config parsing

15 years agoucw docs: complete conf.h api documentation
Michal Vaner [Mon, 20 Oct 2008 21:39:47 +0000 (23:39 +0200)]
ucw docs: complete conf.h api documentation

The macros for describing configuration structure were not documented
yet.

15 years agoucw docs: complete getopt api docs
Michal Vaner [Mon, 20 Oct 2008 20:34:21 +0000 (22:34 +0200)]
ucw docs: complete getopt api docs

15 years agoDoc. system: Fix one-line structs & enums
Michal Vaner [Mon, 20 Oct 2008 20:28:21 +0000 (22:28 +0200)]
Doc. system: Fix one-line structs & enums

When a struct or enum started and ended on the same line
(eg. struct { som items; }), the extractor did not recognize it as an
end.

15 years agoucw docs: factual error about custom parsers
Michal Vaner [Mon, 20 Oct 2008 19:31:16 +0000 (21:31 +0200)]
ucw docs: factual error about custom parsers

The cf_journal_block is already called when the system calls the user
parser function, no need to call it again.

15 years agoucw docs: tweaks in conf.txt
Michal Vaner [Mon, 20 Oct 2008 19:17:26 +0000 (21:17 +0200)]
ucw docs: tweaks in conf.txt

15 years agoucw docs: Section about advanced uses of config
Michal Vaner [Sat, 18 Oct 2008 19:15:45 +0000 (21:15 +0200)]
ucw docs: Section about advanced uses of config

Describes custom parsers, reloading and hooks. Still some API
documentation needs to be done.

15 years agoNicer variable name
Michal Vaner [Fri, 17 Oct 2008 10:17:13 +0000 (12:17 +0200)]
Nicer variable name

15 years agoPut configuration value to better place
Michal Vaner [Fri, 17 Oct 2008 10:05:59 +0000 (12:05 +0200)]
Put configuration value to better place

15 years agoRemove useless debug print
Michal Vaner [Fri, 17 Oct 2008 09:55:37 +0000 (11:55 +0200)]
Remove useless debug print

15 years agoBetter variable name
Michal Vaner [Fri, 17 Oct 2008 09:46:47 +0000 (11:46 +0200)]
Better variable name

UCW_LOCAL_INCLUDES could be misleading

15 years agoBetter detection of .a/.so
Michal Vaner [Fri, 17 Oct 2008 09:42:05 +0000 (11:42 +0200)]
Better detection of .a/.so

There is a variable for the suffix.

15 years agoFix installation of autoconf.h
Michal Vaner [Thu, 9 Oct 2008 15:18:17 +0000 (17:18 +0200)]
Fix installation of autoconf.h

15 years agoChange configure scripts to modules
Michal Vaner [Wed, 8 Oct 2008 20:49:48 +0000 (22:49 +0200)]
Change configure scripts to modules

15 years agoMove UCW perl modules to their directory
Michal Vaner [Wed, 8 Oct 2008 19:53:47 +0000 (21:53 +0200)]
Move UCW perl modules to their directory

This way they can be found from the source directory (needed for
configure)

15 years agoFree dist: update README
Michal Vaner [Sun, 5 Oct 2008 08:55:17 +0000 (10:55 +0200)]
Free dist: update README

It now mentions new documentation.

15 years agoFree dist.: Update installation documentation
Michal Vaner [Sun, 5 Oct 2008 08:51:22 +0000 (10:51 +0200)]
Free dist.: Update installation documentation

Mention installation of the library

15 years agoCleanup libucw installation
Michal Vaner [Sun, 5 Oct 2008 08:39:23 +0000 (10:39 +0200)]
Cleanup libucw installation

15 years agoInstall libs-only config files
Michal Vaner [Sun, 5 Oct 2008 08:23:44 +0000 (10:23 +0200)]
Install libs-only config files

15 years agoLibimages installs
Michal Vaner [Sun, 5 Oct 2008 08:19:40 +0000 (10:19 +0200)]
Libimages installs

15 years agoLibcharset installs
Michal Vaner [Sun, 5 Oct 2008 08:07:54 +0000 (10:07 +0200)]
Libcharset installs

15 years agolibsh installs
Michal Vaner [Sat, 4 Oct 2008 18:12:19 +0000 (20:12 +0200)]
libsh installs

15 years agoLibucw supports installation
Michal Vaner [Sat, 4 Oct 2008 15:21:35 +0000 (17:21 +0200)]
Libucw supports installation

* Perl modules not installed, what to do with them?
* Need to teach other libraries to install

15 years agoDoc. system: link docs under run directory
Michal Vaner [Sat, 4 Oct 2008 12:48:52 +0000 (14:48 +0200)]
Doc. system: link docs under run directory

They are divided into modules, stored in run/doc/modulename. Only ucw
module exists now.

15 years agoSplit autoconf.cfg
Michal Vaner [Sat, 4 Oct 2008 10:17:36 +0000 (12:17 +0200)]
Split autoconf.cfg

Some programs may want to use the configure & build system from libucw,
but not libucw itself. Splitting it allows such programs not detect
internal libucw thinks like page sizes.

15 years agoFree docs: Removed unneeded deps from install.txt
Michal Vaner [Sun, 14 Sep 2008 09:50:07 +0000 (11:50 +0200)]
Free docs: Removed unneeded deps from install.txt

There were many which are needed only for sherlock, not for libucw or
other libraries alone.

15 years agoFree docs: slight tweaks in configure
Michal Vaner [Sun, 14 Sep 2008 09:40:50 +0000 (11:40 +0200)]
Free docs: slight tweaks in configure

15 years agofree docs: explain where the variables come from
Michal Vaner [Sat, 13 Sep 2008 20:51:18 +0000 (22:51 +0200)]
free docs: explain where the variables come from

The variables in configuration preprocessing (the compile time ones from
configure script)

15 years agoMove hex to debug/
Michal Vaner [Sat, 13 Sep 2008 14:08:35 +0000 (16:08 +0200)]
Move hex to debug/

15 years agoInstallation documentation for libucw
Michal Vaner [Wed, 10 Sep 2008 21:11:52 +0000 (23:11 +0200)]
Installation documentation for libucw

Based on doc/install from sherlock, stripped of irrelevant information.

15 years agolibucw documentation: Fix links
Michal Vaner [Mon, 8 Sep 2008 17:21:31 +0000 (19:21 +0200)]
libucw documentation: Fix links

They are not to anchors, but to files (<<symbol:>>, not <<symbol>>).

15 years agoUpdate the configure documentation
Michal Vaner [Mon, 8 Sep 2008 16:48:21 +0000 (18:48 +0200)]
Update the configure documentation

libucw will be built alone, therefore ucw/doc/configure describes
stand-alone building. Sherlock configure is described in doc/configure.

15 years agolibucw documentation: slight language tweak
Michal Vaner [Mon, 8 Sep 2008 13:27:00 +0000 (15:27 +0200)]
libucw documentation: slight language tweak

15 years agolibucw dist: condition to turn off other libs
Michal Vaner [Mon, 8 Sep 2008 12:53:03 +0000 (14:53 +0200)]
libucw dist: condition to turn off other libs

Compilation of other libraries (libsh, liblang, ...) can be turned off
by CONFIG_UCW_ONLY

15 years agoSome sherlock independent docs put into libucw
Michal Vaner [Sat, 6 Sep 2008 12:37:14 +0000 (14:37 +0200)]
Some sherlock independent docs put into libucw

The originals are kept in place, need to decide what to do with them.

Made translatable by asciidoc

15 years agoucw docs: Mempool examples
Michal Vaner [Tue, 7 Oct 2008 13:34:37 +0000 (15:34 +0200)]
ucw docs: Mempool examples

Added three examples of how a mempool can be used:
* string trie
* rollback an action which may fail
* loading whole stdin

15 years agoDoc. system: fix makefile, docs is phony target
Michal Vaner [Sat, 4 Oct 2008 14:14:55 +0000 (16:14 +0200)]
Doc. system: fix makefile, docs is phony target

15 years agoDoc. system: fix build in libsonly distribution
Michal Vaner [Sat, 4 Oct 2008 13:32:19 +0000 (15:32 +0200)]
Doc. system: fix build in libsonly distribution

For some reason, the DOCDIR variable did not work in runtree generation,
had to move it above it.

15 years agoDoc. system: link docs under run directory
Michal Vaner [Sat, 4 Oct 2008 12:48:52 +0000 (14:48 +0200)]
Doc. system: link docs under run directory

They are divided into modules, stored in run/doc/modulename. Only ucw
module exists now.

15 years agoucw docs: Mempool struct internals are private
Michal Vaner [Fri, 3 Oct 2008 18:15:40 +0000 (20:15 +0200)]
ucw docs: Mempool struct internals are private

Tells the user not to dig inside.

15 years agoucw docs: fix language error
Michal Vaner [Fri, 3 Oct 2008 18:07:31 +0000 (20:07 +0200)]
ucw docs: fix language error

Formatted has two "t"s.

15 years agoucw docs: fix language error
Michal Vaner [Fri, 3 Oct 2008 18:04:56 +0000 (20:04 +0200)]
ucw docs: fix language error

Monospace, not monoscope

15 years agoRenamed cf_write_item() to cf_modify_item().
Martin Mares [Thu, 2 Oct 2008 14:30:38 +0000 (16:30 +0200)]
Renamed cf_write_item() to cf_modify_item().

The old name was somewhat counter-intuitive.

15 years agoMore play: Added indirect heapsort.
Martin Mares [Wed, 1 Oct 2008 18:05:55 +0000 (20:05 +0200)]
More play: Added indirect heapsort.

15 years agoJust for fun: Added heapsort to the sorting benchmark.
Martin Mares [Wed, 1 Oct 2008 17:51:16 +0000 (19:51 +0200)]
Just for fun: Added heapsort to the sorting benchmark.

15 years agoForgot to adapt retros.c to the new MD5 interface.
Martin Mares [Wed, 1 Oct 2008 17:45:21 +0000 (19:45 +0200)]
Forgot to adapt retros.c to the new MD5 interface.

15 years agoFix the fix of compilation
Michal Vaner [Wed, 1 Oct 2008 11:25:03 +0000 (13:25 +0200)]
Fix the fix of compilation

The LIKE_MALLOC flag should not be in the middle of return type.

15 years agoFix compilation after writing docs
Michal Vaner [Wed, 1 Oct 2008 08:25:39 +0000 (10:25 +0200)]
Fix compilation after writing docs