]>
mj.ucw.cz Git - libucw.git/log
Robert Spalek [Wed, 4 Feb 2009 05:09:27 +0000 (21:09 -0800)]
fix partmap_load() on amd64 with CONFIG_PARTMAP_IS_MMAP
I don't understand how this could ever have worked. the left-hand side is -1
and is never larger than right-hand side when comparing signed values.
Pavel Charvat [Thu, 29 Jan 2009 12:53:02 +0000 (13:53 +0100)]
UCW mainloop: Accumulate the total time spent in poll() into main_idle_time.
Pavel Charvat [Wed, 28 Jan 2009 01:32:02 +0000 (02:32 +0100)]
URLs: Fixed some broken comparisons of possibly signed chars.
(It was causing failures in Shepherd.)
Pavel Charvat [Tue, 27 Jan 2009 23:52:06 +0000 (00:52 +0100)]
Fixed accidentally modified files during the last merge.
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
Martin Mares [Sun, 25 Jan 2009 15:57:04 +0000 (16:57 +0100)]
Moved setting of CONFIG_DIR to defaults.cfg.
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.
Martin Mares [Sun, 25 Jan 2009 13:08:03 +0000 (14:08 +0100)]
clists: improve doc.
Martin Mares [Sun, 25 Jan 2009 12:55:14 +0000 (13:55 +0100)]
SHA1: Added stream interface for the HMAC, too.
Pavel Charvat [Wed, 10 Dec 2008 12:09:51 +0000 (13:09 +0100)]
Libucw: Implemented HEAP_DECREASE. Fixed description of HEAP_INSERT.
Pavel Charvat [Tue, 2 Dec 2008 11:50:59 +0000 (12:50 +0100)]
Fixed a bug in mp_printf_append(). Thanks to Dan.
Martin Mares [Sun, 30 Nov 2008 13:49:04 +0000 (14:49 +0100)]
Cosmetics.
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...
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
Robert Spalek [Thu, 27 Nov 2008 17:58:10 +0000 (09:58 -0800)]
clean up linking -lpcre to libucw
Robert Spalek [Thu, 27 Nov 2008 16:37:06 +0000 (08:37 -0800)]
fixing my previous patch according to MJ's comments
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
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.
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.
Martin Mares [Mon, 24 Nov 2008 09:19:03 +0000 (10:19 +0100)]
Merge branch 'dev-lib'
Michal Vaner [Mon, 24 Nov 2008 09:03:56 +0000 (10:03 +0100)]
Fix comments
Michal Vaner [Sun, 23 Nov 2008 20:14:53 +0000 (21:14 +0100)]
Another attempt to do the fix right
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.
Michal Vaner [Sun, 23 Nov 2008 13:28:17 +0000 (14:28 +0100)]
Make the tests work with CONFIG_UCW_ONLY
Michal Vaner [Sun, 23 Nov 2008 13:15:47 +0000 (14:15 +0100)]
Fix kmp-test in libs-only distribution
Michal Vaner [Sun, 23 Nov 2008 09:46:57 +0000 (10:46 +0100)]
Fix tests in libs-only distribution
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.
Martin Mares [Fri, 21 Nov 2008 19:50:17 +0000 (20:50 +0100)]
Releasing the v3.99.1 library packages.
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.
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.)
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 :)
Michal Vaner [Tue, 18 Nov 2008 14:52:13 +0000 (15:52 +0100)]
Mention other libraries in libucw webpage
Michal Vaner [Mon, 17 Nov 2008 15:21:47 +0000 (16:21 +0100)]
Fix DTD in libucw page
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...
Michal Vaner [Mon, 17 Nov 2008 12:25:11 +0000 (13:25 +0100)]
Web pages for libucw
Martin Mares [Sun, 16 Nov 2008 20:48:41 +0000 (21:48 +0100)]
Sorry, the original description of API docs was correct.
Martin Mares [Sun, 16 Nov 2008 20:36:02 +0000 (21:36 +0100)]
Added building of a separate libucw package.
Martin Mares [Sun, 16 Nov 2008 19:41:39 +0000 (20:41 +0100)]
Configure: merged recognition of Nocona CPU's from master.
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.
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.
Pavel Charvat [Thu, 13 Nov 2008 15:11:26 +0000 (16:11 +0100)]
Fixed a typo in name of one unused inline function.
Pavel Charvat [Thu, 13 Nov 2008 10:15:01 +0000 (11:15 +0100)]
Doc: Small fix in fastbufs' doc.
Pavel Charvat [Thu, 13 Nov 2008 10:11:35 +0000 (11:11 +0100)]
Doc: Updated the rules for fastbuf back-ends.
Pavel Charvat [Wed, 12 Nov 2008 16:20:34 +0000 (17:20 +0100)]
Doc: Fixed one reference in binomial heaps.
Pavel Charvat [Wed, 12 Nov 2008 16:16:36 +0000 (17:16 +0100)]
Doc: Referenced binomial heaps from the list of code generators.
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
Pavel Charvat [Wed, 12 Nov 2008 16:12:19 +0000 (17:12 +0100)]
Doc:
* Documented binary heaps.
* Documented binomial heaps (missing example).
* Some fixes.
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.
Pavel Charvat [Mon, 10 Nov 2008 14:48:24 +0000 (15:48 +0100)]
Doc: Described binsearch.h.
Pavel Charvat [Mon, 10 Nov 2008 13:12:46 +0000 (14:12 +0100)]
Doc: Described prime.h.
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.
Pavel Charvat [Mon, 10 Nov 2008 12:20:58 +0000 (13:20 +0100)]
Doc: Removed eltpools from the list of undocumented components.
Pavel Charvat [Mon, 10 Nov 2008 12:20:06 +0000 (13:20 +0100)]
Doc: Fixed some typos in mempool's examples.
Pavel Charvat [Mon, 10 Nov 2008 12:19:12 +0000 (13:19 +0100)]
Doc: Briefly documented eltpools.
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' :)
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.
Martin Mares [Sun, 9 Nov 2008 21:30:19 +0000 (22:30 +0100)]
Configure: Polishing.
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.
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.)
Martin Mares [Sun, 9 Nov 2008 21:07:30 +0000 (22:07 +0100)]
Example: Request a new version of libucw.
Martin Mares [Sun, 9 Nov 2008 20:56:11 +0000 (21:56 +0100)]
Build example: Word polishing.
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.
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.
Michal Vaner [Sun, 9 Nov 2008 18:05:42 +0000 (19:05 +0100)]
Configure module to find the build system
Michal Vaner [Sun, 9 Nov 2008 15:46:28 +0000 (16:46 +0100)]
Allow the build system live anywhere
Michal Vaner [Sun, 9 Nov 2008 14:02:16 +0000 (15:02 +0100)]
Provide path to the build system
Michal Vaner [Sun, 9 Nov 2008 15:08:46 +0000 (16:08 +0100)]
Install the build system
Michal Vaner [Sun, 9 Nov 2008 10:08:08 +0000 (11:08 +0100)]
Install rest of 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.
Michal Vaner [Fri, 7 Nov 2008 14:18:11 +0000 (15:18 +0100)]
Store path to perl modules into pkgconfig
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.
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.
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.
Pavel Charvat [Thu, 6 Nov 2008 16:39:04 +0000 (17:39 +0100)]
Simplified 'unsigned char' -> 'byte'.
Pavel Charvat [Thu, 6 Nov 2008 16:37:30 +0000 (17:37 +0100)]
Doc: Fixed a typo.
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.
Pavel Charvat [Thu, 6 Nov 2008 14:44:30 +0000 (15:44 +0100)]
Doc: More bits about linked lists.
Pavel Charvat [Thu, 6 Nov 2008 14:03:16 +0000 (15:03 +0100)]
Doc: Fixed a typo.
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.
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
Pavel Charvat [Thu, 6 Nov 2008 13:36:36 +0000 (14:36 +0100)]
Doc: Partially documented linked lists.
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.
Pavel Charvat [Thu, 6 Nov 2008 12:03:45 +0000 (13:03 +0100)]
Doc: Documented ucw/unaligned.h.
Pavel Charvat [Thu, 6 Nov 2008 12:03:36 +0000 (13:03 +0100)]
Doc: Fixed a typo.
Martin Mares [Thu, 6 Nov 2008 10:46:17 +0000 (11:46 +0100)]
Doc: Cosmetic fixes.
Pavel Charvat [Thu, 6 Nov 2008 10:03:41 +0000 (11:03 +0100)]
Doc: Described ff-binary.
Pavel Charvat [Thu, 6 Nov 2008 09:37:27 +0000 (10:37 +0100)]
Doc: Described the interface for direct I/O on fastbufs.
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
Michal Vaner [Tue, 4 Nov 2008 21:46:56 +0000 (22:46 +0100)]
ucw docs: growing buffers
Michal Vaner [Tue, 4 Nov 2008 21:45:48 +0000 (22:45 +0100)]
Doc system: docs for macro generics extraction
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.
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.
Martin Mares [Tue, 4 Nov 2008 13:26:33 +0000 (14:26 +0100)]
Doc: Improved fastbuf documentation.
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.
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.
Martin Mares [Mon, 3 Nov 2008 22:48:04 +0000 (23:48 +0100)]
Configure: Moved interaction with pkg-config to a separate module.
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.
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.
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.
Martin Mares [Mon, 3 Nov 2008 22:27:19 +0000 (23:27 +0100)]
Another reference to arraysort.