]> mj.ucw.cz Git - libucw.git/log
libucw.git
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 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.

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.

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

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

16 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

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

16 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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

16 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

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

16 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

16 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

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

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

16 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

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

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

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

16 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

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

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

16 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

16 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

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

16 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

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

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

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

16 years agoDoc: Improved the title page.
Martin Mares [Thu, 30 Oct 2008 22:39:49 +0000 (23:39 +0100)]
Doc: Improved the title page.

16 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

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

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

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

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

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

16 years agoConfigure: Replaced debPrint() by DebugDump().
Martin Mares [Thu, 30 Oct 2008 21:27:04 +0000 (22:27 +0100)]
Configure: Replaced debPrint() by DebugDump().

16 years agoConfigure: Fixed a silly typo.
Martin Mares [Thu, 30 Oct 2008 21:26:01 +0000 (22:26 +0100)]
Configure: Fixed a silly typo.

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

16 years agoUpdate references to autoconf.cfg.
Martin Mares [Thu, 30 Oct 2008 21:01:12 +0000 (22:01 +0100)]
Update references to autoconf.cfg.