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

16 years agoSimplify temporary file deletion in the tester.
Martin Mares [Mon, 19 Nov 2007 08:17:03 +0000 (09:17 +0100)]
Simplify temporary file deletion in the tester.

The advantage of doing a wildcard rm instead of deleting the files
individually is that you can use $n for temporary files, which are
not mentioned as explicit inputs or outputs in the test case.

16 years agoLet the tester create its tmp directory if it doesn't exist.
Martin Mares [Sun, 18 Nov 2007 19:00:34 +0000 (20:00 +0100)]
Let the tester create its tmp directory if it doesn't exist.

16 years agoName test cases in the longest suites.
Martin Mares [Sun, 18 Nov 2007 18:35:09 +0000 (19:35 +0100)]
Name test cases in the longest suites.

16 years agoA new unit test module.
Martin Mares [Sun, 18 Nov 2007 18:33:08 +0000 (19:33 +0100)]
A new unit test module.

Explicit input and output files can be defined now, the expected
exit code of the process can be set and, last but not least, test
cases can be named to simplify orientation in long test suites.

The `run' directory is no longer hard-wired, the tester now accepts
--verbose and --rundir switches.

The makefiles now pass --rundir=run and also $TESTERFLAGS, allowing
to turn on the verbose mode at request.

16 years agoBackuped experiments with image duplicates.
Pavel Charvat [Wed, 14 Nov 2007 12:16:55 +0000 (13:16 +0100)]
Backuped experiments with image duplicates.

16 years agoimages: Fixed trailing spaces and invalid indentation.
Pavel Charvat [Wed, 7 Nov 2007 15:12:22 +0000 (16:12 +0100)]
images: Fixed trailing spaces and invalid indentation.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Tue, 6 Nov 2007 09:02:05 +0000 (10:02 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoMainline has set forth towards v3.13.
Martin Mares [Mon, 29 Oct 2007 22:29:03 +0000 (23:29 +0100)]
Mainline has set forth towards v3.13.

16 years agoSet TESTING_DEPS in the example customization, so that `make tests' works.
Martin Mares [Mon, 29 Oct 2007 22:24:39 +0000 (23:24 +0100)]
Set TESTING_DEPS in the example customization, so that `make tests' works.

16 years agoPerform threaded imagelib tests only with CONFIG_UCW_THREADS.
Pavel Charvat [Mon, 29 Oct 2007 14:03:27 +0000 (15:03 +0100)]
Perform threaded imagelib tests only with CONFIG_UCW_THREADS.

16 years agoAllow direct I/O parametrized fastbufs only with CONFIG_UCW_THREADS
Pavel Charvat [Mon, 29 Oct 2007 12:13:10 +0000 (13:13 +0100)]
Allow direct I/O parametrized fastbufs only with CONFIG_UCW_THREADS
enabled, otherwise die with an error.

16 years agofixed the compilation of parametrized fastbufs with disabled CONFIG_UCW_THREADS
Pavel Charvat [Mon, 29 Oct 2007 12:03:38 +0000 (13:03 +0100)]
fixed the compilation of parametrized fastbufs with disabled CONFIG_UCW_THREADS

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.11
Pavel Charvat [Sun, 28 Oct 2007 20:32:12 +0000 (21:32 +0100)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#v3.11

16 years agoNo need to report negative sorter speeds.
Martin Mares [Thu, 18 Oct 2007 12:57:39 +0000 (14:57 +0200)]
No need to report negative sorter speeds.

16 years agoPatrik needs lib/binsearch.h in the library package.
Daniel Fiala [Tue, 16 Oct 2007 08:31:50 +0000 (10:31 +0200)]
Patrik needs lib/binsearch.h in the library package.

16 years agoget rid of the 'register' keyword
Pavel Charvat [Sun, 14 Oct 2007 14:50:05 +0000 (16:50 +0200)]
get rid of the 'register' keyword

16 years agoucwlib: default.cfg should return success
Pavel Charvat [Thu, 27 Sep 2007 08:47:21 +0000 (10:47 +0200)]
ucwlib: default.cfg should return success

16 years agoucwlib: unset DEFAULT_CONFIG and ENV_VAR_CONFIG by default
Pavel Charvat [Thu, 27 Sep 2007 07:48:16 +0000 (09:48 +0200)]
ucwlib: unset DEFAULT_CONFIG and ENV_VAR_CONFIG by default

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Thu, 27 Sep 2007 04:54:16 +0000 (06:54 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agosorter: fixed the previous bugfix... all tests now pass
Pavel Charvat [Thu, 27 Sep 2007 04:53:50 +0000 (06:53 +0200)]
sorter: fixed the previous bugfix... all tests now pass

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Thu, 27 Sep 2007 04:43:44 +0000 (06:43 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agosorter: fixed buffer allocation in s-internal, the workspace was too small
Pavel Charvat [Thu, 27 Sep 2007 04:43:33 +0000 (06:43 +0200)]
sorter: fixed buffer allocation in s-internal, the workspace was too small

16 years agoMerge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git
Martin Mares [Wed, 26 Sep 2007 09:26:57 +0000 (11:26 +0200)]
Merge with git+ssh://cvs.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agofixed bug in bugfix :-)
Pavel Charvat [Wed, 26 Sep 2007 07:06:09 +0000 (09:06 +0200)]
fixed bug in bugfix :-)

16 years agoFixed buggy switching of buffers in the internal sorter.
Pavel Charvat [Wed, 26 Sep 2007 07:04:22 +0000 (09:04 +0200)]
Fixed buggy switching of buffers in the internal sorter.

16 years agoFixed a bug in fixint sorter.
Pavel Charvat [Wed, 26 Sep 2007 06:53:43 +0000 (08:53 +0200)]
Fixed a bug in fixint sorter.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Fri, 21 Sep 2007 14:13:25 +0000 (16:13 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoFixed a typo.
Martin Mares [Fri, 21 Sep 2007 10:10:30 +0000 (12:10 +0200)]
Fixed a typo.

16 years agoThe graph tests are able to generate empty input now.
Martin Mares [Fri, 21 Sep 2007 09:15:56 +0000 (11:15 +0200)]
The graph tests are able to generate empty input now.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Fri, 21 Sep 2007 09:15:46 +0000 (11:15 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoDo not die on ASSERT when sorting an empty input with custom presorter.
Martin Mares [Fri, 21 Sep 2007 09:14:55 +0000 (11:14 +0200)]
Do not die on ASSERT when sorting an empty input with custom presorter.

We have test that not only the join bucket is available, but that the join
has actually happened, because custom presorters do not implement automatic
joining.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git
Pavel Charvat [Fri, 21 Sep 2007 07:43:46 +0000 (09:43 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git

16 years agoAdded a very brief introduction to ASIO.
Martin Mares [Thu, 20 Sep 2007 17:48:30 +0000 (19:48 +0200)]
Added a very brief introduction to ASIO.

16 years agoAdded copyright messages.
Martin Mares [Thu, 20 Sep 2007 17:32:21 +0000 (19:32 +0200)]
Added copyright messages.

16 years agoDocumented the changes in dev-sorter.
Martin Mares [Thu, 20 Sep 2007 17:01:37 +0000 (19:01 +0200)]
Documented the changes in dev-sorter.

16 years agoPolished the introductory comments in sorter.h.
Martin Mares [Thu, 20 Sep 2007 16:14:54 +0000 (18:14 +0200)]
Polished the introductory comments in sorter.h.

16 years agoFix the swapping bug, this time correctly.
Martin Mares [Wed, 19 Sep 2007 21:41:07 +0000 (23:41 +0200)]
Fix the swapping bug, this time correctly.

16 years agoMerge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-sorter
Martin Mares [Wed, 19 Sep 2007 21:18:27 +0000 (23:18 +0200)]
Merge with git+ssh://git.ucw.cz/projects/sherlock/GIT/sherlock.git#dev-sorter

16 years agoFixed a bug in s-internal, which caused it to write bogus records
Martin Mares [Wed, 19 Sep 2007 21:18:10 +0000 (23:18 +0200)]
Fixed a bug in s-internal, which caused it to write bogus records
when the array sorter decided to swap buffers.

16 years agoHonor SORT_DEBUG_KEEP_BUCKETS when swapping in a bucket.
Martin Mares [Mon, 17 Sep 2007 20:06:05 +0000 (22:06 +0200)]
Honor SORT_DEBUG_KEEP_BUCKETS when swapping in a bucket.

16 years agoPrint item counts as %u's.
Martin Mares [Mon, 17 Sep 2007 20:04:17 +0000 (22:04 +0200)]
Print item counts as %u's.

16 years agoArray sorter thresholds are now configured as 64-bit numbers of bytes,
Martin Mares [Mon, 17 Sep 2007 19:39:02 +0000 (21:39 +0200)]
Array sorter thresholds are now configured as 64-bit numbers of bytes,
but they are recalculated to the number of elements internally with
proper clamping to ~0U.