]> mj.ucw.cz Git - libucw.git/log
libucw.git
16 years agoAdded a rule for installing config files from sub-directories.
Martin Mares [Sun, 25 May 2008 16:38:00 +0000 (18:38 +0200)]
Added a rule for installing config files from sub-directories.

This will be useful for out-of-tree users of our makefile system.

16 years agoMoved the `custom cf' rule from Makebottom to the top-level Makefile.
Martin Mares [Sun, 25 May 2008 16:36:10 +0000 (18:36 +0200)]
Moved the `custom cf' rule from Makebottom to the top-level Makefile.

(It is too intimately tied to Sherlock.)

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 19 May 2008 12:00:45 +0000 (14:00 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoFixed test cases for the xml parser.
Pavel Charvat [Mon, 19 May 2008 11:43:43 +0000 (13:43 +0200)]
Fixed test cases for the xml parser.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 19 May 2008 11:35:32 +0000 (13:35 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoAppended '-dev' to the version string of the dev branch.
Pavel Charvat [Thu, 15 May 2008 08:59:41 +0000 (10:59 +0200)]
Appended '-dev' to the version string of the dev branch.

16 years agoQuick fix of possible daedlock when logging from Shepherd's singal handlers.
Pavel Charvat [Mon, 28 Apr 2008 12:37:59 +0000 (14:37 +0200)]
Quick fix of possible daedlock when logging from Shepherd's singal handlers.

16 years agoXML: Small bugfix in xml_merge_chars.
Pavel Charvat [Mon, 28 Apr 2008 12:18:40 +0000 (14:18 +0200)]
XML: Small bugfix in xml_merge_chars.

16 years agoXML: Validate required attributes. Added an option to allocate
Pavel Charvat [Mon, 28 Apr 2008 11:04:28 +0000 (13:04 +0200)]
XML: Validate required attributes. Added an option to allocate
missing attributes with default values.

16 years agoXML: Implemented a merger of element's contents.
Pavel Charvat [Fri, 25 Apr 2008 08:33:13 +0000 (10:33 +0200)]
XML: Implemented a merger of element's contents.

16 years agoXML: Partial support for external DTD subset
Pavel Charvat [Thu, 24 Apr 2008 11:18:09 +0000 (13:18 +0200)]
XML: Partial support for external DTD subset

16 years agoXML: A primitive DTD validation of elements... it is slow and does not
Pavel Charvat [Thu, 24 Apr 2008 08:41:03 +0000 (10:41 +0200)]
XML: A primitive DTD validation of elements... it is slow and does not
check valid numbers/order of subtags.

16 years agoXML: implemented user-friendly function to deal with default attribute values
Pavel Charvat [Thu, 24 Apr 2008 07:32:58 +0000 (09:32 +0200)]
XML: implemented user-friendly function to deal with default attribute values

16 years agoXML: Implemented xml_skip_element().
Pavel Charvat [Thu, 24 Apr 2008 07:17:15 +0000 (09:17 +0200)]
XML: Implemented xml_skip_element().

16 years agoXML: Implemented detection and validation of ignorable whitespace
Pavel Charvat [Thu, 24 Apr 2008 07:07:20 +0000 (09:07 +0200)]
XML: Implemented detection and validation of ignorable whitespace

16 years agoXML: Bugfix in processing of multi-byte newlines.
Pavel Charvat [Wed, 23 Apr 2008 13:40:06 +0000 (15:40 +0200)]
XML: Bugfix in processing of multi-byte newlines.

16 years agoXML: Fixed reporting of characters via the PULL interface.
Pavel Charvat [Tue, 22 Apr 2008 12:06:08 +0000 (14:06 +0200)]
XML: Fixed reporting of characters via the PULL interface.

16 years agoKMP: removed possible compilation warning
Pavel Charvat [Tue, 11 Mar 2008 09:47:56 +0000 (10:47 +0100)]
KMP: removed possible compilation warning

16 years agosmall bugfixes in tries
Pavel Charvat [Wed, 5 Mar 2008 13:50:34 +0000 (14:50 +0100)]
small bugfixes in tries

16 years agoUCW tries:
Pavel Charvat [Sun, 2 Mar 2008 21:38:24 +0000 (22:38 +0100)]
UCW tries:
-- simplified hash tables
-- replaced walk* functions by inlined macros

16 years agoUCW tries: applied MJ's remarks
Pavel Charvat [Fri, 29 Feb 2008 18:22:46 +0000 (19:22 +0100)]
UCW tries: applied MJ's remarks

16 years agoUCW: implemented simple memory statistics for tries
Pavel Charvat [Fri, 29 Feb 2008 18:07:19 +0000 (19:07 +0100)]
UCW: implemented simple memory statistics for tries

16 years agoUCW: implemented ep_total_size (similar to mp_total_size)
Pavel Charvat [Fri, 29 Feb 2008 18:05:51 +0000 (19:05 +0100)]
UCW: implemented ep_total_size (similar to mp_total_size)

16 years agoadmin: the can be more than one site for a single domain
Pavel Charvat [Fri, 29 Feb 2008 17:49:58 +0000 (18:49 +0100)]
admin: the can be more than one site for a single domain

16 years agoUCWLib:
Pavel Charvat [Fri, 29 Feb 2008 16:43:55 +0000 (17:43 +0100)]
UCWLib:
Implemented tries... it seems to work, but I will probably reread
and simplify some parts of the code (it became quite complex because of
several fixed special cases).

16 years agoUCW: implemented shortcut for computing size of a mempool (mp_total_size)
Pavel Charvat [Tue, 19 Feb 2008 11:15:50 +0000 (12:15 +0100)]
UCW: implemented shortcut for computing size of a mempool (mp_total_size)

16 years agoSmall fixes and improvements in bin/installer.
Pavel Charvat [Fri, 1 Feb 2008 10:19:20 +0000 (11:19 +0100)]
Small fixes and improvements in bin/installer.

16 years agoSupport for 'make CONFIRM=y install'
Pavel Charvat [Thu, 31 Jan 2008 20:48:40 +0000 (21:48 +0100)]
Support for 'make CONFIRM=y install'

16 years agoIndexer:
Pavel Charvat [Mon, 28 Jan 2008 20:36:24 +0000 (21:36 +0100)]
Indexer:
Rewritten the support for multiple sources...
Indexer.Source is now a link list.

16 years agoRemoved forgotten useless macro.
Pavel Charvat [Thu, 24 Jan 2008 20:38:52 +0000 (21:38 +0100)]
Removed forgotten useless macro.

16 years agoFixed a compilation warning in libcharset.
Pavel Charvat [Thu, 24 Jan 2008 20:26:54 +0000 (21:26 +0100)]
Fixed a compilation warning in libcharset.

16 years agoIndexer: Implemented support for multiple sources.
Pavel Charvat [Wed, 23 Jan 2008 16:13:48 +0000 (17:13 +0100)]
Indexer: Implemented support for multiple sources.

16 years agoPrepared next Sherlock's version.
Pavel Charvat [Tue, 22 Jan 2008 09:20:34 +0000 (10:20 +0100)]
Prepared next Sherlock's version.

16 years agoUpdated the Sherlock's version to 3.12.2.
Pavel Charvat [Tue, 22 Jan 2008 09:16:01 +0000 (10:16 +0100)]
Updated the Sherlock's version to 3.12.2.

16 years agobgetl() should return uns instead of u32
Pavel Charvat [Mon, 21 Jan 2008 18:30:07 +0000 (19:30 +0100)]
bgetl() should return uns instead of u32

16 years agoAll customization are compilable again.
Pavel Charvat [Mon, 21 Jan 2008 18:25:36 +0000 (19:25 +0100)]
All customization are compilable again.

16 years agoRemoved useless stamp from XML Makefile.
Pavel Charvat [Mon, 21 Jan 2008 16:06:33 +0000 (17:06 +0100)]
Removed useless stamp from XML Makefile.

16 years agoHotfix in XML Makefile. I dont know why but the previous version did not
Pavel Charvat [Mon, 21 Jan 2008 15:58:34 +0000 (16:58 +0100)]
Hotfix in XML Makefile. I dont know why but the previous version did not
work with a parallel compilation.

16 years agoFixed several bugs in UTF-16 encoding/decoding (tested on large files).
Pavel Charvat [Mon, 21 Jan 2008 14:36:49 +0000 (15:36 +0100)]
Fixed several bugs in UTF-16 encoding/decoding (tested on large files).

16 years agoff-utf8.h is back... as an alias to ff-unicode.h
Pavel Charvat [Mon, 21 Jan 2008 10:11:34 +0000 (11:11 +0100)]
ff-utf8.h is back... as an alias to ff-unicode.h

16 years agotypo again :)
Pavel Charvat [Sun, 20 Jan 2008 23:32:22 +0000 (00:32 +0100)]
typo again :)

16 years agoReverted invalid "bugfix", the previous version was correct :)
Pavel Charvat [Sun, 20 Jan 2008 23:30:52 +0000 (00:30 +0100)]
Reverted invalid "bugfix", the previous version was correct :)

16 years agoFixed a typo.
Pavel Charvat [Sun, 20 Jan 2008 23:13:32 +0000 (00:13 +0100)]
Fixed a typo.

16 years agoFixed a couple of typos.
Martin Mares [Sun, 20 Jan 2008 23:11:37 +0000 (00:11 +0100)]
Fixed a couple of typos.

16 years agoMake sure that in_to_x and x_to_out are NULL if they are not available.
Martin Mares [Sun, 20 Jan 2008 22:34:59 +0000 (23:34 +0100)]
Make sure that in_to_x and x_to_out are NULL if they are not available.

16 years agoXML: Fixed the help for bin/xml-text.
Pavel Charvat [Sun, 20 Jan 2008 20:20:16 +0000 (21:20 +0100)]
XML: Fixed the help for bin/xml-text.

16 years agoXML: Slighly changed parameters to the xml-test utility.
Pavel Charvat [Sun, 20 Jan 2008 19:40:06 +0000 (20:40 +0100)]
XML: Slighly changed parameters to the xml-test utility.

16 years agoXML: removed some obsolete parameters
Pavel Charvat [Sun, 20 Jan 2008 16:41:49 +0000 (17:41 +0100)]
XML: removed some obsolete parameters

16 years agoSmall changes in XML parser:
Pavel Charvat [Sun, 20 Jan 2008 11:28:39 +0000 (12:28 +0100)]
Small changes in XML parser:
-- UTF-16 should now work
-- support for parameter entities in DTD
-- improved test cases
-- renamed common.h to more intuitive internals.h

16 years ago'make tests' should not display error messages when the tmp dir is empty
Pavel Charvat [Sun, 20 Jan 2008 11:25:36 +0000 (12:25 +0100)]
'make tests' should not display error messages when the tmp dir is empty

16 years agoXML: Several fixes, slightly changed the iface.
Pavel Charvat [Thu, 17 Jan 2008 10:32:37 +0000 (11:32 +0100)]
XML: Several fixes, slightly changed the iface.

16 years agoFixed a recent bug in libcharset.
Pavel Charvat [Wed, 16 Jan 2008 14:50:13 +0000 (15:50 +0100)]
Fixed a recent bug in libcharset.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Wed, 9 Jan 2008 09:33:24 +0000 (10:33 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoSlightly simplified the URL loop detector and fixed one bug.
Pavel Charvat [Tue, 8 Jan 2008 11:22:45 +0000 (12:22 +0100)]
Slightly simplified the URL loop detector and fixed one bug.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 7 Jan 2008 12:21:32 +0000 (13:21 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoXML & WML: WML parser now uses the new XML library.
Pavel Charvat [Mon, 7 Jan 2008 12:21:09 +0000 (13:21 +0100)]
XML & WML: WML parser now uses the new XML library.

16 years agoBugfix in cycle detector.
Pavel Charvat [Wed, 2 Jan 2008 14:54:58 +0000 (15:54 +0100)]
Bugfix in cycle detector.

16 years agoLibrary: Improved the detector of cycled URLs (Bug #6188).
Pavel Charvat [Wed, 2 Jan 2008 14:48:16 +0000 (15:48 +0100)]
Library: Improved the detector of cycled URLs (Bug #6188).

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.12.1
Pavel Charvat [Wed, 2 Jan 2008 11:34:44 +0000 (12:34 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.12.1

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.12
Pavel Charvat [Wed, 2 Jan 2008 10:03:55 +0000 (11:03 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.12

16 years agoUse clist_remove_head() where possible.
Martin Mares [Sat, 29 Dec 2007 17:48:52 +0000 (18:48 +0100)]
Use clist_remove_head() where possible.

16 years agoAdded clist_remove_head() and clist_remove_tail().
Martin Mares [Sat, 29 Dec 2007 17:48:41 +0000 (18:48 +0100)]
Added clist_remove_head() and clist_remove_tail().

16 years agoIf no config file is specified, pretend loading an empty configuration
Martin Mares [Sun, 23 Dec 2007 21:08:47 +0000 (22:08 +0100)]
If no config file is specified, pretend loading an empty configuration
(i.e., create an empty transaction and commit it immediately).

Otherwise, programs with NULL cf_def_file crash when given `-S'.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.11
Pavel Charvat [Wed, 19 Dec 2007 18:32:25 +0000 (19:32 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.11

16 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.11
Martin Mares [Thu, 13 Dec 2007 10:26:37 +0000 (11:26 +0100)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.11

16 years agoReverted the unwanted parts of the previous commit.
Martin Mares [Thu, 13 Dec 2007 10:25:54 +0000 (11:25 +0100)]
Reverted the unwanted parts of the previous commit.

16 years agoany is better than i386 :-)
Daniel Fiala [Thu, 13 Dec 2007 10:16:50 +0000 (11:16 +0100)]
any is better than i386 :-)

16 years agoXML: The parser can completely skip the internal subset (nonvalidating, of course).
Pavel Charvat [Thu, 13 Dec 2007 07:30:58 +0000 (08:30 +0100)]
XML: The parser can completely skip the internal subset (nonvalidating, of course).

16 years agoXML: Small simplification in parsing of names.
Pavel Charvat [Wed, 12 Dec 2007 22:35:54 +0000 (23:35 +0100)]
XML: Small simplification in parsing of names.

16 years agoXML: The great reorganization... several improvements in the iface,
Pavel Charvat [Wed, 12 Dec 2007 22:10:30 +0000 (23:10 +0100)]
XML: The great reorganization... several improvements in the iface,
see xml-test.c and xml.h for the details.

16 years agoUCW: Backported small bugfixes in hashtables.
Pavel Charvat [Wed, 12 Dec 2007 11:41:52 +0000 (12:41 +0100)]
UCW: Backported small bugfixes in hashtables.

16 years agoUCW: Undefine forgotten template parameters in hashtable.h.
Pavel Charvat [Wed, 12 Dec 2007 10:09:15 +0000 (11:09 +0100)]
UCW: Undefine forgotten template parameters in hashtable.h.

16 years agoXML: Split to several files, revised part of iface and
Pavel Charvat [Wed, 12 Dec 2007 00:57:04 +0000 (01:57 +0100)]
XML: Split to several files, revised part of iface and
     memory handling, added a testing utility.

16 years agoXML: Updates to the XML parser.
Pavel Charvat [Tue, 11 Dec 2007 11:17:47 +0000 (12:17 +0100)]
XML: Updates to the XML parser.

16 years agoLibCharset: Implemented UTF-16 encoding (not tested yet).
Pavel Charvat [Tue, 11 Dec 2007 11:16:42 +0000 (12:16 +0100)]
LibCharset: Implemented UTF-16 encoding (not tested yet).

16 years agoUCW: Added some ff-unicode test cases.
Pavel Charvat [Mon, 10 Dec 2007 13:40:59 +0000 (14:40 +0100)]
UCW: Added some ff-unicode test cases.

16 years agoUCW: Added UTF-16 test cases.
Pavel Charvat [Mon, 10 Dec 2007 12:50:09 +0000 (13:50 +0100)]
UCW: Added UTF-16 test cases.

16 years agoUCW: Renamed 'UTF-8' tests to 'Unicode' (I am going to add some UTF-16 test cases).
Pavel Charvat [Mon, 10 Dec 2007 11:44:19 +0000 (12:44 +0100)]
UCW: Renamed 'UTF-8' tests to 'Unicode' (I am going to add some UTF-16 test cases).

16 years agoXML: Report corrupted encoding.
Pavel Charvat [Mon, 10 Dec 2007 11:40:03 +0000 (12:40 +0100)]
XML: Report corrupted encoding.

16 years agoUCW: Implemented bput_utf16_*.
Pavel Charvat [Mon, 10 Dec 2007 11:36:50 +0000 (12:36 +0100)]
UCW: Implemented bput_utf16_*.

16 years agoXML: Fixed a typo in Makefile.
Pavel Charvat [Mon, 10 Dec 2007 10:34:03 +0000 (11:34 +0100)]
XML: Fixed a typo in Makefile.

16 years agoUCW: Added bget_utf16_{le,be} routines.
Pavel Charvat [Mon, 10 Dec 2007 10:33:29 +0000 (11:33 +0100)]
UCW: Added bget_utf16_{le,be} routines.

16 years agoXML: Fixed the path to automatically generated Unicode tables.
Pavel Charvat [Mon, 10 Dec 2007 10:24:58 +0000 (11:24 +0100)]
XML: Fixed the path to automatically generated Unicode tables.

16 years agoUCW: Added UTF-8 routines with custom replacement char (lib/ff-unicode.h).
Pavel Charvat [Mon, 10 Dec 2007 10:23:34 +0000 (11:23 +0100)]
UCW: Added UTF-8 routines with custom replacement char (lib/ff-unicode.h).

16 years agoUCW: Added UTF-8 routines with custom replacement char (lib/unicode.h).
Pavel Charvat [Mon, 10 Dec 2007 10:18:13 +0000 (11:18 +0100)]
UCW: Added UTF-8 routines with custom replacement char (lib/unicode.h).

16 years agoRenamed lib/ff-utf8.* to lib/ff-unicode.*
Pavel Charvat [Mon, 10 Dec 2007 10:12:49 +0000 (11:12 +0100)]
Renamed lib/ff-utf8.* to lib/ff-unicode.*

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 10 Dec 2007 09:41:04 +0000 (10:41 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoXML: Backuped incomplete XML parser. Changes mostly from friday.
Pavel Charvat [Mon, 10 Dec 2007 09:40:08 +0000 (10:40 +0100)]
XML: Backuped incomplete XML parser. Changes mostly from friday.

16 years agoUCW: Added inlined functions for reading/writing of UTF-16.
Pavel Charvat [Mon, 10 Dec 2007 09:39:17 +0000 (10:39 +0100)]
UCW: Added inlined functions for reading/writing of UTF-16.

16 years agoHashTables:
Pavel Charvat [Wed, 5 Dec 2007 09:33:05 +0000 (10:33 +0100)]
HashTables:
The allocator should be initialized before we make the initial array allocation.

16 years agoXML: Backuped unfinished XML parser.
Pavel Charvat [Wed, 5 Dec 2007 07:31:46 +0000 (08:31 +0100)]
XML: Backuped unfinished XML parser.

16 years agoBranched off v3.12.1.
Martin Mares [Wed, 28 Nov 2007 08:28:50 +0000 (09:28 +0100)]
Branched off v3.12.1.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Fri, 23 Nov 2007 12:15:31 +0000 (13:15 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoMergeImages: Just small improvements.
Pavel Charvat [Fri, 23 Nov 2007 12:15:18 +0000 (13:15 +0100)]
MergeImages: Just small improvements.

16 years agosanitize_char(): Allowed tabulators.
Pavel Charvat [Fri, 23 Nov 2007 09:58:03 +0000 (10:58 +0100)]
sanitize_char(): Allowed tabulators.

16 years agoAdded a missing "inline" keyword.
Pavel Charvat [Fri, 23 Nov 2007 09:40:51 +0000 (10:40 +0100)]
Added a missing "inline" keyword.

16 years agoucwlib: Added a function for checking "regular" unicode values.
Pavel Charvat [Fri, 23 Nov 2007 09:38:03 +0000 (10:38 +0100)]
ucwlib: Added a function for checking "regular" unicode values.

16 years agoMergeImages: Added several config options.
Pavel Charvat [Thu, 22 Nov 2007 13:31:21 +0000 (14:31 +0100)]
MergeImages: Added several config options.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Mon, 19 Nov 2007 16:03:24 +0000 (17:03 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoJust backuped unfinished detector of image duplicates.
Pavel Charvat [Mon, 19 Nov 2007 16:03:12 +0000 (17:03 +0100)]
Just backuped unfinished detector of image duplicates.