]> mj.ucw.cz Git - libucw.git/log
libucw.git
16 years agoucw docs: base64 & base224
Michal Vaner [Thu, 11 Sep 2008 12:28:31 +0000 (14:28 +0200)]
ucw docs: base64 & base224

Documentation of base64 and base224 encoding. Describes the basecode
utility as well.

16 years agoMerge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib
Michal Vaner [Wed, 10 Sep 2008 19:27:20 +0000 (21:27 +0200)]
Merge branch 'dev-lib' of ssh://git.ucw.cz/projects/sherlock/GIT/sherlock into dev-lib

16 years agoDoc. systems: definitions are grouped by type
Michal Vaner [Wed, 10 Sep 2008 19:25:13 +0000 (21:25 +0200)]
Doc. systems: definitions are grouped by type

They are grouped together by type. First are enums and structs, then
functions, then variables and preprocessor defines go last.

16 years agoDoc. system: typo in warn message
Michal Vaner [Wed, 10 Sep 2008 19:18:25 +0000 (21:18 +0200)]
Doc. system: typo in warn message

16 years agob224 is deprecated by basecode
Michal Vaner [Wed, 10 Sep 2008 09:22:38 +0000 (11:22 +0200)]
b224 is deprecated by basecode

16 years agoMove ucw utils to subdirectory
Michal Vaner [Wed, 10 Sep 2008 09:14:39 +0000 (11:14 +0200)]
Move ucw utils to subdirectory

16 years agoDoc. system: definitions are sorted
Michal Vaner [Wed, 10 Sep 2008 19:05:01 +0000 (21:05 +0200)]
Doc. system: definitions are sorted

According to the symbol name.

16 years agoDoc. system: export type and name do deflists
Michal Vaner [Wed, 10 Sep 2008 18:58:47 +0000 (20:58 +0200)]
Doc. system: export type and name do deflists

16 years agoDoc. system: fix semicolon handling
Michal Vaner [Wed, 10 Sep 2008 18:54:39 +0000 (20:54 +0200)]
Doc. system: fix semicolon handling

No need for the hack in extracting loop, now put into formatting.

Fix the regexp in formatting part.

16 years agoDoc. system: detect type of definition
Michal Vaner [Wed, 10 Sep 2008 18:49:59 +0000 (20:49 +0200)]
Doc. system: detect type of definition

Just heuristics, detects type of the symbol and the name of the symbol.

It is used to add semicolon to inline functions what do not have one,
but more use of the detection is expected.

16 years agoucw. docs: update to use doc. system features
Michal Vaner [Wed, 10 Sep 2008 11:14:30 +0000 (13:14 +0200)]
ucw. docs: update to use doc. system features

* Automatic formatting of NULL
* use `word` instead of +word+
* use <<links>> instead of xrefs

16 years agoUCW docs: split definitions off the main index
Michal Vaner [Wed, 10 Sep 2008 10:19:33 +0000 (12:19 +0200)]
UCW docs: split definitions off the main index

16 years agoDoc. system: fix function anchors
Michal Vaner [Wed, 10 Sep 2008 10:02:35 +0000 (12:02 +0200)]
Doc. system: fix function anchors

Only last character of their name was used to create the anchor.

16 years agoMoved some utils from utils/ to ucw/
Martin Mares [Tue, 9 Sep 2008 10:53:03 +0000 (12:53 +0200)]
Moved some utils from utils/ to ucw/

Some of the utilities do not need sherlock (and are not anyhow related
to it), so they were moved to libucw:

    * b224 (base224 encoder/decoder)
    * daemon-helper (replacement for start-stop-daemon)
    * hex (hex dumper)
    * rotate-log (log rotator)
    * urltool (url manipulating tool)

Introduced a CONFIG_UCW_UTILS config switch which controls compilation
of these utilities.

Originally by Michal, with minor changes by MJ:

    * basecode.test is added to TESTS only if CONFIG_UCW_UTILS is set.
    * Changed the order of Makefile sections and Set statements to
      a more logical one.

16 years agoDoc. system: Hack around Makefile inexpressiveness.
Martin Mares [Tue, 9 Sep 2008 10:32:43 +0000 (12:32 +0200)]
Doc. system: Hack around Makefile inexpressiveness.

16 years agoDoc. system: Renamed doc utilities to match local conventions.
Martin Mares [Tue, 9 Sep 2008 10:29:19 +0000 (12:29 +0200)]
Doc. system: Renamed doc utilities to match local conventions.

First, we do not use filename extensions for scripts which are not "compiled"
(e.g., the scripts that are a part of the build system).

Second, we prefer to build the naming hierarchy from the opposite end.

16 years agoDoc. system: Make doc target messages more similar to the others.
Martin Mares [Tue, 9 Sep 2008 10:26:10 +0000 (12:26 +0200)]
Doc. system: Make doc target messages more similar to the others.

16 years agoDoc. system: Avoid ":=" rules in makefiles.
Martin Mares [Tue, 9 Sep 2008 10:25:29 +0000 (12:25 +0200)]
Doc. system: Avoid ":=" rules in makefiles.

16 years agoFixed a typo: indeces -> indices.
Martin Mares [Tue, 9 Sep 2008 09:25:42 +0000 (11:25 +0200)]
Fixed a typo: indeces -> indices.

16 years agolibucw documentation: index
Michal Vaner [Sun, 7 Sep 2008 15:21:56 +0000 (17:21 +0200)]
libucw documentation: index

Lists modules and definitions

16 years agoDoc. system: build rules for indeces and deflists
Michal Vaner [Sun, 7 Sep 2008 15:17:15 +0000 (17:17 +0200)]
Doc. system: build rules for indeces and deflists

16 years agoDoc system: build system for deflists and indeces
Michal Vaner [Sun, 7 Sep 2008 15:16:10 +0000 (17:16 +0200)]
Doc system: build system for deflists and indeces

Makefile rules for building documentation indeces

16 years agoDoc. system: dependencies bug
Michal Vaner [Sun, 7 Sep 2008 15:12:33 +0000 (17:12 +0200)]
Doc. system: dependencies bug

They should be appended, not overwritten, this would trash all previous
dependencies

16 years agoDoc. system: fix deflist asciidoc formatting
Michal Vaner [Sun, 7 Sep 2008 15:08:04 +0000 (17:08 +0200)]
Doc. system: fix deflist asciidoc formatting

Collisions with automatic function references
Disallowed characters in captions which were needed

16 years agoDoc. system: definition list formatter
Michal Vaner [Sun, 7 Sep 2008 14:29:44 +0000 (16:29 +0200)]
Doc. system: definition list formatter

16 years agoDoc. system: links to files without anchors
Michal Vaner [Sun, 7 Sep 2008 14:08:00 +0000 (16:08 +0200)]
Doc. system: links to files without anchors

<<filename:>> and <<filename:,caption>>

16 years agoDoc. system: file names with more chars allowed
Michal Vaner [Sun, 7 Sep 2008 11:54:29 +0000 (13:54 +0200)]
Doc. system: file names with more chars allowed

Filenames in <<file:id>> referencies could not contain characters like
'/' or '.'. Now they can contain quite anything.

16 years agoDocumentation system: teach extractor dump defs
Michal Vaner [Sun, 7 Sep 2008 09:43:27 +0000 (11:43 +0200)]
Documentation system: teach extractor dump defs

If provided with another file name, it dumps all definitions with
filename, id number and text

16 years agoDocumentation system: @word@ is not func. param.
Michal Vaner [Sat, 6 Sep 2008 11:44:00 +0000 (13:44 +0200)]
Documentation system: @word@ is not func. param.

So leave it as is

16 years agoDocumentation: keep ; at the end of functions
Michal Vaner [Fri, 5 Sep 2008 18:33:30 +0000 (20:33 +0200)]
Documentation: keep ; at the end of functions

And replace { at the end of inline functions with ;

16 years agoAdd a description of extract-doc.pl script
Michal Vaner [Fri, 5 Sep 2008 18:18:53 +0000 (20:18 +0200)]
Add a description of extract-doc.pl script

16 years agoDocumentation system: file xrefs
Michal Vaner [Fri, 5 Sep 2008 18:14:35 +0000 (20:14 +0200)]
Documentation system: file xrefs

<<file:link>> and <<file:link,text>> links to other files work now.

16 years agoDocumentation system: null-macro not needed
Michal Vaner [Fri, 5 Sep 2008 17:55:28 +0000 (19:55 +0200)]
Documentation system: null-macro not needed

It is done by replacement, no need for a macro definition

16 years agoDocumentation system: <<f()>> links
Michal Vaner [Fri, 5 Sep 2008 17:48:56 +0000 (19:48 +0200)]
Documentation system: <<f()>> links

The <:f()> function links were replaced by ones more similar to existing
cross-reference links.

<<f(params)>> -- link to function
<<f(params),text>> -- with user-provided link text
<<file:f(params)>>,<<file:f(params),text>> -- link to a function in
  different file

Furtheremore, the documentation config was split into backend specific
(xhtml at this moment only) and backend independent parts.

16 years agoDoc: NULL is now detected and typeset properly.
Martin Mares [Mon, 25 Aug 2008 21:28:33 +0000 (23:28 +0200)]
Doc: NULL is now detected and typeset properly.

16 years agoLess complicated syntax of function references
Michal Vaner [Mon, 25 Aug 2008 20:53:13 +0000 (22:53 +0200)]
Less complicated syntax of function references

<file:function(params)>
<file:function(params):link text>
<:funciton(params)>
<:function(params):link text>

NULL detection (turned to be <tt>ed)

16 years agoConfigure: Fixed a bug in error handling.
Martin Mares [Mon, 25 Aug 2008 21:24:25 +0000 (23:24 +0200)]
Configure: Fixed a bug in error handling.

16 years agoUpdate documentation of fastbufs.
Martin Mares [Mon, 25 Aug 2008 21:27:17 +0000 (23:27 +0200)]
Update documentation of fastbufs.

The back-ends should be fully covered now, the front-ends still remain
documented very sparsely.

Documentation of fb-atomic has been moved from the source to the header
file and asciidoc'ed.

I have also added a simple menu with links to all sections.

16 years agoDocumentation system: manual function links
Michal Vaner [Mon, 25 Aug 2008 08:54:10 +0000 (10:54 +0200)]
Documentation system: manual function links

Things like this now works
>>f>:function(parameters)<<< - link to function in local file
>>f>:function(parameters):custom link text<<< - similar, named
>>f>file:function(parameters)<<< - into different file
>>f>file:function(parameters):custom text<<<

File is written without suffix (eg. no file.html, just file).

16 years agoDocumentation system: generate anchors/ids for functions
Michal Vaner [Mon, 18 Aug 2008 14:37:40 +0000 (16:37 +0200)]
Documentation system: generate anchors/ids for functions

When a function documentation is found, a fun_name_of_the_function
anchor (id html attribute) is added to it so links can jump there.

16 years agoDocumentation system: detect functions by name()
Michal Vaner [Mon, 18 Aug 2008 14:03:20 +0000 (16:03 +0200)]
Documentation system: detect functions by name()

Functions are detected, set in <tt> font and turned to links.

16 years agoLibucw: Documentation of more fastbuf headers.
Michal Vaner [Sun, 3 Aug 2008 09:00:14 +0000 (11:00 +0200)]
Libucw: Documentation of more fastbuf headers.

16 years agoLibucw: documentation of fastbuf.h
Michal Vaner [Sat, 2 Aug 2008 19:44:18 +0000 (21:44 +0200)]
Libucw: documentation of fastbuf.h

16 years agoDocumentation system: Structures are input verbatim.
Michal Vaner [Fri, 1 Aug 2008 16:52:20 +0000 (18:52 +0200)]
Documentation system: Structures are input verbatim.

16 years agoEnhanced documentation system.
Michal Vaner [Sun, 27 Jul 2008 11:32:30 +0000 (13:32 +0200)]
Enhanced documentation system.

Comments are now

/**
 * Function comment.
 **/
void function(void);

or void function(void); /** Function comment **/

/***
 * Verbatim comment.
 ***/

or /*** Verbatim comment ***/

@param marks a function parameter.

It understands structures (to level 1, nested functions are flattened.
Is it needed?).

16 years agoCreated documentation system.
Michal Vaner [Sat, 26 Jul 2008 14:28:30 +0000 (16:28 +0200)]
Created documentation system.

`make docs' compiles documentation.

It uses asciidoc and is enriched by taking data directly from source code.
Some tests are done with ucw/doc/fastbuf.txt and ucw/fastbuf.h.

Created documentation is saved into the obj dir.

16 years agoFixed a comment.
Martin Mares [Sun, 24 Aug 2008 18:31:59 +0000 (20:31 +0200)]
Fixed a comment.

16 years agoUpdate MAX_WORD_xxx in the lib-only customization.
Martin Mares [Wed, 30 Jul 2008 15:19:19 +0000 (17:19 +0200)]
Update MAX_WORD_xxx in the lib-only customization.

16 years agoBuild system: -soname should contain SONAME_SUFFIX.
Martin Mares [Sun, 27 Jul 2008 18:42:02 +0000 (20:42 +0200)]
Build system: -soname should contain SONAME_SUFFIX.

16 years agoLibucw: Cleaned up logging in fb-atomic.
Martin Mares [Sun, 27 Jul 2008 15:38:14 +0000 (17:38 +0200)]
Libucw: Cleaned up logging in fb-atomic.

Original patch by Michal, slightly changed by me.

16 years agoLibucw: Get rid of a warning during test.
Michal Vaner [Sun, 27 Jul 2008 12:22:10 +0000 (14:22 +0200)]
Libucw: Get rid of a warning during test.

(Unused argc)

16 years agoConfigure: Determine /var and related installation paths automatically.
Martin Mares [Sun, 27 Jul 2008 15:12:04 +0000 (17:12 +0200)]
Configure: Determine /var and related installation paths automatically.

16 years agoBuild: Let genconf expand variables recursively.
Martin Mares [Sun, 27 Jul 2008 15:11:36 +0000 (17:11 +0200)]
Build: Let genconf expand variables recursively.

This is useful for example when filling in installation paths in configuration
files.

16 years agoConfigure: Avoid dashes in names of variables.
Martin Mares [Sun, 27 Jul 2008 12:59:47 +0000 (14:59 +0200)]
Configure: Avoid dashes in names of variables.

16 years agoLibucw: Split ff-string.c.
Michal Vaner [Wed, 23 Jul 2008 18:55:49 +0000 (20:55 +0200)]
Libucw: Split ff-string.c.

Stk strings now have their own file (ff-stkstring.c).

16 years agoLibucw: Added tests of the URL module.
Michal Vaner [Tue, 22 Jul 2008 15:35:36 +0000 (17:35 +0200)]
Libucw: Added tests of the URL module.

Mostly merging of relative paths.

16 years agoLibucw: Update path parameter handling of URL to current RFC (2396).
Michal Vaner [Tue, 22 Jul 2008 12:45:46 +0000 (14:45 +0200)]
Libucw: Update path parameter handling of URL to current RFC (2396).

Previous RFC had path parameters as separate component. With current RFC,
each path element can contain own path parameters.

When merging absolute/relative url, path parameters are taken as parts of
the elements, making special handling unnecessary.

16 years agoLibucw: Update URL escaping to current RFC (2396).
Michal Vaner [Tue, 22 Jul 2008 11:18:29 +0000 (13:18 +0200)]
Libucw: Update URL escaping to current RFC (2396).

Add new reserved characters: '$', '+', ','
Add new allowed character: '~'

Changed NCC_xxx defines to an enum.

16 years agoLibucw: A test for mmap fastbufs.
Michal Vaner [Mon, 21 Jul 2008 20:51:34 +0000 (22:51 +0200)]
Libucw: A test for mmap fastbufs.

16 years agoLibucw: Coding conventions fix
Michal Vaner [Mon, 21 Jul 2008 20:49:54 +0000 (22:49 +0200)]
Libucw: Coding conventions fix

16 years agoLibucw: Replace obsolete log calls by msg.
Michal Vaner [Mon, 21 Jul 2008 20:05:57 +0000 (22:05 +0200)]
Libucw: Replace obsolete log calls by msg.

16 years agoLibucw: A test for fastbufs on static buffers.
Michal Vaner [Mon, 21 Jul 2008 19:16:42 +0000 (21:16 +0200)]
Libucw: A test for fastbufs on static buffers.

16 years agoLibucw: Tests for some fastbufs which already have test main.
Michal Vaner [Mon, 21 Jul 2008 11:49:15 +0000 (13:49 +0200)]
Libucw: Tests for some fastbufs which already have test main.

16 years agoLibucw: Added str_count_char().
Martin Mares [Tue, 22 Jul 2008 10:13:19 +0000 (12:13 +0200)]
Libucw: Added str_count_char().

16 years agoLibucw: Add ROR (bitwise ROtation to Right)
Michal Vaner [Sun, 20 Jul 2008 21:34:26 +0000 (23:34 +0200)]
Libucw: Add ROR (bitwise ROtation to Right)

16 years agoLibucw: Prime numbers moved from lib.h to prime.h.
Michal Vaner [Sun, 20 Jul 2008 21:12:25 +0000 (23:12 +0200)]
Libucw: Prime numbers moved from lib.h to prime.h.

16 years agoRewrite #include "..." to #include <...> when installing.
Michal Vaner [Sun, 20 Jul 2008 20:47:10 +0000 (22:47 +0200)]
Rewrite #include "..." to #include <...> when installing.

16 years agoRemoved an obsolete comment.
Martin Mares [Sat, 19 Jul 2008 22:25:30 +0000 (00:25 +0200)]
Removed an obsolete comment.

16 years agoLibucw: Split ucw/fb-temp.c.
Martin Mares [Sat, 19 Jul 2008 22:23:36 +0000 (00:23 +0200)]
Libucw: Split ucw/fb-temp.c.

Moved the low-level temporary file functions that do not depend on fastbufs
to ucw/tempfile.c.

16 years agoLibucw: Better configuration of temporary directories.
Martin Mares [Sat, 19 Jul 2008 22:18:43 +0000 (00:18 +0200)]
Libucw: Better configuration of temporary directories.

I have split the directory name from the file name prefix.
Also, I have fixed a couple of bugs in my previous merge
of Michal's patches.

16 years agoLibucw: Change sh_ prefix to ucw_.
Michal Vaner [Sat, 19 Jul 2008 20:22:20 +0000 (22:22 +0200)]
Libucw: Change sh_ prefix to ucw_.

And update all uses across the tree.

Macros:
sh_fdatasync -> ucw_fdatasync
sh_fstat -> ucw_fstat
sh_ftruncate -> ucw_ftruncate
sh_mmap -> ucw_mmap
sh_open -> ucw_open
sh_pread -> ucw_pread
sh_pwrite -> ucw_pwrite
sh_seek -> ucw_seek
sh_stat -> ucw_stat

Functions:
sh_file_size -> ucw_file_size

File types:
sh_off_t -> ucw_off_t
sh_sighandler_t -> ucw_sighandler_t
sh_stat_t -> ucw_stat_t
sh_time_t -> ucw_time_t

Internals:
sh_getopt -> ucw_getopt
sh_getopt_long -> ucw_getopt_long
sh_getopt_longonly -> ucw_getopt_longonly
sh_optarg -> ucw_optarg
sh_opterr -> ucw_opterr
sh_optind -> ucw_optind
sh_optopt -> ucw_optopt
sh_xfree -> ucw_xfree
sh_xmalloc -> ucw_xmalloc
sh_xrealloc -> ucw_xrealloc

16 years agoLibucw: Use the new temp file logic for semaphores.
Martin Mares [Sat, 19 Jul 2008 21:54:06 +0000 (23:54 +0200)]
Libucw: Use the new temp file logic for semaphores.

(picked from Michal's dev-vorner branch)

16 years agoLibucw: Be able to use public tmp directory.
Martin Mares [Sat, 19 Jul 2008 21:53:27 +0000 (23:53 +0200)]
Libucw: Be able to use public tmp directory.

If Tempfiles.Prefix is not set, temp_file_name() now uses the public tmp directory
pointed to by $TMPDIR. The new Tempfiles.PublicDir switch controls the naming

Added open_tmp() which creates a temporary file in a race-free way.

The changes were picked from Michal's dev-vorner branch, mine are only renames
of function parameters and coding-style cleanups, and also the doc.

16 years agoLibucw: added bopen_fd_name()
Martin Mares [Sat, 19 Jul 2008 21:38:00 +0000 (23:38 +0200)]
Libucw: added bopen_fd_name()

(picked from Michal's dev-vorner tree)

16 years agoLibucw: url byte -> char
Michal Vaner [Thu, 17 Jul 2008 19:23:51 +0000 (21:23 +0200)]
Libucw: url byte -> char

The rest of tree has to be updated to it (does not compile, all kinds
of warnings...).

16 years agoLibucw: remove dmalloc support
Michal Vaner [Sat, 19 Jul 2008 12:01:40 +0000 (14:01 +0200)]
Libucw: remove dmalloc support

16 years agoLibucw: Remove lists.{h,c}
Michal Vaner [Thu, 17 Jul 2008 10:57:50 +0000 (12:57 +0200)]
Libucw: Remove lists.{h,c}

All remaining references to it replaced by clists.

16 years agoMove pagecache from libucw to libsherlock
Michal Vaner [Thu, 17 Jul 2008 09:23:16 +0000 (11:23 +0200)]
Move pagecache from libucw to libsherlock

16 years agoMove db system from Libucw to Libsherlock
Michal Vaner [Thu, 17 Jul 2008 09:11:18 +0000 (11:11 +0200)]
Move db system from Libucw to Libsherlock

(Needed for move of pagecache there)

16 years agoMove context matching to libgather
Michal Vaner [Thu, 17 Jul 2008 08:57:02 +0000 (10:57 +0200)]
Move context matching to libgather

16 years agoLibucw: unicode.h - Remove macros with the same functionality as functions.
Michal Vaner [Wed, 16 Jul 2008 20:16:54 +0000 (22:16 +0200)]
Libucw: unicode.h - Remove macros with the same functionality as functions.

All uses of macros across the tree replaced.

16 years agoLibucw: fix extention (.test -> .t)
Michal Vaner [Wed, 16 Jul 2008 17:59:05 +0000 (19:59 +0200)]
Libucw: fix extention (.test -> .t)

16 years agoLibucw: basecode would break while decoding and '--prefix='
Michal Vaner [Mon, 14 Jul 2008 19:25:56 +0000 (21:25 +0200)]
Libucw: basecode would break while decoding and '--prefix='

It wouldn't skip the newlines properly if prefix was set to empty string
(eg "", not NULL).

16 years agoRemember to enable CONFIG_LOCAL in the library example.
Martin Mares [Mon, 14 Jul 2008 21:53:11 +0000 (23:53 +0200)]
Remember to enable CONFIG_LOCAL in the library example.

16 years agoThe big move. Step #2: Updated all other references to lib/.
Martin Mares [Mon, 14 Jul 2008 20:23:08 +0000 (22:23 +0200)]
The big move. Step #2: Updated all other references to lib/.

16 years agoThe big move. Step #1: Move whole lib/ to ucw/.
Martin Mares [Mon, 14 Jul 2008 20:19:38 +0000 (22:19 +0200)]
The big move. Step #1: Move whole lib/ to ucw/.

All references within the libucw itself have been updated.

16 years agoReadding line of makefile lost in merge
Michal Vaner [Mon, 14 Jul 2008 18:05:50 +0000 (20:05 +0200)]
Readding line of makefile lost in merge

16 years agoLibucw: basecode utility and its tests.
Martin Mares [Mon, 14 Jul 2008 15:35:21 +0000 (17:35 +0200)]
Libucw: basecode utility and its tests.

(Several Michal's commits flattened to one.)

16 years agoLibucw: Changing md5 module interface to match sha1.
Michal Vaner [Mon, 14 Jul 2008 15:04:08 +0000 (17:04 +0200)]
Libucw: Changing md5 module interface to match sha1.

All uses in tree update to reflect the change.
Uses ucw types.

16 years agoLibucw: wildmatch uses char * instead of byte * for strings.
Michal Vaner [Mon, 14 Jul 2008 11:48:06 +0000 (13:48 +0200)]
Libucw: wildmatch uses char * instead of byte * for strings.

Needs to be typecasted to unsigned char when indexing arrays.
Expects chars to be 8-bit.

16 years agoLibucw: Test for redblack.h
Michal Vaner [Sun, 13 Jul 2008 11:13:27 +0000 (13:13 +0200)]
Libucw: Test for redblack.h

Use existing test.

16 years agoLibucw: Test for binheap.h
Michal Vaner [Sun, 13 Jul 2008 08:58:42 +0000 (10:58 +0200)]
Libucw: Test for binheap.h

Use existing test, just run it with other tests.

16 years agoLibucw: Test for arraysort.h
Michal Vaner [Sun, 13 Jul 2008 07:41:22 +0000 (09:41 +0200)]
Libucw: Test for arraysort.h

Modified existing benchmark to return 1 as return code on failure.
Added a .t file to run from `make tests'.

16 years agoMerge branch 'master' into dev-lib
Martin Mares [Mon, 14 Jul 2008 14:39:04 +0000 (16:39 +0200)]
Merge branch 'master' into dev-lib

Merged the dev-admin changes through mainline. Conflicts solved manually:

filter/filter.h
filter/tries.c
lib/Makefile

16 years agoMerge branch 'dev-admin'
Martin Mares [Mon, 14 Jul 2008 14:32:06 +0000 (16:32 +0200)]
Merge branch 'dev-admin'

16 years agoEnable automatic tests for byte-bases tries.
Pavel Charvat [Tue, 8 Jul 2008 06:27:45 +0000 (08:27 +0200)]
Enable automatic tests for byte-bases tries.

16 years agoImplemented byte-bases trie.
Pavel Charvat [Tue, 8 Jul 2008 06:25:58 +0000 (08:25 +0200)]
Implemented byte-bases trie.

16 years agoImplemented {mp,ep}_total_size().
Pavel Charvat [Tue, 8 Jul 2008 06:23:16 +0000 (08:23 +0200)]
Implemented {mp,ep}_total_size().

16 years agoHidden one possible compilation warning in KMP.
Pavel Charvat [Tue, 8 Jul 2008 06:11:28 +0000 (08:11 +0200)]
Hidden one possible compilation warning in KMP.

16 years agoMerge branch 'master' into dev-admin
Pavel Charvat [Mon, 7 Jul 2008 20:32:10 +0000 (22:32 +0200)]
Merge branch 'master' into dev-admin