]> mj.ucw.cz Git - libucw.git/log
libucw.git
15 years agoDocumented chartype.h and unicode.h.
Pavel Charvat [Thu, 6 Nov 2008 16:26:41 +0000 (17:26 +0100)]
Documented chartype.h and unicode.h.
The Cxvalue macro converted to a function.

15 years agoDoc: More bits about linked lists.
Pavel Charvat [Thu, 6 Nov 2008 14:44:30 +0000 (15:44 +0100)]
Doc: More bits about linked lists.

15 years agoDoc: Fixed a typo.
Pavel Charvat [Thu, 6 Nov 2008 14:03:16 +0000 (15:03 +0100)]
Doc: Fixed a typo.

15 years agoucw docs: forgotten links in index
Michal Vaner [Thu, 6 Nov 2008 13:52:05 +0000 (14:52 +0100)]
ucw docs: forgotten links in index

The links to growing buffers were missing.

15 years agoMerge branch 'dev-lib' of git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into...
Pavel Charvat [Thu, 6 Nov 2008 13:36:58 +0000 (14:36 +0100)]
Merge branch 'dev-lib' of git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib

15 years agoDoc: Partially documented linked lists.
Pavel Charvat [Thu, 6 Nov 2008 13:36:36 +0000 (14:36 +0100)]
Doc: Partially documented linked lists.

15 years agoFix installation of config files
Michal Vaner [Thu, 6 Nov 2008 13:23:17 +0000 (14:23 +0100)]
Fix installation of config files

Transition to etc/ broke some rules with hardcoded cf.

15 years agoDoc: Documented ucw/unaligned.h.
Pavel Charvat [Thu, 6 Nov 2008 12:03:45 +0000 (13:03 +0100)]
Doc: Documented ucw/unaligned.h.

15 years agoDoc: Fixed a typo.
Pavel Charvat [Thu, 6 Nov 2008 12:03:36 +0000 (13:03 +0100)]
Doc: Fixed a typo.

15 years agoDoc: Cosmetic fixes.
Martin Mares [Thu, 6 Nov 2008 10:46:17 +0000 (11:46 +0100)]
Doc: Cosmetic fixes.

15 years agoDoc: Described ff-binary.
Pavel Charvat [Thu, 6 Nov 2008 10:03:41 +0000 (11:03 +0100)]
Doc: Described ff-binary.

15 years agoDoc: Described the interface for direct I/O on fastbufs.
Pavel Charvat [Thu, 6 Nov 2008 09:37:27 +0000 (10:37 +0100)]
Doc: Described the interface for direct I/O on fastbufs.

15 years agoMerge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib
Michal Vaner [Tue, 4 Nov 2008 21:48:35 +0000 (22:48 +0100)]
Merge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib

15 years agoucw docs: growing buffers
Michal Vaner [Tue, 4 Nov 2008 21:46:56 +0000 (22:46 +0100)]
ucw docs: growing buffers

15 years agoDoc system: docs for macro generics extraction
Michal Vaner [Tue, 4 Nov 2008 21:45:48 +0000 (22:45 +0100)]
Doc system: docs for macro generics extraction

15 years agoConfigure: Prepare for installation of Configure modules.
Martin Mares [Tue, 4 Nov 2008 18:12:20 +0000 (19:12 +0100)]
Configure: Prepare for installation of Configure modules.

So far, they are installed only to the run/lib/perl5/
hierarchy, since we do not have targets for site-wide
installation of Perl modules yet.

15 years agoDoc. system: support for macro generics
Michal Vaner [Tue, 4 Nov 2008 18:11:41 +0000 (19:11 +0100)]
Doc. system: support for macro generics

The documentation system handles generics generated by preprocessor. It
needs some help from the documentation writer, thought.

15 years agoDoc: Improved fastbuf documentation.
Martin Mares [Tue, 4 Nov 2008 13:26:33 +0000 (14:26 +0100)]
Doc: Improved fastbuf documentation.

15 years agoDocumented some details about fastbufs.
Pavel Charvat [Tue, 4 Nov 2008 12:03:12 +0000 (13:03 +0100)]
Documented some details about fastbufs.
Something is not true now, but it sould be after we merge dev-lib with dev-trans.

15 years agoConfigure: Moved interaction with pkg-config to a separate module (continued).
Martin Mares [Mon, 3 Nov 2008 22:48:38 +0000 (23:48 +0100)]
Configure: Moved interaction with pkg-config to a separate module (continued).

Sorry, I have commited only a half of the change.

15 years agoConfigure: Moved interaction with pkg-config to a separate module.
Martin Mares [Mon, 3 Nov 2008 22:48:04 +0000 (23:48 +0100)]
Configure: Moved interaction with pkg-config to a separate module.

15 years agoBuild system: By default, we use `etc' instead of `cf' as a CONFIG_DIR.
Martin Mares [Mon, 3 Nov 2008 22:42:38 +0000 (23:42 +0100)]
Build system: By default, we use `etc' instead of `cf' as a CONFIG_DIR.

Sherlock however overrides this back to `cf' for backward compatibility.

15 years agoSimplified calls of sorter/array-simple.h.
Martin Mares [Mon, 3 Nov 2008 22:39:46 +0000 (23:39 +0100)]
Simplified calls of sorter/array-simple.h.

Use the two-argument form instead of ASORT_EXTRA_ARGS where
convenient.

15 years agoBring interface of sorter/array-simple.h in line with sorter/array.h.
Martin Mares [Mon, 3 Nov 2008 22:39:03 +0000 (23:39 +0100)]
Bring interface of sorter/array-simple.h in line with sorter/array.h.

ASORT_ELT is no longer mandatory; if it is not used, the sorting function
gets a pointer of an array to be sorted as its first argument.

15 years agoAnother reference to arraysort.
Martin Mares [Mon, 3 Nov 2008 22:27:19 +0000 (23:27 +0100)]
Another reference to arraysort.

15 years agoRemoved the reference to arraysort in the doc.
Martin Mares [Mon, 3 Nov 2008 22:27:06 +0000 (23:27 +0100)]
Removed the reference to arraysort in the doc.

15 years agoUpdate all calls to arraysort.h.
Martin Mares [Mon, 3 Nov 2008 22:25:35 +0000 (23:25 +0100)]
Update all calls to arraysort.h.

15 years agoMoved ucw/arraysort.h to ucw/sorter/array-simple.h.
Martin Mares [Mon, 3 Nov 2008 22:24:59 +0000 (23:24 +0100)]
Moved ucw/arraysort.h to ucw/sorter/array-simple.h.

15 years agoUse .gitignore instead of hand-installing build/git/exclude.
Martin Mares [Mon, 3 Nov 2008 22:11:24 +0000 (23:11 +0100)]
Use .gitignore instead of hand-installing build/git/exclude.

15 years agoConfigure: Some versions of asciidoc print the version number to stderr.
Martin Mares [Mon, 3 Nov 2008 18:10:32 +0000 (19:10 +0100)]
Configure: Some versions of asciidoc print the version number to stderr.

15 years agoucw docs: make the language more English
Michal Vaner [Mon, 3 Nov 2008 14:08:46 +0000 (15:08 +0100)]
ucw docs: make the language more English

15 years agoucw docs: Generic headers
Michal Vaner [Sun, 2 Nov 2008 13:48:38 +0000 (14:48 +0100)]
ucw docs: Generic headers

15 years agoucw docs: File activity in mainloop
Michal Vaner [Sun, 2 Nov 2008 11:28:45 +0000 (12:28 +0100)]
ucw docs: File activity in mainloop

15 years agoDoc system: Check for asciidoc only when needed
Michal Vaner [Fri, 31 Oct 2008 19:31:14 +0000 (20:31 +0100)]
Doc system: Check for asciidoc only when needed

15 years agoDoc system: Typos
Michal Vaner [Fri, 31 Oct 2008 18:53:05 +0000 (19:53 +0100)]
Doc system: Typos

15 years agoBuild system: Do not clean obj/ucw/autoconf.h
Michal Vaner [Fri, 31 Oct 2008 15:27:24 +0000 (16:27 +0100)]
Build system: Do not clean obj/ucw/autoconf.h

It is generated by configure, it should survive make clean.

15 years agoFree dist: fix installation of lib-only package
Michal Vaner [Fri, 31 Oct 2008 15:13:29 +0000 (16:13 +0100)]
Free dist: fix installation of lib-only package

15 years agoDoc system: Detect asciidoc
Michal Vaner [Fri, 31 Oct 2008 14:57:21 +0000 (15:57 +0100)]
Doc system: Detect asciidoc

And decide if we build documentation.

15 years agoDoc system: install if CONFIG_DOC
Michal Vaner [Fri, 31 Oct 2008 14:19:23 +0000 (15:19 +0100)]
Doc system: install if CONFIG_DOC

If the documentation is included in default target, install it too. If
it is not, allow installation with make install-ucw-docs.

15 years agoDoc system: Allow building in default target
Michal Vaner [Fri, 31 Oct 2008 13:57:01 +0000 (14:57 +0100)]
Doc system: Allow building in default target

If CONFIG_DOC is turned on, documentation is build with everything else,
in default target.

15 years agoucw docs: Group undocumented modules together
Michal Vaner [Fri, 31 Oct 2008 12:56:59 +0000 (13:56 +0100)]
ucw docs: Group undocumented modules together

15 years agoucw docs: Move the list of undocumented modules
Michal Vaner [Thu, 30 Oct 2008 23:45:06 +0000 (00:45 +0100)]
ucw docs: Move the list of undocumented modules

The list was too long and carried too little information, moved it
lower.

15 years agoucw docs: Add missing documentation to index
Michal Vaner [Thu, 30 Oct 2008 23:42:49 +0000 (00:42 +0100)]
ucw docs: Add missing documentation to index

The configure and config files were created in different branch than the
index, added them.

15 years agoMerge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib
Michal Vaner [Thu, 30 Oct 2008 23:39:28 +0000 (00:39 +0100)]
Merge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib

15 years agoucw docs: List of undocumented modules
Michal Vaner [Thu, 30 Oct 2008 23:38:43 +0000 (00:38 +0100)]
ucw docs: List of undocumented modules

Only first shot, still needs some sorting

15 years agoFixed more tests which failed with shared libraries.
Martin Mares [Thu, 30 Oct 2008 23:13:04 +0000 (00:13 +0100)]
Fixed more tests which failed with shared libraries.

15 years agoMerge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib
Martin Mares [Thu, 30 Oct 2008 23:01:00 +0000 (00:01 +0100)]
Merge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib

15 years agoDoc: Improved mainloop intro and also the description of timers.
Martin Mares [Thu, 30 Oct 2008 23:00:56 +0000 (00:00 +0100)]
Doc: Improved mainloop intro and also the description of timers.

15 years agoFixed fb-atomic.test.
Martin Mares [Thu, 30 Oct 2008 22:43:28 +0000 (23:43 +0100)]
Fixed fb-atomic.test.

The test was failing whenever CONFIG_SHARED was set, because in such cases the
config file constructor was called twice and the config machinery died of
duplicate sections.

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.