]>
mj.ucw.cz Git - libucw.git/log
Martin Mares [Wed, 25 Jun 2008 19:11:17 +0000 (21:11 +0200)]
Added a simple module for making and parsing hexdumps.
Martin Mares [Wed, 25 Jun 2008 19:06:46 +0000 (21:06 +0200)]
Renamed str-test to hashfunc-test, because that's what it is.
Martin Mares [Wed, 25 Jun 2008 18:54:07 +0000 (20:54 +0200)]
Move chartype functions to lib/char-*.c.
The names str_*.c were very misleading.
Martin Mares [Wed, 25 Jun 2008 18:42:36 +0000 (20:42 +0200)]
Moved matching and splitting functions to lib/str-*.c.
Martin Mares [Wed, 25 Jun 2008 18:35:24 +0000 (20:35 +0200)]
More moves of string functions out of lib/lib.h.
match_pattern* has been renamed to str_match_pattern*,
(word|sep)split has been renamed to str_(word|sep)split,
all of them have been moved to lib/string.h.
md5_to_hex() and hex_to_md5() have been moved to lib/string.h,
but MD5_SIZE and MD5_HEX_SIZE to lib/md5.h. The conversion
functions will be replaced by a generic hexdumper soon.
Martin Mares [Wed, 25 Jun 2008 17:49:01 +0000 (19:49 +0200)]
Moved regex functions to lib/regex.h.
Martin Mares [Wed, 25 Jun 2008 17:36:50 +0000 (19:36 +0200)]
Introduced new header "lib/string.h".
Started moving string functions from lib.h there. The first ones
are those from string.c.
Also split off the unescaping functions to str-esc.c.
Martin Mares [Wed, 25 Jun 2008 15:08:27 +0000 (17:08 +0200)]
Build system: Substitute installation paths in .pc files if needed.
Martin Mares [Wed, 25 Jun 2008 15:00:10 +0000 (17:00 +0200)]
Configure: Set installation paths based on PREFIX.
Martin Mares [Wed, 25 Jun 2008 14:04:28 +0000 (16:04 +0200)]
Allow the name of the config file directory to be overridden.
Martin Mares [Wed, 25 Jun 2008 13:58:32 +0000 (15:58 +0200)]
Makefiles: implement a symlink-alias macro.
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.
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.
Martin Mares [Wed, 25 Jun 2008 14:09:09 +0000 (16:09 +0200)]
Configure: Remember PKG_CONFIG_PATH used for building.
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).
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.
Martin Mares [Wed, 18 Jun 2008 22:01:16 +0000 (00:01 +0200)]
Removed the lib/ff-utf8.h compatibility stub.
Closes Bug #6420.
Martin Mares [Wed, 18 Jun 2008 21:17:02 +0000 (23:17 +0200)]
The mainline heads to v3.13.
Martin Mares [Tue, 17 Jun 2008 20:45:51 +0000 (22:45 +0200)]
Added a new fastbuf backend for sockets with timeouts.
Martin Mares [Mon, 16 Jun 2008 16:43:31 +0000 (18:43 +0200)]
Word length: Set the parameters in library examples.
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.
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
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().
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.
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.
Pavel Charvat [Mon, 2 Jun 2008 08:33:27 +0000 (10:33 +0200)]
3.12.3-dev -> 3.12.3
Pavel Charvat [Mon, 2 Jun 2008 07:39:55 +0000 (09:39 +0200)]
v3.12.3-dev -> v3.12.4-dev
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.
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.
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.)
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
Pavel Charvat [Mon, 19 May 2008 11:43:43 +0000 (13:43 +0200)]
Fixed test cases for the xml parser.
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
Pavel Charvat [Thu, 15 May 2008 08:59:41 +0000 (10:59 +0200)]
Appended '-dev' to the version string of the dev branch.
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.
Pavel Charvat [Mon, 28 Apr 2008 12:18:40 +0000 (14:18 +0200)]
XML: Small bugfix in xml_merge_chars.
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.
Pavel Charvat [Fri, 25 Apr 2008 08:33:13 +0000 (10:33 +0200)]
XML: Implemented a merger of element's contents.
Pavel Charvat [Thu, 24 Apr 2008 11:18:09 +0000 (13:18 +0200)]
XML: Partial support for external DTD subset
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.
Pavel Charvat [Thu, 24 Apr 2008 07:32:58 +0000 (09:32 +0200)]
XML: implemented user-friendly function to deal with default attribute values
Pavel Charvat [Thu, 24 Apr 2008 07:17:15 +0000 (09:17 +0200)]
XML: Implemented xml_skip_element().
Pavel Charvat [Thu, 24 Apr 2008 07:07:20 +0000 (09:07 +0200)]
XML: Implemented detection and validation of ignorable whitespace
Pavel Charvat [Wed, 23 Apr 2008 13:40:06 +0000 (15:40 +0200)]
XML: Bugfix in processing of multi-byte newlines.
Pavel Charvat [Tue, 22 Apr 2008 12:06:08 +0000 (14:06 +0200)]
XML: Fixed reporting of characters via the PULL interface.
Pavel Charvat [Fri, 1 Feb 2008 10:19:20 +0000 (11:19 +0100)]
Small fixes and improvements in bin/installer.
Pavel Charvat [Thu, 31 Jan 2008 20:48:40 +0000 (21:48 +0100)]
Support for 'make CONFIRM=y install'
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.
Pavel Charvat [Thu, 24 Jan 2008 20:38:52 +0000 (21:38 +0100)]
Removed forgotten useless macro.
Pavel Charvat [Thu, 24 Jan 2008 20:26:54 +0000 (21:26 +0100)]
Fixed a compilation warning in libcharset.
Pavel Charvat [Wed, 23 Jan 2008 16:13:48 +0000 (17:13 +0100)]
Indexer: Implemented support for multiple sources.
Pavel Charvat [Tue, 22 Jan 2008 09:20:34 +0000 (10:20 +0100)]
Prepared next Sherlock's version.
Pavel Charvat [Tue, 22 Jan 2008 09:16:01 +0000 (10:16 +0100)]
Updated the Sherlock's version to 3.12.2.
Pavel Charvat [Mon, 21 Jan 2008 18:30:07 +0000 (19:30 +0100)]
bgetl() should return uns instead of u32
Pavel Charvat [Mon, 21 Jan 2008 18:25:36 +0000 (19:25 +0100)]
All customization are compilable again.
Pavel Charvat [Mon, 21 Jan 2008 16:06:33 +0000 (17:06 +0100)]
Removed useless stamp from XML Makefile.
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.
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).
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
Pavel Charvat [Sun, 20 Jan 2008 23:32:22 +0000 (00:32 +0100)]
typo again :)
Pavel Charvat [Sun, 20 Jan 2008 23:30:52 +0000 (00:30 +0100)]
Reverted invalid "bugfix", the previous version was correct :)
Pavel Charvat [Sun, 20 Jan 2008 23:13:32 +0000 (00:13 +0100)]
Fixed a typo.
Martin Mares [Sun, 20 Jan 2008 23:11:37 +0000 (00:11 +0100)]
Fixed a couple of typos.
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.
Pavel Charvat [Sun, 20 Jan 2008 20:20:16 +0000 (21:20 +0100)]
XML: Fixed the help for bin/xml-text.
Pavel Charvat [Sun, 20 Jan 2008 19:40:06 +0000 (20:40 +0100)]
XML: Slighly changed parameters to the xml-test utility.
Pavel Charvat [Sun, 20 Jan 2008 16:41:49 +0000 (17:41 +0100)]
XML: removed some obsolete parameters
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
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
Pavel Charvat [Thu, 17 Jan 2008 10:32:37 +0000 (11:32 +0100)]
XML: Several fixes, slightly changed the iface.
Pavel Charvat [Wed, 16 Jan 2008 14:50:13 +0000 (15:50 +0100)]
Fixed a recent bug in libcharset.
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
Pavel Charvat [Tue, 8 Jan 2008 11:22:45 +0000 (12:22 +0100)]
Slightly simplified the URL loop detector and fixed one bug.
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
Pavel Charvat [Mon, 7 Jan 2008 12:21:09 +0000 (13:21 +0100)]
XML & WML: WML parser now uses the new XML library.
Pavel Charvat [Wed, 2 Jan 2008 14:54:58 +0000 (15:54 +0100)]
Bugfix in cycle detector.
Pavel Charvat [Wed, 2 Jan 2008 14:48:16 +0000 (15:48 +0100)]
Library: Improved the detector of cycled URLs (Bug #6188).
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
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
Martin Mares [Sat, 29 Dec 2007 17:48:52 +0000 (18:48 +0100)]
Use clist_remove_head() where possible.
Martin Mares [Sat, 29 Dec 2007 17:48:41 +0000 (18:48 +0100)]
Added clist_remove_head() and clist_remove_tail().
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'.
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
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
Martin Mares [Thu, 13 Dec 2007 10:25:54 +0000 (11:25 +0100)]
Reverted the unwanted parts of the previous commit.
Daniel Fiala [Thu, 13 Dec 2007 10:16:50 +0000 (11:16 +0100)]
any is better than i386 :-)
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).
Pavel Charvat [Wed, 12 Dec 2007 22:35:54 +0000 (23:35 +0100)]
XML: Small simplification in parsing of names.
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.
Pavel Charvat [Wed, 12 Dec 2007 11:41:52 +0000 (12:41 +0100)]
UCW: Backported small bugfixes in hashtables.
Pavel Charvat [Wed, 12 Dec 2007 10:09:15 +0000 (11:09 +0100)]
UCW: Undefine forgotten template parameters in hashtable.h.
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.
Pavel Charvat [Tue, 11 Dec 2007 11:17:47 +0000 (12:17 +0100)]
XML: Updates to the XML parser.
Pavel Charvat [Tue, 11 Dec 2007 11:16:42 +0000 (12:16 +0100)]
LibCharset: Implemented UTF-16 encoding (not tested yet).
Pavel Charvat [Mon, 10 Dec 2007 13:40:59 +0000 (14:40 +0100)]
UCW: Added some ff-unicode test cases.
Pavel Charvat [Mon, 10 Dec 2007 12:50:09 +0000 (13:50 +0100)]
UCW: Added 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).
Pavel Charvat [Mon, 10 Dec 2007 11:40:03 +0000 (12:40 +0100)]
XML: Report corrupted encoding.
Pavel Charvat [Mon, 10 Dec 2007 11:36:50 +0000 (12:36 +0100)]
UCW: Implemented bput_utf16_*.
Pavel Charvat [Mon, 10 Dec 2007 10:34:03 +0000 (11:34 +0100)]
XML: Fixed a typo in Makefile.