]>
mj.ucw.cz Git - libucw.git/log
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.
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.
Michal Vaner [Sun, 30 Nov 2008 14:55:22 +0000 (15:55 +0100)]
Debug utilities have O_DIRECT hardcoded manually
Michal Vaner [Sun, 30 Nov 2008 13:10:41 +0000 (14:10 +0100)]
Handle when O_DIRECT is not available
Michal Vaner [Sun, 30 Nov 2008 13:08:06 +0000 (14:08 +0100)]
Export fb-direct functions only when turned on
Michal Vaner [Sun, 30 Nov 2008 12:30:47 +0000 (13:30 +0100)]
Turn off CONFIG_DIRECT when needed
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.
Michal Vaner [Sun, 30 Nov 2008 11:24:52 +0000 (12:24 +0100)]
Doc. system: remove doc. symlinks upon clean
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.
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.
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.
Michal Vaner [Fri, 28 Nov 2008 12:29:25 +0000 (13:29 +0100)]
Remove the random text that got somehow inside
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.
Michal Vaner [Thu, 27 Nov 2008 16:19:17 +0000 (17:19 +0100)]
ucw docs: The lizard compression algorithm
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.
Martin Mares [Mon, 3 Nov 2008 22:27:06 +0000 (23:27 +0100)]
Removed the reference to arraysort in the doc.
Martin Mares [Mon, 3 Nov 2008 22:25:35 +0000 (23:25 +0100)]
Update all calls to arraysort.h.
Martin Mares [Mon, 3 Nov 2008 22:24:59 +0000 (23:24 +0100)]
Moved ucw/arraysort.h to ucw/sorter/array-simple.h.
Martin Mares [Mon, 3 Nov 2008 22:11:24 +0000 (23:11 +0100)]
Use .gitignore instead of hand-installing build/git/exclude.
Martin Mares [Mon, 3 Nov 2008 18:10:32 +0000 (19:10 +0100)]
Configure: Some versions of asciidoc print the version number to stderr.