]> mj.ucw.cz Git - libucw.git/log
libucw.git
15 years agoMerge branch 'v3.12.4'
Pavel Charvat [Tue, 27 Jan 2009 23:48:36 +0000 (00:48 +0100)]
Merge branch 'v3.12.4'

Conflicts:

centrum/cz/cf/watson
centrum/cz/doc/provoz.wiki
lib/Makefile
search/refs.c
ucw/default.cfg
ucw/perl/UCW/Configure/C.pm

15 years agoMoved setting of CONFIG_DIR to defaults.cfg.
Martin Mares [Sun, 25 Jan 2009 15:57:04 +0000 (16:57 +0100)]
Moved setting of CONFIG_DIR to defaults.cfg.

15 years agoUCW Configure: Evaluate INSTALL_xxx at time of configuration.
Martin Mares [Sun, 25 Jan 2009 15:54:52 +0000 (16:54 +0100)]
UCW Configure: Evaluate INSTALL_xxx at time of configuration.

It is often necessary to substitute the paths to C sources and config
files, so they must be fully expanded and free of constructs specific
for the makefile language.

Also, we need CONFIG_DIR at the time of configuration.

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 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 agoCosmetics.
Martin Mares [Sun, 30 Nov 2008 13:49:04 +0000 (14:49 +0100)]
Cosmetics.

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

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

15 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

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

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

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

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

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

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.