]> mj.ucw.cz Git - libucw.git/log
libucw.git
15 years agoclists: improve doc.
Martin Mares [Sun, 25 Jan 2009 13:08:03 +0000 (14:08 +0100)]
clists: improve doc.

15 years agoSHA1: Added stream interface for the HMAC, too.
Martin Mares [Sun, 25 Jan 2009 12:55:14 +0000 (13:55 +0100)]
SHA1: Added stream interface for the HMAC, too.

15 years agoucw docs: language tweak
Michal Vaner [Fri, 16 Jan 2009 12:00:00 +0000 (13:00 +0100)]
ucw docs: language tweak

15 years agoucw docs: hashtables
Michal Vaner [Sun, 11 Jan 2009 21:53:05 +0000 (22:53 +0100)]
ucw docs: hashtables

15 years agoRename CONFIG_LANG to CONFIG_LIBLANG
Michal Vaner [Tue, 16 Dec 2008 13:39:51 +0000 (14:39 +0100)]
Rename CONFIG_LANG to CONFIG_LIBLANG

The switch used to enable compilation of liblang was colliding with one
of older switches to enable some of its functionality.

15 years agoFix config directory names in build system
Michal Vaner [Tue, 16 Dec 2008 13:53:49 +0000 (14:53 +0100)]
Fix config directory names in build system

The destination directory does not have to have the same name as the
source one and the source one does not have to be 'cf' all the time (in
the libsonly package, it isn't).

15 years agoucw docs: external sorter
Michal Vaner [Sun, 14 Dec 2008 16:11:23 +0000 (17:11 +0100)]
ucw docs: external sorter

15 years agoucw docs: Array sorter
Michal Vaner [Sun, 14 Dec 2008 13:29:29 +0000 (14:29 +0100)]
ucw docs: Array sorter

15 years agoucw docs: Simple array sorter
Michal Vaner [Sun, 14 Dec 2008 10:17:28 +0000 (11:17 +0100)]
ucw docs: Simple array sorter

15 years agoLibucw: Implemented HEAP_DECREASE. Fixed description of HEAP_INSERT.
Pavel Charvat [Wed, 10 Dec 2008 12:09:51 +0000 (13:09 +0100)]
Libucw: Implemented HEAP_DECREASE. Fixed description of HEAP_INSERT.

15 years agoFixed a bug in mp_printf_append(). Thanks to Dan.
Pavel Charvat [Tue, 2 Dec 2008 11:50:59 +0000 (12:50 +0100)]
Fixed a bug in mp_printf_append(). Thanks to Dan.

15 years agoRemove left-over NOP code
Michal Vaner [Sun, 30 Nov 2008 16:45:57 +0000 (17:45 +0100)]
Remove left-over NOP code

15 years agoBetter error message for missing fb-direct
Michal Vaner [Sun, 30 Nov 2008 16:08:13 +0000 (17:08 +0100)]
Better error message for missing fb-direct

Tells how it got disabled.

15 years agoBetter names for direct IO switches
Michal Vaner [Sun, 30 Nov 2008 16:00:29 +0000 (17:00 +0100)]
Better names for direct IO switches

CONFIG_DIRECT_IO to allow/disallow use of direct IO. Auto-disabled on
darwin.

CONFIG_UCW_FB_DIRECT to include/exclude fb-direct. Available only with
CONFIG_DIRECT_IO and CONFIG_UCW_THREADS.

15 years agoDebug utilities have O_DIRECT hardcoded manually
Michal Vaner [Sun, 30 Nov 2008 14:55:22 +0000 (15:55 +0100)]
Debug utilities have O_DIRECT hardcoded manually

15 years agoCosmetics.
Martin Mares [Sun, 30 Nov 2008 13:49:04 +0000 (14:49 +0100)]
Cosmetics.

15 years agoHandle when O_DIRECT is not available
Michal Vaner [Sun, 30 Nov 2008 13:10:41 +0000 (14:10 +0100)]
Handle when O_DIRECT is not available

15 years agoExport fb-direct functions only when turned on
Michal Vaner [Sun, 30 Nov 2008 13:08:06 +0000 (14:08 +0100)]
Export fb-direct functions only when turned on

15 years agoTurn off CONFIG_DIRECT when needed
Michal Vaner [Sun, 30 Nov 2008 12:30:47 +0000 (13:30 +0100)]
Turn off CONFIG_DIRECT when needed

15 years agoAdded switch CONFIG_DIRECT
Michal Vaner [Sun, 30 Nov 2008 11:30:08 +0000 (12:30 +0100)]
Added switch CONFIG_DIRECT

Turns on and off if fb-direct is compiled.

15 years agoDoc. system: remove doc. symlinks upon clean
Michal Vaner [Sun, 30 Nov 2008 11:24:52 +0000 (12:24 +0100)]
Doc. system: remove doc. symlinks upon clean

15 years agoRevert "Fail when O_DIRECT requested on Darwin"
Michal Vaner [Sun, 30 Nov 2008 10:34:10 +0000 (11:34 +0100)]
Revert "Fail when O_DIRECT requested on Darwin"

This reverts commit 484b0b2bba9332f2a186d05222b03d013cb0630a.

It made no sense.

15 years agofix installer on Darwin
Robert Spalek [Sat, 29 Nov 2008 01:10:03 +0000 (17:10 -0800)]
fix installer on Darwin

cp doesn't support -a, so I've expanded it in terms of its equivalent
parameters.  sorry for all these obstructions...

15 years agofix building shared libraries on Darwin
Robert Spalek [Sat, 29 Nov 2008 01:06:58 +0000 (17:06 -0800)]
fix building shared libraries on Darwin

this is a bit of a hack, but it shouldn't have any influence on Linux

15 years agoFail when O_DIRECT requested on Darwin
Michal Vaner [Fri, 28 Nov 2008 13:13:24 +0000 (14:13 +0100)]
Fail when O_DIRECT requested on Darwin

Darwin does not support direct IO.

15 years agomake Sherlock compilable on Darwin without hacks due to missing direct IO
Robert Spalek [Thu, 27 Nov 2008 15:51:41 +0000 (07:51 -0800)]
make Sherlock compilable on Darwin without hacks due to missing direct IO

I define O_DIRECT flag to be 0 on Darwin, hence enabling direct IO will
have no effect.  This ignoring will be silent.  A clean solution (with
failure when enabled by the user) would be much more complicated and I just
wanna make Sherlock compilable on Darwin for desktop/debugging usage.

15 years agoRemove the random text that got somehow inside
Michal Vaner [Fri, 28 Nov 2008 12:29:25 +0000 (13:29 +0100)]
Remove the random text that got somehow inside

15 years agoucw docs: lizard_decompress_save update
Michal Vaner [Fri, 28 Nov 2008 12:21:19 +0000 (13:21 +0100)]
ucw docs: lizard_decompress_save update

Describes more clearly, why it exists and that it is not reentrant.

15 years agoclean up linking -lpcre to libucw
Robert Spalek [Thu, 27 Nov 2008 17:58:10 +0000 (09:58 -0800)]
clean up linking -lpcre to libucw

15 years agofixing my previous patch according to MJ's comments
Robert Spalek [Thu, 27 Nov 2008 16:37:06 +0000 (08:37 -0800)]
fixing my previous patch according to MJ's comments

15 years agomake regex and asciidoc work on Darwin without hacking
Robert Spalek [Thu, 27 Nov 2008 16:24:52 +0000 (08:24 -0800)]
make regex and asciidoc work on Darwin without hacking

- use $(PREFIX) when accessing files in /etc/asciidoc/...
  on Darwin, we use /sw
- remove obsolete reference to internal regex library
- configure script makes sure the BSD library isn't used on Darwin due to
  incompatibility
- document dependency on asciidoc

15 years agoucw docs: The lizard compression algorithm
Michal Vaner [Thu, 27 Nov 2008 16:19:17 +0000 (17:19 +0100)]
ucw docs: The lizard compression algorithm

15 years agomake Sherlock compilable on Darwin without hacks due to missing direct IO
Robert Spalek [Thu, 27 Nov 2008 15:51:41 +0000 (07:51 -0800)]
make Sherlock compilable on Darwin without hacks due to missing direct IO

I define O_DIRECT flag to be 0 on Darwin, hence enabling direct IO will
have no effect.  This ignoring will be silent.  A clean solution (with
failure when enabled by the user) would be much more complicated and I just
wanna make Sherlock compilable on Darwin for desktop/debugging usage.

15 years agoallow libucw to depend on other libraries
Robert Spalek [Thu, 27 Nov 2008 15:39:50 +0000 (07:39 -0800)]
allow libucw to depend on other libraries

I need it when CONFIG_PCRE is enabled.  After the internal copy of a
reliable regexp library has been deleted from Sherlock source codes, I
cannot compile Sherlock on Darwin with the default libraries.  Therefore I
have installed pcre, but it isn't automatically linked to everything yet.

15 years agoMerge branch 'dev-lib'
Martin Mares [Mon, 24 Nov 2008 09:19:03 +0000 (10:19 +0100)]
Merge branch 'dev-lib'

15 years agoFix comments
Michal Vaner [Mon, 24 Nov 2008 09:03:56 +0000 (10:03 +0100)]
Fix comments

15 years agoAnother attempt to do the fix right
Michal Vaner [Sun, 23 Nov 2008 20:14:53 +0000 (21:14 +0100)]
Another attempt to do the fix right

15 years agoOptions to include separate libraries in build
Michal Vaner [Sun, 23 Nov 2008 16:31:50 +0000 (17:31 +0100)]
Options to include separate libraries in build

Added new options CONFIG_CHARSET and CONFIG_SHERLOCK_LIB to makefiles &
configure. CONFIG_UCW_ONLY now works only as a shortcut for excluding
all other libraries.

Updated libs-only distribution and libsonly custom to use these
switches.

15 years agoMake the tests work with CONFIG_UCW_ONLY
Michal Vaner [Sun, 23 Nov 2008 13:28:17 +0000 (14:28 +0100)]
Make the tests work with CONFIG_UCW_ONLY

15 years agoFix kmp-test in libs-only distribution
Michal Vaner [Sun, 23 Nov 2008 13:15:47 +0000 (14:15 +0100)]
Fix kmp-test in libs-only distribution

15 years agoFix tests in libs-only distribution
Michal Vaner [Sun, 23 Nov 2008 09:46:57 +0000 (10:46 +0100)]
Fix tests in libs-only distribution

15 years agoAdded an ability to build static position-independent version of libucw.
Martin Mares [Fri, 21 Nov 2008 19:54:00 +0000 (20:54 +0100)]
Added an ability to build static position-independent version of libucw.

This is useful when you want to link libucw statically to a shared
library.

15 years agoReleasing the v3.99.1 library packages.
Martin Mares [Fri, 21 Nov 2008 19:50:17 +0000 (20:50 +0100)]
Releasing the v3.99.1 library packages.

15 years agoUse CONFIG_DIR in the source tree, too.
Martin Mares [Fri, 21 Nov 2008 19:30:04 +0000 (20:30 +0100)]
Use CONFIG_DIR in the source tree, too.

This breaks the stand-alone libucw, but I will fix it in a moment.

15 years agoShared library building features from Ego.
Martin Mares [Fri, 21 Nov 2008 19:24:53 +0000 (20:24 +0100)]
Shared library building features from Ego.

(1) SO_RUNDIR can be used to choose the place in the run tree where
    the .so should be installed.
(2) lib-flags is used, so shared libs can directly depend on other shared
    libs if needed. (This is useful for building shared libs that do not
    use pkgconfig themselves -- e.g., Perl/Python modules.)

15 years agoDo not delete things named `core'.
Martin Mares [Fri, 21 Nov 2008 19:13:01 +0000 (20:13 +0100)]
Do not delete things named `core'.

For example, they might be Python modules :)

15 years agoMention other libraries in libucw webpage
Michal Vaner [Tue, 18 Nov 2008 14:52:13 +0000 (15:52 +0100)]
Mention other libraries in libucw webpage

15 years agoFix DTD in libucw page
Michal Vaner [Mon, 17 Nov 2008 15:21:47 +0000 (16:21 +0100)]
Fix DTD in libucw page

15 years agoLibucw logo
Michal Vaner [Mon, 17 Nov 2008 15:00:35 +0000 (16:00 +0100)]
Libucw logo

The web contains rendered png version, since it is nightmare to force a
browser to resize a svg image. One could think it should be the other way
around...

15 years agoWeb pages for libucw
Michal Vaner [Mon, 17 Nov 2008 12:25:11 +0000 (13:25 +0100)]
Web pages for libucw

15 years agoSorry, the original description of API docs was correct.
Martin Mares [Sun, 16 Nov 2008 20:48:41 +0000 (21:48 +0100)]
Sorry, the original description of API docs was correct.

15 years agoAdded building of a separate libucw package.
Martin Mares [Sun, 16 Nov 2008 20:36:02 +0000 (21:36 +0100)]
Added building of a separate libucw package.

15 years agoConfigure: merged recognition of Nocona CPU's from master.
Martin Mares [Sun, 16 Nov 2008 19:41:39 +0000 (20:41 +0100)]
Configure: merged recognition of Nocona CPU's from master.

15 years agoMerge branch 'master' into dev-lib
Martin Mares [Sun, 16 Nov 2008 19:36:39 +0000 (20:36 +0100)]
Merge branch 'master' into dev-lib

Conflicts:

lib/autoconf.cfg

Will solve manually in a moment.

15 years agoDecided to update version to 4.0, so the beta will be 3.99.
Martin Mares [Sun, 16 Nov 2008 19:33:01 +0000 (20:33 +0100)]
Decided to update version to 4.0, so the beta will be 3.99.

15 years agoFixed a typo in name of one unused inline function.
Pavel Charvat [Thu, 13 Nov 2008 15:11:26 +0000 (16:11 +0100)]
Fixed a typo in name of one unused inline function.

15 years agoDoc: Small fix in fastbufs' doc.
Pavel Charvat [Thu, 13 Nov 2008 10:15:01 +0000 (11:15 +0100)]
Doc: Small fix in fastbufs' doc.

15 years agoDoc: Updated the rules for fastbuf back-ends.
Pavel Charvat [Thu, 13 Nov 2008 10:11:35 +0000 (11:11 +0100)]
Doc: Updated the rules for fastbuf back-ends.

15 years agoDoc: Fixed one reference in binomial heaps.
Pavel Charvat [Wed, 12 Nov 2008 16:20:34 +0000 (17:20 +0100)]
Doc: Fixed one reference in binomial heaps.

15 years agoDoc: Referenced binomial heaps from the list of code generators.
Pavel Charvat [Wed, 12 Nov 2008 16:16:36 +0000 (17:16 +0100)]
Doc: Referenced binomial heaps from the list of code generators.

15 years agoMerge branch 'dev-lib' of git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into...
Pavel Charvat [Wed, 12 Nov 2008 16:14:12 +0000 (17:14 +0100)]
Merge branch 'dev-lib' of git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib

15 years agoDoc:
Pavel Charvat [Wed, 12 Nov 2008 16:12:19 +0000 (17:12 +0100)]
Doc:
* Documented binary heaps.
* Documented binomial heaps (missing example).
* Some fixes.

15 years agoMempools: Do not use the void* arithtmetics (GNU extention) in mempool.h.
Pavel Charvat [Tue, 11 Nov 2008 11:37:19 +0000 (12:37 +0100)]
Mempools: Do not use the void* arithtmetics (GNU extention) in mempool.h.

15 years agoDoc: Described binsearch.h.
Pavel Charvat [Mon, 10 Nov 2008 14:48:24 +0000 (15:48 +0100)]
Doc: Described binsearch.h.

15 years agoDoc: Described prime.h.
Pavel Charvat [Mon, 10 Nov 2008 13:12:46 +0000 (14:12 +0100)]
Doc: Described prime.h.

15 years agoDoc: Noted that macro parameters in chartype.h are allowed to have side-effects.
Pavel Charvat [Mon, 10 Nov 2008 12:22:52 +0000 (13:22 +0100)]
Doc: Noted that macro parameters in chartype.h are allowed to have side-effects.

15 years agoDoc: Removed eltpools from the list of undocumented components.
Pavel Charvat [Mon, 10 Nov 2008 12:20:58 +0000 (13:20 +0100)]
Doc: Removed eltpools from the list of undocumented components.

15 years agoDoc: Fixed some typos in mempool's examples.
Pavel Charvat [Mon, 10 Nov 2008 12:20:06 +0000 (13:20 +0100)]
Doc: Fixed some typos in mempool's examples.

15 years agoDoc: Briefly documented eltpools.
Pavel Charvat [Mon, 10 Nov 2008 12:19:12 +0000 (13:19 +0100)]
Doc: Briefly documented eltpools.

15 years agoBuild: The target `tests' is phony.
Martin Mares [Sun, 9 Nov 2008 22:09:19 +0000 (23:09 +0100)]
Build: The target `tests' is phony.

Otherwise, the tests refuse to run when `check-customs' is started,
because it created a directory called `tests' :)

15 years agoConfigure: A better test for architecture type.
Martin Mares [Sun, 9 Nov 2008 21:41:09 +0000 (22:41 +0100)]
Configure: A better test for architecture type.

We have to ask GCC for the target architecture, because it may
differ from what uname tells us. This can happen even if we are
not cross-compiling, for example on Linux with amd64 kernel, but
i386 userspace.

15 years agoConfigure: Polishing.
Martin Mares [Sun, 9 Nov 2008 21:30:19 +0000 (22:30 +0100)]
Configure: Polishing.

15 years agoConfigure: Use `die "...\n"' for all error messages.
Martin Mares [Sun, 9 Nov 2008 21:12:59 +0000 (22:12 +0100)]
Configure: Use `die "...\n"' for all error messages.

This way, Perl does not clutter the output with the location of the
error in the source file, which is usually completely useless.

15 years agoExample: Fix the previous commit.
Martin Mares [Sun, 9 Nov 2008 21:11:23 +0000 (22:11 +0100)]
Example: Fix the previous commit.

(pkg-config does not like testing the version and reading a variable simultaneously.)

15 years agoExample: Request a new version of libucw.
Martin Mares [Sun, 9 Nov 2008 21:07:30 +0000 (22:07 +0100)]
Example: Request a new version of libucw.

15 years agoBuild example: Word polishing.
Martin Mares [Sun, 9 Nov 2008 20:56:11 +0000 (21:56 +0100)]
Build example: Word polishing.

15 years agoBuild: Renamed BUILDSYS_PATH to BUILDSYS to make it consistent with the rest.
Martin Mares [Sun, 9 Nov 2008 20:47:23 +0000 (21:47 +0100)]
Build: Renamed BUILDSYS_PATH to BUILDSYS to make it consistent with the rest.

15 years agoExample of extern project
Michal Vaner [Sun, 9 Nov 2008 18:24:09 +0000 (19:24 +0100)]
Example of extern project

A project that does not carry libucw with itself, not even it's build
system, but uses its build system installed locally.

15 years agoConfigure module to find the build system
Michal Vaner [Sun, 9 Nov 2008 18:05:42 +0000 (19:05 +0100)]
Configure module to find the build system

15 years agoAllow the build system live anywhere
Michal Vaner [Sun, 9 Nov 2008 15:46:28 +0000 (16:46 +0100)]
Allow the build system live anywhere

15 years agoProvide path to the build system
Michal Vaner [Sun, 9 Nov 2008 14:02:16 +0000 (15:02 +0100)]
Provide path to the build system

15 years agoInstall the build system
Michal Vaner [Sun, 9 Nov 2008 15:08:46 +0000 (16:08 +0100)]
Install the build system

15 years agoInstall rest of UCW perl modules
Michal Vaner [Sun, 9 Nov 2008 10:08:08 +0000 (11:08 +0100)]
Install rest of UCW perl modules

16 years agoInstall UCW perl modules
Michal Vaner [Sat, 8 Nov 2008 12:35:10 +0000 (13:35 +0100)]
Install UCW perl modules

Other modules, like Ulimits, needs installation routines.

16 years agoStore path to perl modules into pkgconfig
Michal Vaner [Fri, 7 Nov 2008 14:18:11 +0000 (15:18 +0100)]
Store path to perl modules into pkgconfig

16 years agoSet CONFIG_URL_ESCAPE_COMPAT flag
Michal Vaner [Fri, 7 Nov 2008 14:00:35 +0000 (15:00 +0100)]
Set CONFIG_URL_ESCAPE_COMPAT flag

It is set when we compile sherlock, since the new behaviour would break
a running installation. It is not set when only the libraries are
compiled.

16 years agoAdd flag to use old URL encoding
Michal Vaner [Fri, 7 Nov 2008 13:33:59 +0000 (14:33 +0100)]
Add flag to use old URL encoding

The new encoding is not compatible with already running sherlock
installation. Adds a CONFIG_URL_ESCAPE_COMPAT compile switch to keep the
old behaviour.

16 years agoDoc. system: parse complicated structures
Michal Vaner [Thu, 6 Nov 2008 22:53:22 +0000 (23:53 +0100)]
Doc. system: parse complicated structures

It stopped on the first }, now they are counted properly.

16 years agoSimplified 'unsigned char' -> 'byte'.
Pavel Charvat [Thu, 6 Nov 2008 16:39:04 +0000 (17:39 +0100)]
Simplified 'unsigned char' -> 'byte'.

16 years agoDoc: Fixed a typo.
Pavel Charvat [Thu, 6 Nov 2008 16:37:30 +0000 (17:37 +0100)]
Doc: Fixed a typo.

16 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.

16 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.

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

16 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.

16 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

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

16 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.

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

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

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