]> mj.ucw.cz Git - libucw.git/log
libucw.git
16 years agoMakefiles: Allow a prefix and suffix of installed libraries to be specified.
Martin Mares [Wed, 25 Jun 2008 13:58:17 +0000 (15:58 +0200)]
Makefiles: Allow a prefix and suffix of installed libraries to be specified.

16 years agoConfigure: Partial support for CONFIG_LOCAL and PREFIX.
Martin Mares [Wed, 25 Jun 2008 13:57:32 +0000 (15:57 +0200)]
Configure: Partial support for CONFIG_LOCAL and PREFIX.

The configure script sets up INSTALL_PREFIX properly, but it is not
used anywhere yet.

Choose soname embedded in the shared libraries differently for a local
and global installation.

16 years agoConfigure: Remember PKG_CONFIG_PATH used for building.
Martin Mares [Wed, 25 Jun 2008 14:09:09 +0000 (16:09 +0200)]
Configure: Remember PKG_CONFIG_PATH used for building.

16 years agoBuild system hack: set PKG_CONFIG_PATH in shell commands.
Martin Mares [Wed, 25 Jun 2008 09:06:02 +0000 (11:06 +0200)]
Build system hack: set PKG_CONFIG_PATH in shell commands.

Unfortunately, even if we `export PKG_CONFIG_PATH' explicitly in the makefiles,
make still ignores it for $(shell).

16 years agoDefault switches for gcc-4.3.
Martin Mares [Fri, 20 Jun 2008 11:24:33 +0000 (13:24 +0200)]
Default switches for gcc-4.3.

I currently get lots of warnings about functions not inline, I will
fix them later.

16 years agoRemoved the lib/ff-utf8.h compatibility stub.
Martin Mares [Wed, 18 Jun 2008 22:01:16 +0000 (00:01 +0200)]
Removed the lib/ff-utf8.h compatibility stub.

Closes Bug #6420.

16 years agoThe mainline heads to v3.13.
Martin Mares [Wed, 18 Jun 2008 21:17:02 +0000 (23:17 +0200)]
The mainline heads to v3.13.

16 years agoAdded a new fastbuf backend for sockets with timeouts.
Martin Mares [Tue, 17 Jun 2008 20:45:51 +0000 (22:45 +0200)]
Added a new fastbuf backend for sockets with timeouts.

16 years agoWord length: Set the parameters in library examples.
Martin Mares [Mon, 16 Jun 2008 16:43:31 +0000 (18:43 +0200)]
Word length: Set the parameters in library examples.

16 years agoThe Configure mechanism is now able to find packages via pkg-config
Martin Mares [Sat, 7 Jun 2008 21:08:39 +0000 (23:08 +0200)]
The Configure mechanism is now able to find packages via pkg-config
and similar scripts.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.12.3
Pavel Charvat [Fri, 6 Jun 2008 08:28:20 +0000 (10:28 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.12.3

16 years agoCleaned up interface of the logger.
Martin Mares [Wed, 4 Jun 2008 17:23:42 +0000 (19:23 +0200)]
Cleaned up interface of the logger.

Also uninlined log_switch_{en,dis}able().

16 years agoReplaced safe_msg() with a flag L_SIGHANDLER to msg().
Martin Mares [Wed, 4 Jun 2008 17:00:46 +0000 (19:00 +0200)]
Replaced safe_msg() with a flag L_SIGHANDLER to msg().

Updated all callers.

16 years agoRemoved CONFIG_OWN_REGEX and the copy of regex library in lib/regex.
Martin Mares [Wed, 4 Jun 2008 15:30:26 +0000 (17:30 +0200)]
Removed CONFIG_OWN_REGEX and the copy of regex library in lib/regex.

The implementations of libc with bad regex libraries are almost extinct now.
If it ever turns out that it is needed on other systems, it suffices
to revert this commit.

16 years ago3.12.3-dev -> 3.12.3
Pavel Charvat [Mon, 2 Jun 2008 08:33:27 +0000 (10:33 +0200)]
3.12.3-dev -> 3.12.3

16 years agov3.12.3-dev -> v3.12.4-dev
Pavel Charvat [Mon, 2 Jun 2008 07:39:55 +0000 (09:39 +0200)]
v3.12.3-dev -> v3.12.4-dev

16 years agoAllow `configure OPTIONS' without specifying configuration name.
Martin Mares [Sun, 25 May 2008 17:41:56 +0000 (19:41 +0200)]
Allow `configure OPTIONS' without specifying configuration name.

This involves a little bit of dwimmery -- we assume that the options are
all uppercase and the configuration files do not, but that's hopefully
a fair game.

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